text
stringlengths
2
99.9k
meta
dict
package com.kunfei.bookshelf.widget.modialog; import android.annotation.SuppressLint; import android.content.Context; import android.text.Editable; import android.view.LayoutInflater; import android.view.View; import android.widget.TextView; import com.kunfei.bookshelf.R; import com.kunfei.bookshelf.bean.TxtChapterRu...
{ "pile_set_name": "Github" }
import i18n from 'i18n-js'; import { connectStyle } from 'native-base'; import React, { forwardRef } from 'react'; import { Text } from 'react-native'; const ValidationMessage = ({ children, ...props }) => children ? <Text {...props}>{i18n.t(children)}</Text> : null; const styles = { fontSize: 12, marginHorizon...
{ "pile_set_name": "Github" }
import pMap from 'p-map'; import differenceInMinutes from 'date-fns/difference_in_minutes'; import _debug from 'debug'; import JavLib from './videoLib/JavLibrary'; import database from './database'; import { YouAV, MyAVSuper, Avgle, JavMost, Avsee, JavForMe, Jav777, } from './AV'; import updateInfos from...
{ "pile_set_name": "Github" }
############################################################################## # Build global options # NOTE: Can be overridden externally. # # Compiler options here. ifeq ($(USE_OPT),) USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16 endif # C specific options here (added to USE_OPT). ifeq ...
{ "pile_set_name": "Github" }
package crazypants.enderio.machines.machine.niard; import javax.annotation.Nonnull; import crazypants.enderio.base.EnderIO; import io.netty.buffer.ByteBuf; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import net.minecraftforge.fluids.FluidStack; i...
{ "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" }
by("Stef") module modules.optional "1" { }
{ "pile_set_name": "Github" }
goog.provide('jsqrcode.AlignmentPattern'); jsqrcode.FinderPattern = function(posX, posY, estimatedModuleSize) { this.x = posX; this.y = posY; this.count = 1; this.estimatedModuleSize = estimatedModuleSize; }; jsqrcode.FinderPattern.prototype.getEstimatedModuleSize = function () { return this.estimatedModul...
{ "pile_set_name": "Github" }
// Go support for Protocol Buffers - Google's data interchange format // // Copyright 2010 The Go Authors. All rights reserved. // https://github.com/golang/protobuf // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met...
{ "pile_set_name": "Github" }
/cannot/ /function/ { f = $8 } /file/ { f = $8 } /lines/ { k = match ($1, "%") ; p = substr ($1, 1, k-1) ; if ((p+0) != 100) { printf "%8s %s\n", p, f } }
{ "pile_set_name": "Github" }
# @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= teachgammon NOMAN= noman CFLAGS+=-DTEACHGAMMON_TEXT -I${.CURDIR}/../common_source SRCS= allow.c board.c check.c data.c fancy.c init.c odds.c one.c save.c \ subs.c table.c teach.c ttext1.c ttext2.c tutor.c GAMESCURSES= .PATH: ${.CURDIR}/../common_source # XXX: mismatches b...
{ "pile_set_name": "Github" }
# # This makefile can be used to build a Win32 application under Cygwin # include ../../../Makefile.in.$(shell uname) PROGNAME=conv_stroke OUTNAME=$(PROGNAME) PLATFORM=win32 CXXFLAGS= $(AGGCXXFLAGS) -I../../../include \ -I/usr/X11R6/include \ -L/usr/X11R6/lib \ -L../../../src \ $(PIXFMT) LIBS = $(AGGLIBS) -lm -lgdi...
{ "pile_set_name": "Github" }
<?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:html='http://www.w3.org/1999/xhtml' xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" exclude-result-prefixes="doc html" version='1.0'> <!-- *******************...
{ "pile_set_name": "Github" }
<?php /** * @package Joomla.Site * @subpackage com_contact * * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Contact Component Route Helper * * @static...
{ "pile_set_name": "Github" }
/* * /MathJax/fonts/HTML-CSS/TeX/png/Fraktur/Bold/Main.js * * Copyright (c) 2010-2013 The MathJax Consortium * * Part of the MathJax library. * See http://www.mathjax.org for details. * * Licensed under the Apache License, Version 2.0; * you may not use this file except in compliance with the License....
{ "pile_set_name": "Github" }
<?php declare(strict_types=1); /** * This file is part of the Yasumi package. * * Copyright (c) 2015 - 2020 AzuyaLabs * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @author Sacha Telgenhof <me@sachatelgenhof.com> */ namespace ...
{ "pile_set_name": "Github" }
#!/bin/sh # Pandora printf "\033]4;0;#000000;1;#ff4242;2;#74af68;3;#ffad29;4;#338f86;5;#9414e6;6;#23d7d7;7;#e2e2e2;8;#3f5648;9;#ff3242;10;#74cd68;11;#ffb929;12;#23d7d7;13;#ff37ff;14;#00ede1;15;#ffffff\007" printf "\033]10;#e1e1e1;#141e43;#43d58e\007" printf "\033]17;#2d37ff\007" printf "\033]19;#82e0ff\007" printf "\03...
{ "pile_set_name": "Github" }
#include "SSACallingConvApplier.h" #include "CallingConvention.h" #include "Architecture.h" #include <assert.h> namespace holodec { bool SSACallingConvApplier::doTransformation (Function* function) { printf ("Apply Calling Convention in Function at Address 0x%" PRIx64 "\n", function->baseaddr); /* CallingConv...
{ "pile_set_name": "Github" }
#!/usr/bin/env python # Copyright (c) 2012 Amazon.com, Inc. or its affiliates. All Rights Reserved # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without ...
{ "pile_set_name": "Github" }
#pragma once #include "maths.h" // fixed size grid with wrapping, supports point queries only template <typename T, int NumBuckets> class HashGrid { public: HashGrid(float cellSize=1.0f) : m_cellSize(cellSize) , m_rcpCellSize(1.0f / cellSize) { memset(m_data, 0, sizeof(m_data)); } ~HashGrid() { C...
{ "pile_set_name": "Github" }
/* crypto/asn1/asn1_mac.h */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and n...
{ "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" }
# # USB peripheral controller drivers # obj-$(CONFIG_USB_GADGET) += udc-core.o obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o obj-$(CONFIG_USB_NET2272) += net2272.o obj-$(CONFIG_USB_NET2280) += net2280.o obj-$(CONFIG_USB_AMD5536UDC) += amd5536udc.o obj-$(CONFIG_USB_PXA25X) += pxa25x_udc.o obj-$(CONFIG_USB_PXA27X) += pxa27x...
{ "pile_set_name": "Github" }
// This is an open source non-commercial project. Dear PVS-Studio, please check // it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com #include "AddNote.hpp" #include <Midi/MidiProcess.hpp> #include <Process/TimeValueSerialization.hpp> #include <score/model/path/PathSerialization.hpp> #includ...
{ "pile_set_name": "Github" }
org.wildfly.extension.microprofile.jwt.smallrye.MicroProfileJWTExtension
{ "pile_set_name": "Github" }
{ "AssemblyIdentity": "Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore, Version=2.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60", "Types": [ { "Name": "Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.AssemblyAttributeGenerator", "Visibility": "Public", "Ki...
{ "pile_set_name": "Github" }
<!ENTITY windowtitle "Downloads toevoegen"> <!ENTITY adddescription.value "Voer de download-URL en (optioneel) de verwijzende pagina in."> <!ENTITY createbatchdescriptor.label "Batchdefinitie maken"> <!ENTITY createbatchdescriptor.tooltip "Een batchdefinitie maken van de huidige tekstselectie"> <!ENTITY desc.batches.va...
{ "pile_set_name": "Github" }
using System.Windows; using System.Windows.Controls; using Telerik.Windows.Controls.Map; namespace ProvidersBingMapProvider { public partial class MainPage : UserControl { public MainPage() { InitializeComponent(); } private void Button_Click_1(object ...
{ "pile_set_name": "Github" }
#region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the ...
{ "pile_set_name": "Github" }
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@include file="/context/mytags.jsp"%> <!DOCTYPE html> <html> <head> <title>自定义布局模板</title> <t:base type="jquery,easyui,tools"></t:base> <SCRIPT type="text/javascript"> function test(data) { $.messager.aler...
{ "pile_set_name": "Github" }
// **************************************************************** // Copyright 2009, Charlie Poole // This is free software licensed under the NUnit license. You may // obtain a copy of the license at http://nunit.org // **************************************************************** using System; namespa...
{ "pile_set_name": "Github" }
{ "Names": { "Africa\/Abidjan": "heure moyenne de Greenwich (Abidjan)", "Africa\/Accra": "heure moyenne de Greenwich (Accra)", "Africa\/Addis_Ababa": "heure normale d’Afrique de l’Est (Addis-Abeba)", "Africa\/Algiers": "heure d’Europe centrale (Alger)", "Africa\/Asmera": "heu...
{ "pile_set_name": "Github" }
# ironpot -s 4 1 ironpot.bmp [0, 0] 1 1 1
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8" ?> <ldml> <identity> <version number="$Revision: 1.54 $"/> <generation date="$Date: 2009/05/05 23:06:39 $"/> <language type="pt"/> <territory type="BR"/> </identity> </ldml>
{ "pile_set_name": "Github" }
# AngelCode Bitmap Font Generator configuration file fileVersion=1 # font settings fontName=Titillium Web fontFile= charSet=0 fontSize=-48 aa=1 scaleH=110 useSmoothing=1 isBold=1 isItalic=0 useUnicode=1 disableBoxChars=1 outputInvalidCharGlyph=0 dontIncludeKerningPairs=0 useHinting=1 renderFromOutline=0 useClearType=0...
{ "pile_set_name": "Github" }
import * as fs from 'fs'; import * as path from 'path'; import { AppAnalyticsConfig, AppCmsConfig, AppComponentsConfig, AppDbConfig, AppNluConfig, AppPlatformConfig, BaseApp, ExtensibleConfig, Handler, Host, I18NextConfig, Log, Logger, LogLevel, Middleware, Project, } from 'jovo-core'; ...
{ "pile_set_name": "Github" }
var baseCallback = require('../internal/baseCallback'), isIterateeCall = require('../internal/isIterateeCall'), isObjectLike = require('../internal/isObjectLike'), matches = require('./matches'); /** * Creates a function that invokes `func` with the `this` binding of `thisArg` * and arguments of the crea...
{ "pile_set_name": "Github" }
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/policy/core/common/schema_registry.h" #include <memory> #include "components/policy/core/common/policy_namespace.h" #include "compo...
{ "pile_set_name": "Github" }
package network // 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" }
html, body { width: 100%; height: 100%; } body { color: #cdcccc; overflow: auto; margin: 0; } #content { width: 400px; min-height: 400px; margin: 0 auto; background-color: #333333; text-align: center; } #hello_message { padding-top: 20px; margin-bottom: 20px; } #file_...
{ "pile_set_name": "Github" }
/* * Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0, which is available at * http://www.eclipse.org/legal/epl-2.0. * * This Source Code may also be made available...
{ "pile_set_name": "Github" }
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
{ "pile_set_name": "Github" }
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
{ "pile_set_name": "Github" }
<?php /************************************************************************************* * falcon.php * --------------------------------- * Author: billykater (billykater+geshi@gmail.com) * Copyright: (c) 2010 billykater (http://falconpl.org/) * Release Version: 1.0.8.10 * Date Started: 2010/06/07 * * Falco...
{ "pile_set_name": "Github" }
// Fountain test script #pragma version(1) #pragma rs_fp_relaxed #pragma rs java_package_name(com.example.android.rs.fountain) #pragma stateFragment(parent) #include "rs_graphics.rsh" static int newPart = 0; rs_mesh partMesh; typedef struct __attribute__((packed, aligned(4))) Point { float2 delta; float2 p...
{ "pile_set_name": "Github" }
/* Copyright© 2000 - 2020 SuperMap Software Co.Ltd. All rights reserved. * This program are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/ import {SuperMap} from '../SuperMap'; import {U...
{ "pile_set_name": "Github" }
<?php namespace Spatie\SchemaOrg\Contracts; interface MedicalEnumerationContract { public function additionalType($additionalType); public function alternateName($alternateName); public function description($description); public function disambiguatingDescription($disambiguatingDescription); p...
{ "pile_set_name": "Github" }
require 'spec_helper' require 'bosh/director/models/variable' module Bosh::Director::Models::Links describe LinkConsumer do let(:deployment) {Bosh::Director::Models::Deployment.create(name: 'my-dep')} describe '#validate' do it 'validates presence of deployment_id' do expect { LinkCo...
{ "pile_set_name": "Github" }
package telemetry import ( "time" metrics "github.com/armon/go-metrics" ) // Common metric key constants const ( MetricKeyBeginBlocker = "begin_blocker" MetricKeyEndBlocker = "end_blocker" MetricLabelNameModule = "module" ) func NewLabel(name, value string) metrics.Label { return metrics.Label{Name: name, V...
{ "pile_set_name": "Github" }
package test type typeForTest [4][4]string
{ "pile_set_name": "Github" }
// SPDX-License-Identifier: GPL-2.0 /* * linux/fs/hfsplus/wrapper.c * * Copyright (C) 2001 * Brad Boyer (flar@allandria.com) * (C) 2003 Ardis Technologies <roman@ardistech.com> * * Handling of HFS wrappers around HFS+ volumes */ #include <linux/fs.h> #include <linux/blkdev.h> #include <linux/cdrom.h> #include...
{ "pile_set_name": "Github" }
fileFormatVersion: 2 guid: 94022b871308e194ca44ae2c0b42db00 MonoImporter: externalObjects: {} serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
{ "pile_set_name": "Github" }
// Copyright (c) 2018 Demerzel Solutions Limited // This file is part of the Nethermind library. // // The Nethermind 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 3 of ...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2012 * MIPS Technologies, Inc., California. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this lis...
{ "pile_set_name": "Github" }
// Copyright 2014 Google Inc. All rights reserved. // Use of this source code is governed by the Apache 2.0 // license that can be found in the LICENSE file. package internal // This file implements a network dialer that limits the number of concurrent connections. // It is only used for API calls. import ( "log" ...
{ "pile_set_name": "Github" }
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common * Development and Distribution License("CDDL") (...
{ "pile_set_name": "Github" }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <?php require_once('_defaultheaders.php'); ?> <title>The Node Beginner Book » A comprehensive Node.js tuto...
{ "pile_set_name": "Github" }
// Copyright 2017 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 darwin dragonfly freebsd linux netbsd openbsd solaris // For Unix, get the pagesize from the runtime. package unix import "syscall" func Getpa...
{ "pile_set_name": "Github" }
layer at (0,0) size 800x600 RenderView at (0,0) size 800x600 layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {P} at (0,0) size 784x36 RenderText {#text} at (0,0) size 172x18 text run at (0,0) width 172: "This is a r...
{ "pile_set_name": "Github" }
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head><title>Hyphenation test</title></head> <!-- check that innermost beats xml:lang vs. lang difference --> <body lang="x-unknown-language"> <div xml:lang="en-us"> <div style="width: 5em; -moz-hyphens: auto; font-family:sans-serif;"> supercalifragilisticexpi...
{ "pile_set_name": "Github" }
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com> // // 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 ca...
{ "pile_set_name": "Github" }
import 'dart:math'; import 'dart:ui' as ui; import 'package:canvas_clock/clock.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; const arrivalDuration = Duration(milliseconds: 920), departureDuration = Duration(milliseconds: 1242), ...
{ "pile_set_name": "Github" }
/* Copyright (c) 2007-2015 Contributors as noted in the AUTHORS file This file is part of libzmq, the ZeroMQ core engine in C++. libzmq is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Found...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <resources> <declare-styleable name="ShadowLayout"> <!-- 1、关于阴影 --> <!--阴影:是否要显示阴影,可能有只想用shape和selector功能,不想要阴影--> <attr name="hl_shadowHidden" format="boolean" /> <!--阴影:阴影颜色--> <attr name="hl_shadowColor" format="color" /> <!-...
{ "pile_set_name": "Github" }
/* * Copyright(c) 2006 - 2007 Atheros Corporation. All rights reserved. * Copyright(c) 2007 - 2008 Chris Snook <csnook@redhat.com> * * Derived from Intel e1000 driver * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * ...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" colorMatched="YES" initialViewControll...
{ "pile_set_name": "Github" }
package terraform import "github.com/hashicorp/terraform-plugin-sdk/internal/dag" // GraphDot returns the dot formatting of a visual representation of // the given Terraform graph. func GraphDot(g *Graph, opts *dag.DotOpts) (string, error) { return string(g.Dot(opts)), nil }
{ "pile_set_name": "Github" }
TK_CONST_DATA_ALIGN(const unsigned char ui_stroke_gradient[]) = { 0x04,0x00,0x01,0x01,0x4e,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x73,0x74,0x72,0x6f,0x6b,0x65,0x5f,0x67, 0x72,0x61,0x64,0x69,0x65,0x6e,0x74,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x12,0x12,0x22,0x11,0x77,0x69,0x...
{ "pile_set_name": "Github" }
#ifdef HAVE_CONFIG_H /* For PARALLEL_MARK */ # include "config.h" #endif #ifndef GC_THREADS # define GC_THREADS #endif #include "gc.h" #ifdef PARALLEL_MARK # define AO_REQUIRE_CAS #endif #include "atomic_ops.h" #include <stdio.h> #ifdef AO_HAVE_fetch_and_add #ifdef GC_PTHREADS # include <pthread.h> #else # incl...
{ "pile_set_name": "Github" }
package main import ( "flag" "fmt" "math/rand" "time" "github.com/Shopify/sarama" ) var ( topic *string = flag.String("topic", "logstream1", "the topic of VDL") broker *string = flag.String("broker", "127.0.0.1:8181", "broker ip:port") messageSize *int = flag.Int("message_size", 500, "The si...
{ "pile_set_name": "Github" }
body.sharks_page_index { $text_color: #282d33; $main_font: "Century Gothic", CenturyGothic, AppleGothic, sans-serif; $header_links_color: #ccc; font-family: $main_font; text-align: center; overflow-y: scroll; color: $text_color; letter-spacing: 1px; background: #000000; background: -moz...
{ "pile_set_name": "Github" }
# https://www.kaggle.com/c/home-depot-product-search-relevance/forums/t/18967/data-preparation COLOR_LIST = [ "white", "black", "brown", "gray", "chrome", "stainless steel", "whites", "red", "browns / tans", "bronze", "silver", "blacks", "beige", "stainless", "blue", "nickel", "metallics", "clear", "grays", "green", "...
{ "pile_set_name": "Github" }
var mr = require('npm-registry-mock') var test = require('tap').test var common = require('../common-tap.js') var server var cache = { '_id': 'cond', '_rev': '19-d458a706de1740662cd7728d7d7ddf07', 'name': 'cond', 'time': { 'modified': '2015-02-13T07:33:58.120Z', 'created': '2014-03-16T20:52:52.236Z',...
{ "pile_set_name": "Github" }
package tarsum // import "github.com/docker/docker/pkg/tarsum" // BuilderContext is an interface extending TarSum by adding the Remove method. // In general there was concern about adding this method to TarSum itself // so instead it is being added just to "BuilderContext" which will then // only be used during the .d...
{ "pile_set_name": "Github" }
true true
{ "pile_set_name": "Github" }
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-pch -o %t.1.ast %S/Inputs/exprs1.c // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-pch -o %t.2.ast %S/Inputs/exprs2.c // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-obj -o /dev/null -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only -verify %s // expect...
{ "pile_set_name": "Github" }
==== ---- QUERY: TPCH-Q5 # Q5 - Local Supplier Volume Query select n_name, sum(l_extendedprice * (1 - l_discount)) as revenue from customer, orders, lineitem, supplier, nation, region where c_custkey = o_custkey and l_orderkey = o_orderkey and l_suppkey = s_suppkey and c_nationkey = s_nationkey ...
{ "pile_set_name": "Github" }
fileFormatVersion: 2 guid: dcebde38c75fc8c44b9bc29f72ae803a timeCreated: 1452127717 licenseType: Store DefaultImporter: userData: assetBundleName: assetBundleVariant:
{ "pile_set_name": "Github" }
%% Copyright (c) 2013-2015, Michael Santos <michael.santos@gmail.com> %% All rights reserved. %% %% Redistribution and use in source and binary forms, with or without %% modification, are permitted provided that the following conditions %% are met: %% %% Redistributions of source code must retain the above copyright %%...
{ "pile_set_name": "Github" }
define([ 'dojo/_base/declare', 'JBrowse/Component' ], function( declare, Component ) { return declare( Component, { constructor: function( args ) { this.name = args.name; this.cssLoaded = args.cssLoaded; this._finalizeConfig( args.config ); }, _de...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <ApplicationInsights xmlns = "http://schemas.microsoft.com/ApplicationInsights/2013/Settings"> </ApplicationInsights>
{ "pile_set_name": "Github" }
// generated by gotemplate package opt import ( "fmt" "github.com/mailru/easyjson/jlexer" "github.com/mailru/easyjson/jwriter" ) // template type Optional(A) // A 'gotemplate'-based type for providing optional semantics without using pointers. type Bool struct { V bool Defined bool } // Creates an opti...
{ "pile_set_name": "Github" }
from functools import wraps import numpy as np import tensorflow as tf from keras import backend as K from keras.layers import Conv2D, Add, ZeroPadding2D, UpSampling2D, Concatenate, MaxPooling2D from keras.layers.advanced_activations import LeakyReLU from keras.layers.normalization import BatchNormalization fr...
{ "pile_set_name": "Github" }
/* ### * IP: GHIDRA * * 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 writin...
{ "pile_set_name": "Github" }
<?php namespace Stripe; class CollectionTest extends TestCase { private function pageableModelResponse($ids, $hasMore) { $data = array(); foreach ($ids as $id) { array_push($data, array( 'id' => $id, 'object' => 'pageablemodel' )); ...
{ "pile_set_name": "Github" }
using System; using System.Runtime.Serialization; using System.Security; using System.Xml.Serialization; using EasyConnect.Common; namespace EasyConnect.Protocols.Rdp { /// <summary> /// Connection class for connecting to Microsoft Remote Desktop (RDP) servers. /// </summary> [Serializable] public cl...
{ "pile_set_name": "Github" }
/** * @file * @author zdying */ 'use strict'; var glob = require('../../helpers/glob'); module.exports = function (ctx, next) { var config = ctx.args; var logger = ctx.log; var hostsPattern = config.hostsFile; var rewritePattern = config.rewriteFile; var dir = this.dir; // TODO 添加对应的option到CLI中 if (...
{ "pile_set_name": "Github" }
/* Copyright 2015 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" }
/* * Copyright (C) Internet Systems Consortium, Inc. ("ISC") * * 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/. * * See the COPYRIGHT file distributed with this wo...
{ "pile_set_name": "Github" }
[ { "model": "hardware.Manufacturer", "pk": 1, "fields": { "name": "Ubiquiti Networks", "url": "http://www.ubnt.com/", "image": "manufacturers/ubiquiti.png" } }, { "model": "hardware.Manufacturer", "pk": 2, "fields":...
{ "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" }
#include <QtScript/QScriptValue> #include <QtScript/QScriptEngine> QScriptValue qtscript_create_QGLFramebufferObjectFormat_class(QScriptEngine *engine); QScriptValue qtscript_create_QGLContext_class(QScriptEngine *engine); QScriptValue qtscript_create_QGLColormap_class(QScriptEngine *engine); QScriptValue qtscript_cre...
{ "pile_set_name": "Github" }
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrmTest { public class Demo6_Queue { public static void Init() { Console.WriteLine(""); Console.WriteLine("#### Queue Start ####...
{ "pile_set_name": "Github" }
import React from 'react'; import { expect } from 'chai'; import SkinDeep from 'skin-deep'; import FormTitle from '../../../src/js/components/FormTitle'; describe('Schemaform <FormTitle>', () => { it('should render', () => { const tree = SkinDeep.shallowRender( <FormTitle title="My title" subTitle="My sub...
{ "pile_set_name": "Github" }
# minimist parse argument options This module is the guts of optimist's argument parser without all the fanciful decoration. [![browser support](https://ci.testling.com/substack/minimist.png)](http://ci.testling.com/substack/minimist) [![build status](https://secure.travis-ci.org/substack/minimist.png)](http://trav...
{ "pile_set_name": "Github" }
--TEST-- Bug #42976 (Crash when constructor for newInstance() or newInstanceArgs() fails) --FILE-- <?php Class C { function __construct(&$x) { $x = "x.changed"; } } $x = "x.original"; new C($x); // OK var_dump($x); $rc = new ReflectionClass('C'); $x = "x.original"; $rc->newInstance($x); // causes crash var_dump(...
{ "pile_set_name": "Github" }
package rpckids.demo; public class ExpResponse { private long value; private long costInNanos; public ExpResponse() { } public ExpResponse(long value, long costInNanos) { this.value = value; this.costInNanos = costInNanos; } public long getValue() { return value; } public void setValue(long value) ...
{ "pile_set_name": "Github" }
# -*- coding: utf-8 -*- """ generator.py is a simple script that creates a sqlite database of Android device models and its corresponding user-friendly names, e.g.: SM-N910W8, Samsung Galaxy Note4. This is part of AndroidDeviceNames library: https://github.com/tslamic/AndroidDeviceNames :copyright: (c) 2017 by Tadej...
{ "pile_set_name": "Github" }
#!/usr/bin/perl -T use lib '.'; use lib 't'; use SATest; sa_t_init("autolearn"); use constant HAS_DB_FILE => eval { require DB_File; }; use Test::More; plan skip_all => 'Need DB_File for this test' unless HAS_DB_FILE; plan tests => 2; # --------------------------------------------------------------------------- %...
{ "pile_set_name": "Github" }
--TEST-- Test gmdate() function : usage variation - Passing predefined constants to format argument. --FILE-- <?php /* Prototype : string gmdate(string format [, long timestamp]) * Description: Format a GMT date/time * Source code: ext/date/php_date.c */ echo "*** Testing gmdate() : usage variation ***\n"; // In...
{ "pile_set_name": "Github" }