text stringlengths 2 99.9k | meta dict |
|---|---|
//
// ========================================================================
// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under
// the terms of the Eclipse Public License 2.0 which is available at
// https://www.eclipse.org/leg... | {
"pile_set_name": "Github"
} |
from decimal import Decimal
import pytest
from django_scopes import scopes_disabled
from pretix.base.models import TaxRule
TEST_TAXRULE_RES = {
'name': {'en': 'VAT'},
'rate': '19.00',
'price_includes_tax': True,
'eu_reverse_charge': False,
'home_country': ''
}
@pytest.mark.django_db
def test_ru... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com>
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* 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 ... | {
"pile_set_name": "Github"
} |
// Messages for Yiddish (ייִדיש)
// Exported from translatewiki.net
// Author: פוילישער
"CFBundleDisplayName" = "וויקיפעדיע";
| {
"pile_set_name": "Github"
} |
<a name="1.0.3"></a>
## [1.0.3](https://github.com/darrachequesne/has-binary/compare/1.0.2...1.0.3) (2018-05-14)
### Bug Fixes
* avoid use of global ([#4](https://github.com/darrachequesne/has-binary/issues/4)) ([91aa21e](https://github.com/darrachequesne/has-binary/commit/91aa21e))
<a name="1.0.2"></a>... | {
"pile_set_name": "Github"
} |
open Lwt.Infix
open Sexplib
let read_data fd =
Lwt_unix.fstat fd >>= fun stats ->
let size = stats.Lwt_unix.st_size in
let buf = Bytes.create size in
let rec read start =
let len = size - start in
Lwt_unix.read fd buf start len >>= function
| x when x = len -> Lwt.return buf
| x -> read (start ... | {
"pile_set_name": "Github"
} |
/*!
* humanize-byte - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/
'use strict';
/**
* Module dependencies.
*/
var bytes = require('bytes');
module.exports = function (size) {
if (typeof size === 'number') {
return size;
}
return bytes(size);
}
| {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright 2012-2019 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... | {
"pile_set_name": "Github"
} |
/**
* oEmbed Plugin plugin
* Licensed under the MIT license
* jQuery Embed Plugin: http://code.google.com/p/jquery-oembed/ (MIT License)
* Plugin for: http://ckeditor.com/license (GPL/LGPL/MPL: http://ckeditor.com/license)
*/
(function() {
CKEDITOR.plugins.add('oembed', {
icons: 'oembed',
... | {
"pile_set_name": "Github"
} |
let uid = 0
/**
* A dep is an observable that can have multiple
* directives subscribing to it.
*
* @constructor
*/
export default function Dep () {
this.id = uid++
this.subs = []
}
// the current target watcher being evaluated.
// this is globally unique because there could be only one
// watcher being eva... | {
"pile_set_name": "Github"
} |
package container
import (
"errors"
"fmt"
"path/filepath"
"github.com/docker/swarmkit/api"
)
func validateMounts(mounts []api.Mount) error {
for _, mount := range mounts {
// Target must always be absolute
if !filepath.IsAbs(mount.Target) {
return fmt.Errorf("invalid mount target, must be an absolute pat... | {
"pile_set_name": "Github"
} |
// numeral.js locale configuration
// locale : polish (pl)
// author : Dominik Bulaj : https://github.com/dominikbulaj
(function (global, factory) {
if (typeof define === 'function' && define.amd) {
define(['../numeral'], factory);
} else if (typeof module === 'object' && module.exports) {
fact... | {
"pile_set_name": "Github"
} |
/**
* PS Move API - An interface for the PS Move Motion Controller
* Copyright (c) 2012 Thomas Perl <m@thp.io>
* 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 o... | {
"pile_set_name": "Github"
} |
(function () {
var mainApp = angular.module("mainApp", ["ui.router", "LocalStorageModule"]);
mainApp.config(["$stateProvider", "$urlRouterProvider", "$locationProvider",
function ($stateProvider, $urlRouterProvider, $locationProvider) {
$urlRouterProvider.otherwise("/unauthorized");
... | {
"pile_set_name": "Github"
} |
# Locally computed
sha256 dd254beb0bafc695d0f62ae1a222ff85b52dbaa3a16f76e781dce22d0d20a4a6 3.3.4.tar.bz2
sha256 4f877e5ae4672568ef82cfd0023e2cef4a7cf55d867ab249efc9569a7eb9e5b1 COPYING.BSD
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.GPL
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64... | {
"pile_set_name": "Github"
} |
/*-----------------------------------------------------------------------------+
Copyright (c) 2010-2010: Joachim Faulhaber
+------------------------------------------------------------------------------+
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENCE.txt or copy at
... | {
"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 (C) 2014-2017 Xavier Witdouck
*
* 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"
} |
//===- MCELFStreamer.h - MCStreamer ELF Object File Interface ---*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | {
"pile_set_name": "Github"
} |
/**
* An interface to define a replacement rule for CustomReplace plugin
*/
export default interface Replacement {
/**
* Source string to replace from
*/
sourceString: string;
/**
* HTML string to replace to
*/
replacementHTML: string;
/**
* Whether the matching should b... | {
"pile_set_name": "Github"
} |
800 -1 0 1.495 0.0
801 -1 0 1.495 0.0
802 -1 0 1.5 0.0
803 -1 0 1.5 0.0
804 -1 0 1.505 0.0
805 -1 0 1.505 0.0
806 -1 0 1.51 0.0
807 -1 0 1.51 0.0
808 -1 0 1.515 0.0
809 -1 0 1.515 0.0
810 -1 0 1.52 0.0
811 -1 0 1.52 0.0
812 -1 0 1.525 0.0
813 -1 0 1.525 0.0
814 -1 0 1.53 0.0
815 -1 0 1.53 0.0
816 -1 0 1.535 0.0
817 -1 ... | {
"pile_set_name": "Github"
} |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: peer/proposal.proto
package peer
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a com... | {
"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 aix
package terminal
import "golang.org/x/sys/unix"
const ioctlReadTermios = unix.TCGETS
const ioctlWriteTermios = unix.TCSETS
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="copyright">Авторські права © 2015 – 2019 Міхаель Фарел</string>
<string name="license">Ліцензія</string>
<string name="title_activity_license">Ліцензії з відкритим сирцевим кодом</string>
<string name="directions">Прикладіть картку.</strin... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <common.h>
#include <linux/compiler.h>
#include <linux/kernel.h>
#include <linux/log2.h>
#include <asm/arcregs.h>
#include <asm/cache.h>
/* Bit values in IC_CTRL */
#define IC_CTR... | {
"pile_set_name": "Github"
} |
<h1><%= t(".header") %></h1>
<%= monologue_admin_form_for [:admin, @user], method: :put do |user| %>
<%= render :partial => 'form', :locals => { :user => user } %>
<%= user.submit t(".save"), class: "btn btn-large btn-primary" %>
<% end %> | {
"pile_set_name": "Github"
} |
---
tags: [ecosystem]
---
# Systems Programming
## Number Types
* [ocplib-endian](https://github.com/OCamlPro/ocplib-endian):
Read and write all sizes of integers, both big and little endian, from [Bigarrays](bigarray.md), strings and bytes.
* [Bytes](https://caml.inria.fr/pub/docs/manual-ocaml/libref/Bytes.html):
T... | {
"pile_set_name": "Github"
} |
<!doctype html>
<title>CodeMirror: Shell mode</title>
<meta charset="utf-8"/>
<link rel=stylesheet href="../../doc/docs.css">
<link rel=stylesheet href=../../lib/codemirror.css>
<script src=../../lib/codemirror.js></script>
<script src="../../addon/edit/matchbrackets.js"></script>
<script src=shell.js></script>
<styl... | {
"pile_set_name": "Github"
} |
#include <algorithm>
#include <vector>
#include "test_framework/generic_test.h"
#include "test_framework/test_failure.h"
#include "test_framework/timed_executor.h"
using std::vector;
vector<int> GrayCode(int num_bits) {
// TODO - you fill in here.
return {};
}
bool DiffersByOneBit(int x, int y) {
int bit_differ... | {
"pile_set_name": "Github"
} |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &100000
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 3
m_Component:
- 4: {fileID: 400000}
- 33: {fileID: 3300000}
- 23: {fileID: 2300000}
m_Layer: 0
m_Name: Orc Bracers
... | {
"pile_set_name": "Github"
} |
# CONFIG_32BIT is not set
CONFIG_64BIT=y
CONFIG_64BIT_PHYS_ADDR=y
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
CONFIG_ARCH_DISCARD_MEMBLOCK=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
CONFIG_... | {
"pile_set_name": "Github"
} |
/*
****************************************************************************
* (C) 2003 - Rolf Neugebauer - Intel Research Cambridge
* (C) 2005 - Grzegorz Milos - Intel Research Cambridge
****************************************************************************
*
* File: mm.c
* Author: Rolf Ne... | {
"pile_set_name": "Github"
} |
// Windows/ErrorMsg.h
#ifndef __WINDOWS_ERROR_MSG_H
#define __WINDOWS_ERROR_MSG_H
#include "../Common/MyString.h"
namespace NWindows {
namespace NError {
UString MyFormatMessage(DWORD errorCode);
}}
#endif
| {
"pile_set_name": "Github"
} |
class AppDelegate: UIResponder, UIApplicationDelegate {
var managedObjectModel: NSManagedObjectModel {
if !_managedObjectModel {
let modelURL = NSBundle.mainBundle().URLForResource("AstronomyPicture", withExtension: "momd")
_managedObjectModel = NSManagedObjectModel(contentsOfURL: mo... | {
"pile_set_name": "Github"
} |
#
# Module providing the `Pool` class for managing a process pool
#
# multiprocessing/pool.py
#
# Copyright (c) 2006-2008, R Oudkerk
# Licensed to PSF under a Contributor Agreement.
#
__all__ = ['Pool', 'ThreadPool']
#
# Imports
#
import threading
import queue
import itertools
import collections
import os
import tim... | {
"pile_set_name": "Github"
} |
#ifndef ULTRALCD_H
#define ULTRALCD_H
#include "Marlin.h"
#ifdef ULTRA_LCD
void lcd_update();
void lcd_init();
void lcd_setstatus(const char* message);
void lcd_setstatuspgm(const char* message);
void lcd_setalertstatuspgm(const char* message);
void lcd_reset_alert_level();
#ifdef DOGLCD
extern int lc... | {
"pile_set_name": "Github"
} |
#pragma once
#include "../../ThirdParty/OpenSource/tinyimageformat/tinyimageformat_base.h"
#include "../../ThirdParty/OpenSource/tinyimageformat/tinyimageformat_apis.h"
inline void utils_caps_builder(Renderer* pRenderer)
{
pRenderer->pCapBits = (GPUCapBits*)tf_calloc(1, sizeof(GPUCapBits));
for (uint32_t i = 0; i ... | {
"pile_set_name": "Github"
} |
---
title: "Flashing ntrboot (Custom Firmware)"
---
Before proceeding, ensure you have read all of the information on [ntrboot](ntrboot)
Note that the flashcart will not be able to be used for its standard functions while the ntrboot exploit is installed on it (except for in the case of the Acekard 2i, which remains ... | {
"pile_set_name": "Github"
} |
class BrewPip < Formula
desc "Install pip packages as homebrew formulas"
homepage "https://github.com/hanxue/brew-pip"
url "https://github.com/hanxue/brew-pip/archive/0.4.1.tar.gz"
sha256 "9049a6db97188560404d8ecad2a7ade72a4be4338d5241097d3e3e8e215cda28"
def install
bin.install "bin/brew-pip"
end
end
| {
"pile_set_name": "Github"
} |
import { IDataSet } from '../../src/base/engine';
import { pivot_dataset, pivot_nodata } from '../base/datasource.spec';
import { PivotView } from '../../src/pivotview/base/pivotview';
import { createElement, remove, EmitType, EventHandler, extend } from '@syncfusion/ej2-base';
import { GroupingBar } from '../../src/co... | {
"pile_set_name": "Github"
} |
package org.netbeans.gradle.project.api.task;
import java.util.Set;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import org.netbeans.gradle.project.api.config.ProfileDef;
/**
* Defines a query which defines the commands for the
* {@link org.netbeans.spi.pr... | {
"pile_set_name": "Github"
} |
/*jslint onevar: false*/
/*globals sinon buster*/
/**
* @author Christian Johansen (christian@cjohansen.no)
* @license BSD
*
* Copyright (c) 2010-2012 Christian Johansen
*/
"use strict";
if (typeof require == "function" && typeof module == "object") {
var buster = require("../runner");
var sinon = require... | {
"pile_set_name": "Github"
} |
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings
CREATE TABLE t1(c1 BIT NULL);
SHOW TABLES;
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABL... | {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='utf-8'?>
<document xmlns="https://code.dccouncil.us/schemas/dc-library" xmlns:codified="https://code.dccouncil.us/schemas/codified" xmlns:codify="https://code.dccouncil.us/schemas/codify" xmlns:xi="http://www.w3.org/2001/XInclude" id="D.C. Law 19-112">
<num type="law">19-112</num>
<hea... | {
"pile_set_name": "Github"
} |
require "fileutils"
module PolicyManager
class JsonExporterView
attr_accessor :template, :folder, :assigns
def initialize(vars={}, options)
self.folder = options[:folder]
self.assigns = options[:assigns]
@template = options.fetch(:template) #, self.class.template)
return self
end... | {
"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 u... | {
"pile_set_name": "Github"
} |
:toc:
:toclevels: 2
= Buhtrap Indicators of Compromise
== 0-day campaign
The blog post about this campaign is available on WeLiveSecurity at
https://www.welivesecurity.com/2019/07/11/buhtrap-zero-day-espionage-campaigns/
=== ESET detection names
- VBA/TrojanDropper.Agent.ABM
- VBA/TrojanDropper.Agent.AGK
- Win32/... | {
"pile_set_name": "Github"
} |
#' kpArrows
#'
#' @description
#'
#' Plots segments at the specified genomic positions.
#'
#' @details
#'
#' This is one of the functions from karyoploteR implementing the adaptation to the genome
#' context of basic plot functions from R base graphics.
#' Given a set of positions on the genome (chr... | {
"pile_set_name": "Github"
} |
{{fbdoc item="title" value="STDCALL"}}----
Specifies a //stdcall//-style calling convention in a procedure declaration
{{fbdoc item="syntax"}}##
[[KeyPgSub|Sub]] //name// **Stdcall** [[[KeyPgOverload|Overload]]] [[[KeyPgAlias|Alias]] //"""alias"""//] ( //parameters// )
[[KeyPgFunction|Function]] //name// **Stdcall**... | {
"pile_set_name": "Github"
} |
export {
"PolyhedralObject",
-- Cone object with associated methods:
"Cone",
"coneFromVData",
"coneFromRays" => "coneFromVData",
"coneFromHData",
"coneFromInequalities" => "coneFromHData",
-- Polyhedron object with associated methods:
"Polyhedron",
"convexHull",
"polyhedron",
"polyh... | {
"pile_set_name": "Github"
} |
// +build windows
package main
import (
"fmt"
"log"
"os"
ole "github.com/go-ole/go-ole"
"github.com/go-ole/go-ole/oleutil"
)
func writeExample(excel, workbooks *ole.IDispatch, filepath string) {
// ref: https://msdn.microsoft.com/zh-tw/library/office/ff198017.aspx
// http://stackoverflow.com/questions/121595... | {
"pile_set_name": "Github"
} |
{
serverName: 'Hexagon Tests',
bindPort: 0,
bindAddress: '0.0.0.0'
}
| {
"pile_set_name": "Github"
} |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.9.5_A8_T2;
* @section: 11.9.5, 11.9.6;
* @assertion: If Type(x) is different from Type(y), return true;
* @description: x or y is primitive number;
*/
//CHECK#1... | {
"pile_set_name": "Github"
} |
package com.example.sample_android.reducer;
import com.example.sample_android.action.Check;
import com.example.sample_android.state.TodoItem;
import me.tatarka.redux.Reducer;
public class CheckReducer implements Reducer<Check, TodoItem> {
@Override
public TodoItem reduce(Check action, TodoItem item) {
... | {
"pile_set_name": "Github"
} |
#include <cstdint>
#include <limits>
#include <immintrin.h>
#ifdef _OPENMP
#include <omp.h>
#endif
#include <fbgemm/QuantUtils.h>
namespace caffe2 {
namespace internal {
template <typename T>
void SpatialBNNHWCAVX2(
const int N,
const int C,
const int HxW,
const int in_zero_point,
const int ou... | {
"pile_set_name": "Github"
} |
###### What is a brain?
# Cerebral organoids are becoming more brainlike

> print-edition iconPrint edition | Science and technology | Aug 31st 2019
AT WHAT POINT does a mass of nerve cells growing in a laboratory Petri dish become a brain? That question was first raised ser... | {
"pile_set_name": "Github"
} |
package com.clarkparsia.pellet.datatypes;
import static java.lang.String.format;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.List;
import java.util... | {
"pile_set_name": "Github"
} |
Swag.addHelper 'add', (value, addition) ->
value = parseFloat value
addition = parseFloat addition
value + addition
, ['number', 'number']
Swag.addHelper 'subtract', (value, substraction) ->
value = parseFloat value
substraction = parseFloat substraction
value - substraction
, ['number', 'numbe... | {
"pile_set_name": "Github"
} |
Test-SHA1.C
EXE = $(FOAM_USER_APPBIN)/Test-SHA1
| {
"pile_set_name": "Github"
} |
#!/bin/expect
spawn /opt/fsayskeyboard
expect "background handler\r"
send -- "q"
expect -exact "\[q\]\r"
send -- "q"
expect -exact "\[q\]\r" | {
"pile_set_name": "Github"
} |
# atomic [![GoDoc][doc-img]][doc] [![Build Status][ci-img]][ci] [![Coverage Status][cov-img]][cov] [![Go Report Card][reportcard-img]][reportcard]
Simple wrappers for primitive types to enforce atomic access.
## Installation
`go get -u go.uber.org/atomic`
## Usage
The standard library's `sync/atomic` is powerful, bu... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>RPT Test Suite</title>
</head>
<body>
<a href="#navskip">skip to banner content</a>
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<h3... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: a05da8718a0b346c294864926755369d
NativeFormatImporter:
userData:
assetBundleName:
| {
"pile_set_name": "Github"
} |
namespace TestStack.BDDfy
{
public class AndWhenAttribute : ExecutableAttribute
{
public AndWhenAttribute() : this(null) { }
public AndWhenAttribute(string stepTitle) : base(ExecutionOrder.ConsecutiveTransition, stepTitle) { }
}
} | {
"pile_set_name": "Github"
} |
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
name: hiveconfigs.hive.openshift.io
spec:
group: hive.openshift.io
names:
kind: HiveConfig
listKind: HiveConfigList
plural: hiveconfigs
singular: hiveconfig
scope: Cluster
subresources:
... | {
"pile_set_name": "Github"
} |
% Test file for operator .^
% Matlab version: 7.9.0.529 (R2009b)
% TEST 1
res1 = [].^'a';
% TEST 2
res2 = m2sciUnknownType([]).^'a';
% TEST 3
res3 = m2sciUnknownDims([]).^'a';
% TEST 4
res4 = [1].^'a';
% TEST 5
res5 = [1,2,3;4,5,6;7,8,0].^'a';
% TEST 6
res6 = m2sciUnknownType([1]).^'a';
% TEST 7
res7 = m2sciUnknownTyp... | {
"pile_set_name": "Github"
} |
package cc.mallet.classify;
import java.util.logging.Logger;
import cc.mallet.fst.TransducerEvaluator;
import cc.mallet.fst.TransducerTrainer;
import cc.mallet.optimize.Optimizable;
import cc.mallet.types.InstanceList;
import cc.mallet.util.MalletLogger;
public abstract class ClassifierEvaluator
{
private static ... | {
"pile_set_name": "Github"
} |
--TEST--
DOMDocument::createEntityReference() should create a new entity reference node
--CREDITS--
Knut Urdalen <knut@php.net>
#PHPTestFest2009 Norway 2009-06-09 \o/
--SKIPIF--
<?php
require_once dirname(__FILE__) .'/skipif.inc';
?>
--FILE--
<?php
$dom = new DOMDocument('1.0');
$ref = $dom->createEntityReference('nbsp... | {
"pile_set_name": "Github"
} |
using DigitalRune.Graphics;
using DigitalRune.Mathematics.Algebra;
using DigitalRune.Mathematics.Statistics;
using DigitalRune.Particles;
using DigitalRune.Particles.Effectors;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
namespace Samples.Particles
{
// A particle system that dra... | {
"pile_set_name": "Github"
} |
<!--
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////... | {
"pile_set_name": "Github"
} |
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package pragma provides types that can be embedded into a struct to
// statically enforce or prevent certain language properties.
package pragma
import "syn... | {
"pile_set_name": "Github"
} |
{
"texture": {
"blur": true
}
}
| {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
- http://creativecommons.org/publicdomain/zero/1.0/ -->
<html>
<body>
<div style="display: flex;">
<div style="display: table-column;"></div>
abc
</div>
</body>
</html>
| {
"pile_set_name": "Github"
} |
struct tmp
{
long long int pad : 12;
long long int field : 52;
};
struct tmp2
{
long long int field : 52;
long long int pad : 12;
};
struct tmp3
{
long long int pad : 11;
long long int field : 53;
};
struct tmp4
{
long long int field : 53;
long long int pad : 11;
};
struct tmp
sub (struct tmp tmp)
{... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
class PHPUnit_Framework_InvalidCoversTargetException extends PHPUnit_Framework_CodeCoverage... | {
"pile_set_name": "Github"
} |
#!/usr/bin/python
"""
Author : Ms.ambari
contact : ambari.developer@gmail.com
Github : https://github.com/Ranginang67
my youtube channel : Ms.ambari
subcribe my youtube Channel to learn ethical Hacking ^_^
"""
import sys
import os.path
import subprocess
ntfile = ['.module', 'lib']... | {
"pile_set_name": "Github"
} |
.class public Landroid/support/design/widget/FloatingActionButton$Behavior;
.super Landroid/support/design/widget/CoordinatorLayout$Behavior;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/design/widget/FloatingActionButton;
.end annotation
.annotation system Ldalvik... | {
"pile_set_name": "Github"
} |
/*
* (c) Copyright 2018 Palantir Technologies Inc. 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 ... | {
"pile_set_name": "Github"
} |
.TH AIRBASE-NG 8 "October 2014" "Version 1.2-rc1"
.SH NAME
airbase-ng - multi-purpose tool aimed at attacking clients as opposed to the Access Point (AP) itself
.SH SYNOPSIS
.B airbase-ng
[options] <interface name>
.SH DESCRIPTION
.BI airbase-ng
is multi-purpose tool aimed at attacking clients as opposed to the Access... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
* Author: Rob Clark <rob.clark@linaro.org>
*/
#include <linux/dma-mapping.h>
#include <linux/seq_file.h>
#include <linux/shmem_fs.h>
#include <linux/spinlock.h>
#include <linux/pfn_t.h>
#include <dr... | {
"pile_set_name": "Github"
} |
interactions:
- request:
body: !!python/unicode '{}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['2']
Content-Type: [application/json]
User-Agent: [python-requests/2.18.4]
method: GET
uri: https://ap... | {
"pile_set_name": "Github"
} |
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
using SixLabors.ImageSharp.Processing;
namespace SixLabors.ImageSharp
{
/// <summary>
/// Adds extensions that allow the processing of images to the <see cref="Image{TPixel}"/> type.
/// </summary>
public sta... | {
"pile_set_name": "Github"
} |
These tests are brought to you by the letter `q'.
When you start the test, you should see:
You have the following choices:
1 - Reset the struct termios
2 - Look at the current termios setting
3 - Change the line characteristics
4 - Test canonical input
5 - Test raw input
9 - Exit
Enter you... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platf... | {
"pile_set_name": "Github"
} |
The pattern "(null)" does not match the hostname domain.com
The pattern "example.com domain.com" matches the hostname domain.com
The pattern "example.com other.com" does not match the hostname domain.com
The pattern "example.com,domain.com" matches the hostname domain.com
The pattern "example.com,domain.com" does not m... | {
"pile_set_name": "Github"
} |
package v1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s_customize_controller/pkg/apis/bolingcavalry"
)
var SchemeGroupVersion = schema.GroupVersion{
Group: bolingcavalry.GroupName,
Version: bolingcavalry.Version,
}
var... | {
"pile_set_name": "Github"
} |
/*
Copyright 2014 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"
} |
using AvalonStudio.Extensibility.Templating;
using AvalonStudio.MVVM;
using ReactiveUI;
using System.Globalization;
namespace AvalonStudio.Controls.Standard.SolutionExplorer
{
class TemplateParameterViewModel : ViewModel
{
private ITemplateParameter _inner;
private string _value;
publ... | {
"pile_set_name": "Github"
} |
// Code generated by smithy-go-codegen DO NOT EDIT.
package sesv2
import (
"context"
awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware"
"github.com/aws/aws-sdk-go-v2/aws/retry"
"github.com/aws/aws-sdk-go-v2/aws/signer/v4"
smithy "github.com/awslabs/smithy-go"
"github.com/awslabs/smithy-go/middleware"
... | {
"pile_set_name": "Github"
} |
var Variable = this.$el.find("#Variable").val().toUpperCase();
var IndexStart = GetInputConstructorValue("IndexStart", loader);
var IndexEnd = GetInputConstructorValue("IndexEnd", loader);
var VariableNewList = this.$el.find("#VariableNewList").val().toUpperCase();
if(IndexEnd["original"].length == 0)
{
Invalid("In... | {
"pile_set_name": "Github"
} |
package procfs
import (
"fmt"
"os"
"path"
)
// FS represents the pseudo-filesystem proc, which provides an interface to
// kernel data structures.
type FS string
// DefaultMountPoint is the common mount point of the proc filesystem.
const DefaultMountPoint = "/proc"
// NewFS returns a new FS mounted under the gi... | {
"pile_set_name": "Github"
} |
//*******************************************************
//
// Delphi DataSnap Framework
//
// Copyright(c) 1995-2012 Embarcadero Technologies, Inc.
//
//*******************************************************
unit DSRESTConnection;
{$IFDEF FPC}
{$mode DELPHI}
{$IFNDEF WINDOWS}
{$modeswitch objectivec2... | {
"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"
} |
{
"abc": "edf",
"json": "crab",
"ololo": [
1,
2,
3
],
"subcrab": {
"name": "crab",
"surname": "subcrab"
}
}
| {
"pile_set_name": "Github"
} |
/**
* flow
*/
'use strict';
class TestDataService {
getAll() {
return [
{
"id":"2172517",
"observation":{
"location":"Canberra",
"forecast":"Clouds",
"feelsLike":10,
"current":17,
"low":11,
"high":17,
"icon":"10d"
... | {
"pile_set_name": "Github"
} |
let COLORS = [
"#e6194b", // red
"#3cb44b", // green
"#ffe119", // yellow
"#0082c8", // blue
"#f58231", // orange
"#911eb4", // purple
"#46f0f0", // cyan
"#f032e6", // magenta
"#d2f53c", // lime
"#fabebe", // pink
"#008080", // teal
"#e6beff", // lavender
"#aa6e28", // brown
"#f... | {
"pile_set_name": "Github"
} |
{
"name": "ipaddr.js",
"version": "1.4.0",
"homepage": "https://github.com/whitequark/ipaddr.js",
"authors": [
"whitequark <whitequark@whitequark.org>"
],
"description": "IP address manipulation library in JavaScript (CoffeeScript, actually)",
"main": "lib/ipaddr.js",
"moduleType": [
"globals",
... | {
"pile_set_name": "Github"
} |
mars.tensor.nanmin
==================
.. currentmodule:: mars.tensor
.. autofunction:: nanmin | {
"pile_set_name": "Github"
} |
//
// BFShippingViewController.h
// OpenShop
//
// Created by Petr Škorňok on 23.01.16.
// Copyright © 2016 Business-Factory. All rights reserved.
//
#import "BFTableViewController.h"
@class BFDeliveryInfo, BFCartDelivery, BFCartPayment, BFOrderFormViewController;
@protocol BFPaymentViewControllerDelegate;
NS_A... | {
"pile_set_name": "Github"
} |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"da manh\u00e3",
"da tarde"
],
"DAY": [
"do... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.