text
stringlengths
2
99.7k
meta
dict
/* Copyright (c) 2006-2010 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the Clear BSD license. * See http://svn.openlayers.org/trunk/openlayers/license.txt for the * full text of the license. */ /** * @requires OpenLayers/Control.js * @requires OpenLayers/BaseT...
{ "pile_set_name": "Github" }
/* eslint no-extend-native:0 */ // Load modules var Code = require('code'); var Lab = require('lab'); var Qs = require('../'); // Declare internals var internals = {}; // Test shortcuts var lab = exports.lab = Lab.script(); var expect = Code.expect; var describe = lab.experiment; var it = lab.test; describe('p...
{ "pile_set_name": "Github" }
<?php /** * Validates contents based on NMTOKENS attribute type. */ class HTMLPurifier_AttrDef_HTML_Nmtokens extends HTMLPurifier_AttrDef { public function validate($string, $config, $context) { $string = trim($string); // early abort: '' and '0' (strings that convert to false) are invalid ...
{ "pile_set_name": "Github" }
Bridge.merge(new System.Globalization.CultureInfo("es-PR", true), { englishName: "Spanish (Puerto Rico)", nativeName: "español (Puerto Rico)", numberFormat: Bridge.merge(new System.Globalization.NumberFormatInfo(), { nanSymbol: "NaN", negativeSign: "-", positiveSign: "+", ne...
{ "pile_set_name": "Github" }
MFAACEnc="Media Foundation AAC Kodierer" Bitrate="Bitrate" MF.H264.EncoderName="Media-Foundation-H264-Kodierer" MF.H264.Encoder="Kodierername" MF.H264.LowLatency="Niedrige Latenz (Deaktiviert Frameneuanordnung)" MF.H264.BFrames="Konsekutive B-Frameanzahl" MF.H264.CustomBufsize="Benutzerdefinierte Puffergröße verwenden...
{ "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. using System; using System.Text.Unicode; using Xunit; namespace System.Text.Encodings.Web.Tests { public class UnicodeRangeTests { [Theory] [InlineData(-1, 1...
{ "pile_set_name": "Github" }
{ "version": "0.25.1", "description": "Terragrunt is a thin wrapper for Terraform that provides extra tools for keeping your Terraform configurations DRY, working with multiple Terraform modules, and managing remote state.", "homepage": "https://github.com/gruntwork-io/terragrunt", "license": "MIT",...
{ "pile_set_name": "Github" }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_172) on Sun Jun 07 15:57:41 CEST 2020 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>simplenlg.serv...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platf...
{ "pile_set_name": "Github" }
<!DOCTYPE html> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/resources/testdriver.js"></script> <script src="/resources/testdriver-vendor.js"></script> <script src="/bluetooth/resources/bluetooth-test.js"></script> <script src="/bluetooth/resour...
{ "pile_set_name": "Github" }
package gregtech.common.render; import gregtech.api.enums.GT_Values; import gregtech.api.util.GT_Log; import gregtech.api.util.GT_Utility; import net.minecraft.client.entity.AbstractClientPlayer; import net.minecraft.client.model.ModelBiped; import net.minecraft.client.renderer.entity.RenderManager; import net...
{ "pile_set_name": "Github" }
// Copyright Aleksey Gurtovoy 2000-2004 // // 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) // // Preprocessed version of "boost/mpl/vector.hpp" header // -- DO NOT modify by hand! namespace boost ...
{ "pile_set_name": "Github" }
import TestControl = require('../../mocks/TestControl'); export function load () { QUnit.module("Markup/Media"); test("VisualStateManager", () => { var xaml = "<Grid xmlns=\"http://schemas.wsick.com/fayde\" xmlns:x=\"http://schemas.wsick.com/fayde/x\">" + "<VisualStateManager.Visual...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2015 The Android Open Source 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 http://www.apache.org/license...
{ "pile_set_name": "Github" }
using Android.App; using Android.Content; using Android.OS; using Android.Util; using Android.Views; using Android.Hardware.Camera2; using Android.Graphics; using Android.Hardware.Camera2.Params; using Android.Media; using Camera2Basic; using Camera2Basic.Listeners; using Xamarin.Forms; using Xamarin.Forms.Platform.An...
{ "pile_set_name": "Github" }
--- # Page settings layout: default keywords: autocorrelation convergence mixing comments: false version: 0.0.24 permalink: /docs/0_0_24/autocorrelation/ # Hero section title: Calculating Autocorrelation description: How do you calculate the autocorrelation of your samples? # Micro navigation micro_nav: true # Page ...
{ "pile_set_name": "Github" }
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/json-schema-secure.json#", "title": "Meta-schema for the security assessment of JSON Schemas", "description": "If a JSON Schema fails validation against this meta-schema, it may be u...
{ "pile_set_name": "Github" }
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. namespace Microsoft.VisualStudio.FSharp.Editor.Tests.Roslyn open System open NUnit.Framework open Microsoft.VisualStudio.FSharp.Editor open FSharp.Compiler.Text open Microsoft.CodeAnalysis.Tex...
{ "pile_set_name": "Github" }
<template> <div> <van-tabs :active="activeNav" @change="changeTab"> <van-tab v-for="nav in navList" :title="nav.name" v-bind:key="nav.id"> </van-tab> </van-tabs> <swiper class="swiper" indicator-dots="true" autoplay="true" interval="5000" duration="1000"> <block v-for="(item, index) in b...
{ "pile_set_name": "Github" }
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <objc/NSObject.h> #import <RunningBoard/RBBundleProperties-Protocol.h> @class NSDictionary, NSString, NSURL; @interface RBLS...
{ "pile_set_name": "Github" }
/**** (c) Valve Corporation. Use is governed by the terms of the Steam Subscriber Agreement http://store.steampowered.com/subscriber_agreement/. ****/ (window.webpackJsonp = window.webpackJsonp || []).push([ [7], { "3WEt": function(e, t, a) { "use strict"; a.r(t); var o, i, u ...
{ "pile_set_name": "Github" }
//BSD, 2014-present, WinterDev namespace PixelFarm.Drawing.GLES2 { partial class MyGLDrawBoard { //TODO: review drawstring again *** Color _currentTextColor; public override RequestFont CurrentFont { get => _gpuPainter.CurrentFont; set => _gpuPainter.Cur...
{ "pile_set_name": "Github" }
{ "name": "restc-example-koa2", "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { "accepts": { "version": "1.3.7", "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEP...
{ "pile_set_name": "Github" }
// // PageTabMenuViewController.swift // PageMenuExample // // Created by Tamanyan on 3/7/17. // Copyright © 2017 Tamanyan. All rights reserved. // import UIKit import SwiftPageMenu class PageTabMenuViewController: PageMenuController { let items: [[String]] let titles: [String] init(items: [[String...
{ "pile_set_name": "Github" }
package utils import ( "bytes" "strconv" "strings" "testing" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "github.com/spf13/cobra" "github.com/weaveworks/eksctl/pkg/ctl/cmdutils" ) func TestValidateLoggingFlags(t *testing.T) { var ( errBothEmpty = "at least one flag has to be provided" e...
{ "pile_set_name": "Github" }
package telemetry import ( "github.com/sirupsen/logrus" ) type MetricsConfig struct { FileConfig FileConfig Logger logrus.FieldLogger ServiceName string Sinks []Sink } type FileConfig struct { Prometheus *PrometheusConfig `hcl:"Prometheus"` DogStatsd []DogStatsdConfig `hcl:"DogStatsd"` Statsd ...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2006 The Android Open Source 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 http://www.apache.org/licen...
{ "pile_set_name": "Github" }
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/webcrypto/algorithm_registry.h" #include "base/lazy_instance.h" #include "components/webcrypto/algorithm_implementation.h" #include ...
{ "pile_set_name": "Github" }
package info.ephyra.questionanalysis; import info.ephyra.nlp.NETagger; import info.ephyra.nlp.OpenNLP; import info.ephyra.nlp.VerbFormConverter; import info.ephyra.nlp.semantics.ontologies.WordNet; import java.util.regex.Matcher; import java.util.regex.Pattern; import javatools.PlingStemmer; /** * Thi...
{ "pile_set_name": "Github" }
{% extends "orga/schedule/base.html" %} {% load compress %} {% load i18n %} {% load static %} {% block scripts %} {% compress js %} <script defer src="{% static "vendored/moment-with-locales.js" %}"></script> <script defer src="{% static "vendored/moment-timezone-with-data-2012-2022.js" %}"></script> {...
{ "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 an...
{ "pile_set_name": "Github" }
/* Aggregator is a reporter used by the Ginkgo CLI to aggregate and present parallel test output coherently as tests complete. You shouldn't need to use this in your code. To run tests in parallel: ginkgo -nodes=N where N is the number of nodes you desire. */ package remote import ( "time" "github.com/onsi/gi...
{ "pile_set_name": "Github" }
""" Interface for CANtact devices from Linklayer Labs """ import time import logging from unittest.mock import Mock from can import BusABC, Message logger = logging.getLogger(__name__) try: import cantact except ImportError: logger.warning( "The CANtact module is not installed. Install it using `pyt...
{ "pile_set_name": "Github" }
# SPDX-License-Identifier: GPL-2.0 # # Makefile for the USB serial device drivers. # # Object file lists. obj-$(CONFIG_USB_SERIAL) += usbserial.o usbserial-y := usb-serial.o generic.o bus.o usbserial-$(CONFIG_USB_SERIAL_CONSOLE) += console.o obj-$(CONFIG_USB_SERIAL_AIRCABLE) += aircable.o obj-$(CONFIG_USB_SERIA...
{ "pile_set_name": "Github" }
# # Copyright (c) 2017 Intel 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
{ "pile_set_name": "Github" }
# Author: Steven J. Bethard <steven.bethard@gmail.com>. """Command-line parsing library This module is an optparse-inspired command-line parsing library that: - handles both optional and positional arguments - produces highly informative usage messages - supports parsers that dispatch to sub-parsers The...
{ "pile_set_name": "Github" }
import os import numpy as np import torch import shutil import torchvision.transforms as transforms from torch.autograd import Variable class AvgrageMeter(object): def __init__(self): self.reset() def reset(self): self.avg = 0 self.sum = 0 self.cnt = 0 def update(self, val, n=1): self.sum...
{ "pile_set_name": "Github" }
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); const Modem = require("docker-modem"); const container_1 = require("./container"); const image_1 = require("./image"); const volume_1 = require("./volume"); const network_1 = require("./network"); const node_1 = require("./node"); const plugin...
{ "pile_set_name": "Github" }
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc --> <title>HTMLDocument (Java SE 12 &amp; JDK 12 )</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="keywords" content="org.w3c.dom.html.HTMLDocument interface"> <meta name="keywords" content="getTit...
{ "pile_set_name": "Github" }
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : {"default": mod}; }; Object.defineProperty(exports, "__esModule", {value: true}); var fork_1 = __importDefault(require("./fork")); var core_1 = __importDefault(require("./def/core")); var es...
{ "pile_set_name": "Github" }
<?php final class PhabricatorFileDropUploadController extends PhabricatorFileController { public function shouldAllowRestrictedParameter($parameter_name) { // Prevent false positives from file content when it is submitted via // drag-and-drop upload. return true; } /** * @phutil-external-symbo...
{ "pile_set_name": "Github" }
package org.incode.platform.dom.document.integtests.demo.dom.order; import java.math.BigDecimal; import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.VersionStrategy; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import com.google.common.collect.Ordering; import org.apache.isis.ap...
{ "pile_set_name": "Github" }
<?php /** * Locale data for 'bem'. * * This file is automatically generated by yiic cldr command. * * Copyright © 1991-2013 Unicode, Inc. All rights reserved. * Distributed under the Terms of Use in http://www.unicode.org/copyright.html. * * @copyright 2008-2014 Yii Software LLC (http://www.yiiframework.com/lic...
{ "pile_set_name": "Github" }
import argparse import glob import json import os import shutil import subprocess import uuid from collections import OrderedDict from joblib import delayed from joblib import Parallel import pandas as pd def create_video_folders(dataset, output_dir, tmp_dir): """Creates a directory for each label name in the da...
{ "pile_set_name": "Github" }
using AuthorizeNet.Utility; namespace AuthorizeNet.Api.Controllers.Test { using System; using AuthorizeNet.Api.Contracts.V1; using AuthorizeNet.Api.Controllers; using AuthorizeNet.Api.Controllers.Bases; using AuthorizeNet.Api.Controllers.Test; using AuthorizeNet.Util; using NUnit.Framework;...
{ "pile_set_name": "Github" }
// Copyright (c) 2012 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/bind.h" #include "base/location.h" #include "base/single_thread_task_runner.h" #include "base/threading/thread_task_runner_handle.h" #i...
{ "pile_set_name": "Github" }
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import "RCTView.h" #import "RCTAutoInsetsProtocol.h" #import "RCTBorderDrawing.h" #import "RCTConvert.h" #import "RCTI18nUtil.h" ...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <spirit:design xmlns:xilinx="http://www.xilinx.com" xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <spirit:vendor>xilinx.com</spirit:vendor> <spirit:library>xci</spirit:library> <spirit:name>un...
{ "pile_set_name": "Github" }
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import print_function from __future__ import division import tensorflow as tf def short_side_resize(img_tensor, gtboxes_and_label, target_shortside_len): ''' :param img_tensor:[h, w, c], gtboxes_and_label:[-1, 9] :param targ...
{ "pile_set_name": "Github" }
import Foundation /// A Nimble matcher that succeeds when the actual expression evaluates to an /// error from the specified case. /// /// Errors are tried to be compared by their implementation of Equatable, /// otherwise they fallback to comparison by _domain and _code. public func matchError<T: Error>(_ error: T) -...
{ "pile_set_name": "Github" }
<?php // Supermicro sensors $oids = snmp_walk($device, '.1.3.6.1.4.1.10876.2.1.1.1.1.3', '-Osqn', 'SUPERMICRO-HEALTH-MIB'); $oids = trim($oids); if ($oids) { echo 'Supermicro '; foreach (explode("\n", $oids) as $data) { $data = trim($data); if ($data) { [$oid, $type] = explode(' ', ...
{ "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" }
<?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="../../../stylesheets/page.xsl"?> <element extends="markup:xul:XULElement" name="popupset"> <abstract> <locale> A container for <link type="element" href="reference://markup/xul/menupopup">menupopup</link>, <link type="element" href...
{ "pile_set_name": "Github" }
--- id: 56533eb9ac21ba0edf2244a8 title: Storing Values with the Assignment Operator challengeType: 1 videoUrl: 'https://scrimba.com/c/cEanysE' forumTopicId: 18310 localeTitle: 使用赋值运算符存储值 --- ## Description <section id='description'> 在 JavaScript 中,你可以使用赋值运算符将值存储在变量中。 <code>myVariable = 5;</code> 这条语句把<code>Number</cod...
{ "pile_set_name": "Github" }
package com.coderising.ood.srp; import com.coderising.ood.srp.utils.DBUtil; import com.coderising.ood.srp.utils.MailUtil; import com.coderising.ood.srp.utils.ArgsUtil; import java.io.IOException; import java.util.*; /** * PromotionMail * * @author Chenpz * @package com.coderising.ood.srp * @date 2017/6/12/23:33...
{ "pile_set_name": "Github" }
/******************************************************************************* * Copyright (c) 2013-2015 Sierra Wireless and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * and Eclipse Distribution License v1....
{ "pile_set_name": "Github" }
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") load("//tools:cpplint.bzl", "cpplint") package(default_visibility = ["//visibility:public"]) PLANNING_COPTS = ["-DMODULE_NAME=\\\"planning\\\""] cc_library( name = "discretized_path", srcs = ["discretized_path.cc"], hdrs = ["discretized_path.h"], ...
{ "pile_set_name": "Github" }
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true"> <f:if condition="{hasAccess}"> <f:then> <f:form action="" name="editForm" id="NewContentElementController"> <f:form.hidden name="defValues" value="" /> <f:if condition="{hasClickEvent}"...
{ "pile_set_name": "Github" }
import torchfile import numpy as np model = torchfile.load('kit.model') weights = dict() params = ['weight', 'bias', 'running_mean', 'running_var'] recursive = ['conv_nets'] def save_weight(name, node, level): weights[name] = dict() current_layer = weights[name] for p in params: if hasattr(node...
{ "pile_set_name": "Github" }
#include "sphereObj.h" #include <math.h> #include "hardware.h" /*********************************************************** * Constructor * ***********************************************************/ Sphere::Sphere(int _numberLevels, float _radius) { this->n...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/bpmn20" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:bpsim="http://www.bpsim.org/schemas/1.0" xmlns:color=...
{ "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 an...
{ "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 "content/browser/renderer_host/renderer_frame_manager.h" #include <algorithm> #include "base/logging.h" #include "base/sys_info.h" namespace c...
{ "pile_set_name": "Github" }
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Ui\Component\Form\Element; use Magento\Framework\Data\OptionSourceInterface; use Magento\Framework\View\Element\UiComponent\ContextInterface; /** * Base abstract form element. * * phpcs:disable...
{ "pile_set_name": "Github" }
""" @package gmodeler.preferences @brief wxGUI Graphical Modeler - preferences Classes: - preferences::PreferencesDialog - preferences::PropertiesDialog (C) 2010-2013 by the GRASS Development Team This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRAS...
{ "pile_set_name": "Github" }
/* Firewall Builder Copyright (C) 2011 NetCitadel, LLC Author: Vadim Kurland vadim@fwbuilder.org This program is free software which we release under the GNU General Public License. You may redistribute and/or modify this program under the terms of that licens...
{ "pile_set_name": "Github" }
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. @prefix owl: <http://www.w3.org/2002/07/owl#>. @prefix mon: <http://www.semwebtech.org/mondial/10/meta#>. @prefix xsd: <http://www.w3.org/2001/XMLSchema#>. @prefix : <foo://bla/>. _:Longitude a rdfs:Datatype; owl:onDatatype xsd:int; owl:withRestrictions (_:lon...
{ "pile_set_name": "Github" }
# frv testcase for tige $ICCi_2,$GRi,$s12 # mach: all .include "testutils.inc" start .global tige tige: and_spr_immed -4081,tbr ; clear tbr.tt set_gr_spr tbr,gr7 inc_gr_immed 2112,gr7 ; address of exception handler set_bctrlr_0_0 gr7 ; bctrlr 0,0 set_spr_immed 128,lcr set_gr_immed 0,gr7 set_psr_et 1 s...
{ "pile_set_name": "Github" }
import numpy as np from bmtk.builder.networks import NetworkBuilder from bmtk.builder.auxi.node_params import positions_columinar from bmtk.builder.auxi.edge_connectors import distance_connector """Create Nodes""" net = NetworkBuilder("V1") net.add_nodes(N=80, # Create a population of 80 neurons positi...
{ "pile_set_name": "Github" }
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Core { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial interface ICorePointerInputSource { ...
{ "pile_set_name": "Github" }
using System; using NHapi.Base; using NHapi.Base.Parser; using NHapi.Base.Model; using NHapi.Model.V251.Datatype; using NHapi.Base.Log; namespace NHapi.Model.V251.Segment{ ///<summary> /// Represents an HL7 MRG message segment. /// This segment has the following fields:<ol> ///<li>MRG-1: Prior Patient Id...
{ "pile_set_name": "Github" }
from unittest.mock import patch from .....graphql.csv.enums import ProductFieldEnum from .....product.models import Attribute, Product, ProductImage, VariantImage from .....warehouse.models import Warehouse from ....utils.products_data import ( ProductExportFields, add_attribute_info_to_data, add_collectio...
{ "pile_set_name": "Github" }
// Copyright (c) 2012 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 CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ #define CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ #include <stdint.h> #include <stri...
{ "pile_set_name": "Github" }
# coding=utf-8 """Tests for medusa/test_list_associated_files.py.""" from __future__ import unicode_literals import os from medusa import app from medusa.post_processor import PostProcessor import pytest def _rar_basename(filepath, files): for found_file in files: if os.path.splitext(os.path.basename(fo...
{ "pile_set_name": "Github" }
namespace ImgCodec.IconAndCursor { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
{ "pile_set_name": "Github" }
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //Base Timer 0 namespace Bt4PwmTmcr{ ///<Timer Control Register using Addr = Register::Address<0x4002520c,0xffff8080,0x00000000,unsigned>; ///Count clock selection bit constexpr Register::FieldLocation<Addr,Register::maskFro...
{ "pile_set_name": "Github" }
package network // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unl...
{ "pile_set_name": "Github" }
function nn = nnff(nn, x, y) %NNFF performs a feedforward pass % nn = nnff(nn, x, y) returns an neural network structure with updated % layer activations, error and loss (nn.a, nn.e and nn.L) n = nn.n; m = size(x, 1); x = [ones(m,1) x]; nn.a{1} = x; %feedforward pass for i = 2 : n-1 ...
{ "pile_set_name": "Github" }
namespace AcademyGeometry { using System; using System.Linq; class Cylinder : Figure, IAreaMeasurable, IVolumeMeasurable { public Cylinder(Vector3D bottom, Vector3D top, double radius) : base(bottom, top) { this.Radius = radius; } public double ...
{ "pile_set_name": "Github" }
const test = require("ava"); const TemplateRender = require("../src/TemplateRender"); const EleventyExtensionMap = require("../src/EleventyExtensionMap"); function getNewTemplateRender(name, inputDir) { let tr = new TemplateRender(name, inputDir); tr.extensionMap = new EleventyExtensionMap(); return tr; } // Mu...
{ "pile_set_name": "Github" }
{{ partial "header.html" . }} <div class="main-container"> <section class="space--xs "> <div class="container"> <div class="row"> <div class="col-md-12"> <span class="h2 inline-block">Articles & News</span> <!-- <div class="typed-headline"> <span class="h...
{ "pile_set_name": "Github" }
// OsmSharp - OpenStreetMap (OSM) SDK // Copyright (C) 2013 Abelshausen Ben // // This file is part of OsmSharp. // // OsmSharp is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 2 of the Licen...
{ "pile_set_name": "Github" }
#pragma warning disable /* * Warewolf - Once bitten, there's no going back * Copyright 2019 by Warewolf Ltd <alpha@warewolf.io> * Licensed under GNU Affero General Public License 3.0 or later. * Some rights reserved. * Visit our website for more information <http://warewolf.io/> * AUTHORS <http://warewolf.io/aut...
{ "pile_set_name": "Github" }
/* MIT License Copyright (c) 2016-2017 Florian Cäsar, Michael Plainer For full license see LICENSE in the root directory of this project. */ using System; using System.Collections.Generic; using System.Linq; using Sigma.Core.Handlers; using Sigma.Core.MathAbstract; using Sigma.Core.Utils; namespace Sigma.Core.Tr...
{ "pile_set_name": "Github" }
# -*- coding: utf-8 -*- import pytest import pandas as pd from pandas import TimedeltaIndex class TestTimedeltaIndexRendering(object): @pytest.mark.parametrize('method', ['__repr__', '__unicode__', '__str__']) def test_representation(self, method): idx1 = TimedeltaIndex([], freq='D') idx2 = ...
{ "pile_set_name": "Github" }
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Tests for Truthcoin's mathematical tools. """ from __future__ import division, unicode_literals, absolute_import import os import sys import platform import numpy as np import numpy.ma as ma if platform.python_version() < "2.7": unittest = __import__("unittest2") e...
{ "pile_set_name": "Github" }
// Copyright (c) 2012 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 TOOLS_JSON_SCHEMA_COMPILER_UTIL_H_ #define TOOLS_JSON_SCHEMA_COMPILER_UTIL_H_ #include <memory> #include <string> #include <utility> #include...
{ "pile_set_name": "Github" }
// OpenTween - Client of Twitter // Copyright (c) 2007-2011 kiri_feather (@kiri_feather) <kiri.feather@gmail.com> // (c) 2008-2011 Moz (@syo68k) // (c) 2008-2011 takeshik (@takeshik) <http://www.takeshik.org/> // (c) 2010-2011 anis774 (@anis774) <http://d.hatena.ne.jp/anis774/> // ...
{ "pile_set_name": "Github" }
package provider import ( "fmt" "net/http" "testing" fake "github.com/rackspace/gophercloud/openstack/networking/v2/common" "github.com/rackspace/gophercloud/openstack/networking/v2/networks" "github.com/rackspace/gophercloud/pagination" th "github.com/rackspace/gophercloud/testhelper" ) func TestList(t *test...
{ "pile_set_name": "Github" }
State Country Form 2555-EZ Department of the Treasury Internal Revenue Service (99) Foreign Earned Income Exclusion a Attach to Form 1040. a . OMB No. 1545-0074 20 13 Attachment Sequence No. 34A Name shown on Form 1040 Your social security number You May Use This Form If You: • Are a U.S. citiz...
{ "pile_set_name": "Github" }
## 序言 本教程希望让您快速熟悉使用React Native来编写iOS和Android App的技巧。如果你希望知道React Native是什么以及为什么Facebook打造了它,可以读读[这篇博文](http://bbs.reactnative.cn/topic/14) 我们这里假设你已经有了使用React编写Web应用程序的经验。如果还没有,建议你可以先从[React官网](http://facebook.github.io/react/)开始学习。 ## 准备工作 React Native需要一些基础的配置工作,你可以参考[开始使用React Native](/docs/getting-started.html)...
{ "pile_set_name": "Github" }
# Hello Program Sample The clasical program, using a complete declaration of divisions. ## Setup Install [Node.js](http://nodejs.org). ## Run With the command line: ``` node run hello.cob ``` The output: ``` Hello, world ``` hello.cob has the clasical four COBOL divisions declared: ```cobol ...
{ "pile_set_name": "Github" }
{ "name": "jsonld", "version": "3.1.2-0", "description": "A JSON-LD Processor and API implementation in JavaScript.", "homepage": "https://github.com/digitalbazaar/jsonld.js", "author": { "name": "Digital Bazaar, Inc.", "email": "support@digitalbazaar.com", "url": "https://digitalbazaar.com/" },...
{ "pile_set_name": "Github" }
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
{ "pile_set_name": "Github" }
<?php /** * WordPress Export Administration API * * @package WordPress * @subpackage Administration */ /** * Version number for the export format. * * Bump this when something changes that might affect compatibility. * * @since 2.5.0 */ define( 'WXR_VERSION', '1.2' ); /** * Generates the WXR export file f...
{ "pile_set_name": "Github" }
{ "jsonSchemaSemanticVersion": "1.0.0", "imports": [ { "corpusPath": "cdm:/foundations.cdm.json" }, { "corpusPath": "/core/operationsCommon/Common.cdm.json", "moniker": "base_Common" }, { "corpusPath": "/core/operationsCommon/DataEntityView.cdm.json", "moniker": "ba...
{ "pile_set_name": "Github" }
{ "name": "sleepwatcher", "full_name": "sleepwatcher", "oldname": null, "aliases": [ ], "versioned_formulae": [ ], "desc": "Monitors sleep, wakeup, and idleness of a Mac", "license": null, "homepage": "https://www.bernhard-baehr.de/", "versions": { "stable": "2.2.1", "head": null, "b...
{ "pile_set_name": "Github" }
/* This is a compiled file, you should be editing the file in the templates directory */ .pace { -webkit-pointer-events: none; pointer-events: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; overflow: hidden; position: fixed; top: 0; left: 0; z-index: 2000; width: 100...
{ "pile_set_name": "Github" }
#include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <tice.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <fileioc.h> /* Declare some variables */ const char *appvarName = "AppVar"; typedef struct { char name[15]; uint8_t var1; uint8_t var2; } data_t; data_t dat...
{ "pile_set_name": "Github" }
Initializing a Network ======================= In nimblenet, a neural network is configured according to a dict of parameters specified upon initialization. .. code:: python from nimblenet.neuralnet import NeuralNet network = NeuralNet({ "n_inputs" : 2, "layers" : [ (1, sigmoid_function) ],...
{ "pile_set_name": "Github" }