text stringlengths 2 99.9k | meta dict |
|---|---|
package;
import flixel.FlxGame;
import openfl.display.Sprite;
class Main extends Sprite
{
public function new()
{
super();
addChild(new FlxGame(640, 480, MenuState));
}
}
| {
"pile_set_name": "Github"
} |
var SelfSignedCertificate = require("vertx-js/self_signed_certificate");
var certificate = SelfSignedCertificate.create();
var serverOptions = {
"ssl" : true,
"keyCertOptions" : certificate.keyCertOptions()
};
vertx.createHttpServer(serverOptions).requestHandler(function (req) {
console.log("Got request " + re... | {
"pile_set_name": "Github"
} |
# Be sure to restart your server when you modify this file.
#
# This file contains settings for ActionController::ParamsWrapper which
# is enabled by default.
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
ActiveSupport.on_load(:action_controller) do
wrap_parameters ... | {
"pile_set_name": "Github"
} |
#include <iostream>
#include <ctime>
// This is the main module of Eigen providing dense matrix and vector support (both fixed and dynamic size) with all the features corresponding to a BLAS library and much more
#include <Eigen/Core>
// #include "Core" "LU" "Cholesky" QR" "SVD" "Geometry" "Eigenvalues"
#include <Eig... | {
"pile_set_name": "Github"
} |
using Quaver.Shared.Database.Playlists;
using Quaver.Shared.Graphics;
namespace Quaver.Shared.Screens.Selection.UI.Playlists.Dialogs
{
public class ExportPlaylistDialog : LoadingDialog
{
public ExportPlaylistDialog(Playlist playlist) : base("Export Playlist",
"Please wait while your playlis... | {
"pile_set_name": "Github"
} |
// Libraries
import Vue from 'vue'
// Components
import VDivider from '../VDivider'
// Utilities
import {
createLocalVue,
mount,
Wrapper,
} from '@vue/test-utils'
describe('VDivider', () => {
let mountFunction: (options?: object) => Wrapper<Vue>
let localVue: typeof Vue
beforeEach(() => {
localVue =... | {
"pile_set_name": "Github"
} |
//
// Disposables.swift
// RxSwift
//
// Created by Mohsen Ramezanpoor on 01/08/2016.
// Copyright © 2016 Krunoslav Zaher. All rights reserved.
//
/// A collection of utility methods for common disposable operations.
public struct Disposables {
private init() {}
}
| {
"pile_set_name": "Github"
} |
{% load sitetree %}
<div id="page-contents">
<h1>{% sitetree_page_title from "main" %} </h1>
<ul>
{% for article in articles %}
<li><a href="{% url 'demo:articles-detailed' article.id %}">{{ article.title }}</a></li>
{% endfor %}
</ul>
</div>
<hr>
<h2>Site structure</h2>
{% sitetree_tre... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) DIGITEO - 2012 - Allan CORNET
*
* Copyright (C) 2012 - 2016 - Scilab Enterprises
*
* This file is hereby licensed under the terms of the GNU GPL v2.0,
* pursuant to article 5.3.4 of the ... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "CDStructures.h"
@protocol NSUserInterfaceValidations
- (BOOL)validateUserInterfaceItem:(id <NSValidatedUserInterfaceItem>)arg1;
@end
| {
"pile_set_name": "Github"
} |
'use strict';
var defaults = require('./core.defaults');
var helpers = require('../helpers/index');
var layouts = require('./core.layouts');
module.exports = {
// Scale registration object. Extensions can register new scale types (such as log or DB scales) and then
// use the new chart options to grab the correct s... | {
"pile_set_name": "Github"
} |
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2007 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the L... | {
"pile_set_name": "Github"
} |
"""Test N2 GUI with multiple models using Pyppeteer."""
import asyncio
import pyppeteer
import subprocess
import unittest
import os
try:
from parameterized import parameterized
except ImportError:
from openmdao.utils.assert_utils import SkipParameterized as parameterized
# set DEBUG to True if you want to vie... | {
"pile_set_name": "Github"
} |
---
title: Sesiones y colas
ms.date: 03/30/2017
ms.assetid: 47d7c5c2-1e6f-4619-8003-a0ff67dcfbd6
ms.openlocfilehash: 425135b533b898cbc75464f50ce8a5e8f6550755
ms.sourcegitcommit: cdb295dd1db589ce5169ac9ff096f01fd0c2da9d
ms.translationtype: MT
ms.contentlocale: es-ES
ms.lasthandoff: 06/09/2020
ms.locfileid: "84584173"
--... | {
"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_201) on Fri Oct 25 17:25:33 PDT 2019 -->
<title>Types.BinaryType (iceberg 0.7.0-incubating API)</title>
<meta name="date" content="2019-10-25">... | {
"pile_set_name": "Github"
} |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "tree/node/node.h"
#include "tree/node/printers.h"
#include "tree/math/math_f.h"
#include "util/switches.h"
// Non-recursively clone a node.
Node* clone_node(Node* n)
{
// Allocate memory and copy everything over
Node* clone = malloc(sizeof(... | {
"pile_set_name": "Github"
} |
package azblob
import (
"context"
"io"
"net/url"
"github.com/Azure/azure-pipeline-go/pipeline"
)
const (
// AppendBlobMaxAppendBlockBytes indicates the maximum number of bytes that can be sent in a call to AppendBlock.
AppendBlobMaxAppendBlockBytes = 4 * 1024 * 1024 // 4MB
// AppendBlobMaxBlocks indicates th... | {
"pile_set_name": "Github"
} |
var Tags = GetInputConstructorValue("Tags", loader);
var Key = GetInputConstructorValue("Key", loader);
var Save = this.$el.find("#Save").val().toUpperCase();
if(Tags["original"].length == 0)
{
Invalid("Tags are empty");
return;
}
try{
var code = loader.GetAdditionalData() + _.template($("#get_fingerprint_code... | {
"pile_set_name": "Github"
} |
ZLIB_1.2.0 {
global:
compressBound;
deflateBound;
inflateBack;
inflateBackEnd;
inflateBackInit_;
inflateCopy;
local:
deflate_copyright;
inflate_copyright;
inflate_fast;
inflate_table;
zcalloc;
zcfree;
z_errmsg;
gz_error;
gz_intmax;
_*;
};
ZLIB_1.2.0.2... | {
"pile_set_name": "Github"
} |
# Korean message translation file for plpgsql
# Copyright (C) 2010 PostgreSQL Global Development Group
# This file is distributed under the same license as the PostgreSQL package.
# Ioseph Kim <ioseph@uri.sarang.net>, 2010
msgid ""
msgstr ""
"Project-Id-Version: plpgsql (PostgreSQL) 10\n"
"Report-Msgid-Bugs-To: pgsql-... | {
"pile_set_name": "Github"
} |
/*
* clock2430.c - OMAP2430-specific clock integration code
*
* Copyright (C) 2005-2008 Texas Instruments, Inc.
* Copyright (C) 2004-2010 Nokia Corporation
*
* Contacts:
* Richard Woodruff <r-woodruff2@ti.com>
* Paul Walmsley
*
* Based on earlier work by Tuukka Tikkanen, Tony Lindgren,
* Gordon McNutt and Ri... | {
"pile_set_name": "Github"
} |
<?php
//Negative offset
$dom = new DomDocument();
$comment = $dom->createComment('test-comment');
try {
$comment->insertData(-1,'-inserted');
} catch (DOMException $e ) {
if ($e->getMessage() == 'Index Size Error'){
echo "Throws DOMException for -ve offset\n";
}
}
?>
| {
"pile_set_name": "Github"
} |
4 Projekte und Ressourcen
=========================
Projekte und Ressourcen
~~~~~~~~~~~~~~~~~~~~~~~
Das Projektfenster
^^^^^^^^^^^^^^^^^^
Das Projektfenster dient dazu, die Projekte und Karten des Arbeitsplatzes aufzulisten. Jedes Projekt
kann mehrere Karten und darin Daten (Ressourcen) besitzen. Projekte sinde die ... | {
"pile_set_name": "Github"
} |
StartChar: uni051B
Encoding: 1307 1307 1989
Width: 522
VWidth: 0
Flags: HMW
LayerCount: 3
Fore
SplineSet
410 392 m 0
424 392 429 402 436 417 c 0
437 418 440 421 443 421 c 0
449 421 459 416 459 411 c 0
459 398 447 352 447 295 c 2
447 -220 l 2
447 -247 479 -252 499 -258 c 0
510 -262 522 -266 522 -276 c 0
522 -284... | {
"pile_set_name": "Github"
} |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { CompileDirectiveMetadata, CompileDirectiveSummary, CompilePipeSummary, CssSelector, Node as HtmlAst, ParseEr... | {
"pile_set_name": "Github"
} |
// Copyright 2017 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | {
"pile_set_name": "Github"
} |
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Matt Thomas <matt@3am-software.com>.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... | {
"pile_set_name": "Github"
} |
package org.geogebra.desktop.euclidian.event;
/**
* interface to merge MouseEventD and Mouse3DEvent
*
* @author mathieu
*
*/
public interface MouseEventND {
/**
*
* @return component where the event occurred
*/
public java.awt.Component getComponent();
public boolean isMiddleClick();
... | {
"pile_set_name": "Github"
} |
/// \file
/// \ingroup tutorial_graphics
/// \notebook
/// An example how to display PS, EPS, PDF files in canvas.
/// To load a PS file in a TCanvas, the ghostscript program needs to be install.
/// - On most unix systems it is installed by default.
/// - On Windows it has to be installed from http://pages.cs.wisc.edu... | {
"pile_set_name": "Github"
} |
<Solution>
<PropertyGroup Name="HelloJavascript" Version="2.1.0.0" Type="CocosStudio" />
<SolutionFolder>
<Group ctype="ResourceGroup">
<RootFolder Name=".">
<Project Name="MainScene.csd" />
<Image Name="HelloWorld.png" />
</RootFolder>
</Group>
</SolutionFolder>
</Solution>
| {
"pile_set_name": "Github"
} |
package Q7_01_Deck_of_Cards;
import java.util.ArrayList;
import CtCILibrary.AssortedMethods;
public class Deck <T extends Card> {
private ArrayList<T> cards;
private int dealtIndex = 0; // marks first undealt card
public Deck() {
}
public void setDeckOfCards(ArrayList<T> deckOfCards) {
cards... | {
"pile_set_name": "Github"
} |
<template>
<view class="content">
<view class="cropper-wrapper" :style="{ height: cropperOpt.height + 'px' }">
<canvas
class="cropper"
:disable-scroll="true"
@touchstart="touchStart"
@touchmove="touchMove"
@touchend="touchEnd"
:style="{ width: cropperOpt.width, height: cropperOpt.height, b... | {
"pile_set_name": "Github"
} |
module github.com/apuigsech/seekret
go 1.13
require (
github.com/apuigsech/seekret v0.0.0-20161231092511-9b1f7ea1b3fd
github.com/apuigsech/seekret-source-dir v0.0.0-20161101151956-464d81254a35
github.com/apuigsech/seekret-source-git v0.0.0-20191113160547-6cc674ca4101
github.com/codahale/blake2 v0.0.0-201509242151... | {
"pile_set_name": "Github"
} |
<?php
/*
* Copyright 2005,2008 WSO2, Inc. http://wso2.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright 2014 gRPC 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 agree... | {
"pile_set_name": "Github"
} |
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [GetResponseBodyResponse](./puppeteer.protocol.network.getresponsebodyresponse.md)
## P... | {
"pile_set_name": "Github"
} |
// (C) Copyright John Maddock 2007.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// This file is machine generated, do not edit by hand
// Polynomial evaluation ... | {
"pile_set_name": "Github"
} |
/* via_irq.c
*
* Copyright 2004 BEAM Ltd.
* Copyright 2002 Tungsten Graphics, Inc.
* Copyright 2005 Thomas Hellstrom.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the ... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2010 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'exe',
'type': 'executable',
'sources': [
'main.c',
],
},
],
}
| {
"pile_set_name": "Github"
} |
{
"name": "Corporation Service Company (UK) Ltd",
"displayName": "Service Company (UK)",
"properties": [
"v9banners.com"
]
} | {
"pile_set_name": "Github"
} |
---
changelog:
last_modified_at:
tag: []
title: Caching Homebrew installers
redirect_from: []
description: ''
menu:
caching:
weight: 9
---
{% include not_translated_yet.html %}
The **Brew install** Step supports caching: if the option is enabled, any downloaded brew installers will be cached from the location... | {
"pile_set_name": "Github"
} |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
/*
Gherkin mode - http://www.cukes.info/
Report bugs/issues here: https://github.com/codemirror/CodeMirror/issues
*/
// Following Objs from Brackets implementation: https://github.com/tregust... | {
"pile_set_name": "Github"
} |
lf
lf
lf
lf
lf
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
* with the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" fil... | {
"pile_set_name": "Github"
} |
.size 8000
.text@48
ld a, ff
ldff(45), a
jp lstatint
.text@100
jp lbegin
.text@150
lbegin:
ld a, ff
ldff(45), a
ld b, 03
call lwaitly_b
ld a, 40
ldff(41), a
ld a, 02
ldff(ff), a
ei
ld a, b
inc a
inc a
ldff(45), a
ld c, 41
.text@1000
lstatint:
xor a, a
ldff(c), a
ldff(0f), a
.text@10a0
ldff(c)... | {
"pile_set_name": "Github"
} |
<benchmark>
<entries>
<entry category="Airport" eid="Id1" size="3">
<originaltripleset>
<otriple>Abilene_Regional_Airport | cityServed | Abilene,_Texas</otriple>
<otriple>Abilene,_Texas | isPartOf | Taylor_County,_Texas</otriple>
<otriple>Abilene,_Texas | country | United_States</otr... | {
"pile_set_name": "Github"
} |
cases:
- data:
a:
- 1
- 2
- 3
- 4
b:
v1: hello
v2: goodbye
c:
- x:
- true
- false
- foo
"y":
- null
- 3.14159
z:
p: true
q: false
d:
e:
- bar
- baz
f:
- xs:
- 1
ys:
- 2
... | {
"pile_set_name": "Github"
} |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | {
"pile_set_name": "Github"
} |
INIT Init
NEXT Next
| {
"pile_set_name": "Github"
} |
@import '../../scss/global/variables';
.footer {
background: $light-blue;
font-size: $scaledown-1;
padding: $scaleup-4 0;
a {
color: $slate-80;
&:hover {
color: $primary;
}
}
ul {
display: flex;
justify-content: center;
@media (max-width: $width-mobile) {
flex-wrap: ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac" />
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<e... | {
"pile_set_name": "Github"
} |
#ifndef __RVL_MPIFO
#define __RVL_MPIFO
#ifdef IWAVE_USE_MPI
#include "mpidatatransfer.hh"
#endif
#include "local.hh"
namespace RVL {
/** Mixin asserting ability to broadcast internal data.
*/
class MPISynchRoot {
public:
/** initialization of internal data */
virtual void set() = 0;
/** synch... | {
"pile_set_name": "Github"
} |
# Define the environment for cross compiling from Linux to Win32
SET(CMAKE_SYSTEM_NAME Windows) # Target system name
SET(CMAKE_SYSTEM_VERSION 1)
SET(CMAKE_C_COMPILER "x86_64-w64-mingw32-gcc")
SET(CMAKE_CXX_COMPILER "x86_64-w64-mingw32-g++")
SET(CMAKE_RC_COMPILER "x86_64-w64-mingw32-windres")
SET(CMAKE_RANLI... | {
"pile_set_name": "Github"
} |
#===============================================================================
# Copyright 2017-2018 Intel Corporation
#
# 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.apa... | {
"pile_set_name": "Github"
} |
# dwains_theme
- type: markdown
content: >
This is a person addon. It can also parse some data from the global persons config.
Don't believe it? Here it is: {{ (data | fromjson)['some_data'] }}<br>
{{ (data | fromjson)['some_other_data'] }} | {
"pile_set_name": "Github"
} |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var GetLeft = require('../../bounds/GetLeft');
var GetTop = require('../../bounds/GetTop');
var SetBottom = require('../../bounds/SetBottom');
v... | {
"pile_set_name": "Github"
} |
log4j.rootLogger=WARN,stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%t] %c - %m - %r %n | {
"pile_set_name": "Github"
} |
package cn.yiiguxing.plugin.translate.ui.settings
import javax.swing.JComponent
/**
* ConfigurablePanel
*
*/
interface ConfigurablePanel {
val component: JComponent
val isModified: Boolean
fun reset()
fun apply()
}
| {
"pile_set_name": "Github"
} |
#pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)]
[assembly: AssemblyFileVersion(Sys... | {
"pile_set_name": "Github"
} |
/*
* NAND flash driver for the MikroTik RouterBoard 4xx series
*
* Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
* Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
*
* This file was based on the driver for Linux 2.6.22 published by
* MikroTik for their RouterBoard 4xx series devices.
*
* This... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2011-2020 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
/*
*
* AUTO GENERATED FROM IDL! DO NOT EDIT! (source : temp.bgfx.idl.inl)
*
* More info about IDL:
* https://gist.github.com/bkaradzic/05a1c86a6dd57bf86e2d828878e88dc2#bgfx-is-s... | {
"pile_set_name": "Github"
} |
ALTER TABLE agent
DROP CONSTRAINT agent_entity_fk,
ADD CONSTRAINT agent_entity_fk
FOREIGN KEY (entity_id) REFERENCES entity(id) ON DELETE CASCADE;
DO $$
BEGIN
IF EXISTS(SELECT 1 from pg_constraint where conname = 'agent_role_agent_kf')
THEN
ALTER TABLE agent_role
DROP CONSTRAINT agent_role_agen... | {
"pile_set_name": "Github"
} |
package org.tvrenamer.view;
import org.eclipse.swt.graphics.Image;
import org.tvrenamer.model.util.Constants;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
public class ItemState {
private final Image image;
private final String ordering;
private ItemState(String ordering, String... | {
"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"
} |
version https://git-lfs.github.com/spec/v1
oid sha256:13978955646b0f49def575fb731377cc80033839b3f3f94c2743d2dde200029f
size 8318
| {
"pile_set_name": "Github"
} |
/* (c) 2019 Open Source Geospatial Foundation - all rights reserved
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.api;
import static org.geoserver.ows.util.ResponseUtils.buildURL;
import java.util.ArrayList;
import java.util.Arrays;
impo... | {
"pile_set_name": "Github"
} |
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["health.go"],
importpath = "google.golang.org/grpc/health",
visibility = ["//visibility:public"],
deps = [
"//codes:go_default_library",
"//health/grpc_health_v1:go_default_library"... | {
"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"
} |
# The Great Computer Language Shootout
# http://shootout.alioth.debian.org/
#
# Contributed by Peter Bjarke Olsen
# Modified by Doug King
# Adapted for the Ruby Benchmark Suite.
def revcomp(seq)
seq.reverse!.tr!('wsatugcyrkmbdhvnATUGCYRKMBDHVN','WSTAACGRYMKVHDBNTAACGRYMKVHDBN')
stringlen = seq.length
0.step(stri... | {
"pile_set_name": "Github"
} |
///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documen... | {
"pile_set_name": "Github"
} |
class <%= class_name %> < ActiveRecord::Migration
def self.up
create_table :<%= session_table_name %> do |t|
t.column :session_id, :string
t.column :data, :text
t.column :updated_at, :datetime
end
add_index :<%= session_table_name %>, :session_id
add_index :<%= session_table_name %>... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2009 The Android Open Source Project
//
// 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 ... | {
"pile_set_name": "Github"
} |
// bbldc_terminatedbasicdaycountadapter.cpp -*-C++-*-
#include <bbldc_terminatedbasicdaycountadapter.h>
#include <bsls_ident.h>
BSLS_IDENT_RCSID(bbldc_terminatedbasicdaycountadapter_cpp,"$Id$ $CSID$")
namespace BloombergLP {
namespace bbldc {
} // close package namespace
} // close enterp... | {
"pile_set_name": "Github"
} |
/*
* Copyright Andrey Semashev 2007 - 2015.
* 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)
*/
/*!
* \file keywords/scan_method.hpp
* \author Andrey Semashev
* \date 30.06.2... | {
"pile_set_name": "Github"
} |
---
title: ERC721 NFTとの後方互換性
actions: ['答え合わせ', 'ヒント']
requireLogin: true
material:
editor:
language: sol
startingCode:
"ZombieCard.sol": |
pragma solidity ^0.4.25;
import "./ERC721XToken.sol";
import "./Ownable.sol";
contract ZombieCard is ERC721XToken {
m... | {
"pile_set_name": "Github"
} |
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
echo "BAR tests"
echo
bar=0
while [ $bar -lt 6 ]
do
pcitest -b $bar
bar=`expr $bar + 1`
done
echo
echo "Interrupt tests"
echo
pcitest -i 0
pcitest -l
pcitest -i 1
msi=1
while [ $msi -lt 33 ]
do
pcitest -m $msi
msi=`expr $msi + 1`
done
echo
pcitest -... | {
"pile_set_name": "Github"
} |
<?php
namespace Digitick\Sepa\Tests\Unit\Util;
use Digitick\Sepa\Util\StringHelper;
use PHPUnit\Framework\TestCase;
/**
* Unit test for StringHelper
*/
class StringHelperTest extends TestCase
{
/**
* Tests german character translation
*/
public function testGermanCharacters(): void
{
... | {
"pile_set_name": "Github"
} |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercia... | {
"pile_set_name": "Github"
} |
package com.github.steveice10.mc.protocol.packet.ingame.server.entity;
import com.github.steveice10.mc.protocol.data.game.entity.metadata.EntityMetadata;
import com.github.steveice10.packetlib.io.NetInput;
import com.github.steveice10.packetlib.io.NetOutput;
import com.github.steveice10.packetlib.packet.Packet;
import... | {
"pile_set_name": "Github"
} |
package jsoniter
import (
"unicode/utf8"
)
// htmlSafeSet holds the value true if the ASCII character with the given
// array position can be safely represented inside a JSON string, embedded
// inside of HTML <script> tags, without any additional escaping.
//
// All values are true except for the ASCII control char... | {
"pile_set_name": "Github"
} |
<section id="video-player">
<h2 class="page-header">Video Player Icons</h2>
<div class="row fontawesome-icon-list">
{% assign icons_video_player = icons | expand_aliases | category:"Video Player Icons" | sort_by:'class' %}
{% for icon in icons_video_player %}
<div class="fa-hover col-md-3 col-sm-4">... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>
org.gradle.nativebinaries
</TITLE>
<META NAME="keywords" CONTENT="org/gradle/nativebinaries package">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
</H... | {
"pile_set_name": "Github"
} |
LIBRARY remoting_host_plugin
EXPORTS
NP_GetEntryPoints
NP_Initialize
NP_Shutdown
| {
"pile_set_name": "Github"
} |
package zendesk.belvedere;
import android.net.Uri;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
imp... | {
"pile_set_name": "Github"
} |
; RUN: llc < %s -march=xcore | FileCheck %s
declare void @g()
declare i8* @llvm.stacksave() nounwind
declare void @llvm.stackrestore(i8*) nounwind
define void @f(i32** %p, i32 %size) {
allocas:
%0 = call i8* @llvm.stacksave()
%a = alloca i32, i32 %size
store i32* %a, i32** %p
call void @g()
call void @llvm.... | {
"pile_set_name": "Github"
} |
{
"NOTICE_WARN": "THIS CODE HAS BEEN AUTOMATICALLY GENERATED FROM TRANSIFEX, IF YOU WISH TO HELP TRANSLATION COME ON THE SLACK http://slack.btcpayserver.org TO REQUEST PERMISSION TO https://www.transifex.com/btcpayserver/btcpayserver/",
"code": "sv",
"currentLanguage": "Svenska",
"lang": "Språk",
"Awaiting Pa... | {
"pile_set_name": "Github"
} |
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/)
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apa... | {
"pile_set_name": "Github"
} |
<template>
<div>
<p class="pull-right">
<el-button type="text"
@click="changeStateForAll(1)">
{{ trans('roles.allow all') }}
</el-button>
<el-button type="text"
:disabled="isRole"
@click=... | {
"pile_set_name": "Github"
} |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
var... | {
"pile_set_name": "Github"
} |
using UnityEngine;
namespace ScriptableObjectArchitecture
{
[System.Serializable]
[CreateAssetMenu(
fileName = "CharGameEvent.asset",
menuName = SOArchitecture_Utility.ADVANCED_GAME_EVENT + "char",
order = SOArchitecture_Utility.ASSET_MENU_ORDER_EVENTS + 7)]
public sealed ... | {
"pile_set_name": "Github"
} |
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1... | {
"pile_set_name": "Github"
} |
{{/*
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, software
distributed under the License ... | {
"pile_set_name": "Github"
} |
# Sweden - Edane
[CHANNEL]
DELIVERY_SYSTEM = DVBT
FREQUENCY = 578000000
BANDWIDTH_HZ = 8000000
| {
"pile_set_name": "Github"
} |
"use strict";
var nebulas = require("nebulas"),
Account = nebulas.Account,
Utils = nebulas.Utils,
neb = new nebulas.Neb(),
globalParams = {
account: null
},
validateTab2 = uiBlock.validate("#tab2"),
validateTab3 = uiBlock.validate("#tab3");
neb.setRequest(new nebulas.HttpRequest(l... | {
"pile_set_name": "Github"
} |
#version 450
layout(binding = 0) uniform sampler2D uImage;
layout(location = 0) in vec4 v0;
layout(location = 0) out vec4 FragColor;
void main()
{
int i = 0;
float phi;
vec4 _36;
phi = 1.0;
_36 = vec4(1.0, 2.0, 1.0, 2.0);
for (;;)
{
FragColor = _36;
if (i < 4)
{
... | {
"pile_set_name": "Github"
} |
/*
Copyright (c) 2013-2014 EasyDarwin.ORG. All rights reserved.
Github: https://github.com/EasyDarwin
WEChat: EasyDarwin
Website: http://www.easydarwin.org
Author: Gavin@easydarwin.org
*/
#ifndef __FF_DECODER_API_H__
#define __FF_DECODER_API_H__
#include <windows.h>
#include <stdlib.h>
#include <... | {
"pile_set_name": "Github"
} |
arithmetic ops
computeFunction: operator of: num
| op |
op := operator choice.
op = 'e ^'
ifTrue: [ op := 'exp' ].
op = '10 ^'
ifTrue: [ op := 'exp10' ].
^ generator
computeFunction: op asSymbol
of: [ num argString: parser ] | {
"pile_set_name": "Github"
} |
// @@@ START COPYRIGHT @@@
//
// 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... | {
"pile_set_name": "Github"
} |
var fs = require('graceful-fs')
var test = require('tap').test
var path = require('path')
var writeStream = require('../index.js')
var rename = fs.rename
fs.rename = function (from, to, cb) {
setTimeout(function () {
rename(from, to, cb)
}, 100)
}
test('basic', function (t) {
// open 10 write s... | {
"pile_set_name": "Github"
} |
import { withSnackbar, WithSnackbarProps } from 'notistack';
import { RouteComponentProps } from 'react-router';
import { PanelContext } from 'lib/PanelContext';
import * as moment from 'moment';
import * as React from 'react';
import { Ptorx } from 'types/ptorx';
import { api } from 'lib/api';
import {
FormControlLa... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.