text stringlengths 2 99.9k | meta dict |
|---|---|
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Loader;
use Symfony\Component\Dep... | {
"pile_set_name": "Github"
} |
#ifndef __LIBXML_WIN32_CONFIG__
#define __LIBXML_WIN32_CONFIG__
#define HAVE_CTYPE_H
#define HAVE_STDARG_H
#define HAVE_MALLOC_H
#define HAVE_ERRNO_H
#define SEND_ARG2_CAST
#define GETHOSTBYNAME_ARG_CAST
#if defined(_WIN32_WCE)
#undef HAVE_ERRNO_H
#include <windows.h>
#include "wincecompat.h"
#else
#define HAVE_SYS_S... | {
"pile_set_name": "Github"
} |
<!-- ================================================ -->
<!-- Adempiere Patch Builder -->
<!-- ================================================ -->
<!-- $Header: /cvs/adempiere/utils_dev/build_patch_template.xml -->
<project name="adempiere" default="complete" basedir="../">
<description>... | {
"pile_set_name": "Github"
} |
""" Module implementing the Condition Augmentation """
import torch as th
class ConditionAugmentor(th.nn.Module):
""" Perform conditioning augmentation
from the paper -> https://arxiv.org/abs/1710.10916 (StackGAN++)
uses the reparameterization trick from VAE paper.
"""
def __init__(self,... | {
"pile_set_name": "Github"
} |
export default function(ref) {
return {
methods: {
focus() {
this.$refs[ref].focus();
}
}
};
};
| {
"pile_set_name": "Github"
} |
%verify "executed"
%include "mips/binopLit8.S" {"instr":"div zero, a0, a1; mflo a0", "chkzero":"1"}
| {
"pile_set_name": "Github"
} |
/*
* uDig - User Friendly Desktop Internet GIS client
* http://udig.refractions.net
* (C) 2012, Refractions Research Inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* (http://www.eclipse.org/legal/epl-v10.h... | {
"pile_set_name": "Github"
} |
<!ELEMENT gridbag (row)*>
<!ELEMENT row (cell)*>
<!ELEMENT cell (bean)>
<!ATTLIST cell gridx CDATA #IMPLIED>
<!ATTLIST cell gridy CDATA #IMPLIED>
<!ATTLIST cell gridwidth CDATA "1">
<!ATTLIST cell gridheight CDATA "1">
<!ATTLIST cell weightx CDATA "0">
<!ATTLIST cell weighty CDATA "0">
<!ATTLIST cell fill (NON... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <Foundation/NSObject.h>
@class NSString;
@interface VSCacheUpdateRequest : NSObject
{
NSString *_modelID;
NSString *_classID;
}
- (id)description;
- (id)coalesced... | {
"pile_set_name": "Github"
} |
// Copyright 2018 Istio 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 a... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: cde85928c63ecd34d8a93b358f9bec68
timeCreated: 1474757106
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
<!doctype html>
<html>
<head>
<title>Dropdown Filter with Images List | jPList - jQuery Data Grid Controls</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- font libs -->
<link href="http://fonts.googleapis.com/css?family=Lato" rel="stylesh... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../libc/type.c_char.html">
</head>
<body>
<p>Redirecting to <a href="../../../../libc/type.c_char.html">../../../../libc/type.c_char.html</a>...</p>
<script>location.replace("../../../../libc/type.c_char.html" + locat... | {
"pile_set_name": "Github"
} |
XML error: missing security model when using multiple labels
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\..\HelloWorld\Helloworld.cpp" />
</ItemGroup>
</Project>
| {
"pile_set_name": "Github"
} |
// @flow
import { getPlayer } from 'shared/reducers/game';
import { getCurGame } from '../reducers/cur-game';
import { getCurUser } from '../reducers/cur-user';
import type { UserId, User, GameId } from 'shared/types/state';
import type {
ActionId,
JoinGameAction,
Action,
ThunkAction,
Dispatch,
GetState,
... | {
"pile_set_name": "Github"
} |
{
"type": "bundle",
"id": "bundle--c65924a0-8769-4eeb-8dc7-bf5cfaccf856",
"spec_version": "2.0",
"objects": [
{
"id": "relationship--82e1ab81-89f9-4d96-87fd-69d04c6710f3",
"created_by_ref": "identity--c78cb6e5-0c4b-4611-8297-d1b8b55e40b5",
"description": "[Dra... | {
"pile_set_name": "Github"
} |
<?php
declare(strict_types=1);
namespace Oneup\UploaderBundle\Tests\Uploader\Naming;
use Oneup\UploaderBundle\Uploader\File\FilesystemFile;
use Oneup\UploaderBundle\Uploader\Naming\UniqidNamer;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
class UniqidNamerTest extends TestCase
{
... | {
"pile_set_name": "Github"
} |
# stof
* string[meta header]
* std[meta namespace]
* function[meta id-type]
* cpp11[meta cpp]
```cpp
namespace std {
float stof(const std::string& str, std::size_t* idx = nullptr); // (1)
float stof(const std::wstring& str, std::size_t* idx = nullptr); // (2)
}
```
## 概要
文字列`str`を数値として読み取って、`float`型の値に変換する。
##... | {
"pile_set_name": "Github"
} |
title: 微信公众号《五溪》专业技术类文章聚合
date: 2018-06-02 17:27:12
tags: 随想
---
## 2018
- [stdin and stdout which it's ?](https://mp.weixin.qq.com/s/2oeDG1B2Dtl5sDxTsLhWtg)
- [搭建 Private NPM](https://mp.weixin.qq.com/s/pBHSs2s3exylfDD-wt9p-g)
- [Go HTTP](https://mp.weixin.qq.com/s/DfBvuFbv92Nx4dCQIX90Og)
- [Go JSON](https://mp.weix... | {
"pile_set_name": "Github"
} |
// Generated by CoffeeScript 1.9.3
var Rule, StyleSheet;
Rule = require('./Rule');
module.exports = StyleSheet = (function() {
var self;
self = StyleSheet;
function StyleSheet() {
this._rulesBySelector = {};
}
StyleSheet.prototype.setRule = function(selector, styles) {
var key, val;
if (typeo... | {
"pile_set_name": "Github"
} |
import scala.language.experimental.macros
import scala.reflect.macros.blackbox.Context
object Macros {
def impl(c: Context) = {
c.universe.reify { implicitly[SourceLocation] }
}
implicit def sourceLocation: SourceLocation1 = macro impl
}
trait SourceLocation {
/** Source location of the outermost call */... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:background="@color/norm_grey... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
namespace Composite.Core.Extensions
{
internal static class DictionaryExtensionMethods
{
public static TValue GetOrAdd<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, Fu... | {
"pile_set_name": "Github"
} |
/******************************************************************************
* Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistribution... | {
"pile_set_name": "Github"
} |
\documentclass{article}
\usepackage[fancyhdr,pdf]{latex2man}
\input{common.tex}
\begin{document}
\begin{Name}{3}{unw\_init\_local}{David Mosberger-Tang}{Programming Library}{unw\_init\_local}unw\_init\_local -- initialize cursor for local unwinding
\end{Name}
\section{Synopsis}
\File{\#include $<$libunwind.h$>$}\\... | {
"pile_set_name": "Github"
} |
## go-httpclient
**requires Go 1.1+** as of `v0.4.0` the API has been completely re-written for Go 1.1 (for a Go
1.0.x compatible release see [1adef50](https://github.com/mreiferson/go-httpclient/tree/1adef50))
[](http://travis-ci... | {
"pile_set_name": "Github"
} |
//
// MessagePack for C++ static resolution routine
//
// Copyright (C) 2016 KONDO Takatoshi
//
// 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 MSGPACK_V2_DEFINE_DECL_HPP
#define MSGPACK_V2_DE... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2012 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 contribut... | {
"pile_set_name": "Github"
} |
using System;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
namespace Xamarin.Forms.Controls.Issues
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Github, 9962, "NSException thrown when calling NSColor.ControlBackground.ToColor()", PlatformAffected.macOS)]
public class Issue9962 : TestC... | {
"pile_set_name": "Github"
} |
################################################################
## Test verifies "assert" commands, in following configurations:
#
# 1. verify assert_eq command
# 2. verify assert_ne command
# 3. verify assert_gt command
# 4. verify assert_ge command
# 5. verify assert command with equal operator (==)
# 6. verify ass... | {
"pile_set_name": "Github"
} |
import * as React from 'react'
import { SemanticShorthandCollection, SemanticVERTICALALIGNMENTS } from '../../generic'
import { TableCellProps } from './TableCell'
export interface TableRowProps extends StrictTableRowProps {
[key: string]: any
}
export interface StrictTableRowProps {
/** An element type to rende... | {
"pile_set_name": "Github"
} |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | {
"pile_set_name": "Github"
} |
pass in from 10.0.0.1 to <regress> label "$srcaddr:$dstaddr"
| {
"pile_set_name": "Github"
} |
/* Licensed under GPLv2+ - see LICENSE file for details */
#include <ccan/opt/opt.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <stdarg.h>
#include <stdint.h>
#include "private.h"
struct opt_table *opt_table;
unsigned int opt_count, opt_num_short, opt_num... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>Mongoose v5.6.0: </title><link rel="apple-touch-icon" sizes="57x57" href="images/favicon/apple-icon-57x57.png"><link rel="apple-touch-icon" sizes="... | {
"pile_set_name": "Github"
} |
if isActive:
if not self.repository.retractWithinIsland.value:
locationEnclosureIndex = self.getSmallestEnclosureIndex(location.dropAxis())
if locationEnclosureIndex != self.getSmallestEnclosureIndex(self.oldLocation.dropAxis()):
return None
locationMinusOld = location - self.oldLocation
... | {
"pile_set_name": "Github"
} |
import { renderHook, cleanup } from '@testing-library/react-hooks';
import useGeolocation from '../dist/useGeolocation';
import GeoLocationApiMock, { watchPositionSpy } from './mocks/GeoLocationApi.mock';
describe('useGeolocation', () => {
before(() => {
window.navigator.geolocation = GeoLocationApiMock;
});
... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>幻灯管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel='stylesheet' type='text/css' href='__PUBLIC_... | {
"pile_set_name": "Github"
} |
ints = [1, 2, 3]
floats = [1.1, 2.1, 3.1]
strings = ["a", "b", "c"]
dates = [
1987-07-05T17:45:00Z,
1979-05-27T07:32:00Z,
2006-06-01T11:00:00Z,
]
comments = [
1,
2, #this is ok
]
| {
"pile_set_name": "Github"
} |
/* Area: closure_call
Purpose: Check return value float.
Limitations: none.
PR: none.
Originator: <andreast@gcc.gnu.org> 20030828 */
/* { dg-do run } */
#include "ffitest.h"
static void cls_ret_float_fn(ffi_cif* cif __UNUSED__, void* resp, void** args,
void* userdata __UNUSED__)
{
*(float *)... | {
"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><link rel="apple-touch-icon" sizes="180x180" href="/glide/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/glide/favicon-32x32.png"><link rel="icon" ... | {
"pile_set_name": "Github"
} |
/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */
/* Javad Mowlanezhad -- jmowla@gmail.com */
/* Jalali calendar should supported soon! (Its implemented but I have to test it) */
jQuery(function($) {
$.datepicker.regional['fa'] = {
closeText: 'بستن',
prevText: '<قبلي',
nextText: 'بعدي... | {
"pile_set_name": "Github"
} |
package semver
import (
"fmt"
"strconv"
"strings"
"unicode"
)
type wildcardType int
const (
noneWildcard wildcardType = iota
majorWildcard wildcardType = 1
minorWildcard wildcardType = 2
patchWildcard wildcardType = 3
)
func wildcardTypefromInt(i int) wildcardType {
switch i {
case 1:
return majorWildc... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"pile_set_name": "Github"
} |
package frameless
import org.scalacheck.Prop
import org.scalacheck.Prop.forAll
import org.scalacheck.Prop._
class FlattenTests extends TypedDatasetSuite {
test("simple flatten test") {
val ds: TypedDataset[(Int,Option[Int])] = TypedDataset.create(Seq((1,Option(1))))
ds.flattenOption('_2): TypedDataset[(Int... | {
"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"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>incron: incroncfg.h File Reference</title>
<link href="tabs.css" rel="... | {
"pile_set_name": "Github"
} |
# Code of Conduct
The Laravel Code of Conduct can be found in the [Laravel documentation](https://laravel.com/docs/contributions#code-of-conduct).
| {
"pile_set_name": "Github"
} |
<!doctype html>
<html>
<head>
<title>Amazing Just Cause 4 Easter egg</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="copyright" content="Copyright 2018 Imgur, Inc." />
<meta id="viewport" name="viewport" content="width=728, user-scalable=yes" ... | {
"pile_set_name": "Github"
} |
From fred@bluemail.dk Mon Sep 2 12:14:58 2002
Return-Path: <fred@bluemail.dk>
Delivered-To: zzzz@localhost.example.com
Received: from localhost (localhost [127.0.0.1])
by phobos.labs.example.com (Postfix) with ESMTP id AFD2E43F99
for <zzzz@localhost>; Mon, 2 Sep 2002 07:14:56 -0400 (EDT)
Received: from mail.webnot... | {
"pile_set_name": "Github"
} |
Gotchas Encountered when Applying Kitsune
========================================
This document provides a place to record solutions to tricky problems
that you encounter with *using* kitsune.
driver can't find init symbol
-----------------------------
If you run into this error:
driver: driver.c:168: main: Asse... | {
"pile_set_name": "Github"
} |
// Copyright 2014 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 !linux
package ipv4
const sizeofICMPFilter = 0x0
type icmpFilter struct {
}
func (f *icmpFilter) accept(typ ICMPType) {
}
func (f *icmpFilter) bl... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2005-2012 springside.org.cn
*/
package com.jeespring.common.utils;
import java.io.PrintWriter;
import java.io.StringWriter;
import javax.servlet.http.HttpServletRequest;
/**
* 关于异常的工具类.
*
* @author calvin
* @version 2013-01-15
*/
public class Exceptions {
/**
*... | {
"pile_set_name": "Github"
} |
// Locale support (codecvt) -*- C++ -*-
// Copyright (C) 2000-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Fou... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2008, 2016, Oracle and/or its affiliates.
* All rights reserved. Use is subject to license terms.
*
* This file is available and licensed under the following license:
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followin... | {
"pile_set_name": "Github"
} |
# This source code refers to The Go Authors for copyright purposes.
# The master list of authors is in the main Go distribution,
# visible at http://tip.golang.org/AUTHORS.
| {
"pile_set_name": "Github"
} |
// Copyright (c) 2003 Compaq Corporation. All rights reserved.
// Portions Copyright (c) 2003 Microsoft Corporation. All rights reserved.
package tlc2.util;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.math.BigInteger;
import java.util.Random;
public class BigInt... | {
"pile_set_name": "Github"
} |
tstgtgen
gtgen out=xxxlab1 'tiecnvrt +
geotiff=("ModelTiePointTag=(2,3,0,350807.4,5317081.3,0.0)", +
"ModelTiePointTag=(202,103,0,351807.4,5316081.3,0.0)", +
"ModelTiePointTag=(2,103,0,350807.4,5316081.3,0.0)", +
"GTRasterTypeGeoKey=1(RasterPixelIsArea)")
Beginning VICAR task gtgen
... | {
"pile_set_name": "Github"
} |
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
#
# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
# Foundation, Inc.
# Written by Scott James Remnant, 2004.
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distri... | {
"pile_set_name": "Github"
} |
<?php
/**
* ALIPAY API: alipay.marketing.cdp.advertise.create request
*
* @author auto create
* @since 1.0, 2017-04-01 15:29:02
*/
class AlipayMarketingCdpAdvertiseCreateRequest
{
/**
* 提供给ISV、开发者创建广告的接口,创建广告后投放渠道包括钱包APP,聚牛APP等,投放支持的APP应用
**/
private $bizContent;
private $apiParas = array();
private ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-16"?>
<TestRunConfiguration
id="03845682-d4db-4a01-962a-1a67d70c5d8b"
name="TestRunConfig1" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Description>This is a default test run configuration for a local test run.</Description>
<Timeouts />
<Deploymen... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
| Copyright (c) 2014-2019 libbitcoin-server developers (see COPYING).
|
| GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
|
-->
<packages>
<package id="boost" version="1.57.0.0" targetFramework="Native" />
<package id="boost_atomic-vc120" version="1... | {
"pile_set_name": "Github"
} |
with ada.containers.ordered_sets, ada.text_io;
use ada.text_io;
procedure set_demo is
package cs is new ada.containers.ordered_sets (character); use cs;
function "+" (s : string) return set is
(if s = "" then empty_set else Union(+ s(s'first..s'last - 1), To_Set (s(s'last))));
function "-" (s : Set) return strin... | {
"pile_set_name": "Github"
} |
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="fluentassertions" Version="5.9.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Ve... | {
"pile_set_name": "Github"
} |
from __future__ import division
import onmt
import argparse
import torch
import torch.nn as nn
from torch import cuda
from torch.autograd import Variable
import math
import time
import sys
parser = argparse.ArgumentParser(description='train.py')
## Data options
parser.add_argument('-data', required=True,
... | {
"pile_set_name": "Github"
} |
#pragma omp for schedule(static , 3)
#pragma omp parallel
#pragma omp single
| {
"pile_set_name": "Github"
} |
#!./matrix \
-e do-test -s
!#
;;; Authors: David Beazley <beazley@cs.uchicago.edu>, 1999
;;; Martin Froehlich <MartinFroehlich@ACM.org>, 2000
;;;
;;; PURPOSE OF THIS FILE: This file is an example for how to use the guile
;;; scripting options with a little more than trivial script. Example
;;; derived from... | {
"pile_set_name": "Github"
} |
<?php
use LightnCandy\LightnCandy;
use PHPUnit\Framework\TestCase;
require_once('tests/helpers_for_test.php');
class usageTest extends TestCase
{
/**
* @dataProvider compileProvider
*/
public function testUsedFeature($test)
{
LightnCandy::compile($test['template'], $test['options']);
... | {
"pile_set_name": "Github"
} |
8087
| {
"pile_set_name": "Github"
} |
enable_language(C)
add_library(empty STATIC empty.c)
file(GENERATE
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/test.txt"
CONTENT "[$<TARGET_BUNDLE_DIR:empty>]"
)
| {
"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"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... | {
"pile_set_name": "Github"
} |
package cli
import (
"os"
"strings"
)
// Run parses the gorram command line args and runs the gorram command.
func Run() int {
env := OSEnv{
Args: make([]string, len(os.Args)),
Stderr: os.Stderr,
Stdout: os.Stdout,
Stdin: os.Stdin,
Env: getenv(os.Environ()),
}
copy(env.Args, os.Args)
return Pars... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.Reflection;
using Xamarin.Tests;
namespace Xamarin.MMP.Tests
{
public class NativeReferenceTests {
public const string ItemGroupTemplate = @"<ItemGrou... | {
"pile_set_name": "Github"
} |
import React from 'react';
import { formatName } from '../utils/helpers';
export default function ClaimantView({ formData }) {
const { name, relationshipToVet } = formData.claimant;
let relationship;
switch (relationshipToVet.type) {
case 1:
relationship = 'Service member';
break;
case 2:
... | {
"pile_set_name": "Github"
} |
# Copyright 2016 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"
} |
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*
* @copyright
* Copyright (C) 2004-2010 Alex Gorbatchev.
*
* @lic... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2018, EnMasse authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.enmasse.admin.model.v1;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.enmasse.common.model.DefaultCustomResource;
import io.fabric8.kubernetes.api.... | {
"pile_set_name": "Github"
} |
0 0 -25.0367
0.131622 -0.859071 -0.179196 -0.437678
| {
"pile_set_name": "Github"
} |
syntax = "proto3";
package POGOProtos.Data.Badge;
message GymBadgeStats {
uint64 total_time_defended_ms = 1;
uint32 num_battles_won = 2;
uint32 num_battles_lost = 5;
uint32 num_berries_fed = 3;
uint32 num_deploys = 4;
}
| {
"pile_set_name": "Github"
} |
<resources>
<string name="app_name">sndcpy</string>
<string name="notification_waiting">Waiting for connection…</string>
<string name="notification_forwarding">Audio forwarding enabled</string>
<string name="action_stop">Stop</string>
</resources>
| {
"pile_set_name": "Github"
} |
# frozen_string_literal: false
require 'test/unit'
class TestFuncall < Test::Unit::TestCase
module Relay
def self.target(*args, &block)
yield(*args) if block
end
end
require '-test-/funcall'
def test_with_funcall2
ok = nil
Relay.with_funcall2("feature#4504") {|arg| ok = arg || true}
... | {
"pile_set_name": "Github"
} |
import numpy as np
from numpy.testing import assert_equal, assert_allclose
from scipy.integrate import odeint
import scipy.integrate._test_odeint_banded as banded5x5
def rhs(y, t):
dydt = np.zeros_like(y)
banded5x5.banded5x5(t, y, dydt)
return dydt
def jac(y, t):
n = len(y)
jac = np.zeros((n, n... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2011 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 "net/socket/tcp_server_socket_libevent.h"
#include <errno.h>
#include <fcntl.h>
#include <netdb.h>
#include <sys/socket.h>
#include "build/... | {
"pile_set_name": "Github"
} |
#import "JXCategoryBaseView.h"
#import "JXCategoryIndicatorView.h"
#import "JXCategoryTitleView.h"
#import "JXCategoryImageView.h"
#import "JXCategoryTitleImageView.h"
#import "JXCategoryNumberView.h"
#import "JXCategoryDotView.h"
#import "JXCategoryFactory.h"
#import "JXCategoryIndicatorProtocol.h"
#import "JXCateg... | {
"pile_set_name": "Github"
} |
<component name="libraryTable">
<library name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.8">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.9.8/jackson-datatype-jsr310-2.9.8.jar!/" />
</CLASSES>
<JAVADOC>
<root url... | {
"pile_set_name": "Github"
} |
#region Copyright (C) 2019-2020 Dylech30th. All rights reserved.
// Pixeval - A Strong, Fast and Flexible Pixiv Client
// Copyright (C) 2019-2020 Dylech30th
//
// 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... | {
"pile_set_name": "Github"
} |
ifdef FOO
$(error FOO is not defined!)
endif
FOO = foo
FOOFOUND = false
BARFOUND = false
BAZFOUND = false
ifdef FOO
FOOFOUND = true
else ifdef BAR
BARFOUND = true
else
BAZFOUND = true
endif
BAR2 = bar2
FOO2FOUND = false
BAR2FOUND = false
BAZ2FOUND = false
ifdef FOO2
FOO2FOUND = true
else ifdef BAR2
BAR2FOUND = true... | {
"pile_set_name": "Github"
} |
These are example configurations for the low-cost [Acrylic Prusa I3 pro B 3D Printer DIY kit](http://www.geeetech.com/acrylic-geeetech-prusa-i3-pro-b-3d-printer-diy-kit-p-917.html) and the [3DTouch auto bed leveling sensor](http://www.geeetech.com/geeetech-3dtouch-auto-bed-leveling-sensor-for-3d-printer-p-1010.html) ba... | {
"pile_set_name": "Github"
} |
using BenchmarkDotNet.Attributes;
using Unity;
namespace Performance.Tests
{
public class PreResolved : BasicBase
{
const string name = nameof(PreResolved);
[IterationSetup]
public override void SetupContainer()
{
_container = new UnityContainer().AddExtension(new ... | {
"pile_set_name": "Github"
} |
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | {
"pile_set_name": "Github"
} |
import { ICandidateInterview } from '@gauzy/models';
import { Component, OnDestroy, Input } from '@angular/core';
import { NbDialogRef, NbToastrService } from '@nebular/theme';
import { Subject } from 'rxjs';
import { TranslateService } from '@ngx-translate/core';
import { TranslationBaseComponent } from '../../../lang... | {
"pile_set_name": "Github"
} |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Inventory\Types;
/**
*
* @property boolean $applyTax
* @property string $thirdPartyTaxC... | {
"pile_set_name": "Github"
} |
/*
* Java Genetic Algorithm Library (@__identifier__@).
* Copyright (c) @__year__@ Franz Wilhelmstötter
*
* 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/... | {
"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"
} |
/*
* LibrePCB - Professional EDA for everyone!
* Copyright (C) 2013 LibrePCB Developers, see AUTHORS.md for contributors.
* https://librepcb.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 Fou... | {
"pile_set_name": "Github"
} |
using Shouldly.Tests.Strings;
using Shouldly.Tests.TestHelpers;
using Xunit;
namespace Shouldly.Tests.ShouldContain
{
public class FloatWithToleranceScenario
{
[Fact]
[UseCulture("en-US")]
public void FloatWithToleranceScenarioShouldFail()
{
Verify.ShouldFail(() =>
... | {
"pile_set_name": "Github"
} |
============
gedit 2.30.4
============
New Features and Fixes
======================
- Add mallard snippets (Paul Cutler)
New and updated translations
============================
- ca (Carles Ferrando Garcia)
- cs (Marek Černocký)
- de (Mario Blättermann)
- el (Michael Kotsarinis)
- es (Jorge González)
- fr (Claude ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2012 - Virtual Open Systems and Columbia University
* Author: Christoffer Dall <c.dall@virtualopensystems.com>
*
* 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 Foundati... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2010-2012 VMware and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.