text stringlengths 2 99.9k | meta dict |
|---|---|
// Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
// Copyright (C) 2010 Winch Gate Property Limited
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either ver... | {
"pile_set_name": "Github"
} |
/*********************************************************************
*
* Filename: irlmp_frame.c
* Version: 0.9
* Description: IrLMP frame implementation
* Status: Experimental.
* Author: Dag Brattli <dagb@cs.uit.no>
* Created at: Tue Aug 19 02:09:59 1997
* Modified at: Mon Dec... | {
"pile_set_name": "Github"
} |
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index 3cee60f3..3328fc06 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -327,7 +327,7 @@ if(Protobuf_FOUND OR Protobuf_FOUND)
if(NOT Protobuf_USE_STATIC_LIBS)
#Indeed here should be a warning, not a fatal error. ONNX Runtime itself ca... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
# 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
# "Li... | {
"pile_set_name": "Github"
} |
/*
* Written by Doug Lea with assistance from members of JCP JSR-166
* Expert Group and released to the public domain, as explained at
* http://creativecommons.org/publicdomain/zero/1.0/
*/
package java.util.concurrent;
import java.util.*;
// BEGIN android-note
// removed link to collections framework docs
// END... | {
"pile_set_name": "Github"
} |
from conans import ConanFile, CMake
import dependencies
import os
class InexorConan(ConanFile):
license = "ZLIB"
description = "Inexor's private root Conan recipe"
url = "https://github.com/inexorgame/inexor-core.git"
settings = "os", "compiler", "build_type", "arch"
requires = dependencies.requi... | {
"pile_set_name": "Github"
} |
ncolors= 16
# r g b
147 112 219
0 0 200
60 100 230
120 155 242
176 224 230
32 178 170
154 205 50
46 139 87
245 230 190
222 184 135
255 225 0
255 165 0
255 69 0
178 34 34
255 182 193
255 20 147
| {
"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 a... | {
"pile_set_name": "Github"
} |
export const meta = {
title: "Prisma & Traditional ORMs",
position: 50
}
| {
"pile_set_name": "Github"
} |
defmodule Geo.MultiPolygon do
@moduledoc """
Defines the MultiPolygon struct.
"""
@type t :: %Geo.MultiPolygon{
coordinates: [[[{number, number}]]],
srid: integer | nil,
properties: map
}
defstruct coordinates: [], srid: nil, properties: %{}
end
| {
"pile_set_name": "Github"
} |
/**
******************************************************************************
* @file stm32f4xx_can.c
* @author MCD Application Team
* @version V1.0.2
* @date 05-March-2012
* @brief This file provides firmware functions to manage the following
* functionalities of the Controller ar... | {
"pile_set_name": "Github"
} |
################################################################################
#
# usbmount
#
################################################################################
USBMOUNT_VERSION = 0.0.22
USBMOUNT_SOURCE = usbmount_$(USBMOUNT_VERSION).tar.gz
USBMOUNT_SITE = http://snapshot.debian.org/archive/debian/2014... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<style>
.container {
width: 200px;
height: 200px;
overflow: scroll;
position: relative;
}
</style>
</head>
<body>
<div class="container">
<div style="background: green; height: 40px;"></div>
<div style="height: 300px;"></div>
</div>
</body>
</html> | {
"pile_set_name": "Github"
} |
div.content-container
h1.center
| Notebook
span aria-hidden="true"
' :
== link_to_notebook(@review.notebook)
div.page-metadata
p
-if @review.revision != nil
strong
| Revision
span aria-hidden="true"
| :
span.sr-only #{" "}
-if @re... | {
"pile_set_name": "Github"
} |
/*
* Lenovo front-screen buttons testing driver
*
* Copyright (C) 2010 Javier S. Pedro
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at y... | {
"pile_set_name": "Github"
} |
var convert = require('./convert'),
func = convert('assignIn', require('../assignIn'));
func.placeholder = require('./placeholder');
module.exports = func;
| {
"pile_set_name": "Github"
} |
//
// AYGPUImageBGRADataInput.h
// AiyaEffectSDK
//
// Created by 汪洋 on 2017/11/28.
// Copyright © 2017年 深圳市哎吖科技有限公司. All rights reserved.
//
#import "AYGPUImageOutput.h"
@interface AYGPUImageBGRADataInput : AYGPUImageOutput
@property (nonatomic, assign) AYGPUImageRotationMode rotateMode;
/**
处理BGRA数据
@para... | {
"pile_set_name": "Github"
} |
package marubinotto.piggydb.fixture.table;
import javax.sql.DataSource;
import marubinotto.util.fixture.DatabaseTableFixture;
public class TaggingTable extends DatabaseTableFixture {
public TaggingTable(DataSource dataSource) {
super(dataSource);
}
public static final String NAME = "ta... | {
"pile_set_name": "Github"
} |
// Copyright 2013-2014 The CGMath Developers. For a full listing of the authors,
// refer to the Cargo.toml file at the top-level directory of this distribution.
//
// Licensed under the Apache License, Version 2.0f32 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain... | {
"pile_set_name": "Github"
} |
/**
* Copyright Zendesk, Inc.
*
* Use of this source code is governed under the Apache License, Version 2.0
* found at http://www.apache.org/licenses/LICENSE-2.0.
*/
import styled from 'styled-components';
import React, { Children } from 'react';
import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgar... | {
"pile_set_name": "Github"
} |
/*
* MPS2 UART driver
*
* Copyright (C) 2015 ARM Limited
*
* Author: Vladimir Murzin <vladimir.murzin@arm.com>
*
* 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.
*
* TODO: su... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env bash
# Copyright 2016 Yahoo Inc.
# Licensed under the terms of the Apache 2.0 license.
# Please see LICENSE file in the project root for terms.
#
# This script install Hadoop locally
wget http://apache.mirrors.tds.net/hadoop/common/hadoop-2.6.4/hadoop-2.6.4.tar.gz
gunzip hadoop-2.6.4.tar.gz
tar -xvf ha... | {
"pile_set_name": "Github"
} |
{
"name": "Postcode Anywhere",
"displayName": "Postcode Anywhere",
"properties": [
"pcapredict.com"
],
"prevalence": {
"tracking": 0,
"nonTracking": 0.00108,
"total": 0.00108
}
} | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_27) on Fri Mar 28 21:40:05 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>GuacamoleSocket (gu... | {
"pile_set_name": "Github"
} |
<div class="padding">
<ul>
<li>
<strong>
<?php _e('Directions:', 'event_espresso'); ?>
</strong><br />
<?php _e(' Add [ESPRESSO_NEW_ADDON] to any page or post to display a list of upcoming new_addon', 'event_espresso'); ?>
</li>
<li>
<strong>
<?php _e('Examples Shortcodes:', 'event_espresso')... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2018, Ruslan Baratov
# All rights reserved.
include(CMakeParseArguments) # cmake_parse_arguments
include(hunter_user_error)
function(hunter_private_data_password)
set(one CREDENTIALS USERNAME PASSWORD)
cmake_parse_arguments(x "" "${one}" "" "${ARGN}")
# -> x_CREDENTIALS
# -> x_USERNAME
# -... | {
"pile_set_name": "Github"
} |
package edu.stanford.nlp.coref.statistical;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
import edu.stanford.nlp.coref.CorefDocumentProcessor;
import edu.stanford.nlp.coref.data.Co... | {
"pile_set_name": "Github"
} |
"""Pseudo terminal utilities."""
# Bugs: No signal handling. Doesn't set slave termios and window size.
# Only tested on Linux.
# See: W. Richard Stevens. 1992. Advanced Programming in the
# UNIX Environment. Chapter 19.
# Author: Steen Lumholt -- with additions by Guido.
from select import select
imp... | {
"pile_set_name": "Github"
} |
# WR5EEY - Retro City Rampage
[Core]
# Values set here will override the main Dolphin settings.
[EmuState]
# The Emulation State. 1 is worst, 5 is best, 0 is not set.
EmulationStateId = 4
EmulationIssues =
[OnLoad]
# Add memory patches to be loaded once on boot here.
[OnFrame]
# Add memory patches to be applied eve... | {
"pile_set_name": "Github"
} |
'use strict';
/**
* Applies z_schema to validate schema.
* @memberof module:helpers
* @function z_schema-express
* @param {function} z_schema
* @return {function}
*/
module.exports = function (z_schema) {
return function (req, res, next) {
req.sanitize = sanitize;
function sanitize (value, schema, callback... | {
"pile_set_name": "Github"
} |
package B_test
import (
. "github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/B"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("B", func() {
It("should do it", func() {
Ω(DoIt()).Should(Equal("done!"))
})
})
| {
"pile_set_name": "Github"
} |
package app.opass.ccip.ui.schedule
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.view.isGone
import androidx.core.view.updatePadding
import androidx.fragment.app.Fragment
import androidx.lifecycle.MediatorLiveData
import androidx... | {
"pile_set_name": "Github"
} |
% Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD 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 later version.
%
% TLD is distri... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2013 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.
#include "components/history/core/browser/delete_directive_handler.h"
#include <stddef.h>
#include <utility>
#include "base/json/json_writer.h"
#in... | {
"pile_set_name": "Github"
} |
line graph,good,ch02_limitations,naomi,annotation,multiple plots
| {
"pile_set_name": "Github"
} |
/********************************************************************************
* Copyright (c) 2020 Cedalo AG
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-I... | {
"pile_set_name": "Github"
} |
import { Config } from '../../common/config'
import { IntegrationId } from '../../types/integrations'
import { logInfo, logError } from '../../common/logging'
import { Account } from '../../types/account'
import { Transaction } from '../../types/transaction'
import { CSVExportConfig } from '../../types/integrations/csv... | {
"pile_set_name": "Github"
} |
/****************************************************************************
Copyright (c) 2010-2013 cocos2d-x.org
Copyright (c) 2013-2017 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2002-2013 the original author or 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 ap... | {
"pile_set_name": "Github"
} |
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**_pySpark Basics: Subsetting Data_**"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"_by Jeff Levy (jlevy@urban.org)_\n",
"\n",
"_Last Updated: 31 Jul 2017, Spark v2.1_"
]
},
{
"cell... | {
"pile_set_name": "Github"
} |
## `(<change action>)->[ <admissable uri>, <action>]`
##
## parses a change action `<change action> ::= <admissable uri> [" " <action>]`
## `<action> ::= "add"|"remove"|"optional"|<dependency constraint>`
## the default action is `add`
function(package_dependency_change_parse)
set(action ${ARGN})
string_take_regex(... | {
"pile_set_name": "Github"
} |
"""
ks.py
Uses the Karplus String algorithm to generate musical notes
in a pentatonic scale.
Author: Mahesh Venkitachalam
"""
import sys, os
import time, random
import wave, argparse, pygame
import numpy as np
from collections import deque
from matplotlib import pyplot as plt
# show plot of algorithm in action?
... | {
"pile_set_name": "Github"
} |
/* global QUnit */
import { Cylindrical } from '../../../../src/math/Cylindrical';
import { Vector3 } from '../../../../src/math/Vector3';
import { eps } from './Constants.tests';
export default QUnit.module( 'Maths', () => {
QUnit.module( 'Cylindrical', () => {
// INSTANCING
QUnit.test( "Instancing", ( assert... | {
"pile_set_name": "Github"
} |
package restful
// Copyright 2013 Ernest Micklei. All rights reserved.
// Use of this source code is governed by a license
// that can be found in the LICENSE file.
import (
"bytes"
"fmt"
"regexp"
"strings"
)
// PathExpression holds a compiled path expression (RegExp) needed to match against
// Http request path... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2001-2020 Mathew A. Nelson and Robocode contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* https://robocode.sourceforge.io/license/ep... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.didispace<... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.pricer.common;
import static com.opengamma.strata.collect.TestHelper.assertSerialization;
import static com.opengamma.strata.collect.TestHelper.coverBean... | {
"pile_set_name": "Github"
} |
/*
** deko3d Example 04: Textured Cube
** This example shows how to render a textured cube.
** New concepts in this example:
** - Loading a texture image from the filesystem
** - Creating and using image descriptors
** - Creating and using samplers and sampler descriptors
** - Calculating combined image+sampler handles... | {
"pile_set_name": "Github"
} |
io.dekorate.kubernetes.handler.KubernetesHandler
| {
"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 name="description" content="A Javascript-optional AJAX library featuring declarative, REST-ful bindings">
<meta name="author" content="">
<title>Intercooler.js</title>
... | {
"pile_set_name": "Github"
} |
# The NUX (New User Experience) Data
Namespace: `core/nux`.
## Selectors
<!-- START TOKEN(Autogenerated selectors|../../../../packages/nux/src/store/selectors.js) -->
<a name="areTipsEnabled" href="#areTipsEnabled">#</a> **areTipsEnabled**
Returns whether or not tips are globally enabled.
_Parameters_
- _state... | {
"pile_set_name": "Github"
} |
package facebook.medium;
/*
给一个手机键盘(只有0-9,不考虑*#那两个位置)样式的棋盘,骑士初始在数字1的位置,问走了s步以后(每步走日字),有多少种可能的走法。提示是可以hard code下一步的位置, 比如1->(6,8)。
应该可以用dp解,时间不多用了DFS/backtracking暴力解了
* */
public class Knight {
}
| {
"pile_set_name": "Github"
} |
<?php
namespace Fisharebest\Localization\Territory;
/**
* Class AbstractTerritory - Representation of the territory RS - Serbia.
*
* @author Greg Roach <fisharebest@gmail.com>
* @copyright (c) 2019 Greg Roach
* @license GPLv3+
*/
class TerritoryRs extends AbstractTerritory implements TerritoryInterface
{
... | {
"pile_set_name": "Github"
} |
CLEAR_CONSOLE=true
FORMAT_BEFORE_SAVE=false
JAVACC_OPTIONS=-JDK_VERSION\=1.8 -GRAMMAR_ENCODING\=UTF-8
JJDOC_OPTIONS=
JJTREE_OPTIONS=
JJ_NATURE=true
JTB_OPTIONS=-ia -jd -tk
KEEP_DEL_FILES_IN_HISTORY=false
MARK_GEN_FILES_AS_DERIVED=true
RUNTIME_JJJAR=${project_loc}/lib/tools/javacc-jar.jar
RUNTIME_JTBJAR=${ecli... | {
"pile_set_name": "Github"
} |
MARKETING_VERSION = 1.0.3
PROJECT_VERSION = 1000
| {
"pile_set_name": "Github"
} |
/* Copyright (c) 2013-2016 Boundless and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/edl-v10.html
*
* Cont... | {
"pile_set_name": "Github"
} |
-----BEGIN RSA PRIVATE KEY-----
MIIBOAIBAAJBAL6eAQxd9didJ0/+05iDwJOqT6ly826Vi8aGPecsBiYK5/tAT97f
xXk+dPWMZp9kQxtknEzYjYjAydzf+HQ2yJMCAwEAAQI/d+Dmx+BPvOsYzjZ03HX/
pt51OxwP/HwQa8oBJGGLfGBJbxdKZoqZu1srifgA9o25x3YrSjfK9zrUgdqJEZRp
AiEA5hUWdth65YX8dNMs93lsV0YkXdYzZ6Yxw6xyBAmpMh8CIQDUFtrIV8EYwgjq
Ck0Un4RXbZleqOljmvhK+t7IBJsj... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2019 Microsoft Corporation
# Distributed under the MIT software license
from ..glassbox import LogisticRegression
from .utils import synthetic_classification
# TODO: Harden these tests later to check content from data method.
def test_mli_visualize_interop():
data = synthetic_classification()
... | {
"pile_set_name": "Github"
} |
require('../../../modules/es7.string.match-all');
module.exports = require('../../../modules/_entry-virtual')('String').matchAll;
| {
"pile_set_name": "Github"
} |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Script.Description;
namespace Microsoft... | {
"pile_set_name": "Github"
} |
//
// SnapKit
//
// Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit
//
// 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 limi... | {
"pile_set_name": "Github"
} |
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PropSheetHost", "PropSheetHost.vcproj", "{5706D2E5-FDCD-4734-ADCD-B058C67E27A6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Itanium = Debug|Ita... | {
"pile_set_name": "Github"
} |
package client
const (
RECREATE_ON_QUORUM_STRATEGY_CONFIG_TYPE = "recreateOnQuorumStrategyConfig"
)
type RecreateOnQuorumStrategyConfig struct {
Resource
Quorum int64 `json:"quorum,omitempty" yaml:"quorum,omitempty"`
}
type RecreateOnQuorumStrategyConfigCollection struct {
Collection
Data []RecreateOnQuorumS... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2014, Oculus VR, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#if def... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_0" orientation="p... | {
"pile_set_name": "Github"
} |
#ifndef JSON_TESTSUITE_NUMBER_TO_STRING__GET_LEN_SIZE_H
#define JSON_TESTSUITE_NUMBER_TO_STRING__GET_LEN_SIZE_H
#include "../BaseTest.h"
class testNumberToString__getLenSize : public BaseTest {
public:
testNumberToString__getLenSize(const std::string & name) : BaseTest(name){}
void testStruct(void);
};
#endif
| {
"pile_set_name": "Github"
} |
概述
========
在开发中扩展Yii是一个很常见的行为.例如,当你写一个新的控制器时,你通过继承 [CController] 类扩展了
Yii;当你编写一个新的组件时,你正在继承 [CWidget] 或者一个已存在的组件类.如果扩展代码是由第三方开发者为了复用而设计的,我们则称之为 *extension(扩展)*.
一个扩展通常是为了一个单一的目的服务的.在 Yii 中,他可以按照如下分类:
* [应用的部件](/doc/guide/basics.application#application-component)
* [组件](/doc/guide/basics.view#widget)
* [控制器](/doc... | {
"pile_set_name": "Github"
} |
/**
* The MIT License
* Copyright © 2010 JmxTrans team
*
* 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, mo... | {
"pile_set_name": "Github"
} |
import socket
import FWCore.ParameterSet.Config as cms
import FWCore.ParameterSet.VarParsing as VarParsing
from CondCore.CondDB.CondDB_cfi import *
options = VarParsing.VarParsing()
options.register( 'runNumber'
, 1 #default value
, VarParsing.VarParsing.multiplicity.singleton
... | {
"pile_set_name": "Github"
} |
/* Stuff to handle chromGraph tracks, especially custom ones. */
/* Copyright (C) 2011 The Regents of the University of California
* See README in this or parent directory for licensing information. */
#include "common.h"
#include "hash.h"
#include "linefile.h"
#include "trackDb.h"
#include "chromGraph.h"
#include ... | {
"pile_set_name": "Github"
} |
using System.Windows;
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictiona... | {
"pile_set_name": "Github"
} |
package cn.android.zonda.retrofit.data;
import java.lang.reflect.Type;
import java.util.ArrayList;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.annotations.SerializedName;
import com.google.gson.reflect.TypeToken;
public class WeatherHistoryResult {
private String ... | {
"pile_set_name": "Github"
} |
#!/bin/sh
#
# Set this script up with something like:
#
# ScriptAlias /viewvc-strace /home/gstein/src/viewvc/cgi/viewvc-strace.sh
#
thisdir="`dirname $0`"
exec strace -q -r -o /tmp/v-strace.log "${thisdir}/viewvc.cgi"
| {
"pile_set_name": "Github"
} |
import { connect } from 'react-redux';
import { withRouter } from 'react-router';
import Column from '../../components/columns/column';
import fetch from '../../actions/fetch';
import vote from '../../actions/vote';
import { ITEM, FEED } from '../../consts/types';
import { openModal } from '../../actions/modal';
import... | {
"pile_set_name": "Github"
} |
[generator.lg](../generator.lg)
# filename
- ${addFilename('url')}
# template
- ${addDialog('url')}
| {
"pile_set_name": "Github"
} |
// Autogenerated, do not edit.
'use strict';
const data = require('./genesis-data.json');
const genesis = exports;
/*
* Main
*/
genesis.main = {
version: 0,
hash: Buffer.from(
'5b6ef2d3c1f3cdcadfd9a030ba1811efdd17740f14e166489760741d075992e0',
'hex'),
prevBlock: Buffer.from(
'0000000000000000000... | {
"pile_set_name": "Github"
} |
p edge 19 21
e 0 10
e 1 5
e 1 6
e 2 11
e 4 3
e 4 0
e 7 12
e 7 6
e 8 5
e 8 10
e 9 13
e 9 11
e 12 10
e 14 2
e 14 12
e 15 17
e 15 18
e 16 13
e 16 6
e 17 11
e 18 3
| {
"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"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_151) on Fri Nov 30 11:31:15 CET 2018 -->
<title>Group (jqwik 0.9.3 API)</title>
<meta name="date" content="2018-11-30">
<link rel="stylesheet" ... | {
"pile_set_name": "Github"
} |
// Copyright 2015-2020 Swim 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"
} |
row.names,sbp,tobacco,ldl,adiposity,famhist,typea,obesity,alcohol,age,chd
1,160,12.00, 5.73,23.11,Present,49,25.30, 97.20,52,1
2,144, 0.01, 4.41,28.61,Absent,55,28.87, 2.06,63,1
3,118, 0.08, 3.48,32.28,Present,52,29.14, 3.81,46,0
4,170, 7.50, 6.41,38.03,Present,51,31.99, 24.26,58,1
5,134,13.60, 3.50,27.78,Present,60,... | {
"pile_set_name": "Github"
} |
Feature: Runtime versions are included in all requests
Scenario Outline: Uncaught exception contains runtime versions
When I launch an <platform> app which has an uncaught exception
And I wait for 1 second
Then I should receive a request
And the request is a valid for the error repo... | {
"pile_set_name": "Github"
} |
import { endsWith } from "../fp";
export = endsWith;
| {
"pile_set_name": "Github"
} |
import {Subject} from "rxjs/Subject";
function getLetterSize(size: number, fontFamily: string) {
const height = size + 2;
if (process.env.NODE_ENV === "test") {
return {width: (size / 2) + 1.5, height: height};
} else {
const canvas = document.createElement("canvas");
const contex... | {
"pile_set_name": "Github"
} |
# CAP 定理
CAP原则又称CAP定理,指的是在一个分布式系统中, Consistency(一致性)、 Availability(可用性)、Partition tolerance(分区容错性),三者不可得兼。
对于一个分布式系统,不能同时满足一下三点:
一致性(C):在分布式系统中的所有数据备份,在同一时刻是否同样的值。(等同于所有节点访问同一份最新的数据副本)
可用性(A):在集群中一部分节点故障后,集群整体是否还能响应客户端的读写请求。(对数据更新具备高可用性)
分区容忍性(P):以实际效果而言,分区相当于对通信的时限要求。系统如果不能在时限内达成数据一致性,就意味着发生了分区的情况,必须就当前操作在C和A之间做出选... | {
"pile_set_name": "Github"
} |
op {
graph_op_name: "TensorArraySplit"
visibility: HIDDEN
}
| {
"pile_set_name": "Github"
} |
#!/usr/bin/env sh
# helper functions for strings
lowercase() {
local string="${1}"
if [ -z "${string}" ] && [ ! -t 0 ]; then
string=$(cat <&0)
fi
echo ${string} | sed -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'
}
kebabcase() {
local string="${1}"
if [ -z "${string}" ] && [ ! -t ... | {
"pile_set_name": "Github"
} |
{
"appDesc": {
"description": "The description of the application, displayed in the web store.",
"message": "La forma más rápida de buscar en la Web."
},
"appName": {
"description": "The title of the application, displayed in the web store.",
"message": "Búsqueda de Google"
}
}
| {
"pile_set_name": "Github"
} |
import UIKit
@UIApplicationMain
class AppDelegate : UIResponder, UIApplicationDelegate {
var window : UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]?) -> Bool {
self.window = self.window ?? UIWindow... | {
"pile_set_name": "Github"
} |
/* _________________________________________________________________________
*
* Tachyon : A Self-Hosted JavaScript Virtual Machine
*
*
* This file is part of the Tachyon JavaScript project. Tachyon is
* distributed at:
* http://github.com/Tachyon-Team/Tachyon
*
*
* Copyright (c) 2011, Univers... | {
"pile_set_name": "Github"
} |
<?php
/**
* This file is part of Swoft.
*
* @link https://swoft.org
* @document https://doc.swoft.org
* @contact group@swoft.org
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
namespace App\Exception;
use App\Exception\Http\HttpExceptionHandler;
use App\Exception\Http\SockException;
use... | {
"pile_set_name": "Github"
} |
###############
TeamCity plugin
###############
`Gatling FrontLine <https://gatling.io/gatling-frontline/>`_ has a dedicated TeamCity plugin.
This plugin can launch a FrontLine simulation and display live metrics.
Please refer to Gatling FrontLine documentation for the installation of this plugin.
There is no TeamCit... | {
"pile_set_name": "Github"
} |
| switchstmt | switchstmt.c:1:6:1:6 | f | 1 | 1 | switchstmt.c:1:15:8:1 | switchstmt.c:1:15:8:1 | switchstmt.c:1:15:8:1 | { ... } | 2: switch (...) ... |
| switchstmt | switchstmt.c:1:6:1:6 | f | 2 | 2 | switchstmt.c:2:6:6:5 | switchstmt.c:2:6:6:5 | switchstmt.c:2:6:6:5 | switch (...) ... | 2: x |
| switchstmt | swit... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<component size="250,205">
<displayList>
<image id="n0" name="n0" src="lvxrv" xy="22,45"/>
<loader id="n2" name="word" xy="8,1" size="238,105" url="ui://c0hnre6olvxru" align="right" vAlign="bottom"/>
<text id="n3" name="t0" xy="85,112" size="47,54" font="ui://c0hnre6... | {
"pile_set_name": "Github"
} |
import {
MY_CONTENT,
PROFILE_REFRESH
} from '../mutations-type'
import * as api from '../../api/impl/my-content'
import { logger } from '../../utils/logger'
const state = {
statuses: [],
option: {
refresh: false,
page: 1
}
}
const mutations = {
[MY_CONTENT](state, data) {
... | {
"pile_set_name": "Github"
} |
#include <algorithm>
#include <iostream>
#include <vector>
using std::vector;
int get_majority_element(vector<int> &a, int left, int right) {
if (left == right) return -1;
if (left + 1 == right) return a[left];
int left_elem = get_majority_element(a, left, (left + right - 1) / 2 + 1);
int right_elem ... | {
"pile_set_name": "Github"
} |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2014 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later v... | {
"pile_set_name": "Github"
} |
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-14 18... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2007 ZXing 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 ... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.