text stringlengths 10 99.9k | meta dict |
|---|---|
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double QuickLayoutVersionNumber;
FOUNDATION_EXPORT const unsigned char QuickLayoutVersionString[];
| {
"pile_set_name": "Github"
} |
//
// Deprecated.swift
// RxDataSources
//
// Created by Krunoslav Zaher on 10/8/17.
// Copyright © 2017 kzaher. All rights reserved.
//
#if os(iOS) || os(tvOS)
extension CollectionViewSectionedDataSource {
@available(*, deprecated, renamed: "configureSupplementaryView")
public var supplementaryViewFactory... | {
"pile_set_name": "Github"
} |
#![allow(unused_imports)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = CustomElementRegistry , typescript_type = "CustomElementRegistry")]
#[derive(Debug, Clone, PartialEq, Eq)]
#[doc = "The `CustomElementRegistry` class.... | {
"pile_set_name": "Github"
} |
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | {
"pile_set_name": "Github"
} |
//===--- SwiftPrivateThreadExtras.swift -----------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | {
"pile_set_name": "Github"
} |
package plugins.core.combat;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import akka.actor.ActorRef;
import akka.actor.ActorSelection;
import akka.actor.Props;
import akka.actor.UntypedActor;
... | {
"pile_set_name": "Github"
} |
package com.trinity.sample.view.foucs
enum class AutoFocusTrigger {
GESTURE,
METHOD
}
| {
"pile_set_name": "Github"
} |
/* Copyright 2012 Yaqiang Wang,
* yaqiang.wang@gmail.com
*
* This 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 version 2.1 of the License, or (at
* your option) any later... | {
"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 ... | {
"pile_set_name": "Github"
} |
testConstructorMessageCause(org.apache.commons.math.FunctionEvaluationExceptionTest)
testConstructorMessage(org.apache.commons.math.FunctionEvaluationExceptionTest)
testConstructor(org.apache.commons.math.FunctionEvaluationExceptionTest)
testConstructorCause(org.apache.commons.math.MathConfigurationExceptionTest)
testC... | {
"pile_set_name": "Github"
} |
// Copyright 2008 The Closure Library 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 requ... | {
"pile_set_name": "Github"
} |
//
// detail/winrt_ssocket_service.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#if... | {
"pile_set_name": "Github"
} |
{
"jsonSchemaSemanticVersion": "1.0.0",
"imports": [
{
"corpusPath": "cdm:/foundations.1.1.cdm.json"
},
{
"corpusPath": "/core/operationsCommon/Common.1.0.cdm.json",
"moniker": "base_Common"
},
{
"corpusPath": "/core/operationsCommon/DataEntityView.1.0.cdm.json",
"m... | {
"pile_set_name": "Github"
} |
// Copyright 2015 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include <memory>
#include <optional>
#include <vector>
#include "Common/CommonTypes.h"
class PointerWrap;
namespace DiscIO
{
struct Partition;
}
namespace DVDInterface
{
enum class ReplyType... | {
"pile_set_name": "Github"
} |
{{#with tryGetTargetReflectionDeep}}
{{#ifCond ../name '===' name}}
Re-exports <a href="{{relativeURL url}}">{{name}}</a>
{{else if flags.isExported}}
Renames and re-exports <a href="{{relativeURL url}}">{{name}}</a>
{{else}}
Renames and exports <a href="{{relativeURL url}}">{{name}}... | {
"pile_set_name": "Github"
} |
import random
import multiaddr
import pytest
from libp2p.peer.id import ID
from libp2p.peer.peerinfo import InvalidAddrError, PeerInfo, info_from_p2p_addr
ALPHABETS = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
VALID_MULTI_ADDR_STR = "/ip4/127.0.0.1/tcp/8000/p2p/3YgLAeMKSAPcGqZkAt8mREqhQXmJT8SN8VCMN... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2014 Freescale Semiconductor
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __FSL_DPAA_FD_H
#define __FSL_DPAA_FD_H
/* Place-holder for FDs, we represent it via the simplest form that we need for
* now. Different overlays may be needed to support different options, etc. (It
* is impractical ... | {
"pile_set_name": "Github"
} |
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build aix
// +build ppc
package unix
//sysnb Getrlimit(resource int, rlim *Rlimit) (err error) = getrlimit64
//sysnb Setrlimit(resource int, rlim *Rlimit)... | {
"pile_set_name": "Github"
} |
# /* **************************************************************************
# * *
# * (C) Copyright Edward Diener 2014. *
# * Distributed under the Boost Software License, Version 1.0. (See ... | {
"pile_set_name": "Github"
} |
////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2007-2016 Hartmut Kaiser
// Copyright (c) 2008-2009 Chirag Dekate, Anshul Tandon
// Copyright (c) 2012-2013 Thomas Heller
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version... | {
"pile_set_name": "Github"
} |
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 Matthias Christian Schabel
// Copyright (C) 2008 Steven Watanabe
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.tx... | {
"pile_set_name": "Github"
} |
# Copyright(c) 2017 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 to in writing, ... | {
"pile_set_name": "Github"
} |
using UnityEngine;
using UnityEditor;
namespace Lockstep
{
[CustomPropertyDrawer(typeof(PathObjectAttribute))]
public class EditorPathObject : UnityEditor.PropertyDrawer
{
const float defaultPropertyHeight = 16f;
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
{
ret... | {
"pile_set_name": "Github"
} |
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 Matthias Christian Schabel
// Copyright (C) 2008 Steven Watanabe
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.tx... | {
"pile_set_name": "Github"
} |
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.jackett;
in
{
options = {
services.jackett = {
enable = mkEnableOption "Jackett";
dataDir = mkOption {
type = types.str;
default = "/var/lib/jackett/.config/Jackett";
description = "The directory where Jacket... | {
"pile_set_name": "Github"
} |
from __future__ import unicode_literals
from __future__ import print_function
from threading import Thread, RLock, Event
from datetime import datetime, timedelta
from operator import attrgetter
import logging
log = logging.getLogger("moya.runtime")
class Task(object):
"""A task scheduled for a given time"""
... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\FLIR;
use JMS\Serializer\Annotation\ExclusionPolicy;
us... | {
"pile_set_name": "Github"
} |
//===- llvm/Assembly/PrintModulePass.h - Printing Pass ----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | {
"pile_set_name": "Github"
} |
{
"_args": [
[
{
"raw": "os-homedir@^1.0.0",
"scope": null,
"escapedName": "os-homedir",
"name": "os-homedir",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"/Users/chengwei/kafka-doc-zh/doc/zh/node_modules/tildify"
... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\BrowserKit;
/**
* Request object.
*
* @author Fabi... | {
"pile_set_name": "Github"
} |
#ifndef GRAPHICS_API_GLES3
#define NO_NATIVE_SHADOWMAP
#endif
#ifdef NO_NATIVE_SHADOWMAP
#define TEXTURE2D_SHADOW(textureName) uniform mediump sampler2D textureName
#define SAMPLE_TEXTURE2D_SHADOW(textureName, coord3) (texture2D(textureName,coord3.xy).r<coord3.z?0.0:1.0)
#define TEXTURE2D_SHADOW_PARAM(shadowMap) m... | {
"pile_set_name": "Github"
} |
/*
* Callbacks prototypes for FSM
*
* Copyright (C) 1996 Universidade de Lisboa
*
* Written by Pedro Roque Marques (roque@di.fc.ul.pt)
*
* This software may be used and distributed according to the terms of
* the GNU General Public License, incorporated herein by reference.
*/
#ifndef CALLBACKS_H
#define CALL... | {
"pile_set_name": "Github"
} |
'use strict';
const runAction = require('./action');
const extend = require('node.extend');
const fs = require('fs');
const path = require('path');
const {promisify} = require('util');
const pkg = require('../package.json');
const promiseTimeout = require('p-timeout');
const puppeteer = require('puppeteer');
const sem... | {
"pile_set_name": "Github"
} |
/*
* GDevelop Core
* Copyright 2008-present Florian Rival (Florian.Rival@gmail.com). All rights
* reserved. This project is released under the MIT License.
*/
#ifndef GDCORE_PROPERTYDESCRIPTOR
#define GDCORE_PROPERTYDESCRIPTOR
#include <vector>
#include "GDCore/String.h"
namespace gd {
class SerializerElement;
}
... | {
"pile_set_name": "Github"
} |
--- gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc.orig 2019-04-08 08:32:57 UTC
+++ gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc
@@ -562,7 +562,7 @@ class GLCopyTextureCHROMIUMES3Test : public GLCopyText
bool ShouldSkipNorm16() const {
DCHECK(!ShouldSkipTest());
-#if (defined(O... | {
"pile_set_name": "Github"
} |
#ifndef ABSTRACT_H
#define ABSTRACT_H
#ifdef PROFILE
#define printf(a, b) Serial.println(b)
#endif
#if defined ARDUINO_SAM_DUE || defined ADAFRUIT_GRAND_CENTRAL_M4
#define HostOS 0x01
#endif
#ifdef CORE_TEENSY
#define HostOS 0x04
#endif
#ifdef ESP32
#define HostOS 0x05
#endif
#ifdef _STM32_DEF_
#define HostOS 0x06
#e... | {
"pile_set_name": "Github"
} |
Vue.component('dropdown', {
template: '#tmpl-dropdown',
props: {
id: {
type: String,
},
visible: {
type: Boolean,
default: false,
},
items: {
type: Array,
default: [],
},
classes: {
... | {
"pile_set_name": "Github"
} |
/**
* Copyright 1993-2013 NVIDIA Corporation. All rights reserved.
*
* Please refer to the NVIDIA end user license agreement (EULA) associated
* with this source code for terms and conditions that govern your use of
* this software. Any use, reproduction, disclosure, or distribution of
* this software and relate... | {
"pile_set_name": "Github"
} |
defmodule Absinthe.Execution.SubscriptionTest do
use Absinthe.Case
import ExUnit.CaptureLog
defmodule PubSub do
@behaviour Absinthe.Subscription.Pubsub
def start_link() do
Registry.start_link(keys: :unique, name: __MODULE__)
end
def node_name() do
node()
end
def subscribe(... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'test_aslr_default',
'type': 'executable',
'msvs_settings': {
},
'sources': ['hello.cc'],
},... | {
"pile_set_name": "Github"
} |
--- src/client.c.org Tue Nov 30 13:49:23 2004
+++ src/client.c Wed Dec 1 12:42:01 2004
@@ -144,6 +144,7 @@
static size_t try_read_from_server PROTO ((char *, size_t));
+static void proxy_connect PROTO ((cvsroot_t *, int));
static void auth_server PROTO ((cvsroot_t *, struct buffer *, struct buffer *,
int, i... | {
"pile_set_name": "Github"
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace System.Runtime.InteropServices.Tests
{
public class TypeLibVarAttributeTests
{
[Theory]
[InlineData((TypeLibVarFlags)(-1))]
[I... | {
"pile_set_name": "Github"
} |
--- a/sockd/sockd_io.c.old 2017-05-10 19:57:20.672000000 +0000
+++ b/sockd/sockd_io.c 2017-05-10 20:00:34.548000000 +0000
@@ -2912,7 +2912,7 @@ siginfo(sig, si, sc)
int src_so_rcvbuf, dst_so_rcvbuf;
#endif /* HAVE_RECVBUF_IOCTL */
-#if HAVE_SENDBUF_IOCTL
+#ifdef HAVE_SENDBUF_IOCTL
int src_so_sndb... | {
"pile_set_name": "Github"
} |
/* Copyright 2006-2015 Joaquin M Lopez Munoz.
* 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/flyweight for library home page.
*/
#ifndef BOOST_FLYWEIGHT_SERIALIZE_HP... | {
"pile_set_name": "Github"
} |
import { db } from "../../lib/mongo"
import parse from "../../lib/parse"
class EmailSettingsService {
constructor() {
this.defaultSettings = {
host: "",
port: "",
user: "",
pass: 0,
from_name: "",
from_address: "",
}
}
getEmailSettings() {
return db
.collect... | {
"pile_set_name": "Github"
} |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var chars = require("./chars");
var CssTokenType;
(function (CssTokenType) {
CssTokenType[CssTokenType["EOF"] = 0] = "EOF";
CssTokenType[CssTokenType["String"] = 1] = "String";
CssTokenType[CssTokenType["Comment"] = 2] = "Comment";... | {
"pile_set_name": "Github"
} |
<?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup UnaCore UNA Core
* @{
*/
class BxDolModuleQuery extends BxDolDb implements iBxDolSingleton
{
protected function __construct()
{
if (is... | {
"pile_set_name": "Github"
} |
#ifndef _NRF_DELAY_H
#define _NRF_DELAY_H
// #include "nrf.h"
/*lint --e{438, 522} "Variable not used" "Function lacks side-effects" */
#if defined ( __CC_ARM )
static __ASM void __INLINE nrf_delay_us(uint32_t volatile number_of_us)
{
loop
SUBS R0, R0, #1
NOP
NOP
NOP
NOP
... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2019 The Error Prone Authors.
*
* 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 ... | {
"pile_set_name": "Github"
} |
import $ from 'jquery';
import env from '../core/env';
import lists from '../core/lists';
import dom from '../core/dom';
export default class TablePopover {
constructor(context) {
this.context = context;
this.ui = $.summernote.ui;
this.options = context.options;
this.events = {
'summernote.mou... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2017-2019 Jonathan Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#include <cppast/cpp_template_parameter.hpp>
#include <cppast/cpp_entity_kind.hpp>
using namespace cppast;
const char*... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <AddressBookCore/ABCNPropertyDescription.h>
#import <AddressBookCore/ABCNAbstractPropertyDescription-Protocol.h>
@class NSStr... | {
"pile_set_name": "Github"
} |
#include <rose.h>
class SgVarSubstCopy : public SgCopyHelp
{
SgVariableSymbol *sourceSymbol;
SgExpression *replacementExpression;
public:
SgVarSubstCopy(SgVariableSymbol *sourceSymbol, SgExpression *replacementExpression)
: sourceSymbol(sourceSymbol), replacementExpression(replace... | {
"pile_set_name": "Github"
} |
/**
* Converts an ASCII `string` to an array.
*
* @private
* @param {string} string The string to convert.
* @returns {Array} Returns the converted array.
*/
function asciiToArray(string) {
return string.split('');
}
module.exports = asciiToArray;
| {
"pile_set_name": "Github"
} |
console.log (Object.prototype.toString.call([].__proto__));
console.log (Object.prototype.toString.call([].__proto__.__proto__));
console.log (Object.prototype.toString.call([].__proto__.__proto__.__proto__));
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2006-2011 Christian Plattner. All rights reserved.
* Please refer to the LICENSE.txt for licensing details.
*/
package ch.ethz.ssh2.packets;
import ch.ethz.ssh2.DHGexParameters;
/**
* PacketKexDhGexRequestOld.
*
* @author Christian Plattner
* @version 2.50, 03/15/10
*/
public class PacketK... | {
"pile_set_name": "Github"
} |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
... | {
"pile_set_name": "Github"
} |
# coding=utf-8
"""Python Arlo setup script."""
from setuptools import setup
def readme():
with open('README.md') as desc:
return desc.read()
setup(
name='arlo',
py_modules=['arlo', 'request', 'eventstream'],
version='1.2.35',
description='Python Arlo is a library written in Python 2.7/3x '... | {
"pile_set_name": "Github"
} |
// Copyright 2017 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, ... | {
"pile_set_name": "Github"
} |
import _plotly_utils.basevalidators
class XaxisValidator(_plotly_utils.basevalidators.SubplotidValidator):
def __init__(self, plotly_name="xaxis", parent_name="histogram2d", **kwargs):
super(XaxisValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | {
"pile_set_name": "Github"
} |
#[doc = "Reader of register CHINTENCLR"]
pub type R = crate::R<u8, super::CHINTENCLR>;
#[doc = "Writer for register CHINTENCLR"]
pub type W = crate::W<u8, super::CHINTENCLR>;
#[doc = "Register CHINTENCLR `reset()`'s with value 0"]
impl crate::ResetValue for super::CHINTENCLR {
type Type = u8;
#[inline(always)]
... | {
"pile_set_name": "Github"
} |
export enum NotificationAnimationType {
Fade = 'fade',
FromTop = 'fromTop',
FromRight = 'fromRight',
FromBottom = 'fromBottom',
FromLeft = 'fromLeft',
Scale = 'scale',
Rotate = 'rotate'
}
| {
"pile_set_name": "Github"
} |
package com.yarolegovich.mp.io;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.EditText;
import androidx.appcompat.app.AlertDialog;
import androidx.fragment.app.FragmentActivity;
im... | {
"pile_set_name": "Github"
} |
# Copyright (c) Open Enclave SDK contributors.
# Licensed under the MIT License.
add_enclave_library(oehostfs STATIC hostfs.c)
maybe_build_using_clangw(oehostfs)
enclave_include_directories(oehostfs PRIVATE ${CMAKE_BINARY_DIR}/syscall
${PROJECT_SOURCE_DIR}/include/openenclave/corelibc)
e... | {
"pile_set_name": "Github"
} |
from pymesh.TestCase import TestCase
from pymesh import compute_outer_hull
from pymesh.meshio import form_mesh
from pymesh.meshutils import generate_box_mesh
from pymesh.meshutils import merge_meshes
from pymesh.misc import Quaternion
import numpy as np
import math
import unittest
class OuterHullTest(TestCase):
d... | {
"pile_set_name": "Github"
} |
//
// KCSIBeaconTests.m
// KCSIBeaconTests
//
// Copyright 2015 Kinvey, 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
//
// ... | {
"pile_set_name": "Github"
} |
class PassthroughFormatter {
format(value) {
return value;
}
parse(text) {
return text;
}
}
export default PassthroughFormatter;
| {
"pile_set_name": "Github"
} |
{
global: {},
components: {
// Component-level parameters, defined initially from 'ks prototype use ...'
// Each object below should correspond to a component in the components/ directory
workflows: {
bucket: "kubeflow-ci_temp",
mode: "minikube",
name: "jlewi-kubeflow-gke-deploy-test-4... | {
"pile_set_name": "Github"
} |
package(default_visibility = ["//visibility:public"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
)
go_library(
name = "go_default_library",
srcs = [
"controllerrevision.go",
"deployment.go",
"expansion_generated.go",
"scale.go",
"statefulset.go",
... | {
"pile_set_name": "Github"
} |
// Copyright 2015 The Go 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 rangetable provides utilities for creating and inspecting
// unicode.RangeTables.
package rangetable
import (
"sort"
"unicode"
)
// New creates a... | {
"pile_set_name": "Github"
} |
package org.nextrtc.signalingserver.api.dto;
import org.nextrtc.signalingserver.api.NextRTCEvents;
import org.nextrtc.signalingserver.exception.SignalingException;
import java.time.ZonedDateTime;
import java.util.Map;
import java.util.Optional;
public interface NextRTCEvent {
NextRTCEvents type();
ZonedDat... | {
"pile_set_name": "Github"
} |
<?php
/**
* This file is part of the Nette Framework (https://nette.org)
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
*/
declare(strict_types=1);
namespace Nette;
if (false) {
/** @deprecated use Nette\Bootstrap\Configurator */
class Configurator
{
}
} elseif (!class_exists(Configurator::class))... | {
"pile_set_name": "Github"
} |
/******************************************************************************
* most_balanced_minimum_cuts.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef... | {
"pile_set_name": "Github"
} |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.4/15.4.4/15.4.4.19/15.4.4.19-1-10.js
* @description Array.prototype.map - applied to the Math object
*/
function testcase() {
function callbackfn(val, idx, obj) {
return ('[object Math]' === Object.prototype.t... | {
"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 not u... | {
"pile_set_name": "Github"
} |
#ifndef BOOST_BIND_STORAGE_HPP_INCLUDED
#define BOOST_BIND_STORAGE_HPP_INCLUDED
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
//
// bind/storage.hpp
//
// boost/bind.hpp support header, optimized storage
//
// Copyright (c) 2006 Peter Dimov
//
// ... | {
"pile_set_name": "Github"
} |
// StringUtils.cpp
#include "StdAfx.h"
#include "StringUtils.h"
void SplitStringToTwoStrings(const UString &src, UString &dest1, UString &dest2)
{
dest1.Empty();
dest2.Empty();
bool quoteMode = false;
int i;
for (i = 0; i < src.Length(); i++)
{
wchar_t c = src[i];
if (c == L'\"')
... | {
"pile_set_name": "Github"
} |
$NetBSD: patch-ac,v 1.2 2006/08/02 19:24:55 kristerw Exp $
--- xroads.c.orig 1999-06-30 20:25:02.000000000 +0200
+++ xroads.c 2006-08-02 21:14:27.000000000 +0200
@@ -282,13 +282,13 @@
}
/*************************************************************************************************/
-int trunc( float num ) { /*... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2019-2020 Hans-Kristian Arntzen
*
* 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 la... | {
"pile_set_name": "Github"
} |
class NSArray : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSFastEnumeration {
var count: Int { get }
func object(at index: Int) -> AnyObject
init(objects objects: UnsafePointer<AnyObject?>, count cnt: Int)
init?(coder aDecoder: NSCoder)
func copy(with zone: NSZone = nil) -> AnyObject
func muta... | {
"pile_set_name": "Github"
} |
/*
* Matrix test.
*/
#include "io/streams/cout.hh"
#include "lang/array.hh"
#include "math/matrices/matrix.hh"
#include "lang/exceptions/ex_index_out_of_bounds.hh"
using io::streams::cout;
using lang::array;
using math::matrices::matrix;
int main() {
try {
matrix<> m(3,2);
m(0,0) = 0.1;
m(0,1) = 0.02;
... | {
"pile_set_name": "Github"
} |
(*
* OWL - OCaml Scientific and Engineering Computing
* Copyright (c) 2016-2020 Liang Wang <liang.wang@cl.cam.ac.uk>
*)
open Owl_types
(* Functor of making a Lazy engine, just an alias of CPU engine. *)
module Make (A : Ndarray_Mutable) = struct
include Owl_computation_cpu_engine.Make (A)
end
(* Make functor e... | {
"pile_set_name": "Github"
} |
import React from "react";
import { mount, shallow } from "enzyme";
import $ from "jquery";
import { Component, ComponentList } from "../js/src/components/component-list";
import { Metrics } from "../js/src/components/metrics";
describe('ComponentList', () => {
it('fetches the components url', () => {
var ajax =... | {
"pile_set_name": "Github"
} |
// RUN: %compile-run-and-check
#include <omp.h>
#include <stdio.h>
int main() {
int res = 0;
#pragma omp parallel num_threads(2) reduction(+:res)
{
int tid = omp_get_thread_num();
#pragma omp target teams distribute reduction(+:res)
for (int i = tid; i < 2; i++)
++res;
}
// The first thread mak... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule i... | {
"pile_set_name": "Github"
} |
<?php
/**
* @package Gantry5
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC
* @license Dual License: MIT or GNU/GPLv2 and later
*
* http://opensource.org/licenses/MIT
* http://www.gnu.org/licenses/gpl-2.0.html
*
* Gantry Framework code that exten... | {
"pile_set_name": "Github"
} |
/*
Copyright (C) 2015 Apple Inc. All Rights Reserved.
See LICENSE.txt for this sample’s licensing information
Abstract:
The EAGLView class is a UIView subclass that renders OpenGL scene.
*/
#import "EAGLView.h"
#import "ES2Renderer.h"
@interface EAGLView ()
{
ES2Renderer* _renderer;
EAGLContext* _contex... | {
"pile_set_name": "Github"
} |
(function (g) {
function t(a, b, d) {
return "rgba(" + [Math.round(a[0] + (b[0] - a[0]) * d), Math.round(a[1] + (b[1] - a[1]) * d), Math.round(a[2] + (b[2] - a[2]) * d), a[3] + (b[3] - a[3]) * d].join(",") + ")"
}
var u = function () {
}, o = g.getOptions(), i = g.each, p = g.extend, z = g.form... | {
"pile_set_name": "Github"
} |
module tests.it.runtime.regressions;
import tests.it.runtime;
import reggae.reggae;
import std.path;
@("Issue 14: builddir not expanded")
@Tags(["ninja", "regressions"])
unittest {
with(immutable ReggaeSandbox()) {
writeFile("reggaefile.d", q{
import reggae;
enum ao = objectFile... | {
"pile_set_name": "Github"
} |
<template lang="html">
<div>
<b-modal
ref="tokenModal"
:title="$t('interface.tokens.modal.title')"
hide-footer
class="bootstrap-modal nopadding max-height-1"
centered
static
lazy
@hidden="resetCompState"
>
<form class="tokens-modal-body" @keydown.enter.pre... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <UIFoundation/NSCollectionViewLayout.h>
@interface NSCollectionViewLayout (NSPrivateItemSequence)
+ (BOOL)itemLayoutIsSequenti... | {
"pile_set_name": "Github"
} |
# @generated by autocargo from //hphp/hack/src/hhbc:emit_fatal_rust
[package]
name = "emit_fatal_rust"
edition = "2018"
version = "0.0.0"
include = ["../../emit_fatal.rs"]
[lib]
path = "../../emit_fatal.rs"
[dependencies]
emit_pos_rust = { path = "../emit_pos" }
hhbc_ast_rust = { path = "../hhbc_ast" }
instruction_se... | {
"pile_set_name": "Github"
} |
/*
* jccoefct.c
*
* Copyright (C) 1994-1997, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains the coefficient buffer controller for compression.
* This controller is the top level of t... | {
"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"
} |
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
import torch
from .box_head.box_head import build_roi_box_head
from .mask_head.mask_head import build_roi_mask_head
from .keypoint_head.keypoint_head import build_roi_keypoint_head
class CombinedROIHeads(torch.nn.ModuleDict):
"""
Combine... | {
"pile_set_name": "Github"
} |
#pragma once
#include <iterator> // random_access_iterator_tag
#include <nlohmann/detail/meta/void_t.hpp>
#include <nlohmann/detail/meta/cpp_future.hpp>
namespace nlohmann
{
namespace detail
{
template<typename It, typename = void>
struct iterator_types {};
template<typename It>
struct iterator_types <
It,
... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
// (c) 2005-2008 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz)
//
// script.aculo.us is freely distributable under the terms of an MIT-style license.
// For details, see the script.aculo.us web s... | {
"pile_set_name": "Github"
} |
{
"name": "map-canvas",
"version": "1.0.0",
"description": "基于baidu、google、openlayers、arcgis、高德地图、canvas数据可视化",
"main": "rollup.config.js",
"scripts": {
"mini": "npm run build && uglifyjs build/baidu-map-lineGradient.js -c -m -o build/release/baidu-map-lineGradient.min.js",
"build": "rollup -c",
"... | {
"pile_set_name": "Github"
} |
import {EventEmitter} from 'events';
/**
* Require options for a VM
*/
export interface VMRequire {
/** Array of allowed builtin modules, accepts ["*"] for all (default: none) */
builtin?: string[];
/*
* `host` (default) to require modules in host and proxy them to sandbox. `sandbox` to load, compile and
... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2011 Hartmut Kaiser
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)
====================================... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.