text
stringlengths
3
1.05M
<!doctype> <link type="text/css" rel="stylesheet" href="../src/css/graph.css"> <link type="text/css" rel="stylesheet" href="../src/css/legend.css"> <link type="text/css" rel="stylesheet" href="css/extensions.css"> <script src="../vendor/d3.v2.js"></script> <script src="../rickshaw.min.js"></script> <script src="https...
#ifndef __TARGET_DEBUGCONFIG_H #define __TARGET_DEBUGCONFIG_H #define DEBUG_UART 2 #endif
(function () { var defs = {}; // id -> {dependencies, definition, instance (possibly undefined)} // Used when there is no 'main' module. // The name is probably (hopefully) unique so minification removes for releases. var register_3795 = function (id) { var module = dem(id); var fragments = id.split('.'); var t...
package main import ( "fmt" "io/ioutil" "os" "os/exec" "path/filepath" "reflect" "sort" "strings" "github.com/go-check/check" ) // save a repo using gz compression and try to load it using stdout func (s *DockerSuite) TestSaveXzAndLoadRepoStdout(c *check.C) { runCmd := exec.Command(dockerBinary, "run", "-d...
/** * @module ol/ImageBase */ import EventTarget from './events/Target.js'; import EventType from './events/EventType.js'; import {abstract} from './util.js'; /** * @abstract */ class ImageBase extends EventTarget { /** * @param {import("./extent.js").Extent} extent Extent. * @param {number|undefined} reso...
<?xml version="1.0" encoding="utf-8"?> <StoreAssociation xmlns="http://schemas.microsoft.com/appx/2010/storeassociation"> <Publisher>CN=4B89ED43-2C38-4903-9436-87B359C3677D</Publisher> <PublisherDisplayName>Mikazuki</PublisherDisplayName> <GeneratePackageHash>http://www.w3.org/2001/04/xmlenc#sha256</GeneratePack...
import collections import inspect import copy import itertools import qiime2.sdk from .grammar import TypeExp, UnionExp from .meta import TypeVarExp from .collection import List, Set from .primitive import infer_primitive_type from .visualization import Visualization from . import meta from .util import is_semantic_ty...
import createServerRenderer from './createServerRenderer' export {createServerRenderer}
var VectorCanvas = function (width, height, params) { this.mode = window.SVGAngle ? 'svg' : 'vml'; this.params = params; if (this.mode === 'svg') { this.createSvgNode = function (nodeName) { return document.createElementNS(this.svgns, nodeName); }; } else { try { if (!document.namespace...
/* file name: sfwdchit.cpp * encoding: US-ASCII * tab size: 8 (not used) * indentation:4 */ #include "sfwdchit.h" #include "unicode/ustring.h" #include "unicode/unistr.h" #include "uhash.h" #include "cmemory.h" // A hash code of kInvalidHashCode indicates that the has code needs // to be computed. A has...
// Type definitions for Globalize // Project: https://github.com/jquery/globalize // Definitions by: Grégoire Castre <https://github.com/gcastre/>, Aram Taieb <https://github.com/afromogli/> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // Note: You'll need the cldr.js definition file to use the g...
#import <Foundation/Foundation.h> #import "RNSVGPath.h" @interface RNSVGCircle : RNSVGPath @property (nonatomic, strong) NSString* cx; @property (nonatomic, strong) NSString* cy; @property (nonatomic, strong) NSString* r; @end
// 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.Collections.Immutable; namespace Microsoft.CodeAnalysis.CodeFixes { /// <summary> /// CodeFixProvider factory. if an analyzer reference...
package org.elasticsearch.benchmark.scripts.score.script; import org.elasticsearch.common.Nullable; import org.elasticsearch.script.AbstractSearchScript; import org.elasticsearch.script.ExecutableScript; import org.elasticsearch.script.NativeScriptFactory; import java.util.Map; public class NativeConstantScoreScri...
package pager import ( "context" "fmt" "reflect" "testing" "k8s.io/apimachinery/pkg/api/errors" metainternalversion "k8s.io/apimachinery/pkg/apis/meta/internalversion" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1beta1 "k8s.io/apimachinery/pkg/apis/meta/v1beta1" "k8s.io/apimachinery/pkg/runtime" ) ...
'use strict'; angular.module('gallerybutler').factory('Mediums', function($q, $http, $resource, endpoint) { var mediums = []; return { loadAll: function() { return $q(function(resolve) { var promises = []; promises.push($http.get(endpoint + '/mediums').success(function(data) { data.urls.forEach(f...
@Version("1.0.0") package org.apache.sling.scripting.sightly.pojo; import aQute.bnd.annotation.Version;
static_ CMockMethodCall<resultType>& prefix Expected_##name() \ { \ CMockMethodCall<resultType>* mockMethodCall = \ new CMockMethodCall<resultType>(_T(#name), 0, NULL); \ RECORD_EXPECTED_##STATIC_##MOCK_CALL(mockMethodCall); \ return *mockMethodCall; \ } \ static_ resultType prefix name() \ { \ ...
namespace boost { namespace fusion { struct void_; struct set_tag; struct set_iterator_tag; template < typename T0 = void_ , typename T1 = void_ , typename T2 = void_ , typename T3 = void_ , typename T4 = void_ , typename T5 = void_ , typename T6 = void_ , typename T7 = void_ , typename T8 = vo...
<?php if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"])) exit("Do not access this file directly."); ?> <optgroup label="<?php echo esc_attr (_x ("Currency", "s2member-admin", "s2member")); ?>"> <option value="AED">AED: United Arab Emirates Dirham</option> <option value="AFN">AFN: Afghan Afghani</opti...
package com.amazonaws.services.xray.model.transform; import java.util.Map; import java.util.List; import javax.annotation.Generated; import com.amazonaws.SdkClientException; import com.amazonaws.services.xray.model.*; import com.amazonaws.protocol.*; import com.amazonaws.annotation.SdkInternalApi; /** * TraceSumm...
(function(a){var c=a.mo.OPTYPES;var b=a.TEXCLASS;MathJax.Hub.Insert(a.mo.prototype,{OPTABLE:{infix:{"\u2B45":c.RELSTRETCH,"\u2B46":c.RELSTRETCH}}});MathJax.Ajax.loadComplete(a.optableDir+"/MiscSymbolsAndArrows.js")})(MathJax.ElementJax.mml);
var r1 = null + null; var r2 = null + undefined; var r3 = undefined + null; var r4 = undefined + undefined;
class GitAnnexRemoteRclone < Formula desc "Use rclone supported cloud storage with git-annex" homepage "https://github.com/DanielDent/git-annex-remote-rclone" url "https://github.com/DanielDent/git-annex-remote-rclone/archive/v0.6.tar.gz" sha256 "fb9bb77c6dd30dad4966926af87f63be92ef442cfeabcfd02202c657f40439d0"...
#import "PFObjectFileCoder.h" #import "PFJSONSerialization.h" #import "PFObjectFileCodingLogic.h" #import "PFObjectPrivate.h" #import "PFObjectState.h" @implementation PFObjectFileCoder ///-------------------------------------- #pragma mark - Encode ///-------------------------------------- + (NSData *)dataFromOb...
GitHubCalendar(".calendar", "IonicaBizau");
/* * jsTreeGrid 0.6 * http://jsorm.com/ * * Dual licensed under the MIT and GPL licenses (same as jQuery): * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Created for Tufin www.tufin.com * Contributed to public source through the good offices of Tufin * * ...
package org.apache.ignite.spi.deployment.uri; import java.io.File; import java.io.FilenameFilter; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.List; import org.apache.ignite.IgniteLogger; import org.apache.ignite.spi.IgniteSpiException; /** * Factory clas...
module WEBrick module HTTPAuth ## # User database mixin for HTTPAuth. This mixin dispatches user record # access to the underlying auth_type for this database. module UserDB ## # The authentication type. # # WEBrick::HTTPAuth::BasicAuth or WEBrick::HTTPAuth::DigestAuth are ...
layout: article title: "Скрытие пользовательского интерфейса браузера" description: "Ваши пользователи могут добавить ваш сайт на начальный экран без использования специального кода, однако рекомендуется, чтобы при запуске с начального экрана ваше веб-приложение отображалось без пользовательского интерфейса браузера (т...
<?php namespace Symfony\Component\Finder\Tests\Iterator; use Symfony\Component\Finder\Iterator\DateRangeFilterIterator; use Symfony\Component\Finder\Comparator\DateComparator; class DateRangeFilterIteratorTest extends RealIteratorTestCase { /** * @dataProvider getAcceptData */ public function tes...
@protocol Context - (void) operate; @end @protocol A - (void) use: (nonnull void(^)(__nonnull id)) callback; @end @protocol B<A> @end @protocol C<A> - (void) use: (nonnull void(^)(__nonnull id<Context>)) callback; @end @protocol D<B, C> @end @interface NSObject @end @interface Widget : NSObject<D> @end
// Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "checkpoints.h" #include "chainparams.h" #include "main.h" #include "uint256.h" #include <stdint.h> #include <boost/fo...
package com.sequenceiq.it.cloudbreak.action.v1.distrox; import java.util.Arrays; import java.util.HashSet; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.sequenceiq.cloudbreak.api.endpoint.v4.autoscales.request.InstanceGroupAdjustmentV4Request; import com.sequenceiq.cloudbreak.api.endpoint.v4.au...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2014 IUH €yber$oft 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 req...
license: > 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 "L...
// The vprintf_stderr_common function triggers this error in the Mac build. // Feel free to remove this pragma if this file builds on Mac. // According to http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas // we need to place this directive before any data or functions are defined....
package pagination import ( "github.com/astaxie/beego/context" ) // Instantiates a Paginator and assigns it to context.Input.Data["paginator"]. func SetPaginator(context *context.Context, per int, nums int64) (paginator *Paginator) { paginator = NewPaginator(context.Request, per, nums) context.Input.Data["paginato...
require 'spec_helper' describe UsersController do let(:user) { create(:user, username: 'user1', name: 'User 1', email: 'user1@gitlab.com') } before do sign_in(user) end describe 'GET #show' do render_views it 'renders the show template' do get :show, username: user.username expect...
'use strict'; /* global log4javascript */ var log = log4javascript.getDefaultLogger(); var consoleAppender = new log4javascript.BrowserConsoleAppender(); log.removeAllAppenders(); log.addAppender(consoleAppender); consoleAppender.setThreshold(log4javascript.Level.DEBUG); log.setLevel(log4javascript.Level.DEBUG); log.tr...
package system import ( "github.com/docker/docker/cli" "github.com/docker/docker/cli/command" "github.com/docker/docker/cli/command/formatter" "github.com/spf13/cobra" "golang.org/x/net/context" ) type diskUsageOptions struct { verbose bool } // NewDiskUsageCommand creates a new cobra.Command for `docker df` f...
package addons import ( "fmt" "net" "runtime" "k8s.io/api/core/v1" extensions "k8s.io/api/extensions/v1beta1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" kuberuntime "k8s.io/apimachinery/pkg/runtime" clientset "k8s.io/client-go/kubernetes" kubeadmapi "k8s.i...
package stringutil import ( "fmt" "github.com/wallclockbuilder/testify/assert" "testing" ) func ExampleRstrip(){ fmt.Println(Rstrip(" hello ")) // Output: hello } func TestRstrip(t *testing.T) { assert := assert.New(t) assert.Equal(" hello", Rstrip(" hello ")) }
#ifndef StringReference_h #define StringReference_h #include <wtf/Forward.h> #include <wtf/HashTraits.h> namespace CoreIPC { class ArgumentEncoder; class ArgumentDecoder; class StringReference { public: StringReference() : m_data(0) , m_size(0) { } StringReference(const char* data...
local map, section, net = ... local peeraddr, ipaddr, ttl, tos, df, mtu, tunlink peeraddr = section:taboption("general", Value, "peeraddr", translate("Remote IPv4 address or FQDN"), translate("The IPv4 address or the fully-qualified domain name of the remote tunnel end.")) peeraddr.optional = false peeraddr.datatype ...
// Copyright (C) 2005-2006 Douglas Gregor <doug.gregor -at- gmail.com> // Copyright (C) 2004 The Trustees of Indiana University // Use, modification and distribution is subject to the Boost Software // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // ...
from __future__ import unicode_literals, division, absolute_import import argparse import string import random import yaml from flexget import options from flexget.entry import Entry from flexget.event import event @event('manager.subcommand.inject') def do_cli(manager, options): entry = Entry(title=options.titl...
#if !defined(SPIRIT_AND_PREDICATE_MARCH_23_2007_0617PM) #define SPIRIT_AND_PREDICATE_MARCH_23_2007_0617PM #if defined(_MSC_VER) #pragma once #endif #include <boost/spirit/home/qi/domain.hpp> #include <boost/spirit/home/qi/meta_compiler.hpp> #include <boost/spirit/home/qi/parser.hpp> #include <boost/spirit/home/qi/de...
/* * 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...
namespace boost { namespace concepts { namespace detail { // Here we implement the metafunction that detects whether a // constraints metafunction exists typedef char yes; typedef char (&no)[2]; template <class Model, void (Model::*)()> struct wrap_constraints {}; #if BOOST_WORKAROUND(__SUNPRO_CC, <= 0...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Chosen: A jQuery Plugin by Harvest to Tame Unwieldy Select Boxes</title> <link rel="stylesheet" href="chosen-docsupport/style.css"> <link href="../css/zui.min.css" rel="stylesheet"> <link href="../../assets/chosen/css/chosen.css" rel="style...
module ShopifyAPI class PaymentDetails < Base end end
<?php CroogoRouter::connect('/full_calendar', array('plugin' => 'full_calendar', 'controller' => 'full_calendar', 'action' => 'index')); ?>
<?php namespace Doctrine\Tests; class DbalFunctionalTestCase extends DbalTestCase { /** * Shared connection when a TestCase is run alone (outside of it's functional suite) * * @var \Doctrine\DBAL\Connection */ private static $_sharedConn; /** * @var \Doctrine\DBAL\Connection ...
/ enhancedKeyUsages; @property (readonly) BOOL hasPrivateKey; @property (readonly) BOOL isStronglyProtected; @property (readonly) NSString * issuer; @property (readonly) id<NSFastEnumeration> /*UInt8*/ serialNumber; @property (readonly) NSString * subject; @property (readonly) WFDateTime * validFrom; @property (reado...
#include "tensorflow/core/distributed_runtime/server_lib.h" #include <unordered_map> #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/platform/mutex.h" namespace tensorflow { namespace { mutex* get_server_factory_lock() { static mutex server_factory_lock(LINKER_INITIALIZED); return &serv...
package org.apache.camel.component.metrics.routepolicy; import java.util.concurrent.TimeUnit; import com.codahale.metrics.MetricRegistry; import org.apache.camel.CamelContext; import org.apache.camel.NamedNode; import org.apache.camel.spi.RoutePolicy; import org.apache.camel.spi.RoutePolicyFactory; /** * A {@link ...
<?php namespace JeeraAPI\V1\Rest\Sathish; class SathishResourceFactory { public function __invoke($services) { $mapper = $services->get('JeeraAPI\V1\Rest\Sathish\SathishMapper'); return new SathishResource($mapper); } }
"use strict"; Cu.import("resource://gre/modules/AddonManager.jsm"); Cu.import("resource://services-sync/engines/addons.js"); Cu.import("resource://services-sync/constants.js"); Cu.import("resource://services-sync/service.js"); Cu.import("resource://services-sync/util.js"); loadAddonTestFunctions(); startupManager()...
phpunit --testdox-html php://stdout BankAccountTest ../_files/BankAccountTest.php --FILE-- <?php $_SERVER['argv'][1] = '--no-configuration'; $_SERVER['argv'][2] = '--testdox-html'; $_SERVER['argv'][3] = 'php://stdout'; $_SERVER['argv'][4] = 'BankAccountTest'; $_SERVER['argv'][5] = dirname(__FILE__).'/../_files/BankAcco...
package edu.jhu.library; import junit.framework.TestCase; import org.dbunit.database.IDatabaseConnection; /** * Created by IntelliJ IDEA. * User: esm * Date: May 17, 2008 * Time: 11:28:04 AM * To change this template use File | Settings | File Templates. */ public class Mjavadoc180Test extends TestCase { ...
// This file was automatically generated by informer-gen package internalversion import ( reflect "reflect" sync "sync" time "time" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" cache "k8s.io/client-go/tools/cache" intern...
describe("Ext.Element.insertion", function() { var el, span, child1, child2, child3; beforeEach(function() { el = Ext.getBody().createChild({ id: 'ExtElementHelper', children: [ {id: 'child1'}, {id: 'child2'}, {id: 'child3'} ...
package org.apache.camel.processor; import org.apache.camel.CamelExecutionException; import org.apache.camel.ContextTestSupport; import org.apache.camel.builder.RouteBuilder; /** * @version */ public class SimpleTryThrowExceptionFinallyTest extends ContextTestSupport { public void testSimpleTryThrowException...
cask :v1 => 'fontstand' do version :latest sha256 :no_check url 'https://fontstand.com/application/download', :user_agent => :fake name 'Fontstand' homepage 'https://fontstand.com/' license :gratis app 'Fontstand.app' postflight do suppress_move_to_applications end end
package org.sakaiproject.test.section; import junit.framework.Assert; import org.sakaiproject.component.section.sakai.SectionManagerImpl; import org.sakaiproject.section.api.SectionManager; import org.sakaiproject.section.api.SectionManager.ExternalIntegrationConfig; import org.sakaiproject.section.api.coursemanagem...
This is a concrete class which generates a thread-aware VM and threaded FFI CogVM for Unix. This VM is normally known as CogMTVM. Fore more information, check the class comments of all the superclasses.
@interface EXPExpect : NSObject { EXPIdBlock _actualBlock; id _testCase; int _lineNumber; char *_fileName; BOOL _negative; BOOL _asynchronous; } @property(nonatomic, copy) EXPIdBlock actualBlock; @property(nonatomic, readonly) id actual; @property(nonatomic, assign) id testCase; @property(nonatomic) int li...
/* * This file has been commented to support Visual Studio Intellisense. * You should not use this file at runtime inside the browser--it is only * intended to be used only for design-time IntelliSense. Please use the * standard jQuery library for all production use. * * Comment version: 1.4.1a */ /*! * jQuer...
<?xml version="1.0" encoding="UTF-8"?> <Context antiJARLocking="true" path="/highcharts-export"/>
title: Query and Visualize data from Databricks name: Databricks logo: /assets/images/integrations/databricks_logo.png path: /data-sources/databricks ---
#import <objcthemis/scomparator.h> #import <objcthemis/serror.h> @interface TSComparator () @property (nonatomic) secure_comparator_t * comparator; @end @implementation TSComparator - (nullable instancetype)initWithMessageToCompare:(NSData *)message { self = [super init]; if (self) { self.compa...
#pragma once #include <cstdint> #include <string> namespace apache { namespace thrift { namespace tutorial { namespace sort { int util_parse_port(const char* value, uint16_t* port); int util_parse_host_port(const char* value, std::string* host, uint16_t* port); int util_resolve_host(const std::string& host, std::s...
#ifndef SCHEINERMAN_STREAM_PROVIDERS_DYNAMIC_GROUP_H #define SCHEINERMAN_STREAM_PROVIDERS_DYNAMIC_GROUP_H #include "StreamProvider.h" #include "../Utility.h" #include <vector> namespace stream { namespace provider { template<typename T> class DynamicGroup : public StreamProvider<std::vector<T>> { public: Dynam...
FROM balenalib/jetson-xavier-nx-devkit-seeed-2mic-hat-ubuntu:hirsute-build ENV NODE_VERSION 16.14.0 ENV YARN_VERSION 1.22.4 RUN for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \ gpg --key...
(async function() { TestRunner.addResult(`Tests TextUtils.TextUtils.splitStringByRegexes.\n`); TestRunner.runTestSuite([ function testSimple(next) { var regexes = [/hello/g, /[0-9]+/g]; var results = TextUtils.TextUtils.splitStringByRegexes('hello123hello123', regexes); dumpResults(results);...
import { MonoTypeOperatorFunction } from '../types'; /** * Skip the last `count` values emitted by the source Observable. * * ![](skipLast.png) * * `skipLast` returns an Observable that accumulates a queue with a length * enough to store the first `count` values. As more values are received, * values are taken f...
<sect1 id="zend.service.introduction"> <title>Úvod</title> <para> <code>Zend_Service</code> je abstraktní třída, která poskytuje základ pro implementaci webových služeb jako je SOAP nebo REST. </para> <para> Pokud potřebuje podporu obecných REST služeb založených na XML, můžete ...
/*! * CLDR JavaScript Library v0.3.11 2014-12-03T12:00Z MIT license © Rafael Xavier * http://git.io/h4lmVg */ (function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. define( [ "../cldr" ], factory ); } else if ( typeof module === "object" && typeof module.exports === "object" ) { ...
<!DOCTYPE html> <title>Collapsed borders of large cells</title> <link rel="author" title="Aleks Totic" href="atotic@chromium.org" /> <link rel="help" href="https://www.w3.org/TR/css-tables-3/#drawing-backgrounds-and-borders" /> <link rel="match" href="collapsed-border-large-cell-ref.html" /> <meta name="assert" content...
// // FifthViewController.m // FadingViewDeck // // Created by Kireto on 4/28/14. // Copyright (c) 2014 No Name. All rights reserved. // #import "FifthViewController.h" #import "AppDelegate.h" #import "FadingMenuNavigationController.h" @interface FifthViewController () @end @implementation FifthViewController ...
package unix import ( "syscall" "unsafe" ) func setTimespec(sec, nsec int64) Timespec { return Timespec{Sec: sec, Nsec: nsec} } func setTimeval(sec, usec int64) Timeval { return Timeval{Sec: sec, Usec: usec} } func SetKevent(k *Kevent_t, fd, mode, flags int) { k.Ident = uint64(fd) k.Filter = int16(mode) k.Fl...
@interface MeterSensor : Sensor { } @end
FN="illuminaHumanv3.db_1.26.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.14/data/annotation/src/contrib/illuminaHumanv3.db_1.26.0.tar.gz" "https://bioarchive.galaxyproject.org/illuminaHumanv3.db_1.26.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-illuminahumanv3.db/bioconductor-illumina...
import os import subprocess from chainer import computational_graph from chainer import configuration from chainer.training import extension from chainer.utils import argument from chainer import variable def is_return_code_zero(args): """Return `True` if the return code of the given command is zero. Al...
package features import ( "k8s.io/contrib/mungegithub/github" "github.com/spf13/cobra" ) const ( // GCSFeature is how mungers should indicate this is required. GCSFeature = "google-cloud-storage" ) // GCSInfo is a struct that handles parameters required by GCS to // read log files and determine the status of ...
package com.iluwatar.pageobject; import java.awt.Desktop; import java.io.File; import java.io.IOException; /** * Page Object pattern wraps an UI component with an application specific API allowing you to * manipulate the UI elements without having to dig around with the underlying UI technology used. * This is e...
<?xml version="1.0" encoding="UTF-8" ?> <ldml> <identity> <version number="$Revision: 1.93 $"/> <generation date="$Date: 2009/06/15 03:46:25 $"/> <language type="be"/> </identity> <localeDisplayNames> <localeDisplayPattern> <localePattern>{0} ({1})</localePattern> <localeSeparator>, </localeSeparator> ...
.oo-ui-icon-edit { background-image: /* @embed */ url(themes/apex/images/icons/edit-rtl.png); } .oo-ui-icon-editLock { background-image: /* @embed */ url(themes/apex/images/icons/editLock-rtl.png); } .oo-ui-icon-editUndo { background-image: /* @embed */ url(themes/apex/images/icons/editUndo-rtl.png); } .oo-ui-icon-...
<div> Eine "cross site request forgery" (CSRF/XSRF), zu deutsch etwa "Site-übergreifende Aufruf-Manipulation", ist ein Angriff auf ein Computersystem, bei dem der Angreifer unberechtigt Daten in einer Webanwendung verändert. Im Falle von Hudson würde dies Unbefugten etwa erlauben, Jobs und Builds zu löschen ode...
import pytest @pytest.fixture def resources(plan_runner): _, resources = plan_runner() return resources def test_resource_count(resources): "Test number of resources created." assert len(resources) == 2 def test_iam(resources): "Test IAM binding resources." bindings = [r['values'] for r in resources i...
<!DOCTYPE html> <html> <head> <title>uniform-dimensions-sk</title> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> </head> <body class="body-sk"> <h1>uniform-dimensions-sk</h1> <unifo...
class Bubo : public Nan::ObjectWrap { public: static void Init(v8::Handle<v8::Object> exports); static NAN_METHOD(New); static Nan::Persistent<v8::Function> constructor; private: explicit Bubo(); ~Bubo(); NAN_METHOD(Initialize); JS_METHOD_DECL(Add); JS_METHOD_DECL(Contains); JS_ME...
namespace DevOps.Portal.Core.Application.UltraBuild { public class UltraBuildModel { public UltraBuildModel() { VisualStudio = new CreateVisualStudioSolution(); } public CreateGitLabProject GitLab { get; set; } public CreateVisualStudioSolution VisualStudio ...
#ifndef BOOST_POLYGON_POLYGON_SET_VIEW_HPP #define BOOST_POLYGON_POLYGON_SET_VIEW_HPP namespace boost { namespace polygon{ template <typename coordinate_type> inline void polygon_set_data<coordinate_type>::clean() const { if(dirty_) { //polygon_45_set_data<coordinate_type> tmp; //very i...
package validation import ( "fmt" "reflect" "strings" "unicode" "unicode/utf8" "k8s.io/apiextensions-apiserver/pkg/apihelpers" structuraldefaulting "k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting" apiequality "k8s.io/apimachinery/pkg/api/equality" genericvalidation "k8s.io/apimachinery/pkg/...
package openstack import ( "errors" "github.com/rackspace/gophercloud" "github.com/rackspace/gophercloud/openstack/compute/v2/servers" "github.com/rackspace/gophercloud/openstack/networking/v2/extensions/layer3/routers" neutronports "github.com/rackspace/gophercloud/openstack/networking/v2/ports" "github.com...
'use strict'; (function() { describe('MEAN controllers', function() { describe('HeaderController', function() { beforeEach(function() { module('mean'); module('mean.system'); }); var scope, HeaderController; beforeEach(inject(function($controller, $rootScope) { s...
package suffix
import sys has_pytest = False #there is the difference between 1.3.4 and 2.0.2 versions #Since version 1.4, the testing tool "py.test" is part of its own pytest distribution. try: import pytest has_pytest = True except: try: import py except: raise NameError("No py.test runner found in selected interpr...