text stringlengths 2 99.9k | meta dict |
|---|---|
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright(c) 2015 Intel Corporation. All rights reserved. */
#include <linux/device.h>
#include <linux/io.h>
#include <linux/kasan.h>
#include <linux/memory_hotplug.h>
#include <linux/mm.h>
#include <linux/pfn_t.h>
#include <linux/swap.h>
#include <linux/mmzone.h>
#include <lin... | {
"pile_set_name": "Github"
} |
/*
* Summary: macros for marking symbols as exportable/importable.
* Description: macros for marking symbols as exportable/importable.
*
* Copy: See Copyright for the status of this software.
*
* Author: Igor Zlatkovic <igor@zlatkovic.com>
*/
#ifndef __XSLT_EXPORTS_H__
#define __XSLT_EXPORTS_H__
/**
* XSLTPUB... | {
"pile_set_name": "Github"
} |
## Base configurations.
INCS=-Ilua
DEFS=-DNDEBUG
CFLAGS=-Wall -O2 -fno-plt -fno-stack-protector -flto
LDFLAGS=-s
LIBS=-lm
SRCS=lua/onelua.c rpmalloc/rpmalloc.c lfs.c sys.c hasher.c lpeglabel/*.c
HDRS=lua/*.h lpeglabel/*.h
EXE=nelua-lua
RM=rm -f
PREFIX=/usr/local
## Tune some values for the Lua interpreter
DEFS+=-DLUA_... | {
"pile_set_name": "Github"
} |
package linearmodel
import (
"flag"
"fmt"
"image/color"
"log"
"math"
"os"
"os/exec"
"time"
"github.com/pa-m/sklearn/base"
"github.com/pa-m/sklearn/datasets"
"gonum.org/v1/gonum/diff/fd"
"gonum.org/v1/gonum/mat"
"gonum.org/v1/gonum/optimize"
"gonum.org/v1/plot"
"gonum.org/v1/plot/plotter"
"gonum.org/v1... | {
"pile_set_name": "Github"
} |
// (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard
// Hinnant & John Maddock 2000.
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.lslboost.org/LICENSE_1_0.txt).
//
// See http://www.... | {
"pile_set_name": "Github"
} |
/*!
@file
Forward declares `boost::hana::slice` and `boost::hana::slice_c`.
@copyright Louis Dionne 2013-2016
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_HANA_FWD_SLICE_HPP
#define BOOST_HANA_FWD_... | {
"pile_set_name": "Github"
} |
PREFIX : <http://example.org/>
SELECT ?s ?num WHERE {
?s ?p ?num
FILTER isNumeric(?num)
}
| {
"pile_set_name": "Github"
} |
namespace MarshmallowPie.GraphQL.Schemas
{
public class MarkSchemaPublishedInput
{
public MarkSchemaPublishedInput(
string environmentName,
string schemaName,
string externalId,
string? clientMutationId)
{
EnvironmentName = environmentN... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | {
"pile_set_name": "Github"
} |
/**
* collectd - src/utils_fbhash.c
* Copyright (C) 2009 Florian octo Forster
*
* 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
... | {
"pile_set_name": "Github"
} |
require_relative '../../../spec_helper'
ruby_version_is ''...'2.5' do
require 'mathn'
describe "Integer#prime_division" do
it "performs a prime factorization of a positive integer" do
100.prime_division.should == [[2, 2], [5, 2]]
end
# Proper handling of negative integers has been added to MRI ... | {
"pile_set_name": "Github"
} |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-custom-interpolation-markup-production</title>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.6/angular.min.js"></script>
</head>
<body ng-app="customInterpolationApp">
<script>
var customInterpolati... | {
"pile_set_name": "Github"
} |
var MockDisposable = Rx.MockDisposable = function (scheduler) {
this.scheduler = scheduler;
this.disposes = [];
this.disposes.push(this.scheduler.clock);
};
MockDisposable.prototype.dispose = function () {
this.disposes.push(this.scheduler.clock);
};
| {
"pile_set_name": "Github"
} |
class C
{ cAttr; }
class E {
isA C;
cAttr;
}
| {
"pile_set_name": "Github"
} |
let f (x : < a:int; .. > as 'me1) = (x : < b:bool; .. > as 'me2);;
let f (x : < a:int; .. > as 'me1) = (x : < a:int; b:bool; .. > as 'me2);;
let f (x : [> `A of int] as 'me1) = (x : [> `B of bool] as 'me2);;
let f (x : [> `A of int] as 'me1) = (x : [`A of int | `B of 'me2] as 'me2);;
| {
"pile_set_name": "Github"
} |
<template>
<section class="container">
<div class="leader_said_wrap">
<div class="leader_said_box">
<div class="leader_said_position">
<div class="leader_said_first">
<div class="leader_said_con leader_said_con1">
<di... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env newlisp
;; @module IRC
;; @description a basic irc library
;; @version early alpha! 0.1 2013-01-02 20:11:22
;; @author cormullion
;; Usage:
;; (IRC:init "newlithper") ; a username/nick (not that one obviously :-)
;; (IRC:connect "irc.freenode.net" 6667) ; irc/server
;; (IRC:join-channel {#newlisp}) ; jo... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
<!... | {
"pile_set_name": "Github"
} |
using System;
using System.IO;
using System.Threading.Tasks;
using InstaSharper.API;
using InstaSharper.Classes;
using InstaSharper.Tests.Utils;
namespace InstaSharper.Tests.Classes
{
public class AuthenticatedTestFixture
{
private readonly string _password = Environment.GetEnvironmentVariable("instaa... | {
"pile_set_name": "Github"
} |
#pragma once
#include "scene/node.h"
namespace render {
struct RenderState;
};
namespace scene {
class PlaneNode : public Node {
public:
const render::RenderState* material;
float minRad, maxRad;
PlaneNode(const render::RenderState* material, double size);
virtual bool preRender(render::RenderDriver& driver);... | {
"pile_set_name": "Github"
} |
\name{plot.lpp}
\alias{plot.lpp}
\title{
Plot Point Pattern on Linear Network
}
\description{
Plots a point pattern on a linear network.
Plot method for the class \code{"lpp"} of point patterns on a linear network.
}
\usage{
\method{plot}{lpp}(x, \dots, main, add = FALSE,
use.marks=TRUE, which.... | {
"pile_set_name": "Github"
} |
import Vue from 'vue'
// global event bus used for refreshing codemirror instance
export default new Vue()
| {
"pile_set_name": "Github"
} |
package main
import (
"bytes"
"context"
"io"
"os"
"strings"
"testing"
"github.com/fatih/color"
"github.com/gopasspw/gopass/internal/gptest"
"github.com/gopasspw/gopass/internal/out"
"github.com/gopasspw/gopass/internal/termio"
"github.com/gopasspw/gopass/pkg/ctxutil"
"github.com/gopasspw/gopass/pkg/gopass... | {
"pile_set_name": "Github"
} |
# vim:set ft= ts=4 sw=4 et fdm=marker:
use Test::Nginx::Socket::Lua;
use t::StapThread;
our $GCScript = $t::StapThread::GCScript;
our $StapScript = $t::StapThread::StapScript;
repeat_each(2);
plan tests => repeat_each() * (blocks() * 4);
$ENV{TEST_NGINX_RESOLVER} ||= '8.8.8.8';
$ENV{TEST_NGINX_MEMCACHED_PORT} ||= ... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2015 RIPE NCC
#
# 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 the License, or
# (at your option) any later version.
#
# This program is distributed in the h... | {
"pile_set_name": "Github"
} |
// <auto-generated />
namespace IronJS.Tests.UnitTests.Sputnik.Conformance.LexicalConventions.Literals
{
using System;
using NUnit.Framework;
[TestFixture]
public class NumericLiteralsTests : SputnikTestFixture
{
public NumericLiteralsTests()
: base(@"Conformance\07_Lexical_Conv... | {
"pile_set_name": "Github"
} |
// @flow
import { defineMessages } from 'react-intl';
const messages = defineMessages({
securityControlsLabel: {
defaultMessage: 'Restrictions',
description:
'Label displayed above the security restrictions on the file due to the classification label and associated policies.',
i... | {
"pile_set_name": "Github"
} |
package widget;
import java.awt.Color;
import java.awt.GradientPaint;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.image.BufferedImage;
import javax.swing.BorderFactory;
import javax.swing.JToolBar;
/**
*
* @author usu
*/
public class Toolbar extends JToolB... | {
"pile_set_name": "Github"
} |
C##############################################################################
C
C EGSnrc egs_date subroutine stub
C Copyright (C) 2015 National Research Council Canada
C
C This file is part of EGSnrc.
C
C EGSnrc is free software: you can redistribute it and/or modify it under
C the terms of the GNU Affero Gener... | {
"pile_set_name": "Github"
} |
/*
*
* Derby - Class CharacterStreamsTest
*
* 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 Licen... | {
"pile_set_name": "Github"
} |
<script type="text/javascript">
$(function() {
$('#select_page_id').on('change', function() {
show_field($(this));
});
show_field($('#select_page_id'));
})
function show_field($select) {
if($select.val() == 0)
$('#page_level_container').show();
else
$('#page_level_container').hide();
}
</script>
<div cla... | {
"pile_set_name": "Github"
} |
define(function () {
// Khmer
return {
errorLoading: function () {
return 'មិនអាចទាញយកទិន្នន័យ';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'សូមលុបចេញ ' + overChars + ' អក្សរ';
return message;
},
inputTooShort: fu... | {
"pile_set_name": "Github"
} |
# Generated by Django 2.1 on 2019-02-26 11:42
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('article', '0007_auto_20190226_1939'),
]
operations = [
migrations.AlterField(
model_name='articlepost',
name='avatar',... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSArray, NSString;
__attribute__((visibility("hidden")))
@interface _SGTABPersonResult : NSObject
{
NSString *displayName;
NSArray *values;
... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
module ApplicationHelper
def google_maps_api_source
if APP_CONFIG.google_maps_api_key
"https://maps.googleapis.com/maps/api/js?libraries=geometry&key=#{APP_CONFIG.google_maps_api_key}"
else
'https://maps.googleapis.com/maps/api/js?libraries=geometry'
end
end
... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# this recipe will overlink libraries without the --as-needed/-dead_strip_dylibs linker arg
re='^(.*)-Wl,--as-needed(.*)$'
if [[ ${LDFLAGS} =~ $re ]]; then
export LDFLAGS="${BASH_REMATCH[1]}${BASH_REMATCH[2]}"
fi
re='^(.*)-Wl,-dead_strip_dylibs(.*)$'
if [[ ${LDFLAGS} =~ $re ]]; then
export LDFLAGS="${B... | {
"pile_set_name": "Github"
} |
include Build.mk
CWD != realpath --relative-to=$(SRCDIR) .
all: builtin.o $(elf)
builtin.o: $(obj-y) $(dirs-y)
@$(ECHO) " LD " $(CWD)/builtin.o;
@$(LD) $(LDFLAGS) -r $(obj-y) $(patsubst %/,%/builtin.o, $(dirs-y)) -o builtin.o;
.PHONY: $(dirs-y)
$(dirs-y): $(patsubst %/,%/Makefile, $(dirs-y))
@$(ECHO) " M... | {
"pile_set_name": "Github"
} |
package prometheus
import (
"runtime"
"testing"
"time"
dto "github.com/prometheus/client_model/go"
)
func TestGoCollector(t *testing.T) {
var (
c = NewGoCollector()
ch = make(chan Metric)
waitc = make(chan struct{})
closec = make(chan struct{})
old = -1
)
defer close(closec)
go func()... | {
"pile_set_name": "Github"
} |
{
"info" : {
"version" : 1,
"author" : "xcode"
}
} | {
"pile_set_name": "Github"
} |
#include <iostream>
#include <vector>
using namespace std;
int main(){
int N, num, score, sum;
cin >> N;
vector<int> v(N + 1);
for(int i = 0; i < N; i++){
cin >> num >> score;
v[num] += score;
}
int max = v[1], t = 1;
for(int i = 2; i <= N; i++){
if(max < v[i]){
max = v[i];
t = i;
}
}
cout << t <... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8" ?>
<rss version="0.91"
xmlns:dc="http://purl.org/dc/elements/1.0/">
<channel>
<item>
<dc:date>2009-03-07T08:03:50Z</dc:date>
</item>
</channel>
</rss>
| {
"pile_set_name": "Github"
} |
using CSRedis.Internal;
using CSRedis.Internal.Fakes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace CSRedis.Tests
{
[TestClass]
public class ListTests
{
... | {
"pile_set_name": "Github"
} |
using System.Collections.Generic;
namespace Octokit
{
public class WebHookConfigComparer : IEqualityComparer<KeyValuePair<string, string>>
{
public bool Equals(KeyValuePair<string, string> x, KeyValuePair<string, string> y)
{
return x.Key == y.Key;
}
public int Get... | {
"pile_set_name": "Github"
} |
// (C) Copyright John Maddock 2002.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/config for most recent version.
// MACRO: BO... | {
"pile_set_name": "Github"
} |
For Office 365, use https://outlook.office365.com/EWS/Exchange.asmx (default) as the Server URL.
Default version is used when accessing the EWS API to determine the API version.
To fetch emails from a specific folder, folder path needs to be specified. Inbox is the default folder. | {
"pile_set_name": "Github"
} |
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Domain
{
/// <summary>
/// 错误详情
/// </summary>
public class ErrorDetail : WeChatPayObject
{
[JsonPropertyName("location")]
public string Location { get; set; }
[JsonPropertyName("... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ActiveLayerIndex</key>
<integer>0</integer>
<key>ApplicationVersion</key>
<array>
<string>com.omnigroup.OmniGraffle.MacAppStore</string>
... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<link rel="author" title="Morgan Rae Reschenberg" href="mailto:mreschenberg@berkeley.edu">
<style>
.basic {
display: inline-block;
o... | {
"pile_set_name": "Github"
} |
/*************************************************************************
*
* This file is part of the SAMRAI distribution. For full copyright
* information, see COPYRIGHT and LICENSE.
*
* Copyright: (c) 1997-2020 Lawrence Livermore National Security, LLC
* Description: hier
*
**************************... | {
"pile_set_name": "Github"
} |
/**
******************************************************************************
* @file stm32f30x_syscfg.c
* @author MCD Application Team
* @version V1.1.0
* @date 27-February-2014
* @brief This file provides firmware functions to manage the following
* functionalities of the SYSCFG ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2010 Andriy Rysin (rysin@kde.org)
*
* 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.
*
* ... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2009-2010 Mitch Garnaat http://garnaat.org/
#
# 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"
} |
#!/bin/sh
# Normal services
for i in `seq 1 5`; do
docker run -l 'HealthCheck=HttpGet' -l 'HealthCheckArgs=http://{{ host }}:{{ tcp 9500 }}/' -l 'ServiceName=nginx' -l 'ServicePort_80=9500' -P -d -t nginx
done
# Sidecar event subscriber
docker run -l 'HealthCheck=HttpGet' -l 'HealthCheckArgs=http://{{ host }}:{{ tcp... | {
"pile_set_name": "Github"
} |
Manual
Kernel_23
STL_Extension
Algebraic_foundations
Circulator
Stream_support
Triangulation_2
| {
"pile_set_name": "Github"
} |
# shellcheck shell=bash
gappsWrapperArgs=()
find_gio_modules() {
if [ -d "$1/lib/gio/modules" ] && [ -n "$(ls -A "$1/lib/gio/modules")" ] ; then
gappsWrapperArgs+=(--prefix GIO_EXTRA_MODULES : "$1/lib/gio/modules")
fi
}
addEnvHooks "${targetOffset:?}" find_gio_modules
gappsWrapperArgsHook() {
if ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!--
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
-->
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="... | {
"pile_set_name": "Github"
} |
/* $Id: telespci.c,v 2.23.2.3 2004/01/13 14:31:26 keil Exp $
*
* low level stuff for Teles PCI isdn cards
*
* Author Ton van Rosmalen
* Karsten Keil
* Copyright by Ton van Rosmalen
* by Karsten Keil <keil@isdn4linux.de>
*
* This software may be used and distributed accor... | {
"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.
// +build 386 amd64 amd64p32
// +build gccgo
#include <cpuid.h>
#include <stdint.h>
// Need to wrap __get_cpuid_count because it's declared as static.
int
gcc... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright 2011 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 applicable law or ... | {
"pile_set_name": "Github"
} |
// -*- mode: ObjC -*-
// This file is part of class-dump, a utility for examining the Objective-C segment of Mach-O files.
// Copyright (C) 1997-2019 Steve Nygard.
#import "CDVisitor.h"
// Has a mutable string for storing output, and method to write it to standard out.
// symbol references are for... ?
@interface... | {
"pile_set_name": "Github"
} |
CREATE TABLE `<?php echo $table_prefix ?>attached_files` (
`rel_object_manager` varchar(50) <?php echo $default_collation ?> NOT NULL default '',
`rel_object_id` int(10) unsigned NOT NULL default '0',
`file_id` int(10) unsigned NOT NULL default '0',
`created_on` datetime NOT NULL default '0000-00-00 00:00:00',
... | {
"pile_set_name": "Github"
} |
import jkson.Generic
abstract class ScalaGen[T] extends Generic[T]
abstract class ScalaMono extends Generic[Product]
| {
"pile_set_name": "Github"
} |
#ifndef ZCOIN_ELYSIUM_SIGMA_H
#define ZCOIN_ELYSIUM_SIGMA_H
#include "property.h"
#include "sigmaprimitives.h"
#include <stddef.h>
namespace elysium {
bool VerifySigmaSpend(
PropertyId property,
SigmaDenomination denomination,
SigmaMintGroup group,
size_t groupSize,
const SigmaProof& proof,
... | {
"pile_set_name": "Github"
} |
/*
Stockfish, a UCI chess playing engine derived from Glaurung 2.1
Copyright (C) 2004-2008 Tord Romstad (Glaurung author)
Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad
Copyright (C) 2015-2019 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad
Stockfish is free software: you can re... | {
"pile_set_name": "Github"
} |
#ifndef KABSCH_RMSD
#define KABSCH_RMSD
#include <valarray>
#include <cblas.h>
#include <lapacke.h>
namespace kabsch
{
template <class M>
double rmsd(
const M P,
const M Q)
{
double rmsd {0.0};
const unsigned int D {3};
const unsigned int size = P.size();
const unsigned int N = size... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | {
"pile_set_name": "Github"
} |
---
title: ColorPicker
subtitle: 颜色选择器
path: component/colorpicker
group: 数据
---
## ColorPicker 颜色选择器
用于颜色选择,支持多种格式。
### API
#### ColorPicker
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
| ------------- | ------------------- | ------------------- | ----------- | --------- |
| color ... | {
"pile_set_name": "Github"
} |
/*
Copyright© (c) 2017-2020 S.Gray, (aka PiezPiedPy).
Copyright© (c) 2017-2018 A.Korsunsky, (aka fat-lobyte).
This file is part of Trajectories.
Trajectories is available under the terms of GPL-3.0-or-later.
See the LICENSE.md file for more details.
Trajectories is free software: you can redistri... | {
"pile_set_name": "Github"
} |
package opentracing
import "context"
type contextKey struct{}
var activeSpanKey = contextKey{}
// ContextWithSpan returns a new `context.Context` that holds a reference to
// `span`'s SpanContext.
func ContextWithSpan(ctx context.Context, span Span) context.Context {
return context.WithValue(ctx, activeSpanKey, sp... | {
"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): OpenGATE Collaboration
This software is distributed under the terms
of the GNU Lesser General Public Licence (LGPL)
See LICENSE.md for further details
----------------------*/
#include "GateVDistribution.hh"
#include "GateDistributionListManager.hh"
GateVDistribution::Gat... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 9 2015 22:53:21).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2014 by Steve Nygard.
//
#import <AppKit/NSScroller.h>
@interface TListScroller : NSScroller
{
}
+ (BOOL)isCompatibleWithResponsiveScrolling;
+ (BOOL)isCompat... | {
"pile_set_name": "Github"
} |
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | {
"pile_set_name": "Github"
} |
#ifndef OSRM_UTIL_FILTERED_GRAPH_HPP
#define OSRM_UTIL_FILTERED_GRAPH_HPP
#include "storage/shared_memory_ownership.hpp"
#include "util/dynamic_graph.hpp"
#include "util/filtered_integer_range.hpp"
#include "util/static_graph.hpp"
#include "util/vector_view.hpp"
namespace osrm
{
namespace util
{
namespace detail
{
t... | {
"pile_set_name": "Github"
} |
Contributing
============
We try to achieve a 100% coverage on the Javascript code. Please make sure that each addition reaches this goal.
## Tests
- clone the project to your local machine
- do a npm install
To create a report use `npm test`. To create a report and also check the coverage use `unit.test.coverage`
... | {
"pile_set_name": "Github"
} |
<?php
/*
* @copyright 2014 Mautic Contributors. All rights reserved
* @author Mautic
*
* @link http://mautic.org
*
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
namespace Mautic\EmailBundle\Swiftmailer\SendGrid\Exception;
class ResponseItemException extends \Exception
{
}
| {
"pile_set_name": "Github"
} |
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | {
"pile_set_name": "Github"
} |
attribute vec4 a_Position ;
uniform mat4 u_Matrix;
//attribute mat4 u_Matrix;
uniform mat4 u_ProMatrix;
void main(){
gl_Position = u_ProMatrix * u_Matrix * a_Position;
} | {
"pile_set_name": "Github"
} |
/*
* Copyright 2012 The LibYuv 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing p... | {
"pile_set_name": "Github"
} |
package org.multiverse.api.blocking;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.multiverse.TestUtils.assertClosed;
public class DefaultRetryLatch_prepareForPoolingTest {
@Test
public void whenClosed() {
DefaultRetryLatch latch = new DefaultRetryLatch();
... | {
"pile_set_name": "Github"
} |
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.
namespace Microsoft.FSharp.NativeInterop
open Microsoft.FSharp.Core
open Microsoft.FSharp.Collections
[<RequireQualifiedAccess>]
[<CompilationRepresentation(CompilationRepresent... | {
"pile_set_name": "Github"
} |
#ifndef BOOST_SMART_PTR_DETAIL_LWM_PTHREADS_HPP_INCLUDED
#define BOOST_SMART_PTR_DETAIL_LWM_PTHREADS_HPP_INCLUDED
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
//
// boost/detail/lwm_pthreads.hpp
//
// Copyright (c) 2002 Peter Dimov and... | {
"pile_set_name": "Github"
} |
//==============================================================================
// Copyright (c) 2010-2018 Advanced Micro Devices, Inc. All rights reserved.
/// \author AMD Developer Tools Team
/// \file
/// \brief Defines the data types and enumerations used by GPUPerfAPI.
/// This file does not need to be d... | {
"pile_set_name": "Github"
} |
// Copyright (c) Facebook, Inc. and its affiliates.
// All rights reserved.
//
// Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#pragma once
#include <gtest/gtest.h>
#include <algorithm>
#include <casse... | {
"pile_set_name": "Github"
} |
package runtime
import (
"context"
"encoding/base64"
"fmt"
"net"
"net/http"
"net/textproto"
"strconv"
"strings"
"time"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/grpclog"
"google.golang.org/grpc/metadata"
"google.golang.org/grpc/status"
)
// MetadataHeaderPrefix is the http prefix that repre... | {
"pile_set_name": "Github"
} |
.cls1 { /*!*/ }
.cls2 {
composes: cls1;
color: ultra-red;
} | {
"pile_set_name": "Github"
} |
// -----------------------------------------------------------------------------
// Requirements
// -----------------------------------------------------------------------------
var rule = require('../../../lib/rules/aria-role');
var RuleTester = require('eslint').RuleTester;
const errorMessage = 'Elements with ARIA ... | {
"pile_set_name": "Github"
} |
[
{
"kids":[],
"uid":"heavenvisitor",
"parent":"",
"text":"转发微博。",
"mid":"hiFOX2",
"date":"2011-05-16 11:17:45"
},
{
"kids":[],
"uid":"hnxcylx",
"parent":"fwlJPb",
"text":"",
"mid":"gJ61PD",
"date":"2011-05-09 21:20:30"
},
{
"kids":[],
"uid":"1759438351",
"parent":"",
"text":"转发微博。",
"mid":"ggeXoq",
"date":"2011-05-04 ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2014 Stratio (http://stratio.com)
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/licens... | {
"pile_set_name": "Github"
} |
//////////////////////////////////////////////////////////////////////////
bool canWinNim(int n)
{
return n % 4 != 0;
}
//////////////////////////////////////////////////////////////////////////
bool _solution_run(int n)
{
return canWinNim(n);
}
//#define USE_SOLUTION_CUSTOM
//bool _solution_custom(TestCases &tc... | {
"pile_set_name": "Github"
} |
<?php
/**
* Smarty Internal Plugin Templatelexer
*
* This is the lexer to break the template source into tokens
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Templatelexer
*/
class Smarty_Internal_Templatelexer
{
public $data;
public $counter;
pu... | {
"pile_set_name": "Github"
} |
module Kontena::Cli::Master
class RemoveCommand < Kontena::Command
include Kontena::Cli::Common
parameter '[NAME]', "Master name"
banner "Note: This command only removes the master from your local configuration file"
option '--force', :flag, "Don't ask for confirmation", attribute_name: :forced
... | {
"pile_set_name": "Github"
} |
// -----------------------------------------------------------------------
// <copyright file="ContextPool.cs" company="Hibernating Rhinos LTD">
// Copyright (c) Hibernating Rhinos LTD. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using S... | {
"pile_set_name": "Github"
} |
---
title: 成为女孩子的声音!【6】腹式呼吸
date: 2018-12-03
tags: [伪声,嗓音]
categories: 成为女孩子的声音
top_img: /img/top_img/6.png
---
**成为女孩子的声音**
上一篇:[成为女孩子的声音!【5.5】测定基础频率](https://github.com/Kristall-WangShiwei/Tr... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>spring-cloud-starter-thri... | {
"pile_set_name": "Github"
} |
#define FSEMU_INTERNAL
#include "fsemu-control.h"
// FIXME: Merge quit into control module
#include "fsemu-quit.h"
static struct {
bool paused;
bool warping;
} fsemu_control;
void fsemu_control_quit(void)
{
fsemu_quit_maybe();
}
bool fsemu_control_paused(void)
{
// By checking for quit here, we do n... | {
"pile_set_name": "Github"
} |
//
// Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
//
// 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 BOOST_LOCALE_TIME_ZONE_HPP_INCLUDED
#define BOOST_LOCALE_TIME_ZONE_HPP_INCLUDED
#... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* 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, or (at your option)
* any later version.
*
* ... | {
"pile_set_name": "Github"
} |
//---------------------------------------------------------------------------//
// Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.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
//
// See http://boos... | {
"pile_set_name": "Github"
} |
package com.interrupt.managers;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.ObjectMap;
import com.badlogic.gdx.utils.OrderedMap;
import com.interrupt.dungeoneer.entities.Entity;
import com.interrupt.dungeoneer.entities.Mon... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.