text stringlengths 2 99k | meta dict |
|---|---|
select
extract(year from '2000-01-01 12:34:56'::timestamptz),
extract(month from '2000-01-01 12:34:56'::timestamptz),
extract(day from '2000-01-01 12:34:56'::timestamptz),
extract(hour from '2000-01-01 12:34:56'::timestamptz),
extract(minute from '2000-01-01 12:34:56'::timestamptz),
extract(second from '200... | {
"pile_set_name": "Github"
} |
// Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... | {
"pile_set_name": "Github"
} |
.. zeek:type:: ZeekygenTest::TypeAlias
:Type: :zeek:type:`bool`
This is just an alias for a builtin type ``bool``.
.. zeek:type:: ZeekygenTest::NotTypeAlias
:Type: :zeek:type:`bool`
This type should get its own comments, not associated w/ TypeAlias.
.. zeek:type:: ZeekygenTest::OtherTypeAlias
:Typ... | {
"pile_set_name": "Github"
} |
;(function($){
/**
* jqGrid Portuguese Translation
* Tradu��o da jqGrid em Portugues por Frederico Carvalho, http://www.eyeviewdesign.pt
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = $.jgrid || {};
$.extend($... | {
"pile_set_name": "Github"
} |
package kr.dogfoot.hwplib.object.bodytext.control.sectiondefine;
/**
* 용지 설정에 대한 레코드
*
* @author neolord
*/
public class PageDef {
/**
* 용지 가로 크기
*/
private long paperWidth;
/**
* 용지 세로 크기
*/
private long paperHeight;
/**
* 용지 왼쪽 여백
*/
private long leftMargin;
... | {
"pile_set_name": "Github"
} |
//
// BIM IFC library: this library works with Autodesk(R) Revit(R) to export IFC files containing model geometry.
// Copyright (C) 2012 Autodesk, Inc.
//
// 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 th... | {
"pile_set_name": "Github"
} |
/*
* Copyright 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 "license" f... | {
"pile_set_name": "Github"
} |
// SV - Symbolic Vector Hardware Analysis Framework
// Copyright (C) 2014-2015 Centaur Technology
//
// Contact:
// Centaur Technology Formal Verification Group
// 7600-C N. Capital of Texas Highway, Suite 300, Austin, TX 78731, USA.
// http://www.centtech.com/
//
// License: (An MIT/X11-style license)
//
// Pe... | {
"pile_set_name": "Github"
} |
//
// read_at.hpp
// ~~~~~~~~~~~
//
// Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#ifndef BOOST_ASIO_READ_AT_HPP
#define BOOST_... | {
"pile_set_name": "Github"
} |
## @file
# This package provides EDKII capsule related support.
#
# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
[Defines]
DEC_SPECIFICATION = 0x00010005
PACKAGE_NAME = SignedCapsulePkg
PACKAGE_GUID... | {
"pile_set_name": "Github"
} |
/*!
* Bootstrap Responsive v2.3.2
*
* Copyright 2013 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world by @mdo and @fat.
*/
.clearfix {
*zoom: 1;
}
.clearfix:before,
.clearfix:after {
display: table;
l... | {
"pile_set_name": "Github"
} |
# 前言
>文本已收录至我的GitHub仓库,欢迎Star:https://github.com/bin392328206/six-finger
> **种一棵树最好的时间是十年前,其次是现在**
>我知道很多人不玩**qq**了,但是怀旧一下,欢迎加入六脉神剑Java菜鸟学习群,群聊号码:**549684836** 鼓励大家在技术的路上写博客
## 絮叨
前面的章节
- [JVM从入门到入土之详解G1垃圾回收器](https://juejin.im/post/5e366c895188254dfd43df80)
## 回顾
上面一篇文章大家其实可以搞懂G1的动态内... | {
"pile_set_name": "Github"
} |
<?php
namespace Application\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration,
Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your need!
*/
class Version20140210225215 extends AbstractMigration
{
public function up(Schema $schema)
{
// this up() migration... | {
"pile_set_name": "Github"
} |
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<vType id="DEFAULT_VEHTYPE" sigma="0"/>
<container id="c1" depart="0">
<stop lane="beg_0" duration="5" startPos="40"/>
<tranship edges="beg end" speed="2" departPo... | {
"pile_set_name": "Github"
} |
//
// ______ ______ ______
// /\ __ \ /\ ___\ /\ ___\
// \ \ __< \ \ __\_ \ \ __\_
// \ \_____\ \ \_____\ \ \_____\
// \/_____/ \/_____/ \/_____/
//
//
// Copyright (c) 2014-2015, Geek Zoo Studio
// http://www.bee-framework.com
//
//
// Permission is hereby granted, free of charge, to any person ob... | {
"pile_set_name": "Github"
} |
use serde::{Serialize, Deserialize};
#[derive(PartialEq, Copy, Clone, Serialize, Deserialize)]
pub struct Rect {
pub x1 : i32,
pub x2 : i32,
pub y1 : i32,
pub y2 : i32
}
impl Rect {
pub fn new(x:i32, y: i32, w:i32, h:i32) -> Rect {
Rect{x1:x, y1:y, x2:x+w, y2:y+h}
}
// Returns tru... | {
"pile_set_name": "Github"
} |
/**
* Copyright (C) 2009-2012 the original author or authors.
* See the notice.md file distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | {
"pile_set_name": "Github"
} |
(*
Copyright 2008-2018 Microsoft Research
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 agre... | {
"pile_set_name": "Github"
} |
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
package cloudfront
import (
"github.com/aws/aws-sdk-go/private/waiter"
)
func (c *CloudFront) WaitUntilDistributionDeployed(input *GetDistributionInput) error {
waiterCfg := waiter.Config{
Operation: "GetDistribution",
Delay: 60,
MaxAttempts: 25,
... | {
"pile_set_name": "Github"
} |
[
false
/*
true
*/
] | {
"pile_set_name": "Github"
} |
.. _network-boot-server:
Setting Up a Network Boot Server
================================
.. sidebar:: Abstract
This page provides general information how to setup
a network boot server that provides all services
needed for the PXE boot protocol
To be able to deploy a system through the PXE boot protocol,... | {
"pile_set_name": "Github"
} |
function NetLocalGroupEnum {
<#
.SYNOPSIS
Enumerates the local groups on the local (or remote) machine.
.DESCRIPTION
This function will execute the NetLocalGroupEnum Win32API call to query
a given host for local groups.
.PARAMETER ComputerName
Specifies the hostname to query for loc... | {
"pile_set_name": "Github"
} |
/*
* MPC52xx PSC in SPI mode driver.
*
* Maintainer: Dragos Carp
*
* Copyright (C) 2006 TOPTICA Photonics AG.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of ... | {
"pile_set_name": "Github"
} |
# MISRA Compliance
The POSIX platform implementations of transport interfaces, clock utility and retry utils conform to the [MISRA C:2012](https://www.misra.org.uk/MISRAHome/MISRAC2012/tabid/196/Default.aspx)
guidelines, with some noted exceptions. Compliance is checked with Coverity static analysis.
Deviations from t... | {
"pile_set_name": "Github"
} |
.TH libssh2_publickey_list_fetch 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
.SH NAME
libssh2_publickey_list_fetch - TODO
.SH SYNOPSIS
.SH DESCRIPTION
.SH RETURN VALUE
.SH ERRORS
.SH SEE ALSO
| {
"pile_set_name": "Github"
} |
module Trustification
def self.included(recipient)
recipient.extend(ModelClassMethods)
recipient.class_eval do
include ModelInstanceMethods
end
end
module ModelClassMethods
end # class methods
module ModelInstanceMethods
end # instance methods
end
| {
"pile_set_name": "Github"
} |
/*
* QEMU Audio subsystem
*
* Copyright (c) 2003-2005 Vassili Karpov (malc)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the righ... | {
"pile_set_name": "Github"
} |
#include "common.h"
#include "constants.h"
#include "filters.h"
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <tuple>
using std::chrono::duration;
using std::chrono::system_clock;
using std::tie;
int main(int argc, char* argv[]) {
// Parse command line
arguments opt = parse_args(argc, argv... | {
"pile_set_name": "Github"
} |
# Lt. brown face 1 - eyes
# 4 groups
# 1 neutral
# 2 happy
# 3 angry
# 4 wry
-s 14
14
Pe000aab.bmp [-15, -10]
Pe045aab.bmp [-17, -10]
Pe090aab.bmp [-11, -11]
Pe270aab.bmp [-4, -9]
Pe315aab.bmp [-5, -14]
Pe000abb.bmp [-15, -10]
Pe045abb.bmp [-17, -10]
Pe315abb.bmp [-5, -14]
Pe000acb.bmp [-15... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) Fuzhou Rockchip Electronics Co.Ltd
* Author:Mark Yao <mark.yao@rock-chips.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This ... | {
"pile_set_name": "Github"
} |
// go run mksyscall.go -openbsd -tags openbsd,amd64 syscall_bsd.go syscall_openbsd.go syscall_openbsd_amd64.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build openbsd,amd64
package unix
import (
"syscall"
"unsafe"
)
var _ syscall.Errno
// THIS FILE IS GENERATED BY THE COMMAND AT THE... | {
"pile_set_name": "Github"
} |
package com.onboard.frontend.websocket;
import java.util.Collection;
import java.util.Iterator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.socket.CloseStatus;
impo... | {
"pile_set_name": "Github"
} |
mouse.shortcut.label=\u70b9\u51fb\u8fd9\u91cc\u8f93\u5165\u9f20\u6807\u5feb\u6377\u952e
prefix.key.pressed.message=\u6309\u4e0b\u524d\u7f00\u952e\u3002
action.column.name=\u64cd\u4f5c
shortcuts.column.name=\u5feb\u6377\u952e
main.menu.action.title=\u4e3b\u83dc\u5355
main.toolbar.title=\u4e3b\u5de5\u5177\u680f
editor.p... | {
"pile_set_name": "Github"
} |
/* HTTPS GET Example using plain mbedTLS sockets
*
* Contacts the howsmyssl.com API via TLS v1.2 and reads a JSON
* response.
*
* Adapted from the ssl_client1 example in mbedtls.
*
* Original Copyright (C) 2006-2016, ARM Limited, All Rights Reserved, Apache 2.0 License.
* Additions Copyright (C) Copyright 2015-... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2015 John Ahlroos
*
* 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 ... | {
"pile_set_name": "Github"
} |
# Copyright 2018 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 by applica... | {
"pile_set_name": "Github"
} |
function f = cumsum2(f, dims)
%CUMSUM2 Double indefinite integral of a CHEBFUN3.
% F = CUMSUM2(F) returns the double indefinite integral of a CHEBFUN3 F.
% By default, that means cumsum in the first 2 variables, i.e., x and y:
% y x
% / /
% CUMSUM2(F) = | | F(x,y,z) dx ... | {
"pile_set_name": "Github"
} |
import { Component, ViewChild, ViewContainerRef, ViewEncapsulation } from '@angular/core';
import { MatMenu } from '@angular/material/menu';
import { PblNgridComponent, PblColumn, PblNgridDataHeaderExtensionContext } from '@pebula/ngrid';
import { PblNgridOverlayPanelRef } from '@pebula/ngrid/overlay-panel';
@Compone... | {
"pile_set_name": "Github"
} |
# pyshyacc.py - PLY grammar definition for pysh
#
# Copyright 2007 Patrick Mezard
#
# This software may be used and distributed according to the terms
# of the GNU General Public License, incorporated herein by reference.
"""PLY grammar file.
"""
import os.path
import sys
import bb.pysh.pyshlex as pyshlex
tokens = py... | {
"pile_set_name": "Github"
} |
<?php
/**
* Detects unnecessary final modifiers inside of final classes.
*
* This rule is based on the PMD rule catalog. The Unnecessary Final Modifier
* sniff detects the use of the final modifier inside of a final class which
* is unnecessary.
*
* <code>
* final class Foo
* {
* public final function bar... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/dialog_view"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@null"
android:minHeight="60dp"
android:minWidth="180dp"
... | {
"pile_set_name": "Github"
} |
# zipline的命令行入口
## 先上个图

## 几种使用方式
首先`zipline`主要有三种启动的方式:
1. 使用`zipline`命令行工具
2. 使用`jupyter notebook` 的`zipline`集成`magic`
3. 直接自己组装和调用`TradingAlgorithm`
我们主要以`zipline`命令行工具为研究对象,来看一下它的结构,其它情况类似
## zipline 命令行
首先从`setup.py`中可以看到代码的entry_point
```python
entry_points={
'con... | {
"pile_set_name": "Github"
} |
import { moduleFor, test } from 'ember-qunit';
moduleFor('controller:dc/services/show', 'Unit | Controller | dc/services/show', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
// Replace this with your real tests.
test('it exists', function(assert) {
let controller... | {
"pile_set_name": "Github"
} |
<!--
Using This Code Example
=========================
The code examples provided are provided by Daniel Greenfeld and Audrey Roy of
Two Scoops Press to help you reference Two Scoops of Django: Best Practices
for Django 1.11. Code samples follow PEP-0008, with exceptions made for the
purposes of improving book formatt... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
#
# Created by: Pearu Peterson, April 2002
#
from __future__ import division, print_function, absolute_import
__usage__ = """
Build linalg:
python setup.py build
Run tests if scipy is installed:
python -c 'import scipy;scipy.linalg.test()'
"""
import math
import numpy as np
from numpy.test... | {
"pile_set_name": "Github"
} |
{-
Alertmanager API
API of the Prometheus Alertmanager (https://github.com/prometheus/alertmanager)
OpenAPI spec version: 0.0.1
NOTE: This file is auto generated by the openapi-generator.
https://github.com/openapitools/openapi-generator.git
Do not edit this file manually.
-}
module Data.InlineRes... | {
"pile_set_name": "Github"
} |
TITLE passive membrane channel
UNITS {
(mV) = (millivolt)
(mA) = (milliamp)
}
NEURON {
SUFFIX Passive
NONSPECIFIC_CURRENT i
RANGE g, erev
}
PARAMETER {
g = .001 (mho/cm2)
erev = -70 (mV)
}
ASSIGNED { i (mA/cm2)}
BREAKPOINT {
i = g*(v - erev)
}
COMMENT
The passive channel is very simple but illustrates sev... | {
"pile_set_name": "Github"
} |
// Copyright (c) Open Enclave SDK contributors.
// Licensed under the MIT License.
#ifndef _OE_MALLOC_H
#define _OE_MALLOC_H
#include <openenclave/bits/defs.h>
#include <openenclave/bits/result.h>
#include <openenclave/bits/types.h>
OE_EXTERNC_BEGIN
typedef void (*oe_allocation_failure_callback_t)(
const char* ... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\QuoteGraphQl\Model\Cart;
use Magento\Quote\Api\CartManagementInterface;
use Magento\Quote\Model\QuoteIdMask;
use Magento\Quote\Model\QuoteIdMaskFactory;
use Magento\Quote\... | {
"pile_set_name": "Github"
} |
// +build !ignore_autogenerated
/*
Copyright 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 l... | {
"pile_set_name": "Github"
} |
[package]
name = "libeir_intern"
version = "0.1.0"
authors = ["Hans Elias B. Josephsen <me@hansihe.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
libeir_diagnostics = { path = "../libeir_diagnostics"... | {
"pile_set_name": "Github"
} |
/*=============================================================================
Boost.Wave: A Standard compliant C++ preprocessor library
http://www.boost.org/
Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
Software License, Version 1.0. (See accompanying file
LICENSE_1_0... | {
"pile_set_name": "Github"
} |
<Type Name="SelectCursorParentHandler" FullName="Gtk.SelectCursorParentHandler">
<TypeSignature Language="C#" Maintainer="auto" Value="public delegate void SelectCursorParentHandler(object o, SelectCursorParentArgs args);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed SelectCursorParentHa... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 1.5.3">
<title>Contracts on the Producer side 2.2.4.BUILD-SNAPSH... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2008, Harald Kuhr
* 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 condition... | {
"pile_set_name": "Github"
} |
/**
* <html>
* <body>
* <P> Copyright 1994 JsonInternational</p>
* <p> All rights reserved.</p>
* <p> Created on 19941115</p>
* <p> Created by Jason</p>
* </body>
* </html>
*/
package cn.ucaner.pattern.create.builder;
/**
* @Package:cn.ucaner.pattern.create.builder
* @ClassName:XManBuilder
* @Descr... | {
"pile_set_name": "Github"
} |
# Introduction
flare-dbg is a project meant to aid malware reverse engineers in rapidly developing debugger scripts.
# Installation/setup
1. Install the ```pykd``` windbg extension from: https://pykd.codeplex.com/releases
1. Download the Bootstrapper dll.
2. Add the Bootstrapper pykd.dll file into your winex... | {
"pile_set_name": "Github"
} |
<?php
$dt=$_REQUEST['dt'] ;
if($dt=="1"):
//include "auto.php";
else:
include "data.php";
endif;
?> | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of the Access to Memory (AtoM) software.
*
* Access to Memory (AtoM) is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your op... | {
"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"
} |
import {
assign,
defaults,
flatten,
isFunction,
uniq,
some,
groupBy,
uniqBy,
values,
isPlainObject
} from "lodash";
import React from "react";
import Axis from "./axis";
import Style from "./style";
import Transitions from "./transitions";
import Data from "./data";
import Domain from "./domain";
im... | {
"pile_set_name": "Github"
} |
// Copyright 2012 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_test
import (
"net"
"runtime"
"testing"
"golang.org/x/net/internal/iana"
"golang.org/x/net/internal/nettest"
"golang.org/x/net/ipv4"
)
fun... | {
"pile_set_name": "Github"
} |
#
# Copyright (c) 2009, 2017, 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 Softwar... | {
"pile_set_name": "Github"
} |
<?php
/*
* Copyright Medical Information Integration,LLC info@mi-squared.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 Foundation; either version 2
* of the License, or (at your option) any late... | {
"pile_set_name": "Github"
} |
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc-multilib \
libc6-dev \
file \
make \
ca-certificates
| {
"pile_set_name": "Github"
} |
from smtplib import SMTPResponseException
from socket import error as socket_error
from django.core.mail.backends.smtp import EmailBackend as DjangoEmailBackend
from conf.utils import get_site_setting
class EmailBackend(DjangoEmailBackend):
"""
Handles emails using Site-based settings from Conf.
"""
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
<!-- Copyright © 1991-2013 Unicode, Inc.
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
For terms of use, see http://www.unicode.org/copyright.html
-->
<ldml>
<identity>
... | {
"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_60) on Thu Jun 18 16:18:51 EDT 2015 -->
<title>Uses of Class com.sleepycat.bind.tuple.SortedFloatBinding (Oracle - Berkeley DB Java API... | {
"pile_set_name": "Github"
} |
# NULL合体演算子(Nullish coalescing operator) '??'
[recent browser="new"]
NULL合体演算子 `??` はリストの中から最初の "定義済み" 変数を選択するための短縮構文です。
`a ?? b` の結果は:
- `a` が `null` あるいは `undefined` でなければ `a`,
- それ以外の場合は `b`.
したがって、`x = a ?? b` は以下と同等です:
```js
x = (a !== null && a !== undefined) ? a : b;
```
次はより長い例です。
想像してください、ユーザがいて、性、名、ニック... | {
"pile_set_name": "Github"
} |
/*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2015 Intel Corporation. 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 noti... | {
"pile_set_name": "Github"
} |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'list', 'en-gb', {
bulletedlist: 'Insert/Remove Bulleted List',
numberedlist: 'Insert/Remove Numbered List'
} );
| {
"pile_set_name": "Github"
} |
@import "ui-variables";
html,
body {
margin: 0;
height: 100%;
width: 100%;
overflow: hidden;
-webkit-font-smoothing: antialiased;
}
.theme-option {
position: absolute;
top: 0;
margin-top: 4px;
margin-left: 5px;
width: 100px;
height: 60px;
background-color: @background-secondary;
color: @text... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
<%namespace module='pyfr.backends.base.makoutil' name='pyfr'/>
<% gmo = c['gamma'] - 1.0 %>
<% gamma = c['gamma'] %>
<%pyfr:macro name='bc_rsolve_state' params='ul, nl, ur' externs='ploc, t'>
fpdtype_t cs = sqrt(${gamma}*${c['p']}/${c['rho']});
fpdtype_t s = ${c['p']}*pow(${c['rho']}, ... | {
"pile_set_name": "Github"
} |
// Copyright 2015 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.
MOVE_TO, 40, 36,
R_CUBIC_TO, 2.2f, 0, 4, -1.8f, 4, -4,
V_LINE_TO, 12,
R_CUBIC_TO, 0, -2.2f, -1.8f, -4, -4, -4,
H_LINE_TO, 8,
R_CUBIC_TO, -2.2f, 0, -4, 1.8... | {
"pile_set_name": "Github"
} |
//
// UnaryOp.cpp
// MNNConverter
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include "OpConverter.hpp"
class UnaryOp : public OpConverter {
public:
virtual void run(MNN::OpT* dstOp, const caffe::LayerParameter& parameters, const caffe::LayerParameter& weight);
... | {
"pile_set_name": "Github"
} |
import {Component, Input} from "@angular/core";
@Component({
selector: 'color-previewer',
template: `
<div class="color-previewer" [ngStyle]="{color:color}">
Preview Text Color
</div>
`
})
export class ColorPreviewer {
@Input()
color:st... | {
"pile_set_name": "Github"
} |
/*
* Copyright 1998 Sun Microsystems, 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 General Public License version 2 only, as
* published by the Free Software Foundati... | {
"pile_set_name": "Github"
} |
package android.service;
public final class NetworkStatsHistoryBucketProto {
public static final long BUCKET_START_MS = 1112396529665L;
public static final long OPERATIONS = 1112396529670L;
public static final long RX_BYTES = 1112396529666L;
public static final long RX_PACKETS = 1112396529667L;
pub... | {
"pile_set_name": "Github"
} |
{
"info" : {
"version" : 1,
"author" : "xcode"
}
} | {
"pile_set_name": "Github"
} |
#' Programme for International Student Assessment (PISA) 2012 Data for Australia
#'
#' About PISA
#'
#' The Programme for International Student Assessment (PISA) is a triennial international survey which aims to evaluate education systems worldwide by testing the skills and knowledge of 15-year-old students. To date, s... | {
"pile_set_name": "Github"
} |
/* -*- Mode: js; js-indent-level: 2; -*- */
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
/*
* WARNING!
*
* Do not edit this file directly, it is built from the sources at
* https://github.com/mozil... | {
"pile_set_name": "Github"
} |
Actor ZombieManSpawner replaces ZombieMan
{
+LOOKALLAROUND
States
{
Spawn:
TNT1 A 0
TNT1 A 0 A_SpawnItemEx("ZombieManPackSpawner",0,0,0,0,0,0,0,SXF_TRANSFERSPECIAL | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS | 288,0,tid)
TNT1 A 1 ACS_NamedExecuteAlways("StarterPackDynamicProgressionFix",0)
TNT1 A 1 ACS_... | {
"pile_set_name": "Github"
} |
$: << '../lib' << 'lib'
require 'eventmachine'
require 'em-http'
EventMachine.run {
multi = EventMachine::MultiRequest.new
reqs = [
'http://google.com/',
'http://google.ca:81/'
]
reqs.each_with_index do |url, idx|
http = EventMachine::HttpRequest.new(url, :connect_timeout => 1)
req = http.ge... | {
"pile_set_name": "Github"
} |
{
"word": "Irreversible",
"definitions": [
"Not able to be undone or altered."
],
"parts-of-speech": "Adjective"
} | {
"pile_set_name": "Github"
} |
package Paws::AlexaForBusiness::UpdateBusinessReportSchedule;
use Moose;
has Format => (is => 'ro', isa => 'Str');
has Recurrence => (is => 'ro', isa => 'Paws::AlexaForBusiness::BusinessReportRecurrence');
has S3BucketName => (is => 'ro', isa => 'Str');
has S3KeyPrefix => (is => 'ro', isa => 'Str');
has Sc... | {
"pile_set_name": "Github"
} |
E
M 我刚看过了
M 我们有伯爵茶,英式早餐茶,肉桂茶
M 菊花茶,薄荷茶,黑莓茶
M 还有…柠檬派
E
M 你不是那个要喝茶的人对吧?
M 六人行 第1季 第19集 猴子被送走
E
M 瑞秋,你有信
M 谢谢
M 酷,免费试喝的咖啡
M 太好了,因为在哪儿还有免费的咖啡?
M 哦,是啊
E
M 太好了
M 那是什么?
M 乡村俱乐部的每日公报
M 我妈寄来通知有人要订婚了
M 噢,我的天!是巴瑞和明蒂
M 巴瑞,你几乎…
M 明蒂,你的伴娘
M 我看看,那是明蒂?
M 真漂亮!
E
M 她真幸运…
M 有你这样的朋友
M 现在是静默时间
E
M 马修,拿饭给我,快…
M 好小子.把饭给... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2003, 2007, 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"
} |
define("ace/snippets/groovy",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippetText =undefined;
exports.scope = "groovy";
});
| {
"pile_set_name": "Github"
} |
import collections
import torch
import itertools
from typing import List
import math
SSDBoxSizes = collections.namedtuple('SSDBoxSizes', ['min', 'max'])
SSDSpec = collections.namedtuple('SSDSpec', ['feature_map_size', 'shrinkage', 'box_sizes', 'aspect_ratios'])
def generate_ssd_priors(specs: List[SSDSpec], image_si... | {
"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.6.0_34) on Tue May 26 09:04:15 BST 2015 -->
<TITLE>
Uses of Class org.apache.fop.render.AbstractRendererConfigurator (Apache FOP 2.0 API)
</TITLE>
<META... | {
"pile_set_name": "Github"
} |
using System;
using System.Configuration;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace mojoPortal.Web.Framework
{
/// <summary>
/// Author:
/// Created: 2/6/2006
/// Last Modified: 2/6/2006
/// </summary>
public class mojoEncryptio... | {
"pile_set_name": "Github"
} |
// +build OMIT
package string_test
import (
"fmt"
"strings"
"testing"
)
func TestIndex(t *testing.T) {
var tests = []struct {
s string
sep string
out int
}{
{"", "", 0},
{"", "a", -1},
{"fo", "foo", -1},
{"foo", "foo", 0},
{"oofofoofooo", "f", 2},
// etc
}
for _, test := range tests {
ac... | {
"pile_set_name": "Github"
} |
<?php
/**
* ALIPAY API: alipay.marketing.voucher.template.delete request
*
* @author auto create
* @since 1.0, 2018-01-30 22:43:25
*/
class AlipayMarketingVoucherTemplateDeleteRequest
{
/**
* 删除资金券模板
**/
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalInfo;
pri... | {
"pile_set_name": "Github"
} |
<?php
generate_mock_once('HTMLPurifier_DefinitionCache');
class HTMLPurifier_DefinitionCache_DecoratorHarness extends HTMLPurifier_DefinitionCacheHarness
{
public function setup()
{
$this->mock = new HTMLPurifier_DefinitionCacheMock();
$this->mock->type = 'Test';
$this->cache =... | {
"pile_set_name": "Github"
} |
// German language
(function($) {
elRTE.prototype.i18Messages.de = {
'Editor' : 'Editor',
'Source' : 'Quellcode',
// Panel Name
'Copy/Pase' : 'Kopieren/Einfügen',
'Undo/Redo' : 'Rückgängig/Wiederherstellen',
'Text styles' : 'Textstile',
'Colors' : 'Farbe',
'Alignment' : 'Alignment',
'... | {
"pile_set_name": "Github"
} |
import clsx from 'clsx';
import React from 'react';
import PropTypes from 'prop-types';
import Avatar from '@material-ui/core/Avatar';
import { withStyles } from '@material-ui/core/styles';
import { capitalize } from '@material-ui/core/utils';
import SpeedDial from '@material-ui/lab/SpeedDial';
import SpeedDialIcon fro... | {
"pile_set_name": "Github"
} |
module NSIndexPathWrap
def +(aNumber)
self.class.indexPathForRow(row+aNumber, inSection:section)
end
def -(aNumber)
self.class.indexPathForRow(row-aNumber, inSection:section)
end
end
| {
"pile_set_name": "Github"
} |
<!ENTITY polyglot.label "Polyglot">
| {
"pile_set_name": "Github"
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | {
"pile_set_name": "Github"
} |
# Pull base image
FROM python:3.8
# Set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
# Set work directory
WORKDIR /code
# Install dependencies
COPY Pipfile Pipfile.lock /code/
RUN pip install pipenv && pipenv install --system
# Copy project
COPY . /code/
| {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.