text
stringlengths
3
1.05M
public class Client { public void run() { synchronized (<caret>) } }
"""Bootstrap script to clone and forward to the recipe engine tool.""" import ast import logging import os import random import re import subprocess import sys import time import traceback BOOTSTRAP_VERSION = 1 # The root of the repository relative to the directory of this file. REPO_ROOT = '' # The path of the recip...
package drds //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 //distribu...
package org.kie.pmml.commons.model.expressions; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.concurrent.atomic.AtomicReference; import org.kie.pmml.commons.model.KiePMMLExtension; import org.kie.pmml.commons.model.abstracts.AbstractKiePMMLComponent; /** * KiePMML represe...
cask "flacon" do version "9.5.1" sha256 "d5297f2cda050bc38eea89b7830e3744aadb6f5ebc58c41f876f77b0958952ec" url "https://github.com/flacon/flacon/releases/download/v#{version}/Flacon_#{version}.dmg", verified: "github.com/flacon/flacon/" name "Flacon" desc "Open source audio file encoder" homepage "ht...
/*! * \file attr_comparison.hpp * \author Andrey Semashev * \date 06.08.2010 * * \brief This header contains tools for attribute comparison in attribute-related tests. */ #ifndef BOOST_LOG_TESTS_ATTR_COMPARISON_HPP_INCLUDED_ #define BOOST_LOG_TESTS_ATTR_COMPARISON_HPP_INCLUDED_ #include <ostre...
'use strict'; var _assign = require('object-assign'); var PooledClass = require('./PooledClass'); var Transaction = require('./Transaction'); var ReactInstrumentation = require('./ReactInstrumentation'); var ReactServerUpdateQueue = require('./ReactServerUpdateQueue'); /** * Executed within the scope of the `Tran...
<?php namespace Inventory\Application\EventBus\Handler\Item\Factory; use Inventory\Application\EventBus\Handler\Item\OnItemUpdatedUpdateIndex; use Inventory\Application\Eventbus\EventBusService; use Zend\ServiceManager\FactoryInterface; use Zend\ServiceManager\ServiceLocatorInterface; /** * * @author Nguy...
package org.apache.hive.ptest.execution; import org.apache.hive.ptest.execution.conf.Host; public interface HostExecutorBuilder { public HostExecutor build(Host host); }
""" babel.messages.pofile ~~~~~~~~~~~~~~~~~~~~~ Reading and writing of files in the ``gettext`` PO (portable object) format. :copyright: (c) 2013 by the Babel Team. :license: BSD, see LICENSE for more details. """ import os import re from babel.messages.catalog import Catalog, Message from b...
.class Lcom/android/internal/telephony/gsm/VoiceMailConstants; .super Ljava/lang/Object; .source "VoiceMailConstants.java" # static fields .field static final LOG_TAG:Ljava/lang/String; = "GSM" .field static final NAME:I = 0x0 .field static final NUMBER:I = 0x1 .field static final PARTNER_VOICEMAIL_PATH:Ljava/lang...
<?php namespace Symfony\Component\HttpFoundation\Tests; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Request; class RequestTest extends \PHPUnit_Framework_TestCase { /** * @covers Sy...
/** * @module ol/source/VectorEventType */ /** * @enum {string} */ export default { /** * Triggered when a feature is added to the source. * @event module:ol/source/Vector.VectorSourceEvent#addfeature * @api */ ADDFEATURE: 'addfeature', /** * Triggered when a feature is updated. * @event m...
package com.gs.fw.common.freyaxml.generator.xsd; public class NonPositiveIntegerXsdType extends NumericXsdType { public NonPositiveIntegerXsdType(String prefix) { this.prefix = prefix; } @Override public String getJavaTypeName() { return "int"; } @Ov...
import subprocess import sys import setup_util import os def start(args, logfile, errfile): setup_util.replace_text("express/app.js", "mongodb:\/\/.*\/hello_world", "mongodb://" + args.database_host + "/hello_world") setup_util.replace_text("express/app.js", "localhost", args.database_host) try: npm(logfile...
/* Includes ------------------------------------------------------------------*/ #include "stm32l4xx_hal.h" /** @addtogroup STM32L4xx_HAL_Driver * @{ */ /** @defgroup SWPMI SWPMI * @brief HAL SWPMI module driver * @{ */ #ifdef HAL_SWPMI_MODULE_ENABLED /* Private typedef ----------------------------------...
category: Components chinese: 输入框 type: Form Controls english: Input --- A basic widget for getting the user input is a text field. Keyboard and mouse can be used for providing or changing data. ## When to Use - A user input in a form field is needed. - A search input is required. ## API ### Input | Property ...
package ru.job4j.loop; /** * Class Counter. * @author Artem Khizhniakov (mailto:artem_khizhniakov@mail.ru). * @version $Id$. * @since 25.09.2017. */ public class Counter { /** * Method returns the sum of even numbers from start to finish. * @param start . * @param finish . * @return the su...
from _ast import PyCF_ONLY_AST from sys import version_info from unittest2 import skip, skipIf, TestCase from pyflakes import messages as m, checker from pyflakes.test import harness class Test(harness.Test): def test_undefined(self): self.flakes('bar', m.UndefinedName) def test_definedInListComp(s...
namespace { const char* const kCommonSwitches[] = { "ignore-certificate-errors", "metrics-recording-only"}; #if defined(OS_LINUX) const char kEnableCrashReport[] = "enable-crash-reporter-for-testing"; #endif Status UnpackAutomationExtension(const base::FilePath& temp_dir, base::F...
<!-- ~ Copyright (c) 2015 Evolveum ~ ~ 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 o...
<?php namespace Zend\Math\Exception; /** * Invalid argument exception * * @category Zend * @package Zend_Math * @subpackage Exception */ class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface {}
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright 2018 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/licenses/LI...
namespace Kvasir { //General Purpose Operational Amplifier namespace Opamp0C0{ ///<Control Register 0 using Addr = Register::Address<0x400f5000,0xffffff3c,0x00000000,unsigned char>; ///OPAMP Mode Select enum class ModeVal { v00=0x00000000, ///<Buffer v10=0x0000...
declare module Backbone { export class RelationalModel extends Model { static extend(properties:any, classProperties?:any):any; // do not use, prefer TypeScript's extend functionality relations:any; subModelTypes:any; subModelTypeAttribute:any; initializeRelations(options:a...
class Contact < ApplicationRecord before_save :downcase_email validates :title, presence: true, length: { maximum: 140 } validates :name, presence: true, length: { maximum: 50 } VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z\d\-]+)*\.[a-z]+\z/i validates :email, presence: true, length:...
<TS language="et" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Paremkliki aadressi või sildi muutmiseks</translation> </message> <message> <source>Create a new address</source> <translat...
package cmd import ( "fmt" "log" "docker.io/go-docker/api/types" "docker.io/go-docker/api/types/versions" ampdocker "github.com/appcelerator/amp/pkg/docker" "github.com/pkg/errors" "github.com/spf13/cobra" "golang.org/x/net/context" ) type CheckOptions struct { version bool labels bool scheduling b...
/*globals require, exports */ 'use strict'; var traits = require('./traits'); exports.get = get; function get (settings) { return traits.actualise( 1, function () { return settings.forin ? 1 : 0; }, 'forin', undefined, [ 'left', 'right', 'body' ] ); }
https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers Enhancements to `GlobalEventHandlers` interface ## Handle Event https://viperhtml.js.org/hyperhtml/documentation/#essentials-6 ## Registration - `on*` events ## Lifecycle - initialize - context, events? - render - Event driven reflow...
#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AUDIO_PROCESSING_SIMULATOR_H_ #define WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AUDIO_PROCESSING_SIMULATOR_H_ #include <algorithm> #include <fstream> #include <limits> #include <memory> #include <string> #include "webrtc/base/constructormagic.h" #include "webrtc/base/optional...
{-# LANGUAGE PolyKinds, DataKinds, TemplateHaskell, TypeFamilies, GADTs, TypeOperators, RankNTypes, FlexibleContexts, UndecidableInstances, FlexibleInstances, ScopedTypeVariables, MultiParamTypeClasses, OverlappingInstances, KindSignatures #-} module Oxymoron.Scene.Attribute where import qualified Oxymoron....
<html> <head> <title>MCFileManager Example</title> <script type="text/javascript" src="js/mcfilemanager.js"></script> <style> body, input { font-family: Arial, Verdana; font-size: 11px; } h3 { font-size: 14px; } p { margin: 0; padding: 0; margin-bottom: 3px; } </style> </head> <body> <h3>Simple example</h3...
import { Component, Input, ComponentRef, ComponentFactoryResolver, ViewChild, ViewContainerRef, OnDestroy, OnChanges, SimpleChanges } from '@angular/core'; import { ExtensionService } from '../../services/extension.service'; import { ExtensionComponent } from '../../services/compon...
// Copyright (c) 2010 Travis Smith // // 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, pu...
 using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace Clifton.WebServer { /// <summary> /// Route requests to an application-defined handler. /// </summary> public class RouteHandler { protected RouteTable routeTable; ...
file(STRINGS "${SOURCE_DIR}/VERSION" VERSION) string(STRIP "${VERSION}" VERSION) #****************** Check ******************** if (NOT VERSION) MESSAGE(FATAL_ERROR "Can't get VERSION") endif() MESSAGE("VERSION is: '${VERSION}'") #****************** Output ******************** # package configure_file(${MODULE_PATH}...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Jollyany - Multi-Purpose Business Website Template</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="keywords" ...
(function() { // CommonJS require() function require(p){ var path = require.resolve(p) , mod = require.modules[path]; if (!mod) throw new Error('failed to require "' + p + '"'); if (!mod.exports) { mod.exports = {}; mod.call(mod.exports, mod, mod.exports, require.relative(path)); } ...
<?xml version="1.0" encoding="utf-8" ?> <!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. --> <!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a --> <!-- results file. ...
package org.jetbrains.java.decompiler.struct.attr; import org.jetbrains.java.decompiler.struct.consts.ConstantPool; import org.jetbrains.java.decompiler.struct.consts.LinkConstant; import org.jetbrains.java.decompiler.struct.consts.PooledConstant; import org.jetbrains.java.decompiler.util.DataInputFullStream; import ...
Lighthouse applies network throttling to emulate the ~85th percentile mobile connection speed even when run on much faster fiber connections. ## The mobile network throttling preset This is the standard recommendation for mobile throttling: - Latency: 150ms - Throughput: 1.6Mbps down / 750 Kbps up. - Packet loss: no...
package com.fincatto.documentofiscal.cte300.classes; import org.junit.Assert; import org.junit.Test; import com.fincatto.documentofiscal.cte300.classes.CTModal; public class CTModalTest { @Test public void deveRepresentarOCodigoCorretamente() { Assert.assertNull(CTModal.valueOfCodigo(null));...
package filter import ( "strings" "github.com/gobwas/glob" ) type Filter interface { Match(string) bool } // Compile takes a list of string filters and returns a Filter interface // for matching a given string against the filter list. The filter list // supports glob matching too, ie: // // f, _ := Compile([]s...
#import "BenchmarkAppDelegate.h" #import "ImageFilteringBenchmarkController.h" #import "VideoFilteringBenchmarkController.h" // The tab bar icons in this application are courtesy of Joseph Wain / glyphish.com // See the GlyphishIconLicense.txt file for more information on these icons @implementation BenchmarkAppDel...
cd "$HOME"/Documents/workspace/dotfiles/provision ansible-playbook -vv -K playbook.yml "$@"
<?php /** * Product Reviews Page * * @category Mage * @package Mage_Review * @author Magento Core Team <core@magentocommerce.com> */ class Mage_Review_Block_Product_View extends Mage_Catalog_Block_Product_View { protected $_reviewsCollection; /** * Render block HTML * * @return ...
package input import ( "github.com/Jeffail/benthos/v3/internal/component/input" "github.com/Jeffail/benthos/v3/internal/component/metrics" "github.com/Jeffail/benthos/v3/internal/docs" "github.com/Jeffail/benthos/v3/internal/interop" "github.com/Jeffail/benthos/v3/internal/log" "github.com/Jeffail/benthos/v3/int...
package org.apache.spark.network.yarn import scala.collection.JavaConverters._ import org.apache.hadoop.metrics2.MetricsRecordBuilder import org.mockito.ArgumentMatchers.{any, anyDouble, anyInt, anyLong} import org.mockito.Mockito.{mock, times, verify, when} import org.scalatest.Matchers import org.apache.spark.Spa...
local socket = require("socket") local http = require("socket.http") if not arg or not arg[1] or not arg[2] then print("luasocket cddb.lua <category> <disc-id> [<server>]") os.exit(1) end local server = arg[3] or "http://freedb.freedb.org/~cddb/cddb.cgi" function parse(body) local lines = string.gfind(bo...
exports.config = { baseUrl: 'http://localhost:5555', specs: [ 'dist/dev/**/*.e2e.js' ], exclude: [], framework: 'jasmine2', allScriptsTimeout: 110000, jasmineNodeOpts: { showTiming: true, showColors: true, isVerbose: false, includeStackTrace: false...
<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@color/bd_wallet_listitem_bg_grey2" android:state_pressed="true"/> <item android:drawable="@android:color/transparent"/> </selector>
class AddLineItemIdToSpreeInventoryUnits < ActiveRecord::Migration def change # Stores running the product-assembly extension already have a line_item_id column unless column_exists? Spree::InventoryUnit.table_name, :line_item_id add_column :spree_inventory_units, :line_item_id, :integer add_index...
<?php require_once('inc/system.php'); $h1 = "Czat"; if(empty($User['gracz'])) header("location: wyloguj.php"); if(!empty($_POST['tekst'])){ $login = vText($User['login']); $tekst = vText($_POST['tekst']); mysql_query("insert into stronghold_czat (kto, tekst, data) value ('".$login."','".$tekst."',now())"); } $...
package pkcs7 import ( "bytes" "crypto" "crypto/aes" "crypto/cipher" "crypto/des" "crypto/hmac" "crypto/rand" "crypto/rsa" "crypto/x509" "crypto/x509/pkix" "encoding/asn1" "errors" "fmt" "math/big" "sort" "time" _ "crypto/sha1" // for crypto.SHA1 ) // PKCS7 Represents a PKCS7 structure type PKCS7 st...
package fake import ( apps_v1 "k8s.io/api/apps/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" testing "k8s.io/client-go/testing" ) // FakeReplicaS...
require_relative "../vendor/backports/string" class String def undent gsub(/^[ \t]{#{(slice(/^[ \t]+/) || '').length}}/, "") end alias unindent undent # eg: # if foo then <<-EOS.undent_________________________________________________________72 # Lorem ipsum dolor sit amet, consectetur ...
package org.globus.cog.abstraction.impl.ssh.execution; import java.io.File; import org.apache.log4j.Logger; import org.globus.cog.abstraction.impl.common.AbstractDelegatedTaskHandler; import org.globus.cog.abstraction.impl.common.task.IllegalSpecException; import org.globus.cog.abstraction.impl.common.task.InvalidSec...
package metrics import ( "fmt" "math" "strconv" "time" ) func (c *Client) sendRoutine() { for { select { case pr, open := <-c.pool: if !open { return } resp, err := c.client.Do(pr.req) pr.rChan <- &poolResponse{err, resp} } } } // ConvertToFloat64 Return float64 from most numeric types ...
package org.apache.wicket.markup.resolver; import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.model.Model; import org.apache.wicket.util.value.ValueMap; /** * Mock page for testing. * * @author Chris Turner */ public class SimplePage_3 extends WebPage { private static final ...
import scala.collection.JavaConverters._ object Test extends dotty.runtime.LegacyApp { def bench(label: String)(body: => Unit): Long = { val start = System.nanoTime 0.until(10).foreach(_ => body) val end = System.nanoTime //println("%s: %s ms".format(label, (end - start) / 1000.0 / 1000.0)) ...
/*! * @file MKL27Z644 * @version 1.4 * @date 2014-09-22 * @brief Device specific configuration file for MKL27Z644 (implementation file) * * Provides a system configuration function and a global variable that contains * the system frequency. It configures the device and initializes the oscillator * (PLL) that ...
/* * 4. Write a program that compares two text files line by line * and prints the number of lines that are the same and the number * of lines that are different. Assume the files have equal number of lines. */ using System; using System.IO; using System.Linq; class CompareTwoTextFiles { static int sameLinesCoun...
package config import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" ) // GroupName is the group name used in this package const GroupName = "kubecontrollermanager.config.k8s.io" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = schema.Gr...
import py_pjsua import sys import thread # # Configurations # THIS_FILE = "pjsua_app.py" C_QUIT = 0 C_LOG_LEVEL = 4 # STUN config. # Set C_STUN_HOST to the address:port of the STUN server to enable STUN # C_STUN_HOST = "" #C_STUN_HOST = "192.168.0.2" #C_STUN_HOST = "stun.iptel.org:3478" # SIP port C_SIP_PORT = 5060 ...
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. ~ ~ WSO2 Inc. licenses this file to you 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 L...
<!DOCTYPE html> <html lang="en" ng-app="confusionApp"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must...
package org.apache.cassandra.config; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import java.lang.management.ManagementFactory; import java.lang.management.ThreadInfo; import java.lang.management.ThreadMXBean; import java.lang.reflect.Meth...
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- JBoss, Home of Professional Open Source Copyright 2015, Red Hat, Inc. and/or its affiliates, and individual contributors by the @authors tag. See the copyright.txt in the distribution for a full listing of individual contributors. Licensed...
package models // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "encoding/json" "strconv" strfmt "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" "github.com/go-openapi/errors" "github.com/go-openapi/valida...
using System; using System.IO; using NUnit.Framework; using ICSharpCode.NRefactory.Parser; using ICSharpCode.NRefactory.Parser.VB; namespace ICSharpCode.NRefactory.Tests.Lexer.VB { [TestFixture] public class CustomLexerTests { ILexer GenerateLexer(StringReader sr) { return ParserFactory.CreateLe...
#ifndef __OPENCV_CUDA_WARP_SHUFFLE_HPP__ #define __OPENCV_CUDA_WARP_SHUFFLE_HPP__ /** @file * @deprecated Use @ref cudev instead. */ //! @cond IGNORED namespace cv { namespace cuda { namespace device { template <typename T> __device__ __forceinline__ T shfl(T val, int srcLane, int width = warpSize) {...
<?php namespace Symfony\Component\Serializer\Encoder; use Symfony\Component\Serializer\Exception\UnexpectedValueException; /** * Encodes XML data. * * @author Jordi Boggiano <j.boggiano@seld.be> * @author John Wards <jwards@whiteoctober.co.uk> * @author Fabian Vogler <fabian@equivalence.ch> * @author Kévin D...
namespace Microsoft.Azure.Management.DataLake.Store.Models { /// <summary> /// Defines values for SubscriptionState. /// </summary> public static class SubscriptionState { public const string Registered = "Registered"; public const string Suspended = "Suspended"; public cons...
package com.opengamma.analytics.math.linearalgebra; import org.testng.annotations.Test; import com.opengamma.analytics.math.matrix.ColtMatrixAlgebra; import com.opengamma.analytics.math.matrix.MatrixAlgebra; import com.opengamma.util.test.TestGroup; /** * Test. */ @Test(groups = TestGroup.UNIT) public class SVDec...
<?php class Google_Service_Vision_ImageContext extends Google_Collection { protected $collection_key = 'languageHints'; public $languageHints; protected $latLongRectType = 'Google_Service_Vision_LatLongRect'; protected $latLongRectDataType = ''; public function setLanguageHints($languageHints) { $thi...
namespace System.Web.UI.MobileControls { using System; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] [Obsolet...
If you would like to contribute towards the goals of kube-aws, the easiest way to get started is to submit a pull request to the [kube-aws repository](https://github.com/kubernetes-incubator/kube-aws/), following the [contributors guide](https://github.com/kubernetes-incubator/kube-aws/blob/master/CONTRIBUTING.md). If ...
package org.jenkinsci.plugins.credentialsbinding.impl; import hudson.Extension; import hudson.FilePath; import hudson.Launcher; import hudson.model.Computer; import hudson.model.Node; import hudson.model.Run; import hudson.model.TaskListener; import java.io.IOException; import java.util.UUID; import org.jenkinsci.p...
// See http://www.boost.org for most recent version including documentation. #include <boost/static_assert.hpp> // // all these tests should fail: // // Template class scope template <class Int, class Char> struct Bill { private: // can be in private, to avoid namespace pollution BOOST_STATIC_...
module Cmsify class Text < ActiveRecord::Base validates_presence_of :content validates :slug, presence: true, uniqueness: true belongs_to :owner, polymorphic: true end end
We want to make contributing to this project as easy and transparent as possible. ## Our Development Process The majority of development on react-timer-mixin will occur through GitHub. Accordingly, the process for contributing will follow standard GitHub protocol. ## Pull Requests We actively welcome your pull reques...
#ifndef _NUTI_BALLOONPOPUPSTYLE_H_ #define _NUTI_BALLOONPOPUPSTYLE_H_ #include "styles/PopupStyle.h" #include <string> namespace Nuti { class Bitmap; /** * Margins info for balloon popup. */ class BalloonPopupMargins { public: BalloonPopupMargins(int left, int top, int right, int...
var Notify = require('../notify.js'); var Sample = require('./sample.js'); var debug = require('debug')('axm:alert:checker'); /** * Required: * opts.mode * opts.value * * Optional: * extra.name * opts.cmp * opts.interval * opts.msg * opts.sample */ var Alert = function(opts, extra) { var self = ...
using namespace clipper; const std::string LOGGING_TAG_SELECTION_POLICY_TEST = "POLICY TEST"; namespace { class DefaultOutputSelectionPolicyTest : public ::testing::Test { public: DefaultOutputSelectionPolicyTest() : state_( std::make_shared<DefaultOutputSelectionState>(Output{"4.3", {}})) {} D...
<?php namespace Drupal\Tests\language\Functional; use Drupal\Tests\BrowserTestBase; /** * Tests entity type without language support. * * This is to ensure that an entity type without language support can not * enable the language select from the content language settings page. * * @group language */ class En...
#include "secd_regressions.h" #include <securityd/SecDbItem.h> #include <utilities/array_size.h> #include <utilities/SecCFWrappers.h> #include <utilities/SecFileLocations.h> #include <utilities/fileIo.h> #include <securityd/SOSCloudCircleServer.h> #include <securityd/SecItemServer.h> #include <Security/SecBasePri...
<?php namespace Predis\Command; /** * @link http://redis.io/commands/zremrangebyscore * @author Daniele Alessandri <suppakilla@gmail.com> */ class ZSetRemoveRangeByScore extends PrefixableCommand { /** * {@inheritdoc} */ public function getId() { return 'ZREMRANGEBYSCORE'; } }
namespace base { namespace sequence_manager { class TestTaskTimeObserver : public TaskTimeObserver { public: void WillProcessTask(TimeTicks start_time) override {} void DidProcessTask(TimeTicks start_time, TimeTicks end_time) override {} }; } // namespace sequence_manager } // namespace base #endif // BASE_T...
/** * @depend times_in_words.js * @depend util/core.js * @depend match.js * @depend format.js */ /** * Assertions matching the test spy retrieval interface. * * @author Christian Johansen (christian@cjohansen.no) * @license BSD * * Copyright (c) 2010-2013 Christian Johansen */ "use strict"; (function (sino...
**Clone and run for a quick way to see an Electron in action.** This is a minimal Electron application based on the [Quick Start Guide](http://electron.atom.io/docs/latest/tutorial/quick-start) within the Electron documentation. **Use this app along with the [Electron API Demos](http://electron.atom.io/#get-started) ...
tiny node.js debugging utility modelled after node core's debugging technique. ## Installation ``` $ npm install debug ``` ## Usage With `debug` you simply invoke the exported function to generate your debug function, passing it a name which will determine if a noop function is returned, or a decorated `console....
<?php namespace ZendTest\Di\ServiceLocator; use Zend\Di\Di; use Zend\Di\Config; use Zend\Di\ServiceLocator\Generator as ContainerGenerator; use Zend\Di\Definition\BuilderDefinition as Definition; use Zend\Di\Definition\Builder; use PHPUnit_Framework_TestCase as TestCase; class GeneratorTest extends TestCase { p...
/*# sourceMappingURL=kendo.dataviz.flat.min.css.map */
class cBlockComparatorHandler : public cMetaRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03, true> { public: cBlockComparatorHandler(BLOCKTYPE a_BlockType) : cMetaRotator<cBlockHandler, 0x03, 0x00, 0x01, 0x02, 0x03, true>(a_BlockType) { } virtual bool OnUse(cChunkInterface & a_ChunkInterface, cWorldInterfa...
""" Empirical experiments of 'PAC-Bayesian Theory for Transductive Learning' (Begin et al., 2014) http://graal.ift.ulaval.ca/aistats2014/ This file contains the implementation transductive PAC-Bayesians bounds Code authors: Pascal Germain, Jean-Francis Roy Released under the Simplified BSD license """ from math im...
/* */ module.exports = require("./lib/_stream_writable");
interface JsBeautifyOptions { indent_size?: number; indent_char?: string; eol?: string; indent_level?: number; indent_with_tabs?: boolean; preserve_newlines?: boolean; max_preserve_newlines?: number; jslint_happy?: boolean; space_after_anon_function?: boolean; brace_style?: string; keep_array_inde...
from test_framework.test_framework import BitcoinTestFramework from test_framework.util import * class SignRawTransactionsTest(BitcoinTestFramework): """Tests transaction signing via RPC command "signrawtransaction".""" def __init__(self): super().__init__() self.setup_clean_chain = True ...
<?php namespace Symfony\Component\Validator\Tests\Constraints; use Symfony\Component\Validator\Validation; /** * @since 2.5.3 * @author Bernhard Schussek <bschussek@gmail.com> * @group legacy */ class LegacyLuhnValidator2Dot4ApiTest extends LuhnValidatorTest { protected function getApiVersion() { ...