text stringlengths 3 1.05M |
|---|
package site.ycsb.generator;
import static org.testng.Assert.assertEquals;
import java.util.concurrent.TimeUnit;
import org.testng.annotations.Test;
public class TestUnixEpochTimestampGenerator {
@Test
public void defaultCtor() throws Exception {
final UnixEpochTimestampGenerator generator =
new U... |
package org.apache.cassandra.service;
import java.util.Arrays;
import org.junit.Test;
import org.apache.cassandra.SchemaLoader;
import org.apache.cassandra.db.ArrayBackedSortedColumns;
import org.apache.cassandra.db.ColumnFamily;
import org.apache.cassandra.db.DeletionInfo;
import static org.junit.Assert.*;
impor... |
(function() {
/* eslint no-unused-vars:0 */
var IonicModule = angular.module('ionic', ['ngAnimate', 'ngSanitize', 'ui.router']),
extend = angular.extend,
forEach = angular.forEach,
isDefined = angular.isDefined,
isNumber = angular.isNumber,
isString = angular.isString,
jqLite = angular.element,
noop = a... |
=======================================================
funcargs: resource injection and parametrization
=======================================================
pytest-2.3 introduces major refinements to fixture management
of which the funcarg mechanism introduced with pytest-2.0 remains
a core part. The documentatio... |
<?php
namespace Faker\Provider;
abstract class Text extends \Faker\Provider\Base
{
protected static $baseText = '';
protected $explodedText = null;
protected $consecutiveWords = array();
/**
* Generate a text string by the Markov chain algorithm.
*
* Depending on the $maxNbChars, retur... |
package org.apache.tamaya.core.internal.inject;
import org.apache.tamaya.Configuration;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.ConcurrentHashMap;
/**
* Simple injector singleton that also registers instances configured using weak references.
*/
@SuppressWarnings("rawtypes")
pu... |
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="felixarpa.shamelessapp.presentation.fragment.PlusOneFragment"
android:background="@col... |
<?php
namespace Doctrine\DBAL\Types;
use Doctrine\DBAL\Platforms\AbstractPlatform;
/**
* Type that maps an SQL DECIMAL to a PHP double.
*
* @since 2.0
*/
class DecimalType extends Type
{
/**
* {@inheritdoc}
*/
public function getName()
{
return Type::DECIMAL;
}
/**
* ... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Immutable
Imports System.IO
Imports System.Reflection
Imports System.Reflection.Metadata
Imports System.Reflection.PortableExecutab... |
Forge Flash Support
===================
SocketPool.swf
--------------
Some special networking features can optionally use a Flash component.
Building the output SWF file requires the [Flex SDK][]. A pre-built component
is included: `swf/SocketPool.swf`.
Building the output SWF requires the `mxmlc` tool from the [Fl... |
require 'spec_helper'
describe 'dos2unix' do
context 'Checking parameter validity' do
it { is_expected.not_to eq(nil) }
it do
is_expected.to run.with_params.and_raise_error(ArgumentError, /Wrong number of arguments/)
end
it do
is_expected.to run.with_params('one', 'two').and_raise_error(A... |
class Email
include DataMapper::Resource
property :id, Serial
property :address, String, :format => :email_address
validates_uniqueness_of :address
end
|
(function() {
var Bacon, Bus, CompositeUnsubscribe, Dispatcher, End, Error, Event, EventStream, Initial, Next, None, Observable, Property, PropertyDispatcher, PropertyTransaction, Some, addPropertyInitValueToStream, assert, assertArray, assertEvent, assertEventStream, assertFunction, assertNoArguments, assertString, ... |
<!--
~ 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")... |
PANEL = 'networks'
# The slug of the dashboard the PANEL associated with. Required.
PANEL_DASHBOARD = 'admin'
# The slug of the panel group the PANEL is associated with.
PANEL_GROUP = 'admin'
# Python panel class of the PANEL to be added.
ADD_PANEL = 'openstack_dashboard.dashboards.admin.networks.panel.Networks'
|
/**
*
* Hide the keyboard (iOS only)
*
* @see https://github.com/appium/appium/blob/master/docs/en/appium-bindings.md#hide-keyboard-ios-only
* @type appium
*
*/
module.exports = function hideDeviceKeyboard(keyName) {
var requestOptions = {
path: '/session/:sessionId/appium/device/hide_keyboard',
... |
package org.apache.thrift.transport;
public class TestTSSLTransportFactoryCustomClient1 extends TestTSSLTransportFactory {
@Override
public TTransport getClientTransport(TTransport underlyingTransport)
throws Exception {
TSSLTransportFactory.TSSLTransportParameters params = new
TSSLTransportFactory.... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
package com.smartmobilesoftware.util;
/**
* Exception thrown when encountering an invalid Base64 input character.
*
* @author ASMAN
*/
public class Base64DecoderException extends Exception {
public Base64DecoderException() {
super();
}
public Base64DecoderException(String s) {
super(... |
1.7.4
~~~~~
- ``capture_http`` support for chunk-encoded requests `#116 <https://github.com/webrecorder/warcio/pull/116>`_
- indexer: option to enable ``verify_http`` `#116 <https://github.com/webrecorder/warcio/pull/116>`_
- Enable writing block digests for warcinfo records `#115 <https://github.com/webrecorder/war... |
package intermediate;
import com.sandwich.koan.Koan;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import static com.sandwich.koan.constant.KoanConstants.__;
import static com.sandwich.util.Assert.assertEquals;
pub... |
/**
* The YUI module contains the components required for building the YUI seed
* file. This includes the script loading mechanism, a simple queue, and
* the core utilities for the library.
* @module yui
* @main yui
* @submodule yui-base
*/
if (typeof YUI != 'undefined') {
YUI._YUI = YUI;
}
/**
The YUI gl... |
<!DOCTYPE html>
<!-- saved from url=(0064)https://bug-64030-attachments.webkit.org/attachment.cgi?id=99915 -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>
<div align="right" style="border: 1px solid green;">
<table align="left" width="400" height="500" border="1" b... |
YUI.add('series-line-stacked', function (Y, NAME) {
/**
* Provides functionality for creatiing a stacked line series.
*
* @module charts
* @submodule series-line-stacked
*/
/**
* StackedLineSeries creates line graphs in which the different series are stacked along a value axis
* to indicate their contribution t... |
const assert = require('assert');
const configHelper = require('../utils/configHelper');
module.exports = Factory;
function Factory({db, amqpConnection, protocol} = {}) {
assert(!!amqpConnection, 'amqpConnection must be defined');
assert(!!protocol, 'protocol must be defined');
amqpConnection.createChannel((err,... |
<?php
class Tests_Gwilym_KeyStore_File extends Tests_Gwilym_KeyStore_Base
{
public function setUp ()
{
$this->ks = new Gwilym_KeyStore_File();
}
public function testDirectoryCreateErrorException ()
{
$ks = new Gwilym_KeyStore_File("\0");
$this->expectException('Gwilym_KeyStore_File_Exception_DirectoryCreat... |
import lombok.Setter;
@Setter
class Test {
private float b;
private double c;
private String d;
}
|
<?php
namespace Sulmi\ProductBundle\Controller;
use Sulmi\ProductBundle\Entity\ProductCategory;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\Form\Form;
use Symfon... |
import { ReactElement, memo, useMemo } from 'react'
import PropTypes from 'prop-types'
import { User, Group, Lock } from 'iconoir-react'
import { Typography } from '@mui/material'
import { useViews } from 'client/features/Auth'
import MultipleTags from 'client/components/MultipleTags'
import Timer from 'client/compo... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$lang['pagination_first_link'] = '‹ Première';
$lang['pagination_next_link'] = '>';
$lang['pagination_prev_link'] = '<';
$lang['pagination_last_link'] = 'Dernière ›';
|
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="date_time">EEE, dd MMMM</string>
<string name="date_time_12">EEE, dd MMMM</string>
<string name="desc_date_format">EEE, dd MMM</string>
<string name="desc_date_format_12">EEE, dd MMM</string>
<string name="desc_time">'hora actual\' + #... |
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.Random;
import org.vu.contest.ContestEvaluation;
// Tuple class
// This nested class represents an individual
// Every individual has a genotype (vector) and
// a fitness (fitness).
public class Tuple implements Comparable<Tuple>{
publ... |
module Gitlab
module Ci
module Status
module Build
class Factory < Status::Factory
def self.extended_statuses
[[Status::Build::Cancelable,
Status::Build::Retryable],
[Status::Build::FailedAllowed,
Status::Build::Play,
Statu... |
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.vodkasoft.canyousinkme.game.JoinGame" >
<item android:id="@+id/action_settings"
android:title="@string/action_settings"
android:orderInCategory="100"
... |
{% extends "site_base.html" %}
{% load uni_form_tags %}
{% block head_title %}Create a Mail Out{% endblock %}
{% block body %}
<div class="container">
<section id="title-bar" class="span-24 last">
<div class="holder">
<h1>Create a Mail Out</h1>
</div>
</section>
<section ... |
<scalastyle commentFilter="disabled">
<name>scalastyle Coursera Configuration</name>
<check level="warning" class="org.scalastyle.file.FileTabChecker" enabled="false"></check>
<check level="warning" class="org.scalastyle.file.FileLengthChecker" enabled="true">
<parameters>
<parameter name="maxFileLength"><![CDA... |
if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') }
/* ========================================================================
* Bootstrap: transition.js v3.2.0
* http://getbootstrap.com/javascript/#transitions
* ======================================================... |
<?php
namespace Concrete\Core\Updater\Migrations\Migrations;
use Concrete\Core\Page\Type\Composer\FormLayoutSetControl;
use Concrete\Core\Updater\Migrations\AbstractMigration;
use Concrete\Core\Updater\Migrations\RepeatableMigrationInterface;
class Version20161216100000 extends AbstractMigration implements Repeatabl... |
package org.apache.spark.rpc
import java.io.{File, NotSerializableException}
import java.nio.charset.StandardCharsets.UTF_8
import java.util.UUID
import java.util.concurrent.{ConcurrentLinkedQueue, CountDownLatch, TimeUnit}
import scala.collection.JavaConverters._
import scala.collection.mutable
import scala.concur... |
<!DOCTYPE html>
<html>
<!--
Copyright 2009 The Closure Library Authors. All Rights Reserved.
Use of this source code is governed by the Apache License, Version 2.0.
See the COPYING file for details.
-->
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="UTF-8" />
<title>
Closure U... |
namespace kmldom {
// OGC KML 2.2 Standard: 12.1 kml:AbstractStyleSelectorGroup
// OGC KML 2.2 XSD: <element name="AbstractStyleSelectorGroup"...
class StyleSelector : public Object {
public:
virtual ~StyleSelector();
virtual KmlDomType Type() const { return Type_StyleSelector; }
virtual bool IsA(KmlDomType typ... |
package core
import (
"github.com/trivago/tgo/ttesting"
"testing"
)
func TestFilterResultMessageReject(t *testing.T) {
expect := ttesting.NewExpect(t)
streamID := GetStreamID("streamFoo")
filterResult := FilterResultMessageReject(streamID)
expect.Equal(streamID, filterResult.GetStreamID())
}
func TestFilterR... |
package backoff
import "time"
// An Operation is executing by Retry() or RetryNotify().
// The operation will be retried using a backoff policy if it returns an error.
type Operation func() error
// Notify is a notify-on-error function. It receives an operation error and
// backoff delay if the operation failed (wit... |
<?php declare(strict_types = 1);
namespace VendorA\PackageA;
use Apishka\EasyExtend\Helper\ByClassNameTrait;
use Apishka\EasyExtend\Helper\ByKeyInterface;
/**
* Class A
*/
class ClassA implements ByKeyInterface
{
/**
* Traits
*/
use ByClassNameTrait;
/**
* @return array
*/
publ... |
<!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="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>ViennaCL - The Vien... |
/**
* Created with JetBrains PhpStorm.
* User: taoqili
* Last Modified: Lin Canbin
* Date: 2014-12-03
* To change this template use File | Settings | File Templates.
*/
UE.I18N['pl'] = {
'labelMap':{
'anchor':'Anchor', 'undo':'Undo', 'redo':'Redo', 'bold':'Bold', 'indent':'Indent', 'snapscreen':'S... |
/*jslint node:true*/
'use strict';
var debug = require('debug')('app'),
express = require('express'),
libmojito = require('../../../'),
app;
app = express();
app.set('port', process.env.PORT || 8666);
libmojito.extend(app);
app.use(libmojito.middleware());
app.mojito.attachRoutes();
app.get('/:type/... |
package shellquote
import (
"reflect"
"testing"
"testing/quick"
)
// this is called bothtest because it tests Split and Join together
func TestJoinSplit(t *testing.T) {
f := func(strs []string) bool {
// Join, then split, the input
combined := Join(strs...)
split, err := Split(combined)
if err != nil {
... |
package org.easyj.framework.util;
import java.util.ArrayList;
import java.util.List;
/**
* ·ÖÒ³×é¼þ»ù´¡Êý¾ÝÀà
* @author ¹¶Î°
*
*/
public class PagedList<E> {
private List<E> dataList = new ArrayList<E>(0);
public List<E> getDataList() {
if (dataList == null) {
return new ArrayList<E... |
package routers
import (
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/context"
)
// tplSwaggerV1Json swagger v1 json template
const tplSwaggerV1Json base.TplName = "swagger/v1_json"
// SwaggerV1Json render swagger v1 json
func SwaggerV1Json(ctx *context.Context) {
ctx.HTML(200, tplSwaggerV1Json... |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
[assembly: AssemblyTitle("Loggly.Example")]
[assembly: AssemblyDescription("WinForms app that demonstrates client features")]
|
package com.google.gerrit.acceptance.api.change;
import com.google.gerrit.acceptance.AbstractDaemonTest;
import com.google.gerrit.acceptance.PushOneCommit;
import com.google.gerrit.acceptance.UseSsh;
import org.junit.Test;
@UseSsh
public class ChangeReviewIT extends AbstractDaemonTest {
@Test
public void testGer... |
import pg = require("pg");
var conString = "postgres://username:password@localhost/database";
// Client pooling
pg.connect(conString, (err, client, done) => {
if (err) {
return console.error("Error fetching client from pool", err);
}
client.query("SELECT $1::int AS number", ["1"], (err, result) => ... |
namespace Poco {
class AbstractTimerCallback;
class ThreadPool;
class Foundation_API Timer: protected Runnable
/// This class implements a thread-based timer.
/// A timer starts a thread that first waits for a given start interval.
/// Once that interval expires, the timer callback is called repeatedly
/// in t... |
<?php
/**
* @namespace
*/
namespace Zend\Config;
/**
* @category Zend
* @package Zend_Config
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Config implements \Countable, \Iterator
... |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.keyboard_accessory;
import android.view.View;
import androidx.annotation.VisibleForTesting;
import org.chromium.base.ObserverList;
import... |
namespace net {
// Helper class to open, read and close a __res_state.
class NET_EXPORT ScopedResState {
public:
// This constructor will call memset and res_init/res_ninit a __res_state, and
// store the result in `res_init_result_`.
ScopedResState();
// Calls res_ndestroy or res_nclose if the platform uses... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
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, Ver... |
module.exports = function(grunt) {
grunt.initConfig({
connect: {
dev: {
options: {
base: '.'
, keepalive: true
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.registerTask('server', function(target) {
grunt.task.run([
'connect:dev... |
goog.provide('goog.silverlight');
goog.silverlight._silverlightCount = 0;
goog.silverlight.__onSilverlightInstalledCalled = false;
goog.silverlight.fwlinkRoot = 'http://go2.microsoft.com/fwlink/?LinkID=';
goog.silverlight.__installationEventFired = false;
goog.silverlight.onGetSilverlight = null;
goog.silverlight... |
from version import VERSION
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys
long_description = '''
Create a swagger API from a set of classes.
Main features:
- Request validation and casting types according to the specification.
- ORM with sqlalchemy ba... |
from django.contrib.auth.models import AnonymousUser, User
from django.contrib.flatpages.models import FlatPage
from django.contrib.sites.models import Site
from django.template import Context, Template, TemplateSyntaxError
from django.test import TestCase
class FlatpageTemplateTagTests(TestCase):
@classmethod
... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
using Xunit;
namespace System.Globalization.CalendarsTests
{
public static class CalendarsTests
{
[Fact]
... |
package pb138.service.services;
import com.google.common.collect.Lists;
import pb138.dal.entities.Sale;
import pb138.dal.repository.SaleRepository;
import pb138.dal.repository.validation.EntityValidationException;
import pb138.service.exceptions.ServiceException;
import pb138.service.filters.SaleFilter;
import java.u... |
// Code generated by client-gen. DO NOT EDIT.
package fake
import (
v1beta1 "k8s.io/api/admissionregistration/v1beta1"
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/apimachin... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="generator" content="JsDoc Toolkit" />
<title>_global_ | JsDoc Reference</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<meta name="mobileoptimized" content="0" />
<link rel="... |
<!--
Copyright (C) 2013 Samsung Electronics Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of cond... |
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>test</title>
<script src="../artDialog.source.js?skin=default"></script>
<script src="../plugins/iframeTools.source.js"></script>
</head>
<body style="margin:0">
<div style="width:400px; height:300px; pad... |
/**
* WikimediaUI Base v0.12.0
* Wikimedia Foundation user interface base variables
*/
.oo-ui-tool {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.oo-ui-tool > .oo-ui-tool-link > .oo-ui-tool-checkIcon {
display: none;
}
.oo-ui-tool .oo-ui-tool-link {
position: rel... |
<?xml version="1.0" encoding="utf-8"?>
<!--
-->
<android.support.v7.internal.widget.ActionBarContextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:visibility="gone"
style="?attr/acti... |
#ifndef _SAME70_EFC_COMPONENT_H_
#define _SAME70_EFC_COMPONENT_H_
#define _SAME70_EFC_COMPONENT_ /**< \deprecated Backward compatibility for ASF */
/** \addtogroup SAME70_EFC Embedded Flash Controller
* @{
*/
/* ========================================================================== */
/** SOFTWARE A... |
package org.apache.camel.component.mongodb.converters;
import java.math.BigDecimal;
import java.util.Map;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.mongodb.BasicDBList;
import com.mongodb.BasicDBObject;
import com.mongodb.DBObject;
import com.mongodb.util.JSON;
import org.apache.camel.Converter;... |
#ifndef QVECTORPATH_P_H
#define QVECTORPATH_P_H
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//
#include <QtGui/private... |
<?php
namespace ZendDeveloperTools\Stub;
/**
* Empty class that represents an {@see \Closure} object
*/
class ClosureStub
{
}
|
package com.intellij.refactoring.rename;
import com.intellij.codeInsight.TargetElementUtil;
import com.intellij.psi.PsiElement;
import com.intellij.refactoring.util.NonCodeUsageInfo;
import com.intellij.usageView.UsageInfo;
import com.intellij.usageView.UsageInfoFactory;
import org.jetbrains.annotations.NotNull;
imp... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package org.elasticsearch.search.aggregations.pipeline.serialdiff;
import org.elasticsearch.common.xcontent.XContentBuilder;
import org.elasticsearch.search.aggregations.pipeline.BucketHelpers.GapPolicy;
import org.elasticsearch.search.aggregations.pipeline.PipelineAggregatorBuilder;
import java.io.IOException;
pu... |
/* eslint-disable no-console, no-var */
var express = require('express')
var webpack = require('webpack')
var webpackDevMiddleware = require('webpack-dev-middleware')
var WebpackConfig = require('./webpack.config')
var app = express()
app.use(webpackDevMiddleware(webpack(WebpackConfig), {
publicPath: '/__build__/',... |
// Copyright(c) 2016-2022 Breanna Hansen.
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, ... |
<!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_102) on Mon Oct 03 08:48:20 EDT 2016 -->
<title>BytesArrayWritable</title>
<meta name="date" content="2016-10-03">
<link rel="stylesheet" type=... |
package org.apache.sling.commons.json.util;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.apache.sling.commons.json.JSONException;
import org.apache.sling.commons.json.JSONObject;
/** Test the String formatting functionality of JSONObject */
public class Despaced... |
<?php
namespace Slim\Interfaces;
/**
* Collection Interface
*
* @package Slim
* @since 3.0.0
*/
interface CollectionInterface extends \ArrayAccess, \Countable, \IteratorAggregate
{
public function set($key, $value);
public function get($key, $default = null);
public function replace(array $items)... |
<!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">
<meta content="Apache Forrest" name="Generator">
<meta name="Forrest-version" content="0.8">
<meta name="Forrest-skin-name" content="pe... |
<!DOCTYPE html>
<html>
<head>
<meta name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no"> <meta charset="utf-8">
<script language="javascript">
(function() {
function loadError() {
alert("Failed to load some of the code needed to run this application. Please try ... |
YUI.add('loader-rollup', function (Y, NAME) {
/**
* Optional automatic rollup logic for reducing http connections
* when not using a combo service.
* @module loader
* @submodule rollup
*/
/**
* Look for rollup packages to determine if all of the modules a
* rollup supersedes are required. If so, include the r... |
/**
* @module ol/render/EventType
*/
/**
* @enum {string}
*/
export default {
/**
* Triggered before a layer is rendered.
* @event module:ol/render/Event~RenderEvent#prerender
* @api
*/
PRERENDER: 'prerender',
/**
* Triggered after a layer is rendered.
* @event module:ol/re... |
import { combineLatestStatic } from '../../operator/combineLatest';
declare module '../../Observable' {
namespace Observable {
let combineLatest: typeof combineLatestStatic;
}
}
|
namespace glm
{
/// @addtogroup gtx_multiple
/// @{
//! Higher Multiple number of Source.
//! From GLM_GTX_multiple extension.
template <typename genType>
genType higherMultiple(
genType const & Source,
genType const & Multiple);
//! Lower Multiple number of Source.
//! From GLM_GTX_multiple extension.
... |
<?php
/**
* Bootstrap collapse widget.
* @see http://twitter.github.com/bootstrap/javascript.html#collapse
*/
class TbCollapse extends CWidget
{
const CONTAINER_PREFIX = 'yii_bootstrap_collapse_';
/**
* @var string the name of the collapse element. Defaults to 'div'.
*/
public $tagName = 'div';
/**
* @v... |
<!--[metadata]>
+++
title = "status"
description = "Get the status of a machine"
keywords = ["machine, status, subcommand"]
[menu.main]
parent="smn_machine_subcmds"
+++
<![end-metadata]-->
# status
Get the status of a machine.
```
$ docker-machine status dev
Running
```
|
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
function hacer_algo(condicion){
// var uno; // esto sucede por el hoisting
if(condicion){
var uno = "La condición se cuplió";
console.log(uno);
} else {
console.log(uno); // undefined, esperábamos un error de indefinición
}
}
// let
function hacer_algo(condicion){
// var... |
package com.trilead.ssh2.crypto;
import java.io.IOException;
import java.math.BigInteger;
/**
* SimpleDERReader.
*
* @author Christian Plattner, plattner@trilead.com
* @version $Id: SimpleDERReader.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $
*/
public class SimpleDERReader
{
private static final int CONSTRU... |
import React from 'react'
import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample'
import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection'
const ListContentVariations = () => (
<ExampleSection title='Content Variations'>
<ComponentExample
title='Vertically Alig... |
<!DOCTYPE html>
<!--
Copyright (c) 2012 Intel Corporation.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of works must retain the original copyright notice, this list
of conditions and the following di... |
require 'package'
class Ncurses < Package
version '5.9'
source_url 'http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz'
source_sha1 '3e042e5f2c7223bffdaac9646a533b8c758b65b5'
depends_on "diffutils"
def self.build
system "./configure CFLAGS=\" -fPIC\" --without-debug --prefix=/usr/local"
system "... |
webshims.register('form-datalist', function($, webshims, window, document, undefined, options){
"use strict";
var lazyLoad = function(name){
if(!name || typeof name != 'string'){
name = 'DOM';
}
if(!lazyLoad[name+'Loaded']){
lazyLoad[name+'Loaded'] = true;
webshims.ready(name, function(){
webshims.... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* PHP ext/standard/password compatibility package
*
* @package CodeIgniter
* @subpackage CodeIgniter
* @category Compatibility
* @author Andrey Andreev
* @link https://codeigniter.com/user_guide/
* @link http://php.net/password
*/
... |
<!DOCTYPE html>
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="description" content="GopherCon 2014 annual conference for the ... |