text stringlengths 2 99.9k | meta dict |
|---|---|
package git
import (
"context"
"errors"
"fmt"
"io"
stdioutil "io/ioutil"
"os"
"path/filepath"
"strings"
"sync"
"github.com/go-git/go-git/v5/config"
"github.com/go-git/go-git/v5/plumbing"
"github.com/go-git/go-git/v5/plumbing/filemode"
"github.com/go-git/go-git/v5/plumbing/format/gitignore"
"github.com/g... | {
"pile_set_name": "Github"
} |
/*
* /MathJax/localization/eo/MathML.js
*
* Copyright (c) 2009-2018 The MathJax Consortium
*
* 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/license... | {
"pile_set_name": "Github"
} |
<?php
function smarty_function_do_tr($params, &$smarty)
{
if ($params['number'] == 2 ) {
$new_tr = "</tr><tr class='$params[class]'>";
return $new_tr;
}
if ($params['number'] == 4 ) {
$new_tr = "</tr><tr class='$params[class]'>";
return $new_tr;
}
}
?>
| {
"pile_set_name": "Github"
} |
name: Baby Insanity Wolf
source: http://knowyourmeme.com/memes/baby-insanity-wolf
text:
- color: white
style: upper
anchor_x: 0.0
anchor_y: 0.0
angle: 0.0
scale_x: 1.0
scale_y: 0.2
- color: white
style: upper
anchor_x: 0.0
anchor_y: 0.8
angle: 0.0
scale_x: 1.0
scale_y... | {
"pile_set_name": "Github"
} |
# Examples
The following are mini applications that uses the [Image] module. They are very straight forward and did not include additional code such as validations and the like. They are designed to be simple and should work out of the box.
* [Uploading image](examples/upload)
* [Cropping profile images](examples/cro... | {
"pile_set_name": "Github"
} |
package org.ovirt.engine.core.bll.storage.disk.image;
import java.util.List;
import javax.enterprise.inject.Typed;
import javax.inject.Inject;
import org.ovirt.engine.core.bll.tasks.CommandCoordinatorUtil;
import org.ovirt.engine.core.bll.tasks.interfaces.CommandCallback;
import org.ovirt.engine.core.common.action.T... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
# Redmine - project management software
# Copyright (C) 2006-2020 Jean-Philippe Lang
#
# 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 L... | {
"pile_set_name": "Github"
} |
package serf
import (
"github.com/hashicorp/memberlist"
)
// broadcast is an implementation of memberlist.Broadcast and is used
// to manage broadcasts across the memberlist channel that are related
// only to Serf.
type broadcast struct {
msg []byte
notify chan<- struct{}
}
func (b *broadcast) Invalidates(oth... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
#import <Accounts/ACProtobufCoding-Protocol.h>
#import <Accounts/NSCoding-Protocol.h>
#import <Accounts/NSCo... | {
"pile_set_name": "Github"
} |
require('../proof')(module, __dirname)
| {
"pile_set_name": "Github"
} |
/**
*
*/
var __reflect = (this && this.__reflect) || function (p, c, t) {
p.__class__ = c, t ? t.push(c) : t = [c], p.__types__ = p.__types__ ? t.concat(p.__types__) : t;
};
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } insta... | {
"pile_set_name": "Github"
} |
{
"version": 2,
"waiters": {
"AppExists": {
"delay": 1,
"operation": "DescribeApps",
"maxAttempts": 40,
"acceptors": [
{
"expected": 200,
"matcher": "status",
"state": "success"
},
{
"matcher": "status",
"expected"... | {
"pile_set_name": "Github"
} |
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ShowSharers Component should match snapshot 1`] = `
<span
className="p_comm"
onClick={[Function]}
>
1 share
</span>
`;
| {
"pile_set_name": "Github"
} |
version https://git-lfs.github.com/spec/v1
oid sha256:0e2253f96459be0b1f4547748cd14a50a038761c23b0a45fe7cb980a1366121e
size 9521
| {
"pile_set_name": "Github"
} |
require 'rspec/core/rake_task'
desc "run specs"
RSpec::Core::RakeTask.new(:spec) do
system("ruby -v")
module RedStorm; SPECS_CONTEXT = true; end
end
task :default => :spec
load 'lib/tasks/red_storm.rake'
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t... | {
"pile_set_name": "Github"
} |
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
3B3967161E833CAA004F5970 /* ... | {
"pile_set_name": "Github"
} |
/*
* This file is part of the libopencm3 project.
*
* Copyright (C) 2012 Karl Palsson <karlp@tweak.net.au>
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the... | {
"pile_set_name": "Github"
} |
<!-- Copyright (c) Microsoft Corporation. All rights reserved. -->
<!-- Do not edit this file. It is machine generated. -->
<cordova-panel id="exec-panel" caption="持久性 Exec 调用" spoken-text="“持久性 Exec 调用”调用" data-loc-id="983d0535">
<cordova-panel-row id="empty-label" class="cordova-hidden">
<cordova-label s... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1997-1999
* Silicon Graphics Computer Systems, Inc.
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
... | {
"pile_set_name": "Github"
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.Linq;
//using UnityEditor;
public class PokedexHandler : MonoBehaviour {
// Usage Variables
public Vector2 cursorPosition;
public float boxNum;
private float pokemonNum;
private Texture[] pokeSprite... | {
"pile_set_name": "Github"
} |
<!--
/mnt/data/Archi/Chap-Monastier/CanonF24/
bin/Pastis DIRECTORY AllCpleImages -1 MkF=MkToto
make all -f MkToto -j2
bin/Apero /mnt/data/Archi/Chap-Monastier/Glob-Chap24-MPD-50/Apero1-Pastis.xml
bin/ImProfAndL2App /mnt/data/Archi/Villeneuve-les-Maguelone/StPierre100/ AllHomAppuis50-100mm Ap... | {
"pile_set_name": "Github"
} |
/*
Example of BH1750 library usage.
This example initialises the BH1750 object using the default high resolution
one shot mode and then makes a light level reading every five seconds.
After the measurement the MTreg value is changed according to the result:
lux > 40000 ==> MTreg = 32
lux < 40000 ==> MTr... | {
"pile_set_name": "Github"
} |
trait A {
type D >: Null <: C
def foo(d: D)(a: Any, d2: d.type): Unit
trait C {
def bar: Unit = foo(null)(null, null)
}
}
object B extends A {
class D extends C
def foo(d: D)(a: Any, d2: d.type): Unit = () // Bridge method required here!
// No bridge method should be added, but we'll be happy enough... | {
"pile_set_name": "Github"
} |
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<plurals name="smartspace_minutes">
<item quantity="other">%d મિનિટ</item>
<item quantity="one">%d મિનિટ</item>
</plurals>
<plurals name="smartspace_hours">
<item quantity="other">%d કલાક</item>
<item quantity="one">%d કલાક</... | {
"pile_set_name": "Github"
} |
# JMS Exclusive Queue Example
To run the example, simply type **mvn verify** from this directory, or **mvn -PnoServer verify** if you want to start and create the broker manually.
This example shows you how to configure ActiveMQ Artemis so all messages are delivered to the same consumer
## ExclusiveQueueExample.java... | {
"pile_set_name": "Github"
} |
defmodule Indexer.Fetcher.StakingPoolsTest do
use EthereumJSONRPC.Case
use Explorer.DataCase
import Mox
alias Indexer.Fetcher.StakingPools
alias Explorer.Staking.PoolsReader
alias Explorer.Chain.StakingPool
@moduletag :capture_log
setup :verify_on_exit!
describe "init/3" do
test "returns pool... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: b113052f621a04a4e8610c32031acf86
timeCreated: 1491342894
licenseType: Pro
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
{% set name = "perl-rest-client" %}
{% set version = "273" %}
{% set sha256 = "a8652a2214308faff2c68be5ce64c904dcccc5e86be7f32376c1590869d01844" %}
package:
name: {{ name }}
version: {{ version }}
source:
url: https://cpan.metacpan.org/authors/id/K/KK/KKANE/REST-Client-273.tar.gz
sha256: {{ sha256 }}
# If th... | {
"pile_set_name": "Github"
} |
<fdp-object-status status="negative" glyph="status-negative" clickable="true" (click)="showObjectStatus()"
>Negative</fdp-object-status
>
<fdp-object-status status="critical" glyph="status-critical" clickable="true" (click)="showObjectStatus()"
>Critical</fdp-object-status
>
<fdp-object-status status="positive"... | {
"pile_set_name": "Github"
} |
{
"Actions": {
"ColumnClickedURL": "சொடுக்கிய வெளியிணைப்பு",
"ColumnClickedURLs": "சொடுக்கிய வெளியிணைப்புகள்",
"ColumnActionURL": "செயல் இணைய முகவரி",
"ColumnClicks": "சொடுக்குகள்",
"ColumnClicksDocumentation": "இந்த இணைப்பு சொடுக்குகளின் எண்ணிக்கை",
"ColumnDownloadUR... | {
"pile_set_name": "Github"
} |
/*
Copyright 2019 The Kubeflow 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, so... | {
"pile_set_name": "Github"
} |
import ElIcon from './src/icon.vue';
/* istanbul ignore next */
ElIcon.install = function(Vue) {
Vue.component(ElIcon.name, ElIcon);
};
export default ElIcon;
| {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright 2017 Bstek
*
* 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/l... | {
"pile_set_name": "Github"
} |
/* -*- Mode: C; c-file-style: "python" -*- */
#include <Python.h>
#include "pycore_dtoa.h"
#include <locale.h>
/* Case-insensitive string match used for nan and inf detection; t should be
lower-case. Returns 1 for a successful match, 0 otherwise. */
static int
case_insensitive_match(const char *s, const char *t)... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2014 The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the ho... | {
"pile_set_name": "Github"
} |
package org.ligi.passandroid.model
import org.ligi.passandroid.model.pass.PassType.*
object PassDefinitions {
val TYPE_TO_NAME = mapOf(COUPON to "coupon",
EVENT to "eventTicket",
BOARDING to "boardingPass",
GENERIC to "generic",
LOYALTY to "storeCard")
val NAM... | {
"pile_set_name": "Github"
} |
json.content JsExports::Supervisor.instance.sweep(
render(
partial: 'topics/topic',
collection: @forums_view.topic_views,
as: :topic_view,
formats: :html,
cache: true
)
)
if @forums_view.next_page_url
json.postloader render 'blocks/postloader',
filter: 'b-topic',
next_url: @forums_vie... | {
"pile_set_name": "Github"
} |
<forms:WindowsPhonePage
x:Class="XLabs.Web.NUnit.WinPhone.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:XLabs.Web.NUnit.WinPhone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
... | {
"pile_set_name": "Github"
} |
@-ms-viewport {
width: device-width;
}
@viewport {
width: device-width;
}
| {
"pile_set_name": "Github"
} |
//
// GHTestRunner.h
//
// Created by Gabriel Handford on 1/16/09.
// Copyright 2008 Gabriel Handford
//
// 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, incl... | {
"pile_set_name": "Github"
} |
/**
* Created by wyw on 2019/3/28.
*/
class Palette {
constructor(canvas, {drawType = 'line', drawColor = 'rgba(19, 206, 102, 1)', lineWidth = 5, sides = 3, allowCallback, moveCallback}) {
this.canvas = canvas;
this.width = canvas.width; // 宽
this.height = canvas.height; // 高
this.... | {
"pile_set_name": "Github"
} |
/*===- llvm/Config/Targets.def - LLVM Target Architectures ------*- C++ -*-===*\
|* *|
|* The LLVM Compiler Infrastructure *|
|* ... | {
"pile_set_name": "Github"
} |
---
type: git_submodule
name: atom-language-srt
version: 386b4b64aee092200753fe12f6caadddc844271b
license: mit
licenses:
- text: |-
Copyright (c) 2016 Pieter Goetschalckx
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
... | {
"pile_set_name": "Github"
} |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_available
#
# Translators:
# Lukáš Spurný <lukasspurny8@gmail.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-27 11:37+0000\n"
"PO-Revision... | {
"pile_set_name": "Github"
} |
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.
*
* This file is divided into 2 sections:
* 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
* 2. Application imports. Files imported... | {
"pile_set_name": "Github"
} |
/**
* Most of the code in the Qalingo project is copyrighted Hoteia and licensed
* under the Apache License Version 2.0 (release version 0.8.0)
* http://www.apache.org/licenses/LICENSE-2.0
*
* Copyright (c) Hoteia, 2012-2014
* http://www.hoteia.com - http://twitter.com/hoteia - con... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2016 MediaTek Inc.
* Author: Jungchang Tsao <jungchang.tsao@mediatek.com>
* Daniel Hsiao <daniel.hsiao@mediatek.com>
* PoChun Lin <pochun.lin@mediatek.com>
*
* This program is free software; you can redistribute it and/or
* modify
* it under the terms of the GNU General Public... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2017, Mellanox Technologies. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this so... | {
"pile_set_name": "Github"
} |
/*
* QEMU CRIS CPU interrupt wrapper logic.
*
* Copyright (c) 2009 Edgar E. Iglesias, Axis Communications AB.
*
* 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, inc... | {
"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 "NSObject-Protocol.h"
@class NSView, NSWindow, TAirDropProgressController;
@protocol TAirDropProgressControllerDelegate <NSOb... | {
"pile_set_name": "Github"
} |
export const truncateString = (s, maxLen, truncationLen) =>
s.length > maxLen
? { stringValue: s.slice(0, truncationLen), isTruncated: true }
: { stringValue: s, isTruncated: false };
export const truncateNumberString = (s, maxLen, precision) =>
s.length > maxLen
? {
stringValue: Number.parseFl... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: da8cded7cfab99e468619802d52aaa65
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 7
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 0
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestRefe... | {
"pile_set_name": "Github"
} |
2010-04-15 Nick Clifton <nickc@redhat.com>
* alpha-ext.h: Update copyright notice to use GPLv3.
* common.h: Likewise.
* external.h: Likewise.
* i386-ext.h: Likewise.
* internal.h: Likewise.
* ppc-ext.h: Likewise.
* sparc32-ext.h: Likewise.
2005-05-10 Nick Clifton <nickc@redhat.com>
* Update the address a... | {
"pile_set_name": "Github"
} |
<?php
namespace Oro\Bundle\ApiBundle\Util;
use Doctrine\Common\Collections\Expr\Comparison;
/**
* An interface for classes that can make a decision whether a specific comparison expression
* from WHERE clause of a query requires joining of a related entity or not.
*/
interface RequireJoinsDecisionMakerInterface
{... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2012 ZXing 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 ... | {
"pile_set_name": "Github"
} |
# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
# $FreeBSD$
PORTREVISION= 0
BOOKS= glib gobject gio
do-install:
.for d in ${BOOKS}
if [ -d ${REFERENCE_SRC}/${d}/html ]; then \
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/${d}; \
cd ${REFERENCE_SRC}/${d}/html && \
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/sha... | {
"pile_set_name": "Github"
} |
$filename = $MyInvocation.MyCommand.Name.Replace(".Tests.ps1", "")
# Get all the info in the function
function Get-ClusterObject {
[CmdletBinding()]
param (
[string]$ClusterVM
)
[PsCustomObject]$return = @{ }
# Don't think you can use the cluster name here it won't run remotely
try {
... | {
"pile_set_name": "Github"
} |
package com.itsxtt.patternlock;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void... | {
"pile_set_name": "Github"
} |
// Copyright 2012 The Closure Library Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requ... | {
"pile_set_name": "Github"
} |
- !StreamStart
- !MappingStart
- !MappingEnd
- !StreamEnd
| {
"pile_set_name": "Github"
} |
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Project-Id-Version: byteball\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Crowdin-Project: byteball\n"
"X-Crowdin-Language: hi\n"
"X-Crowdin-File: /master/i18n/po/template.pot\n"
"Language-Team: Hindi\n"
"Languag... | {
"pile_set_name": "Github"
} |
package top.quhailong.pan.response;
import java.util.Date;
/**
* 用户信息返回实体
*
* @author: quhailong
* @date: 2019/9/26
*/
public class UserInfoDTO {
private Integer id;
private String userId;
private String userName;
private String phone;
private String picLocation;
public Integer getId... | {
"pile_set_name": "Github"
} |
// Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
... | {
"pile_set_name": "Github"
} |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const path_1 = __importDefault(require("path"));
const config_1 = __importDefault(require("./../config")... | {
"pile_set_name": "Github"
} |
/**********************************************************************
* gost_sign.c *
* Copyright (c) 2005-2006 Cryptocom LTD *
* This file is distributed under the same license as OpenSSL *
* ... | {
"pile_set_name": "Github"
} |
/*
* daemon/worker.h - worker that handles a pending list of requests.
*
* Copyright (c) 2007, NLnet Labs. All rights reserved.
*
* This software is open source.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are me... | {
"pile_set_name": "Github"
} |
'use strict';
const ansiRegex = require('ansi-regex');
module.exports = input => typeof input === 'string' ? input.replace(ansiRegex(), '') : input;
| {
"pile_set_name": "Github"
} |
#define COMPONENT sys_contact
#define COMPONENT_BEAUTIFIED Contact Compatibility
#include "\idi\acre\addons\main\script_mod.hpp"
#ifdef DEBUG_ENABLED_SYS_CONTACT
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_ENABLED_SYS_CONTACT
#define DEBUG_SETTINGS DEBUG_SETTINGS_SYS_CONTACT
#endif
#include "\idi\acre\addons... | {
"pile_set_name": "Github"
} |
/*
Copyright 2018 Jetstack 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 applicable law or agreed to in writing, software
d... | {
"pile_set_name": "Github"
} |
package com.df.angularfileupload;
import com.google.appengine.repackaged.org.joda.time.LocalDateTime;
import org.apache.commons.fileupload.FileItemIterator;
import org.apache.commons.fileupload.FileItemStream;
import org.apache.commons.fileupload.servlet.ServletFileUpload;
import javax.servlet.ServletException;
impor... | {
"pile_set_name": "Github"
} |
#include "clar_libgit2.h"
void test_revwalk_simplify__cleanup(void)
{
cl_git_sandbox_cleanup();
}
/*
* a4a7dce [0] Merge branch 'master' into br2
|\
| * 9fd738e [1] a fourth commit
| * 4a202b3 [2] a third commit
* | c47800c [3] branch commit one
|/
* 5b5b025 [5] another commit
* 8496071 [4] testing
*/
stat... | {
"pile_set_name": "Github"
} |
import 'react-native';
import React from 'react';
import Index from '../index.android.js';
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
it('renders correctly', () => {
const tree = renderer.create(
<Index />
);
});
| {
"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.
/**
* @fileoverview This file provides utility functions for position popups.
*/
cr.define('cr.ui', function() {
/**
* Type def for rects as ... | {
"pile_set_name": "Github"
} |
/**
* @license Apache-2.0
*
* Copyright (c) 2019 The Stdlib 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 a... | {
"pile_set_name": "Github"
} |
<?php
/*
* Copyright 2014 Google 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 obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | {
"pile_set_name": "Github"
} |
/**
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
* Build: `lodash modularize exports="node" -o ./compat/`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investiga... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* (C) Copyright 2012-2013, Xilinx, Michal Simek
*
* (C) Copyright 2012
* Joe Hershberger <joe.hershberger@ni.com>
*/
#ifndef _ZYNQPL_H_
#define _ZYNQPL_H_
#include <xilinx.h>
#ifdef CONFIG_CMD_ZYNQ_AES
int zynq_decrypt_load(u32 srcaddr, u32 dstaddr, u32 srclen, u32 dst... | {
"pile_set_name": "Github"
} |
ALTER TABLE performance_schema.replication_applier_global_filters
ADD COLUMN foo integer;
ERROR 42000: Access denied for user 'root'@'localhost' to database 'performance_schema'
TRUNCATE TABLE performance_schema.replication_applier_global_filters;
ERROR 42000: DROP command denied to user 'root'@'localhost' for table 'r... | {
"pile_set_name": "Github"
} |
package com.luckyframe.project.testmanagmt.projectPlan.mapper;
import java.util.List;
import com.luckyframe.project.testmanagmt.projectPlan.domain.ProjectPlanCase;
import org.springframework.stereotype.Component;
/**
* 测试计划用例 数据层
*
* @author luckyframe
* @date 2019-03-15
*/
@Component
public interface ProjectP... | {
"pile_set_name": "Github"
} |
<?php
/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
namespace Piwik\Tests\Unit\DataTable\Filter;
use Piwik\DataTable;
use Piwik\DataTable\Row;
/**
* @group DataTableTest
*/
class DataTable_Filter_AddSummaryRowTe... | {
"pile_set_name": "Github"
} |
gcr.io/google_containers/kube-controller-manager-amd64:v1.7.0-alpha.4
| {
"pile_set_name": "Github"
} |
/* Icon Fade */
.icon-fade() {
.hacks();
position: relative;
padding-right: @spaceBetweenTextAndArrows;
&:before {
content: "\f00c";
position: absolute;
right: 1em;
padding: 0 1px;
font-family: FontAwesome;
.prefixed(transform, translateZ(0));
.prefixed(transition-duration, .5s);
.prefixed(transiti... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
import os.path
import unittest
from outwiker.core.attachment import Attachment
from outwiker.pages.wiki.wikipage import WikiPageFactory
from tests.basetestcases import BaseOutWikerGUIMixin
class WikiEditorDropTargetTest(unittest.TestCase, BaseOutWikerGUIMixin):
"""
Test for drop file... | {
"pile_set_name": "Github"
} |
//
// IASKAppSettingsViewController.h
// http://www.inappsettingskit.com
//
// Copyright (c) 2009:
// Luc Vandal, Edovia Inc., http://www.edovia.com
// Ortwin Gentz, FutureTap GmbH, http://www.futuretap.com
// All rights reserved.
//
// It is appreciated but not required that you give credit to Luc Vandal and O... | {
"pile_set_name": "Github"
} |
//= require i18n-strings
//= require local-time
| {
"pile_set_name": "Github"
} |
// Nes_Snd_Emu 0.1.7. http://www.slack.net/~ant/libs/
#include "Nes_Namco.h"
/* Copyright (C) 2003-2005 Shay Green. This module is free software; you
can redistribute it and/or modify it under the terms of the GNU Lesser
General Public License as published by the Free Software Foundation; either
version 2.1 of the L... | {
"pile_set_name": "Github"
} |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/sync/engine/model_type_configurer.h"
namespace syncer {
ModelTypeConfigurer::ConfigureParams::ConfigureParams() = default;
ModelTyp... | {
"pile_set_name": "Github"
} |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | {
"pile_set_name": "Github"
} |
!function (name, definition) {
if (typeof define == 'function') define(definition)
else if (typeof module != 'undefined') module.exports = definition()
else this[name] = this['domReady'] = definition()
}('domready', function (ready) {
var fns = [], fn, f = false
, doc = document
, testEl = doc.document... | {
"pile_set_name": "Github"
} |
glabel func_809F1FE0
/* 00500 809F1FE0 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00504 809F1FE4 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00508 809F1FE8 AFA40020 */ sw $a0, 0x0020($sp)
/* 0050C 809F1FEC AFA50024 */ sw $a1, 0x0024($sp)
/* 00510 809F1... | {
"pile_set_name": "Github"
} |
module.exports = {
presets: [
['@babel/preset-env', { targets: { node: 'current' } }],
]
};
| {
"pile_set_name": "Github"
} |
/*
Copyright (c) 2005-2016 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.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... | {
"pile_set_name": "Github"
} |
// Copyright 2013 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 CONTENT_BROWSER_LOADER_UPLOAD_DATA_STREAM_BUILDER_H_
#define CONTENT_BROWSER_LOADER_UPLOAD_DATA_STREAM_BUILDER_H_
#include <memory>
#include "co... | {
"pile_set_name": "Github"
} |
from marshmallow_jsonapi.flask import Schema
from marshmallow_jsonapi import fields
class TokenSchema(Schema):
class Meta:
type_ = 'reset-users'
kwargs = {'id': '<id>'}
id = fields.Str(required=True, dump_only=True)
token = fields.Str(required=True)
class ValidTokenSchema(Schema):
cla... | {
"pile_set_name": "Github"
} |
# run_args: -n
# statcheck: noninit_count('slowpath_classmethod_get') <= 10
# statcheck: noninit_count('slowpath_staticmethod_get') <= 10
# statcheck: noninit_count('slowpath_instancemethod_get') <= 10
def _f_plain(self, a, b, c, d):
print 'in f', type(self), a, b, c, d
@staticmethod
def _g(a, b, c, d):
print... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# set up script
if [ $# -ne 1 ]; then
echo -e "Usage: $0 GINKGO_BUILD_DIRECTORY"
exit 1
fi
BUILD_DIR=$1
THIS_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" &>/dev/null && pwd )
source ${THIS_DIR}/../build-setup.sh
# build
${CXX} -std=c++14 -o ${THIS_DIR}/nine-pt-stencil-solver \
${THIS_DIR}/... | {
"pile_set_name": "Github"
} |
/* Main interface for GDB, the GNU debugger.
Copyright (C) 2002-2013 Free Software Foundation, Inc.
This file is part of GDB.
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 v... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=666225
-->
<head>
<title>Test for Bug 666225</title>
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
<link rel="styleshee... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.