text stringlengths 2 99.9k | meta dict |
|---|---|
package fitnesse.reporting;
import fitnesse.testsystems.*;
public class ExitCodeListener implements TestSystemListener {
private int failCount;
public int getFailCount() {
return failCount;
}
@Override
public void testSystemStarted(TestSystem testSystem) {
}
@Override
public void testOutputChun... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" href='file:///android_asset/jd/post_detail_style.css' type="text/css"/>
<script type="text/javascript" src="read.js"></script>
</head>
<body>
<div id="trick_space"></... | {
"pile_set_name": "Github"
} |
# CPU offloader
# Episode 10 : "Fact"
Welcome to this tenth episode of "CPU offloader", where we implement
the factoring of the outputs from the Continued Fraction algorothm.
The factoring is done in a number of steps.
## fact
The first step is to consider the product of many small primes. For instance
the product o... | {
"pile_set_name": "Github"
} |
//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
//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)
#include <boost/exception/exception.hpp>
| {
"pile_set_name": "Github"
} |
*----------------------------------------------------------------------*
* CLASS lcl_Test DEFINITION
*----------------------------------------------------------------------*
*
*----------------------------------------------------------------------*
CLASS ltcl_test DEFINITION FOR TESTING
DURATION SHORT
RISK LE... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 25 2017 03:49:04).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "TPreviewOptionsGroup.h"
@interface TPreviewOptionsDateGroup : TPreviewOptionsGroup
{
}
+ (id)defaultGroup;
- (struct TString... | {
"pile_set_name": "Github"
} |
# This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
use Mix.Config
# This configuration is loaded before any dependency and is restricted
# to this project. If another project depends on this project, this
# file won't be loaded nor affect the paren... | {
"pile_set_name": "Github"
} |
// Tests classes passed by value, pointer and reference
// Note: C# module has a large runtime test
#pragma SWIG nowarn=SWIGWARN_TYPEMAP_THREAD_UNSAFE,SWIGWARN_TYPEMAP_DIRECTOROUT_PTR
%module(directors="1") director_classes
%feature("director") Base;
%feature("director") Derived;
%include "std_string.i"
%{
#if def... | {
"pile_set_name": "Github"
} |
package com.discovery.grpc;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.bloc... | {
"pile_set_name": "Github"
} |
/*****************************************************************************
Copyright (c) 2014, Intel Corp.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source cod... | {
"pile_set_name": "Github"
} |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
window.CodeMirror = {};
(function() {
"use strict";
function splitLines(string){ return string.split(/\r?\n|\r/); };
function StringStream(string) {
this.pos = this.start = 0;
this.stri... | {
"pile_set_name": "Github"
} |
//
// std_type_info.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Definitions of the std::type_info implementation functions, used for
// Run-Time Type Information (RTTI).
//
#include <vcruntime_internal.h>
#include <vcruntime_string.h>
#include <vcruntime_typeinfo.h>
//#include <undna... | {
"pile_set_name": "Github"
} |
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#ifndef OPENCV_COLOR_MOMENT_HASH_HPP
#define OPENCV_COLOR_MOMENT_HASH_HPP
#include "img_hash_base.hpp"
namespace cv {
names... | {
"pile_set_name": "Github"
} |
# db1104
# candidate master for s8
mariadb::shard: 's8'
mariadb::binlog_format: 'STATEMENT'
| {
"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"
} |
// moment.js locale configuration
// locale : dutch (nl)
// author : Joris Röling : https://github.com/jjupiter
(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['moment'], factory); // AMD
} else if (typeof exports === 'object') {
module.exports = factory(require(... | {
"pile_set_name": "Github"
} |
<HTML
><HEAD
><TITLE
>SDL_GetModState</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="SDL Library Documentation"
HREF="index.html"><LINK
REL="UP"
TITLE="Event Functions."
HREF="eventfunctions.html"><LINK
REL="PREVIOUS"
TITLE="SDL_GetKeyState"
HREF="sdlget... | {
"pile_set_name": "Github"
} |
#include <iostream>
#include "dynet/dynet.h"
#include "dynet/training.h"
#include "dynet/expr.h"
#include "dynet/io.h"
#include "dynet/model.h"
#include "dynet/devices.h"
using namespace std;
using namespace dynet;
int main(int argc, char** argv) {
dynet::initialize(argc, argv);
const unsigned ITERATIONS = 30;
... | {
"pile_set_name": "Github"
} |
import { Component } from '@angular/core';
@Component({
selector: 'demo-tabs-vertical-pills',
templateUrl: './vertical-pills.html'
})
export class DemoTabsVerticalPillsComponent {}
| {
"pile_set_name": "Github"
} |
require 'test_helper'
module Workarea
class InventoryTest < TestCase
def test_finds_total_sales_for_one_sku
create_inventory(id: 'SKU1', purchased: 7)
assert_equal(7, Inventory.total_sales('SKU1'))
end
def test_finds_total_sales_for_a_set_of_skus
create_inventory(id: 'SKU1', purchased:... | {
"pile_set_name": "Github"
} |
#ifndef TESTENGINE_H
#define TESTENGINE_H
#include <QtTest>
class TestEngine : public QObject {
Q_OBJECT
public:
TestEngine();
private:
QString tmpFileName;
private slots:
void initTestCase();
void testGetFinishTime();
void testCurrentSubtitleIndex();
void testGetTimeWithSubtitleOffset();
void clean... | {
"pile_set_name": "Github"
} |
<?php namespace Myth\Auth;
/**
* Sprint
*
* A set of power tools to enhance the CodeIgniter framework and provide consistent workflow.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software... | {
"pile_set_name": "Github"
} |
{hint: save all files to location: C:\android\workspace\AppZBarcodeScannerViewDemo1\jni\ }
library controls; //[by LAMW: Lazarus Android Module Wizard: 3/28/2019 23:26:19]
{$mode delphi}
uses
Classes, SysUtils, And_jni, And_jni_Bridge, AndroidWidget, Laz_And_Controls,
Laz_And_Controls_Events, unit1;
{%reg... | {
"pile_set_name": "Github"
} |
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Waher.Security.ChaChaPoly.Test
{
/// <summary>
/// Tests taken from https://tools.ietf.org/html/rfc8439, retrieved 2019-05-31
/// </summary>
[TestClass]
public class ChaCha20Tests
{
[TestMethod]
public... | {
"pile_set_name": "Github"
} |
package com.tngtech.jgiven.format;
import static org.assertj.core.api.Assertions.assertThat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import com.tngtech.jgiven.exception.JGivenWrongUsageException;
publ... | {
"pile_set_name": "Github"
} |
#include "SourceTermSplitter.hh"
#include "Framework/MethodStrategyProvider.hh"
#include "FluctSplit/FluctSplit.hh"
#include "FluctSplit/FluctuationSplitData.hh"
//////////////////////////////////////////////////////////////////////////////
using namespace std;
using namespace COOLFluiD::Framework;
using namespace CO... | {
"pile_set_name": "Github"
} |
<?php declare(strict_types=1);
/*
* 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.
*/
namespace PHPUnit\Util;
use PHPUnit\Framework\Error\Deprecated;
us... | {
"pile_set_name": "Github"
} |
;===- ./tools/llvm-modextract/LLVMBuild.txt --------------------*- Conf -*--===;
;
; 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"
} |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/install.R
\name{install.SWFTools}
\alias{install.SWFTools}
\alias{install.swftools}
\title{Downloads and installs SWFTools for windows}
\usage{
install.SWFTools(
page_with_download_url = "http://swftools.org/download.html",
...
)
}
\argum... | {
"pile_set_name": "Github"
} |
classdef BT7 < PROBLEM
% <problem> <BT>
% Benchmark MOP with bias feature
%------------------------------- Reference --------------------------------
% H. Li, Q. Zhang, and J. Deng, Biased multiobjective optimization and
% decomposition algorithm, IEEE Transactions on Cybernetics, 2017, 47(1):
% 52-66.
%--------------... | {
"pile_set_name": "Github"
} |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | {
"pile_set_name": "Github"
} |
# Event 4202 - SqlCommandExecute
###### Version: 0
## Description
None
## Data Dictionary
|Standard Name|Field Name|Type|Description|Sample Value|
|---|---|---|---|---|
|TBD|data1|UnicodeString|None|`None`|
|TBD|AppDomain|UnicodeString|None|`None`|
## Tags
* etw_level_Verbose
* etw_keywords_WFInstanceStore
* etw_opc... | {
"pile_set_name": "Github"
} |
"""IETF usage guidelines plugin
See RFC 8407
"""
import optparse
import sys
import re
from pyang import plugin
from pyang import statements
from pyang import error
from pyang.error import err_add
from pyang.plugins import lint
def pyang_plugin_init():
plugin.register_plugin(IETFPlugin())
class IETFPlugin(lint.L... | {
"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... | {
"pile_set_name": "Github"
} |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014-2019 British Columbia Institute of Technology
* Copyright (c) 2019-2020 CodeIgniter Foundation
*
* Permission is hereby granted, free of charge,... | {
"pile_set_name": "Github"
} |
#include <gpd/util/eigen_utils.h>
namespace gpd {
namespace util {
Eigen::Matrix3Xd EigenUtils::sliceMatrix(const Eigen::Matrix3Xd &mat,
const std::vector<int> &indices) {
Eigen::Matrix3Xd mat_out(3, indices.size());
for (int j = 0; j < indices.size(); j++) {
mat_out.... | {
"pile_set_name": "Github"
} |
import { AppProps } from "next/app";
import { hydrate, setup } from "otion";
import * as React from "react";
import options from "../otion.config";
if (typeof window !== "undefined") {
setup(options);
hydrate();
}
export default function MyApp({ Component, pageProps }: AppProps): JSX.Element {
return <Component {... | {
"pile_set_name": "Github"
} |
#!/bin/sh
ENABLED=yes
PROCS=motion
ARGS=""
PREARGS=""
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
. /opt/etc/init.d/rc.func
| {
"pile_set_name": "Github"
} |
namespace Storage.Net
{
/// <summary>
/// Helper syntax for creating instances of storage library objects
/// </summary>
public static class StorageFactory
{
private static readonly IKeyValueStorageFactory _tables = new InternalTablesFactory();
private static readonly IBlobStorageFactory _bl... | {
"pile_set_name": "Github"
} |
module.exports = {
siteMetadata: {
title: "Reflex",
description: "Reflex site",
siteUrl: process.env.SITE_URL || "http://localhost:8000",
},
plugins: [
`@reflexjs/gatsby-theme-base`,
`@reflexjs/gatsby-theme-post`,
`@reflexjs/gatsby-theme-video`,
],
}
| {
"pile_set_name": "Github"
} |
<?php
namespace devilbox;
/**
* @requires devilbox::Logger
*/
class Helper
{
/*********************************************************************************
*
* Statics
*
*********************************************************************************/
/**
* Environmental variables from PHP docker
... | {
"pile_set_name": "Github"
} |
{% extends 'ace_common/edx_ace/common/base_body.html' %}
{% load i18n %}
{% load static %}
{% block content %}
<table width="100%" align="left" border="0" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td>
<h1>
{% trans "Password Reset" as tmsg %}{{ tmsg | force_esca... | {
"pile_set_name": "Github"
} |
// Promise testing support
angular.module('ngMock')
.config(function ($provide) {
$provide.decorator('$q', function ($delegate, $rootScope) {
$delegate.flush = function() {
$rootScope.$digest();
};
// Add callbacks to the promise that expose the resolved value/error
function expos... | {
"pile_set_name": "Github"
} |
namespace Merchello.Tests.IntegrationTests.EntityCollections
{
using System;
using System.Linq;
using Merchello.Core;
using Merchello.Core.EntityCollections;
using Merchello.Core.EntityCollections.Providers;
using Merchello.Core.Models;
using Merchello.Core.Services;
using Merchello.Te... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2016 Álinson Santos Xavier <isoron@gmail.com>
~
~ This file is part of Loop Habit Tracker.
~
~ Loop Habit Tracker is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by the
~... | {
"pile_set_name": "Github"
} |
// Copyright 2019 the V8 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.
//
// Flags: --harmony-top-level-await --harmony-dynamic-import
import * as m1 from 'modules-skip-1-top-level-await-cycle.mjs'
import * as m2 from 'modu... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | {
"pile_set_name": "Github"
} |
error: this operation will always return zero. This is likely not the intended outcome
--> $DIR/erasing_op.rs:6:5
|
LL | x * 0;
| ^^^^^
|
= note: `-D clippy::erasing-op` implied by `-D warnings`
error: this operation will always return zero. This is likely not the intended outcome
--> $DIR/eras... | {
"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"
} |
TET no. 0:
0.0, 0.5, 0.5
0.0, 0.0, 0.0
1.0, 0.0, 0.0
0.0, 1.0, 0.0
TET no. 1:
0.0, 0.5, 0.5
1.0, 0.0, 0.0
0.0, 0.0, 0.0
0.0, 0.0, 1.0
| {
"pile_set_name": "Github"
} |
/**
*
* WARNING! This file was autogenerated by:
* _ _ _ _ __ __
* | | | | | | |\ \ / /
* | | | | |_| | \ V /
* | | | | _ | / \
* | |_| | | | |/ /^\ \
* \___/\_| |_/\/ \/
*
* This file was autogenerated by UnrealHxGenerator using UHT definitions.
* It only includes UPROPERTYs and UFU... | {
"pile_set_name": "Github"
} |
one in two && three in four
one in two &&& three in four
one in two and three in four | {
"pile_set_name": "Github"
} |
"""auxiliary utility to get the dataset for demo"""
import numpy as np
from collections import namedtuple
from sklearn.datasets import fetch_mldata
import cPickle
import sys
import os
from subprocess import call
class ArrayPacker(object):
"""Dataset packer for iterator"""
def __init__(self, X, Y):
sel... | {
"pile_set_name": "Github"
} |
using Amazon.Lambda.Core;
using Amazon.Lambda.APIGatewayEvents;
[assembly: LambdaSerializer(typeof(Amazon.Lambda.Serialization.Json.JsonSerializer))]
namespace HelloWorld
{
public class Function
{
public static APIGatewayProxyResponse <AWS_LAMBDA_RUN_METHOD_GUTTER_MARK>FunctionHandler</AWS_LAMBDA_RUN_... | {
"pile_set_name": "Github"
} |
#links_bar li {
margin:1em;
padding:0.4em;
font-size:large;
display:inline;
cursor:pointer;
border:none;
border-radius:0px;
transition:.2s linear;
text-align:center;
}
| {
"pile_set_name": "Github"
} |
/*
* NMH's Simple C Compiler, 2012
* ungetc()
*/
#include <stdio.h>
#include <unistd.h>
int ungetc(int c, FILE *f) {
if (f->ch != EOF) return EOF;
f->iom &= ~_FERROR;
return f->ch = c;
}
| {
"pile_set_name": "Github"
} |
from django.apps import AppConfig
class WagtailMenusConfig(AppConfig):
name = 'wagtailmenus'
verbose_name = 'WagtailMenus'
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration>
<configuration>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<root level="warn">
<appender-ref re... | {
"pile_set_name": "Github"
} |
@{
ViewBag.Title = "Workflow - CallCustomServiceWeb";
string appWebUrl = ViewBag.AppWebUrl as string;
}
<div>
<h2>App Web List</h2>
<p>Click the link below to view the Part Suppliers List</p>
<h5><a href="@(appWebUrl)Lists/Part Suppliers" target="_blank">Part Suppliers</a></h5>
</div>
<div>
<h... | {
"pile_set_name": "Github"
} |
#region License
// https://github.com/TheBerkin/Rant
//
// Copyright (c) 2017 Nicholas Fleck
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in the
// Software without restriction, including without l... | {
"pile_set_name": "Github"
} |
#!/bin/sh
sugardatadir=@prefix@/share/sugar/data
if [ "$(id -u)" -eq 0 ] || [ "$(id -ru)" -eq 0 ] ; then
echo Refusing to run as root.
exit 3
fi
# Set default profile dir
if test -z "$SUGAR_HOME"; then
export SUGAR_HOME=$HOME/.sugar
fi
if test -z "$SUGAR_PROFILE"; then
export SUGAR_PROFILE=default
fi
if ... | {
"pile_set_name": "Github"
} |
0.738
1.000
1.000
1.000
0.933
0.947
1.000
0.933
0.833
0.909
0.933
0.952
0.632
0.941
0.933
1.000
0.667
0.526
0.952
0.952
0.400
0.952
0.870
0.571
0.632
0.667
0.750
0.600
0.588
0.375
0.545
0.741
0.588
0.667
0.400
0.429
0.211
0.429
0.667
0.667
0.600
0.632
0.571
0.600
0.545
0.353
0.667
0.625
0.522
0.471
0.300
0.444
0.625
0.... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: Line-height using inches with a minimum plus one value, 1in</title>
<link rel="author" title="Microsoft" href="http://www.... | {
"pile_set_name": "Github"
} |
/*****************************************************************************
* Product: Linker script for STM32F746NG, GNU-ARM linker
* Last Updated for Version: 5.9.8
* Date of the Last Update: 2017-09-13
*
* Q u a n t u m L e a P s
* ---------------------------
* ... | {
"pile_set_name": "Github"
} |
package beast.evolution.speciation;
import java.util.ArrayList;
import java.util.List;
import beast.core.CalculationNode;
import beast.core.Description;
import beast.core.Input;
import beast.evolution.tree.Tree;
@Description("Finds height of highest tree among a set of trees")
public class TreeTopFinder extends Ca... | {
"pile_set_name": "Github"
} |
# This source code was written by the Go contributors.
# The master list of contributors is in the main Go distribution,
# visible at http://tip.golang.org/CONTRIBUTORS.
| {
"pile_set_name": "Github"
} |
StartChar: utilde
Encoding: 361 361 285
GlifName: utilde
Width: 1140
VWidth: 0
Flags: W
HStem: -16 134<365.617 664.383> 1224 124<528.899 677.017> 1304 124<353.203 501.101>
VStem: 120 150<220.243 1082> 208 614 760 150<220.243 1082>
LayerCount: 2
Back
Fore
Refer: 182 732 N 1 0 0 1 108 0 2
Refer: 65 117 N 1 0 0 1 0 0 3
En... | {
"pile_set_name": "Github"
} |
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
import static org.junit.Assert.*;
public class SearchSorted2DTest {
private boolean expected;
private List<List<Integer>> matrix;
private int x;
@Test
public void search1() throws Exception {
expected = false;
... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 6e8e0a5480ab2584a8a2b94a99fc06af
timeCreated: 1549065306
licenseType: Pro
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 1cc08f5424a1e49499023c590c0c524c
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestRefe... | {
"pile_set_name": "Github"
} |
// resource-d3d12.h
#pragma once
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <Windows.h>
#undef WIN32_LEAN_AND_MEAN
#undef NOMINMAX
#include <dxgi1_4.h>
#include <d3d12.h>
#include "../../slang-com-ptr.h"
#include "../d3d/d3d-util.h"
namespace gfx {
// Enables more conservative barriers - restoring the s... | {
"pile_set_name": "Github"
} |
// Package pty provides functions for working with Unix terminals.
package pty
import (
"errors"
"os"
)
// ErrUnsupported is returned if a function is not
// available on the current platform.
var ErrUnsupported = errors.New("unsupported")
// Opens a pty and its corresponding tty.
func Open() (pty, tty *os.File, e... | {
"pile_set_name": "Github"
} |
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<style>
blockquote { background-color: #FFFAAE; padding: 7px; }
table { border-collapse: collapse; }
thead td { border-bottom: 1px solid; }
tfo... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/btn_flash_auto_normal"/>
<item android:drawable="@drawable/btn_flash_auto_press" android:state_pressed="true"/>
</selector> | {
"pile_set_name": "Github"
} |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2008-2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item nam... | {
"pile_set_name": "Github"
} |
#!/bin/bash
exec 2>&1
exec chpst -u <%= node.zabbix.web.user %> php-cgi -b <%= @options[:socket] %> -c <%= node.zabbix.conf_dir %>/php.ini
| {
"pile_set_name": "Github"
} |
local module = {}
local shared = require "ai.shared"
local function wolfStayAlive (parentnode)
end
function module.register()
local name = "ANIMAL_WOLF"
local rootNode = AI.createTree(name):createRoot("PrioritySelector", name)
wolfStayAlive(rootNode)
shared.hunt(rootNode)
shared.increasePopulation(rootNode... | {
"pile_set_name": "Github"
} |
package com.puppycrawl.tools.checkstyle.checks.javadoc.atclauseorder;
/** Javadoc for import */
import java.io.Serializable;
/**
* Some javadoc.
*
* @since Some javadoc.
* @version 1.0 //warn //warn
* @deprecated Some javadoc.
* @see Some javadoc. //warn
* @author max //warn
*/
class InputAtclauseOrderIncorrec... | {
"pile_set_name": "Github"
} |
# Event 274 - MFCaptureEngineSinkTask
###### Version: 0
## Description
None
## Data Dictionary
|Standard Name|Field Name|Type|Description|Sample Value|
|---|---|---|---|---|
|TBD|SinkPointer|Pointer|None|`None`|
|TBD|SamplePointer|Pointer|None|`None`|
|TBD|SinkStreamIndex|UInt32|None|`None`|
|TBD|Timestamp|UInt64|Non... | {
"pile_set_name": "Github"
} |
$ext = ".html"
$extno = 8
$Directory = Resolve-Path $Args[0]
$LineEnding = 1 # WdLineEndingType 1 = CROnly
$Encoding = 65001 # Codepage for UTF8
$testFileDepth = 2
$AbsPath = @(Get-ChildItem -path $Directory -Recurse -Exclude *.txt, *.skip, "*.html", "*.rtf","*.odt","*.doc")
:htmlMain for ($i = 0; $i -lt $AbsPath.leng... | {
"pile_set_name": "Github"
} |
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.guest = :windows
config.vm.communicator = "winrm"
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--hardwareuuid", "02f110e7-369a-4bbc-bbe6-6f0b6864ccb6"]
vb.gui = true
vb.memory = "1024"
en... | {
"pile_set_name": "Github"
} |
00:02 When you've got a bunch of prospective customers using your product and engaging with it,
00:05 you'd like to see them move from prospective into actually paying customers.
00:08 So I wanted to go over some non-intuitive parts of pricing pages
00:12 that will help you to think past just the basic design of the... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<DDDefinition xmlns="http://www.cern.ch/cms/DDL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.cern.ch/cms/DDL ../../../../DetectorDescription/Schema/DDLSchema.xsd">
<ConstantsSection label="hgcal.xml" eval="true">
<Constant name="WaferSize" va... | {
"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"
} |
export * from './controls/siteBreadcrumb/index';
| {
"pile_set_name": "Github"
} |
---
# ===========================================================
# OWASP SAMM2 Coverage Question template/sample
# ===========================================================
#Link to the activity that this question helps measure
activity: bcc960e835aa4ad58a9d39a272cbf6f1
#Link to the answer set that contains the pot... | {
"pile_set_name": "Github"
} |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'fab';
var iconName = 'themeisle';
var width = 512;
var height = 512;
var ligatures = [];
var unicode = 'f2b2';
var svgPathData = 'M208 88.286c0-10 6.286-21.714 17.715-21.714 11.142 0 17.714 11.714 17.714 21.714 0 10.285-6.572 21.... | {
"pile_set_name": "Github"
} |
import * as assert from 'assert'
import * as React from 'react'
import { render, unmountComponentAtNode } from 'react-dom'
import { act } from 'react-dom/test-utils'
import { Cmd, none } from '../src/Cmd'
import { Html, map, program, programWithFlags, run } from '../src/React'
import * as App from './helpers/app'
impor... | {
"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.
/*---
info: >
White Space and Line Terminator between RelationalExpression and "in" and
between "in" and ShiftExpression are allowed
es5id: 11.8.7_A1
description: Checking by usin... | {
"pile_set_name": "Github"
} |
<?php
/**
* @copyright Copyright (c) 2017 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* ... | {
"pile_set_name": "Github"
} |
<?php
namespace Modules\Media\Http\Controllers\Admin;
use Modules\Core\Http\Controllers\Admin\AdminBaseController;
use Modules\Media\Image\ThumbnailManager;
use Modules\Media\Repositories\FileRepository;
class MediaGridController extends AdminBaseController
{
/**
* @var FileRepository
*/
private $f... | {
"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 "ECLogHandler.h"
@class NSMutableDictionary;
@interface ECLogHandlerASL : ECLogHandler
{
struct __asl_object_s *_aslClient;
NSMutableDictionary *_aslMsgs;
}
@pro... | {
"pile_set_name": "Github"
} |
package com.nolanlawson.logcat.util;
import java.util.Arrays;
import android.util.Log;
/**
* Easier way to interact with logcat.
* @author nolan
*/
public class UtilLogger {
public static final boolean DEBUG_MODE = false;
private String tag;
public UtilLogger(String tag) {
this.tag = tag;
}
public U... | {
"pile_set_name": "Github"
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
namespace Microsoft.Bot.Schema
{
/// <summary>
/// A reaction to a Message Activity.
/// </summary>
public interface IMessageReactionActivity : IActivity
{
///... | {
"pile_set_name": "Github"
} |
#ifndef TAPIOCA_H
#define TAPIOCA_H
#include <QWidget>
#include <QMenuBar>
#include <QLineEdit>
#include <QLayout>
#include <QToolBar>
#include <QFormLayout>
#include <QDockWidget>
#include <QTextEdit>
#include <QListWidget>
#include <QLabel>
#include <QTreeWidget>
#include <QTreeWidgetItem>
#include <QFileSystemMo... | {
"pile_set_name": "Github"
} |
// board.h
#ifndef BOARD_H
#define BOARD_H
// includes
#include "colour.h"
#include "piece.h"
#include "square.h"
#include "util.h"
// constants
const int Empty = 0;
const int Edge = Knight64; // HACK: uncoloured knight
const int WP = WhitePawn256;
const int WN = WhiteKnight256;
const int WB ... | {
"pile_set_name": "Github"
} |
// MESSAGE DATA_LOG PACKING
#define MAVLINK_MSG_ID_DATA_LOG 177
typedef struct __mavlink_data_log_t
{
float fl_1; ///< Log value 1
float fl_2; ///< Log value 2
float fl_3; ///< Log value 3
float fl_4; ///< Log value 4
float fl_5; ///< Log value 5
float fl_6; ///< Log value 6
} mavlink_data_log_t;
#define... | {
"pile_set_name": "Github"
} |
// The MIT License (MIT)
// Copyright © 2017 Ivan Varabei (varabeis@icloud.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rig... | {
"pile_set_name": "Github"
} |
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000-2007 Donald N. Allingham
# Copyright (C) 2008 Brian G. Matherly
# Copyright (C) 2010 Gary Burton
# Copyright (C) 2010 Jakim Friant
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of ... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.