text
stringlengths
2
99.9k
meta
dict
#!/usr/bin/env python # Copyright (c) 2016 "Jonathan Yantis" # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License, version 3, # as published by the Free Software Foundation. # # This program is distributed in the hope that it...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE technique SYSTEM "../../xmlspec.dtd"> <technique id="SVR5"> <short-name>Specifying the default language in the HTTP header</short-name> <applicability> <p>Server-side technologies, including server-side scripting languages and server configuration files for...
{ "pile_set_name": "Github" }
#ifndef SOUND_FIREWIRE_LIB_H_INCLUDED #define SOUND_FIREWIRE_LIB_H_INCLUDED #include <linux/firewire-constants.h> #include <linux/types.h> #include <linux/sched.h> #include <sound/rawmidi.h> struct fw_unit; #define FW_GENERATION_MASK 0x00ff #define FW_FIXED_GENERATION 0x0100 #define FW_QUIET 0x0200 int snd_fw_tran...
{ "pile_set_name": "Github" }
/** * Copyright (C) 2018 MongoDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * * This program is distributed in the hope that it will be u...
{ "pile_set_name": "Github" }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.7.0_181) on Sat Nov 17 00:48:02 UTC 2018 --> <title>PredictCollector</title> <meta name="date" content="2018-11-17"> <link rel="stylesheet" type="t...
{ "pile_set_name": "Github" }
{ "created_at": "2015-02-27T22:28:01.146267", "description": "Toxmail Client", "fork": false, "full_name": "toxmail/toxmail", "language": "Python", "updated_at": "2015-02-27T23:42:03.534493" }
{ "pile_set_name": "Github" }
remote br-sao.pvdata.host 1194 udp nobind dev tun # Options remote-cert-tls server client comp-lzo persist-key persist-tun verb 3 pull-filter ignore "DNS" pull-filter ignore "ping" ping 30 ping-exit 120 # Crypto cipher AES-256-GCM auth SHA256 auth-user-pass /config/openvpn-credentials.txt # Cert <ca> -----BEGIN CERT...
{ "pile_set_name": "Github" }
#include "shotwell-facedetect.hpp" #include <opencv2/imgcodecs.hpp> #define OPENFACE_RECOG_TORCH_NET "openface.nn4.small2.v1.t7" #define RESNET_DETECT_CAFFE_NET "res10_300x300_ssd_iter_140000_fp16.caffemodel" // Detect faces in a photo std::vector<FaceRect> detectFaces(cv::String inputName, cv::String cascadeName, d...
{ "pile_set_name": "Github" }
[article Duplicates 1.5 [quickbook 1.5] [quickbook 1.5] [id thing1] [id thing2] [dirname thing1] [dirname thing2] [last-revision Yesterday] [last-revision Tomorrow] [purpose Test Duplicates] [purpose Another Duplicate] [category Category 1] [category Category 2] [lang en] [lang de] [version 1] [version 2] [authors [Bl...
{ "pile_set_name": "Github" }
#ifndef _CCID_H #define _CCID_H /* * net/dccp/ccid.h * * An implementation of the DCCP protocol * Arnaldo Carvalho de Melo <acme@conectiva.com.br> * * CCID infrastructure * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version ...
{ "pile_set_name": "Github" }
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>executor_binder::second_argument_type</title> <link rel="stylesheet" href="../../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="../../../index.html" ti...
{ "pile_set_name": "Github" }
package ${package}; import org.springframework.stereotype.Repository; import org.springframework.data.jpa.repository.JpaRepository; import ${package_model}.${className}; @Repository public interface ${className}Repository extends JpaRepository<${className}, Integer> { }
{ "pile_set_name": "Github" }
#!/bin/bash -e # # This script rebuilds the generated code for the protocol buffers. # To run this you will need protoc and goprotobuf installed; # see https://github.com/golang/protobuf for instructions. PKG=google.golang.org/appengine function die() { echo 1>&2 $* exit 1 } # Sanity check that the right tools are...
{ "pile_set_name": "Github" }
<FormFields::FieldWrapper @model={{this.model}} @style={{this.style}} @fieldName={{this.fieldName}} @inputId={{this.inputId}} @label={{this.label}} @tooltip={{this.tooltip}} @hint={{this.hint}}> <textarea id={{this.inputId}} class="form-control" placeholder={{this.placeholder}} oninput={{action (mut (get this.model t...
{ "pile_set_name": "Github" }
<ul ng-repeat="section in vm.menuItems | orderObjectBy: 'order'" class="sidenav-menu"> <li ng-class="{collapsed: section.collapsed}"> <h1 ng-if="section.name" ng-click="vm.toggle(section)"> {{section.name}} <i class="material-icons toggle">expand_more</i> </h1> <ul ng...
{ "pile_set_name": "Github" }
#pragma region License (non-CC) // This source code contains the work of the Independent JPEG Group. // Please see accompanying notice in code comments and/or readme file // for the terms of distribution and use regarding this code. #pragma endregion /* * jddctmgr.c * * Copyright (C) 1994-1998, Thomas G. Lane. *...
{ "pile_set_name": "Github" }
--TEST-- Test fopen() for write cp1253 to UTF-8 path --SKIPIF-- <?php include dirname(__FILE__) . DIRECTORY_SEPARATOR . "util.inc"; skip_if_not_win(); if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); skip_if_no_required_exts(); ?> --FILE-- <?php /* #vim: set fileencoding=cp1253 #vim: set encoding=cp1253 */ inc...
{ "pile_set_name": "Github" }
// // CCSTitleValue.h // Cocoa-Charts // // Created by limc on 11-10-26. // Copyright 2011 limc.cn 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:...
{ "pile_set_name": "Github" }
default = { "eu-west-1": "ami-b1cf19c6", }
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="VcsDirectoryMappings"> <mapping directory="$PROJECT_DIR$" vcs="Git" /> </component> </project>
{ "pile_set_name": "Github" }
.. _repository-scm-git: ================ Git Repositories ================ Review Board supports posting and reviewing code on :rbintegration:`Git <git>` repositories. Unlike most types of source code management systems, Git has a *very* limited remote protocol, which isn't capable of some of the requests Review Boa...
{ "pile_set_name": "Github" }
package imported import ( "encoding/json" "github.com/gogo/protobuf/proto" ) type B struct { A } func (b B) Equal(other B) bool { return b.A.Equal(other.A) } func (b B) Size() int { return b.A.Size() } func NewPopulatedB(r randyA) *B { a := NewPopulatedA(r, true) if a == nil { return nil } return &B{*a...
{ "pile_set_name": "Github" }
.class public interface abstract annotation Landroid/support/annotation/Nullable; .super Ljava/lang/Object; .source "Nullable.java" # interfaces .implements Ljava/lang/annotation/Annotation; # annotations .annotation runtime Ljava/lang/annotation/Retention; value = .enum Ljava/lang/annotation/RetentionPolicy;->C...
{ "pile_set_name": "Github" }
// <copyright file="SimpleConsoleMetricsReporter.cs" company="App Metrics Contributors"> // Copyright (c) App Metrics Contributors. All rights reserved. // </copyright> using System; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using App.Metrics; using App.Metrics.Filters;...
{ "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" }
77 77 77 78 73 73 72 77 72 77 64 72 75 77 71 68 52 61 60 50 60 60 55 66 77 75 77 74 77 73 77 76 76 75 73 78 78 77 75 68 76 71 78 75 77 78 77 67 75 75 75 71 76 76 72 76 75 61 75 73 74 76 74 72 75 74 71 67 75 55 65 70 72 76 73 65 76 69 76 77 77 74 76 76 58 77 78 58 60 68 76 74 75 78 75 77 76 58 55 70 75 65 77 59 72 76 75...
{ "pile_set_name": "Github" }
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Partial Class xss_info_networkip Inherits System.Windows.Forms.Form 'Form overrides dispose to clean up the component list. <System.Diagnostics.DebuggerNonUserCode()> _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) ...
{ "pile_set_name": "Github" }
#include "data_store.h" using namespace std; namespace minerva { DataStore::DataStore(function<void*(size_t)> a, function<void(void*)> d) : allocator_(a), deallocator_(d) { } DataStore::~DataStore() { for (auto& i : data_states_) { deallocator_(i.second.ptr); } } float* DataStore::CreateData(uint64_t id, s...
{ "pile_set_name": "Github" }
// // ListTableView.m // CoreModel // // Created by 冯成林 on 15/9/9. // Copyright (c) 2015年 冯成林. All rights reserved. // #import "ListTVC.h" #import "Test2VC.h" #import "Test3VC.h" #import "Test4VC.h" #import "Test5VC.h" #import "Test6VC.h" #import "Test7VC.h" #import "Test8VC.h" #import "Test9VC.h" #import "Test10V...
{ "pile_set_name": "Github" }
/** @file kdtree.c ** @brief KD-tree - Definition ** @author Andrea Vedaldi, David Novotny **/ /* Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson. All rights reserved. This file is part of the VLFeat library and is made available under the terms of the BSD license (see the COPYING file). */ /** <!-- ~~~...
{ "pile_set_name": "Github" }
#!/usr/bin/env node var argv = require('optimist') .string('x', 'y') .argv ; console.dir([ argv.x, argv.y ]); /* Turns off numeric coercion: ./node string.js -x 000123 -y 9876 [ '000123', '9876' ] */
{ "pile_set_name": "Github" }
/** * Copyright (c) 2015 committers of YAKINDU and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * Contr...
{ "pile_set_name": "Github" }
$(function(){ window.prettyPrint && prettyPrint(); }(window.jQuery)); jQuery(document).ready(function($) { //Download Link Highlight if($("body").data("page")==="frontpage"){ $(window).scroll(function(){ var scrolled = $(window).scrollTop(); var downloadLink = $("#top-nav").find(".download") if...
{ "pile_set_name": "Github" }
<?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/YaST2/include/autoinstall/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <install> <bootloader> <write_bootloader config:type="boolean">true</write_bootloader> <activate config:t...
{ "pile_set_name": "Github" }
! pentatetra1.scl ! Penta-tetrachord 20/19 x 19/18 x 18/17 x 17/16 = 5/4. 5/4 x 16/15 = 4/3 9 ! 20/19 10/9 5/4 4/3 3/2 30/19 5/3 15/8 2/1
{ "pile_set_name": "Github" }
DigiRule Solutions's FOSS License Exception Terms and Conditions 1. Definitions. "Derivative Work" means a derivative work, as defined under applicable copyright law, formed entirely from the Program and one or more FOSS Applications. "FOSS Application" means a free and open source software application dist...
{ "pile_set_name": "Github" }
{ "id": "brown-shanty-wall", "name": "Brown Shanty Wall", "games": { "nh": { "orderable": true, "sources": [ "Nook's Cranny" ], "sellPrice": { "currency": "bells", "value": 155 }, "buyPrices": [ { "currency": "bells", "val...
{ "pile_set_name": "Github" }
# SPDX-License-Identifier: GPL-2.0-only subdir-ccflags-y += -I$(src)/..
{ "pile_set_name": "Github" }
set LIGHTHOUSE_LOGGING=1 REM - Close any running instances of IDA call close_IDA.bat REM - Purge old lighthouse log files del /F /Q "C:\Users\user\AppData\Roaming\Hex-Rays\IDA Pro\lighthouse_logs\*" REM - Delete the old plugin bits del /F /Q "C:\Users\user\AppData\Roaming\Hex-Rays\IDA Pro\plugins\*lighthouse_plugin.p...
{ "pile_set_name": "Github" }
var Toast = function(toasts, timeout = 3000){ this.toasts = toasts; this.type = ['error', 'message', 'warning', 'success']; this.timeout = timeout; } Toast.prototype = { _addToast : function(type, text){ var toast; toast = document.createElement('li'); toast.classList.add(type);...
{ "pile_set_name": "Github" }
[9999999 GP] 580f0000 047C26A8 580f1000 00000370 780f0000 00000088 640f0000 00000000 0098967F
{ "pile_set_name": "Github" }
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2016 Alec Jacobson <alecjacobson@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 can // obtain one at htt...
{ "pile_set_name": "Github" }
/* * Copyright (C) 2008 Ilya Yanok, Emcraft Systems * * * 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 Foundation. * */ #include <linux/irq.h> #include <linux/of_platform.h> #include <l...
{ "pile_set_name": "Github" }
#pragma once /* * Copyright 2018-present Facebook, 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 applic...
{ "pile_set_name": "Github" }
/** * A specialized version of `baseAggregator` for arrays. * * @private * @param {Array} [array] The array to iterate over. * @param {Function} setter The function to set `accumulator` values. * @param {Function} iteratee The iteratee to transform keys. * @param {Object} accumulator The initial aggregated objec...
{ "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" }
; An internal global variable that can't be renamed because it has a section target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" @var_with_section = internal global i32 0, section "some_section" ; @reference_gv_with_section() can't be imported define i32 @reference_gv_with_section() { %res = load i32, i32*...
{ "pile_set_name": "Github" }
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>netcoreapp3.1</TargetFramework> </PropertyGroup> <ItemGroup> <PackageReference Include="FluentAssertions" Version="5.9.0" /> <PackageReference Include="Google.Protobuf" Version="3.11.4" /> <PackageReference Include="Grpc.Core.Tes...
{ "pile_set_name": "Github" }
#!/usr/bin/env python3 import sys from testrunner import run def testfunc(child): child.expect_exact("Predicted class: cat") if __name__ == "__main__": sys.exit(run(testfunc))
{ "pile_set_name": "Github" }
#' @param backend ([DataBackend])\cr #' Either a [DataBackend], or any object which is convertible to a [DataBackend] with `as_data_backend()`. #' E.g., a `data.frame()` will be converted to a [DataBackendDataTable].
{ "pile_set_name": "Github" }
# Generated by Yosys 0.5+ 292 (git sha1 6f9a6fd, clang 6.1.0 -fPIC -Os) .model top .inputs oscillator .outputs D1 D2 D3 D4 D5 .names $false .names $true 1 .names $undef .gate SB_LUT4 I0=ticks[0] I1=ticks[1] I2=$false I3=$false O=$0\ticks[25:0][1] .attr src "/usr/local/bin/../share/yosys/ice40/cells_map.v:43" .para...
{ "pile_set_name": "Github" }
// SPDX-License-Identifier: GPL-2.0 /* * UHID Example * * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com> * * The code may be used by anyone for any purpose, * and can serve as a starting point for developing * applications using uhid. */ /* * UHID Example * This example emulates a basic 3 but...
{ "pile_set_name": "Github" }
<!doctype html> <title>CodeMirror: Z80 assembly mode</title> <meta charset="utf-8"/> <link rel=stylesheet href="../../doc/docs.css"> <link rel="stylesheet" href="../../lib/codemirror.css"> <script src="../../lib/codemirror.js"></script> <script src="z80.js"></script> <style type="text/css">.CodeMirror {border-top: 1p...
{ "pile_set_name": "Github" }
import { defaultMutations } from 'vuex-easy-access' function initialState () { return { playerName: 'Satoshi', pokemon: {}, stats: { pokemonCount: 0, freedCount: 0, }, } } export default { // easy firestore config firestorePath: 'pokemonBoxesVEA/Satoshi/pokemon', firestoreRefType...
{ "pile_set_name": "Github" }
" Vim ftplugin file " Language: Reva Forth " Version: 7.1 " Last Change: 2008/01/11 " Maintainer: Ron Aaron <ron@ronware.org> " URL: http://ronware.org/reva/ " Filetypes: *.rf *.frt " NOTE: Forth allows any non-whitespace in a name, so you need to do: " setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,...
{ "pile_set_name": "Github" }
--TEST-- Twig supports the "ends with" operator --TEMPLATE-- {{ 'foo' ends with 'o' ? 'OK' : 'KO' }} {{ not ('foo' ends with 'f') ? 'OK' : 'KO' }} {{ not ('foo' ends with 'foowaytoolong') ? 'OK' : 'KO' }} {{ 'foo' ends with '' ? 'OK' : 'KO' }} {{ '1' ends with true ? 'OK' : 'KO' }} {{ 1 ends with true ? 'OK' : 'KO' }} ...
{ "pile_set_name": "Github" }
# Ch19 全局阴影与图像合成 ## 阴影效果 创建阴影效果需要操作以下4个属性: * `context.shadowColor`:阴影颜色。 * `context.shadowOffsetX`:阴影x轴位移。正值向右,负值向左。 * `context.shadowOffsetY`:阴影y轴位移。正值向下,负值向上。 * `context.shadowBlur`:阴影模糊滤镜。数据越大,扩散程度越大。 这四个属性只要设置了第一个和剩下三个中的任意一个就有阴影效果。不过通常情况下,四个属性都要设置。 例如,创建一个向右下方位移各5px的红色阴影,模糊2px,可以这样写。 ```JavaScript context.sha...
{ "pile_set_name": "Github" }
MULADD LAT PREF NB MU NU KU FFTCH IFTCH NFTCH MFLOP 1 1 0 48 5 7 1 0 2 1 -872.02
{ "pile_set_name": "Github" }
0.9.9.7 -> 0.9.9.8 * "res_" properties removed. Use new resist table to access resistances. (e.g. resist.bullet) * new prototype syntax for resistances -- resist = { resistance = value, ... } * level:explosion and being:apply_damage takes source item as parameter * kills.get and get_type only operate on string IDs...
{ "pile_set_name": "Github" }
IMPORTED_LINK_INTERFACE_MULTIPLICITY_<CONFIG> --------------------------------------------- <CONFIG>-specific version of IMPORTED_LINK_INTERFACE_MULTIPLICITY. If set, this property completely overrides the generic property for the named configuration.
{ "pile_set_name": "Github" }
# 02、JDBC各个类详解 1. DriverManager:驱动管理对象 - 功能: 1. 注册驱动 ``` static void registerDriver(Driver driver):注册与给定的驱动程序 DriverManager ``` 项目中写代码使用: `Class.forName("com.mysql.jdbc.Driver");` ``` 通过查看源码发现:在 com.mysql.jdbc.Driver 类种存在静态代码块 stati...
{ "pile_set_name": "Github" }
/* * This file is part of frosted. * * frosted 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 Foundation. * * * frosted is distributed in the hope that it will be usef...
{ "pile_set_name": "Github" }
require 'sequel' require 'pact_broker/repositories/helpers' require 'pact_broker/webhooks/execution' # Represents the relationship between a webhook and the event and object # that caused it to be triggered. eg a pact publication module PactBroker module Webhooks class TriggeredWebhook < Sequel::Model(:triggere...
{ "pile_set_name": "Github" }
; RUN: llc %s -o - -mtriple=powerpc-apple-darwin8 | FileCheck %s define ppc_fp128 @test1(i64 %X) nounwind readnone { entry: %0 = sitofp i64 %X to ppc_fp128 ret ppc_fp128 %0 } ; CHECK: _test1: ; CHECK: bl L___floatditf$stub ; CHECK: .section __TEXT,__symbol_stub1,symbol_stubs,pure_instructions,16 ; CHECK: L___floa...
{ "pile_set_name": "Github" }
#!/usr/bin/env python # Learn more: https://github.com/kennethreitz/setup.py import os import re import sys from codecs import open from setuptools import setup from setuptools.command.test import test as TestCommand here = os.path.abspath(os.path.dirname(__file__)) class PyTest(TestCommand): user_options = [(...
{ "pile_set_name": "Github" }
// Copyright (c) 2011-present, 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. #include "table/par...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> <device id="retina4_7" orientation...
{ "pile_set_name": "Github" }
{-# LANGUAGE DataKinds #-} -- | Finding files. -- Lifted from Stack. module Path.Find ( findFileUp ) where import Control.Monad.Catch import Control.Monad.IO.Class import Data.List import Path import Path.IO -- | Find the location of a file matching the given predicate. findFileUp :: (MonadIO m, MonadThrow ...
{ "pile_set_name": "Github" }
/* * This file is part of the Jikes RVM project (http://jikesrvm.org). * * This file is licensed to You under the Eclipse Public License (EPL); * You may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.opensource.org/licenses/eclipse-1.0....
{ "pile_set_name": "Github" }
/* English/UK initialisation for the jQuery UI date picker plugin. */ /* Written by Stuart. */ jQuery(function($){ $.datepicker.regional['en-GB'] = { closeText: 'Done', prevText: 'Prev', nextText: 'Next', currentText: 'Today', monthNames: ['January','February','March','April','May','June', 'July','August',...
{ "pile_set_name": "Github" }
iframe.wysiwyg_iframe.o_fullscreen { position: fixed !important; left: 0 !important; right: 0 !important; top: 0 !important; bottom: 0 !important; width: 100% !important; min-height: 100% !important; z-index: 1001 !important; border: 0; } .o_wysiwyg_no_transform { transform: non...
{ "pile_set_name": "Github" }
const _ = require('lodash') const $ = require('jquery') const blobUtil = require('blob-util') const minimatch = require('minimatch') const moment = require('moment') const Promise = require('bluebird') const sinon = require('sinon') const lolex = require('lolex') const $dom = require('./dom') const $errorMessages = re...
{ "pile_set_name": "Github" }
/* * Copyright (C) 2011 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2019 Spotify AB. * * 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,...
{ "pile_set_name": "Github" }
// Copyright 2014 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 !gccgo #include "textflag.h" // // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go // TEXT ·sysvicall6(SB),NOSPLIT,$0...
{ "pile_set_name": "Github" }
/* * Copyright (C) 2013 Glyptodon LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publ...
{ "pile_set_name": "Github" }
/* Copyright (c) 2020 PaddlePaddle 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 agreed...
{ "pile_set_name": "Github" }
#!/usr/bin/python ''' 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"...
{ "pile_set_name": "Github" }
// // Copyright (c) 2016-2017 Kris Jusiak (kris at jusiak dot net) // // 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) // #include <gtest/gtest.h> #include "GUnit/Detail/StringUtils.h" namespace testing { inline...
{ "pile_set_name": "Github" }
# Synchronous File Appender The sync file appender writes log events to a file, the only difference to the normal file appender is that all the writes are synchronous. This can make writing tests easier, or in situations where you need an absolute guarantee that a log message has been written to the file. Making synch...
{ "pile_set_name": "Github" }
ThisBuild / organization := "com.swoop" ThisBuild / version := scala.io.Source.fromFile("VERSION").mkString.stripLineEnd ThisBuild / scalaVersion := "2.12.11" ThisBuild / crossScalaVersions := Seq("2.12.11") ThisBuild / javacOptions ++= Seq("-source", "1.8", "-target", "1.8") val scalaTest = "org.scalatest" %% "scal...
{ "pile_set_name": "Github" }
import itertools import re import os import socket import contextlib import codecs from datetime import timedelta from pyparsing import Forward, Keyword, QuotedString, Word, Literal, Suppress, Regex, Optional, SkipTo, ZeroOrMore, \ Group, lineno, col, TokenConverter, replaceWith, alphanums, alphas8bit, ParseSyntax...
{ "pile_set_name": "Github" }
# func (v Value) Field(i int) Value 参数列表 - i int 字段的索引号 返回值: - Value 指定字段的返回 reflect.Vaue 类型 功能说明: - reflect.ValueOf(interface{}).Field(int) 指定索引号返回struct中字段的 Value 类型。如果出现恐慌(panic),表示该类型不是struct。 代码实例: package main import ( "fmt" "reflect" ) type A struct { A0 int A1 string A2 uint A...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.sohu.cache.dao.InstanceConfigDao"> <sql id="columns"> config_key, config_value, info, update_time, type, status </sql> ...
{ "pile_set_name": "Github" }
// Copyright 2018 yuzu emulator team // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #pragma once #include "common/common_types.h" #include "common/math_util.h" namespace Layout { namespace MinimumSize { constexpr u32 Width = 640; constexpr u32 Height = 360; } // namespace Mi...
{ "pile_set_name": "Github" }
/******************************************************************************* * @license * Copyright (c) 2011, 2012 IBM Corporation and others. * Copyright (c) 2012 VMware, Inc. * All rights reserved. This program and the accompanying materials are made * available under the terms of the Eclipse Public License...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <item><pubDate>Tue, 01 Sep 2009 18:35:53 -0700</pubDate><title><![CDATA[Welcome to website!]]></title><url><![CDATA[index]]></url><meta><![CDATA[website, easy, content management system]]></meta><metad></metad><menu><![CDATA[Home]]></menu><menuOrder><![CDATA[1]]></menuOrder><menu...
{ "pile_set_name": "Github" }
// Copyright (c) 2013 Quanta Research Cambridge, Inc. // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, copy, // modi...
{ "pile_set_name": "Github" }
package controllers; import java.util.Map; import apimodels.Order; import play.mvc.Controller; import play.mvc.Result; import play.mvc.Http; import java.util.List; import java.util.Map; import java.util.ArrayList; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.JsonNode; impo...
{ "pile_set_name": "Github" }
.. _tools: Cataloguing and Metadata Tools ============================== CSW Clients ----------- - `Geoportal CSW Clients <https://github.com/Esri/geoportal-server/wiki/Geoportal-CSW-Clients>`_ - `OWSLib <https://geopython.github.io/OWSLib>`_ - `MetaSearch <https://hub.qgis.org/wiki/quantum-gis/MetaSearch>`_ (`QGIS ...
{ "pile_set_name": "Github" }
ntopng ====== [ntopng][1] is the next generation version of the original ntop, a network traffic probe that monitors network usage. ntopng is based on libpcap and it has been written in a portable way in order to virtually run on every Unix platform, MacOSX and on Windows as well. [nProbe][2] is a software NetFlow v5...
{ "pile_set_name": "Github" }
/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ...
{ "pile_set_name": "Github" }
using System; using System.Collections.Generic; using System.Text; namespace ConvexHull3d.Lib { public class GiftWrap : HullAlgorithm { public GiftWrap(Point3d[] pts) : base(pts) { } int index(Point3d p) { for (int i = 0; i < pts...
{ "pile_set_name": "Github" }
<?php defined('IN_PHPCMS') or exit('No permission resources.'); pc_base::load_app_class('admin', 'admin', 0); class template_bak extends admin { private $db, $style, $dir, $filename, $filepath, $fileid; public function __construct() { parent::__construct(); $this->style = isset($_GET['style']) && trim($_GET['sty...
{ "pile_set_name": "Github" }
stdout of test 'default` in directory 'sql/test` itself: # 18:28:17 > # 18:28:17 > mserver5 "--config=/ufs/niels/scratch/monetdb/Linux-x86_64/etc/monetdb5.conf" --debug=10 --set gdk_nr_threads=4 --set "monet_mod_path=/ufs/niels/scratch/monetdb/Linux-x86_64/lib/MonetDB5:/ufs/niels/scratch/monetdb/Linux-x86_64/lib/...
{ "pile_set_name": "Github" }
# The MIT License # # Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, id:sorokh # # 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" }
Running a concurrent test with the following queries: DELETE FROM t1 REPLACE INTO t1 VALUES (1,'y'),(2,'x') REPLACE INTO t1 VALUES (1,'y'),(2,'y'),(3,'y') #node-1 DROP TABLE IF EXISTS t1; CREATE TABLE t1 (f1 INTEGER PRIMARY KEY AUTO_INCREMENT, f2 CHAR(255)) ENGINE=InnoDB; SET SESSION wsrep_sync_wait = 0; SET SESSION ws...
{ "pile_set_name": "Github" }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "pile_set_name": "Github" }
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import org.junit.ClassRule; import o...
{ "pile_set_name": "Github" }
/* * This code is in the public domain. */ package org.geometerplus.android.fbreader.api; import java.util.List; import java.util.Date; import android.graphics.Bitmap; public interface Api { // information about fbreader String getFBReaderVersion() throws ApiException; // preferences information List<String>...
{ "pile_set_name": "Github" }