text stringlengths 2 99.9k | meta dict |
|---|---|
#ifndef MINIOS_XENBUS_H__
#define MINIOS_XENBUS_H__
#include <xen/io/xenbus.h>
#include <mini-os/waittypes.h>
#include <mini-os/queue.h>
#include <mini-os/spinlock.h>
typedef unsigned long xenbus_transaction_t;
#define XBT_NIL ((xenbus_transaction_t)0)
/* Initialize the XenBus system. */
void init_xenbus(void);
/* ... | {
"pile_set_name": "Github"
} |
import "js/phantomjs/test-case.jsx";
import "js/phantomjs.jsx";
class _Test extends PhantomTestCase {
function testPhantom() : void {
this.expect(phantom.version.major, 'phantom.version.major').toBeGE(1);
this.expect(phantom.version.minor, 'phantom.version.minor').toBeGE(0);
this.expect(phantom.version.p... | {
"pile_set_name": "Github"
} |
import tensorflow as tf
import math
class Vis_lstm_model:
def init_weight(self, dim_in, dim_out, name=None, stddev=1.0):
return tf.Variable(tf.truncated_normal([dim_in, dim_out], stddev=stddev/math.sqrt(float(dim_in))), name=name)
def init_bias(self, dim_out, name=None):
return tf.Variable(tf.zeros([dim_out]), ... | {
"pile_set_name": "Github"
} |
---
title: Help & Questions
type: index
weight: 5
---
Join the chat room on [Gitter](https://gitter.im/Laradock/laradock) and get help and support from the community.
You can as well can open an [issue](https://github.com/laradock/laradock/issues) on Github (will be labeled as Question) and discuss it with people on ... | {
"pile_set_name": "Github"
} |
{
"timeStamp": 1566347101850,
"date": "2019-08-21",
"name": "Ezhikkara Grama Panchayat, Ernakulam District",
"district": "Ernakulam",
"block": "Paravur",
"area": "15.27km",
"localbody_code": "G070103",
"no_of_wards": 14,
"population": 17201,
"male": 8447,
"female": 8754,
... | {
"pile_set_name": "Github"
} |
package com.macro.mall.dao;
import com.macro.mall.dto.PmsProductCategoryWithChildrenItem;
import java.util.List;
/**
* 商品分类自定义Dao
* Created by macro on 2018/5/25.
*/
public interface PmsProductCategoryDao {
/**
* 获取商品分类及其子分类
*/
List<PmsProductCategoryWithChildrenItem> listWithChildren();
}
| {
"pile_set_name": "Github"
} |
module.exports = [
{
description: 'transpiles a class declaration',
options: { namedFunctionExpressions: false },
input: `
class Foo {
constructor ( answer ) {
this.answer = answer;
}
}`,
output: `
var Foo = function ( answer ) {
this.answer = answer;
};`
},
{
description: '... | {
"pile_set_name": "Github"
} |
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Formatting;
namespace RefactoringEssentials.CSharp.CodeRefactorings
{
[ExportCodeRefactoringProvid... | {
"pile_set_name": "Github"
} |
---
sidebarDepth: 3
sidebar: auto
---
# Tight Layout guide
How to use tight-layout to fit plots within your figure cleanly.
*tight_layout* automatically adjusts subplot params so that the
subplot(s) fits in to the figure area. This is an experimental
feature and may not work for some cases. It only checks the extent... | {
"pile_set_name": "Github"
} |
# Please note that this is only a sample, we recommend you to change it to fit
# your needs.
# You should override this file using a post-build script.
# See http://buildroot.org/manual.html#rootfs-custom
# and http://elinux.org/RPiconfig for a description of config.txt syntax
# We always use the same names, the real ... | {
"pile_set_name": "Github"
} |
{
"word": "Caption",
"definitions": [
"A title or brief explanation accompanying an illustration, cartoon, or poster.",
"A piece of text appearing on a cinema or television screen as part of a film or broadcast.",
"The heading of a legal document."
],
"parts-of-speech": "Noun"
} | {
"pile_set_name": "Github"
} |
#load-save.modal.fade.gl_keep(tabindex="-1" role="dialog")
.modal-dialog.modal-lg
.modal-content
.modal-header
h5.modal-title Load and save editor text
button.close(type="button" data-dismiss="modal" aria-hidden="true" aria-label="Close")
span(aria-hidden="true")
| &tim... | {
"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"
} |
The steps to get this Core project working are:
1. Create a ViewModels folder and add a ViewModel:
public class FirstViewModel : Cirrious.MvvmCross.ViewModels.MvxViewModel
{
public string Hello { get { return "Hello MvvmCross"; } }
}
2. Add an App.cs class - in it place the code to start the app... | {
"pile_set_name": "Github"
} |
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: Program.java
package acm.program;
import java.awt.*;
import java.awt.event.ComponentEvent;
// Referenced classes of package acm.progra... | {
"pile_set_name": "Github"
} |
Open J
======
Not actively maintained
-----------------------
OpenJ is not very actively maintained. Please see: http://www.jsoftware.com/source.htm and https://github.com/iocane/unbox for alternatives.
About
-----
From [jsoftware.com] [jsw]
> J is a modern, high-level, general-purpose, high-performance
> programm... | {
"pile_set_name": "Github"
} |
Object.defineProperty (module.exports, "__esModule", { value: true });
module.exports.Context3DCompareMode = module.exports.default = {
ALWAYS: "always",
EQUAL: "equal",
GREATER: "greater",
GREATER_EQUAL: "greaterEqual",
LESS: "less",
LESS_EQUAL: "lessEqual",
NEVER: "never",
NOT_EQUAL: "notEqual"
}; | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright 2017 Bstek
*
* 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/l... | {
"pile_set_name": "Github"
} |
#include <assert.h>
#include <pb_decode.h>
#include <string.h>
#include <stdio.h>
#include "test_helpers.h"
#include "anytest.pb.h"
#include "google/protobuf/duration.pb.h"
int main()
{
BaseMessage msg = BaseMessage_init_zero;
uint8_t buffer[256];
pb_istream_t stream;
size_t count;
bool status;
... | {
"pile_set_name": "Github"
} |
'use strict'
module.exports = writeFile
module.exports.sync = writeFileSync
module.exports._getTmpname = getTmpname // for testing
module.exports._cleanupOnExit = cleanupOnExit
var fs = require('graceful-fs')
var MurmurHash3 = require('imurmurhash')
var onExit = require('signal-exit')
var path = require('path')
var ac... | {
"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"
} |
package com.dslplatform.json.generated.ocd.javaasserts;
import org.junit.Assert;
public class MoneyAsserts {
static void assertSingleEquals(final String message, final java.math.BigDecimal expected, final java.math.BigDecimal actual) {
try {
expected.setScale(2);
}
catch (final ArithmeticException e) {
A... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of the Dektrium project
*
* (c) Dektrium project <http://github.com/dektrium>
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace dektrium\user\clients;
use yii\authclient\clients\Twitter as... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 5bedcafb25855d84394b9b7eb5869bc4
timeCreated: 1465480747
licenseType: Pro
ModelImporter:
serializedVersion: 19
fileIDToRecycleName:
100000: Controls
100002: //RootNode
100004: Eyes
100006: Head
100008: HeadEnd
100010: LeftArm
100012: LeftEar
100014: LeftEar... | {
"pile_set_name": "Github"
} |
Aggregation Examples
====================
There are several methods of performing aggregations in MongoDB. These
examples cover the new aggregation framework, using map reduce and using the
group method.
.. testsetup::
from pymongo import MongoClient
client = MongoClient()
client.drop_database('aggregation_ex... | {
"pile_set_name": "Github"
} |
<html>
<head>
<style>
.d {
height:10em;
border:75px solid #CCC;
}
</style>
</head>
<body>
<ul class="d">
<li>a</li>
</ul>
</body>
</html>
| {
"pile_set_name": "Github"
} |
-----BEGIN CERTIFICATE-----
MIIDWjCCAwWgAwIBAgIBATAMBggqhkjOPQQDAQUAMFAxCzAJBgNVBAYTAkRFMQ0w
CwYDVQQKDARidW5kMQwwCgYDVQQLDANic2kxDTALBgNVBAUTBDQ1NjcxFTATBgNV
BAMMDGNzY2EtZ2VybWFueTAeFw0wNzA3MTkxNTI3MThaFw0yODAxMTkxNTE4MDBa
MFAxCzAJBgNVBAYTAkRFMQ0wCwYDVQQKDARidW5kMQwwCgYDVQQLDANic2kxDTAL
BgNVBAUTBDQ1NjcxFTATBgNVBAMMDGNz... | {
"pile_set_name": "Github"
} |
<div class="apiDetail">
<div>
<h2><span>String</span><span class="path">setting.async.</span>type</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>Http request tyoe in ajax. It is va... | {
"pile_set_name": "Github"
} |
{
appid: '0',
description: '${description}',
projectname: '${projectName}',
_ttEnv: {
appid: '体验appId',
setting: {
urlCheck: true,
es6: true,
postcss: true,
minified: true,
newFeature: true
}
}
}
| {
"pile_set_name": "Github"
} |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Product\Types;
/**
*
* @property \DTS\eBaySDK\Product\Types\StringValue $text
* @proper... | {
"pile_set_name": "Github"
} |
<template>
<div><x-child-rendered-throw></x-child-rendered-throw></div>
</template> | {
"pile_set_name": "Github"
} |
import styled from 'styles/styled-components';
const AtPrefix = styled.span`
color: black;
margin-left: 0.4em;
`;
export default AtPrefix;
| {
"pile_set_name": "Github"
} |
require 'tzinfo/timezone_definition'
module TZInfo
module Definitions
module Atlantic
module South_Georgia
include TimezoneDefinition
timezone 'Atlantic/South_Georgia' do |tz|
tz.offset :o0, -8768, 0, :LMT
tz.offset :o1, -7200, 0, :GST
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2017-2020, NVIDIA CORPORATION. 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
*
* Unles... | {
"pile_set_name": "Github"
} |
448
| {
"pile_set_name": "Github"
} |
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x188
RenderBlock {HTML} at (0,0) size 800x188
RenderBody {BODY} at (8,8) size 784x172
RenderBlock (anonymous) at (0,0) size 784x18
RenderInline {DIV} at (0,0) size 528x16 [color=#FFFFFF] [bgcolor=#FF0000]
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Author</key>
<string>igoraksenov</string>
<key>CodecID</key>
<integer>1634</integer>
<key>CodecName</key>
<string>ALC662</string>
<key>Fi... | {
"pile_set_name": "Github"
} |
import FWCore.ParameterSet.Config as cms
process = cms.Process("analysis")
process.load("FWCore.MessageService.MessageLogger_cfi")
process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(10)
process.load('Configuration.StandardSequences.Services_cff')
process.load('Configuration.StandardSequences.Fronti... | {
"pile_set_name": "Github"
} |
var convert = require('./convert'),
func = convert('invert', require('../invert'));
func.placeholder = require('./placeholder');
module.exports = func;
| {
"pile_set_name": "Github"
} |
<?php
namespace Oro\Bundle\LocaleBundle\Migrations\Schema\v1_1;
use Doctrine\DBAL\Schema\Schema;
use Oro\Bundle\EntityExtendBundle\EntityConfig\ExtendScope;
use Oro\Bundle\EntityExtendBundle\Extend\RelationType;
use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtension;
use Oro\Bundle\EntityExtendBundle\M... | {
"pile_set_name": "Github"
} |
package com.muses.taoshop;
import java.lang.ref.SoftReference;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
* <pre>
* ThreadLocal测试类
* </pre>
*
* @author nicky
* @version 1.00.0... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "Test.h"
#include "SkBlurMaskFilter.h"
#include "SkCanvas.h"
#include "SkMath.h"
#include "SkPaint.h"
#include "SkRandom.h"
/////////////////////////////////////////... | {
"pile_set_name": "Github"
} |
//
// ExpireCache.h
//
// Library: Foundation
// Package: Cache
// Module: ExpireCache
//
// Definition of the ExpireCache class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef Foundation_ExpireCache_INCLUDED
#define Fou... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2020, Intel Corporation
#
# 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, modify, merge, publish, ... | {
"pile_set_name": "Github"
} |
/*!
* Copyright 2018
*/
#include <xgboost/linear_updater.h>
#include <dmlc/registry.h>
#include "./param.h"
namespace dmlc {
DMLC_REGISTRY_ENABLE(::xgboost::LinearUpdaterReg);
} // namespace dmlc
namespace xgboost {
LinearUpdater* LinearUpdater::Create(const std::string& name, GenericParameter const* lparam) {
... | {
"pile_set_name": "Github"
} |
AX25 is Andes CPU IP to adopt RISC-V architecture.
Features
========
CPU Core
- 5-stage in-order execution pipeline
- Hardware Multiplier
- radix-2/radix-4/radix-16/radix-256/fast
- Hardware Divider
- Optional branch prediction
- Machine mode and optional user mode
- Optional performance monitoring
ISA
- RV... | {
"pile_set_name": "Github"
} |
//==- HexagonInstrFormatsV4.td - Hexagon Instruction Formats --*- tablegen -==//
//
// 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"
} |
<?php
/**
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Unknown default region, use the first alphabetically.
*/
return require __DIR__... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/memblock.h>
static u64 patterns[] __initdata = {
/* The first entry has to be 0 to leave memtest with zeroed memory */
0,
0xffffffffffffffffULL,
0x5555555555555555ULL,
0xaaaaaaaaaaaaaaaaU... | {
"pile_set_name": "Github"
} |
/* (c) 2002-2003 by Marcin Wiacek and Michal Cihar */
#include <gammu-error.h>
#include <gammu-statemachine.h>
#include "common.h"
typedef enum {
H_Call = 1,
H_SMS,
H_Memory,
H_Filesystem,
H_Logo,
H_Ringtone,
H_Calendar,
H_ToDo,
H_Note,
H_DateTime,
H_Category,
H_Tests,
#ifdef GSM_ENABLE_BACKUP
H_Backup,... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Mirakel is an Android App for managing your ToDo-Lists
*
* Copyright (c) 2013-2015 Anatolij Zelenin, Georg Semmler.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the ... | {
"pile_set_name": "Github"
} |
/*
* Shared Atheros AR9170 Header
*
* RX/TX meta descriptor format
*
* Copyright 2008, Johannes Berg <johannes@sipsolutions.net>
* Copyright 2009-2011 Christian Lamparter <chunkeey@googlemail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General P... | {
"pile_set_name": "Github"
} |
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex ch... | {
"pile_set_name": "Github"
} |
#!/bin/bash
#
# Jobscript for launching dcmip2012 test2-1 on the NERSC Cori machine
#
# usage: sbatch jobscript-...
#SBATCH -J d21-preqx # job name
#SBATCH -o out_dcmip2-1.o%j # output and error file name (%j expands to jobID)
#SBATCH -n 192 # total number of mpi tasks requested
#SBATCH -p ... | {
"pile_set_name": "Github"
} |
var pluginPath = [[NSBundle mainBundle] bundlePath] + "/Export for Origami.sketchplugin";
var pluginCode = [NSString stringWithContentsOfFile:pluginPath
encoding:NSUTF8StringEncoding
error:nil];
// Feed in script directly due to sa... | {
"pile_set_name": "Github"
} |
'use strict'
require('./check-versions')()
process.env.NODE_ENV = 'production'
const ora = require('ora')
const rm = require('rimraf')
const path = require('path')
const chalk = require('chalk')
const webpack = require('webpack')
const config = require('../config')
const webpackConfig = require('./webpack.prod.conf')... | {
"pile_set_name": "Github"
} |
Efektīvs reklāmu bloķētājs: nepārslogo procesoru un atmiņu, un var ielādēt un pielietot tūkstošiem filtru vairāk nekā citi populāri bloķētāji.
Ilustrēts apskats par tā efektivitāti: https://github.com/uBlockAdmin/uBlock/wiki/uBlock-vs.-ABP :-Efficiency-compared
Izmantošana: nospiediet lielo pogu uznirstošajā logā, la... | {
"pile_set_name": "Github"
} |
class MessagesController < ApplicationController
before_action :set_message, only: %i[destroy update]
before_action :authenticate_user!, only: %i[create]
include MessagesHelper
def create
@message = Message.new(message_params)
@message.user_id = session_current_user_id
@temp_message_id = (0...20).m... | {
"pile_set_name": "Github"
} |
apiVersion: kafka.banzaicloud.io/v1beta1
kind: KafkaCluster
metadata:
finalizers:
- finalizer.kafkaclusters.kafka.banzaicloud.io
- topics.kafkaclusters.kafka.banzaicloud.io
- users.kafkaclusters.kafka.banzaicloud.io
generation: 4
labels:
argocd.argoproj.io/instance: kafka-cluster
controller-tools.k8... | {
"pile_set_name": "Github"
} |
//
// NSFileHandle+Additions.m
// gitty
//
// Created by brandon on 10/15/12.
//
//
#import "NSFileHandle+Additions.h"
@implementation NSFileHandle (Additions)
- (NSString *) readLine
{
NSData * newLineData = [@"\n" dataUsingEncoding:NSASCIIStringEncoding];
NSMutableData * currentData = [[[NSMutableData a... | {
"pile_set_name": "Github"
} |
class UmpleToRuby {
attribute_GetDefaultedCodeInjection <<!<</*attribute_GetDefaultedCodeInjection*/>>
def <<=gen.translate("getDefaultMethod",av)>>
<<# if (customGetDefaultPrefixCode != null) { append(realSb, "\n{0}",GeneratorHelper.doIndent(customGetDefaultPrefixCode, " ")); } #>>
<<=gen.translate("p... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright (c) 2012 VMware, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at... | {
"pile_set_name": "Github"
} |
/**
* @file src/fileinfo/file_presentation/getters/iterative_getter/iterative_simple_getter/iterative_simple_getter.h
* @brief Definition of IterativeSimpleGetter class.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#ifndef FILEINFO_FILE_PRESENTATION_GETTERS_ITERATIVE_GETTER_ITERATIVE_SIM... | {
"pile_set_name": "Github"
} |
{
"name": "DWM rob",
"author": "",
"color": [
"#151515",
"#bf7979",
"#97b26b",
"#cdcda1",
"#4a5463",
"#9c3885",
"#88aadd",
"#ffffff",
"#505450",
"#f4a45f",
"#c5f779",
"#ffffaf",
"#7d8794",
"#e628ba",
"#99ccff",
"#dedede"
],
"foreground": "#ffffff... | {
"pile_set_name": "Github"
} |
require 'rubygems'
require 'tach'
key = 'Content-Length'
value = '100'
Tach.meter(1_000) do
tach('concat') do
temp = ''
temp << key << ': ' << value << "\r\n"
end
tach('interpolate') do
"#{key}: #{value}\r\n"
end
end
# +-------------+----------+
# | tach | total |
# +-------------+------... | {
"pile_set_name": "Github"
} |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0 */
/*
* es8328.h -- ES8328 ALSA SoC Audio driver
*/
#ifndef _ES8328_H
#define _ES8328_H
#include <linux/regmap.h>
struct device;
extern const struct regmap_config es8328_regmap_config;
int es8328_probe(struct device *dev, struct regmap *regmap);
#define ES8328_DACLVOL 46
#de... | {
"pile_set_name": "Github"
} |
function testInterpreterReentry2() {
var a = false;
var b = {};
var c = false;
var d = {};
this.__defineGetter__('e', function(){});
for (let f in this) print(f);
[1 for each (g in this) for each (h in [])]
return 1;
}
assertEq(testInterpreterReentry2(), 1);
| {
"pile_set_name": "Github"
} |
// Copyright (c) 2016 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 <string>
#include "net/third_party/quiche/src/quic/core/frames/quic_goaway_frame.h"
namespace quic {
QuicGoAwayFrame::QuicGoAwayFrame(Quic... | {
"pile_set_name": "Github"
} |
/**
@author Dustin Neß (dness.de)
*/
func Definition(proplist def)
{
def.MeshTransformation = Trans_Scale(60);
}
public func Construction()
{
SetProperty("MeshTransformation", Trans_Mul(Trans_Rotate(RandomX(-35, 35),0, 10), GetID().MeshTransformation));
}
| {
"pile_set_name": "Github"
} |
lines columns q-benchmark-3.7.9_mean q-benchmark-3.7.9_stddev
1 1 0.08099310398101807 0.001417385651688644
10 1 0.0822291374206543 0.0014809900020001858
100 1 0.08169686794281006 0.002108157069167563
1000 1 0.08690853118896484 0.0012595326919263487
10000 1 0.12215542793273926 0.0020152625320395434
100000 1 0.4825761795... | {
"pile_set_name": "Github"
} |
//
// Copyright (c) 2000-2002
// Joerg Walter, Mathias Koch
//
// 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)
//
// The authors gratefully acknowledge the support of
// GeNeSys mbH & Co. KG in producing t... | {
"pile_set_name": "Github"
} |
#ifndef _WINPERF_H
#define _WINPERF_H
#ifdef __cplusplus
extern "C" {
#endif
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4820)
#endif
#define PERF_DATA_VERSION 1
#define PERF_DATA_REVISION 1
#define PERF_NO_INSTANCES -1
#define PERF_SIZE_DWORD 0
#define PERF_SIZE_LARGE 256
#define PERF_SIZE_ZERO 512
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xm... | {
"pile_set_name": "Github"
} |
/*
---------------------------------------------------------------------------
Open Asset Import Library (assimp)
---------------------------------------------------------------------------
Copyright (c) 2006-2015, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
w... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8" ?>
<screenplay xmlns="urn:screenplay">
<path id="check">
<moveTo x="20" y="50" />
<quadTo x1="40" y1="70" x2="40" y2="77" />
<quadTo x1="45" y1="55" x2="75" y2="30" />
</path>
<roundRect id="frame"
left="3" top="3" right="97" bottom="97"
... | {
"pile_set_name": "Github"
} |
name: hrtimer_start
ID: 93
format:
field:unsigned short common_type; offset:0; size:2; signed:0;
field:unsigned char common_flags; offset:2; size:1; signed:0;
field:unsigned char common_preempt_count; offset:3; size:1; signed:0;
field:int common_pid; offset:4; size:4; signed:1;
field:void * hrtimer; offset:8; siz... | {
"pile_set_name": "Github"
} |
//
// STMAssembleMaker.h
// HomePageTest
//
// Created by DaiMing on 16/5/31.
// Copyright © 2016年 Starming. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "STMPartView.h"
@class STMAssembleView;
typedef NS_ENUM(NSUInteger, STMAssembleAlignment) {
STMAssembleAlignmentCenter,
STMAssembl... | {
"pile_set_name": "Github"
} |
cmake_minimum_required(VERSION 3.5)
project(AudioTK)
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMake)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set(ATK_VERSION 3.2.0)
set(ATK_CURRENTLY_BUILDING ON)
option(ENABLE_TESTS "Enable tests generation" ON)
option(ENABLE_PROFILE_INFO "Enable profile info" OFF)
option(ENABL... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<simple.com.demo.widgets.MultiImageView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="100dp"
android:background="#a5a5a5"
android:layout_marginTop="10dp"
/>
| {
"pile_set_name": "Github"
} |
{% extends "base.html" %}
{% block title %}
Edit "{{ course.title }}"
{% endblock %}
{% block content %}
<h1>Edit "{{ course.title }}"</h1>
<div class="module">
<h2>Course modules</h2>
<form action="" method="post">
{{ formset.as_p }}
{{ formset.management_form }}
... | {
"pile_set_name": "Github"
} |
/**
* Sinon.JS 1.12.2, 2015/09/10
*
* @author Christian Johansen (christian@cjohansen.no)
* @author Contributors: https://github.com/cjohansen/Sinon.JS/blob/master/AUTHORS
*
* (The BSD License)
*
* Copyright (c) 2010-2014, Christian Johansen, christian@cjohansen.no
* All rights reserved.
*
* Redistribution... | {
"pile_set_name": "Github"
} |
//---------------------------------------------------------------------
// <copyright file="ZipException.cs" company="Microsoft Corporation">
// Copyright (c) 1999, Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>
// Part of the Deployment Tools Foundation project.
// </summary>
//----... | {
"pile_set_name": "Github"
} |
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
... | {
"pile_set_name": "Github"
} |
/***********************************************************************
* Software License Agreement (BSD License)
*
* Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
* Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
*
* THE BSD LICENSE
*
* Redistribution an... | {
"pile_set_name": "Github"
} |
/****************************************************************************
* Driver for Solarflare network controllers and boards
* Copyright 2005-2006 Fen Systems Ltd.
* Copyright 2006-2012 Solarflare Communications Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the t... | {
"pile_set_name": "Github"
} |
0.0000005706416187587390041479624688455628 {omega[1]}
0.0000019133732731057715456866629595352879 {omega[2]}
0.0000053148568483405528785575373370490652 {omega[3]}
0.0000136025605957942838394422690533557257 {omega[4]}
0.0000323409098063415540837923127591001932 {omega[5]}
0.0000723600120301315709993875691639388... | {
"pile_set_name": "Github"
} |
opt.tau <- function(kappa.init=NULL, i=NULL, kappa=NULL, mode, fixedprior=NULL) {
if(mode=="Jeffreys") {
return(jeffreys(kappa.init))
}
if(mode=="Pooled") {
return(pooledvar(kappa,i))
}
if(mode=="Fixed") {
paramgroup <- which(kappa$covar$type==kappa$covar$type[i])
return(fixedprior[paramgroup... | {
"pile_set_name": "Github"
} |
/*
Copyright 2020 The Knative 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, soft... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1998, 2016, 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 Free ... | {
"pile_set_name": "Github"
} |
package gov.uspto.patent.doc.xml.fragments;
import static org.junit.Assert.*;
import java.util.List;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.DocumentHelper;
import org.junit.Test;
import gov.uspto.patent.InvalidDataException;
import gov.uspto.patent.model.CountryC... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* 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 l... | {
"pile_set_name": "Github"
} |
--- fpr/fpr.c.orig 1994-05-27 12:31:21 UTC
+++ fpr/fpr.c
@@ -45,6 +45,7 @@ static char sccsid[] = "@(#)fpr.c 8.1 (B
#endif /* not lint */
#include <stdio.h>
+#include <stdlib.h>
#define BLANK ' '
#define TAB '\t'
@@ -80,12 +81,13 @@ COLUMN *line;
int maxpos;
int maxcol;
-extern char *malloc();
-extern char ... | {
"pile_set_name": "Github"
} |
--TEST--
Test get_declared_interfaces() function : error conditions
--FILE--
<?php
/* Prototype : proto array get_declared_interfaces()
* Description: Returns an array of all declared interfaces.
* Source code: Zend/zend_builtin_functions.c
* Alias to functions:
*/
echo "*** Testing get_declared_interfaces() :... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2012 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | {
"pile_set_name": "Github"
} |
<view>
<view class="title text-center">basic</view>
<view class="text-left">text-left</view>
<view class="text-center">text-center</view>
<view class="text-right">text-right</view>
<view class="title">title</view>
<view class="border-basic">border-basic</view>
<view class="padding">padding</... | {
"pile_set_name": "Github"
} |
/*
* Marvell Wireless LAN device driver: WMM
*
* Copyright (C) 2011-2014, Marvell International Ltd.
*
* This software file (the "File") is distributed by Marvell International
* Ltd. under the terms of the GNU General Public License Version 2, June 1991
* (the "License"). You may use, redistribute and/or modif... | {
"pile_set_name": "Github"
} |
using System;
namespace LightningQueues.Storage
{
public interface IMessageStore : IDisposable
{
ITransaction BeginTransaction();
void CreateQueue(string queueName);
void StoreIncomingMessages(params Message[] messages);
void StoreIncomingMessages(ITransaction transaction, para... | {
"pile_set_name": "Github"
} |
"""Throughput server."""
import sys
from twisted.protocols.wire import Discard
from twisted.internet import protocol, reactor
from twisted.python import log
def main():
f = protocol.ServerFactory()
f.protocol = Discard
reactor.listenTCP(8000, f)
reactor.run()
if __name__ == '__main__':
main()
... | {
"pile_set_name": "Github"
} |
function obj = loadobj(s)
% LOADOBJ Initialize a DagNN object from a structure.
% OBJ = LOADOBJ(S) initializes a DagNN objet from the structure
% S. It is the opposite of S = OBJ.SAVEOBJ().
% If S is a string, initializes the DagNN object with data
% from a mat-file S. Otherwise, if S is an instance of `dagnn.... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.