text stringlengths 2 99.9k | meta dict |
|---|---|
using System;
using System.Linq;
using System.Runtime.Serialization;
// the exceptions are part of the public API, keep them in TechTalk.SpecFlow namespace
namespace TechTalk.SpecFlow
{
[Serializable]
public class MissingStepDefinitionException : SpecFlowException
{
public MissingStepDefinitionExce... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also ... | {
"pile_set_name": "Github"
} |
from urllib import request as http
import json
from flask import current_app, request
from werkzeug.urls import url_encode
from wtforms import ValidationError
from .._compat import to_bytes, to_unicode
RECAPTCHA_VERIFY_SERVER = 'https://www.google.com/recaptcha/api/siteverify'
RECAPTCHA_ERROR_CODES = {
'missing... | {
"pile_set_name": "Github"
} |
<?php
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://hyperf.wiki
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
namespace Hyperf\AsyncQueue\Annotation;
use Hyperf\Di\Annotation\AbstractAnnotati... | {
"pile_set_name": "Github"
} |
cheats = 2
cheat0_desc = "Infinite Lives"
cheat0_code = "Z 8 57718 0 0"
cheat0_enable = false
cheat1_desc = "Infinite Time"
cheat1_code = "Z 8 55051 0 0"
cheat1_enable = false | {
"pile_set_name": "Github"
} |
/**
* @param {*[]} originalArray
* @return {*[]}
*/
export default function fisherYates(originalArray) {
// Clone array from preventing original array from modification (for testing purpose).
const array = originalArray.slice(0);
for (let i = (array.length - 1); i > 0; i -= 1) {
const randomIndex = Math.f... | {
"pile_set_name": "Github"
} |
// (C) Uri Wilensky. https://github.com/NetLogo/NetLogo
package org.nlogo.window
import org.nlogo.api.Editable
import org.nlogo.agent.ConstantSliderConstraint
import org.nlogo.core.{ Horizontal, I18N, Slider => CoreSlider, Vertical }
// This widget works iff the slider has a ConstantSliderConstraint
// object. Sinc... | {
"pile_set_name": "Github"
} |
{
"description": "Document type (sub-documents)",
"bson_type": "0x03",
"test_key": "x",
"valid": [
{
"description": "Empty subdoc",
"canonical_bson": "0D000000037800050000000000",
"canonical_extjson": "{\"x\" : {}}"
},
{
"descriptio... | {
"pile_set_name": "Github"
} |
# os 模块
`cpus`属性返回一个数组,每个成员对应一个 CPU 内核。下面代码可以获取本机的 CPU 内核数目。
```javascript
const { cpus } = require('os');
const numWorkers = cpus().length;
```
| {
"pile_set_name": "Github"
} |
// mksyscall.pl -tags darwin,arm64 syscall_bsd.go syscall_darwin.go syscall_darwin_arm64.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build darwin,arm64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
f... | {
"pile_set_name": "Github"
} |
<?php
namespace Drupal\simpletest\Tests;
class PSR4WebTest extends \DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => 'PSR4 web test',
'description' => 'We want to assert that this PSR-4 test case is being discovered.',
'group' => 'SimpleTest',
);
}
funct... | {
"pile_set_name": "Github"
} |
@ECHO OFF
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set BUILDDIR=_build
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
)
if "%1" == "" goto help
if "%1" == "hel... | {
"pile_set_name": "Github"
} |
module Braintree
class Dispute # :nodoc:
include BaseModule
include Braintree::Util::IdEquality
attr_reader :amount
attr_reader :amount_disputed
attr_reader :amount_won
attr_reader :case_number
attr_reader :created_at
attr_reader :currency_iso_code
attr_reader :date_opened
att... | {
"pile_set_name": "Github"
} |
package edu.stanford.nlp.tagger.io;
import java.util.Iterator;
import java.util.List;
import edu.stanford.nlp.ling.TaggedWord;
public interface TaggedFileReader extends Iterable<List<TaggedWord>>, Iterator<List<TaggedWord>> {
String filename();
}
| {
"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.
# You also need Go and Git installed.
PKG=google.golang.org/cloud/bigtable
UPSTREAM=https://github.com/GoogleCloud... | {
"pile_set_name": "Github"
} |
好奇心原文链接:[2015 年的一款很美的滑雪游戏,现在有了续作_游戏_好奇心日报-徐弢](https://www.qdaily.com/articles/50462.html)
WebArchive归档链接:[2015 年的一款很美的滑雪游戏,现在有了续作_游戏_好奇心日报-徐弢](http://web.archive.org/web/20190605074607/http://www.qdaily.com/articles/50462.html)
 | {
"pile_set_name": "Github"
} |
#ifndef BOOST_MPL_O1_SIZE_IMPL_HPP_INCLUDED
#define BOOST_MPL_O1_SIZE_IMPL_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.or... | {
"pile_set_name": "Github"
} |
/* PR tree-optimization/56250 */
extern void abort (void);
int
main ()
{
unsigned int x = 2;
unsigned int y = (0U - x / 2) / 2;
if (-1U / x != y)
abort ();
return 0;
}
| {
"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 generate
package windows
//go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go eventlog.go service.go syscall_windo... | {
"pile_set_name": "Github"
} |
package org.ovirt.engine.ui.uicommonweb.validation;
import org.ovirt.engine.core.common.utils.ValidationUtils;
public class UriHostAddressValidation extends HostAddressValidation {
public UriHostAddressValidation() {
}
UriHostAddressValidation(String message) {
super(message);
}
@Overrid... | {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 -fblocks -g -emit-llvm %s -o - | FileCheck %s
// Ensure that we generate a line table entry for the block cleanup.
// CHECK: define {{.*}} @__main_block_invoke
// CHECK: _NSConcreteStackBlock
// CHECK: = bitcast {{.*}}, !dbg ![[L1:[0-9]+]]
// CHECK-NOT: call {{.*}} @_Block_object_dispose{{.*}}, !dbg... | {
"pile_set_name": "Github"
} |
@CO xx has been encoded using the SAM spec; leftmost to rightmost
@CO yy has been encoded using bwa/picard methods; 5' to 3'
@CO
@CO 00000000011111111112
@CO 12345678901234567890
@CO AAAAAAAAAATTTTTTTTTT
@CO 1>>>> <<<<2 x1
@CO
@CO 1>>>> x2
@CO <<<<2
@CO
@CO 1>>>> x... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace STUN.Message.Attributes
{
/// <summary>
/// https://tools.ietf.org/html/rfc5389#section-15.6
/// </summary>
public class ErrorCodeAttribute : IAttribute
{
public IEnumerable<byte> Bytes
... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright 2018 gRPC 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 agree... | {
"pile_set_name": "Github"
} |
tarball=modular_decomposition-VERSION.tar.bz2
sha1=b0ce6d839d1cd2e93d806e70b13bc40bcdbaf9e9
md5=9bc5245c5fab9df4f45c8e10c27cf3b8
cksum=2034006428
| {
"pile_set_name": "Github"
} |
{
"_from": "source-map@~0.6.0",
"_id": "source-map@0.6.1",
"_inBundle": false,
"_integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"_location": "/clean-css/source-map",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry":... | {
"pile_set_name": "Github"
} |
" vim: ts=4 sw=4 et
function! neomake#makers#ft#pug#EnabledMakers() abort
return ['puglint']
endfunction
function! neomake#makers#ft#pug#puglint() abort
return {
\ 'exe': 'pug-lint',
\ 'args': ['--reporter', 'inline'],
\ 'errorformat': '%f:%l:%c %m'
\ }
endfunction
| {
"pile_set_name": "Github"
} |
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.18.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do n... | {
"pile_set_name": "Github"
} |
static const unsigned char map_iso_8859_7[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x81, 0x00, 0x82, 0x00, 0x83,
0x00, 0x84, 0x00, 0x85, 0x00, 0x86, 0x00, 0x87, 0x00, 0x88, 0x00, 0x89,
0x00, 0x8a, 0x00, 0x8b, 0x00, 0x8c, 0x00, 0x8d, 0x00, 0x8e, 0x00, 0x8f,
0x00, 0x90, 0x00, 0x91, 0x00, 0x92, 0x00, 0x93, 0x00... | {
"pile_set_name": "Github"
} |
/*
* Entagged Audio Tag library
* Copyright (c) 2003-2005 Raphael Slinckx <raphael@slinckx.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of th... | {
"pile_set_name": "Github"
} |
cordova.define("cordova-plugin-device-orientation.CompassHeading", function(require, exports, module) { /*
*
* 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 owne... | {
"pile_set_name": "Github"
} |
---
layout: post
title: "DNE 97 - Demissões"
home-title: "Demissões"
type: "Pauta"
cast: 314191792-devnaestrada-devnaestrada-97-demissoes.mp3
cast-length: "42182116"
cast-time: "00:29:15"
description: "Montanha e Ramon, trocam uma idéia de como foram algumas demissões que eles presenciaram e também algumas que eles mes... | {
"pile_set_name": "Github"
} |
module m1 {
export class C1_public {
private f1() {
}
}
class C2_private {
}
export class C3_public {
constructor (m1_c3_c1: C1_public);
constructor (m1_c3_c2: C2_private); //error
constructor (m1_c3_c1_2: any) {
}
private f1_... | {
"pile_set_name": "Github"
} |
// $Id: CascadedPolygonUnionTest.cpp 3196 2011-02-10 15:51:16Z strk $
//
// Test Suite for geos::operation::geounion::CascadedPolygonUnion class.
// tut
#include <tut.hpp>
// geos
#include <geos/operation/union/CascadedPolygonUnion.h>
#include <geos/geom/GeometryFactory.h>
#include <geos/geom/Geometry.h>
#include <ge... | {
"pile_set_name": "Github"
} |
@startuml
sprite $photoshop [48x48/16] {
499999999999999999999999999999999999999999999994
9FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9
9FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9
9FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9
9FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9
9FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF... | {
"pile_set_name": "Github"
} |
package com.jpeng.demo.ui;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.ListView;
import com.jpeng.demo.R;
import com.jpeng.demo.adapter.TestListAdapter;
import java.util.ArrayList;
import java.util.List;
public class ImageListActivity extends AppCompatActivity {
... | {
"pile_set_name": "Github"
} |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
ld b, 90
call lwaitly_b
ld hl, fe00
ld(hl), 00
ld c, 41
ld b, 03
lbegin_waitm3:
ldff a, (c)
and a, b
cmp a, b
jrnz lbegin_waitm3
ld a, 20
ldff(c), a
xor a, a
ldff(0f), a
ld a, 02
ldff(ff), a
ei
.text@1000
lstatin... | {
"pile_set_name": "Github"
} |
// In production, we register a service worker to serve assets from local cache.
// This lets the app load faster on subsequent visits in production, and gives
// it offline capabilities. However, it also means that developers (and users)
// will only see deployed updates on the "N+1" visit to a page, since previously... | {
"pile_set_name": "Github"
} |
#!/bin/sh -
# $Id$
#
# Build the automatically generated API flag #defines.
msgc="/* DO NOT EDIT: automatically built by dist/s_apiflags. */"
b=/tmp/api_flags_binary
t=/tmp/__db_a
trap 'rm -f $b $t; exit 0' 0
trap 'rm -f $b $t; exit 1' 1 2 3 13 15
cc api_flags.c -o $b || {
echo 's_apiflags: unable to compile api_f... | {
"pile_set_name": "Github"
} |
import "hash"
rule m3e9_29566ba9c8800b32
{
meta:
copyright="Copyright (c) 2014-2017 Support Intelligence Inc, All Rights Reserved."
engine="saphire/1.2.2 divinorum/0.99 icewater/0.3.01"
viz_url="http://icewater.io/en/cluster/query?h64=m3e9.29566ba9c8800b32"
cluster="m3e9.29566ba9c8800b32"
... | {
"pile_set_name": "Github"
} |
/* NOLINT(build/header_guard) */
/* Copyright 2010 Google Inc. All Rights Reserved.
Distributed under MIT license.
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
/* template parameters: FN */
/* A (forgetful) hash table to the data seen by the compressor, to
help create backwa... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
class Twig_Tests_Node_Expression_Unary_NotTest extends Twig_Test_NodeTestCase
{
/**
* @covers Twig_Node_Expre... | {
"pile_set_name": "Github"
} |
/// @ref core
/// @file glm/detail/type_gentype.inl
namespace glm{
namespace detail{
/////////////////////////////////
// Static functions
template<typename vT, uint cT, uint rT, profile pT>
typename base<vT, cT, rT, pT>::size_type base<vT, cT, rT, pT>::col_size()
{
return cT;
}
template<typename vT, uint cT, uint... | {
"pile_set_name": "Github"
} |
FILE(GLOB Eigen_SVD_SRCS "*.h")
INSTALL(FILES
${Eigen_SVD_SRCS}
DESTINATION ${INCLUDE_INSTALL_DIR}/Eigen/src/SVD COMPONENT Devel
)
| {
"pile_set_name": "Github"
} |
<?php
namespace Luminance\Services;
use Luminance\Core\Master;
use Luminance\Core\Service;
use Luminance\Core\Entity;
use Luminance\Errors\InternalError;
use Luminance\Services\DB\LegacyWrapper;
use PhpMyAdmin\SqlParser\Parser;
use PhpMyAdmin\SqlParser\Statements\CreateStatement;
class ORM extends Service {
pro... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2002-2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | {
"pile_set_name": "Github"
} |
<?php
if (isset($_GET['debug'])) {
xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY);
define('START_TIME', microtime(true));
define('START_MEMORY_USAGE', memory_get_usage());
}
/*
*---------------------------------------------------------------
* APPLICATION ENVIRONMENT
*---------------------------... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2004-2006 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file exce... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables':
{
# These file lists are shared with the GN build.
'libangle_common_sources':
[
'common/B... | {
"pile_set_name": "Github"
} |
[
{
"name" : "AvroAttributeValues",
"namespace" : "org.locationtech.geowave.adapter.vector.avro",
"type" : "record",
"fields" : [
{
"name" : "fid",
"type" : "string"
},
{
"name" : "values",
... | {
"pile_set_name": "Github"
} |
//
// VKGLTexture.swift
// VRDemo
//
// Created by huhuan on 2016/12/5.
// Copyright © 2016年 Huanhoo. All rights reserved.
//
import UIKit
class VKGLTexture: NSObject {
var lumaTexture: CVOpenGLESTexture?
var chromaTexture: CVOpenGLESTexture?
var videoTextureCache: CVOpenGLESTextureCache?
... | {
"pile_set_name": "Github"
} |
# Special Makefile rules for English message catalogs with quotation marks.
DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot
.SUFFIXES: .insert-header .po-update-en
en@quot.po-create:
$(MAKE) en@quot.po-update
en@boldquot.po-create:
$(MAKE) en@boldquot.... | {
"pile_set_name": "Github"
} |
#ifndef ALARM_EXTRA_H
#define ALARM_EXTRA_H
enum class Volume { Normal, Loud, LoudPlusPlus };
void setAlarm(Time t, Sound s, Duration d, Volume v);
#endif
| {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Editor</title>
<style type="text/css" media="screen">
body {
overflow: hidden;
}
#editor {
margin: 0;
position: absolute;
top: 0;
... | {
"pile_set_name": "Github"
} |
// SAFE
#include <stdlib.h>
extern void __ikos_assert(int);
extern int __ikos_nondet_int(void);
struct foo {
int* p;
int* q;
};
int main() {
struct foo* x = (struct foo*)malloc(sizeof(struct foo));
if (!x)
return 0;
x->p = (int*)malloc(sizeof(int));
x->q = (int*)malloc(sizeof(int));
if (!(x->p) |... | {
"pile_set_name": "Github"
} |
---
title: "Elements"
date: 2018-12-29T11:02:05+06:00
lastmod: 2020-01-05T10:42:26+06:00
weight: 3
draft: false
# search related keywords
keywords: [""]
---
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
<hr>
##### Emphasis
Emphasis, aka italics, with *asterisks* or _undersco... | {
"pile_set_name": "Github"
} |
# webpack-sources
Contains multiple classes which represent a `Source`. A `Source` can be asked for source code, size, source map and hash.
## `Source`
Base class for all sources.
### Public methods
All methods should be considered as expensive as they may need to do computations.
#### `source`
```... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright (C) 2016 Advanced Micro Devices, 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, mo... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/
import Editor from '../api/Editor';
import VK from '../api/util/VK';
... | {
"pile_set_name": "Github"
} |
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | {
"pile_set_name": "Github"
} |
module Fog
module Compute
class IBM
class Real
# Returns manifest of image specified by id
#
# ==== Parameters
# 'image_id'<~String>: id of desired image
#
# ==== Returns
# * response<~Excon::Response>:
# * body<~Hash>:
# * 'manif... | {
"pile_set_name": "Github"
} |
import Foundation
public func delay<T, E>(_ timeout: Double, queue: Queue) -> (_ signal: Signal<T, E>) -> Signal<T, E> {
return { signal in
return Signal<T, E> { subscriber in
let disposable = MetaDisposable()
queue.async {
let timer = Timer(timeout: timeout, repeat:... | {
"pile_set_name": "Github"
} |
# Implementation of the UCSC genome binning strategy -- heavily commented and
# with tests to help understand what's going on.
#
# Ryan Dale 2013
#
# With help from implementations in kent src and Brent Pedersen's cruzdb,
# specifically:
#
# http://genome-source.cse.ucsc.edu/gitweb/?p=kent.git\
# ... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of Twig.
*
* (c) 2009 Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Loads a template from a string.
*
* This loader should NEVER be used. It only exists for Twig internal p... | {
"pile_set_name": "Github"
} |
describe("Control.Draw", function () {
var map, control, container;
beforeEach(function () {
map = L.map(document.createElement('div'));
control = new L.Control.Draw({});
map.addControl(control);
container = control.getContainer();
});
it("exists", function () {
expect(container.innerHTML).to.be.ok();
... | {
"pile_set_name": "Github"
} |
/*
Language: C#
Author: Jason Diamond <jason@diamond.name>
Category: common
*/
function(hljs) {
var KEYWORDS = {
keyword:
// Normal keywords.
'abstract as base bool break byte case catch char checked const continue decimal ' +
'default delegate do double else enum event explicit extern finally ... | {
"pile_set_name": "Github"
} |
version https://git-lfs.github.com/spec/v1
oid sha256:5b45d8a5762ec3182c501b63ac932e8407c37cab89d1f01e739638eea5e7bf79
size 6290
| {
"pile_set_name": "Github"
} |
#include "a0.h"
vector aaa = vector();
#include "a1.h"
| {
"pile_set_name": "Github"
} |
error[E0405]: cannot find trait `OuterTrait` in this scope
--> $DIR/issue-21221-3.rs:15:6
|
LL | impl OuterTrait for Foo {}
| ^^^^^^^^^^ not found in this scope
|
help: consider importing this trait
|
LL | use issue_21221_3::outer::OuterTrait;
|
error: aborting due to previous error
For more inf... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Plat... | {
"pile_set_name": "Github"
} |
package parser
import (
"errors"
"fmt"
"github.com/hashicorp/hcl/hcl/ast"
hcltoken "github.com/hashicorp/hcl/hcl/token"
"github.com/hashicorp/hcl/json/scanner"
"github.com/hashicorp/hcl/json/token"
)
type Parser struct {
sc *scanner.Scanner
// Last read token
tok token.Token
commaPrev token.Token
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2015 hops.io.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | {
"pile_set_name": "Github"
} |
import { Component, OnInit } from '@angular/core';
import {WalletService} from "../services/wallet.service";
@Component({
selector: 'app-welcome',
templateUrl: './welcome.component.html',
styleUrls: ['./welcome.component.css']
})
export class WelcomeComponent implements OnInit {
donationAccount = `xrb_318syyp... | {
"pile_set_name": "Github"
} |
package top.thinkin.lightd.exception;
import java.util.Arrays;
import java.util.Set;
import java.util.stream.Collectors;
public enum ErrorType {
STROE_ERROR(-1, "STROE_ERROR"),
RETAIN_KEY(0, "RETAIN_KEY"),
DATA_LOCK(1, "DATA_LOCK"),//数据被锁定
REPEATED_KEY(2, "REPEATED_KEY"),//重复的KEY
EMPTY(3, "EMPTY")... | {
"pile_set_name": "Github"
} |
/* Copyright (C) 1991-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the ... | {
"pile_set_name": "Github"
} |
We combine the strengths of Bayesian modeling and synchronous grammar in unsupervised learning of basic translation phrase pairs.
The structured space of a synchronous grammar is a natural fit for phrase pair probability estimation, though the search space can be prohibitively large.
Therefore we explore efficient al... | {
"pile_set_name": "Github"
} |
# vimcmdline: Send lines to interpreter
This plugin sends lines from either [Vim] or [Neovim] to a command line
interpreter (REPL application). There is support for
Clojure, Golang, Haskell, JavaScript, Julia, Jupyter, Kotlin, Lisp, Macaulay2, Matlab,
Prolog, Python, Ruby, Sage, Scala, Shell script, Swift and TypeScri... | {
"pile_set_name": "Github"
} |
// Type definitions for React v0.13.3
// Project: http://facebook.github.io/react/
// Definitions by: Asana <https://asana.com>, AssureSign <http://www.assuresign.com>, Microsoft <https://microsoft.com>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare namespace __React {
//
// React Eleme... | {
"pile_set_name": "Github"
} |
//============================================================================
//
// SSSS tt lll lll
// SS SS tt ll ll
// SS tttttt eeee ll ll aaaa
// SSSS tt ee ee ll ll aa
// SS tt eeeeee ll ll aaaaa -- "An Atari 2600 VCS Emulator"
// SS SS ... | {
"pile_set_name": "Github"
} |
var parse = require('../');
var test = require('tape');
test('short -k=v' , function (t) {
t.plan(1);
var argv = parse([ '-b=123' ]);
t.deepEqual(argv, { b: 123, _: [] });
});
test('multi short -k=v' , function (t) {
t.plan(1);
var argv = parse([ '-a=whatever', '-b=robots' ]);
t.deep... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2017 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2012 Ecma International. All rights reserved.
// Ecma International makes this code available under the terms and conditions set
// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
// "Use Terms"). Any redistribution of this code must retain the above
// copyright and this n... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="10"/>
<General>
<Flags>
<MainUnitHasCreateFormStatements Value="False"/>
<MainUnitHasTitleStatement Value="False"/>
</Flags>
<SessionStorage Value="InProjectDir"/>
<Title Value="third_perso... | {
"pile_set_name": "Github"
} |
////////////////////////////////////////////////////////////////////////////
//
// Copyright 2014 Realm 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/li... | {
"pile_set_name": "Github"
} |
/**
* Copyright 2013-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.
*
* @providesModu... | {
"pile_set_name": "Github"
} |
/*
SOURCE: https://github.com/lightbody/browsermob-proxy/blob/browsermob-proxy-2.0-beta-9/src/main/java/net/lightbody/bmp/proxy/selenium/CertificateCreator.java
ORIGINAL LICENSE:
Apache License
Version 2.0, January 2004
http://www.apac... | {
"pile_set_name": "Github"
} |
/* File : example.c */
#include "example.h"
#include <stdio.h>
void Foo::enum_test(speed s) {
if (s == IMPULSE) {
printf("IMPULSE speed\n");
} else if (s == WARP) {
printf("WARP speed\n");
} else if (s == LUDICROUS) {
printf("LUDICROUS speed\n");
} else {
printf("Unknown speed\n");
}
}
void... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
from sqlalchemy import not_
import time
from globaleaks import __version__
from globaleaks.models import Config, ConfigL10N, EnabledLanguage
from globaleaks.models.properties import *
from globaleaks.models.config_desc import ConfigDescriptor, ConfigFilters, ConfigL10NFilters
from globaleaks.ut... | {
"pile_set_name": "Github"
} |
// @flow
var a = 0;
module.exports = a;
| {
"pile_set_name": "Github"
} |
/*
* Copyright (©) 2016 Jeff Harris <jefftharris@gmail.com>
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php
*/
package net.tjado.... | {
"pile_set_name": "Github"
} |
// Ceres Solver - A fast non-linear least squares minimizer
// Copyright 2010, 2011, 2012 Google Inc. All rights reserved.
// http://code.google.com/p/ceres-solver/
//
// 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"
} |
/* -*- Mode: C; tab-width: 8 -*-*/
/* 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/. */
/*
* This file will contain all routines dealing with creating a
* CMMFCertRe... | {
"pile_set_name": "Github"
} |
Coverity has a static analysis tool (Prevent) which is similar to Klocwork.
They run their tool on the Python source code (SVN head) on a daily basis.
The results are available at:
http://scan.coverity.com/
About 20 people have access to the analysis reports. Other
people can be added by request.
Prevent was ... | {
"pile_set_name": "Github"
} |
---
changelog:
last_modified_at:
tag: []
title: 'Stack update and removal policy '
redirect_from: []
description: ''
---
{% include not_translated_yet.html %}
Stacks on [bitrise.io](https://www.bitrise.io) are generally updated every weekend, but what’s updated depends on the stack. There are stacks where only cert... | {
"pile_set_name": "Github"
} |
/*
* TrackYourTime - cross-platform time tracker
* Copyright (C) 2015-2017 Alexander Basov <basovav@gmail.com>
*
* 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 3 of ... | {
"pile_set_name": "Github"
} |
<h1>experimental.webInspector.panels
API</h1>
<p>The <code>experimental.webInspector.panels</code> API has been renamed to
<a href="experimental.devtools.panels"><code
>chrome.experimental.devtools.panels</code></a>.
The old namepsace is deprecated and will be removed from future versions of
Chrome.
</p>
| {
"pile_set_name": "Github"
} |
--TEST--
mysqli_get_client_version()
--SKIPIF--
<?php require_once('skipif.inc'); ?>
<?php require_once('skipifemb.inc'); ?>
--FILE--
<?php
if (!is_int($info = mysqli_get_client_version()) || ($info < 100))
printf("[001] Expecting int/any_non_empty, got %s/%s\n", gettype($info), $info);
print "done!";
?>
--EXPE... | {
"pile_set_name": "Github"
} |
from base64 import b32encode
from binascii import unhexlify
from random import SystemRandom
from addons.base.models import BaseUserSettings
from django.db import models
from oath import accept_totp
class UserSettings(BaseUserSettings):
totp_secret = models.TextField(null=True, blank=True) # hexadecimal
totp... | {
"pile_set_name": "Github"
} |
OPAL_READ_NVRAM
===============
::
#define OPAL_READ_NVRAM 7
``OPAL_READ_NVRAM`` call requests OPAL to read the data from system NVRAM
memory into a memory buffer. The data at ``offset`` from nvram_image
will be copied to memory ``buffer`` of size ``size``.
Parameters
----------
::
uin... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.