text stringlengths 2 99.9k | meta dict |
|---|---|
<?php
namespace wcf\data\object\type\definition;
use wcf\data\AbstractDatabaseObjectAction;
/**
* Executes object type definition-related actions.
*
* @author Alexander Ebert
* @copyright 2001-2019 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @pac... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_08) on Tue Jun 03 16:14:37 GMT-05:00 2008 -->
<TITLE>
AntTask.PhaseOptbb_ule (Soot API)
</TITLE>
<META NAME="keywords" CONTENT="soot.AntTask.PhaseOp... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1996, 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | {
"pile_set_name": "Github"
} |
import _plotly_utils.basevalidators
class BgcolorValidator(_plotly_utils.basevalidators.ColorValidator):
def __init__(
self,
plotly_name="bgcolor",
parent_name="scattercarpet.marker.colorbar",
**kwargs
):
super(BgcolorValidator, self).__init__(
plotly_name=p... | {
"pile_set_name": "Github"
} |
{
"nome": "Montù Beccaria",
"codice": "018100",
"zona": {
"codice": "1",
"nome": "Nord-ovest"
},
"regione": {
"codice": "03",
"nome": "Lombardia"
},
"provincia": {
"codice": "018",
"nome": "Pavia"
},
"sigla": "PV",
"codiceCatastale": "F701",
"cap": [
"27040"
],
"popolazione": 1722
}
| {
"pile_set_name": "Github"
} |
{
"proportion_index": [0.7754, 0.6457, 0.6491, 0.243, 0.4318],
"structural": {
"Torso_BreastTone": 0.7,
"Cheeks_Tone": -0.5,
"Shoulders_Tone": -0.5,
"Legs_UpperlegsMass": 0.61,
"Feet_Mass": 0.61,
"Abdomen_Tone": -1.0,
"Legs_UpperlegsTone": -0.5,
"Neck_Mass": 0.61,
"Legs_Lowerlegs... | {
"pile_set_name": "Github"
} |
// Copyright 2013 Dario Castañé. All rights reserved.
// Copyright 2009 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 mergo merges same-type structs and maps by setting default values in zero-value fields.
Mergo ... | {
"pile_set_name": "Github"
} |
use bytecodec::json_codec::{JsonDecoder, JsonEncoder};
use bytecodec::null::NullDecoder;
use fibers_http_server::{HandleRequest, Reply, Req, ServerBuilder as HttpServerBuilder, Status};
use fibers_rpc::client::ClientServiceHandle as RpcServiceHandle;
use futures::Future;
use httpcodec::{BodyDecoder, BodyEncoder};
use l... | {
"pile_set_name": "Github"
} |
from __future__ import print_function
import sys
import os
import argparse
import torch
import io
import time
import codecs
import json
import threading
from onmt.translate.Translator import make_translator
import onmt
import onmt.opts
import onmt.translate
class Timer:
def __init__(self, start=False):
... | {
"pile_set_name": "Github"
} |
package getter
import (
"fmt"
"net/url"
"strings"
)
// GCSDetector implements Detector to detect GCS URLs and turn
// them into URLs that the GCSGetter can understand.
type GCSDetector struct{}
func (d *GCSDetector) Detect(src, _ string) (string, bool, error) {
if len(src) == 0 {
return "", false, nil
}
if ... | {
"pile_set_name": "Github"
} |
polygon
1
1.445535E+01 5.075361E+01
1.445552E+01 5.075326E+01
1.445567E+01 5.075283E+01
1.445593E+01 5.075252E+01
1.445617E+01 5.075226E+01
1.445673E+01 5.075183E+01
1.445699E+01 5.075124E+01
1.445698E+01 5.075096E+01
1.445703E+01 5.075067E+01
1.445694E+01 5.075024E+01
1.445688E+01 5.075006E+01
1.445688E+01... | {
"pile_set_name": "Github"
} |
How to Build for Windows
========================
You can follow the [r2book](https://radare.gitbooks.io/radare2book/content/first_steps/windows_compilation.html) for a more complete guide.
Native
---------------
You will need:
* Python 3
* Meson (pip3 install meson)
* Visual Studio 2015 (or later)
First, call `... | {
"pile_set_name": "Github"
} |
using System;
using Server;
using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a gore fiend corpse" )]
public class GoreFiend : BaseCreature
{
[Constructable]
public GoreFiend() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a gore fiend";
Body = 305;
... | {
"pile_set_name": "Github"
} |
<?php
namespace AgenDAV\Exception;
/*
* Copyright (C) Jorge López Pérez <jorge@adobo.org>
*
* This file is part of AgenDAV.
*
* AgenDAV 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 versi... | {
"pile_set_name": "Github"
} |
/* inftrees.h -- header to use inftrees.c
* Copyright (C) 1995-2002 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* WARNING: this file should *not* be used by applications. It is
part of the implementation of the compression library and is
subject to change. Applicati... | {
"pile_set_name": "Github"
} |
<?php
namespace PHLAK\Twine\Tests\Methods;
use PHLAK\Twine;
use PHLAK\Twine\Exceptions\EncryptionException;
use PHPUnit\Framework\TestCase;
class EncryptTest extends TestCase
{
public function test_it_can_be_encrypted()
{
$string = new Twine\Str('john pinkerton');
$encrypted = $string->encry... | {
"pile_set_name": "Github"
} |
---
# Implement your Workload deployment tasks here
- debug:
msg: "Removing ML Workflows workshop materials from preexisting project {{ project_name }}"
- name: Create the custom notebook image
k8s:
state: absent
namespace: "{{ project_name }}"
definition: "{{ item }}"
with_items:
- "{{ lookup... | {
"pile_set_name": "Github"
} |
import simplejson as json
from django.contrib.auth.decorators import permission_required
from django.http import HttpResponse
from sql.engines import get_engine
from common.utils.extend_json_encoder import ExtendJSONEncoder
from sql.utils.resource_group import user_instances
from .models import AliyunRdsConfig, Insta... | {
"pile_set_name": "Github"
} |
#
# $HOME/.config/pulseaudio-ctl/config
#
# The default setting is for pulseaudio-ctl to NOT increase to volume level
# above 100 % but Some users may wish exceed this level. If this describes
# your use case, uncomment the UPPER_THRESHOLD variable below setting it to
# the new upper threshold.
#
#UPPER_THRESHOLD=150... | {
"pile_set_name": "Github"
} |
@extends('layouts.base')
@section('title', '会员详情')
@section('content')
<link href="{{static_url('yunshop/css/member.css')}}" media="all" rel="stylesheet" type="text/css"/>
<div class="w1200 m0a">
<div class="rightlist">
<!-- 新增加右侧顶部三级菜单 -->
<div class="right-titpos">
... | {
"pile_set_name": "Github"
} |
/* Copyright (c) 2010 People Power Co.
* 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 conditio... | {
"pile_set_name": "Github"
} |
{
"author": {
"name": "Mikeal Rogers",
"email": "mikeal.rogers@gmail.com",
"url": "http://www.futurealoof.com"
},
"name": "oauth-sign",
"description": "OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module.",
"version": "0.4.0",
"repository": {
"url": "https://git... | {
"pile_set_name": "Github"
} |
http://cvs.savannah.gnu.org/viewvc/fastjar/jartool.c?root=fastjar&r1=1.60&r2=1.61&view=patch
2010-06-10 Chris Ball <cjb@laptop.org>
* jartool.c (add_file_to_jar): Fix write return value check.
--- a/jartool.c 2010/03/01 15:38:43 1.60
+++ b/jartool.c 2010/06/10 08:46:10 1.61
@@ -1258,7 +1258,7 @@
exit_on_er... | {
"pile_set_name": "Github"
} |
#region License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms... | {
"pile_set_name": "Github"
} |
/*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#ifndef _KEY_PROT_H_RPCGEN
#define _KEY_PROT_H_RPCGEN
#include <rpc/rpc.h>
/* Copyright (c) 2010, Oracle America, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fo... | {
"pile_set_name": "Github"
} |
/*!
* Bootstrap Grunt task for Glyphicons data generation
* http://getbootstrap.com
* Copyright 2014-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
'use strict';
var fs = require('fs');
module.exports = function generateGlyphiconsData(grunt) {
// Pass encodi... | {
"pile_set_name": "Github"
} |
# Source library for shell script tests
#
# Copyright (C) 2016 Alexander Larsson <alexl@redhat.com>
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
#
# 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 So... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2011 Joakim Sindholt <opensource@zhasha.com>
* Copyright 2015 Patrick Rudolph <siro@das-labor.org>
*
* 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, ... | {
"pile_set_name": "Github"
} |
about=JabRef-icon-16.png
jabrefIcon16=JabRef-icon-16.png
jabrefIcon20=JabRef-icon-20.png
jabrefIcon32=JabRef-icon-32.png
jabrefIcon40=JabRef-icon-40.png
jabrefIcon48=JabRef-icon-48.png
jabrefIcon64=JabRef-icon-64.png
jabrefIcon128=JabRef-icon-128.png
#external apps
texmaker=texmaker.png
texstudio=texstudio.png
wined... | {
"pile_set_name": "Github"
} |
//
// BugsnagSessionTrackerStopTest.m
// Tests
//
// Created by Jamie Lynch on 15/02/2019.
// Copyright © 2019 Bugsnag. All rights reserved.
//
#import <XCTest/XCTest.h>
#import "BugsnagSessionTracker.h"
#import "BugsnagTestConstants.h"
@interface BugsnagSession ()
@property NSUInteger unhandledCount;
@property N... | {
"pile_set_name": "Github"
} |
/*-------------------------------------------------------------------------
HtmlShortColorNames provides a template class for access to the short name table
Written by Michael C. Miller.
I invest time and resources providing this open source code,
please support me by dontating (see https://github.com/Makuna/NeoPixel... | {
"pile_set_name": "Github"
} |
.gradient-mixin(@color) {
background: svg-gradient(to bottom,
fade(@color, 0%) 0%,
fade(@color, 5%) 60%,
fade(@color, 10%) 70%,
fade(@color, 15%) 73%,
fade(@color, 20%) 75%,
fade(@color, 25%) 80%,
fade(@color, 30%) 85%,
fade(@color, 35%) 88%,
fade(@color, 40%) 90%,
fade(@color,... | {
"pile_set_name": "Github"
} |
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"sourceMap": true
}
}
| {
"pile_set_name": "Github"
} |
{
"name": "kendryte/sdcard-file-bmp-standalone-driver",
"version": "develop",
"type": "library",
"dependency": {
"kendryte/sdcard-standalone-driver": "develop"
},
"source": [
"src/*.c"
],
"include": [
"include"
],
"header": [
"src"
],
"home... | {
"pile_set_name": "Github"
} |
/* crypto/dh/dh.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 non-commer... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 7589a9e1a090a45b88350dfc54ba13ac
DefaultImporter:
userData:
| {
"pile_set_name": "Github"
} |
/*! \file AffineRegister.h
\author Diogo Nunes Sampaio <dnsampaio@gmail.com>
\date Wednesday February 15, 2012
\brief The file for the AffineRegister class.
*/
#ifndef AFFINE_REGISTER_CPP_
#define AFFINE_REGISTER_CPP_
// Ocelot Includes
#include <ocelot/transforms/interface/AffineRegister.h>
// Hydrazine Include... | {
"pile_set_name": "Github"
} |
#include <queue>
using std::priority_queue;
typedef struct Pair {
vector<int> *a1, *a2;
int i1, i2;
bool operator < (const Pair &p) const {
return (*a1)[i1] + (*a2)[i2] < (*p.a1)[p.i1] + (*p.a2)[p.i2];
}
bool operator > (const Pair &p) const {
return (*a1)[i1] + (*a2)[i2] ... | {
"pile_set_name": "Github"
} |
import torch
from torch.autograd import Function
from torch.autograd.function import once_differentiable
from torch.nn.modules.utils import _pair
from atss_core import _C
class DeformConvFunction(Function):
@staticmethod
def forward(
ctx,
input,
offset,
weight,
stri... | {
"pile_set_name": "Github"
} |
package s3manager
import (
"net/http"
"net/http/httptest"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/awstesting/unit"
"github.com/aws/aws-sdk-go/service/s3"
)
func testSetupGetBucketRegionServer(region string, statusCode int, incHeader bool) *ht... | {
"pile_set_name": "Github"
} |
signature DEVELOPMENT_AST =
sig
type label = Label.t
structure Syntax : ABT_UTIL
where type Operator.t = UniversalOperator.t
structure Tactic : TACTIC
where type label = label
where type term = Syntax.t
datatype command =
PRINT of Syntax.Operator.t
| EVAL of Syntax.t * int option
| ... | {
"pile_set_name": "Github"
} |
/*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package etcdraft
import (
"encoding/pem"
"github.com/hyperledger/fabric-protos-go/common"
"github.com/hyperledger/fabric/bccsp"
"github.com/hyperledger/fabric/common/flogging"
"github.com/hyperledger/fabric/orderer/common/cluste... | {
"pile_set_name": "Github"
} |
//===--- FormatInternal.h - Format C++ code ---------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | {
"pile_set_name": "Github"
} |
#include helpers.inc;
#include classMatches.inc;
// **************************************************************************************
function alert(fname, matchedText)
{
var ri = new TReportItem();
ri.LoadFromFile(fname);
ri.affects = "Web Server";
ri.alertPath = "Scripts/" + fname;
r... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
# Copyright 2017 the V8 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.
"""
Wrapper script for verify-predictable mode. D8 is expected to be compiled with
v8_enable_verify_predictable.
The actual test com... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | {
"pile_set_name": "Github"
} |
var CombinedStream = require('combined-stream');
var util = require('util');
var path = require('path');
var http = require('http');
var https = require('https');
var parseUrl = require('url').parse;
var fs = require('fs');
var mime = require('mime-types');
var asynckit = require('asynckit');
var populate = require('./... | {
"pile_set_name": "Github"
} |
package com.xxmassdeveloper.mpchartexample;
import android.graphics.Color;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.WindowManager;
import android.widget.SeekBar;
import android.widget.SeekBar.OnSeekB... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\XML;
use JMS\Serializer\Annotation\ExclusionPolicy;
use... | {
"pile_set_name": "Github"
} |
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include <string>
#include "ifcpp/model/GlobalDefines.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingObject.h"
#include "IfcStructuralAction.h"
//ENTITY
... | {
"pile_set_name": "Github"
} |
#
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
# project subdirectory.
#
PROJECT_NAME := 12_accesspoint
include $(IDF_PATH)/make/project.mk
| {
"pile_set_name": "Github"
} |
[comment {-*- tcl -*- doctools manpage}]
[manpage_begin smtp n 1.4.5]
[see_also ftp]
[see_also http]
[see_also mime]
[see_also pop3]
[copyright {1999-2000 Marshall T. Rose and others}]
[moddesc {smtp client}]
[titledesc {Client-side tcl implementation of the smtp protocol}]
[category Networking]
[require Tcl]
[requi... | {
"pile_set_name": "Github"
} |
uniform mat4 ModelViewProjectionMatrix;
uniform float size;
uniform float outlineWidth;
in vec2 pos;
out vec4 radii;
void main()
{
gl_Position = ModelViewProjectionMatrix * vec4(pos, 0.0, 1.0);
gl_PointSize = size;
// calculate concentric radii in pixels
float radius = 0.5 * size;
// start at the outside... | {
"pile_set_name": "Github"
} |
<h1>Add a Style</h1>
<form method="POST" action="{{ url_for('new_page', site_id=site.key().id()) }}">
{% include "page_form.html" %}
<p>
<input type="submit" value="{% trans %}Create!{% endtrans %}" />
<img class="throbber" src="/static/img/throbber.gif" width="16" height="16" />
</p>
{%... | {
"pile_set_name": "Github"
} |
/*
Copyright 2014 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0910"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
... | {
"pile_set_name": "Github"
} |
name: "VGG_ILSVRC_19_layers"
input: "data"
input_dim: 1
input_dim: 3
input_dim: 340
input_dim: 256
layers {
bottom: "data"
top: "conv1_1"
name: "conv1_1"
type: CONVOLUTION
convolution_param {
num_output: 64
pad: 1
kernel_size: 3
}
}
layers {
bottom: "conv1_1"
top: "conv1_1"
name: "relu1_1"... | {
"pile_set_name": "Github"
} |
package ch.renku.acceptancetests.workflows
import ch.renku.acceptancetests.pages._
import ch.renku.acceptancetests.tooling.AcceptanceSpec
import ch.renku.acceptancetests.workflows.LoginType._
import org.openqa.selenium.StaleElementReferenceException
import scala.concurrent.duration._
import scala.language.postfixOps... | {
"pile_set_name": "Github"
} |
/*
* File : fal.h
* This file is part of FAL (Flash Abstraction Layer) package
* COPYRIGHT (C) 2006 - 2018, RT-Thread Development Team
*
* 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 Founda... | {
"pile_set_name": "Github"
} |
Matrix4i m = Matrix4i::Random();
cout << "Here is the matrix m:" << endl << m << endl;
cout << "Here is the block:" << endl << m.block<2, Dynamic>(1, 1, 2, 3) << endl;
m.block<2, Dynamic>(1, 1, 2, 3).setZero();
cout << "Now the matrix m is:" << endl << m << endl;
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<beast
namespace="beast.evolution.operators:beast.evolution.speciation:beast.evolution.alignment:beast.core:beast.math:beast.evolution:beast.evolution.tree:beast.evolution.tree.coalescent:beast.core.util:beast.evolution.nuc:beast.evolution.operators:beast.e... | {
"pile_set_name": "Github"
} |
/**
* Link plugin spec
*/
import { createElement, detach } from '@syncfusion/ej2-base';
import { MarkdownParser } from '../../../src/markdown-parser/index';
describe('Markdown - Link and Image plugin', () => {
let innerValue: string =
`# Lists are a piece of cake
They even auto continue as you ty... | {
"pile_set_name": "Github"
} |
require "rendertext"
require "keys"
require "graphics"
require "font"
require "commands"
SelectMenu = {
fsize = 22, -- font for displaying item names
tfsize = 25, -- font for page title
ffsize = 16,-- font for paging display
title_H = 40, -- title height
spacing = 36, -- spacing between lines
foot_H = 27, -- fo... | {
"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 norm
type valueRange struct {
value uint16 // header: value:stride
lo, hi byte // header: lo:n
}
type sparseBlocks struct {
values []valueRange
... | {
"pile_set_name": "Github"
} |
/*
* Copyright Andrey Semashev 2007 - 2015.
* 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)
*/
/*!
* \file formatters.hpp
* \author Andrey Semashev
* \date 10.11.2012
*
... | {
"pile_set_name": "Github"
} |
/*
* Description: Class defining the standard paths
*/
#ifndef STANDARD_PATHS_HPP
#define STANDARD_PATHS_HPP
#include <QtCore/QString>
namespace webotsQtUtils {
class StandardPaths {
public:
static const QString &getWebotsHomePath();
static const QString &getCurrentLibraryPath();
static const QSt... | {
"pile_set_name": "Github"
} |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozil... | {
"pile_set_name": "Github"
} |
//
// 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 conditions and the following disclaimer.
// * Redistributions in bin... | {
"pile_set_name": "Github"
} |
name global
examples Some examples of search terms are 'FOXA2' 'HOXA1' and 'MAP kinase.'
| {
"pile_set_name": "Github"
} |
use strict;
use warnings;
package DDGC::Util::Markup;
# ABSTRACT: BBCode, Markdown and HTML renderer for comments and blog posts.
use Text::Markdown;
use Text::Xslate;
use HTML::TreeBuilder::LibXML;
use Hash::Merge::Simple qw/ merge /;
use URI::Escape;
use URI;
use Parse::BBCode;
use String::Util 'trim';
use Moo;
ha... | {
"pile_set_name": "Github"
} |
//===- Main.cpp - Top-Level TableGen implementation -----------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | {
"pile_set_name": "Github"
} |
// This file is part of ScaViSLAM.
//
// Copyright 2011 Hauke Strasdat (Imperial College London)
//
// ScaViSLAM 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
// ... | {
"pile_set_name": "Github"
} |
var addon = require('bindings')('hello');
console.log(addon.hello()); // 'world' | {
"pile_set_name": "Github"
} |
#!/bin/bash -eux
mkdir -p ../../tmp/{object,html}
exec cd ../../tmp ../venv/bin/python -m http.server 5001
| {
"pile_set_name": "Github"
} |
package main
import (
"fmt"
"time"
"go.uber.org/ratelimit"
)
func main() {
// 每秒可以通过100个请求,也就是每个请求间隔10ms
rl := ratelimit.New(100)
prev := time.Now()
for i := 0; i < 10; i++ {
now := rl.Take()
fmt.Println(i, now.Sub(prev))
prev = now
}
}
| {
"pile_set_name": "Github"
} |
// { dg-do run { target c++11 } }
// { dg-require-cstdint "" }
//
// 2010-03-16 Paolo Carlini <paolo.carlini@oracle.com>
//
// Copyright (C) 2010-2019 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under th... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2020 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://www.apache.org/licenses/LICENSE-2.0
*... | {
"pile_set_name": "Github"
} |
/*!
* Copyright (c) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project.
*/
/* eslint-disable @typescript-eslint/no-var-requires */
// Bar Chart Example, captured from https://vega.github.io/vega/examples/bar-chart/
import { parseScene } from '@chart-parts/scenegraph'
co... | {
"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
* distributed u... | {
"pile_set_name": "Github"
} |
/* Bidirection version of popen() */
#ifndef _Ibipopen
#define _Ibipopen 1
#include "config.h"
typedef struct bip BIP;
struct bip
{
int infd; /* Input file descriptor */
int outfd; /* Output file descriptor */
int pid; /* Sub-process id */
};
BIP *bipopen();
void bipclose();
void bipputs();
char *bipgets();
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2014 Igalia S.L.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following dis... | {
"pile_set_name": "Github"
} |
/*
==============================================================================
This file is part of the Water library.
Copyright (c) 2016 ROLI Ltd.
Copyright (C) 2017 Filipe Coelho <falktx@falktx.com>
Permission is granted to use this software under the terms of the ISC license
http://www.... | {
"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"
} |
//
// NSObject+GICEvent.m
// GICXMLLayout
//
// Created by gonghaiwei on 2018/7/8.
//
#import "NSObject+GICEvent.h"
@implementation NSObject (GICEvent)
-(GICEvent *)gic_event_addEvent:(GICEvent *)event{
if(event.onlyExistOne){
for(GICBehavior *b in self.gic_Behaviors.behaviors){
if(b.class ... | {
"pile_set_name": "Github"
} |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &100000
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 3
m_Component:
- 4: {fileID: 400000}
- 114: {fileID: 11400000}
m_Layer: 8
m_Name: SciFi Font - Normal
m_TagString: Unt... | {
"pile_set_name": "Github"
} |
---
title: Pansexual
slug: pansexual
speech: adj
defined: true
excerpt: someone who is sexually attracted to people regardless of their gender, or to people of any gender.
reading:
- text: 'Pansexuality and Being Pansexual: Everything You Need to Know'
href: https://www.teenvogue.com/story/what-is-pansexuality
--... | {
"pile_set_name": "Github"
} |
define( function() {
"use strict";
return [];
} );
| {
"pile_set_name": "Github"
} |
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package globalaccelerator
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/signer/v4"
"github... | {
"pile_set_name": "Github"
} |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../gameSource/objectBank.h"
#include "../gameSource/transitionBank.h"
#include "../gameSource/categoryBank.h"
#include "../gameSource/animationBank.h"
void usage() {
printf( "Usage:\n\n"
"printObjectName id\n\n" );
exit( 1 );
... | {
"pile_set_name": "Github"
} |
//=-- CoverageMappingReader.cpp - Code coverage mapping reader ----*- C++ -*-=//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2016 lizhaotailang
*
* 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"
} |
fileFormatVersion: 2
guid: 3ac02e7e783571c468f9c086d2384ba7
timeCreated: 1485107928
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 0
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<title id='Description'>Angular FormattedInput NegativeNumbers</title>
<base href="./../dist/formattedinput/negativenumbers/">
<meta name="description" content="This is an example of negative numbers in Angular FormattedInput." />
<meta charset="UTF-8"... | {
"pile_set_name": "Github"
} |
// <copyright file="BaseNavigator.cs" company="Automate The Planet Ltd.">
// Copyright 2016 Automate The Planet Ltd.
// 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/li... | {
"pile_set_name": "Github"
} |
mysql> CREATE TABLE pet (name VARCHAR(20), owner VARCHAR(20),
-> species VARCHAR(20), sex CHAR(1), birth DATE, death DATE);
After creating your table, you need to populate it. The LOAD DATA and INSERT statements are useful for this.
You could create a text file pet.txt containing one record per line, with va... | {
"pile_set_name": "Github"
} |
import assert from 'assert'
import { Given, When, Then } from '@cucumber/fake-cucumber'
Given('there are {int} cucumbers', function (initialCount) {
this.count = initialCount
})
When('I eat {int} cucumbers', function (eatCount) {
this.count -= eatCount
})
Then('I should have {int} cucumbers', function (expectedC... | {
"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"
} |
package huawei.android.widget;
import android.app.Activity;
import android.content.Context;
import android.content.res.Configuration;
import android.database.ContentObserver;
import android.graphics.Rect;
import android.os.Handler;
import android.provider.Settings;
import android.util.AttributeSet;
import android.view... | {
"pile_set_name": "Github"
} |
<Scene xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="WaveEngine.Framework.Models">
<Id>ca1e2372-d6d6-46d2-b894-6ae25ffff02f</Id>
<Entities xmlns:d2p1="WaveEngine.Framework.Models.Entities">
<d2p1:BaseEntityModel i:type="d2p1:EntityModel">
<d2p1:SerializeChildrens />
<d2p1:isDisabled>fa... | {
"pile_set_name": "Github"
} |
package com.alibaba.arthas.spring.endpoints;
import org.springframework.boot.actuate.autoconfigure.endpoint.condition.ConditionalOnAvailableEndpoint;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import o... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.