text stringlengths 2 99.9k | meta dict |
|---|---|
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package ipv4
func (f *sysICMPFilter) accept(typ ICMPType) {
f.Data &^= 1 << (uint32(typ) & 31)
}
func (f *sysICMPFilter) block(typ ICMPType) {
f.Data |= 1 <... | {
"pile_set_name": "Github"
} |
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package cpu
func doinit() {
ARM.HasSWP = isSet(hwCap, hwcap_SWP)
ARM.HasHALF = isSet(hwCap, hwcap_HALF)
ARM.HasTHUMB = isSet(hwCap, hwcap_THUMB)
ARM.Has26B... | {
"pile_set_name": "Github"
} |
// Copyright 2017 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, ... | {
"pile_set_name": "Github"
} |
Copyright 2012 Matt T. Proud (matt.proud@gmail.com)
| {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | {
"pile_set_name": "Github"
} |
// Copyright 2020 Google Inc. 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 by applicable la... | {
"pile_set_name": "Github"
} |
/*
Open Asset Import Library (assimp)
----------------------------------------------------------------------
Copyright (c) 2006-2017, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the
following conditions... | {
"pile_set_name": "Github"
} |
#
# Copyright (C) 2006-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
I2C_MENU:=I2C support
ModuleConfVar=$(word 1,$(subst :,$(space),$(1)))
ModuleFullPath=$(LINUX_DIR)/$(word 2,$(subst :,$(space),$(1))).ko
ModuleKconfig=$(foreach m... | {
"pile_set_name": "Github"
} |
[
{
"id": "dev_3213TGOhu0ea",
"status": "confirmed",
"type": "pn",
"name": "Nexus 5X",
"phone_number": null,
"identifier": "f491f858432059",
"enrolled_at": "2017-01-18T17:45:08.328Z",
"auth_method": "",
"last_auth": ""
},
{
"id": "dev_3213TGOhu0ea",
"status": "confirmed... | {
"pile_set_name": "Github"
} |
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>../../../../key.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</... | {
"pile_set_name": "Github"
} |
{
"word": "Yulan",
"definitions": [
"A Chinese magnolia with showy white flowers."
],
"parts-of-speech": "Noun"
} | {
"pile_set_name": "Github"
} |
# LedgerActionOutput
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**transaction_id** | **str** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to REA... | {
"pile_set_name": "Github"
} |
'use strict';
var processFn = function (fn, P, opts) {
return function () {
var that = this;
var args = new Array(arguments.length);
for (var i = 0; i < arguments.length; i++) {
args[i] = arguments[i];
}
return new P(function (resolve, reject) {
args.push(function (err, result) {
if (err) {
... | {
"pile_set_name": "Github"
} |
1: 3.0
2: 9.0
3: 1.0
4: 6.0
5: 2.0
6: 5.0
7: 0.0
8: 0.0
9: 6.0
10: 5.0
11: 4.0
12: 7.0
13: 6.0
14: 1.0
15: 6.0
16: 3.0
17: 9.0
18: 5.0
19: 8.0
20: 4.0
| {
"pile_set_name": "Github"
} |
op {
name: "TensorArrayCloseV3"
input_arg {
name: "handle"
type: DT_RESOURCE
}
is_stateful: true
}
| {
"pile_set_name": "Github"
} |
@import "variables";
@import "mixins";
.shipping-address {
list-style-type: none;
line-height: 1.3em;
}
.order-lines {
.is-cancelled td {
text-decoration: line-through;
background-color: $color-grey-200;
}
.sub-total td {
border-top: 1px dashed $color-grey-300;
}
... | {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s
// rdar://problem/9246208
// Basic test.
namespace test0 {
struct A {
A();
int x;
};
typedef A elt;
// CHECK: define [[A:%.*]]* @_ZN5test04testEs(i16 signext
// CHECK: [[N:%.*]] = sext i16 {{%.*}} to i32
//... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2012 Samsung Electronics
*/
#ifndef _S3C24X0_I2C_H
#define _S3C24X0_I2C_H
struct s3c24x0_i2c {
u32 iiccon;
u32 iicstat;
u32 iicadd;
u32 iicds;
u32 iiclc;
};
struct exynos5_hsi2c {
u32 usi_ctl;
u32 usi_fifo_ctl;
u32 usi_trailing_ctl;
u32 usi_clk_ct... | {
"pile_set_name": "Github"
} |
#!/bin/sh
# I use
# - autoconf (GNU Autoconf) 2.64
# - automake (GNU automake) 1.11
# - libtool (GNU libtool) 2.2.6
set -e
set -x
if test -f Makefile; then
make distclean
fi
rm -rf *.cache *.m4 config.guess config.log \
config.status config.sub depcomp ltmain.sh
#(cat m4/*.m4 > acinclude.m4 2> /dev/null)
autoreconf... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.19" id="1">
<property name="createdBy">Eclipse BIRT Designer Version 2.5.0.qualifier Build <@BUILD@></property>
<property name="units">in</property>
<property name="iconFile">/templates/blank_repor... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Impact++ / Source: core/hierarchy.js</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above
* copyright notice, this ... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 209e83764932d974287e82cda5febaf7
DefaultImporter:
userData:
| {
"pile_set_name": "Github"
} |
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package cloudwatchlogsiface provides an interface to enable mocking the Amazon CloudWatch Logs service client
// for testing your code.
//
// It is important to note that this interface will have breaking changes
// when the service model is updat... | {
"pile_set_name": "Github"
} |
// Opacity
.opacity(@opacity) {
opacity: @opacity;
// IE8 filter
@opacity-ie: (@opacity * 100);
filter: ~"alpha(opacity=@{opacity-ie})";
}
| {
"pile_set_name": "Github"
} |
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System.Numerics;
using SixLabors.ImageSharp.ColorSpaces;
using Xunit;
namespace SixLabors.ImageSharp.Tests.Colorspaces
{
/// <summary>
/// Tests the <see cref="LinearRgb"/> struct.
/// </summary>
public class Linear... | {
"pile_set_name": "Github"
} |
package digitalocean
import (
"context"
"fmt"
"io"
"time"
"github.com/digitalocean/godo"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/supergiant/control/pkg/clouds/digitaloceansdk"
"github.com/supergiant/control/pkg/util"
"github.com/supergiant/control/pkg/workflows/steps"
)
type Creat... | {
"pile_set_name": "Github"
} |
/*
* The driver for the EMU10K1 (SB Live!) based soundcards
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
* Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk>
* Added support for Audigy 2 Value.
*
*
* This program is free software; you can redistribute it and/or modify
* it... | {
"pile_set_name": "Github"
} |
// vim:tw=110:ts=4:
#ifndef MDD_H
#define MDD_H 1
/*************************************************************************************************************
*
* FILE : mdd.h
*
* DATE : $Date: 2004/08/05 11:47:10 $ $Revision: 1.6 $
* Original : 2004/05/25 05:59:37 Revision: 1.57 Tag: hcf7_t20040602_... | {
"pile_set_name": "Github"
} |
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
*
* Copyright 2013, Christian Muehlhaeuser <muesli@tomahawk-player.org>
* Copyright 2013, Teo Mrnjavac <teo@kde.org>
* Copyright 2013, Uwe L. Korn <uwelk@xhochy.com>
*
* Tomahawk is free software: you can redistribute it and/or... | {
"pile_set_name": "Github"
} |
/**********************************************************************
*These solidity codes have been obtained from Etherscan for extracting
*the smartcontract related info.
*The data will be used by MATRIX AI team as the reference basis for
*MATRIX model analysis,extraction of contract semantics,
*as well as AI base... | {
"pile_set_name": "Github"
} |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package template
// Tests for multiple-template parsing and execution.
import (
"bytes"
"fmt"
"testing"
"text/template/parse"
)
const (
noError = true
... | {
"pile_set_name": "Github"
} |
FROM balenalib/armv7hf-ubuntu:disco-build
LABEL io.balena.device-type="npe-x500-m3"
RUN apt-get update && apt-get install -y --no-install-recommends \
less \
kmod \
nano \
net-tools \
ifupdown \
iputils-ping \
i2c-tools \
usbutils \
&& rm -rf /var/lib/apt/lists/*
RUN [ ! -d /.balena/messages ] && mkd... | {
"pile_set_name": "Github"
} |
/*
* HCS API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: 2.1
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package hcsschema
type EnhancedModeVideo struct {
ConnectionOptions *RdpConnection... | {
"pile_set_name": "Github"
} |
ABOUTBOX DIALOG DISCARDABLE 22, 17, 176, 73
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION SZABOUT
BEGIN
DEFPUSHBUTTON "OK", IDOK, 136, 2, 32, 14, WS_GROUP
ICON SZAPPNAME, -1, 3, 2, 18, 20
LTEXT SZRCOMPANYNAME, IDD_VERFIRST, 30, 2, 100, 8
LTEXT SZRDESCRIPTION, ID... | {
"pile_set_name": "Github"
} |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package windows
type WSAData struct {
Version uint16
HighVersion uint16
Description [WSADESCRIPTION_LEN + 1]byte
SystemStatus [WSASYS_STATUS_LEN + 1... | {
"pile_set_name": "Github"
} |
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Edward Sze-Tyan Wang.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fol... | {
"pile_set_name": "Github"
} |
#include "tommath_private.h"
#ifdef BN_MP_CNT_LSB_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
* LibTomMath is a library that provides multiple-precision
* integer arithmetic as well as number theoretic functionality.
*
* The library was designed directly after the MPI library by
* Michae... | {
"pile_set_name": "Github"
} |
<span ng-if="!property.noValue">{{'PROPERTY.TASKLISTENERS.VALUE' | translate:property.value.taskListeners}}</span>
<span ng-if="property.noValue" translate>PROPERTY.TASKLISTENERS.EMPTY</span> | {
"pile_set_name": "Github"
} |
<p>Tricky combinaisons:</p>
<p>backslash with \-- two dashes</p>
<p>backslash with \> greater than</p>
<p>\[test](not a link)</p>
<p>\*no emphasis*</p>
| {
"pile_set_name": "Github"
} |
; REQUIRES: object-emission
; RUN: %llc_dwarf -O0 -filetype=obj -o - < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
; Radar 7833483
; Do not emit a separate out-of-line definition DIE for the function-local 'foo'
; function (member of the function local 'A' type)
; CHECK: DW_TAG_class_type
; CHECK: DW_TAG_class... | {
"pile_set_name": "Github"
} |
// Copyright Louis Dionne 2013-2016
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/product.hpp>
#include <boost/hana/tuple.hpp>
int main() {
constexpr auto tuple = boost::hana::make_tuple(
... | {
"pile_set_name": "Github"
} |
/**
* Checks if `value` is object-like. A value is object-like if it's not `null`
* and has a `typeof` result of "object".
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
* @example
*... | {
"pile_set_name": "Github"
} |
'use strict';
const {Transform} = require('stream');
const decompressResponse = require('decompress-response');
const is = require('@sindresorhus/is');
const mimicResponse = require('mimic-response');
module.exports = (response, options, emitter, redirects) => {
const downloadBodySize = Number(response.headers['conte... | {
"pile_set_name": "Github"
} |
// Copyright 2013 the V8 project authors. 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 above copyright
// notice, this list of ... | {
"pile_set_name": "Github"
} |
'use strict';
describe('babrahams:transactions', function () {
it('is available to the app via a variable called tx', function () {
expect(Package["babrahams:transactions"].tx).toBeDefined();
expect(tx).toBeDefined();
})
}); | {
"pile_set_name": "Github"
} |
-module(html_macros).
-export([dp/1]).
dp([{raw,[H|T]}]) ->
"<P><B><I><FONT COLOR=\"#COCO\"><FONT SIZE=+2>" ++ [H] ++
"</FONT>" ++ T ++ "</FONT></I></B>".
| {
"pile_set_name": "Github"
} |
#!/usr/bin/expect -f
#
# Copyright (c) 2020, The OpenThread Authors.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# 1. Redistributions of source code must retain the above copyright
# ... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using UELib.Types;
namespace UELib
{
public static class UnrealConfig
{
#region Config
public static bool SuppressComments;
public static bool SuppressSignature;
public static string PreBeginBracket = UnrealSyntax.NewLine + "{0}"... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2013 ThirdMotion, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | {
"pile_set_name": "Github"
} |
using System;
using Uno;
using Uno.Collections;
using System.IO;
using Uno.Net;
using Uno.Net.Sockets;
namespace Outracks.Simulator
{
public class FailedToConnectToProxy : Exception
{
public readonly ImmutableList<Exception> InnerExceptions;
public FailedToConnectToProxy(IEnumerable<Exception> innerExceptions)... | {
"pile_set_name": "Github"
} |
/****************************************************************************/
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
// Copyright (C) 2011-2020 German Aerospace Center (DLR) and others.
// This program and the accompanying materials are made available under the
// terms of the Ecli... | {
"pile_set_name": "Github"
} |
/***************************************************************************
* Copyright (C) 2009 by Borko Bošković *
* borko.boskovic@gmail.com *
* *
* This pr... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2012-2014
* Texas Instruments Incorporated, <www.ti.com>
*/
#include <common.h>
#include <asm/io.h>
#include <div64.h>
#include <bootstage.h>
DECLARE_GLOBAL_DATA_PTR;
#ifndef CONFIG_SYS_HZ_CLOCK
static inline u32 read_cntfrq(void)
{
u32 frq;
asm volat... | {
"pile_set_name": "Github"
} |
set(CMAKE_C_FLAGS_DEBUG "/MTd /Zi /Ob0 /Od /RTC1" CACHE STRING "Flags used by the C compiler during DEBUG builds." FORCE)
set(CMAKE_C_FLAGS_MINSIZEREL "/MT /O1 /Ob1 /DNDEBUG" CACHE STRING "Flags used by the C compiler during MINSIZEREL builds." FORCE)
set(CMAKE_C_FLAGS_RELEASE "/MT /O2 /Ob2 /DNDEBUG" CACHE STRING "Flag... | {
"pile_set_name": "Github"
} |
#include <3ds/types.h>
#include <3ds/result.h>
#include <3ds/services/apt.h>
#include <3ds/util/utf.h>
#include <3ds/applets/miiselector.h>
#include <string.h> // for memcpy
void miiSelectorInit(MiiSelectorConf *conf)
{
memset(conf, 0, sizeof(*conf));
for (int i = 0; i < MIISELECTOR_GUESTMII_SLOTS; i ++)
conf->... | {
"pile_set_name": "Github"
} |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Studio\Totem\Database\TotemMigration;
class CreateFrequencyParametersTable extends TotemMigration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::connection... | {
"pile_set_name": "Github"
} |
/* This file is generated by gen_zigzag32.m */
/* clang-format off */
#include "odintrin.h"
OD_EXTERN const unsigned char OD_ZIGZAG32_DCT_DCT[768][2] = {
{ 16, 0 }, { 17, 0 }, { 18, 0 }, { 19, 0 },
{ 16, 1 }, { 17, 1 }, { 20, 0 }, { 16, 2 },
{ 18, 1 }, { 21, 0 }, { 17, 2 }, { 16, 3 },
{ 19, 1 }, { 22, 0 }, { ... | {
"pile_set_name": "Github"
} |
require 'rails_helper'
RSpec.describe WideStudentsExporter do
context 'with generated students' do
let!(:pals) { TestPals.create! }
let!(:school) { School.find_by_name('Arthur D Healey') }
let!(:educator) { FactoryBot.create(:educator, :admin, school: school) }
let!(:homeroom) { Homeroom.create(name:... | {
"pile_set_name": "Github"
} |
<?php
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Tests\Style\SymfonyStyleWithForcedLineLength;
//Ensure has proper line ending before outputing a text block like with SymfonyStyle::listing() or SymfonyStyle::text()
return fun... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2012 Sascha Hauer <kernel@pengutronix.de>
*/
#include <linux/module.h>
#include <linux/clk.h>
#include <linux/clkdev.h>
#include <linux/io.h>
#include <linux/err.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <soc/imx/revision.h>
#inclu... | {
"pile_set_name": "Github"
} |
set(LLVM_LINK_COMPONENTS
Core
Support
)
if(NOT CLANG_BUILT_STANDALONE)
set(tablegen_deps intrinsics_gen)
endif()
add_clang_tool(clang-import-test
clang-import-test.cpp
DEPENDS
${tablegen_deps}
)
set(CLANG_IMPORT_TEST_LIB_DEPS
clangAST
clangBasic
clangCodeGen
clangDriver
clangFrontend
clan... | {
"pile_set_name": "Github"
} |
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<VBox max... | {
"pile_set_name": "Github"
} |
### Code examples related to big jobs/simultations
[`chunk_ref.Rmd`](chunk_ref.Rmd) is a short R Markdown file illustrating
chunk references.
[`chunk_dep.Rmd`](chunk_dep.Rmd) is a short R Markdown file illustrating
chunk dependencies, in regard to chunk caching.
[`Makefile`](Makefile) is a Makefile for compiling `ch... | {
"pile_set_name": "Github"
} |
# If there are no hosts configured, disable this environment.
if CONFIG['influxdb_hosts'].blank?
InfluxDB::Rails.configure do |config|
config.ignored_environments << Rails.env
end
return
end
InfluxDB::Rails.configure do |config|
config.client.database = CONFIG['influxdb_database'] || 'performance'
c... | {
"pile_set_name": "Github"
} |
SECTION code_clib
SECTION code_l
PUBLIC l_lsr_dehldehl
INCLUDE "config_private.inc"
; logical shift right 64-bit unsigned long
;
; enter : dehl'dehl = 64-bit number
; a = shift amount
;
; exit : dehl'dehl = dehl'dehl >> a
;
; uses : af, b, de, hl, de', hl'
IF __CLIB_OPT... | {
"pile_set_name": "Github"
} |
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with spe... | {
"pile_set_name": "Github"
} |
// docs/delete-by-query.asciidoc:456
[source, php]
----
$response = $client->indices()->refresh();
$params = [
'index' => 'twitter',
'body' => [
'query' => [
'range' => [
'likes' => [
'lt' => 10,
],
],
],
],
];
$res... | {
"pile_set_name": "Github"
} |
/*
* To change this template, choose Tools | Templates and open the template in
* the editor.
*/
package org.netbeans.modules.php.drupal.drush.ui;
import java.util.EventObject;
/**
*
* @author Jamie Holly <jamie@hollyit.net>
*/
public class CommandProcessorEvent extends EventObject {
public CommandProcesso... | {
"pile_set_name": "Github"
} |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright 2012-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... | {
"pile_set_name": "Github"
} |
Open Distro for Elasticsearch JDBC
Copyright 2018-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<artifactId>org.python.pydev.parser.tes... | {
"pile_set_name": "Github"
} |
/*
* Exchange Web Services Managed API
*
* 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
* wit... | {
"pile_set_name": "Github"
} |
% This is the groff hyphenation pattern file `hyphen.cs' for Czech.
%
% It is based on the TeX pattern file `czhyphen.tex', version 3 (1995),
% prepared by Pavel ©eveèek <pavel@lingea.cz>.
%
% Here is the copyright message:
%
% This is free software; you can redistribute it and/or modify
% it under the terms of the... | {
"pile_set_name": "Github"
} |
;; -*- no-byte-compile: t; -*-
;;; lang/sh/packages.el
(when (featurep! :completion company)
(package! company-shell :pin "52f3bf26b74adc30a275f5f4290a1fc72a6876ff"))
(when (featurep! +fish)
(package! fish-mode :pin "db257db81058b0b12f788c324c264cc59b9a5bf4"))
| {
"pile_set_name": "Github"
} |
import React, { Component } from "react";
import GoogleAnalytics from "../../../../../../renderer/components/google-analytics/GoogleAnalytics"
const VALIDATIONS = {
"workspace.postgresPort": {
allowedChars: /^\d*$/,
min: 1024,
max: 65536
}
};
class AdvancedScreen extends Component {
constructor(pro... | {
"pile_set_name": "Github"
} |
6
4
4
8
4
0
4
2
0
4
0
0
2
0
2
0
4
0
0
0
2
6
0
0
6
6
0
4
4
0
4
8
0
2
2
0
2
0
6
2
6
4
2
4
2
6
0
2
2
8
0
2
2
6
4
8
4
6
6
4
0
0
6
4
2
2
0
2
0
4
0
0
4
0
4
4
4
6
0
2
0
4
8
4
2
6
2
4
6
2
6
2
0
8
6
4
4
2
2
6
4
0
2
2
6
4
6
2
0
0
2
6
6
6
0
0
2
2
4
4
0
0
2
4
2
6
2
4
0
6
2
6
6
2
4
2
2
2
2
0
4
6
0
2
2
4
6
2
4
2
2
6
4
6
0
0
2
0
4
0
... | {
"pile_set_name": "Github"
} |
# NUID
[](https://www.apache.org/licenses/LICENSE-2.0)
[](http://goreportcard.com/report/nats-io/nuid)
[](http://travis... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | {
"pile_set_name": "Github"
} |
; Test that the strcpy library call simplifier works correctly.
; RUN: opt < %s -instcombine -S | FileCheck %s
;
; This transformation requires the pointer size, as it assumes that size_t is
; the size of a pointer.
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64... | {
"pile_set_name": "Github"
} |
Name: Recipes
AntiForgery: enabled
Author: The Coevery Team
Website: http://coeveryproject.net
Version: 1.7.1
CoeveryVersion: 1.7.1
Description: Provides Coevery Recipes.
FeatureDescription: Implementation of Coevery recipes.
Category: Core
| {
"pile_set_name": "Github"
} |
#include "pch.h"
#include "Components/Transform.h"
namespace Fling
{
bool Transform::operator==(const Transform &other) const
{
return m_Pos == other.m_Pos && m_Rotation == other.m_Rotation && m_Scale == other.m_Scale;
}
bool Transform::operator!=(const Transform &other) const
{
... | {
"pile_set_name": "Github"
} |
/* Shutter In Vertical */
@mixin shutter-in-vertical {
@include hacks();
position: relative;
background: $activeColor;
@include prefixed(transition-property, color);
@include prefixed(transition-duration, $mediumDuration);
&:before {
content: "";
position: absolute;
z-index: -1;
top: 0;
bottom: 0;
le... | {
"pile_set_name": "Github"
} |
using Audit.Core.ConfigurationApi;
using Audit.Udp.Configuration;
using Audit.Udp.Providers;
using System;
using System.Net;
namespace Audit.Core
{
public static class UdpProviderConfiguratorExtensions
{
/// <summary>
/// Send the events over a network as UDP packets.
/// </summary>
... | {
"pile_set_name": "Github"
} |
<% provide(:title, @title) %>
<div class="row">
<aside class="col-md-4">
<section class="user_info">
<%= gravatar_for @user %>
<h1><%= @user.name %></h1>
<span><%= link_to "view my profile", @user %></span>
<span><b>Microposts:</b> <%= @user.microposts.count %></span>
</section>
<s... | {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-gc -emit-llvm -o - %s | FileCheck %s
// rdar://10073896
@interface I
{
__weak id wObject;
}
@property (readwrite, weak) id representedObject;
@property (readwrite, weak) id wObject;
@property (readwrite, weak) __weak id wRandom;
@property (readwrite, assign) __... | {
"pile_set_name": "Github"
} |
/*
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 2016 Cirilo Bernardo <cirilo.bernardo@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software F... | {
"pile_set_name": "Github"
} |
<!-- GFM-TOC -->
* [一、概览](#一概览)
* [二、磁盘操作](#二磁盘操作)
* [三、字节操作](#三字节操作)
* [实现文件复制](#实现文件复制)
* [装饰者模式](#装饰者模式)
* [四、字符操作](#四字符操作)
* [编码与解码](#编码与解码)
* [String 的编码方式](#string-的编码方式)
* [Reader 与 Writer](#reader-与-writer)
* [实现逐行输出文本文件的内容](#实现逐行输出文本文件的内容)
* [五、对象操作](#五对象操作)
* [序列化](#序列化)
* [Ser... | {
"pile_set_name": "Github"
} |
#ifndef BOOST_SERIALIZATION_STACK_HPP
#define BOOST_SERIALIZATION_STACK_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// stack.hpp
// (C) Copyright 2014 Robert Rame... | {
"pile_set_name": "Github"
} |
{% extends "pages/richtextpage.html" %}
{% block main %}
<!--
This template is provided as a custom template for the homepage, for
when it is configured as an editable page in the navigation tree. Feel
free to modify it.
-->
{{ block.super }}
{% endblock %}
| {
"pile_set_name": "Github"
} |
<%--
Created by IntelliJ IDEA.
User: DuanJiaNing
Date: 2018/2/13
Time: 10:00
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored="false" %>
<%... | {
"pile_set_name": "Github"
} |
---
layout: post
title: 第35天:pathlib 模块
category: python
copyright: python
---
> by 吴刀钓鱼
pathlib 模块提供了表示文件系统路径的类,可适用于不同的操作系统。使用 pathlib 模块,相比于 os 模块可以写出更简洁,易读的代码。pathlib 模块中的 Path 类继承自 PurePath,对 PurePath 中的部分方法进行了重载,相比于 os.path 有更高的抽象级别。本文将带你学习如何使用 pathlib 模块中的 Path 类读写文件、操纵文件路径和基础文件系统,统计目录下的文件类型以及查找匹配目录下某一类型文件等。下... | {
"pile_set_name": "Github"
} |
; RUN: %opt -load %pass -souper -S -o - %s | %FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind readnone uwtable
define i32 @func(i32 %x) local_unnamed_addr #0 {
entry:
%b = call i1 @branch(i32 %x)
%call = call i32 @a(i... | {
"pile_set_name": "Github"
} |
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 Matthias Christian Schabel
// Copyright (C) 2008 Steven Watanabe
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.tx... | {
"pile_set_name": "Github"
} |
package msgpack
import (
"fmt"
"math"
"reflect"
"github.com/vmihailenco/msgpack/codes"
)
func (d *Decoder) skipN(n int) error {
_, err := d.readN(n)
return err
}
func (d *Decoder) uint8() (uint8, error) {
c, err := d.readCode()
if err != nil {
return 0, err
}
return uint8(c), nil
}
func (d *Decoder) in... | {
"pile_set_name": "Github"
} |
/*
Copyright 2015 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"
} |
# CVS $Revision$ $Author$ -- Mon Nov 10 23:40:38 2008 -- reformated by prettylst.pl v1.38 (build 8180)
#
# Spycraft PCGen dataset by Eddy Anthony
#
SOURCELONG:AEG Spycraft SOURCESHORT:Spycraft SOURCEWEB:http://www.crafty-games.com/product_catalog/spycraftfirsted SOURCEDATE:2003-01
# Personal Vehicles ----------------... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2013 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"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.