text stringlengths 2 99.9k | meta dict |
|---|---|
awk '1' filename
| {
"pile_set_name": "Github"
} |
#include "include\souistd.h"
#include "control\SSpinButton.h"
namespace SOUI
{
SSpinButton::SSpinButton()
: m_nMinValue(0)
, m_nMaxValue(100)
, m_pBuddy(NULL)
, m_pSpinSkin(NULL)
, m_nHover(-1)
, m_uStep(1)
, m_bCircle(true)
, m_iNextTime(0)
{
m_bFocusable = TRUE;
m_pSpinSkin = GETSKIN(... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#pragma mark -
//
// File: /Applications/Xcode-7GM.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/System/Library/PrivateFrameworks/FontS... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2019 Xilinx Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | {
"pile_set_name": "Github"
} |
package com.android.post.domain.repository
import com.android.post.domain.model.Post
interface PostsRepository {
suspend fun getPosts(): List<Post>
} | {
"pile_set_name": "Github"
} |
[all]
hostname = all
name = thisname
db.host = 127.0.0.1
db.user = username
db.pass = password
db.name = live
one.two.three = multi
[staging: all]
hostname = staging
db.name = dbstaging
debug = false
[debug:all]
hostname = debug
debug = true
values.changed = yes
db.name = dbdebug
special.no = no
special.null = null
s... | {
"pile_set_name": "Github"
} |
/*
** file.c - File class
*/
#include "mruby.h"
#include "mruby/class.h"
#include "mruby/data.h"
#include "mruby/string.h"
#include "mruby/ext/io.h"
#if MRUBY_RELEASE_NO < 10000
#include "error.h"
#else
#include "mruby/error.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <limits.... | {
"pile_set_name": "Github"
} |
export { default } from './Applications';
| {
"pile_set_name": "Github"
} |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the program and software framework */
/* UG --- Ubquity Generator Framework */
... | {
"pile_set_name": "Github"
} |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/CloudDocsDaemon.framework/CloudDocsDaemon
*/
@interface BRCFileCoordinator : NSFileCoordinator {
bool _cancelled;
id /* block */ _doneHandler;
bool _forRead;
bool _isUpdateForReconnecting;
BRCAccountSession * _session;
... | {
"pile_set_name": "Github"
} |
/*
InfoPlist.strings
Owncloud iOs Client
Created by Noelia Alvarez on 13/09/16.
*/
"NSPhotoLibraryUsageDescription" = "Upload your selected photos to your account";
"NSLocationAlwaysUsageDescription" = "Used to instantly upload your new photos after a significant change in your location";
"NSLocationWhenInUs... | {
"pile_set_name": "Github"
} |
"
I represent a mathematical matrix. I can be build from rows as follows:
[[[
PMMatrix rows: #((1 2 3)(4 5 6)).
]]]
I understand the usual matrix operations.
"
Class {
#name : #PMMatrix,
#superclass : #Object,
#instVars : [
'rows',
'lupDecomposition'
],
#category : #'Math-Matrix'
}
{ #category : #example... | {
"pile_set_name": "Github"
} |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.ExcelApi
{
/// <summary>
/// DispatchInterface CalculatedMember
/// SupportByVersion Excel, 10,11,12,14,15,16
/// </summary>
/// <remarks> MSDN Online: http://msdn.microsoft.com/en-us/en-u... | {
"pile_set_name": "Github"
} |
module FreeFunctor = (F: {type f('a);}) : Functor => {
module type F = FreeF with type f('a) = F.f('a);
type t('a) = (module F with type a = 'a);
let fmap =
(type a', type b',
f: a' => b', module FF: F with type a = a') :
(module F with type a = b') =>
(module {
type f('a) = F.f('a);
... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
#MIT License
#Copyright (c) 2017 Massimiliano Patacchiola
#
#Permission is hereby granted, free of charge, to any person obtaining a copy
#of this software and associated documentation files (the "Software"), to deal
#in the Software without restriction, including without limitation the rights
#t... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project> | {
"pile_set_name": "Github"
} |
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package workmail
const (
// ErrCodeDirectoryServiceAuthenticationFailedException for service response error code
// "DirectoryServiceAuthenticationFailedException".
//
// The directory service doesn't recognize the credentials supplied by WorkM... | {
"pile_set_name": "Github"
} |
// Learning Processing
// Daniel Shiffman
// http://www.learningprocessing.com
// Exercise 1-2: Using the blank graph below,
// draw the primitive shapes specified by the code.
| {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2010 Martin Willi
* Copyright (C) 2010 revosec AG
*
* Copyright (C) 2009 Andreas Steffen
* HSR Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Softwar... | {
"pile_set_name": "Github"
} |
/**
* Copyright (C) 2007 - 2016, Jens Lehmann
*
* This file is part of DL-Learner.
*
* DL-Learner is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) ... | {
"pile_set_name": "Github"
} |
<div id="container">
<div id="content"></div>
</div>
#child {
height: 20px;
width: 20px;
} | {
"pile_set_name": "Github"
} |
--- a/09_shader_base.vert
+++ b/17_shader_vertexbuffer.vert
@@ -1,25 +1,17 @@
#version 450
#extension GL_ARB_separate_shader_objects : enable
-out gl_PerVertex {
- vec4 gl_Position;
-};
+// NOTE: names must match the `Vertex` struct in Rust
+layout(location = 0) in vec2 pos;
+layout(location = 1) in vec3 color;
... | {
"pile_set_name": "Github"
} |
describe("Ext.CompositeElementLite", function(){
var mainRoot, ce, makeCE,
fooTotal = 6,
barTotal = 5,
bazTotal = 4,
child1Total = 5,
child2Total = 4,
child1RootedTotal = 2,
child2RootedTotal = 2,
child1MainTotal = 3,
child2MainTotal = 2,
... | {
"pile_set_name": "Github"
} |
<?php
/**
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer
* versions in the future.
*
* @category Smile
* @package Smile\Elasticsuite________
* @author Romain Ruaud <romain.ruaud@smile.fr>
* @copyright 2020 Smile
* @license Open Software License ("OS... | {
"pile_set_name": "Github"
} |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | {
"pile_set_name": "Github"
} |
import React from 'react';
export const SURFACE_EVENTS = [
{prop: 'onClick', type: 'click'},
{prop: 'onKeyDown', type: 'keydown'},
{prop: 'onKeyPress', type: 'keypress'},
{prop: 'onKeyUp', type: 'keyup'},
{prop: 'onMouseDown', type: 'mousedown'},
{prop: 'onMouseMove', type: 'mousemove'},
{prop: 'onMouseO... | {
"pile_set_name": "Github"
} |
/**
* @param {Object} $ - Global jQuery object
* @param {Object} bolt - The Bolt module
*/
(function ($, bolt) {
'use strict';
/**
* Geolocation field widget.
*
* @license http://opensource.org/licenses/mit-license.php MIT License
* @author rarila
*
* @class fieldGeolocation... | {
"pile_set_name": "Github"
} |
{
"images": [
{
"idiom": "universal"
},
{
"scale": "1x",
"idiom": "universal"
},
{
"scale": "2x",
"idiom": "universal"
},
{
"scale": "3x",
"idiom": "universal"
},
{
"idiom": "iphone"
},
{
"scale": "1x",
"idiom": "i... | {
"pile_set_name": "Github"
} |
using System.Collections.Generic;
using NexusForever.Shared.Network;
using NexusForever.Shared.Network.Message;
using NexusForever.WorldServer.Game.Housing.Static;
namespace NexusForever.WorldServer.Network.Message.Model
{
[Message(GameMessageOpcode.ServerHousingProperties)]
public class ServerHousingP... | {
"pile_set_name": "Github"
} |
"""
A sample usage of how ical categories can be used
(here to group tasks related to the same project
or events related to the same sale opportunity)
"""
project = None
if brainObject is not None:
real_context = brainObject
else:
real_context = context
portal_type = real_context.getPortalType()
if portal_t... | {
"pile_set_name": "Github"
} |
form=词
tags=
敛双蛾、冷雨立毡车,
离思上青枫。
想天阶辞辇,
长门分镜,
征骑西东。
应被婵娟早误,
谁遣出深宫。
鸾袖不堪绾,
前事成空。
独掩琵琶无语,
恨主恩太薄,
泪脸弹红。
又争如汉月,
深夜照帘栊。
草青青、年年归梦,
算北来、应自有征鸿。
还堪笑,
玉关何事,
不锁春风。
| {
"pile_set_name": "Github"
} |
gcr.io/google_containers/managed-certificate-controller:v0.3.4
| {
"pile_set_name": "Github"
} |
#
# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Softwar... | {
"pile_set_name": "Github"
} |
package rand
import (
"encoding/binary"
"math/rand"
"sync"
"github.com/influxdata/influxdb/v2"
)
var _ influxdb.IDGenerator = (*OrgBucketID)(nil)
// OrgBucketID creates an id that does not have ascii
// backslash, commas, or spaces. Used to create IDs for organizations
// and buckets.
//
// It is implemented w... | {
"pile_set_name": "Github"
} |
using System.Reflection;
using Abp.Modules;
namespace MultipleDbContextDemo
{
public class MultipleDbContextDemoCoreModule : AbpModule
{
public override void Initialize()
{
IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
}
}
}
| {
"pile_set_name": "Github"
} |
require 'forwardable'
require 'rss/rss'
module RSS
module Maker
class Base
extend Utils::InheritedReader
OTHER_ELEMENTS = []
NEED_INITIALIZE_VARIABLES = []
class << self
def other_elements
inherited_array_reader("OTHER_ELEMENTS")
end
def need_initializ... | {
"pile_set_name": "Github"
} |
10
dir
169
http://google-app-engine-samples.googlecode.com/svn/trunk/simple-ajax-chat/css
http://google-app-engine-samples.googlecode.com/svn
2008-11-05T15:45:16.673245Z
71
pamela.fox
99225164-8649-0410-878b-2ba91e509939
main.css
file
2013-04-30T03:29:32.000000Z
c941d31c8d46225d84a02baf755e8bb7
... | {
"pile_set_name": "Github"
} |
version https://git-lfs.github.com/spec/v1
oid sha256:726433138e7a987d63f5a1e175b30569231441b09814a47a03776a2acdfd435d
size 2228
| {
"pile_set_name": "Github"
} |
#pragma once
#include "game_cl_teamdeathmatch.h"
class CUIGameAHunt;
class game_cl_ArtefactHunt :public game_cl_TeamDeathmatch
{
friend class CUIMessagesWindow;
CUIGameAHunt* m_game_ui;
shared_str m_Eff_Af_Spawn;
shared_str m_Eff_Af_Disappear;
typedef game_cl_TeamDeathmatch inherited;
protected... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | {
"pile_set_name": "Github"
} |
/* Copyright 2010-2016 MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... | {
"pile_set_name": "Github"
} |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | {
"pile_set_name": "Github"
} |
import buildBalanceTotal from './operations'
import fromRequest from '../mocks/total/operations/received.json'
import expectedResult from '../mocks/total/operations/expected.json'
describe('balance total details', () => {
it('should build the correct total balance', () => {
expect(buildBalanceTotal(fromRequest))... | {
"pile_set_name": "Github"
} |
---
weight: 21
title: 'HNPWA with React'
github-title: 'taehwanno/hnpwa-react'
library: 'React'
libraries:
- name: 'React'
- name: 'React Router'
- name: 'Redux'
- name: 'Immutable.js'
module-bundling: 'Webpack'
service-worker: 'Application Shell + data caching and offline google analytics with Workbox'... | {
"pile_set_name": "Github"
} |
[package]
name = "topgrade"
description = "Upgrade all the things"
categories = ["os"]
keywords = ["upgrade", "update"]
license-file = "LICENSE"
repository = "https://github.com/r-darwish/topgrade"
version = "5.7.1"
authors = ["Roey Darwish Dror <roey.ghost@gmail.com>"]
exclude = ["doc/screenshot.gif"]
edition = "2018"... | {
"pile_set_name": "Github"
} |
{
"ebu_KE": {
"datetime": {
"abbr_day_names": [
"Kma",
"Tat",
"Ine",
"Tan",
"Arm",
"Maa",
"NMM"
],
"abbr_month_names": [
"Mbe",
... | {
"pile_set_name": "Github"
} |
<% title @moment.name %>
<div class="gridRowSpaceBetween">
<%= react_component('StoryDate', props: {
date: TimeAgo.created_or_edited(@moment)
}) %>
<% if !@moment.published? %>
<%= react_component('StoryDraft', props: {
draft: !@moment.published? ? t('draft') : nil
}) %>
<% end %>
</div>
<div... | {
"pile_set_name": "Github"
} |
// Copyright 2017 The go-ethereum Authors
// This file is part of go-ethereum.
//
// go-ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any la... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_10) on Thu Jan 14 19:23:45 PST 2010 -->
<TITLE>
ElementHandler (INFLIB v3.0 Public API at 2010-01-14 19:23:22)
</TITLE>
<META NAME="date" CONTENT="2... | {
"pile_set_name": "Github"
} |
# Copyright (C) 1991-1999, 2000-2007, 2009, 2010 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# ve... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cluster.eval.eval_node_extra — tensormsa 1.0 ... | {
"pile_set_name": "Github"
} |
<script>
$(document).ready(function() {
var mail_provider_settings_form_class = '.mail-provider-mailerlite-settings-form';
$(mail_provider_settings_form_class).on('change paste', 'input, select, textarea', function(){
$.post(mw.settings.api_url + 'save_mail_provider', $(mail_provider_settings_form_class).seriali... | {
"pile_set_name": "Github"
} |
---
title: Chipcon 8051
---
<h1>Chipcon Application</h1>
<p>This application allows for the debugging of Chipcon radios with embedded
8051 cores, such as the CC2430 and CC2530. The protocol is SPI-like, but with
a bi-directional data line.
</p>
<a href="http://www.flickr.com/photos/travisgoodspeed/3611512761/"
title... | {
"pile_set_name": "Github"
} |
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FSharpTestA1\FSharpTestA1.fsproj" />
<ProjectReference Include="..\FSharpTestA2\FSharpTestA2.fsproj" />
<Proj... | {
"pile_set_name": "Github"
} |
/*
* wpa_supplicant - DPP
* Copyright (c) 2017, Qualcomm Atheros, Inc.
* Copyright (c) 2018-2019, The Linux Foundation
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#inclu... | {
"pile_set_name": "Github"
} |
seeds OK
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2007-2011 Atheros Communications Inc.
* Copyright (c) 2011-2012 Qualcomm Atheros, Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in al... | {
"pile_set_name": "Github"
} |
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | {
"pile_set_name": "Github"
} |
<?php
/**
* Spyc -- A Simple PHP YAML Class
* @version 0.5
* @author Vlad Andersen <vlad.andersen@gmail.com>
* @author Chris Wanstrath <chris@ozmm.org>
* @link http://code.google.com/p/spyc/
* @copyright Copyright 2005-2006 Chris Wanstrath, 2006-2011 Vlad Andersen
* @license http://www.opensource.o... | {
"pile_set_name": "Github"
} |
/***********************************************************************************
**
** GUIGenericTextEntry.h
**
** Компонента для отображения поля для ввода текста гампов от сервера
**
** Copyright (C) August 2016 Hotride
**
************************************************************************************
*/
//... | {
"pile_set_name": "Github"
} |
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright (c) 2010-2013 Oracle and/or its affiliates. All rights reserved.
#
# The contents of this file are subject to the terms of either the GNU
# General Public License Version 2 only ("GPL") or the Common Development
# and Distribution License("CDDL"... | {
"pile_set_name": "Github"
} |
@echo off
start "arma2" /min /high arma2oaserver.exe -port=2302 "-config=C:\DZE_Server_Config\24_napf.cfg" "-cfg=C:\DZE_Server_Config\basic.cfg" "-profiles=C:\DZE_Server_Config" -name=server "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;"
| {
"pile_set_name": "Github"
} |
/**
* Module dependencies.
*/
var tty = require('tty');
var util = require('util');
/**
* This is the Node.js implementation of `debug()`.
*
* Expose `debug()` as the module.
*/
exports = module.exports = require('./debug');
exports.init = init;
exports.log = log;
exports.formatArgs = formatArgs;
exports.save ... | {
"pile_set_name": "Github"
} |
#!/bin/sh
dotnet DnsServerApp.dll
| {
"pile_set_name": "Github"
} |
package org.pushingpixels.demo.flamingo.svg.filetypes.transcoded;
import java.awt.*;
import java.awt.geom.*;
import java.awt.image.BufferedImage;
import java.io.*;
import java.lang.ref.WeakReference;
import java.util.Base64;
import java.util.Stack;
import javax.imageio.ImageIO;
import javax.swing.SwingUtilities;
impor... | {
"pile_set_name": "Github"
} |
#-------------------------------------------------
#
# Project created by QtCreator 2017-10-20T09:59:00
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = exampleforwindows
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp
HEA... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<spirit:design xmlns:xilinx="http://www.xilinx.com" xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<spirit:vendor>xilinx.com</spirit:vendor>
<spirit:library>xci</spirit:library>
<spirit:name>un... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2009-2017 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 2.0, as published by the
* Free Software Foundation.
*
* This program is also distributed with... | {
"pile_set_name": "Github"
} |
/*
Plugin-SDK (Grand Theft Auto 3) header file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#pragma once
#include "PluginBase.h"
#include "CCutsceneObject.h"
class CCutsceneHead : public CCutsceneObject {
public:
RwFrame *m_... | {
"pile_set_name": "Github"
} |
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/string-case.h"
#include "src/assert-scope.h"
#include "src/base/logging.h"
#include "src/globals.h"
#include "src/utils.h"
namespace v8 ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" ... | {
"pile_set_name": "Github"
} |
package longpath
import (
"path/filepath"
"strings"
)
// LongAbs makes a path absolute and returns it in NT long path form.
func LongAbs(path string) (string, error) {
if strings.HasPrefix(path, `\\?\`) || strings.HasPrefix(path, `\\.\`) {
return path, nil
}
if !filepath.IsAbs(path) {
absPath, err := filepat... | {
"pile_set_name": "Github"
} |
var helper = require(__dirname + "/test-helper");
test('executing query', function() {
test("queing query", function() {
test('when connection is ready', function() {
var client = helper.client();
assert.empty(client.connection.queries);
client.connection.emit('readyForQuery');
client.q... | {
"pile_set_name": "Github"
} |
import viewModelBase = require("viewmodels/viewModelBase");
import appUrl = require("common/appUrl");
import database = require("models/resources/database");
import saveTimeSeriesConfigurationCommand = require("commands/database/documents/timeSeries/saveTimeSeriesConfigurationCommand");
import eventsCollector = req... | {
"pile_set_name": "Github"
} |
namespace Apress.Recipes.WebApi
{
public class Player
{
public int Id { get; set; }
public string Name { get; set; }
public string Team { get; set; }
public SkaterStat Stats { get; set; }
}
} | {
"pile_set_name": "Github"
} |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
/**
* Support for integration tests for the Elasticsearch SQL CLI client
* ... | {
"pile_set_name": "Github"
} |
/***************************************************************************/
/* */
/* fnterrs.h */
/* */
/* Wi... | {
"pile_set_name": "Github"
} |
class IncludesMath
include Math
end
| {
"pile_set_name": "Github"
} |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... | {
"pile_set_name": "Github"
} |
package command
import (
"strings"
"github.com/mitchellh/cli"
)
type SentinelCommand struct {
Meta
}
func (f *SentinelCommand) Help() string {
helpText := `
Usage: nomad sentinel <subcommand> [options] [args]
This command groups subcommands for interacting with Sentinel policies.
Sentinel policies allow op... | {
"pile_set_name": "Github"
} |
/* mpn/generic/mod_1.c forced to use mul-by-inverse udiv_qrnnd_preinv.
Copyright 2000 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of either:
* the GNU Lesser General Public License as publishe... | {
"pile_set_name": "Github"
} |
// ***************************************************************************
// *
// * Copyright (C) 2010 International Business Machines
// * Corporation and others. All Rights Reserved.
// * Tool: com.ibm.icu.dev.tool.cldr.LDML2ICUConverter.java
// * Source File:<path>/common/main/sr_Cyrl_BA.xml
// *
// *********... | {
"pile_set_name": "Github"
} |
<?php
namespace Jane\OpenApiCommon;
use Jane\JsonSchema\Generator\ChainGenerator;
use Jane\JsonSchema\Generator\Context\Context;
use Jane\JsonSchema\Generator\Naming;
use Jane\JsonSchema\Guesser\ChainGuesser;
use Jane\JsonSchema\Registry\Registry;
use Jane\OpenApiCommon\Contracts\WhitelistFetchInterface;
use Jane\Ope... | {
"pile_set_name": "Github"
} |
//
// UIControl+LinkBlock.m
//
// Created by NOVO on 15/8/18.
// Copyright (c) 2015年 NOVO. All rights reserved.
//
#import "LinkBlock.h"
#import <objc/runtime.h>
@implementation NSObject(UIControlLinkBlock)
- (UIControl *(^)(BOOL))controlEnable
{
return ^id(BOOL enable){
LinkHandle_REF(UIControl)
... | {
"pile_set_name": "Github"
} |
# !/bin/env python3
# encoding: utf-8
""" Comparison Study of Recent Unsupervised Domain Adaptation Approaches on Digit Benchmark
"""
import torch
from torch import nn
import numpy as np
from salad.datasets.da import toy
from salad.utils import config
from salad.datasets.da import NoiseLoader
from salad.datasets.tra... | {
"pile_set_name": "Github"
} |
a
| {
"pile_set_name": "Github"
} |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.content.browser;
import android.content.Context;
import android.location.Criteria;
import android.location.Location;
import android.... | {
"pile_set_name": "Github"
} |
///////////////////////////////////////////////////////////////////////////////
// Name: src/gtk1/renderer.cpp
// Purpose: implementation of wxRendererNative for wxGTK
// Author: Vadim Zeitlin
// Modified by:
// Created: 20.07.2003
// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
// Lice... | {
"pile_set_name": "Github"
} |
# $Id: loopback.py 38 2007-03-17 03:33:16Z dugsong $
"""Platform-dependent loopback header."""
import dpkt, ethernet, ip, ip6
class Loopback(dpkt.Packet):
__hdr__ = (('family', 'I', 0), )
__byte_order__ = '@'
def unpack(self, buf):
dpkt.Packet.unpack(self, buf)
if self.family == 2:
... | {
"pile_set_name": "Github"
} |
'Duplicate assignment': null
Templates: null
'Import theme': null
'Import succeeded!': null
'Import failed!': null
'Edit template: $1': null
'Set new name to': null
'Rename file': null
'Caching templates in:': null
'Caching templates finished': null
'Theme name': null
'Theme is assigned and can not be deleted': null
'T... | {
"pile_set_name": "Github"
} |
#include<cstdio>
#include<iostream>
#include<cmath>
#include<algorithm>
#include<cstring>
#include<map>
#include<set>
#include<vector>
#include<utility>
#include<queue>
#include<stack>
#define sd(x) scanf("%d",&x)
#define sd2(x,y) scanf("%d%d",&x,&y)
#define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z)
#define fi first
#define... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string msgid="4600421777120114993" name="abc_action_bar_home_description">"Nenda mwanzo"</string>
<string msgid="1397052879051804371" name="abc_action_bar_home_description_format">"%1$s, %2$s"</string>
<string msgid="6623331958280229229" name="abc_action_b... | {
"pile_set_name": "Github"
} |
/**
* Special options passed to Repository#save, Repository#insert and Repository#update methods.
*/
export interface SaveOptions {
/**
* Additional data to be passed with persist method.
* This data can be used in subscribers then.
*/
data?: any;
/**
* Indicates if listeners and sub... | {
"pile_set_name": "Github"
} |
package com.phauer.modernunittesting;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class ModernUnitTestingApplication {
public static void main(String[] args) {
SpringApplication.run(ModernUnitTesting... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace Paillave.Etl.Core.TraceContents
{
public interface ITraceContent
{
string Type { get; }
TraceLevel Level { get; }
string Message { get; }
}
}
| {
"pile_set_name": "Github"
} |
%s:11 PhanUnreferencedUseConstant Possibly zero references to use statement for constant MAGIC_FUNCTION (\ast\flags\MAGIC_FUNCTION)
%s:15 PhanTypeMissingReturnReal Method \test is declared to return string in its real type signature but has no return value
%s:17 PhanTypeSuspiciousEcho Suspicious argument $globalVar of ... | {
"pile_set_name": "Github"
} |
package fasthttp_test
import (
"bufio"
"fmt"
"log"
"time"
"github.com/valyala/fasthttp"
)
func ExampleRequestCtx_SetBodyStreamWriter() {
// Start fasthttp server for streaming responses.
if err := fasthttp.ListenAndServe(":8080", responseStreamHandler); err != nil {
log.Fatalf("unexpected error in server: %... | {
"pile_set_name": "Github"
} |
// Versatile string -*- C++ -*-
// Copyright (C) 2005-2018 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation;... | {
"pile_set_name": "Github"
} |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.