text stringlengths 2 99.9k | meta dict |
|---|---|
// Copyright 2016 The TensorFlow Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy
// of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required ... | {
"pile_set_name": "Github"
} |
#version 450
layout (location = 0) in vec2 inUV0;
layout (binding = 1) uniform sampler2D diffuseMap;
layout (binding = 2) uniform sampler3D lutMap;
layout (binding = 3) uniform LutDebugBlock
{
float bias;
vec3 padding;
} uboLutDebug;
layout (location = 0) out vec4 outFragColor;
void main()
{
vec4 co... | {
"pile_set_name": "Github"
} |
///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentatio... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2008 [Sur http://expressica.com]
class CreateSimpleCaptchaData < ActiveRecord::Migration
def self.up
create_table :simple_captcha_data do |t|
t.string :key, :limit => 40
t.string :value, :limit => 6
t.timestamps
end
end
def self.down
drop_table :simple_captcha_data
... | {
"pile_set_name": "Github"
} |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<title>mod_info - Apache HTTP Server Version 2.4</title>
<link href="../style/css/manual-zip.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link h... | {
"pile_set_name": "Github"
} |
/*
* checklist.c -- implements the checklist box
*
* ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk)
* Stuart Herbert - S.Herbert@sheffield.ac.uk: radiolist extension
* Alessandro Rubini - rubini@ipvvis.unipv.it: merged the two
* MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com)
*
... | {
"pile_set_name": "Github"
} |
<?xml version='1.0' ?>
<Plugin id='31136'>
<Lp>Yes</Lp>
<Implant>Yes</Implant>
<Windows>
<!-- NT family -->
<Platform id='2'>
<Version major='*' minor='*'>
<File>banner_Implant9x.dll</File>
</Version>
</Platform>
<!-- 9x family -->
<Platform id='1'>
<Versi... | {
"pile_set_name": "Github"
} |
/**
* Copyright 2009-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | {
"pile_set_name": "Github"
} |
The XQuartz project is an open-source effort to develop a version of
the X.Org X Window System that runs on OS X. Together with supporting
libraries and applications, it forms the X11.app that Apple has shipped
with OS X since version 10.5.
| {
"pile_set_name": "Github"
} |
function [cm, cSq] = DiscreteFrechetDist(P,Q,dfcn)
% Calculates the discrete Frechet distance between curves P and Q
%
% [cm, cSq] = DiscreteFrechetDist(P,Q)
% [cm, cSq] = DiscreteFrechetDist(...,dfcn)
%
% P and Q are two sets of points that define polygonal curves with rows of
% vertices (data points) and colum... | {
"pile_set_name": "Github"
} |
{
"version": "2.0",
"service": "<p> AWS Mobile Service provides mobile app and website developers with capabilities required to configure AWS resources and bootstrap their developer desktop projects with the necessary SDKs, constants, tools and samples to make use of those resources. </p>",
"operations": {
"C... | {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2011-2014 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// 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 c... | {
"pile_set_name": "Github"
} |
#include <benchmark/benchmark.h>
#include <fp16.h>
#ifndef EMSCRIPTEN
#include <fp16/psimd.h>
#endif
#include <vector>
#include <random>
#include <chrono>
#include <functional>
#include <algorithm>
#if (defined(__i386__) || defined(__x86_64__)) && defined(__F16C__)
#include <immintrin.h>
#endif
#if defined(__ARM_... | {
"pile_set_name": "Github"
} |
`protect begin_protected
`protect version = 1
`protect encrypt_agent = "XILINX"
`protect encrypt_agent_info = "Xilinx Encryption Tool 2014"
`protect key_keyowner = "Cadence Design Systems.", key_keyname= "cds_rsa_key", key_method = "rsa"
`protect encoding = (enctype = "BASE64", line_length = 76, bytes = 64)
`protect ke... | {
"pile_set_name": "Github"
} |
DROP TABLE IF EXISTS t1;
CREATE TABLE t1(c1 BIT NULL);
SHOW TABLES;
Tables_in_test
t1
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`c1` bit(1) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=latin1
ALTER TABLE t1 MODIFY c1 BIT NOT NULL;
SHOW TABLES;
Tables_in_test
t1
SHOW CREATE TABLE t1;
Table Create... | {
"pile_set_name": "Github"
} |
/**
* @description <p>Provides a fixed position unit containing a header, body and footer for use with a YAHOO.widget.Layout instance.</p>
* @namespace YAHOO.widget
* @requires yahoo, dom, element, event, layout
* @optional animation, dragdrop, selector
*/
(function() {
var Dom = YAHOO.util.Dom,
Sel = ... | {
"pile_set_name": "Github"
} |
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2013 David Boissier
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | {
"pile_set_name": "Github"
} |
import { helper } from '@ember/component/helper';
export default helper(function([value]) {
return value + 1;
});
| {
"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"
} |
// Copyright (C) 2017 Jérôme Leclercq
// This file is part of the "Nazara Engine - Graphics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Graphics/DeferredFinalPass.hpp>
#include <Nazara/Core/ParameterList.hpp>
#include <Nazara/Graphics/AbstractViewer.hpp>
#incl... | {
"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>BuildSystemType</key>
<string>Original</string>
</dict>
</plist>
| {
"pile_set_name": "Github"
} |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | {
"pile_set_name": "Github"
} |
package = "rpSem"
version = "alpha-1"
source = {
url = "",
}
description = {
summary = "Ray potential code",
detailed = [[
]],
homepage = "",
license = "MIT"
}
dependencies = {
"torch >= 7.0",
}
build = {
type = "command",
build_command = [[
cmake -E make_directory build && cd build && cm... | {
"pile_set_name": "Github"
} |
<template>
<div class="form__field">
<div class="form__label">
<strong>Please choose a color:</strong>
<v-swatches v-model="color" inline></v-swatches>
</div>
</div>
</template>
<script>
export default {
data() {
return {
color: null
}
}
}
</script>
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 1997-2017 Oracle and/or its affiliates. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Com... | {
"pile_set_name": "Github"
} |
package tc.oc.analytics;
import javax.inject.Inject;
public abstract class Metric {
@Inject protected AnalyticsClient driver;
private final String name;
Metric(String name) {
this.name = name;
}
public String name() {
return name;
}
}
| {
"pile_set_name": "Github"
} |
// license:BSD-3-Clause
// copyright-holders:Karl Stenerud
#ifndef MAME_CPU_M68000_M68000_H
#define MAME_CPU_M68000_M68000_H
#pragma once
// SoftFloat 2 lacks an include guard
#ifndef softfloat_h
#define softfloat_h 1
#include "softfloat/milieu.h"
#include "softfloat/softfloat.h"
extern flag floatx80_is_nan(floatx80 ... | {
"pile_set_name": "Github"
} |
//
// A stylesheet for use with Bootstrap 3.x
// @author: Dan Grossman http://www.dangrossman.info/
// @copyright: Copyright (c) 2012-2015 Dan Grossman. All rights reserved.
// @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
// @website: https://www.improvely.com/
//
//... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2108, Red Hat Inc. 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 Gene... | {
"pile_set_name": "Github"
} |
lf
lf
crlf
lf
lf
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2008 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"
} |
<resources>
<string name="under_construction">Under construction</string>
</resources>
| {
"pile_set_name": "Github"
} |
namespace FSharp.Editing
open System
open Microsoft.FSharp.Compiler.SourceCodeServices
type internal ShortIdent = string
type Idents = ShortIdent[]
type IsAutoOpen = bool
type ModuleKind = { IsAutoOpen: bool; HasModuleSuffix: bool }
type EntityKind =
| Attribute
| Type
| FunctionOrValue of isActivePatte... | {
"pile_set_name": "Github"
} |
<?php
namespace SaasOvation\Collaboration\Domain\Model\Calendar;
use SaasOvation\Common\Enum;
abstract class RepeatType extends Enum
{
public function isDaily()
{
return false;
}
public function isDoesNotRepeat()
{
return false;
}
public function isMonthly()
{
... | {
"pile_set_name": "Github"
} |
{
"rulesDirectory": [
"codelyzer"
],
"rules": {
"arrow-return-shorthand": true,
"callable-types": true,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"curly": true,
"deprecation": {
"severity": "warn"
},
"eofline": true,
"forin": true,... | {
"pile_set_name": "Github"
} |
package epayment.commands;
import epayment.framework.*;
/**
* The <code>SaleCommand</code> class is an
* <code>AbstractPaymentCommand</code> for authorizing
* and capturing a purchase in an
* atomic operation.
* <p>
* This class is strictly an example.
*
* @author <a href="mailto:mike@clarkware.com">Mike Clar... | {
"pile_set_name": "Github"
} |
## What You Will Learn during this Step:
- Create a REST Service for Retrieving all questions for a survey
- Autowire SurveyService
- Create @GetMapping("/surveys/{surveyId}/questions")
- Use @PathVariable String surveyId
- http://localhost:8080/surveys/Survey1/questions/
- How does the Bean get converted to a JSON... | {
"pile_set_name": "Github"
} |
/**
* 队列Queue
*
* 队列是一种先进先出(first in first out, FIFO)的线性表。它只允许在表的一端进行插入,而在另一端删除元素。
* 允许插入的一端叫队尾(rear),允许删除的一端叫队头(front)。
*/
// 链队列
export default class Queue {
constructor() {
this.rear = this.front = null;
this.size = 0;
}
isEmpty() {
return this.rear === null;
}
cle... | {
"pile_set_name": "Github"
} |
define([
'knockout',
'text!./panel.html',
'components/Component',
'utils/CommonUtils',
'less!./panel.less',
], function (
ko,
view,
Component,
commonUtils
) {
class Panel extends Component {
constructor(params) {
super(params);
this.title = params.title;
this.templateId = params.templateId;
this... | {
"pile_set_name": "Github"
} |
import unicodedata
import string
import re
SOS_token = 0
EOS_token = 1
class Lang:
def __init__(self, name):
self.name = name
self.word2index = {}
self.word2count = {}
self.index2word = {0: "SOS", 1: "EOS"}
self.n_words = 2 # Count SOS and EOS
def addSentence(self, ... | {
"pile_set_name": "Github"
} |
#ifndef S390_CIO_H
#define S390_CIO_H
#include <linux/mutex.h>
#include <linux/device.h>
#include <linux/mod_devicetable.h>
#include <asm/chpid.h>
#include <asm/cio.h>
#include <asm/fcx.h>
#include <asm/schid.h>
#include "chsc.h"
/*
* path management control word
*/
struct pmcw {
u32 intparm; /* interruption para... | {
"pile_set_name": "Github"
} |
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
//
// waiver file for keymgr
| {
"pile_set_name": "Github"
} |
--[[
Copyright (c) 2014, Paul Bernier
CASTL is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
CASTL is dist... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2017-2019 Hazuki
*
* 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... | {
"pile_set_name": "Github"
} |
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
"time"
)
// Includes information about the device.
type DeviceSummary struct {
// The ARN of the device.
DeviceArn *string
// The name of the device.
DeviceName *string
// The provider of the device.
ProviderName *string
// The type o... | {
"pile_set_name": "Github"
} |
/***
*
* Copyright (c) 1999, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* ... | {
"pile_set_name": "Github"
} |
/* crypto/txt_db/txt_db.h */
/* 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 no... | {
"pile_set_name": "Github"
} |
/*
* Camunda BPM REST API
* OpenApi Spec for Camunda BPM REST API.
*
* The version of the OpenAPI document: 7.13.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.camunda.consul... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_79) on Tue Jan 23 20:10:06 PST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.fa... | {
"pile_set_name": "Github"
} |
# coding: utf-8
"""
WALKOFF
An active cyber defense development framework enabling orchestration capabilities to be written once and deployed across WALKOFF-enabled orchestration tools. https://nsacyber.github.io/WALKOFF/ # noqa: E501
The version of the OpenAPI document: 0.9.1
Contact: walkoff@nsa.g... | {
"pile_set_name": "Github"
} |
// ***************************************************************************
// *
// * Copyright (C) 2010 International Business Machines
// * Corporation and others. All Rights Reserved.
// * Tool: com.ibm.icu.dev.tool.cldr.LDML2ICUConverter.java
// * Source File:<path>/common/main/gsw.xml
// *
// ****************... | {
"pile_set_name": "Github"
} |
#Requires -Version 3.0
Function Set-MSRCAdalAccessToken {
[CmdletBinding()]
Param()
Begin {}
Process {
$authority = 'https://login.windows.net/microsoft.onmicrosoft.com/'
$authContext = New-Object Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext($authority)
$rUri = New-Object Sy... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2010-2019 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | {
"pile_set_name": "Github"
} |
--TEST--
mcrypt_enc_get_modes_name
--SKIPIF--
<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
--FILE--
<?php
$td = mcrypt_module_open('rijndael-128', '', MCRYPT_MODE_ECB, '');
echo mcrypt_enc_get_modes_name($td) . "\n";
$td = mcrypt_module_open(MCRYPT_RIJNDAEL_128, '', MCRYPT_MODE_CBC, '');
echo mcrypt_enc_ge... | {
"pile_set_name": "Github"
} |
// Name: Transition
// Description: Utilities for transitions
//
// Component: `uk-transition-*`
//
// Modifiers: `uk-transition-fade`
// `uk-transition-scale-up`
// `uk-transition-scale-down`
// `uk-transition-slide-top-*`
// ... | {
"pile_set_name": "Github"
} |
.. BSD LICENSE
Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the ab... | {
"pile_set_name": "Github"
} |
@echo off
REM
REM Setup HQ on a system.
REM
IF "%OS%"=="Windows_NT" @setlocal
REM %~dp0 is expanded pathname of the current script under NT
SET INSTALL_DIR=%~dp0..
cd %INSTALL_DIR%
SET USE_BUILTIN_JRE=0
SET CLASSPATH=
SET HASJRE=
if exist "%INSTALL_DIR%\jres" goto haveBuiltinJRE
if not "%JAVA_HOME%"=="" goto haveJa... | {
"pile_set_name": "Github"
} |
/**
* \file
* \brief Use this file for quick parser tests on your machine.
*/
/*
* Copyright (c) 2011, ETH Zurich.
* All rights reserved.
*
* This file is distributed under the terms in the attached LICENSE file.
* If you do not find this file, copies can be found by writing to:
* ETH Zurich D-INFK, Universit... | {
"pile_set_name": "Github"
} |
// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s
func @main(tensor<4xf32>) -> tensor<4xf32> {
^bb0(%arg0: tensor<4xf32>):
// CHECK: {
// CHECK-NEXT: version: 3,
// CHECK-NEXT: operator_codes: [ {
// CHECK-NEXT: builtin_code: SQUARED_DIFFERENCE... | {
"pile_set_name": "Github"
} |
define( [ "./selector-sizzle" ], function() {
"use strict";
} );
| {
"pile_set_name": "Github"
} |
##/*************************************************************************************
## The MIT License
##
## BWA-MEM2 (Sequence alignment using Burrows-Wheeler Transform),
## Copyright (C) 2019 Intel Corporation, Heng Li.
##
## Permission is hereby granted, free of charge, to any ... | {
"pile_set_name": "Github"
} |
html {
font-family: "Roboto", sans-serif;
font-weight: normal;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
font-size: 12pt;
}
h1, h2, h3, h4, h5 {
color: #50483b;
font-weight: normal;
}
.code {
background-color: #f5f5f5;
font-family: Menlo,Monaco,Consol... | {
"pile_set_name": "Github"
} |
-- This component provides a memoized function for getting the C constant for Dota-style
-- pseudo-random distribution for any arbitrary target probability
-- Code based on code found here: https://gaming.stackexchange.com/questions/161430/calculating-the-constant-c-in-dota-2-pseudo-random-distribution
PrdCFinder = Pr... | {
"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"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<title>AnyStore Protocol Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer></script>
<s... | {
"pile_set_name": "Github"
} |
df.cisisu.edu.cn
zwb.cisisu.edu.cn
japanese.cisisu.edu.cn
job.cisisu.edu.cn
eed.cisisu.edu.cn
etd.cisisu.edu.cn
jcb.cisisu.edu.cn
faa.cisisu.edu.cn
jwxt.cisisu.edu.cn
www.cisisu.edu.cn
entd.cisisu.edu.cn
lib.cisisu.edu.cn
laborunion.cisisu.edu.cn
cyl.cisisu.edu.cn
uss.cisisu.edu.cn
xlzx.cisisu.edu.cn
pxb.cisisu.edu.cn
... | {
"pile_set_name": "Github"
} |
const mockCancelJob = jest.fn();
jest.mock("@aws-sdk/client-mediaconvert/commands/CancelJobCommand", () => ({
MediaConvert: function MediaConvert() {
this.CancelJobCommand = mockCancelJob;
},
}));
const { params, run } = require("../../mediaconvert/emc_canceljob");
//test function
test("has to mock mediaconver... | {
"pile_set_name": "Github"
} |
#!/bin/tclsh
source [file join $env(DOCUMENT_ROOT) config/easymodes/em_common.tcl]
source [file join $env(DOCUMENT_ROOT) config/easymodes/EnterFreeValue.tcl]
source [file join $env(DOCUMENT_ROOT) config/easymodes/etc/options.tcl]
source [file join $env(DOCUMENT_ROOT) config/easymodes/etc/hmip_helper.tcl]
source ... | {
"pile_set_name": "Github"
} |
package com.anxpp.designpattern.chainofresponsibility;
//第三个具体处理者,处理>=0但小于10的
public class Handler3 implements Handler {
private Handler next;
@Override
public int handleRequest(int n) {
if(n<=Integer.MAX_VALUE) return n;
else{
if(next==null)
throw new NullPointerException("next 不能为空");
retur... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/network/network_state.h"
#include <stdint.h>
#include <memory>
#include <utility>
#include "base/i18n/streaming_utf8_validator.h... | {
"pile_set_name": "Github"
} |
//
// Copyright 2015 The ANGLE 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.
//
// DifferentStencilMasksTest:
// Tests the equality between stencilWriteMask and stencilBackWriteMask.
//
#include "test_utils/ANGLETest.h"
#... | {
"pile_set_name": "Github"
} |
syntax = "proto3";
package merge;
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
message A {
B B = 1 [(gogoproto.nullable) = false];
}
message B {
int64 c = 1;
} | {
"pile_set_name": "Github"
} |
#pragma once
// adapter.c
typedef struct _DV_NETADAPTER_ID
{
NET_IFINDEX InterfaceIndex;
IF_LUID InterfaceLuid;
PPH_STRING InterfaceGuid;
PPH_STRING InterfaceDevice;
} DV_NETADAPTER_ID, *PDV_NETADAPTER_ID;
// ndis.c
#define BITS_IN_ONE_BYTE 8
#define NDIS_UNIT_OF_MEASUREMENT 100
//... | {
"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 applicable ... | {
"pile_set_name": "Github"
} |
{{/* vim: set filetype=mustache: */}}
{{/*
Expand the name of the chart.
*/}}
{{- define "traefik.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited ... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 12bdad0556e999f4aa82da29415d361f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
sha256:b92999a8d0a07f8f5ff6c6247fa93032debde4b2e5331a0313fcba5f4d4399bd
| {
"pile_set_name": "Github"
} |
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Text;
namespace Bill.Demo.IModuleServices.Users.Models
{
[ProtoContract]
public class AuthenticationRequestData
{
[ProtoMember(1)]
public string UserName { get; set; }
[ProtoMember(2)]
public str... | {
"pile_set_name": "Github"
} |
K 25
svn:wc:ra_dav:version-url
V 87
/svn/AveryPatch/!svn/ver/612/Trunk/Mobile%20Application/Source%20Code/MetriaApp/res/xml
END
plugins.xml
K 25
svn:wc:ra_dav:version-url
V 99
/svn/AveryPatch/!svn/ver/612/Trunk/Mobile%20Application/Source%20Code/MetriaApp/res/xml/plugins.xml
END
| {
"pile_set_name": "Github"
} |
<?php
require_once './includes/install.inc';
define('MAINTENANCE_MODE', 'install');
/**
* The Drupal installation happens in a series of steps. We begin by verifying
* that the current environment meets our minimum requirements. We then go
* on to verify that settings.php is properly configured. From there we
* ... | {
"pile_set_name": "Github"
} |
package search
// Copyright (c) Microsoft and contributors. 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
//
// Unle... | {
"pile_set_name": "Github"
} |
# terrascript/data/rundeck.py
__all__ = []
| {
"pile_set_name": "Github"
} |
'use strict';
var global = require('./_global')
, has = require('./_has')
, cof = require('./_cof')
, inheritIfRequired = require('./_inherit-if-required')
, toPrimitive = require('./_to-primitive')
, fails = require('./_fails')
, gOPN = ... | {
"pile_set_name": "Github"
} |
<?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup UnaTemplate UNA Template Classes
* @{
*/
/**
* @see BxDolAcl
*/
class BxTemplAcl extends BxBaseAcl
{
public function __construct()
{
... | {
"pile_set_name": "Github"
} |
package org.elmlang.intellijplugin.features.structure;
import com.intellij.ide.structureView.StructureViewTreeElement;
import com.intellij.ide.structureView.impl.common.PsiTreeElementBase;
import org.elmlang.intellijplugin.psi.ElmFile;
import org.elmlang.intellijplugin.psi.ElmValueDeclarationBase;
import org.elmlang.i... | {
"pile_set_name": "Github"
} |
/*
* 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, software
* distribut... | {
"pile_set_name": "Github"
} |
package com.thinkbiganalytics.feedmgr.support;
/*-
* #%L
* thinkbig-feed-manager-controller
* %%
* Copyright (C) 2017 ThinkBig Analytics
* %%
* 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 Licen... | {
"pile_set_name": "Github"
} |
// Base Class Definition
// -------------------------
.@{fa-css-prefix} {
display: inline-block;
font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration
font-size: inherit; // can't have font-size inherit on line above, so need to override
text-rendering: ... | {
"pile_set_name": "Github"
} |
//----------------------------------------------
// Flip Web Apps: Game Framework
// Copyright © 2016 Flip Web Apps / Mark Hewitt
//
// Please direct any bugs/comments/suggestions to http://www.flipwebapps.com
//
// The copyright owner grants to the end user a non-exclusive, worldwide, and perpetual license to this A... | {
"pile_set_name": "Github"
} |
// Copyright 2012 Google, Inc. All rights reserved.
// Copyright 2009-2011 Andreas Krennmair. 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.
package pcap
import (
"errors"
"fmt"
"io"
"net"
"os"
"re... | {
"pile_set_name": "Github"
} |
/*
* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Authors: Soeren Sonnenburg, Sergey Lisitsyn, Heiko Strathmann, Yuyu Zhang,
* Bjoern Esser, Saurabh Goyal
*/
#ifndef _HIERARCHICAL_H__
#define _HIERARCHICAL_H__
#include <shogun/lib/config.h>
#include <shogun/lib/commo... | {
"pile_set_name": "Github"
} |
xml.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8"
xml.feed "xml:lang" => "#{site.lang || 'en-US'}", "xmlns" => 'http://www.w3.org/2005/Atom' do
xml.title "#{site.title || 'Mephisto'} - #{@section ? @section.name : 'All'}#{' Comments' if @comments && @articles.nil?}"
xml.id "tag:#{request.host}... | {
"pile_set_name": "Github"
} |
import Button from '@material-ui/core/Button';
import React from 'react';
import Head from 'next/head';
const CSRPage = () => (
<div>
<Head>
<title>CSR page</title>
<meta name="description" content="This is a description of the CSR page" />
</Head>
<div style={{ padding: '0px 30px', fontSize:... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
#
# Public Domain 2014-2016 MongoDB, Inc.
# Public Domain 2008-2014 WiredTiger, Inc.
#
# This is free and unencumbered software released into the public domain.
#
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compil... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <U... | {
"pile_set_name": "Github"
} |
/* This file has been placed in the public domain. */
/* Do not edit or override these styles!
The system will likely break if you do. */
div#header, div#footer, div#controls, .slide {position: absolute;}
html>body div#header, html>body div#footer,
html>body div#controls, html>body .slide {position: fixed;}
.han... | {
"pile_set_name": "Github"
} |
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1260,6 +1260,7 @@ enum netdev_priv_flags {
IFF_XMIT_DST_RELEASE_PERM = 1<<22,
IFF_IPVLAN_MASTER = 1<<23,
IFF_IPVLAN_SLAVE = 1<<24,
+ IFF_NO_IP_ALIGN = 1<<25,
};
#define IFF_802_1Q_VLAN IFF_802_1Q_VLAN
@@ -1287,6 +1288,7 @@ enum netdev_p... | {
"pile_set_name": "Github"
} |
# Makefile for zlib. Modified for djgpp v2.0 by F. J. Donahoe, 3/15/96.
# Copyright (C) 1995-1998 Jean-loup Gailly.
# For conditions of distribution and use, see copyright notice in zlib.h
# To compile, or to compile and test, type:
#
# make -fmakefile.dj2; make test -fmakefile.dj2
#
# To install libz.a, zconf.h a... | {
"pile_set_name": "Github"
} |
///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentatio... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.