text stringlengths 2 99.9k | meta dict |
|---|---|
/**
* QUnit v1.12.0 - A JavaScript Unit Testing Framework
*
* http://qunitjs.com
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
/** Font Family and Sizes */
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qun... | {
"pile_set_name": "Github"
} |
// Modified code from https://github.com/alexitaylor/angular-graphql-nestjs-postgres-starter-kit.
// MIT License, see https://github.com/alexitaylor/angular-graphql-nestjs-postgres-starter-kit/blob/master/LICENSE
// Copyright (c) 2019 Alexi Taylor
import { Connection } from 'typeorm';
import * as bcrypt from 'bcryptjs... | {
"pile_set_name": "Github"
} |
SourceCode: https://github.com/telerik/JustDecompileEngine
Language: C#
Tags:
- Decompilation
DiscoveryDate: 2/8/2019
| {
"pile_set_name": "Github"
} |
<trigger>
<name>Zwave reads a wakeup interval</name>
<description>Zwave reads a wakeup interval</description>
<channel>app.event.sensor.protocol.read.zwave</channel>
<payload>
<payload>
<statement>
<logical>AND</logical>
<attribute>zwave.comman... | {
"pile_set_name": "Github"
} |
class TwilioToken
attr_accessor :user, :room_name
def initialize(user, room_name)
@user = user
@room_name = room_name
end
def get
account_sid = ApplicationConfig["TWILIO_ACCOUNT_SID"]
api_key = ApplicationConfig["TWILIO_VIDEO_API_KEY"]
api_secret = ApplicationConfig["TWILIO_VIDEO_API_SECRE... | {
"pile_set_name": "Github"
} |
ace.define("ace/mode/doc_comment_highlight_rules",[], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var DocCommentHighlightRules = function() {
this.$rules = {
"start" : [ {
tok... | {
"pile_set_name": "Github"
} |
<?php
namespace PayPalCheckoutSdk\Core;
use BraintreeHttp\Injector;
class GzipInjector implements Injector
{
public function inject($httpRequest)
{
$httpRequest->headers["Accept-Encoding"] = "gzip";
}
} | {
"pile_set_name": "Github"
} |
"""Amalgate json-cpp library sources into a single source and header file.
Works with python2.6+ and python3.4+.
Example of invocation (must be invoked from json-cpp top directory):
python amalgate.py
"""
import os
import os.path
import sys
class AmalgamationFile:
def __init__(self, top_dir):
self.top_di... | {
"pile_set_name": "Github"
} |
#define _GNU_SOURCE
#include <sys/time.h>
#include <sys/stat.h>
#include <errno.h>
#include "syscall.h"
int __futimesat(int dirfd, const char *pathname, const struct timeval times[2])
{
struct timespec ts[2];
if (times) {
int i;
for (i=0; i<2; i++) {
if (times[i].tv_usec >= 1000000ULL)
return __syscall_re... | {
"pile_set_name": "Github"
} |
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
cloud.google.com/go v0.34.0 h1:eOI3/cP2VTU6uZLDYAoic+eyzzB9YyGmJ7eIjl8rOPg=
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
contrib.go.opencensus.io/exporter/ocagent v0.4.4 h1:6v7OlUmiBDhvbYcHPWp8LHO8wh... | {
"pile_set_name": "Github"
} |
/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | {
"pile_set_name": "Github"
} |
// Copyright 2001-2019 Crytek GmbH / Crytek Group. All rights reserved.
#pragma once
#include <CryThreading/MultiThread_Containers.h>
#include <functional>
//! CMainThreadWorker stores a list of tasks for execution on the main thread.
class CMainThreadWorker
{
public:
static CMainThreadWorker& GetInstance();
CMa... | {
"pile_set_name": "Github"
} |
export interface Second {}
declare global {
namespace NodeJS {
interface Global {
second: Second;
}
}
}
| {
"pile_set_name": "Github"
} |
package com.yisu;
import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/**
* 启动类
* @Author xuyisu
* @Date 20... | {
"pile_set_name": "Github"
} |
/*
Copyright 2018 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | {
"pile_set_name": "Github"
} |
// RUN: %clang_analyze_cc1 -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -analyzer-store=region -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false %s
// RUN: %clang_analyze_cc1 -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -anal... | {
"pile_set_name": "Github"
} |
#include "labeled_curve_view.h"
namespace Shared {
char * HorizontallyLabeledCurveView::label(Axis axis, int index) const {
if (axis == Axis::Horizontal) {
assert(index < k_maxNumberOfXLabels);
return m_xLabels[index];
}
return nullptr;
}
char * VerticallyLabeledCurveView::label(Axis axis, int index) c... | {
"pile_set_name": "Github"
} |
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Format apex: Enum.cls: Enum.cls 1`] = `
class EnumTest {
public enum Season {WINTER, SPRING, SUMMER, FALL}
enum Month {JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER}
@TestVisible
private enum AccountTypeOne ... | {
"pile_set_name": "Github"
} |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/path_service.h"
#include "content/public/browser/web_contents.h"
#include "co... | {
"pile_set_name": "Github"
} |
# GNIEA4, GNIPA4 - Teenage Mutant Ninja Turtles 2: Battle Nexus
[Core]
# Values set here will override the main Dolphin settings.
[OnLoad]
# Add memory patches to be loaded once on boot here.
[OnFrame]
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.
[Video_Hacks... | {
"pile_set_name": "Github"
} |
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.xfeatures2d;
import org.opencv.features2d.Feature2D;
import org.opencv.xfeatures2d.HarrisLaplaceFeatureDetector;
// C++: class HarrisLaplaceFeatureDetector
//javadoc: HarrisLaplaceFeatureDetector
public class HarrisLaplaceFeatureDetecto... | {
"pile_set_name": "Github"
} |
import Cocoa
extension NSView {
var width: CGFloat {
return self.frame.width
}
var height: CGFloat {
return self.frame.height
}
var isShown: Bool {
return !isHidden
}
func hide() {
self.isHidden = true
}
func show() {
... | {
"pile_set_name": "Github"
} |
// Copyright 2014 the V8 project 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 V8_COMPILER_JS_TYPED_LOWERING_H_
#define V8_COMPILER_JS_TYPED_LOWERING_H_
#include "src/base/compiler-specific.h"
#include "src/common/globals.... | {
"pile_set_name": "Github"
} |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "NSSErrorsService.h"
#include "nsNSSComponent.h"
#include "nsServiceManagerUtils.h"
#include "pkix/pkixn... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" ?>
<annotation>
<folder>widerface</folder>
<filename>12--Group_12_Group_Group_12_Group_Group_12_481.jpg</filename>
<source>
<database>wider face Database</database>
<annotation>PASCAL VOC2007</annotation>
<image>flickr</image>
<flickrid>-1</flickrid>
</source>
<owner>
<flickrid>yanyu</flickrid>
<nam... | {
"pile_set_name": "Github"
} |
##Package: Globus
##Status: Generated
----------------------------------------------------------------------------------------------------
@@JvgSingleInstance.pas
Summary
Contains the TJvgSingleInstance component.
Author
Andrey V. Chudin
----------------------------------------------------------------------------... | {
"pile_set_name": "Github"
} |
vows = require 'vows'
assert = require 'assert'
util = require 'util'
Netmask = require('../lib/netmask').Netmask
fixtures =
[
# addr mask base newmask bitmask
['209.157.68.22/255.255.224.0', null, '209.157.64.0', '255.255.224... | {
"pile_set_name": "Github"
} |
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
AUTOTOOLS_AUTORECONF=1
inherit autotools-utils eutils toolchain-funcs
DESCRIPTION="RadiusClient NextGeneration - library for RADIUS clients"
HOMEPAGE="https://sourceforge.net/projects/radiusclient-ng.ber... | {
"pile_set_name": "Github"
} |
import * as fse from 'fs-extra';
import * as path from 'path';
import { IClientConfig } from '@materia/interfaces';
import { App, AppMode, ConfigType } from '../../lib';
import { Npx } from '../lib/npx';
import { getPackageJson } from '../lib/getPackageJson';
import { WebsocketInstance } from '../../lib/websocket';
i... | {
"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")... | {
"pile_set_name": "Github"
} |
2016-12-30 Werner Lemberg <wl@gnu.org>
* Version 2.7.1 released.
=========================
Tag sources with `VER-2-7-1'.
* docs/VERSION.TXT: Add entry for version 2.7.1.
* README, Jamfile (RefDoc), builds/windows/vc2005/freetype.vcproj,
builds/windows/vc2005/index.html,
builds/windows/vc2008/freetype.vcpr... | {
"pile_set_name": "Github"
} |
0.2.0 / 2012-10-28
==================
* bytes(200).should.eql('200b')
0.1.0 / 2012-07-04
==================
* add bytes to string conversion [yields]
| {
"pile_set_name": "Github"
} |
#
# OLPC XO platform-specific drivers
#
obj-$(CONFIG_OLPC) += olpc-ec.o
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2012 Nouveau Community
*
* 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, publi... | {
"pile_set_name": "Github"
} |
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Masonry
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Masonry" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Masonry"
OTHER_LDFLAGS = -framewor... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env perl
use utf8;
use strict;
use warnings;
use FindBin;
use lib $FindBin::Dir . "/../lib";
use DDGC::Web;
my ($c) = grep $_->isa('Catalyst::DispatchType::Chained'), @{DDGC::Web->dispatcher->dispatch_types};
# graphviz nodes, graphviz links
my ( %gn, %gl );
for (values %{$c->_actions}) {
my $nn = nn... | {
"pile_set_name": "Github"
} |
import { by, element, ElementFinder } from 'protractor';
import { MetaCard, MetaCardTitleType } from '../../po/meta-card.po';
import { MetaDataItemComponent } from '../../po/meta-data-item.po';
export class CardGithubDeployInfo extends MetaCard {
repo: MetaDataItemComponent;
branch: MetaDataItemComponent;
com... | {
"pile_set_name": "Github"
} |
package com.baidu.ueditor.upload;
import com.baidu.ueditor.define.State;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
public class Uploader {
private HttpServletRequest request = null;
private Map<String, Object> conf = null;
public Uploader(HttpServletRequest request, Map<String, Object> c... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* 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 agre... | {
"pile_set_name": "Github"
} |
.\" **************************************************************************
.\" * _ _ ____ _
.\" * Project ___| | | | _ \| |
.\" * / __| | | | |_) | |
.\" * | (__| |_| | _ <| |___
.\" * ... | {
"pile_set_name": "Github"
} |
one
two
three
four
| {
"pile_set_name": "Github"
} |
set hive.fetch.task.conversion=more;
EXPLAIN
SELECT
'abc', "abc",
'abc\'', "abc\"",
'abc\\', "abc\\",
'abc\\\'', "abc\\\"",
'abc\\\\', "abc\\\\",
'abc\\\\\'', "abc\\\\\"",
'abc\\\\\\', "abc\\\\\\",
'abc""""\\', "abc''''\\",
"awk '{print NR\"\\t\"$0}'",
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2008 Apple Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | {
"pile_set_name": "Github"
} |
// Boost.Function library
// Copyright Douglas Gregor 2002-2003. Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// For more information, see http://www.boost.org
#i... | {
"pile_set_name": "Github"
} |
var _ = require('./lodash.min').runInContext();
module.exports = require('./fp/_baseConvert')(_, _);
| {
"pile_set_name": "Github"
} |
// Copyright 2018 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 aix darwin dragonfly freebsd linux netbsd openbsd solaris
// +build go1.9
package unix
import "syscall"
type Signal = syscall.Signal
type Errno = s... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using Xamarin.Forms;
namespace SmartHotel.Clients.Core.Controls
{
public partial class Calendar : ContentView
{
#region SelectedDate
public static readonly BindableProperty SelectedDateProperty =
BindableProperty.C... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8" ?>
<result>
<nb_uniq_visitors>1</nb_uniq_visitors>
<nb_users>0</nb_users>
<nb_visits>1</nb_visits>
<nb_actions>6</nb_actions>
<nb_visits_converted>1</nb_visits_converted>
<bounce_count>0</bounce_count>
<sum_visit_length>3961</sum_visit_length>
<max_actions>6</max_actions>
<... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) Mirth Corporation. All rights reserved.
*
* http://www.mirthcorp.com
*
* The software in this package is published under the terms of the MPL license a copy of which has
* been included with this distribution in the LICENSE.txt file.
*/
package com.mirth.connect.connectors.http;
import jav... | {
"pile_set_name": "Github"
} |
*> \brief \b SCHKQL
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE SCHKQL( DOTYPE, NM, MVAL, NN, NVAL, NNB, NBVAL, NXVAL,
* NRHS, THRESH, TSTERR,... | {
"pile_set_name": "Github"
} |
---
applications:
- name: app
no-route: true
routes:
- route: privateapps.io | {
"pile_set_name": "Github"
} |
/* Hoptoad */
div.hoptoad { width: 330px; }
div.hoptoad .content img {
width: 32px;
height: 32px;
}
div.hoptoad td.app_name {
font-size: 14pt;
padding-left: 1em;
min-width: 300px;
}
div.hoptoad td.no_app_errors {
font-weight: bold;
color: green;
font-size: 14pt;
}
div.hoptoad td.app_error... | {
"pile_set_name": "Github"
} |
// Copyright 2017 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.
package org.chromium.chrome.browser.download.ui;
import org.chromium.base.ObserverList;
import org.chromium.chrome.browser.download.ui.DownloadHistoryAda... | {
"pile_set_name": "Github"
} |
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<!DOCTYPE html>
<html>
<head>
<!--
The original and initial filename of this test was
wide- -auto- -omitted-width-nonpercent-height-viewbox.html
-->
<title>CSS Backgrounds and Borders Te... | {
"pile_set_name": "Github"
} |
#include "f2c.h"
#include "blaswrap.h"
/* Table of constant values */
static doublereal c_b12 = 1.;
static doublereal c_b13 = 0.;
/* Subroutine */ int dsbgvd_(char *jobz, char *uplo, integer *n, integer *ka,
integer *kb, doublereal *ab, integer *ldab, doublereal *bb, integer *
ldbb, doublereal *w, doubl... | {
"pile_set_name": "Github"
} |
const { isContainer
, isReference
, map
, forEach
, encode
, decode
, CountedOrderedSet
} = require('../utils');
function flatten(data, set) {
if (!isContainer(data)) {
return encode(data);
}
const recurse = (data => flatten(data, set));
const flattened = map(data... | {
"pile_set_name": "Github"
} |
---
layout: default
---
<script>
$(document).ready(function() {
$("#typewriteText").typewrite({
actions: [{ type: "{{site.typewrite-text}}" }]
});
});
</script>
<div class="jumbotron" style="text-align: center;">
<img class="author-profile-img" src="{{site.url}}{{site.baseurl}}/assets/img/p... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Namespace Name="System.Security.Cryptography.Xml">
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="N:System.Security.Cryptography.Xml" /> namespace contains classes to supp... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<div xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:page="urn:jsptagdir:/WEB-INF/tags/form" version="2.0">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<jsp:output omit-xml-declaration=... | {
"pile_set_name": "Github"
} |
From 77e399899d9d7297d23c321811b628febdf0fd92 Mon Sep 17 00:00:00 2001
From: Peter Seiderer <ps.report@gmx.net>
Date: Thu, 16 Apr 2015 22:43:49 +0200
Subject: [PATCH] tftp.h/tftpd.h: fix musl compile (missing include)
Upstream-Status: Pending
Add sys/types.h include for u_char typedef.
Signed-off-by: Peter Seiderer ... | {
"pile_set_name": "Github"
} |
config const n: int = 8;
config const verbose: bool = true;
if n < numLocales || n % numLocales != 0 then
halt("the number of locales, ", numLocales, ", does not evenly divide n,", n);
class DistributedArray {
var ndata: range(int);
var data: [ndata] int;
var others: [0..numLocales-1] unmanaged DistributedArr... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
<title>NSMutableArray(WeakReferences) Category Reference</title>
<meta id="xcode-display" name="xcode-display" content="render"/>
<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
This is the master template for standard menu screens:
On top the window buttons, the player controls and the notification symbol,
at the middle the client area and
at the bottom the navbar.
Usage:
<Include
xmlns="www.team-mediaportal.com/2008/mpf/directx"
xm... | {
"pile_set_name": "Github"
} |
// Copyright 2018 Weald Technology Ltd
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... | {
"pile_set_name": "Github"
} |
:101E000001C0B2C011248FE594E09EBF8DBF84B79E
:101E1000882361F0982F9A70923041F081FF02C0C0
:101E200097EF94BF282E80E0BAD0EAC085E08EBD3F
:101E300082E08BB988E18AB986E880BD87E089B9FC
:101E40008EE0ADD0BD9A84E020E33CEF44E050E268
:101E50003DBD2CBD48BF08B602FEFDCF98B3952707
:101E600098BBA8955F9902C0815091F791D08134B9
:101E... | {
"pile_set_name": "Github"
} |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may... | {
"pile_set_name": "Github"
} |
const request = require('../../../api/request');
async function yt(title, artist) {
title = title.replace(/[^\w\s]/gi, '');
artist = artist.replace(/[^\w\s]/gi, '');
const url =
'https://www.googleapis.com/youtube/v3/search?q=' +
title +
' ' +
artist +
'&part=snippe... | {
"pile_set_name": "Github"
} |
using NHapi.Base.Parser;
using NHapi.Base;
using NHapi.Base.Log;
using System;
using System.Collections.Generic;
using NHapi.Model.V28.Segment;
using NHapi.Model.V28.Datatype;
using NHapi.Base.Model;
namespace NHapi.Model.V28.Group
{
///<summary>
///Represents the ORS_O06_RESPONSE Group. A Group is an ordered collect... | {
"pile_set_name": "Github"
} |
-module(call_elim_test_branches_opt_poss).
-export([test/1]).
test(A) ->
if A > 0 ->
true = has_a_field(#{a=>true}),
true = has_a_field(#{b=>1, a=>"2"}),
true = has_a_field(#{a=>5, c=>4});
A =< 0 ->
true = has_a_field(#{a=>q, 'A' =>nej}),
true = has_a_field(#{a=>"hej", false=>... | {
"pile_set_name": "Github"
} |
"use strict";
var objToString = Object.prototype.toString, id = objToString.call("");
module.exports = function (value) {
return (
typeof value === "string" ||
(value &&
typeof value === "object" &&
(value instanceof String || objToString.call(value) === id)) ||
false
);
};
| {
"pile_set_name": "Github"
} |
import React from 'react';
import NumberInput from '../NumberInput';
import Input from '../../Input';
import Box from '../../Box';
import { storyOfAllPermutations } from '../../../test/utils/visual/utils';
const defaultProps = {
value: '12345',
};
const Story = props => (
<Box height={54}>
{[undefined, 'error... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 9 2015 22:53:21).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2014 by Steve Nygard.
//
#import <objc/NSObject.h>
@interface LWCASProcessNotificationManager : NSObject
{
}
+ (id)sharedLWCASProcessNotificationManager;
- (v... | {
"pile_set_name": "Github"
} |
define( [
"../core"
], function( jQuery ) {
"use strict";
// Cross-browser xml parsing
jQuery.parseXML = function( data ) {
var xml;
if ( !data || typeof data !== "string" ) {
return null;
}
// Support: IE 9 - 11 only
// IE throws on parseFromString with invalid input.
try {
xml = ( new window.DOMParser()... | {
"pile_set_name": "Github"
} |
/**
*
* Header
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import { connect } from 'react-redux';
// import { FormattedMessage } from 'react-intl';
import { createStructuredSelector } from 'reselect';
import { compose } from 'redux';
import injectSaga ... | {
"pile_set_name": "Github"
} |
1/country_boundaries|country_boundaries|cat|$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db|sqlite
| {
"pile_set_name": "Github"
} |
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | {
"pile_set_name": "Github"
} |
/*
* 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"
} |
/*
MANGO Multimedia Development Platform
Copyright (C) 2012-2020 Twilight Finland 3D Oy Ltd. All rights reserved.
*/
#pragma once
#include <string>
#include <mango/core/configure.hpp>
#include <mango/core/object.hpp>
namespace mango
{
class DynamicLibrary : protected NonCopyable
{
protected:
... | {
"pile_set_name": "Github"
} |
// Metawidget
//
// This file is dual licensed under both the LGPL
// (http://www.gnu.org/licenses/lgpl-2.1.html) and the EPL
// (http://www.eclipse.org/org/documents/epl-v10.php). As a
// recipient of Metawidget, you may choose to receive it under either
// the LGPL or the EPL.
//
// Commercial licenses are also avail... | {
"pile_set_name": "Github"
} |
/******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | {
"pile_set_name": "Github"
} |
//
// This file is part of the µOS++ III distribution.
// Copyright (c) 2014 Liviu Ionescu.
//
// ----------------------------------------------------------------------------
#include "cmsis_device.h"
// ----------------------------------------------------------------------------
extern void
__attribute__((noreturn... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
@@include('header.inc')
<body>
<div class="globalbar">
<div class="wrap">
<p class="toplink">
<span>xxx@163.com</span>|
<span><a href="#">退出</a></span>|
<span><a href="#">登录</a></span>|
<span><a href="#">注册</a></span>|
<span><a href="#">帮助中心</a></span>
</p>
<div class="logo"... | {
"pile_set_name": "Github"
} |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/BaseBoard.framework/BaseBoard
*/
@interface BSPathProviderFactory : NSObject
+ (id)pathProviderForCurrentContainer;
+ (id)pathProviderForSystemContainerForCurrentProcess;
@end
| {
"pile_set_name": "Github"
} |
/*
# Licensed Materials - Property of IBM
# Copyright IBM Corp. 2015,2016
*/
package quarks.connectors.runtime;
import java.io.Serializable;
import java.util.concurrent.CancellationException;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Exec... | {
"pile_set_name": "Github"
} |
// +build !windows
package stats // import "github.com/docker/docker/daemon/stats"
import (
"fmt"
"os"
"strconv"
"strings"
"golang.org/x/sys/unix"
)
const (
// The value comes from `C.sysconf(C._SC_CLK_TCK)`, and
// on Linux it's a constant which is safe to be hard coded,
// so we can avoid using cgo here. ... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team
//
// 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 us... | {
"pile_set_name": "Github"
} |
/*
* Wolfenstein: Enemy Territory GPL Source Code
* Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company.
*
* ET: Legacy
* Copyright (C) 2012-2018 ET:Legacy team <mail@etlegacy.com>
*
* This file is part of ET: Legacy - http://www.etlegacy.com
*
* ET: Legacy is free software: you can redistribute i... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2009 Mans Rullgard <mans@mansr.com>
* Copyright (c) 2015 Zhou Xiaoyong <zhouxiaoyong@loongson.cn>
*
* 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 Softwa... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# Tests man pages.
#
# Version: 20190302
EXIT_SUCCESS=0;
EXIT_FAILURE=1;
EXIT_IGNORE=77;
run_test()
{
local INPUT_FILE=$1;
local RESULT=0
TEST_NAME=`basename ${INPUT_FILE}`;
echo -n "Testing man with input: ${TEST_NAME}";
LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf... | {
"pile_set_name": "Github"
} |
///////////////////////////////////////////////////////////////////////////////
/// \file basic_expr.hpp
/// Contains definition of basic_expr\<\> class template.
//
// Copyright 2008 Eric Niebler. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
/... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 14768d3865b1342e3a861fbe19ba2db2
ShaderImporter:
userData:
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!-- Generated by the JDiff Javadoc doclet -->
<!-- (http://www.jdiff.org) -->
<!-- on Thu Oct 19 21:54:58 UTC 2017 -->
<api
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation='api.xsd'
name="Apache Hadoop HDFS 2.8.2"
... | {
"pile_set_name": "Github"
} |
// Copyright 2016 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 SERVICES_UI_DISPLAY_PLATFORM_SCREEN_H_
#define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_H_
#include <memory>
#include "base/macros.h"
#include "servi... | {
"pile_set_name": "Github"
} |
// Copyright 2004-5 The Trustees of Indiana University.
// Copyright 2002 Brad King and Douglas Gregor
// 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)
// Authors: Douglas Gregor
// Andrew Lumsdaine
... | {
"pile_set_name": "Github"
} |
/*
* Copyright © 2014 - 2020 Leipzig University (Database Research Group)
*
* 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
*
* Unles... | {
"pile_set_name": "Github"
} |
########################################################################
# Phony targets are scoped, so you probably want to declare them first.
#
# .PHONY: all install clean
USE_OCAMLFIND = true
OCAMLPACKS[] +=
batteries
bigarray
pcre
#OCAMLFINDFLAGS +=
if $(not $(OCAMLFIND_EXISTS))
eprintln(This pro... | {
"pile_set_name": "Github"
} |
var resolve = require('path').resolve
var createReadStream = require('graceful-fs').createReadStream
var readFileSync = require('graceful-fs').readFileSync
var tap = require('tap')
var cat = require('concat-stream')
var Negotiator = require('negotiator')
var server = require('./lib/server.js')
var common = require('.... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2003, 2005, 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"
} |
import bpy
import bmesh
from bpy_extras.object_utils import AddObjectHelper
def add_box(width, height, depth):
"""
This function takes inputs and returns vertex and face arrays.
no actual mesh data creation is done here.
"""
verts = [
(+1.0, +1.0, -1.0),
(+1.0, -1.0, -1.0),
... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Handles Quoted Printable (QP) Transfer Encoding in Swift Mailer.
*
* @author Chris Corbyn
*/
class... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.