text
stringlengths
2
99.9k
meta
dict
import React from 'react' import { connect } from 'react-redux' import * as actions from './actions' const Counter = ({ value, increment, decrement, incrementIfOdd, incrementAsync }) => ( <p> Clicked: {value} times <button onClick={increment}>+</button> <button onClick={decrement}>-</button>{' '} <button onC...
{ "pile_set_name": "Github" }
-----BEGIN PRIVATE KEY----- MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQCzXhQoJz1YjRux oOgVLt1ciE6c5O+q2pBaYGfeAS5KjW5hSXzmxf0CN3tqhkyG4Dq6iel7d5j5SwI2 hlMNurpygc1lPGcq78GahbnJXnW2D5Bxh7Sp9iiRmx9xoCyLJ6TOWpEtQcxGNtsM HSTDpSK4lcjHVGL/wyzdmUwNN2zEEMtZLUHyzNgIdvXkmN/hn+cuT/41RjQiSrjE aNk4anWU4vLkm/KIJ3jSi4EWMkiEU4e2...
{ "pile_set_name": "Github" }
import queue import time from codelab_adapter.core_extension import Extension from codelab_adapter.nw0_adapter import Nw0Helper nw0_message_queue = queue.Queue() class NW0Extension(Extension): NODE_ID = "eim/extension_NetworkZero" HELP_URL = "http://adapter.codelab.club/extension_guide/NetworkZero/" VE...
{ "pile_set_name": "Github" }
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
{ "pile_set_name": "Github" }
/******************************************************************************* * Copyright 2012-2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License...
{ "pile_set_name": "Github" }
<?php final class PhabricatorSpacesNamespaceEditor extends PhabricatorApplicationTransactionEditor { public function getEditorApplicationClass() { return pht('PhabricatorSpacesApplication'); } public function getEditorObjectsDescription() { return pht('Spaces'); } public function getTransactionT...
{ "pile_set_name": "Github" }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Input Type Submit</title> </head> <body> <header> {{if .Method}}<p>The request method: {{.Method}}</p>{{end}} {{if .Host}}<p>The request host: {{.Host}}</p>{{end}} {{if .ContentLength}}<p>The request ContentLength: {{.ContentLeng...
{ "pile_set_name": "Github" }
@ECHO OFF pushd %~dp0 REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set SOURCEDIR=. set BUILDDIR=_build if "%1" == "" goto help %SPHINXBUILD% >NUL 2>NUL if errorlevel 9009 ( echo. echo.The 'sphinx-build' command was not found. Make sure you ...
{ "pile_set_name": "Github" }
"""Filter and summarize dataset.""" import codecs from collections import Counter, OrderedDict import matplotlib.pyplot as plt import numpy as np import ujson from nltk import word_tokenize from tqdm import tqdm # top 10 journals journals = [ "IEICE Transactions", "Applied Mathematics and Computation", "I...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8" ?> <taglib xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" version="2.0"> <description>JSTL 1.1 functions librar...
{ "pile_set_name": "Github" }
/* eslint-disable no-console, import/no-extraneous-dependencies */ import express from 'express'; import webpack from 'webpack'; import renderDocument from './lib/render_document.js'; import webpackConfig from './webpack.dev.config.js'; const app = express(); const compiler = webpack(webpackConfig); app.use(require(...
{ "pile_set_name": "Github" }
# Translation of Odoo Server. # This file contains the translation of the following modules: # * auth_password_policy # # Translators: # Avinash N K <avinashnk94@gmail.com>, 2020 # msgid "" msgstr "" "Project-Id-Version: Odoo Server saas~12.4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-08-12 11:32+0000\n"...
{ "pile_set_name": "Github" }
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
{ "pile_set_name": "Github" }
[[_saml-keystore]] ====== KeyStore element Within the `Key` element you can load your keys and certificates from a Java Keystore. This is declared within a `KeyStore` element. [source,xml] ---- <Keys> <Key signing="true" > <KeyStore resource="/WEB-INF/keystore.jks" password="sto...
{ "pile_set_name": "Github" }
[ { "name": "TestHintScope", "cases": [ // join hints "select /*+ MERGE_JOIN(t1) */ t1.a, t1.b from t t1, (select /*+ INL_JOIN(t3) */ t2.a from t t2, t t3 where t2.a = t3.c) s where t1.a=s.a", "select /*+ MERGE_JOIN(test.t1) */ t1.a, t1.b from t t1, (select /*+ INL_JOIN(test.t3) */ t2.a from...
{ "pile_set_name": "Github" }
<?php use yii\helpers\Html; ?> <p class="title">买家必需用paypal</p> <div class="subdiv"> <?php echo Html::radioList('buyerrequirementdetails[LinkedPayPalAccount]', @$data['buyerrequirementdetails']['LinkedPayPalAccount'], array('true'=>'是','false'=>'否'))?> </div> <p class="title">政策违反</p> <div class="subdiv"> ...
{ "pile_set_name": "Github" }
package problem121 import "testing" type testType struct { in []int want int } func TestMaxProfit(t *testing.T) { tests := [...]testType{ { in: []int{7, 1, 5, 3, 6, 4}, want: 5, }, { in: []int{7, 6, 4, 3, 1}, want: 0, }, { in: []int{1, 1, 1, 1, 1}, want: 0, }, { in: []...
{ "pile_set_name": "Github" }
// SPDX-License-Identifier: GPL-2.0-only /* * SPI Driver for Microchip MCP795 RTC * * Copyright (C) Josef Gajdusek <atx@atx.name> * * based on other Linux RTC drivers * * Device datasheet: * https://ww1.microchip.com/downloads/en/DeviceDoc/22280A.pdf */ #include <linux/module.h> #include <linux/kernel.h> #inc...
{ "pile_set_name": "Github" }
<?php /** * This file is part of the ramsey/collection library * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @copyright Copyright (c) Ben Ramsey <ben@benramsey.com> * @license http://opensource.org/licenses/MIT MIT */ declare...
{ "pile_set_name": "Github" }
<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="referencedata.xsl"?> <ReferenceData> <OutputFiles Name="Files"> <File Name="-o"> <GroFile Name="Header"> <String Name="Title">Protein (second fragment of regressiontests/complex/aminoacids.gro)</String> <Int Name="Number of atoms">...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="108dp" android:width="108dp" android:viewportHeight="108" android:viewportWidth="108"> <path android:fillColor="#008577" android:pathData="M0,0h...
{ "pile_set_name": "Github" }
body { font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial; } h3, p, #qunit-userAgent, #qunit-banner, ol { margin: 0; padding: 0; } li { list-style-position: inside; } #qunit-tests { font-size: smaller; /* IE6/7 seem to have trouble displaying an OL wit...
{ "pile_set_name": "Github" }
//! Initialization code #![no_std] #[allow(unused_extern_crates)] // NOTE(allow) bug rust-lang/rust#53964 extern crate panic_itm; // panic handler pub use cortex_m::asm::bkpt; pub use cortex_m_rt::entry; pub use f3::hal::stm32f30x::{gpioc, rcc}; use f3::hal::stm32f30x::{self, GPIOE, RCC}; pub fn init() -> (&'stati...
{ "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" }
.\" zip_source_seek_compute_offset.mdoc - validate arguments and compute offset .\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner .\" .\" This file is part of libzip, a library to manipulate ZIP archives. .\" The authors can be contacted at <libzip@nih.at> .\" .\" Redistribution and use in source and binary ...
{ "pile_set_name": "Github" }
This is a keras implementation of XNOR Networks. ## Run ### train a XNOR MLP model on MNIST python mnist_mlp.py ### train a XNOR CNN model on MNIST python mnist_cnn.py ## Reference * Rastegari et al. [XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networks](https://arxiv.org/abs/1603.05279)
{ "pile_set_name": "Github" }
// // CCHMapTree.m // CCHMapClusterController // // Copyright (C) 2013 Claus Höfele // // 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 limitati...
{ "pile_set_name": "Github" }
{ "name": "@lrnwebcomponents/social-media-icons", "wcfactory": { "className": "SocialMediaIcons", "customElementClass": "PolymerElement", "elementName": "social-media-icons", "generator-wcfactory-version": "0.3.2", "useHAX": true, "useSass": false, "files": { "css": "src/social-med...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="iso-8859-1"?> <workspace> <project> <path>$WS_DIR$\game-qv.ewp</path> </project> <batchBuild/> </workspace>
{ "pile_set_name": "Github" }
/* Copyright (c) 2006-2012 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the 2-clause BSD license. * See license.txt in the OpenLayers distribution or repository for the * full text of the license. */ /** * @requires OpenLayers/Format/GML.js * @requires OpenLayers/...
{ "pile_set_name": "Github" }
// // UIScrollView+Rx.swift // RxCocoa // // Created by Krunoslav Zaher on 4/3/15. // Copyright © 2015 Krunoslav Zaher. All rights reserved. // #if os(iOS) || os(tvOS) import RxSwift import UIKit extension Reactive where Base: UIScrollView { public typealias EndZoomEvent = (view: UIView?, sca...
{ "pile_set_name": "Github" }
-- Copyright (C) 2000-2002 The University of Cincinnati. -- All rights reserved. -- This file is part of VESTs (Vhdl tESTs). -- UC MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE -- SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE -- IMPLIED WARRANTIES OF MERCHANTABILITY, ...
{ "pile_set_name": "Github" }
local _class = {} function XClass(super) local class = {} class.Ctor = false class.Super = super class.New = function(...) local obj = {} setmetatable(obj, {__index = _class[class]}) do local create create = function(c, ...) if...
{ "pile_set_name": "Github" }
/* Copyright (C) 2016 Red Hat, Inc. 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, softwa...
{ "pile_set_name": "Github" }
//===-- ubsan_handlers_cxx.cpp --------------------------------------------===// // // 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" }
# Custom Fields administrator/components/com_fields/* @laoneo components/com_fields/* @laoneo plugins/content/fields/* @laoneo plugins/editors-xtd/fields/* @laoneo plugins/fields/* @laoneo plugins/systems/fields/* @laoneo # Smart Search #administrator/components/com_finder/* #components/com_finder/* #modules/mod...
{ "pile_set_name": "Github" }
/* * Copyright (C) 2007 Dave Airlie <airlied@linux.ie> * Copyright (C) 2007, 2010 Intel Corporation * Jesse Barnes <jesse.barnes@intel.com> * * 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 S...
{ "pile_set_name": "Github" }
#import "AITextAttachmentAdditions.h" @implementation NSTextAttachment (AITextAttachmentAdditions) - (BOOL)consideredImageForHFSType:(OSType)HFSTypeCode pathExtension:(NSString *)pathExtension { NSMutableArray *imageFileTypes = [[NSImage imageFileTypes] mutableCopy]; NSArray *removeFileTypes = [NSArray arrayW...
{ "pile_set_name": "Github" }
## PostgreSQL Oracle 兼容性 - Oracle反转索引 迁移到PostgreSQL可用函数索引或哈希索引 ### 作者 ...
{ "pile_set_name": "Github" }
'use strict'; const q = require('bluebird-q'); // FIXME: remove this adapter after migration from "q" to "bluebird" module.exports = class QBrowserPool { static create(...args) { return new QBrowserPool(...args); } constructor(browserPool) { this._browserPool = browserPool; } get...
{ "pile_set_name": "Github" }
// SPDX-License-Identifier: GPL-2.0-or-later /* * ADAV80X Audio Codec driver supporting ADAV801, ADAV803 * * Copyright 2011 Analog Devices Inc. * Author: Yi Li <yi.li@analog.com> * Author: Lars-Peter Clausen <lars@metafoo.de> */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/regmap.h> #inclu...
{ "pile_set_name": "Github" }
<!DOCTYPE html> <html> <!-- Copyright 2015 The Chromium Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <head> <title>Audio Encoder Example</title> <script type="text/javascript"> var plugin; var track; var wri...
{ "pile_set_name": "Github" }
#!/bin/bash # SPDX-License-Identifier: GPL-2.0 # # Script for max single flow performance # - If correctly tuned[1], single CPU 10G wirespeed small pkts is possible[2] # # Using pktgen "burst" option (use -b $N) # - To boost max performance # - Avail since: kernel v3.18 # * commit 38b2cf2982dc73 ("net: pktgen: pac...
{ "pile_set_name": "Github" }
package org.javacore.nio; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.DoubleBuffer; import java.nio.FloatBuffer; import java.nio.IntBuffer; import java.nio.LongBuffer; import java.nio.ShortBuffer; /* * Copyright [2015] [Jeff Lee] * * Licensed under the Apache License, Version 2.0 (the "...
{ "pile_set_name": "Github" }
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:tint="?attr/colorControlNormal" android:viewportHeight="24.0" android:viewportWidth="24.0"> <path android:fillColor="@android:color/white" android:pathData="M20,2...
{ "pile_set_name": "Github" }
#if !DISABLE_PLAYFABENTITY_API using System; using System.Collections.Generic; using PlayFab.InsightsModels; using PlayFab.Internal; using PlayFab.SharedModels; namespace PlayFab { /// <summary> /// Manage the Insights performance level and data storage retention settings. /// </summary> public class ...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE Locale SYSTEM 'locale.dtd'> <!-- * This file is part of the LibreOffice project. * * 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://mozil...
{ "pile_set_name": "Github" }
type t = string let of_string id = id let to_string id = id
{ "pile_set_name": "Github" }
<?php /* * Phake - Mocking Framework * * Copyright (c) 2010-2012, Mike Lively <m@digitalsandwich.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source ...
{ "pile_set_name": "Github" }
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt < %s -instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38708 ; Pattern: ; (1 << bits) u<= val ; Should be transformed into: ; (val l>> bits) != 0 ; ===========================================================...
{ "pile_set_name": "Github" }
fileFormatVersion: 2 guid: ee8c29390d4868a48b71d0f631f68fda timeCreated: 1472508330 licenseType: Pro MonoImporter: serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant:
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <results> <testcase external_id="BETA3-13" > <!-- if not present logged user will be used --> <tester>u0113</tester> <!-- tester LOGIN Name --> <!-- if not present now() will be used --> <timestamp>2008-09-08 14:00:00</timestamp> <result>p</result> ...
{ "pile_set_name": "Github" }
{ "type": "File", "start": 0, "end": 388, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 7, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 388, "loc": { "start": { "line": 1, "column": 0 ...
{ "pile_set_name": "Github" }
.navbar-brand-name { max-height: 30px; }
{ "pile_set_name": "Github" }
namespace NHSE.WinForms { partial class SettingsEditor { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
{ "pile_set_name": "Github" }
/** * @file cmap 表 * @author mengke01(kekee000@gmail.com) * * @see * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6cmap.html */ import table from './table'; import parse from './cmap/parse'; import write from './cmap/write'; import sizeof from './cmap/sizeof'; export default table.create...
{ "pile_set_name": "Github" }
/* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
{ "pile_set_name": "Github" }
/* * Copyright (C) 2017 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/licenses/LICENSE-2.0 * * Unless required by app...
{ "pile_set_name": "Github" }
# frozen_string_literal: true module BlobViewer module ServerSide extend ActiveSupport::Concern included do self.load_async = true self.collapse_limit = 2.megabytes self.size_limit = 5.megabytes end def prepare! blob.load_all_data! end def render_error # Files...
{ "pile_set_name": "Github" }
/* * Copyright (C) 2012 Texas Instruments Inc * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation version 2. * * This program is distributed in the hope that it will be useful, * but WITHOU...
{ "pile_set_name": "Github" }
var AAA = 200, BBB = 300; module.exports = function (x) { return AAA + BBB + x }
{ "pile_set_name": "Github" }
Your directory account has been re-enabled. For further assistance, please contact a server administrator.
{ "pile_set_name": "Github" }
<?php /** * Smarty Internal Plugin Resource String * * Implements the strings as resource for Smarty template * * @package Smarty * @subpackage TemplateResources * @author Uwe Tews */ /** * Smarty Internal Plugin Resource String */ class Smarty_Internal_Resource_String { public function __construct(...
{ "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 may not u...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <artifactId>eladmin</artifactId> ...
{ "pile_set_name": "Github" }
extern int some_val; static inline int imp_foo() { ++some_val; return undef_impval; }
{ "pile_set_name": "Github" }
From b2dfa011a3fdcb7d22764d143517d0fbd1c2a201 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus <manu@netbsd.org> Date: Wed, 22 Jan 2014 14:47:23 +0100 Subject: [PATCH] Fix build with c99 compilers BUG: 764655 Change-Id: If5dfdc9c7427bd3d39d8da8f79e33ae2da6a3137 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed...
{ "pile_set_name": "Github" }
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license a...
{ "pile_set_name": "Github" }
#ifndef HEADER_TEST_HELPERS_HPP #define HEADER_TEST_HELPERS_HPP #include "common.hpp" #include <utility> template <typename T> static void generic_bool_ops_test(const T& obj) { T null; CHECK(!null); CHECK(obj); CHECK(!!obj); #ifdef _MSC_VER # pragma warning(push) # pragma warning(disable: 4800) // forcing ...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2016-2019 Daniel Ennis (Aikar) - MIT License * * 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 u...
{ "pile_set_name": "Github" }
import React from "react"; import PropTypes from "prop-types"; import cx from "classnames"; import "./funnel-bar.less"; export default function FunnelBar({ color, value, align, className, children }) { return ( <div className={cx("funnel-bar", `funnel-bar-${align}`, className)}> <div className="funnel-bar...
{ "pile_set_name": "Github" }
//Unitychan Toon Shader ver.2.0 //v.2.0.7.5 //nobuyuki@unity3d.com //https://github.com/unity3d-jp/UnityChanToonShaderVer2_Project //(C)Unity Technologies Japan/UCL Shader "UnityChanToonShader/Tessellation/Toon_DoubleShadeWithFeather_TransClipping_StencilOut" { Properties { [HideInInspector] _simpleUI ("Si...
{ "pile_set_name": "Github" }
<?php namespace Faker\Provider\da_DK; /** * @author Antoine Corcy <contact@sbin.dk> */ class Company extends \Faker\Provider\Company { /** * @var array Danish company name formats. */ protected static $formats = array( '{{lastName}} {{companySuffix}}', '{{lastName}} {{companySuffix...
{ "pile_set_name": "Github" }
# frozen_string_literal: true require "spec_helper" describe Anyway::AutoCast do it "serializes a string", :aggregate_failures do expect(described_class.call("1,2, 3")).to eq [1, 2, 3] expect(described_class.call("t")).to eq true expect(described_class.call("true")).to eq true expect(described_clas...
{ "pile_set_name": "Github" }
// Copyright 2017 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. // Functions to access/create device major and minor numbers matching the // encoding used by the Linux kernel and glibc. // // The information below is extract...
{ "pile_set_name": "Github" }
//import GooglePlusProxy from "../browser/GooglePlusProxy" module.exports = function(messages){ function _isAvailable(success, error){ if (!window.__googleSdkReady) { return window.__googleCallbacks.push(function() { _isAvailable(success, error); }); } success(window.gapi !== undefined); } funct...
{ "pile_set_name": "Github" }
// Copyright 2016-present 650 Industries. All rights reserved. #import <ABI38_0_0EXGL/ABI38_0_0EXGLContext.h> #import <ABI38_0_0EXGL/ABI38_0_0EXGLObjectManager.h> #import <ABI38_0_0UMCore/ABI38_0_0UMUtilities.h> #import <ABI38_0_0UMCore/ABI38_0_0UMUIManager.h> #import <ABI38_0_0UMCore/ABI38_0_0UMJavaScriptContextProv...
{ "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 mips mipsle package cpu const cacheLineSize = 32 func doinit() {}
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> ...
{ "pile_set_name": "Github" }
<form class="form-horizontal" role="form" enctype="multipart/form-data" method="POST" action="/contest/vacation-photo/{year}/{month}"> <div class="form-group"> <label for="fieldName" class="col-sm-2 control-label">Name</label> <div class="col-sm-4"> <input type="text" class="form-control" id="fieldName...
{ "pile_set_name": "Github" }
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2020 DBeaver Corp and others * * 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/LICE...
{ "pile_set_name": "Github" }
# Cookie 和 Session 对象 `Cookie` 是最常用的Http会话跟踪机制,且所有`Servlet容器`都应该支持。当客户端不接受`Cookie`时,服务端可使用`URL重写`的方式作为会话跟踪方式。会话`ID`必须被编码为URL字符串中的一个路径参数,参数的名字必须是 `jsessionid`。 浏览器和服务端创建会话(`Session`)后,服务端将生成一个唯一的会话ID(`sessionid`)用于标识用户身份,然后会将这个会话ID通过`Cookie`的形式返回给浏览器,浏览器接受到`Cookie`后会在每次请求后端服务的时候带上服务端设置`Cookie`值,服务端通过读取浏览器的`Cookie`信息就可...
{ "pile_set_name": "Github" }
// SPDX-License-Identifier: GPL-2.0 /* * mtu3_debugfs.c - debugfs interface * * Copyright (C) 2019 MediaTek Inc. * * Author: Chunfeng Yun <chunfeng.yun@mediatek.com> */ #include <linux/uaccess.h> #include "mtu3.h" #include "mtu3_dr.h" #include "mtu3_debug.h" #define dump_register(nm) \ { \ .name = __stri...
{ "pile_set_name": "Github" }
<?php if(!defined('__CP__'))die(); define('LIST_ROWS_COUNT', 4); //Количетсво колонок в списке. define('USER_INPUT_TEXT_WIDTH', '600px'); //Ширина edit-боксов для редактирования скрипта. /////////////////////////////////////////////////////////////////////////////// // Изменение статуса. ////////////...
{ "pile_set_name": "Github" }
/* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* 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/. */ gTestfile = '13.4.4.32-01.js'; S...
{ "pile_set_name": "Github" }
/* * Copyright (c)2020, NVIDIA 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 o...
{ "pile_set_name": "Github" }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>directions - Documentation</title> <script src="scripts/prettify/prettify.js"></script> <script src="scripts/prettify/lang-css.js"></script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5...
{ "pile_set_name": "Github" }
/** * jQuery EasyUI 1.3.6 * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL or commercial licenses * To use it on other terms please contact author: info@jeasyui.com * http://www.gnu.org/licenses/gpl.txt * http://www.jeasyui.com/license_commercial.php * * jQuery EasyUI...
{ "pile_set_name": "Github" }
/* * g722_1 - a library for the G.722.1 and Annex C codecs * * timing.h - Provide access to the Pentium/Athlon TSC timer register * * Written by Steve Underwood <steveu@coppice.org> * * Copyright (C) 2001 Steve Underwood * * All rights reserved. * * This program is free software; you can redistribute it and/...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIconFile...
{ "pile_set_name": "Github" }
<html> <head> <meta charset="utf-8"> <title>Mongoose ODM</title> <style> body { background: url('/docs/2.7.x/images/bg.png'); padding: 0 30px 30px; margin-top: 0; } #wrap { background: url('/docs/2.7.x/images/pattern.png') no-repeat -134px -211px; ...
{ "pile_set_name": "Github" }
namespace ClassLib073 { public class Class062 { public static string Property => "ClassLib073"; } }
{ "pile_set_name": "Github" }
describe('HTMLEditingDescriptor', function() { beforeEach(() => window.baseUrl = "/static/deadbeef/"); afterEach(() => delete window.baseUrl); describe('Visual HTML Editor', function() { beforeEach(function() { loadFixtures('html-edit-visual.html'); this.descriptor = new HTMLEditingDescriptor($('....
{ "pile_set_name": "Github" }
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,600,300,700,800); // Brand Colors // ------------------------- @brand-primary: #4d90fc; @brand-success: #60bf60; @brand-warning: #ff9800; @brand-danger: #de4b33; @brand-info: #5bc0dd; // Typography // ------------------------- // Buttons // ...
{ "pile_set_name": "Github" }
/* -*- mode: C; c-basic-offset: 4; intent-tabs-mode: nil -*- * * Sifteo Thundercracker simulator * Micah Elizabeth Scott <micah@misc.name> * * Copyright <c> 2011 Sifteo, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (t...
{ "pile_set_name": "Github" }
# mississippi Change Log All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## 3.0.0 - 2018-02-26 * Update to pump@3.0.0. Returns the last stream the pipeline to enable chaining. (Use the individual modules to avoid potentially unne...
{ "pile_set_name": "Github" }
'use strict'; const _ = require('lodash'); const getProviderConfig = () => { return strapi.plugins.email.config; }; const send = async options => { return strapi.plugins.email.provider.send(options); }; /** * fill subject, text and html using lodash template * @param {object} emailOptions - to, from and reply...
{ "pile_set_name": "Github" }
package objx import ( "bytes" "encoding/base64" "encoding/json" "errors" "fmt" "net/url" ) // JSON converts the contained object to a JSON string // representation func (m Map) JSON() (string, error) { result, err := json.Marshal(m) if err != nil { err = errors.New("objx: JSON encode failed with: " + err....
{ "pile_set_name": "Github" }
- method-based verification - usage limitations (#/second, #/hour, etc.) per user - for huge arguments make calls less memory intensive (chunks, etc.) e.g. for uploads/files, etc.
{ "pile_set_name": "Github" }
// SPDX-License-Identifier: GPL-2.0 #include <sys/select.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <signal.h> #include <sys/ioctl.h> #include "pager.h" #include "run-command.h" #include "sigchain.h" #include "subcmd-config.h" /* * This is split up from the rest of git so that we can do *...
{ "pile_set_name": "Github" }