text stringlengths 2 99.9k | meta dict |
|---|---|
package com.tencent.mm.plugin.appbrand.jsapi.q;
import android.app.Activity;
import android.content.Context;
import android.provider.Settings.SettingNotFoundException;
import android.provider.Settings.System;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.jsapi.a;
import com.... | {
"pile_set_name": "Github"
} |
#!/bin/bash
#
###################
# flash RW_LEGACY #
###################
function flash_rwlegacy()
{
#set working dir
cd /tmp
# set dev mode legacy boot flag
if [ "${isChromeOS}" = true ]; then
crossystem dev_boot_legacy=1 > /dev/null 2>&1
fi
echo_green "\nInstall/Update RW_LEGACY Firmware (Legacy BIOS)"
#de... | {
"pile_set_name": "Github"
} |
#!/bin/sh
cd `dirname $0`/..
commentText=$1
shift
if [ -z "$commentText" ]; then
echo "Comment text must be supplied!"
exit 1
fi
echo "Comment text: $commentText. Press enter to continue."
read dummy
function run1 {
(while true; do (date +%s.%N; ps ax -o '%mem rss sz vsz args' | grep "beam.*-s rabbit" | ... | {
"pile_set_name": "Github"
} |
run <- function(url, query, body, headers)
{
et <- "Unable to connect"
tryCatch({
require(rcloud.client)
caps <- connect.to.rcloud(url, query, body, headers)
result <- resolve.notebook.id(caps, path.info)
list(paste('<html><head><meta http-equiv="refresh" content="0; url=/view.html?notebook=', resu... | {
"pile_set_name": "Github"
} |
#import <Foundation/Foundation.h>
@protocol MSLog;
@protocol MSChannelUnitProtocol;
@protocol MSChannelGroupProtocol;
@protocol MSChannelProtocol;
@protocol MSChannelDelegate <NSObject>
@optional
/**
* A callback that is called when a channel unit is added to the channel group.
*
* @param channelGroup The channe... | {
"pile_set_name": "Github"
} |
extern crate daemonize;
use daemonize::Daemonize;
fn main() {
let args = std::env::args().collect::<Vec<String>>();
let stdout = &args[1];
let stderr = &args[2];
let stdout = std::fs::File::create(stdout).unwrap();
let stderr = std::fs::File::create(stderr).unwrap();
Daemonize::new()
... | {
"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"
} |
/*
* Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the... | {
"pile_set_name": "Github"
} |
set enable_seqscan=off;
CREATE TABLE test_bit (
i bit(3)
);
INSERT INTO test_bit VALUES ('001'),('010'),('011'),('100'),('101'),('110');
CREATE INDEX idx_bit ON test_bit USING gin (i);
SELECT * FROM test_bit WHERE i<'100'::bit(3) ORDER BY i;
i
-----
001
010
011
(3 rows)
SELECT * FROM test_bit WHERE i<='100'::b... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2015 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_DNn_
#define DLIB_DNn_
// DNN module uses template-based network declaration that leads to very long
// type names. Visual Studio will produce Warning C4503 in such cases
#ifdef... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:Runner.xcodeproj">
</FileRef>
</Workspace>
| {
"pile_set_name": "Github"
} |
y0 0.125
= y0 downward binary32 0x2p-4 : -0x1.63c21ep+0 : inexact-ok
= y0 tonearest binary32 0x2p-4 : -0x1.63c21cp+0 : inexact-ok
= y0 towardzero binary32 0x2p-4 : -0x1.63c21cp+0 : inexact-ok
= y0 upward binary32 0x2p-4 : -0x1.63c21cp+0 : inexact-ok
= y0 downward binary64 0x2p-4 : -0x1.63c21c04e0ac7p+0 : inexact-ok
= y... | {
"pile_set_name": "Github"
} |
<?php
if(!defined('SmartWikiVersion')){
define('SmartWikiVersion','v1.0.0-beta.1');
}
header('SmartWiki:'.SmartWikiVersion);
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The f... | {
"pile_set_name": "Github"
} |
package test
type typeForTest struct {
F1 float32 `json:"F1"`
F2 float32 `json:"F2,string"`
}
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="nl" sourcelanguage="en">
<context>
<name>CmdDrawingAnnotation</name>
<message>
<location filename="../../Command.cpp" line="481"/>
<source>Drawing</source>
<translation>Tekening</translation>
</message>
... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 114d86a19e11f3149886002be545cee4
folderAsset: yes
timeCreated: 1434849388
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
/*
Copyright 2016 Robert Elder 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 b... | {
"pile_set_name": "Github"
} |
##
# RDoc statistics collector which prints a summary and report of a project's
# documentation totals.
class RDoc::Stats
##
# Output level for the coverage report
attr_reader :coverage_level
##
# Count of files parsed during parsing
attr_reader :files_so_far
##
# Total number of files found
at... | {
"pile_set_name": "Github"
} |
require "spec_helper"
describe ActiveRecord::Turntable::Mixer do
before do
@cluster = ActiveRecord::Base.turntable_configuration.cluster(:user_cluster)
@connection_proxy = ActiveRecord::Turntable::ConnectionProxy.new(User, @cluster)
@mixer = ActiveRecord::Turntable::Mixer.new(@connection_proxy)
end
... | {
"pile_set_name": "Github"
} |
/***** BEGIN LICENSE BLOCK *****
# 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/.
#
# The Initial Developer of the Original Code is the Mozilla Foundation.
# Portions cre... | {
"pile_set_name": "Github"
} |
// RUN: rm -rf %t
// RUN: %clang_cc1 -fsyntax-only -I%S/Inputs/malformed-overload -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -verify %s
NSLog(@"%@", path); // expected-error {{expected parameter declarator}} expected-error {{expected ')'}} expected-warning {{type specifier missing}} expected-warning {{inc... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 16afe3fd2a3c4d2c85aeeb732ae7f9fb
ModelImporter:
serializedVersion: 22
fileIDToRecycleName:
100000: //RootNode
100002: pCone1
100004: pCone2
100006: pCone3
100008: pCone4
100010: pCone5
100012: pCone6
100014: pCylinder1
100016: pCylinder2
100018: pCy... | {
"pile_set_name": "Github"
} |
#!/bin/bash
#set -euo pipefail
# Enable verbose shell output if OVNKUBE_SH_VERBOSE is set to 'true'
if [[ "${OVNKUBE_SH_VERBOSE:-}" == "true" ]]; then
set -x
fi
# source the functions in ovndb-raft-functions.sh
. /root/ovndb-raft-functions.sh
# This script is the entrypoint to the image.
# Supports version 3 daemo... | {
"pile_set_name": "Github"
} |
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 Josh Durgin
# 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/lic... | {
"pile_set_name": "Github"
} |
(***********************************************************************)
(* The OUnit library *)
(* *)
(* Copyright (C) 2002-2008 Maas-Maarten Zeeman. *)
(* Copyright (C) 2010 OC... | {
"pile_set_name": "Github"
} |
//
// Mach+Loading_MachoMac10_14_Tests.swift
// MachObfuscatorTests
//
import XCTest
class Mach_Loading_MachoMac10_14_Tests: XCTestCase {
let sut = try! Image.load(url: URL.machoMac10_14Executable)
func test_shouldDetectCorrectPlatform() {
XCTAssertEqual(sut.url, URL.machoMac10_14Executable)
... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en" >
<head>
<title>UTF-16BE BOM</title>
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
<link rel='help' href='http://www.w3.org/TR/html5/syntax.html#the-input-byte-stream'>
<script src="http://w3c-test.org/resources/testharness.js"></script>
<script src="http... | {
"pile_set_name": "Github"
} |
#pragma once
#include <util/generic/vector.h>
#include <util/generic/list.h>
#include <FactExtract/Parser/common/inputitem.h>
#include "simplegrammar.h"
class CInputSequence
{
public:
CInputSequence(void);
virtual ~CInputSequence(void);
void AddTerminal(const CInputItem* pTerm);
virtual void Process... | {
"pile_set_name": "Github"
} |
/* XzIn.c - Xz input
2015-11-08 : Igor Pavlov : Public domain */
#include "Precomp.h"
#include <string.h>
#include "7zCrc.h"
#include "CpuArch.h"
#include "Xz.h"
SRes Xz_ReadHeader(CXzStreamFlags *p, ISeqInStream *inStream)
{
Byte sig[XZ_STREAM_HEADER_SIZE];
RINOK(SeqInStream_Read2(inStream, sig, ... | {
"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"
} |
package top.wefor.now.data.model.entity;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
import java.util.Date;
import top.wefor.now.data.http.Urls;
/**
* Created by ice on 15/10/27.
*/
public class NG implements Serializable, INow {
@SerializedName("url")
public String url... | {
"pile_set_name": "Github"
} |
@set GEVENT_LOOP=uvent.loop.UVLoop
@set GEVENT_RESOLVER=gevent.resolver_thread.Resolver
@"%~dp0python27.exe" "%~dp0proxy.py" || pause
| {
"pile_set_name": "Github"
} |
%{
/*
* Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
* Released under the terms of the GNU GPL v2.0.
*/
#include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include "lkc.h"
#define printd(mask, fmt...) if (cdebug & (mask)) printf(fmt)
... | {
"pile_set_name": "Github"
} |
total 14
dr-xr-xr-x 7 0 1 512 Jun 19 2006 .
dr-xr-xr-x 7 0 1 512 Jun 19 2006 ..
dr-xr-xr-x 2 0 1 512 Mar 24 2003 bin
dr-xr-xr-x 2 0 1 512 Mar 24 2003 etc
dr-xr-xr-x 12 0 0 512 Apr 7 2009 pub
dr-xr-xr-x 3 0 ... | {
"pile_set_name": "Github"
} |
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# Pull request against these branches will trigger this build
pr:
- master
- staging
#Any commit to this branch will trigger the build.
trigger:
- staging
- master
variables:
- group: LinuxAgentPool
jobs:
- job: unit
dis... | {
"pile_set_name": "Github"
} |
name: tensorflow
channels: !!python/tuple
- defaults
dependencies:
- _license=1.1=py35_1
- _nb_ext_conf=0.3.0=py35_0
- alabaster=0.7.9=py35_0
- anaconda-clean=1.0.0=py35_0
- anaconda-client=1.5.1=py35_0
- anaconda=custom=py35_0
- anaconda-navigator=1.3.1=py35_0
- argcomplete=1.0.0=py35_1
- astroid=1.4.7=py35_0
- astrop... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
html(lang="en")
head
meta(charset="UTF-8")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
meta(http-equiv="X-UA-Compatible", content="ie=edge")
title #{title}
style(type="text/css") !{style}
body !{contents}
script !{script}
script(src=bundle)
| {
"pile_set_name": "Github"
} |
// RUN: llvm-objdump -d -m -no-show-raw-insn -full-leading-addr -print-imm-hex %p/Inputs/hello.obj.macho-aarch64 | FileCheck %s -check-prefix=OBJ
// RUN: llvm-objdump -d -m -no-show-raw-insn -full-leading-addr -print-imm-hex %p/Inputs/hello.exe.macho-aarch64 | FileCheck %s -check-prefix=EXE
// RUN: llvm-objdump -d -m -... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
# 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.
import unittest
from api_categorizer import APICategorizer
from compiled_file_system import CompiledFileSystem
from extensions_paths im... | {
"pile_set_name": "Github"
} |
#include <rose.h>
#include <map>
#include <boost/shared_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <interp_core.h>
#include <interp_mpi.h>
using namespace std;
using namespace Interp;
namespace Interp {
namespace mpi {
string MPI_InitValue::functionName() const { return "MPI_Init"; }
ValueP MPI... | {
"pile_set_name": "Github"
} |
This vendor directory contains a copy of golang.org/misc/wasm/ used to
run WASM code in a browser. It was taken from the release version of
go 1.12 (05e77d41914d247a1e7caf37d7125ccaa5a53505).
| {
"pile_set_name": "Github"
} |
### Example libStorage Config with TLS
```
libstorage:
tls:
serverName: libstorage-server
clientCertRequired: true
trustedCertsFile: /Users/akutz/Projects/go/src/github.com/thecodeteam/rexray/libstorage/.tls/libstorage-ca.crt
service: vfs
logging:
httpRequests: true
httpResponses: true
clien... | {
"pile_set_name": "Github"
} |
[
{
"CollectPEBSRecord": "1",
"PublicDescription": "Counts cycles that fetch is stalled due to any reason. That is, the decoder queue is able to accept bytes, but the fetch unit is unable to provide bytes. This will include cycles due to an ITLB miss, ICache miss and other events.",
"EventC... | {
"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"
} |
import React from 'react';
import ShowMore from '../show-more';
import NodeDetailsHealthLinkItem from './node-details-health-link-item';
export default class NodeDetailsHealth extends React.Component {
constructor(props, context) {
super(props, context);
this.state = {
expanded: false
};
this.... | {
"pile_set_name": "Github"
} |
1 KbdLayerDescriptor
2 KbdNlsLayerDescriptor
| {
"pile_set_name": "Github"
} |
You can modify the imported transactions here before completing the import.
在完成导入之前,您可以在此修改导入的交易记录。
You may want to review the destination account to better organize your income and expenses.
您也许希望核查目标账户,以便更好的组织您的收支。
New transactions can be deleted or their import state toggled off. If a transaction is detected as pre... | {
"pile_set_name": "Github"
} |
Bundle-Name = Portfolio Performance Bootstrap
Bundle-Vendor = Andreas Buchen
category.name = Portfolio Performance
command.about.name = &Acerca de Portfolio Performance
command.about.tooltip = \
command.clearRecentFiles.name = Borrar ficheros reciente... | {
"pile_set_name": "Github"
} |
---
id: intl-getcanonicallocales
title: Intl.getCanonicalLocales
---
A spec-compliant polyfill/ponyfill for `Intl.getCanonicalLocales` tested by the [official ECMAScript Conformance test suite](https://github.com/tc39/test262)
[ .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.Collections.Generic;
using Microsoft.VisualStudio.Web.CodeGeneration;
using Microsoft.VisualStudio.Web.CodeGeneration.Entity... | {
"pile_set_name": "Github"
} |
// 7zHandlerOut.cpp
#include "StdAfx.h"
#include "../../../Windows/PropVariant.h"
#include "../../../Common/ComTry.h"
#include "../../../Common/StringToInt.h"
#include "../../ICoder.h"
#include "../Common/ItemNameUtils.h"
#include "../Common/ParseProperties.h"
#include "7zHandler.h"
#include "7zOut.h"
#include "7... | {
"pile_set_name": "Github"
} |
/**********************************************************************
iso8859_3.c - Oniguruma (regular expression library)
**********************************************************************/
/*-
* Copyright (c) 2002-2007 K.Kosako <sndgk393 AT ybb DOT ne DOT jp>
* All rights reserved.
*
* Redistribution a... | {
"pile_set_name": "Github"
} |
/*-
* Copyright (c) 2003-2007 Tim Kientzle
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of c... | {
"pile_set_name": "Github"
} |
import * as debug from 'debug';
import driver from '../db/driver';
const d = debug('nucleus:migration-store');
export interface MigrationItem<T> {
done: boolean;
data: T;
}
export class MigrationStore {
private static migrationMap: Map<string, BaseMigration<any>> = new Map();
static async register(migratio... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2011, TAUTUA
*
* 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 w... | {
"pile_set_name": "Github"
} |
/*
Copyright 2019-present Barefoot Networks, 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 writ... | {
"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"
} |
pp_macro_badchar.i:4: Error: Illegal character in macro argument name
| {
"pile_set_name": "Github"
} |
require 'rubygems'
require 'rake/gempackagetask'
require "rake/rdoctask"
require "extlib"
require 'merb-core/tasks/merb_rake_helper'
require "spec/rake/spectask"
##############################################################################
# Package && release
#########################################################... | {
"pile_set_name": "Github"
} |
from __future__ import absolute_import
| {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=J... | {
"pile_set_name": "Github"
} |
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.ml;
import org.opencv.core.Mat;
import org.opencv.ml.KNearest;
import org.opencv.ml.StatModel;
// C++: class KNearest
/**
* The class implements K-Nearest Neighbors model
*
* SEE: REF: ml_intro_knn
*/
public class KNearest extends St... | {
"pile_set_name": "Github"
} |
var parse = require('../');
var test = require('tape');
test('numeric short args', function (t) {
t.plan(2);
t.deepEqual(parse([ '-n123' ]), { n: 123, _: [] });
t.deepEqual(
parse([ '-123', '456' ]),
{ 1: true, 2: true, 3: 456, _: [] }
);
});
test('short', function (t) {
t.deepEqua... | {
"pile_set_name": "Github"
} |
<?php
namespace System\Classes;
use Admin\Traits\WidgetMaker;
use Exception;
use Igniter\Flame\Traits\ExtensionTrait;
use System\Traits\ConfigMaker;
use System\Traits\ViewMaker;
/**
* Controller Action base Class
*/
class ControllerAction
{
use ConfigMaker;
use ViewMaker;
use WidgetMaker;
use Exten... | {
"pile_set_name": "Github"
} |
package ioutils
import "testing"
func TestFprintfIfNotEmpty(t *testing.T) {
wc := NewWriteCounter(&NopWriter{})
n, _ := FprintfIfNotEmpty(wc, "foo%s", "")
if wc.Count != 0 || n != 0 {
t.Errorf("Wrong count: %v vs. %v vs. 0", wc.Count, n)
}
n, _ = FprintfIfNotEmpty(wc, "foo%s", "bar")
if wc.Count != 6 || n !... | {
"pile_set_name": "Github"
} |
# download-manager [](https://ci.novoda.com/job/download-manager/lastBuild/console) [](https://bintray.com/novoda-oss/maven/download-ma... | {
"pile_set_name": "Github"
} |
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
BITCOINCORE_COMMITHASH="a62f0ed64f8bbbdfe6467ac5ce92ef5b5222d1bd"
KNOTS_PV="${PV}.knots20200614"
KNOTS_P="bitcoin-${KNOTS_PV}"
DESCRIPTION="Bitcoin Core consensus library"
HOMEPAGE="https... | {
"pile_set_name": "Github"
} |
<!--
- Copyright (c) Enalean, 2019 - present. All Rights Reserved.
-
- This file is a part of Tuleap.
-
- Tuleap 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, o... | {
"pile_set_name": "Github"
} |
input_desc = [
"v128:v0",
"v128:v1",
"u32:vco",
"u32:vcc",
"u32:vce",
"u32:padding",
]
output_desc = [
"v128:res",
"v128:accum_lo",
"v128:accum_md",
"v128:accum_hi",
"u32:vco",
"u32:vcc",
"u32:vce",
"u32:padding",
]
rsp_code = """
li a0,$0
li a1,$800
... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env ruby
## Copyright (c) Cognitect, Inc.
## All rights reserved.
$LOAD_PATH << File.expand_path("../../lib", __FILE__)
require 'benchmark'
require 'stringio'
require 'json'
require 'transit'
require 'oj'
def read_transit(data)
io = StringIO.new(data, 'r+')
Transit::Reader.new(:json, io).read
end
def... | {
"pile_set_name": "Github"
} |
package com.tribbloids.spookystuff
import java.util.UUID
import java.util.concurrent.TimeUnit
import com.esotericsoftware.kryo.Kryo
import com.tribbloids.spookystuff.conf.{DirConf, SpookyConf}
import com.tribbloids.spookystuff.dsl._
import com.tribbloids.spookystuff.doc._
import com.tribbloids.spookystuff.metrics.Spo... | {
"pile_set_name": "Github"
} |
(*
* Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
*
* SPDX-License-Identifier: GPL-2.0-only
*)
theory Noninterference_Base_Alternatives
imports Noninterference_Base "Lib.Eisbach_Methods"
begin
text \<open>
This theory explores a bunch of alternative definitions for the @{term sources}
and @{term ipurge... | {
"pile_set_name": "Github"
} |
using System;
namespace StarkPlatform.Reflection.Metadata
{
/// <summary>Defines the attributes that can be associated with a property. These attribute values are defined in corhdr.h.</summary>
[Flags]
public enum PropertyAttributes
{
/// <summary>Specifies that the property has a default valu... | {
"pile_set_name": "Github"
} |
/**
* @license Use of this source code is governed by an MIT-style license that
* can be found in the LICENSE file at https://github.com/cartant/rxjs-tslint-rules
*/
/*tslint:disable:no-use-before-declare*/
import * as Lint from "tslint";
import * as tsutils from "tsutils";
import * as ts from "typescript";
import ... | {
"pile_set_name": "Github"
} |
idx label predict basePredict correct time
0 3 -1 4 0 0:00:15.874214
20 7 9 9 0 0:00:15.750334
40 4 8 8 0 0:00:15.820654
60 7 7 4 1 0:00:15.760468
80 8 8 8 1 0:00:15.732139
100 4 5 5 0 0:00:15.700472
120 8 8 8 1 0:00:15.696066
140 6 2 2 0 0:00:15.728036
160 2 2 2 1 0:00:15.740664
180 0 0 0 1 0:00:15.796442
2... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2011 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"
} |
// Mixins
// --------------------------------------------------
// Utilities
@import "mixins/hide-text.less";
@import "mixins/opacity.less";
@import "mixins/image.less";
@import "mixins/labels.less";
@import "mixins/reset-filter.less";
@import "mixins/resize.less";
@import "mixins/responsive-visibility.less";
@import ... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
##
## Copyright (C) 2005-2008 Async Open Source <http://www.async.com.br>
## All rights reserved
##
## This program 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 Softw... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: ee9adc90d70171641a16c75e60c0fc3a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
//
// main.m
// TermHere Service
//
// Created by Adam Demasi on 19/11/17.
// Copyright © 2017 HASHBANG Productions. All rights reserved.
//
@import Cocoa;
int main(int argc, char* argv[]) {
@autoreleasepool {
return NSApplicationMain(argc, (const char **)argv);
}
}
| {
"pile_set_name": "Github"
} |
# coding: utf-8
"""
Kubernetes
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.7.4
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import re
... | {
"pile_set_name": "Github"
} |
import scala.Console._
import scala.concurrent.duration._
object BasicApp extends App {
println("Application started....")
val deadline = 1.hour.fromNow
do {
println(s"Running application. Seconds left until showdown: ${deadline.timeLeft.toSeconds}")
Thread.sleep(1000)
} while (deadline.hasTimeLeft())... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Model\Product\Price;
use Magento\Catalog\Api\Data\TierPriceInterface;
use Magento\Framework\Exception\NoSuchEntityException;
/**
* Tier price factory.
*/
class TierPriceFactory
{
/*... | {
"pile_set_name": "Github"
} |
#-*- mode: ruby -*-
id 'org.jruby.test:osgi-complete:1'
packaging :pom
# default versions will be overwritten by pom.rb from root directory
properties( 'jruby.plugins.version' => '1.0.10',
'project.build.sourceEncoding' => 'utf-8' )
modules [ 'gems-bundle', 'scripts-bundle', 'test' ]
| {
"pile_set_name": "Github"
} |
class AUPannerView : NSView {
var audioUnit: AudioUnit { get }
/*not inherited*/ init(audioUnit au: AudioUnit)
}
| {
"pile_set_name": "Github"
} |
#!/bin/bash
if [ -s /run/ipa/exit_code ] ; then
exit_code=$( cat /run/ipa/exit_code )
if [ -e /run/ipa/exit-on-finished ] || ! [ "$exit_code" == 0 ] ; then
systemctl poweroff
fi
fi
exit
| {
"pile_set_name": "Github"
} |
---
title: "UDPipe Natural Language Processing - Parallel"
author: "Jan Wijffels"
date: "`r Sys.Date()`"
output:
html_document:
fig_caption: false
toc: false
vignette: >
%\VignetteIndexEntry{UDPipe Natural Language Processing - Parallel}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
... | {
"pile_set_name": "Github"
} |
/*
* twemproxy - A fast and lightweight proxy for memcached protocol.
* Copyright (C) 2011 Twitter, 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/lice... | {
"pile_set_name": "Github"
} |
package com.vimeo.sample_java_model;
import com.vimeo.stag.UseStag;
/**
* Test the extension of a partially resolved generic class.
*/
@UseStag
public class ConcreteDataList extends AbstractDataList<BaseExternalModel> {
}
| {
"pile_set_name": "Github"
} |
package com.contrastsecurity.cassandra.migration.resolver.cql;
import com.contrastsecurity.cassandra.migration.resolver.MigrationExecutor;
import com.contrastsecurity.cassandra.migration.script.CqlScript;
import com.contrastsecurity.cassandra.migration.utils.scanner.Resource;
import com.datastax.driver.core.Session;
... | {
"pile_set_name": "Github"
} |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by DummyExe.rc
//
#define IDC_MYICON 2
#define IDD_DUMMYEXE_DIALOG 102
#define IDS_APP_TITLE 103
#define IDI_DUMMYEXE 107
#define IDI_SMALL 10... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../libc/struct.dirent.html">
</head>
<body>
<p>Redirecting to <a href="../../../libc/struct.dirent.html">../../../libc/struct.dirent.html</a>...</p>
<script>location.replace("../../../libc/struct.dirent.html" + location.... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="group_hr_attendance_rfid" model="res.groups">
<field name="name">RFID Attendance</field>
<field name="category_id" ref="base.module_category_hr_attendance"/>
</record>
</odoo>
| {
"pile_set_name": "Github"
} |
name=Magnivore
image=https://magiccards.info/scans/en/9e/202.jpg
value=4.139
rarity=R
type=Creature
subtype=Lhurgoyf
cost={2}{R}{R}
pt=*/*
ability=Haste;\
SN's power and toughness are each equal to the number of sorcery cards in all graveyards.
timing=fmain
oracle=Haste\nMagnivore's power and toughness are each... | {
"pile_set_name": "Github"
} |
import os
import re
from usaspending_api.settings import REPO_DIR
# Typically we only care about v2 API endpoints, but if we ever add v3 or
# whatever, add the base path to this tuple.
CURRENT_ENDPOINT_PREFIXES = ("/api/v2/",)
ENDPOINTS_MD = "usaspending_api/api_docs/markdown/endpoints.md"
# This should match stuff... | {
"pile_set_name": "Github"
} |
/////////////////////////////////////////////////////////////////////////////
// Name: wx/xrc/xh_notbk.h
// Purpose: XML resource handler for wxNotebook
// Author: Vaclav Slavik
// RCS-ID: $Id: xh_notbk.h 53135 2008-04-12 02:31:04Z VZ $
// Copyright: (c) 2000 Vaclav Slavik
// Licence: wxWindo... | {
"pile_set_name": "Github"
} |
{
"openapi": "3.0.1",
"info": {
"title": "Model Reader API",
"description": "This is an API created by the Model Reader.",
"contact": {
"name": "API Support",
"url": "http://www.example.com/support",
"email": "support@example.com"
},
"version": "1.17"
},
"paths": {}
}
| {
"pile_set_name": "Github"
} |
/**
* The MIT License
*
* Copyright (c) justanimate
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modif... | {
"pile_set_name": "Github"
} |
/*********************************************************************************
* (Create a binary data file) Write a program to create a file named *
* Exercise17_02.dat if it does not exist. Append new data to it if it already *
* exists. Write 100 integers created randomly into the file using binar... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.