text stringlengths 3 1.05M |
|---|
:: 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... |
package blowfish // import "golang.org/x/crypto/blowfish"
// The code is a port of Bruce Schneier's C implementation.
// See https://www.schneier.com/blowfish.html.
import "strconv"
// The Blowfish block size in bytes.
const BlockSize = 8
// A Cipher is an instance of Blowfish encryption using a particular key.
typ... |
"use strict";
var path = require("path");
var assert = require("chai").assert;
var connect = require("connect");
var browserSync = require(path.resolve("./"));
var socket = require("socket.io");
var client = require("socket.io-client");
var pkg = require(path.resolve("package.json"));
va... |
package msgp
import (
"bytes"
"encoding/binary"
"math"
"time"
)
var big = binary.BigEndian
// NextType returns the type of the next
// object in the slice. If the length
// of the input is zero, it returns
// InvalidType.
func NextType(b []byte) Type {
if len(b) == 0 {
return InvalidType
}
spec := sizes[b[0... |
{{{
"title": "Re-sizing Disks in Windows Virtual Machines",
"date": "12-24-2014",
"author": "Aaron Lemoine",
"attachments": [],
"contentIsHTML": false
}}}
<h3>Description (goal/purpose)</h3>
<p>When a disk is provisioned to your server in control, occasionally you will get this warning "Manual intervention r... |
require 'optparse'
require 'English'
require 'byebug/core'
require 'byebug/version'
require 'byebug/helpers/bin'
require 'byebug/helpers/parse'
require 'byebug/helpers/string'
require 'byebug/option_setter'
require 'byebug/processors/control_processor'
module Byebug
#
# Responsible for starting the debugger when s... |
package com.flowpowered.engine.util.thread.snapshotable;
import com.flowpowered.api.util.thread.annotation.DelayedWrite;
import com.flowpowered.api.util.thread.annotation.LiveRead;
import com.flowpowered.api.util.thread.annotation.SnapshotRead;
/**
* A snapshotable object that supports primitive shorts
*/
public c... |
#ifndef GEOS_ALGORITHM_MCPOINTINRING_H
#define GEOS_ALGORITHM_MCPOINTINRING_H
#include <geos/export.h>
#include <geos/index/chain/MonotoneChainSelectAction.h> // for inheritance
#include <geos/algorithm/PointInRing.h> // for inheritance
#include <geos/geom/Coordinate.h> // for composition
#include <geos/index/bintre... |
<?php
namespace ZendSearchTest\Lucene\Index;
/**
* @category Zend
* @package Zend_Search_Lucene
* @subpackage UnitTests
* @group Zend_Search_Lucene
*/
class DictionaryLoaderTest extends \PHPUnit_Framework_TestCase
{
public function testCreate()
{
$directory = new \ZendSearch\Lucene\Sto... |
"""Python front-end supports for functions.
NOTE: functions are currently experimental and subject to change!
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import collections
import hashlib
from tensorflow.core.framework import attr_value_pb2
from t... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>basic_result &operator=(basic_result &&) - Boost.Outcome documentation</title>
<link rel="stylesheet" href="../../../css/boo... |
#ifndef __XML_HASH_H__
#define __XML_HASH_H__
#ifdef __cplusplus
extern "C" {
#endif
/*
* The hash table.
*/
typedef struct _xmlHashTable xmlHashTable;
typedef xmlHashTable *xmlHashTablePtr;
#ifdef __cplusplus
}
#endif
#include <libxml/xmlversion.h>
#include <libxml/parser.h>
#include <libxml/dict.h>
#ifdef __... |
package org.apache.drill.jdbc.test;
import static org.junit.Assert.assertEquals;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.sql.Types;
import org.junit.Ignore;
import org.junit.Test;
import com.google.common.base.Function;
public class TestJdbcQuery extends JdbcT... |
import React from 'react';
import { hydrate } from 'react-dom';
import BrowserRouter from 'react-router-dom/BrowserRouter';
import App from './App';
hydrate(
<BrowserRouter>
<App />
</BrowserRouter>,
document.getElementById('root')
);
if (module.hot) {
module.hot.accept();
}
|
package com.intellij.codeInsight;
import com.intellij.codeInspection.bytecodeAnalysis.ProjectBytecodeAnalysis;
import com.intellij.codeInspection.dataFlow.*;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.psi.*;
import com.intellij.psi.util.PsiUtil;
... |
/*!
* inferno-test-utils v0.5.21
* (c) 2016 Dominic Gannaway
* Released under the MPL-2.0 License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.InfernoTestUtils =... |
<?php
namespace Symfony\Component\Config\Definition\Builder;
use Symfony\Component\Config\Definition\VariableNode;
/**
* This class provides a fluent interface for defining a node.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
class VariableNodeDefinition extends NodeDefinition
{
/**
* Ins... |
template <typename T>
std::list<T> sequential_quick_sort(std::list<T> input) {
if (input.empty()) {
return input;
}
std::list<T> result;
result.splice(result.begin(), input, input.begin());
T const& pivot = *result.begin();
auto divide_point = std::partition(input.begin(), input.end(),
... |
<?php
namespace Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Dependenc... |
require 'rbconfig'
module ActiveSupport
module Testing
class RemoteError < StandardError
attr_reader :message, :backtrace
def initialize(exception)
@message = "caught #{exception.class.name}: #{exception.message}"
@backtrace = exception.backtrace
end
end
class ProxyTes... |
package varnish
import (
"bytes"
"fmt"
"strings"
"testing"
"time"
"github.com/influxdata/telegraf/internal"
"github.com/influxdata/telegraf/testutil"
"github.com/stretchr/testify/assert"
)
func fakeVarnishStat(output string, useSudo bool, InstanceName string, Timeout internal.Duration) func(string, bool, str... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>ip::basic_resolver_entry::service_name</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../..... |
@interface ContentTableViewCell : UITableViewCell {
UIImageView *imageView;
UILabel *headline;
UILabel *standfirst;
GuardianContent *guardianContent;
}
@property (nonatomic, retain) UIImageView *imageView;
@property (nonatomic, retain) UILabel *headline;
@property (nonatomic, retain) UILabel *standfirst;
@property... |
//
// BATabBarController2.m
// BABaseProject
//
// Created by 博爱之家 on 16/6/11.
// Copyright © 2016年 博爱之家. All rights reserved.
//
#import "BATabBarController2.h"
#import "BATabBar2.h"
#import "BANavigationController.h"
#import "BAHomeViewController.h"
#import "BAMessageViewController.h"
#import "BADiscoverViewCon... |
.ag-bootstrap {
line-height: 1.4;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
color: #000;
/* this is for the rowGroupPanel, that appears along the top of the grid */
/* this is for the column drops that appear in the toolPanel */
}
.ag-bootstrap img {
vertical-align: middle;... |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-241.js
* @description Object.create - 'get' property of one property in 'Properties' is own accessor property without a get function (8.10.5 step 7.a)
*/
function testcase() {
var descObj = {}... |
// Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).
// Licensed under the Apache License, Version 2.0 (see LICENSE).
package org.pantsbuild.tools.junit.impl;
import org.junit.Assert;
import org.junit.Test;
/**
* Tests several recently added features in ConsoleRunner.
* TODO: cover the rest of Conso... |
import * as discordrpc from "discord-rpc";
discordrpc.register('0'); // $ExpectType boolean
discordrpc.register(0); // $ExpectError
const client = new discordrpc.Client({ transport: 'ipc' });
|
package log
import (
"flag"
"fmt"
"log"
"os"
)
// The following constants represent logging levels in increasing levels of seriousness.
const (
// LevelDebug is the log level for Debug statements.
LevelDebug = iota
// LevelInfo is the log level for Info statements.
LevelInfo
// LevelWarning is the log level ... |
package org.apache.nifi.controller.queue;
import org.apache.nifi.controller.repository.FlowFileRecord;
import java.util.List;
public class FlowFileQueueContents {
private final List<String> swapLocations;
private final List<FlowFileRecord> activeFlowFiles;
private final QueueSize swapSize;
public ... |
.oo-ui-icon-beta {
background-image: url("themes/mediawiki/images/icons/beta.png");
background-image: -webkit-linear-gradient(transparent, transparent), /* @embed */ url("themes/mediawiki/images/icons/beta.svg");
background-image: linear-gradient(transparent, transparent), /* @embed */ url("themes/mediawiki... |
package org.apache.ignite.internal.processors.cache.persistence.wal.aware;
import org.apache.ignite.internal.IgniteInterruptedCheckedException;
/**
* Manages last archived index, allows to emulate archivation in no-archiver mode. Monitor which is notified each time
* WAL segment is archived.
*
* Class for inner ... |
package com.bpcoding.pande.recallsafety.recalls;
import com.bpcoding.pande.recallsafety.models.RecallResults;
import retrofit.Call;
import retrofit.Callback;
import retrofit.GsonConverterFactory;
import retrofit.Response;
import retrofit.Retrofit;
public class RecallInteractor {
private static RecallResults res... |
class ToggleButton : public BloomNode {
public:
ToggleButton( const int &buttonId,
const bool &on,
const ci::gl::Texture &texture,
const ci::Area &onTextureArea,
const ci::Area &offTextureArea ):
BloomNode(buttonId),
mOn... |
package org.jibx.schema.elements;
import org.jibx.runtime.IUnmarshallingContext;
import org.jibx.runtime.JiBXException;
/**
* Model component for <b>include</b> element.
*
* @author Dennis M. Sosnoski
*/
public class IncludeElement extends SchemaLocationRequiredBase
{
/**
* Constructor.
*/
pub... |
/*
Project: angular-gantt v1.2.5 - Gantt chart component for AngularJS
Authors: Marco Schweighauser, Rémi Alvergnat
License: MIT
Homepage: http://www.angular-gantt.com
Github: https://github.com/angular-gantt/angular-gantt.git
*/
(function(){
'use strict';
angular.module('gantt.bounds', ['gantt', 'gantt.bounds.... |
package net.sf.jabref.logic.cleanup;
import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import net.sf.jabref.logic.TypedBibEntry;
import net.sf.jabref.logic.util.io.FileUtil;
import net.sf.jabref.model.FieldChange;... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/li... |
package org.elasticsearch.script;
import org.elasticsearch.common.ParseFieldMatcher;
import org.elasticsearch.common.xcontent.XContentParser;
import org.elasticsearch.script.Script.ScriptField;
import org.elasticsearch.script.Script.ScriptParseException;
import org.elasticsearch.script.ScriptService.ScriptType;
imp... |
package main
import (
"fmt"
"os"
"path/filepath"
"regexp"
"strings"
flag "github.com/spf13/pflag"
"k8s.io/klog/v2"
)
var (
supportedEtcdVersions = []string{"3.0.17", "3.1.12", "3.2.24", "3.3.17", "3.4.9"}
)
const (
etcdNameEnv = "ETCD_NAME"
etcdHostnameEnv = "ETCD_HOSTNAME"
hostnameEnv ... |
package yaml
import (
"encoding"
"reflect"
"regexp"
"sort"
"strconv"
"strings"
"time"
)
type encoder struct {
emitter yaml_emitter_t
event yaml_event_t
out []byte
flow bool
}
func newEncoder() (e *encoder) {
e = &encoder{}
e.must(yaml_emitter_initialize(&e.emitter))
yaml_emitter_set_output_str... |
import {Component} from 'angular2/core';
import {DrupalUserService} from '../../shared/services/drupal-user.service';
import {ROUTER_DIRECTIVES, RouteParams} from 'angular2/router';
@Component({
selector: 'sd-user',
moduleId: module.id,
templateUrl: './user.component.html',
directives: [ROUTER_DIRECTIVES]
})
e... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace IntroduccionAMSCognitiveServices.Controllers
{
[Authorize]
public class CognitiveServicesController : Controller
{
// GET: CognitiveServices
public ActionResult AnalyzeImage... |
package fr.insalyon.citi.golo.compiler;
import fr.insalyon.citi.golo.compiler.ir.GoloModule;
import fr.insalyon.citi.golo.compiler.parser.ASTCompilationUnit;
import fr.insalyon.citi.golo.compiler.parser.GoloOffsetParser;
import fr.insalyon.citi.golo.compiler.parser.GoloParser;
import fr.insalyon.citi.golo.compiler.p... |
"""Pickle format type IO functions implementations."""
|
module ManageIQ::Providers
class Inventory::Persister
class Builder
class NetworkManager < ::ManageIQ::Providers::Inventory::Persister::Builder
def cloud_subnet_network_ports
add_properties(
# :model_class => ::CloudSubnetNetworkPort,
:manager_ref ... |
load("test/mjsunit/wasm/wasm-module-builder.js");
function AddFunctions(builder) {
let sig_index = builder.addType(kSig_i_ii);
let mul = builder.addFunction("mul", sig_index)
.addBody([
kExprLocalGet, 0, // --
kExprLocalGet, 1, // --
kExprI32Mul // --
]);
let add = builder.addF... |
"""
CORE MARKDOWN BLOCKPARSER
===========================================================================
This parser handles basic parsing of Markdown blocks. It doesn't concern itself
with inline elements such as **bold** or *italics*, but rather just catches
blocks, lists, quotes, etc.
The BlockParser is made up ... |
!(function (name, context, definition) {
if (typeof module != 'undefined') module.exports = definition(name, context);
else if (typeof define == 'function' && typeof define.amd == 'object') define(definition);
else context[name] = definition(name, context);
}('bean', this, function (name, context) {
var win ... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/news_displayer_share_item"
android:orientation="vertical"
android:padding="5d... |
package io.crate.operation.operator.any;
import io.crate.analyze.symbol.Function;
import io.crate.metadata.FunctionImplementation;
import io.crate.metadata.FunctionInfo;
import io.crate.operation.operator.LikeOperator;
import io.crate.operation.operator.OperatorModule;
import java.util.regex.Pattern;
public class ... |
from msrest.serialization import Model
class Bar(Model):
"""The URIs that are used to perform a retrieval of a public blob, queue or
table object.
:param recursive_point: Recursive Endpoints
:type recursive_point: :class:`Endpoints
<fixtures.acceptancetestsstoragemanagementclient.models.Endpoint... |
class Tag < ActiveRecord::Base
has_many :taggings
has_many :taggables, :through => :taggings
has_one :tagging
has_many :tagged_posts, :through => :taggings, :source => :taggable, :source_type => 'Post'
end |
// Boost string_algo library finder.hpp header file ---------------------------//
// Copyright Pavol Droba 2002-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.o... |
@class RACTuple;
// A private category of methods to handle wrapping and unwrapping of values.
@interface NSInvocation (RACTypeParsing)
// Sets the argument for the invocation at the given index by unboxing the given
// object based on the type signature of the argument.
//
// This does not support C arrays or unions... |
<!doctype html>
<!--
@license
Copyright (c) 2014 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.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.Security.Cryptography.Hashing.Tests
{
internal class Sum32Hash : HashAlgorithm
{
private uint _sum;
public override int HashS... |
package precis
//go:generate go run gen.go gen_trieval.go
|
/*
* This file is part of FFmpeg.
*
* FFmpeg 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 version.
*
* FFmpeg is distributed... |
package com.navercorp.pinpoint.web;
import com.navercorp.pinpoint.common.util.StopWatch;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author Taejin Koo
*/
public class TestAwaitUtils {
private final static Logger LOGGER = LoggerFactory.getLogger(TestAwaitUtils.class);
private final lo... |
/**
* Automatically generated file. Please do not edit.
* @author Highcharts Config Generator by Karasiq
* @see [[http://api.highcharts.com/highcharts]]
*/
package com.highcharts.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScri... |
;(function ($, window, document, undefined) {
'use strict';
var Modernizr = Modernizr || false;
Foundation.libs.joyride = {
name : 'joyride',
version : '5.3.1',
defaults : {
expose : false, // turn on or off the expose feature
modal : true, ... |
/*
* 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... |
# gulp-ruby-sass [](https://travis-ci.org/sindresorhus/gulp-ruby-sass)
Compiles Sass with the [Sass gem](http://sass-lang.com/install) and pipes the results into a gulp stream.
To compile Sass with [libsass](http://libsass.org/), use... |
import { Component, OnInit } from "@angular/core";
import { Router } from "@angular/router";
import { Observable } from "rxjs/Observable";
import { Subject } from "rxjs/Subject";
import { HeroSearchService } from "./hero-search.service";
import { Hero } from "... |
// 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.Net.Http;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using Xunit;
nam... |
package org.wso2.carbon.kernel.internal;
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Deactivate;
import org.osgi.service.component.annotations.Reference;
import org.osgi.service.component.annotations.Refe... |
namespace base {
class FilePath;
}
namespace gfx {
struct GpuMemoryBufferHandle;
}
namespace IPC {
class MessageFilter;
}
namespace content {
class ChildProcessHostDelegate;
// Provides common functionality for hosting a child process and processing IPC
// messages between the host and the child process. Users are ... |
<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.ikanow.aleph2</groupId>
<artifactId>aleph2_contrib_pare... |
/**!
* AngularJS file upload/drop directive with http post and progress
* @author Danial <danial.farid@gmail.com>
* @version 1.1.11
*/
(function() {
var angularFileUpload = angular.module('angularFileUpload', []);
angularFileUpload.service('$upload', ['$http', '$rootScope', '$timeout', function($http, $rootSco... |
(function(webshims){
"use strict";
var support = webshims.support;
var hasNative = support.mediaelement;
var supportsLoop = false;
var bugs = webshims.bugs;
var swfType = 'mediaelement-jaris';
var loadSwf = function(){
webshims.ready(swfType, function(){
if(!webshims.mediaelement.createSWF){
webshims.me... |
/* Colors */
/* Primary colors */
#page {
background: none repeat scroll 0 0 #caccb6;
}
/* Start Navbar */
.navbar {
background: none repeat scroll 0 0 #8e9e82;
border: none;
border-radius: 0;
margin: 0;
}
.navbar .navbar-brand {
float: left;
font-size: 18px;
line-height: 20px;
padding: 15px;
width:... |
package org.apache.cassandra.net;
import java.io.IOException;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
im... |
package unversioned
import (
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/apis/extensions"
"k8s.io/kubernetes/pkg/watch"
)
// IngressNamespacer has methods to work with Ingress resources in a namespace
type IngressNamespacer interface {
Ingress(namespace string) IngressInterface
}
// IngressInterface exp... |
@echo off
setlocal EnableDelayedExpansion
call configuration_cmd
call print_header
call print_dashed_seperator
call get_config.bat version
call get_config.bat author
call get_config.bat copyright
echo Welcome to the automated Installation of the CodeCombat Dev. Environment!
echo v%version% authored by %author% and p... |
ConfigParser *ConfigParser::s_sharedConfigParserInstance = NULL;
ConfigParser *ConfigParser::getInstance(void)
{
if (!s_sharedConfigParserInstance)
{
s_sharedConfigParserInstance = new ConfigParser();
s_sharedConfigParserInstance->readConfig();
}
return s_sharedConfigParserInstance;
}
v... |
.. Toto documentation master file, created by
sphinx-quickstart on Thu Oct 18 20:26:32 2012.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Toto Documentation
==================
.. toctree::
overview
web
service
work
Indices a... |
package com.ajlopez.ajlisp.parser;
public class Token {
private String value;
private TokenType type;
public Token(String value, TokenType type)
{
this.value = value;
this.type = type;
}
public String getValue() {
return this.value;
}
public TokenType getType() {
return this.type;... |
using System;
using System.Collections.Generic;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Editor.Implementation.Workspaces;
using Microsoft.CodeAnalysis.Host;
using Roslyn.Test.Utilities;
using Roslyn.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.UnitTe... |
package com.microsoft.azure.management.network.v2018_06_01.implementation;
import com.microsoft.azure.SubResource;
import com.microsoft.azure.management.network.v2018_06_01.CircuitConnectionStatus;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
/**
* Express... |
#include <stdio.h>
extern "C" int iotjs_entry(int argc, char** argv);
int main(int argc, char** argv) {
return iotjs_entry(argc,argv);
}
|
test_description="Test ipfs swarm command"
. lib/test-lib.sh
test_init_ipfs
test_launch_ipfs_daemon
test_expect_success 'disconnected: peers is empty' '
ipfs swarm peers >actual &&
test_must_be_empty actual
'
test_expect_success 'disconnected: addrs local has localhost' '
ipfs swarm addrs local >actual &&
grep... |
'use strict';
// Runs `npm install` in cwd
var chalk = require('chalk');
var Task = require('../models/task');
var npm = require('../utilities/npm');
module.exports = Task.extend({
// The command to run: can be 'install' or 'uninstall'
command: '',
// Message to send to ui.startProgress
startProgressMessa... |
import Random from "random-js";
(new Random(): Random);
const random = Random();
(random.integer(0, 10): number);
(random.integer(5, 10, true): number);
// $FlowExpectedError
random.integer();
(random.real(0, 10): number);
(random.real(5, 10, true): number);
// $FlowExpectedError
random.real();
(random.bool(): bool... |
FROM balenalib/beagleboard-xm-ubuntu:bionic-build
# A few reasons for installing distribution-provided OpenJDK:
#
# 1. Oracle. Licensing prevents us from redistributing the official JDK.
#
# 2. Compiling OpenJDK also requires the JDK to be installed, and it gets
# really hairy.
#
# For some sample build tim... |
from neutron_lbaas._i18n import _
from oslo_config import cfg
from oslo_log import log as logging
LOG = logging.getLogger(__name__)
lbaas_setting_opts = [
cfg.StrOpt(
'product', default="VTM",
help=_('Brocade product to use (must be "VTM" for this release)'))
]
cfg.CONF.register_opts(lbaas_setting... |
import DS from 'ember-data';
import Converter from 'yarn-ui/utils/converter';
export default DS.JSONAPISerializer.extend({
internalNormalizeSingleResponse(store, primaryModelClass, payload, id) {
if (payload.nodeInfo) {
payload = payload.nodeInfo;
}
var fixedPayload = {
id: id,
type:... |
"""Sanity checks for test data.
This program contains a class for traversing test cases that can be used
independently of the checks.
"""
# Copyright The Mbed TLS Contributors
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except i... |
/* Datepicker
----------------------------------*/
.ui-datepicker { width: 17em; padding: .2em .2em 0; }
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
.ui-da... |
<a href='https://github.com/angular/angular.js/edit/v1.2.x/src/ng/rootScope.js?message=docs($rootScope.Scope)%3A%20describe%20your%20change...' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<a href='https://github.com/angular/angular.js/tree/v1.2.26/src/ng/ro... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SHOW_TEXT constant - NodeFilter class - polymer_app_layout library - Dart API</title>
<!-- required because... |
var path = require('path');
var del = require('del');
var gulp = require('gulp');
var $ = require('gulp-load-plugins')();
// set variable via $ gulp --type production
var environment = $.util.env.type || 'development';
var isProduction = environment === 'production';
var webpackConfig = require('./webpack.config.js').... |
(function( $, undefined ) {
$.ui = $.ui || {};
var cachedScrollbarWidth,
max = Math.max,
abs = Math.abs,
round = Math.round,
rhorizontal = /left|center|right/,
rvertical = /top|center|bottom/,
roffset = /[\+\-]\d+(\.[\d]+)?%?/,
rposition = /^\w+/,
rpercent = /%$/,
_position = $.fn.position;
function getOff... |
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE CPP
, NoImplicitPrelude
, NondecreasingIndentation
#-}
{-# OPTIONS_HADDOCK hide #-}
-----------------------------------------------------------------------------
-- |
-- Module : GHC.IO.Encoding.Iconv
-- Copyright : (c) The University of Glasgo... |
package org.apache.ignite.internal.visor.igfs;
import java.io.Serializable;
import org.apache.ignite.IgniteFileSystem;
import org.apache.ignite.igfs.IgfsMode;
import org.apache.ignite.internal.util.typedef.internal.S;
/**
* Data transfer object for {@link org.apache.ignite.IgniteFileSystem}.
*/
public class Visor... |
[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![Linux Build][travis-image]][travis-url]
[![Windows Build][appveyor-image]][appveyor-url]
[![Test Coverage][coveralls-image]][coveralls-url]
[![Gratipay][gratipay-image]][gratipay-url]
## Install
```sh
$ npm install serve-static... |
// wrapped by build app
define("dojox/wire/TreeAdapter", ["dojo","dijit","dojox","dojo/require!dojox/wire/CompositeWire"], function(dojo,dijit,dojox){
dojo.provide("dojox.wire.TreeAdapter");
dojo.require("dojox.wire.CompositeWire");
dojo.declare("dojox.wire.TreeAdapter", dojox.wire.CompositeWire, {
// summary:
// ... |
package com.youtube.vitess.gorpc;
public class Constants {
public static final String SERVICE_METHOD = "ServiceMethod";
public static final String SEQ = "Seq";
public static final String RESULT = "Result";
public static final String ERROR = "Error";
}
|
declare module 'istanbul' {
namespace istanbul {
interface Istanbul {
new (options?: any): Istanbul;
Collector: Collector;
config: Config;
ContentWriter: ContentWriter;
FileWriter: FileWriter;
hook: Hook;
Instrumenter: Instrumenter;
Report: Report;
Reporter: R... |
/*******************************
Dimmer
*******************************/
.dimmable {
position: relative;
}
.ui.dimmer {
display: none;
position: absolute;
top: 0em !important;
left: 0em !important;
width: 100%;
height: 100%;
text-align: center;
vertical-align: middle;
background-colo... |