text stringlengths 2 99.9k | meta dict |
|---|---|
class B(a: A)
| {
"pile_set_name": "Github"
} |
// Copyright 2009 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 ignore
/*
Input to cgo -godefs. See README.md
*/
// +godefs map struct_in_addr [4]byte /* in_addr */
// +godefs map struct_in6_addr [16]byte /* in6... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... | {
"pile_set_name": "Github"
} |
/*
* General DV muxer/demuxer
* Copyright (c) 2003 Roman Shaposhnik
*
* Many thanks to Dan Dennedy <dan@dennedy.org> for providing wealth
* of DV technical info.
*
* Raw DV format
* Copyright (c) 2002 Fabrice Bellard
*
* 50 Mbps (DVCPRO50) support
* Copyright (c) 2006 Daniel Maas <dmaas@maasdigital.com>
*
... | {
"pile_set_name": "Github"
} |
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA localhost. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS localhost.
@ IN A 127.0.0.1
@ IN AAAA ::1
| {
"pile_set_name": "Github"
} |
<div class='fossil-doc' data-title='mime - Mime'>
<style>
HTML {
background: #FFFFFF;
color: black;
}
BODY {
background: #FFFFFF;
color: black;
}
DIV.doctools {
margin-left: 10%;
margin-right: 10%;
}
DIV.doctools H1,DIV.doctools H2 {
margin-left: -5%;
}
H1, H2, H3, H4 {... | {
"pile_set_name": "Github"
} |
/**
* Created on 13-09-09 18:16
*/
package com.alicp.jetcache;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;
/**
* @author <a href="mailto:areyouok@gmail.com">huangli</a>
*/
public class CacheGetResult<V> extends CacheResult {
private V value;
private CacheVa... | {
"pile_set_name": "Github"
} |
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*-----... | {
"pile_set_name": "Github"
} |
e1c11bface333fb29b8c4de776084582748494e355dffdc8bebe6322be58371d2ae39042781a579bea5ecf84a30431c6f98b6c9fd6eca47d338d2fae0a37bac2
| {
"pile_set_name": "Github"
} |
package testapp.model;
import java.util.List;
public class Bar {
private String id;
private int n;
private List<Foo> fooList;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public int getN() {
return n;
}
public ... | {
"pile_set_name": "Github"
} |
# ansi-regex [](https://travis-ci.org/sindresorhus/ansi-regex)
> Regular expression for matching [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)
## Install
```sh
$ npm install --save ansi-regex
```
## Usage
```js
v... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2017, the gRPC project authors. Please see the AUTHORS file
// for details. 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.apac... | {
"pile_set_name": "Github"
} |
### 4.2.3. Specifying Program Options
为MySQL指定选项有好几种方式
* 在命令行上紧跟着程序号列出选项,这种做法对于应用于一次特定调用的程序选项是很常见的。
* 在选项文件中列出选项,当程序启动时会读取这些选项。这种做法对于你想每次调用程序都使用这些选项时是很常见的。
* 在环境变量中列出选项,(参考[Section 4.2.4, “Setting Environment Variables”][04.02.04]).当你运行程序时都想应用这些选项时非常有用。在实际中选项文件更多的被用来达到这种目的。但是[Section 5.6.3, “Running Multiple MySQL... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "add_friend_myQR@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
} | {
"pile_set_name": "Github"
} |
{
"translatorID": "3ddda662-ec86-448a-9979-9ee1e567c848",
"label": "Japanese Diet Laws",
"creator": "Frank Bennett",
"target": "http://www.shugiin.go.jp/internet/itdb_housei.nsf/html/(houritsu|housei)/[0-9]+\\.htm",
"minVersion": "3.0",
"maxVersion": "",
"priority": 100,
"inRepository": true,
"translatorType":... | {
"pile_set_name": "Github"
} |
var assert = require('assert');
var SandboxedModule = require('../..');
var locals = SandboxedModule.load('../fixture/local', {
locals: { __filename: 'my filename' }
}).exports;
assert.strictEqual(locals.__filename, 'my filename');
| {
"pile_set_name": "Github"
} |
{
"type": "bundle",
"id": "bundle--4457a102-f307-4443-a31d-5062e30a6701",
"spec_version": "2.0",
"objects": [
{
"type": "course-of-action",
"id": "course-of-action--0257f904-bcb7-445e-9ef7-f9d294e49f67",
"created_by_ref": "identity--e50ab59c-5c4f-4d40-bf6a-d58... | {
"pile_set_name": "Github"
} |
<?php
use my\space\AnotherClass; // Noncompliant {{Move the use declarations after the namespace declarations.}}
//^^^
use my\space\MyClass; // Noncompliant {{Add a blank line after this "use" declaration.}}
//^^^
namespace another\bar; // Noncompliant {{Add a blank line after this "namespace another... | {
"pile_set_name": "Github"
} |
import os
import cPickle
from blocks.initialization import IsotropicGaussian, Constant
import data
from model.bidirectional_tgtcls import Model, Stream
with open(os.path.join(data.path, 'arrival-clusters.pkl')) as f: tgtcls = cPickle.load(f)
dim_embeddings = [
('origin_call', data.origin_call_train_size, 10),
... | {
"pile_set_name": "Github"
} |
#! FIELDS time parameter cav cavnum
0.000000 0 0.0000 0.0000
0.000000 1 0.0000 0.0000
0.000000 2 -0.0000 -0.0000
0.000000 3 0.0000 0.0000
0.000000 4 0.0000 0.0000
0.000000 5 -0.0000 -0.0000
0.000000 6 0.0000 0.0000
0.000000 7 0.0000 0.0000
0.000000 8 -0.0000 -0.0000
0.000000 9 -... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="5dp"/>
</shape>
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2013 The Chromium Authors. All rights reserved.
* Copyright (C) 2013 Apple 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:
*
* * Redistributions of source code ... | {
"pile_set_name": "Github"
} |
var $path = require("path");
module.exports = {
mode: "production",
devtool: "source-map",
entry: {
index: ["core-js/stable", "./index.js"]
},
output: {
path: $path.join(__dirname, "dist"),
publicPath: "dist/",
filename: "[name].js",
chunkFilename: "[name].js"
},
module: {
rul... | {
"pile_set_name": "Github"
} |
3-Hour Docker Workshop Training Prep
====================================
If you are in a classroom environment, you will be given two machines listed as `studentXYZa` and `studentXYZb` where `XYZ` is a number.
If you are doing this workshop on your own, you will need to deploy the hosts on your own. Download `rexcon... | {
"pile_set_name": "Github"
} |
'use strict';
const toposort = require('toposort');
const _ = require('lodash');
/**
Sorts dependencies between chunks by their "parents" attribute.
This function sorts chunks based on their dependencies with each other.
The parent relation between chunks as generated by Webpack for each chunk
is used to def... | {
"pile_set_name": "Github"
} |
# -*-perl-*- hey - emacs - this is a perl file
# src/tools/msvc/vcregress.pl
use strict;
our $config;
use Cwd;
use File::Basename;
use File::Copy;
use File::Find ();
use Install qw(Install);
my $startdir = getcwd();
chdir "../../.." if (-d "../../../src/tools/msvc");
my $topdir = getcwd();
my $tmp_insta... | {
"pile_set_name": "Github"
} |
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests.
config.cache_classes = true
# Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web serve... | {
"pile_set_name": "Github"
} |
# DeepDreamVideo
Implementing **#deepdream** on video
**Creative Request**
It would be very helpful for other deepdream researchers, if you could **include the used parameters in the description of your youtube videos**. You can find the parameters in the image filenames.
Included experiment: Deep Dreaming Fear & Lo... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" unique-identifier="uid"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<metadata>
<dc:title>Title</dc:title>
<dc:language>en</dc:language>
<dc:identifier id="uid">NOID</dc:identifier>
... | {
"pile_set_name": "Github"
} |
//
// CallToObjectEqualsViaBaseTests.cs
//
// Author:
// Simon Lindgren <simon.n.lindgren@gmail.com>
//
// Copyright (c) 2012 Simon Lindgren
//
// 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... | {
"pile_set_name": "Github"
} |
package com.bird.web.file.upload;
import com.bird.web.file.upload.validator.ValidateResult;
import org.springframework.web.multipart.MultipartFile;
/**
* 定义抽象的文件上传监听器基类
* @author liuxx
* @date 2018/5/2
*/
public class AbstractUploadListener implements IUploadListener {
@Override
public void beforeValidate... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/... | {
"pile_set_name": "Github"
} |
---
title: Magento_CatalogRuleStaging
source_repo: magento2ee
release: 2.4.0
github_path: app/code/Magento/CatalogRuleStaging/README.md
last_modified_at: '2016-08-03 10:46:30 +0300'
content: |-
## Magento_CatalogRuleStaging module
## Overview
The Magento_CatalogRuleStaging module is a part of the staging functi... | {
"pile_set_name": "Github"
} |
import { PolygonLayer } from '@deck.gl/layers';
import { point, polygon } from '@turf/helpers';
import turfBbox from '@turf/bbox';
import turfBboxPolygon from '@turf/bbox-polygon';
import turfBuffer from '@turf/buffer';
import turfDifference from '@turf/difference';
import turfDistance from '@turf/distance';
const POL... | {
"pile_set_name": "Github"
} |
//
// detail/win_iocp_wait_op.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef ASIO_... | {
"pile_set_name": "Github"
} |
const fs = require('fs')
const qcloud = require('wafer-node-sdk')
// 获取基础配置
const configs = require('./config')
// 获取 sdk.config
const sdkConfig = (() => {
const sdkConfigPath = '/data/release/sdk.config.json'
// 检查文件是否存在
try {
const stats = fs.statSync(sdkConfigPath)
if (!stats.isFile()... | {
"pile_set_name": "Github"
} |
/**
* Localization strings for the UI Multiselect widget
*
* @locale de, de-DE, de-AT, de-CH
*/
$.extend($.ui.multiselect.locale, {
addAll:'Alle hinzufügen',
removeAll:'Alle entfernen',
itemsCount:'Einträge ausgewählt'
});
| {
"pile_set_name": "Github"
} |
#!/usr/bin/env bats
# This tests contacting a registry using a token server
load helpers
user="testuser"
password="testpassword"
email="a@nowhere.com"
base="hello-world"
@test "Test token server login" {
run docker_t login -u $user -p $password -e $email localregistry:5554
echo $output
[ "$status" -eq 0 ]
# Fi... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is availabl... | {
"pile_set_name": "Github"
} |
////////////////////////////////////////////////////////////////////////////
//
// Copyright 2017 Kishikawa Katsumi.
//
// 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.apach... | {
"pile_set_name": "Github"
} |
# Journal entries

A journal entry is created for every day. It collects the day's tasks, memos and any other content which you don't want to have in separate notes. I use it personally mostly for time tracking.
| {
"pile_set_name": "Github"
} |
shader vertex = $CORANGE/shaders/deferred/clear.vs
shader frag = $CORANGE/shaders/deferred/clear.fs
| {
"pile_set_name": "Github"
} |
:: After Pulling, Patching, and making sure the version number is changed in src, this bat will compile and create zips for all release.
:: It will also create a zip for ExampleMod
@ECHO off
:: Compile/Build exe
echo "Building Release"
set tModLoaderVersion=v0.11.7.6 Beta 2
call buildRelease.bat
set destinationFolde... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<title>The page you were looking for doesn't exist (404)</title>
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
... | {
"pile_set_name": "Github"
} |
TRUNCATE function_results;
DROP TABLE function_results
| {
"pile_set_name": "Github"
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Buffers.Text
{
public static partial class Utf16Parser
{
unsafe static bool TryPar... | {
"pile_set_name": "Github"
} |
{
"type": "object",
"$schema": "http://json-schema.org/schema#",
"x-kubernetes-group-version-kind": [
{
"Kind": "Namespace",
"Version": "v1",
"Group": ""
}
],
"description": "Namespace provides a scope for Names. Use of multiple namespaces is optional.",
"properties": {
"... | {
"pile_set_name": "Github"
} |
<?php
/**
* Smarty Method RegisterObject
*
* Smarty::registerObject() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_RegisterObject
{
/**
* Valid for Smarty and template object
*
* @var int
*/
public $objMap = 3;
... | {
"pile_set_name": "Github"
} |
// Copyright 2019 The original author or 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 la... | {
"pile_set_name": "Github"
} |
/* Copyright 2015 Brock Reeve
* 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"
} |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 693374c076b9a... | {
"pile_set_name": "Github"
} |
/* ClipBoard.java
*
* created: Mon Oct 26 1998
*
* This file is part of Artemis
*
* Copyright (C) 1998,1999,2000 Genome Research Limited
*
* 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 Founda... | {
"pile_set_name": "Github"
} |
/* Vietnamese initialisation for the jQuery UI date picker plugin. */
/* Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */
jQuery(function($){
$.datepicker.regional['vi'] = {
closeText: 'Đóng',
prevText: '<Trước',
nextText: 'Tiếp>',
currentText: 'Hôm nay',
monthNames: ['Tháng Một', 'Tháng H... | {
"pile_set_name": "Github"
} |
//===- llvm/Target/TargetSchedule.cpp - Sched Machine Model ---------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | {
"pile_set_name": "Github"
} |
/**
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
* Build: `lodash modularize modern exports="npm" -o ./npm/`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Invest... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
// Use of this file is governed by the BSD 3-clause license that
// can be found in the LICENSE.txt file in the project root.
package antlr
import (
"strconv"
"strings"
)
type TokenSourceCharStreamPair struct {
tokenSource TokenSource
charStream ... | {
"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"
} |
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"><!--
Checkstyle-Configuration: Android Checkstyle
Description: none
-->
<module name="Checker">
<!--<property name="severity" value="warn... | {
"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"
} |
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team
//
// 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 us... | {
"pile_set_name": "Github"
} |
<?php
/**
* @file
* Contains the user from URL argument default plugin.
*/
/**
* Default argument plugin to extract a user via menu_get_object
*/
class views_plugin_argument_default_user extends views_plugin_argument_default {
function option_definition() {
$options = parent::option_definition();
$optio... | {
"pile_set_name": "Github"
} |
// Copyright 2013 Dario Castañé. All rights reserved.
// Copyright 2009 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.
// Based on src/pkg/reflect/deepequal.go from official
// golang's stdlib.
package mergo
import (
"erro... | {
"pile_set_name": "Github"
} |
// Copyright 2014 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.
'use strict';
(function() {
var mojomId = 'mojo/public/mojom/base/file_path.mojom';
if (mojo.internal.isMojomLoaded(mojomId)) {
console.warn('The... | {
"pile_set_name": "Github"
} |
const { $Toast } = require('../../dist/base/index');
Page({
handleText () {
$Toast({
content: '这是文本提示'
});
},
handleSuccess () {
$Toast({
content: '成功的提示',
type: 'success'
});
},
handleWarning () {
$Toast({
cont... | {
"pile_set_name": "Github"
} |
{
"activePlaceCount": 0,
"birth": {
"place": {
"name": "Derby, United Kingdom",
"placeName": "Derby",
"placeType": "inhabited_place"
},
"time": {
"startYear": 1734
}
},
"birthYear": 1734,
"date": "1734\u20131797",
"death": {
"place": {
"name": "Derby,... | {
"pile_set_name": "Github"
} |
/*****************************************************************************
*
* \file
*
* \brief CTRL_ACCESS interface for SD/MMC card.
*
* Copyright (c) 2009-2011 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* Redistribution and use in source and binary forms, with or without... | {
"pile_set_name": "Github"
} |
package lila.api
import org.joda.time.DateTime
import org.joda.time.format.ISODateTimeFormat
import play.api.libs.json.Json
import scala.concurrent.duration._
import scala.util.Try
import lila.hub.actorApi.Announce
object AnnounceStore {
private var current = none[Announce]
def get: Option[Announce] = {
cu... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) Igor Sysoev
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>
#if (NGX_TEST_BUILD_EPOLL)
/* epoll declarations */
#define EPOLLIN 0x001
#define EPOLLPRI 0x002
#define EPOLLOUT 0x004
#define EPOLLRDNORM 0x040
#define EPOLLRDBAND 0x080
#define EPO... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 971f44ba24a74294294daed00507d80e
timeCreated: 1436868016
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/bobomee/Desktop/develop/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# ... | {
"pile_set_name": "Github"
} |
//----------------------------------------
//
// Copyright © ying32. All Rights Reserved.
//
// Licensed under Apache License 2.0
//
//----------------------------------------
// +build windows
package win
type TTokenType uint32
const (
TokenTPad TTokenType = iota + 0
TokenPrimary
TokenImpersonation
)
type TTok... | {
"pile_set_name": "Github"
} |
/*
AntiAir: anti-air related calculations
- variable naming convention:
- fleetObj: instance of KC3Fleet
- shipObj: instance of KC3Ship
- mst: master data of either ship or gear
- pred: predicates, a function that accepts a single parameter and returns a boolean value
- predXXX: predicate combinations. "pre... | {
"pile_set_name": "Github"
} |
# encoding: utf-8
#
# Copyright 2009-2020 Greg Neagle.
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | {
"pile_set_name": "Github"
} |
function out = get_scale_sample(im, pos, base_target_sz, scaleFactors, scale_window, scale_model_sz)
% out = get_scale_sample(im, pos, base_target_sz, scaleFactors, scale_window, scale_model_sz)
%
% Extracts a sample for the scale filter at the current
% location and scale.
nScales = length(scaleFactors);
... | {
"pile_set_name": "Github"
} |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const ModuleDependency = require("./ModuleDependency");
const ModuleDependencyTemplateAsRequireId = require("./ModuleDependencyTemplateAsRequireId");
class AMDRequireItemDependency extends ModuleDe... | {
"pile_set_name": "Github"
} |
<div class="header">
<a href="#" class="nav">List</a>
<h2>Backbone Cellar</h2>
</div>
<div class="content details">
<h1><%= name %></h1>
<span><%= year %></span><br/>
<span><%= grapes %></span><br/>
<span><%= region %></span>, <span><%= country %></span>
<br/><br/>
<p>
<img src="pic... | {
"pile_set_name": "Github"
} |
<?php
declare(strict_types=1);
namespace Sabre\DAV;
/**
* Collection class.
*
* This is a helper class, that should aid in getting collections classes setup.
* Most of its methods are implemented, and throw permission denied exceptions
*
* @copyright Copyright (C) fruux GmbH (https://fruux.com/)
* @author Eve... | {
"pile_set_name": "Github"
} |
.TH std::deque<T,Allocator>::pop_front 3 "2019.08.27" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::deque<T,Allocator>::pop_front \- std::deque<T,Allocator>::pop_front
.SH Synopsis
void pop_front();
Removes the first element of the container. If there are no elements in the
container, the beh... | {
"pile_set_name": "Github"
} |
def diff(f, a, b, n):
x = linspace(a, b, n+1)
y = zeros(len(x))
z = zeros(len(x))
h = (b-a)/float(n)
for i in xrange(len(x)):
y[i] = func(x[i])
for i in xrange(len(x)-1):
z[i] = (y[i+1] - y[i])/h
z[n] = (y[n] - y[n-1])/h
return y, z
from scitools.std import *
f_formula ... | {
"pile_set_name": "Github"
} |
require('../../modules/es7.math.deg-per-rad');
module.exports = Math.PI / 180;
| {
"pile_set_name": "Github"
} |
/**
* \file blowfish.h
*
* \brief Blowfish block cipher
*/
/*
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may ... | {
"pile_set_name": "Github"
} |
/* mbed Microcontroller Library
* Copyright (c) 2006-2012 ARM Limited
*
* 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... | {
"pile_set_name": "Github"
} |
package libtrust
import (
"bytes"
"encoding/json"
"testing"
)
func generateECTestKeys(t *testing.T) []PrivateKey {
p256Key, err := GenerateECP256PrivateKey()
if err != nil {
t.Fatal(err)
}
p384Key, err := GenerateECP384PrivateKey()
if err != nil {
t.Fatal(err)
}
p521Key, err := GenerateECP521PrivateKe... | {
"pile_set_name": "Github"
} |
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package lazyregexp is a thin wrapper over regexp, allowing the use of global
// regexp variables without forcing them to be compiled at init.
package lazyreg... | {
"pile_set_name": "Github"
} |
-- * Metronome IM *
--
-- This file is part of the Metronome XMPP server and is released under the
-- ISC License, please see the LICENSE file in this source package for more
-- information about copyright and licensing.
local ipairs, pairs, tostring = ipairs, pairs, tostring;
local st = require "util.stanza";
local ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies.
*... | {
"pile_set_name": "Github"
} |
/* global Metro, Utils, METRO_WEEK_START */
(function(Metro) {
'use strict';
Date.prototype.getWeek = function (dowOffset) {
var nYear, nday, newYear, day, daynum, weeknum;
dowOffset = !Utils.isValue(dowOffset) ? METRO_WEEK_START : typeof dowOffset === 'number' ? parseInt(dowOffset) : 0;
... | {
"pile_set_name": "Github"
} |
<script language="javascript" type="text/javascript">
/*<![CDATA[*/
if(typeof(console)=='object')
{
console.group("Log aplikacji");
<?php
foreach($data as $index=>$log)
{
$time=date('H:i:s.',$log[3]).(int)(($log[3]-(int)$log[3])*1000);
if($log[1]===CLogger::LEVEL_WARNING)
$func='warn';
else if($log[1]===CLogger::... | {
"pile_set_name": "Github"
} |
'''
Graphics compiler
=================
Before rendering an :class:`~kivy.graphics.instructions.InstructionGroup`, we
compile the group in order to reduce the number of instructions executed
at rendering time.
Reducing the context instructions
---------------------------------
Imagine that you have a scheme like thi... | {
"pile_set_name": "Github"
} |
#include <stdio.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <vector>
#include <chrono>
#include "logger.h"
#include "cmdlineparser.h"
#include "xclbin_helper.h"
#include "opencv2/opencv.hpp"
#include "coefficients.h"
#include "filter2d.h"
using namespace sda;
using ... | {
"pile_set_name": "Github"
} |
{
"notes": "",
"support": {
"Android Browser": "y 4.4",
"Baidu Browser": "y 7.12",
"Blackberry Browser": "n 10",
"Chrome": "y 29",
"Chrome for Android": "y 84",
"Edge": "y 12",
"Firefox": "y 16",
"Firefox for Android": "y 68",
"IE": "a 9",
"IE Mobile": "a 10",
"KaiOS Browser": "y 2.5",
"Opera"... | {
"pile_set_name": "Github"
} |
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /home/homer/programming-environment/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see... | {
"pile_set_name": "Github"
} |
package d.d.meshenger;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.net.Uri;
import android.support.v4.content.LocalBroadcastManager;
import android.support.v4.util.ObjectsCompat;
import android... | {
"pile_set_name": "Github"
} |
package edu.harvard.iq.dataverse.confirmemail;
/**
*
* @author bsilverstein
*/
public class ConfirmEmailInitResponse {
private boolean userFound;
private String confirmUrl;
private ConfirmEmailData confirmEmailData;
public ConfirmEmailInitResponse(boolean userFound) {
this.userFound = user... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
require 'rails_helper'
require "#{Rails.root}/lib/data_cycle/constant_update"
describe ConstantUpdate do
describe 'on initialization' do
before do
create(:course, start: '2015-03-20', end: '2015-03-31', needs_update: true,
flags: { salesforce_id: 'a0f1a9... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using UnityEngine;
namespace DTS_Addon
{
[KSPAddon(KSPAddon.Startup.EveryScene, false)]
public class ConfigTest : MonoBehaviour
{
Vector2 hc;
int h = 0;
Rect window = new Rect(100, 100,... | {
"pile_set_name": "Github"
} |
// CS0012: The type `A1' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
// Line: 13
// Compiler options: -r:CS0012-lib.dll
using System.Threading.Tasks;
class Test
{
public static void Main ()
{
... | {
"pile_set_name": "Github"
} |
import {entity, MultiIndex, t} from '@deepkit/type';
import {ActiveRecord} from '@deepkit/orm';
import {Book} from './book';
import {Tag} from './tag';
@entity.name('book-tag')
@MultiIndex(['book', 'tag'])
export class BookTag extends ActiveRecord {
@t.primary.autoIncrement public id?: number;
constructor(
... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup java 1.0
PortGroup github 1.0
github.setup w3c epubcheck 4.2.2 v
revision 0
categories ... | {
"pile_set_name": "Github"
} |
using System;
using System.Linq;
using Revo.Core.Configuration;
using Revo.Infrastructure.DataAccess.Migrations;
using Revo.Infrastructure.Events.Async;
using Revo.Infrastructure.Jobs.InMemory;
using Revo.Infrastructure.Sagas;
using Revo.Infrastructure.Tenancy;
namespace Revo.Infrastructure
{
public static class ... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.