answer
stringlengths
15
1.25M
package org.chromium.net.impl; import android.content.Context; import android.os.Build; import android.os.ConditionVariable; import android.os.Handler; import android.os.Looper; import android.os.Process; import android.util.Log; import org.chromium.base.ObserverList; import org.chromium.base.VisibleForTesting; import ...
#ifndef <API key> #define <API key> #include <flux/meta/MetaObject> namespace flux { namespace meta { /** \brief Duck-typed object protocol */ class MetaProtocol: public Object { public: inline static Ref<MetaProtocol> create() { return new MetaProtocol; } template<class Prototype> Prototype *...
module Carto module Configuration def db_config @@db_config ||= YAML.load(File.read(db_config_file)).freeze end def app_config @@app_config ||= YAML.load_file(app_config_file).freeze end def frontend_version @@frontend_version ||= JSON::parse(File.read(Rails.root.join("package.js...
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_33) on Fri Jul 13 11:10:51 CEST 2012 --> <TITLE> Sample </TITLE> <META NAME="date" CONTENT="2012-07-13"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function wind...
/** @file speex_bits.h @brief Handles bit packing/unpacking */ #ifndef BITS_H #define BITS_H /** @defgroup SpeexBits SpeexBits: Bit-stream manipulations * This is the structure that holds the bit-stream when encoding or decoding * with Speex. It allows some manipulations as well. * @{ */ #include "speex_typ...
package org.exist.storage.index; import java.nio.ByteBuffer; import org.exist.storage.DBBroker; import org.exist.storage.journal.LogException; import org.exist.storage.txn.Txn; /** * @author wolf * */ public class RemoveValueLoggable extends <API key> { protected long page; protected short tid; protected...
#!/usr/bin/env perl use strict; use warnings; use LWP::UserAgent; use JSON::PP; my $base = "http://gameai.skullspace.ca/api/"; sub failure { print("!! " . shift(@_) . "\n"); exit(1); } sub info { print("** " . shift(@_) . "\n"); } sub parse_card { my $abbr = shift(@_); my %card = ("abbr" => $abbr); ...
<!DOCTYPE html> <html xmlns="http: <head> <meta charset="utf-8" /> <title>statsmodels.robust.robust_linear_model.RLMResults.pvalues &#8212; statsmodels v0.10.2 documentation</title> <link rel="stylesheet" href="../_static/nature.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments....
// This file is part of the RDKit. // of the RDKit source tree. #include <GraphMol/RDKitBase.h> #include <GraphMol/Fingerprints/AtomPairs.h> #include <GraphMol/Subgraphs/Subgraphs.h> #include <DataStructs/SparseIntVect.h> #include <RDGeneral/hash/hash.hpp> #include <boost/cstdint.hpp> #include <boost/dynamic_bitset.h...
<?php namespace Zend\Ldap\Collection; use Zend\Ldap; use Zend\Ldap\Exception; use Zend\Stdlib\ErrorHandler; /** * Zend\Ldap\Collection\DefaultIterator is the default collection iterator implementation * using ext/ldap * * @category Zend * @package Zend_Ldap */ class DefaultIterator implements \Iterator, \Cou...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\HalfproductSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="halfproduct-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> ...
WakaTime ![License](https: [![Build status](https: ![GitHub top language](https://img.shields.io/github/languages/top/CodeCavePro/wakatime-sharp.svg) ======= ![NuGet](https://img.shields.io/nuget/v/WakaTime.svg?label=NuGet) ![NuGet](https://img.shields.io/nuget/dt/WakaTime.svg) [![.NET Standard](https: [![.NET Framewor...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AudioHurtHandler : MonoBehaviour { // Static reference to singleton object public static AudioHurtHandler instance; public AudioClip[] myClip; // Use this for initialization void Start () { instan...
<?php namespace estvoyage\risingsun\comparison\unary\container\payload; use estvoyage\risingsun\{ container, comparison, ointeger, block }; class disjunction implements comparison\unary\container\payload { private $operand, $recipient ; function __construct($operand, comparison\r...
<?php namespace UForm\Form\Element; use UForm\Filtering\FilterChain; use UForm\Form\Element; /** * Element that intends to contain other elements. * It only aims to be a common parent for Group and Collection * * In some ways it is opposed to the Primary element that cant contain other elements * * @see UForm\For...
# -*- coding: utf-8 -*- import pandas from qstkutil import DataAccess as da import numpy as np import math import copy import qstkutil.qsdateutil as du import datetime as dt import qstkutil.DataAccess as da import qstkutil.tsutil as tsu import qstkstudy.EventProfiler as ep """ Accepts a list of symbols along with start...
<?php include_once '<API key>.php'; /** * This is the model class for table "THEME_MANAGEMENT". * * The followings are the available columns in table 'THEME_MANAGEMENT': * @property string $PID * @property string $THEME */ class Theme_Management extends CActiveRecord { /** * Returns the static model of t...
# Makefile for Sphinx documentation # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) $(error The '$(SPHINXBUILD)' command was no...
#include "native_client/src/include/portability_string.h" #include "native_client/src/include/nacl_macros.h" #include "native_client/src/include/nacl_platform.h" #include "native_client/src/shared/platform/nacl_check.h" #include "native_client/src/trusted/service_runtime/<API key>.h" #include "native_client/src/trusted...
#include "platform/fonts/shaping/RunSegmenter.h" #include "platform/fonts/ScriptRunIterator.h" #include "platform/fonts/SmallCapsIterator.h" #include "platform/fonts/SymbolsIterator.h" #include "platform/fonts/UTF16TextIterator.h" #include "platform/text/Character.h" #include "wtf/Assertions.h" namespace blink { RunSeg...
{% macro vital(addon, type) %} <div class="vital"> {% if type in ('updated', 'created') %} <span class="updated"> {% if type == 'updated' %} {# L10n: {0} is a date. #} {{ _('Updated {0}')|f(addon.last_updated|datetime) }} {% else %} {# L10n: {0} is a date. #} ...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_101) on Sat Aug 20 05:41:48 EDT 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Uses of Class org.apache.solr.search.Sorting (Solr 6.2.0 API)</title> <meta name="date" content="2016-08-...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http: <html xmlns="http: <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>statsmodels.genmod.families.family.InverseGaussian.loglike &#8212; statsmod...
<?php return [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=campus_rec', 'username' => 'root', 'password' => '', 'charset' => 'utf8', ];
require_dependency 'spree/calculator' module Spree class PaymentCalculator::PerItem < Calculator preference :amount, :decimal, :default => 0 attr_accessible :preferred_amount def self.description I18n.t(:flat_rate_per_item) end def compute(object=nil) return 0 if object.nil? self...
<?php // Call <API key>::main() if this source file is executed directly. if (!defined("PHPUnit_MAIN_METHOD")) { define("PHPUnit_MAIN_METHOD", "<API key>::main"); } /** <API key> */ require_once 'Zend/Dojo/Form/SubForm.php'; /** Zend_View */ require_once 'Zend/View.php'; class <API key> extends <API key> { /** ...
// AppDelegate.h // DemoApp #import <UIKit/UIKit.h> @class ViewController; @class AdObserver; @interface AppDelegate : UIResponder <<API key>> @property (strong, nonatomic) UIWindow *window; @property (strong, nonatomic) ViewController *viewController; @property (strong, nonatomic) AdObserver *adObserver; @end
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Nov 22 2016 05:57:16). @protocol <API key> - (void)<API key>:(void (^)(char *, unsigned long long))arg1; @end
#flash-messages {position: absolute;} #flash-messages .success ul, .notice ul, .error ul { list-style: none; margin: 0; padding: 0; } #flash-messages .success ul li, .notice ul li, .error ul li { float: none; display: block; } #flash-messages .success ul, .notice ul, .error ul { list-style: none; margin: 0; padding: 0;...
import {InputWidget, InputWidgetView} from "./input_widget" import {input} from "core/dom" import * as p from "core/properties" import {bk_input} from "styles/widgets/inputs" export class TextInputView extends InputWidgetView { model: TextInput protected input_el: HTMLInputElement connect_signals(): void { su...
# User: debian # Passwd: /dev/null FROM scratch ADD jessie.tgz / ADD qemu-arm-static /usr/bin/qemu-arm-static CMD ["/bin/bash"]
#!/usr/bin/python """ A chain with four possible intermediates with different notBefore and notAfter dates, for testing path bulding prioritization. """ import sys sys.path += ['../..'] import gencerts DATE_A = '150101120000Z' DATE_B = '150102120000Z' DATE_C = '180101120000Z' DATE_D = '180102120000Z' root = gencerts.<A...
<?php include_once "../../includes/easyparliament/init.php"; if (($date = get_http_var('d')) && preg_match('#^\d\d\d\d-\d\d-\d\d$#', $date)) { $this_page = 'hansard_date'; $PAGE-><API key>(array('date'=>$date)); $URL = new URL($this_page); $db = new ParlDB; $q = $db->query("SELECT MIN(hdate) AS hdat...
#include "src/gpu/dawn/GrDawnBuffer.h" #include "src/gpu/dawn/GrDawnStagingBuffer.h" #include "src/gpu/dawn/GrDawnGpu.h" namespace { wgpu::BufferUsage <API key>(GrGpuBufferType type) { switch (type) { case GrGpuBufferType::kVertex: return wgpu::BufferUsage::Vertex; ca...
<?php namespace Doctrine\ORM\Mapping; /** * A MappingException indicates that something is wrong with the mapping setup. * * @since 2.0 */ class MappingException extends \Doctrine\ORM\ORMException { public static function pathRequired() { return new self("Specifying the paths to your entities is req...
# Try to find hwloc libraries and headers. # Usage of this module: # find_package(hwloc) # Variables defined by this module: # HWLOC_FOUND System has hwloc libraries and headers # HWLOC_LIBRARIES The hwloc library # HWLOC_INCLUDE_DIRS The location of HWLOC headers find_path( HWLOC_PREF...
package com.salesforce.dva.argus.service.metric.transform; import com.salesforce.dva.argus.entity.Metric; import com.salesforce.dva.argus.system.SystemAssert; import java.util.*; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * COUNT, GROUP, UNION. * * @author ...
#include "net/url_request/url_fetcher_core.h" #include <stdint.h> #include "base/bind.h" #include "base/logging.h" #include "base/metrics/histogram.h" #include "base/profiler/scoped_tracker.h" #include "base/<API key>.h" #include "base/<API key>.h" #include "base/stl_util.h" #include "base/<API key>.h" #include "base/t...
<?php class SortWeightRegistry { public static $<API key> = true; public static $relations = array(); public static $default_sorts = array(); // original default_sort public static $add_weight_columns = array(); public static $direction = 'ASC'; // ASC || DESC p...
#ifndef <API key> #define <API key> #include "ui/gfx/geometry/mojom/<API key>.h" #include "ui/gfx/mojom/rrect_f.mojom-shared.h" #include "ui/gfx/rrect_f.h" #include "ui/gfx/rrect_f_builder.h" namespace mojo { namespace { gfx::mojom::RRectFType GfxRRectFTypeToMojo(gfx::RRectF::Type type) { switch (type) { case gfx...
#include "components/password_manager/core/browser/sql_table_builder.h" #include <algorithm> #include <set> #include <utility> #include "base/numerics/safe_conversions.h" #include "base/stl_util.h" #include "base/strings/string_util.h" #include "base/strings/stringprintf.h" #include "sql/database.h" #include "sql/trans...
from simulation.aivika.modeler.model import * from simulation.aivika.modeler.port import * from simulation.aivika.modeler.stream import * from simulation.aivika.modeler.data_type import * from simulation.aivika.modeler.pdf import * def <API key>(transact_type, min_delay, max_delay): """Return a new stream of transa...
# apis_v1/<API key>/<API key>.py # Brought to you by We Vote. Be good. # -*- coding: UTF-8 -*- def <API key>(url_root): """ Show documentation about voterStarOnSave """ <API key> = [ { 'name': 'api_key', 'value': 'string (from post, cookie, or get (in that ...
define(['../Property', '../Model', 'dojo/_base/declare', 'json-schema/lib/validate'], function (Property, Model, declare, jsonSchemaValidator) { // module: // dstore/extensions/JsonSchema // summary: // This module generates a dstore schema from a JSON Schema to enabled validati...
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace <API key>.iOS { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to u...
<?php namespace Competitions; use Zend\Mvc\ModuleRouteListener; use Zend\Mvc\MvcEvent; class Module { public function onBootstrap(MvcEvent $e) { $e->getApplication()->getServiceManager()->get('translator'); $eventManager = $e->getApplication()->getEventManager(); $moduleRouteListe...
#include "stdafx.h" #include "CGGuildApply.h" BOOL CGGuildApply::Read( SocketInputStream& iStream ) { __ENTER_FUNCTION iStream.Read( (CHAR*)(&m_GuildNameSize), sizeof(BYTE) ); if(m_GuildNameSize<MAX_GUILD_NAME_SIZE) { iStream.Read( (CHAR*)(m_GuildName), m_GuildNameSize ); } iStream.Read( (CH...
<?php namespace Laravella\Ravel\Facades; Class Facade { protected static $resolvedInstance; /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { throw new \RuntimeException("Facade does not implement getFacadeAc...
import numpy as np from nose.tools import (assert_true, assert_false, assert_equal, assert_almost_equal) from numpy.testing import (assert_array_equal, <API key>, assert_) from dipy.sims.voxel import (_check_directions, SingleTensor, MultiTensor, ...
import Ember from 'ember'; import ajax from 'ic-ajax'; import config from '../config/environment'; import SlydApi from '../utils/slyd-api'; import Timer from '../utils/timer'; import ApplicationUtils from '../mixins/application-utils'; var UUID = Ember.Object.extend(ApplicationUtils, {}); export function initialize(con...
'''' Tune the 3 most promissing algorithms and compare them ''' # Load libraries import os import time import pandas import numpy import matplotlib.pyplot as plt from pandas.tools.plotting import scatter_matrix from pandas import DataFrame from sklearn.preprocessing import StandardScaler from sklearn.preprocessing impo...
/* $KAME: fsm.h,v 1.2 2005/05/25 01:49:24 keiichi Exp $ */ #ifndef _SHISAD_FSM_H_ #define _SHISAD_FSM_H_ /* states for the primary fsm. */ #define <API key> 0 #define <API key> 1 #define <API key> 2 #define <API key> 3 #define <API key> 4 #define <API key> 5 #define <API ...
import numpy as np from scipy.linalg import norm from .base import <API key> class <API key>(<API key>): @property def algorithm(self): return 'Simultaneous-FA' def _fit(self, lk_fitting, max_iters=20, project=True): # Initial error > eps error = self.eps + 1 image = lk_fitti...
package org.cagrid.gme.common.exceptions; import java.io.IOException; @SuppressWarnings("serial") public class <API key> extends IOException { public <API key>() { super(); } public <API key>(String s) { super(s); } }
#ifndef <API key> #define <API key> #include "ui/events/events_export.h" namespace ui { class DragEventAndroid; class GestureEventAndroid; class KeyEventAndroid; class MotionEventAndroid; // Dispatches events to appropriate targets. The default implementations of // all of the specific handlers do nothing. Implementati...
// .NAME <API key> - draw text labels at 2D dataset points // .SECTION Description // <API key> is a mapper that renders text at dataset // points such that the labels do not overlap. // Various items can be labeled including point ids, scalars, // vectors, normals, texture coordinates, tensors, and field data componen...
require 'erb' describe "ERB.new" do before :all do @eruby_str = <<'END' <ul> <% list = [1,2,3] %> <% for item in list %> <% if item %> <li><%= item %></li> <% end %> <% end %> </ul> END @eruby_str2 = <<'END' <ul> % list = [1,2,3] %for item in list % if item <li><%= item %> <% end %> <% end %> </ul> %%% E...
#include "config.h" #include "HTMLMediaSource.h" namespace WebCore { URLRegistry* HTMLMediaSource::s_registry = 0; void HTMLMediaSource::setRegistry(URLRegistry* registry) { ASSERT(!s_registry); s_registry = registry; } }
#ifndef CAN_H #define CAN_H /** \file * \brief Generic CAN communication * Common commands used to communicate via the CAN protocol. * These methods are implemented by all CAN communication backends. */ #include <tulibs/config.h> /** Predefined CAN constants */ #define <API key> "can" /** Predef...
package vtk.text.tl.expr; import java.math.BigDecimal; import vtk.text.tl.Symbol; public class Multiply extends NumericOperator { public Multiply(Symbol symbol) { super(symbol); } @Override protected Object evalNumeric(BigDecimal n1, BigDecimal n2) { return n1.multiply(n2); } }
// Definition of ModelTypePayloadMap and various utility functions. #ifndef <API key> #define <API key> #include <map> #include <string> #include "sync/base/sync_export.h" #include "sync/internal_api/public/base/model_type.h" // TODO(akalin): Move the non-exported functions in this file to a // private header. namespac...
"""Provides fakes for several of Telemetry's internal objects. These allow code like story_runner and Benchmark to be run and tested without compiling or starting a browser. Class names prepended with an underscore are intended to be implementation details, and should not be subclassed; however, some, like _FakeBrowser...
FILE(REMOVE_RECURSE "CMakeFiles/dynamic_object_test.dir/unittests/dynamic_object_test.cpp.o" "dynamic_object_test.pdb" "dynamic_object_test" ) # Per-language clean rules from dependency scanning. FOREACH(lang CXX) INCLUDE(CMakeFiles/dynamic_object_test.dir/cmake_clean_${lang}.cmake OPTIONAL) ENDFOREACH(lang)
/* Open Source Software - may be modified and shared by FRC teams. The code */ /* the project. */ package edu.wpi.first.wpilibj.templates; import edu.wpi.first.wpilibj.Compressor; import edu.wpi.first.wpilibj.Jaguar; import edu.wpi.first.wpilibj.Joystick; ...
#include "<API key>.moc.h" #include <QtToolbox/CollapsibleWidget.moc.h> #include <QtToolbox/SingleSlidingValue.moc.h> #include <QtToolbox/SingleSlidingHDR.moc.h> #include <QGridLayout> #include <QPushButton> namespace EPI { <API key>::<API key>( const Ptr<Universe::NodeEmitter>& pNodeE, ...
# -*- coding: utf-8 -*- """ Quality Control based on fuzzy logic. """ import logging import numpy as np from .core import QCCheckVar from .gradient import gradient from .spike import spike from .woa_normbias import woa_normbias from cotede.fuzzy import fuzzy_uncertainty module_logger = logging.getLogger(__name__) d...
# Spree PayPal Express This is a "re-do" of the official [<API key>][4] extension. The old extension is extremely hard to maintain and complex. Behind-the-scenes, this extension uses [PayPal's Merchant Ruby SDK](https://github.com/paypal/merchant-sdk-ruby). ## Installation 1. Add this extension to your Gemfile with thi...
package org.chromium.ui.widget; import android.content.Context; import android.util.AttributeSet; import android.util.SparseArray; import android.view.View; import android.view.ViewGroup; import androidx.annotation.IdRes; import androidx.annotation.Nullable; import androidx.annotation.VisibleForTesting; import org.chro...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_91) on Tue Dec 29 12:44:17 AEDT 2015 --> <title>org.bouncycastle.math.raw (Bouncy Castle Library 1.54 API Specification)</title> <meta name="date" content="2015-12-29"> <link rel="stylesheet" type="text/css" href=...
from setuptools import setup, find_packages setup(name='gelato.models', version='0.1.2', description='Gelato models', namespace_packages=['gelato'], long_description='', author='', author_email='', license='', url='', <API key>=True, packages=find_packages(exc...
{-# LANGUAGE <API key>, FlexibleInstances, TypeFamilies #-} module Rubik.Turn where import Data.Array import Rubik.Negate as N import Rubik.Key data Turn = NoTurn | Clock | OneEighty | CounterClock deriving (Eq,Ord,Show,Enum,Ix) instance Negate Turn where negate NoTurn = NoTurn negate Clock = Co...
/* -*- mode: c++; fill-column: 132; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #include "irods_auth_object.hpp" namespace irods { auth_object::auth_object( rError_t* _r_error ) : r_error_( _r_error ) { // TODO - stub } auth_object::~auth_object() { // TODO - stub } auth_...
package operation import ( "fmt" "os" "github.com/runabove/sail/internal" "github.com/spf13/cobra" ) var cmdOperationAttach = &cobra.Command{ Use: "attach", Short: "Attach to an ongoing operation output: sail operation attach [applicationName] <operationId>", Long: `Attach to an ongoing op...
package com.groupon.lex.metrics; import org.hamcrest.Matchers; import static org.hamcrest.Matchers.containsString; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotNull; import static org.juni...
import sys import warnings try: import itertools.izip as zip except ImportError: pass from itertools import product import numpy as np from .. import util from ..dimension import dimension_name from ..element import Element from ..ndmapping import NdMapping, item_check, sorted_context from .interface import Dat...
using System; using OpenViewer.Model; namespace OpenViewer.UI { public abstract class UIBase : IUI { protected MetaverseSession m_model; public abstract string GetName(); public abstract void Initialize(MetaverseSession model, string renderingEngine, string loginURI, string username, str...
<?php return array( 'router' => array( 'routes' => array( // The following is a route to simplify getting started creating // new controllers and actions without needing to create a new // module. Simply drop new controllers in, and you can access them // usin...
<?php namespace Jazzee\Element; class Phonenumber extends TextInput { const PAGEBUILDER_SCRIPT = 'resource/scripts/element_types/<API key>.js'; public function addToField(\Foundation\Form\Field $field) { $element = $field->newElement('TextInput', 'el' . $this->_element->getId()); $element->setLabel($this-...
# for for i in 1..10 do puts i end
# modification, are permitted provided that the following conditions are met: # and/or other materials provided with the distribution. # - Neither the Indiana University nor the names of its contributors may be used # to endorse or promote products derived from this software without specific # AND ANY EXPRESS OR IM...
package gov.hhs.fha.nhinc.patientdiscovery.inbound.deferred.request; import gov.hhs.fha.nhinc.aspect.<API key>; import gov.hhs.fha.nhinc.common.nhinccommon.AssertionType; import gov.hhs.fha.nhinc.nhinclib.NhincConstants; import gov.hhs.fha.nhinc.patientdiscovery.<API key>; import gov.hhs.fha.nhinc.patientdiscovery.adap...
import * as fs from "fs" import * as path from "path" import * as ts from "typescript" const coffee = require("coffeescript") const less = require("less") import {argv} from "yargs" import {collect_deps} from "./dependencies" const mkCoffeescriptError = (error: any, file?: string) => { const message = error.message ...
# -*- coding: utf-8 -*- # modification, are permitted provided that the following conditions are met: # documentation and/or other materials provided with the distribution. # may be used to endorse or promote products derived from this software without # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT...
from mock import patch from nose.tools import eq_ from helper import TestCase import appvalidator.submain as submain class TestSubmainPackage(TestCase): @patch("appvalidator.submain.test_inner_package", lambda x, z: "success") def test_package_pass(self): "Tests the test_package function with...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="scaffolded-by" content="https://github.com/google/stagehand"> <title>futures_api</title> <link rel="styles...
Directory for interactive development of c2po plots. Install deps via: bundle install then run bundle exec guard execute some of the code in `scratch.rb` and view your plots at `http://localhost:3000/`.
package com.mistraltech.smogen.codegenerator.javabuilder; public class <API key> extends <API key><<API key>> { private <API key>() { } public static <API key> anInterfaceMethod() { return new <API key>(); } @Override public String build(JavaBuilderContext context) { return super...
#ifndef <API key> #define <API key> #include <stdint.h> #include <string> #include <vector> #include "base/logging.h" #include "build/build_config.h" #include "components/cloud_devices/common/description_items.h" // Defines printer options, CDD and CJT items. namespace cloud_devices { namespace printer { struct <API ke...
class ProductTag < ActiveRecord::Base has_attached_file :icon, :url => "/assets/product_tags/:id/:basename.:extension", :path => ":rails_root/public/assets/product_tags/:id/:basename.:extension" validates :name, :presence => true, :uniqueness => true has_many :products end
"use strict" function <API key>(config:Object) : Object { let mentionBotEnvConfig; try { mentionBotEnvConfig = JSON.parse(process.env.MENTION_BOT_CONFIG); } catch(e) { mentionBotEnvConfig = {}; } return Object.keys(config).reduce((previousValue, key) => { let defaultConfigValue = config[key]; ...
#include "cc/resources/<API key>.h" #include "base/debug/trace_event.h" #include "base/time.h" #include "cc/debug/<API key>.h" #include "cc/resources/layer_painter.h" #include "third_party/skia/include/core/SkCanvas.h" #include "third_party/skia/include/core/SkPaint.h" #include "third_party/skia/include/core/SkRect.h" ...
# Aplicacion de las TIC basadas en Fuentes Abiertas, Spain. # modification, are permitted provided that the following conditions # are met: # the documentation and/or other materials provided with the # distribution. # Neither the name of the CENATIC nor the names of its contributors # may be used to endorse or...
# -*- coding: utf-8 -*- ''' Production Configurations - Use djangosecure - Use mailgun to send emails - Use redis ''' from __future__ import absolute_import, unicode_literals from django.utils import six from .common import * # noqa # SECRET CONFIGURATION # Raises <API key> exception if DJANO_SECRET_KEY not in os.envi...
package org.chromium.chrome.browser.sync; import android.test.FlakyTest; import android.test.suitebuilder.annotation.LargeTest; import android.util.Pair; import org.chromium.base.ThreadUtils; import org.chromium.base.test.util.Feature; import org.chromium.chrome.browser.ChromeApplication; import org.chromium.chrome.bro...
#include "chrome/browser/password_manager/password_store_mac.h" #include "base/basictypes.h" #include "base/files/scoped_temp_dir.h" #include "base/scoped_observer.h" #include "base/stl_util.h" #include "base/strings/string_util.h" #include "base/strings/<API key>.h" #include "base/synchronization/waitable_event.h" #in...
package gov.nih.nci.nbia.restAPI; import gov.nih.nci.nbia.dao.<API key>; import gov.nih.nci.nbia.util.<API key>; import gov.nih.nci.security.<API key>; import gov.nih.nci.security.<API key>; import gov.nih.nci.security.authorization.domainobjects.ProtectionGroup; import gov.nih.nci.security.authorization.domainobjects....
#ifndef <API key> #define <API key> #include <string> #include <vector> #include "base/basictypes.h" #include "content/public/browser/<API key>.h" #include "ui/base/clipboard/clipboard.h" class GURL; namespace content { class <API key> : public <API key> { public: <API key>(); virtual void <API key>( const I...
# modification, are permitted provided that the following conditions are met: # and/or other materials provided with the distribution. # may be used to endorse or promote products derived from this software # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTA...
package org.knopflerfish.service.repositorymanager; import org.osgi.framework.Constants; import org.osgi.framework.ServiceReference; import org.osgi.service.repository.Repository; public class RepositoryInfo implements Comparable<RepositoryInfo> { final private long id; final private int rank; final ServiceRefere...
// GB_Descriptor_get: get the status of a descriptor // A descriptor modifies how the behavoir of a GraphBLAS operation. In the // current GraphBLAS spec, the following descriptor fields may be set. // Descriptor field: Descriptor value: // desc->out GxB_DEFAULT or GrB_REPLACE // GrB...