text
stringlengths
3
1.05M
#include "NFCRemoteEndpoint.h" #include "NFCController.h" #include "acore/ac_buffer.h" #include "acore/ac_buffer_reader.h" #include "acore/ac_buffer_builder.h" #include "stack/transceiver/transceiver.h" using namespace mbed; using namespace mbed::nfc; NFCRemoteEndpoint::NFCRemoteEndpoint(NFCController *controller...
package tikv import ( "encoding/hex" "github.com/opentracing/opentracing-go" "github.com/pingcap/errors" pb "github.com/pingcap/kvproto/pkg/kvrpcpb" "github.com/pingcap/tidb/metrics" "github.com/pingcap/tidb/store/tikv/tikvrpc" "github.com/pingcap/tidb/util/logutil" "github.com/prometheus/client_golang/promet...
Mongoose is a [MongoDB](https://www.mongodb.org/) object modeling tool designed to work in an asynchronous environment. [![Build Status](https://api.travis-ci.org/Automattic/mongoose.png?branch=master)](https://travis-ci.org/Automattic/mongoose) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/A...
#include "config.h" #include <stdlib.h> #include "AL/al.h" #include "AL/alc.h" #include "alMain.h" #include "alFilter.h" #include "alThunk.h" #include "alError.h" static void InitFilterParams(ALfilter *filter, ALenum type); #define LookupFilter(m, k) ((ALfilter*)LookupUIntMapKey(&(m), (k))) AL_API ALvoid AL_API...
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #include "MaterialInstanceBasePropertyOverrides.generated.h" class UMaterialInstance; /** Properties from the base material that can be overridden in material instances. */ USTRUCT() struct ENGINE_API FMaterialInstanceBasePropertyOverrides { ...
/* * Never include this file directly; use <limits.h> instead. */ /* Additional definitions from X/Open Portability Guide, Issue 4, Version 2 System Interfaces and Headers, 4.16 <limits.h> Please note only the values which are not greater than the minimum stated in the standard document are listed. The ...
var mongodb = process.env['TEST_NATIVE'] != null ? require('../lib/mongodb').native() : require('../lib/mongodb').pure(); var testCase = require('../deps/nodeunit').testCase, debug = require('util').debug, inspect = require('util').inspect, nodeunit = require('../deps/nodeunit'), gleak = require('../tools/glea...
 #pragma once #include "OpenGLES.h" #include "OpenGLESPage.g.h" #include <memory> #include <condition_variable> #include <mutex> #include "Cocos2dRenderer.h" namespace CocosAppWinRT { public ref class OpenGLESPage sealed { public: OpenGLESPage(); virtual ~OpenGLESPage(); void Se...
/* * Hibernate Validator, declare and validate application constraints * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.validator.internal.engine.messageinterpolation.el; import javax.el.ArrayELResol...
'use strict'; /* global MediaStreamTrackProcessor, MediaStreamTrackGenerator */ if (typeof MediaStreamTrackProcessor === 'undefined' || typeof MediaStreamTrackGenerator === 'undefined') { alert( 'Your browser does not support the experimental MediaStreamTrack API ' + 'for Insertable Streams of Medi...
WoundedAbyss ============ Wounded Abyss - A roguelike game in HTML5 and JavaScript
package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import java.util.Comparator; import javax.annotation.Nullable; /** * List returned by {@code ImmutableSortedSet.asList()} when the set isn't empty. * * @author Jared Levy...
using Castle.MicroKernel; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace EMS.Web.Dependency { public class WindsorControllerFactory : DefaultControllerFactory { private readonly IKernel kernel; pub...
package org.motechproject.nms.rejectionhandler.repository; import org.motechproject.mds.annotations.Lookup; import org.motechproject.mds.annotations.LookupField; import org.motechproject.mds.service.MotechDataService; import org.motechproject.nms.rejectionhandler.domain.TalukaImportRejection; import org.motechproject....
class EyeBowl include Mongoid::Document has_many :blue_eyes, class_name: "Eye", as: :eyeable has_many :brown_eyes, class_name: "Eye", as: :eyeable end
package com.googlecode.android_scripting; import android.content.Context; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; public class FeaturedInterpreters { private static f...
package sun.jvm.hotspot.types; import sun.jvm.hotspot.debugger.*; /** A specialization of Field which represents a field referring to a C integer value. See CIntegerType for a discussion of C integer types and why this class is not specialized for various int sizes or signed/unsigned. */ public interfa...
<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>GCM-SERVER-TEST</groupId> <artifactId>GCM-SERVER-TEST</artifactId> ...
import re import warnings import numpy as np from matplotlib import rcParams from astropy import units as u from astropy.units import UnitsError from astropy.coordinates import Angle DMS_RE = re.compile('^dd(:mm(:ss(.(s)+)?)?)?$') HMS_RE = re.compile('^hh(:mm(:ss(.(s)+)?)?)?$') DDEC_RE = re.compile('^d(.(d)+)?$') D...
""" A simple example demonstrating Arrow in Spark. Run with: ./bin/spark-submit examples/src/main/python/sql/arrow.py """ from __future__ import print_function from pyspark.sql import SparkSession from pyspark.sql.utils import require_minimum_pandas_version, require_minimum_pyarrow_version require_minimum_pandas_v...
package com.google.common.cache; import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Function; import com.google.common.base.Supplier; import java.io.Serializable; import java.util.Map; /** * Computes or retrieves valu...
from django.core.management.base import BaseCommand from optparse import make_option from django_rq import get_scheduler, get_queue class Command(BaseCommand): """ Runs RQ scheduler """ help = __doc__ args = '<connection.queue>' option_list = BaseCommand.option_list + ( make_option( ...
const initStart = process.hrtime(); const parser = require('useragent'); parser(true); // Trigger a parse to force cache loading parser.parse('Test String'); const initTime = process.hrtime(initStart)[1] / 1000000000; const packageInfo = require(require('path').dirname(require.resolve('useragent')) + '/package.js...
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="org.flowable.engine.impl.persistence.entity.ResourceEntityImpl"> <!-- RESOURCE INSERT --> <insert id="insertResource" parameterType="org.fl...
/** * \file entropy_poll.h * * \brief Platform-specific and custom entropy polling functions */ /* * Copyright (C) 2006-2016, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in comp...
<!DOCTYPE html> <html> <head> <title>Git hub Learning</title> </head> <body> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis ...
package org.apache.kafka.streams.kstream.internals; public interface InternalNameProvider { String newProcessorName(final String prefix); String newStoreName(final String prefix); }
using namespace std; void IntsToStrings() { vector<int> ints = {1, 2, -3, 42, 13}; vector<string> strings; strings.reserve(ints.size()); transform(ints.begin(), ints.end(), back_inserter(strings), [](int number){ return "{" + to_string(number) + "}"; }); copy(strings.begin(), strings.end(), o...
/* * spooky_hash.h * * Created on: Sep 23, 2013 * Author: mgrosvenor */ #ifndef SPOOKY_HASH_H_ #define SPOOKY_HASH_H_ /* * This is a port of Bob Jenkins Spooky Hash from C++ to C. Port by M. P. Grosvenor. * http://burtleburtle.net/bob/hash/spooky.html */ // SpookyHash: a 128-bit noncryptographic hash f...
<?xml version="1.0" encoding="UTF-8"?> <!-- *** GENERATED FROM project.xml - DO NOT EDIT *** *** EDIT ../build.xml INSTEAD *** For the purpose of easier reading the script is divided into following sections: - initialization - compilation - jar - execution - debugging - javadoc - test c...
@implementation ABI42_0_0EXFileSystemLocalFileHandler + (void)getInfoForFile:(NSURL *)fileUri withOptions:(NSDictionary *)options resolver:(ABI42_0_0UMPromiseResolveBlock)resolve rejecter:(ABI42_0_0UMPromiseRejectBlock)reject { NSString *path = fileUri.path; BOOL isDirectory;...
<?php namespace Predis\Command\Processor; use PredisTestCase; /** * */ class KeyPrefixProcessorTest extends PredisTestCase { /** * @group disconnected */ public function testConstructorWithPrefix() { $prefix = 'prefix:'; $processor = new KeyPrefixProcessor($prefix); ...
package serving import ( "testing" "k8s.io/kubernetes/test/integration/framework" ) func TestMain(m *testing.M) { framework.EtcdMain(m.Run) }
package org.rapidoid.config; import org.rapidoid.RapidoidThing; import org.rapidoid.annotation.Authors; import org.rapidoid.annotation.Since; import org.rapidoid.u.U; import java.util.List; import java.util.Set; @Authors("Nikolche Mihajlovski") @Since("5.0.2") public class ConfigOptions extends RapidoidThing { ...
Trickster = { replacePage: function (opts) { if (!window.location.path) { window.history.pushState({ "html": $("#page").html(), "pageTitle": document.title }, "", ""); } $("#page").html(opts.content); document.title = opts.title || 'Joke.io'; window.history.pushSta...
#!/usr/bin/env node 'use strict'; const Metalsmith = require('metalsmith'); const autoprefixer = require('autoprefixer-stylus'); const collections = require('metalsmith-collections'); const feed = require('metalsmith-feed'); const layouts = require('metalsmith-layouts'); const markdown = require('metalsmith-markdown'...
package org.apache.jackrabbit.oak.spi.security.authorization.cug.impl; import java.security.Principal; import java.util.Collections; import java.util.HashSet; import java.util.Map; import java.util.Set; import javax.annotation.Nonnull; import com.google.common.collect.ImmutableMap; import com.google.common.collect....
Photon Unity <https://doc.photonengine.com/en-us/pun/current/getting-started/pun-intro> Demos <https://doc.photonengine.com/en-us/pun/current/manuals-and-demos/demo-downloads-unity> RPC <https://www.youtube.com/watch?v=ozBmZ9FoN_o&list=UUFnFXCZuob4ffmc014e07zw> Enable/disable <http://answers.unity3d.com/questions/67...
(function ($) { 'use strict'; /** * We need an event when the elements are destroyed * because if an input is removed, we have to remove the * maxlength object associated (if any). * From: * http://stackoverflow.com/questions/2200494/jquery-trigger-event-when-an-element-is-removed-from-the-dom */ ...
package org.apache.lucene.codecs.simpletext; import org.apache.lucene.codecs.Codec; import org.apache.lucene.index.BaseTermVectorsFormatTestCase; public class TestSimpleTextTermVectorsFormat extends BaseTermVectorsFormatTestCase { @Override protected Codec getCodec() { return new SimpleTextCodec(); } ...
<?php namespace perf\Persistence\Operation; use \perf\Persistence\EntityMetadataPool; use \perf\Db\ConnectionPool; use \perf\Db\Connection; use \perf\Persistence\EntityIterator; /** * * * @package perf */ class Selecter extends Operator { /** * Entity importer. * * @var EntityImporter */...
package org.optaplanner.examples.cloudbalancing.domain; import com.thoughtworks.xstream.annotations.XStreamAlias; import org.optaplanner.examples.common.domain.AbstractPersistable; import org.optaplanner.examples.common.swingui.components.Labeled; @XStreamAlias("CloudComputer") public class CloudComputer extends Ab...
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd"> <!-- Copyright © 1991-2014 Unicode, Inc. CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) For terms of use, see http://www.unicode.org/copyright.html --> <ldml> <identity> ...
class SmsController < ApplicationController filter_access_to :all def index @config = Configuration.available_modules unless @config.include?('SMS') redirect_to :controller=>"user" , :action=>"dashboard" else @sms_setting = SmsSetting.new() end end def settings @config = Conf...
package org.cucina.engine.server.event; /** * Request domain data from client. * * @author $Author: $ * @version $Revision: $ */ public class RequestDomainConfigEvent extends GetValueEvent { private static final long serialVersionUID = 8736257067208967786L; private String applicationType; /** * Creates a...
<?xml version='1.0'?> <!-- 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")...
<?php require_once 'BaseTest.php'; require_once '../src/contrib/Google_PlusService.php'; require_once '../src/service/Google_BatchRequest.php'; class ApiBatchRequestTest extends BaseTest { public $plus; public function __construct() { parent::__construct(); $this->plus = new Google_PlusService(BaseTest::...
namespace v8 { namespace internal { enum SlotCallbackResult { KEEP_SLOT, REMOVE_SLOT }; // Data structure for maintaining a set of slots in a standard (non-large) // page. // The data structure assumes that the slots are pointer size aligned and // splits the valid slot offset range into kBuckets buckets. // Each buc...
<!DOCTYPE html> <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]--> <head> <!-- Basic...
[![NPM Version][npm-image]][npm-url] [![NPM Downloads][downloads-image]][downloads-url] [![Node.js Version][node-version-image]][node-version-url] [![Build Status][travis-image]][travis-url] [![Test Coverage][coveralls-image]][coveralls-url] The ultimate javascript content-type utility. Similar to [node-mime](https:/...
'use strict'; var Support = require(__dirname + '/../../support'); var helpers = require(__dirname + '/../../support/helpers'); var gulp = require('gulp'); ([ 'db:migrate:status' ]).forEach(function (flag) { describe(Support.getTestDialectTeaser(flag), function () { it('is correctly reports a down and an...
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> <?php if (rehub_option('rehub_branded_bg_url') ) :?> <?php $branded_bg_url = rehub_option('rehub_branded_bg_url');?> <a id="branded_bg" href="<?php echo $branded_bg_url; ?>" target="_blank" rel="nofollow"></a> <?php endif; ?>
package com.orientechnologies.orient.core.index; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import org.testng.Assert; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test;...
// Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors // Distributed under MIT license, or public domain if desired and // recognized in your jurisdiction. // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE #ifndef CPPTL_JSON_READER_H_INCLUDED #define CPPTL_JSON_READER_H_INCLU...
namespace extensions { NativeMessagingHostListPolicyHandler::NativeMessagingHostListPolicyHandler( const char* policy_name, const char* pref_path, bool allow_wildcards) : policy::TypeCheckingPolicyHandler(policy_name, base::Value::TYPE_LIST), pref_path_(pref_path), allow_wildcards_(allow_wi...
/************* Bootstrap 2 Theme *************/ /* jQuery Bootstrap 2 Theme */ .tablesorter-bootstrap { width: 100%; } .tablesorter-bootstrap .tablesorter-header, .tablesorter-bootstrap tfoot th, .tablesorter-bootstrap tfoot td { font: bold 14px/20px Arial, Sans-serif; position: relative; padding: 8px; margin: ...
using System; using System.Collections.Generic; using System.Linq; using Hyak.Common; using Microsoft.Azure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Management.SiteRecovery.Models { /// <summary> /// The response model for the list storage classification operation. /// </summary> publi...
define({ //begin v1.x content // Title of the previous button in Carousel "CarouselPrevious": "Prejšnji", // Title of the next button in Carousel "CarouselNext": "Naprej", // PageIndicatorLabel: accessibility label for PageIndicator // $0 replaced by the index of the current page // $1 replaced by the tota...
#ifndef LIBRARIES_NACL_IO_INCLUDE_SYS_UTSNAME_H_ #define LIBRARIES_NACL_IO_INCLUDE_SYS_UTSNAME_H_ #define _UTSNAME_LENGTH 65 struct utsname { char sysname[_UTSNAME_LENGTH]; char nodename[_UTSNAME_LENGTH]; char release[_UTSNAME_LENGTH]; char version[_UTSNAME_LENGTH]; char machine[_UTSNAME_LENGTH]; }; #inc...
<?php namespace Concrete\Block\Survey; use \Concrete\Core\Legacy\DatabaseItemList; class SurveyList extends DatabaseItemList { protected $itemsPerPage = 10; protected $autoSortColumns = array('cvName', 'question', 'numberOfResponses', 'lastResponse'); function __construct() { $query = 'SELECT...
using Elmah; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; namespace geocoderNet.Models { public class FeatureEdgeRange : Item { public static List<Item> ranges_by_feature(string[] fids, int number, string prenum)...
/*jslint vars: true, plusplus: true, devel: true, browser: true, nomen: true, indent: 4, maxerr: 50 */ /*global define, $, describe, afterEach, it, runs, expect, waitsForDone, beforeFirst, afterLast */ define(function (require, exports, module) { "use strict"; // Load dependent modules var CommandM...
package mx.emite.sdk.cfdi32.nomina11; import javax.validation.Valid; import javax.validation.constraints.NotNull; import javax.validation.constraints.Null; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bin...
/** * */ package edu.washington.escience.myria.accessmethod; import static org.junit.Assert.assertEquals; import java.util.Objects; import org.junit.Test; import org.slf4j.LoggerFactory; import com.google.common.base.Verify; import com.google.common.collect.ImmutableList; import edu.washington.escience.myria.DbE...
from __future__ import absolute_import, division, print_function import abc from fractions import gcd import six from cryptography import utils from cryptography.exceptions import UnsupportedAlgorithm, _Reasons from cryptography.hazmat.backends.interfaces import RSABackend @six.add_metaclass(abc.ABCMeta) class RSA...
using Abp.Domain.Entities; using Abp.Events.Bus.Entities; using Xunit; namespace Abp.Tests.Experimental { public class GenericMethodCallTests { [Fact] public void Test_Method_BaseEvent_BaseArg() { Method_BaseEvent_BaseArg(new EntityEventData<Person>(new Person())); //TODO: <...
<?php /** * Tokenizer for wiki documents * * The tokenizer used for all wiki documents should prepare a token array, * which can be used by the wiki parser, without any wiki language specific * handling in the parser itself required. For this the tokenizing is performed * in two steps: * * 1) Extract tokens f...
package org.apache.aries.blueprint.plugin; import org.apache.maven.artifact.Artifact; import java.util.HashSet; import java.util.Set; import java.util.regex.Pattern; class ArtifactFilter { private final Set<Pattern> includeArtifactPatterns; private final Set<Pattern> excludeArtifactPatterns; ArtifactF...
<div id="speech-training-container" hidden> <div class="mic"></div> <div class="container"> <div class="header"> <span class="close"></span> <div class="header-text"> <div class="v-spacing-for-no-subheading"></div> <h1>Let's train your Chromebook</h1> </div> </div> ...
package io.nodus.util.random; import io.nodus.Nodus; import io.nodus.NodusParams; import io.nodus.util.config.NodusConfig; import io.nodus.util.field.*; import io.nodus.util.var.FirstLastEmailMatch; import io.nodus.util.var.Locator; import java.beans.PropertyDescriptor; import java.util.Arrays; import java.util.List;...
// Author: pulkitg@google.com (Pulkit Goyal) #include "net/instaweb/rewriter/public/defer_iframe_filter.h" #include "net/instaweb/rewriter/public/rewrite_driver.h" #include "net/instaweb/rewriter/public/rewrite_test_base.h" #include "net/instaweb/rewriter/public/server_context.h" #include "net/instaweb/rewriter/publ...
namespace mojo { namespace { // RunLoopHandler implementation used for a request to AsyncWait(). There are // two ways RunLoopHandlerImpl is deleted: // . when the handle is ready (or errored). // . when CancelWait() is invoked. class RunLoopHandlerImpl : public RunLoopHandler { public: RunLoopHandlerImpl(const Ha...
package org.apache.ignite.osgi; import java.io.File; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.inject.Inject; import org.apache.karaf.features.FeaturesService; import org.junit.runner.RunWith; import org.ops4j.pax.exam.Option; import org.ops4j.pax.ex...
 using System; namespace Utilities.IoC.Default.Interfaces { /// <summary> /// Type builder interface /// </summary> public interface ITypeBuilder { /// <summary> /// Return type of the builder /// </summary> Type ReturnType { get; } /// <summary> /...
import { Entity } from "../../../../../../src/decorator/entity/Entity" import { PrimaryGeneratedColumn } from "../../../../../../src/decorator/columns/PrimaryGeneratedColumn" import { Column } from "../../../../../../src/decorator/columns/Column" import { ManyToMany } from "../../../../../../src/decorator/relations/Man...
class ConfirmBubbleModel; // A view controller that manages a bubble view and becomes a proxy between // the view and the ConfirmBubbleModel object. This class is internally used // in ShowConfirmBubble() and users do not have to change this class directly. @interface ConfirmBubbleController : NSViewController<NST...
ActiveAdmin.register Page do form do |f| f.inputs do f.input :title f.input :content, as: :html_editor end f.actions end end
package com.google.security.zynamics.reil.translators.arm; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; @RunWith(Suite.class) @SuiteClasses({ ARMAdcTranslatorTest.class, ARMAddTranslatorTest.class, ARMAndTranslatorTest.class, ARMBicTran...
package org.bitcoinj.wallet.listeners; import org.bitcoinj.core.ECKey; import java.util.List; public class AbstractKeyChainEventListener implements KeyChainEventListener { @Override public void onKeysAdded(List<ECKey> keys) { } }
package integration import ( "fmt" "strings" "testing" "time" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/util/wait" utilfeature "k8s.io/apiserver/pkg/util/feature" utilfeaturetest...
package org.apache.kafka.trogdor.task; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; /** * The specification for a task that does nothing. * * This task type exists to test trogodor itself. */ public class NoOpTaskSpec extends TaskSpec { @JsonCrea...
define('crm/Models/Address/Offline', ['module', 'exports', 'dojo/_base/declare', './Base', 'argos/Models/_OfflineModelBase', 'argos/Models/Manager', 'argos/Models/Types', '../Names'], function (module, exports, _declare, _Base, _OfflineModelBase2, _Manager, _Types, _Names) { Object.defineProperty(exports, "__esModule...
package com.netflix.ndbench.plugin.dyno; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Random; import java.util.Set; import java.util.concurrent.atomic.AtomicReference; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.netflix.dyno.jedis.DynoJedisClien...
<!-- This file is part of the X12Parser library that provides tools to manipulate X12 messages using Ruby native syntax. http://x12parser.rubyforge.org Copyright (C) 2009 APP Design, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU...
<?php namespace Illuminate\Foundation\Providers; use Illuminate\Routing\Redirector; use Illuminate\Support\ServiceProvider; use Illuminate\Foundation\Http\FormRequest; use Symfony\Component\HttpFoundation\Request; class FormRequestServiceProvider extends ServiceProvider { /** * Register the service provider...
from __future__ import division from libtbx.option_parser import option_parser from libtbx.utils import Sorry from libtbx.str_utils import show_string from libtbx import easy_run from libtbx import introspection import libtbx.load_env import difflib from stdlib import math import sys, os import time try: import thre...
package androidpublisher import ( "bytes" "code.google.com/p/google-api-go-client/googleapi" "encoding/json" "errors" "fmt" "io" "net/http" "net/url" "strconv" "strings" ) // Always reference these packages, just in case the auto-generated code // below doesn't. var _ = bytes.NewBuffer var _ = strconv.Itoa ...
/* iCheck plugin Minimal skin, grey ----------------------------------- */ .icheckbox_minimal-grey, .iradio_minimal-grey { display: inline-block; *display: inline; vertical-align: middle; margin: 0; padding: 0; width: 18px; height: 18px; background: url(grey.png) no-repeat; border: n...
/* Includes ------------------------------------------------------------------*/ #include "stm32f3xx_hal.h" /** @addtogroup STM32F3xx_HAL_Driver * @{ */ /** @defgroup WWDG WWDG HAL module driver. * @brief WWDG HAL module driver. * @{ */ #ifdef HAL_WWDG_MODULE_ENABLED /* Private typedef ----------------...
require File.expand_path('../../../spec_helper', __FILE__) with_feature :encoding_transition do describe "String#bytes" do before(:each) do @utf8 = "東京" @ascii = 'Tokyo' @utf8_ascii = @utf8 + @ascii end it "returns an Array when no block is given" do @utf8.bytes.should be_an_inst...
package org.wso2.carbon.mediator.store; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; import org.wso2.carbon.mediator.service.MediatorService; /** * */ public class MessageStoreMediatorActiva...
<div style='position:absolute;left:0px;right:0px;top:0px;bottom:0px;background-color:#D9D7AD;background-image:url(#bundlepath#/images/org-cover.png);background-repeat:no-repeat;background-position:center; '> </div> <div class="mfiverotation" style='position:absolute;left:0px;top:35px;right:0px;font-family:DiavloBook;fo...
describe('globbing test', function(){ it('should find this test', function(){ // see glob.sh for details }) });
'use strict'; (function() { describe('MEAN controllers', function() { describe('HeaderController', function() { // Load the controllers module beforeEach(module('mean')); var scope, HeaderController; beforeEach(inject(function($controller, $rootScope) { ...
/** * Matches when the observable sequence has an available value and projects the value. * * @param {Function} selector Selector that will be invoked for values in the source sequence. * @returns {Plan} Plan that produces the projected values, to be fed (with other plans) to the when operator. */ ...
function ok(expr, msg) { if (!expr) throw new Error(msg); } suite('should only run .only test in this qunit suite'); test('should not run this test', function() { ok(0 === 1, 'this test should have been skipped'); }); test.only('should run this test', function() { ok(0 === 0, 'this .only test should run'); }); ...
/* * SystemJS v0.19.22 */ (function() { function bootstrap() {(function(__global) { var isWorker = typeof window == 'undefined' && typeof self != 'undefined' && typeof importScripts != 'undefined'; var isBrowser = typeof window != 'undefined' && typeof document != 'undefined'; var isWindows = typeof process !=...
using erizo::Worker; using erizo::DurationDistribution; using erizo::SimulatedWorker; using erizo::ScheduledTaskReference; ScheduledTaskReference::ScheduledTaskReference() : cancelled{false} { } bool ScheduledTaskReference::isCancelled() { return cancelled; } void ScheduledTaskReference::cancel() { cancelled = tr...
CREATE TABLE IF NOT EXISTS system_migrations( id INTEGER PRIMARY KEY, name CHAR(255) NOT NULL, order_number INTEGER NUT NOLL );
package org.apache.hadoop.yarn.api.protocolrecords.impl.pb; import org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodeLabelsRequest; import com.google.protobuf.TextFormat; import org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsRequestProto; public class GetClusterNodeLabelsRequestPBImpl ex...