text stringlengths 3 1.05M |
|---|
import os
from os import path
import jprops
from eclipsegen.generate import Os, Arch
from git.repo.base import Repo
from plumbum import cli
from packaging import version
from mavenpy.run import Maven
from metaborg.releng.bootstrap import Bootstrap
from metaborg.releng.build import RelengBuilder
from metaborg.releng.d... |
<!doctype html>
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE
The complete set of authors may be found at http://polymer.github.io/AUTHORS
The complete set of contributors may be found a... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Orleans.CodeGeneration;
using UnitTests.GrainInterfaces;
#if !EXCLUDE_ASSEMBLYINFO // TODO remove after source tree merge
// General Information about an assembly is controlled through the following
// set of ... |
package org.apache.camel.karaf.commands;
import org.apache.camel.commands.RouteShowCommand;
import org.apache.felix.gogo.commands.Command;
@Command(scope = "camel", name = "route-show", description = "Display the Camel route definition in XML")
public class RouteShow extends AbstractRouteCommand {
public Object... |
const _ = require("struct-fu");
const packetHeader = _.struct("packetHeader",[
_.float64("magic"),
_.uint32("version"),
_.uint32("offset"),
_.uint32("size"),
_.uint32("type")
]);
exports.header = _.struct("header",[
_.float64("magic"),
_.uint32("version"),
_.char("hostname",253),
_... |
// Header for CPrefsAccountLocal class
#ifndef __CPREFSACCOUNTLOCAL__MULBERRY__
#define __CPREFSACCOUNTLOCAL__MULBERRY__
#include "CTabPanel.h"
#include "HPopupMenu.h"
// Classes
class CTextInputDisplay;
class JXStaticText;
class JXRadioGroup;
class JXTextButton;
class CPrefsAccountLocal : public CTabPanel
{
//... |
package trace
import (
"fmt"
"strconv"
"time"
"github.com/uber/tchannel-go"
"github.com/uber/tchannel-go/crossdock/log"
"github.com/crossdock/crossdock-go"
"github.com/opentracing/opentracing-go"
"github.com/opentracing/opentracing-go/ext"
"github.com/uber/jaeger-client-go"
"github.com/uber/jaeger-client-g... |
package raft
import (
"errors"
pb "github.com/coreos/etcd/raft/raftpb"
)
// ErrStepLocalMsg is returned when try to step a local raft message
var ErrStepLocalMsg = errors.New("raft: cannot step raft local message")
// ErrStepPeerNotFound is returned when try to step a response message
// but there is no peer foun... |
import type { DeepMutable, DeepReadonly, JsonSchema, MaybeReadonly, RxJsonSchema } from './types';
export declare class RxSchema<T = any> {
readonly jsonSchema: RxJsonSchema<T>;
indexes: MaybeReadonly<string[]>[];
primaryPath: keyof T;
finalFields: string[];
constructor(jsonSchema: RxJsonSchema<T>);... |
/* eslint-env browser */
/**
* Module dependencies.
*/
var Base = require('./base');
var utils = require('../utils');
var Progress = require('../browser/progress');
var escapeRe = require('escape-string-regexp');
var escape = utils.escape;
/**
* Save timer references to avoid Sinon interfering (see GH-237).
*/
... |
package cn.mutils.app.demo.ui;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ListView;
import android.widget.TextView;
import java.util.ArrayList;
import cn.mutils.app.demo.R;
import cn.mutils.app.ui.StateView;
import cn.mutils.app.ui.adapter.IItemView;
import cn.mutils.app.... |
package gwt.material.design.client.ui;
import gwt.material.design.client.ui.html.Span;
import com.google.gwt.user.client.ui.HasText;
//@formatter:off
/**
* Badges can notify you that there are new or unread messages or notifications.
* Add the new class to the badge to give it the background.
* <h3>UiBinder Usa... |
package org.revenj.extensibility;
import java.io.IOException;
public interface SystemAspect {
void configure(Container container) throws IOException;
} |
'use strict';
/*
* Defining the Package
*/
var Module = require('meanio').Module;
var Admin = new Module('admin');
/*
* All MEAN packages require registration
* Dependency injection is used to define required modules
*/
Admin.register(function(app, auth, database) {
var icons = 'admin/assets/img/icons/';
... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010-present Facebook.
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
U... |
package org.apache.cassandra.hints;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import java.util.zip.CRC32;
import org.junit.BeforeClass;
import org.junit.Test;
import org.apache.cassandra.config.DatabaseDescriptor;
... |
class Projects::NotesController < Projects::ApplicationController
# Authorize
before_action :authorize_read_note!
before_action :authorize_create_note!, only: [:create]
before_action :authorize_admin_note!, only: [:update, :destroy]
before_action :find_current_user_notes, except: [:destroy, :delete_attachment... |
<?php
/**
* @see Zend_Http_Client_Adapter_Socket
*/
#require_once 'Zend/Http/Client/Adapter/Socket.php';
/**
* Extends the default HTTP adapter to handle streams instead of discrete body
* strings.
*
* @category Zend
* @package Zend_Gdata
* @subpackage Gdata
* @copyright Copyright (c) 2005-2015 Zend ... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.cellx = factory());
}(this, (function () { 'use strict';
var ErrorLogger = {
_handler: null,
/**
* @typesign (handler:... |
/*
* @author max
*/
package com.intellij.psi.stubs;
import org.jetbrains.annotations.NotNull;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
public class StubIndexState {
public List<String> registeredIndices = new ArrayList<String>();
public StubIndexState() {
}
public... |
'use strict';
module.exports = function (str) {
return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {
return '%' + c.charCodeAt(0).toString(16).toUpperCase();
});
};
|
import {
defaultAction,
} from '../actions';
import {
DEFAULT_ACTION,
} from '../constants';
describe('ScoreBoard actions', () => {
describe('Default Action', () => {
it('has a type of DEFAULT_ACTION', () => {
const expected = {
type: DEFAULT_ACTION,
};
expect(defaultAction()).toEqu... |
package com.hazelcast.cluster.memberselector;
import com.hazelcast.core.Member;
import com.hazelcast.core.MemberSelector;
/**
* A utility class to get {@link com.hazelcast.core.MemberSelector} instances.
*/
public final class MemberSelectors {
/**
* A {@link com.hazelcast.core.MemberSelector} instance t... |
(function ($) {
$.osharp = $.osharp || { version: 1.0 };
$.osharp.easyui = $.osharp.easyui || {};
})(jQuery);
(function ($) {
$.osharp.easyui.msg = {
tip: function (content, title, timeout, showType) {
$.messager.show({
title: title || "消息提示",
ms... |
package org.opencv.ml;
import org.opencv.core.Mat;
// C++: class KNearest
//javadoc: KNearest
public class KNearest extends StatModel {
protected KNearest(long addr) { super(addr); }
public static final int
BRUTE_FORCE = 1,
KDTREE = 2;
//
// C++: static Ptr_KNearest create... |
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "py/nlr.h"
#include "py/compile.h"
#include "py/runtime.h"
#include "py/repl.h"
void do_str(const char *src, mp_parse_input_kind_t input_kind) {
mp_lexer_t *lex = mp_lexer_new_from_str_len(MP_QSTR__lt_stdin_gt_, src, strlen(src), 0);
if (lex ... |
#ifndef WEBRTC_SYSTEM_WRAPPERS_SOURCE_FILE_IMPL_H_
#define WEBRTC_SYSTEM_WRAPPERS_SOURCE_FILE_IMPL_H_
#include "file_wrapper.h"
#include <stdio.h>
namespace webrtc {
class FileWrapperImpl : public FileWrapper
{
public:
FileWrapperImpl();
virtual ~FileWrapperImpl();
virtual WebRtc_Word32 FileName(WebRt... |
VSDebugSink::~VSDebugSink()
{
}
void VSDebugSink::Append(const LogMessage& Message)
{
std::wstring wide = std::wstring(Message.FormattedMessage.begin(), Message.FormattedMessage.end());
OutputDebugString((wide + L"\n").c_str());
}
#endif |
using System.Diagnostics;
using Internal.NativeCrypto;
using Microsoft.Win32.SafeHandles;
namespace System.Security.Cryptography
{
/// <summary>
/// Safehandle representing HCRYPTPROV
/// </summary>
[SecurityCritical]
internal sealed class SafeProvHandle : SafeHandleZeroOrMinusOneIsInvalid
{
... |
using content::BrowserThread;
namespace app_list {
UrlIconSource::UrlIconSource(
const IconLoadedCallback& icon_loaded_callback,
net::URLRequestContextGetter* context_getter,
const GURL& icon_url,
int icon_size,
int default_icon_resource_id)
: icon_loaded_callback_(icon_loaded_callback),
... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Vest. Moskov. gos. Univ. 2: 55 (1972)
#### Original name
Kabatiella silenicola Annal.
### Remarks
null |
package org.apache.camel.processor.jpa;
import java.util.List;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.examples.SendEmail;
import org.apache.camel.spring.SpringRouteBuilder;
import org.junit.Test;
/**
* @version
*/
public class Jp... |
layout: codex_page
title: The Toolsmiths Learning Paths
permalink: /codex/learning_paths/
codex_page_type: top_level_codex_page
nav_tag: learning_path
---
#### A structured list of resources that will help you find knowledge gaps and pick a path to pursue.
### [ Tools Engineer Learning Path ]({{ site.baseurl }}{% li... |
module.define("org/arangodb/general-graph", function(exports, module) {
/*jshint strict: false */
/*global ArangoClusterComm */
////////////////////////////////////////////////////////////////////////////////
/// @brief Graph functionality
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2010-2014 triagens GmbH, Col... |
<?xml version="1.0" ?>
<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>apigee</groupId>
<artifactId>deploym... |
<!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_72) on Wed Apr 19 19:41:00 EDT 2017 -->
<title>LogTest (jaql 0.0.1 API)</title>
<meta name="date" content="2017-04-19">
<link rel="stylesheet" ... |
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace SchoolBusAPI.Migrations
{
public partial class SB190283 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
... |
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProp... |
#include <aws/lex-models/model/DeleteUtterancesRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::LexModelBuildingService::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
DeleteUtterancesRequest::DeleteUtterancesRequest() :
m_botNameHasBeenS... |
using base::OneShotTimer;
using base::Thread;
using base::TimeDelta;
using content::BrowserThread;
namespace browser_sync {
namespace {
class SyncBrowserThreadModelWorkerTest : public testing::Test {
public:
SyncBrowserThreadModelWorkerTest() :
did_do_work_(false),
thread_bundle_(content::TestBrowserT... |
// 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 Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.PooledObjects;
using Microsoft.CodeAnal... |
<!DOCTYPE html>
<style>
.spacer {
position: relative;
width: 300px;
height: 300px;
}
.clipping-container {
position: absolute;
height: 300px;
transform: translateZ(0);
}
.with-initial-clipping {
clip: rect(50px, 250px, 250px, 50px);
}
... |
import { Checkmark24 } from "../../";
export = Checkmark24;
|
#include <grpc/support/port_platform.h>
#include <grpc/grpc.h>
#include <grpc/support/log.h>
#include "src/core/ext/transport/chttp2/server/chttp2_server.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/surface/api_trace.h"
#include "src/core/lib/surface/server.h"
int grpc_server_add_insec... |
namespace boost {
namespace unit_test {
// ************************************************************************** //
// ************** custom manipulators helpers ************** //
// ************************************************************************** //
template<typename Manip>
struct cu... |
#include "config.h"
#include "GeolocationClientBlackBerry.h"
#include "Chrome.h"
#include "Frame.h"
#include "Geolocation.h"
#include "GeolocationController.h"
#include "GeolocationError.h"
#include "GeolocationPosition.h"
#include "Page.h"
#include "SecurityOrigin.h"
#include "WebPage_p.h"
#include <BlackBerryPlat... |
// Copyright 2006-2008, The Google Caja project.
// Modifications Copyright 2009 The Closure Library Authors. All Rights Reserved.
// All Rights Reserved
/**
* @fileoverview An HTML sanitizer that can satisfy a variety of security
* policies. The HTML sanitizer is built around a SAX parser and HTML element
* and ... |
/**
* Gumby Fixed
*/
!function($) {
'use strict';
function Fixed($el) {
Gumby.debug('Initializing Fixed Position', $el);
this.$el = $el;
this.$window = $(window);
this.fixedPoint = '';
this.pinPoint = false;
this.fixedPointjQ = false;
this.pinPointjQ = false;
this.offset = 0;
this.pinOffset = 0... |
package com.amazonaws.auth.policy.resources;
import com.amazonaws.auth.policy.Resource;
import com.amazonaws.auth.policy.actions.S3Actions;
/**
* Represents a bucket resource involved in an AWS access control policy. This
* resource <b>does not</b> include any of the objects stored in the bucket. It
* represents ... |
<?php
namespace Symfony\Component\DependencyInjection\Dumper;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Parameter;
use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\DependencyInjection\Definition;
use Symfony\Component\Dependency... |
require File.expand_path(File.dirname(__FILE__) + '/http_request')
module SharedTest
include HttpRequestTestHelper
def setup
super
@stub_http = stub_http_request(:any, "http://www.example.com")
@stub_https = stub_http_request(:any, "https://www.example.com")
end
def test_assert_requested_with_stu... |
include(CheckSymbolExists)
find_path(XI_INCLUDE_DIR NAMES X11/extensions/XInput2.h
PATHS /opt/X11/include
DOC "The Xi include directory")
find_library(XI_LIBRARY NAMES Xi
PATHS /opt/X11/lib
DOC "The Xi library")
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDA... |
package org.apache.cassandra.utils;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import org.junit.Test;
public class BytesReadTracke... |
/* @flow */
/**
* @jsx React.DOM
*/
'use strict';
var React = require('react');
var joinClasses = require('classnames');
var Cell = require('./Cell');
var cloneWithProps = require('react/lib/cloneWithProps');
var ColumnMetrics = require('./ColumnMetrics');
var ColumnUtilsMixin = requ... |
'use strict';
const fs = require('fs');
const path = require('path');
// eslint-disable-next-line node/no-unpublished-require
const jsdom = require('jsdom');
const { AssertionError } = require('assert');
class CustomResourceLoader extends jsdom.ResourceLoader {
constructor(distPath) {
super();
this.distPath... |
/*
* Condition.cpp
*
* Author: Ora Lassila mailto:ora.lassila@nokia.com
* Copyright (c) 2001-2008 Nokia. All Rights Reserved.
*/
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "Condition.h"
#include <string.h>
namespace Piglet {
Condition::Condition()
{
}
Condition:... |
//-----------------------------------------------------------------------
// <copyright file="InterlockedSpin.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>... |
"""
Python3-specific versions of various functions used by stomp.py
"""
NULL = b'\x00'
def input_prompt(prompt):
"""
Get user input
:param str prompt: the prompt to display to the user
:rtype: str
"""
return input(prompt)
def decode(byte_data):
"""
Decode the byte data to a string... |
<?php
namespace lithium\tests\integration\data;
use lithium\tests\fixture\model\gallery\Images;
use lithium\tests\fixture\model\gallery\Galleries;
use li3_fixtures\test\Fixtures;
class SourceTest extends \lithium\tests\integration\data\Base {
protected $_fixtures = array(
'images' => 'lithium\tests\fixture\mode... |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/datastore/v1beta3/datastore.proto
/*
Package datastore is a generated protocol buffer package.
It is generated from these files:
google/datastore/v1beta3/datastore.proto
google/datastore/v1beta3/entity.proto
google/datastore/v1beta3/query.proto
It... |
<doc schema="cmip5">
<!-- ESGF core metadata fields -->
<field name="id">$id$</field>
<field name="dataset_id">$dataset_id$</field>
<field name="master_id">$master_id$</field>
<field name="instance_id">$instance_id$</field>
<field name="replica">false</field>
<field name="latest">true</fiel... |
General
=======
.. toctree::
:maxdepth: 1
concepts
bundle_structure
operations
configuration
simulation_structure
simulation_setup
scenario
assertions
timings
reports
functional_specs
debugging
|
var errObj: Object = { toString: 0 }; // Error, incompatible toString
var goodObj: Object = {
toString(x?) {
return "";
}
}; // Ok, because toString is a subtype of Object's toString
var errFun: Function = {}; // Error for no call signature
function foo() { }
module foo {
export var boo... |
const std::map<std::string, generate_scraper_requests_func> scraper_request_funcs = boost::assign::map_list_of
("TheGamesDB", &thegamesdb_generate_scraper_requests);
std::unique_ptr<ScraperSearchHandle> startScraperSearch(const ScraperSearchParams& params)
{
const std::string& name = Settings::getInstance()->getStri... |
Features, usage and installation instructions are [summarised on the homepage](http://brew.sh).
## What Packages Are Available?
1. Type `brew search` for a list.
2. Or visit [braumeister.org](http://braumeister.org) to browse packages online.
3. Or use `brew search --desc` to browse packages from the command line.
##... |
// NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION
// Copyright Aleksey Gurtovoy 2000-2006
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/mpl for docum... |
(function() {
window.createSpring = function createSpring(springSystem, friction, tension, rawValues) {
var spring = springSystem.createSpring();
var springConfig;
if (rawValues) {
springConfig = new rebound.SpringConfig(friction, tension);
} else {
springConfig = rebound.SpringConfig.from... |
var EventEmitter = require('events').EventEmitter,
inherits = require('util').inherits;
var StreamSearch = require('streamsearch');
var B_DCRLF = new Buffer('\r\n\r\n'),
RE_CRLF = /\r\n/g,
RE_HDR = /^([^:]+):[ \t]?(.+)?$/,
MAX_HEADER_PAIRS = 2000, // from node's http.js
MAX_HEADER_SIZE = 80 * 1024... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
package org.elasticsearch.common.inject;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Lists;
import org.elasticsearch.common.inject.internal.*;
import org.elasticsearch.common.inject.spi.*;
import java.util.List;
import java.util.Set;
/**
* Handles {@link Binder#bind} and {@link... |
package com.etsy.statsd.profiler.util;
import org.junit.Test;
import java.util.concurrent.TimeUnit;
import static org.junit.Assert.*;
public class TimeUtilTest {
@Test
public void testConvertReportingPeriod() {
assertEquals(1, TimeUtil.convertReportingPeriod(1, TimeUnit.MILLISECONDS, 100, TimeUnit.M... |
// 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.Collections.Generic;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CSharp.Symbols... |
goog.provide('goog.editor.plugins.EmoticonsTest');
goog.setTestOnly('goog.editor.plugins.EmoticonsTest');
goog.require('goog.Uri');
goog.require('goog.array');
goog.require('goog.dom');
goog.require('goog.dom.TagName');
goog.require('goog.editor.Field');
goog.require('goog.editor.plugins.Emoticons');
goog.require('goo... |
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.googlecode... |
package etcd
import (
"testing"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/apis/extensions"
// Ensure that extensions/v1beta1 package is initialized.
_ "k8s.io/kubernetes/pkg/apis/extensions/v1beta1"
"k8s.io/kubernetes/pkg/fields"
"k8s.io/kubernetes/pkg/labels"
"k8s.io/kubernetes/pkg/registry/generi... |
namespace ui {
// static
HRESULT ForegroundHelper::SetForeground(HWND window) {
DCHECK(::IsWindow(window));
ForegroundHelper foreground_helper;
return foreground_helper.ForegroundHotKey(window);
}
HRESULT ForegroundHelper::ForegroundHotKey(HWND window) {
// This implementation registers a hot key (F22) and th... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Sat Oct 06 03:05:14 EDT 2012-->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
Solr 4.0.0 API
</TITLE>
<SCRIPT type="text/javascrip... |
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
public class DefaultPrivateFieldTest {
int a = 0;
String b = "";
public static void main(String[] args) throws Exception {
Field field = DefaultPrivateFieldTest.class.getDeclaredField("a");
System.out.println(Modifier.isPrivate(field.get... |
import {logError, getTopWindowUrl, getTopWindowReferrer, getTopWindowLocation, createTrackPixelHtml} from '../src/utils';
import { registerBidder } from '../src/adapters/bidderFactory';
import { formatQS } from '../src/url';
import { config } from '../src/config';
/**
* @type {{CODE: string, V: string, RECTANGLE_SIZE... |
<?php
namespace lithium\tests\cases\g11n\catalog\adapter;
use Exception;
use lithium\core\Libraries;
use lithium\g11n\catalog\adapter\Code;
class CodeTest extends \lithium\test\Unit {
public $adapter;
protected $_path;
public function setUp() {
$this->_path = $path = Libraries::get(true, 'resources') . '/tm... |
// Build a tree structure based on the TensorFlow model's python code stacks.
// Stats are aggregated from descendants from ancestors.
#ifndef THIRD_PARTY_TENSORFLOW_TOOLS_TFPROF_INTERNAL_TFPROF_CODE_H_
#define THIRD_PARTY_TENSORFLOW_TOOLS_TFPROF_INTERNAL_TFPROF_CODE_H_
#include <map>
#include <memory>
#include <st... |
// Boost.Bimap
//
// Copyright (c) 2006-2007 Matias Capeletto
//
// 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)
/// \file views/map_view.hpp
/// \brief View of a side of a bimap that is signature compatible wit... |
enyo.depends(
'HTMLStringDelegate.js'
); |
package types
// PatchStrategicMerge represents a relative path to a
// stategic merge patch with the format
// https://github.com/kubernetes/community/blob/master/contributors/devel/sig-api-machinery/strategic-merge-patch.md
type PatchStrategicMerge string
|
package org.springframework.security.oauth2.client.token;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import java.util.Arrays;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.springframework.jdbc.datasource.embedded.EmbeddedDatabase;
impo... |
// This file was automatically generated by informer-gen
package v1
import (
meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
watch "k8s.io/apimachinery/pkg/watch"
cache "k8s.io/client-go/tools/cache"
api_v1 "k8s.io/kubernetes/pkg/api/v1"
clientset "k8s.io/kubernetes/pk... |
.CodeMirror-simplescroll-horizontal div, .CodeMirror-simplescroll-vertical div {
position: absolute;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background: #ccc;
border: 1px solid #bbb;
border-radius: 2px;
}
.CodeMirror-simplescroll-horizontal, .CodeMi... |
package com.intellij.json.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import static com.intellij.json.JsonElementTypes.*;
import com.intell... |
#ifndef LAME_TABLES_H
#define LAME_TABLES_H
#if 0
typedef struct {
unsigned char no;
unsigned char width;
unsigned char minval_2;
float quiet_thr;
float norm;
float bark;
} type1_t;
typedef struct {
unsigned char no;
unsigned char width;
float quiet_thr;
float norm;... |
var moduleSearchIndex;
var packageSearchIndex;
var typeSearchIndex;
var memberSearchIndex;
var tagSearchIndex;
function loadScripts(doc, tag) {
createElem(doc, tag, 'jquery/jszip/dist/jszip.js');
createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils.js');
if (window.navigator.userAgent.indexOf('MSIE '... |
package packages
// See doc.go for package documentation and implementation notes.
import (
"context"
"encoding/json"
"fmt"
"go/ast"
"go/parser"
"go/scanner"
"go/token"
"go/types"
"io/ioutil"
"log"
"os"
"path/filepath"
"strings"
"sync"
"time"
"golang.org/x/tools/go/gcexportdata"
"golang.org/x/tools/... |
'use strict';
type ImageSource = {
uri: string;
isStatic: boolean;
};
|
package logs
import (
"bufio"
"encoding/json"
"fmt"
"io"
"os"
"strconv"
"sync"
"github.com/sirupsen/logrus"
)
var (
configureMutex = sync.Mutex{}
// loggingConfigured will be set once logging has been configured via invoking `ConfigureLogging`.
// Subsequent invocations of `ConfigureLogging` would be no-o... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
/**!
* Sortable
* @author RubaXa <trash@rubaxa.org>
* @license MIT
*/
(function (factory) {
"use strict";
if (typeof define === "function" && define.amd) {
define(factory);
}
else if (typeof module != "undefined" && typeof module.exports != "undefined") {
module.exports = factory();
}
else if (typeof... |
using System;
using System.Collections.Generic;
using System.Linq;
using Hyak.Common;
using Microsoft.Azure;
using Microsoft.WindowsAzure.Management.Network.Models;
namespace Microsoft.WindowsAzure.Management.Network.Models
{
/// <summary>
/// A standard service response including an HTTP status code and reque... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.R.Host.Protocol;
namespace Microsoft.R.Host.Client {
public interface IMessageTransport {
... |
package com.alibaba.dubbo.container.jetty;
import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.nio.SelectChannelConnector;
import org.eclipse.jetty.servlet.FilterHolder;
import org.eclipse.jetty.servlet.FilterMapping;
import org.eclipse.jetty.servle... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = timeout;
var _initialParams = require('./internal/initialParams');
var _initialParams2 = _interopRequireDefault(_initialParams);
var _wrapAsync = require('./internal/wrapAsync');
var _wrapAsync2 = _interopRequireDefa... |