text stringlengths 2 99.9k | meta dict |
|---|---|
/*
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | {
"pile_set_name": "Github"
} |
// <copyright>
// Copyright by the Spark Development Network
//
// Licensed under the Rock Community License (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.rockrms.com/license
//
// Unless required by applicable law or ag... | {
"pile_set_name": "Github"
} |
/*
* Copyright 1999-2018 Alibaba Group Holding 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 applica... | {
"pile_set_name": "Github"
} |
'use strict'
const url = require('url')
const SHORTCUTS = [
'style',
'label',
'logo',
'logoWidth',
'colorA',
'colorB',
'maxAge',
'longCache',
'link'
]
module.exports = function (service, path, opts) {
if (!opts) opts = {}
const type = opts.type || 'svg'
const query = opts.query || {}
for ... | {
"pile_set_name": "Github"
} |
/*
* Firmata is a generic protocol for communicating with microcontrollers
* from software on a host computer. It is intended to work with
* any host computer software package.
*
* To download a host software package, please click on the following link
* to open the list of Firmata client libraries in your defaul... | {
"pile_set_name": "Github"
} |
<?php
/**
* Locale data for 'en_Dsrt_US'.
*
* This file is automatically generated by yiic cldr command.
*
* Copyright © 1991-2007 Unicode, Inc. All rights reserved.
* Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
*
* Copyright © 2008-2010 Yii Software LLC (http://www.yiiframework... | {
"pile_set_name": "Github"
} |
const fs = require('fs')
function readFilePromise( filename ) {
let _callback = () => {}
let _errorCallback = () => {}
fs.readFile(filename, (error, buffer) => {
if (error) _errorCallback(error)
else _callback(buffer)
})
return {
then( cb, errCb ){
_callback = cb
_errorCallback = errCb
}
}
}
// ... | {
"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="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Sun Feb 11 13:07:09 CET 2018 -->
<title>org.opencv.core Class Hierarchy</title>
<meta name="date" content="2018-02-11">
<link r... | {
"pile_set_name": "Github"
} |
/*
** Copyright (c) 2012 The Khronos Group Inc.
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and/or associated documentation files (the
** "Materials"), to deal in the Materials without restriction, including
** without limitation the rights to use, copy, modif... | {
"pile_set_name": "Github"
} |
#!/bin/sh
REPO="cachelot"
[ -d "${REPO}" ] && rm -rf ${REPO}
git clone https://github.com/cachelot/cachelot.git ${REPO}
cd ${REPO} &&
./all_build.sh &&
./run_tests.sh
| {
"pile_set_name": "Github"
} |
## Business-card in GoBuffalo
[Part 1 - templates, navigation](http://mycodesmells.com/post/business-card-in-gobuffalo---part-1)
[Part 2 - i18n](http://mycodesmells.com/post/business-card-in-go-buffalo---part-2---i18n)
[Part 3 - database](http://mycodesmells.com/post/business-card-in-go-buffalo---part-3---database)
... | {
"pile_set_name": "Github"
} |
platform 68k
imports InternetConfig.lib
| {
"pile_set_name": "Github"
} |
43f293da9093faa19436c48d38df43755047a392b4f51e081bfb791188d4cab3c8150043b4dea4c4439dfecd29e00c1948f5726444fceefee192b8863264b2be
| {
"pile_set_name": "Github"
} |
package validate
import (
"encoding/pem"
"fmt"
"regexp"
)
func AttestationName(i interface{}, k string) (warning []string, errors []error) {
v, ok := i.(string)
if !ok {
return nil, append(errors, fmt.Errorf("expected type of %s to be string", k))
}
if !regexp.MustCompile(`^[a-z\d]{3,24}\z`).MatchString(v) ... | {
"pile_set_name": "Github"
} |
name: Cleanup Duplicate CI Runs
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '*/5 * * * *'
jobs:
cleanup-prs:
if: github.repository == 'quarkusio/quarkus'
name: "Cleanup Duplicate PRs"
runs-on: ubuntu-latest
steps:
- uses: n1hility/cancel... | {
"pile_set_name": "Github"
} |
.. image:: https://travis-ci.org/matthew-brett/delocate.svg?branch=master
:target: https://travis-ci.org/matthew-brett/delocate
########
Delocate
########
OSX utilities to:
* find dynamic libraries imported from python extensions
* copy needed dynamic libraries to directory within package
* update OSX ``install_... | {
"pile_set_name": "Github"
} |
<!-- AUTO-GENERATED FILE. DO NOT MODIFY. -->
<shape xmlns:android="http://schemas.android.com/apk/res/android" /> | {
"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/webcrypto/algorithm_registry.h"
#include "base/lazy_instance.h"
#include "components/webcrypto/algorithm_implementation.h"
#include ... | {
"pile_set_name": "Github"
} |
# yada - full bundle
## Testing
Testing this bundle is done from the top-level yada directory:
lein test
| {
"pile_set_name": "Github"
} |
//
// UIView+DefaultColor.m
// Runtime
//
// Created by pro648 on 2020/3/7.
// Copyright © 2020 pro648. All rights reserved.
//
#import "UIView+DefaultColor.h"
#import <objc/runtime.h>
static void *kDefaultColorKey = &kDefaultColorKey;
@implementation UIView (DefaultColor)
- (UIColor *)defaultColor {
// retu... | {
"pile_set_name": "Github"
} |
{%MainUnit ../stdctrls.pp}
{
*****************************************************************************
This file is part of the Lazarus Component Library (LCL)
See the file COPYING.modifiedLGPL.txt, included in this distribution,
for details about the license.
*********************************************... | {
"pile_set_name": "Github"
} |
package sqlite
import (
"fmt"
"strings"
"github.com/sirupsen/logrus"
utilerrors "k8s.io/apimachinery/pkg/util/errors"
"github.com/operator-framework/operator-registry/pkg/registry"
)
type SQLRemover interface {
Remove() error
}
// PackageRemover removes a package from the database
type PackageRemover struct ... | {
"pile_set_name": "Github"
} |
/**
* Copyright (C) 2008-2014, Marvell International Ltd.
*
* This software file (the "File") is distributed by Marvell International
* Ltd. under the terms of the GNU General Public License Version 2, June 1991
* (the "License"). You may use, redistribute and/or modify this File in
* accordance with... | {
"pile_set_name": "Github"
} |
/*
* -\-\-
* Spotify Apollo Metrics Module
* --
* Copyright (C) 2013 - 2016 Spotify AB
* --
* 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/LI... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
====================================... | {
"pile_set_name": "Github"
} |
namespace MassTransit.Testing.Indicators
{
using System.Threading.Tasks;
using GreenPipes;
using GreenPipes.Util;
public abstract class BaseBusActivityIndicatorConnectable : Connectable<IConditionObserver>,
IObservableCondition
{
public ConnectHandle ConnectConditionObserver(ICondi... | {
"pile_set_name": "Github"
} |
/*
* Key idea:
*
* In C++14 we can omit the trailing return type, leaving just the leading
* auto. With that form of declaration, auto does mean that type deduction
* will take place. In particular, it means that compilers will deduce the
* function's return type from the function's implementation.
*/
... | {
"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"
} |
#!/usr/bin/env python3
"""This is an example to train a task with TRPO algorithm (PyTorch).
Here it runs InvertedDoublePendulum-v2 environment with 100 iterations.
"""
import torch
from garage import wrap_experiment
from garage.envs import GymEnv
from garage.experiment.deterministic import set_seed
from garage.torch.... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Add NLog Logger to a class</Title>
<Author>NLog Project</Author>
<Description>Add Logger creation statement to a class.</Descripti... | {
"pile_set_name": "Github"
} |
#! /bin/sh
. ../../testenv.sh
GHDL_STD_FLAGS=--std=08
analyze to_slv_issue.vhdl
elab_simulate to_slv_issue
clean
echo "Test successful"
| {
"pile_set_name": "Github"
} |
/*
* $HeadURL: $
* $Revision: $
* $Date: $
*
* ====================================================================
*
* 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 ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.nodeclipse.n... | {
"pile_set_name": "Github"
} |
package com.cheng.utils;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.SystemClock;
import android.text.TextUtils;
/**
* 轮询服务工具类
*/
public final class PollingUtil {
private static final boolean DEBUG = true;
... | {
"pile_set_name": "Github"
} |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\/ M anipulation |
-------------... | {
"pile_set_name": "Github"
} |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* No matter how control leaves the embedded 'Statement',
* the scope chain is always restored to its former state
*
* @path ch12/12.10/S12.10_A3.3_T3.js
* @description Declaring "with" statement within a function constructor, leading to normal comple... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2003, Fernando Luis Cacciola Carballal.
//
// 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)
//
// See http://www.boost.org/libs/optional for documentation.
//
// You are welcome to contact the aut... | {
"pile_set_name": "Github"
} |
#ifndef AL_ALIGN_H
#define AL_ALIGN_H
#if defined(HAVE_STDALIGN_H) && defined(HAVE_C11_ALIGNAS)
#include <stdalign.h>
#endif
#ifndef alignas
#if defined(IN_IDE_PARSER)
/* KDevelop has problems with our align macro, so just use nothing for parsing. */
#define alignas(x)
#elif defined(HAVE_C11_ALIGNAS)
#define alignas ... | {
"pile_set_name": "Github"
} |
type=armor
items=minecraft:leather_chestplate minecraft:leather_leggings minecraft:leather_boots
texture.leather_layer_1=blank
texture.leather_layer_1_overlay=dragon_layer_1
texture.leather_layer_2_overlay=dragon_layer_2
nbt.display.Name=ipattern:*old dragon * | {
"pile_set_name": "Github"
} |
/*
* This file is part of the Jikes RVM project (http://jikesrvm.org).
*
* This file is licensed to You under the Eclipse Public License (EPL);
* You may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.opensource.org/licenses/eclipse-1.0.... | {
"pile_set_name": "Github"
} |
data:
files: []
chunks: []
tests:
-
description: "Upload when length is 0"
act:
operation: upload
arguments:
filename: "filename"
source: { $hex : "" }
options: { chunkSizeBytes : 4 }
assert:
result... | {
"pile_set_name": "Github"
} |
[package]
name = "traits-example"
version = "0.1.0"
authors = ["Your Name <you@example.com>"]
edition = "2018"
[dependencies]
| {
"pile_set_name": "Github"
} |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.6.3.1_A1;
* @section: 15.6.3.1;
* @assertion: The initial value of Boolean.prototype is the Boolean
* prototype object;
* @description: Checking Boolean.prototype p... | {
"pile_set_name": "Github"
} |
#if !defined(BOOST_PP_IS_ITERATING)
// Copyright David Abrahams 2002.
// 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 SIGNATURE_DWA20021121_HPP
# define SIGNATURE_DWA20021121_HPP
# include... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<window title="XUL Radios"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script>
<![CDATA[
function setText(textID,val)
{
document.getElementBy... | {
"pile_set_name": "Github"
} |
[
{
"op": "add",
"path": "/twoHanded",
"value": false
}
] | {
"pile_set_name": "Github"
} |
; RUN: llc -mcpu=pwr7 -O0 -code-model=medium <%s | FileCheck %s
; RUN: llc -mcpu=pwr7 -O0 -code-model=large <%s | FileCheck %s
; Test correct code generation for medium and large code model
; for loading and storing an external variable.
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3... | {
"pile_set_name": "Github"
} |
Paragraphs
A short paragraph of text.
A second short paragraph this one is hard wrapped though.
Another paragraph of text that is really, honestly, too long not to
wrap I wonder what will happen?
And finally, here's a paragraph of text with extra spaces
| {
"pile_set_name": "Github"
} |
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modules", "Modules", "{C25E055D-DBB5-4B7D-863C-40B12712B0CE}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Qt 4.6: main.cpp Example File (itemviews/pixelator/main.cpp)</title>
<link href="classic.css" rel="style... | {
"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="en">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Thu May 29 11:39:00 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>NameN (Jackson-core... | {
"pile_set_name": "Github"
} |
[1,000,000,000 Studs]
0032A3A0 05F5E0FF
[Infinite Health]
602C2478 00000000
B02C2478 00000000
00000108 3C000005
D2000000 00000000
| {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
<title>FixedColumns example - Index column</title>
<link rel="stylesheet" type="text/css" href="../../... | {
"pile_set_name": "Github"
} |
cmake_minimum_required(VERSION 3.1)
set(CPD_LANGUAGES CXX)
set(CPD_VERSION 0.5.1)
set(CPD_SOVERSION 0)
# Policies
if(POLICY CMP0048) # Project version
cmake_policy(SET CMP0048 NEW)
project(cpd LANGUAGES ${CPD_LANGUAGES} VERSION ${CPD_VERSION})
else()
project(cpd ${CPD_LANGUAGES})
endif()
if(POLICY CMP004... | {
"pile_set_name": "Github"
} |
/*
* xlnx_dpdma.h
*
* Copyright (C) 2015 : GreenSocs Ltd
* http://www.greensocs.com/ , email: info@greensocs.com
*
* Developed by :
* Frederic Konrad <fred.konrad@greensocs.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Li... | {
"pile_set_name": "Github"
} |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // A... | {
"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_35) on Tue Oct 09 17:08:15 PDT 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
FromStringDeserializer (jackson-d... | {
"pile_set_name": "Github"
} |
using DotVVM.Framework.Binding;
using DotVVM.Framework.Controls;
using System;
namespace DotVVM.Samples.Common.Views.ControlSamples.Repeater.SampleControl
{
public class ControlWithButton : DotvvmMarkupControl
{
public Action GoToDetailAction
{
get { return (Action)GetValue(GoToDeta... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
module AwsSdkCodeGenerator
class ResourceClientRequestParams < String
include Helper
# @option options [Array] :params ([])
def initialize(options = {})
@params = options.fetch(:params, nil) || []
super(format_params)
end
def simple?
@params.all?... | {
"pile_set_name": "Github"
} |
0.0003441303682860819231167343154771665059 {omega[1]}
0.0008367064277683688467219135420551573423 {omega[2]}
0.0014271485282657703321934560230892230503 {omega[3]}
0.0022063350723832944777563433175898710559 {omega[4]}
0.0033170826663852254770310990688100827306 {omega[5]}
0.00497022951206217288450264031249... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
<!-- Copyright © 1991-2018 Unicode, Inc.
For terms of use, see http://www.unicode.org/copyright.html
Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
CLDR data files are int... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <chrono>
#include <string>
#include <unordered_map>
#include <folly/Format.h>
#include <folly/IPAddress.h>
#incl... | {
"pile_set_name": "Github"
} |
.. title:: clang-tidy - modernize-use-auto
modernize-use-auto
==================
This check is responsible for using the ``auto`` type specifier for variable
declarations to *improve code readability and maintainability*. For example:
.. code-block:: c++
std::vector<int>::iterator I = my_container.begin();
// ... | {
"pile_set_name": "Github"
} |
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests.
config.cache_classes = true
# Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web serve... | {
"pile_set_name": "Github"
} |
<mods xmlns="http://www.loc.gov/mods/v3" xmlns:exslt="http://exslt.org/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-3.xsd" version="3.3" ID="P0b002ee18175cc57">
<name ty... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 require... | {
"pile_set_name": "Github"
} |
Akeneo\Tool\Bundle\MeasureBundle\Application\SaveMeasurementFamily\SaveMeasurementFamilyCommand:
group_sequence:
- SaveMeasurementFamilyCommand
- other_constraints
properties:
code:
- Akeneo\Tool\Bundle\MeasureBundle\Validation\Common\Code: ~
labels:
- Ake... | {
"pile_set_name": "Github"
} |
{
"Log in": "Iniciar sesión"
} | {
"pile_set_name": "Github"
} |
from __future__ import print_function
from sklearn.cross_validation import train_test_split
import pandas as pd
import numpy as np
np.random.seed(1337) # for reproducibility
from keras.preprocessing import sequence
from keras.utils import np_utils
from keras.models import Sequential
from keras.layers import Dense, Dro... | {
"pile_set_name": "Github"
} |
<!-- START - We recommend to place the below code in head tag of your website html -->
<style>
@font-face {
font-display: block;
font-family: Roboto;
src: url(https://assets.sendinblue.com/font/Roboto/Latin/normal/normal/7529907e9eaf8ebb5220c5f9850e3811.woff2) format("woff2"), url(https://assets.sendinb... | {
"pile_set_name": "Github"
} |
var fs = require('graceful-fs')
var path = require('path')
var mkdirp = require('mkdirp')
var mr = require('npm-registry-mock')
var osenv = require('osenv')
var rimraf = require('rimraf')
var test = require('tap').test
var common = require('../common-tap')
var pkg = path.resolve(__dirname, 'ls-depth-cli')
var EXEC_... | {
"pile_set_name": "Github"
} |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2015 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | {
"pile_set_name": "Github"
} |
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
class uart_fifo_full_vseq extends uart_tx_rx_vseq;
`uvm_object_utils(uart_fifo_full_vseq)
constraint num_trans_c {
num_trans inside {[5:10]};
}
constraint ... | {
"pile_set_name": "Github"
} |
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs defs_linux.go
package ipv4
const (
sysIP_TOS = 0x1
sysIP_TTL = 0x2
sysIP_HDRINCL = 0x3
sysIP_OPTIONS = 0x4
sysIP_ROUTER_ALERT = 0x5
sysIP_RECVOPTS = 0x6
sysIP_RETOPTS = 0x7
sysIP_PKTINFO... | {
"pile_set_name": "Github"
} |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to th... | {
"pile_set_name": "Github"
} |
// Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.
//
// Example Usage
//
// The following is a complete example using assert in a standard test function:
// import (
// "testing"
// "github.com/stretchr/testify/assert"
// )
//
// func TestSomet... | {
"pile_set_name": "Github"
} |
### 回中国躲疫面临自费医疗 多人被关挨饿网上求救
------------------------
#### [首页](https://github.com/gfw-breaker/banned-news/blob/master/README.md) | [手把手翻墙教程](https://github.com/gfw-breaker/guides/wiki) | [禁闻聚合安卓版](https://github.com/gfw-breaker/bn-android) | [网门安卓版... | {
"pile_set_name": "Github"
} |
<?php
namespace Neos\FluidAdaptor\View\Exception;
/*
* This file is part of the Neos.FluidAdaptor package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with thi... | {
"pile_set_name": "Github"
} |
termux_extract_src_archive() {
# STRIP=1 extracts archives straight into TERMUX_PKG_SRCDIR while STRIP=0 puts them in subfolders. zip has same behaviour per default
# If this isn't desired then this can be fixed in termux_step_post_get_source.
local STRIP=1
local PKG_SRCURL=(${TERMUX_PKG_SRCURL[@]})
local PKG_SHA2... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
"""
Parse training log
Evolved from parse_log.sh
"""
import os
import re
import extract_seconds
import argparse
import csv
from collections import OrderedDict
def parse_log(path_to_log):
"""Parse log file
Returns (train_dict_list, test_dict_list)
train_dict_list and test_dict_lis... | {
"pile_set_name": "Github"
} |
#include "SelectBackgroundColorDialog.h"
#include "control/Control.h"
#include "Util.h"
#include "i18n.h"
static inline std::array<GdkRGBA, 9> background1 = {
Util::rgb_to_GdkRGBA(0xfabebeU), //
Util::rgb_to_GdkRGBA(0xfee7c4U), //
Util::rgb_to_GdkRGBA(0xfef8c9U), //
Util::rgb_to_Gd... | {
"pile_set_name": "Github"
} |
/* global describe, it, before */
const extensionState = require('../../../../../app/common/state/extensionState')
const settings = require('../../../../../js/constants/settings')
const Immutable = require('immutable')
const assert = require('assert')
const defaultAppState = Immutable.fromJS({
tabs: [],
extensions... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "WAJSEventHandler_BaseEvent.h"
#import "InputKeyboardDelegate-Protocol.h"
#import "WAGameKeyboardDelegate-Protocol.h"
@class ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="StringField" module="Products.Formulator.StandardFields"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_parent_purchase_... | {
"pile_set_name": "Github"
} |
// Copyright 2014 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 darwin linux solaris
package ipv4
import (
"net"
"unsafe"
"golang.org/x/net/internal/iana"
"golang.org/x/net/internal/socket"
)
func marshalPa... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
?>
<?php /* @var $block \Magento\Downloadable\Block\Catalog\Product\Links */ ?>
<?php $_linksPurchasedSeparately = $block->getLinksPurchasedSeparately(); ?>
<?php if ($block->getProduct()->isSaleable() && $block->has... | {
"pile_set_name": "Github"
} |
ALTER TABLE db_version CHANGE COLUMN required_z0090_089_01_mangos_mangos_string required_z0095_090_01_mangos_player_xp_for_level bit;
DROP TABLE IF EXISTS `player_xp_for_level`;
CREATE TABLE `player_xp_for_level` (
`lvl` int(3) unsigned NOT NULL,
`xp_for_next_level` int(10) unsigned NOT NULL,
PRIMARY KEY (`lvl`... | {
"pile_set_name": "Github"
} |
package org.sql2o.pojos;
/**
* Created by IntelliJ IDEA.
* User: lars
* Date: 12/6/11
* Time: 10:14 AM
* To change this template use File | Settings | File Templates.
*/
public class StringConversionPojo {
public Integer val1;
public long val2;
public Integer val3;
public int val4;
publi... | {
"pile_set_name": "Github"
} |
//
// SPDX-License-Identifier: LGPL-2.1-or-later
//
// Copyright © 2011-2019 ANSSI. All Rights Reserved.
//
// Author(s): Jean Gautier (ANSSI)
//
#include "stdafx.h"
#include "DbgHelpLibrary.h"
#include "SystemDetails.h"
using namespace Orc;
using namespace std::string_literals;
DbgHelpLibrary::DbgHelpLibrary(log... | {
"pile_set_name": "Github"
} |
/* ----------------------------------------------------------------------
* Copyright (C) 2010-2014 ARM Limited. All rights reserved.
*
* $Date: 19. March 2015
* $Revision: V.1.4.5
*
* Project: CMSIS DSP Library
* Title: arm_offset_q7.c
*
* Description: Q7 vector offset.
* ... | {
"pile_set_name": "Github"
} |
commandlinefu_id: 6611
translator:
weibo: ''
hide: true
command: |-
echo ondemand | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
summary: |-
using tee to echo to a system file with sudo privileges
| {
"pile_set_name": "Github"
} |
StartChar: two.propold
Encoding: 65541 -1 85
Width: 537
Flags: W
LayerCount: 2
Fore
SplineSet
328 480 m 256,0,1
237.487804878 480 237.487804878 480 224 401 c 1,2,-1
102 401 l 1,3,4
109.600447261 490.305255311 109.600447261 490.305255311 175.5 540 c 0,5,6
236.5 586 236.5 586 332 586 c 256,7,8
422 586 422 586 474 53... | {
"pile_set_name": "Github"
} |
var makeString = require('./helper/makeString');
var strRepeat = require('./helper/strRepeat');
module.exports = function pad(str, length, padStr, type) {
str = makeString(str);
length = ~~length;
var padlen = 0;
if (!padStr)
padStr = ' ';
else if (padStr.length > 1)
padStr = padStr.charAt(0);
s... | {
"pile_set_name": "Github"
} |
icecast:
image: easypi/icecast-arm
ports:
- "8000:8000"
restart: unless-stopped
| {
"pile_set_name": "Github"
} |
\version "2.18.0"
\include "dynamic_defaults.ily"
\markup \icon #size1 \dynamic ff
| {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe MarkupHelper do
let_it_be(:project) { create(:project, :repository) }
let_it_be(:user) do
user = create(:user, username: 'gfm')
project.add_maintainer(user)
user
end
let_it_be(:issue) { create(:issue, project: project) }
let_it_b... | {
"pile_set_name": "Github"
} |
'use strict';
import path from 'path';
const deploy = ({
gulp,
config,
plugins
}) => {
const dir = config.directory;
// deploy
gulp.task('deploy', (done) => {
return gulp.src(path.join(dir.production, '**/*'))
// fix #4 the "dir.production" folder being published into gh-pages branch
.pip... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>org.glimpse_editor.Glimpse</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+ AND LGPL-3.0+</project_license>
<name>Glimpse</name>
<name xml:lang="ar">جمب</name>
<name xml:lang="ast">Glimpse</name>
<name xml:lan... | {
"pile_set_name": "Github"
} |
### ByteTextEncoder
### Metadata: {}
| {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.