text stringlengths 10 99.9k | meta dict |
|---|---|
/*
* Copyright (c) 2014, The Linux Foundation. All rights reserved.
* Copyright (C) 2013 Red Hat
* Author: Rob Clark <robdclark@gmail.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software ... | {
"pile_set_name": "Github"
} |
/******************************************************************************
* Copyright 2017 The Apollo 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
... | {
"pile_set_name": "Github"
} |
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
package org.bytedeco.arrow;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.arrow.global.arrow.*;
/** \brief Status outcome objec... | {
"pile_set_name": "Github"
} |
// Copyright 2020 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 w... | {
"pile_set_name": "Github"
} |
using System;
using System.Web.Mvc;
using Glimpse.Mvc.Model;
using Glimpse.Test.Common;
using Xunit;
using Xunit.Extensions;
namespace Glimpse.Test.Mvc.Model
{
public class ViewModelSummaryShould
{
[Theory, AutoMock]
public void SetModelType(ViewDataDictionary viewData, TempDataDictionary temp... | {
"pile_set_name": "Github"
} |
class Empty(Exception):
"""Exception for requesting data from an empty collection"""
pass
| {
"pile_set_name": "Github"
} |
/*
* \brief Protective MBR partition table definitions
* \author Josef Soentgen
* \date 2018-05-03
*/
/*
* Copyright (C) 2018 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU Affero General Public License version 3.
*/
#ifndef _PMBR_H_
#d... | {
"pile_set_name": "Github"
} |
-- Copyright 2020 Stanford University
--
-- 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 agree... | {
"pile_set_name": "Github"
} |
/*
Copyright 2016 The Kubernetes 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 or agreed to in writing, ... | {
"pile_set_name": "Github"
} |
//===-- ARMBuildAttributes.h - ARM Build Attributes -------------*- 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"
} |
package org.dcache.services.info.gathers;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Required;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import dmg.cells.nucleus.CellLifeCycleAware;
import dmg.cell... | {
"pile_set_name": "Github"
} |
{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-html-script/^1.0.0/components/context.jsonld",
"@id": "npmd:@comunica/actor-rdf-parse-html-script",
"@type": "Module",
"requireName": "@comunica/actor-rdf-parse-html-script",
"import": [
"files-carphs:components/Ac... | {
"pile_set_name": "Github"
} |
/*
[auto_generated]
boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp
[begin_description]
integrate steps implementation
[end_description]
Copyright 2012-2015 Mario Mulansky
Copyright 2012 Christoph Koke
Copyright 2012 Karsten Ahnert
Distributed under the Boost Software License, Version 1.0.
(See... | {
"pile_set_name": "Github"
} |
using CubeWorld.Tiles;
using CubeWorld.Utils;
using CubeWorld.Serialization;
namespace CubeWorld.Tiles.Rules
{
public class TileRuleConditionNearTypeAmout : TileRuleCondition
{
public int minValue;
public byte tileType;
public TileRuleConditionNearTypeAmout()
{
}
... | {
"pile_set_name": "Github"
} |
#include <stdbool.h>
#include <uv.h>
#include "queue.h"
// client message
#define INPUT '0'
#define RESIZE_TERMINAL '1'
#define JSON_DATA '{'
// server message
#define OUTPUT '0'
#define SET_WINDOW_TITLE '1'
#define SET_PREFERENCES '2'
// url paths
struct endpoints {
char *ws;
char *index;
char *token;
char... | {
"pile_set_name": "Github"
} |
static GtUwordPair gt_radixsort_ulongpair_bin_get(
const GtRadixbuffer *rbuf,
GtUword binnum)
{
return rbuf->values.ulongpairptr[
(binnum << rbuf->log_bufsize) +
(GtUword) rbuf->nextidx[binnum]];
... | {
"pile_set_name": "Github"
} |
/**
* Sinhala translation
* @author CodeLyokoXtEAM <XcodeLyokoTEAM@gmail.com>
* @version 2018-03-26
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['elfinder'], factory);
} else if (typeof exports !== 'undefined') {
module.exports = factory(require('elfinder'));
} else... | {
"pile_set_name": "Github"
} |
/**
* Internal dependencies
*/
import SVGArrow from './images/arrow.svg'
/**
* External dependencies
*/
import { range } from '~stackable/util'
import classnames from 'classnames'
import { i18n } from 'stackable'
/**
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n'
import { applyFilters } from '... | {
"pile_set_name": "Github"
} |
namespace StrumpyShaderEditor
{
public enum TypeEnum {
Float,
Float2,
Float3,
Float4,
Sampler2D,
SamplerCube,
Matrix
}
public static class TypeExtensions{
public static string ShaderString(this TypeEnum typeEnum)
{
switch (typeEnum)
{
case TypeEnum.Float:
return "float";
case T... | {
"pile_set_name": "Github"
} |
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
/* eslint-disable no-proto */
'use strict'
var base64 = require('base64-js')
var ieee754 = require('ieee754')
var isArray = require('isarray')
exports.Buffer = Buff... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2017 Google
*
* 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 w... | {
"pile_set_name": "Github"
} |
package me.saket.dank.utils;
import android.graphics.Point;
import android.text.Spannable;
import android.text.style.ClickableSpan;
import android.view.MotionEvent;
import android.widget.TextView;
import me.saket.bettermovementmethod.BetterLinkMovementMethod;
import me.saket.dank.utils.markdown.markwon.SpoilerRevealC... | {
"pile_set_name": "Github"
} |
// not "use strict" so we can declare global "Promise"
var asap = require('asap');
if (typeof Promise === 'undefined') {
Promise = require('./lib/core.js')
require('./lib/es6-extensions.js')
}
require('./polyfill-done.js');
| {
"pile_set_name": "Github"
} |
/**
@header
Uniform defines the type and data associated with a custom fragment shader, SKShader.
@copyright 2013 Apple, Inc. All rights reserved.
*/
#import <SpriteKit/SpriteKitBase.h>
#import <SpriteKit/SKTexture.h>
#import <GLKit/GLKMath.h>
typedef NS_ENUM(NSInteger, SKUniformType) {
SKUniformTypeNon... | {
"pile_set_name": "Github"
} |
/* Public key algorithm internals
*
* See Documentation/crypto/asymmetric-keys.txt
*
* Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Li... | {
"pile_set_name": "Github"
} |
try {
Object.assign(global, require('../build.config'));
// tslint:disable-next-line
const modules = require('./modules').default;
(async () => {
await modules.createApp(module);
})();
} catch (e) {
if (typeof ErrorUtils !== 'undefined') {
(ErrorUtils as any).reportFatalError(e);
} else {
con... | {
"pile_set_name": "Github"
} |
from conans.errors import ConanException
from conans.util.config_parser import ConfigParser
class ConanFileTextLoader(object):
"""Parse a conanfile.txt file"""
def __init__(self, input_text):
# Prefer composition over inheritance, the __getattr__ was breaking things
self._config_parser = Conf... | {
"pile_set_name": "Github"
} |
//
// HomeRowReminderTests.swift
// DuckDuckGo
//
// Copyright © 2018 DuckDuckGo. 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/l... | {
"pile_set_name": "Github"
} |
@REM ----------------------------------------------------------------------------
@REM Licensed to the Apache Software Foundation (ASF) under one
@REM or more contributor license agreements. See the NOTICE file
@REM distributed with this work for additional information
@REM regarding copyright ownership. The ASF lice... | {
"pile_set_name": "Github"
} |
package com.earth2me.essentials.storage;
import net.ess3.api.IEssentials;
import org.bukkit.Bukkit;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.logging.Level;
public abstract class AbstractDelayedYamlFileWriter implements Runnable {
private final trans... | {
"pile_set_name": "Github"
} |
export * from "./cosmos-hub-mainnet.js"
| {
"pile_set_name": "Github"
} |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchdefinition.processing;
import com.yahoo.document.DataType;
import com.yahoo.document.Field;
import com.yahoo.document.ReferenceDataType;
import com.yahoo.searchdefinition.Docum... | {
"pile_set_name": "Github"
} |
<?php
declare(strict_types=1); // @codeCoverageIgnore
use Evenement\EventEmitterInterface;
use Peridot\Console\Environment;
use Peridot\Reporter\CodeCoverage\AbstractCodeCoverageReporter;
use Peridot\Reporter\CodeCoverageReporters;
use Recoil\Dev\Peridot\Plugin;
use Recoil\ReferenceKernel\ReferenceKernel;
require __... | {
"pile_set_name": "Github"
} |
void test(bool x) {
if (x) {}
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:2:7 %s | FileCheck %s
// CHECK: PREFERRED-TYPE: _Bool
while (x) {}
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:6:10 %s | FileCheck %s
for (; x;) {}
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:9:... | {
"pile_set_name": "Github"
} |
interface I {}
@:cs.using("System")
class Main2 {
public static function main():Void {
trace('ko');
}
}
| {
"pile_set_name": "Github"
} |
#include <unittest/runtime_static_assert.h>
#include <unittest/unittest.h>
#include <thrust/generate.h>
template<typename T>
struct dependent_false
{
enum { value = false };
};
template<typename T>
struct static_assertion
{
__host__ __device__
int operator()() const
{
THRUST_STATIC_ASSERT(depe... | {
"pile_set_name": "Github"
} |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DependencyTestProto.proto
package io.confluent.kafka.serializers.protobuf.test;
public final class DependencyTestProto {
private DependencyTestProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite... | {
"pile_set_name": "Github"
} |
//
// YYSentinel.m
// YYKit <https://github.com/ibireme/YYKit>
//
// Created by ibireme on 15/4/13.
// Copyright (c) 2015 ibireme.
//
// This source code is licensed under the MIT-style license found in the
// LICENSE file in the root directory of this source tree.
//
#import "YYSentinel.h"
#import <libkern/OSAt... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2017 The Android Open Source Project
*
* 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 app... | {
"pile_set_name": "Github"
} |
/*
A fairly versatile primitive capable of representing circles, fans, hoops, and arcs.
Contains a great sin/cos trick learned from Iñigo Quílez's site
http://www.iquilezles.org/www/articles/sincos/sincos.htm
*/
package starling.display.graphics
{
import flash.geom.Matrix;
import flash.geom.Point;
... | {
"pile_set_name": "Github"
} |
package jetbrains.mps.lang.plugin.standalone.editor;
/*Generated by MPS */
import jetbrains.mps.editor.runtime.descriptor.AbstractEditorBuilder;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.openapi.editor.EditorContext;
import jetbrains.mps.openapi.edito... | {
"pile_set_name": "Github"
} |
package de.vogella.rcp.commands.enable;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
public class Activator extends AbstractUIPlugin {
// The plug-i... | {
"pile_set_name": "Github"
} |
- name: network.interface.name
overwrite: true
type: keyword
default_field: false
description: >
Name of the network interface where the traffic has been observed.
- name: rsa
overwrite: true
type: group
default_field: false
fields:
- name: internal
overwrite: true
type: group
fields:
... | {
"pile_set_name": "Github"
} |
{
"config": {
"abort": {
"already_setup": "\u50c5\u80fd\u8a2d\u5b9a\u4e00\u7d44 Heos \u9023\u7dda\uff0c\u5c07\u652f\u63f4\u7db2\u8def\u4e2d\u6240\u6709\u5c0d\u61c9\u8a2d\u5099\u3002"
},
"error": {
"connection_failure": "\u7121\u6cd5\u9023\u7dda\u81f3\u6307\u5b9a\u4e3b... | {
"pile_set_name": "Github"
} |
/* How to Hook with Logos
Hooks are written with syntax similar to that of an Objective-C @implementation.
You don't need to #include <substrate.h>, it will be done automatically, as will
the generation of a class list and an automatic constructor.
%hook ClassName
// Hooking a class method
+ (id)sharedInstance {
ret... | {
"pile_set_name": "Github"
} |
using System;
using System.ComponentModel;
using WinForms = System.Windows.Forms;
namespace StarryEyes.Nightmare.Windows
{
public static class SystemInformation
{
public static string ComputerName
{
get { return WinForms.SystemInformation.ComputerName; }
}
public s... | {
"pile_set_name": "Github"
} |
load(
"//lingvo:lingvo.bzl",
"lingvo_py_binary",
)
package(
default_visibility = ["//visibility:public"],
)
licenses(["notice"])
exports_files(["LICENSE"])
config_setting(
name = "cuda",
values = {"define": "using_cuda=true"},
)
py_library(
name = "base_runner",
srcs = ["base_runner.py"... | {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If ... | {
"pile_set_name": "Github"
} |
package com.jojoldu.blogcode.springbootjpa.querydsl.store;
import com.jojoldu.blogcode.springbootjpa.domain.QStore;
import com.jojoldu.blogcode.springbootjpa.domain.Store;
import com.querydsl.jpa.impl.JPAQueryFactory;
import lombok.RequiredArgsConstructor;
import java.util.List;
import static com.jojoldu.blogcode.sp... | {
"pile_set_name": "Github"
} |
// Copyright 2012 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 bn256
// For details of the algorithms used, see "Multiplication and Squaring on
// Pairing-Friendly Fields, Devegili et al.
// http://eprint.iacr.org/... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2014 Netflix, 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... | {
"pile_set_name": "Github"
} |
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
package Ice;
/**
* Instantiates user exceptions.
*
* @see InputStream#throwException
**/
public interface UserExceptionFactory
{
/**
* Instantiate a user exception with the given Slice type ID (such as <code>::Module::MyException</code>)
* and ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... | {
"pile_set_name": "Github"
} |
# include "fbcunit.bi"
#if (__FB_BACKEND__ = "gas")
#define DOTEST
#endif
'' for other targets, see va_int_and_ptrs-gcc.bas
#ifdef DOTEST
SUITE( fbc_tests.functions.va_int_and_ptrs )
sub varints cdecl ( byval n as integer, ... )
dim va as any ptr
dim i as integer
va = va_first( )
for i = 1 to n
CU_A... | {
"pile_set_name": "Github"
} |
package peering
// Copyright (c) Microsoft and contributors. 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
//
// Unl... | {
"pile_set_name": "Github"
} |
/*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python3
import unittest
import random
import sys
sys.path.append('../pybingwallpaper')
import config
from config import ConfigParameter
from config import ConfigDatabase
from config import CommandLineArgumentsLoader
from config import DefaultValueLoader
from config import ConfigFileLoader
from config ... | {
"pile_set_name": "Github"
} |
-------- @implements E --------
{
"type": {
"name": "implements-json.E",
"pos": "testdata/src/implements-json/main.go:10:6",
"kind": "interface"
}
}
-------- @implements F --------
{
"type": {
"name": "implements-json.F",
"pos": "testdata/src/implements-json/main.go:12:6",
"kind": "interface"
},
"to": ... | {
"pile_set_name": "Github"
} |
from gunicorn.config import Config
from gunicorn.http.errors import LimitRequestHeaders
request = LimitRequestHeaders
cfg = Config()
cfg.set('limit_request_field_size', 98)
| {
"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>IBClasses</key>
<array>
<dict>
<key>CLASS</key>
<string>SUWindowController</string>
<key>LANGUAGE</key>
<string>ObjC</string>
... | {
"pile_set_name": "Github"
} |
/**
* Module dependencies.
*/
var utils = require('../utils');
/**
* Expose `Route`.
*/
module.exports = Route;
/**
* Initialize `Route` with the given HTTP `method`, `path`,
* and an array of `callbacks` and `options`.
*
* Options:
*
* - `sensitive` enable case-sensitive routes
* - `strict` ... | {
"pile_set_name": "Github"
} |
'use strict';
var $export = require('./_export');
var toObject = require('./_to-object');
var toPrimitive = require('./_to-primitive');
$export($export.P + $export.F * require('./_fails')(function () {
return new Date(NaN).toJSON() !== null
|| Date.prototype.toJSON.call({ toISOString: function () { return 1; } }... | {
"pile_set_name": "Github"
} |
"""Unicode Properties (autogen)."""
from __future__ import unicode_literals
unicode_blocks = {
"basiclatin": "\u0000-\u007f",
"^basiclatin": "\u0080-\U0010ffff",
"latin1supplement": "\u0080-\u00ff",
"^latin1supplement": "\u0000-\u007f\u0100-\U0010ffff",
"latinextendeda": "\u0100-\u017f",
"^lati... | {
"pile_set_name": "Github"
} |
{
"type": "Document",
"raw": "TEXT\r\nTHIS TEXT IS CRLF line break\r\nCRLF!!!!\r\n",
"range": [
0,
46
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 4,
"column": 0
}
},
"childre... | {
"pile_set_name": "Github"
} |
<?php
namespace Drupal\Tests\comment\Kernel\Migrate\d7;
use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface;
use Drupal\Core\Field\FieldConfigInterface;
use Drupal\field\Entity\FieldConfig;
use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
/**
* Tests creation of comment reference fields ... | {
"pile_set_name": "Github"
} |
import Sprite from "./Sprite.js";
import AnimManager from "./AnimManager.js";
class TileSprite extends Sprite {
constructor(texture, w, h) {
super(texture);
this.tileW = w;
this.tileH = h;
this.frame = { x: 0, y: 0 };
this.anims = new AnimManager(this);
}
update(dt) {
this.anims.update(d... | {
"pile_set_name": "Github"
} |
<?php
namespace Oro\Bundle\ShippingBundle\Tests\Unit\Context;
use Oro\Bundle\ShippingBundle\Context\ShippingContextInterface;
/**
* @method \PHPUnit\Framework\MockObject\MockObject createMock(string $originalClassName)
*/
trait ShippingContextMockTrait
{
/**
* @return mixed
*/
private function cr... | {
"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\DICOM;
use JMS\Serializer\Annotation\ExclusionPolicy;
u... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library.
*
* The GNU LIBICONV Library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; eit... | {
"pile_set_name": "Github"
} |
package fse
import (
"errors"
"fmt"
)
const (
tablelogAbsoluteMax = 15
)
// Decompress a block of data.
// You can provide a scratch buffer to avoid allocations.
// If nil is provided a temporary one will be allocated.
// It is possible, but by no way guaranteed that corrupt data will
// return an error.
// It is... | {
"pile_set_name": "Github"
} |
// Licensed to Cloudera, Inc. under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Cloudera, Inc. licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this f... | {
"pile_set_name": "Github"
} |
package com.wzgiceman.rxretrofitlibrary.retrofit_rx;
import android.app.Application;
/**
* 全局app
* Created by WZG on 2016/12/12.
*/
public class RxRetrofitApp {
private static Application application;
private static boolean debug;
public static void init(Application app){
setApplication(app)... | {
"pile_set_name": "Github"
} |
/**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic 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 3 of the License... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2019-2020, somewhere (somewhere0813@gmail.com).
* <p>
* Licensed under the GNU Lesser General Public License 3.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* https://www.gnu.org/licenses/lgpl.html
*... | {
"pile_set_name": "Github"
} |
(function () {
'use strict';
angular
.module('<%= scriptAppName %>.listImage', ['<%= scriptAppName %>.lodash'])
.factory('AlphabetColor', AlphabetColor)
.directive('listImage', listImage);
AlphabetColor.$inject = ['_'];
function AlphabetColor(_) {
var colors = [
'#f9a43e',
'#59a2b... | {
"pile_set_name": "Github"
} |
-- Andreas, 2017-11-12, issue #2803
-- Problem: names of hidden variable patterns
-- can get lost during case splitting.
-- They actually get lost already during lhs type checking,
-- but it is noticed only when printed back to the user
-- during case splitting.
-- {-# OPTIONS -v tc.lhs:40 #-}
record HFun (A B : Se... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __LINUX_FOTG210_H
#define __LINUX_FOTG210_H
#include <linux/usb/ehci-dbgp.h>
/* definitions used for the EHCI driver */
/*
* __hc32 and __hc16 are "Host Controller" types, they may be equivalent to
* __leXX (normally) or __beXX (given FOTG210_BIG_ENDIAN_DESC), dependi... | {
"pile_set_name": "Github"
} |
///////////////////////////////////////////////////////////////////////////////
//
// AutobahnJava - http://crossbar.io/autobahn
//
// Copyright (c) Crossbar.io Technologies GmbH and contributors
//
// Licensed under the MIT License.
// http://www.opensource.org/licenses/mit-license.php
//
/////////////////////... | {
"pile_set_name": "Github"
} |
{
"timeZone": "Europe/Moscow",
"exceptionLogging": "STACKDRIVER",
"runtimeVersion": "V8"
}
| {
"pile_set_name": "Github"
} |
/*
* (C) Copyright 2009-2015
* Marvell Semiconductor <www.marvell.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _CONFIG_MARVELL_PLUG_H
#define _CONFIG_MARVELL_PLUG_H
/*
* High Level Configuration Options (easy to change)
*/
#define CONFIG_KW88F6281 1 /* SOC Name */
#define CONFIG_SKIP_LOWLEVEL_INIT /* ... | {
"pile_set_name": "Github"
} |
import glob
import random
from collections import defaultdict
import torch
from PIL import Image
from torch.utils.data import DataLoader
from torchvision import transforms
from maml.sampler import ClassBalancedSampler
from maml.datasets.metadataset import Task
class AircraftMAMLSplit():
def __init__(self, root,... | {
"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"
} |
// list of exports supported by shoutem can be found here: https://shoutem.github.io/docs/extensions/reference/extension-exports
// Constants `screens`, `actions` and `reducer` are exported via named export
// It is important to use those exact names
import { NotificationsPage, GroupsPage } from './pages';
import { sh... | {
"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"
} |
<?php return array (
'ar' => 'Aarabeere',
'ab' => 'Abkhazian',
'ace' => 'Achinese',
'ach' => 'Acoli',
'ada' => 'Adangme',
'ady' => 'Adyghe',
'aa' => 'Afar',
'afh' => 'Afrihili',
'af' => 'Afrikaans',
'agq' => 'Aghem',
'ain' => 'Ainu',
'ak' => 'Akaan',
'akk' => 'Akkadian',
'bss' => 'Akoose',
... | {
"pile_set_name": "Github"
} |
#ifndef BOOST_SERIALIZATION_BASE_OBJECT_HPP
#define BOOST_SERIALIZATION_BASE_OBJECT_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// base_object.hpp:
// (C) Copyrigh... | {
"pile_set_name": "Github"
} |
/// @ref gtx_std_based_type
/// @file glm/gtx/std_based_type.hpp
///
/// @see core (dependence)
/// @see gtx_extented_min_max (dependence)
///
/// @defgroup gtx_std_based_type GLM_GTX_std_based_type
/// @ingroup gtx
///
/// Include <glm/gtx/std_based_type.hpp> to use the features of this extension.
///
/// Adds vector ... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved.
*/
#include <linux/module.h>
#include <linux/platform_device.h>
#include <soc/tegra/fuse.h>
#include "soctherm.h"
#define NOMINAL_CALIB_FT 105
#define NOMINAL_CALIB_CP 25
#define FUSE_TSENSOR_CALIB... | {
"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) 2007-2008 Steven Watanabe
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LI... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2014 GitHub, Inc. All rights reserved.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/browser/web_dialog_helper.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/file... | {
"pile_set_name": "Github"
} |
// -*- swift -*-
//===----------------------------------------------------------------------===//
// Automatically Generated From validation-test/stdlib/Slice/Inputs/Template.swift.gyb
// Do Not Edit Directly!
//===----------------------------------------------------------------------===//
// RUN: %target-run-simple-... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2016-2018 John Grosh (jagrosh) & Kaidan Gustave (TheMonitorLizard)
*
* 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-... | {
"pile_set_name": "Github"
} |
<?php
namespace Omeka\Api\Adapter;
use Doctrine\ORM\QueryBuilder;
use Omeka\Api\Request;
use Omeka\Entity\EntityInterface;
use Omeka\Stdlib\ErrorStore;
class JobAdapter extends AbstractEntityAdapter
{
protected $sortFields = [
'id' => 'id',
'status' => 'status',
'class' => 'class',
... | {
"pile_set_name": "Github"
} |
/* *********************************************************************** *
* project: org.matsim.*
* *
* *********************************************************************** *
* ... | {
"pile_set_name": "Github"
} |
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem http://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless... | {
"pile_set_name": "Github"
} |
// Copyright 2017 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.
// Flags: --expose-gc --allow-natives-syntax --verify-heap
var o = { f : 0 };
var shouldDeopt = true;
// This tests a scenario where a function has a... | {
"pile_set_name": "Github"
} |
var convert = require('./convert');
module.exports = convert('times', require('../times'));
| {
"pile_set_name": "Github"
} |
// Copyright 2015 CoreOS, 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... | {
"pile_set_name": "Github"
} |
// Boost.Geometry
// Copyright (c) 2017 Adam Wulkiewicz, Lodz, Poland.
// Use, modification and distribution is subject to 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)
#ifndef BOOST_GEOMETRY_UTIL_SELECT_SEQUENCE_ELEMENT
#define... | {
"pile_set_name": "Github"
} |
import * as path from 'path';
import { EOL } from 'os';
import { listFiles } from './../utils';
import type { RuleDefinitions, ConfigRules } from './../types';
import { defaultRules } from '../default-rules';
import { getPluginRuleDefinitions } from './get-plugin-rule-definitions';
export const RULE_SUFFIX = '.rule.js... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.