text
stringlengths
3
1.05M
require 'factory_girl' RSpec.configure do |config| config.include FactoryGirl::Syntax::Methods end
case node['platform_family'] when "debian" include_recipe "ceph::apt" when "rhel", "suse" include_recipe "ceph::rpm" else raise "not supported" end
package jenkins.python.expoint; import hudson.Extension; import hudson.ExtensionList; import hudson.ExtensionPoint; import jenkins.model.Jenkins; import java.util.Collection; import java.util.Collections; import hudson.model.*; import hudson.model.TransientBuildActionFactory.*; import jenkins.python.DataConvertor; im...
// ----------------------------------------------------------------------- // Licensed to The .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // ----------------------------------------------------------------------- // This is a generated file. //...
var data = {member-me: {}}
using System; using System.Collections.Generic; using System.Linq; using EventStore.Core.Data; using EventStore.Core.Messaging; using EventStore.Projections.Core.Messages; using EventStore.Projections.Core.Services.Management; using NUnit.Framework; namespace EventStore.Projections.Core.Tests.Services.projections_mana...
.class Landroid/support/v4/widget/ListPopupWindowCompatKitKat; .super Ljava/lang/Object; .source "ListPopupWindowCompatKitKat.java" # direct methods .method constructor <init>()V .locals 0 .prologue .line 26 invoke-direct {p0}, Ljava/lang/Object;-><init>()V return-void .end method ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
if (cond) // Leading to EmptyStatement ; // Trailing to EmptyStatement
package net.floodlightcontroller.ui.web; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import org.restlet.Client; import org.restlet.Context; import org.restlet.Restlet; import org.restlet.data.Protocol; import org.restlet.resource.Directory; import org.restlet.routing.Router; impo...
QUnit.module('scrypt algorithm'); QUnit.test("check scrypt generation against https://www.grc.com/sqrl/scrypt.htm first test case", function(assert) { var done = assert.async(); // Given // When scrypt("", "", 9, 256, 32, function(result) { // Then deepEqual( result, [0xa8, 0xea, 0x62, 0xa6,...
var readInstalled = require("../read-installed.js") var test = require("tap").test var json = require("../package.json") var path = require("path") var known = [].concat(Object.keys(json.dependencies) , Object.keys(json.optionalDependencies) , Object.keys(json.devDependencies)).sort() test("make sure that it works...
<!doctype html> <meta charset="utf-8"/> <title>CodeMirror: Test Suite</title> <link rel=stylesheet href="../doc/docs.css"> <link rel="stylesheet" href="../lib/codemirror.css"> <link rel="stylesheet" href="mode_test.css"> <script src="../doc/activebookmark.js"></script> <script src="../lib/codemirror.js"></script> <sc...
/** * @fileoverview Define the abstract class about cursors which iterate tokens. * @author Toru Nagashima */ "use strict"; //------------------------------------------------------------------------------ // Exports //------------------------------------------------------------------------------ /** * The abstrac...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_60) on Tue Aug 26 20:50:07 PDT 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>Uses of Class org.a...
<?php namespace Doctrine\ORM\Persisters\Collection; use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\UnitOfWork; /** * Base class for all collection persisters. * * @since 2.0 * @author Roman Borschel <roman@code-factory.org> */ abstract class AbstractCollectionPersister implements CollectionPersister...
<?php class DepSections extends TActiveRecord { public $department_id; public $section_id; public $order; const TABLE='department_sections'; public static function finder($className=__CLASS__) { return parent::finder($className); } }
// Provides the implementation for a Message sap.ui.define(['jquery.sap.global', 'sap/ui/base/Object', './MessageProcessor'], function(jQuery, Object, library, MessageProcessor) { "use strict"; /** * * @namespace * @name sap.ui.core.message * @public */ /** * Constructor for a new Message. * @clas...
/** * @module ol/source/TileWMS */ var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p ...
public class Introduce { void foo(String str) { final String s = str; } }
/* * CKEditor will have no heading here, so top border can be show */ span.cke_skin_BootstrapCK-Skin, span.cke_skin_BootstrapCK-Skin:focus { border-top: 1px solid #DDD !important; } /* * Toolbar will always be available, so always add border */ .cke_skin_BootstrapCK-Skin .cke_contents iframe { border-top: 1px so...
package fileutil // Pull test dependencies too. // Enables easy 'go test X' after 'go get X' import ( // nothing yet )
typedef NS_ENUM(NSInteger, ActivitiesListModes) { ActivitiesListModeCurrentAthlete, ActivitiesListModeFeed, ActivitiesListModeClub }; @interface ActivitiesTableViewController : UITableViewController @property (nonatomic) NSInteger clubId; @property (nonatomic) ActivitiesListModes mode; @end
#if !(NET35 || NET20 || WINDOWS_PHONE) using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Newtonsoft.Json.Utilities { internal sealed class DynamicProxyMetaObject<T> : DynamicMetaObject { private readonly Dynami...
define(function(){ /** * Enforce a specific amount of decimal digits and also fix floating * point rounding issues. * @example `enforcePrecision(0.615, 2) -> 0.62`, `(0.615).toFixed(2) -> * 0.61` */ function enforcePrecision(val, nDecimalDigits){ var pow = Math.pow(10, nDecimalD...
<p align="center"> <img align="left" width="175" src="https://nsq.io/static/img/nsq_blue.png"> <ul> <li><strong>Source</strong>: https://github.com/nsqio/nsq <li><strong>Issues</strong>: https://github.com/nsqio/nsq/issues <li><strong>Mailing List</strong>: <a href="https://groups.google.com/d/forum/nsq-users">nsq-user...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
module Fleet class Client module State STATE_RESOURCE = 'state' def list_states(options={}) get(state_path, options) end private def state_path(*parts) resource_path(STATE_RESOURCE, *parts) end end end end
package PPI::Statement::Variable; =pod =head1 NAME PPI::Statement::Variable - Variable declaration statements =head1 SYNOPSIS # All of the following are variable declarations my $foo = 1; my ($foo, $bar) = (1, 2); our $foo = 1; local $foo; local $foo = 1; LABEL: my $foo = 1; =head1 INHERITANCE PP...
The scripts in this folder are no longer used but kept here for reference. ## Sandbox and Testing Similar to how we can generate the live demo pages, We can also snapshot all the steps into a folder `angular-phonecat-snapshots`, which then contains an additional folder called `sandbox`. This `sandbox` folder contains...
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ss = f()}})(fu...
#include "mitkContourModelSetSource.h" mitk::ContourModelSetSource::ContourModelSetSource() { // Create the output. itk::DataObject::Pointer output = this->MakeOutput(0); Superclass::SetNumberOfRequiredInputs(0); Superclass::SetNumberOfRequiredOutputs(1); Superclass::SetNthOutput(0, output); } mitk::Conto...
namespace agg { //------------------------------------------------------------------------ // Class that can be used to create an interactive control to set up // gamma arrays. //------------------------------------------------------------------------ class gamma_ctrl_impl : public ctrl { p...
<!DOCTYPE html> <html lang="en"> <head> <title>three.js webgpu - equirectangular</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <link type="text/css" rel="stylesheet" href="main.css"> </head> <body> <div id="info">...
/** * @requires OpenLayers/BaseTypes/Class.js * @requires OpenLayers/Events.js * @requires OpenLayers/Icon.js */ /** * Class: OpenLayers.Marker * Instances of OpenLayers.Marker are a combination of a * <OpenLayers.LonLat> and an <OpenLayers.Icon>. * * Markers are generally added to a special layer calle...
describe Fastlane do describe Fastlane::FastFile do describe "Backup file Integration" do tmp_path = Dir.mktmpdir let(:test_path) { "#{tmp_path}/tests/fastlane" } let(:file_path) { "file.txt" } let(:backup_path) { "#{file_path}.back" } let(:file_content) { Time.now.to_s } befo...
import sqlalchemy as sa from sqlalchemy_utils import EmailType from tests import TestCase class TestCaseInsensitiveComparator(TestCase): def create_models(self): class User(self.Base): __tablename__ = 'user' id = sa.Column(sa.Integer, primary_key=True) email = sa.Colum...
<html> <head> <script type="text/javascript" src="../../../../js/jquery-1.4.2.min.js"> </script> <script type="text/javascript" src="../../../../syntax_highlighter/scripts/shCore.js"> </script> <script type="text/jav...
package org.apache.ignite.internal.processors.platform.client.cache; import org.apache.ignite.internal.binary.BinaryRawReaderEx; import org.apache.ignite.internal.processors.platform.client.ClientBooleanResponse; import org.apache.ignite.internal.processors.platform.client.ClientConnectionContext; import org.apache....
jquery-ace ========== Adapter to use Ace with jQuery. This jquery plugin allows for easy replacement of textarea with an Ace editor instance (http://ace.ajax.org/) Simply include ace and jquery, then intialize an editor by calling: $(selector).ace(); Optionally pass in a configuration object. The default looks as f...
package org.apache.spark.sql.execution.aggregate import org.apache.spark.sql.AnalysisException import org.apache.spark.sql.catalyst.expressions._ import org.apache.spark.sql.catalyst.expressions.aggregate._ import org.apache.spark.sql.catalyst.plans.logical.Aggregate import org.apache.spark.sql.execution.SparkPlan i...
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (12.0.1) on Fri Apr 19 16:58:04 PDT 2019 --> <title>All Packages</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="dc.created" content="2019-04-19"> <link rel="stylesheet" type="text/css" href="style...
try { Object.create(function(){}); } catch (e) { assertTrue(false); }
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>thread_pool::basic_executor_type::query (5 of 6 overloads)</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="...
package org.apache.naming.java; import java.util.Hashtable; import javax.naming.Context; import javax.naming.Name; import javax.naming.NamingException; import javax.naming.spi.InitialContextFactory; import javax.naming.spi.ObjectFactory; import org.apache.naming.ContextBindings; import org.apache.naming.NamingCo...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>testcase colouring snippet from tests/table/core/backgrounds</title> </head> <body > <h5>table - color, tbodies color, row color</h5> <table style="padding:40px; background-color:orange" cellspacing="40" border> <tbody style="background-color:re...
namespace boost { namespace asio { namespace detail { template <typename Handler, typename IoExecutor> class winrt_socket_connect_op : public winrt_async_op<void> { public: BOOST_ASIO_DEFINE_HANDLER_PTR(winrt_socket_connect_op); winrt_socket_connect_op(Handler& handler, const IoExecutor& io_ex) : winrt_asyn...
namespace blink { DartGCContext::DartGCContext() : builder_(Dart_NewWeakReferenceSetBuilder()) { } DartGCContext::~DartGCContext() { } Dart_WeakReferenceSet DartGCContext::AddToSetForRoot( const void* root, Dart_WeakPersistentHandle handle) { const auto& it = references_.add(root, nullptr); if (!it.isNew...
"""Test file for syntax highlighting of editors. Meant to cover a wide range of different types of statements and expressions. Not necessarily sensical or comprehensive (assume that if one exception is highlighted that all are, for instance). Extraneous trailing whitespace can't be tested because of svn pre-commit ho...
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; namespace Hjson { /// <summary>Contains functions to load and save in the Hjson format.</summary> public static class HjsonValue { /// <summary>Loads Hj...
 #pragma warning disable 1587 // invalid XML comment /// <summary> /// APIs for creating and executing cache continuous queries. /// </summary> namespace Apache.Ignite.Core.Cache.Query.Continuous { // No-op. }
/** * */ package com.jeesuite.rest.filter; import com.jeesuite.rest.RequestHeader; /** * @description <br> * @author <a href="mailto:vakinge@gmail.com">vakin</a> * @date 2016年1月19日 * @Copyright (c) 2015, vakinge@github */ public class RequestHeaderHolder { private static ThreadLocal<RequestHeader> holder = ...
import ErrorStackParser from 'error-stack-parser'; import StackGenerator from 'stack-generator'; const generateError = function stacktrace$$generateError() { try { // Error must be thrown to get stack in IE throw new Error(); } catch (err) { return err; } }; const isShapedLikeParsa...
package org.apache.camel.model; /** * Interface to add block featuring to the XML element type. * * @version */ public interface Block { /** * Adds the given definition as output to this block * * @param processorDefinition the processor definition */ void addOutput(Pr...
package org.elasticsearch.action.bulk; import org.elasticsearch.action.DocWriteRequest; import org.elasticsearch.action.DocWriteResponse; import org.elasticsearch.action.delete.DeleteResponse; import org.elasticsearch.action.index.IndexResponse; import org.elasticsearch.action.support.replication.ReplicationResponse...
describe('Docs Syntax', function() { beforeEach(module('bootstrap')); describe('syntax', function() { var id, element, document; beforeEach(inject(function($compile, $rootScope, $document) { document = $document[0]; //create the HTML elements missing in IE8 for this directive document....
"Ruby Monk" 'April' "April" "Ruby Monk".length a = 1 b = 4 puts "The number #{a} is less than #{b}" def string_length_interpolater(incoming_string) "The string you just gave me has a length of #{incoming_string.length}" end p string_length_interpolater("house") #checking for substrings "[Luke:] I can't believe it....
.clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; } .grid-container:before, .grid-5:before, .mobile-grid-5:before, .grid-10:before, .mobile-grid-10:before, .grid-15:before, .mobile-grid-15:before, .grid-20:before, .mobile-grid-20:before, .grid-25:before, .mobi...
var vows = require('vows'); var optimizerContext = require('../test-helper').optimizerContext; vows.describe('remove duplicates') .addBatch( optimizerContext('advanced on', { 'same context': [ 'a{color:red}div{color:blue}a{color:red}', 'div{color:#00f}a{color:red}' ], 'different...
Manages system-wide and per-user [RVM][rvm]s and manages installed Rubies. Several lightweight resources and providers ([LWRP][lwrp]) are also defined. ## <a name="usage"></a> Usage ### <a name="usage-system-rubies"></a> RVM Installed System-Wide with Rubies Most likely, this is the typical case. Include `recipe[rvm...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v17.1.0 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Constants = (function () { function Constants() { ...
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8"> <title>orElse</title> <link href="../../images/logo-icon.svg" rel="icon" type="image/svg"> <script>var pathToRoot = "../../";</script> <script type="text/javascript" src="../../scripts/sourceset_depe...
#ifndef _IAS_Tools_LDAP_Handle_Connection_H_ #define _IAS_Tools_LDAP_Handle_Connection_H_ #include <commonlib/commonlib.h> #include "../myldap.h" namespace IAS { namespace Tools { namespace LDAP { namespace Handle { class QueryResult; /*************************************************************************/ /...
/** * @author Mat Groves http://matgroves.com/ @Doormat23 */ /** * The json file loader is used to load in JSON data and parse it * When loaded this class will dispatch a 'loaded' event * If loading fails this class will dispatch an 'error' event * * @class JsonLoader * @uses EventTarget * @constructor * @pa...
from os.path import join import numpy as np from third_party.xiuminglib import xiuminglib as xm from nerfactor.util import logging as logutil, io as ioutil, tensor as tutil from nerfactor.datasets.nerf_shape import Dataset as BaseDataset logger = logutil.Logger(loggee="datasets/mvs_shape") class Dataset(BaseDatase...
package gov.samhsa.acs.xdsb.common; import static gov.samhsa.acs.xdsb.common.XdsbDocumentType.DEPRECATE_PRIVACY_CONSENT; import static gov.samhsa.acs.xdsb.common.XdsbMetadataGeneratorParams.HomeCommunityId_Parameter_Name; import static gov.samhsa.acs.xdsb.common.XdsbMetadataGeneratorParams.PatientUniqueId_Parameter_N...
Spree::Sample.load_sample("products") Spree::Sample.load_sample("variants") products = {} products[:ror_baseball_jersey] = Spree::Product.find_by_name!("Ruby on Rails Baseball Jersey") products[:ror_tote] = Spree::Product.find_by_name!("Ruby on Rails Tote") products[:ror_bag] = Spree::Product.find_by_name!("Ruby on R...
package com.twitter.finagle.redis.naggati import com.twitter.conversions.time._ import com.twitter.finagle.redis.{ClientError, ServerError} import com.twitter.finagle.redis.naggati.test._ import com.twitter.finagle.redis.util._ import com.twitter.util.Time import org.jboss.netty.buffer.ChannelBuffer import com.twitter...
package ca.uhn.fhir.tinder.model; import java.util.ArrayList; import java.util.List; import ca.uhn.fhir.tinder.model.SearchParameter.Include; import edu.emory.mathcs.backport.java.util.Collections; public abstract class BaseRootType extends BaseElement { private String myId; private String myProfile; private Lis...
@implementation CollectListCell - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier { self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]; if (self) { // Initialization code } return self; } - (void)setSelected:(BOOL)selected animated:(BOO...
package org.eclipse.php.internal.ui.wizards; import java.io.*; import java.lang.reflect.InvocationTargetException; import org.eclipse.core.resources.*; import org.eclipse.core.runtime.*; import org.eclipse.core.runtime.preferences.IScopeContext; import org.eclipse.core.runtime.preferences.InstanceScope; import org.e...
 #pragma warning disable 1591 using System; using System.ComponentModel; using System.Diagnostics; using System.Xml.Serialization; using DotNetCasClient.Validation.Schema.Saml11.Assertion; namespace DotNetCasClient.Validation.Schema.Saml11.Protocol.SubjectQuery { [XmlInclude(typeof(AuthorizationDecisionQueryTyp...
#include "GrBitmapTextGeoProc.h" #include "GrInvariantOutput.h" #include "GrTexture.h" #include "gl/GrGLProcessor.h" #include "gl/GrGLSL.h" #include "gl/GrGLTexture.h" #include "gl/GrGLGeometryProcessor.h" #include "gl/builders/GrGLProgramBuilder.h" struct BitmapTextBatchTracker { GrGPInput fInputColorType; ...
package com.akexorcist.roundcornerprogressbar.example; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import com.akexorcist.roundcornerprogressbar.IconRoundCornerProgressBar; import com.akexorcist.roundcornerprogressbar....
package org.jfree.data.xy; /** * An extension of the {@link XYDataset} interface that allows a range of data * to be defined for the X values, the Y values, or both the X and Y values. * This interface is used to support (among other things) bar plots against * numerical axes. */ public interface IntervalX...
layout: post microblog: true date: 2017-05-01 07:07 +0300 guid: http://desparoz.micro.blog/2017/05/01/quick-instagram-and.html --- 🔗 Quick Instagram and Social Media Workflow Tips for Photographers — [https://fstoppers.com/apps/quick-instagram-and-social-media-workflow-tips-photographers-175166](https://fstoppers.com/...
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace PointSizedText.Droid { [Activity(Label = "PointSizedText", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | Confi...
<?php namespace Symfony\Tests\Component\Validator\Fixtures; use Symfony\Component\Validator\Constraints\NotNull; class EntityParent { protected $firstName; private $internal; /** * @NotNull */ protected $other; }
package org.apache.archiva.repository.content.maven2; import org.apache.archiva.admin.model.beans.RemoteRepository; import org.apache.archiva.model.ArtifactReference; import org.apache.archiva.model.RepositoryURL; import org.apache.archiva.repository.RemoteRepositoryContent; import org.apache.archiva.repository.layo...
<?php $testsPath = __DIR__ . '/../'; $I = new CliGuy($scenario); $I->wantTo('generate xml reports for unit tests'); $I->amInPath('tests/data/sandbox'); $I->executeCommand('run unit --xml --no-exit'); $I->seeFileFound('report.xml', 'tests/_output'); $I->seeInThisFile('<?xml'); $I->seeInThisFile('<testsuite name="unit"'...
package jodd.json.mock; import jodd.json.JSON2; @JSON2(strict = true) public class LocationAlt { @JSON2(name="lng") private int longitude; private int latitude; public int getLongitude() { return longitude; } public void setLongitude(int longitude) { this.longitude = longitude; } @JSON2(name="lat") p...
// 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.jetbrains.rest; import com.intellij.psi.tree.IElementType; import com.intellij.psi.tree.OuterLanguageElementType; /** * User : catherine */ public interface RestTo...
<?php namespace Broadway\Auditing; use Broadway\TestCase; class CommandSerializerTest extends TestCase { private $commandSerializer; private $command; public function setUp() { $this->commandSerializer = new CommandSerializer(); $this->command = new MyCommand(); } ...
// BSD License (http://www.galagosearch.org/license) package org.galagosearch.tupleflow.execution; import java.io.File; import java.io.FileOutputStream; import java.io.ObjectOutputStream; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutionException; import java.util.concurrent.Futu...
#import "RCTView.h" #import <UIKit/UIKit.h> #import "RCTComponent.h" #import "RCTPointerEvents.h" @protocol RCTAutoInsetsProtocol; @class RCTView; @interface RCTView : UIView /** * Accessibility event handlers */ @property (nonatomic, copy) RCTDirectEventBlock onAccessibilityTap; @property (nonatomic, copy) R...
title: Floating Point Precision localeTitle: Precisión de punto flotante --- ## Precisión de punto flotante Esto es un talón. [Ayuda a nuestra comunidad a expandirla](https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/number-theory/floating-point-precision/index.md) . [Esta guía rápida de estilo...
var isKind = require('./isKind'); /** */ function isFunction(val) { return isKind(val, 'Function'); } module.exports = isFunction;
package org.apache.hadoop.yarn.client.cli; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.nio.charset.Charset; import java.text.DecimalFormat; import java.util.Set; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.GnuParser; import org.a...
<?php namespace Symfony\Bundle\SecurityBundle\Tests\Functional; class SecurityRoutingIntegrationTest extends AbstractWebTestCase { /** * @dataProvider provideClientOptions */ public function testRoutingErrorIsNotExposedForProtectedResourceWhenAnonymous(array $options) { $client = $this...
FN="beta7_1.32.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.14/data/experiment/src/contrib/beta7_1.32.0.tar.gz" "https://bioarchive.galaxyproject.org/beta7_1.32.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-beta7/bioconductor-beta7_1.32.0_src_all.tar.gz" ) MD5="bf485c6095e1119ea080b099...
require 'uri' require 'open-uri' require 'json' require 'rgrb/plugin_base/generator' require 'rgrb/plugin/online_session_search/session' module RGRB module Plugin # オンラインセッション情報検索プラグイン module OnlineSessionSearch # OnlineSessionSearch の出力テキスト生成器 class Generator include PluginBase::Generat...
package com.jpixel.math.vectors; /** * Point vector (Integer). * * @author Denis Zhidkikh * @version 1.0 * @since 18.5.2013 */ public class Vec2Di { /** * Zero vector. */ public static final Vec2Di Zero = new Vec2Di(0, 0); /** * Vector coordinates. */ public int x, y; /** * Initialize vector. ...
#include "qplatformtheme.h" #include "qplatformtheme_p.h" #include <QtCore/QVariant> #include <QtCore/QStringList> #include <QtCore/qfileinfo.h> #include <qpalette.h> #include <qtextformat.h> #include <private/qiconloader_p.h> #include <private/qguiapplication_p.h> #include <qpa/qplatformintegration.h> #include <qp...
#if !defined(SPIRIT_NOT_PREDICATE_MARCH_23_2007_0618PM) #define SPIRIT_NOT_PREDICATE_MARCH_23_2007_0618PM #include <boost/spirit/home/x3/core/parser.hpp> namespace boost { namespace spirit { namespace x3 { template <typename Subject> struct not_predicate : unary_parser<Subject, not_predicate<Subject>> { ...
SUBSTANCES = { 'water' => { melting_point: 0, boiling_point: 100 }, 'ethanol' => { melting_point: -114, boiling_point: 78.37 }, 'gold' => { melting_point: 1_064, boiling_point: 2_700 }, 'silver' => { melting_point: 961.8, boiling_point: 2_162 }, 'copper' => { melting_point: 1_085, boiling_point:...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
<!DOCTYPE HTML> <html lang="en"> <head> <title>Angular Upgrade</title> <base href="/"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="styles.css"> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angul...
package prometheus // Push triggers a metric collection by the default registry and pushes all // collected metrics to the Pushgateway specified by addr. See the Pushgateway // documentation for detailed implications of the job and instance // parameter. instance can be left empty. You can use just host:port or ip:por...
require 'forwardable' require 'grpc/grpc' # GRPC contains the General RPC module. module GRPC # The BiDiCall class orchestrates exection of a BiDi stream on a client or # server. class BidiCall include Core::CallOps include Core::StatusCodes include Core::TimeConsts # Creates a BidiCall. # ...
require 'spec_helper' describe DeliveryCluster::Exceptions::AttributeNotFound do subject { described_class.new("node['delivery-cluster']") } describe '#new' do it 'is a Runtime error that accepts an attribute' do expect(subject).to be_a RuntimeError expect(subject.attr).to eql("node['delivery-clust...