text stringlengths 2 99.9k | meta dict |
|---|---|
/*
* Tigase XMPP Server - The instant messaging server
* Copyright (C) 2004 Tigase, Inc. (office@tigase.com)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, version 3 of the Licen... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# author: Mike Snitzer <msnitzer@plogic.com>
# desc: used to make lm_sensors metrics available to ganglia
# /etc/sysconfig/ganglia is used to specify INTERFACE
CONFIG=/etc/sysconfig/ganglia
[ -f $CONFIG ] && . $CONFIG
#default to eth0
if [ -z "$MCAST_IF" ]; then
MCAST_IF=eth0
fi
GMETRIC_BIN=/usr/bi... | {
"pile_set_name": "Github"
} |
/**
* Database schema required by \yii\i18n\DbMessageSource.
*
* @author Dmitry Naumenko <d.naumenko.a@gmail.com>
* @link http://www.yiiframework.com/
* @copyright 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
* @since 2.0.7
*/
if object_id('[source_message]', 'U') is not null
drop ... | {
"pile_set_name": "Github"
} |
const path = require('path')
const createTestProject = require('@vue/cli-test-utils/createTestProject')
const Service = require('@vue/cli-service')
async function create (name, presets) {
const project = await createTestProject(
name, presets, path.join(process.cwd(), './tests/e2e/projects')
)
// mocking...... | {
"pile_set_name": "Github"
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | {
"pile_set_name": "Github"
} |
---
- id: a81ea4ad-bc9f-49a7-82d4-4466df641487
name: 7.A.1 - Screen Capturing
description: Load custom PowerShell module and take screenshots.
tactic: collection
technique:
attack_id: T1113
name: Screen Capture
platforms:
windows:
psh,pwsh:
command: |
if (! $(test-path -pa... | {
"pile_set_name": "Github"
} |
/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... | {
"pile_set_name": "Github"
} |
package buildutil
import (
"fmt"
"go/build"
"io"
"io/ioutil"
"os"
"path"
"path/filepath"
"sort"
"strings"
"time"
)
// FakeContext returns a build.Context for the fake file tree specified
// by pkgs, which maps package import paths to a mapping from file base
// names to contents.
//
// The fake Context has ... | {
"pile_set_name": "Github"
} |
{ 'struct': 'foo',
'data': false }
| {
"pile_set_name": "Github"
} |
module Choco
class PluginGenerator < Thor::Group
include Thor::Actions
def self.source_root
File.dirname(__FILE__)
end
desc 'Generates a Choco plugin (Sammy or js-model)'
argument :name
class_option :for_lib
def create_model_file
@plugin_name = name.camelcase.sin... | {
"pile_set_name": "Github"
} |
accessing class hierarchy
objectMemoryClass
^Spur32BitCoMemoryManager | {
"pile_set_name": "Github"
} |
define(
//begin v1.x content
{
"dateFormatItem-yyyyMMMEd": "G y. MMM d., E",
"field-dayperiod": "napszak",
"field-minute": "perc",
"dateFormatItem-MMMEd": "MMM d., E",
"field-day-relative+-1": "tegnap",
"dateFormatItem-hms": "a h:mm:ss",
"field-day-relative+-2": "tegnapelőtt",
"field-weekday": "hét napja",
"da... | {
"pile_set_name": "Github"
} |
/*
Copyright (c) 2012 The VCT Project
This file is part of VoxelConeTracing and is an implementation of
"Interactive Indirect Illumination Using Voxel Cone Tracing" by Crassin et al
VoxelConeTracing is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License a... | {
"pile_set_name": "Github"
} |
The MongoDB driver for Go
-------------------------
Please go to [http://labix.org/mgo](http://labix.org/mgo) for all project details.
| {
"pile_set_name": "Github"
} |
---
title: "Source file <filename> specified multiple times"
ms.date: 07/20/2015
f1_keywords:
- "bc2002"
- "vbc2002"
helpviewer_keywords:
- "BC2002"
ms.assetid: 0e3ab493-bf7e-42bd-870a-d10846ce79ad
---
# Source file \<filename> specified multiple times
A file has been specified multiple times.
**Error ID... | {
"pile_set_name": "Github"
} |
require('../../../modules/es6.string.blink');
module.exports = require('../../../modules/_entry-virtual')('String').blink;
| {
"pile_set_name": "Github"
} |
## @file
# Provides the capbility to configure secure boot in a setup browser
# By this module, user may change the content of DB, DBX, PK and KEK.
#
# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env sh
# The cqlsh is a duplicate of the the existing cqlsh==5.0.3 with hard coded default protocol version to 3.
# the original cqlsh have hard coded protocol version of 4.
# the current [2016-10-01] version of server spec is [Cassandra 2.1.15 | CQL spec 3.2.1 | Native protocol v3]
echo "cqlsh " \
"--... | {
"pile_set_name": "Github"
} |
## MOBY DEBUG OPTIONS ##
CONFIG_LOCKDEP=y
CONFIG_FRAME_POINTER=y
CONFIG_LOCKUP_DETECTOR=y
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEBUG_TIMEKEEPING=y
CONFIG_DEBUG_RT_MUTEXES=y
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_LOCKING=y
CONFIG_LOCK_STAT=y
... | {
"pile_set_name": "Github"
} |
/******************************************************************************
* SOFA, Simulation Open-Framework Architecture *
* (c) 2006 INRIA, USTL, UJF, CNRS, MGH *
* *
... | {
"pile_set_name": "Github"
} |
msgid ""
msgstr ""
"Project-Id-Version: red-discordbot\n"
"POT-Creation-Date: 2020-08-06 12:19+0000\n"
"Last-Translator: \n"
"Language-Team: Vietnamese\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: redgettext 3.1\n"
"Plural-Forms: nplurals=1; plu... | {
"pile_set_name": "Github"
} |
<?php
// Type definition
$server->wsdl->addComplexType(
'ArrayOfstring',
'complexType',
'array',
'',
'SOAP-ENC:Array',
[],
[['ref' => 'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'xsd:string[]']],
'xsd:string'
);
$server->wsdl->addComplexType(
'ArrayOfInteger',
'complexType',
'... | {
"pile_set_name": "Github"
} |
package android.accessibilityservice;
import android.graphics.Path;
import android.graphics.PathMeasure;
import android.graphics.RectF;
import android.os.Parcel;
import android.os.Parcelable;
import com.android.internal.util.Preconditions;
import java.util.ArrayList;
import java.util.List;
public final class GestureD... | {
"pile_set_name": "Github"
} |
#ifndef _TUTTLE_HOST_NODE_HPP_
#define _TUTTLE_HOST_NODE_HPP_
#include "INode.hpp"
#include "ComputeOptions.hpp"
#include "memory/MemoryCache.hpp"
#include <boost/assign/list_of.hpp>
#include <memory>
namespace tuttle
{
namespace host
{
class NodeInit;
using boost::assign::list_of;
INode* createNode(const std::s... | {
"pile_set_name": "Github"
} |
package bind;
import a.b.c.d.SomeClass;
import x.y.z.A1;
import x.y.z.B2;
public class BindingFail1 extends SomeClass implements A1, B2, Int1 {
public void a() {
}
public void x() {
}
} | {
"pile_set_name": "Github"
} |
#
# Linkerd lifecycle test configuration
#
# slow_cooker ->(HTTP/1.1)->
# bb-p2p ->(gRPC)->
# bb-broadcast ->(gRPC)->
# bb-terminus1
# bb-terminus2
# ...
# bb-terminus10
#
#
# slow_cooker
#
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
app: slow-cooker
name... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="port" value="5555"/>
<!--最大连接数-->
<add key="numConnections" value="20000"/>
<!--缓存大小-->
<add key="receiveBufferSize" value="1024"/>
<!--超时时间-->
<add key="overtime" value="20"/>
</appSettings>
<startup>
... | {
"pile_set_name": "Github"
} |
import io
from dataclasses import dataclass
from typing import Any, List
from src.types.sized_bytes import bytes32
from src.util.clvm import int_to_bytes, int_from_bytes
from src.util.hash import std_hash
from src.util.ints import uint64
from src.util.streamable import streamable, Streamable
@dataclass(frozen=True)
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 填充的颜色 -->
<solid android:color="#555555" />
<!-- 设置按钮的四个角为弧形 -->
<!-- android:radius 弧形的半径 -->
<corners android:radius="10dip" />
... | {
"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 windows
// Package windows contains an interface to the low-level operating system
// primitives. OS details vary depending on the underlying system,... | {
"pile_set_name": "Github"
} |
"""Test program for the fcntl C module.
OS/2+EMX doesn't support the file locking operations.
"""
import os
import struct
import sys
import _testcapi
import unittest
from test.test_support import (verbose, TESTFN, unlink, run_unittest,
import_module)
# Skip test if no fnctl module.
fcntl = import_module('fcntl')... | {
"pile_set_name": "Github"
} |
var convert = require('./convert'),
func = convert('floor', require('../floor'));
func.placeholder = require('./placeholder');
module.exports = func;
| {
"pile_set_name": "Github"
} |
<?php
final class PhabricatorRepositoryStatusMessage
extends PhabricatorRepositoryDAO {
const TYPE_INIT = 'init';
const TYPE_FETCH = 'fetch';
const TYPE_NEEDS_UPDATE = 'needs-update';
const CODE_ERROR = 'error';
const CODE_OKAY = 'okay';
protected $repositoryID;
protected $statusType;
protected $s... | {
"pile_set_name": "Github"
} |
use crate::extn::prelude::*;
pub fn init(interp: &mut Artichoke) -> InitializeResult<()> {
let spec = crate::module::Spec::new(interp, "Benchmark", None)?;
interp.0.borrow_mut().def_module::<Benchmark>(spec);
interp.def_rb_source_file(
b"benchmark.rb",
&include_byte... | {
"pile_set_name": "Github"
} |
void FutureApi::OnFrontConnected()
{
gil_scoped_acquire acquire;
this->onFrontConnected();
};
void FutureApi::OnFrontDisconnected(int iReason)
{
gil_scoped_acquire acquire;
this->onFrontDisconnected(iReason);
};
void FutureApi::OnHeartBeatWarning(int iTimeLapse)
{
gil_scoped_acquire acquire;
this->onHeartBeatWa... | {
"pile_set_name": "Github"
} |
# -*- coding:utf-8 -*-
# 用于修剪网络模型
import numpy as np
import matplotlib.pyplot as plt
import os
os.environ['GLOG_minloglevel'] = '2'
import caffe
# 由稠密变成CSC稀疏矩阵
def dense_to_sparse_csc(W_flatten, num_level):
# W_flatten: 扁平化的权重矩阵
# num_level: 量化级别
csc_W = [] # 存储稀疏矩阵
csc_indx = []
indx... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2010-2015 Oracle and/or its affiliates. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Com... | {
"pile_set_name": "Github"
} |
import {Component, ViewEncapsulation} from '@angular/core';
import {BubbleMapsService} from './bubbleMaps.service';
@Component({
selector: 'bubble-maps',
encapsulation: ViewEncapsulation.None,
styles: [require('./bubbleMaps.scss')],
template: require('./bubbleMaps.html'),
})
export class BubbleMaps {
chart... | {
"pile_set_name": "Github"
} |
package main
import "C"
//export GoFunc
func GoFunc() {}
func main() {}
| {
"pile_set_name": "Github"
} |
////////////////////////////////////////////////////////////////////////////
// Module : xrServer_Objects.h
// Created : 19.09.2002
// Modified : 04.06.2003
// Author : Oles Shyshkovtsov, Alexander Maksimchuk, Victor Reutskiy and Dmitriy Iassenev
// Description : Server objects space
/////////////////////////////... | {
"pile_set_name": "Github"
} |
/**
* @alternateClassName Ext.DomHelper
* @singleton
*
* The DomHelper class provides a layer of abstraction from DOM and transparently supports creating elements via DOM or
* using HTML fragments. It also has the ability to create HTML fragment templates from your DOM building code.
*
* ## DomHelper element spe... | {
"pile_set_name": "Github"
} |
/*
* Identifier access and function closure handling.
*
* Provides the primitives for slow path identifier accesses: GETVAR,
* PUTVAR, DELVAR, etc. The fast path, direct register accesses, should
* be used for most identifier accesses. Consequently, these slow path
* primitives should be optimized for maxi... | {
"pile_set_name": "Github"
} |
###########################################################################
#
# Copyright 2016 Samsung Electronics 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
#
# htt... | {
"pile_set_name": "Github"
} |
## Check llvm-readobj and llvm-readelf can dump files of the different ELF types.
# RUN: yaml2obj %s --docnum=1 -o %t1
# RUN: llvm-readobj -h %t1 | FileCheck %s --match-full-lines --check-prefix LLVM-NONE
# RUN: llvm-readelf -h %t1 | FileCheck %s --match-full-lines --check-prefix GNU-NONE
# LLVM-NONE: ElfHeader {
# L... | {
"pile_set_name": "Github"
} |
version https://git-lfs.github.com/spec/v1
oid sha256:aadbaefc877cba9f30e337e2dc89e9a54eb22594132373a7da7d4b0a94d974a3
size 18927
| {
"pile_set_name": "Github"
} |
using System.Collections.Generic;
using System.IO;
using System.Net;
using ZKWebStandard.Collections;
using ZKWebStandard.Web;
using System.Web;
namespace ZKWeb.Hosting.AspNet
{
/// <summary>
/// Http request wrapper for Asp.net<br/>
/// Asp.Net Http请求的包装类<br/>
/// </summary>
internal c... | {
"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 this... | {
"pile_set_name": "Github"
} |
#ifndef SYSTEM_INFO_H
#define SYSTEM_INFO_H
typedef struct {
char robot_name[24];
char robot_description[64];
}__attribute__((packed)) RobotInfo;
typedef struct {
unsigned char battery_series;
unsigned char power_remain_alarm;
float battery_voltage_alarm;
}__attribute__((packed)) SystemParameters... | {
"pile_set_name": "Github"
} |
package table
import (
"errors"
"strings"
"github.com/33cn/chain33/common/db"
"github.com/33cn/chain33/common/log/log15"
"github.com/33cn/chain33/types"
"github.com/33cn/chain33/util"
)
var tablelog = log15.New("module", "db.table")
/*
设计表的联查:
我们不可能做到数据库这样强大的功能,但是联查功能几乎是不可能绕过的功能。
table1:
[gameId, status]
... | {
"pile_set_name": "Github"
} |
# By default, a read preference sets no maximum on staleness.
---
topology_description:
type: ReplicaSetNoPrimary
servers:
- &1
address: a:27017
type: RSSecondary
avg_rtt_ms: 50 # Too far.
lastUpdateTime: 0
maxWireVersion: 5
lastWrite: {lastWriteDate: {$numberLong: "1000001"}}
- &2
... | {
"pile_set_name": "Github"
} |
import Vue from 'vue';
import Router from 'vue-router';
import Translate from 'views/Translate';
import Language from 'views/Language';
import Settings from 'views/Settings';
Vue.use(Router);
export default new Router({
routes: [
{
path: '/language',
name: 'language',
component: Language,
... | {
"pile_set_name": "Github"
} |
import { PanGesture } from './pan-gesture';
import { assert, clamp } from '../util/util';
import { Platform } from '../platform/platform';
import { pointerCoord } from '../util/dom';
/**
* @hidden
*/
export class SlideGesture extends PanGesture {
public slide: SlideData = null;
constructor(plt: Platform, elemen... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2016 Linaro Ltd.
* Copyright 2016 ZTE Corporation.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#include <linux/clk.h>
#include <linux/component.h>
#i... | {
"pile_set_name": "Github"
} |
using System;
namespace Heavy.Web.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} | {
"pile_set_name": "Github"
} |
---
title: Share an object via a temporary URL
excerpt: Share an object via a temporary URL
slug: share_an_object_via_a_temporary_url
legacy_guide_number: g2007
---
##
OpenStack Swift allows you to store a large number of files.
To manage them, you need to be authenticated with a token, for each API request. This me... | {
"pile_set_name": "Github"
} |
# Don't touch this folder
uuuuuuuuuuuuuuuuuuuu
u" uuuuuuuuuuuuuuuuuu "u
u" u$$$$$$$$$$$$$$$$$$$$u "u
u" u$$$$$$$$$$$$$$$$$$$$$$$$u "u
u" u$$$$$$$$$$$$$$$$$$$$$$$$$$$$u "u
u" u$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$u "u
u" u$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$... | {
"pile_set_name": "Github"
} |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_CLIENT_CLIENT_STATUS_LOGGER_H_
#define REMOTING_CLIENT_CLIENT_STATUS_LOGGER_H_
#include "base/macros.h"
#include "base/threading/non_thr... | {
"pile_set_name": "Github"
} |
let context;
module.exports = {
setContext(app) {
context = app;
},
get context() {
return context;
}
};
| {
"pile_set_name": "Github"
} |
<%--
APDPlat - Application Product Development Platform
Copyright (c) 2013, 杨尚川, yang-shangchuan@qq.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 the Licen... | {
"pile_set_name": "Github"
} |
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "ILoadingScreenModule.h"
#include "LoadingScreenSettings.h"
#include "SSimpleLoadingScreen.h"
#include "Framework/Application/SlateApplication.h"
#define LOCTEXT_NAMESPACE "LoadingScreen"
class FLoadingScreenModule : public ILoadingScreenModule
{
... | {
"pile_set_name": "Github"
} |
#pragma once
#include "compiler.h"
#include <stdint.h>
#include <sys/types.h>
BEGIN_DECLS
void die(const char* errstr, ...)
__attribute__((noreturn, __format__(__printf__, 1, 2)));
void edie(const char* errstr, ...)
__attribute__((noreturn, __format__(__printf__, 1, 2)));
size_t xread(int fd, void *buf, size_t... | {
"pile_set_name": "Github"
} |
## 最小的K个数
**题目:**
>输入n个整数,找出其中最小的K个数。例如输入4,5,1,6,2,7,3,8这8个数字,则最小的4个数字是1,2,3,4,。
---
### 我的代码
```java
import java.util.*;
public class Solution {
public ArrayList<Integer> GetLeastNumbers_Solution(int [] input, int k) {
ArrayList<Integer> l=new ArrayList<Integer>();
if(k>input.length)
... | {
"pile_set_name": "Github"
} |
AMD
AMDEA
AMT
Acid
Alcohol
Alprazolam
Amines
Aminoketones
Amphetamines
Amphetamines
Antipsychotics
Atomoxetine
Atropine
Atypical antipsychotics
Barbiturates
Benzodiazepines
Betel nut
Bupropion
CBD
Caffeine
Cannabis
Cathinone
Chloral hydrate
Chloroform
Chlorpromazine
Cholinergics
Clozapine
Cocaine
Codeine
DMT
DOM
DXM
De... | {
"pile_set_name": "Github"
} |
$pagination-prefix: ".#{$css-prefix}pagination";
$pagination-item-split: $s1 !default;
$pagination-current-font-size: $font-size-base-body1 !default;
$pagination-total-font-size: $font-size-base-body1 !default;
$pagination-jump-font-size: $font-size-base-body1 !default;
$pagination-ellips... | {
"pile_set_name": "Github"
} |
Starting build on Tue Jul 30 22:30:30 UTC 2019
Using kernel:
Linux version 4.18.0-1024-azure (buildd@lcy01-amd64-006) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #25~18.04.1-Ubuntu SMP Fri Jun 28 23:27:46 UTC 2019
Components downloaded in this VHD build (some of the below components might get deleted during cl... | {
"pile_set_name": "Github"
} |
{
"scriptFile": "main.py",
"bindings": [
{
"type": "httpTrigger",
"direction": "in",
"name": "req"
},
{
"direction": "out",
"name": "msg",
"queueName": "testqueue",
"connection": "AzureWebJobsStorage",
"type": "queue"
},
{
"direction": "out"... | {
"pile_set_name": "Github"
} |
/* Generated by RuntimeBrowser.
*/
@protocol AMSMetricsBagContract <AMSURLBagContract>
@optional
- (AMSBagValue *)metricsDictionary;
- (AMSBagValue *)metricsURL;
- (AMSBagValue *)metricsUrl;
@end
| {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
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"
} |
package Archive::Zip::ZipFileMember;
use strict;
use vars qw( $VERSION @ISA );
BEGIN {
$VERSION = '1.29';
@ISA = qw ( Archive::Zip::FileMember );
}
use Archive::Zip qw(
:CONSTANTS
:ERROR_CODES
:PKZIP_CONSTANTS
:UTILITY_METHODS
);
# Create a new Archive::Zip::ZipFileMember
# given a filename and ... | {
"pile_set_name": "Github"
} |
string
byte array
| {
"pile_set_name": "Github"
} |
import { _n } from '@wordpress/i18n';
/**
* Get post type label.
*
* @param {{key: string, count: number}} typeData Type data.
*
* @return {string} Translated label.
*/
const getPostTypeLabel = ( { key, count } ) => {
return {
course: _n( 'course', 'courses', count, 'sensei-lms' ),
lesson: _n( 'lesson', 'le... | {
"pile_set_name": "Github"
} |
context("Error message")
# This test fails with the CRAN custom clang toolchains.
# The test is automatically removed by the autobrew script
test_that("SyntaxError from V8", {
ctx <- V8::v8()
if(getRversion() < 4)
skip_on_os("mac")
expect_error(ctx$eval('var foo = }bla}'), 'SyntaxError', class = "std::invali... | {
"pile_set_name": "Github"
} |
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the informatio... | {
"pile_set_name": "Github"
} |
package com.fasterxml.jackson.databind.deser.creators;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.*;
/**
* Unit tests for verifying that it is possible to annotate
* various kinds of things with {@link JsonCreator} annotation.
*/
public class TestPolymorphicCreators
exten... | {
"pile_set_name": "Github"
} |
<?php defined('SYSPATH') OR die('No direct access allowed.');
class OAuth2 extends Kohana_OAuth2 {} | {
"pile_set_name": "Github"
} |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | {
"pile_set_name": "Github"
} |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved.
// +-----------------------------------------... | {
"pile_set_name": "Github"
} |
import * as React from 'react';
import { mount } from 'enzyme';
import * as sinon from 'sinon';
import { Toggle } from './Toggle';
import { IToggleProps } from './Toggle.types';
describe('ToggleState', () => {
it('can call the callback on a change of toggle', () => {
let isToggledValue;
const callback = (ev... | {
"pile_set_name": "Github"
} |
/*
* SPDX-License-Identifier: MIT
*
* Copyright © 2018 Intel Corporation
*
* Autogenerated file by GPU Top : https://github.com/rib/gputop
* DO NOT EDIT manually!
*/
#include <linux/sysfs.h>
#include "i915_drv.h"
#include "i915_oa_glk.h"
static const struct i915_oa_reg b_counter_config_test_oa[] = {
{ _MMIO(... | {
"pile_set_name": "Github"
} |
# These are supported funding model platforms
github: robiso
| {
"pile_set_name": "Github"
} |
ol#qunit-tests {
font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
margin:0;
padding:0;
list-style-position:inside;
font-size: smaller;
}
ol#qunit-tests li{
padding:0.4em 0.5em 0.4em 2.5em;
border-bottom:1px solid #fff;
font-size:small;
list-style-positio... | {
"pile_set_name": "Github"
} |
<?php
/**
* Exception for 501 Not Implemented responses
*
* @package Requests
*/
/**
* Exception for 501 Not Implemented responses
*
* @package Requests
*/
class Requests_Exception_HTTP_501 extends Requests_Exception_HTTP {
/**
* HTTP status code
*
* @var integer
*/
protected $code = 501;
/**
* R... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_162) on Fri Sep 13 20:43:34 PDT 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface com.ctc.w... | {
"pile_set_name": "Github"
} |
{
"variants": {
"": {
"model": "appliedenergistics2:block/spatial_io_port"
}
}
}
| {
"pile_set_name": "Github"
} |
module UtilitiesTests
using Test
import Base64: stringmime
import Documenter
import Markdown
module UnitTests
module SubModule end
# Does `submodules` collect *all* the submodules?
module A
module B
module C
module D end
end
end
end
mutabl... | {
"pile_set_name": "Github"
} |
// 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)
//
// *Preprocessed* version of the main "vector.hpp" header
// -- DO NOT modify by hand!
namespace boost { namespac... | {
"pile_set_name": "Github"
} |
USE_MULTI_THREAD=1
LDFLAGS= `pkg-config --libs opencv` -lstdc++ -lopentracker
CXXFLAGS = -Wall -std=c++0x
ifeq ($(USE_MULTI_THREAD), 1)
CXXFLAGS+= -DUSE_MULTI_THREAD
LDFLAGS+= -pthread
endif
all: run_opentracker_example.bin
run_opentracker_example.bin: run_opentracker_example.o
$(CC) -o $@ $^ $(LDFLAGS)
%.o: %.... | {
"pile_set_name": "Github"
} |
library(spData)
library(tmap)
legend_title = expression("Area (km"^2*")")
map_nza = tm_shape(nz) +
tm_fill(col = "Land_area", title = legend_title) + tm_borders()
s1 = map_nza + tm_style("bw") + tm_layout(title = "style: bw")
s2 = map_nza + tm_style("classic") + tm_layout(title = "style: classic")
s3 = map_nza + tm_s... | {
"pile_set_name": "Github"
} |
require 'bloom-filter'
module Jetpants
class Shard
# Runs queries against a slave in the pool to verify sharding key values
def validate_shard_data
tables = Table.from_config('sharded_tables', shard_pool.name)
table_statuses = {}
tables.limited_concurrent_map(8) { |table|
table.shar... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2013 Hannes Janetzek
*
* This file is part of the OpenScienceMap project (http://www.opensciencemap.org).
*
* This program 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 ve... | {
"pile_set_name": "Github"
} |
#include "processor.hpp"
const std::array<ProcessorInfo::Item, 3> ProcessorInfo::info{{
{Processor::None, u"None"_q, u""_q, (int)0},
{Processor::CPU, u"CPU"_q, u""_q, (int)1},
{Processor::GPU, u"GPU"_q, u""_q, (int)2}
}};
| {
"pile_set_name": "Github"
} |
/*
* node_list.c
*
* Created on: Mar 8, 2011
* Author: posixninja
*
* Copyright (c) 2011 Joshua Hill. All Rights Reserved.
*
* 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... | {
"pile_set_name": "Github"
} |
package com.github.kokorin.jaffree.ffprobe.data;
import org.junit.Assert;
import org.junit.Test;
import java.io.InputStream;
import java.util.List;
public class DefaultFormatParserTest {
@Test
public void parse() throws Exception {
Data data = parseResource("ffprobe_streams.out");
Assert.as... | {
"pile_set_name": "Github"
} |
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
service.attlist &= attribute hostalias { xsd:NCName }
service.attlist &= attribute baseport { xsd:unsignedShort }?
service.attlist &= attribute jvmargs { text }?
service.attlist &= attribute jvm-options... | {
"pile_set_name": "Github"
} |
.\" **************************************************************************
.\" * _ _ ____ _
.\" * Project ___| | | | _ \| |
.\" * / __| | | | |_) | |
.\" * | (__| |_| | _ <| |___
.\" * ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2016, Seraphim Sense Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of condi... | {
"pile_set_name": "Github"
} |
VPATH += $$PWD
INCLUDEPATH *= $$PWD $$PWD/..
DEPENDPATH *= $$PWD $$PWD/..
# Input
HEADERS += \
$$PWD/bookmarkmanager.h \
$$PWD/contentwindow.h \
$$PWD/filternamedialog.h \
$$PWD/indexwindow.h \
$$PWD/topicchooser.h
SOURCES += \
$$PWD/bookmarkmanager.cpp \
$$PWD... | {
"pile_set_name": "Github"
} |
// Copyright 2010 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | {
"pile_set_name": "Github"
} |
<?php
/*
* Copyright 2007-2017 Abstrium <contact (at) pydio.com>
* This file is part of Pydio.
*
* Pydio is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | {
"pile_set_name": "Github"
} |
# This file is distributed under the same license as the Django package.
#
# Translators:
# Jannis Leidel <jannis@leidel.info>, 2011.
msgid ""
msgstr ""
"Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-10-15 10:57+0200\n"
"PO-Revision-Date: 2012-02-14 13:49+0000\n"
"Last-Translator: Ja... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.