text stringlengths 2 99.9k | meta dict |
|---|---|
/*
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"
} |
/**
* TODO: rename files, manual save, tags, sample_submissions, on_eval, non-builtin files
* TODO: import data, history, run, url_data, assignment_settings, parsons_mode
* TODO: delete becomes "clear" for instructor files
*/
/**
*
* @enum {str}
*/
import {AbstractEditor, sluggify} from "./abstract_editor";
imp... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Intl\Tests;
use Symfony\Component\Intl\Locales;
/**
... | {
"pile_set_name": "Github"
} |
/**********************************************************************
Copyright (C) 1998-2001 by OpenEye Scientific Software, Inc.
Some portions Copyright (C) 2001-2006 by Geoffrey R. Hutchison
Some portions Copyright (C) 2004 by Chris Morley
This program is free software; you can redistribute it and/or modify
it un... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "AppIcon29x29@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "AppIcon40x40@2x.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "ipho... | {
"pile_set_name": "Github"
} |
/**
* @license
* Copyright 2013 Palantir Technologies, 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... | {
"pile_set_name": "Github"
} |
[*]
[*] GTKWave Analyzer v3.3.86 (w)1999-2017 BSI
[*] Tue Jun 11 14:44:38 2019
[*]
[dumpfile] "/home/mfj/git/nexys4ddr/offloader/Episodes/ep08_-_Math/math/tb_sqrt.ghw"
[dumpfile_mtime] "Tue Jun 11 14:44:30 2019"
[dumpfile_size] 20971
[savefile] "/home/mfj/git/nexys4ddr/offloader/Episodes/ep08_-_Math/math/tb_sqrt.gtkw"
... | {
"pile_set_name": "Github"
} |
/*!
* Font Awesome Free 5.11.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face {
font-family: 'Font Awesome 5 Free';
font-style: normal;
font-weight: 900;
font-display: auto;
src: url("../webf... | {
"pile_set_name": "Github"
} |
/*
* CPU Frequency Scaling for Loongson 1 SoC
*
* Copyright (C) 2014-2016 Zhang, Keguang <keguang.zhang@gmail.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 implied.
*/
#includ... | {
"pile_set_name": "Github"
} |
{ stdenv, fetchurl, cmake, wxGTK30, openal, pkgconfig, curl, libtorrentRasterbar
, libpng, libX11, gettext, boost, libnotify, gtk2, doxygen, spring
, makeWrapper, glib, minizip, alure, pcre, jsoncpp }:
stdenv.mkDerivation rec {
pname = "springlobby";
version = "0.270";
src = fetchurl {
url = "https://spring... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | {
"pile_set_name": "Github"
} |
require File.expand_path('../../test_helper', __FILE__)
require 'mocha/inspect'
class DateTimeInspectTest < Mocha::TestCase
def test_should_use_include_date_in_seconds
time = Time.now
assert_equal "#{time.inspect} (#{time.to_f} secs)", time.mocha_inspect
end
def test_should_use_to_s_for_date
date =... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2016 Linaro Ltd.
* Copyright 2016 ZTE Corporation.
*
* 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.
*
*/
#ifndef __ZX_PLANE_REGS_H__
#define __ZX_PLANE_REGS_H_... | {
"pile_set_name": "Github"
} |
<div class="row">
<div class="columns large-4 push-4">
<%= form_for @place, html: { role: "form", class: "transparent-form" } do |f| %>
<div class="unit-panel">
<div class="row">
<div class="large-12 columns">
<%= f.label :lat %>
<%= f.text_field :lat %>
... | {
"pile_set_name": "Github"
} |
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: http://www.qt-project.org/
**
**
** GNU Lesser General Public License Usage
**
** This file may be used under the terms... | {
"pile_set_name": "Github"
} |
//----------------------------------------
// The code is automatically generated by the GenlibLcl tool.
// Copyright © ying32. All Rights Reserved.
//
// Licensed under Apache License 2.0
//
//----------------------------------------
package vcl
import (
. "github.com/ying32/govcl/vcl/api"
. "github.com/... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 62653da62326f48428c5be186a9c0477
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
Switch page-height to nrows.
| {
"pile_set_name": "Github"
} |
/* Applied Micro X-Gene SoC Ethernet Driver
*
* Copyright (c) 2014, Applied Micro Circuits Corporation
* Authors: Iyappan Subramanian <isubramanian@apm.com>
* Keyur Chudgar <kchudgar@apm.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_10) on Fri Jan 30 10:00:26 CST 2015 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
org.openwebflow.assign.imp... | {
"pile_set_name": "Github"
} |
# strip-final-newline [](https://travis-ci.com/sindresorhus/strip-final-newline)
> Strip the final [newline character](https://en.wikipedia.org/wiki/Newline) from a string/buffer
Can be useful when parsing the output of, for exam... | {
"pile_set_name": "Github"
} |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | {
"pile_set_name": "Github"
} |
function rw = allan_get_rw (tau, allan, dt)
% allan_get_rw: gets random walk values from Allan variance.
%
% INPUT
% tau: Nx1 Allan variance time vector (seconds).
% allan: Nx1 Allan variance.
% dt: sampling time from the signal under analysis.
%
% OUTPUT
% rw: random walk values.
%
% Copyright (C) 2014, Ro... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>CSS Test: Basic min-height test (with overflow:scroll)</title>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<lin... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 226c4169814b4f54b8caf84e61807078
folderAsset: yes
timeCreated: 1506001868
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
{
"images" : [
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "GramIcon@40x40.png",
"scale" : "2x"
},
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "GramIcon@60x60.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "iphone... | {
"pile_set_name": "Github"
} |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2010 Adrian Sai-wah Tam
*
* 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 i... | {
"pile_set_name": "Github"
} |
//
// ObjectScope.swift
// Swinject
//
// Created by Yoichi Tagaya on 7/24/15.
// Copyright © 2015 Swinject Contributors. All rights reserved.
//
/// A configuration how an instance provided by a `Container` is shared in the system.
/// The configuration is ignored if it is applied to a value type.
///
/// **Cases... | {
"pile_set_name": "Github"
} |
/*
Copyright Charly Chevalier 2015
Copyright Joel Falcou 2015
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_H
#define BOOST_PREDEF_HARDWARE_SIMD_X86_H
#include <boo... | {
"pile_set_name": "Github"
} |
//
// detail/thread_info_base.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#ifndef ASIO_... | {
"pile_set_name": "Github"
} |
{% load blog_tags keyword_tags i18n mezzanine_tags %}
{% block blog_categories %}
{% blog_categories as categories %}
{% if categories %}
<div class="widget">
<h5>{% trans "Categories" %}</h5>
<ul class="archive arrow">
{% for category in categories %}
<li><a href="{% url "blog_post_list_category" category.slug %}"
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:drawable="@android:drawable/list_selector_background" />
<item android:state_pressed="true" android:drawable="@android:drawable/list_selector_background" />
... | {
"pile_set_name": "Github"
} |
<?php
/**
* Mutagenesis
*
* 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://github.com/padraic/mutateme/blob/rewrite/LICENSE
* If you did not receive a copy of the... | {
"pile_set_name": "Github"
} |
package com.journaldev.struts2.actions;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.Namespaces;
import org.apache.struts2.convention.annotation.Result;
/**
* Notice the @Action annotation where acti... | {
"pile_set_name": "Github"
} |
/**
@file
@author Nicholas Gillian <ngillian@media.mit.edu>
@version 1.0
*/
/**
GRT MIT License
Copyright (c) <2012> <Nicholas Gillian, Media Lab, MIT>
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 Sof... | {
"pile_set_name": "Github"
} |
(function() {var implementors = {};
implementors['collections'] = ["impl <a class='trait' href='collections/str/trait.FromStr.html' title='collections::str::FromStr'>FromStr</a> for <a class='struct' href='collections/string/struct.String.html' title='collections::string::String'>String</a>",];
if (window.... | {
"pile_set_name": "Github"
} |
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
#include "tree/pattern/ParseTreePattern.h"
#include "tree/pattern/ParseTreeMatch.h"
#include "tree/TerminalNode.h"
#inclu... | {
"pile_set_name": "Github"
} |
/**
* Catalan translation for bootstrap-datepicker
* J. Garcia <jogaco.en@gmail.com>
*/
;(function($){
$.fn.datepicker.dates['ca'] = {
days: ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte", "Diumenge"],
daysShort: ["Diu", "Dil", "Dmt", "Dmc", "Dij", "Div", "Dis", "Diu"],
days... | {
"pile_set_name": "Github"
} |
import FreestyleController from 'ember-freestyle/controllers/freestyle';
export default FreestyleController.extend({
init() {
this._super(...arguments);
this.set('components', findAllUsageComponents());
},
});
export function findAllUsageComponents() {
let components = findUsageComponents();
let templ... | {
"pile_set_name": "Github"
} |
/***
Copyright (c) 2012-2017 CommonsWare, LLC
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 w... | {
"pile_set_name": "Github"
} |
var convert = require('./convert'),
func = convert('random', require('../random'));
func.placeholder = require('./placeholder');
module.exports = func;
| {
"pile_set_name": "Github"
} |
(function() {
console.log("Hello, World!");
}).call(this);
| {
"pile_set_name": "Github"
} |
/* -*- c -*-
* linux/include/linux/auto_fs4.h
*
* Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org>
*
* This file is part of the Linux kernel and is made available under
* the terms of the GNU General Public License, version 2, or at your
* option, any later version, incorporated herein by reference.
*/... | {
"pile_set_name": "Github"
} |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | {
"pile_set_name": "Github"
} |
/*****************************************************
*
* Copyright 2009 Adobe Systems Incorporated. All Rights Reserved.
*
*****************************************************
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file ... | {
"pile_set_name": "Github"
} |
/*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | {
"pile_set_name": "Github"
} |
<!-- extend from about base layout -->
{% extends "about.html" %}
{% block title %}: {{question.question}}{% endblock %}
{% block about_content %}
{% with q = question %}
<!-- Display question -->
<div class="decision short answer">
<!-- Show vote count and buttons -->
<div class="vote_block ... | {
"pile_set_name": "Github"
} |
perf-report(1)
==============
NAME
----
perf-report - Read perf.data (created by perf record) and display the profile
SYNOPSIS
--------
[verse]
'perf report' [-i <file> | --input=file]
DESCRIPTION
-----------
This command displays the performance counter profile information recorded
via perf record.
OPTIONS
-------... | {
"pile_set_name": "Github"
} |
module.exports = (targetVal, opts) => {
if (!(opts.property in targetVal)) {
return [
{
message: `${opts.property} property is missing`,
},
];
}
};
| {
"pile_set_name": "Github"
} |
#------------------------------------------------------------------------------
# $File: mercurial,v 1.4 2009/09/19 16:28:10 christos Exp $
# mercurial: file(1) magic for Mercurial changeset bundles
# http://www.selenic.com/mercurial/wiki/
#
# Jesse Glick (jesse.glick@sun.com)
#
0 string HG10 Mercurial changeset b... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env bash
# Drives tests for our CI system. This looks for the following environment variables:
# Defined by codeship
# - CI_BRANCH
# - CI_COMMIT_MESSAGE
# - PROJECT_ID
# Defined in ../codeship-services.yml
# - TESTENV
# - PYVERSION
set -e # fail immediately if any command fails
if [ -z "${CI_BRANCH}" ]; t... | {
"pile_set_name": "Github"
} |
/*
Feathers
Copyright 2012-2013 Joshua Tynjala. All Rights Reserved.
This program is free software. You can redistribute and/or modify it in
accordance with the terms of the accompanying license agreement.
*/
package feathers.text
{
import flash.text.TextFormatAlign;
import starling.text.BitmapFont;
import starlin... | {
"pile_set_name": "Github"
} |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\... | {
"pile_set_name": "Github"
} |
/*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public... | {
"pile_set_name": "Github"
} |
# brave-instrumentation-http rationale
## `HttpClientRequest`, `HttpClientResponse`, `HttpServerRequest` and `HttpServerResponse` types
Initially, we had a partial function of (adapter, request) to parse attributes
like the HTTP path from a request. This made sense in the http abstraction, as
all types that needed th... | {
"pile_set_name": "Github"
} |
using SharpGen.Logging;
using SharpGen.Model;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace SharpGen.Transform
{
internal class InteropSignatureTransform
{
public class SignatureInteropTypeOverride
{
public SignatureInteropTy... | {
"pile_set_name": "Github"
} |
@import "reset";
@import "prefixer";
@import "spacing";
@import "typography";
@import "idioms";
@import "grid";
@import "bars-buttons";
@import "buttons"; | {
"pile_set_name": "Github"
} |
// Copyright (c) 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.
#include "tools/gn/pattern.h"
#include "tools/gn/value.h"
namespace {
void ParsePattern(const std::string& s, std::vector<Pattern::Subrange>* out) ... | {
"pile_set_name": "Github"
} |
function GenCrossValidationData()
SPR = 0;
tag = sprintf('.SPR%d', SPR);
para.local.clean_wav_root = ChoosePath4OS({'D:\Data\NoiseData\Libri\LibriSpeech\dev-clean', '/media/xiaoxiong/OS/data1/G/REVERB_Challenge'});
para.local.clean_wav_ext = 'flac';
para.local.rir_wav_root = ChoosePath4OS({'D:\Data\NoiseData\ReverbE... | {
"pile_set_name": "Github"
} |
//
// Copyright (c) 2016 Marat Abrarov (abrarov@gmail.com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <cstddef>
#include <iterator>
#include <stdexcept>
#include <boost/asio.hpp>
#include <gtest/gtest.h... | {
"pile_set_name": "Github"
} |
//===-- RISCVELFStreamer.h - RISCV ELF Target Streamer ---------*- C++ -*--===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | {
"pile_set_name": "Github"
} |
/* BEGIN_COMMON_COPYRIGHT_HEADER
*
* TOra - An Oracle Toolkit for DBA's and developers
*
* Shared/mixed copyright is held throughout files in this product
*
* Portions Copyright (C) 2000-2001 Underscore AB
* Portions Copyright (C) 2003-2005 Quest Software, Inc.
* Portions Copyright (C) 2004-2013 Numerous Other... | {
"pile_set_name": "Github"
} |
#include <iostream>
#include "testlib/testlib_test.h"
#ifdef _MSC_VER
# include "vcl_msvc_warnings.h"
#endif
#include "vgl/vgl_point_3d.h"
#include "vgl/vgl_homg_point_3d.h"
#include "vgl/vgl_box_2d.h"
#include "vgl/vgl_box_3d.h"
#include <vgl/algo/vgl_rotation_3d.h>
#include <bpgl/algo/bpgl_project.h>
#include "vpgl/... | {
"pile_set_name": "Github"
} |
syntax module NitraSyntax
{
using Nitra.Core;
syntax Foo = "aa";
syntax AstMember
{
| ChildAst = "|" Foo Foo* sm Foo? sm Body=Foo? Foo
}
}
| {
"pile_set_name": "Github"
} |
//
// ts/buffer.hpp
// ~~~~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#ifndef BOOST_ASIO_TS_BUFFER_HPP
#define ... | {
"pile_set_name": "Github"
} |
SERIAL 0 38400
UI boot/syslinux/vesamenu.c32
MENU TITLE Apricity OS
MENU BACKGROUND boot/syslinux/splash.png
MENU WIDTH 78
MENU MARGIN 4
MENU ROWS 7
MENU VSHIFT 10
MENU TABMSGROW 14
MENU CMDLINEROW 14
MENU HELPMSGROW 16
MENU HELPMSGENDROW 29
# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
MENU COLOR bor... | {
"pile_set_name": "Github"
} |
package com.winterchen.utils;
/**
* Created by Donghua.Chen on 2018/6/21.
*/
/**
* 返回的参数封装类
* Created by Donghua.Chen on 2018/4/20.
*/
public class APIResponse <T> {
private static final String CODE_SUCCESS = "success";
private static final String CODE_FAIL = "fail";
private String code;
privat... | {
"pile_set_name": "Github"
} |
/* please read copyright-notice at EOF */
#include <stdint.h>
#include <avr/pgmspace.h>
#include "lib_util.h"
uint32_t _swaplong( const uint32_t l)
{
union {
uint32_t x;
struct {
uint8_t a;
uint8_t b;
uint8_t c;
uint8_t d;
} s;
} in, out;
in.x = l;
out.s.a = in.s.d;
out.s.b = in.s.c;
out.s.c ... | {
"pile_set_name": "Github"
} |
<?php
namespace Oro\Bundle\RFPBundle\Provider;
use Oro\Bundle\ProductBundle\Entity\Product;
class ProductAvailabilityProvider implements ProductAvailabilityProviderInterface
{
/**
* {@inheritdoc}
*/
public function isProductApplicableForRFP(Product $product)
{
return $product->getType()... | {
"pile_set_name": "Github"
} |
package crypto
import (
"bytes"
"github.com/lucas-clemente/quic-go-certificates"
)
type certSet [][]byte
var certSets = map[uint64]certSet{
certsets.CertSet2Hash: certsets.CertSet2,
certsets.CertSet3Hash: certsets.CertSet3,
}
// findCertInSet searches for the cert in the set. Negative return value means not fo... | {
"pile_set_name": "Github"
} |
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Code to handle x86 style IRQs plus some generic interrupt stuff.
*
* Copyright (C) 1992 Linus Torvalds
* Copyright (C) 1994 - 2000 Ralf... | {
"pile_set_name": "Github"
} |
/* Copyright 2014 Google Inc. 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 required by applicable law... | {
"pile_set_name": "Github"
} |
Hong Kong's lawmaking chamber suffered a blow last week when its speaker broke ranks to vie for a seat in an interim body Beijing plans to install in the territory next year, political analysts said on Sunday.
Andrew Wong, Legislative Council president, made an about-turn when he said he was seeking a seat in the Provi... | {
"pile_set_name": "Github"
} |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__CWE193_wchar_t_alloca_ncpy_82.h
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE193.label.xml
Template File: sources-sink-82.tmpl.h
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: Point data to a... | {
"pile_set_name": "Github"
} |
/*
This file is a part of libcds - Concurrent Data Structures library
(C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
Redistribution and use in source and binary forms, ... | {
"pile_set_name": "Github"
} |
// Script for OllyScript plugin by SHaG - http://ollyscript.apsvans.com
///////////////////////////////////////////////////////////////////////////
//
// Brilliant "eXPressor v1.2.0.1" OEP finder script - by Haggar :-)
//
// I think that you need more time to click on Pluggins menu in Olly
// to use this script, ... | {
"pile_set_name": "Github"
} |
/**
* TLSPad
*
* A padding implementation used by TLS
* Copyright (c) 2007 Henri Torgemane
*
* See LICENSE.txt for full license information.
*/
package com.hurlant.crypto.symmetric {
import flash.utils.ByteArray;
import com.hurlant.util.Hex;
import com.hurlant.crypto.tls.TLSError;
public class SSLPad imp... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2019 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
* SPDX-License-Identifier: GPL-2.0-only
*
*/
#include <common/compat/directory-handle.h>
#include <common/error.h>
#include <common/macros.h>
#include <common/runas.h>
#include <common/credentials.h>
#include <lttng/constant.h>
#include ... | {
"pile_set_name": "Github"
} |
valgrind: no program specified
valgrind: Use --help for more information.
| {
"pile_set_name": "Github"
} |
{
"create_language": [
{
"name": "Create trusted language",
"url": "/browser/language/obj/",
"is_positive_test": true,
"test_data": {
"name": "PLACE_HOLDER",
"lanowner": "PLACE_HOLDER",
"trusted": true,
"lanproc": "plpgsql_call_handler",
"laninl": "b... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2018 New Vector 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 ... | {
"pile_set_name": "Github"
} |
//
// TagView.swift
// TagListViewDemo
//
// Created by Dongyuan Liu on 2015-05-09.
// Copyright (c) 2015 Ela. All rights reserved.
//
import UIKit
@IBDesignable
open class TagView: UIButton {
@IBInspectable open var cornerRadius: CGFloat = 0 {
didSet {
layer.cornerRadius = cornerRadius
... | {
"pile_set_name": "Github"
} |
<?php
/**
* Class for converting between different unit-lengths as specified by
* CSS.
*/
class HTMLPurifier_UnitConverter
{
const ENGLISH = 1;
const METRIC = 2;
const DIGITAL = 3;
/**
* Units information array. Units are grouped into measuring systems
* (English, Metric), and are assign... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2020 Storj Labs, Inc.
// See LICENSE for copying information.
import {
EstimatedPayout,
PayoutPeriod,
SatelliteHeldHistory,
SatellitePayoutForPeriod,
TotalHeldAndPaid,
TotalPaystubForPeriod,
} from '@/storagenode/payouts/payouts';
/**
* Holds 'start' and 'end' of payout perio... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* 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, or (at your option)
* any later version.
*
* ... | {
"pile_set_name": "Github"
} |
// Code generated by counterfeiter. DO NOT EDIT.
package uifakes
import (
"sync"
"code.cloudfoundry.org/cli/util/configv3"
"code.cloudfoundry.org/cli/util/ui"
)
type FakeConfig struct {
ColorEnabledStub func() configv3.ColorSetting
colorEnabledMutex sync.RWMutex
colorEnabledArgsForCall []struct {
... | {
"pile_set_name": "Github"
} |
{
"action": {
"misuse": {
"notes": "says only that he \"had access to\" this information. Not sure whether that's physical documents or a database.",
"variety": [
"Unknown"
],
"vector": [
"Unknown"
]
}
},
"actor": {
"internal": {
"motive": [
... | {
"pile_set_name": "Github"
} |
var baseCallback = require('../internal/baseCallback'),
baseWhile = require('../internal/baseWhile');
/**
* Creates a slice of `array` excluding elements dropped from the beginning.
* Elements are dropped until `predicate` returns falsey. The predicate is
* bound to `thisArg` and invoked with three arguments: (... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of the php-code-coverage package.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SebastianBergmann\CodeCoverage\Node;
use SebastianBergmann... | {
"pile_set_name": "Github"
} |
// Stacked Icons
// -------------------------
.#{$fa-css-prefix}-stack {
position: relative;
display: inline-block;
width: 2em;
height: 2em;
line-height: 2em;
vertical-align: middle;
}
.#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x {
position: absolute;
left: 0;
width: 100%;
text-align: c... | {
"pile_set_name": "Github"
} |
/*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public... | {
"pile_set_name": "Github"
} |
java_library(name = "file_without_trailing_newline")
| {
"pile_set_name": "Github"
} |
# model settings
model = dict(
type='FCOS',
pretrained='open-mmlab://resnet101_caffe',
backbone=dict(
type='ResNet',
depth=101,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
norm_cfg=dict(type='BN', requires_grad=False),
style='caffe'),
... | {
"pile_set_name": "Github"
} |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.12/15.12.3/15.12.3-6-a-1.js
* @description JSON.stringify treats numeric space arguments greater than 10 the same as a space argument of 10.
*/
function testcase() {
var obj = {a1: {b1: [1,2,3,4], b2: {c1: 1, c2: 2}},a2: 'a2'}... | {
"pile_set_name": "Github"
} |
var isNumber = require('./isNumber');
/**
* Checks if `value` is `NaN`.
*
* **Note:** This method is based on
* [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as
* global [`isNaN`](https://mdn.io/isNaN) which returns `true` for
* `undefined` and other non-number values.
*
* @static
* @membe... | {
"pile_set_name": "Github"
} |
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.features2d;
import org.opencv.features2d.Feature2D;
// C++: class ORB
//javadoc: ORB
public class ORB extends Feature2D {
protected ORB(long addr) { super(addr); }
public static final int
kBytes = 32,
... | {
"pile_set_name": "Github"
} |
DO $$
BEGIN
IF NOT EXISTS (SELECT 1 FROM pg_roles WHERE rolname = 'ccp_monitoring') THEN
CREATE ROLE ccp_monitoring WITH LOGIN;
END IF;
-- The pgmonitor role is required by the pgnodemx extension in PostgreSQL versions 9.5 and 9.6
-- and should be removed when upgrading to PostgreSQL 10 and abo... | {
"pile_set_name": "Github"
} |
package mixit.util.validator
import org.springframework.stereotype.Component
import java.net.MalformedURLException
import java.net.URL
/**
* @author Dev-Mind <guillaume@dev-mind.fr>
* @since 11/02/18.
*/
@Component
class UrlValidator {
fun isValid(value: String?): Boolean {
if (value == null || value.... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2015-2017, Chill Zhuang 庄骞 (smallchill@163.com).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | {
"pile_set_name": "Github"
} |
"============================================================================
"File: hadolint.vim
"Description: Dockerfile linter written in Haskell
" (http://hadolint.lukasmartinelli.ch/).
"Maintainer: Jesper B. Rosenkilde <jbr at humppa dot dk>
"License: This program is free software. It comes... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.