text
stringlengths
3
1.05M
var $export = require('./$.export'); $export($export.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});
class AddClosedAtToIssues < ActiveRecord::Migration DOWNTIME = false def change add_column :issues, :closed_at, :datetime end end
FROM fedora:27 COPY google-cloud-sdk.sh /etc/yum.repos.d/google-cloud-sdk.repo ARG GCLOUD_VERSION RUN dnf update -y && dnf install -y java-9-openjdk-headless google-cloud-sdk-${GCLOUD_VERSION} curl maven git golang awscli ARG GITHUB_TOKEN COPY kc /usr/local/bin/kc RUN curl -SsfL https://storage.googleapis.com/kuber...
/***************************************************************************** sink.cpp - This is the implementation file for the synchronous process "sink". Original Author: Rashmi Goswami, Synopsys, Inc. *****************************************************************************/ ...
var convert = require('./convert'); module.exports = convert('create', require('../create'));
/// <reference path='fourslash.ts' /> //// function f(templateStrings, x, y, z) { return 10; } //// function g(templateStrings, x, y, z) { return ""; } //// //// f ` ${ 123 } /*1*/${ } /*2*/\/*3*/ //// /*4*/\\/*5*/ //// /*6*/\\\/*7*/ //// /*8*/ test.markers().forEach(m => { goTo.position(m.posit...
/** * @author Marc Mosko, Palo Alto Research Center (Xerox PARC) * @copyright 2013-2015, Xerox Corporation (Xerox)and Palo Alto Research Center (PARC). All rights reserved. * */ #include <config.h> #include <stdio.h> #include <pthread.h> #include <string.h> #include <strings.h> #include <netinet/in.h> #include ...
const keystone = require('keystone'); const Types = keystone.Field.Types; var Subscriber = new keystone.List('Subscriber', { track: true, autokey: { path: 'key', from: 'email', unique: true }, }); Subscriber.add({ name: { type: String }, email: { type: Types.Email, initial: true, index: true }, }); Subscriber.de...
namespace swift_xla { namespace { thread_local absl::optional<Device> g_current_device; std::string DeviceTypeToString(DeviceType hw_type) { switch (hw_type) { case DeviceType::CPU: return "CPU"; case DeviceType::GPU: return "GPU"; case DeviceType::TPU: return "TPU"; case DeviceTyp...
""" Tests for Consoleauth Code. """ import mox from nova.consoleauth import manager from nova import context from nova import db from nova.openstack.common import timeutils from nova import test class ConsoleauthTestCase(test.TestCase): """Test Case for consoleauth.""" def setUp(self): super(Consol...
Sheep in-memory database ## license This project is under bsd license. You can do whatever you want with it. ## features - No fixed record data type. You can use plist, alist or object as records. - Can be dumped to and restored from texual file. It also support object serialization with user-defined CLASS-SERIALIZA...
require 'chef/chef_fs/file_system/base_fs_dir' require 'chef/chef_fs/file_system/rest_list_entry' require 'chef/chef_fs/file_system/not_found_error' class Chef module ChefFS module FileSystem class RestListDir < BaseFSDir def initialize(name, parent, api_path = nil, data_handler = nil) su...
int main(int argc, const char * argv[]) { return NSApplicationMain(argc, argv); }
package bindata // Asset holds information about a single asset to be processed. type Asset struct { Path string // Full file path. Name string // Key used in TOC -- name by which asset is referenced. Func string // Function name for the procedure returning the asset contents. }
require File.dirname(__FILE__) + '/../test_helper' require File.dirname(__FILE__) + '/test_helper' require 'sass/engine' class CacheTest < MiniTest::Test @@cache_dir = "tmp/file_cache" def setup FileUtils.mkdir_p @@cache_dir end def teardown FileUtils.rm_rf @@cache_dir clean_up_sassc end def...
require 'test_helper' class BlogsControllerTest < ActionController::TestCase setup do @blog = blogs(:one) end test "should get index" do get :index assert_response :success assert_not_nil assigns(:blogs) end test "should get new" do get :new assert_response :success end test "s...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Formatting; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Editor.Implementation.AutomaticCompletion; using Microsoft.CodeAnalysis...
using System; namespace SevenZip.Compression.RangeCoder { struct BitEncoder { public const int kNumBitModelTotalBits = 11; public const uint kBitModelTotal = (1 << kNumBitModelTotalBits); const int kNumMoveBits = 5; const int kNumMoveReducingBits = 2; public const int kNumBitPriceShiftBits = 6; ...
@interface FileChangeListCell : UITableViewCell @property (strong, nonatomic) FileChange *curFileChange; + (CGFloat)cellHeight; @end
package com.intellij.openapi.wm.impl.content; import com.intellij.openapi.ui.popup.ListPopup; import com.intellij.ui.ColorUtil; import com.intellij.ui.awt.RelativePoint; import com.intellij.ui.awt.RelativeRectangle; import com.intellij.ui.content.Content; import com.intellij.ui.content.ContentManagerEvent; import com...
import itertools import json from functools import total_ordering from django import forms from django.conf import settings from django.forms import widgets from django.forms.utils import flatatt from django.template.loader import render_to_string from django.urls import reverse from django.utils.formats import get_fo...
package fmt import ( "errors" "io" "os" "reflect" "sync" "unicode/utf8" ) // Some constants in the form of bytes, to avoid string overhead. // Needlessly fastidious, I suppose. var ( commaSpaceBytes = []byte(", ") nilAngleBytes = []byte("<nil>") nilParenBytes = []byte("(nil)") nilBytes = []by...
<?php /** * @see Zend_Acl_Resource_Interface */ require_once 'Zend/Acl/Resource/Interface.php'; /** * @category Zend * @package Zend_Acl * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ ...
"use strict"; // a small wrapper around fitzgen's source-map library function SourceMap(options) { options = defaults(options, { file : null, root : null, orig : null, orig_line_diff : 0, dest_line_diff : 0, }); var generator = new MOZ_SourceMap.SourceMapGenerator...
<!doctype html> <head> <link type="text/css" rel="stylesheet" href="../src/css/graph.css"> <link type="text/css" rel="stylesheet" href="../examples/css/lines.css"> <script src="../vendor/d3.v2.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script> <script src="/so...
cordova.define("org.apache.cordova.geolocation.PositionError", function(require, exports, module) { /** * Position error object * * @constructor * @param code * @param message */ var PositionError = function(code, message) { this.code = code || null; this.message = message || ''; }; PositionError.PERMIS...
title: Elliptic Integrals in Javascript modified: categories: [code] excerpt: link: https://github.com/duetosymmetry/elliptic-integrals-js tags: [javascript, code, special functions] date: 2016-02-24T21:18:03-08:00 jsxgraph: true --- I just created a repo on github for computing complete elliptic integrals in javascri...
#if defined(USE_FULL_LL_DRIVER) /* Includes ------------------------------------------------------------------*/ #include "stm32l4xx_ll_adc.h" #include "stm32l4xx_ll_bus.h" #ifdef USE_FULL_ASSERT #include "stm32_assert.h" #else #define assert_param(expr) ((void)0U) #endif /** @addtogroup STM32L4xx_LL_Driver ...
'use strict'; const debug = require('debug')('ReactPackager:DependencyGraph'); const util = require('util'); const path = require('path'); const isAbsolutePath = require('absolute-path'); const getAssetDataFromName = require('../../lib/getAssetDataFromName'); class ResolutionRequest { constructor({ platform, ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
<header>Einen neuen Datei-Editor erstellen</header> Diese Seite erlaubt es&#44; einen neuen Datei-Editor zu definieren. Einmal gespeichert&#44; wird ein Button auf der Hauptseite angezeigt. <include editor> <!-- zuletzt geaendert: 07.08.2003 - Martin Mewes - webmin@webmin.mamemu.de -->
set -e source /etc/profile # Run the main Celery worker cd "${KOBOCAT_SRC_DIR}" exec celery -A onadata worker -Ofair --loglevel=info \ --hostname=kobocat_main_worker@%h \ --logfile=${KOBOCAT_LOGS_DIR}/celery.log \ --pidfile=${CELERY_PID_DIR}/celery.pid \ --uid=${UWSGI_USER} \ --gid=${UWSGI_GROUP}
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Teapot.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // <summary> // A visual element that shows the Utah teapot test model. //...
import 'vs/css!./media/sidebarpart'; import {TPromise} from 'vs/base/common/winjs.base'; import nls = require('vs/nls'); import {Registry} from 'vs/platform/platform'; import {Action} from 'vs/base/common/actions'; import {CompositePart} from 'vs/workbench/browser/parts/compositePart'; import {Viewlet, ViewletRegistr...
class CreateProjects < ActiveRecord::Migration def self.up create_table :projects do |t| t.column :title, :string end end def self.down drop_table :projects end end
(function() { angular.module('respond.controllers') // translations controller .controller('TranslationsCtrl', function($scope, $rootScope, Setup, Translation) { $rootScope.template = 'translations'; // setup $scope.setup = Setup; $scope.loading = true; $scope.content = ''; $scope.sh...
<?php $dir = dirname(__FILE__); $config_path = $dir . '/config.php'; if( file_exists($config_path) === true ) { require_once($config_path); } else { define('PUSHERAPP_AUTHKEY', getenv('PUSHERAPP_AUTHKEY')); define('PUSHERAPP_SECRET' , getenv('PUSHERAPP_SECRET')); define('PUSHERAPP_APPID' , getenv('PUSHERAPP_AP...
using namespace std; using namespace clang; void generate_python(set<RecordDecl *> &types, set<FunctionDecl *> functions);
#ifndef B2_CONTACT_H #define B2_CONTACT_H #include <Box2D/Common/b2Math.h> #include <Box2D/Collision/b2Collision.h> #include <Box2D/Collision/Shapes/b2Shape.h> #include <Box2D/Dynamics/Contacts/b2Contact.h> #include <Box2D/Dynamics/b2Fixture.h> class b2Body; class b2Contact; class b2Fixture; class b2World; class b2...
{% include base_path %} <div class="page__footer-follow"> <ul class="social-icons"> {% if site.data.ui-text[site.locale].follow_label %} <li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li> {% endif %} {% if site.twitter.username %} <li><a href="https://twitter.com/{{ s...
package exec import ( osexec "os/exec" "syscall" ) // Interface is an interface that presents a subset of the os/exec API. Use this // when you want to inject fakeable/mockable exec behavior. type Interface interface { // Command returns a Cmd instance which can be used to run a single command. // This follows...
<?php /** * @category Spark * @package Spark_Model * @copyright Copyright (c) 2010 Christoph Hochstrasser * @license MIT License */ interface Spark_Model_Mapper_Interface { public function init(); public function find($id); public function findAll(); public function save($entity); ...
namespace scheduler { class LazyNow; class TimeDomain; class TaskQueueManager; namespace internal { class WorkQueue; class WorkQueueSets; class SCHEDULER_EXPORT TaskQueueImpl final : public TaskQueue { public: TaskQueueImpl(TaskQueueManager* task_queue_manager, TimeDomain* time_domain, ...
namespace appcache { // A cached entry is identified by a URL and is classified into one // (or more) categories. URL is not stored here as this class is stored // with the URL as a map key or the user of this class already knows the URL. class AppCacheEntry { public: // An entry can be of more than one type so u...
 CKEDITOR.plugins.setLang( 'uploadwidget', 'sk', { abort: 'Nahrávanie zrušené používateľom.', doneOne: 'Súbor úspešne nahraný.', doneMany: 'Úspešne nahraných %1 súborov.', uploadOne: 'Nahrávanie súboru ({percentage}%)...', uploadMany: 'Nahrávanie súborov, {current} z {max} hotovo ({percentage}%)...' } );
/** * @link java.lang.String#equals(java.lang.Object) text */ class C{}
* Record cluster info in case that we need to fire a bug: ```sh # openshift version # oc version # docker version ``` * Clone this repo on every node in the cluster * If pbench is required to collect system stats, do the following steps when running the tests: ```sh # svt/openshift_scalab...
package org.kie.dmn.feel.runtime.functions; import java.util.ArrayList; import java.util.Comparator; import java.util.List; import org.kie.dmn.api.feel.runtime.events.FEELEvent.Severity; import org.kie.dmn.feel.lang.EvaluationContext; import org.kie.dmn.feel.runtime.FEELFunction; import org.kie.dmn.feel.runtime.even...
import { unstable_getServerSession } from "next-auth"; import { authOptions } from "../pages/api/auth/[...nextauth]"; export async function getSession() { return await unstable_getServerSession(authOptions); } export async function getCurrentUser() { const session = await getSession(); return session?.user; }...
<?php namespace Symfony\Component\EventDispatcher\Tests; use Symfony\Component\DependencyInjection\Container; use Symfony\Component\DependencyInjection\Scope; use Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher; use Symfony\Component\EventDispatcher\Event; use Symfony\Component\EventDispatcher\Event...
module.exports = function (grunt) { grunt.registerTask('prod', [ 'compileAssets', 'concat', 'uglify', 'cssmin', 'sails-linker:prodJs', 'sails-linker:prodStyles', 'sails-linker:devTpl', 'sails-linker:prodJsJade', 'sails-linker:prodStylesJade', 'sails-linker:devTplJade' ]); };
using System; using System.Text; using System.Web; using System.Web.Http.Description; namespace MvcApplication1.Areas.HelpPage { public static class ApiDescriptionExtensions { /// <summary> /// Generates an URI-friendly ID for the <see cref="ApiDescription"/>. E.g. "Get-Values-id_name" instead ...
static size_t get_max_size_class(void) { unsigned nhchunks; size_t mib[4]; size_t sz, miblen, max_size_class; sz = sizeof(unsigned); assert_d_eq(mallctl("arenas.nhchunks", &nhchunks, &sz, NULL, 0), 0, "Unexpected mallctl() error"); miblen = sizeof(mib) / sizeof(size_t); assert_d_eq(mallctlnametomib("arena...
namespace YAML { Node Clone(const Node& node) { NodeEvents events(node); NodeBuilder builder; events.Emit(builder); return builder.Root(); } }
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
core-media-query ================ **This element is compatible with Polymer 0.5 and lower only, and will be deprecated.** You can check out a similar 0.8-compatible version of this element at [https://github.com/polymerelements/iron-media-query](https://github.com/polymerelements/iron-media-query) See the [componen...
// Copyright 2009 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...
from configparser import ConfigParser import logging import logging.handlers import os import re import sys import time from keystoneauth1.identity import v3 from keystoneauth1 import session from keystoneclient.v3 import client import requests config = ConfigParser(strict=False) debug = os.getenv('__OS_DEBUG', 'fa...
from typing import List, Optional, Tuple, Union import numpy as np import torch def compute_fp_tp_probs( probs: Union[np.ndarray, torch.Tensor], y_coord: Union[np.ndarray, torch.Tensor], x_coord: Union[np.ndarray, torch.Tensor], evaluation_mask: Union[np.ndarray, torch.Tensor], labels_to_exclude:...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
#import "WebTypesInternal.h" #import <Cocoa/Cocoa.h> @interface NSArray (WebNSArrayExtras) -(NSNumber *)_webkit_numberAtIndex:(NSUInteger)index; -(NSString *)_webkit_stringAtIndex:(NSUInteger)index; @end @interface NSMutableArray (WebNSArrayExtras) - (void)_webkit_removeUselessMenuItemSeparators; @end
Domgen.repository(:FGIS) do |repository| repository.enable_facet(:jpa) repository.enable_facet(:jackson) repository.enable_facet(:ejb) repository.enable_facet(:jaxrs) repository.jpa.provider = :eclipselink repository.data_module(:FGIS) do |data_module| data_module.struct(:ResourceDetailsDTO) do |s| ...
define(function(require, exports, module) { var TwoFingerSync = require('./TwoFingerSync'); /** * Handles piped in two-finger touch events to increase or decrease scale via pinching / expanding. * Emits 'start', 'update' and 'end' events an object with position, velocity, touch ids, and angle. ...
<?php /** * @project: Intern Portal. * @author: nkmathew * @date: 23/06/2016 * @time: 15:43 */ /* @var $this yii\web\View */ ?> <div class="site-coordinator-console"> <div class="col-md-7"> <div class="input-group"> <input type="text" id="email-input-box" class="form-con...
@interface YXQPicturesShowView : UIViewController @end
use_inline_resources if defined?(use_inline_resources) def whyrun_supported? true end action :create do # Hack around the lack of "use_inline_resources" before Chef 11 by # uniquely naming the execute[yum-makecache] resources. Set the # notifies timing to :immediately for the same reasons. Remove both # of...
DOUBTFUL #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
class Foo { public static void main(final String[] args) { new Bar<RuntimeException>(); } public static class Bar<E extends Throwable> { public Bar() throws E {} } }
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace DTS\eBaySDK\Trading\Types; /** * * @property string $Name * @property string $URLPath * @property ...
package com.datastax.spark.connector.util import scala.reflect.runtime.universe._ import org.scalatest.concurrent.Conductors import com.datastax.spark.connector.cql.{CassandraConnectorConf, DefaultConnectionFactory, CassandraConnectionFactory} import org.scalatest.{FlatSpec, Matchers} trait ReflectionUtilSpecDummyTr...
from __future__ import unicode_literals from django.contrib import admin from django.contrib.auth.admin import UserAdmin from django.db.models import AutoField from django.forms import ValidationError, ModelForm from django.http import HttpResponseRedirect from django.shortcuts import redirect from django.ut...
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Imports System Imports System.Reflection Imports System.Diagnostics Imports System.Collections Imports System.Collectio...
webshims.register('form-native-extend', function($, webshims, window, doc, undefined, options){ "use strict"; var support = webshims.support; if(!support.formvalidation || webshims.bugs.bustedValidity){return;} var typeModels = webshims.inputTypes; var runTest = false; var validityRules = {}; var updateValidity ...
<?php namespace app\models; use app\components\ActiveRecordBehaviors; use app\helpers\FileHelper; use Yii; use yii\web\UploadedFile; use yii\db\ActiveQuery; /** * This is the model class for table "pet". * * @property integer $id * @property string $name * @property string $date_create * @property string $date...
/** * Autogenerated by Thrift Compiler (0.9.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.sdnplatform.sync.thrift; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; import ...
'use strict'; /** * Module dependencies. * @private */ var finalhandler = require('finalhandler'); var Router = require('./router'); var methods = require('methods'); var middleware = require('./middleware/init'); var query = require('./middleware/query'); var debug = require('debug')('express:application'); var...
import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting model 'Storage' db.delete_table('easy_thumbnails_storage') def backwards(self, orm): # Add...
package com.fuhj.itower.ui.vm; import org.apache.commons.lang.StringUtils; import org.zkoss.bind.ValidationContext; import org.zkoss.bind.annotation.AfterCompose; import org.zkoss.bind.annotation.Command; import org.zkoss.bind.annotation.ContextParam; import org.zkoss.bind.annotation.ContextType; import or...
#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM #define EIGEN_USE_GPU #include "tensorflow/core/kernels/tile_functor.h" #include "tensorflow/core/kernels/tile_functor_gpu.h" namespace tensorflow { namespace functor { using Eigen::GpuDevice; template struct Tile<GpuDevice, int32, int32>; template struct Tile<GpuDevice, int3...
'use strict'; var Duplex = require('stream').Duplex; var util = require('util'); var pick = require('object.pick'); var W3CWebSocket = require('websocket').w3cwebsocket; var contentType = require('./content-type'); var qs = require('../util/querystring.js'); var OPENING_MESSAGE_PARAMS_ALLOWED = [ 'continuous', ...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
package client import ( "encoding/hex" "encoding/json" "errors" "fmt" "net" "net/http" "net/url" "os" "path" "path/filepath" "sort" "strconv" "time" "golang.org/x/net/context" "github.com/Sirupsen/logrus" "github.com/docker/distribution/digest" "github.com/docker/distribution/registry/client/auth" ...
// 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 org.intellij.plugins.markdown.ui.preview; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.editor.Editor; import com.intellij.opena...
<?xml version="1.0" encoding="UTF-8"?> <project name="BrowserDemo3" default="help"> <!-- The local.properties file is created and updated by the 'android' tool. It contains the path to the SDK. It should *NOT* be checked into Version Control Systems. --> <loadproperties srcFile="local.propert...
package com.gemstone.gemfire.distributed.internal.locks; import com.gemstone.gemfire.distributed.DistributedLockService; import com.gemstone.gemfire.distributed.internal.membership.*; /** * DLockGrantorHelper provides testing operations that are not normally * exposed in the DLockGrantor. * * @author Kirk Lund ...
"use strict"; var fs = require("fs"); var path = require("path"); var q = require("q"); var binaries_1 = require("../binaries"); var config_1 = require("../config"); var downloaded_binary_1 = require("./downloaded_binary"); var downloader_1 = require("./downloader"); var cli_1 = require("../cli"); var gecko_driver_1 = ...
class CreateSnippets < ActiveRecord::Migration def change create_table :snippets do |t| t.string :source t.string :name t.text :content t.timestamps null: false end end end
<?php namespace Behat\Testwork\EventDispatcher\Event; /** * Represents an event in which exercise was aborted. * * @author Konstantin Kudryashov <ever.zet@gmail.com> */ final class AfterExerciseAborted extends ExerciseCompleted { /** * {@inheritdoc} */ public function getSpecificationIterators...
using System; namespace Microsoft.Cci.Writers { public interface IReviewCommentWriter { void WriteReviewComment(string author, string text); } }
package org.apache.camel.spring.issues.contextscan2; import org.apache.camel.spring.SpringTestSupport; import org.springframework.context.support.AbstractXmlApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * @version */ public class SpringRouteIsComponentAnnotated...
<script id="actingcat" type="text/x-handlebars-template"> <h1>{{title}}</h1> {{{content}}} </script>
module Codec.Crypto.AES.Monad( AES, AEST, Mode(..), Direction(..), Cryptable(..), runAEST, runAES ) where import qualified Codec.Crypto.AES.IO as AES import Codec.Crypto.AES.IO(Mode(..), Direction(..), newCtx, AESCtx) import Control.Applicative import Control.Monad.ST.Lazy import Control.Monad.Reader import Contro...
package dae.prefabs.parameters; import dae.components.ComponentType; import dae.prefabs.Prefab; /** * * @author Koen */ public class ObjectParameter extends Parameter { /** * Creates a new ObjectParameter object. * * @param componentType componentType the component type of the par...
version: 0.9.0 title: Mix --- Преди да можем да навлезнем повече в Elixir, трябва първо да научим повече за mix. Ако знаете Ruby, то mix е Bundler, RubyGems и Rake в едно. Той е важна част от всеки Elixir проект и в този урок, ще разгледаме няколко от неговите възможностти. За да видите всичко, което mix предлага, про...
import GafferTest class ModuleTest( GafferTest.TestCase ) : def testNamespacePollution( self ) : import GafferOSL self.assertRaises( AttributeError, getattr, GafferOSL, "IECore" ) self.assertRaises( AttributeError, getattr, GafferOSL, "Gaffer" ) self.assertRaises( AttributeError, getattr, GafferOSL, "Gaffe...
#include <unordered_set> #include <vector> #include <grpc++/grpc++.h> #include "src/cpp/ext/proto_server_reflection.h" using grpc::Status; using grpc::StatusCode; using grpc::reflection::v1alpha::ServerReflectionRequest; using grpc::reflection::v1alpha::ExtensionRequest; using grpc::reflection::v1alpha::ServerRefl...
<!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 (1.8.0_40) on Wed Apr 13 18:09:42 UTC 2016 --> <title>Uses of Class org.apache.cassandra.index.transactions.IndexTransaction.Type (apache-cassandra AP...
[Leaflet.Geodesic](http://fragger.github.io/Leaflet.Geodesic/) ================ ### Description Geodesic polylines and polygons for [Leaflet](https://github.com/Leaflet/Leaflet) Adds: ``` L.GeodesicPolyline( <LatLng[]> latlngs, <Polyline options> options? ) L.GeodesicPolygon( <LatLng[]> latlngs, <Polyline options> op...
module.exports = function (grunt) { 'use strict'; var path = require('path'); var server = require('karma').server; grunt.registerMultiTask('karma', 'run karma.', function(target) { //merge data onto options, with data taking precedence var options = grunt.util._.merge(this.o...
#ifndef __itkScalarChanAndVeseSparseLevelSetImageFilter_h #define __itkScalarChanAndVeseSparseLevelSetImageFilter_h #include "itkMultiphaseSparseFiniteDifferenceImageFilter.h" #include "itkRegionOfInterestImageFilter.h" #include "itkScalarChanAndVeseLevelSetFunction.h" namespace itk { /** \class ScalarChanAndVeseSpa...