text stringlengths 2 99.9k | meta dict |
|---|---|
/* ******************************************************************
hist : Histogram functions
part of Finite State Entropy project
Copyright (C) 2013-present, Yann Collet.
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
Redistribution and use in source and binary forms, wit... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
/*
* Ingenic SoCs USB PHY driver
* Copyright (c) Paul Cercueil <paul@crapouillou.net>
* Copyright (c) 漆鹏振 (Qi Pengzhen) <aric.pzqi@ingenic.com>
* Copyright (c) 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
*/
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/module.h... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
<title>Coverage for m1.py: 100%</title>
<link rel="stylesheet" href="style.css" type="text/css">
<script type="text/javascript" src="jquery.... | {
"pile_set_name": "Github"
} |
<html>
<head>
<meta http-equiv="Content-Language" content="de">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="keywords" lang="en" content="Deep Sky Stacking Astrophotography Bayer matrix">
<meta http-equiv="Content-Type" content="t... | {
"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 ma... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2008-2010, Intel Corporation.
# Copyright (c) 2006-2007, The Trustees of Stanford University.
# All rights reserved.
# Licensed under the terms of the New BSD License.
# Author: Mayur Naik (mhn@cs.stanford.edu)
# name=threadIM-dlog
.include "M.dom"
.include "V.dom"
.include "H.dom"
.include "Z.dom"
.i... | {
"pile_set_name": "Github"
} |
#ifndef _ASM_GENERIC_FCNTL_H
#define _ASM_GENERIC_FCNTL_H
#include <linux/types.h>
/*
* FMODE_EXEC is 0x20
* FMODE_NONOTIFY is 0x4000000
* These cannot be used by userspace O_* until internal and external open
* flags are split.
* -Eric Paris
*/
/*
* When introducing new O_* bits, please check its uniqueness ... | {
"pile_set_name": "Github"
} |
#!/bin/bash
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | {
"pile_set_name": "Github"
} |
#!/bin/sh
mdtool build $@
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.ProjectOxford.Video" version="1.0.1" targetFramework="net46" />
<package id="Newtonsoft.Json" version="8.0.2" targetFramework="net46" />
</packages> | {
"pile_set_name": "Github"
} |
// 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.
#include "chrome/browser/ui/browser_tab_strip_tracker.h"
#include "base/auto_reset.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/... | {
"pile_set_name": "Github"
} |
u"""
Fixer for memoryview(s) -> buffer(s).
Explicit because some memoryview methods are invalid on buffer objects.
"""
from lib2to3 import fixer_base
from lib2to3.fixer_util import Name
class FixMemoryview(fixer_base.BaseFix):
explicit = True # User must specify that they want this.
PATTERN = u"""
... | {
"pile_set_name": "Github"
} |
#!/bin/sh
# ----------------------------------------------------------------------------
# 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 ... | {
"pile_set_name": "Github"
} |
package org.springframework.web.servlet;
import org.springframework.lang.Nullable;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
import org.springframework.util.StringUtils;
import java.util.HashMap;
/**
* TODO...
*
* @author zwd
* @since 2019-04-22
**/
publ... | {
"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/.
import unittest
import mozunit
import os
from mozpack.chrome.manifest import (
ManifestContent,
ManifestLocale,
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<!-- [%thread] -->
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<layout class="ch.qos.logback.classic.PatternLayout">
<Pattern>%d{HH:mm:ss.SSS} %-5level %logger{36} - %msg%n</Pattern>
</layout>
</ap... | {
"pile_set_name": "Github"
} |
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2020 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source,
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
// SPDX - License - Identifier: GPL - 3.0 ... | {
"pile_set_name": "Github"
} |
//
// SUVersionComparisonProtocol.h
// Sparkle
//
// Created by Andy Matuschak on 12/21/07.
// Copyright 2007 Andy Matuschak. All rights reserved.
//
#ifndef SUVERSIONCOMPARISONPROTOCOL_H
#define SUVERSIONCOMPARISONPROTOCOL_H
#if __has_feature(modules)
@import Foundation;
#else
#import <Foundation/Foundation.h>
#... | {
"pile_set_name": "Github"
} |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_product_configurator
#
# Translators:
# Maidu Targama <m.targama@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 ... | {
"pile_set_name": "Github"
} |
<?php
return array(
/*
|--------------------------------------------------------------------------
| Password Reminder Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| tha... | {
"pile_set_name": "Github"
} |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* 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 ... | {
"pile_set_name": "Github"
} |
#Thu Jan 15 21:35:25 JST 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip
| {
"pile_set_name": "Github"
} |
exports.createServer =
exports.createConnection =
exports.connect =
function () {};
exports.isIP =
exports.isIPv4 =
exports.isIPv6 =
function () { return true };
| {
"pile_set_name": "Github"
} |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Xml.Linq;
namespace NuGet.Commands
{
public class MSBuildOutputFile
{
/// <summary>
/// Output path ... | {
"pile_set_name": "Github"
} |
<?php
/**
* Locale data for 'ast_ES'.
*
* 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/... | {
"pile_set_name": "Github"
} |
perf-y += sched-messaging.o
perf-y += sched-pipe.o
perf-y += mem-functions.o
perf-y += futex-hash.o
perf-y += futex-wake.o
perf-y += futex-wake-parallel.o
perf-y += futex-requeue.o
perf-y += futex-lock-pi.o
perf-$(CONFIG_X86_64) += mem-memcpy-x86-64-asm.o
perf-$(CONFIG_X86_64) += mem-memset-x86-64-asm.o
perf-$(CONFIG... | {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2014 Navdeep Jaitly <ndjaitly@google.com>
// Benoit Steiner <benoit.steiner.goog@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a co... | {
"pile_set_name": "Github"
} |
object test {
case class AAA(i: Int)
}
object test2 {
import test.{AAA => BBB}
val x = BBB(<caret>)
}
//i: Int | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
<dependencies>
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2003-2012 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file ex... | {
"pile_set_name": "Github"
} |
#include "drake/multibody/benchmarks/mass_damper_spring/mass_damper_spring_analytical_solution.h"
#include <limits>
#include "drake/common/default_scalars.h"
#include "drake/common/drake_assert.h"
namespace drake {
namespace multibody {
namespace benchmarks {
// For `this` mass-damper-spring system, and with the gi... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2015 University of Basel, Graphics and Vision Research Group
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | {
"pile_set_name": "Github"
} |
<div class="apiDetail">
<div>
<h2><span>String</span><span class="path">setting.data.simpleData.</span>pIdKey</h2>
<h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
<div class="desc">
<p></p>
<div class="longdesc">
<p>The node data's attribu... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
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"
} |
# SMO.py - by Ac_K
# Thanks to WerWolv and Leoetlino for helped me!
import edizon, io, operator
from byml import *
savedata_buffer = edizon.getSaveFileBuffer()
savedata_header = savedata_buffer[0:0xC]
savedata_dict = bymlbuffer_to_object(savedata_buffer[0x10:]) # skip the save data header
# TODO: Add m... | {
"pile_set_name": "Github"
} |
<ul class="sidebar-item nav nav-list" ng-controller="SidebarCtrl as sidebar">
<li ng-class="{'active': sidebar.isActive('gettingStarted')}">
<a ui-sref="gettingStarted" class="faa-parent animated-hover">
<i class="fa fa-gear faa-spin"></i> Getting started
</a>
</li>
<!-- ***... | {
"pile_set_name": "Github"
} |
//
// SchedulerType+SharedSequence.swift
// RxCocoa
//
// Created by Krunoslav Zaher on 8/27/17.
// Copyright © 2017 Krunoslav Zaher. All rights reserved.
//
import RxSwift
public enum SharingScheduler {
/// Default scheduler used in SharedSequence based traits.
public private(set) static var make: () -> ... | {
"pile_set_name": "Github"
} |
the heist of a flawless , 84 carat diamond , fixed bare knuckle fights , irish gypsies and a dog are just some of the goings on in director guy ritchies's sophomore feature , " snatch . "
" lock , stock and two smoking barrels " intro'd helmer/scripter ritchie with a hyper-kinetic , in your face underworld comedy tha... | {
"pile_set_name": "Github"
} |
--
-- MULTI_JOIN_PRUNING
--
-- Check that join-pruning works for joins between two relations. For now
-- we only check for join-pruning between locally partitioned relations. In the
-- future we want to check for pruning between re-partitioned relations as well.
SET citus.explain_distributed_queries TO off;
SET client_... | {
"pile_set_name": "Github"
} |
.. _idle:
IDLE
====
.. index::
single: IDLE
single: Python Editor
single: Integrated Development Environment
.. moduleauthor:: Guido van Rossum <guido@python.org>
IDLE is Python's Integrated Development and Learning Environment.
IDLE has the following features:
* coded in 100% pure Python, using the :mod... | {
"pile_set_name": "Github"
} |
/* adler32.c -- compute the Adler-32 checksum of a data stream
* Copyright (C) 1995-2004 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id$ */
#define ZLIB_INTERNAL
#include "zlib.h"
#define BASE 65521UL /* largest prime smaller than 65536 */
#define NMAX 5552
/... | {
"pile_set_name": "Github"
} |
// Copyright 2014 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 cldr
import "testing"
func TestParseDraft(t *testing.T) {
tests := []struct {
in string
draft Draft
err bool
}{
{"unconfirmed", Unconfi... | {
"pile_set_name": "Github"
} |
# create HAL signals for position commands from motion module
# loop position commands back to motion module feedback
net Zpos axis.2.motor-pos-cmd => axis.2.motor-pos-fb ddt_z.in
# send the position commands thru differentiators to
# generate velocity and accel signals
net Zvel ddt_z.out => ddt_zv.in vel_xyz.in0
net ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2014 Xored Software, 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 agr... | {
"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.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace System.Linq
{
... | {
"pile_set_name": "Github"
} |
/********************************************************************
* *
* THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENS... | {
"pile_set_name": "Github"
} |
# ----------------------------------------------------------------------------------
#
# Copyright Microsoft 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.apa... | {
"pile_set_name": "Github"
} |
// Copyright 2013 Julien Schmidt. All rights reserved.
// Based on the path package, Copyright 2009 The Go Authors.
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file.
package httprouter
// CleanPath is the URL version of path.Clean, it returns a canonical URL path
... | {
"pile_set_name": "Github"
} |
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package devicefarm_test
import (
"fmt"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/devicefarm"
)
var _ time.Duration
var ... | {
"pile_set_name": "Github"
} |
<?php
namespace Yoast\WP\SEO\Integrations\Blocks;
use Yoast\WP\SEO\Integrations\Integration_Interface;
/**
* Dynamic_Block class.
*/
abstract class Dynamic_Block implements Integration_Interface {
/**
* @var string the name of the block.
*/
protected $block_name;
/**
* @var string the editor script for ... | {
"pile_set_name": "Github"
} |
<!doctype html>
<title>CodeMirror: Groovy mode</title>
<meta charset="utf-8"/>
<link rel=stylesheet href="../../doc/docs.css">
<link rel="stylesheet" href="../../lib/codemirror.css">
<script src="../../lib/codemirror.js"></script>
<script src="../../addon/edit/matchbrackets.js"></script>
<script src="groovy.js"></scr... | {
"pile_set_name": "Github"
} |
/* The contents of this file are subject to the Netscape Public
* License Version 1.1 (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.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" ... | {
"pile_set_name": "Github"
} |
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Language: \n"
msgid "en"
msgstr "Béarla"
msgid "en_US"
msgstr "Béarla Meiriceánach"
msgid "af"
msgstr "Afracáinis"
msgid "ak"
msgstr "Acáinis"
msgid "sq"
msgstr "Albáinis"
msgid "arq"
msgstr ""
msgid "am"
msgstr "Amáiris"
msgid "ar"
msgstr "Araibis... | {
"pile_set_name": "Github"
} |
<div class="optional-license-text">
<p>
<var class="replacable-license-text">Terms Of Use</var></p>
</div>
<p>
This software was developed by employees of the National Institute of
Standards and Technology (NIST), and others.
This software has been contributed to the ... | {
"pile_set_name": "Github"
} |
// This file was automatically generated. Do not modify.
'use strict';
goog.provide('Blockly.Msg.et');
goog.require('Blockly.Msg');
Blockly.Msg["ADD_COMMENT"] = "Lisa kommentaar";
Blockly.Msg["CANNOT_DELETE_VARIABLE_PROCEDURE"] = "Can't delete the variable '%1' because it's part of the definition of the function '... | {
"pile_set_name": "Github"
} |
Please see Documentation/admin-guide/LSM/SELinux.rst for information on
installing a dummy SELinux policy.
| {
"pile_set_name": "Github"
} |
// Released under MIT license
// Copyright (c) 2009-2010 Dominic Baggott
// Copyright (c) 2009-2010 Ash Berlin
// Copyright (c) 2011 Christoph Dorn <christoph@christophdorn.com> (http://www.christophdorn.com)
(function( expose ) {
/**
* class Markdown
*
* Markdown processing in Javascript done right. We have ver... | {
"pile_set_name": "Github"
} |
{
"name": "test/timeout",
"commit": {
"sha": "14fa3698221f91613b9e1d809434326e5ed546af",
"node_id": "MDY6Q29tbWl0MjA2ODg4MjAxOjE0ZmEzNjk4MjIxZjkxNjEzYjllMWQ4MDk0MzQzMjZlNWVkNTQ2YWY=",
"commit": {
"author": {
"name": "Liam Newman",
"email": "bitwiseman@gmail.com",
"date": "2... | {
"pile_set_name": "Github"
} |
#include <iostream>
int main() {
int n;
std::cin >> n;
std::cout << "incorrect " << n << std::endl;
return 0;
}
| {
"pile_set_name": "Github"
} |
.s-btn-downarrow{
display:inline-block;
width:16px;
background:url('images/menu_downarrow.png') no-repeat 9px center;
}
a.s-btn-active{
background-position: bottom right;
}
a.s-btn-active span.l-btn-left{
background-position: bottom left;
}
a.s-btn-active .s-btn-downarrow{
background:url('images/men... | {
"pile_set_name": "Github"
} |
using Cirrious.MvvmCross.WindowsPhone.Views;
namespace $rootnamespace$.Views
{
public partial class FirstView : MvxPhonePage
{
public FirstView()
{
InitializeComponent();
}
}
} | {
"pile_set_name": "Github"
} |
# Modifier formatting
### Modifier sorting
Class, method, and field modifiers will be sorted according to the order in the
JLS (sections [8.1.1](https://docs.oracle.com/javase/specs/jls/se11/html/jls-8.html#jls-8.1.1),
[8.3.1](https://docs.oracle.com/javase/specs/jls/se11/html/jls-8.html#jls-8.3.1),
[8.4.3](https://d... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2014 the original author or 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 applicabl... | {
"pile_set_name": "Github"
} |
glabel func_809B05F0
/* 00280 809B05F0 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00284 809B05F4 AFBF001C */ sw $ra, 0x001C($sp)
/* 00288 809B05F8 AFA40020 */ sw $a0, 0x0020($sp)
/* 0028C 809B05FC 0C00BCCD */ jal func_8002F334
/* 00290 809B0... | {
"pile_set_name": "Github"
} |
<?php
/**
* Hoa
*
*
* @license
*
* New BSD License
*
* Copyright © 2007-2017, Hoa community. 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 ... | {
"pile_set_name": "Github"
} |
package com.benhero.glstudio.renderer
import android.content.Context
import com.benhero.glstudio.util.ProjectionMatrixHelper
import javax.microedition.khronos.egl.EGLConfig
import javax.microedition.khronos.opengles.GL10
/**
* 正交投影
*
* @author Benhero
*/
class L3_2_OrthoRenderer(context: Context) : L2_2_ShapeRe... | {
"pile_set_name": "Github"
} |
/*
Mantis PCI bridge driver
Copyright (C) Manu Abraham (abraham.manu@gmail.com)
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 version 2 of the License, or
(at your option) any later v... | {
"pile_set_name": "Github"
} |
// @ts-check
const os = require('os');
const fp = require('lodash/fp');
/**
* Get the local ip addresses
* @typedef {{ family: 'IPv4' | 'IPv6', internal: boolean, address: string }} NetworkInterface
*
* @return {NetworkInterface[]}
*/
module.exports.getAdresses = function getAdresses() {
return fp.flatten(fp.val... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The contents of this file are subject to the terms of either the Universal Permissive License
* v 1.0 as shown at http://oss.oracle.com/licenses/upl
*
* or the follo... | {
"pile_set_name": "Github"
} |
"""Testing for libmedaka.fastrle program."""
import subprocess
import tempfile
import unittest
import pysam
class RLE(unittest.TestCase):
"""Test libmedaka.fastrle function."""
input_fasta = tempfile.NamedTemporaryFile(suffix='.fasta').name
output_fastqrle = tempfile.NamedTemporaryFile(suffix='.fastqrl... | {
"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... | {
"pile_set_name": "Github"
} |
{
"main": "./app/main.js",
"devDependencies": {
"electron": "^9.2.0",
"electron-builder": "^22.8.0"
},
"license": "GNU GPLv3",
"build": {
"appId": "Ahmyth.android.rat",
"win": {
"publisherName": "AhMyth",
"icon": "build/icon.ico"
},
... | {
"pile_set_name": "Github"
} |
module NavigationHelpers
# Maps a name to a path. Used by the
#
# When /^I go to (.+)$/ do |page_name|
#
# step definition in web_steps.rb
#
def path_to(page_name)
case page_name
when /the home\s?page/
'/'
# Add more mappings here.
# Here is an example that pulls values o... | {
"pile_set_name": "Github"
} |
{
"name": "Dirigo Design & Development",
"displayName": "Dirigo Design & Development",
"properties": [
"purchus.io"
]
} | {
"pile_set_name": "Github"
} |
// +build !appengine,!js,windows
package logrus
import (
"io"
"os"
"syscall"
)
func checkIfTerminal(w io.Writer) bool {
switch v := w.(type) {
case *os.File:
var mode uint32
err := syscall.GetConsoleMode(syscall.Handle(v.Fd()), &mode)
return err == nil
default:
return false
}
}
| {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2005 - 2014 by TESIS DYNAware GmbH
*/
package de.tesis.dynaware.grapheditor.demo.customskins.titled;
import java.util.ArrayList;
import java.util.List;
import javafx.css.PseudoClass;
import javafx.geometry.Point2D;
import javafx.geometry.Pos;
import javafx.scene.Cursor;
import javafx.... | {
"pile_set_name": "Github"
} |
# User Guide
## Installation
### Pre-requisites
#### Software
- NodeJS (required)
- Angular (required)
- SonarQube (required)
- Sonar-scanner (required)
- Mongodb (required)
- Git (required)
#### Installing pre-requisites
NodeJS:<br>
https://nodejs.org/en/download/
Angular:<br>
https://angular.io/
SonarQ... | {
"pile_set_name": "Github"
} |
from jadi import component
from aj.api.http import url, HttpPlugin
from aj.auth import authorize
from aj.api.endpoint import endpoint, EndpointError
import aj
import gevent
@component(HttpPlugin)
class Handler(HttpPlugin):
def __init__(self, context):
self.context = context
@url(r'/api/session_list/l... | {
"pile_set_name": "Github"
} |
KISSY.add("brix/core/demolet", function(S, Pagelet, IO, Node) {
var $ = Node.all;
//存储已经加载的CSS
var hasLoadCSS = {};
/**
* 同步载入样式,保证串行加载
* @param {String} path css路径
* @ignore
*/
function loadCSS(path) {
if(hasLoadCSS[path]) {
return false;
}
... | {
"pile_set_name": "Github"
} |
/* $OpenBSD: utils.c,v 1.2 2017/07/27 15:08:37 bluhm Exp $ */
/* Written by Otto Moerbeek, 2006, Public domain. */
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <err.h>
#include <fcntl.h>
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "utils.h"
v... | {
"pile_set_name": "Github"
} |
module Cryptoexchange::Exchanges
module Kkcoin
module Services
class Market < Cryptoexchange::Services::Market
class << self
def supports_individual_ticker_query?
false
end
end
def fetch
output = super(ticker_url)
adapt_all(output)... | {
"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 ... | {
"pile_set_name": "Github"
} |
# is-windows [](https://www.npmjs.com/package/is-windows) [](https://npmjs.org/package/is-windows) [ 2000-2004,2011,2014 Apple Inc. All Rights Reserved.
*
* The contents of this file constitute Original Code as defined in and are
* subject to the Apple Public Source License Version 1.2 (the 'License').
* You may not use this file except in compliance with the License. Please obtain
* a copy o... | {
"pile_set_name": "Github"
} |
import filecmp
import os
import platform
import posixpath
import tempfile
import pytest
from dvc.info import get_fs_type
from dvc.system import System
here = os.path.abspath(os.path.dirname(__file__))
def test_isdir(ssh_connection):
assert ssh_connection.isdir(here)
assert not ssh_connection.isdir(__file__... | {
"pile_set_name": "Github"
} |
<testcase>
<info>
<keywords>
SFTP
quote
NOBODY
</keywords>
</info>
#
# Server-side
<reply>
<data sendzero="yes">
</data>
</reply>
#
# Client-side
<client>
<server>
sftp
</server>
<name>
SFTP quote remove file with NOBODY
</name>
<command>
--key curl_client_key --pubkey curl_client_key.pub -u %USER: -I -Q "rm %PWD/... | {
"pile_set_name": "Github"
} |
import MoveableManager from "../../src/react-moveable/MoveableManager";
import { createRotateMatrix, caculate, minus, plus, createIdentityMatrix } from "../../src/react-moveable/matrix";
import { RotatableProps } from "../../src/react-moveable";
import { getClientRect } from "../../src/react-moveable/utils";
function... | {
"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 <stdio.h>
int main(void) {
printf("Hello from prog.c\n");
return 0;
}
| {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Sun Sep 08 19:26:32 EDT 2013 -->
<TITLE>
BPCCBox (JHOVE Documentation)
</TITLE>
<META NAME="date" CONTENT="2013-09-08">
<LINK REL ="styleshe... | {
"pile_set_name": "Github"
} |
West Kugu Desert: Field Base
| {
"pile_set_name": "Github"
} |
;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck --check-prefix=EG-CHECK %s
;RUN: llc < %s -march=r600 -mcpu=verde -verify-machineinstrs | FileCheck --check-prefix=SI-CHECK %s
;The code generated by urem is long and complex and may frequently change.
;The goal of this test is to make sure the ISel doesn't fail whe... | {
"pile_set_name": "Github"
} |
use std::collections::HashMap;
use pyo3::exceptions::PyKeyError;
use pyo3::prelude::*;
use pyo3::types::IntoPyDict;
use pyo3::types::PyList;
use pyo3::PyMappingProtocol;
#[pyclass]
struct Mapping {
index: HashMap<String, usize>,
}
#[pymethods]
impl Mapping {
#[new]
fn new(elements: Option<&PyList>) -> Py... | {
"pile_set_name": "Github"
} |
{
"pile_set_name": "Github"
} | |
#import <Cocoa/Cocoa.h>
@class GCDAsyncSocket;
@interface BonjourClientAppDelegate : NSObject <NSApplicationDelegate, NSNetServiceBrowserDelegate, NSNetServiceDelegate>
{
NSNetServiceBrowser *netServiceBrowser;
NSNetService *serverService;
NSMutableArray *serverAddresses;
GCDAsyncSocket *asyncSocket;
BOOL conne... | {
"pile_set_name": "Github"
} |
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable
precision mediump float;
layout ( location = 0 ) in vec3 a_position;
layout ( location = 1 ) in vec2 a_texcoord;
layout ( location = 0 ) out vec2 vTextureCoord;
void main()
{
vTextureCoord = a_texcoor... | {
"pile_set_name": "Github"
} |
--TEST--
Bug #72447: Type Confusion in php_bz2_filter_create()
--SKIPIF--
<?php if (!extension_loaded("bz2")) print "skip"; ?>
--FILE--
<?php
$input = "AAAAAAAA";
$param = array('blocks' => $input);
$fp = fopen('testfile', 'w');
stream_filter_append($fp, 'bzip2.compress', STREAM_FILTER_WRITE, $param);
fclose($fp);
?>
... | {
"pile_set_name": "Github"
} |
====================================================================
For the license for Meteor itself, see LICENSE.txt in the root of
the repository. This file contains the licenses for externally
maintained libraries.
====================================================================
----------
ieee754: https:/... | {
"pile_set_name": "Github"
} |
package loon;
public enum GameType {
UNKOWN("Unkown Game"),
ACT("Action Game"),
STG("Shooting Game"),
FTG("Fighting Game"),
AVG("Adventure Game"),
SLG("Simulation Game"),
RPG("Role-playing game"),
STRATEGY("Strategy Game"),
SPORT("Sports Game"),
RACING("Racing Game"),
CASUAL("Casual Game"),
MUSIC("Music G... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.