text
stringlengths
3
1.05M
<?xml version="1.0" encoding="utf-8"?> <appendix xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="requirements"><info><title>Zend Framework Voraussetzungen</title></info> <section xml:id="requirements.introduction"><info><title>Einführung</title></info> <para> Zend F...
<? if (!$Entity) PageRedirect($Page->Prefix . 'index.php'); $Page->Title = $Entity->Name; include_once($Page->Prefix.'ajfwk/includes/Connection.inc.php'); include_once($Page->Prefix.'ajfwk/includes/Users.inc.php'); include_once($Page->Prefix.'ajfwk/includes/Errors.inc.php'); include_once($Page->P...
#include <sys/param.h> #include <sys/systm.h> #include <sys/bio.h> #include <sys/buf.h> #include <sys/proc.h> #include <sys/vnode.h> #include <sys/mount.h> #include <sys/resourcevar.h> #include <sys/stat.h> #include <fs/ext2fs/inode.h> #include <fs/ext2fs/fs.h> #include <fs/ext2fs/ext2fs.h> #include <fs/ext2fs/ext2_...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>CMSIS-SVD Schema File Ver. 1.1 (draft)</title> <link href="tabs.css" re...
#ifndef SkRecords_DEFINED #define SkRecords_DEFINED #include "SkCanvas.h" namespace SkRecords { // A list of all the types of canvas calls we can record. // Each of these is reified into a struct below. // // (We're using the macro-of-macro trick here to do several different things with the same list.) // // We le...
class Ghee # ResourceProxy lets us create a virtual # proxy for any API resource, utilizing # method_missing to handle passing # messages to the real object # class ResourceProxy # Undefine methods that might get in the way instance_methods.each { |m| undef_method m unless m =~ /^__|instance_eval|...
% DOCKER(1) Docker User Manuals % Docker Community % JUNE 2014 # NAME docker-build - Build a new image from the source code at PATH # SYNOPSIS **docker build** [**--build-arg**[=*[]*]] [**--cpu-shares**[=*0*]] [**--cgroup-parent**[=*CGROUP-PARENT*]] [**--help**] [**-f**|**--file**[=*PATH/Dockerfile*]] [**--force-rm**]...
import * as MochaSteps from "mocha-steps"; describe("Mocha Steps Test", () => { step("Step Test", () => { const module_name = "mocha-steps"; }); xstep("Skip Step Test", () => { const module_name = "mocha-steps"; }); MochaSteps.step("Step Test", () => { const module_name = ...
Closing tasks ============= When a task is closed, it is hidden from the board. However, you can always access to the list of closed tasks by using the query **status:closed** in any search form or simply choose **Closed tasks** from the filter drop-down. There are two different ways to close a task, from the task d...
#ifdef HAVE_ALTIVEC_H #include <altivec.h> #endif #include "../../portab.h" #include "../emms.h" void altivec_trigger(void) { #if !defined(__amigaos4__) vector unsigned int var1 = (vector unsigned int)AVV(0); vector unsigned int var2 = (vector unsigned int)AVV(1); var1 = vec_add(var1, var2); #endif return; }
#include "node_iterator2.hpp" #include <string> #include <memory> #include <iostream> #include <algorithm> #include <boost/mem_fn.hpp> #include <cassert> int main() { std::auto_ptr<node<int> > nodes(new node<int>(42)); nodes->append(new node<std::string>(" is greater than ")); nodes->append(n...
package org.apache.activemq.usecases; import org.apache.activemq.broker.BrokerService; import org.apache.activemq.network.DemandForwardingBridgeSupport; import org.apache.activemq.util.Wait; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * */ public class TwoBrokerQueueSendReceiveTest extends TwoBrok...
name: Kajsa Norin pic: kajsa-norin.jpg position: Freelancing Data Scientist email: kajsa@stockholm.ai social: - title: linkedin url: https://www.linkedin.com/in/kajsa-norin-8a7b3469/ ---
require 'spec_helper' describe RubyWarrior::Abilities::Base do before(:each) do @unit = stub @ability = RubyWarrior::Abilities::Base.new(@unit) end it "should have offset for directions" do @ability.offset(:forward).should == [1, 0] @ability.offset(:right).should == [0, 1] @ability.offset(...
<?php /* List data-table values, i.e: $_SERVER, $_GET, .... */ ?> <div class="details"> <div class="data-table-container" id="data-tables"> <?php foreach ($tables as $label => $data): ?> <div class="data-table" id="sg-<?php echo $tpl->escape($tpl->slug($label)) ?>"> <label><?php echo $tpl->escape($l...
package org.apache.camel.example.spring.boot.rest.jpa; import org.springframework.data.repository.CrudRepository; public interface OrderRepository extends CrudRepository<Order, Integer> { }
"use strict"; var inheritFrom = require("../utils").inheritFrom; const domSymbolTree = require("./helpers/internal-constants").domSymbolTree; const NODE_TYPE = require("../living/node-type"); module.exports = function (core) { // TODO: constructor should not take ownerDocument core.Text = function Text(ownerDocume...
package org.auraframework.impl.system; import org.auraframework.Aura; import org.auraframework.def.DefDescriptor; import org.auraframework.def.Definition; import org.auraframework.system.SubDefDescriptor; import org.auraframework.throwable.AuraError; import org.auraframework.throwable.AuraRuntimeException; import org...
/** * This module defines a [[Validatable]] class which can be used by all * non-[[Sprite]] classes to use system beats to revalidate themselves. */ import { __extends } from "tslib"; /** * ============================================================================ * IMPORTS * ===========================...
package org.apache.hadoop.yarn.applications.unmanagedamlauncher; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.net.URL; ...
'use strict'; var PooledClass = require('PooledClass'); var ReactElement = require('ReactElement'); var emptyFunction = require('fbjs/lib/emptyFunction'); var traverseAllChildren = require('traverseAllChildren'); var twoArgumentPooler = PooledClass.twoArgumentPooler; var fourArgumentPooler = PooledClass.fourArgume...
<?php ContactRequestHandler::$emailTo = 'Chris Alfano <calfano@codeforamerica.org>';
using NUnit.Framework; using Umbraco.Web.Routing; namespace Umbraco.Tests.Routing { [TestFixture] public class ContentFinderByAliasWithDomainsTests : ContentFinderByAliasTests { [TestCase("http://domain1.com/this/is/my/alias", "de-DE", -1001)] // alias to domain's page f...
namespace gpu { RingBuffer::RingBuffer( Offset base_offset, unsigned int size, CommandBufferHelper* helper) : helper_(helper), base_offset_(base_offset), size_(size), free_offset_(0), in_use_offset_(0) { } RingBuffer::~RingBuffer() { // Free blocks pending tokens. while (!blocks_.e...
/** * @fileoverview Rule to flag variable leak in CatchClauses in IE 8 and earlier * @author Ian Christian Myers */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ var as...
using FligthNode.Identity.Services.Controllers; using System; using Xunit; namespace FlightNode.Identity.UnitTests.Controllers.UserControllerTests { public class ConstructorBehavior : Fixture { [Fact] public void ConfirmWithValidArgument() { Assert.NotNull(BuildSystem()); ...
#include "tensorflow/lite/delegates/gpu/cl/gl_interop.h" #include <algorithm> #include <variant> #include "absl/strings/str_cat.h" #include "tensorflow/lite/delegates/gpu/cl/cl_errors.h" #include "tensorflow/lite/delegates/gpu/gl/gl_call.h" #include "tensorflow/lite/delegates/gpu/gl/gl_sync.h" namespace tflite { n...
interface ifoo { x?:number; y:number; } class C1 implements ifoo { public y:number; } class C2 implements ifoo { // ERROR - still need 'y' public x:number; } class C3 implements ifoo { public x:number; public y:number; }
@interface RNNNavigationControllerPresenter : RNNBasePresenter @property (nonatomic, strong) InteractivePopGestureDelegate *interactivePopGestureDelegate; - (instancetype)initWithcomponentRegistry:(RNNReactComponentRegistry *)componentRegistry; - (void)applyOptionsBeforePopping:(RNNNavigationOptions *)options; - (v...
package com.microsoft.azure.management.network.v2018_08_01.implementation; import com.fasterxml.jackson.annotation.JsonProperty; /** * Vpn Profile Response for package generation. */ public class VpnProfileResponseInner { /** * URL to the VPN profile. */ @JsonProperty(value = "profileUrl") p...
<html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Chapter&nbsp;8.&nbsp;SQL-Invoked Routines</title> <link href="../docbook.css" rel="stylesheet" type="text/css"> <meta content="DocBook XSL-NS Stylesheets V1.74.0" name="generator"> <meta name="keywords" content="Hsqldb, HyperSQL, S...
package com.intellij.util.xml; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * Annotate a method returning either {@link String} or {@link com.intellij.util.xml.GenericValue} with @NameValue, * and {@link com.intellij.util.xml.ElementPresentationManager#getElementName(Obje...
namespace Microsoft.Azure.Management.WebSites.Models { using Newtonsoft.Json; using System.Linq; /// <summary> /// Current TCP connectivity information from the App Service Environment /// to a single endpoint. /// </summary> public partial class EndpointDetail { /// <summary> ...
package otherpkg var Test float32
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
layout: post title: Scikit-learn Tree Design --- Scikit-learn has a well designed, extensible implementation of decision trees. The design pays dividends for techniques that rely on decision trees such as random forest. Overall, the design is a great example of thoughtfully designed machine learning code and is worth...
using AuditoriaParlamentar.Classes; using System; using System.Data; using System.Web; namespace AuditoriaParlamentar { public partial class Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { ...
/* * 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...
/* ========================= Module _Scrap ========================== */ #include "Python.h" #ifndef __LP64__ #include "pymactoolbox.h" /* Macro to test whether a weak-loaded CFM function exists */ #define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\ PyErr_SetString(PyExc_NotImplementedError, \ ...
// Generation date: 2/16/2015 10:02:37 AM namespace Microsoft.Test.OData.Services.TestServices.ActionOverloadingServiceReference { /// <summary> /// There are no comments for DefaultContainer in the schema. /// </summary> public partial class DefaultContainer : global::Microsoft.OData.Client.Dat...
title: "Silencing" description: "Sensu’s built-in silencing capability provides the means to suppress execution of event handlers on an ad-hoc basis, letting you plan maintenances and giving you even more tools to reduce alert fatigue. Read the reference doc to learn about silencing in Sensu." weight: 10 version: "5.15...
package org.apache.zookeeper.server.quorum.auth; import java.io.IOException; import java.util.HashMap; import java.util.Map; import java.util.concurrent.TimeoutException; import org.apache.zookeeper.CreateMode; import org.apache.zookeeper.KeeperException; import org.apache.zookeeper.ZooDefs.Ids; import org.apache.z...
package org.apache.qpid.proton.amqp; import static org.junit.Assert.*; import java.util.Arrays; import org.junit.Test; public class BinaryTest { @Test public void testNotEqualsWithDifferentTypeObject() { Binary bin = createSteppedValueBinary(10); assertFalse("Objects should not be equ...
const request = require('../../util/request'); const url = require('../../util/urlBuilder'); const saveToEnv = require('../../util/envStore'); const controller = {}; controller.session = (req, res, next) => { request.get(url(req.body)()) .then((lastfmres) => { const json = JSON.parse(lastfmres); sav...
package com.thoughtworks.go.server.view.velocity; import com.thoughtworks.go.i18n.Localizer; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.junit.Test; import java.util.HashMap; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.mockito.Moc...
using System; using System.Collections.Generic; using System.Text; namespace System.Linq { /// <summary> /// The query execution mode is a hint that specifies how the system should handle /// performance trade-offs when parallelizing queries. /// </summary> public enum ParallelExecutionMode { ...
var Node = require("./node"); var Combinator = function (value) { if (value === ' ') { this.value = ' '; this.emptyOrWhitespace = true; } else { this.value = value ? value.trim() : ""; this.emptyOrWhitespace = this.value === ""; } }; Combinator.prototype = new Node(); Combin...
package getter import ( "fmt" "net/url" "strings" ) // S3Detector implements Detector to detect S3 URLs and turn // them into URLs that the S3 getter can understand. type S3Detector struct{} func (d *S3Detector) Detect(src, _ string) (string, bool, error) { if len(src) == 0 { return "", false, nil } if stri...
var should = require('should') var Store = require('../../../store') module.exports = function(title, beforeFn, afterFn, storeConf) { describe(title + ': Select', function() { var store before(beforeFn) after(function(next) { afterFn(next, store) }) before(function() { store = new S...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step...
package org.apache.camel.component.corda; import net.corda.core.contracts.OwnableState; import net.corda.core.flows.FlowLogic; import net.corda.core.node.services.Vault; import net.corda.core.node.services.vault.PageSpecification; import net.corda.core.node.services.vault.QueryCriteria; import net.corda.core.node.ser...
/* * Reads LCM messages and a mono video file and publishes * the images to LCM for viewing in the HUD. * * Author: Andrew Barry, <abarry@csail.mit.edu> 2015 * */ #include "mono-playback.hpp" #include "../../externals/ConciseArgs.hpp" #include "opencv2/opencv.hpp" lcm_t * lcm_; std::string image_channel = "ste...
using System.Collections.Generic; using System.Diagnostics; namespace System.Data { internal sealed class RecordManager { private readonly DataTable _table; private int _lastFreeRecord; private int _minimumCapacity = 50; private int _recordCapacity = 0; private readonly...
<?php namespace Symfony\Component\HttpKernel\Profiler; /** * A ProfilerStorage for Mysql * * @author Jan Schumann <js@schumann-it.com> */ class MysqlProfilerStorage extends PdoProfilerStorage { /** * {@inheritdoc} */ protected function initDb() { if (null === $this->db) { ...
BPForms ======= [![Build Status](http://img.shields.io/travis/bpoplauschi/BPForms/master.svg?style=flat)](https://travis-ci.org/bpoplauschi/BPForms) [![Pod Version](http://img.shields.io/cocoapods/v/BPForms.svg?style=flat)](http://cocoadocs.org/docsets/BPForms/) [![Pod Platform](http://img.shields.io/cocoapods/p/BPForm...
module DataMapper module Is module Remixable VERSION = "0.9.6" end end end
class MyOnlineCoursesController { constructor() { this.name = 'My Online Courses'; } } export default MyOnlineCoursesController;
<?php declare(strict_types=1); namespace Sylius\Component\Addressing\Model; use Sylius\Component\Resource\Model\ResourceInterface; use Sylius\Component\Resource\Model\TimestampableInterface; interface AddressInterface extends TimestampableInterface, ResourceInterface { public function getFirstName(): ?string;...
Conditional_Boltzmman_Machine =============================
import { Observable } from '../Observable'; import { Operator } from '../Operator'; import { Subscriber } from '../Subscriber'; import { MonoTypeOperatorFunction, TeardownLogic } from '../types'; /** * Returns an Observable that skips all items emitted by the source Observable as long as a specified condition holds ...
from test_framework.test_framework import BitcoinTestFramework from test_framework.authproxy import AuthServiceProxy, JSONRPCException from decimal import Decimal from test_framework.util import * import os import shutil class TxnMallTest(BitcoinTestFramework): def add_options(self, parser): parser.add_op...
var KEY_SECTION_BLOB = "sectionJsonBlob"; var TABLE_CURR_TRIPS = "currTrips"; var KEY_USER_CLASSIFICATION = "userClassification"; // EXAMPLE CODE: // var dbHelper = { // pragmaExample: function() { // var db = window.sqlitePlugin.openDatabase({name: "my.db"}); // db.transaction(function(tx) { // ...
static int nn_(HardTanh_updateOutput)(lua_State *L) { THTensor *input = luaT_checkudata(L, 2, torch_Tensor); THTensor *output = luaT_getfieldcheckudata(L, 1, "output", torch_Tensor); THTensor_(resizeAs)(output, input); if (input->nDimension == 1 || !THTensor_(isContiguous)(input) || !THTensor_(isContiguous)...
class VertX < Formula desc "Toolkit for building reactive applications on the JVM." homepage "http://vertx.io/" url "https://dl.bintray.com/vertx/downloads/vert.x-3.2.1-full.tar.gz" sha256 "16e85a80e4f3c3eacf972953fbd36da21ba99b49cc39eda7760f1436ad8cb685" bottle :unneeded def install rm_f Dir["bin/*.b...
FROM balenalib/orange-pi-one-alpine:3.10-build ENV NODE_VERSION 15.7.0 ENV YARN_VERSION 1.22.4 # Install dependencies RUN apk add --no-cache libgcc libstdc++ libuv \ && apk add --no-cache libssl1.0 || apk add --no-cache libssl1.1 RUN for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --keyserver...
package mil.nga.giat.geowave.core.store.index.numeric; import mil.nga.giat.geowave.core.index.ByteArrayId; public class NumericLessThanOrEqualToConstraint extends NumericQueryConstraint { public NumericLessThanOrEqualToConstraint( final ByteArrayId fieldId, final Number number ) { super( fieldId, ...
package com.google.code.yanf4j.util; import java.io.Serializable; import java.util.Iterator; import java.util.LinkedList; /** * Simple queue. All methods are thread-safe. * * @author dennis zhuang */ public class SimpleQueue<T> extends java.util.AbstractQueue<T> implements Serializable { protected...
({"loadingState":"Wird geladen...","errorState":"Es ist ein Fehler aufgetreten."})
#ifndef BT_GENERIC_6DOF_SPRING_CONSTRAINT_H #define BT_GENERIC_6DOF_SPRING_CONSTRAINT_H #include "LinearMath/btVector3.h" #include "btTypedConstraint.h" #include "btGeneric6DofConstraint.h" #ifdef BT_USE_DOUBLE_PRECISION #define btGeneric6DofSpringConstraintData2 btGeneric6DofSpringConstraintDoubleData2 #define b...
import Button from './Button'; import { buttonVariant } from './utils/button-variant'; import { buttonSize } from './utils/button-size'; import { buttonOutlineVariant } from './utils/button-outline-variant'; export { buttonVariant, buttonSize, buttonOutlineVariant }; export default Button;
namespace blink { // Similar to ScriptForbiddenScope, but more selective. This is intended to help // reduce the number of places where Flash can run a nested run loop as its // plugin element is being destroyed. One of the reasons that Flash runs this // nested run loop is to allow Flash content to synchronously scri...
<?php /** * Chunk Swedish lexicon topic * * @language sv * @package modx * @subpackage lexicon */ $_lang['chunk'] = 'Chunk'; $_lang['chunk_desc_category'] = 'Kategorin som denna chunk hör till.'; $_lang['chunk_desc_description'] = 'En kort beskrivning av denna chunk.'; $_lang['chunk_desc_name'] = 'Chunkens namn. ...
class VitaminR < Cask version :latest sha256 :no_check url 'http://www.publicspace.net/download/Vitamin.dmg' appcast 'http://www.publicspace.net/app/vitamin2.xml' homepage 'http://www.publicspace.net/Vitamin-R/' license :unknown app 'Vitamin-R 2.app' end
using Abp.FluentMigrator.Extensions; using FluentMigrator; namespace Abp.Zero.FluentMigrator.Migrations { [Migration(2014032303)] public class _20140323_03_CreateAbpRolesTable : AutoReversingMigration { public override void Up() { Create.Table("AbpRoles") .WithI...
/*! * Qoopido.js library v3.4.7, 2014-7-21 * https://github.com/dlueth/qoopido.js * (c) 2014 Dirk Lueth * Dual licensed under MIT and GPL */ !function(e){window.qoopido.register("support/css/rem",e,["../../support"])}(function(e,t,o,s,r,i){"use strict";var n=e.support;return n.addTest("/css/rem",function(e){var t=n.poo...
/** * @file Helpers.h * * @brief This file provides helper definitions for Json Schema parser. */ #ifndef HELPERS_H_ #define HELPERS_H_ #include <string> #include <vector> #include <map> #include <boost/variant.hpp> #include <boost/lexical_cast.hpp> namespace RAML { /** ValueVariant - Boost Variant to...
'use strict'; var JSONStream = require('JSONStream'); var Promise = require('bluebird'); var fs = require('graceful-fs'); var _ = require('lodash'); var Model = require('./model'); var Schema = require('./schema'); var SchemaType = require('./schematype'); var util = require('./util'); var WarehouseError = require('./...
namespace importer { // Objects implement this interface when they wish to be notified of events // during the import process. class ImporterProgressObserver { public: // Invoked when the import begins. virtual void ImportStarted() = 0; // Invoked when data for the specified item is about to be collected. vi...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v5.1.0 * @link http://www.ag-grid.com/ * @license MIT */ var Events = (function () { function Events() { } /** A new set of columns has been entered, everything has potentially changed....
package com.linkedin.pinot.core.startree; import com.google.common.base.Objects; import com.linkedin.pinot.common.data.FieldSpec; import com.linkedin.pinot.core.segment.creator.impl.V1Constants; import java.io.*; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; pub...
#include "LETypes.h" #include "OpenTypeTables.h" #include "OpenTypeUtilities.h" #include "ClassDefinitionTables.h" #include "LESwaps.h" U_NAMESPACE_BEGIN le_int32 ClassDefinitionTable::getGlyphClass(LEGlyphID glyphID) const { switch(SWAPW(classFormat)) { case 0: return 0; case 1: { ...
require 'adwords_api' def remove_ad(ad_group_id, ad_id) # AdwordsApi::Api will read a config file from ENV['HOME']/adwords_api.yml # when called without parameters. adwords = AdwordsApi::Api.new # To enable logging of SOAP requests, set the log_level value to 'DEBUG' in # the configuration file or provide y...
<!doctype html> <!-- Copyright (c) 2014 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at...
Simple class to read GPS data from the U-blox NEO-6M GPS module using a Raspberry Pi. GPS module: https://www.amazon.com/gp/product/B01AW5QYES
cask "multipass" do version "1.7.0" sha256 "a576100b495acbde4fcf7d4943af8d57c4fb9ee30fe8852daa0d4f7ce3a7ec7b" url "https://github.com/canonical/multipass/releases/download/v#{version}/multipass-#{version}+mac-Darwin.pkg" name "Multipass" desc "Orchestrates virtual Ubuntu instances" homepage "https://github...
/*! * Copyright (c) 2015 by Contributors * \file svm_output-inl.h * \brief * \author Jonas Amaro */ #ifndef MXNET_OPERATOR_SVM_OUTPUT_INL_H_ #define MXNET_OPERATOR_SVM_OUTPUT_INL_H_ #include <dmlc/logging.h> #include <dmlc/parameter.h> #include <mxnet/operator.h> #include <cstring> #include <map> #include <strin...
package net.logvv.raven.push.xg.xinge; public class TagTokenPair { public TagTokenPair(String tag, String token) { this.tag = tag; this.token = token; } public String tag; public String token; }
/******************************* Button *******************************/ .ui.button { cursor: pointer; display: inline-block; min-height: 1em; outline: none; border: none; vertical-align: baseline; background-color: #e0e0e0; color: rgba(0, 0, 0, 0.6); font-family: 'Lato', 'Helvetica ...
function removeWebhooks(repo_url, next) { } app.controller('GithubCtrl', ['$scope', function ($scope) { $scope.removeWebhooks = function () { bootbox.confirm('<h2>Really remove the github webhooks?</h2> <p>If you only want to temporarily disable build on commit, go to the "Deactivate" tab', 'Just kidding', 'Yes...
package org.apache.pig.backend.hadoop.executionengine.mapReduceLayer; import java.io.IOException; import java.net.URI; import java.util.Iterator; import java.util.List; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configuration.IntegerRanges; import org.apache.hadoop.fs.Path; import o...
/* * 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...
{% extends path2+"/_layoutStripped.html" %} {% block case_content %} <a href="javascript: history.go(-1)" class="link-back">Back</a> <h2 class="heading-large mt20">Can you make a recommendation now?</h2> <form class="form" action="/{{ path2 }}" method="get"> <div class="form-group"> <div class="multiple-cho...
package com.bazaarvoice.emodb.common.dropwizard.guice; import com.google.common.base.Predicates; import com.google.common.collect.Iterables; import com.google.common.net.HostAndPort; import com.google.inject.AbstractModule; import com.google.inject.Provides; import com.google.inject.Singleton; import io.dropwizard.jet...
class Stats::ReloadWorker include Sidekiq::Worker, Cronloggable def perform # This is scheduled to run every wednesday, but we only want it to run on the first of the month, so… return unless (1..7).cover?( Date.today.day ) # otherwise… open_log if defined?( Rake ).nil? Jjp21::Applica...
<?php /* * This file is part of the Silex framework. * * (c) Fabien Potencier <fabien@symfony.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Silex\Tests\Application; use PHPUnit\Framework\TestCase; use Silex\Provider\Swiftmaile...
require File.dirname(__FILE__) + '/../../spec_helper.rb' require 'spec/expectations/differs/default' describe "should ==" do it "should delegate message to target" do subject = "apple" subject.should_receive(:==).with("apple").and_return(true) subject.should == "apple" end it "should fail when...
package org.elasticsearch.script; import org.elasticsearch.test.ESTestCase; import java.security.AllPermission; import java.security.PermissionCollection; /** Very simple sanity checks for {@link ClassPermission} */ public class ClassPermissionTests extends ESTestCase { public void testEquals() { asse...
<?php /** * @see Zend_Service_DeveloperGarden_Response_ResponseAbstract */ require_once 'Zend/Service/DeveloperGarden/Response/ResponseAbstract.php'; /** * @see Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface */ require_once 'Zend/Service/DeveloperGarden/Response/SecurityTokenServer/Interface...
from django.db import models class Article(models.Model): text = models.TextField()
<?php namespace yiiunit\extensions\twig; use yii\helpers\FileHelper; use yii\web\AssetManager; use yii\web\View; use Yii; use yiiunit\data\ar\Order; use yiiunit\data\base\Singer; use yiiunit\framework\db\DatabaseTestCase; /** * Tests Twig view renderer * * @author Alexander Makarov <sam@rmcreative.ru> * @author C...