text
stringlengths
3
1.05M
package integration_test import ( "runtime" "strings" . "github.com/onsi/ginkgo" "github.com/onsi/ginkgo/types" . "github.com/onsi/gomega" "github.com/onsi/gomega/gbytes" "github.com/onsi/gomega/gexec" ) var _ = Describe("Running Specs", func() { var pathToTest string Context("when pointed at the current d...
<?php namespace Symfony\Component\Security\Core\Authorization; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; /** * AccessDecisionManagerInterface makes authorization decisions. * * @author Fabien Potencier <fabien@symfony.com> */ interface AccessDecisionManagerInterface { /** ...
<component name="libraryTable"> <library name="iH-codingDemo node_modules" type="javaScript"> <properties> <option name="frameworkName" value="node_modules" /> <sourceFilesUrls> <item url="file://$PROJECT_DIR$/node_modules" /> </sourceFilesUrls> </properties> <CLASSES> <roo...
'use strict'; /* https://github.com/angular/protractor/blob/master/docs/toc.md */ describe('my app', function() { browser.get('index.html'); it('should automatically redirect to /view1 when location hash/fragment is empty', function() { expect(browser.getLocationAbsUrl()).toMatch("/view1"); }); descri...
define("dojox/geo/openlayers/TouchInteractionSupport",["dojo/_base/declare","dojo/_base/connect","dojo/_base/html","dojo/_base/lang","dojo/_base/event","dojo/_base/window"],function(_1,_2,_3,_4,_5,_6){ return _1("dojox.geo.openlayers.TouchInteractionSupport",null,{_map:null,_centerTouchLocation:null,_touchMoveListener:...
#include "VariableListDeltaTracker.h" using namespace RakNet; VariableListDeltaTracker::VariableListDeltaTracker() {nextWriteIndex=0;} VariableListDeltaTracker::~VariableListDeltaTracker() { unsigned int i; for (i=0; i < variableList.Size(); i++) rakFree_Ex(variableList[i].lastData,_FILE_AND_LINE_); ...
// 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; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Roslyn.Utilities; namespace Microsoft.CodeAnaly...
#ifndef __OPENCV_VIDEOSTAB_INPAINTINT_HPP__ #define __OPENCV_VIDEOSTAB_INPAINTINT_HPP__ #include <vector> #include "opencv2/core/core.hpp" #include "opencv2/videostab/optical_flow.hpp" #include "opencv2/videostab/fast_marching.hpp" #include "opencv2/photo/photo.hpp" namespace cv { namespace videostab { class CV_EX...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (c) 2013 Les Hazlewood and contributors ~ ~ 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/lic...
$().siblings([selector]) returns the siblings of each element in the collection, filtered by the optional selector Let's look at the following html structure ```html <div id="siblingstest1"> <div id='siblingtestgc1' class="siblingstest"> <div id='siblingtestgc3' class="siblingsgcstest">GC</div> </div...
package org.lumongo; /** * Created by mdavis on 4/24/16. */ public class DefaultAnalyzers { public static final String KEYWORD = "keyword"; public static final String LC_KEYWORD = "lcKeyword"; public static final String LC_CONCAT_ALL = "lcConcatAll"; public static final String STANDARD = "standard"; public stat...
package org.wso2.carbon.event.ws.internal.exception; public class EventBrokerException extends Exception { public EventBrokerException() { } public EventBrokerException(String message) { super(message); } public EventBrokerException(String message, Throwable cause) { super(messa...
package org.jetbrains.plugins.gradle.service.project; import com.intellij.openapi.externalSystem.model.DataNode; import com.intellij.openapi.externalSystem.model.Key; import com.intellij.openapi.externalSystem.model.ProjectKeys; import com.intellij.openapi.externalSystem.model.project.*; import com.intellij.openapi.e...
<h1>Samples</h1> <md-autocomplete md-selected-item="selectedItem" md-search-text="searchText" md-items="item in getMatches(searchText)" md-item-text="item.display"> <span md-highlight-text="searchText">{{item.display}}</span> </md-autocomplete> <md-autocomplete md-selected-item="selectedItem" md-search-text="search...
'use strict'; var os = require('os'); function homedir() { var env = process.env; var home = env.HOME; var user = env.LOGNAME || env.USER || env.LNAME || env.USERNAME; if (process.platform === 'win32') { return env.USERPROFILE || env.HOMEDRIVE + env.HOMEPATH || home || null; } if (process.platform === 'darwi...
import datetime, os from sqlalchemy import * from sqlalchemy import event from sqlalchemy import sql, util from sqlalchemy.orm import * from sqlalchemy.ext.horizontal_shard import ShardedSession from sqlalchemy.sql import operators from sqlalchemy import pool from sqlalchemy.testing import fixtures from sqlalchemy impo...
package pl.newicom.dddd.test.dummy import akka.actor.ActorRef import pl.newicom.dddd.actor.PassivationConfig import pl.newicom.dddd.aggregate.AggregateRootSupport.{Reaction, Reject, RejectConditionally} import pl.newicom.dddd.aggregate._ import pl.newicom.dddd.persistence.{RegularSnapshotting, RegularSnapshottingConfi...
<?php namespace Symfony\Component\Filesystem; use Symfony\Component\Filesystem\Exception\FileNotFoundException; use Symfony\Component\Filesystem\Exception\InvalidArgumentException; use Symfony\Component\Filesystem\Exception\IOException; /** * Provides basic utility to manipulate the file system. * * @author Fab...
docker build -t hadoop hadoop
package com.alibaba.ttl.threadpool.agent.transformlet.internal; import org.junit.Test; import java.util.HashMap; import java.util.Map; import static org.junit.Assert.fail; public class UtilsTest { @Test public void test_get_unboxing_boolean_fromMap() { Map<String, Object> map = new HashMap<String, O...
package com.asakusafw.testdata.generator.excel; import static org.hamcrest.Matchers.*; import static org.junit.Assert.*; import java.util.Arrays; import java.util.List; import org.apache.poi.ss.SpreadsheetVersion; import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Workbook; import org.juni...
#ifndef JITWriteBarrier_h #define JITWriteBarrier_h #if ENABLE(JIT) #include "MacroAssembler.h" #include "SlotVisitor.h" #include "UnusedPointer.h" #include "WriteBarrier.h" namespace JSC { class JSCell; class VM; // Needs to be even to appease some of the backends. #define JITWriteBarrierFlag ((void*)2) class J...
<div class="sheet-shaped-row"> <div class="sheet-col-39 sheet-vert-middle sheet-pad-r-sm"> <input class="sheet-pseudo-disabled" type="text" name="attr_repeating_weapons_melee_{{num}}_name"> </div> <div class="sheet-col-07 sheet-vert-middle sheet-pad-r-sm"> <input class="sheet-center sheet-pseudo-disabled ...
// Namespace var mejs = mejs || {}; // version number mejs.version = '2.0.6'; // player number (for missing, same id attr) mejs.meIndex = 0; // media types accepted by plugins mejs.plugins = { silverlight: [ {version: [3,0], types: ['video/mp4','video/m4v','video/mov','video/wmv','audio/wma','audio/m4a','audio/m...
'use strict'; exports.isIterable = isIterable; exports.isArrayLike = isArrayLike; exports.isCollection = isCollection; exports.getIterator = getIterator; exports.getIteratorMethod = getIteratorMethod; exports.createIterator = createIterator; exports.forEach = forEach; exports.isAsyncIterable = isAsyncIterable; exports...
package org.pentaho.di.repository; import java.io.File; import java.io.FileOutputStream; import java.io.FilenameFilter; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.List; import junit.framework.TestCase; import org.apache.commons.v...
<?php namespace JMS\SecurityExtraBundle\Tests\Security\Authorization\Interception; use JMS\SecurityExtraBundle\Security\Authentication\Token\RunAsUserToken; use Symfony\Component\Security\Core\Exception\AuthenticationException; use JMS\SecurityExtraBundle\Security\Authorization\Interception\MethodSecurityInterceptor;...
"""A RunConfig subclass with TPU support.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import collections import json import os import numpy as np from tensorflow.contrib.tpu.python.tpu import util as util_lib from tensorflow.core.protobuf import co...
package com.opengamma.sesame.marketdata.scenarios; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Sets; import com.opengamma.analytics.financial.model.interestrate.curve.YieldAndDiscountCurve; import com.opengamma.sesame.MulticurveBundle; import com.opengamma.sesame.marketdata.MarketD...
#ifndef InjectedBundle_h #define InjectedBundle_h #include "AccessibilityController.h" #include "EventSendingController.h" #include "GCController.h" #include "TestRunner.h" #include "TextInputController.h" #include <WebKit2/WKBase.h> #include <WebKit2/WKRetainPtr.h> #include <sstream> #include <wtf/Forward.h> #inclu...
package kubeadm import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) type EnvParams struct { KubernetesDir string HostPKIPath string HostEtcdPath string HyperkubeImage string RepositoryPrefix string DiscoveryImage string EtcdImage string } type MasterConfiguration struct { metav...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["VueMaterial"] = factory(); else root["V...
<?php final class PhabricatorConfigManagementListWorkflow extends PhabricatorConfigManagementWorkflow { protected function didConstruct() { $this ->setName('list') ->setExamples('**list**') ->setSynopsis('List all configuration keys.'); } public function execute(PhutilArgumentParser $ar...
package hudson.util; import java.io.IOException; import java.io.OutputStream; /** * @author Kohsuke Kawaguchi */ public class DualOutputStream extends OutputStream { private final OutputStream lhs,rhs; public DualOutputStream(OutputStream lhs, OutputStream rhs) { this.lhs = lhs; this.rhs =...
// A set of common functions needed by cmd/kubectl and pkg/kubectl packages. package kubectl import ( "fmt" "strings" "github.com/GoogleCloudPlatform/kubernetes/pkg/api" "github.com/GoogleCloudPlatform/kubernetes/pkg/api/meta" "github.com/GoogleCloudPlatform/kubernetes/pkg/labels" ) const kubectlAnnotationPre...
namespace chromeos { static NetworkHandler* g_network_handler = NULL; NetworkHandler::NetworkHandler() : message_loop_(base::MessageLoopProxy::current()) { CHECK(DBusThreadManager::IsInitialized()); network_event_log::Initialize(); network_state_handler_.reset(new NetworkStateHandler()); network_device_...
require 'securerandom' module Sorcery module Model # This module encapsulates the logic for temporary token. # A temporary token is created to identify a user in scenarios # such as reseting password and activating the user by email. module TemporaryToken def self.included(base) base.ex...
package hudson.model; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSortedSet; import hudson.AbortException; import hudson.EnvVars; import hudson.FilePath; import hudson.Functions; import hudson.Launcher; import jenkins.scm.RunWithSCM; import jenkins.util.SystemProperties; ...
/* * 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...
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!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/html; charset=UTF-8" /> <title>filte...
@interface CommonMarkBlockReferenceMap : NSObject @end
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content"> <TextView android:id="@+id/Name" android:layout_width="match_parent" android:layout_height="100...
A conversion project to update retro gamepads (NES,SNES,Mega Drive,etc.) for use on PCs.
<?php final class PhabricatorBadgesQuality extends Phobject { const POOR = 140; const COMMON = 120; const UNCOMMON = 100; const RARE = 80; const EPIC = 60; const LEGENDARY = 40; const HEIRLOOM = 20; const DEFAULT_QUALITY = 140; public static function getQualityName($quality) { $map = self::g...
/** * Created by dllo on 17/9/1. */ import React from 'react' import ReactDOM from 'react-dom' import App from './App' import '../../assets/styles/feedlist.styl' import '../../assets/styles/read.styl' import '../../assets/styles/Footer.styl' import '../../assets/styles/Up.styl' ReactDOM.render( <App />, document....
import itertools import numpy as np from pyspark import SparkContext from pyspark import since, keyword_only from pyspark.ml import Estimator, Model from pyspark.ml.param import Params, Param, TypeConverters from pyspark.ml.param.shared import HasSeed from pyspark.ml.wrapper import JavaParams from pyspark.sql.function...
#include "tensorflow/stream_executor/timer.h" #include "tensorflow/stream_executor/platform/port.h" #include "tensorflow/stream_executor/platform.h" #include "tensorflow/stream_executor/platform/logging.h" #include "tensorflow/stream_executor/stream_executor.h" #include "tensorflow/stream_executor/stream_executor_i...
static const int ddLogLevel = LOG_LEVEL_VERBOSE; // Log level for robbie (debug) #elif defined(DEBUG) static const int ddLogLevel = LOG_LEVEL_INFO; // Log level for other team members (debug) #else static const int ddLogLevel = LOG_LEVEL_WARN; // Log level for release build #endif @implementation AppDeleg...
from pants.bin import pants_loader if __name__ == "__main__": pants_loader.main()
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>jsast: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
package org.apache.hadoop.mapreduce.lib.join; import java.io.IOException; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import junit.extensions.TestSetup; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.f...
package node import ( "fmt" "sync" "github.com/golang/glog" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" utilruntime "k8s.io/apimachinery/pkg/util/runtime" kapi "k8s.io/kubernetes/pkg/apis/core" kapihelper "k8s.io/kubernetes/pkg/apis/core/helper" networkapi "github.com/openshift/api/network/v1" "github.co...
<component name="libraryTable"> <library name="espresso-idling-resource-2.2.2"> <CLASSES> <root url="file://D:/AndroidSDK/platform-tools/.android/build-cache/caf68619bdb4862ebeeb557c5bc78ac75e70dd84/output/res" /> <root url="jar://D:/AndroidSDK/platform-tools/.android/build-cache/caf68619bdb4862ebeeb5...
// Copyright 2009 the Sputnik authors. All rights reserved. /** * Operator x % y returns ToNumber(x) % ToNumber(y) * * @path ch11/11.5/11.5.3/S11.5.3_A3_T2.4.js * @description Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined */ //CHECK#1 if (isNaN(1 % undef...
import numpy as np import librosa import librosa.display def cut_signal( audio, Thresh = 0.1, mode = 'proxy',reach = 2000, number_lobes = 2): """Extracts relevant parts ofn audio signal. The Thresh i nput value defines the sensitivity of the cut, its value has to be positive. Two modes can ...
<component name="libraryTable"> <library name="exposed-instrumentation-api-publish-0.5"> <CLASSES> <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test/exposed-instrumentation-api-publish/0.5/jars/classes.jar!/" /> <root url="file://$PROJECT_DIR$/app/build/inter...
package com.commonsware.android.fonts; import android.app.Activity; import android.graphics.Typeface; import android.os.Bundle; import android.os.Environment; import android.view.View; import android.widget.TextView; import java.io.File; public class FontSampler extends Activity { @Override public void onCreate...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2014 Tirasa 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 appl...
<?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:digits="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> <LinearLayout style="@style/dgts__Container" ...
<?php ///////////////////////////////////////////////////////////////// /// getID3() by James Heinrich <info@getid3.org> // // available at http://getid3.sourceforge.net // // or http://www.getid3.org // //////////////////////////////////////////////////...
package im.actor.server.persist.sequence import slick.driver.PostgresDriver.api._ import im.actor.server.models class SeqUpdateTable(tag: Tag) extends Table[models.sequence.SeqUpdate](tag, "seq_updates_ngen") { def authId = column[Long]("auth_id", O.PrimaryKey) def timestamp = column[Long]("timestamp") def s...
""" Internationalization support. """ from django.utils.encoding import force_unicode from django.utils.functional import lazy, curry __all__ = ['gettext', 'gettext_noop', 'gettext_lazy', 'ngettext', 'ngettext_lazy', 'string_concat', 'activate', 'deactivate', 'get_language', 'get_language_bidi', 'get_...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.remote; import com.intellij.openapi.util.NlsSafe; import com.intellij.remote.ext.CredentialsManager; import com.intellij.util.PathMappingSettings; import org...
<?php require_once 'Zend/Gdata/Calendar/EventEntry.php'; require_once 'Zend/Gdata/Calendar.php'; /** * @category Zend * @package Zend_Gdata_Calendar * @subpackage UnitTests * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license...
var $def = require('./$.def'); $def($def.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});
YUI.add('dataschema-base', function (Y, NAME) { /** * The DataSchema utility provides a common configurable interface for widgets to * apply a given schema to a variety of data. * * @module dataschema * @main dataschema */ /** * Provides the base DataSchema implementation, which can be extended to * create ...
// Package unversioned is deprecated and has been replaced with pkg/apis/meta/v1 // // DEPRECATED - Do not reference or add types to this package, it will be removed // once Heapster is updated to use pkg/apis/meta/v1. package unversioned // TypeMeta describes an individual object in an API response or request // wi...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" > <!-- This is comment number 1.--> <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>hc_staff</title><script type="text/javascript" src="selfhtml.js"></script><script charset="UTF-8" type=...
import * as React from 'react'; import PropTypes from 'prop-types'; import Tabs from '@mui/material/Tabs'; import Tab from '@mui/material/Tab'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; function TabPanel(props) { const { children, value, index, ...other } = props; ret...
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <script src="../../resources/js-test.js"></script> </head> <body> <p id="description"></p> <div id="console"></div> <script src="script-tests/SVGRect.js"></script> </body> </html>
import pytest from app import APP, auth from helper import login, create_api_creds, get_auth_api # get test user TEST_USER = APP.config['TEST_USER'] @pytest.mark.parametrize('test_user, status_code', [ (TEST_USER[0], 200), (TEST_USER[1], 401)]) def test_valid_users_and_groups(client, test_user, status_code...
import type { Locale } from '../types' import formatDistance from './_lib/formatDistance/index' import formatLong from './_lib/formatLong/index' import formatRelative from './_lib/formatRelative/index' import localize from './_lib/localize/index' import match from './_lib/match/index' /** * @type {Locale} * @categor...
NS_ASSUME_NONNULL_BEGIN @interface GTReflogEntry () /// Initializes the receiver with the underlying reflog entry. Designated initializer. /// /// entry - The reflog entry. Cannot be NULL. /// reflog - The reflog in which the entry resides. Cannot be nil. /// /// Returns the initialized object. - (instancetype _Null...
namespace content { using webcrypto::Status; namespace { // --------------------- // Threading // --------------------- // // WebCrypto operations can be slow. For instance generating an RSA key can // seconds. // // Moreover the underlying crypto libraries are not threadsafe when operating // on the same key. // //...
package io.swagger.client.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import io.swagger.client.model.CardAction; import io.swagger.client.model.CardImage; import java.util.ArrayList; impor...
from __future__ import print_function print("foo")
/* Portable version of strrchr(). This function is in the public domain. */ /* @deftypefn Supplemental char* strrchr (const char *@var{s}, int @var{c}) Returns a pointer to the last occurrence of the character @var{c} in the string @var{s}, or @code{NULL} if not found. If @var{c} is itself the null character, th...
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2003 - 2010 The eFaps Team 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 requ...
import * as names from "starwars-names"; const allNames = names.all; const randomName = names.random(); const threeRandomNames = names.random(3);
"""Tests for tensorflow_text.python.tools.wordpiece_vocab.wordpiece_tokenizer_learner_lib.""" from absl.testing import absltest import tensorflow as tf from tensorflow_text.tools.wordpiece_vocab import bert_vocab_from_dataset class BertVocabFromDatasetTest(absltest.TestCase): def test_smoke(self): ds = tf.da...
<?xml version="1.0" encoding="UTF-8"?> <recipeml version="0.5"> <recipe> <head> <title>Baked Ice Cream</title> <categories> <cat>Dessert</cat></categories> <yield>4</yield></head> <ingredients> <ing-div> <title/> <ing> <amt> ...
package course.examples.ui.tablayout; import java.util.ArrayList; import java.util.Arrays; import android.app.ActionBar; import android.app.ActionBar.Tab; import android.app.Activity; import android.app.Fragment; import android.app.FragmentTransaction; import android.os.Bundle; import android.util.Log; public class ...
Changes ======= dev (master) ++++++++++++ * Fix performance regression when using PyOpenSSL. (Issue #626) * Dev: Added test suite for AppEngine. (Issue #631) * Passing incorrect scheme (e.g. ``foo://``) will raise ``ValueError`` instead of ``AssertionError`` (backwards compatible for now, but please migrate). (...
package org.apache.camel.component.aws.firehose; import java.util.Map; import com.amazonaws.SdkClientException; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSCredentialsProvider; import com.amazonaws.auth.AWSStaticCredentialsProvider; import com.amazonaws.auth.BasicAWSCredentials; import com...
'use strict'; const utils = require('../../utils'); const ruleName = utils.namespace('declaration-block-property-groups-structure'); function rule() { return function (root, result) { result.warn( ( `"${ruleName}" has been removed in 0.4. Instead use "${utils.namespace('properties-order')}" rule.` ), ...
#import "NSObject.h" @class MPAVItem, MPTimeMarker; @interface MPAVItemTimeMarkerEvent : NSObject { MPAVItem *_AVItem; MPTimeMarker *_chapterMarker; MPTimeMarker *_artworkMarker; MPTimeMarker *_URLMarker; MPTimeMarker *_closedCaptionMarker; } @property(retain, nonatomic) MPTimeMarker *closedCap...
require 'spec_helper' # DEPRECATION NOTE # This code only remains to support users still operating with # Open Source Chef Server 11 and should be removed once support # for OSC 11 ends. New development should occur in user_delete_spec.rb. describe Chef::Knife::OscUserDelete do before(:each) do Chef::Knife::Osc...
struct variable { std::string key; std::string value; bool resolved; // has the variable been completely parsed? }; #endif // __VARIABLE_H__
@interface FLEXRuntimeBrowserToolbar () @property (nonatomic, copy) FLEXKBToolbarAction tapHandler; @end @implementation FLEXRuntimeBrowserToolbar + (instancetype)toolbarWithHandler:(FLEXKBToolbarAction)tapHandler suggestions:(NSArray<NSString *> *)suggestions { NSArray *buttons = [self buttonsForKeyPath:...
//-*- Mode: C++ -*- // $Id: AliHLTJETConeFinder.h $ #ifndef ALIHLTJETCONEFINDER_H #define ALIHLTJETCONEFINDER_H /** @file AliHLTJETConeFinder.h @author Jochen Thaeder @date @brief Jet cone finder */ // see below for class documentation // or // refer to README to build package // or // visit ht...
'use strict'; var element = document.createElement('style'); document.head.appendChild(element); var inject; var eject; function injectOldIe(css) { element.styleSheet.cssText = css; } function injectStandard(css) { while (element.hasChildNodes()) { // Just want to make sure that the CSS passed in, i...
package com.google.gson.functional; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonParseException; import com.google.gson.JsonPrimitive; import ...
function showAlert(e) { alert('Alloy.CFG.someValue = ' + Alloy.CFG.someValue); } $.index.open();
package capabilities // Set represents a set of capabilities. type Set map[string]struct{} // Match tries to match set with caps, which is an OR list of AND lists of capabilities. // The matched AND list of capabilities is returned; or nil if none are matched. func (set Set) Match(caps [][]string) []string { if set ...
<?php class Issue498Test extends PHPUnit_Framework_TestCase { /** * @test * @dataProvider shouldBeTrueDataProvider * @group falseOnly */ public function shouldBeTrue($testData) { $this->assertTrue(true); } /** * @test * @dataProvider shouldBeFalseDataProvide...
docker build -t microcrawler .
package com.navercorp.pinpoint.web.mapper.stat.sampling.sampler; import com.navercorp.pinpoint.common.server.bo.stat.join.JoinTransactionBo; import com.navercorp.pinpoint.web.vo.stat.AggreJoinTransactionBo; import org.junit.Test; import java.util.ArrayList; import java.util.List; import static org.junit.Assert.*; ...
namespace Scene { // FXAA: Fast Approximate Anti-Aliasing // http://developer.download.nvidia.com/assets/gamedev/files/sdk/11/FXAA_WhitePaper.pdf class FXAAComponent : public Rendering::RenderPostProcess { private: typedef Rendering::RenderPostProcess Parent; protected: Graph...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>jQuery Mobile Docs - Configuring default settings</title> <link rel="stylesheet" href="../../css/themes/default/jquery.mobile-1.2.0.css" /> <link rel="stylesheet" href="../_assets/css/...
import unittest from ..mat import MatIO from .... import examples as pysal_examples from ...FileIO import FileIO as psopen import tempfile import os import warnings class test_MatIO(unittest.TestCase): def setUp(self): self.test_file = test_file = pysal_examples.get_path('spat-sym-us.mat') self.ob...