text
stringlengths
3
1.05M
version: 0.9.0 title: Grundlagen --- Zum Anfang: Grundlegende Datentypen und Operationen. {% include toc.html %} ## Grundlagen ### Elixir installieren Installationsanleitungen für jedes Betriebssystem können auf elixir-lang.org unter [Installing Elixir](http://elixir-lang.org/install.html) gefunden werden. Nachde...
package container import ( "strings" "github.com/docker/docker/api/types/blkiodev" "github.com/docker/docker/api/types/mount" "github.com/docker/docker/api/types/strslice" "github.com/docker/go-connections/nat" "github.com/docker/go-units" ) // NetworkMode represents the container network stack. type NetworkMo...
<style> .modal-header { border-top-left-radius: 4px !important; border-top-right-radius: 4px !important; } </style> <button #ModalShowModal type="button" style="display:none;" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#ModalShowModalDiv"> Launch demo modal </button> ...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
define( [ 'react', 'jquery', ], function (React, $) { var NavigationMenu = React.createClass({ render: function () { return ( <aside className="main-sidebar"> {/* sidebar: style can be found in sidebar....
package org.elasticsearch.cluster.metadata; import com.carrotsearch.hppc.ObjectHashSet; import com.carrotsearch.hppc.cursors.ObjectCursor; import com.carrotsearch.hppc.cursors.ObjectObjectCursor; import org.apache.lucene.util.CollectionUtil; import org.elasticsearch.cluster.Diff; import org.elasticsearch.cluster.Dif...
package org.cytoscape.rest.internal.datamapper; public class MapperUtil { public static final Class<?> getColumnClass(final String type) { if (type.equals(Double.class.getSimpleName())) { return Double.class; } else if (type.equals(Long.class.getSimpleName())) { return Long.class; } else if (type.equals(...
package com.smsintercept.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.Button; import android.widget.TextView; import com.smsintercept.R; import com.smsintercept.activity.Ke...
var Sprint; (function() { "use strict"; var addEventListeners = function(listeners, el) { var sprintClone = Sprint(el) var events = Object.keys(listeners) var eventsLen = events.length for (var i = 0; i < eventsLen; i++) { var event = events[i] var handlers = listeners[event] ...
/* THIS FILE IS AUTOGENERATED FROM SVGSetElement.webidl BY Codegen.py - DO NOT EDIT */ #ifndef mozilla_dom_SVGSetElementBinding_h #define mozilla_dom_SVGSetElementBinding_h #include "js/RootingAPI.h" #include "jspubtd.h" #include "mozilla/ErrorResult.h" #include "mozilla/dom/BindingDeclarations.h" #include "...
package com.vitco.app.manager.help; import com.jidesoft.docking.DockableFrame; import com.jidesoft.docking.FrameContainer; import com.jidesoft.plaf.basic.BasicJideTabbedPaneUI; import com.jidesoft.swing.JideButton; import com.jidesoft.swing.JideMenu; import com.jidesoft.swing.JideSplitButton; import com.jidesoft.swing...
/* * @author max */ package com.intellij.codeInsight.daemon.impl; import com.intellij.psi.PsiClass; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiFile; import com.intellij.psi.PsiMethod; import com.intellij.psi.presentation.java.ClassPresentationUtil; import org.jetbrains.annotations.NonNls; impor...
package org.elasticsearch.painless.node; import org.elasticsearch.painless.Globals; import org.elasticsearch.painless.Locals; import org.elasticsearch.painless.Location; import org.elasticsearch.painless.MethodWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util...
package org.apache.flink.runtime.metrics.dump; import org.apache.flink.util.Preconditions; /** * A container for a dumped metric that contains the scope, name and value(s) of the metric. */ public abstract class MetricDump { /** Categories to be returned by {@link MetricDump#getCategory()} to avoid instanceof ch...
Conflict = 2
@interface UIImageCachedObject : NSObject { @public CGImageRef m_pImage; id _cacheName; float _scale; CGRect _imageStretch; } - (void)dealloc; @end
package milkyway.SaveableSerializing.Java8.Collections.Map; import milkyway.SaveableSerializing.Java8.Exceptions.CollectionsNullException; import milkyway.SaveableSerializing.Java8.Exceptions.TypeNotSupportedException; import milkyway.SaveableSerializing.Parser.SaveableData; import java.util.HashMap; import java.util...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>File: LICENSE ...
"use strict"; var resolve = require("path").resolve; exports.readFileSync = function(path) { return window.JSHintTestFixtures[resolve(path)]; };
<h3 align="center"> <a href="https://docs.fastlane.tools/actions/deliver"> <img src="https://raw.githubusercontent.com/fastlane/fastlane/master/fastlane/assets/fastlane.png" width="100" /> <br /> fastlane </a> </h3> ------ <p align="center"> <a href="https://docs.fastlane.tools/actions/deliver"> ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
import codecs import re class CrashLogs(object): PID_LINE_REGEX = re.compile(r'\s+Global\s+PID:\s+\[(?P<pid>\d+)\]') def __init__(self, host, results_directory=None): self._host = host self._results_directory = results_directory def find_newest_log(self, process_name, pid=None, include_...
============================= What's new in SQLAlchemy 0.5? ============================= .. admonition:: About this Document This document describes changes between SQLAlchemy version 0.4, last released October 12, 2008, and SQLAlchemy version 0.5, last released January 16, 2010. Document date: Augu...
import random import unittest from hearthbreaker.agents.basic_agents import PredictableAgent, DoNothingAgent from tests.agents.testing_agents import OneCardPlayingAgent, EnemySpellTestingAgent, \ CardTestingAgent, EnemyMinionSpellTestingAgent, PlayAndAttackAgent, HeroPowerAndCardPlayingAgent from hearthbreaker.con...
#include <iostream> #include <windows.h> #include <cstdio> #include <cstdint> #include <cstring> // PacketManagerClass::Build_Delta_Packet_Patch // Original: 0x0061BB30 // PacketManagerClass::Reconstruct_From_Delta // Original: 0x0061BD90 // /* NOTES: * * If the lowest bit of the delta packet header is set (*de...
Arebis.Pdf ========== .NET PDF generation library written in C# **Arebis.Pdf is now part of [the Arebis.Common repository](https://github.com/codetuner/Arebis.Common/).** Installation ------------ Install the "Arebis.Pdf" NuGet package in your .NET project. See: https://www.nuget.org/packages/Arebis.Pdf/ Source c...
namespace Limitless { class MEDIA_EXPORT SystemMediaClock:public MediaClock { public: SystemMediaClock(); virtual ~SystemMediaClock(){} //system time is reported in micro seconds virtual MediaTime internalTime(); virtual MediaTime resolution(); private: MediaTime m_startTime; MediaTime m_frequency; MediaTim...
package org.apache.camel.component.etcd; import mousio.etcd4j.responses.EtcdErrorCode; import mousio.etcd4j.responses.EtcdException; public final class EtcdHelper { private static final String OUTDATED_EVENT_MSG = "requested index is outdated and cleared"; private EtcdHelper() { } public static bo...
void *CDVNewBase64Decode( const char* inputBuffer, size_t length, size_t * outputLength); char *CDVNewBase64Encode( const void* inputBuffer, size_t length, bool separateLines, size_t * outputLength); @interface NSData (CDVBase64) + (NSData*)dataFromBase64String:(NSString*...
// Copyright Oliver Kowalke 2014. // Distributed under 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) #ifndef BOOST_CONTEXT_PREALLOCATED_H #define BOOST_CONTEXT_PREALLOCATED_H #include <cstddef> #...
module Fog module Compute class Cloudstack class Real # List private gateways # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/listPrivateGateways.html] def list_private_gateways(*args) options = {} if args[0].is...
namespace boost { namespace geometry { // Ring Identifier. It is currently: source,multi,ring struct ring_identifier { inline ring_identifier() : source_index(-1) , multi_index(-1) , ring_index(-1) {} inline ring_identifier(signed_size_type src, signed_...
package gobblin.policies.schema; import gobblin.configuration.State; import gobblin.qualitychecker.row.RowLevelPolicy; public class SchemaRowCheckPolicy extends RowLevelPolicy { public SchemaRowCheckPolicy(State state, Type type) { super(state, type); } @Override public Result executePolicy(Object re...
require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../shared/to_i', __FILE__) describe "Float#to_i" do it_behaves_like(:float_to_i, :to_i) end
/*! ========================================================= * bootstrap-slider.js * * Maintainers: * Kyle Kemp * - Twitter: @seiyria * - Github: seiyria * Rohit Kalkur * - Twitter: @Rovolutionary * - Github: rovolution * * ========================================================= * * Licensed...
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------- namespace System.ServiceModel.Routing { using System; using System.ServiceModel; using System.ServiceModel.Cha...
namespace crosapi { namespace { bool IsVolumeAvailableToLacros(const file_manager::Volume& volume) { // Use type (available only in ash-chrome) to decide whether a volume can be // used by lacros-chrome. This is needed because virtual file system support // for lacros is WIP. // TODO(crbug.com/1296438): Adjus...
var searchData= [ ['enabling_20buffer_20device_20address_0',['Enabling buffer device address',['../enabling_buffer_device_address.html',1,'index']]] ];
<header class="main_header"> <a href="{{site.baseurl}}/" class="logo">{% if site.logo %}{{site.logo}}{% else %}B<span>ef</span>{% endif %}</a> <nav class="main_menu"> <a href="{{site.baseurl}}/pages/about/">About</a> <a href="{{site.baseurl}}/pages/our_project/">Our Project</a> <a href="{{site.baseurl}}...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (c) 2007, 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 ...
<?php namespace Symfony\Component\Mime; use Egulias\EmailValidator\EmailValidator; use Egulias\EmailValidator\Validation\MessageIDValidation; use Egulias\EmailValidator\Validation\RFCValidation; use Symfony\Component\Mime\Encoder\IdnAddressEncoder; use Symfony\Component\Mime\Exception\InvalidArgumentException; use ...
 #include <aws/m2/model/DeleteApplicationRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::MainframeModernization::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteApplicationRequest::DeleteApplicationRequest() : m_applicationIdHasBeen...
class KubeAws < Formula desc "CoreOS Kubernetes on AWS" homepage "https://coreos.com/kubernetes/docs/latest/kubernetes-on-aws.html" url "https://github.com/kubernetes-incubator/kube-aws.git", :tag => "v0.12.3", :revision => "99cfc470a46e6c3c0121675ab41c01841849c077" head "https://github.com/kub...
If you want change the automatic messaging configure a task called `notify_hooks`. ```js grunt.initConfig({ // This is optional! notify_hooks: { options: { enabled: true, max_jshint_notifications: 5, // maximum number of notifications from jshint output title: "Project Name" // defaults to th...
<?php namespace Fixtures\Prophecy; class WithVirtuallyPrivateMethod { public function __toString() { return ''; } public function _getName() { } public function isAbstract() { } }
import { Serializer, UserSerializer, User } from '../../models' export function addSerializer() { return new Serializer('attachments', { select: ['id', 'fileName', 'fileSize', 'url', 'thumbnailUrl', 'imageSizes', 'mediaType', 'createdAt', 'updatedAt', 'userId', 'artist', 'title'], userId: { relation: ...
'use strict'; import { TPromise } from 'vs/base/common/winjs.base'; import { marked } from 'vs/base/common/marked/marked'; import { IDisposable, dispose, toDisposable } from 'vs/base/common/lifecycle'; import { Builder } from 'vs/base/browser/builder'; import { append, $ } from 'vs/base/browser/dom'; import { ITelem...
package edu.ttu.krlab.alm.parser; import org.antlr.v4.runtime.ParserRuleContext; import org.antlr.v4.runtime.tree.ErrorNode; import org.antlr.v4.runtime.tree.TerminalNode; import edu.ttu.krlab.alm.ALMCompiler; import edu.ttu.krlab.alm.ALMModuleManager; import edu.ttu.krlab.alm.DuplicateModuleException; impor...
// Copyright 2006 The Closure Library Authors. All Rights Reserved. // // 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...
<?php namespace Zend\Db\RowGateway\Exception; use Zend\Db\Exception; interface ExceptionInterface extends Exception\ExceptionInterface { }
<?xml version="1.0" standalone="no" ?> <!DOCTYPE pov SYSTEM "/usr/share/cgc-docs/replay.dtd"> <pov> <cbid>CROMU_00001</cbid> <replay> <read echo="ascii"><delim>\n</delim><match><data>1) Create User\n</data></match></read> <read echo="ascii"><delim>\n</delim><match><data>2) Login\n</data></match></read> <read ec...
///#source 1 1 /Scripts/jquery-1.9.1.js (function( window, undefined ) { // Can't do this because several apps including ASP.NET trace // the stack via arguments.caller.callee and Firefox dies if // you try to trace through "use strict" call chains. (#13335) // Support: Firefox 18+ //"use strict"; var // The deferr...
package api // Status can be used to query the Status endpoints type Status struct { c *Client } // Status returns a handle to the status endpoints func (c *Client) Status() *Status { return &Status{c} } // Leader is used to query for a known leader func (s *Status) LeaderWithQueryOptions(q *QueryOptions) (string,...
* banlist.dat: stores the IPs/Subnets of banned nodes * ioncoin.conf: contains configuration settings for iond or ion-qt * iond.pid: stores the process id of iond while running * blocks/blk000??.dat: block data (custom, 128 MiB per file); since 0.8.0 * blocks/rev000??.dat; block undo data (custom); since 0.8.0 (format ...
package ipv4 import "net" func (c *dgramOpt) MulticastTTL() (int, error) { // TODO(mikio): Implement this return 0, errOpNoSupport } func (c *dgramOpt) SetMulticastTTL(ttl int) error { // TODO(mikio): Implement this return errOpNoSupport } func (c *dgramOpt) MulticastInterface() (*net.Interface, error) { // TO...
require "specs.Cocos2d-x" require "Logger" Log.setLevel(LogLevel.Warning) local MediationAdConfig = require("mediation.AdConfig") local MediationAdFactory = require("mediation.AdFactory") local MediationService = require("mediation.Service") local MediationConfig = require("mediation.Config") local AdManager = requir...
package com.google.security.zynamics.reil.translators.ppc; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; @RunWith(Suite.class) @SuiteClasses({AddcDotTranslatorTest.class, AddcoDotTranslatorTest.class, AddcoTranslatorTest.class, AddcTranslatorTest.cl...
namespace { bool IsTopEdge(int component) { return component == HTTOPLEFT || component == HTTOP || component == HTTOPRIGHT; } bool IsBottomEdge(int component) { return component == HTBOTTOMLEFT || component == HTBOTTOM || component == HTBOTTOMRIGHT; } bool IsRightEdge(int comp...
package org.knowm.xchange.utils; import static org.fest.assertions.api.Assertions.assertThat; import java.math.BigDecimal; import org.junit.Test; /** * Tests various BigDecimal and BigDecimal behavior */ public class BigDecimalTest { @Test public void test() { int BTC_VOLUME_AND_AMOUNT_INT_2_DECIMAL_FAC...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="shortcut icon" type="image/x-icon" href="../../../favicon.ico" /> <title>Pri...
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Orleans.Runtime; namespace Orleans { /// <summary> /// Observable lifecycle /// Notes: /// - Single use,...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using AdamsLair.WinForms.Drawing; namespace AdamsLair.WinForms.TimelineControls { public class TimelineViewEventArgs : EventArgs { private TimelineView view = null; public TimelineView View { get {...
#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_UI_SCROLLABLE_MESSAGE_RESPONSE_H_ #define SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_UI_SCROLLABLE_MESSAGE_RESPONSE_H_ #include "application_manager/command...
require 'rubygems' # Set up gems listed in the Gemfile. ENV['BUNDLE_GEMFILE'] ||= File.expand_path(File.join('..', '..', 'Gemfile'), __FILE__) require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) require 'yaml' require 'csv' require 'rails/commands/server' module Rails class Server def default_optio...
(function () { "use strict"; /** * Emit an event on the given element. * * @param {HTMLElement} element - DOM element to trigger the event on. * @param {String} eventName - Name of the triggered event. * @param {Object} [data={}] - Custom data to attach to the event. * @private */ function...
<?php namespace Anand\LaravelPaytmWallet\Contracts; interface Provider { /** * Return raw response. * * @return object */ public function response(); }
<?php /** * Uses google's cpplint.py to check code. RocksDB team forked this file from * phabricator's /src/lint/linter/ArcanistCpplintLinter.php, and customized it * for its own use. * * You can get it here: * http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py * @group linter */ final class ...
class Browser; class Profile; namespace chrome { class BrowserListObserver; } // Maintains a list of Browser objects present in a given HostDesktop (see // HostDesktopType). class BrowserList { public: typedef std::vector<Browser*> BrowserVector; typedef BrowserVector::const_iterator const_iterator; typedef Br...
<?php /** * @see Zend_Validate_Barcode_AdapterAbstract */ require_once 'Zend/Validate/Barcode/AdapterAbstract.php'; /** * @category Zend * @package Zend_Validate * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd ...
namespace Microsoft.OData.Edm.Expressions { /// <summary> /// Represents a reference to an EDM labeled expression. /// </summary> public interface IEdmLabeledExpressionReferenceExpression : IEdmExpression { /// <summary> /// Gets the referenced expression. /// </su...
.wp-full-overlay-sidebar { overflow: visible; } /** * Hide all sidebar sections by default, only show them (via JS) once the * preview loads and we know whether the sidebars are used in the template. */ .control-section.control-section-sidebar, .customize-control-sidebar_widgets label, .customize-control-sidebar_...
package whisk.core.database.test import scala.concurrent.duration.DurationInt import scala.io.Source import org.scalatest.Matchers import org.scalatest.concurrent.IntegrationPatience import org.scalatest.concurrent.ScalaFutures import akka.actor.ActorSystem import common.WaitFor import common.WhiskProperties impor...
void init_xml_cdata(); extern VALUE cNokogiriXmlCData; #endif
<?xml version="1.0" encoding="iso-8859-1"?> <!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" xml:lang="en" lang="en"> <head> <title>Module: Erubis::CGenerator</title> <meta http-equiv="Con...
import { Component, DebugElement } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { SelectComponent, Option } from './select.component'; const options = [ { title: 'Option A', value: 'option-a' }, { title: 'Option B', ...
(function (root, factory) { if (typeof define === 'function' && define.amd) { define(factory); } else if (typeof exports === 'object') { module.exports = factory(); } else { root.PhotoSwipe = factory(); } })(this, function () { 'use strict'; var PhotoSwipe = function(template, UiClass, items, options){ ...
<?php namespace Swapshop\Controllers\Api; use Swapshop\User; class UserController extends \BaseController { public function getListings($id) { if(is_numeric($id)) { $user = User::with('listings')->find($id); } else { $user = User::with('litsings')->where('username', $id)-first(); } $listings ...
#ifndef TENSORFLOW_PLATFORM_HEXAGON_SOC_INTERFACE_H_ #define TENSORFLOW_PLATFORM_HEXAGON_SOC_INTERFACE_H_ // Declaration of APIs provided by hexagon shared library. This header is shared // with both hexagon library built with qualcomm SDK and tensorflow. // All functions defined here must have prefix "soc_interface...
export default function(element) { var style = element.getAttribute('style'); style = style.toUpperCase(); // IE8 keeps this is uppercase, so lets just upcase them all if (style !== '' && style.slice(-1) !== ';') { style += ';'; // IE8 drops the trailing so lets add it back } return style; }
#import "SDWebImageDownloader.h" #import "SDWebImageDownloaderOperation.h" #import <ImageIO/ImageIO.h> static NSString *const kProgressCallbackKey = @"progress"; static NSString *const kCompletedCallbackKey = @"completed"; @interface SDWebImageDownloader () @property (strong, nonatomic) NSOperationQueue *downloadQ...
package cache import ( "encoding/json" "errors" "fmt" "time" "github.com/golang/glog" "github.com/hashicorp/golang-lru" kapi "k8s.io/kubernetes/pkg/api" kerrs "k8s.io/kubernetes/pkg/api/errors" "k8s.io/kubernetes/pkg/util" "k8s.io/kubernetes/pkg/util/sets" "github.com/openshift/origin/pkg/authorization/a...
package io.gravitee.repository.jdbc.management; import org.springframework.jdbc.core.RowCallbackHandler; import org.springframework.jdbc.core.RowMapper; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collection; import java.util.List; import static ...
<?php use DevGroup\DataStructure\propertyHandler\RelatedEntity; use yii\db\Migration; class m160629_130358_related_entity extends Migration { public function up() { $this->insert( '{{%property_handlers}}', [ 'name' => 'Related entity', 'class_nam...
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2008 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...
<head> <title>Check that form feed is not a separator space</title> <meta name="viewport" content="width=&#x0c;device-width"> </head> <body></body>
from __future__ import division import numpy as np import scipy.sparse as sp from numpy.testing import assert_array_almost_equal from sklearn.utils.random import sample_without_replacement from sklearn.utils.random import random_choice_csc from sklearn.utils.fixes import comb from sklearn.utils.testing import ( a...
function usage { echo "Usage: installer.sh CONFIGURATION_FILE" echo "No configuration file provided or it does not exist" exit } function check_space_exists { EXISTS=$(cf spaces | grep -x "${1}\ *" | wc -l) echo $EXISTS } function check_service_exists { EXISTS=$(echo "$SERVICES_RES" | grep -w ${1} | wc -l...
package main import ( "os" "path/filepath" "testing" ) var authTests = []struct { netrc string cookiefile string user string password string cookieName string cookieValue string died bool }{ { // If we specify the empty string here, git will store an empty // value for the loca...
package org.testng.remote.adapter; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.util.Properties; import org.testng.ISuite; import org.testng.internal.Utils; import org.testng.remote.ConnectionInfo; import org.testng.xml.XmlSuite; /** * Default Slave ad...
/*global self, document, DOMException */ /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */ // Full polyfill for browsers with no classList support if (!("classList" in document.createElement("_"))) { (function (view) { "use strict"; if (!('Element' in view)) return; var ...
package main import ( "context" "flag" "os" "strings" "github.com/google/gapid/core/app" "github.com/google/gapid/core/log" "github.com/google/gapid/test/robot/search/script" "github.com/google/gapid/test/robot/stash" ) func init() { verb := &app.Verb{ Name: "search", ShortHelp: "Prints information...
#include "config.h" #include "SetSelectionCommand.h" #include "Document.h" #include "Frame.h" namespace WebCore { SetSelectionCommand::SetSelectionCommand(const VisibleSelection& selection, FrameSelection::SetSelectionOptions options) : SimpleEditCommand(selection.base().anchorNode()->document()) , m_optio...
rockgo is a wrapper for [RocksDB](http://rocksdb.org) ## Building You will need the shared library build of [RocksDB](https://github.com/facebook/rocksdb) installed on your machine. The current RocksDB version does not build the shared library by default, to build the shared library: make librocksdb.so If the ...
/** * @author TristanVALCKE / https://github.com/Itee */ /* global QUnit */ import { TextureLoader } from '../../../../src/loaders/TextureLoader'; export default QUnit.module( 'Loaders', () => { QUnit.module( 'TextureLoader', () => { // INSTANCING QUnit.todo( "Instancing", ( assert ) => { assert.ok( fals...
MongoDB\Driver\Manager::executeCommand() cannot combine session with unacknowledged write concern --SKIPIF-- <?php require __DIR__ . "/../utils/basic-skipif.inc"; ?> <?php skip_if_not_libmongoc_crypto(); ?> <?php skip_if_not_live(); ?> <?php skip_if_server_version('<', '3.6'); ?> --FILE-- <?php require_once __DIR__ . "...
<?php namespace Doctrine\ORM\Tools\Console\Command\SchemaTool; use Symfony\Component\Console\Input\InputArgument, Symfony\Component\Console\Input\InputOption, Symfony\Component\Console\Input\InputInterface, Symfony\Component\Console\Output\OutputInterface, Doctrine\ORM\Tools\SchemaTool; /** * Comma...
from setuptools import setup, find_packages import os version = '1.1.dev0' def read(*rnames): return open(os.path.join(os.path.dirname(__file__), *rnames)).read() long_description = ( read('README.rst') + '\n' + read('js', 'blocksit', 'test_blocksit.rst') + '\n' + read('CHANGES.rst')) setup...
package com.graphhopper.routing.util.parsers; import com.graphhopper.reader.ReaderWay; import com.graphhopper.routing.ev.DecimalEncodedValue; import com.graphhopper.routing.util.parsers.helpers.OSMValueExtractor; import com.graphhopper.storage.IntsRef; import java.util.Collections; public class OSMMaxAxleLoadParser...
module.exports = ["$stateProvider", "$urlRouterProvider", function ($stateProvider, $urlRouterProvider) { $stateProvider .state("main", { url: "/main", template: require("./layouts/application.html") }); $urlRouterProvider.otherwise("/main"); }];
package org.apache.hadoop.nfs.nfs3.response; import org.apache.hadoop.nfs.nfs3.FileHandle; import org.apache.hadoop.nfs.nfs3.Nfs3FileAttributes; import org.apache.hadoop.nfs.nfs3.Nfs3Status; import org.apache.hadoop.oncrpc.XDR; import org.apache.hadoop.oncrpc.security.Verifier; /** * FSSTAT3 Response */ public cla...