text
stringlengths
2
99.9k
meta
dict
/* * JBoss, Home of Professional Open Source * Copyright 2011, Red Hat, Inc. and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the G...
{ "pile_set_name": "Github" }
{-# LANGUAGE OverloadedStrings #-} -- | -- Module : Test.AWS.SQS -- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions) -- module Test.AWS.SQS ...
{ "pile_set_name": "Github" }
# help.ro.txt - ro GnuPG online help # Copyright (C) 2007 Free Software Foundation, Inc. # # This file is part of GnuPG. # # GnuPG is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the Licens...
{ "pile_set_name": "Github" }
from custom_components.hacs.validate.base import ( ActionValidationBase, ValidationException, ) class RepositoryInformationFile(ActionValidationBase): async def async_check(self): filenames = [x.filename.lower() for x in self.repository.tree] if self.repository.data.render_readme and "read...
{ "pile_set_name": "Github" }
/* Finnish translation for the jQuery Timepicker Addon */ /* Written by Juga Paazmaya (http://github.com/paazmaya) */ (function($) { $.timepicker.regional['fi'] = { timeOnlyTitle: 'Valitse aika', timeText: 'Aika', hourText: 'Tunti', minuteText: 'Minuutti', secondText: 'Sekunti', millisecText: 'Millisekunni...
{ "pile_set_name": "Github" }
[ "$EXTERNAL_FREETZ_PACKAGE_BIND_NAMED" == "y" ] && EXTERNAL_SERVICES+=" bind"
{ "pile_set_name": "Github" }
/* ** Copyright (c) 2002-2016, Erik de Castro Lopo <erikd@mega-nerd.com> ** All rights reserved. ** ** This code is released under 2-clause BSD license. Please see the ** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h>...
{ "pile_set_name": "Github" }
/** * Node.js wrapper for "notify-send". */ var os = require('os'); var which = require('which'); var utils = require('../lib/utils'); var EventEmitter = require('events').EventEmitter; var util = require('util'); var notifier = 'notify-send'; var hasNotifier = void 0; module.exports = NotifySend; function Notify...
{ "pile_set_name": "Github" }
sha256:6c10d2d197fe81c199966fd0976d7a259510e54da8e1583b1c08a1e66b5d8e42
{ "pile_set_name": "Github" }
package cli import ( "fmt" "io" "os" "strings" ) // OsExiter is the function used when the app exits. If not set defaults to os.Exit. var OsExiter = os.Exit // ErrWriter is used to write errors to the user. This can be anything // implementing the io.Writer interface and defaults to os.Stderr. var ErrWriter io.W...
{ "pile_set_name": "Github" }
// Copyright 2020 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 ...
{ "pile_set_name": "Github" }
#X-Generator: crowdin.com # DOM XSS Active Scan rule # # This file defines the default (English) variants of all of the internationalised messages domxss.name=Cross Site Scripting (DOM Based) domxss.desc=DOM XSS Active Scan Rule domxss.skipped.reason.browsererror=failed to start or connect to the browser
{ "pile_set_name": "Github" }
 namespace Metrics { /// <summary> /// Indicates a metric's ability to be reset. Reseting a metric clear all currently collected data. /// </summary> public interface ResetableMetric : Utils.IHideObjectMembers { /// <summary> /// Clear all currently collected data for this metric. ...
{ "pile_set_name": "Github" }
{ mkDerivation, extra-cmake-modules, kcoreaddons, kconfig, kcrash, kdbusaddons, ki18n, kiconthemes, knotifications, kwidgetsaddons, kwindowsystem, polkit-qt }: mkDerivation { name = "polkit-kde-agent"; nativeBuildInputs = [ extra-cmake-modules ]; propagatedBuildInputs = [ kdbusaddons kwidgetsaddons kco...
{ "pile_set_name": "Github" }
// // The MIT License (MIT) // // Copyright (c) 2016 Tag Games Limited // // 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 ...
{ "pile_set_name": "Github" }
/* Provide relocatable packages. Copyright (C) 2003, 2005, 2008-2011 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2003. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free ...
{ "pile_set_name": "Github" }
//======================================================================== // // SplashT1FontFile.h // //======================================================================== //======================================================================== // // Modified under the Poppler project - http://poppler.freedesk...
{ "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" }
[FORMAT "WCOFF"] [INSTRSET "i486p"] [BITS 32] [FILE "api007.nas"] GLOBAL _api_boxfilwin [SECTION .text] _api_boxfilwin: ; void api_boxfilwin(int win, int x0, int y0, int x1, int y1, int col); PUSH EDI PUSH ESI PUSH EBP PUSH EBX MOV EDX,7 MOV EBX,[ESP+20] ; win MOV EAX,[ESP+24] ; x0...
{ "pile_set_name": "Github" }
from __future__ import unicode_literals from warnings import catch_warnings from django.contrib.auth.models import User from django.utils import six, timezone from djblets.testing.decorators import add_fixtures from kgb import SpyAgency from reviewboard.changedescs.models import ChangeDescription from reviewboard.di...
{ "pile_set_name": "Github" }
var test = require('tape') var through = require('../') // must emit end before close. test('buffering', function(assert) { var ts = through(function (data) { this.queue(data) }, function () { this.queue(null) }) var ended = false, actual = [] ts.on('data', actual.push.bind(actual)) ts.on('end'...
{ "pile_set_name": "Github" }
// TODO: // * Lisada timeout serveri ühenduse jaoks var Stream = require("stream").Stream, utillib = require("util"), net = require("net"), tls = require("tls"), oslib = require("os"), starttls = require("./starttls").starttls, xoauth2 = require("xoauth2"), crypto = require("crypto"); // m...
{ "pile_set_name": "Github" }
/* * TeleStax, Open Source Cloud Communications * Copyright 2011-2013, Telestax Inc and individual contributors * by the @authors tag. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; eit...
{ "pile_set_name": "Github" }
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = removeEmptyAttributes; // Source: https://www.w3.org/TR/html4/sgml/dtd.html#events (Generic Attributes) var safeToRemoveAttrs = new Set(['id', 'class', 'style', 'title', 'lang', 'dir', 'onclick', 'ondblclick', 'onmousedo...
{ "pile_set_name": "Github" }
sha256:d216b425004fcb6d8047f74e81b30e7ead55f73e73511ca53a329c358786b6c9
{ "pile_set_name": "Github" }
#[doc = "Reader of register CA0R"] pub type R = crate::R<u32, super::CA0R>; #[doc = "Timeout Clock Frequency\n\nValue on reset: 0"] #[derive(Clone, Copy, Debug, PartialEq)] #[repr(u8)] pub enum TEOCLKF_A { #[doc = "0: Get information via another method"] OTHER = 0, } impl From<TEOCLKF_A> for u8 { #[inline(a...
{ "pile_set_name": "Github" }
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
{ "pile_set_name": "Github" }
// Copyright 2016 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. let {session, contextGroup, Protocol} = InspectorTest.start("Check that exceptionThrown is supported by test runner.") Protocol.Runtime.enable(); Proto...
{ "pile_set_name": "Github" }
/* Copyright 2017 The TensorFlow 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
{ "pile_set_name": "Github" }
I 800 OBJ POINT_COUNTS 36 0 0 36 TEXTURE ../../../../Users/alxunru/Desktop/X-Plane 10/Aircraft/Test Cases/objects/test.png VT -0.5 0.5 0.5 -1 0 0 0 0 # 0 VT -0.5 -0.5 0.5 -1 0 0 0 0 # 1 VT -0.5 -0.5 -0.5 -1 0 0 0 0 # 2 VT -0.5 -0.5 -0.5 -1 0 0 0 0 # 3 VT -0.5 0.5 -0.5 -1 0 0 0 0 # 4 VT -0.5 0.5 0.5 -1 0 0 0 0 # 5 VT ...
{ "pile_set_name": "Github" }
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------- namespace System.ServiceModel.Discovery { class DiscoveryMessageProperty { public const string Name = "Syst...
{ "pile_set_name": "Github" }
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Copyright (c) 2001-2011 Hartmut Kaiser 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...
{ "pile_set_name": "Github" }
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
{ "pile_set_name": "Github" }
/* mxb - v4l2 driver for the Multimedia eXtension Board Copyright (C) 1998-2006 Michael Hunold <michael@mihu.de> Visit http://www.themm.net/~mihu/linux/saa7146/mxb.html for further details about this card. This program is free software; you can redistribute it and/or modify it under the term...
{ "pile_set_name": "Github" }
var mkdirp = require('mkdirp'); mkdirp('/tmp/foo/bar/baz', function (err) { if (err) console.error(err) else console.log('pow!') });
{ "pile_set_name": "Github" }
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
{ "pile_set_name": "Github" }
<div class="container content-container"> <div class="row clearfix"> <div class="content-wrapper"> <div ng-include="'views/partials/_update_password_form.html'"></div> <p class="form-info"> <a ui-sref="app.signup" class="signup-link">سجل حساب جديد</a> أو <a ui-sref="app.login" class="...
{ "pile_set_name": "Github" }
/* PKIXCertPathValidatorResult.java -- PKIX cert path builder result Copyright (C) 2003 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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 Fou...
{ "pile_set_name": "Github" }
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. /*============================================================================= D3D12Stats.cpp:RHI Stats and timing implementation. =============================================================================*/ #include "D3D12RHIPrivate.h" #include "Engine...
{ "pile_set_name": "Github" }
/* Copyright 2014 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" }
// Copyright 2015, Google 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: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions ...
{ "pile_set_name": "Github" }
#!/bin/sh # install - install a program, script, or datafile scriptversion=2004-04-01.17 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby ...
{ "pile_set_name": "Github" }
# Translation of Odoo Server. # This file contains the translation of the following modules: # * crm_iap_lead # msgid "" msgstr "" "Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-04-27 09:21+0000\n" "PO-Revision-Date: 2020-04-27 09:21+0000\n" "Last-Translator: \n" "Language...
{ "pile_set_name": "Github" }
package net.famzangl.minecraft.minebot.ai.tools.rate; import net.famzangl.minecraft.minebot.ai.path.world.BlockFloatMap; import net.minecraft.item.ItemStack; public class OrRater extends Rater { private final Rater[] raters; public OrRater(BlockFloatMap values, Rater... raters) { super(createName(raters, "|"), v...
{ "pile_set_name": "Github" }
{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "hide_input": false }, "outputs": [], "source": [ "#hide\n", "#default_exp test\n", "from nbdev.showdoc import show_doc" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, ...
{ "pile_set_name": "Github" }
#version 450 layout(local_size_x = 1) in; #define T mat4 #define PACKING std430 layout(set = 0, binding = 0, PACKING) buffer SSBOCol { layout(column_major) T col_major0; layout(column_major) T col_major1; }; layout(set = 0, binding = 1, PACKING) buffer SSBORow { layout(row_major) T row_major0; layout(row_major) ...
{ "pile_set_name": "Github" }
define(function() { // All support tests are defined in their respective modules. return {}; });
{ "pile_set_name": "Github" }
/********************************************************************** * File: boxchar.cpp * Description: Simple class to associate a Tesseract classification unit with * its bounding box so that the boxes can be rotated as the image * is rotated for degradation. Also includes rou...
{ "pile_set_name": "Github" }
/* * Copyright (c) 1983 Regents of the University of California. * 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 * ...
{ "pile_set_name": "Github" }
/* $Id: SplitString.h 1156 2011-06-07 04:01:16Z bhagman $ || || @author Hernando Barragan <b@wiring.org.co> || @url http://wiring.org.co/ || @contribution Brett Hagman <bhagman@wiring.org.co> || @contribution Alexander Brevig <abrevig@wiring.org.co> || || @license Please see cores/Common/License....
{ "pile_set_name": "Github" }
name: Delphi asset: delphi parent: text match: extension: equals: - .dfm - .dpr
{ "pile_set_name": "Github" }
# New in version 1.3.3 * Fixed a crash when using ctags over SFTP. * Fixed a crash when creating new files over SFTP. * Make line highlight centered vertically around the cursor. * Fixed stability issue when closing windows. * Require UUID in bundle items, allows loading incomplete bundles. # New in version 1.3.2 *...
{ "pile_set_name": "Github" }
# # All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or # its licensors. # # For complete copyright and license terms please see the LICENSE at the root of this # distribution (the "License"). All use of this software is governed by the License, # or, if provided, by the license below or th...
{ "pile_set_name": "Github" }
/* LibTomCrypt, modular cryptographic library -- Tom St Denis * * LibTomCrypt is a library that provides various cryptographic * algorithms in a highly modular and flexible manner. * * The library is free for all purposes without any express * guarantee it works. * * Tom St Denis, tomstdenis@gmail.com, http://l...
{ "pile_set_name": "Github" }
<?php /** * RefTypeBuilder.php * * Builds reference type within a JOIN. * * PHP version 5 * * LICENSE: * Copyright (c) 2010-2014 Justin Swanhart and André Rothe * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follo...
{ "pile_set_name": "Github" }
string greeting int32 number
{ "pile_set_name": "Github" }
package nl.anchormen.sql4es.parse.sql; import java.sql.SQLException; import java.sql.Types; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import org.elasticsearch.action.search.SearchRequestBuilder; import org.elasticsearch.index.query....
{ "pile_set_name": "Github" }
var expect = require('chai').expect; var util = require('../lib/client-utils.js'); var testUtils = require('../lib/util.js'); var SyncMessage = require('../../lib/syncmessage.js'); var MakeDrive = require('../../client/src'); var Filer = require('../../lib/filer.js'); var syncTypes = require('../../lib/constants.js').s...
{ "pile_set_name": "Github" }
const IS_TEST = !!process.env.VUE_LOADER_TEST const fs = require('fs') const path = require('path') exports.lib = file => path.resolve(__dirname, '../', file) exports.dep = dep => { if (IS_TEST) { return dep } else if ( fs.existsSync(path.resolve(__dirname, '../../node_modules', dep)) ) { // npm 2 o...
{ "pile_set_name": "Github" }
module.exports = // TODO support filter tags like :javascript, support inline HTML function(hljs) { return { case_insensitive: true, contains: [ { className: 'meta', begin: '^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$', relevance: 10 }, // FIXME thes...
{ "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/. */ #ifndef __nsAutoCompleteSimpleResult__ #define __nsAutoCompleteSimpleResult__ #include "nsIAutoCompleteResult.h" ...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <!-- /* ** ** Copyright 2010, 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/licens...
{ "pile_set_name": "Github" }
package archive import ( "context" "fmt" "io/ioutil" "os" "strings" "github.com/containers/image/v5/directory/explicitfilepath" "github.com/containers/image/v5/docker/reference" "github.com/containers/image/v5/image" "github.com/containers/image/v5/internal/tmpdir" "github.com/containers/image/v5/oci/intern...
{ "pile_set_name": "Github" }
UploadCollection ================ .. currentmodule:: oci.log_analytics.models .. autoclass:: UploadCollection :show-inheritance: :special-members: __init__ :members: :undoc-members: :inherited-members:
{ "pile_set_name": "Github" }
# 树的子结构 ## 题目 [牛客网](https://www.nowcoder.com/practice/6e196c44c7004d15b1610b9afca8bd88?tpId=13&tqId=11170&rp=1&ru=%2Fta%2Fcoding-interviews&qru=%2Fta%2Fcoding-interviews%2Fquestion-ranking&tPage=1) 输入两棵二叉树A,B,判断B是不是A的子结构。(ps:我们约定空树不是任意一个树的子结构) ## 解题思路 1. 遍历查找相等根节点 2. 通过递归查找当前根节点下是否包含子树 root2 ``` public boolea...
{ "pile_set_name": "Github" }
package gg.rsmod.game.sync.segment import gg.rsmod.game.sync.SynchronizationSegment import gg.rsmod.net.packet.GamePacketBuilder /** * @author Tom <rspsmods@gmail.com> */ class RemoveLocalPlayerSegment(private val updateTileHash: Boolean) : SynchronizationSegment { override fun encode(buf: GamePacketBuilder) {...
{ "pile_set_name": "Github" }
'\" t .\" Title: macro::json_output_string_value .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> .\" Date: March 2016 .\" Manual: JSON Tapset .\" Source: SystemTap Tapset Reference .\" Language: English .\" .TH "MACRO::JSON_OUTPUT_S" "3stap" "March 2016" "SystemTa...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. * All Rights Reserved. * * 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. * * This program is distributed in the hope that it woul...
{ "pile_set_name": "Github" }
; RUN: opt < %s -newgvn | llvm-dis target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" target triple = "i386-apple-darwin7" define i32 @main(i32 %argc, i8** %argv) nounwind { entry: br label %bb84 bb41: ; preds = %bb82 %tmp =...
{ "pile_set_name": "Github" }
context ======= [![Build Status](https://travis-ci.org/gorilla/context.png?branch=master)](https://travis-ci.org/gorilla/context) gorilla/context is a general purpose registry for global request variables. > Note: gorilla/context, having been born well before `context.Context` existed, does not play well > with the s...
{ "pile_set_name": "Github" }
This directory contains Cython files.
{ "pile_set_name": "Github" }
//===- unittests/Analysis/CloneDetectionTest.cpp - Clone detection tests --===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
{ "pile_set_name": "Github" }
package com.qihoo.qsql.metadata.extern; import com.qihoo.qsql.exception.ParseException; import java.util.Arrays; import java.util.List; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public class MetadataOptionParserTest { MetadataOptionParser metadataOptionParser; @Be...
{ "pile_set_name": "Github" }
// Copyright 2011 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. package openpgp import "hash" // NewCanonicalTextHash reformats text written to it into the canonical // form and then applies the hash h. See RFC 4880, sect...
{ "pile_set_name": "Github" }
/************************************************************************** * Otter Browser: Web browser controlled by the user, not vice-versa. * Copyright (C) 2016 - 2019 Michal Dutkiewicz aka Emdek <michal@emdek.pl> * Copyright (C) 2017 Jan Bajer aka bajasoft <jbajer@gmail.com> * * This program is free software: you...
{ "pile_set_name": "Github" }
<html> <head><title>Minified Web Test: {{file}}</title> <style type="text/css"> body { font: 20px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; } #pageContainer { margin: 0.5em; } h1, h2, h3, h4 { font-weight: 200; } #container, #container2, #cloneTest { display: none; } .x { margin-top: 2px; } /*...
{ "pile_set_name": "Github" }
<?php //2130706432-2147483647 $ranges=Array( "2130706432" => array("2147483647","ZZ"), ); ?>
{ "pile_set_name": "Github" }
from datetime import datetime from io import StringIO import numpy as np import pytest import pandas as pd from pandas import DataFrame, Series import pandas._testing as tm from pandas.io.common import get_handle class TestSeriesToCSV: def read_csv(self, path, **kwargs): params = dict(squeeze=True, ind...
{ "pile_set_name": "Github" }
import { createDuration } from './create'; function addSubtract (duration, input, value, direction) { var other = createDuration(input, value); duration._milliseconds += direction * other._milliseconds; duration._days += direction * other._days; duration._months += direction * other._mon...
{ "pile_set_name": "Github" }
Não Seja um Idiota: A Licensa para Software Livre Última Atualização: 19 de Março de 2015 Última Tradução: 05 de Outubro de 2015 Este software é livre e aberto. - *Eu* sou o autor do software. *Eu* posso ser um *nós*, mas isto está OK. - *Você* é o usuário deste software. *Você* também pode ser um *nós*, e isto tamb...
{ "pile_set_name": "Github" }
{ "rulesDirectory": [ "tslint-no-unused-expression-chai" ], "rules": { "align": [ true ], "array-type": [ true, "array-simple" ], "await-promise": true, "class-name": true, "curly": true, "eofline": true, "member-access": true, "no-return-await": true, "no-unused-expression-chai": tr...
{ "pile_set_name": "Github" }
[[ "start", ["punctuation.definition.comment.io","//"], ["comment.line.double-slash.io"," computes factorial of a number"] ],[ "start", ["text","factorial "], ["keyword.operator.io",":="], ["text"," "], ["support.function.io","method"], ["text","(n,"] ],[ "start", ["text"," "], ["keyword.c...
{ "pile_set_name": "Github" }
/*** *safeint.h - SafeInt class and free-standing functions used to prevent arithmetic overflows * * Copyright (c) Microsoft Corporation. All rights reserved. * *Purpose: * * The SafeInt class is designed to have as low an overhead as possible * while still ensuring that all integer operations are con...
{ "pile_set_name": "Github" }
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
{ "pile_set_name": "Github" }
#ifndef __SYS_LOCK_H__ #define __SYS_LOCK_H__ /* dummy lock routines for single-threaded aps */ typedef int _LOCK_T; typedef int _LOCK_RECURSIVE_T; #include <_ansi.h> #define __LOCK_INIT(class,lock) static int lock = 0; #define __LOCK_INIT_RECURSIVE(class,lock) static int lock = 0; #define __lock_init(lock) (_CAST...
{ "pile_set_name": "Github" }
package org.orcid.persistence.constants; public class SiteConstants { public static final int URL_MAX_LENGTH = 2000; public static final int URL_NAME_MAX_LENGTH = 355; public static final int MAX_LENGTH_255 = 255; public static final int KEYWORD_MAX_LENGTH = 100; }
{ "pile_set_name": "Github" }
/* Copyright 1986, 1989, 1990, 1995 by Abacus Research and * Development, Inc. All rights reserved. */ #if !defined (OMIT_RCSID_STRINGS) char ROMlib_rcsid_windSize[] = "$Id: windSize.c 63 2004-12-24 18:19:43Z ctm $"; #endif /* Forward declarations in WindowMgr.h (DO NOT DELETE THIS LINE) */ #include "rsys/co...
{ "pile_set_name": "Github" }
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("./xml-hint")); else if (typeof define == "functi...
{ "pile_set_name": "Github" }
// Setup const svgWidth = 1000; const svgHeight = 700; const svg = d3.select("#map") .append("svg") .attr("width", svgWidth) .attr("height", svgHeight); svg.append("rect") .attr("x", 400) .attr("y", 300) /* Chain another `.attr()` method to add the `"width"` attribute to the rectangle. Give it ...
{ "pile_set_name": "Github" }
package jd.gui.swing.jdgui.views.settings.panels.accountmanager; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import jd.controlling.AccountController; import jd.plugins.Account; import jd.plugins.PluginForHost; import jd.utils.JDUtilities; import org.jdownloader.gui.IconKey; imp...
{ "pile_set_name": "Github" }
/* Driver for Realtek RTS51xx USB card reader * Header file * * Copyright(c) 2009 Realtek Semiconductor Corp. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either...
{ "pile_set_name": "Github" }
ref: replSetReconfig-majority content: | Starting in MongoDB 4.4, |reconfig| waits until a majority of voting replica set members install the new replica configuration before returning success. A voting member is *any* replica set member where :rsconf:`members[n].votes` is ``1``, including arbiters. Re...
{ "pile_set_name": "Github" }
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
{ "pile_set_name": "Github" }
/* * This definitions of the PIC18F2523 MCU. * * This file is part of the GNU PIC library for SDCC, originally * created by Molnar Karoly <molnarkaroly@users.sf.net> 2016. * * This file is generated automatically by the cinc2h.pl, 2016-04-13 17:23:44 UTC. * * SDCC is licensed under the GNU Public license (GPL) ...
{ "pile_set_name": "Github" }
We define a harmonious array is an array where the difference between its maximum value and its minimum value is exactly 1. Now, given an integer array, you need to find the length of its longest harmonious subsequence among all its possible subsequences. Example 1: Input: [1,3,2,2,5,2,3,7] Output: 5 Explanation: Th...
{ "pile_set_name": "Github" }
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // // 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/. #ifndef EIGEN_KRONECKER...
{ "pile_set_name": "Github" }
<?php namespace AlgoliaSearch\Tests; use AlgoliaSearch\AlgoliaException; use AlgoliaSearch\Client; use AlgoliaSearch\Index; class RulesTest extends AlgoliaSearchTestCase { /** @var Client */ private $client; /** @var Index */ private $index; protected function setUp() { $this->clien...
{ "pile_set_name": "Github" }
// @flow strict import { WidgetActions } from 'views/stores/WidgetStore'; import AggregationWidgetConfig from 'views/logic/aggregationbuilder/AggregationWidgetConfig'; import Widget from 'views/logic/widgets/Widget'; import AggregationWidget from 'views/logic/aggregationbuilder/AggregationWidget'; import Series from 'v...
{ "pile_set_name": "Github" }
Royal Oak Mines Inc is reshaping its operations to concentrate on its low-cost gold deposits in the Timmins area and British Columbia, the company president said Wednesday. "We have refocused our strategy to bring on very low-cost production," Peggy Witte said in an analysts' conference call. "It's very clear that's wh...
{ "pile_set_name": "Github" }
-------------------------------- -- @module TableViewCell -- @extend Node -------------------------------- -- @function [parent=#TableViewCell] reset -- @param self -------------------------------- -- @function [parent=#TableViewCell] getIdx -- @param self -- @return long#long ret (return value: long) ...
{ "pile_set_name": "Github" }