text stringlengths 3 1.05M |
|---|
; if (typeof dnn === "undefined" || dnn === null) { dnn = {}; }; //var dnn = dnn || {};
(function ($, window, document, undefined) {
"use strict";
var NTree = this.NTree = function (data) {
this.data = (typeof data === "undefined") ? null : data;
this.children = [];
};
NTree.prototyp... |
package stsiface
import (
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/service/sts"
)
// STSAPI provides an interface to enable mocking the
// sts.STS service client's API operation,
// paginators, and waiters. This make unit testing your code that calls out
// to the SDK's service client's ca... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
#include "postgres_fe.h"
#include <ctype.h>
#include "common.h"
#include "describe.h"
#include "dumputils.h"
#include "mbprint.h"
#include "print.h"
#include "settings.h"
#include "variables.h"
#define CATALOG_83_SUPPORTED false
static bool describeOneTableDetails(const char *schemaname,
const char *relation... |
"""
Lets you use Tk with POX.
Highly experimental.
"""
from collections import deque
from pox.core import core
log = core.getLogger()
#TODO: Bind revent events across thread
class MessageBoxer (object):
def __init__ (self, tk):
import tkinter.messagebox, tkinter.colorchooser, tkinter.simpledialog
import ... |
package install
import (
"testing"
"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
wardlefuzzer "k8s.io/sample-apiserver/pkg/apis/wardle/fuzzer"
)
func TestRoundTripTypes(t *testing.T) {
roundtrip.RoundTripTestForAPIGroup(t, Install, wardlefuzzer.Funcs)
// TODO: enable protobuf generation for the sample-ap... |
##########################################################################
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012
# Vincent C. Passaro (vincent.passaro@gmail.com)
# Shannon Mitchell (shannon.mitchell@fusiontechnology-llc.com)
#
#This program is free software; you can redistribut... |
var fs = require('fs'),
when = require('when'),
path = require('path'),
parsePackageJson = require('../require-tree').parsePackageJson;
function AppPermissions(appPath) {
this.appPath = appPath;
this.packagePath = path.join(this.appPath, 'package.json');
}
AppPermissions.prototype.read = function ... |
Base class for optimizers.
This class defines the API to add Ops to train a model. You never use this
class directly, but instead instantiate one of its subclasses such as
`GradientDescentOptimizer`, `AdagradOptimizer`, or `MomentumOptimizer`.
### Usage
```python
# Create an optimizer with the desired parameters.
o... |
<?php
namespace Phug\Formatter\Format;
class FramesetFormat extends XhtmlFormat
{
const DOCTYPE_DTD = '-//W3C//DTD XHTML 1.0 Frameset//EN';
const DOCTYPE_DTD_URL = 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd';
}
|
/*
|--------------------------------------------------------------------------
| Wysiwyg
|--------------------------------------------------------------------------
| Styles for when a wysiwyg appears on a page. Here we can use global font-sizes
| because it's not viable to expect all wysiwyg content to have a class. M... |
According to their name, MPL's *transformation*, or *sequence-building
algorithms* provide the tools for building new sequences from the existing
ones by performing some kind of transformation. A typical transformation
alogrithm takes one or more input sequences and a transformation
metafunction/predicate, and return... |
package com.commonsware.android.recyclerview.cardripplelist2;
import android.app.Activity;
import android.support.v7.widget.RecyclerView;
public class RecyclerViewActivity extends Activity {
private RecyclerView rv=null;
public void setAdapter(RecyclerView.Adapter adapter) {
getRecyclerView().setAdapter(ad... |
import baseCreate from './_baseCreate.js';
import isObject from './isObject.js';
/**
* Creates a function that produces an instance of `Ctor` regardless of
* whether it was invoked as part of a `new` expression or by `call` or `apply`.
*
* @private
* @param {Function} Ctor The constructor to wrap.
* @returns {Fu... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>charge-core: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... |
package org.springframework.richclient.application.docking.vldocking;
import org.springframework.richclient.application.support.DefaultViewDescriptor;
import com.vlsolutions.swing.docking.DockingConstants;
/**
* @author Rogan Dawes
*/
public class VLDockingViewDescriptor extends DefaultViewDescriptor {
... |
var gulp = require('gulp');
var less = require('gulp-less');
gulp.task('build-less', function(){
return gulp.src('less/bootstrap.less')
.pipe(less())
.pipe(gulp.dest('dist/css'));
});
|
CKEDITOR.plugins.setLang('placeholder','fi',{placeholder:{title:'Paikkamerkin ominaisuudet',toolbar:'Luo paikkamerkki',text:'Paikkamerkin teksti',edit:'Muokkaa paikkamerkkiä',textMissing:'Paikkamerkin täytyy sisältää tekstiä'}});
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>euler-formula: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... |
// 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 Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysi... |
package bitseq
import (
"encoding/json"
"fmt"
"github.com/docker/libnetwork/datastore"
"github.com/docker/libnetwork/types"
)
// Key provides the Key to be used in KV Store
func (h *Handle) Key() []string {
h.Lock()
defer h.Unlock()
return []string{h.app, h.id}
}
// KeyPrefix returns the immediate parent key... |
namespace perf_test {
// Prints numerical information to stdout in a controlled format, for
// post-processing. |measurement| is a description of the quantity being
// measured, e.g. "vm_peak"; |modifier| is provided as a convenience and
// will be appended directly to the name of the |measurement|, e.g.
// "_browser"... |
<?php
namespace Aws\Test\CloudFront;
use Aws\CloudFront\CloudFrontClient;
/**
* @covers Aws\CloudFront\CloudFrontClient
*/
class CloudFrontClientTest extends \PHPUnit_Framework_TestCase
{
/**
* @expectedException \InvalidArgumentException
*/
public function testEnsuresKeysArePassed()
{
... |
namespace boost
{
// global tags
struct char_tag {};
struct space_tag {};
// global primitives
proto::terminal<char_tag>::type const char_ = {{}};
proto::terminal<space_tag>::type const space = {{}};
using proto::lit;
using proto::literal;
}
namespace boost { namespace spirit2
{
n... |
@import "./lib/links.css";
|
package com.intellij.execution.testframework;
public class PrinterMark implements Printable {
@Override
public void printOn(final Printer printer) {
printer.mark();
}
}
|
/**
* This module is based on Backbone's core history support. It abstracts away the low level details of working with browser history and url changes in order to provide a solid foundation for a router.
* @module history
* @requires system
* @requires jquery
*/
define(['durandal/system', 'jquery'], function (sys... |
"""Base class for creating split nodes using one or more features."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import abc
import six
from tensorflow.contrib.boosted_trees.python.ops import batch_ops_utils
from tensorflow.python.ops import control_f... |
#ifndef TENSORFLOW_STREAM_EXECUTOR_PLATFORM_DEFAULT_MUTEX_H_
#define TENSORFLOW_STREAM_EXECUTOR_PLATFORM_DEFAULT_MUTEX_H_
#include "tensorflow/stream_executor/platform/mutex.h"
namespace stream_executor {
#undef mutex_lock
#undef tf_shared_lock
using tensorflow::ConditionResult;
using tensorflow::WaitForMilliseco... |
/*
* file-test.js: Tests for instances of the File transport
*
* (C) 2010 Charlie Robbins
* MIT LICENSE
*
*/
var assert = require('assert'),
exec = require('child_process').exec,
fs = require('fs'),
path = require('path'),
vows = require('vows'),
winston = require('../../lib/winston'),
he... |
.fc {
direction: ltr;
text-align: left;
}
.fc-rtl {
text-align: right;
}
body .fc { /* extra precedence to overcome jqui */
font-size: 1em;
}
/* Colors
--------------------------------------------------------------------------------------------------*/
.fc-unthemed th,
.fc-unthemed td,
.fc-unthemed thead,
.... |
1. [Install AutoRest](https://github.com/Azure/autorest#installing-autorest).
1. Call autorest with the following arguments...
``` cmd
autorest path/to/readme/file --go --go-sdk-folder=<your/gopath/src/github.com/Azure/azure-sdk-for-go> --package-version=<version> --user-agent=<Azure-SDK-For-Go/version services> [--t... |
namespace lambda {
using std::bind;
using std::cref;
using std::function;
using std::ref;
using namespace std::placeholders;
template <
template <typename...> class Iterable,
typename F,
typename U,
typename V = typename result_of<F(U)>::type,
typename... Us>
Iterable<V> map(F&& f, const Iterable<U, Us...... |
/**
* @ngdoc service
* @name ngCordovaMocks.cordovaFacebook
*
* @description
* A service for testing Facebook features
* in an app built with ngCordova.
**/
ngCordovaMocks.factory('$cordovaFacebook', ['$q', function ($q) {
return {
/**
* These properties are here for the purpose of automated testing ... |
module Fog
module Compute
class Cloudstack
class Real
# Adds a SRX firewall device
#
# {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/addSrxFirewall.html]
def add_srx_firewall(*args)
options = {}
if args[0].is_a? H... |
FROM balenalib/beaglebone-pocket-fedora:35-run
ENV NODE_VERSION 16.14.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver keyserver.ubuntu.com ... |
<!--[metadata]>
+++
title = "cp"
description = "The cp command description and usage"
keywords = ["copy, container, files, folders"]
[menu.main]
parent = "smn_cli"
weight=1
+++
<![end-metadata]-->
# cp
Copy files/folders between a container and the local filesystem.
Usage: docker cp [options] CONTAINER:PATH LOC... |
namespace content {
class RenderFrame;
}
namespace extensions {
// A struct containing information about a script run.
struct ScriptsRunInfo {
// Map of extensions IDs to the executing script paths.
typedef std::map<std::string, std::set<std::string> > ExecutingScriptsMap;
ScriptsRunInfo(content::RenderFrame* ... |
/**
* @fileoverview Generating JavaScript for math blocks.
* @author q.neutron@gmail.com (Quynh Neutron)
*/
'use strict';
goog.provide('Blockly.JavaScript.math');
goog.require('Blockly.JavaScript');
Blockly.JavaScript.math_number = function() {
// Numeric value.
var code = window.parseFloat(this.getTitleVa... |
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Utilities;
using Microsoft.CodeAnalysis.Shared.Extensions;
namespace Microsoft.CodeAnalysis.CSharp.Complet... |
<?php
namespace Drupal\Tests\block_content\Functional;
use Drupal\block_content\Entity\BlockContent;
use Drupal\user\Entity\User;
use Drupal\user\UserInterface;
/**
* Create a block with revisions.
*
* @group block_content
*/
class BlockContentRevisionsTest extends BlockContentTestBase {
/**
* Stores block... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Droppable - Visual feedback</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.8.2.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.wi... |
package org.drools.workbench.models.testscenarios.backend;
import org.drools.core.base.TypeResolver;
import org.drools.core.common.InternalAgenda;
import org.drools.core.common.InternalAgendaGroup;
import org.drools.core.time.impl.PseudoClockScheduler;
import org.drools.workbench.models.testscenarios.backend.executo... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!--basic styles-->
<link href="asset/css/bootstrap.css" rel="stylesheet" />
<link rel="stylesheet" href="asset/css/dexter.min.css" />
<link rel="stylesheet" href="asset/css/font-awesome.min.css" />
<!--[if IE 7]>
<link rel="styleshe... |
package org.apache.spark.sql
import java.{lang => jl}
import java.util.Locale
import scala.collection.JavaConverters._
import org.apache.spark.annotation.InterfaceStability
import org.apache.spark.sql.catalyst.expressions._
import org.apache.spark.sql.functions._
import org.apache.spark.sql.types._
/**
* Functi... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Tarifas extends CI_controller
{
public function __construct()
{
parent::__construct();
$this->load->model("Tarifas_model");
$this->load->model("Transportadores_model");
$this->load->model("Unidades_model");
$this->l... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
null
### Remarks
null |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.eas.script;
import jdk.nashorn.api.scripting.JSObject;
/**
*
* @author mg
*/
public interface HasPublishe... |
/*
package org.wso2.developerstudio.eclipse.gmf.esb.provider;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.provider.IEditingDom... |
class CreateImages < MigrationBase
def change
create_table :images do |t|
t.attachment :file
t.timestamps null: false
end
end
end
|
import React from 'react';
import styles from './MainComponent.scss';
import Dropdown from '../smallComponents/Dropdown/Dropdown';
const MainComponent: React.FC = ({ children }) => (
<div className={styles.container}>
{children}
<div className={styles.dropdownRow}>
<Dropdown />
... |
YUI.add('loader-base', function (Y, NAME) {
/**
* The YUI loader core
* @module loader
* @submodule loader-base
*/
if (!YUI.Env[Y.version]) {
(function() {
var VERSION = Y.version,
BUILD = '/build/',
ROOT = VERSION + BUILD,
CDN_BASE = Y.Env.base,
GALLER... |
package org.springframework.boot.orm.jpa;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
import javax.sql.DataSource;
import org.junit.Test;
import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean;
import org.springframework.orm.jpa.vendor.HibernateJpaVendorAd... |
export interface ITransactionTypeInfo {
name: string;
order: number;
color: string;
dataIndex: number;
checked: boolean;
}
export class ScatterChartTransactionTypeManager {
private dataByIndex: { [key: number]: ITransactionTypeInfo } = {};
private dataByName: { [key: string]: ITransactionTy... |
package io.druid.indexing.overlord;
import io.druid.indexing.overlord.config.RemoteTaskRunnerConfig;
import org.joda.time.Period;
/**
*/
public class TestRemoteTaskRunnerConfig extends RemoteTaskRunnerConfig
{
private final Period timeout;
public TestRemoteTaskRunnerConfig(Period timeout)
{
this.timeout... |
package gorethink
import (
"reflect"
"strconv"
"strings"
"sync/atomic"
"gopkg.in/dancannon/gorethink.v2/encoding"
p "gopkg.in/dancannon/gorethink.v2/ql2"
)
// Helper functions for constructing terms
// constructRootTerm is an alias for creating a new term.
func constructRootTerm(name string, termType p.Term_T... |
package com.yahoo.sshd.server.shell.groovy;
import groovy.lang.Closure;
public class GroovyPrompt extends Closure<String> {
private static final long serialVersionUID = 1L;
public GroovyPrompt(Object owner) {
super(owner);
}
public String doCall() {
return "groovy => ";
}
}
|
package org.zstack.sdk;
public class RecoverVmInstanceResult {
public VmInstanceInventory inventory;
public void setInventory(VmInstanceInventory inventory) {
this.inventory = inventory;
}
public VmInstanceInventory getInventory() {
return this.inventory;
}
}
|
package android.graphics.cts;
import junit.framework.TestCase;
import android.graphics.Paint;
import android.graphics.Paint.Style;
public class Paint_StyleTest extends TestCase {
public void testValueOf() {
assertEquals(Style.FILL, Style.valueOf("FILL"));
assertEquals(Style.STROKE, Style.valueO... |
package org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources;
import com.google.common.annotations.VisibleForTesting;
import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.classification.InterfaceStability;
import org.apache.hadoop.conf.Configuration;
import org.ap... |
class ClsLCheckBox : public ClsCheckBox
{
_NO_COPY( ClsLCheckBox );
public:
// Constructor.
ClsLCheckBox() {;}
// Destructor.
virtual ~ClsLCheckBox() {;}
protected:
// Compute the checkbox it's minimum size.
virtual BOOL OnGetMinSize( ClsSize& szMinSize )
{
// Setup checkbox width.
szMinSize.CX() = ::GetS... |
#include "pngpriv.h"
#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
/* Borland DOS special memory handler */
#if defined(__TURBOC__) && !defined(_Windows) && !defined(__FLAT__)
/* If you change this, be sure to change the one in png.h also */
/* Allocate memory for a png_struct. The malloc and m... |
package fake
import (
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
labels "k8s.io/apimachinery/pkg/labels"
schema "k8s.io/apimachinery/pkg/runtime/schema"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"
testing "k8s.io/client-go/testing"
v1beta1 "k8s.io/kubernetes/pkg/apis/extensions/... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.storage.implementation;
import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.Delete;
import com.azure.co... |
[](https://www.npmjs.com/package/cls-bluebird)
[](http://travis-ci.org/TimBeyer/cls-bluebird)
[](https:/... |
package errors
// New returns an error that formats as the given text.
func New(text string) error {
return &errorString{text}
}
// errorString is a trivial implementation of error.
type errorString struct {
s string
}
func (e *errorString) Error() string {
return e.s
}
|
package foo.project003;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
}
|
* Allows sending a file to your private Inkpad account
* Rewrote in ES2015
## 1.0.2
* Better error handling
## 1.0.1
* Bug-fixes
## 1.0.0 - First Release
* Upload current file to Inkpad.io
|
/**
* @license @product.name@ JS v@product.version@ (@product.date@)
* Plugin for displaying a message when there is no data visible in chart.
*
* (c) 2010-2019 Highsoft AS
* Author: Oystein Moseng
*
* License: www.highcharts.com/license
*/
'use strict';
import '../../modules/no-data-to-display.src.js';
|
describe(`gatsby-plugin-react-css-modules`, () => {
const { modifyBabelrc } = require(`../gatsby-node`)
const babelrc = {
presets: [`great`, `scott`],
plugins: [`fitzgerald`],
}
it(`adds react-css-modules to babelrc`, () => {
const modified = modifyBabelrc({ babelrc }, {})
expect(modified).to... |
<?php
declare(strict_types = 1);
namespace UnitConverter\Unit\Family;
/**
* Base interface for any metric units to implement.
*
* @version 1.0.0
* @since 0.8.4
* @author Jordan Brauer <18744334+jordanbrauer@users.noreply.github.com>
* @codeCoverageIgnore
*/
interface MetricUnit
{
}
|
object test {
abstract class Foo;
object o extends Foo
}
|
package org.apache.hadoop.io.serializer.avro;
public class Record {
public int x = 7;
@Override
public int hashCode() {
return x;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
... |
description("Test to make sure we remove span tags with no attributes if we removed the last attribute.")
var testContainer = document.createElement("div");
testContainer.contentEditable = true;
document.body.appendChild(testContainer);
function testSingleToggle(toggleCommand, initialContents, expectedContents)
{
... |
package storage
import (
"testing"
apiequality "k8s.io/apimachinery/pkg/api/equality"
"k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/fields"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/util/diff"
ge... |
var cdb = require('cartodb.js');
var Backbone = require('backbone');
var batchProcessItems = require('../../batch_process_items');
/**
* View model for change lock view.
* Manages the life cycle states for the change lock view.
*/
module.exports = cdb.core.Model.extend({
defaults: {
state: 'ConfirmChangeLock... |
package cache
import "time"
// Cache interface
type Cache interface {
// Has checks if there is such item.
Has(key string) bool
// Put value in cache by key.
Put(key string, value interface{}, duration time.Duration)
// Forever remembers the value for ever.
Forever(key string, value interface{})
// Remember... |
load_library 'polygon'
# A list of objects
attr_reader :polygons
def setup
size(640, 360, P2D)
smooth
# Make a PShape
star = createShape
star.beginShape
star.noStroke
star.fill(0, 127)
star.vertex(0, -50)
star.vertex(14, -20)
star.vertex(47, -15)
star.vertex(23, 7)
star.vertex(29, 40)
star.v... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>fiora</title>
<meta name=keywords content="fiora,碎碎酱,聊天室,node.js聊天室,网页聊天室,web聊天室,fiora聊天室,开源聊天室">
<meta name=description content="fiora聊天室是基于node.js和react由碎碎酱独自开发的开源网页聊天室,使用socket.io模块WebSocket协议通讯,支持Service Worker和PWA.功能丰富,并且简单易上手,很适合作为学习nod... |
package org.apache.flink.table.plan.nodes.logical
import org.apache.calcite.plan.{Convention, RelOptCluster, RelOptRule, RelTraitSet}
import org.apache.calcite.rel.RelNode
import org.apache.calcite.rel.convert.ConverterRule
import org.apache.calcite.rel.core.{Correlate, CorrelationId}
import org.apache.calcite.rel.l... |
namespace rocksdb {
class SimulatedBackgroundTask {
public:
SimulatedBackgroundTask(
const void* db_key, const std::string& db_name,
const void* cf_key, const std::string& cf_name,
const ThreadStatus::OperationType operation_type =
ThreadStatus::OP_UNKNOWN,
const ThreadStatus::Stat... |
package mc.sel.token;
/**
* Represents a single expression token. Contains the token description such as
* token type, text sequence, start position and end position in the expression input.
*
* @author Milan Crnjak
*/
public class Token {
private TokenType tokenType;
private String sequence;
private... |
This directory contains the client-side code for cockroach's web admin console.
These files are embedded into the cockroach binary via the
[go-bindata](https://github.com/jteeuwen/go-bindata) package, which is used to
generate the `embedded.go` file in this directory.
## Modification
If any modifications are made to t... |
<div class="app-spinner valign-wrapper" style="display: none;">
<mz-spinner class="valign"
[color]="'blue'"
[size]="'big'">
</mz-spinner>
</div>
<router-outlet></router-outlet>
|
"""This is the welcome page for the app."""
from google.appengine.ext import webapp
from irrduinoserver.utils import web as webutils
from irrduinoserver.utils import irrduino as irrduinoutils
from irrduinoserver.utils import ui as uiutils
SECS_PER_MINUTE = 60
MAX_TIME_MINS = 10
MIN_TIME_SECS = 1
MAX_TIME_SECS = MAX_... |
package at.egkr.data.draw;
import java.util.LinkedList;
import java.util.List;
import java.util.UUID;
import at.egkr.api.data.Participant;
import at.egkr.api.data.draw.Match;
import at.egkr.api.data.draw.Round;
/**
* Implementierung von {@link Round}.
*
* @author Erceg Stefan
* @author Geyer Stefan
* @author K... |
package hawkular
import (
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"net/http/httptest"
"net/url"
"strings"
"sync"
"testing"
"time"
"github.com/hawkular/hawkular-client-go/metrics"
"k8s.io/heapster/metrics/core"
assert "github.com/stretchr/testify/require"
)
func dummySink() *hawkularSink {
return ... |
// Copyright 2014 The Bazel 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 required by appl... |
var MapObservable = (function (__super__) {
inherits(MapObservable, __super__);
function MapObservable(source, selector, thisArg) {
this.source = source;
this.selector = bindCallback(selector, thisArg, 3);
__super__.call(this);
}
function innerMap(selector, self) {
return... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/media/images/favicon.ico" />
<title>DataTables example</titl... |
// Code generated by client-gen. DO NOT EDIT.
package v1
import (
"context"
"time"
v1 "k8s.io/api/networking/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"
scheme "k8s.io/client-go/kubernetes/scheme"
rest "k8s.io/client-go/rest"... |
<?xml version="1.0" encoding="utf-8"?>
<!-- File created by the Android Action Bar Style Generator
Copyright (C) 2011 The Android Open Source Project
Copyright (C) 2012 readyState Software Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compl... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
JBoss, Home of Professional Open Source
Copyright 2015, Red Hat, Inc. and/or its affiliates, and individual
contributors by the @authors tag. See the copyright.txt in the
distribution for a full listing of individual contributors.
Licensed... |
package com.intellij.lang.java.parser.statementParsing;
import com.intellij.lang.java.parser.JavaParsingTestCase;
public class ForParsingTest extends JavaParsingTestCase {
public ForParsingTest() {
super("parser-full/statementParsing/for");
}
public void testNormal1() { doTest(true); }
public void testN... |
var ii =0;
(function(){
var m = Math,
mround = function (r) { return r >> 0; },
vendor = (/webkit/i).test(navigator.appVersion) ? 'webkit' :
(/firefox/i).test(navigator.userAgent) ? 'Moz' :
(/trident/i).test(navigator.userAgent) ? 'ms' :
'opera' in window ? 'O' : '',
// Browser capabilities
isAndroid... |
package org.fuwjax.oss.util.function;
import java.util.function.Consumer;
public interface UnsafeConsumer<T> extends Consumer<T> {
void acceptUnsafe(T t) throws Exception;
@Override
default void accept(final T t) {
try {
acceptUnsafe(t);
} catch(final RuntimeException e) {
throw e;
} catch(final Exce... |
title: The Whizz80 Project
metadata:
description: 'Introducing the Whizz80 computer'
taxonomy:
category:
- docs
---
# The Whizz80
### Welcome to the Whizz80 project
The **Whizz80** computer project is an open-source, home brew, retro computer based on the old 8-bit [Z80 CPU by Zilog](https://en.wikipe... |
/*! formstone v0.8.36 [navigation.css] 2016-01-15 | MIT License | formstone.it */
/**
* @class
* @name .fs-navigation-element
* @type element
* @description Target elmement
*/
/**
* @class
* @name .fs-navigation
* @type element
* @description Base widget class
*/
.fs-navigation {
/**
* @class
... |
//
// detail/reactive_socket_sendto_op.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)... |
namespace v8 {
namespace internal {
// Lock-free unbound queue for small records. Intended for
// transferring small records between a Single producer and a Single
// consumer. Doesn't have restrictions on the number of queued
// elements, so producer never blocks. Implemented after Herb
// Sutter's article:
// htt... |