text stringlengths 2 99.9k | meta dict |
|---|---|
//----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.4 (Public License)
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
// Anti-Grain Geometry - Version 2.4 Release Milano 3 (AggPas 2.4 RM3)
// Pascal Port By: Milan Marusinec alias M... | {
"pile_set_name": "Github"
} |
package org.ovirt.engine.core.bll.storage.connection;
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import java.util.ArrayList;
import java.util.List;
impor... | {
"pile_set_name": "Github"
} |
/*
* s390 PCI instructions
*
* Copyright 2014 IBM Corp.
* Author(s): Frank Blaschka <frank.blaschka@de.ibm.com>
* Hong Bo Li <lihbbj@cn.ibm.com>
* Yi Min Zhao <zyimin@cn.ibm.com>
*
* This work is licensed under the terms of the GNU GPL, version 2 or (at
* your option) any later version. S... | {
"pile_set_name": "Github"
} |
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
C907F0861F0EE1FF004A1B9D /* OCDAPISource.m in Sources */ = {isa = PBXBuildFile; fileRef = C907F0851F0EE1FF004A1B9D /* OCDAPISource.m */; };
C907F0871F0EE213004A1B9D /* OCDAPISource.m in Sources ... | {
"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"
} |
---
title: "「SF-LC」3 List"
subtitle: "Logical Foundations - Working with Structured Data"
layout: post
author: "Hux"
header-style: text
hidden: true
tags:
- LF (逻辑基础)
- SF (软件基础)
- Coq
- 笔记
---
Pair of Numbers
---------------
Q: Why name `inductive`?
A: Inductive means _building things bottom-up_, it doesn't... | {
"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"
} |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
</dict>
</plist>
| {
"pile_set_name": "Github"
} |
// vendor/chromium/mojo/public/mojom/base/thread_priority.mojom-import-headers.h is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef VE... | {
"pile_set_name": "Github"
} |
### ver4.40 `2019/3/21`
-----
#### update:
- 文件列表中文排序优化;中文、数字等组合按自然排序进行排列;
- 水印插件优化:分享文档水印显示分享者信息
- 自定义桌面目录,可以指定桌面文件夹名称
- 离线下载,http header兼容不标准的头处理。中文文件名自动识别优化。
- 控制器自动路由,Hook加入重定向文件;方便插件整体替换某个控制器文件;
#### fix bug
- 禁用预览权限,部分预览插件依然能预览问题处理;优化无权限时前端提示
- 在部门中没有列目录权限时,打开首页报错优化处理【不显示内容,点击切换该目录时提示权限】
- 用户管理部门文档权... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<title>Canvas tests - 2d.text.draw.fill.*</title>
<link rel="stylesheet" href="../frame.css">
<p><a href="index.html">[index]</a>
<h1><a href="index.2d.html">2d</a>.<a href="index.2d.text.html">text</a>.<a href="index.2d.text.draw.html">draw</a>.fill.*</h1>
<p>
<iframe width="200" height="220" src="fram... | {
"pile_set_name": "Github"
} |
var hash = require('../hash');
var utils = hash.utils;
var assert = utils.assert;
function BlockHash() {
this.pending = null;
this.pendingTotal = 0;
this.blockSize = this.constructor.blockSize;
this.outSize = this.constructor.outSize;
this.hmacStrength = this.constructor.hmacStrength;
this.padLength = this... | {
"pile_set_name": "Github"
} |
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 11 Express for Windows 8
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FileSearch", "FileSearch.vcxproj", "{C5B886A7-8300-46FF-B533-9613DE2AF637}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|A... | {
"pile_set_name": "Github"
} |
var baseSlice = require('./_baseSlice'),
isIterateeCall = require('./_isIterateeCall'),
toInteger = require('./toInteger');
/**
* Creates a slice of `array` from `start` up to, but not including, `end`.
*
* **Note:** This method is used instead of
* [`Array#slice`](https://mdn.io/Array/slice) to ensure den... | {
"pile_set_name": "Github"
} |
# What's the fastest way to determine if a vector is all the same value?
# Note: doesn't handle NA and zero-length vectors
all_same1 <- function(x) all(x == x[1])
# One less comparison, but has to duplicate whole vector
# Note: doesn't handle NA and zero-length vectors
all_same2 <- function(x) all(x[-1] == x[1])
# U... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: ddeb037e579424d458112cd4c3e5b183
timeCreated: 1483272765
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: ad7b4906b5c6b284787a3d89affab478
timeCreated: 1538645238
licenseType: Pro
NativeFormatImporter:
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
"""Fixer for operator functions.
operator.isCallable(obj) -> hasattr(obj, '__call__')
operator.sequenceIncludes(obj) -> operator.contains(obj)
operator.isSequenceType(obj) -> isinstance(obj, collections.Sequence)
operator.isMappingType(obj) -> isinstance(obj, collections.Mapping)
operator.isNumberType(obj) ... | {
"pile_set_name": "Github"
} |
#+TITLE: More Emacs goodness: Refresh your memory when you e-mail using notes
from BBDB
September 2nd, 2006 -
[[http://sachachua.com/blog/p/3824][http://sachachua.com/blog/p/3824]]
Inspired by an e-mail-based customer relationship management system
briefly described by [[http://blog.digitalketchup.net/][Daniel Charle... | {
"pile_set_name": "Github"
} |
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: caps.proto
package moby_buildkit_v1_apicaps
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
io "io"
math "math"
math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwis... | {
"pile_set_name": "Github"
} |
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#define ALERT_MODAL(NSString_title, NSString_msg, ... ) \
[[NSAlert alertWithMessageText:NSString_title defaultButton:@"OK" alternateButton:nil otherButton:nil informativeTextWithFormat:NSString_msg, ##__VA_ARGS__ ] runModal]
extern NSOperationQueue *g_opq;
extern NSString *DP... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="charset" content="ISO-8859-1" />
<meta ... | {
"pile_set_name": "Github"
} |
syntax = "proto3";
package testapp.api.type.foo;
option go_package = "testapp/api/type/foo;foo_pb";
message BarUser {
string id = 1;
}
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" ?>
<sql>
<query>
update setting set content='1.0.6' where name = 'ionize_version';
</query>
<!-- Items -->
<query>INSERT IGNORE INTO resource (id_resource, id_parent, resource, actions, title, description) VALUES (220,NULL,'admin/item','create,edit,delete,add','Stat... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildSystemType</key>
<string>Original</string>
</dict>
</plist>
| {
"pile_set_name": "Github"
} |
require_extension('C');
WRITE_RD(insn.rvc_imm());
| {
"pile_set_name": "Github"
} |
/*
* Pinctrl data for Wondermedia WM8850 SoC
*
* Copyright (c) 2013 Tony Prisk <linux@prisktech.co.nz>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* T... | {
"pile_set_name": "Github"
} |
var shimMixedSFOther = {
name: 'shim mixed sf',
c: shimMixedSC
};
| {
"pile_set_name": "Github"
} |
// OCHamcrest by Jon Reid, http://qualitycoding.org/about/
// Copyright 2015 hamcrest.org. See LICENSE.txt
#import "HCTestFailureReporter.h"
@interface HCGenericTestFailureReporter : HCTestFailureReporter
@end
| {
"pile_set_name": "Github"
} |
import fs from 'fs';
import path from 'path';
import probeImageSize from 'probe-image-size';
import { spawnAsyncThrowError } from '../detach/ExponentTools';
import LoggerDetach from '../detach/Logger';
/**
* @param {string} projectDirname
* @param {string} basename
* @returns {} { width: number, height: number } i... | {
"pile_set_name": "Github"
} |
import { Lang } from "../.internal/Lang";
declare const lang: Lang;
export default lang;
| {
"pile_set_name": "Github"
} |
/* TIMEOUT.java --
Copyright (C) 2005, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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, or (at your optio... | {
"pile_set_name": "Github"
} |
/**
* The MIT License (MIT)
*
* Copyright (C) 2013-2016 tarent solutions GmbH
*
* 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 ri... | {
"pile_set_name": "Github"
} |
.. index:: rollbacks
single: replica set; rollbacks
single: consistency; rollbacks
.. _replica-set-rollbacks:
.. _replica-set-rollback:
=====================================
Rollbacks During Replica Set Failover
=====================================
.. default-domain:: mongodb
.. contents:: On this page
:l... | {
"pile_set_name": "Github"
} |
/*
* fs/partitions/osf.h
*/
#define DISKLABELMAGIC (0x82564557UL)
int osf_partition(struct parsed_partitions *state);
| {
"pile_set_name": "Github"
} |
{
"kvasir":{
"io":{
"default":{
"type":"group",
"ports":"A-E",
"peripheral":"GPIO%s"
},
"output":{
"value":1,
"register":"PDDR"
},
"input":{
"value":0,
"register":"PDDR"
},
"set":{
"value":1,
"register":"PSOR"
},
"clear":{
"value":1,
"register":"... | {
"pile_set_name": "Github"
} |
*** Settings ***
Library OperatingSystem
Library String
Resource ../../../variables/${VARIABLES}_variables.robot
Resource ../../../libraries/all_libs.robot
Resource ../../../libraries/pretty_keywords.robot
Suite Setup Testsuite Setup
Suite Teardown Testsuite Teardown
Test Setup Test... | {
"pile_set_name": "Github"
} |
// Copyright 2019 Liquidata, 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 to... | {
"pile_set_name": "Github"
} |
#!/bin/bash
kubectl get sa,roles,rolebindings,clusterroles,clusterrolebindings --all-namespaces -o json | \
rback $@ > /tmp/rback.dot && \
dot /tmp/rback.dot -Tpng -Gsplines=spline -Kdot > /tmp/rback.png && \
xdg-open /tmp/rback.png
| {
"pile_set_name": "Github"
} |
aiosqlite
=========
v0.15.0
-------
Feature release
- Support for accessing connections from multiple event loops
- Fixed type annotations for connection methods returning cursors
- Move cursors into separate module from connections
- Deprecated `loop` parameter to `connect()` and `Connection`
```
$ git shortlog -s... | {
"pile_set_name": "Github"
} |
//
// NSObject+MJProperty.h
// MJExtensionExample
//
// Created by MJ Lee on 15/4/17.
// Copyright (c) 2015年 小码哥. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "MJExtensionConst.h"
@class MJProperty;
/**
* 遍历成员变量用的block
*
* @param property 成员的包装对象
* @param stop YES代表停止遍历,NO代表继续遍历
*/... | {
"pile_set_name": "Github"
} |
{-# LANGUAGE CPP #-}
-- -*-haskell-*-
-- GIMP Toolkit (GTK) Widget HSV
--
-- Author : Andy Stewart
--
-- Created: 25 Mar 2010
--
-- Copyright (C) 2010 Andy Stewart
--
-- This library is free software; you can redistribute it and/or
-- modify it under the terms of the GNU Lesser General Public
-- License as publi... | {
"pile_set_name": "Github"
} |
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Route;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to your controller routes.
*
* In addition, it is set as th... | {
"pile_set_name": "Github"
} |
/*!
* forwarded
* Copyright(c) 2014 Douglas Christopher Wilson
* MIT Licensed
*/
/**
* Module exports.
*/
module.exports = forwarded
/**
* Get all addresses in the request, using the `X-Forwarded-For` header.
*
* @param {Object} req
* @api public
*/
function forwarded(req) {
if (!req) {
throw new T... | {
"pile_set_name": "Github"
} |
# 老司机 iOS 周报 #56 | 2019-02-25

老司机 iOS 周报,只为你呈现有价值的信息。
你也可以为这个项目出一份力,如果发现有价值的信息、文章、工具等可以到 [Issues](https://github.com/SwiftOldDriver/iOS-Weekly/issues) 里提给我们,我们会尽快处理。记得写上推荐的理由哦。有建议和意见也欢迎到 [Issues](https://github.com/... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartArguments>"730" "Counter-Strike: Global Offensive"</StartArguments>
</PropertyGroup>
<PropertyGro... | {
"pile_set_name": "Github"
} |
#IF(WIN32)
# SET(MEXEXT_CMD cmd /C mexext)
#ELSE(WIN32)
# SET(MEXEXT_CMD mexext)
#ENDIF(WIN32)
SET(MEX_NAME nearest_neighbors)
if(WIN32)
find_program(MEX_CMD mex.bat)
find_program(MEXEXT_CMD mexext.bat)
else()
find_program(MEX_CMD mex)
find_program(MEXEXT_CMD mexext)
endif()
find_program(OCT_CM... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Sparks.js - three.js webgl particles - WebGL Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<style type="text/css">
body {
background-color: #000000;
ma... | {
"pile_set_name": "Github"
} |
package hclog
import (
"context"
)
// WithContext inserts a logger into the context and is retrievable
// with FromContext. The optional args can be set with the same syntax as
// Logger.With to set fields on the inserted logger. This will not modify
// the logger argument in-place.
func WithContext(ctx context.Cont... | {
"pile_set_name": "Github"
} |
package config
import (
"fmt"
"os"
"time"
"github.com/BurntSushi/toml"
)
var (
// CoreConf crocodile conf
CoreConf *coreConf
)
// Init Config
func Init(conf string) {
_, err := toml.DecodeFile(conf, &CoreConf)
if err != nil {
fmt.Printf("Err %v", err)
os.Exit(1)
}
}
type coreConf struct {
SecretToken... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2001-2012 Hartmut Kaiser
//
// 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)
#if !defined(BOOST_SPIRIT_ITERATOR_COMBINE_POLICIES_APR_06_2008_0136PM)
#define BOOST_SPIRIT_ITERATOR_COMBINE_PO... | {
"pile_set_name": "Github"
} |
# debuglog - backport of util.debuglog() from node v0.11
To facilitate using the `util.debuglog()` function that will be available when
node v0.12 is released now, this is a copy extracted from the source.
## require('debuglog')
Return `util.debuglog`, if it exists, otherwise it will return an internal copy
of the i... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env zsh
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2020 zsh-syntax-highlighting contributors
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted
# provided that the f... | {
"pile_set_name": "Github"
} |
/***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without m... | {
"pile_set_name": "Github"
} |
# makefile for libpng
# Copyright (C) Glenn Randers-Pehrson
# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
#
# This code is released under the libpng license.
# For conditions of distribution and use, see the disclaimer
# and license in png.h
# where make install puts libpng.a and png.h
prefix=/usr/local
INCPA... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of the Doctrine Bundle
*
* The code was originally distributed inside the Symfony framework.
*
* (c) Fabien Potencier <fabien@symfony.com>
* (c) Doctrine Project, Benjamin Eberlei <kontakt@beberlei.de>
*
* For the full copyright and license information, please view the LICENSE
* f... | {
"pile_set_name": "Github"
} |
index-constraints vars=(int, int) index=(@1)
@1 > 2 AND @1 < 4 AND @2 = 2
----
[/3 - /3]
Remaining filter: @2 = 2
index-constraints vars=(int, int) index=(@1)
@1 > 2
optional: @1 < 4 AND @2 = 2
----
[/3 - /3]
index-constraints vars=(int, int) index=(@1 desc, @2 desc)
optional: @1 >= 2 AND @1 <= 4 AND @2 IN (1, 2, 3)
... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
#coding: utf-8
# https://github.com/nekotaroneko/GUI_Helper
from __future__ import print_function
import json
import ui
import os
import console,editor
import sys
class GUI_Helper(object):
def __init__(self, pyui_path, extra_func_mode=False, remove_title_bar=False, remove_status_bar=False):
... | {
"pile_set_name": "Github"
} |
/**
@page getting_started Getting Started with libxlsxwriter
@tableofcontents
Here are some instructions to get you up and running with the libxlsxwriter
library on different OSes.
@section gsg_linux Installation on Linux
@subsection gsg_quick_start Quick-start on Linux
If you prefer to assemble Ikea furniture fi... | {
"pile_set_name": "Github"
} |
import os
import string
import random
from copy import deepcopy
from itertools import chain
import pytest
import numpy as np
from mock import patch
from eight_mile.utils import (
get_env_gpus,
idempotent_append,
parse_module_as_path,
to_numpy,
get_version,
remove_extensions,
split_extensions... | {
"pile_set_name": "Github"
} |
<?php
class Mockable
{
public $constructorArgs;
public $cloned;
public function __construct($arg1 = NULL, $arg2 = NULL)
{
$this->constructorArgs = array($arg1, $arg2);
}
public function mockableMethod()
{
// something different from NULL
return TRUE;
}
publ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<node order="80" type="filter" visible="Library.HasContent(MovieSets)">
<label>20434</label>
<icon>DefaultSets.png</icon>
<content>movies</content>
<group>sets</group>
</node>
| {
"pile_set_name": "Github"
} |
#!/usr/bin/env ruby
# = Synopsis
# This is an external node classifier script, after
# https://puppet.com/docs/puppet/latest/lang_write_functions_in_puppet.html
#
# = Usage
# regexp_nodes.rb <host>
#
# = Description
# This classifier implements filesystem autoloading: It looks through classes,
# parameters, and enviro... | {
"pile_set_name": "Github"
} |
require('../modules/core.function.part');
module.exports = require('../modules/_core')._; | {
"pile_set_name": "Github"
} |
// Copyright 2012 Neal van Veen. All rights reserved.
// Usage of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package gotty
import (
"bytes"
"errors"
"fmt"
"regexp"
"strconv"
"strings"
)
var exp = [...]string{
"%%",
"%c",
"%s",
"%p(\\d)",
"%P([A-z])",
"%g... | {
"pile_set_name": "Github"
} |
Type confusion can occur when processing a H264 packet. In the method PacketBuffer::FindFrames in modules/video_coding/packet_buffer.cc there is a loop on line 296 that goes through the data_buffer_ vector backwards. The flag is_h264 is set before this loop, and if it is true, the loop extracts and sets h264 struct spe... | {
"pile_set_name": "Github"
} |
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: [v3,10/13] clk: qcom: Add KPSS ACC/GCC driver
From: Stephen Boyd <sboyd@codeaurora.org>
X-Patchwork-Id: 6063201
Message-Id: <1426920332-9340-11-git-send-email-sboyd@codeaurora.org>
To: Mike Turquette <mturquette@linaro.... | {
"pile_set_name": "Github"
} |
import n3Alert from './Alert/n3Alert'
import n3AlertMethod from './Alert/n3AlertMethod'
import n3Carousel from './Carousel/n3Carousel'
import n3Accordion from './Accordion/n3Accordion'
import n3Affix from './Affix/n3Affix'
import n3Aside from './Aside/n3Aside'
import n3CheckboxGroup from './Checkbox/n3CheckboxGroup'
im... | {
"pile_set_name": "Github"
} |
package pflag
import (
"bytes"
"encoding/csv"
"strings"
)
// -- stringSlice Value
type stringSliceValue struct {
value *[]string
changed bool
}
func newStringSliceValue(val []string, p *[]string) *stringSliceValue {
ssv := new(stringSliceValue)
ssv.value = p
*ssv.value = val
return ssv
}
func readAsCSV(v... | {
"pile_set_name": "Github"
} |
/*
Product Name: dhtmlxSuite
Version: 4.0.3
Edition: Professional
License: content of this file is covered by DHTMLX Commercial or Enterprise license. Usage without proper license is prohibited. To obtain it contact sales@dhtmlx.com
Copyright UAB Dinamenta http://www.dhtmlx.com
*/
/* deprecated */
dhtmlXCombo.proto... | {
"pile_set_name": "Github"
} |
package com.captaindebug.address;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.spri... | {
"pile_set_name": "Github"
} |
tile.uppers.upper.name=Upper
itemGroup.uppers=Just An Upper
tooltip.upper_1=Works like an upside-down hopper.
tooltip.upper_2=Sucks items up from block below.
container.upper=Item Upper
| {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2009 Apple Inc. 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 list of conditions... | {
"pile_set_name": "Github"
} |
// Copyright 2016 Erik Neumann. 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"
} |
.. :changelog:
History
-------
7.1.4 (2020-07-05)
~~~~~~~~~~~~~~~~~~
* Configure Elasticsearch _id dynamically from document (#272)
* Use chain.from_iterable in for performance improvement (#278)
* Handle case where SimpleLazyObject being treated as an Iterable (#255)
* Camelcase default value in management command (#... | {
"pile_set_name": "Github"
} |
/**
*
* Copyright (c) 2009-2020 Freedomotic Team http://www.freedomotic-iot.com
*
* This file is part of Freedomotic
*
* 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, o... | {
"pile_set_name": "Github"
} |
#ifndef BOOST_MPL_IDENTITY_HPP_INCLUDED
#define BOOST_MPL_IDENTITY_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// 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)
//
// See http://www.boost.org/libs/m... | {
"pile_set_name": "Github"
} |
'use strict'
const path = require('path')
const fs = require('fs')
const dirList = {
/**
* get files and dirs from dir, or error
* @param {string} dir full path fs dir
* @param {function(error, entries)} callback
* note: can't use glob because don't get error on non existing dir
*/
list: function (... | {
"pile_set_name": "Github"
} |
package pty
/* based on:
http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libc/port/gen/pt.c
*/
import (
"errors"
"golang.org/x/sys/unix"
"os"
"strconv"
"syscall"
"unsafe"
)
const NODEV = ^uint64(0)
func open() (pty, tty *os.File, err error) {
masterfd, err := syscall.Open("/dev/ptmx", syscall.O_R... | {
"pile_set_name": "Github"
} |
@file:JvmName("SqlUtils")
package com.dbflow5
import android.content.ContentValues
import android.net.Uri
import com.dbflow5.isNotNullOrEmpty
import com.dbflow5.quoteIfNeeded
import com.dbflow5.stripQuotes
import com.dbflow5.config.FlowManager
import com.dbflow5.database.DatabaseWrapper
import com.dbflow5.query.NameA... | {
"pile_set_name": "Github"
} |
package http
import "net/http"
// LivestreamUpdates ...
type LivestreamUpdates interface {
RegisterStreamer(sessionID, userID, streamKey string, w http.ResponseWriter, r *http.Request) error
RemoveStreamer(sessionID string) error
StreamerIsRegisteredForSession(sessionID string) bool
}
| {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"pile_set_name": "Github"
} |
/**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic 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... | {
"pile_set_name": "Github"
} |
/*
* Hibernate Search, full-text search for your domain model
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.search.integrationtest.mapper.orm.search.loading.model.mul... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2017 - 2018, Nordic Semiconductor ASA
*
* 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 no... | {
"pile_set_name": "Github"
} |
var baseIteratee = require('./_baseIteratee'),
baseSortedIndexBy = require('./_baseSortedIndexBy');
/**
* This method is like `_.sortedLastIndex` except that it accepts `iteratee`
* which is invoked for `value` and each element of `array` to compute their
* sort ranking. The iteratee is invoked with one argumen... | {
"pile_set_name": "Github"
} |
/* libFLAC - Free Lossless Audio Codec library
* Copyright (C) 2000-2009 Josh Coalson
* Copyright (C) 2011-2014 Xiph.Org Foundation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributio... | {
"pile_set_name": "Github"
} |
// 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.
// Test that -static works when not using cgo. This test is in
// misc/cgo to take advantage of the testing framework support for
// when -static is expected t... | {
"pile_set_name": "Github"
} |
<?php
/**
* This file has been @generated by a phing task by {@link BuildMetadataPHPFromXml}.
* See [README.md](README.md#generating-data) for more information.
*
* Pull requests changing data in these files will not be accepted. See the
* [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8" ?>
<SignConfigXML>
<job platform="x86" configuration="Debug" dest="" jobname="XSAPI Nuget Sign" approvers="vigarg;gstolt">
<file src="__RELBINPATH__\Microsoft.Xbox.Live.SDK.Cpp.UWP.20*.nupkg" signType="Nuget" />
<file src="__RELBINPATH__\Microsoft.Xbox.Live.SDK.Cpp.UW... | {
"pile_set_name": "Github"
} |
# -*- coding=utf-8 -*-
import os
import re
# import pdb
import time
import redis
import ctypes
from threading import Thread
from datetime import datetime
from apscheduler.schedulers.blocking import BlockingScheduler
def async(f):
def wrapper(*args, **kwargs):
thr = Thread(target=f, args=args, kwargs=kwar... | {
"pile_set_name": "Github"
} |
/*
* Core Source for:
* Cypress TrueTouch(TM) Standard Product (TTSP) touchscreen drivers.
* For use with Cypress Txx3xx parts.
* Supported parts include:
* CY8CTST341
* CY8CTMA340
*
* Copyright (C) 2009, 2010, 2011 Cypress Semiconductor, Inc.
* Copyright (C) 2012 Javier Martinez Canillas <javier@dowhile0.org>... | {
"pile_set_name": "Github"
} |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.
This progra... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 3f7c3687170b90e4a8d2ee6b142670f4
timeCreated: 1485107928
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 0
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: ... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2003-2017 The Apereo Foundation
*
* Licensed under the Educational Community 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://opensource.org/licenses/ecl2
*
* Unless requ... | {
"pile_set_name": "Github"
} |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ITOps.ViewModelComposition
{
public class CompositionHandler
{
... | {
"pile_set_name": "Github"
} |
// Copyright 2015 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.
// +build arm64,linux
package unix
//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT
//sys Fadvise(fd int, offset ... | {
"pile_set_name": "Github"
} |
package movers
import (
"math"
"github.com/wieku/danser-go/beatmap/objects"
"github.com/wieku/danser-go/bmath/curves"
"github.com/wieku/danser-go/bmath"
)
type LinearMover struct {
bz *curves.Bezier
beginTime, endTime int64
}
func NewLinearMover() MultiPointMover {
return &LinearMover{}
}
fun... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 25 2017 03:49:04).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "IPropertyNumberExtractor.h"
@interface TPrivsIgnoreOwnershipCheckboxExtractor : IPropertyNumberExtractor
{
}
- (_Bool)isAppl... | {
"pile_set_name": "Github"
} |
// Variables
// --------------------------
$fa-font-path: "../fonts" !default;
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.0.3/fonts" !default; // for referencing Bootstrap CDN font files directly
$fa-css-prefix: fa !default;
$fa-version: "4.0.3" !default;
$fa-border-color: ... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.