text stringlengths 10 99.9k | meta dict |
|---|---|
/*
* JBoss, Home of Professional Open Source
* Copyright 2012, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | {
"pile_set_name": "Github"
} |
var nativeCreate = require('./_nativeCreate');
/**
* Removes all key-value entries from the hash.
*
* @private
* @name clear
* @memberOf Hash
*/
function hashClear() {
this.__data__ = nativeCreate ? nativeCreate(null) : {};
this.size = 0;
}
module.exports = hashClear;
| {
"pile_set_name": "Github"
} |
{
"name": "note-wrangler",
"version": "0.0.0",
"dependencies": {
"body-parser": {
"version": "1.12.0",
"from": "body-parser@^1.4.3",
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.12.0.tgz",
"dependencies": {
"bytes": {
"version": "1.0.0",
... | {
"pile_set_name": "Github"
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | {
"pile_set_name": "Github"
} |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
""" Orthogonal instrumental variable estimation of ATE.
"""
import numpy as np
from econml.utilities import hstack
from sklearn.model_selection import KFold, StratifiedKFold
from sklearn.linear_model import LinearRegression... | {
"pile_set_name": "Github"
} |
; RUN: opt < %s -add-discriminators -S | FileCheck %s
; RUN: opt < %s -passes=add-discriminators -S | FileCheck %s
; Discriminator support for multiple CFG paths on the same line.
;
; void foo(int i) {
; int x;
; if (i < 10) x = i; else x = -i;
; }
;
; The two stores inside the if-then-else... | {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 -fsyntax-only -verify %s
// rdar://8191774
@protocol SomeProtocol
@end
@protocol SomeProtocol1
@end
@interface SomeObject <SomeProtocol>
@end
int main () {
Class <SomeProtocol> classA;
Class <SomeProtocol> classB;
Class <SomeProtocol, SomeProtocol1> classC;
Class <SomeProtocol1> c... | {
"pile_set_name": "Github"
} |
'use strict';
// B.2.3.2 String.prototype.anchor(name)
require('./_string-html')('anchor', function(createHTML){
return function anchor(name){
return createHTML(this, 'a', 'name', name);
}
}); | {
"pile_set_name": "Github"
} |
/*
* 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 writing, software
* distri... | {
"pile_set_name": "Github"
} |
{
"name": "more-router-samples",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^9.1.9",
"@angular/c... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) Igor Sysoev
* Copyright (C) Nginx, Inc.
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>
#include <ngx_channel.h>
static void ngx_start_worker_processes(ngx_cycle_t *cycle, ngx_int_t n,
ngx_int_t type);
static void ngx_start_cache_manager_processes(ngx_cycle_t *cycl... | {
"pile_set_name": "Github"
} |
import { Selector } from 'testcafe';
fixture `GH-2067`
.page `http://localhost:3000/fixtures/regression/gh-2067/pages/index.html`;
const radioWindows = Selector('#windows');
const radioMacos = Selector('#macos');
const radioLinux = Selector('#linux');
const radioAndroid = Selector('#android');
const radioFor... | {
"pile_set_name": "Github"
} |
#include "llvm/Transforms/Utils/VNCoercion.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/Analysis/MemoryDependenceAnalysis.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/Support/Debug.h"... | {
"pile_set_name": "Github"
} |
<Type Name="NSApplicationPrint" FullName="MonoMac.AppKit.NSApplicationPrint">
<TypeSignature Language="C#" Value="public delegate MonoMac.AppKit.NSApplicationPrintReply NSApplicationPrint(NSApplication application, string[] fileNames, NSDictionary printSettings, bool showPrintPanels);" />
<TypeSignature Language="I... | {
"pile_set_name": "Github"
} |
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"eventViewerEndpoint": {
"type": "string",
"defaultValue": "https://storage-demo-event-grid-viewer.azurewebsites.net/api/updates",
... | {
"pile_set_name": "Github"
} |
set(LLVM_LINK_COMPONENTS
TransformUtils
BitWriter
Core
IRReader
Support
)
add_llvm_tool(llvm-split
llvm-split.cpp
DEPENDS
intrinsics_gen
)
| {
"pile_set_name": "Github"
} |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
... | {
"pile_set_name": "Github"
} |
<!doctype html>
<title>CodeMirror: Jinja2 mode</title>
<meta charset="utf-8"/>
<link rel=stylesheet href="../../doc/docs.css">
<link rel="stylesheet" href="../../lib/codemirror.css">
<script src="../../lib/codemirror.js"></script>
<script src="jinja2.js"></script>
<style type="text/css">.CodeMirror {border-top: 1px s... | {
"pile_set_name": "Github"
} |
<?php
/*
* Copyright 2014 Google 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 t... | {
"pile_set_name": "Github"
} |
# Copyright 2018 Google LLC
#
# 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 writing, ... | {
"pile_set_name": "Github"
} |
(library
(name lib)
(wrapped false)
(default_implementation lib.impl))
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2014 Guidewire Software, Inc.
*/
package gw.lang.reflect.java;
import gw.lang.reflect.module.IModule;
public interface ITypeInfoResolver {
IJavaClassType resolveType(String relativeName, int ignoreFlags);
IJavaClassType resolveType(String relativeName, IJavaClassInfo whosAskin, int ignoreFlags... | {
"pile_set_name": "Github"
} |
/* Copyright 2015 The TensorFlow Authors. 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 law or a... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
# Disable while we have Python 2.x compatability
# pylint: disable=useless-object-inheritance
"""Exceptions that are used by SoCo."""
from __future__ import unicode_literals
class SoCoException(Exception):
"""Base class for all SoCo exceptions."""
class UnknownSoCoException(SoCoExcep... | {
"pile_set_name": "Github"
} |
var convert = require('./convert'),
func = convert('cloneDeepWith', require('../cloneDeepWith'));
func.placeholder = require('./placeholder');
module.exports = func;
| {
"pile_set_name": "Github"
} |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\mail;
/**
* MessageInterface is the interface that should be implemented by mail message classes.
*
* A message represents the settings and content of... | {
"pile_set_name": "Github"
} |
/**
* jQuery.autotype - Simple, accurate, typing simulation for jQuery
*
* version 0.5.0
*
* http://michaelmonteleone.net/projects/autotype
* http://github.com/mmonteleone/jquery.autotype
*
* Copyright (c) 2009 Michael Monteleone
* Licensed under terms of the MIT License (README.markdown)
*/
(function($){
... | {
"pile_set_name": "Github"
} |
"""
Pure SciPy implementation of Locally Optimal Block Preconditioned Conjugate
Gradient Method (LOBPCG), see
http://www-math.cudenver.edu/~aknyazev/software/BLOPEX/
License: BSD
Authors: Robert Cimrman, Andrew Knyazev
Examples in tests directory contributed by Nils Wagner.
"""
from __future__ import division, prin... | {
"pile_set_name": "Github"
} |
#define OWL_PARSER_IMPLEMENTATION
#include "1-parse.h"
| {
"pile_set_name": "Github"
} |
package com.lukaslechner.coroutineusecasesonandroid.utils
import com.google.gson.Gson
import okhttp3.*
class MockNetworkInterceptor : Interceptor {
private val mockResponses = mutableListOf<MockResponse>()
private val gson = Gson()
override fun intercept(chain: Interceptor.Chain): Response {
val... | {
"pile_set_name": "Github"
} |
import React from 'react'
import {
AddExternalServicesPage,
AddExternalServicesPageProps,
} from '../components/externalServices/AddExternalServicesPage'
import { codeHostExternalServices, nonCodeHostExternalServices } from '../components/externalServices/externalServices'
export interface SiteAdminAddExternal... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2005-2020 Junjiro R. Okajima
*
* This program, aufs 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 2 of the License, or
* (at your o... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright (c) 2009 IBM Corporation and others.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
... | {
"pile_set_name": "Github"
} |
'use strict';
// B.2.3.8 String.prototype.fontsize(size)
require('./_string-html')('fontsize', function(createHTML){
return function fontsize(size){
return createHTML(this, 'font', 'size', size);
}
}); | {
"pile_set_name": "Github"
} |
require('../../modules/es7.math.degrees');
module.exports = require('../../modules/_core').Math.degrees;
| {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WF.Sample.Business.DataAccess;
using System.Data.Entity;
namespace WF.Sample.PostgreSql.Implementation
{
public class EmployeeRepository : IEmployeeRepository
{
private readonly Sa... | {
"pile_set_name": "Github"
} |
/*
* Copyright 1998-2016 Linux.org.ru
* 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"
} |
#include "defines.hpp"
#include <sstream>
#include <string>
#include <vector>
#include <components/debug/debuglog.hpp>
#include <components/misc/stringops.hpp>
namespace Interpreter{
bool check(const std::string& str, const std::string& escword, unsigned int* i, unsigned int* start)
{
bool retval = ... | {
"pile_set_name": "Github"
} |
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "CoreMinimal.h"
#include "Interfaces/NetworkPredictionInterface.h"
UNetworkPredictionInterface::UNetworkPredictionInterface(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
| {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.constant.ParamConstants import *
class ZolozIdentificationCustomerEnrollcertifyQueryModel(object):
def __init__(self):
self._biz_id = None
self._face_type = None
self._need_img = None
self._zim_id = Non... | {
"pile_set_name": "Github"
} |
/* impure.c. Handling of re-entrancy data structure for OpenRISC 1000.
Copyright (C) 2014, Authors
Contributor Stefan Wallentowitz <stefan.wallentowitz@tum.de>
* The authors hereby grant permission to use, copy, modify, distribute,
* and license this software and its documentation for any purpose, provide... | {
"pile_set_name": "Github"
} |
{
"name": "angular",
"version": "1.4.8",
"description": "HTML enhanced for web apps",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/angular/angular.js.git"
},
"keywords": [
"angular",
... | {
"pile_set_name": "Github"
} |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import _init_paths
import os
import cv2
import time
# from opts import opts
from opts_pose import opts
from detectors.detector_factory import detector_factory
image_ext = ['jpg', 'jpeg', 'png', 'webp']
video... | {
"pile_set_name": "Github"
} |
# ignore-walk
[](https://travis-ci.org/npm/ignore-walk)
Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.
Walk a directory creating a list of entries, parsing any `.ignore`
files met along the way to exclude files.
## USAGE
```... | {
"pile_set_name": "Github"
} |
/*
* Hibernate OGM, Domain model persistence for NoSQL datastores
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.ogm.backendtck.type.converter;
import javax.persisten... | {
"pile_set_name": "Github"
} |
/*!
* jQVMap Version 1.0
*
* http://jqvmap.com
*
* Copyright 2012, Peter Schmalfeldt <manifestinteractive@gmail.com>
* Licensed under the MIT license.
*
* Fork Me @ https://github.com/manifestinteractive/jqvmap
*/
.jqvmap-label {
position: absolute;
display: none;
-webkit-border-radius: 3px;
-moz-border-r... | {
"pile_set_name": "Github"
} |
{
"SourceFileNode": {
"statementList": [
{
"InlineHtml": {
"scriptSectionEndTag": null,
"text": null,
"scriptSectionStartTag": {
"kind": "ScriptSectionStartTag",
"textLengt... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2020, NVIDIA CORPORATION. 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 ... | {
"pile_set_name": "Github"
} |
<?php
/**
* CoreShop.
*
* This source file is subject to the GNU General Public License version 3 (GPLv3)
* For the full copyright and license information, please view the LICENSE.md and gpl-3.0.txt
* files that are distributed with this source code.
*
* @copyright Copyright (c) 2015-2020 Dominik Pfaffenbauer (... | {
"pile_set_name": "Github"
} |
@import url("gtk-main.css");
| {
"pile_set_name": "Github"
} |
"""Statistics analyzer for HotShot."""
import profile
import pstats
import hotshot.log
from hotshot.log import ENTER, EXIT
def load(filename):
return StatsLoader(filename).load()
class StatsLoader:
def __init__(self, logfn):
self._logfn = logfn
self._code = {}
self._stack = []
... | {
"pile_set_name": "Github"
} |
'use strict';
const acorn = require('acorn-jsx');
const esrecurse = require('../esrecurse/esrecurse');
const escodegen = require('escodegen');
const esquery = require('../esquery/esquery');
const bfs = require('acorn-bfs');
const htmlElements = require('./constants.js').htmlElements;
const reactMethods = require('./c... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.15 on 2018-12-19 12:35
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('CMDB', '0036_auto_20181213_1404'),
]
operations = [
migrations.AlterUniqueTogether... | {
"pile_set_name": "Github"
} |
#include "wsconnection.h"
#include <stdlib.h>
#include <vector>
#include <assert.h>
#include <arpa/inet.h>
#include <string.h>
#include <endian.h>
#include "connection.h"
#include "httprequest.h"
#include "httpresponse.h"
#include "stringutil.h"
#include "sockutil.h"
#include "log.h"
using namespace std;
using names... | {
"pile_set_name": "Github"
} |
# (C) Copyright David Abrahams 2001.
# (C) Copyright MetaCommunications, Inc. 2004.
# Distributed under the Boost Software License, Version 1.0. (See
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
# The following #// line will be used by the regression test table generation
# p... | {
"pile_set_name": "Github"
} |
// Source : https://leetcode.com/problems/diagonal-traverse/
// Author : Han Zichi
// Date : 2017-02-07
/**
* @param {number[]} nums
* @return {number[]}
*/
var nextGreaterElements = function(nums) {
let len = nums.length;
nums = nums.concat(nums.slice(0, len - 1));
let ans = [];
let stack = [];
// 单调... | {
"pile_set_name": "Github"
} |
typedef unsigned short uint16;
typedef unsigned uint32;
typedef unsigned char uint8;
typedef struct
{
uint16 len;
uint16 maxlen;
uint32 offset;
}tSmbStrHeader;
typedef struct
{
char ident[8];
uint32 msgType;
uint32 flags;
tSmbStrHeader user;
tSmbStrHeader domain;
uint8 b... | {
"pile_set_name": "Github"
} |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationWrapperBuilderFactory.java b/chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationWrapperBuilderFactory.java
index cf33525790377668a857f209c651a6759a6e30a5..f83e924c6d7caef6f87f2b01d7998ca46bbabe81 100644... | {
"pile_set_name": "Github"
} |
#pragma once
#include <elle/reactor/fsm/Transition.hh>
#include <elle/reactor/fsm/fwd.hh>
namespace elle
{
namespace reactor
{
namespace fsm
{
/// A specialized Transition that occurs at the end of the source State.
class EndTransition
: public Transition
{
public:
... | {
"pile_set_name": "Github"
} |
// go run mksyscall.go -l32 -openbsd -arm -tags openbsd,arm syscall_bsd.go syscall_openbsd.go syscall_openbsd_arm.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build openbsd,arm
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT... | {
"pile_set_name": "Github"
} |
exports.f = Object.getOwnPropertySymbols;
| {
"pile_set_name": "Github"
} |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'fas';
var iconName = 'suitcase';
var width = 512;
var height = 512;
var ligatures = [];
var unicode = 'f0f2';
var svgPathData = 'M128 480h256V80c0-26.5-21.5-48-48-48H176c-26.5 0-48 21.5-48 48v400zm64-384h128v32H192V96zm320 80v256... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python3
#pylint: disable=missing-docstring
#* This file is part of the MOOSE framework
#* https://www.mooseframework.org
#*
#* All rights reserved, see COPYRIGHT for full restrictions
#* https://github.com/idaholab/moose/blob/master/COPYRIGHT
#*
#* Licensed under LGPL 2.1, please see LICENSE for details
... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
module Krane
class DeployTaskConfigValidator < TaskConfigValidator
def initialize(protected_namespaces, prune, *arguments)
super(*arguments)
@protected_namespaces = protected_namespaces
@allow_protected_ns = !protected_namespaces.empty?
@prune = prune
@v... | {
"pile_set_name": "Github"
} |
/*
* Initialization and support routines for self-booting compressed image.
*
* $Copyright Open Broadcom Corporation$
*
* $Id: circularbuf.h 452258 2014-01-29 19:17:57Z $
*/
#ifndef __CIRCULARBUF_H_INCLUDED__
#define __CIRCULARBUF_H_INCLUDED__
#include <osl.h>
#include <typedefs.h>
#include <bcmendian.h>
/* En... | {
"pile_set_name": "Github"
} |
"""
ACE parser
From wotsit.org and the SDK header (bitflags)
Partial study of a new block type (5) I've called "new_recovery", as its
syntax is very close to the former one (of type 2).
Status: can only read totally file and header blocks.
Author: Christophe Gisquet <christophe.gisquet@free.fr>
Creation date: 19 jan... | {
"pile_set_name": "Github"
} |
package mockit;
import static org.junit.Assert.*;
import org.junit.*;
public final class TestedClassWithNoDITest
{
public static final class TestedClass {
private final Dependency dependency = new Dependency();
public boolean doSomeOperation() { return dependency.doSomething() > 0; }
}
static c... | {
"pile_set_name": "Github"
} |
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2020 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program 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
* version ... | {
"pile_set_name": "Github"
} |
// VirtThread.cpp
#include "VirtThread.h"
static THREAD_FUNC_DECL CoderThread(void *p)
{
for (;;)
{
CVirtThread *t = (CVirtThread *)p;
t->StartEvent.Lock();
if (t->Exit)
return 0;
t->Execute();
t->FinishedEvent.Set();
}
}
WRes CVirtThread::Create()
{
RINOK(StartEvent.CreateIfNotCr... | {
"pile_set_name": "Github"
} |
apiVersion: v1
kind: Pod
metadata:
name: website
labels:
app: website
role: frontend
spec:
containers:
- name: website
image: nginx
volumeMounts:
- mountPath: /cache
name: cache-volume
ports:
- containerPort: 80
volumes:
- name: cache-volume
empt... | {
"pile_set_name": "Github"
} |
// (C) Copyright Gennadiy Rozental 2002-2008.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
//
// ... | {
"pile_set_name": "Github"
} |
package zmq.socket.radiodish;
import zmq.Ctx;
import zmq.Msg;
import zmq.Options;
import zmq.SocketBase;
import zmq.ZError;
import zmq.ZMQ;
import zmq.io.IOThread;
import zmq.io.SessionBase;
import zmq.io.net.Address;
import zmq.pipe.Pipe;
import zmq.socket.pubsub.Dist;
import java.nio.charset.StandardCharsets;
impor... | {
"pile_set_name": "Github"
} |
package com.bird.web.sso;
import lombok.Getter;
import lombok.Setter;
/**
* @author liuxx
* @date 2019/3/1
*/
@Getter
@Setter
public abstract class SsoProperties {
/**
* cookie名称,默认为Sso-Token
*/
private String cookieName = "Sso-Token";
/**
* 登录地址
*/
private String loginPath;
}
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2007-2017 Xplenty, Inc. All Rights Reserved.
*
* Project and contact information: http://www.cascading.org/
*
* This file is part of the Cascading project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... | {
"pile_set_name": "Github"
} |
#include <KlayGE/KlayGE.hpp>
#include <KFL/ErrorHandling.hpp>
#include <KFL/Util.hpp>
#include <KlayGE/Texture.hpp>
#include <KFL/Math.hpp>
#include <KlayGE/TexCompressionBC.hpp>
#include <KlayGE/ResLoader.hpp>
#include <iostream>
#include <fstream>
#include <vector>
#include <cstring>
using namespace st... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | {
"pile_set_name": "Github"
} |
package org.rrd4j.core.jrrd;
import java.io.IOException;
import java.io.PrintStream;
import java.text.NumberFormat;
/**
* Instances of this class model a data source in an RRD file.
*
* @author <a href="mailto:ciaran@codeloop.com">Ciaran Treanor</a>
* @version $Revision: 1.1 $
*/
public class DataSource {
p... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of Piplin.
*
* Copyright (C) 2016-2017 piplin.com
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Piplin\Http\Requests;
use Piplin\Http\Requests\Request;
/**
* Validate the user name and ... | {
"pile_set_name": "Github"
} |
package ws.schild.jave.filters;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
/**
* A filterchain as described by <a
* href="https://ffmpeg.org/ffmpeg-filters.html#Filtergraph-syntax-1">FFMPEG Documentation</a>.
*
* <p>A filterchain is a comma sepa... | {
"pile_set_name": "Github"
} |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
namespace Microsoft.Zelig.CodeGeneration.IR
{
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Microsoft.Zelig.Runtime.TypeSystem;
public class ExternalDataDescriptor : DataManager.Da... | {
"pile_set_name": "Github"
} |
---
layout: page
title: Sandboxes - Sinon.JS
breadcrumb: sandbox
---
Sandboxes removes the need to keep track of every fake created, which greatly simplifies cleanup.
```javascript
var sandbox = require('sinon').createSandbox();
var myAPI = { hello: function () {} };
describe('myAPI.hello method', function () {
... | {
"pile_set_name": "Github"
} |
{
"name": "dbgobject-tree",
"headless": true,
"author": "Peter Salas",
"description": "Provides an interface for traversing a tree of DbgObjects.",
"dependencies": ["dbgobject", "dbgobject-inspector"],
"includes": ["dbgobject-tree.css", "dbgobject-tree.js", "dbgobject-renderer.js", "tree-r... | {
"pile_set_name": "Github"
} |
{
"type": "attributeSelector",
"content": [
{
"type": "attributeName",
"content": [
{
"type": "ident",
"content": "a",
"syntax": "less",
"start": {
"line": 1,
"column": 2
},
"end": {
"line": 1,
... | {
"pile_set_name": "Github"
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | {
"pile_set_name": "Github"
} |
useLogger(CustomEventLogger())
class CustomEventLogger() : BuildAdapter(), TaskExecutionListener {
override fun beforeExecute(task: Task) {
println("[${task.name}]")
}
override fun afterExecute(task: Task, state: TaskState) {
println()
}
override fun buildFinished(result: BuildRe... | {
"pile_set_name": "Github"
} |
// go run mksysnum.go https://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/sys/kern/syscalls.master
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build amd64,dragonfly
package unix
const (
// SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
SYS_EXIT = 1 ... | {
"pile_set_name": "Github"
} |
using Engine.Exceptions;
using Engine.Model.Client;
using Engine.Model.Common.Entities;
using OpenAL;
using System;
using System.Collections.Generic;
using System.Security;
using System.Threading;
namespace Engine.Audio.OpenAL
{
public sealed class OpenALPlayer :
MarshalByRefObject,
IPlayer
{
#region ... | {
"pile_set_name": "Github"
} |
#ifndef __CONCRETE_PRODUCT_1_H__
#define __CONCRETE_PRODUCT_1_H__
#include "product.h"
struct concrete_product_1 {
struct product product;
};
void concrete_product_1_init(struct concrete_product_1 *);
#endif /* __CONCRETE_PRODUCT_1_H__ */
| {
"pile_set_name": "Github"
} |
#import <Foundation/Foundation.h>
/**
* MurmurHash2 was written by Austin Appleby, and is placed in the public domain.
* http://code.google.com/p/smhasher
**/
#ifndef YapDatabase_YapMurmurHash_h
#define YapDatabase_YapMurmurHash_h
NSUInteger YapMurmurHash2(NSUInteger hash1, NSUInteger hash2);
NSUInteger YapMurmu... | {
"pile_set_name": "Github"
} |
/****************************************************************************
* net/socket/socket.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. T... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2016 - 2018 ExoMedia Contributors
*
* 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 applic... | {
"pile_set_name": "Github"
} |
using System;
using UIKit;
namespace Xamarin.Forms.Platform.iOS.UnitTests
{
internal static class ColorComparison
{
public static bool ARGBEquivalent(UIColor color1, UIColor color2)
{
color1.GetRGBA(out nfloat red1, out nfloat green1, out nfloat blue1, out nfloat alpha1);
color2.GetRGBA(out nfloat red2, o... | {
"pile_set_name": "Github"
} |
#ifndef VP8_RTCD_H_
#define VP8_RTCD_H_
#ifdef RTCD_C
#define RTCD_EXTERN
#else
#define RTCD_EXTERN extern
#endif
/*
* VP8
*/
struct blockd;
struct macroblockd;
struct loop_filter_info;
/* Encoder forward decls */
struct block;
struct macroblock;
struct variance_vtable;
union int_mv;
struct yv12_buffer_config;
#... | {
"pile_set_name": "Github"
} |
<template>
<div>
<base-title title="Classes" />
<base-table
:columns="columns"
:rows="rows"
/>
</div>
</template>
<script>
import BaseTable from '../base/Table'
import BaseTitle from '../BaseTitle'
export default {
components: {
BaseTable, BaseTitle
},
data () {
return {
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2009-2020 Lightbend Inc. <https://www.lightbend.com>
*/
package akka.io
import java.lang.{ Iterable => JIterable }
import java.net.InetSocketAddress
import scala.collection.immutable
import com.github.ghik.silencer.silent
import akka.actor._
import akka.io.Inet.SocketOption
import akka.io.Udp.... | {
"pile_set_name": "Github"
} |
var falafel = require('falafel');
var test = require('../');
test('array', function (t) {
t.plan(8);
var src = '(' + function () {
var xs = [ 1, 2, [ 3, 4 ] ];
var ys = [ 5, 6 ];
g([ xs, ys ]);
} + ')()';
var output = falafel(src, function (node) {
if (node.type === 'A... | {
"pile_set_name": "Github"
} |
<?php
require_once("provider.php");
class StockProvider implements ServiceProvider {
// Widget properties
static $widgetName = "Stock Price";
static $widgetIcon = "stock.svg";
public $cpair;
public $width;
public $height;
function StockProvider() {
$this->stock = "GOOG";
$this->width = 800;
$this->heig... | {
"pile_set_name": "Github"
} |
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# This script is used to capture the content of config.status-generated
# files and subsequently restore their timestamp... | {
"pile_set_name": "Github"
} |
(defpackage :roswell.delete.git
(:use :cl :roswell.util))
(in-package :roswell.delete.git)
(defun git (&rest argv)
(if (rest argv)
(dolist (x (rest argv) (roswell:quit 0))
(let* ((* (loop for v being the hash-values in (roswell.util::local-project-build-hash)
for .git/ = (merg... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.