text stringlengths 2 99k | meta dict |
|---|---|
<?xml version='1.0' encoding='utf-8'?>
<section xmlns="https://code.dccouncil.us/schemas/dc-library" xmlns:codified="https://code.dccouncil.us/schemas/codified" xmlns:codify="https://code.dccouncil.us/schemas/codify" xmlns:xi="http://www.w3.org/2001/XInclude" containing-doc="D.C. Code">
<num>11-744</num>
<heading>J... | {
"pile_set_name": "Github"
} |
package com.hzl.libyuvdemo.listener;
/**
* 作者:请叫我百米冲刺 on 2017/11/7 上午10:38
* 邮箱:mail@hezhilin.cc
*/
public interface CameraSurfaceListener {
void startAutoFocus(float x, float y);
void openCamera();
void releaseCamera();
int changeCamera();
}
| {
"pile_set_name": "Github"
} |
@{
ViewData["Title"] = "About";
}
<div class="alert alert-info">Views/About/Index.cshtml</div> | {
"pile_set_name": "Github"
} |
#!/bin/sh
[ -e /etc/config/ubootenv ] && exit 0
touch /etc/config/ubootenv
. /lib/uboot-envtools.sh
. /lib/functions.sh
board=$(board_name)
case "$board" in
ocedo,panda)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x20000" "0x20000"
;;
esac
config_lo... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2012, Codename One 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 Sof... | {
"pile_set_name": "Github"
} |
# PhotoShow and Docker
To have PhotoShow running with Docker it's necessary to:
* Build the PhotoShow image which will be used to run a container
* Create a container based on image built
More details about [Docker command line](https://docs.docker.com/engine/reference/commandline/cli/)
## Build
Build PhotoShow ... | {
"pile_set_name": "Github"
} |
using DotVVM.Framework.ViewModel;
namespace DotVVM.Samples.BasicSamples.ViewModels.FeatureSamples.PostBack
{
public class SuppressPostBackHandlerViewModel : DotvvmViewModelBase
{
public bool Condition { get; set; } = true;
public int Counter { get; set; }
public void ChangeCondition()... | {
"pile_set_name": "Github"
} |
<?php declare(strict_types=1);
namespace PhpParser\Node\Expr;
use PhpParser\Node\Expr;
use PhpParser\Node\Name;
class ConstFetch extends Expr
{
/** @var Name Constant name */
public $name;
/**
* Constructs a const fetch node.
*
* @param Name $name Constant name
* @param array ... | {
"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>SchemeUserState</key>
<dict>
<key>NaughtyImageView.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</d... | {
"pile_set_name": "Github"
} |
using Caliburn.Micro;
using Gemini.Modules.ToolBars.Models;
namespace Gemini.Modules.ToolBars
{
public interface IToolBar : IObservableCollection<ToolBarItemBase>
{
}
} | {
"pile_set_name": "Github"
} |
include_directories($ENV{VTUNE_AMPLIFIER_XE_2015_DIR}/include)
add_library(vtune vtune.h vtune.cpp ../cpuEvents.h)
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*/
package org.mule.runtime.core.internal.routing.forkjoin;
... | {
"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>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>HBuilder Hello</string>
<key>CFBundleExecutable<... | {
"pile_set_name": "Github"
} |
// Empty config file to trick Styleguidist not to use the config file from ../..
// You don't need an empty config in your project.
| {
"pile_set_name": "Github"
} |
#
# Secret Labs' Regular Expression Engine
#
# convert re-style regular expression to sre pattern
#
# Copyright (c) 1998-2001 by Secret Labs AB. All rights reserved.
#
# See the sre.py file for information on usage and redistribution.
#
"""Internal support module for sre"""
# XXX: show string offset and offending ch... | {
"pile_set_name": "Github"
} |
/*
* @test /nodynamiccopyright/
* @bug 6247324
* @compile/fail/ref=T6247324.out -XDrawDiagnostics -Xlint -Xlint:-path T6247324.java
*/
class Pair<X,Y> {
private X x;
private Y y;
public Pair(X x, Y y){
this.x = x;
this.y = y;
}
public X getX(){
return x;
}
@See... | {
"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>application-identifier</key>
<string>VQXC654T2W.com.imperiumlabs.geofirestore</string>
<key>keychain-access-groups</key>
<array>
<string>V... | {
"pile_set_name": "Github"
} |
//
// UIViewController+CYLTabBarControllerExtention.m
// CYLTabBarController
//
// v1.16.0 Created by 微博@iOS程序犭袁 ( http://weibo.com/luohanchenyilong/ ) on 16/2/26.
// Copyright © 2016年 https://github.com/ChenYilong .All rights reserved.
//
#import "UIViewController+CYLTabBarControllerExtention.h"
#import "CYLTabBa... | {
"pile_set_name": "Github"
} |
export default {
alias: {
bbb: require.resolve('./bar.css'),
}
}
| {
"pile_set_name": "Github"
} |
<android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:id="@+id/pager"
android:layout_width="match_parent" android:layout_height="match_parent"
tools:context=".MainActivity" />
| {
"pile_set_name": "Github"
} |
# Copyright 2017 FUJITSU LIMITED
# 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 req... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2013 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 or at
// https://developers.google.com/open-source/licenses/bsd.
// Package lintutil provides helpers for writing linter command lines.
package lintutil /... | {
"pile_set_name": "Github"
} |
_Z5func1v
# Func Hash:
0
# Num Counters:
1
# Counter Values:
0
_Z5func2v
# Func Hash:
0
# Num Counters:
1
# Counter Values:
0
_Z5func3v
# Func Hash:
0
# Num Counters:
1
# Counter Values:
0
_Z5func4v
# Func Hash:
0
# Num Counters:
1
# Counter Values:
0
main
# Func Hash:
0
# Num Counters:
1
# Counter Values:
1
_Z5fu... | {
"pile_set_name": "Github"
} |
#include "resourceGui.h"
#define IDR_MENUBAR1 70
#define IDM_MENU 71
#define IDR_ACCELERATOR1 72
#define IDB_ADD 100
#define IDB_EXTRACT 101
#define IDB_TEST 102
#define IDB_COPY 103
#define IDB_MOVE 104
#define IDB_DELETE 105
#define IDB_INFO 106
#define IDB_ADD2... | {
"pile_set_name": "Github"
} |
module RPXNow
class UserProxy
def initialize(id)
@id = id
end
def identifiers
RPXNow.mappings(@id)
end
def map(identifier)
RPXNow.map(identifier, @id)
end
def unmap(identifier)
RPXNow.unmap(identifier, @id)
end
end
end | {
"pile_set_name": "Github"
} |
package archive
import (
"io"
"os"
"testing"
"time"
"github.com/cozy/cozy-stack/model/instance"
"github.com/cozy/cozy-stack/model/vfs"
"github.com/cozy/cozy-stack/pkg/config/config"
"github.com/cozy/cozy-stack/pkg/consts"
"github.com/cozy/cozy-stack/tests/testutils"
"github.com/stretchr/testify/assert"
)
v... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
# Copyright (C) 2015 ZetaOps Inc.
#
# This file is licensed under the GNU General Public License v3
# (GPLv3). See LICENSE.txt for details.
from ulakbus.services.ulakbus_service import UlakbusService
import time
import requests
import io
import json
import hashlib
import copy
import base64
fr... | {
"pile_set_name": "Github"
} |
# react-native-sms
## SendSMS
Use this RN component to send an SMS with a callback (completed/cancelled/error). iOS and Android are both supported.
Currently, only user-initiated sending of an SMS is supported. This means you can't use `react-native-sms` to send an SMS in the background-- this package displays the na... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Itanium">
<Configuration>Debug</Configuration>
<Platform>Itanium</... | {
"pile_set_name": "Github"
} |
{
"AEli": "Æ",
"AElig": "Æ",
"AM": "&",
"AMP": "&",
"Aacut": "Á",
"Aacute": "Á",
"Abreve": "Ă",
"Acir": "Â",
"Acirc": "Â",
"Acy": "А",
"Afr": "𝔄",
"Agrav": "À",
"Agrave": "À",
"Alpha": "Α",
"Amacr": "Ā",
"And": "⩓",
"Aogon": "Ą",
"Aopf": "𝔸",
"ApplyFunction": "",
"Arin": "Å",
... | {
"pile_set_name": "Github"
} |
Copyright (c) 2007, Apostolos Syropoulos (<asyropoulos@yahoo.com),
with Reserved Font Name Asana Math.
Copyright (c) 2013, The MathJax Consortium,
with Reserved Font Name Asana MathJax.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available wit... | {
"pile_set_name": "Github"
} |
/**********************************************************************
* Copyright (c) 2013, 2014, 2015 Pieter Wuille, Gregory Maxwell *
* Distributed under the MIT software license, see the accompanying *
* file COPYING or http://www.opensource.org/licenses/mit-license.php.*
*******************************... | {
"pile_set_name": "Github"
} |
/**
* Estonian translation for bootstrap-datepicker
* Ando Roots <https://github.com/anroots>
* Fixes by Illimar Tambek <<https://github.com/ragulka>
*/
;(function($){
$.fn.datepicker.dates['et'] = {
days: ["Pühapäev", "Esmaspäev", "Teisipäev", "Kolmapäev", "Neljapäev", "Reede", "Laupäev", "Pühapäev"],
daysSho... | {
"pile_set_name": "Github"
} |
# memmgr back ends: compile only one of these into a working library
# (For now, let's use the mode that requires the image fit into memory.
# This is the recommended mode for Win32 anyway.)
set(systemdependent_SRCS jmemnobs.c)
# library object files common to compression and decompression
set(common_SRCS
jaricom.... | {
"pile_set_name": "Github"
} |
#ifndef __falcon_utils__
#define __falcon_utils__
#define PRU0_CONTROL_REG 0x00022000
#define PRU1_CONTROL_REG 0x00024000
#ifndef RUNNING_ON_PRU1
#define PRU_CONTROL_REG PRU0_CONTROL_REG
#define PRU_MEMORY_OFFSET 0
#define PRU_ARM_INTERRUPT PRU0_ARM_INTERRUPT
#else
#define PRU_CONTROL_REG PRU1_CONTROL_REG
#defi... | {
"pile_set_name": "Github"
} |
var a = 0;
var global = "ran";
c(); | {
"pile_set_name": "Github"
} |
// (C) Copyright Antony Polukhin 2013.
//
// Use, modification and distribution are subject to 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/type_traits for most recent version including do... | {
"pile_set_name": "Github"
} |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using NUnit.Framework;
namespace MonoGame.Tests.Framework
{
/// <summary>
/// Tests for enum compatibility with XNA(here is only XNA enum members, extensions are not included).
/// </summary>
cl... | {
"pile_set_name": "Github"
} |
ITT Corp. met with financial advisers on Thursday to assess an unsolicited $6.5 billion bid from Hilton Hotels Corp., while some Wall Street analysts said the company's best defence might be to pursue an acquisition.
Industry experts said ITT might be able to stave off the takeover if it made a large casino or hotel pu... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 41bfa96dabb64a14ca84d2eca0fc80b7
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
{
"default_locale": "en_US",
"description": "It is the description of fake extension 2.",
"name": "Fake Extension 2"
}
| {
"pile_set_name": "Github"
} |
/*
* libjingle
* Copyright 2011 Google Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the fo... | {
"pile_set_name": "Github"
} |
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | {
"pile_set_name": "Github"
} |
<?php
/**
* Used to set up and fix common variables and include
* the Multisite procedural and class library.
*
* Allows for some configuration in wp-config.php (see ms-default-constants.php)
*
* @package ClassicPress
* @subpackage Multisite
* @since WP-3.0.0
*/
/**
* Objects representing the current network... | {
"pile_set_name": "Github"
} |
Signature-Version: 1.0
SHA1-Digest-Manifest: 2F3/2bP8W1C6jPs/WMzQA9zH0t8=
Created-By: 1.6.0 (IBM Corporation)
SHA1-Digest-Manifest-Main-Attributes: 4gIfTP5y3EzwI5ecyebQLugBMgo=
Name: epl-v10.html
SHA1-Digest: /iY8aEvT0IMpNnSjB0FpTUhvUGc=
Name: asl-v20.txt
SHA1-Digest: f16Q6xxWp4CWPk9xW6xYHqbOlpk=
Name: ME... | {
"pile_set_name": "Github"
} |
/*
* @Author: xuebingsi
* @Date: 2019-04-01 13:37:17
* @Last Modified by: zhibinm
* @Last Modified time: 2019-04-01 13:37:19
*/
.login-bg{
/*background: #eeeeee url() 0 0 no-repeat;*/
background:url(../images/bg.png) no-repeat center;
background-size: cover;
overflow: hidden;
}
.login{
margin: ... | {
"pile_set_name": "Github"
} |
* 1 陸海空軍軍官之任官,依本條例之規定。陸海空軍之官科及士官之任官,由行政院定之。陸海空軍軍官及士官之官階與俸給如附表。
* 2 陸海空軍軍官之任官,分為初任、晉任、轉任、敘任。
* 3 陸海空軍軍官之初任自少尉始,以具有左列資格之一者任之:一、陸海空軍軍官學校養成教育畢業,並見習期滿成績合格者。二、經國防部核准在國外受軍官養成教育畢業,回國見習期滿成績合格者。三、國內外各大學畢業或相當於大學之專科學校畢業,具有軍職專長並服現役者。四、陸海空軍准尉,曾受軍官候補教育成績合格,獲得軍職專長者。
* 4 陸海空軍軍官之晉任,必須逐階遞晉,並應依照左列之規定:一、晉任必須考績合格,停年屆滿,而有上階官額時。二、各階必須經過之實職... | {
"pile_set_name": "Github"
} |
define(
({
label: "Dosyaları Seç..."
})
);
| {
"pile_set_name": "Github"
} |
{
"resourceType": "List",
"fhir_comments": [
" this is all valid "
],
"id": "val1",
"_id": {
"fhir_comments": [
" another comment "
]
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>This is some narrative</p>\n </div>"
},
... | {
"pile_set_name": "Github"
} |
// Boost.Geometry Index
//
// Spatial query predicates
//
// Copyright (c) 2011-2015 Adam Wulkiewicz, Lodz, Poland.
//
// Use, modification and distribution is subject to 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... | {
"pile_set_name": "Github"
} |
using System;
using System.Management.Automation;
using Microsoft.VisualStudio.Shell;
namespace PowerShellTools.Module
{
public abstract class PoshToolsCmdlet : Cmdlet
{
private static Package _package;
public static void Initialize(Package package)
{
_package ... | {
"pile_set_name": "Github"
} |
package com.blankj.utildebug.base.view;
import android.animation.ValueAnimator;
import android.content.Context;
import android.os.SystemClock;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.animation.Accelerat... | {
"pile_set_name": "Github"
} |
// Copyright (C) 2007 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_TUPLe_H_
#define DLIB_TUPLe_H_
#include "../enable_if.h"
#include "../algs.h"
#include "../serialize.h"
#include "tuple_abstract.h"
// -----------------------------------------... | {
"pile_set_name": "Github"
} |
<refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="5.0" xml:id="slidy.user.c... | {
"pile_set_name": "Github"
} |
.class public Lcom/sina/weibo/sdk/utils/SecurityHelper;
.super Ljava/lang/Object;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static checkResponseAppLegal(Landroid/content/Context;Lcom/sina/weib... | {
"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 "IPropertySizeController.h"
@interface TPropertyLogicalSizeController : IPropertySizeController
{
}
- (void)initCommon;
@end... | {
"pile_set_name": "Github"
} |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
# Copyright (c) 2013-2017 Oracle and/or its affiliates. All rights reserved.
#
# The contents of this file are subject to the terms of either the GNU
# General Public License Version 2 only ("GPL") or the Common Development
# and Distribution License("CDDL") ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_heigh... | {
"pile_set_name": "Github"
} |
const getTableProperty = (DataTypes) => {
const fields = {
// ID 主键
id: {
type: DataTypes.INTEGER,
primaryKey: true,
allowNull: false,
autoIncrement: true,
},
// 静态资源的请求路径
sourceUrl: {
type: DataTypes.TEXT,
allowNull: true,
field: 'sourceUrl'
},
/... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <AppKit/NSTextField.h>
@interface GKResizingLabel : NSTextField
{
}
- (struct CGSize)intrinsicContentSize;
- (void)resizeWith... | {
"pile_set_name": "Github"
} |
// SERVER-7343: allow $within without a geo index.
t = db.geo_withinquery;
t.drop();
num = 0;
for ( x=0; x<=20; x++ ){
for ( y=0; y<=20; y++ ){
o = { _id : num++ , loc : [ x , y ] }
t.save( o )
}
}
assert.eq(21 * 21 - 1, t.find({ $and: [ {loc: {$ne:[0,0]}},
... | {
"pile_set_name": "Github"
} |
/*
* File: demo_table.css
* CVS: $Id$
* Description: CSS descriptions for DataTables demo pages
* Author: Allan Jardine
* Created: Tue May 12 06:47:22 BST 2009
* Modified: $Date$ by $Author$
* Language: CSS
* Project: DataTables
*
* Copyright 2009 Allan Jardi... | {
"pile_set_name": "Github"
} |
// Package example defines datastructure and services.
package main
import (
"context"
"fmt"
)
type Args struct {
A int
B int
}
type Reply struct {
C int
}
type Arith int
func (t *Arith) Mul(ctx context.Context, args *Args, reply *Reply) error {
reply.C = args.A * args.B
fmt.Printf("call: %d * %d = %d\n", a... | {
"pile_set_name": "Github"
} |
v 1.0.7
Bug fixes:
- Fixed a bug where units in a group would not arrive, due to calculations not ignoring the Y-axis.
v 1.0.6
Bug Fixes:
- Fixed a bug where Unit avoidance checks for stationary units caused division by zero.
Improvements:
- Added extension method for IGroupings to ClearFormation.
v 1.0.5
Imp... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright 2015, Google 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | {
"pile_set_name": "Github"
} |
Title: Qt 5.0 Alpha
Date: 2012-04-05 08:37
Author: lovenemesis
Category: Development
Tags: Qt
Slug: qt-50-alpha
跨平台 GUI 开发框架 Qt 发布 5.0 Alpha 版本。
Qt 5.0 引入了如下变化:
**所有平台迁移至 Qt 平台抽象层(QPA)**
QPA 原先在 Qt 4.8 时引入作为 Qt Embedded
的替代品,现在将应用在全部平台上。这将方便将各个平台相关的代码抽象化,方便
Qt 面向不同平台的移植,比如 QNX 和 Android 。
**重新构建的图形层**
- 相比 Qt4 ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | {
"pile_set_name": "Github"
} |
use std::path::Path;
use std::fs::symlink_metadata;
use std::os::unix::fs::{MetadataExt, PermissionsExt};
use libmount::{BindMount, Tmpfs};
use config::volumes::SnapshotInfo;
use file_util::Dir;
use container::mount::{unmount};
use container::util::{copy_dir};
pub fn make_snapshot(src: &Path, dest: &Path, info: &Sn... | {
"pile_set_name": "Github"
} |
const { expect } = require('chai');
describe('User (model)', () => {
before(async () => {
await User.create({
email: 'test@test.test',
password: 'test',
name: 'test',
});
});
describe('#find()', () => {
it('should return 1 user', async () => {
const users = await User.find();... | {
"pile_set_name": "Github"
} |
# /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt... | {
"pile_set_name": "Github"
} |
# RUN: llvm-mc -triple=hexagon -filetype=obj -o - %s | llvm-objdump -d - | FileCheck %s
# Hexagon Programmer's Reference Manual 11.10.2 XTYPE/BIT
# Count leading
# CHECK: 11 c0 54 88
r17 = clb(r21:20)
# CHECK: 51 c0 54 88
r17 = cl0(r21:20)
# CHECK: 91 c0 54 88
r17 = cl1(r21:20)
# CHECK: 11 c0 74 88
r17 = normamt(r21:2... | {
"pile_set_name": "Github"
} |
// Copyright 2013 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 darwin dragonfly freebsd linux netbsd openbsd solaris
package unix_test
import (
"fmt"
"testing"
"golang.org/x/sys/unix"
)
func testSetGetenv(t... | {
"pile_set_name": "Github"
} |
//
// IJSImageGaussanView.h
// IJSImageEditSDK
//
// Created by shan on 2017/7/26.
// Copyright © 2017年 shanshen. All rights reserved.
//
#import <UIKit/UIKit.h>
/**
* 高斯UI
*/
@interface IJSImageGaussanView : UIView
@property (nonatomic, weak) UIImage *originImage; // 原图
@property (nonatomic, weak) ... | {
"pile_set_name": "Github"
} |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>WebCryptoSha2Hash | blockstack.js 21.1.1 Library Reference</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link... | {
"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"
} |
# amcheck extension
comment = 'functions for verifying relation integrity'
default_version = '1.2'
module_pathname = '$libdir/amcheck'
relocatable = true
| {
"pile_set_name": "Github"
} |
/*
* Vieb - Vim Inspired Electron Browser
* Copyright (C) 2020 Jelmer van Arnhem
*
* 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 3 of the License, or
* (at your option) any late... | {
"pile_set_name": "Github"
} |
##
## This file is part of qpOASES.
##
## qpOASES -- An Implementation of the Online Active Set Strategy.
## Copyright (C) 2007-2015 by Hans Joachim Ferreau, Andreas Potschka,
## Christian Kirches et al. All rights reserved.
##
## qpOASES is free software; you can redistribute it and/or
## modify it under the t... | {
"pile_set_name": "Github"
} |
/*
This samples shows the creation of a multi-level directory which
has the same name for each of the directory level. Before this date
multi-level directory with same name on each level will only create
the first level
Example::
dir = new Directory("../testfiles/dir_test/dir_test/dir_test/dir_test/di... | {
"pile_set_name": "Github"
} |
/**
* @author Yosuke ota
* See LICENSE file in root directory for full license.
*/
'use strict'
// -----------------------------------------------------------------------------
// Requirements
// -----------------------------------------------------------------------------
const htmlComments = require('../utils/ht... | {
"pile_set_name": "Github"
} |
// Copyright 2009 The Closure Library 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 requ... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2013 Advanced Micro Devices, Inc.
*
* 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, modify, m... | {
"pile_set_name": "Github"
} |
---
layout: page
title: Fakes - Sinon.JS
breadcrumb: fakes
---
### Introduction
`fake` was introduced with Sinon with v5. It simplifies and merges concepts from [`spies`][spies] and [`stubs`][stubs].
In Sinon, a `fake` is a `Function` that records arguments, return value, the value of `this` and exception thrown (if... | {
"pile_set_name": "Github"
} |
/* -*-pgsql-c-*- */
/*
* $Header$
*
* pgpool: a language independent connection pool server for PostgreSQL
* written by Tatsuo Ishii
*
* Copyright (c) 2003-2008 PgPool Global Development Group
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose and without ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>React Observable Hooks</title>
</head>
<body>
<div id="app"></div>
</body>
</html>
| {
"pile_set_name": "Github"
} |
(*
Result: OK
$Log: constant_fold.sml,v $
Revision 1.3 1997/05/28 11:53:33 jont
[Bug #30090]
Remove uses of MLWorks.IO
* Revision 1.2 1996/05/01 17:10:49 jont
* Fixing up after changes to toplevel visible string and io stuff
*
* Revision 1.1 1993/11/25 13:41:32 matthew
* Initial revision
*
Copyright ... | {
"pile_set_name": "Github"
} |
Release process
===============
Note: this is intended for core committers.
* Update CHANGES.md with everything interesting since the last update.
* Update version numbers using the three-part x.y.z notation everywhere:
* The header in CHANGES.md (this is where the site looks for the latest version number)
* ``... | {
"pile_set_name": "Github"
} |
02/11/06
--------
First stab at Views integration with VotingAPI. Configuring it is a little ugly -- mainly useful for custom modules that want to expose a vote-based default_view without coding all the table/field/filter stuff for Views.
04/21/06
--------
Expose public votingapi_add_vote and votingapi_delete_vote fu... | {
"pile_set_name": "Github"
} |
package migrations
import (
"database/sql"
"encoding/json"
"io/ioutil"
"os"
"path"
"github.com/OpenBazaar/jsonpb"
"github.com/OpenBazaar/openbazaar-go/pb"
_ "github.com/mutecomm/go-sqlcipher"
)
type Migration009 struct{}
type Migration009_price struct {
CurrencyCode string `json:"currencyCode"`
Amount ... | {
"pile_set_name": "Github"
} |
{
"desc": "Huawei E398",
"type": "qmi"
}
| {
"pile_set_name": "Github"
} |
// Copyright 2016 Google Inc. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package uuid
import (
"sync"
)
var (
nodeMu sync.Mutex
ifname string // name of interface being used
nodeID [6]byte // hardware for version 1 UUIDs
zeroID ... | {
"pile_set_name": "Github"
} |
.. _cli/cloud:
Cloud management
================
| {
"pile_set_name": "Github"
} |
# Spring 웹 MVC 강의 정리
> [백기선의 Spring 웹 MVC](https://www.inflearn.com/course/%EC%9B%B9-mvc/)를 정리한 자료입니다.
# 서블릿
* 자바 엔터프라이즈 에디션은 웹 애플리케이션 개발용 스팩과 API 제공
* 요청 당 쓰레드(만들거나, 풀에서 가져옴) 사용
* 그 중에 가장 중요한 클래스중 하나가 HttpServlet
## 서블릿의 장점(CGI 에비해)
* 빠르다
* 플랫폼 독립적
* 보안
* 이식성
## 서블릿 엔진 또는 서블릿 컨테이너(톰캣, 제티, 언더토)
* 세션 관리
* 네트워크 기반 서비... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Lock\Tests\Store;
use Symfony\Component\Lock\Store\Re... | {
"pile_set_name": "Github"
} |
// Code generated by goa v3.2.4, DO NOT EDIT.
//
// divider HTTP server types
//
// Command:
// $ goa gen goa.design/examples/error/design -o
// $(GOPATH)/src/goa.design/examples/error
package server
import (
divider "goa.design/examples/error/gen/divider"
goa "goa.design/goa/v3/pkg"
)
// IntegerDivideHasRemainder... | {
"pile_set_name": "Github"
} |
Format layout
{{ content }}
| {
"pile_set_name": "Github"
} |
/*
RestoreSettingsVS4V06EXP.S for Nintendont (Kernel)
Copyright (C) 2015 FIX94
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 version 2.
This program is distributed in the hope that it will be usef... | {
"pile_set_name": "Github"
} |
[Language]
LanguageSupport0=0009
[OperatingSystem]
OSSupport=0000000000010010
[Data]
CurrentMedia=CD-ROM
CurrentComponentDef=Default.cdf
ProductName=Executor
set_mifserial=
DevEnvironment=GNU C
AppExe=
set_dlldebug=No
EmailAddresss=
Instructions=Instructions.txt
set_testmode=No
set_mif=No
SummaryTex... | {
"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"
} |
tessedit_create_boxfile 1
| {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.