text stringlengths 2 99.9k | meta dict |
|---|---|
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 Matthias Christian Schabel
// Copyright (C) 2007-2008 Steven Watanabe
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LI... | {
"pile_set_name": "Github"
} |
/**
* @name Uncontrolled data in arithmetic expression
* @description Arithmetic operations on uncontrolled data that is not validated can cause
* overflows.
* @kind path-problem
* @problem.severity warning
* @precision medium
* @id java/uncontrolled-arithmetic
* @tags security
* external/cw... | {
"pile_set_name": "Github"
} |
<ion-header>
<ion-navbar>
<ion-title>Toasts</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<button ion-button block (click)="showToast()">Show Toast and Navigate</button>
<button ion-button block (click)="showLongToast()">Show Long Toast</button>
<button ion-button block (click)="showD... | {
"pile_set_name": "Github"
} |
/* ==========================================
Unity Project - A Test Framework for C
Copyright (c) 2007-19 Mike Karlesky, Mark VanderVoord, Greg Williams
[Released under MIT License. Please refer to license.txt for details]
========================================== */
#ifndef UNITY_INTERNALS_H
#define UNI... | {
"pile_set_name": "Github"
} |
// Load modules
var Url = require('url');
var Lab = require('lab');
var Hoek = require('hoek');
var Hawk = require('../lib');
// Declare internals
var internals = {};
// Test shortcuts
var expect = Lab.expect;
var before = Lab.before;
var after = Lab.after;
var describe = Lab.experiment;
var it = Lab.test;
des... | {
"pile_set_name": "Github"
} |
{
"forge_marker": 1,
"defaults": {
"model": "cube",
"textures": {
"particle": "ancientwarfare:blocks/structure/orc_totem_front_2",
"down": "ancientwarfare:blocks/structure/totem_bottom",
"up": "ancientwarfare:blocks/structure/totem_top_2",
"north":... | {
"pile_set_name": "Github"
} |
var isObject = require('./isObject');
/** `Object#toString` result references. */
var funcTag = '[object Function]',
genTag = '[object GeneratorFunction]';
/** Used for built-in method references. */
var objectProto = Object.prototype;
/**
* Used to resolve the
* [`toStringTag`](http://ecma-international.org/e... | {
"pile_set_name": "Github"
} |
package com.platform.website.transformer.mr.pv;
import com.platform.website.common.KpiType;
import com.platform.website.transformer.model.dim.StatsUserDimension;
import com.platform.website.transformer.model.value.map.TimeOutputValue;
import com.platform.website.transformer.model.value.reduce.MapWritableValue;
import ... | {
"pile_set_name": "Github"
} |
/**
* bootstrap.js v3.0.0 by @fat and @mdo
* Copyright 2013 Twitter Inc.
* http://www.apache.org/licenses/LICENSE-2.0
*/
if (!jQuery) { throw new Error("Bootstrap requires jQuery") }
/* ========================================================================
* Bootstrap: transition.js v3.0.0
* http://twbs.github.com... | {
"pile_set_name": "Github"
} |
/* Copyright (C) 2000-2009, 2011 Free Software Foundation, Inc.
This file is part of the GNU LIBICONV Library.
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 3 of the Lice... | {
"pile_set_name": "Github"
} |
define(['d3', 'grouped-bar', 'groupedBarChartDataBuilder'], function(d3, chart, dataBuilder) {
'use strict';
const aTestDataSet = () => new dataBuilder.GroupedBarChartDataBuilder();
const buildDataSet = (dataSetName) => {
return aTestDataSet()
[dataSetName]()
.build();
}... | {
"pile_set_name": "Github"
} |
//The MIT License(MIT)
//Copyright(c) 2016 Alberto Rodriguez & LiveCharts Contributors
//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... | {
"pile_set_name": "Github"
} |
version https://git-lfs.github.com/spec/v1
oid sha256:0e0fbbf70cdf89ae8e948bc39141b8d7132d9cbd622b0d4aa990306883418656
size 13613
| {
"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 a... | {
"pile_set_name": "Github"
} |
%YAML:1.0
#--------------------------------------------------------------------------------------------
# Camera Parameters. Adjust them!
#--------------------------------------------------------------------------------------------
# Camera calibration and distortion parameters (OpenCV)
#+++++ Cam0 +++++
Camera.fx: ... | {
"pile_set_name": "Github"
} |
version: "3.7"
services:
dagster-grpc-server:
image: ${IMAGE_NAME}
hostname: dagster-grpc-server
container_name: dagster-grpc-server
ports:
- "8090:8090"
command:
[
"dagster",
"api",
"grpc",
"--port",
"8090",
"--host",
"0.0.0.0",... | {
"pile_set_name": "Github"
} |
Below patch is a squash of following 4 commits borrowed from ayufan's
https://github.com/ayufan-rock64/linux-mainline-kernel repo:
From cc22206776d61948f6984a4f03d8013eb4f92984 Mon Sep 17 00:00:00 2001
From: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Date: Wed, 3 Dec 2014 13:23:28 +0200
Subject: [PATCH] OF: DT... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by crowdin.com-->
<!--
Copyright (C) 2014-2015 The CyanogenMod Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
... | {
"pile_set_name": "Github"
} |
#region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms... | {
"pile_set_name": "Github"
} |
var baseGet = require('../internal/baseGet'),
toPath = require('../internal/toPath');
/**
* The opposite of `_.property`; this method creates a function that returns
* the property value at a given path on `object`.
*
* @static
* @memberOf _
* @category Utility
* @param {Object} object The object to query.
... | {
"pile_set_name": "Github"
} |
var tap = require("tap")
, minimatch = require("../")
tap.test("brace expansion", function (t) {
// [ pattern, [expanded] ]
; [ [ "a{b,c{d,e},{f,g}h}x{y,z}"
, [ "abxy"
, "abxz"
, "acdxy"
, "acdxz"
, "acexy"
, "acexz"
, "afhxy"
, "afhxz"
, "agh... | {
"pile_set_name": "Github"
} |
//===- xray-extract.cpp: XRay Instrumentation Map Extraction --------------===//
//
// 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"
} |
<?php
/**
* Quotes pattern.
*
* @package A8C\FSE
*/
$markup = '
<!-- wp:group {"align":"full","style":{"color":{"background":"#f1f1ee","text":"#000000"}}} -->
<div class="wp-block-group alignfull has-text-color has-background" style="background-color:#f1f1ee;color:#000000"><div class="wp-block-group__inner-contain... | {
"pile_set_name": "Github"
} |
// run with:
// java -cp $ORACLE_HOME/jdbc/lib/ojdbc5.jar:. Client_id
import java.sql.*;
import oracle.jdbc.OracleConnection;
public class Commit2 {
public static void main(String[] args) throws InterruptedException {
try {
// get connection and statement
DriverManager.registerD... | {
"pile_set_name": "Github"
} |
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit flag-o-matic toolchain-funcs udev versionator
MY_PV="$(replace_version_separator 2 -)"
DESCRIPTION="Administrative interface for the grsecurity Role Based Access Control system"
HOMEPAGE="https://ww... | {
"pile_set_name": "Github"
} |
//============================================================================
//ZedGraph Class Library - A Flexible Line Graph/Bar Graph Library in C#
//Copyright © 2004 John Champion
//
//This library is free software; you can redistribute it and/or
//modify it under the terms of the GNU Lesser General Public
//Lice... | {
"pile_set_name": "Github"
} |
##### NEW KEYS #####
struct ShapeKey <: Gadfly.GuideElement
title::AbstractString
labels::Vector{String}
pos::Vector
visible::Bool
end
ShapeKey(;title="Shape", labels=String[], pos=[], visible=true) = ShapeKey(title, labels, pos, visible)
ShapeKey(v::Nothing) = ShapeKey(visible=false)
ShapeKey(title... | {
"pile_set_name": "Github"
} |
{
"parent": "create:chromatic_compound",
"display": {
"icon": {
"item": "create:shadow_steel"
},
"title": {
"translate": "advancement.create.shadow_steel"
},
"description": {
"translate": "advancement.create.shadow_steel.desc"
},
"frame": "goal",
"show_toast": true,... | {
"pile_set_name": "Github"
} |
ADD_GEMRB_PLUGIN (STOImporter STOImporter.cpp)
| {
"pile_set_name": "Github"
} |
{
"name": "Xilinx Magnitude_No_L2 L2 Test",
"description": [
"Magnitude L2 function example"
],
"flow": "vitis",
"platform_whitelist": [
"u200",
"zcu102",
"zcu104"
],
"platform_blacklist": [
"u280",
"u250",
"u50"
],
"pl... | {
"pile_set_name": "Github"
} |
//
// ========================================================================
// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under
// the terms of the Eclipse Public License 2.0 which is available at
// https://www.eclipse.org/leg... | {
"pile_set_name": "Github"
} |
-----BEGIN RSA PRIVATE KEY-----
MIICXQIBAAKBgQDhKPS3wNv6Brxh0nsbsFDZ6M53ZPNr46LqKY4fpU4hoYcVeJCA5
20DAeRJsrmoZ541VsI1KyGhHxhvBDZR0pFgLxCpEttC5ytrL/enUicGvie7hQG1F8
y/u+SRhHwCe6YbytRMvXhOb8ursYWtMxD5Zx5p7kpnscTIkld3dJMcxwIDAQABAoG
BAMv1c6g4dYvJKkBaj9YHI1Yhg1W4BqEGtX70YZ/c+CeS0HDso8mA2cjNn+P6mB8q
ra+XhZjwFyiCqHl4EVSRL8mE... | {
"pile_set_name": "Github"
} |
// Created by 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"
} |
/*
* Copyright (c) 2006, 2012, 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"
} |
<template>
<span>
<v-tooltip top color="#000000" max-width="600">
<template v-slot:activator="{ on }">
<v-icon x-small allow-overflow :color="color" dark v-on="on">fas fa-info-circle</v-icon>
</template>
<span><slot /></span>
</v-tooltip>
</span>
</template>
<style lang="scss" sco... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available... | {
"pile_set_name": "Github"
} |
Date: Fri, 1 Jun 2001 16:38:17 -0500 (CDT)
From: Chris Lattner <sabre@nondot.org>
To: Vikram S. Adve <vadve@cs.uiuc.edu>
Subject: Interesting: GCC passes
Take a look at this document (which describes the order of optimizations
that GCC performs):
http://gcc.gnu.org/onlinedocs/gcc_17.html
The rundown is that after R... | {
"pile_set_name": "Github"
} |
/* $Id: bkm_a8.c,v 1.22.2.4 2004/01/15 14:02:34 keil Exp $
*
* low level stuff for Scitel Quadro (4*S0, passive)
*
* Author Roland Klabunde
* Copyright by Roland Klabunde <R.Klabunde@Berkom.de>
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, i... | {
"pile_set_name": "Github"
} |
package basexxx
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestBase62(t *testing.T) {
var ui uint64 = 123456
str := Base62(ui)
assert.Equal(t, str, "W7E")
}
func TestBytesToBase62(t *testing.T) {
bs := []byte{255, 200, 155, 100, 55, 11, 0, 255, 200}
str := BytesToBase62(bs)
assert.Equal(... | {
"pile_set_name": "Github"
} |
# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
pass
def backwards(self, orm):
pass
models = {
}
complete_apps = ['main']
| {
"pile_set_name": "Github"
} |
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under the MIT license
*/
if (typeof jQuery === 'undefined') {
throw new Error('Bootstrap\'s JavaScript requires jQuery')
}
+function ($) {
'use strict';
var version = $.fn.jquery.split(' ')[0].split('.')
if ((v... | {
"pile_set_name": "Github"
} |
use v6;
use Test;
use lib $?FILE.IO.parent(2).add("packages/Test-Helpers");
use Test::Util;
plan 33;
# L<S04/Phasers/ENTER "at every block entry time">
# L<S04/Phasers/LEAVE "at every block exit time">
{
my $str;
my sub foo ($x, $y) {
ENTER { $str ~= "(" }
LEAVE { $str ~= ")" }
$str ~... | {
"pile_set_name": "Github"
} |
require('../../modules/es6.regexp.match');
module.exports = require('../../modules/$.wks')('match'); | {
"pile_set_name": "Github"
} |
/* Tags */
#head-tags{
margin-left:1em;
margin-top:1em;
}
#body .tags a.tag-link {
display: inline-block;
line-height: 2em;
font-size: 0.8em;
position: relative;
margin: 0 16px 8px 0;
padding: 0 10px 0 12px;
background: #8451a1;
-webkit-border-bottom-right-radius: ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?colorPrimary"
android:orientation="vertical">
... | {
"pile_set_name": "Github"
} |
/* LanguageTool, a natural language style checker
* Copyright (C) 2013 Marcin Miłkowski (www.languagetool.org)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2019, Intel Corporation
*
* 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, publis... | {
"pile_set_name": "Github"
} |
gcr.io/google_containers/kube-controller-manager-amd64:v1.10.3-beta.0
| {
"pile_set_name": "Github"
} |
# Context: A semiprime is a product of two prime
# numbers, not necessarily distinct.
# Squares of prime numbers are also semiprimes.
# Problem: Find the numbers which are semiprimes,
# within a given range. For e.g. 1 to 100.
def isSemiprime(num):
# start with the smallest prime
prime = 2
# initialize c... | {
"pile_set_name": "Github"
} |
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": {
"0": "AM",
"1": "PM"
},
"DAY": {
"0": "dimanche",
"1... | {
"pile_set_name": "Github"
} |
pathlib==1.0.1
scandir==1.6
h5py==2.7.1
Keras==2.1.2
opencv-python==3.3.0.10
tensorflow-gpu==1.4.0
scikit-image
dlib
face_recognition
tqdm
| {
"pile_set_name": "Github"
} |
owner = MAN
controller = MAN
add_core = MAN
add_core = CHC
add_core = CHI
infra = 6
infra = 6
infra = 6
infra = 6
infra = 6
| {
"pile_set_name": "Github"
} |
discard """
cmd: "nim c --gc:arc --exceptions:goto $file"
outputsub: "Error: unhandled exception: Problem [OSError]"
exitcode: "1"
"""
raise newException(OSError, "Problem")
| {
"pile_set_name": "Github"
} |
// This is brl/bseg/sdet/sdet_gauss_fit.cxx
#include <iostream>
#include <fstream>
#include <cmath>
#include <utility>
#include "sdet_gauss_fit.h"
//:
// \file
#ifdef _MSC_VER
# include "vcl_msvc_warnings.h"
#endif
#include "vgl/vgl_point_3d.h"
#include "vnl/vnl_math.h"
#include <vsol/vsol_point_2d.h> // for derefere... | {
"pile_set_name": "Github"
} |
feature done
blob
mark :1
data 10
keepme v1
reset refs/heads/branchO
commit refs/heads/branchO
mark :2
author Full Name <user@organization.tld> 2000000000 +0100
committer Full Name <user@organization.tld> 2000000000 +0100
data 2
A
M 100644 :1 moduleA/keepme
blob
mark :3
data 10
keepme v2
commit refs/heads/branchO
ma... | {
"pile_set_name": "Github"
} |
# This test is like sto_using_select, except that we test access via a
# hash index.
setup
{
CREATE TABLE sto1 (c int NOT NULL);
INSERT INTO sto1 SELECT generate_series(1, 1000);
CREATE INDEX idx_sto1 ON sto1 USING HASH (c);
}
setup
{
VACUUM ANALYZE sto1;
}
teardown
{
DROP TABLE sto1;
}
session "... | {
"pile_set_name": "Github"
} |
/*
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2010-2011 - DIGITEO - Allan CORNET
*
* Copyright (C) 2012 - 2016 - Scilab Enterprises
*
* This file is hereby licensed under the terms of the GNU GPL v2.0,
* pursuant to article 5.3.4 of the CeCILL v.2.1.
* This file was originall... | {
"pile_set_name": "Github"
} |
//Stock Basics 01 - https://www.youtube.com/watch?v=CcJP8TX7CVc
//Stock Basics 02 - https://www.youtube.com/watch?v=Pi6FXIYvTkk
//Sample file: http://bit.ly/taq-sample
display "Don't run this, copy paste it"
exit();
t: read_from_path('taq/taq20141030.table')
//t: open_table('taq/taq20141030.table')
//All tickers
se... | {
"pile_set_name": "Github"
} |
// Flexible Nav jQuery library.
// ================================
// **Flexible Nav** is a small **jQuery** library
// which add a smart navigation bar on the right of the page.
// It improves a web page **navigation** and helps
// to **visualize** different sections
// of a document, an article,.. any web page.
//
/... | {
"pile_set_name": "Github"
} |
/***************************************************************************
** **
** Polyphone, a soundfont editor **
** Copyright (C) 2013-2019 Davy Triponney **
** ... | {
"pile_set_name": "Github"
} |
div p {
margin-bottom: 0 !important;
text-align: center !important;
width: 100%;
}
| {
"pile_set_name": "Github"
} |
package org.jboss.resteasy.test.providers.jackson2.jsonfilter.resource;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
/**
* @author <a href="mailto:ema@redhat.com">Jim Ma</a>
*
*/
@Path("/products")
public class Jackson2Resource {
@GET
@Produces("a... | {
"pile_set_name": "Github"
} |
// Code generated by smithy-go-codegen DO NOT EDIT.
package migrationhub
import (
"context"
awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware"
"github.com/aws/aws-sdk-go-v2/aws/retry"
"github.com/aws/aws-sdk-go-v2/aws/signer/v4"
smithy "github.com/awslabs/smithy-go"
"github.com/awslabs/smithy-go/middle... | {
"pile_set_name": "Github"
} |
// /** @file
// Fat Package Localized Strings and Content.
//
// Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of so... | {
"pile_set_name": "Github"
} |
# Overview
This section will cover the prerequisites you need to start developing with the starter project.
The guide assumes a Unix-like environment; deviations for Windows users will be called out with inline note blocks.
# Prerequisites
Aside from mobile platform-specific SDKs, [Node.js](https://nodejs.org/dist)... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensi... | {
"pile_set_name": "Github"
} |
// 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... | {
"pile_set_name": "Github"
} |
{
"name": "select2",
"title": "Select2",
"description": "Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.",
"keywords": [
"select",
"autocomplete",
"typeahead",
"dropdown",
"multise... | {
"pile_set_name": "Github"
} |
! @@name: copyprivate.4f
! @@type: F-fixed
! @@compilable: yes
! @@linkable: no
! @@expect: success
SUBROUTINE S(N)
INTEGER N
REAL, DIMENSION(:), ALLOCATABLE :: A
REAL, DIMENSION(:), POINTER :: B
ALLOCATE (A(N))
!$OMP SINGLE
ALLOCATE (B(N))
READ (11) A,B
!$OMP... | {
"pile_set_name": "Github"
} |
#pragma checksum "C:\Users\rmt01\Dropbox\WindowsBox\Kodning\Fusk\Injector\C++\Xenos-master\BlackBone\App1\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A57A6474CE005A5AD1777F980C75F16B"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was ge... | {
"pile_set_name": "Github"
} |
using RGB.NET.Core;
using SkiaSharp;
namespace Artemis.Core
{
public static class RgbRectangleExtensions
{
public static SKRect ToSKRect(this Rectangle rectangle, double scale)
{
return SKRect.Create(
(rectangle.Location.X * scale).RoundToInt(),
(rec... | {
"pile_set_name": "Github"
} |
package com.huruwo.serialporthelper;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
/**
* @author: liuwan
* @date: 2018-05-28
* @action:
*/
public class SpAdapter extend... | {
"pile_set_name": "Github"
} |
@charset "UTF-8";
@import "lib/global";
/* Card */
.pui-card {
color: #666;
display: block;
position: relative;
text-align: left;
margin-bottom: 15px;
margin-bottom: 1.5rem;
p:last-child {
margin-bottom: 0;
}
}
.pui-card-head, .pui-card-title, .pui-card-fo... | {
"pile_set_name": "Github"
} |
/* (c) 2014 - 2015 Open Source Geospatial Foundation - all rights reserved
* (c) 2001 - 2013 OpenPlans
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.importer.bdb;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert... | {
"pile_set_name": "Github"
} |
<!--index.wxml-->
<view class="topBar">
我的团队
</view>
<view class="teamBox">
<view wx:for="{{teamArray}}" wx:key="team">
<view class="teamInfo">
<view class="teamName">{{item.name}}</view>
<view class="teamMember">
<view class="members">{{item.members}}</view>
<view class="memberNum">... | {
"pile_set_name": "Github"
} |
// ImagePanel
.@{prefix}-imagepanel {
overflow: auto;
background: black;
}
.@{prefix}-imagepanel img {
position: absolute;
}
.@{prefix}-imagetool.@{prefix}-btn .@{prefix}-ico {
display: block;
width: 20px;
height: 20px;
text-align: center;
line-height: 20px;
font-size: 20px;
padding: 5px;
}
| {
"pile_set_name": "Github"
} |
load("@rules_cc//cc:defs.bzl", "cc_library")
load("//tools:cpplint.bzl", "cpplint")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "perception_evaluator_manager",
srcs = ["evaluator_manager.cc"],
hdrs = ["evaluator_manager.h"],
deps = [
"//modules/common/configs:vehic... | {
"pile_set_name": "Github"
} |
# assert-plus Changelog
## 1.0.0
- *BREAKING* assert.number (and derivatives) now accept Infinity as valid input
- Add assert.finite check. Previous assert.number callers should use this if
they expect Infinity inputs to throw.
## 0.2.0
- Fix `assert.object(null)` so it throws
- Fix optional/arrayOf exports for ... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import gym
import argparse
import ns3gym
__author__ = "Piotr Gawlowicz"
__copyright__ = "Copyright (c) 2018, Technische Universität Berlin"
__version__ = "0.1.0"
__email__ = "gawlowicz@tkn.tu-berlin.de"
env = gym.make('ns3-v0')
env.reset()
ob_space = env.observation_s... | {
"pile_set_name": "Github"
} |
/********************************************************************************/
/* Projeto: Biblioteca ZeusMDFe */
/* Biblioteca C# para emissão de Manifesto Eletrônico Fiscal de Documentos */
/* (https://mdfe-portal.sefaz.rs.gov.br/ ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>CMSIS DSP Software Library: Data Fields</title>
<link href="tabs.css" r... | {
"pile_set_name": "Github"
} |
// Copyright 2014 The Prometheus 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... | {
"pile_set_name": "Github"
} |
/**
* Module dependencies.
*/
var utils = require('./utils');
/**
* Initialization middleware, exposing the
* request and response to eachother, as well
* as defaulting the X-Powered-By header field.
*
* @param {Function} app
* @return {Function}
* @api private
*/
exports.init = function(app){
return fu... | {
"pile_set_name": "Github"
} |
// license:LGPL-2.1+
// copyright-holders:Michael Zapf
/****************************************************************************
Horizon Ramdisk
See horizon.c for documentation
Michael Zapf
February 2012
*****************************************************************************/
#ifndef MAME... | {
"pile_set_name": "Github"
} |
[files]
basehome:modules/demo/demo-config.xml|etc/demo-config.xml
| {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title></title>
<link rel="Stylesheet" href="../css/analysis.css" />
<script type="text/javascript">
function init() {
if (window.location.hash) {
var parentDiv, nodes, ... | {
"pile_set_name": "Github"
} |
//===- TargetFrameLoweringImpl.cpp - Implement target frame interface ------==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | {
"pile_set_name": "Github"
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
namespace DotNetNuke.Services.Assets
{
using System;
public class AssetManagerException : Exception
... | {
"pile_set_name": "Github"
} |
/*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed... | {
"pile_set_name": "Github"
} |
<Product Revision="5" xmlns="https://github.com/OpenZWave/open-zwave">
<MetaData>
<MetaDataItem name="OzwInfoPage">http://www.openzwave.com/device-database/0208:0008:0201</MetaDataItem>
<MetaDataItem name="ProductPic">images/hank/hkzw-dws01.png</MetaDataItem>
<MetaDataItem id="0008" name="ZWProductPage" t... | {
"pile_set_name": "Github"
} |
package Paws::EC2::DeleteTransitGatewayVpcAttachmentResult;
use Moose;
has TransitGatewayVpcAttachment => (is => 'ro', isa => 'Paws::EC2::TransitGatewayVpcAttachment', request_name => 'transitGatewayVpcAttachment', traits => ['NameInRequest',]);
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod do... | {
"pile_set_name": "Github"
} |
{
"instance_id": "mymachine",
"service_conf_dir": "example/nerve_services",
"max_repeated_report_failures": 10,
"statsd": {
"host": "localhost",
"port": 8125
},
"services": {
"your_http_service": {
"host": "1.2.3.4",
"port": 3000,
"reporter_type": "zookeeper",
"zk_hosts":... | {
"pile_set_name": "Github"
} |
# config file generated automatically by calling
# ./local/nist_eval/create_new_language_configs.FLP.sh --language "203-lao" --corpus "/export/babel/data" --indus "/export/babel/data/scoring/IndusDB"
# include common settings for fullLP systems.
. conf/common.fullLP || exit 1;
#speech corpora files location
trai... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CodeRay output</title>
<style type="text/css">
.CodeRay .line-numbers a {
text-decoration: inherit;
color: inherit;
}
body {
background-color: white;
padding: 0;
margin: 0;
}
.CodeRay {
backgroun... | {
"pile_set_name": "Github"
} |
///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2012 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentatio... | {
"pile_set_name": "Github"
} |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_HTTP_BIDIRECTIONAL_STREAM_IMPL_H_
#define NET_HTTP_BIDIRECTIONAL_STREAM_IMPL_H_
#include <stdint.h>
#include <memory>
#include <vector>
#in... | {
"pile_set_name": "Github"
} |
$(function () {
var hlCode = document.querySelectorAll('pre code.cs'),
i, l,
hlLength = hlCode.length,
mapperRegex = /\bMapper\b/g,
typeRegex = /(new<\/span>\W+|class<\/span> <span class="hljs-title">|public<\/span>\W+|: <span class="hljs-title">|<)([A-Z][^& \(\[\]]+)( |{|\(|\[\]&... | {
"pile_set_name": "Github"
} |
/// Credit BinaryX
/// Sourced from - http://forum.unity3d.com/threads/scripts-useful-4-6-scripts-collection.264161/page-2#post-1945602
/// Updated by ddreaper - removed dependency on a custom ScrollRect script. Now implements drag interfaces and standard Scroll Rect.
using System;
using UnityEngine.EventSystems;
nam... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2019 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is availabl... | {
"pile_set_name": "Github"
} |
#-- encoding: UTF-8
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2020 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
#
# OpenProject is a fork of ChiliProje... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.