text stringlengths 2 99.9k | meta dict |
|---|---|
/*
* MD5
* (C) 1999-2008 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#include <botan/md5.h>
#include <botan/loadstor.h>
#include <botan/rotate.h>
namespace Botan {
namespace {
/*
* MD5 FF Function
*/
inline void FF(u32bit& A, u32bit B, u32bit C, u32bit D, u32bit msg,
byte S, u3... | {
"pile_set_name": "Github"
} |
<HTML>
<HEAD>
<META Name="Generator" Content="Lotus Word Pro"></META>
<TITLE>RFP-0005 Services Framework Remote Administration (1999-09-17)</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<CENTER>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="719">
<TR>
<TD WIDTH="29%" ALIGN="LEFT" VALIGN="MIDDLE"> </TD>
<TD W... | {
"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"
} |
# Event 376 - Debugger_Intellisense_Menu_Filter
###### Version: 1
## Description
None
## Data Dictionary
|Standard Name|Field Name|Type|Description|Sample Value|
|---|---|---|---|---|
|TBD|Key|UInt32|None|`None`|
|TBD|TraceDescription|UnicodeString|None|`None`|
## Tags
* etw_level_Informational
* etw_opcode_Start
* ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
<article id="callout_tests" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Callout Tests</title>
... | {
"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"
} |
# -*- coding: utf-8 -*-
#
# SPDX-FileCopyrightText: © 2017 The glucometerutils Authors
# SPDX-License-Identifier: MIT
"""Driver for FreeStyle Libre devices.
Supported features:
- get readings (sensor, flash and blood glucose), including comments;
- get and set date and time;
- get serial number and softwar... | {
"pile_set_name": "Github"
} |
TIMESTAMP = 1591186952
SHA256 (rubygem/azure_mgmt_devtestlabs-0.18.1.gem) = 15e16bda310cc363dc4988d5c748f999e661a1f4f704dbf27b1d5d8d1013616f
SIZE (rubygem/azure_mgmt_devtestlabs-0.18.1.gem) = 154624
| {
"pile_set_name": "Github"
} |
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | {
"pile_set_name": "Github"
} |
/*
* This file is part of Flowplayer, http://flowplayer.org
*
* By: Anssi Piirainen, <support@flowplayer.org>
* Copyright (c) 2008-2011 Flowplayer Oy
* H.264 support by: Arjen Wagenaar, <h264@code-shop.com>
* Copyright (c) 2009 CodeShop B.V.
*
* Released under the MIT License:
* http://www.opensource.org/licen... | {
"pile_set_name": "Github"
} |
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
</Project>
| {
"pile_set_name": "Github"
} |
// +build !windows
/*
* Copyright (C) 2020 The "MysteriumNetwork/node" Authors.
*
* 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 3 of the License, or
* (at your option) an... | {
"pile_set_name": "Github"
} |
.class interface abstract Landroid/support/v4/app/NotificationCompat$NotificationCompatImpl;
.super Ljava/lang/Object;
# virtual methods
.method public abstract build(Landroid/support/v4/app/NotificationCompat$Builder;Landroid/support/v4/app/NotificationCompat$BuilderExtender;)Landroid/app/Notification;
.end method
... | {
"pile_set_name": "Github"
} |
/*!
* AngularJS Material Design
* https://github.com/angular/material
* @license MIT
* v1.2.1-master-19c6c75
*/
md-progress-linear.md-THEME_NAME-theme .md-container {
background-color: '{{primary-100}}'; }
md-progress-linear.md-THEME_NAME-theme .md-bar {
background-color: '{{primary-color}}'; }
md-progress-l... | {
"pile_set_name": "Github"
} |
/*
Application : Ring Lessons
Author : Mahmoud Fayed
Date : 2017.12.15
*/
? iswindows()
? islinux()
? ismacosx()
? ismsdos()
? iswindows64()
? isandroid()
cDir = currentdir()
? cDir
chdir("b:\ring")
? currentdir()
chdir(cDir)
? currentdir()
| {
"pile_set_name": "Github"
} |
/***************************************************************
【文件名】 setipwindow.h
【功能模块和目的】 设置服务端ip地址的窗口
【开发者及日期】 cnDengyu, 2020/04/29
【更改记录】 (若修改过则必需注明)
****************************************************************/
#ifndef SETIPWINDOW_H
#define SETIPWINDOW_H
#include <QMainWindow>
names... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright (c) 2000, 2014 QNX Software Systems and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available... | {
"pile_set_name": "Github"
} |
/*************************************************************************//**
*****************************************************************************
* @file test.c
* @brief TestA, TestB and TestC are procs for test
* @author Forrest Y. Yu
* @date 2011
*************************************************... | {
"pile_set_name": "Github"
} |
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
*
* 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
* righ... | {
"pile_set_name": "Github"
} |
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
... | {
"pile_set_name": "Github"
} |
#begin document (wb/sel/66/sel_6608); part 000
wb/sel/66/sel_6608 -1 0 [WORD] XX (TOP* - - - - * -
wb/sel/66/sel_6608 -1 1 [WORD] XX * - - - - * -
wb/sel/66/sel_6608 -1 2 [WORD] XX * - - - - * -
wb/sel/66/sel_6608... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: >
If the Initializer is present and v is undefined, the Initializer should be
evaluated and the result assigned to the target reference ("undefined"
property value... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 965efa32cf2345647a1c987546e08f86
timeCreated: 1459956391
licenseType: Store
ShaderImporter:
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
MobileBattleRoom_MapScripts:
def_scene_scripts
scene_script .InitializeMobileBattleRoom ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_FINISHED
def_callbacks
.InitializeMobileBattleRoom:
prioritysjump .InitializeAndPreparePokecenter2F
end
.DummyScene:
end
.InitializeAndPreparePokecenter2F:
setscene SCENE_... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: ba42c0991b6db0a44b0c52c18a4554b6
folderAsset: yes
timeCreated: 1486726501
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
import { createLocal } from '../create/local';
import { createUTC } from '../create/utc';
import { createInvalid } from '../create/valid';
import { isMoment } from './constructor';
import { min, max } from './min-max';
import { now } from './now';
import momentPrototype from './prototype';
function createUnix (input) ... | {
"pile_set_name": "Github"
} |
//
// SceneDelegate.swift
// FritzImageLabelingDemo
//
// Created by Steven Yeung on 10/23/19.
// Copyright © 2019 Fritz AI. All rights reserved.
//
import UIKit
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow?
func scene(_ scene: UIScene, willConnectTo session: UISceneSessio... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="DBMON HyperApp" />
<meta charset="utf-8">
<link href="../styles.css" rel="stylesheet" type="text/css" />
<title>dbmon (HyperApp)</title>
</head>
<body>
<div id="app"></div>
<script src="../lib/hyperapp.min.js"></script>
<script src="../ENV.js... | {
"pile_set_name": "Github"
} |
# md5 from https://pypi.python.org/pypi/pycli/json
md5 89c487e7c8068ce05d63394d2ae7ebad pyCLI-2.0.3.tar.gz
# Locally computed
sha256 bc53e6c5db031ae1c05d131641f153d22a201c5e82cc8c9324a945752efbb622 pyCLI-2.0.3.tar.gz
sha256 591490b2ef462a4ad2be1aae5dd47738cb17e191c82d3ba38c3ae906d288e6ba lib/cli/__init__.py
| {
"pile_set_name": "Github"
} |
import { Component } from '@angular/core';
@Component({
selector: 'app-counter-component',
templateUrl: './counter.component.html'
})
export class CounterComponent {
public currentCount = 0;
public incrementCounter() {
this.currentCount++;
}
}
| {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace PhpCsFixer;
/**
* File reader that unif... | {
"pile_set_name": "Github"
} |
// Copyright 2014 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.
#ifndef COMPONENTS_CAST_CHANNEL_CAST_AUTH_UTIL_H_
#define COMPONENTS_CAST_CHANNEL_CAST_AUTH_UTIL_H_
#include <string>
#include "base/memory/ref_counted.... | {
"pile_set_name": "Github"
} |
#!/bin/sh
# Tarsnap backup script
# Written by Tim Bishop, 2009.
# Directories to backup (relative to /)
DIRS="home root decrypted var/www etc/letsencrypt"
# Number of daily backups to keep
DAILY=7
# Number of weekly backups to keep
WEEKLY=3
# Which day to do weekly backups on
# 1-7, Monday = 1
WEEKLY_DAY=5
# Numb... | {
"pile_set_name": "Github"
} |
/** @file
PEI memory status code worker.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "StatusCodeHandlerPei.h"
/**
Create the first memory status code GUID'ed HOB as initialization for memory status code worker.
... | {
"pile_set_name": "Github"
} |
#include "graph.h"
#include "program.h"
#include "mesh.h"
#include "timers.h"
#include <cmath>
#include <time.h>
#include <sys/time.h>
#include "Thermal.h"
#include "../thermal/ParameterManager.h"
#include "../thermal/ParameterManagerMacros.h"
#include "MGParameterManager.h"
using namespace simit;
#define TPM MGPar... | {
"pile_set_name": "Github"
} |
//
// main.m
// Displaying Pins with Different Colors on a Map View
//
// Created by Vandad Nahavandipoor on 15/07/2011.
// Copyright 2011 Pixolity Ltd. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "Displaying_Pins_with_Different_Colors_on_a_Map_ViewAppDelegate.h"
int main(int argc, char *argv[])
{
... | {
"pile_set_name": "Github"
} |
#include "Etterna/Globals/global.h"
#include "X11Helper.h"
#include "RageUtil/Misc/RageLog.h"
#include "Etterna/Globals/ProductInfo.h"
#include "Etterna/Models/Misc/Preference.h"
#include "Etterna/Singletons/PrefsManager.h" // XXX: only used for m_bShowMouseCursor -aj
#include <X11/extensions/dpms.h>
#include <sys/ty... | {
"pile_set_name": "Github"
} |
package pointerstructure
import (
"sort"
)
// Sort does an in-place sort of the pointers so that they are in order
// of least specific to most specific alphabetized. For example:
// "/foo", "/foo/0", "/qux"
//
// This ordering is ideal for applying the changes in a way that ensures
// that parents are set first.
fu... | {
"pile_set_name": "Github"
} |
-- Remove Incorrect Aggro Text actions from EAI
DELETE FROM creature_ai_scripts WHERE action1_type=1 AND creature_id IN (203,1564,3198,16873,1097,2554,2587,8566);
-- Remove old Azgalor text
DELETE FROM creature_ai_texts WHERE `comment`=17842;
-- Remove old Rage Winterchill text
DELETE FROM creature_ai_texts WHERE `co... | {
"pile_set_name": "Github"
} |
import {ApiModelProperty} from '@nestjs/swagger';
export class JwtDto {
@ApiModelProperty()
expiresIn: number;
@ApiModelProperty()
accessToken: string;
@ApiModelProperty()
refreshToken: string;
}
| {
"pile_set_name": "Github"
} |
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | {
"pile_set_name": "Github"
} |
1 [intro]
1.1 [intro.scope]
1.2 [intro.refs]
1.3 [intro.defs]
1.3.1 [defns.argument]
1.3.2 [defns.cond.supp]
1.3.3 [defns.diagnostic]
1.3.4 [defns.dynamic.type]
1.3.5 [defns.ill.formed]
1.3.6 [defns.impl.defined]
1.3.7 [defns.impl.limits]
1.3.8... | {
"pile_set_name": "Github"
} |
{ config, lib, ... }:
with lib;
let
cfg = config.hardware.ksm;
in {
imports = [
(mkRenamedOptionModule [ "hardware" "enableKSM" ] [ "hardware" "ksm" "enable" ])
];
options.hardware.ksm = {
enable = mkEnableOption "Kernel Same-Page Merging";
sleep = mkOption {
type = types.nullOr types.int;... | {
"pile_set_name": "Github"
} |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"), require("../python/python"), require("../stex/stex"), requi... | {
"pile_set_name": "Github"
} |
// cgo -godefs types_aix.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build ppc,aix
package unix
const (
SizeofPtr = 0x4
SizeofShort = 0x2
SizeofInt = 0x4
SizeofLong = 0x4
SizeofLongLong = 0x8
PathMax = 0x3ff
)
type (
_C_short int16... | {
"pile_set_name": "Github"
} |
/*
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
#ifndef XmlRole_INCLUDED
#define XmlRole_INCLUDED 1
#include "xmltok.h"
#ifdef __cplusplus
extern "C" {
#endif
enum {
XML_ROLE_ERROR = -1,
XML_ROLE_NONE = 0,
XML_ROLE_XML_DECL,
XML_ROLE_INSTANCE_... | {
"pile_set_name": "Github"
} |
<?php declare(strict_types=1);
namespace Shopware\Development\Analyze\Test\PHPStan\Rules\Decoratable\_fixtures\DecoratableImplementsInterface;
interface DecoratableInterface
{
}
| {
"pile_set_name": "Github"
} |
"""
The httplib2 algorithms ported for use with requests.
"""
import re
import calendar
import time
from email.utils import parsedate_tz
from pip._vendor.requests.structures import CaseInsensitiveDict
from .cache import DictCache
from .serialize import Serializer
URI = re.compile(r"^(([^:/?#]+):)?(//([^/?#]*))?([^?... | {
"pile_set_name": "Github"
} |
/**
*
*/
package com.taobao.top.analysis.node;
import java.util.List;
import com.taobao.top.analysis.config.MasterConfig;
import com.taobao.top.analysis.node.job.Job;
import com.taobao.top.analysis.node.job.JobTask;
import com.taobao.top.analysis.node.job.JobTaskResult;
/**
* 任务导出管理类,支持任务输出结果报表,载入导出... | {
"pile_set_name": "Github"
} |
[HIMDBVersion]
2.0
[DATABASE_VERSION]
"2.3"
[SESSION_DETAILS]
""
[INFORMATION]
""
[GENERAL_DATA]
"{287A8023-99B5-49E1-A54E-4DDCA43D7959}MapCtrlECX_MAP_FIND_SYMBOL_LIST" ""
"{287A8023-99B5-49E1-A54E-4DDCA43D7959}MapCtrlViews" "0"
"{313F4FC1-6566-11D5-8BBE-0004E2013C71}CmdLineCtrlBatchFileName" ""
"{313... | {
"pile_set_name": "Github"
} |
///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2001, Eric D. Friedman All Rights Reserved.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foun... | {
"pile_set_name": "Github"
} |
package;
import js.Browser;
using StringTools;
// The keys for reading/writing preset settings in a URL query string
// These settings keys concern the name generator parameters and result filtering
@:enum abstract GeneratorSettingKey(String) from String to String {
var PRESET_WORD_KEY = "w";
var RESULT_WORD_KEY =... | {
"pile_set_name": "Github"
} |
void f() {}
void g() {}
| {
"pile_set_name": "Github"
} |
import JSONTree from '../../JsonTree'
import FileType from '../../FileType'
import TabSystem from '../../../TabSystem'
import LightningCache from '../../LightningCache'
import { IDisposable } from '../../../Types/disposable'
import { compare } from 'compare-versions'
import ProjectConfig from '../../../Project/Config'
... | {
"pile_set_name": "Github"
} |
---
title: "COR_TYPE_LAYOUT Structure"
ms.date: "03/30/2017"
api_name:
- "COR_TYPE_LAYOUT"
api_location:
- "mscordbi.dll"
api_type:
- "COM"
f1_keywords:
- "COR_TYPE_LAYOUT"
helpviewer_keywords:
- "COR_TYPE_LAYOUT structure [.NET Framework debugging]"
ms.assetid: 43a7addd-f25a-4049-9907-abec3eb17af2
topic... | {
"pile_set_name": "Github"
} |
See [](https://godoc.org/github.com/prometheus/client_golang/prometheus).
| {
"pile_set_name": "Github"
} |
/*===================================================================================
*
* Copyright (c) Userware/OpenSilver.net
*
* This file is part of the OpenSilver Runtime (https://opensilver.net), which is
* licensed under the MIT license: https://opensource.org/licenses/MIT
*
* As stated in t... | {
"pile_set_name": "Github"
} |
precision highp float;
#include <transform>
#include <particle-common>
#include <cc-local>
in vec3 a_position; // center position
in vec3 a_texCoord; // xy:vertex index,z:frame index
in vec3 a_texCoord1; // size
in vec3 a_texCoord2; // rotation
in vec4 a_color;
#if CC_USE_STRETCHED_BILLBOARD
in vec3 a_color1; /... | {
"pile_set_name": "Github"
} |
/* { dg-do run } */
#include <stdlib.h>
#include <openacc.h>
int i;
int
is_mapped (void *p, size_t n)
{
#if ACC_MEM_SHARED
return 1;
#else
return acc_is_present (p, n);
#endif
}
int main(void)
{
int j;
i = -1;
j = -2;
#pragma acc data copyin (i, j)
{
if (!is_mapped (&i, sizeof (i)) || !is_mapped (&... | {
"pile_set_name": "Github"
} |
# Event 31 - HbdrvIrpTag
###### Version: 1
## Description
None
## Data Dictionary
|Standard Name|Field Name|Type|Description|Sample Value|
|---|---|---|---|---|
|TBD|VolumeOffset|UInt64|None|`None`|
|TBD|Length|UInt32|None|`None`|
|TBD|Read|UInt8|None|`None`|
|TBD|Priority|UInt16|None|`None`|
|TBD|PartialBmpHit|UInt8... | {
"pile_set_name": "Github"
} |
#include "burger.h"
/********************************
Set the lock flag to a given handle and return the data pointer
********************************/
void *LockAHandle(void **TheHandle)
{
((MyHandle *)TheHandle)->Flags |= HANDLELOCK;
return *TheHandle;
}
| {
"pile_set_name": "Github"
} |
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
using Dapper;
using NzbDrone.Common.Extensions;
using NzbDrone.Common.Reflection;
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Datastore.Converters;
using NzbDrone.Core.Messaging.Events;
namespace NzbDrone.Core.Thing... | {
"pile_set_name": "Github"
} |
{
"name": "guzzle/service",
"description": "Guzzle service component for abstracting RESTful web services",
"homepage": "http://guzzlephp.org/",
"keywords": ["web service", "webservice", "REST", "guzzle"],
"license": "MIT",
"authors": [
{
"name": "Michael Dowling",
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.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"
} |
package org.test;
import loon.Session;
import loon.Stage;
public class SessionTest extends Stage {
@Override
public void create() {
Session session = Session.load("session_test");
int count = session.getInt("count", 0);
addLabel("你是第" + count + "次访问此Screen", 66, 66);
session.set("count", count += 1);
ses... | {
"pile_set_name": "Github"
} |
; BEGIN ISPPBUILTINS.ISS
//
// Inno Setup Preprocessor 5
//
// Copyright (C) 2001-2004 Alex Yackimoff. All Rights Reserved.
// Portions by Martijn Laan.
// http://ispp.sourceforge.net
//
// Inno Setup (C) 1997-2009 Jordan Russell. All Rights Reserved.
// Portions by Martijn Laan.
//
// $Id: ISPPBuiltins.iss,v 1.3 2010/... | {
"pile_set_name": "Github"
} |
/* ----------------------------------------------------------------------------
* ATMEL Microcontroller Software Support
* ----------------------------------------------------------------------------
* Copyright (c) 2009, Atmel Corporation
*
* All rights reserved.
*
* Redistribution and use in sou... | {
"pile_set_name": "Github"
} |
import React from 'react';
import PropTypes from 'prop-types';
import { get } from 'lodash';
import Response from './Response';
class Responses extends React.Component {
static propTypes = {
responses: PropTypes.arrayOf(PropTypes.object).isRequired,
};
render() {
const { responses } = this.props;
i... | {
"pile_set_name": "Github"
} |
<?php
/*
* Spring Signage Ltd - http://www.springsignage.com
* Copyright (C) 2015 Spring Signage Ltd
* (UserType.php)
*/
namespace Xibo\Entity;
use Xibo\Service\LogServiceInterface;
use Xibo\Storage\StorageServiceInterface;
/**
* Class UserType
* @package Xibo\Entity
*
*/
class UserType
{
use EntityTrait... | {
"pile_set_name": "Github"
} |
package(default_visibility = ["//visibility:public"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
"go_test",
)
go_library(
name = "go_default_library",
srcs = [
"doc.go",
"filter.go",
"mux.go",
"streamwatcher.go",
"until.go",
"watch.go",
... | {
"pile_set_name": "Github"
} |
// Copyright 2013 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.
// Adapted for dns package usage by Miek Gieben.
package dns
import "sync"
import "time"
// call is an in-flight or completed singleflight.Do call
type call... | {
"pile_set_name": "Github"
} |
TARGET = tremor-test
SOURCES = \
main.c \
bitwise.c \
block.c \
codebook.c \
floor0.c \
floor1.c \
framing.c \
info.c \
mapping0.c \
mdct.c \
registry.c \
res012.c \
sharedbook.c \
synthesis.c \
vorbisfile.c \
window.c
CFLAGS = -g -idirafter . -Wall -D_LOW_ACCURACY... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2017 优客服-多渠道客服系统
* Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.com>
*
* 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... | {
"pile_set_name": "Github"
} |
#ifndef _ASM_SOCKET_H
#define _ASM_SOCKET_H
#include <asm/sockios.h>
/* For setsockoptions(2) */
#define SOL_SOCKET 1
#define SO_DEBUG 1
#define SO_REUSEADDR 2
#define SO_TYPE 3
#define SO_ERROR 4
#define SO_DONTROUTE 5
#define SO_BROADCAST 6
#define SO_SNDBUF 7
#define SO_RCVBUF 8
#define SO_SNDBUFFORCE 32
#define... | {
"pile_set_name": "Github"
} |
/*
* drm_irq.c IRQ and vblank support
*
* \author Rickard E. (Rik) Faith <faith@valinux.com>
* \author Gareth Hughes <gareth@valinux.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Soft... | {
"pile_set_name": "Github"
} |
#!/bin/sh
set -e
#
# This script is meant for quick & easy install via:
# 'curl -sSL https://get.docker.com/ | sh'
# or:
# 'wget -qO- https://get.docker.com/ | sh'
#
# For test builds (ie. release candidates):
# 'curl -fsSL https://test.docker.com/ | sh'
# or:
# 'wget -qO- https://test.docker.com/ | sh'
#
# For... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.v7.widget.CardVie... | {
"pile_set_name": "Github"
} |
#include <algorithm>
#include <cmath>
#include <vector>
#include "caffe/layer.hpp"
#include "caffe/layers/lstm_layer.hpp"
namespace caffe {
template <typename Dtype>
__device__ Dtype sigmoid(const Dtype x) {
return Dtype(1) / (Dtype(1) + exp(-x));
}
template <typename Dtype>
__device__ Dtype tanh(const Dtype x) {... | {
"pile_set_name": "Github"
} |
import numpy as np
import torch
import torch.sparse
import torch.nn as nn
import torch.nn.functional as F
from utils import *
class AttentionPooling(nn.Module):
'''
Graph pooling layer implementing top-k and threshold-based pooling.
'''
def __init__(self,
in_features, # feature dimen... | {
"pile_set_name": "Github"
} |
#!/bin/sh -e
./configure \
--prefix=/usr \
--enable-cscope \
--enable-multibyte \
--with-ex-name=vim-ex \
--with-view-name=vim-view \
--disable-perlinterp \
--disable-pythoninterp \
--disable-rubyinterp \
--disable-netbeans \
--disable-gpm \
--disable-hangulinput \
--dis... | {
"pile_set_name": "Github"
} |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 782df8531fabddc4ea7773901c4b4e6b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
import Vue from 'vue';
let scrollBarWidth;
export default function() {
if (Vue.prototype.$isServer) return 0;
if (scrollBarWidth !== undefined) return scrollBarWidth;
const outer = document.createElement('div');
outer.className = 'el-scrollbar__wrap';
outer.style.visibility = 'hidden';
outer.style.width ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Resources">
<UniqueIdentifier>5c145889-00bb-46c0-b5f2-6a3c79eb517c</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpe... | {
"pile_set_name": "Github"
} |
define(["dojo/_base/lang", "./_base"], function(lang, validate){
validate.isValidIsbn = function(/* String */value) {
// summary:
// Validate ISBN-10 or ISBN-13 based on the length of value
// value: String
// An ISBN to validate
// returns: Boolean
var len, sum = 0, weight;
if(!lang.isString(value)){
value... | {
"pile_set_name": "Github"
} |
#!/usr/bin/perl
#
# hp3585b-control.pl
# version 0.8 -- 23 June 2003
#
# Basic control of HP 3585B Spectrum Analyzer
#
# Copyright 2003 by John R. Ackermann N8UR (jra@febo.com)
# Licensed under the GPL version 2 or later; see the file COPYING
# included with this distribution. I request, but do not require, that
#... | {
"pile_set_name": "Github"
} |
/*
CryptoJS v3.1.2
code.google.com/p/crypto-js
(c) 2009-2013 by Jeff Mott. All rights reserved.
code.google.com/p/crypto-js/wiki/License
*/
(function () {
// Shortcuts
var C = CryptoJS;
var C_lib = C.lib;
var Base = C_lib.Base;
var C_enc = C.enc;
var Utf8 = C_enc.Utf8;
var C_algo = C.... | {
"pile_set_name": "Github"
} |
'use strict';
/**
* MongoDB configuration using generators (with the help of co-mongo package).
* You can require this config file in your controllers and start using named collections directly.
* See /controllers directory for sample usage.
*/
var mongodb = require('mongodb'),
connect = mongodb.connect,
... | {
"pile_set_name": "Github"
} |
package edu.stanford.nlp.stats;
import junit.framework.TestCase;
/**
*
* @author lmthang
*
*/
public class DistributionTest extends TestCase {
public void testGetDistributionFromLogValues(){
Counter<String> c1 = new ClassicCounter<>();
c1.setCount("p", 1.0);
c1.setCount("q", 2.0);
c1.setCoun... | {
"pile_set_name": "Github"
} |
debug printing
printActivationsOf: aMethodObj
"Scan the heap printing the oops of any and all contexts that refer to anOop"
| oop |
<api>
oop := self firstAccessibleObject.
[oop = nil] whileFalse:
[((self isContextNonImm: oop)
and: [aMethodObj = (self fetchPointer: MethodIndex ofObject: oop)]) ifTrue:
[se... | {
"pile_set_name": "Github"
} |
// go generate gen.go
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
package ipv4
// Internet Control Message Protocol (ICMP) Parameters, Updated: 2013-04-19
const (
ICMPTypeEchoReply ICMPType = 0 // Echo Reply
ICMPTypeDestinationUnreachable ICMPType = 3 // Destination Unreachable
ICMPTypeRedirect ... | {
"pile_set_name": "Github"
} |
// Package S016 defines an Analyzer that checks for
// Schema including Set without TypeSet
package S016
import (
"go/ast"
"golang.org/x/tools/go/analysis"
"github.com/bflad/tfproviderlint/helper/terraformtype/helper/schema"
"github.com/bflad/tfproviderlint/passes/commentignore"
"github.com/bflad/tfproviderlint... | {
"pile_set_name": "Github"
} |
<template>
<div>
<span></span>
</div>
</template>
| {
"pile_set_name": "Github"
} |
.\" $OpenBSD: ssh-pkcs11-helper.8,v 1.3 2010/02/10 23:20:38 markus Exp $
.\"
.\" Copyright (c) 2010 Markus Friedl. All rights reserved.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this ... | {
"pile_set_name": "Github"
} |
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
// Copyright (C) 2010 Winch Gate Property Limited
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available... | {
"pile_set_name": "Github"
} |
/**
* Copyright IBM Corp. 2016, 2018
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
import {
StructuredListWrapper,
StructuredListHead,
StructuredListInput,
StructuredListBody,
StructuredL... | {
"pile_set_name": "Github"
} |
**string_decoder.js** (`require('string_decoder')`) from Node.js core
Copyright Joyent, Inc. and other Node contributors. See LICENCE file for details.
Version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the ... | {
"pile_set_name": "Github"
} |
import React from 'react'
import {Button, View, StyleSheet, Text} from 'react-native'
import Ionicons from 'react-native-vector-icons/Ionicons'
export default class SettingsScreen extends React.Component {
static navigationOptions = {
tabBarIcon: ({focused, tintColor}) => (
<Ionicons name={`ios-options${f... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2014 Advanced Micro Devices, Inc.
*
* 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, m... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.