text stringlengths 2 99.9k | meta dict |
|---|---|
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Publ... | {
"pile_set_name": "Github"
} |
// Copyright 2017 Edward G. Bruck <ed.bruck1@gmail.com>
//
// This file is part of Radiotray-NG.
//
// Radiotray-NG is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at ... | {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2010 Jitse Niesen <jitse@maths.leeds.ac.uk>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a... | {
"pile_set_name": "Github"
} |
// Copyright 2012 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 plan9,!race
package plan9
import (
"unsafe"
)
const raceenabled = false
func raceAcquire(addr unsafe.Pointer) {
}
func raceReleaseMerge(addr uns... | {
"pile_set_name": "Github"
} |
'use strict';
var each = require('./_array-methods')(0);
var redefine = require('./_redefine');
var meta = require('./_meta');
var assign = require('./_object-assign');
var weak = require('./_collection-weak');
var isObject = require('./_is-object');
var fails = require('./_fails');
var validate = require('./_validate-... | {
"pile_set_name": "Github"
} |
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package apigateway provides the client and types for making API
// requests to Amazon API Gateway.
//
// Amazon API Gateway helps developers deliver robust, secure, and scalable
// mobile and web application back ends. Amazon API Gateway allows de... | {
"pile_set_name": "Github"
} |
<!--
~ Copyright (c) 2018 Wolfram Research, Inc. All rights reserved.
~ Redistribution or use of this work in any form, with or without modification,
~ requires written permission from the copyright holder.
-->
<h3><a href="http://reference.wolfram.com/mathematica/ref/SocketWaitAll.html">SocketWaitAll</a></h3... | {
"pile_set_name": "Github"
} |
# Locally computed
sha256 14efe6f1784ef6e97116b15c77b04b7e8f47ec07b1479bcd6fa0b081faa19440 jquery-validation-1.14.0.zip
| {
"pile_set_name": "Github"
} |
/*
*
* Copyright 2019 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | {
"pile_set_name": "Github"
} |
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*-----... | {
"pile_set_name": "Github"
} |
#include "util/vector_view.hpp"
#include "util/typedefs.hpp"
#include <boost/range/adaptor/reversed.hpp>
#include <boost/range/iterator_range.hpp>
#include <boost/test/unit_test.hpp>
#include <algorithm>
#include <numeric>
#include <random>
BOOST_AUTO_TEST_SUITE(vector_view_test)
using namespace osrm;
using namespa... | {
"pile_set_name": "Github"
} |
#ifdef USE_OPENCV
#include <opencv2/core/core.hpp>
#endif // USE_OPENCV
#include <vector>
#include "caffe/layers/memory_data_layer.hpp"
namespace caffe {
template <typename Dtype>
void MemoryDataLayer<Dtype>::DataLayerSetUp(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
batch_size_ =... | {
"pile_set_name": "Github"
} |
# analogue of AC_HEADER_STDC automake macro.
# refactored a bit from https://github.com/LuaDist/libgd/blob/master/cmake/modules/AC_HEADER_STDC.cmake
include ( CheckIncludeFiles )
check_include_files ( "dlfcn.h;stdint.h;stddef.h;inttypes.h;stdlib.h;strings.h;string.h;float.h" StandardHeadersExist )
if ( StandardHeaders... | {
"pile_set_name": "Github"
} |
scala>(0 to 4).combinations(3).toList
res0: List[scala.collection.immutable.IndexedSeq[Int]] = List(Vector(0, 1, 2), Vector(0, 1, 3), Vector(0, 1, 4), Vector(0, 2, 3), Vector(0, 2, 4), Vector(0, 3, 4), Vector(1, 2, 3), Vector(1, 2, 4), Vector(1, 3, 4), Vector(2, 3, 4))
| {
"pile_set_name": "Github"
} |
::-webkit-scrollbar,
::-webkit-scrollbar-corner {
width: 17px;
height: 17px;
border: 0 solid rgba(255, 255, 255, 0.12);
background-color: rgba(52, 52, 52, 0.9);
}
::-webkit-scrollbar:horizontal,
::-webkit-scrollbar-corner {
border-top-width: 1px;
}
::-webkit-scrollbar:vertical,
::-webkit-scrollbar-corner {
... | {
"pile_set_name": "Github"
} |
---
title: Create a New Workarea App
excerpt: A quick guide to set up a Workarea application.
---
# Create a New Workarea App
This is a quick start guide for getting started on a brand new Workarea application. If you're new to developing on Workarea this is a great place to start.
__If you experience a problem whil... | {
"pile_set_name": "Github"
} |
//
// SelectAssetsVC.swift
// sample-conference-videochat-swift
//
// Created by Injoit on 12/9/19.
// Copyright © 2019 Quickblox. All rights reserved.
//
import UIKit
import Photos
import PDFKit
import SVProgressHUD
struct PhotoAsset: Equatable {
var phAsset: PHAsset
var image: UIImage
}
struct SelectAs... | {
"pile_set_name": "Github"
} |
# longest [](http://badge.fury.io/js/longest) [](https://travis-ci.org/jonschlinkert/longest)
> Get the longest item in an array.
## Install with [npm](npmjs.org)
```bash
npm i longest --save
```
###... | {
"pile_set_name": "Github"
} |
// Time: O(n)
// Space: O(n)
class Solution {
public:
/**
* @param nums: A list of integers
* @return: An integer denotes the sum of max two non-overlapping subarrays
*/
int maxTwoSubArrays(vector<int> nums) {
int n = nums.size();
vector<int> max_LR(n);
vector<int> max_R... | {
"pile_set_name": "Github"
} |
# Offboard Control
> **Warning** [Offboard control](https://docs.px4.io/master/en/flight_modes/offboard.html) is dangerous. It is the responsibility of the developer to ensure adequate preparation, testing and safety precautions are taken before offboard flights.
The idea behind off-board control is to be able to con... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright TEI Consortium.
Dual-licensed under CC-by and BSD2 licences
See the file COPYING.txt for details
$Date:$
$Id:$
-->
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>TEI P5 version 2.2.0 r... | {
"pile_set_name": "Github"
} |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation |
--------... | {
"pile_set_name": "Github"
} |
{
"symbol": "OGODS",
"address": "0x1051a014E4b3F2bD08E5A7e52522f0F71628162B",
"overview":{
"en": "GOTOGODS is the innovative platform that allows fans to book live meetings with STARS.",
"zh": ""
},
"email": "info@gotogods.io",
"website": "https://www.gotogods.io/",
"whitepaper": "https://... | {
"pile_set_name": "Github"
} |
<div class="panel panel-default" style="margin-top:20px; height:100%">
<div class="panel-heading">{tEdit report script}</div>
<div class="panel-body">
<div>
<h3>{tReport script}</h3>
<div id="editor" style="clear:left; border:1px solid grey; height:600px">
</div>
</div>
<br />
<input type=... | {
"pile_set_name": "Github"
} |
#begin document (wb/sel/87/sel_8743); part 000
wb/sel/87/sel_8743 -1 0 [WORD] XX (TOP* - - - - * -
wb/sel/87/sel_8743 -1 1 [WORD] XX * - - - - * -
wb/sel/87/sel_8743 -1 2 [WORD] XX * - - - - * -
wb/sel/87/sel_8743... | {
"pile_set_name": "Github"
} |
#import <Foundation/Foundation.h>
#import "FMResultSet.h"
#import "FMDatabasePool.h"
NS_ASSUME_NONNULL_BEGIN
#if ! __has_feature(objc_arc)
#define FMDBAutorelease(__v) ([__v autorelease]);
#define FMDBReturnAutoreleased FMDBAutorelease
#define FMDBRetain(__v) ([__v retain]);
#define FMDBReturnRetaine... | {
"pile_set_name": "Github"
} |
#include <Windows.h>
#include <wingdi.h>
#include <stdio.h>
#include <winddi.h>
#include <time.h>
#include <stdlib.h>
#include <Psapi.h>
HANDLE hWorker, hManager;
BYTE *bits;
//dt nt!_EPROCESS UniqueProcessID ActiveProcessLinks Token
typedef struct
{
DWORD UniqueProcessIdOffset;
DWORD TokenOffset;
} V... | {
"pile_set_name": "Github"
} |
/*! Foundation integration for DataTables' Buttons
* ©2016 SpryMedia Ltd - datatables.net/license
*/
(function( factory ){
if ( typeof define === 'function' && define.amd ) {
// AMD
define( ['jquery', 'datatables.net-zf', 'datatables.net-buttons'], function ( $ ) {
return factory( $, window, document );
} ... | {
"pile_set_name": "Github"
} |
AWS SDK smart package
=====================
[AWS SDK](https://aws.amazon.com/javascript/) Meteor smart package for [node.js](https://aws.amazon.com/sdk-for-node-js/)
and [browser](https://aws.amazon.com/sdk-for-browser/) package, providing the SDK that helps
take the complexity out of coding by providing JavaScript ob... | {
"pile_set_name": "Github"
} |
//
// Matlab MEX interface for KD-tree C++ functions
//
// Written by Alex Ihler and Mike Mandel
// Copyright (C) 2003 Alexander Ihler; distributable under GPL -- see README.txt
//
#include <math.h>
#include "mex.h"
#define MEX
#include "cpp/BallTreeDensity.h"
double erf(double c) { // disabled f... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/AndroidLibs.iml" filepath="$PROJECT_DIR$/AndroidLibs.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 8f2e7f7664506cc45b1e1d375c066432
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
| {
"pile_set_name": "Github"
} |
<?php
namespace ByteUnits;
abstract class System
{
const DEFAULT_FORMAT_PRECISION = 2;
const COMPUTE_WITH_PRECISION = 10;
protected $formatter;
protected $numberOfBytes;
/**
* @param int|string $numberOf
* @param int $formatWithPrecision
* @return System
*/
public static ... | {
"pile_set_name": "Github"
} |
using System;
namespace UnityEngine.PostProcessing
{
public class PostProcessingProfile : ScriptableObject
{
#pragma warning disable 0169 // "field x is never used"
public BuiltinDebugViewsModel debugViews = new BuiltinDebugViewsModel();
public FogModel fog = new FogModel();
pu... | {
"pile_set_name": "Github"
} |
"use strict";
var _Object$create = require("babel-runtime/core-js/object/create")["default"];
var _Object$setPrototypeOf = require("babel-runtime/core-js/object/set-prototype-of")["default"];
exports["default"] = function (subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
t... | {
"pile_set_name": "Github"
} |
//
// SettingsAccountTableViewCell.swift
// NetNewsWire-iOS
//
// Created by Maurice Parker on 10/23/19.
// Copyright © 2019 Ranchero Software. All rights reserved.
//
import UIKit
class SettingsComboTableViewCell: VibrantTableViewCell {
@IBOutlet weak var comboImage: UIImageView!
@IBOutlet weak var comboNameL... | {
"pile_set_name": "Github"
} |
<span>© {{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by <a href="http://jekyllrb.com">Jekyll</a> using the <a href="http://mademistakes.com/hpstr/">HPSTR Theme</a>.</span>
<!--
作者:hacke2@qq.com
时间:2014-08-31
描述:百度统计
-->
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.lo... | {
"pile_set_name": "Github"
} |
module MassiveRecord
module Rails
class Railtie < ::Rails::Railtie
config.massive_record = ActiveSupport::OrderedOptions.new
initializer "massive_record.logger" do
MassiveRecord::ORM::Base.logger = ::Rails.logger
end
# Make Rails handle RecordNotFound correctly in production
... | {
"pile_set_name": "Github"
} |
.com_content body,
.com_mailto body {
padding-top: 0;
}
| {
"pile_set_name": "Github"
} |
#ifndef RADIOSITY_H
#define RADIOSITY_H
#include <glm/glm.hpp>
#include "GI/uvmapper.h"
#include "Engine/object.h"
#include "Engine/camera.h"
#include "Engine/light.h"
#include "Utils/shaderprogram.h"
#include "Utils/fbo.h"
#include "Utils/clock.h"
class Radiosity
{
public:
Radiosity( glm::ivec2 size);
~Radio... | {
"pile_set_name": "Github"
} |
m4trace:configure.ac:1: -1- AC_INIT([moduleconfig], [version-1.0])
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.ac:1: -1- m4_pattern_forbid([_AC_])
m4trace:configure.ac:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'... | {
"pile_set_name": "Github"
} |
package postgres
import (
"database/sql"
"database/sql/driver"
_ "github.com/lib/pq"
"github.com/lib/pq/hstore"
)
type Hstore map[string]*string
// Value get value of Hstore
func (h Hstore) Value() (driver.Value, error) {
hstore := hstore.Hstore{Map: map[string]sql.NullString{}}
if len(h) == 0 {
return nil,... | {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='utf-8'?>
<GateDocument version="3">
<!-- The document's features-->
<GateDocumentFeatures>
<Feature>
<Name className="java.lang.String">parsingError</Name>
<Value className="java.lang.Boolean">true</Value>
</Feature>
<Featur... | {
"pile_set_name": "Github"
} |
#! /usr/bin/env python2
import sys,os
import numpy as np
from scipy import special # for ive
from utils.spyder_debug import *
from utils.imgutils import img_as_ubyte
# Try to import external packages
HAVE_DENSECRF = False
try:
from densecrf import pydensecrf
HAVE_DENSECRF = True
except:
pydensecrf = Non... | {
"pile_set_name": "Github"
} |
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "grafana.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to... | {
"pile_set_name": "Github"
} |
net\authorize\api\contract\v1\ProfileTransVoidType:
properties:
customerProfileId:
expose: true
access_type: public_method
serialized_name: customerProfileId
xml_element:
namespace: AnetApi/xml/v1/schema/AnetApiSchema.xsd
accessor:
... | {
"pile_set_name": "Github"
} |
{
"": [
"--------------------------------------------------------------------------------------------",
"Copyright (c) Microsoft Corporation. All rights reserved.",
"Licensed under the MIT License. See License.txt in the project root for license information.",
"-------------------------------------------------... | {
"pile_set_name": "Github"
} |
# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
#
# This module is part of GitDB and is released under
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
"""Module with basic data structures - they are designed to be lightweight and fast"""
from gitdb.util import ... | {
"pile_set_name": "Github"
} |
This is a text file containing taxonomy information for your layers (the same information as a %(layer-taxonomy)s). You can bring this information into a %(single-profile-db)s using %(anvi-import-taxonomy-for-layers)s.
This is a tab-delimited text file that is formatted similarly to a %(gene-taxonomy-txt)s. The first... | {
"pile_set_name": "Github"
} |
CONFIG_ARM=y
CONFIG_KIRKWOOD=y
CONFIG_TARGET_DREAMPLUG=y
CONFIG_IDENT_STRING="\nMarvell-DreamPlug"
CONFIG_BOOTDELAY=3
# CONFIG_DISPLAY_BOARDINFO is not set
CONFIG_HUSH_PARSER=y
# CONFIG_CMD_IMLS is not set
# CONFIG_CMD_FLASH is not set
CONFIG_CMD_IDE=y
CONFIG_CMD_SF=y
CONFIG_CMD_USB=y
# CONFIG_CMD_SETEXPR is not set
CO... | {
"pile_set_name": "Github"
} |
{
IBClasses = (
{
CLASS = DragNDropImageBox;
LANGUAGE = ObjC;
OUTLETS = {appController = id; filePathField = id; };
SUPERCLASS = NSImageView;
},
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
{CLASS = NSObject... | {
"pile_set_name": "Github"
} |
techniques
| {
"pile_set_name": "Github"
} |
-- ALTER TABLE tokens ADD COLUMN profileChangedAt BIGINT DEFAULT NULL,
-- ALGORITHM = INPLACE, LOCK = NONE;
-- UPDATE dbMetadata SET value = '23`' WHERE name = 'schema-patch-level';
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/com_wm_bg">
<android.support.v7.widget.RecyclerView
a... | {
"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"
} |
//
// MKAnnotationView+RACSignalSupport.h
// ReactiveCocoa
//
// Created by Zak Remer on 3/31/15.
// Copyright (c) 2015 GitHub. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
@class RACSignal;
@interface MKAnnotationView (RACSignalSupport)
/// A signal which will send a RACUnit whenev... | {
"pile_set_name": "Github"
} |
/* Checking gets.
Copyright (C) 2005-2019 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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, or (at your option) any later
version.
... | {
"pile_set_name": "Github"
} |
#format: frame checksums
#version: 2
#hash: MD5
#extradata 0, 16, c9a1741fb293b9ad21876492b5425a3b
#tb 0: 1/25
#media_type 0: video
#codec_id 0: utvideo
#dimensions 0: 352x288
#sar 0: 0/1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1, 197832, 11da... | {
"pile_set_name": "Github"
} |
---
title: ".ERRNZ"
ms.date: "12/17/2019"
f1_keywords: [".ERRNZ"]
helpviewer_keywords: [".ERRNZ directive"]
ms.assetid: 373a9222-140f-4505-8dec-ef370a069ebf
---
# `.ERRNZ`
Generates an error if *expression* is true (nonzero).
## Syntax
> **`.ERRNZ`** *expression* ⟦**`,`** *message*⟧
## See also
[Directives Referen... | {
"pile_set_name": "Github"
} |
define( [
"../core",
"../css"
], function( jQuery ) {
"use strict";
function Tween( elem, options, prop, end, easing ) {
return new Tween.prototype.init( elem, options, prop, end, easing );
}
jQuery.Tween = Tween;
Tween.prototype = {
constructor: Tween,
init: function( elem, options, prop, end, easing, unit ) {... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2012-2015,2017 Qualcomm Atheros, Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | {
"pile_set_name": "Github"
} |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Razor.TagHelpers;
namespace OrchardCore.DisplayManagement.TagHelpers
{
[HtmlTargetElement("clear-alternates", ParentTag = ShapeMetadataTagHelper.TagName, TagStructure = TagStructure.WithoutEndTag)]
public class ClearAlternatesTagHelper : TagHelper
{
... | {
"pile_set_name": "Github"
} |
;; Copyright 2015-2019 Workiva Inc.
;;
;; Licensed under the Eclipse Public License 1.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://opensource.org/licenses/eclipse-1.0.php
;;
;; Unless required by applicable law or ... | {
"pile_set_name": "Github"
} |
/******************************************************************************
*
* Copyright (C) 2009-2013 Broadcom Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
... | {
"pile_set_name": "Github"
} |
var makeCollection = function () {
if (Meteor.isServer)
return new Meteor.RedisCollection(Random.id());
else
return new Meteor.RedisCollection(null);
};
_.each ([{added:'added', forceOrdered: true},
{added:'added', forceOrdered: false},
{added: 'addedBefore', forceOrdered: false}], functi... | {
"pile_set_name": "Github"
} |
#基础组件(4) - Broadcast Receiver
## 一、实验简介
本实验将带你学习Android中的最后一个基础组件——Broadcast Receiver。它就是Android中常用的广播机制,相当于一个全局的事件监听器。通过学习本节课程,你可以了解怎样广播意图以及接收广播。
### 1. 知识点
- Broadcast的工作机制
- 创建和注册Broadcast Receiver
- 使用广播发送意图
### 2. 准备工作
请打开桌面上的Android Studio,新建一个名为`BroadcastPractice`的项目,域名填写`shiyanlou.com`(即包名为`com.shiyanlou.... | {
"pile_set_name": "Github"
} |
// -*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
// @homepage@
package example;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.text.ParseException;
import java.util.Date;
... | {
"pile_set_name": "Github"
} |
// Copyright Joyent, Inc. and other Node 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 rights to use, copy, modi... | {
"pile_set_name": "Github"
} |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | {
"pile_set_name": "Github"
} |
#include "common/http/http1/header_formatter.h"
#include "gtest/gtest.h"
namespace Envoy {
namespace Http {
namespace Http1 {
TEST(ProperCaseHeaderKeyFormatterTest, Formatting) {
ProperCaseHeaderKeyFormatter formatter;
const std::string downcased = "content-type";
EXPECT_EQ(formatter.format(downcased), "Conten... | {
"pile_set_name": "Github"
} |
package plugins
import (
"fmt"
"net/http"
)
type statusError struct {
status int
method string
err string
}
// Error returns a formatted string for this error type
func (e *statusError) Error() string {
return fmt.Sprintf("%s: %v", e.method, e.err)
}
// IsNotFound indicates if the passed in error is from a... | {
"pile_set_name": "Github"
} |
= golang-bittrex-api
The Bot Guy <thebotguy@protonmail.com>
image:https://travis-ci.org/thebotguys/golang-bittrex-api.svg?branch=master["Build Status", link="https://travis-ci.org/thebotguys/golang-bittrex-api"]
This wrapper will allow to connect to Bittrex API (version 2.0)
== Getting the package
[source, bash]
--... | {
"pile_set_name": "Github"
} |
// OCHamcrest by Jon Reid, http://qualitycoding.org/about/
// Copyright 2014 hamcrest.org. See LICENSE.txt
#import <OCHamcrest/HCSubstringMatcher.h>
@interface HCStringEndsWith : HCSubstringMatcher
+ (id)stringEndsWith:(NSString *)aSubstring;
@end
FOUNDATION_EXPORT id HC_endsWith(NSString *aSubstring);
/**
e... | {
"pile_set_name": "Github"
} |
import wpilib.trajectory
def test_wpilib_trajectory():
pass
| {
"pile_set_name": "Github"
} |
.menu {
position: absolute;
margin: 0;
padding: 2px;
border-width: 1px;
border-style: solid;
overflow: hidden;
}
.menu-inline {
position: relative;
}
.menu-item {
position: relative;
margin: 0;
padding: 0;
overflow: hidden;
white-space: nowrap;
cursor: pointer;
border-width... | {
"pile_set_name": "Github"
} |
<_>1 <6>4 <5!>2. <_+>2 <6>4. <6+>8 <_+>1 <_->4 <5->2.
<_>2 <_+> <6>2 <_+>4 <_>2 <6>4 <4> <6>1
<_+>2 <6>4. <6+>8 <_+>1 <_->4 <5->2.
<_>2 <_+> <6> <_+>4 <_> <2 4>2 <5!>4
<_>2 <6>8 <6+> <_>2. <6+>4 <_+> <6> <7> <6>8 <6>
<_+>2 <_+>4 <6> <_->2. <_>1 <4>4 <3> <6>2
<6>2 <_-> <7>4 <6> <_+>2 <_> <6> <6>4 <5!>2.
<_+>2 <6>4. ... | {
"pile_set_name": "Github"
} |
//! Module providing the building blocks to create macros and expand them.
use std::{
any::{Any, TypeId},
error::Error as StdError,
fmt, mem,
pin::Pin,
sync::{Arc, RwLock},
};
use {
codespan_reporting::diagnostic::Diagnostic,
downcast_rs::{impl_downcast, Downcast},
futures::{prelude::*,... | {
"pile_set_name": "Github"
} |
// Copyright © 2019 The Things Network Foundation, The Things Industries B.V.
//
// 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
//
// Un... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2015 Apple Inc. All rights reserved.
*
* @APPLE_APACHE_LICENSE_HEADER_START@
*
* 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... | {
"pile_set_name": "Github"
} |
// Copyright 2009 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.
// TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP)
// so that go vet can check that they are correct.
// +build 386,linux
package unix
import (... | {
"pile_set_name": "Github"
} |
<%- list_categories({style: 'list', depth: '0'}) %>
| {
"pile_set_name": "Github"
} |
.class public interface abstract Lcn/com/smartdevices/bracelet/push/i;
.super Ljava/lang/Object;
# static fields
.field public static final a:Ljava/lang/String; = "jump"
.field public static final b:Ljava/lang/String; = "genitem"
.field public static final c:Ljava/lang/String; = "care"
.field public static final d... | {
"pile_set_name": "Github"
} |
import torch
import torch.nn as nn
from torchvision.models.utils import load_state_dict_from_url
import torchvision.models.shufflenetv2
import sys
from .utils import _replace_relu, quantize_model
shufflenetv2 = sys.modules['torchvision.models.shufflenetv2']
__all__ = [
'QuantizableShuffleNetV2', 'shufflenet_v2_x0... | {
"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"
} |
module Workarea
class Inquiry
include ApplicationDocument
field :name, type: String
field :email, type: String
field :order_id, type: String
field :subject, type: String
field :message, type: String
validates :subject, length: { maximum: 1_000 }
validates :message, presence: true,
... | {
"pile_set_name": "Github"
} |
// Code generated by smithy-go-codegen DO NOT EDIT.
package ivs
| {
"pile_set_name": "Github"
} |
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "LineString",
"coordinates": [[0, 2], [12, 2], [12, 3], [12, 4]]
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"type":... | {
"pile_set_name": "Github"
} |
#ifndef RSP_JIT_HPP__
#define RSP_JIT_HPP__
#include <memory>
#include <stdint.h>
#include <string.h>
#include <string>
#include <unordered_map>
#include <vector>
#include "rsp_op.hpp"
#include "state.hpp"
#include "jit_allocator.hpp"
extern "C"
{
#include <lightning.h>
}
namespace RSP
{
namespace JIT
{
using Func ... | {
"pile_set_name": "Github"
} |
VPATH+= ${TOPDIR}/common/timer
SRCS+= timer.cc
| {
"pile_set_name": "Github"
} |
"""Provides classes that handle request dispatching."""
from __future__ import print_function, unicode_literals
import socket
import sys
import time
from functools import wraps
from .errors import ClientException
from .helpers import normalize_url
from requests import Session
from six import text_type
from six.moves ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2019. Google 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
~
~ https://www.apache.org/licenses/LICENSE-2.0
~
... | {
"pile_set_name": "Github"
} |
Red Hat eCos Public License v1.1
1. DEFINITIONS
1.1. "Contributor" means each entity that creates or contributes to the creation
of Modifications.
1.2. "Contributor Version" means the combination of the Original Code, prior
Modifications used by a Contributor, and the Modifications made by that particular
Contrib... | {
"pile_set_name": "Github"
} |
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2010 - 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 originally lic... | {
"pile_set_name": "Github"
} |
U-Boot for Hidden Dragon board
------------------------------
Hidden Dragon is a MPC824x-based board by Motorola. For the most
part it is similar to Sandpoint8245 board. So unless otherwise
mentioned, the codes in this directory are adapted from ../sandpoint
directory.
Apparently there are very few of this board out ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>hadoop.security.token.service.use_ip</name>
<value>true</value>
</property>
</configuration>
| {
"pile_set_name": "Github"
} |
//===----------------------------------------------------------------------===//
//
// 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"
} |
New in this release -
+ Support Play 2.2.1
+ Dist and Stage now depend on Grunt, no need to run grunt explicitly. Github Issue #4
+ Support for having Play Scala Templates in Yeoman project. Github Issue #12
+ Yeoman directories to be used by play to serve the assets can noww be configured, so you are no longer tied t... | {
"pile_set_name": "Github"
} |
{
"name": "image-size",
"version": "0.5.0",
"description": "get dimensions of any image file",
"main": "lib/index.js",
"files": [
"bin",
"lib"
],
"engines": {
"node": ">=0.10.0"
},
"bin": {
"image-size": "bin/image-size.js"
},
"scripts": {
"pretest": "jshint",
"test": "moch... | {
"pile_set_name": "Github"
} |
<?php declare(strict_types=1);
namespace Shopware\Core\Framework\Demodata\Generator;
use Shopware\Core\Checkout\Cart\Rule\GoodsPriceRule;
use Shopware\Core\Checkout\Customer\Rule\CustomerGroupRule;
use Shopware\Core\Checkout\Customer\Rule\IsNewCustomerRule;
use Shopware\Core\Content\Rule\RuleDefinition;
use Shopware\... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
Karel Vomáčka and Tomáš Martiník
</h3>
<div class="authorgroup">
<h3 class="author">
Matti Meikäläinen
</h3>
<h3 class="author">
Pero Perić
</h3>
</div>
<p cl... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.