text stringlengths 2 99.9k | meta dict |
|---|---|
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2012 Decebal Suiu
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with
* the License. You may obtain a copy of the License in the LICENSE file, or at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2011 Hartmut Kaiser
Copyright (c) 2013 Agustin Berge
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
====... | {
"pile_set_name": "Github"
} |
op {
graph_op_name: "MatrixBandPart"
endpoint {
name: "linalg.BandPart"
}
}
| {
"pile_set_name": "Github"
} |
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reminder Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are ... | {
"pile_set_name": "Github"
} |
BlipSearchPanel = require('../base_mobile').BlipSearchPanel
Renderer = require('../renderer_mobile').Renderer
formatDate = require('../../../share/utils/datetime').formatDate
class MentionsPanel extends BlipSearchPanel
__init: ->
mentionsProcessor = require('./processor').instance
refreshParams = ... | {
"pile_set_name": "Github"
} |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Mupen64plus-rsp-hle - common.h *
* Mupen64Plus homepage: https://mupen64plus.org/ *
* Copyright (C) 2014 Bobby Smiles *
* ... | {
"pile_set_name": "Github"
} |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using YamlDotNet.Serialization;
namespace KubeClient.Models
{
/// <summary>
/// ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
/// </summary>
public pa... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2015 Alejandro Martinez (amtriathlon@gmail.com)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later versio... | {
"pile_set_name": "Github"
} |
# USER
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **INTEGER_64** | | [optional] [default to null]
**username** | [**STRING_32**](STRING_32.md) | | [optional] [default to null]
**first_name** | [**STRING_32**](STRING_32.md) | | [optional] [de... | {
"pile_set_name": "Github"
} |
package s
import (
. "github.com/alecthomas/chroma" // nolint
"github.com/alecthomas/chroma/lexers/internal"
)
// Sas lexer.
var Sas = internal.Register(MustNewLexer(
&Config{
Name: "SAS",
Aliases: []string{"sas"},
Filenames: []string{"*.SAS", "*.sas"},
MimeTypes: []string{"t... | {
"pile_set_name": "Github"
} |
// Copyright 2014-2017 Ulrich Kunitz. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package lzma supports the decoding and encoding of LZMA streams.
// Reader and Writer support the classic LZMA format. Reader2 and
// Writer2 support the... | {
"pile_set_name": "Github"
} |
// Download the Node helper library from www.twilio.com/docs/libraries/node#installation
// These identifiers are your accountSid and authToken from
// https://www.twilio.com/console
const accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
const authToken = 'your_auth_token';
const client = require('twilio')(accountSid... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2015-2017, Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* 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/... | {
"pile_set_name": "Github"
} |
<?php
/**
* Support
*
* @package GetSimple
* @subpackage Support
*/
# Setup inclusions
$load['plugin'] = true;
include('inc/common.php');
login_cookie_check();
exec_action('load-support');
$pagetitle = i18n_r('SUPPORT');
get_template('header');
?>
<?php include('template/include-nav.php'); ?>
<div class="bo... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2009 - 2018 Deutsches Elektronen-Synchroton,
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; ei... | {
"pile_set_name": "Github"
} |
#define NULL_CHARACTER '\0'
/*
use iso_c_binding, only : c_int, c_char
interface
subroutine c_pool_hash(hash, key) bind(c)
use iso_c_binding, only : c_int, c_char
integer (c_int), intent(inout) :: hash
character (c_char), dimension(*), intent(in) :: key
end subroutine c_pool_hash
end interf... | {
"pile_set_name": "Github"
} |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M6,2v6h0.01L6,8... | {
"pile_set_name": "Github"
} |
"Pssssst. Over here
Look in the file called Notes...."
| {
"pile_set_name": "Github"
} |
/*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | {
"pile_set_name": "Github"
} |
from demo.with_wsgi.ops.flask import flask_app, PRE_FLASK
from demo.with_wsgi.ops.tornado import tornado_app, PRE_TORNADO
from falsy.falsy import FALSY
f = FALSY(static_dir='demo/with_wsgi/static') \
.swagger('demo/with_wsgi/spec.yml', ui=True, ui_language='zh-cn', theme='normal') \
.wsgi(flask_app, PRE_FLASK)... | {
"pile_set_name": "Github"
} |
import typescript from "rollup-plugin-typescript"
import resolve from "rollup-plugin-node-resolve"
import cleanup from "rollup-plugin-cleanup"
export default {
input: "./slinky/Slinky.ts",
output:{
file: '../Slinky.sketchplugin/Contents/Sketch/Slinky.js',
format: "es",
sourcemap: false
},
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensi... | {
"pile_set_name": "Github"
} |
#ifndef __OSD_SDL_H__
#define __OSD_SDL_H__
typedef SDL_Joystick OSDEP_Joystick;
typedef SDL_Color OSDEP_Color;
typedef SDL_Surface OSDEP_Surface;
typedef struct _OSDEP_VMode {
int w;
int h;
} OSDEP_VMode;
extern uint8_t OSDEP_key[2048];
// the following functions all need to be implemented in order for a port to... | {
"pile_set_name": "Github"
} |
function rk4(f, t0, y0, t1, n) {
h = (t1-t0)/(n-1)
a = J(n, 2, 0)
a[1, 1] = t = t0
a[1, 2] = y = y0
for (i=2; i<=n; i++) {
k1 = h*(*f)(t, y)
k2 = h*(*f)(t+0.5*h, y+0.5*k1)
k3 = h*(*f)(t+0.5*h, y+0.5*k2)
k4 = h*(*f)(t+h, y+k3)
t = t+h
y = y+(k1+2*k2+2*k3+k4)/6
a[i, 1] = t
a[i, 2] = y
}
return(a)
}... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2017 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/LIC... | {
"pile_set_name": "Github"
} |
//render Video srource
$.extend(Video.prototype, {
renderSource: function() {
var setSource = this.params.setSource;
if (!setSource) {
this._sourceEmpty();
return;
}
var canType = this.getCanPlayType();
if (!can... | {
"pile_set_name": "Github"
} |
From fork-admin@xent.com Thu Sep 26 11:04:32 2002
Return-Path: <fork-admin@xent.com>
Delivered-To: yyyy@localhost.spamassassin.taint.org
Received: from localhost (jalapeno [127.0.0.1])
by jmason.org (Postfix) with ESMTP id 90BF116F03
for <jm@localhost>; Thu, 26 Sep 2002 11:04:30 +0100 (IST)
Received: from jalapeno [... | {
"pile_set_name": "Github"
} |
## The XMLs we expect (order is important)
XML|${jetty.home}/etc/optional.xml
XML|${jetty.home}/etc/base.xml
XML|${jetty.home}/etc/main.xml
# The LIBs we expect (order is irrelevant)
LIB|${jetty.home}/lib/base.jar
LIB|${jetty.home}/lib/main.jar
LIB|${jetty.home}/lib/other.jar
LIB|${jetty.home}/lib/optional.jar
# The ... | {
"pile_set_name": "Github"
} |
//
// YCViewControllerProtocol.h
// RenCheRen
//
// Created by 王隆帅 on 15/12/22.
// Copyright © 2015年 王隆帅. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol YCViewModelProtocol;
@protocol YCViewControllerProtocol <NSObject>
@optional
- (instancetype)initWithViewModel:(id <YCViewModelProtocol>)... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2000-2003,2005 Silicon Graphics, Inc.
* All Rights Reserved.
*/
#include "xfs.h"
struct xstats xfsstats;
static int counter_val(struct xfsstats __percpu *stats, int idx)
{
int val = 0, cpu;
for_each_possible_cpu(cpu)
val += *(((__u32 *)per_cpu_ptr(stats, ... | {
"pile_set_name": "Github"
} |
# -*- encoding: utf-8 -*-
from pupylib.PupyModule import PupyArgumentParser
from pupylib.PupyOutput import MultiPart, Table, Color, Line, TruncateToTerm
from pupylib.PupyCompleter import commands_completer
usage = 'Show help'
parser = PupyArgumentParser(prog='help', description=usage)
parser.add_argument('module', n... | {
"pile_set_name": "Github"
} |
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
/// Dark theme
ThemeData darkTheme() {
return ThemeData(
textTheme: GoogleFonts.ibmPlexSansTextTheme(ThemeData.dark().textTheme),
brightness: Brightness.dark,
primarySwatch: Colors.cyan,
accentColor: Colors.cyan,... | {
"pile_set_name": "Github"
} |
var Glob = require("../").Glob
var pattern = "{./*/*,/*,/usr/local/*}"
console.log(pattern)
var mg = new Glob(pattern, {mark: true}, function (er, matches) {
console.log("matches", matches)
})
console.log("after")
| {
"pile_set_name": "Github"
} |
/*
ktti.c (c) 1998 Grant R. Guenther <grant@torque.net>
Under the terms of the GNU General Public License.
ktti.c is a low-level protocol driver for the KT Technology
parallel port adapter. This adapter is used in the "PHd"
portable hard-drives. As far as I can t... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
/*
* ep0.c - DesignWare USB3 DRD Controller Endpoint 0 Handling
*
* Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
*
* Authors: Felipe Balbi <balbi@ti.com>,
* Sebastian Andrzej Siewior <bigeasy@linutronix.de>
*/
#include <linux/kernel.h>
#incl... | {
"pile_set_name": "Github"
} |
import os
import cv2
import matplotlib.pyplot as plt
import numpy as np
import tqdm
import random
# root='/media/hilab/sagniksSSD/Sagnik/DewarpNet/swat3d/'
# filenames=['7/2_427_8-cp_Page_1362-4rw0001','7/2_87_5-ec_Page_040-AZI0001','7/1_811_3-ny_Page_554-sof0001','7/2_168_4-ny_Page_888-qoK0001',
# '7/1_50... | {
"pile_set_name": "Github"
} |
# Require management scripts written by Otto Behrens and Danie Roux
require File.join(File.dirname(__FILE__), 'contrib/ottobehrens/stone')
# Set the GemStoneInstallation paths for a default install of MagLev, based
# on $MAGLEV_HOME, but respect the $GEMSTONE env variable, if set
ML = ENV['MAGLEV_HOME']
GemStoneInsta... | {
"pile_set_name": "Github"
} |
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { MediaMatcher } from '@angular/cdk/layout';
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { di... | {
"pile_set_name": "Github"
} |
package swarm
import (
"bytes"
"fmt"
"io/ioutil"
"testing"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/swarm"
"github.com/docker/docker/cli/internal/test"
"github.com/pkg/errors"
// Import builders to get the builder function as package function
. "github.com/docker/docker/cli/i... | {
"pile_set_name": "Github"
} |
package com.tencent.mm.pluginsdk.ui.chat;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
final class af
implements DialogInterface.OnClickListener
{
af(ad paramad) {}
public final void onClick(DialogInterface paramDialogInterface, int paramInt) {}
}
/* Locati... | {
"pile_set_name": "Github"
} |
# makefile for netcat, based off same ol' "generic makefile".
# Usually do "make systype" -- if your systype isn't defined, try "generic"
# or something else that most closely matches, see where it goes wrong, fix
# it, and MAIL THE DIFFS back to Hobbit.
### PREDEFINES
# DEFAULTS, possibly overridden by <systype> rec... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2009 Boudewijn Rempt <boud@valdyas.org>
#
# Redistribution and use is ... | {
"pile_set_name": "Github"
} |
/* crypto/asn1/f_string.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and no... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: b5aadac20fc53d04abe0492399479ce5
timeCreated: 1528580594
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
using System.ComponentModel;
using Bing.Admin.Service.Extensions;
using Bing.AspNetCore;
using Bing.Core.Modularity;
using Bing.Permissions.Extensions;
using Microsoft.Extensions.DependencyInjection;
namespace Bing.Admin.Modules
{
/// <summary>
/// 身份认证模块
/// </summary>
[Description("身份认证模块")]
[De... | {
"pile_set_name": "Github"
} |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
| {
"pile_set_name": "Github"
} |
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "e_house_l@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
} | {
"pile_set_name": "Github"
} |
// fast brush painter for composition modes which can be implemented with blendfuncs
// no mask, used for fast filling of aliased primitives (or multisampled)
void main()
{
gl_FragColor = brush();
}
| {
"pile_set_name": "Github"
} |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "hiredis.h"
int main(void) {
unsigned int j;
redisContext *c;
redisReply *reply;
struct timeval timeout = { 1, 500000 }; // 1.5 seconds
c = redisConnectWithTimeout((char*)"127.0.0.2", 6379, timeout);
if (c->err) {
pri... | {
"pile_set_name": "Github"
} |
function M = UpdateIndices_Manual(hfig,cIX,gIX,numK)
setappdata(hfig,'cIX',cIX);
setappdata(hfig,'gIX',gIX);
M = GetTimeIndexedData(hfig);
% M_0 = GetTimeIndexedData(hfig,'isAllCells');
setappdata(hfig,'M',M);
if exist('numK','var'),
setappdata(hfig,'numK',double(numK));
end | {
"pile_set_name": "Github"
} |
/*
* Copyright 2006-2012 the original author or 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | {
"pile_set_name": "Github"
} |
/* TA-LIB Copyright (c) 1999-2007, Mario Fortier
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this lis... | {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='UTF-8'?>
<!-- This document was created with Syntext Serna Free. --><!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "http://docs.oasis-open.org/dita/v1.1/OS/dtd/map.dtd" []>
<map>
<title>Requirement Specification</title>
<topicmeta>
<author>Ratnadip Choudhury</author>
<copyri... | {
"pile_set_name": "Github"
} |
.. |br| raw:: html
<br />
Configuration
-------------
.. csv-table::
:header: "Variable", "Default", "Tunable", "Description"
:align: left
:widths: auto
"frame_time", "0.03333333", "NO", "Inter frame time in seconds. The generated timestamps will have the specified |br|\ number of seconds in the ge... | {
"pile_set_name": "Github"
} |
/**
* @fileoverview Rule to flag usage of __iterator__ property
* @author Ian Christian Myers
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.exports = {
... | {
"pile_set_name": "Github"
} |
import unittest
import uuid
from datetime import datetime, timedelta
from django.test import TestCase
from mygpo.podcasts.models import Podcast, Episode
def create_podcast(**kwargs):
return Podcast.objects.create(id=uuid.uuid1(), **kwargs)
class PodcastTests(unittest.TestCase):
""" Test podcasts and their... | {
"pile_set_name": "Github"
} |
# Video Call App
A one-to-one text, audio and video chat application built with WebRTC and [RatchetPHP](https://github.com/ratchetphp/Ratchet).
# Requirements
- PHP >= 5.4
- Composer
# Features
- Video call
- Audio call
- Recording
- Text chat
- Two participants only
If you require more than two participants, check ... | {
"pile_set_name": "Github"
} |
#!/usr/bin/python
# vim: set fileencoding=utf-8
import clang.cindex
import asciitree # must be version 0.2
import sys
def node_children(node):
return (c for c in node.get_children() if c.location.file.name == sys.argv[1])
def print_node(node):
text = node.spelling or node.displayname
kind = str(node.kind)... | {
"pile_set_name": "Github"
} |
import curry2 from '../_internal/_curry2'
export default curry2((cbs, data) => {
for (var i = 0; i < cbs.length; i++) {
if (!cbs[i](data)) return false
}
return true
})
| {
"pile_set_name": "Github"
} |
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name dbusmenu-qt
categories devel kde4 kde
maintainers {gmail.com:rjvbertin @RJVB}
license GPL-2
description e... | {
"pile_set_name": "Github"
} |
'use strict';
const fsAutocomplete = require('vorpal-autocomplete-fs');
const delimiter = require('./../delimiter');
const interfacer = require('./../util/interfacer');
const preparser = require('./../preparser');
const cd = {
exec(dir, options) {
const self = this;
const vpl = options.vorpal;
options... | {
"pile_set_name": "Github"
} |
namespace NBomber.FSharp
open System
open System.IO
open System.Threading
open System.Threading.Tasks
open Serilog
open CommandLine
open FSharp.Control.Tasks.V2.ContextInsensitive
open FsToolkit.ErrorHandling
open Microsoft.Extensions.Configuration
open NBomber
open NBomber.Contracts
open NBomber.Configuration
open... | {
"pile_set_name": "Github"
} |
// <auto-generated />
namespace IronJS.Tests.UnitTests.Sputnik.Conformance.NativeECMAScriptObjects.ObjectObjects.PropertiesOfTheObjectPrototypeObject
{
using System;
using NUnit.Framework;
[TestFixture]
public class ObjectPrototypeToStringTests : SputnikTestFixture
{
public ObjectPrototypeT... | {
"pile_set_name": "Github"
} |
# node-supervisor
A little supervisor script for nodejs. It runs your program, and
watches for code changes, so you can have hot-code reloading-ish
behavior, without worrying about memory leaks and making sure you
clean up all the inter-module references, and without a whole new
`require` system.
## node-supervisor -... | {
"pile_set_name": "Github"
} |
#include <test/unit/math/test_ad.hpp>
TEST(mathMixMatFun, real) {
auto f = [](const auto& z) { return real(z); };
stan::test::expect_complex_common(f);
}
| {
"pile_set_name": "Github"
} |
debug = require('debug')('supersonic:auth:session')
module.exports = (localStorage) ->
new class Session
RAW_SESSION_KEY: "__ag:data:session"
storage: localStorage
set: (rawSession) =>
validateSession rawSession
debug "Setting session data", rawSession
@storage.setItem @RAW_SESSION_KE... | {
"pile_set_name": "Github"
} |
#pragma once
#define USE_EDGEMODE_JSRT
#include <jsrt.h>
class WebGLActiveInfo
{
public:
WebGLActiveInfo();
WebGLActiveInfo(GLenum type, const wchar_t * name, GLint size);
static JsValueRef CALLBACK constructor(JsValueRef callee, bool isConstructCall, JsValueRef *arguments, unsigned short argumentCount, void *callb... | {
"pile_set_name": "Github"
} |
// Uyghur
.group a
a A
.group b
b b
.group c
ch tS
.group d
d d
.group e
e &
.group é
é e
.group f
f f
.group g
g g
g'h gh
gh Q"
.group h
h h
.group ... | {
"pile_set_name": "Github"
} |
predicate fzn_if_then_else_var_opt_bool(array[int] of var bool: c, array[int] of var opt bool: x, var opt bool: y) =
let { array[index_set(c)] of var bool: d; } in
forall(i in index_set(c))
(if i > min(index_set(c)) then
d[i] = (not c[i-1] /\ d[i-1])
else
d[i] = true
... | {
"pile_set_name": "Github"
} |
/*! Hammer.JS - v2.0.4 - 2014-09-28
* http://hammerjs.github.io/
*
* Copyright (c) 2014 Jorik Tangelder;
* Licensed under the MIT license */
(function(window, document, exportName, undefined) {
'use strict';
var VENDOR_PREFIXES = ['', 'webkit', 'moz', 'MS', 'ms', 'o'];
var TEST_ELEMENT = document.createElement('... | {
"pile_set_name": "Github"
} |
/*
* (C) Copyright 2011
* Stefano Babic, DENX Software Engineering, sbabic@denx.de
*
* Based on Linux IPU driver for MX51 (ipu.h):
*
* (C) Copyright 2005-2010 Freescale Semiconductor, Inc.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __IPU_PIXFMT_H__
#define __IPU_PIXFMT_H__
#include <linux/list.h>
#incl... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_TEST_TEST_SUITE_H_
#define BASE_TEST_TEST_SUITE_H_
// Defines a basic test suite framework for running gtest based tests. You can
// in... | {
"pile_set_name": "Github"
} |
package com.eveningoutpost.dexdrip.utils;
public abstract class BytesGenerator {
public byte[] produce() {
return null;
}
}
| {
"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 n... | {
"pile_set_name": "Github"
} |
#!/bin/bash
CONFIG_FILE="${BLOCK_INSTANCE:-~/.config/i3/config}"
CONFIG_FILE=${CONFIG_FILE/\~/$HOME}
LAUNCH_CMD=$(cat "${CONFIG_FILE}" | grep -v "^#" | grep -wi 'rofi\|dmenu' | awk -F 'exec ' '{print $2}')
LAUNCH_NAME=$(echo "${LAUNCH_CMD}" | awk -F ' ' '{print $1}')
VARIABLES=$(cat "${CONFIG_FILE}" | grep -E 'set\... | {
"pile_set_name": "Github"
} |
// Copyright 2015-present, Cyrill @ Schumacher.fm and the CoreStore 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//... | {
"pile_set_name": "Github"
} |
//
// SE2AudioPlayerView.m
// ios-v2-spika-enterprise
//
// Created by CloverField on 10/03/16.
// Copyright © 2016 Clover Studio. All rights reserved.
//
#import "SE2AudioPlayerView.h"
#import "CSUtils.h"
#import "CSConfig.h"
#import "CSDownloadManager.h"
#import <AudioToolbox/AudioToolbox.h>
#import <AVFoundatio... | {
"pile_set_name": "Github"
} |
package members
import "github.com/gophercloud/gophercloud"
func imageMembersURL(c *gophercloud.ServiceClient, imageID string) string {
return c.ServiceURL("images", imageID, "members")
}
func listMembersURL(c *gophercloud.ServiceClient, imageID string) string {
return imageMembersURL(c, imageID)
}
func createMem... | {
"pile_set_name": "Github"
} |
//! moment.js locale configuration
//! locale : Malay [ms-my]
//! note : DEPRECATED, the correct one is [ms]
//! author : Weldan Jamili : https://github.com/weldan
import moment from '../moment';
export default moment.defineLocale('ms-my', {
months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktobe... | {
"pile_set_name": "Github"
} |
<template lang="html">
<report title="REPORTS.BALANCE.TITLE" color="danger" icon="fa-line-chart">
<p class="subtitle is-5">{{ 'REPORTS.COMMON.TIME_SPAN' | translate}}</p>
<div class="field has-addons">
<div class="control">
<a class="button is-primary is-tag">
<icon fa="fa-calendar"/>
... | {
"pile_set_name": "Github"
} |
;;; ol-notmuch.el --- Links to notmuch messages
;; Copyright (C) 2010-2014 Matthieu Lemerre
;; Author: Matthieu Lemerre <racin@free.fr>
;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: https://orgmode.org
;; This file is not part of GNU Emacs.
;; This file is free software; you can redistribute it and/... | {
"pile_set_name": "Github"
} |
* { p : v }
| {
"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"
} |
/*
* Copyright 2009-2014 the original author or 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
*
* Unles... | {
"pile_set_name": "Github"
} |
# mach: crisv0 crisv3 crisv8 crisv10 crisv32
# output: ffffffff\n4\n80000000\nffff8000\n7f19f000\n80000000\n0\n0\n699fc67c\nffffffff\n4\n80000000\nffff8000\n7f19f000\nda670000\nda670000\nda670000\nda67c67c\nffffffff\nfffafffe\n4\nffff0000\nffff8000\n5a67f000\nda67f100\nda67f100\nda67f100\nda67f17c\nfff3faff\nfff3fafe\n... | {
"pile_set_name": "Github"
} |
# Actions, resources, and condition keys for AWS Ground Station<a name="list_awsgroundstation"></a>
AWS Ground Station \(service prefix: `groundstation`\) provides the following service\-specific resources, actions, and condition context keys for use in IAM permission policies\.
References:
+ Learn how to [configure ... | {
"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/html; charset=utf-8" />
<title>AD_TYPE_RESERVED — MIT Kerberos Documentati... | {
"pile_set_name": "Github"
} |
import { Rule } from "./rule";
import { Identifier } from "./types";
import { compatible } from "./constant";
import store, { getConfigByKey, Config } from "../store";
type Rules = Map<Identifier, Rule>; //类型别名
import { readFileSync, writeFileSync } from "fs";
class ConfigParser {
rules: Rules = new Map<Identifier, R... | {
"pile_set_name": "Github"
} |
# /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt... | {
"pile_set_name": "Github"
} |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | {
"pile_set_name": "Github"
} |
; RUN: opt -S -consthoist < %s | FileCheck %s
target datalayout = "E-m:e-i64:64-n32:64"
target triple = "powerpc64-unknown-linux-gnu"
%T = type { i32, i32, i32, i32 }
; Test if even cheap base addresses are hoisted.
define i32 @test1() nounwind {
; CHECK-LABEL: @test1
; CHECK: %const = bitcast i32 12345678 to... | {
"pile_set_name": "Github"
} |
/// The current protocol version
pub const PROTOCOL_VERSION: u32 = 0;
/// Maximum amount of friend operations sent in one move token message.
pub const MAX_OPERATIONS_IN_BATCH: usize = 16;
/// Maximum length of route used to pass credit.
pub const MAX_ROUTE_LEN: usize = 32;
/// Maximum length for a name of a currenc... | {
"pile_set_name": "Github"
} |
<?php
class MethodCallbackByReference
{
public function bar(&$a, &$b, $c)
{
Legacy::bar($a, $b, $c);
}
public function callback(&$a, &$b, $c)
{
$b = 1;
}
}
| {
"pile_set_name": "Github"
} |
<?php
/**
* @author Lukáš Unger <lookymsc@gmail.com>
* @copyright Copyright (c) Lukáš Unger
* @license http://mit-license.org/
*
* @link https://github.com/thephpleague/oauth2-server
*/
namespace League\OAuth2\Server\CodeChallengeVerifiers;
class PlainVerifier implements CodeChallengeVerifierI... | {
"pile_set_name": "Github"
} |
package com.netflix.hystrix.dashboard.stream;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
/**
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... | {
"pile_set_name": "Github"
} |
extern float LibC1Func();
| {
"pile_set_name": "Github"
} |
import Component from "@ember/component";
export default Component.extend({
tagName: "",
expandDetails: false,
actions: {
toggleDetails() {
this.toggleProperty("expandDetails");
},
filter(params) {
this.set(`filters.${params.key}`, params.value);
},
},
});
| {
"pile_set_name": "Github"
} |
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include "rpc.h"... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
export ... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.