text stringlengths 2 99.9k | meta dict |
|---|---|
/*
* Copyright (c) 1995, 1999
* Berkeley Software Design, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* not... | {
"pile_set_name": "Github"
} |
/*
---------------------------------------------------------------------------
Copyright (c) 2003, Dr Brian Gladman < >, Worcester, UK.
All rights reserved.
LICENSE TERMS
The free distribution and use of this software in both source and binary
form is allowed (with or without changes) pr... | {
"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... | {
"pile_set_name": "Github"
} |
// Copyright David Abrahams 2002.
// 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 MAKE_INSTANCE_DWA200296_HPP
# define MAKE_INSTANCE_DWA200296_HPP
# include <boost/python/detail/prefix.hpp>
# inc... | {
"pile_set_name": "Github"
} |
#ifndef CAFFE_UTIL_GPU_UTIL_H_
#define CAFFE_UTIL_GPU_UTIL_H_
namespace caffe {
template <typename Dtype>
inline __device__ Dtype caffe_gpu_atomic_add(const Dtype val, Dtype* address);
template <>
inline __device__
float caffe_gpu_atomic_add(const float val, float* address) {
return atomicAdd(address, val);
}
// ... | {
"pile_set_name": "Github"
} |
/*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | {
"pile_set_name": "Github"
} |
import os
import atexit
import datetime
import random
import signal
import time
from .. import utils
from ..api import API
from .bot_archive import archive, archive_medias, unarchive_medias
from .bot_block import block, block_bots, block_users, unblock, unblock_users
from .bot_checkpoint import load_checkpoint, save_c... | {
"pile_set_name": "Github"
} |
<div role="tabpanel" class="tab-pane config-section" id="email">
<form method="POST" autocomplete="off" class="w-100">
<h5>Email Content</h5>
<small class="form-text text-muted">
Customize CTFd emails with <a href="https://docs.ctfd.io/docs/settings/emails/#email-content" target="_blank">predefined variables</a... | {
"pile_set_name": "Github"
} |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Linq.Expressions;
namespace NuGetGallery.OData.QueryInterceptors
{
public class CountInterceptor : E... | {
"pile_set_name": "Github"
} |
# ================== General ==================
Id: ApacheFriends.Xampp
Publisher: Apache Friends
Name: Xampp
AppMoniker: xampp
Description: XAMPP is an easy to install Apache distribution containing MariaDB, PHP and Perl.
Homepage: https://www.apachefriends.org
Tags: Apache, MySQL, MariaDB, PHP, Perl
License: GNU Gen... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Effects Demos</title>
<link rel="stylesheet" href="../demos.css">
</head>
<body>
<div class="demos-nav">
<h4>Examples</h4>
<ul>
<li class="demo-config-on"><a href="default.html">Default functionality</a></li>
</ul>
</div>
</body>
... | {
"pile_set_name": "Github"
} |
/*
* libjingle
* Copyright 2004--2010, Google Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="search">Nadi</string>
<string name="advancedSearch">Nadi tasurift</string>
</resources>
| {
"pile_set_name": "Github"
} |
/*Domain class of table m_prj_kanban_board*/
package com.mycollab.module.project.domain;
import com.mycollab.core.arguments.ValuedBean;
import com.mycollab.db.metadata.Column;
import com.mycollab.db.metadata.Table;
import java.time.LocalDateTime;
import javax.validation.constraints.NotEmpty;
import javax.validation.co... | {
"pile_set_name": "Github"
} |
import angular from 'angular'
import Vue from 'vue'
import '../../src'
import '../../src/plugins'
import Tags from './tags.vue'
angular
.module('vue.components', ['ngVue', 'ngVue.plugins'])
.config(function ($ngVueProvider) {
$ngVueProvider.filters.register(['uppercase'])
})
.filter('uppercase', function (... | {
"pile_set_name": "Github"
} |
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2006, 2007, 2008 Apple Computer, Inc. All rights reserved.
* Copyright (C) 2007 Alp Toker <alp@atoker.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code... | {
"pile_set_name": "Github"
} |
namespace Microsoft.eShopWeb.Infrastructure
{
using eShopWeb.Models;
using Microsoft.AspNetCore.Builder;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
public ... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2014-2015 Kohei Takahashi
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)
===================================... | {
"pile_set_name": "Github"
} |
/*
OOJSFrameCallbacks.m
Copyright (C) 2011-2013 Jens Ayton
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, mer... | {
"pile_set_name": "Github"
} |
pp5 5695b8193095a63b9f397fff8343d1a6
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1998, 1999, 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"
} |
/*
* Safe path resolving with a module root dir
*
* Copyright (C) 2014, 2016 Per Lundqvist
*
* 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 you... | {
"pile_set_name": "Github"
} |
#import "TGVideoCameraPipeline.h"
#import "LegacyComponentsInternal.h"
#import <libkern/OSAtomic.h>
#import <CoreMedia/CoreMedia.h>
#import <ImageIO/ImageIO.h>
#import <Accelerate/Accelerate.h>
#import <LegacyComponents/TGVideoCameraGLRenderer.h>
#import <LegacyComponents/TGVideoCameraMovieRecorder.h>
#import <Lega... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="iso-8859-1"?>
<!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" xml:lang="en" lang="en">
<head>
<title>Module: Jabber::Command</title>
<meta http-equiv="Conten... | {
"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>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
... | {
"pile_set_name": "Github"
} |
# encoding: utf-8
require 'spec_helper'
describe Algebra::Product, '#each' do
subject { object.each { |tuple| yields << tuple } }
let(:object) { described_class.new(left, right) }
let(:header) { Relation::Header.coerce([[:id, Integer], [:name, String]]) }
let(:le... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: bf944057124b80b4e84496139e3b072c
timeCreated: 18446744011573954816
ShaderImporter:
externalObjects: {}
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
#include <iostream>
#include <cstring>
using namespace std;
int BIT[101000], A[101000], n;
int query(int i)
{
int ans = 0;
for (; i > 0; i -= i & (-i))
ans += BIT[i];
return ans;
}
void update(int i)
{
for (; i <= n; i += i & (-i))
BIT[i]++;
}
int main()
{
int ans, i;
while (ci... | {
"pile_set_name": "Github"
} |
[
{
"id": 112094225,
"name": "CVE-2017-15394",
"full_name": "sudosammy\/CVE-2017-15394",
"owner": {
"login": "sudosammy",
"id": 18524051,
"avatar_url": "https:\/\/avatars1.githubusercontent.com\/u\/18524051?v=4",
"html_url": "https:\/\/... | {
"pile_set_name": "Github"
} |
var http = require('http');
if (http.METHODS) {
module.exports = http.METHODS.map(function(method){
return method.toLowerCase();
});
return;
}
module.exports = [
'get',
'post',
'put',
'head',
'delete',
'options',
'trace',
'copy',
'lock',
'mkcol',
'move',
'propfind',
'proppatch',
... | {
"pile_set_name": "Github"
} |
module Test.Set exposing (tests)
import Basics exposing (..)
import Set
import Set exposing (Set)
import List
import Test exposing (..)
import Expect
set : Set Int
set =
Set.fromList <| List.range 1 100
setPart1 : Set Int
setPart1 =
Set.fromList <| List.range 1 50
setPart2 : Set Int
setPart2 =
Set.fr... | {
"pile_set_name": "Github"
} |
# Copyright(C) 2011 Kouhei Sutou <kou@clear-code.com>
#
# 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 the License, or (at your option) any later version.
#
# Thi... | {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2016 Benoit Steiner <benoit.steiner.goog@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You ca... | {
"pile_set_name": "Github"
} |
'use strict';
define(['core/app/detourService'], function (detour) {
detour.registerController([
'CreateManyToManyCtrl',
['$scope', 'logger', '$state', '$stateParams', '$http', '$parse',
function ($scope, logger, $state, $stateParams, $http, $parse) {
$s... | {
"pile_set_name": "Github"
} |
.PHONY: all
.PHONY: all_html
all: artifacts/requirements.pdf artifacts/req-graph1.png \
artifacts/req-graph2.png all_html
# Adding new files (especially requirements) can not automatically
# handled. The 'force' target tries to handle this.
.PHONY: force
force:
rm .rmtoo_dependencies
${MAKE} all
#
# This is the... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2016 The WebRTC 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 ... | {
"pile_set_name": "Github"
} |
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/background_fetch/storage/mark_registration_for_deletion_task.h"
#include <utility>
#include "content/browser/background_fetch/... | {
"pile_set_name": "Github"
} |
# Installation instructions
## Requirements
- Buildship 3.x
- Minimum Java version: 1.8
- Eclipse version: 4.3, or newer
- Buildship 2.x
- Minimum Java version: 1.7
- Eclipse version: 4.2, or newer
- Buildship 1.x
- Minimum Java version: 1.6
- Eclipse version: 4.2 - 4.6
Different Eclipse versions might ... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"idiom" : "universal",
"filename" : "RuntimeDoc48.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "original"
}
} | {
"pile_set_name": "Github"
} |
<?php
/*
* Copyright 2014 Google 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 agreed t... | {
"pile_set_name": "Github"
} |
/* ========================================
* Slew - Slew.h
* Created 8/12/11 by SPIAdmin
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
* ======================================== */
#ifndef __Slew_H
#include "Slew.h"
#endif
AudioEffect* createEffectInstance(audioMasterCallback audioMaster)
{
... | {
"pile_set_name": "Github"
} |
################################################################################
#
# gstreamer1
#
################################################################################
GSTREAMER1_VERSION = 1.14.4
GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz
GSTREAMER1_SITE = https://gstreamer.freedesktop.org/s... | {
"pile_set_name": "Github"
} |
.confirm[@user, :confirm]
#{t :user_confirm_delete}
#{t :delete} <b>#{@user.full_name}</b>?
= link_to_confirm_delete(@user) + " : "
= link_to_function(t(:no_button), "crm.flick('#{dom_id(@user, :confirm)}', 'remove')")
| {
"pile_set_name": "Github"
} |
import { createHash } from 'crypto';
import { debug } from './utils/logger';
const fileHashes = new Map<string, string>();
const evalCache = new Map<string, any>();
const fileKeys = new Map<string, string[]>();
const hash = (text: string) => createHash('sha1').update(text).digest('base64');
let lastText: string = '... | {
"pile_set_name": "Github"
} |
window.util = function () {
function map(elems, func) {
var ret = [];
for (var i = 0, len = elems.length; i < len; i++) {
ret[i] = func(elems[i]);
}
return ret;
}
function filter(elems, predicate) {
var ret = [];
for (var i = 0, len = elems.lengt... | {
"pile_set_name": "Github"
} |
<!-- YAML
added: v8.3.0
-->
取消此解析程序所做的所有未完成的DNS查询。
使用错误码 `ECANCELLED` 调用相应的回调。
| {
"pile_set_name": "Github"
} |
/*
* The MIT License
*
* Copyright (c) 2011, Oracle Corporation, Anton Kozak
*
* 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 rig... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
require 'digest/md5'
module RedisAnalytics
class Tracker
def initialize(app)
@app = app
end
def call(env)
dup.call!(env)
end
def call!(env)
@env = env
@request = Rack::Request.new(env)
status, headers, body = @app.call(env)
@response ... | {
"pile_set_name": "Github"
} |
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,... | {
"pile_set_name": "Github"
} |
{
"word": "Arterial",
"definitions": [
"Relating to an artery or arteries.",
"Denoting an important route in a system of roads, railway lines, or rivers."
],
"parts-of-speech": "Adjective"
} | {
"pile_set_name": "Github"
} |
# Batch
resource "aws_cloudwatch_event_target" "example_batch" {
target_id = "example-batch"
rule = aws_cloudwatch_event_rule.example_batch.name
arn = aws_ecs_cluster.example.arn
role_arn = module.ecs_events_role.iam_role_arn
ecs_target {
launch_type = "FARGATE"
task_count ... | {
"pile_set_name": "Github"
} |
Package: kaltura-php7-pspell
Source: kaltura-php7
Version: 7.0.0-6
Architecture: amd64
Maintainer: Jess Portnoy <jess.portnoy@kaltura.com>
Installed-Size: 89
Pre-Depends: dpkg (>= 1.16.1~)
Depends: libaspell15 (>= 0.60.7~20110707), libc6 (>= 2.4), phpapi-20151012, kaltura-php7-common (= 7.0.0-6), ucf
Section: php
Prior... | {
"pile_set_name": "Github"
} |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | {
"pile_set_name": "Github"
} |
/* src/backend/utils/mb/Unicode/utf8_to_win1253.map */
static const pg_utf_to_local ULmapWIN1253[ 111 ] = {
{0xc2a0, 0x00a0},
{0xc2a3, 0x00a3},
{0xc2a4, 0x00a4},
{0xc2a5, 0x00a5},
{0xc2a6, 0x00a6},
{0xc2a7, 0x00a7},
{0xc2a8, 0x00a8},
{0xc2a9, 0x00a9},
{0xc2ab, 0x00ab},
{0xc2ac, 0x00ac},
{0xc2ad, ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<in.srain.cube.views.ptr.PtrFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ptr_frame_list_view"
xmlns:cube_ptr="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2013, Redsolution LTD. All rights reserved.
*
* This file is part of Xabber project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License, Version 3.
*
* Xabber is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even ... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
require "spec_helper"
module Decidim
describe FileZipper do
subject { FileZipper.new("foo.txt", "bar") }
describe "#zip" do
let(:zip) { subject.zip }
it "zips a file" do
entries = []
Zip::InputStream.open(StringIO.new(zip)) do |io|
while... | {
"pile_set_name": "Github"
} |
#define __NR_read 6000
#define __NR_write 6001
#define __NR_open 6002
#define __NR_close 6003
#define __NR_stat 6004
#define __NR_fstat 6005
#define __NR_lstat 6006
#define __NR_poll 6007
#define __NR_lseek 6008
#define __NR_mmap 6009
#define __NR_mprotect 6010
#define __NR_munmap 6011
#define _... | {
"pile_set_name": "Github"
} |
//+build !go1.7
package reflect2
import "unsafe"
func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer {
return nil
}
| {
"pile_set_name": "Github"
} |
---
title: Log off or Disconnect User Sessions
description: Learn how to manually log off a user
ms.topic: article
ms.assetid: 3e9bbcdc-e33b-481e-8b46-787a4f6d58bc
author: lizap
manager: dongill
ms.author: elizapo
ms.date: 08/04/2016
---
# Log off or Disconnect User Sessions
MultiPoint Services users can log on and log... | {
"pile_set_name": "Github"
} |
#version 330
#define MAX_BATCH_SIZE 512
layout(location = 0) in vec3 in_pos;
layout(location = 1) in vec2 in_texc;
uniform mat4 projection;
uniform mat4 view;
uniform mat4 mats[MAX_BATCH_SIZE];
uniform int flip_x[MAX_BATCH_SIZE];
uniform int flip_y[MAX_BATCH_SIZE];
uniform vec4 coords[MAX_BATCH_SIZE];
uniform vec4... | {
"pile_set_name": "Github"
} |
#region COPYRIGHT
//
// THIS IS GENERATED BY TEMPLATE
//
// AUTHOR : ROYE
// DATE : 2010
//
// COPYRIGHT (C) 2010, TIANXIAHOTEL TECHNOLOGIES CO., LTD. ALL RIGHTS RESERVED.
//
#endregion
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
... | {
"pile_set_name": "Github"
} |
package lime.system;
import lime._internal.backend.native.NativeCFFI;
import lime.app.Application;
import lime.app.Event;
#if flash
import flash.desktop.Clipboard as FlashClipboard;
#elseif (js && html5)
import lime._internal.backend.html5.HTML5Window;
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#... | {
"pile_set_name": "Github"
} |
// Package guid provides a GUID type. The backing structure for a GUID is
// identical to that used by the golang.org/x/sys/windows GUID type.
// There are two main binary encodings used for a GUID, the big-endian encoding,
// and the Windows (mixed-endian) encoding. See here for details:
// https://en.wikipedia.org/wi... | {
"pile_set_name": "Github"
} |
package api
import (
"time"
"github.com/amherag/skycoin/src/cipher"
"github.com/amherag/skycoin/src/coin"
"github.com/amherag/skycoin/src/daemon"
"github.com/amherag/skycoin/src/kvstorage"
"github.com/amherag/skycoin/src/transaction"
"github.com/amherag/skycoin/src/visor"
"github.com/amherag/skycoin/src/visor... | {
"pile_set_name": "Github"
} |
/*
* Phosphorus Five, copyright 2014 - 2017, Thomas Hansen, thomas@gaiasoul.com
*
* This file is part of Phosphorus Five.
*
* Phosphorus Five is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3, as published by
* the Free Software Foundation.
... | {
"pile_set_name": "Github"
} |
'use strict';
const supportedVideoExtensions = ['mp4', 'mov', 'm4v'];
const formatExtensions = new Map([
['av1', 'mp4']
]);
const getFormatExtension = format => formatExtensions.get(format) || format;
module.exports = {
supportedVideoExtensions,
getFormatExtension,
defaultInputDeviceId: 'SYSTEM_DEFAULT'
};
| {
"pile_set_name": "Github"
} |
/**
* Appends the elements of `values` to `array`.
*
* @private
* @param {Array} array The array to modify.
* @param {Array} values The values to append.
* @returns {Array} Returns `array`.
*/
function arrayPush(array, values) {
var index = -1,
length = values.length,
offset = array.length;
whil... | {
"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.
package os
import (
"errors"
"runtime"
"syscall"
"time"
"unsafe"
)
func (p *Process) wait() (ps *ProcessState, err error) {
s, e := syscall.WaitForSingl... | {
"pile_set_name": "Github"
} |
import System.Environment
import Control.Concurrent
import Control.Monad
sleepSort :: [Int] -> IO ()
sleepSort values = do
chan <- newChan
forM_ values (\time -> forkIO (threadDelay (50000 * time) >> writeChan chan time))
forM_ values (\_ -> readChan chan >>= print)
main :: IO ()
main = getArg... | {
"pile_set_name": "Github"
} |
Investors, fed up with a lack of transparency and the poor performance of the Czech equity market, are turning to the country's less opaque debt market, buoyed by favourable interest rates and economic data.
The Prague bourse has been caught in a downward spiral -- the official PX50 index has lost almost 18 percent in ... | {
"pile_set_name": "Github"
} |
#coding=utf-8
'''
Created on 2016-7-6
@author: Administrator
'''
from teamvision.project.models import Tag
class VM_CIServer(object):
'''
classdocs
'''
def __init__(self,dm_server,is_create,selected_server_id):
'''
Constructor
'''
self.ci_server=dm_server
sel... | {
"pile_set_name": "Github"
} |
"support_item_gold_ranked"
{
"challengetype" "148"
"desc" "#DOTA_ChallengeDesc_Support_Item_Gold"
"status_text" "#DOTA_ChallengeStatusText_Support_Item_Gold"
"events"
{
"matching_type" "game_state"
"query"
{
"state_values"
{
"1"
{
"key" "support_gold_spent"
"aggregator" "count"
... | {
"pile_set_name": "Github"
} |
<?php
namespace Oro\Bundle\DataAuditBundle\Model;
use Doctrine\Common\Collections\Collection;
use Oro\Bundle\DataAuditBundle\Entity\AbstractAuditField;
/**
* Transform AuditFields to a scalar data
*/
class FieldsTransformer
{
/**
* @param AbstractAuditField[] $fields
* @return array
* @SuppressW... | {
"pile_set_name": "Github"
} |
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M19,6.41L17.59,5 12,10.59 6.41,5 5,6.41 10.59,12 5,17.59 6.41... | {
"pile_set_name": "Github"
} |
"""Convert the row resulting from a query to the Entities object."""
from .status import (DeliveryOrder, DispatchedOrder, OrderDelivered,
OrderInTransit)
def build_dispatched(row):
return DispatchedOrder(row.dispatched_at)
def build_in_transit(row):
return OrderInTransit(row.location)
... | {
"pile_set_name": "Github"
} |
/* $NetBSD: strlen.S,v 1.2 2014/03/22 19:38:46 jakllsch Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by David Laight.
*
* Redistribution and use in source and binary forms, with or without
* mod... | {
"pile_set_name": "Github"
} |
/*
*
* * Copyright 2019-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
*... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
import pkg_resources
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.intersphinx',
'sphinx.ext.coverage',
'sphinx.ext.viewcode',
]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
source_suffix... | {
"pile_set_name": "Github"
} |
// Copyright 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 "license" file ... | {
"pile_set_name": "Github"
} |
Example Programs
================
Most of these examples use the `argparse` module to handle command line
arguments.
To show a help text explaining all available arguments,
use the ``--help`` argument.
For example::
python3 play_file.py --help
| {
"pile_set_name": "Github"
} |
{
"type": "Module",
"span": {
"start": 0,
"end": 37,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 0,
"end": 37,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": ... | {
"pile_set_name": "Github"
} |
/*
* Warewolf - Once bitten, there's no going back
* Copyright 2019 by Warewolf Ltd <alpha@warewolf.io>
* Licensed under GNU Affero General Public License 3.0 or later.
* Some rights reserved.
* Visit our website for more information <http://warewolf.io/>
* AUTHORS <http://warewolf.io/authors.php> , CONTRIBUTORS... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<title>SUMIF Function</title>
<meta charset="utf-8" />
<meta name="description" content="" />
<link type="text/css" rel="stylesheet" href="../editor.css" />
</head>
<body>
<div class="mainpart">
<h1>SUMIF Function</h1>
<p>The <b>SUMIF</b> function is one of t... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
# Copyright (C) 2015 Canonical
#
# Authors:
# Didier Roche
#
# 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; version 3.
#
# This program is distributed in the hope that ... | {
"pile_set_name": "Github"
} |
<div class="apiDetail">
<div>
<h2><span>Boolean / Function(treeId, treeNode)</span><span class="path">setting.view.</span>showTitle</h2>
<h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
<div class="desc">
<p></p>
<div class="longdesc">
<p>S... | {
"pile_set_name": "Github"
} |
{ stdenv
, pantheon
, autoconf
, automake
, libtool
, gnome3
, which
, fetchgit
, libgtop
, libwnck3
, glib
, vala
, pkgconfig
, libstartup_notification
, gobject-introspection
, gtk-doc
, docbook_xsl
, xorgserver
, dbus
, python3
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "bamf";
version = "0.5.4";
o... | {
"pile_set_name": "Github"
} |
{
"action": {
"error": {
"variety": [
"Misdelivery"
],
"vector": [
"Unknown"
]
}
},
"actor": {
"internal": {
"motive": [
"NA"
],
"variety": [
"Unknown"
]
}
},
"asset": {
"assets": [
{
"variety": "... | {
"pile_set_name": "Github"
} |
<?php
namespace GuzzleHttp\Tests;
use GuzzleHttp\Client;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\HandlerStack;
use GuzzleHttp\Pool;
use GuzzleHttp\Promise\Promise;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7\Response;
use PHPUnit\Framework\TestCase;
use Psr\Ht... | {
"pile_set_name": "Github"
} |
/*
* MegaMek -
* Copyright (C) 2000,2001,2002,2003,2004,2005 Ben Mazur (bmazur@sev.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 op... | {
"pile_set_name": "Github"
} |
<html>
<head>
<META HTTP-EQUIV="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<pre>
<table width=100% bgcolor=#CFCFE5><tr> <td> <font face=arial size=+3>
Build Log
</font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5> </td><td width=0 bgcolor=#... | {
"pile_set_name": "Github"
} |
#!/bin/bash -eu
# Copyright 2018 Google 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 agree... | {
"pile_set_name": "Github"
} |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2018 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... | {
"pile_set_name": "Github"
} |
//
// MIT License
//
// Copyright (c) 2017 Touchwonders B.V.
//
// 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
... | {
"pile_set_name": "Github"
} |
#include <vector>
#include <seqan3/alphabet/nucleotide/dna4.hpp>
#include <seqan3/alphabet/quality/aliases.hpp> // includes seqan3::dna4q
#include <seqan3/alphabet/quality/phred42.hpp>
#include <seqan3/core/debug_stream.hpp>
#include <seqan3/range/views/to_char.hpp>
int main()
{
using seqan3::operator""_dna4;
... | {
"pile_set_name": "Github"
} |
/*
* linux/fs/sysv/ialloc.c
*
* minix/bitmap.c
* Copyright (C) 1991, 1992 Linus Torvalds
*
* ext/freelists.c
* Copyright (C) 1992 Remy Card (card@masi.ibp.fr)
*
* xenix/alloc.c
* Copyright (C) 1992 Doug Evans
*
* coh/alloc.c
* Copyright (C) 1993 Pascal Haible, Bruno Haible
*
* sysv/ialloc.c... | {
"pile_set_name": "Github"
} |
.class final Lcom/tencent/mm/plugin/wallet_index/ui/WalletBrandUI$a$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/tencent/mm/plugin/wallet_index/ui/Wall... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2019 Google LLC
* Copyright 2019 Mellanox Technologies Ltd
*
* 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 Joyent, Inc. and other Node contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* righ... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.