text stringlengths 3 1.05M |
|---|
"""A CMU humanoid walker."""
import abc
import collections
import os
from dm_control import composer
from dm_control import mjcf
from dm_control.composer.observation import observable
from dm_control.locomotion.walkers import base
from dm_control.locomotion.walkers import legacy_base
from dm_control.locomotion.walker... |
module ActiveRecord
module ConnectionAdapters
module PostgreSQL
module OID # :nodoc:
class BitVarying < OID::Bit # :nodoc:
def type
:bit_varying
end
end
end
end
end
end
|
<?php
namespace Illuminate\Contracts\Filesystem;
use Exception;
class FileExistsException extends Exception
{
//
}
|
@interface SFDishesViewController ()
@property (nonatomic, strong) NSIndexPath *selectedIndexPath;
@property (nonatomic, strong) SFDishDetailView *dishDetailView;
@end
@implementation SFDishesViewController
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWith... |
import logging as sys_logging
from oslo_reports import guru_meditation_report as gmr
from neutron import version
# During the call to gmr.TextGuruMeditation.setup_autorun(), Guru Meditation
# Report tries to start logging. Set a handler here to accommodate this.
logger = sys_logging.getLogger(None)
if not logger.han... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You c... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<head>
<script type="text/javascript" language="JavaScript">
ORIGINAL_PAGE_PATH = "/apis/earth/documentation/reference/interface_g_e_schema_object_container.html";
</script>
<meta... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta... |
import logging
import os
from common.test_result_verifier import QueryTestResult
from tests.util.filesystem_utils import FILESYSTEM, ISILON_WEBHDFS_PORT
logging.basicConfig(level=logging.INFO, format='%(threadName)s: %(message)s')
LOG = logging.getLogger('test_configuration')
def _get_default_nn_http_addr():
"""Ret... |
//////////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2014-2015, Egret Technology 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:
//
... |
<documentation title="PHP Constants">
<standard>
<![CDATA[
The <em>true</em>, <em>false</em> and <em>null</em> constants must always be uppercase.
]]>
</standard>
<code_comparison>
<code title="Valid: uppercase constants">
<![CDATA[
if ($var === <em>FALSE</em> || $var === <em>NUL... |
{% extends "gymnastics/base.html" %}
{% load i18n %}
{% load custom_template_tags %}
{% block nav_level_0 %}
{% render_nav_item name='Home' url_name='home' %}
{% endblock nav_level_0 %}
{% block nav_level_1 %}
{% render_nav_item name='Disciplines' url_name='disciplines.index' %}
{% endblock nav_... |
phpunit --testdox-html php://stdout BankAccountTest ../_files/BankAccountTest.php
--FILE--
<?php
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--testdox-html';
$_SERVER['argv'][3] = 'php://stdout';
$_SERVER['argv'][4] = 'BankAccountTest';
$_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAcco... |
/** Server records. */
package org.apache.hadoop.yarn.server.api.records; |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2009, WSO2 Inc. (http://www.wso2.org) 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:/... |
#include "src/core/tsi/alts/frame_protector/alts_counter.h"
#include <gtest/gtest.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "test/core/tsi/alts/crypt/gsec_test_util.h"
const size_t kSmallCounterSize = 4;
const size_t kSmallOverflowSize = 1;
const size_t kGcmCounterSize = 12;
const ... |
package google
import (
"fmt"
"strings"
"testing"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
)
func TestAccDataLossPreventionDeidentifyTemplate_dlpDeidentifyTemplateBasicExample(t *testing.T) {
t.Parallel()
context := map[string]int... |
require 'ptools'
require_relative 'daftos/server.rb'
require_relative 'apis/filesystem_api.rb'
require_relative 'apis/apps_api.rb'
class Daftos
def self.start()
fork do
Dir.chdir(Dir.home)
Dir.mkdir('.daftos') unless Dir.exist?('.daftos')
File.open('.daftos/server.pid', 'w') {|f| f.write Proc... |
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
|
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.10
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
"use strict";
exports.__esModule = true;
var _defineProperty = require("babel-runtime/core-js/object/define-property");
var _defineProperty2 = _interopRequireDefault(_defineProperty);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = function (obj, ke... |
#ifndef StyleVisualData_h
#define StyleVisualData_h
#include "core/CoreExport.h"
#include "core/style/ComputedStyleConstants.h"
#include "platform/LengthBox.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
namespace blink {
class CORE_EXPORT StyleVisualData : public RefCounted<StyleVisualData> {
public:
... |
/*
* 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, software
* distribut... |
(function (self, document) {
if (typeof self === 'undefined' || !self.Prism || !self.document || !document.createRange) {
return;
}
Prism.plugins.KeepMarkup = true;
Prism.hooks.add('before-highlight', function (env) {
if (!env.element.children.length) {
return;
}
var pos = 0;
var data = [];
var f... |
- D2530161: Need to introduce rn-cli.config.js for existing projects
- D2533877: `react-native bundle` API changes:
- API is now `entry-file <path>` based instead of url based.
- Need to specify which platform you're bundling for `--platform <ios|android>`.
- Option `--out` has been renamed for `--bundle-output`.... |
/* */
require('../modules/es7.string.at');
require('../modules/es7.string.pad-left');
require('../modules/es7.string.pad-right');
require('../modules/es7.string.trim-left');
require('../modules/es7.string.trim-right');
module.exports = require('../modules/$.core').String;
|
<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): 'perspective-origin' and translate()</title>
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
<link rel="help" href="http://www.w3.org/TR/css-transforms-1/#propdef-perspective-origin">
<meta name="assert" content="This te... |
module Rack
class Transform
module Transformers
module Base
class Request
CONTENT_TYPE = "CONTENT_TYPE".freeze
CONTENT_LENGTH = "CONTENT_LENGTH".freeze
POST_BODY = "rack.input".freeze
JSON_TYPE = "application/json".freeze
def self.call(env)
... |
namespace MailPlus.Models
{
using System.Linq;
public partial class MailingClickResponse
{
/// <summary>
/// Initializes a new instance of the MailingClickResponse class.
/// </summary>
public MailingClickResponse() { }
/// <summary>
/// Initializes a new in... |
define( [
"../core"
], function( jQuery ) {
"use strict";
// Multifunctional method to get and set values of a collection
// The value/s can optionally be executed if it's a function
var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
var i = 0,
len = elems.length,
bulk = key == null;
/... |
"""
Convenient shortcuts to manage or check object permissions.
"""
from __future__ import unicode_literals
from django.contrib.auth.models import Group
from django.contrib.auth.models import Permission
from django.contrib.contenttypes.models import ContentType
from django.db import models
from django.db.models import... |
<?php
namespace Zend\Http\Header;
/**
* @throws Exception\InvalidArgumentException
* @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
*/
class CacheControl implements HeaderInterface
{
/**
* Array of Cache-Control directives
*
* @var array
*/
protected $directives =... |
> Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in suprising performance improvements.
## Install
Install with [npm](https://www.npmjs.com/):
```sh
$ npm install regex-cache --save
```
* Read [what this does](#what-this-do... |
package org.mozilla.javascript.optimizer;
import org.mozilla.javascript.*;
class Optimizer
{
static final int NoType = 0;
static final int NumberType = 1;
static final int AnyType = 3;
// It is assumed that (NumberType | AnyType) == AnyType
void optimize(ScriptOrFnNode scriptOrFn)
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace umbraco.DataLayer.Utility.Table
{
/// <summary>
/// Default implementation of the <see cref="DefaultTable"/> interface.
/// </summary>
public class DefaultTable : ITable
{
#region Private Fields
... |
namespace OIC
{
namespace Service
{
typedef std::pair< std::string, RCSResourceAttributes::Value > AttrKeyValuePair;
typedef std::vector< AttrKeyValuePair > AttrKeyValuePairs;
bool acceptableAttributes(const RCSResourceAttributes& dest, const RCSResourceAttributes& attr);
bool ... |
unless Fixnum.method_defined? :div
class Fixnum
def div(n)
(self / n).to_i
end
end
end
|
package org.apache.kafka.common.errors;
public class ControllerMovedException extends ApiException {
private static final long serialVersionUID = 1L;
public ControllerMovedException(String message) {
super(message);
}
public ControllerMovedException(String message, Throwable cause) {
... |
class CBlockIndex;
class CZMQAbstractNotifier;
class CZMQNotificationInterface : public CValidationInterface
{
public:
virtual ~CZMQNotificationInterface();
static CZMQNotificationInterface* Create();
protected:
bool Initialize();
void Shutdown();
// CValidationInterface
void TransactionAdde... |
"use strict";
var page = require('webpage').create(),
server = require('webserver').create(),
system = require('system'),
data = 'universe=expanding&answer=42';
if (system.args.length !== 2) {
console.log('Usage: postserver.js <portnumber>');
phantom.exit(1);
}
var port = system.args[1];
service ... |
/* 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, software
* distributed ... |
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
namespace System.Drawing.Internal
{
internal partial class IntNativeMethods
{
[SuppressMessage("Microsoft.Reliability", "CA2006:UseSafeHandleToEncapsulateNativeResources")]
public const int OBJ_PEN = 1;
public... |
/*
* 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, software
* distribut... |
<!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 (1.8.0_112-google-v7) on Fri Oct 20 16:52:52 PDT 2017 -->
<title>ShadowCursorWrapper</title>
<meta name="date" content="2017-10-20">
<link rel="styles... |
'use strict';
var compact = require('../array/#/compact')
, isObject = require('../object/is-object')
, toArray = require('../object/to-array')
, isArray = Array.isArray, stringify = JSON.stringify;
module.exports = function self(value/*, replacer, space*/) {
var replacer = arguments[1], space = arguments[2... |
package SevenZip.Compression.LZ;
import java.io.IOException;
public class OutWindow
{
byte[] _buffer;
int _pos;
int _windowSize = 0;
int _streamPos;
java.io.OutputStream _stream;
public void Create(int windowSize)
{
if (_buffer == null || _windowSize != windowSize)
_buffer = new byte[windowSize];
_win... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>zchinese: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<?php
// DO NOT EDIT! Generated by Protobuf-PHP protoc plugin 1.0
// Source: vtworkerdata.proto
namespace Vitess\Proto\Vtworkerdata {
class ExecuteVtworkerCommandResponse extends \DrSlump\Protobuf\Message {
/** @var \Vitess\Proto\Logutil\Event */
public $event = null;
/** @var \Closure[] */
... |
cask "djview" do
version "4.12,3"
sha256 "f846b1488414f2063c1097768c5ca1d8a4dd8889749de03b108ce7c0941b9c3e"
url "https://downloads.sourceforge.net/djvu/DjVuLibre-3.5.28%2BDjView-#{version.before_comma}-intel64-#{version.after_comma}.dmg",
verified: "downloads.sourceforge.net/djvu/"
appcast "https://sourc... |
RUN_ARGS := $(wordlist 2, $(words $(MAKECMDGOALS)), $(MAKECMDGOALS))
# If nothing is passed, show the help
.DEFAULT_GOAL := help
###Rails-Commands: ## .
run-console:
bundle exec rails console
c: run-console ## Starts a rails console
run-generate:
bundle exec rails generate $(RUN_ARGS)
g: run-generate ## Runs the r... |
<div class="container">
<!-- Page Heading -->
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Image Tagging
<small>Help Computers become Intelligent</small>
</h1>
<i class="fa fa-question fa-2x pull-r... |
<?php
namespace Guzzle\Tests\Plugin\Backoff;
use Guzzle\Plugin\Backoff\LinearBackoffStrategy;
/**
* @covers Guzzle\Plugin\Backoff\LinearBackoffStrategy
*/
class LinearBackoffStrategyTest extends \Guzzle\Tests\GuzzleTestCase
{
public function testRetriesWithLinearDelay()
{
$strategy = new LinearBack... |
class LegalController < ApplicationController
def terms
end
def benefits
end
end |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Destroy buffered event</title>
</head>
<body><div class="manualnavbar" style="text-align: center;">
<div class="prev" s... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Recommendat... |
namespace chromeos {
// TODO(nkostylev): Extract interface, create a BaseLoginDisplay class.
// An abstract class that defines login UI implementation.
class LoginDisplay : public RemoveUserDelegate {
public:
// Sign in error IDs that require detailed error screen and not just
// a simple error bubble.
enum Sig... |
/* Component containers
----------------------------------*/
.ui-widget {
font-family: Gill Sans,Arial,sans-serif;
font-size: 1.2em;
}
.ui-widget .ui-widget {
font-size: 1em;
}
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
font-family: Gill Sans,Arial,sans-serif;
font-size: 1em;
... |
using UnityEngine;
using UnityEditor;
using System;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Linq;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
[CustomEditor( typeof( dfTweenVector3 ) )]
public class TweenVector3Inspector : TweenI... |
package com.intellij.testFramework.vcs;
import com.intellij.execution.configurations.PathEnvironmentVariableUtil;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.util.SystemInfo;
import com.intellij.openapi.util.text.StringUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains... |
<?php
return array(
'default' => array(
'user'=>'benchmarkdbuser',
'password' => 'benchmarkdbpass',
'driver' => 'PDO',
//'Connection' is required if you use the PDO driver
'connection'=>'mysql:host=localhost;dbname=hello_world',
// 'db' and 'host' are required if you use Mysqli driver
'db' => 'hel... |
#ifdef USE_TI_UIWINDOW
#import "TiUIWindowProxy.h"
#import "Webcolor.h"
#import "TiUIViewProxy.h"
#import "ImageLoader.h"
#import "TiComplexValue.h"
#import "TiApp.h"
#import "TiTabController.h"
#import "TiLayoutQueue.h"
// this is how long we should wait on the new JS context to be loaded
// holding the UI thread b... |
using System;
using System.Collections.Generic;
using System.Linq;
using Hyak.Common;
using Microsoft.Azure;
using Microsoft.WindowsAzure.Management.Sql.Models;
namespace Microsoft.WindowsAzure.Management.Sql.Models
{
/// <summary>
/// Represents the response containing the list of database copies for a
//... |
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
define( ["jquery", "../jquery.validate"], factory );
} else if (typeof module === "object" && module.exports) {
module.exports = factory( require( "jquery" ) );
} else {
factory( jQuery );
}
}(function( $ ) {
/*
* Translated default ... |
function save_matfile(test_name, v)
% saves variable passed in m with filename from prefix
global FILEPREFIX FILESUFFIX
eval([test_name ' = v;']);
save([FILEPREFIX test_name FILESUFFIX], test_name) |
package command
import (
"errors"
"os"
"os/signal"
"github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/clientv3/concurrency"
"github.com/spf13/cobra"
"golang.org/x/net/context"
)
var (
electListen bool
)
// NewElectCommand returns the cobra command for "elect".
func NewElectCommand() *cobra.Command {
... |
set -e
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/common.lib.sh"
etc/bin/install-packages
|
@interface NSString (RACKeyPathUtilities)
// Returns an array of the components of the receiver.
//
// Calling this method on a string that isn't a key path is considered undefined
// behavior.
- (NSArray *)rac_keyPathComponents;
// Returns a key path with all the components of the receiver except for the
// last one... |
"""
werkzeug.contrib.testtools
~~~~~~~~~~~~~~~~~~~~~~~~~~
This module implements extended wrappers for simplified testing.
`TestResponse`
A response wrapper which adds various cached attributes for
simplified assertions on various content types.
:copyright: (c) 2014 by the Werkzeu... |
<html><head></body></html>
|
package org.apache.ws.security;
import java.security.Principal;
/**
* This class implements the <code>Principal</code> interface and
* represents a UsernameToken user.
* <p/>In addition to the principal's name
* this principal object also contains the nonce and created time of the
* UsernameToken (refer to th... |
iOSSwift ----***Shaji Was Here
|
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('results', '0013_auto_20170404_1536'),
]
operations = [
migrations.AddField(
model_name='scenarioresult',
name='sign_failed',... |
package com.intellij.openapi.compiler;
/**
* A tag interface indicating that the compiler will instrument java sources.
* This affects the order of compiler calls:
* The sequence in which compilers are called:
* SourceGeneratingCompiler -> SourceInstrumentingCompiler -> TranslatingCompiler -> ClassInstrumentingC... |
CLUSTER_NAME="${CLUSTER_NAME:-${USER}-gke-e2e}"
NETWORK=${KUBE_GKE_NETWORK:-e2e}
MINION_TAG="k8s-${CLUSTER_NAME}-node"
# For ease of maintenance, extract any pieces that do not vary between default
# and test in a common config.
source $(dirname "${BASH_SOURCE}")/config-common.sh
|
#ifndef ALIJETFINDER_H
#define ALIJETFINDER_H
//---------------------------------------------------------------------
// Jet finder base class
// manages the search for jets
// Authors: jgcn@mda.cinvestav.mx
// andreas.morsch@cern.ch
// magali.estienne@subatech.in2p3.fr
// alexandre.sha... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
in Müller & Arx, Beitr. Kryptfl. Schweiz 11(no. 2): 78 (1962)
#### Original name
Polystomella borneensis Petr., 1954
### Remarks
null |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Linq.Expressions;
namespace AntData.ORM.Linq.Builder
{
using AntData.ORM.Expressions;
using Extensions;
using Reflection;
class SelectBuilder : MethodCallBuilder
{
#region SelectBuilder... |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-71.js
* @description Object.create - one property in 'Properties' is the global object that uses Object's [[Get]] method to access the 'enumerable' property (8.10.5 step 3.a)
*/
function testcase() {
... |
<?php
class Kwf_Component_Abstract_Events extends Kwf_Component_Events
{
protected $_class;
protected function _init()
{
$this->_class = $this->_config['componentClass'];
}
/**
* Returns all component classes that can create $createdClass. Optionally filtering instances of $createClas... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/pubsub/v1/schema.proto
namespace Google\Cloud\PubSub\V1;
if (false) {
/**
* This class is deprecated. Use Google\Cloud\PubSub\V1\Schema\Type instead.
* @deprecated
*/
class Schema_Type {}
}
class_exists(Schema\Typ... |
"""Command for cache invalidation."""
from googlecloudsdk.api_lib.compute import base_classes
from googlecloudsdk.api_lib.compute import batch_helper
from googlecloudsdk.api_lib.compute import lister
from googlecloudsdk.api_lib.compute import property_selector
from googlecloudsdk.api_lib.compute import request_helper
... |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System
Imports System.Collections.Generic
Imports System.Diagnostics
Imports System.Linq
Imports System.Runtim... |
use std::comm;
use std::os;
use std::task;
use std::uint;
fn child_generation(gens_left: uint, tx: comm::Sender<()>) {
// This used to be O(n^2) in the number of generations that ever existed.
// With this code, only as many generations are alive at a time as tasks
// alive at a time,
spawn(proc() {
... |
// Copyright (c) 2012 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 "net/http/http_proxy_client_socket_pool.h"
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/run_loop.h"
#includ... |
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
... |
#ifndef TORRENT_SHA1_HASH_HPP_INCLUDED
#define TORRENT_SHA1_HASH_HPP_INCLUDED
#include <cctype>
#include <algorithm>
#include <string>
#include <cstring>
#include "libtorrent/config.hpp"
#include "libtorrent/assert.hpp"
#include "libtorrent/aux_/byteswap.hpp"
#if TORRENT_USE_IOSTREAM
#include "libtorrent/hex.hpp" ... |
/**
* Module dependencies.
*/
var jade = require('./../lib/jade')
, str = require('fs').readFileSync(__dirname + '/text.jade', 'utf8')
, fn = jade.compile(str);
console.log(fn({ name: 'tj', email: 'tj@vision-media.ca' })); |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
MathJax.Localization.addTranslation("lb","FontWarnings",{version:"2.7.2-beta.0",isLoaded:true,strings:{}});MathJax.Ajax.loadComplete("[MathJax]/localization/lb/FontWarnings.js");
|
/*!
* FileInput Romanian Translations
*
* This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or
* any HTML markup tags in the messages must not be converted or translated.
*
* @see http://github.com/kartik-v/bootstrap-fileinput
* @author Ciprian Voicu <pictoru@autoportret.ro>
*
* ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// The <see cref="EventArgs"/> describing ... |
/*
* The code in this file is based on code taken from OpenLayers.
*
* Copyright (c) 2006-2007 MetaCarta, Inc., published under the Clear BSD
* license. See http://svn.openlayers.org/trunk/openlayers/license.txt for the
* full text of the license.
*/
(function() {
/**
* Check to see if GeoExt.singl... |
namespace net {
namespace {
using testing::Each;
using testing::Eq;
enum SpdyNetworkTransactionTestSSLType {
// Request an https:// URL and use NPN (or ALPN) to negotiate SPDY during
// the TLS handshake.
HTTPS_SPDY_VIA_NPN,
// Request and http:// URL to a server that supports SPDY via Alternative
// Servi... |
require 'test_helper'
class CollegeTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
|
//>>built
define("dojo/data/api/Read",["../../_base/declare"],function(_1){
return _1("dojo.data.api.Read",null,{getValue:function(_2,_3,_4){
throw new Error("Unimplemented API: dojo.data.api.Read.getValue");
},getValues:function(_5,_6){
throw new Error("Unimplemented API: dojo.data.api.Read.getValues");
},getAttribu... |
<?php
namespace Masterminds\HTML5\Parser;
/**
* Handles special-case rules for the DOM tree builder.
*
* Many tags have special rules that need to be accomodated on an
* individual basis. This class handles those rules.
*
* See section 8.1.2.4 of the spec.
*
* @todo - colgroup and col special behaviors
* ... |
using System;
using Android.App;
using Android.Content;
using Android.OS;
using System.Threading.Tasks;
namespace Parse {
internal class GcmRegistrar {
private const string LogTag = "parse.GcmRegistrar";
private const string ExtraRegistrationId = "registration_id";
private const string ExtraSenderId = ... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.test.partnercustomizations;
import android.content.ContentProvider;
import android.content.ContentValues;
import android.cont... |