text stringlengths 2 99.9k | meta dict |
|---|---|
/*
*
* (C) COPYRIGHT 2012-2016 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation, and any use by you of this program is subject to the terms
* of such GNU licence.... | {
"pile_set_name": "Github"
} |
syntax = "proto3";
package docker.swarmkit.v1;
import "github.com/docker/swarmkit/api/types.proto";
import "gogoproto/gogo.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/any.proto";
import "google/protobuf/wrappers.proto";
// Specs are container objects for user provided input. All creation... | {
"pile_set_name": "Github"
} |
#!/bin/sh
scriptname=$0
DAEMON=${scriptname##*/rc.}
. /etc/init.d/modlibrc
mypidof() {
ps -w | sed -n "/\/m[o]d\/etc\/${1}.conf/ s/^[ ]*\([0-9]*\)[ ].*/\1/ p"
}
config(){
if [ -r "/tmp/flash/openvpn/own_${DAEMON}.conf" ]; then
cp /tmp/flash/openvpn/own_${DAEMON}.conf ${DAEMON_CONFIG}
else
modlib_config ${DAEM... | {
"pile_set_name": "Github"
} |
@item @var{void} @ref{gnutls_session_set_verify_cert2} (gnutls_session_t @var{session}, gnutls_typed_vdata_st * @var{data}, unsigned @var{elements}, unsigned @var{flags})
| {
"pile_set_name": "Github"
} |
{
"kind": "Template",
"apiVersion": "v1",
"metadata": {
"annotations": {
"iconClass": "icon-rh-tomcat",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Application template for JWS PostgreSQL applications built using S2I.",
"tags... | {
"pile_set_name": "Github"
} |
#include "Generated.xcconfig"
| {
"pile_set_name": "Github"
} |
/** color **/
$cm-color-fg = #333
$cm-color-fg-light = #666
$cm-color-fg-x-light = #999
$cm-color-symbol = #ccc
$cm-color-bg = white
$cm-color-bg-highlight = #e6f7f3
$cm-color-stage = #f2f2f2
$cm-color-stage-backdrop = #999
$cm-color-primary = #0082f1
$cm-color-link = $cm-color-primary
$cm-color-splitter = #eee
/** ... | {
"pile_set_name": "Github"
} |
<!doctype html public "-//W3C//DTD HTML 4.0 Draft//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1251"... | {
"pile_set_name": "Github"
} |
/******************************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* This file may be used under the terms of the QSkinny License, Version 1.0
*****************************************************************************/
#include "QskWindow.h"
#include "QskC... | {
"pile_set_name": "Github"
} |
%Algebraic State
%
% Usage:
% >> AlgebraicState(name);
% >> AlgebraicState name; SHORTHAND
% >> AlgebraicState name1 name2 name3 .... SHORTHAND
%
% Parameters:
% name A valid matlab variable name [STRING]
%
% Example:
% >> AlgebraicState x;
%
% Licence... | {
"pile_set_name": "Github"
} |
# TensorFlow-Slim image classification library
[TF-slim](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/slim)
is a new lightweight high-level API of TensorFlow (`tensorflow.contrib.slim`)
for defining, training and evaluating complex
models. This directory contains
code for training and evalua... | {
"pile_set_name": "Github"
} |
/**
* Copyright 2013 JogAmp Community. 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
* co... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
"""
usage: eap_proxy [-h] [--ping-gateway] [--ping-ip PING_IP]
[--ignore-when-wan-up] [--ignore-start] [--ignore-logoff]
[--restart-dhcp] [--set-mac] [--vlan-id VLAN_ID] [--daemon]
[--pidfile PIDFILE] [--syslog] [--run-as USER[:GROUP]]
... | {
"pile_set_name": "Github"
} |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/HealthUI.framework/HealthUI
*/
@interface HKLandscapeSpecificQuantityFixedAxisScalingRule : HKQuantityFixedAxisScalingRule
- (id)portraitYValueRangeForRange:(id)arg1 zoomLevel:(long long)arg2 allowedDecimalPrecision:(long long)arg3;
@end
| {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Cont... | {
"pile_set_name": "Github"
} |
SCTP -> Sctp
SCTPAddIPCorrelatedTypes -> SctpAddIpCorrelatedTypes
SCTPAlg -> SctpAlg
SCTPAlgStateVariables -> SctpAlgStateVariables
SCTPAlgorithm -> SctpAlgorithm
SCTPAsconfAckChunk -> SctpAsconfAckChunk
SCTPAsconfChunk -> SctpAsconfChunk
SCTPAssociation -> SctpAssociation
SCTPCCModules -> SctpCcModules
SCTPChunkTypes ... | {
"pile_set_name": "Github"
} |
FROM alpine:3.3
RUN \
apk add --update bash ca-certificates && \
rm -rf /var/cache/apk/* && \
wget -q -O /usr/local/bin/giddyup https://github.com/cloudnautique/giddyup/releases/download/v0.13.0/giddyup && \
chmod +x /usr/local/bin/giddyup
RUN \
wget -q -O - https://github.com/coreos/etcd/releases/download/... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#3F51B5</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorAccent">#FF4081</color>
<!-- Font Metrics-->
<color name="ascent">#21ff12</color>
<color name="top">#ff1b01</color>
<color name="b... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
/*
* usage.c
*
* Various reporting routines.
* Originally copied from GIT source.
*
* Copyright (C) Linus Torvalds, 2005
*/
#include "util.h"
#include <stdio.h>
#include <stdlib.h>
#include <linux/compiler.h>
static __noreturn void usage_builtin(const char *err)
{
fprintf(st... | {
"pile_set_name": "Github"
} |
/*
* #%L
* ACS AEM Commons Bundle
* %%
* Copyright (C) 2017 Adobe
* %%
* 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... | {
"pile_set_name": "Github"
} |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9d1de2691495b... | {
"pile_set_name": "Github"
} |
{-# OPTIONS_GHC -fno-warn-type-defaults #-}
{-# LANGUAGE OverloadedStrings #-}
import Data.Foldable (for_)
import Test.Hspec (Spec, describe, it, shouldBe)
import Test.Hspec.Runner (configFastFail, defaultConfig, hspecWith)
import Data.String (fromString)
import Raindrops (convert)
main :: IO ()
mai... | {
"pile_set_name": "Github"
} |
好奇心原文链接:[可做腰带的单轮滑行车_设计_好奇心日报-](https://www.qdaily.com/articles/3224.html)
WebArchive归档链接:[可做腰带的单轮滑行车_设计_好奇心日报-](http://web.archive.org/web/20190623151723/https://www.qdaily.com/articles/3224.html)
 | {
"pile_set_name": "Github"
} |
/*=============================================================================
Copyright (c) 2001-2007 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
====================================... | {
"pile_set_name": "Github"
} |
/*
Railscasts-like style (c) Visoft, Inc. (Damien White)
*/
.hljs {
display: block;
padding: 0.5em;
background: #232323;
color: #E6E1DC;
}
.hljs-comment,
.hljs-template_comment,
.hljs-javadoc,
.hljs-shebang {
color: #BC9458;
font-style: italic;
}
.hljs-keyword,
.ruby .hljs-function .hljs-keyword,
.hljs... | {
"pile_set_name": "Github"
} |
/* ----------------------------------------------------------------------
* Copyright (C) 2010-2014 ARM Limited. All rights reserved.
*
* $Date: 12. March 2014
* $Revision: V1.4.4
*
* Project: CMSIS DSP Library
* Title: arm_biquad_cascade_df1_fast_q15.c
*
* Description: Fast... | {
"pile_set_name": "Github"
} |
application {
config {
baseName appWithBlueprints
blueprints [vuejs, generator-jhipster-dotnetcore]
}
}
| {
"pile_set_name": "Github"
} |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.remoteServer.impl.configuration;
import com.intellij.configurationStore.ComponentSerializationUtil;
import com.intellij.openapi.application.ApplicationManage... | {
"pile_set_name": "Github"
} |
/*
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 law or agreed to in writing, softw... | {
"pile_set_name": "Github"
} |
/*********************************************************************************
* *
* The MIT License (MIT) *
* ... | {
"pile_set_name": "Github"
} |
<div style="background: -moz-linear-gradient(150px 150px, white, white 100px, black); width: 300px; height: 300px;"></div>
<div style="background: -moz-repeating-linear-gradient(150px 150px, white, white 100px, black); width: 300px; height: 300px;"></div>
| {
"pile_set_name": "Github"
} |
<resources>
<string name="app_name">BlurHash</string>
<string name="hint_blurhash">BlurHash string</string>
<string name="title_button_decode">Decode!</string>
</resources>
| {
"pile_set_name": "Github"
} |
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libfar", "libfar.vcproj", "{6D873964-D436-4638-89ED-BC73AC9E3D6C}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libfar_example", "..\libfar_example\libfar_example.vc... | {
"pile_set_name": "Github"
} |
require 'spec_helper'
RSpec.describe 'Trello::Schema::Serializer::Time' do
describe '.serialize' do
it 'parse the time to string with format like: 2020-01-01T00:00:00.000Z' do
expect(Trello::Schema::Serializer::Time.serialize(Time.new(2020, 4, 13, 23, 12, 59))).to eq('2020-04-13T23:12:59.000Z')
end
... | {
"pile_set_name": "Github"
} |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2020 OpenFOAM Foundation
\\/ ... | {
"pile_set_name": "Github"
} |
import * as sapper from '@sapper/app';
sapper.start({
target: document.querySelector('#sapper')
}); | {
"pile_set_name": "Github"
} |
#ifndef _ZQ_PIXEL_FORMAT_H_
#define _ZQ_PIXEL_FORMAT_H_
#pragma once
namespace ZQ
{
enum ZQ_PixelFormat {
ZQ_PIXEL_FMT_GRAY = 0,
ZQ_PIXEL_FMT_BGR,
ZQ_PIXEL_FMT_RGB,
ZQ_PIXEL_FMT_BGRX,
ZQ_PIXEL_FMT_RGBX,
ZQ_PIXEL_FMT_XBGR,
ZQ_PIXEL_FMT_XRGB
};
}
#endif | {
"pile_set_name": "Github"
} |
Encore: Setting up your Project
===============================
After :doc:`installing Encore </frontend/encore/installation>`, your app already has one
CSS and one JS file, organized into an ``assets/`` directory:
* ``assets/js/app.js``
* ``assets/css/app.css``
With Encore, think of your ``app.js`` file like a stan... | {
"pile_set_name": "Github"
} |
# Copyright 2014 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.
import("//testing/libfuzzer/fuzzer_test.gni")
if (is_win) {
import("//build/config/win/visual_studio_version.gni")
}
config("includes") {
include_dirs ... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
describe "GET /db/works/:work_id/episodes/new", type: :request do
context "user does not sign in" do
let!(:work) { create(:work) }
it "user can not access this page" do
get "/db/works/#{work.id}/episodes/new"
expect(response.status).to eq(302)
expect(flash[:a... | {
"pile_set_name": "Github"
} |
// This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the li... | {
"pile_set_name": "Github"
} |
/* Copyright (c) 2016 The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_view"
... | {
"pile_set_name": "Github"
} |
;;;; -*- Mode: Lisp -*-
;;;; $Id: udp-client.lisp 900 2011-06-30 16:30:07Z binghe $
;;;; UDP Client Support for LispWorks
(in-package :comm+)
(defun initialize-dynamic-sockaddr (hostname service protocol)
#+(or lispworks4 lispworks5 lispworks6.0)
(let ((server-addr (fli:allocate-dynamic-foreign-object
... | {
"pile_set_name": "Github"
} |
<component name="libraryTable">
<library name="Maven: org.springframework:spring-context:4.2.6.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-context/4.2.6.RELEASE/spring-context-4.2.6.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY... | {
"pile_set_name": "Github"
} |
<?php
$UTF8_TO_ASCII[0x8d] = array(
'Wei ', 'Bai ', 'Chen ', 'Zhuan ', 'Zhi ', 'Zhui ', 'Biao ', 'Yun ', 'Zeng ', 'Tan ', 'Zan ', 'Yan ', '[?]', 'Shan ', 'Wan ', 'Ying ',
'Jin ', 'Gan ', 'Xian ', 'Zang ', 'Bi ', 'Du ', 'Shu ', 'Yan ', '[?]', 'Xuan ', 'Long ', 'Gan ', 'Zang ', 'Bei ', 'Zhen ', 'Fu ',
'Yuan ', 'Gong ', '... | {
"pile_set_name": "Github"
} |
#!/bin/sh
function abspath() {
# generate absolute path from relative path
# $1 : relative filename
# return : absolute path
if [ -d "$1" ]; then
# dir
(cd "$1"; pwd)
elif [ -f "$1" ]; then
# file
if [[ $1 = /* ]]; then
echo "$1"
elif [[ $1 ==... | {
"pile_set_name": "Github"
} |
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
* Copyright (C) 2002-2010 Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
*
* This program is free software; you can redistribute it and/or modify
* it unde... | {
"pile_set_name": "Github"
} |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template join</title>
<link rel="stylesheet" href="../../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../../index.html" title="... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available... | {
"pile_set_name": "Github"
} |
namespace SoundFingerprinting.Audio.NAudio.Play
{
public class NAudioPlayAudioFileService : IPlayAudioFileService
{
private readonly INAudioPlayAudioFactory audioFactory;
public NAudioPlayAudioFileService(): this(new NAudioPlayAudioFactory())
{
}
internal NAudioPlayAud... | {
"pile_set_name": "Github"
} |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | {
"pile_set_name": "Github"
} |
/*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the G... | {
"pile_set_name": "Github"
} |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
if bld.env['ENABLE_MPI']:
module = bld.create_ns3_module('point-to-point', ['network', 'mpi'])
else:
module = bld.create_ns3_module('point-to-point', ['network'])
module.source = [
'... | {
"pile_set_name": "Github"
} |
namespace Winter
{
public partial class Snip
{
private System.Windows.Forms.NotifyIcon notifyIcon;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemSnipVersion;
private System.Windows.Forms.ToolStripS... | {
"pile_set_name": "Github"
} |
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*-
#
# Copyright (C) 2019 Canonical Ltd
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the h... | {
"pile_set_name": "Github"
} |
#!/bin/bash
function zip_align()
{
TEMP="${1}"
DEST="${2}"
if [ ! -f "${TEMP}" ]; then
echo "${TEMP} is NOT a file"
return
fi
if [ -f "${DEST}" ]; then
rm -f "${DEST}"
fi
zipalign -f 4 "${TEMP}" "${DEST}"
}
function compress()
{
DIR="${1}"
FILE="${2}"
... | {
"pile_set_name": "Github"
} |
.\" **************************************************************************
.\" * _ _ ____ _
.\" * Project ___| | | | _ \| |
.\" * / __| | | | |_) | |
.\" * | (__| |_| | _ <| |___
.\" * ... | {
"pile_set_name": "Github"
} |
boxing day
christmas day
constitution day
daylight saving time ends
daylight saving time starts
december solstice
diwali
easter monday
fiji day
good friday
holy saturday
june solstice
march equinox
national sports day
new year
september equinox
the prophets birthday
| {
"pile_set_name": "Github"
} |
# Get started sending messages to a topic using topicClient and receiving those messages from Subscription using SubscriptionClient
In order to run the sample in this directory, replace the following bracketed values in the `Program.cs` file.
```csharp
// Connection String for the namespace can be obtained from the A... | {
"pile_set_name": "Github"
} |
# WAMP-CRA Dynamic Authentication
* [Python](python)
* [NodeJS](nodejs)
* [PHP](php)
| {
"pile_set_name": "Github"
} |
The steps to get this WindowsPhone UI working are:
1. Add a reference to your Core PCL project
2. Create a Setup.cs file
3. Change App.Xaml.cs so that it creates a 'new Setup(RootFrame)' during its constructor
var setup = new Setup(RootFrame);
setup.Initialize();
4. Change App.Xaml.cs so that it intercepts ... | {
"pile_set_name": "Github"
} |
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
layer at (20,8) size 115x115 clip at (20,8) size 100x100
RenderBlock (positioned) {DIV} at (20,8) size 115x115
RenderBlock {SPAN} at (0,... | {
"pile_set_name": "Github"
} |
select @@global.performance_schema_setup_objects_size;
@@global.performance_schema_setup_objects_size
123
select @@session.performance_schema_setup_objects_size;
ERROR HY000: Variable 'performance_schema_setup_objects_size' is a GLOBAL variable
show global variables like 'performance_schema_setup_objects_size';
Variabl... | {
"pile_set_name": "Github"
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Text.Unicode;
using Xunit;
namespace System.Text.Encodings.Web.Tests
{
public class UnicodeRangeTests
{
[Theory]
[InlineData(-1, 1... | {
"pile_set_name": "Github"
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | {
"pile_set_name": "Github"
} |
__author__ = 'tylin'
| {
"pile_set_name": "Github"
} |
###################
# Gun: Mini Rockets
[General]
Name = Mini Rockets
Class = WCL_MISSILE
Recoil = 10
Recharge = 5
Drain = 10
ROF = 150
Sound = larpa.wav
[Projectile]
Amount = 1
Speed = 250
Spread = 0
Projectile = p_minirocket.txt | {
"pile_set_name": "Github"
} |
<ol class="breadcrumb" breadcrumb="">
<li class="breadcrumb-item ng-scope active"><span>Logs</span></li>
</ol>
<div class="container-fluid">
<div class="animated fadeIn">
<div class="row">
<div class="col-sm-12 col-lg-12">
<div class="card">
<div class="card-block">
<div clas... | {
"pile_set_name": "Github"
} |
var LazyWrapper = require('./LazyWrapper'),
arrayCopy = require('./arrayCopy');
/**
* Creates a clone of the lazy wrapper object.
*
* @private
* @name clone
* @memberOf LazyWrapper
* @returns {Object} Returns the cloned `LazyWrapper` object.
*/
function lazyClone() {
var result = new LazyWrapper(this.__wr... | {
"pile_set_name": "Github"
} |
comment "alsa-lib needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS
menuconfig BR2_PACKAGE_ALSA_LIB
bool "alsa-lib"
# Even though some parts of alsa-lib use threads only when
# available, some PCM plugins use them unconditionally. Since
# the usage of alsa-lib on no-thread systems is pretty
# u... | {
"pile_set_name": "Github"
} |
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Copyright 2010 California Institute of Technology. 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... | {
"pile_set_name": "Github"
} |
/* http://gregfranko.com/blog/jquery-best-practices/ */
(function($) {
$(function() {
$("#sidebar")
.stick_in_parent({offset_top: 40})
.on('sticky_kit:bottom', function(e) {
$(this).parent().css('position', 'static');
})
.on('sticky_kit:unbottom', function(e) {
$(this).par... | {
"pile_set_name": "Github"
} |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { pageObjects } from '../functional/page_objects';
export { pageObjec... | {
"pile_set_name": "Github"
} |
module.exports = {
Model: require('./underline.js'),
View: require('../annotation/annotation_view.js')
};
| {
"pile_set_name": "Github"
} |
@import url("../../Yaru-MATE-light/gtk-3.0/gtk.css");
| {
"pile_set_name": "Github"
} |
/*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code").
Doom 3 Source Code is free software: you can redistribute it and/or modify
it... | {
"pile_set_name": "Github"
} |
"""
Reference implementation for buyback auth loaders.
"""
from ..data import (
CashBuybackAuthorizations,
ShareBuybackAuthorizations
)
from .events import EventsLoader
from zipline.pipeline.common import (
BUYBACK_ANNOUNCEMENT_FIELD_NAME,
CASH_FIELD_NAME,
SHARE_COUNT_FIELD_NAME
)
from zipline.util... | {
"pile_set_name": "Github"
} |
{
"version":"2.0",
"metadata":{
"apiVersion":"2014-10-06",
"endpointPrefix":"codedeploy",
"jsonVersion":"1.1",
"protocol":"json",
"serviceAbbreviation":"CodeDeploy",
"serviceFullName":"AWS CodeDeploy",
"signatureVersion":"v4",
"targetPrefix":"CodeDeploy_20141006",
"timestampForma... | {
"pile_set_name": "Github"
} |
# Group Anagrams
出处
Write a method to sort an array of strings so that all the anagrams are next to each other
## Solution
这并不是一个完全排序的问题,而只要求分类,并且类别一定是有限个,选择用桶排序,类别数量等于桶的数量。对一般的桶排序,每一个不同的值就对应一个桶,而这里则是所有相同字母异序词(anagram)对应一个桶,因此需要找到一个哈希函数,要求是所有相同字母异序词的哈希值相同,对应同一个桶。一种做法是将字符串排序后的结果作为字符串的哈希值。
## Complexity
假定字符串平均长度为k... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
/******************************************************************************
Copyright:: 2020- IBM, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this fi... | {
"pile_set_name": "Github"
} |
{
"id": "us/las",
"type": "location",
"href": "/cloudapi/v4/locations/us/las",
"properties": {
"name": "lasvegas",
"features": [
"SSD",
"MULTIPLE_CPU"
]
}
} | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | {
"pile_set_name": "Github"
} |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | {
"pile_set_name": "Github"
} |
var convert = require('./convert'),
func = convert('defer', require('../defer'), require('./_falseOptions'));
func.placeholder = require('./placeholder');
module.exports = func;
| {
"pile_set_name": "Github"
} |
#! /bin/sh
#
# Ubuntu installation script for RPi 2.
# The best starting point is to follow this guide:
# https://wiki.ubuntu.com/ARM/RaspberryPi
# Short instructions to put Ubuntu image on SD card:
# 1. Download Ubuntu image from
# http://www.finnie.org/software/raspberrypi/2015-04-06-ubuntu-trusty.zip
if [ ! -... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/widget28"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="fill"
android:orientation="vertical" >
<TextView
android:id... | {
"pile_set_name": "Github"
} |
<?php
namespace oasis\names\specification\ubl\schema\xsd\CommonBasicComponents_2;
/**
* @xmlNamespace urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2
* @xmlType ConsumerUnitQuantityType
* @xmlName ConsumerUnitQuantity
* @var oasis\names\specification\ubl\schema\xsd\CommonBasicComponents_2\Cons... | {
"pile_set_name": "Github"
} |
/// Author:
/// Created: 2008-06-22
/// Last Modified: 2012-03-04
///
/// The use and distribution terms for this software are covered by the
/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
/// which can be found in the file CPL.TXT at the root of this distribution.
/// By using 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" fi... | {
"pile_set_name": "Github"
} |
// RUN: %sea pf -O0 "%s" 2>&1 | OutputCheck %s
// CHECK: ^unsat$
#include "seahorn/seahorn.h"
#define N 10
int a[N];
int main() {
int i;
for (i = 0; i < N; i++)
a[i] = 0;
for (i = 0; i < N; i++)
sassert(a[i] == 0);
return 42;
}
| {
"pile_set_name": "Github"
} |
Subject: how are you ?
now loading . . .
no more messages | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2010 Apple Inc. All rights reserved.
* Portions Copyright (c) 2010 Motorola Mobility, 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... | {
"pile_set_name": "Github"
} |
/**
* Copyright (C) 2016-2020 the AndroidAnnotations project
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | {
"pile_set_name": "Github"
} |
// 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
import "unsafe"
func EpollCreate(size int) (fd int, err error) {
if size <= 0 {
return -1, EINVAL
}
return EpollCreat... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2012, 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 ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<plugin game="H4Network" baseSize="0x230">
<!-- Automatically generated plugin -->
<revisions>
<revision author="Assembly" version="1">Generated plugin from scratch.</revision>
<revision author="Lord Zedd" version="2">Standardized model data and updated</revision>
</revisi... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
module Hyrax
class DeactivatedEmbargoSearchBuilder < EmbargoSearchBuilder
self.default_processor_chain += [:with_deactivated_embargos]
def with_deactivated_embargos(solr_params)
solr_params[:fq] ||= []
solr_params[:fq] = 'embargo_history_ssim:*'
end
end
end
| {
"pile_set_name": "Github"
} |
/**
* Copyright(c) Live2D Inc. All rights reserved.
*
* Use of this source code is governed by the Live2D Open Software license
* that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
*/
using Live2D.Cubism.Core;
using UnityEngine;
namespace Live2D.Cubism.Framework
{
... | {
"pile_set_name": "Github"
} |
{ $Id$}
{
*****************************************************************************
* Gtk2WSDialogs.pp *
* ---------------- *
* ... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.