text
stringlengths
3
1.05M
'use strict'; module.exports = function(environment) { let ENV = { 'ember-resolver': { features: { EMBER_RESOLVER_MODULE_UNIFICATION: true } }, modulePrefix: '<%= modulePrefix %>', environment, rootURL: '/', locationType: 'auto', EmberENV: { FEATURES: { /...
/** Automatically generated file. DO NOT MODIFY */ package com.petree.DragonWings; public final class BuildConfig { public final static boolean DEBUG = true; }
#include "src/core/channel/client_uchannel.h" #include <string.h> #include "src/core/census/grpc_filter.h" #include "src/core/channel/channel_args.h" #include "src/core/channel/client_channel.h" #include "src/core/channel/compress_filter.h" #include "src/core/channel/subchannel_call_holder.h" #include "src/core/iom...
package org.drools.grid.impl; import org.drools.grid.ConnectionFactoryService; import org.drools.grid.Grid; import org.drools.grid.GridConnection; import org.drools.grid.GridNode; import org.drools.grid.GridServiceDescription; import org.drools.grid.local.LocalGridNodeConnection; import org.drools.grid.remote.RemoteGr...
#ifndef ERASERINSTRUMENT_H #define ERASERINSTRUMENT_H #include "abstractinstrument.h" #include <QtCore/QObject> /** * @brief Eraser instrument class. * */ class EraserInstrument : public AbstractInstrument { Q_OBJECT public: explicit EraserInstrument(QObject *parent = 0); void mousePressEvent(...
""" Support the binary sensors of a BloomSky weather station. For more details about this component, please refer to the documentation at https://home-assistant.io/components/binary_sensor.bloomsky/ """ import logging import voluptuous as vol from homeassistant.components.binary_sensor import ( BinarySensorDevic...
// // CHDropView.m // SYProject // // Created by siyue on 15-3-19. // Copyright (c) 2015年 com.siyue.liuxn. All rights reserved. // #import "CHDropView.h" #import "CHDropTableView.h" @interface CHDropView() @property (strong,nonatomic) NSMutableArray *dropTableViewList; @property (strong,nonatomic) CHDropTableView...
namespace boost { struct once_flag; namespace thread_detail { #if BOOST_ATOMIC_INT_LOCK_FREE == 2 typedef unsigned int atomic_int_type; #elif BOOST_ATOMIC_SHORT_LOCK_FREE == 2 typedef unsigned short atomic_int_type; #elif BOOST_ATOMIC_CHAR_LOCK_FREE == 2 typedef unsigned char atomic_int_type; #elif...
@property {Object|can.Map|function} can.Component.prototype.scope @parent can.Component.prototype Provides or describes a [can.Map] constructor function or can.Map instance that will be used to retrieve values found in the component's [can.Component::template template]. The map instance is initialized with values sp...
<?php /** * User: Joe Linn * Date: 3/20/2014 * Time: 2:39 PM */ namespace Stripe\Request\Cards; class CreateCardRequest extends UpdateCardRequest { protected $number; protected $cvc; /** * @param string $number * @param int $expMonth * @param int $expYear */ public function ...
<?php namespace Symfony\Component\Validator\Constraints; use Symfony\Component\Validator\Constraint; /** * @Annotation * * @api * * @deprecated Deprecated since version 2.1, to be removed in 2.3. */ class MinLength extends Constraint { public $message = 'This value is too short. It should have {{ limit }...
// (C) Copyright 2015 Martin Dougiamas // // 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 agre...
package xushuai.viewpager_indicator_demo; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ListView; /** * Created by xushuai on 2014/11/27. */ public class Tit...
// 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.Diagnostics.CodeAnalysis; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Editor; namespace Microsoft.CodeAnalysis.Editor....
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TcpClientServer.Data { public class BaseData { public string UUID { get; set; } } }
package net.crimsonresearch.Stream; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import java.util.Locale; import net.crimsonresearch.Stream.models.Tweet; import android.content.Context; import android.text.Html; import android.view.LayoutInflater; import android.view.View; import a...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <!-- Mapping file autogenerated by MyEclipse Persistence Tools --> <hibernate-mapping> <class name="com.gl.mychat.database....
/* * 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...
package volume import ( "fmt" "reflect" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/fields" "k8s.io/apimachinery/pkg/watch" "k8s.io/kubernetes/pkg/api/v1" "k8s.io/kubernetes/pkg/client/clientset_generated/clientset" "hash/fnv" "math/rand" "strconv" "strings" "github.com/gola...
file:/home/charlike/dev/glob-fs/fixtures/a/l4.md
require 'spec_helper' describe RailsAdmin::Config::Fields::Types::Float do it_behaves_like 'a generic field type', :float_field, :float end
<?php namespace Components\Courses\Models; use Date; use App; class PdfFormDeployment { /** * Length of crumb indentifier for a form * * @var constant **/ const CRUMB_LEN = 20; /** * Array of result view types * * @var array **/ private static $resultViews = array('confirmation', 'score', 'deta...
(function() { angular .module('app.detail') .factory('DetailFactory', DetailFactory); function DetailFactory($http, $q, $timeout){ } })();
<?php /** * @see Zend_Gdata_Gapps_Query */ require_once('Zend/Gdata/Gapps/Query.php'); /** * Assists in constructing queries for user entries. * Instances of this class can be provided in many places where a URL is * required. * * For information on submitting queries to a server, see the * service class, Z...
using System.Collections.Generic; using System.IO; using System.Text; using System.Diagnostics.Contracts; using System; // Disable the "this variable is not used" warning as every field would imply it. #pragma warning disable 0414 // Disable the "this variable is never assigned to". #pragma warning disable 0067 // Dis...
package org.apache.camel.processor; import org.apache.camel.Exchange; import org.apache.camel.Message; import org.apache.camel.impl.DefaultCamelContext; import org.apache.camel.impl.DefaultExchange; import org.apache.camel.impl.DefaultMessage; import org.junit.Before; import org.junit.Test; import static ...
// Load modules var Hoek = require('hoek'); var Ref = require('./ref'); var Errors = require('./errors'); var Alternatives = null; // Delay-loaded to prevent circular dependencies var Cast = null; // Declare internals var internals = {}; internals.defaults = { abortEarly: true, convert: tru...
package testclient import ( "github.com/GoogleCloudPlatform/kubernetes/pkg/fields" "github.com/GoogleCloudPlatform/kubernetes/pkg/labels" "github.com/projectatomic/atomic-enterprise/pkg/client" imageapi "github.com/projectatomic/atomic-enterprise/pkg/image/api" ) // FakeImages implements ImageInterface. Meant to...
package org.springframework.boot.buildpack.platform.build; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; import java.nio.file.Path; import java.nio.file.Paths; import org.junit.jupiter.api.Test; import org.springframework.boot...
#include "tensorflow/compiler/jit/xla_launch_util.h" #include "tensorflow/compiler/jit/defs.h" #include "tensorflow/compiler/tf2xla/shape_util.h" #include "tensorflow/compiler/tf2xla/xla_compiler.h" #include "tensorflow/compiler/xla/client/client_library.h" #include "tensorflow/compiler/xla/client/local_client.h" #i...
require 'spec_helper' describe CommunityController do it "GET index" do get :index expect(response).to render_template("index") end end
namespace Microsoft.OData.Core.Atom { #region Namespaces using System; using System.Collections.Generic; #endregion Namespaces /// <summary> /// Type for Atom Syndication Format (Atom) feed annotationsAsArray. /// </summary> public sealed class AtomFeedMetadata : ODataAnnota...
from . raw_triangle_collection import RawTriangleCollection def TriangleCollection(mode="raw", *args, **kwargs): """ mode: string - "raw" (speed: fastest, size: small, output: ugly) - "agg" (speed: fast, size: small, output: beautiful) """ return RawTriangleCollection(*args, **kw...
package org.apache.wicket.util.crypt; /** * Default crypt factory. This factory will instantiate a {@link SunJceCrypt} once and cache it for * all further invocations of {@link #newCrypt()}. * * @author Igor Vaynberg (ivaynberg) */ public class CachingSunJceCryptFactory extends CryptFactoryCachingDecorator { /...
this.oninstall = function(event) { event.waitUntil(new Promise(function(r) { setTimeout(r, 5); })); event.waitUntil(1); };
@-webkit-keyframes oo-ui-progressBarWidget-slide { from { margin-left: -40%; } to { margin-left: 100%; } } @-moz-keyframes oo-ui-progressBarWidget-slide { from { margin-left: -40%; } to { margin-left: 100%; } } @-ms-keyframes oo-ui-progressBarWidget-slide { from { margin-left: -40%; } to { margi...
using content::BrowserThread; using extensions::core_api::dns::ResolveCallbackResolveInfo; namespace Resolve = extensions::core_api::dns::Resolve; namespace extensions { DnsResolveFunction::DnsResolveFunction() : resource_context_(NULL), response_(false), request_handle_(new net::HostResolver::Reques...
// 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 Cake.Common.Tools.ILMerge; using Xunit; namespace Cake.Common.Tests.Unit.Tools.ILMerge { public sealed c...
void nested_f() {}
package com.alibaba.jstorm.daemon.worker.timer; import java.util.Map; import java.util.concurrent.BlockingQueue; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import backtype.storm.Config; import backtype.storm.utils.DisruptorQueue; import com.alibaba.jstorm.daemon.worker.timer.TimerTrigger.TimerEvent; ...
"use strict"; function OutputStream(options) { options = defaults(options, { indent_start : 0, indent_level : 4, quote_keys : false, space_colon : true, ascii_only : false, unescape_regexps : false, inline_script : false, ...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="100dp" android:layout_height="100dp" android:background="@color/colorPrimaryDark"> <ImageView android:layout_width="wrap_content" android:layout_he...
<div class="row"> <div class="col-md-12"> <div class="nav-tabs-custom"> <ul class="nav nav-tabs"> <?php for($tahun = $this->tjuan->periode_awal; $tahun <= $this->tjuan->periode_akhir; $tahun++) : ?> <li class="<?php if($this->tahun==$tahun) echo 'active'; ?>"> <a href="#tab-<?php ech...
.timeline-overview > .timeline { height: 26px; } .timeline-overview > .timeline:not(:first-child) { border-top: 1px solid rgb(235, 235, 235); } .timeline-overview > .timeline > .bar-container { position: relative; height: 100%; margin-left: 3px; margin-right: 3px; } .timeline-overview > .ti...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE401_Memory_Leak__int_calloc_54c.c Label Definition File: CWE401_Memory_Leak.c.label.xml Template File: sources-sinks-54c.tmpl.c */ /* * @description * CWE: 401 Memory Leak * BadSource: calloc Allocate data using calloc() * GoodSource: Allocate data on the st...
<html> <body> <span style="font-family: verdana,serif;">This inspection checks the PEP8 naming conventions.</span> </body> </html>
/** * @fileoverview Type definitions for the Blockly lb locale. * @author samelh@google.com (Sam El-Husseini) */ /// <reference path="msg.d.ts" /> import BlocklyMsg = Blockly.Msg; export = BlocklyMsg;
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="resources/compositor-touch-hit-rects.css"> <style> #layer { transform: translateZ(0); } #manychildren { height: 10px; } .child:first-child { margin-top: 20px; } .child { height: 5px; width: 5px; margin: 5px; margin-left: 300px; } </style> </head> ...
package org.apache.tez.runtime.task; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.IOException; import java.nio.ByteBuffer; import java...
#include "functionBlock.h" using namespace qReal::interpretation::blocks; void FunctionBlock::run() { eval("Body"); if (!errorsOccured()) { emit done(mNextBlockId); } }
#import "OCMMacroState.h" #import "OCMStubRecorder.h" #import "OCMockObject.h" #import "OCMExpectationRecorder.h" #import "OCMVerifier.h" #import "OCMInvocationMatcher.h" @implementation OCMMacroState static OCMMacroState *globalState; #pragma mark Methods to begin/end macros + (void)beginStubMacro { OCMStu...
<?php namespace Symfony\Bundle\FrameworkBundle\Command; use Symfony\Bundle\FrameworkBundle\Secrets\AbstractVault; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\ConsoleOutputIn...
URL: https://github.com/swagger-api/swagger-ui/tree/master/dist License: Apache License, Version 2.0 License File: LICENSE ## Description Files from dist folder of https://github.com/swagger-api/swagger-ui. These are dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful doc...
namespace gl { class Framebuffer; struct Rectangle; struct ImageIndex; } namespace rx { class RendererD3D; class RenderTarget; class TextureStorage; class Image { public: Image(); virtual ~Image() {}; GLsizei getWidth() const { return mWidth; } GLsizei getHeight() const { return mHeight; } GLsi...
server = { 'port': '6385', 'host': '0.0.0.0' } # Pecan Application Configurations # See https://pecan.readthedocs.org/en/latest/configuration.html#application-configuration # noqa app = { 'root': 'ironic.api.controllers.root.RootController', 'modules': ['ironic.api'], 'static_root': '%(confdir)s/pu...
using System; using System.Text; using Xunit; namespace System.Text.EncodingTests { // GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32) public class DecoderGetChars3 { #region Private Fields private const int c_SIZE_OF_ARRAY = 127; private readonly Random...
package com.ThirtyNineEighty.Base.Resources.Sources; import com.ThirtyNineEighty.Base.Common.Math.Vector3; import com.ThirtyNineEighty.Base.Resources.MeshMode; import java.nio.FloatBuffer; import java.util.ArrayList; public class PolyLineGeometrySource extends GeometrySource { private ArrayList<Vector3> polyLine...
namespace boost { namespace interprocess { using boost::container::container_detail::pair; } //namespace interprocess { } //namespace boost { #include <boost/interprocess/detail/config_end.hpp> #endif // #ifndef BOOST_INTERPROCESS_CONTAINERS_PAIR_HPP
#ifndef SourceProviderCacheItem_h #define SourceProviderCacheItem_h #include "ParserTokens.h" #include <wtf/PassOwnPtr.h> #include <wtf/Vector.h> #include <wtf/text/WTFString.h> namespace JSC { struct SourceProviderCacheItemCreationParameters { unsigned functionStart; unsigned closeBraceLine; unsigned ...
PHP Collection ============== This library adds basic collections for PHP. Collections can be seen as more specialized arrays for which certain contracts are guaranteed. Supported Collections: - Sequences - Keys: numerical, consequentially increasing, no gaps - Values: anything, duplicates allowed - Classes: ...
<?php namespace Thin\Xml; class Parser { protected $_dom = null; protected $_currentDom; protected $_content = array(); public function __construct() { $this->_dom = new \DOMDocument; $this->_currentDom = $this->_dom; return $this;...
* add default stub() for toString() if instance has it, use Decorator pattern. * Invocation.returnValue should be set from the last invoked Answer where isDefined(value) == true, instead of first * Include invocations & order in errors to aid with debugging
@class APMessage; @interface ImActorModelEntityContentInternalContentRemoteContainer : ImActorModelEntityContentInternalAbsContentContainer #pragma mark Public - (instancetype)initWithAPMessage:(APMessage *)message; - (APMessage *)getMessage; @end J2OBJC_EMPTY_STATIC_INIT(ImActorModelEntityContentInternalContentR...
<?php namespace Pimple\Tests\Fixtures; class Invokable { public function __invoke($value = null) { $service = new Service(); $service->value = $value; return $service; } }
!function ($) { "use strict"; // jshint ;_; /* MARKDOWN CLASS DEFINITION * ========================== */ var Markdown = function (element, options) { // Class Properties this.$ns = 'bootstrap-markdown' this.$element = $(element) this.$editable = {el:null, type:null,attr...
require File.expand_path('../../../../spec_helper', __FILE__) require File.expand_path('../shared/constants', __FILE__) require File.expand_path('../shared/update', __FILE__) describe "Digest::SHA384#update" do it_behaves_like :sha384_update, :update end
function Caseless (dict) { this.dict = dict } Caseless.prototype.set = function (name, value, clobber) { if (typeof name === 'object') { for (var i in name) { this.set(i, name[i], value) } } else { if (typeof clobber === 'undefined') clobber = true var has = this.has(name) if (!clobber ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("va...
'use strict'; describe('ngInclude', function() { var element; afterEach(function() { dealoc(element); }); function putIntoCache(url, content) { return function($templateCache) { $templateCache.put(url, [200, content, {}]); }; } it('should trust and use literal urls', inject(function(...
package io.undertow.websockets.spi; import io.undertow.server.HttpUpgradeListener; import io.undertow.util.AttachmentKey; import io.undertow.websockets.core.WebSocketChannel; import org.xnio.IoFuture; import org.xnio.OptionMap; import io.undertow.connector.ByteBufferPool; import java.io.Closeable; import java.nio.B...
define(function(require, exports, module) { exports.isDark = true; exports.cssClass = "ace-tomorrow-night-blue"; exports.cssText = require("../requirejs/text!./tomorrow_night_blue.css"); var dom = require("../lib/dom"); dom.importCssString(exports.cssText, exports.cssClass); });
<?php /** * Zend_Date */ // require_once 'Zend/Date.php'; /** * @category Zend * @package Zend_TimeSync * @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 Zend_TimeSync implements Ite...
import Ember from 'ember'; import Regions from './digitalocean_regions'; import NewHost from 'ui/mixins/new-host'; var regionChoices = Regions.regions.filter(function(region) { return region.available && (region.features.indexOf('metadata') >= 0); }).map(function(region) { return { id: region.slug, name: r...
package keymutex import ( "testing" "time" ) const ( callbackTimeout = 1 * time.Second ) func Test_SingleLock_NoUnlock(t *testing.T) { // Arrange km := NewKeyMutex() key := "fakeid" callbackCh := make(chan interface{}) // Act go lockAndCallback(km, key, callbackCh) // Assert verifyCallbackHappens(t, c...
package android.hardware.display; import android.os.Parcel; import android.os.Parcelable; /** * This class contains information regarding a wifi display session * (such as session id, source ip address, etc.). This is needed for * Wifi Display Certification process. * <p> * This object is immutable. * </p> *...
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] 2015-11-21 ### Added - Introduce new functions `ponos:add_load_generator/{3,4}` for adding a single load generator with the required arguments as part of the funct...
<?xml version="1.0" encoding="UTF-8"?> <results title="frequencies"> <result title="frequency" count="120">Total</result> <result title="frequency" count="87">Food and Drug Administration</result> <result title="frequency" count="85">American Society of Clinical Oncology</result> <result title="frequency" coun...
/* Includes ------------------------------------------------------------------*/ #include "stm32f0xx_hal.h" /** @addtogroup STM32F0xx_HAL_Driver * @{ */ /** @defgroup DMA DMA * @brief DMA HAL module driver * @{ */ #ifdef HAL_DMA_MODULE_ENABLED /* Private typedef ----------------------------------------...
<?xml version="1.0" encoding="utf-8"?> <CrawlItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Text>uh, ove izmjene menia i akcije na pauzii zbilja su me intrigirale, svaka čast samo tako naprijed! :)</Text> <Rating>6</Rating> <Source>http://pauza.hr/men...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Bot. Gaz. 4: 128 (1879) #### Original name Cronartium comandrae Peck, 1879 ### Remarks null
module Fog module Vcloud class Compute class Real def configure_vm_name_description(edit_href, name, description) body = <<EOF <?xml version="1.0" encoding="UTF-8"?> <VApp xmlns="http://www.vmware.com/vcloud/v1" name="#{name}" type="application/vnd.vmware.vcloud.vApp+xml"> <Description...
<?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:b...
% vim:expandtab % % \ifx\pdfoutput\undefined \documentclass[twoside]{article} \else \documentclass[pdftex]{article} \usepackage{thumbpdf} \pdfcompresslevel=9 \pdfinfo{ /Author (Karl N. Redgate) /Title (Dossier Design) /Subject (x86 BIOS/Physical Information Tools) } \fi \usepackage{fullpage} \usepackage{ifpd...
@interface XDRefreshTableView() @end @implementation XDRefreshTableView @synthesize pullDelegate = _pullDelegate; @synthesize headerPullingView = _headerPullingView; @synthesize footerPullingView = _footerPullingView; @synthesize showHeaderPulling = _showHeaderPulling; @synthesize showFooterPulling = _showFooterPu...
package com.github.technosf.posterer.ui.controllers; import org.eclipse.jdt.annotation.Nullable; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; /** * JavaFX {@code Controller} for JavaFX version 2.2 * <p> * Defines our JavaFX {@code Controller} common behavior for our pattern. ...
public class Strings { public static void main(String[] args) { // In Java, strings are also internally arrays of characters, but Java // uses Unicode encoding (2 bytes for each character; the char type in // Java is 2 bytes). // Java "interns" string literals into static memory, thou...
<?php /** * The following variables are available in this template: * - $this: the CrudCode object */ ?> <?php echo "<?php\n"; ?> /* @var $this <?php echo $this->getControllerClass(); ?> */ /* @var $model <?php echo $this->getModelClass(); ?> */ <?php $nameColumn=$this->guessNameColumn($this->tableSchema->columns);...
package jwt import ( "encoding/json" "fmt" "io" "io/ioutil" "net/http" "net/url" "strings" "time" "github.com/flynn/flynn/Godeps/_workspace/src/golang.org/x/net/context" "golang.org/x/oauth2" "golang.org/x/oauth2/internal" "golang.org/x/oauth2/jws" ) var ( defaultGrantType = "urn:ietf:params:oauth:grant...
'use strict'; var memoize = require('../plain'); module.exports = function (t, a) { memoize(function () {})(); a(typeof t.statistics, 'object', "Access to statistics"); a(Object.keys(t.statistics).length > 0, true, "Statistics collected"); a(typeof t.log, 'function', "Access to log function"); a(typeof t.log(), ...
#include "autotoolsconfig.h" #include <glib.h> #include <gtk/gtk.h> #include <webkit/webkit.h> static void test_webkit_web_history_item_lifetime(void) { WebKitWebView* webView; WebKitWebBackForwardList* backForwardList; WebKitWebHistoryItem* currentItem; WebKitWebHistoryItem* forwardItem; WebKitW...
core-image ========= See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-image) for more information.
package org.apache.sling.testing.clients.osgi; import org.apache.sling.testing.clients.ClientException; import org.codehaus.jackson.JsonNode; import java.util.HashMap; import java.util.Iterator; import java.util.Map; public class BundleInfo { private JsonNode bundle; public BundleInfo(JsonNode root) thro...
package hudson.tasks; import hudson.Extension; import hudson.model.User; import java.util.regex.Matcher; import org.jvnet.hudson.test.HudsonTestCase; public class UserAvatarResolverTest extends HudsonTestCase { private static User expUser; public void testThatDefaultImageIsReturnedIfRegexFails() { ...
export { default } from './CardContent';
package org.rhase.piggyconverter; import org.apache.pig.backend.executionengine.ExecException; import org.apache.pig.data.DataType; import org.apache.pig.data.Tuple; import org.apache.pig.data.TupleFactory; import org.apache.pig.impl.logicalLayer.FrontendException; import org.apache.pig.impl.logicalLayer.schema.Sche...
using System; using System.Collections.Generic; using System.IO; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Abstractions; using Microsoft.AspNetCo...
function [S] = Z_get_S(infile) % 1/30/2013 Parker MacCready % written to use SNCTOOLS % % 'infile' is a ROMS history file % % this returns the structure: % S has vertical S-coordinate information % % added S.Vtransform 12/19/2012 % get vertical sigma-coordinate information (column vectors, bottom to top) S.s_rho = ...
package interfaces import ( "database/sql" "log" "domain" "usecases" ) type DbHandler interface { Open() error Close() Db() *sql.DB } type DbRepo struct { dbHandler DbHandler } type DbTopicRepo DbRepo type DbTopicsRepo DbRepo func NewDbTopicRepo(dbHandler DbHandler) DbTopicRepo { dbTopicRepo := DbTopicRe...
(function(global) { global.upgradeSystemLoader = function() { delete global.upgradeSystemLoader; /* SystemJS Core Adds normalization to the import function, as well as __defaultOnly support */ (function() { // check we have System if (typeof System == 'undefined') throw 'System not defined. Include the...
require "helpers/integration_test_helper" class TestRegions < FogIntegrationTest NAMES = %w(asia-east1 europe-west1 us-central1) def setup @subject = Fog::Compute[:google].regions end def test_all assert_equal NAMES.size, @subject.all.size end def test_get NAMES.each do |name| refute_n...