answer
stringlengths
15
1.25M
#include <ctime> #include <parallel/pthread_tools.hpp> #include <unity/lib/gl_sarray.hpp> #include <unity/lib/gl_sframe.hpp> #include <unity/lib/unity_sarray.hpp> #include <sframe/sarray.hpp> #include <sframe/sarray_reader.hpp> #include <sframe/<API key>.hpp> #include <unity/lib/image_util.hpp> #include <sframe_query_e...
#ifndef <API key> #define <API key> #include <string> #include "build/build_config.h" class Profile; // Returns the device ID that is scoped to single signin. // All refresh tokens for |profile| are annotated with this device ID when they // are requested. // On non-ChromeOS platforms, this is equivalent to: // sig...
#include "ash/system/unified/<API key>.h" #include "ash/metrics/user_metrics_action.h" #include "ash/metrics/<API key>.h" #include "ash/public/cpp/ash_features.h" #include "ash/public/cpp/pagination/<API key>.h" #include "ash/public/cpp/system_tray_client.h" #include "ash/session/<API key>.h" #include "ash/shell.h" #in...
#ifndef <API key> #define <API key> #include <string> #include "base/callback.h" #include "base/memory/weak_ptr.h" #include "base/optional.h" #include "chromeos/login/auth/user_context.h" class AccountId; namespace chromeos { class UserContext; namespace quick_unlock { class <API key> { public: using BoolCallback = ...
"""Define statements for retrieving the data for each of the types.""" CONSTRAINTS = """ select o.owner, o.constraint_name, o.constraint_type, o.table_name, o.search_condition, o.r_owner, o.r_constraint_name, o.delete_rule, ...
{{ define "content" }} <div class="mdl-grid"> <div class="mdl-cell mdl-cell--12-col"><h2 class="card-header">{{ .Name }}</h2></div> <div class="mdl-cell mdl-cell--12-col <API key> mdl-card mdl-shadow--2dp"> <div class="mdl-card__title"> <h3 class="<API key>">When and Where</h2> </div> {{ if .Locat...
<?php /** * Default base class for compiled templates. * * @author Fabien Potencier <fabien@symfony.com> */ abstract class Twig_Template implements <API key> { protected static $cache = array(); protected $parent; protected $parents; protected $env; protected $blocks; protected $traits; ...
package fr.paris.lutece.portal.web.xss; import fr.paris.lutece.portal.service.message.AdminMessage; import fr.paris.lutece.portal.service.message.AdminMessageService; import javax.servlet.http.HttpServletRequest; /** * This class extends SafeRequestFilter and use AdminMessageService for display error Message * * @au...
<?php /** * Item Service class * * @author jacoe */ namespace BidSite\Service; use Zend\Form\FormInterface as Form; use Zend\ServiceManager\ServiceManager; use Zend\ServiceManager\<API key>; use ZfcBase\EventManager\EventProvider; use BidSite\Mapper\HydratorInterface; use BidSite\Mapper\ItemMapperInterface; use Bid...
package com.github.sviperll.cli; /** * This exception is thrown in every case * where command line argument parsing goes wrong. * * For example when there is a missing argument for * some command line key * * @author Victor Nazarov <asviraspossible@gmail.com> */ @SuppressWarnings("serial") public class CLIExcep...
<?php require_once(__DIR__ . '/../GitHubClient.php'); require_once(__DIR__ . '/../GitHubService.php'); require_once(__DIR__ . '/../objects/GitHubUser.php'); class <API key> extends GitHubService { /** * List assignees * * @return array<GitHubUser> */ public function listAssignees($owner, $re...
#ifndef <API key> #define <API key> // Note this file has a _views suffix so that it may have an optional runtime // dependency on toolkit-views UI. #import <CoreGraphics/CoreGraphics.h> #include <memory> #import "base/mac/scoped_nsobject.h" #include "base/macros.h" #include "chrome/browser/ui/exclusive_access/<API key...
<?php namespace Anodoc\ClassDoc; use Anodoc\Exception; class InvalidMethodDoc extends Exception {}
#include "chrome/browser/upgrade_detector/<API key>.h" #include <stdio.h> #include <string> #include "base/base_switches.h" #include "base/command_line.h" #include "base/strings/<API key>.h" #include "components/version_info/version_info.h" #include "testing/gtest/include/gtest/gtest.h" #include "testing/<API key>.h" n...
set YEAR=2017 set VER=15 mkdir "%PREFIX%\etc\conda\activate.d" COPY "%RECIPE_DIR%\activate.bat" "%PREFIX%\etc\conda\activate.d\vs%YEAR%_compiler_vars.bat" IF "%<API key>%" == "win-64" ( set "target_platform=amd64" echo SET "CMAKE_GENERATOR=Visual Studio %VER% %YEAR% Win64" >> "%PREFIX%\etc\conda\activate.d\vs%YEAR%...
#include "device/bluetooth/test/<API key>.h" #include <utility> #include "base/bind.h" #include "base/strings/string_piece.h" #include "base/task_runner_util.h" #include "base/threading/<API key>.h" #include "base/win/async_operation.h" #include "base/win/scoped_hstring.h" #include "device/bluetooth/test/<API key>.h" n...
// Generated by IcedCoffeeScript 1.8.0-d (function() { var constants, d, k, kbp, v, _ref, _ref1; kbp = require('keybase-proofs'); exports.constants = constants = { proof_types: { rooter: 100001 } }; d = {}; _ref = constants.proof_types; for (k in _ref) { v = _ref[k]; d[v] = k; } ...
/* WHATSOCK, 2016 */ /* Specific styles for Accessible Tooltip */ div.tooltip { position: absolute; width: auto; color: #FFF; background: #2E3135; padding: 0.3em 0.5em; -webkit-box-shadow: 0 1px 1px #afafaf, inset 0 1px 0 #868686; -moz-box-shadow: 0 1px 1px #afafaf, inset 0 1px 0 #868686; ...
namespace DNS.Protocol { public enum RecordType { A = 1, NS = 2, CNAME = 5, SOA = 6, WKS = 11, PTR = 12, MX = 15, TXT = 16, AAAA = 28, SRV = 33, ANY = 255, } }
#ifndef <API key> #define <API key> #include "ash/public/cpp/ash_public_export.h" #include "third_party/skia/include/core/SkColor.h" namespace ash { // The value assigned to the wallpaper color calculation result if calculation // fails or is disabled (e.g. from command line, lock/login screens). constexpr SkColor <API...
<?php namespace tests\Response; use MaitavrApi\Response\Response; use MaitavrApi\Response\Exceptions\AuthException; use MaitavrApi\Exceptions\ApiException; class ResponseTest extends \<API key> { public function testAuthException(){ $this-><API key>(get_class(new AuthException())); $jsonResponse = j...
class Error(Exception): """ Base error for all coco exceptions. Only when throwing an instance of this error one can be sure it will get caught by the application. All other exceptions might be unhandled leading to crashes. """ pass class BackendError(Error): """ Base error for all b...
#ifndef <API key> #define <API key> #include "third_party/blink/renderer/platform/heap/garbage_collected.h" #include "third_party/blink/renderer/platform/heap/heap.h" #include "third_party/blink/renderer/platform/heap/visitor.h" namespace blink { // DisallowNewWrapper wraps a disallow new type in a GarbageCollected cla...
<?php /* @var $this UnitsController */ /* @var $model Units */ ?> <div id="titlebar"> <div class="listtitle">Update Unit <?php echo $model->unit_id; ?></div> <div class="deletebutton"><?php echo CHtml::submitButton('Delete',array('submit'=>array('delete','id'=>$model->unit_id),'confirm'=>'Are you sure you want to delet...
#include <iterator> #include "<API key>.h" #ifdef _MSC_VER // has to be deactivated because of a bug in boost v1.59. see Boost bug ticket #11599 // as soon as MITK uses a boost version with a bug fix we can remove the disableling. #pragma warning(push) #pragma warning(disable : 4715) #endif #include <boost/property_tre...
import { <API key> } from "./<API key>.actions" export function <API key>(payload: boolean) { return <API key>(payload) }
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\Roomreg */ $this->title = $model->rid; $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'ข้อมูลการจองห้อง'), 'url' => ['admin']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="roomre...
require 'factory_girl' Factory.sequence :email do |n| "somebody#{n}@example.com" end Factory.sequence :user_<API key> do |n| "xxxx#{Time.now.to_i}#{rand(1000)}#{n}xxxxxxxxxxxxx" end Factory.define :user do |f| f.email { Factory.next(:email) } f.login { |u| u.email } f.<API key> { Factory.next(:user_<API key>)...
#include <stdio.h> #include <algorithm> #include <string> #include <vector> #include "mojo/public/c/system/macros.h" #include "mojo/public/cpp/bindings/interface_impl.h" #include "mojo/public/cpp/bindings/interface_ptr.h" #include "mojo/public/cpp/bindings/lib/connector.h" #include "mojo/public/cpp/bindings/lib/filter_...
// SeqAn - The Library for Sequence Analysis // modification, are permitted provided that the following conditions are met: // documentation and/or other materials provided with the distribution. // * Neither the name of Knut Reinert or the FU Berlin nor the names of // its contributors ...
#include <string> #include <fstream> using namespace std; #include "Obj.h" #include "DataSet.h" #include "Prediction.h" using namespace libedm; // void operator +=(PRED_RESULT &a, const PRED_RESULT &b) // if(a.PredLabelIndices.size()==0) // return; // _ASSERT(a.ClassNum==b.ClassNum); // a.CaseNum+=b...
#ifndef <API key> #define <API key> #include <stdint.h> #include <memory> #include <string> #include <vector> #include "base/containers/queue.h" #include "base/optional.h" #include "base/strings/string16.h" #include "device/bluetooth/bluetooth_common.h" #include "device/bluetooth/bluetooth_device.h" #include "device/bl...
<?php namespace backend\controllers; use common\helper\AjaxReturn; use service\models\message\Message; class WithDrawController extends \backend\common\controller\BaseController { public function actionIndex() { $withDraw = new \backend\models\withDraw\WithDrawMessenge(); $withDrawData = $withDr...
// of patent rights can be found in the PATENTS file in the same directory. #include "table/<API key>.h" #include <assert.h> #include <inttypes.h> #include <stdio.h> #include <list> #include <map> #include <memory> #include <string> #include <unordered_map> #include <utility> #include "db/dbformat.h" #include "rocksdb...
PKG_NAME = db PKG_VERS = 6.2.23 PKG_EXT = tar.gz PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) PKG_DIST_SITE = http://download.oracle.com/berkeley-db PKG_DIR = $(PKG_NAME)-$(PKG_VERS) SRC_DIR = build_unix DEPENDS = HOMEPAGE = http: COMMENT = Berkeley DB is a family of embedded key-value database libraries providi...
{- Problem 30 Numbers that can be written as powers of their digits Result 443839 6.28 s Comment The upper boundary can be estimated since 999... = 10^k - 1 has to be equal to 9^5 + 9^5 + ... = k 9^5, which yields the maximum cond...
package game.map; import game.Constants; import java.awt.Color; import java.awt.Graphics; import java.awt.Rectangle; /** * * Class to represent a Cell in the Map. A cell can have many types depending on * what actors can traverse it and how it should be drawn * */ public class Cell implements Constants { public...
#ifndef <API key> #define <API key> #include <stdint.h> #include <memory> #include <unordered_map> #include "base/macros.h" #include "cc/test/<API key>.h" #include "components/viz/common/surfaces/<API key>.h" #include "components/viz/service/display/display.h" #include "components/viz/service/frame_sinks/<API key>.h" #...
package owltools.io; import static org.junit.Assert.*; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.util.Map; import org.junit.Test; import org.semanticweb.owlapi.model.IRI; import org.semanticweb.owlapi.model.OWLOntology; import org.semanticweb.owlapi.model.<API key>; im...
#ifndef _FFCONF #define _FFCONF 4004 /* Revision ID */ #define _FS_TINY 0 /* 0:Normal or 1:Tiny */ /* When _FS_TINY is set to 1, FatFs uses the sector buffer in the file system / object instead of the sector buffer in the individual file object for file / data transfer. This reduces memory consumption...
#include "bzlib_private.h" static void makeMaps_d ( DState* s ) { Int32 i; s->nInUse = 0; for (i = 0; i < 256; i++) if (s->inUse[i]) { s->seqToUnseq[s->nInUse] = i; s->nInUse++; } } #define RETURN(rrr) \ { retVal = rrr; goto <API key>; }; #define G...
<?php /* @var $this yii\web\View */ /* @var $model common\models\Taxonomy */ $this->title = Yii::t('writesdown', 'Update Taxonomy: {taxonomy_name}', ['taxonomy_name' => $model->taxonomy_sn]); $this->params['breadcrumbs'][] = ['label' => Yii::t('writesdown', 'Taxonomies'), 'url' => ['index']]; $this->params['breadcrumbs...
<?php namespace Ice\Action; use Ice\Core\Logger; use Ice\Core\Model_Account; use Ice\Core\Security as Core_Security; use Ice\Model\Account; use Ice\Widget\Account_<API key>; class Security_<API key> extends Security { /** Run action * * @param array $input * @return array */ public function...
// <API key>: Apache-2.0 WITH LLVM-exception #include "FindTarget.h" #include "Selection.h" #include "TestTU.h" #include "clang/AST/Decl.h" #include "clang/AST/DeclTemplate.h" #include "clang/Basic/SourceLocation.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Casting.h" #include "llvm/Support/raw_ostream.h" ...
(function () { var app = window.app, collection; collection = (new Backbone.Collection); collection.findPlayer = function () { return this.where({isPlayer: true})[0]; } app.collection.user = collection; })();
<?php namespace frontend\models; use yii\db\ActiveRecord; use Yii; /** * This is the model class for table "{{%tbl_job}}". * * @property string $id * @property integer $category_id * @property integer $user_id * @property string $title * @property string $description * @property string $type * @property string...
import logging; logger = logging.getLogger("morse." + __name__) import sys import yarp from morse.core.request_manager import RequestManager, <API key> from morse.core import status class YarpRequestManager(RequestManager): """Implements services to control the MORSE simulator over YARP The syntax of requests i...
package za.org.grassroot.core.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.<API key>; import za.org.grassroot.core.domain.notification.EventNotification; public interface <API key> extends JpaRepository<EventNotification, Long>, <API key><Event...
#include "Video_PR.h" #include "xparameters.h" #include "stdio.h" #include "xil_io.h" #define <API key> 0x10 /** * * Run a self-test on the driver/device. Note this may be a destructive test if * resets of the device are performed. * * If the hardware system is not built correctly, this function may never * retur...
#include <stdlib.h> #include <math.h> double atanh_th_th(double x,double y){ /* returns argth(th(x)*th(y)) */ double yy,xx,xm,ym,res; int isigne; if(x*y>=0) isigne=1; else isigne=-1; xx=fabs(x); yy=fabs(y); if(xx<yy) { xm=xx; ym=yy; } else { xm=yy; ym=xx; } //res= xm-.5*log((1+exp...
#ifndef <API key> #define <API key> #include <array> #include <QByteArray> #include "k8090_defines.h" namespace biomolecules { namespace sprelay { namespace core { namespace k8090 { namespace impl_ { Scoped enumeration listing timer delay types. enum struct TimerDelayType : unsigned char { Total = 0u, //...
#ifndef __HTTPD_FS_H__ #define __HTTPD_FS_H__ #define HTTPD_FS_STATISTICS 1 struct httpd_fs_file { char *data; long len; }; /* file must be allocated by caller and will be filled in by the function. */ int httpd_fs_open(const char *name, struct httpd_fs_file *file); #ifdef HTTPD_FS_STATISTICS #if HTTPD_FS_STATIS...
/** * @file <API key>.h * @author Naohisa Sakamoto */ #pragma once #include <kvs/Module> #include <kvs/ImageRenderer> #include <kvs/ProgramObject> namespace kvs { class ObjectBase; class Camera; class Light; class <API key> : public kvs::ImageRenderer { kvsModule( kvs::<API key>, Renderer ); kvsModuleBas...
""" Django JSON Field. This extends Django Model Fields to store JSON as a field-type. """ #TODO - Move this to utils or another application. This is tangential to reporting and useful for other things. from django.db import models try: import json as simplejson except ImportError: from django.utils import si...
#include "content/browser/browser_plugin/old/<API key>.h" #include "content/browser/browser_plugin/old/browser_plugin_host.h" #include "content/common/<API key>.h" #include "content/public/browser/render_view_host.h" #include "content/public/browser/<API key>.h" #include "ui/gfx/size.h" namespace content { <API key>::<...
// Authors: Alessandro Tasora, Radu Serban #ifndef <API key> #define <API key> #include "chrono/fea/<API key>.h" namespace chrono { namespace fea { Class for thermal fields, for FEA problems involving temperature, heat, etc. class ChContinuumThermal : public <API key> { private: double <API key>; double <API ...
package simulation; import net.unitedfield.cc.<API key>; import processing.core.PApplet; import test.p5.OrangeWavePApplet; import com.jme3.app.SimpleApplication; import com.jme3.collision.CollisionResult; import com.jme3.collision.CollisionResults; import com.jme3.font.BitmapText; import com.jme3.input.KeyInput; import...
<?php namespace Application\Entity; use Zend\Form\Annotation; use Doctrine\ORM\Mapping as ORM; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\EntityRepository; /** * Task * Beschreibt eine spezifische Aufgabe. Diese kann einem Angestellten zugewiesen werden * * @ORM\Entity * @ORM\Entity(reposito...
#pragma once #include <memory> #include <string> #include <vector> #include "mcrouter/config.h" #include "mcrouter/lib/<API key>.h" #include "mcrouter/lib/Operation.h" #include "mcrouter/lib/<API key>.h" #include "mcrouter/<API key>.h" #include "mcrouter/ProxyRequestContext.h" #include "mcrouter/routes/FailoverRateLimi...
#include "RvsArchiveAdapter.h" #include "<API key>.h" #include <boost/archive/archive_exception.hpp> #include <boost/archive/binary_iarchive.hpp> #include <boost/archive/binary_oarchive.hpp> #include <boost/serialization/vector.hpp> #include <sstream> #include <algorithm> using std::stringstream; using namespace boost:...
<?php namespace Parametros\Controller; use Zend\Mvc\Controller\<API key>; class IndexController extends <API key> { public function indexAction() { return array(); } }
var NAVTREE = [ [ "AADC", "index.html", [ [ "Namespaces", null, [ [ "Namespace List", "namespaces.html", "namespaces" ], [ "Namespace Members", "namespacemembers.html", [ [ "All", "namespacemembers.html", null ], [ "Functions", "<API key>.html", null ], [ "Enumerations", "<API ...
#include "extensions/renderer/<API key>.h" #include "base/guid.h" #include "components/lookalikes/core/lookalike_url_util.h" #include "components/version_info/version_info.h" #include "content/public/common/url_constants.h" #include "content/public/renderer/v8_value_converter.h" #include "extensions/common/url_pattern....
require 'date' require 'time' require 'bigdecimal' module Hippo class Field attr_accessor :name, :sequence, :datatype, :options, :restrictions, :minimum, :maximum, :required, :separator, :composite, :composite_sequence def minimum @minimum ||= 0 end def format...
#ifndef <API key> #define <API key> #include "base/compiler_specific.h" #include <stdlib.h> #include <type_traits> #include <utility> // THIS IS *NOT* A GENERAL PURPOSE HASH TABLE TEMPLATE. INSTEAD, IT CAN // CAN BE USED AS THE BASIS FOR VERY HIGH SPEED AND COMPACT HASH TABLES // THAT OBEY VERY STRICT CONDITIONS DESCRI...
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>PVeins: Class Members...
module.exports = require("./loadable-components");
#ifndef BTTRACKER_NET_H_ #define BTTRACKER_NET_H_ /* * Buffer length used to receive data from clients. This value was defined * based on the largest packet to be received, which is a scrape request * packet. According to the spec, the maximum number of torrents that can * be sent in a scrape request is about 74, s...
package ring import "io" // MsgRing will send and receive Msg instances to and from ring nodes. See // TCPMsgRing for a concrete implementation. type MsgRing interface { Ring() Ring // MaxMsgLength indicates the maximum number of bytes the content of a // message may contain to be handled by this MsgRing. ...
define(['jquery', 'fury.notify', 'jquery-ui', '<API key>'], function ($, notify) { $(function () { function sortableInit() { $('.sortable').nestedSortable({ handle: 'div', items: 'li', toleranceElement: '> div' }); } sor...
{{extend 'layout.html'}} <h1>Add submission</h1> {{if instructions:}} <div class="alert alert-info"><i class="icon-info-sign"></i> {{=instructions}} </div> {{pass}} <p>Venue : {{=A(T('Assignment') + ' ' + venue.name, _href=URL('venues', 'view_venue', args=[venue.id]))}} {{=form}} {{if request.is_local:}} {{=response.to...
var searchData= [ ['turnoffvblankflag',['TurnOffVBlankFlag',['../class_g_p_u.html#<API key>',1,'GPU']]] ];
# -*- coding: utf-8 -*- import pytest from flask import url_for from myflaskapp.models.user import User from .factories import UserFactory class TestLoggingIn: def <API key>(self, user, testapp): # Goes to homepage res = testapp.get("/") # Fills out login form in navbar form = res.fo...
#include "color_utilities.hpp" #include <algorithm> #include <string> #include <cmath> namespace wgt { namespace ColorUtilities { const float GAMMA = 2.2; Int4 makeColor(const Vector4& color) { const auto clampedColor = clamp(color); return Int4 { int(clampedColor.x * 255.0f), int(clampedCol...
#ifndef <API key> #define <API key> #include <Universe/World.h> #include <Player.h> namespace ChronoRage { class GameMode; const Core::String POWERUP_FILE = L"/ChronoRageData/voxels-power-up.tga"; const float MAX_LIFETIME = 10.0f; LM_ENUM_5(EPowerUPState, <API key>, <API key>, POWER_UP_ACT...
# Tests: Diffusion Problems Tests with elements for diffusion(-like) problems ## Diffusion 1. diffu01a. Diffusion (Poisson) equation 01. Check DOFs 2. diffu02a. Diffusion (Poisson) equation 02. Check DOFs 3. diffu02b. Diffusion (Poisson) equation 02. Run ## Vector term 1. phi01 2. phi02
<?php namespace Gajus\Strading\Exception; class RuntimeException extends StradingException {}
<?php namespace app\models; use Yii; use yii\db\ActiveRecord; use yii\behaviors\TimestampBehavior; use yii\db\Expression; /** * This is the model class for table "{{%mailtempl}}". * * @property integer $mt_id * @property string $mt_createtime * @property string $mt_name * @property string $mt_text */ class Mailt...
#define SUITE printable #include "vast/test/test.hpp" #include <sstream> #include <caf/optional.hpp> #include "vast/concept/printable/core.hpp" #include "vast/concept/printable/numeric.hpp" #include "vast/concept/printable/print.hpp" #include "vast/concept/printable/std/chrono.hpp" #include "vast/concept/printable/stre...
<?php namespace backend\modules\products\controllers; use backend\controllers\CRUDController; use backend\models\Product; use backend\models\search\ProductSearch; use Yii; use yii\web\<API key>; use yii\web\Response; use yii\widgets\ActiveForm; /** * ProductsController implements the CRUD actions for Product model. *...
#ifndef <API key> #define <API key> #define <API key> 0 #define <API key> 0 #define <API key> 0 #define <API key> 0 #define BCM1250_M3_WAR 0 #define SIBYTE_1956_WAR 0 #define <API key> 0 #define MIPS_CACHE_SYNC_WAR 0 #define <API key> 0 #define <API key> 0 #define R...
package tournaments import ( "errors" "net/http" "appengine" "github.com/taironas/gonawin/extract" "github.com/taironas/gonawin/helpers" templateshlp "github.com/taironas/gonawin/helpers/templates" mdl "github.com/taironas/gonawin/models" ) // A GroupJSON is a variable to hold a the name of ...
from cerberus import errors from cerberus.tests import assert_fail, assert_success def test_regex(validator): field = 'a_regex_email' assert_success({field: 'valid.email@gmail.com'}, validator=validator) assert_fail( {field: 'invalid'}, update=True, error=( field, ...
<!DOCTYPE html> <html lang="en"> <head> <title>UIImageView(CDAAsset) Category Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer></s...
public class MicroKanren { static class Cons<A,D> { protected final A a; protected final D d; public Cons(A a, D d) { this.a = a; this.d = d; } public A car() {return a;} public D cdr() {return d;} static <A,D> Cons<A,D> cons(A a, D d) { return new Cons<A,D>(a, d); } ...
# of this software and associated documentation files (the ""Software""), to # deal in the Software without restriction, including without limitation the # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # all copies or substantial po...
<?php declare(strict_types=1); namespace Sylius\Component\Core\Repository; use Doctrine\ORM\QueryBuilder; use Sylius\Component\Core\Model\ChannelInterface; use Sylius\Component\Core\Model\CustomerInterface; use Sylius\Component\Core\Model\OrderInterface; use Sylius\Component\Core\Model\<API key>; use Sylius\Component\O...
export {}; // Verify we don't produce a type mentioning 'anonymous class' // for variables that involve anonymous classes. Instead we just // produce {?}. const anonClassInstance = new class { foo: string; }; // Verify the same thing in a namespace. // We don't rely on namespaces really but the logic around generating...
<?php namespace Oro\Bundle\ApiBundle\Processor\GetConfig; use Oro\Component\ChainProcessor\ActionProcessor; /** * The main processor for "get_config" action. */ class ConfigProcessor extends ActionProcessor { /** * {@inheritdoc} */ protected function createContextObject() { return new Co...
from enum import Enum __author__ = 'dirkfuchs' class Format(Enum): oneLine = 0 oracle = 1
// This file is part of the "Irrlicht Engine". #include "IrrCompileConfig.h" #ifdef <API key> #include "CSMFMeshFileLoader.h" #include "CMeshTextureLoader.h" #include "SAnimatedMesh.h" #include "SMeshBuffer.h" #include "IReadFile.h" #include "coreutil.h" #include "os.h" #include "IVideoDriver.h" namespace irr { namespa...
// WriteBatch holds a collection of updates to apply atomically to a DB. // The updates are applied in the order in which they are added // to the WriteBatch. For example, the value of "key" will be "v3" // after the following batch is written: // batch.Put("key", "v1"); // batch.Delete("key"); // batch.Put("...
<?php return unserialize('a:1:{i:0;O:30:"Doctrine\\ORM\\Mapping\\OneToMany":6:{s:8:"mappedBy";s:8:"category";s:12:"targetEntity";s:7:"Article";s:7:"cascade";a:1:{i:0;s:3:"all";}s:5:"fetch";s:4:"LAZY";s:13:"orphanRemoval";b:1;s:7:"indexBy";N;}}');
// AppDelegate.h // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // all co...
package com.merakianalytics.orianna.types.data.status; import java.util.List; import com.merakianalytics.orianna.types.data.CoreData; public class Service extends CoreData { private static final long serialVersionUID = -<API key>; private List<Incident> incidents; private String status, name; @Override ...
// exporting modules to be included the UMD bundle import disabled from './disabled'; import focusRelevant from './focus-relevant'; import focusable from './focusable'; import onlyTabbable from './only-tabbable'; import shadowed from './shadowed'; import tabbable from './tabbable'; import validArea from './valid-area';...
import sys import textwrap from pip.basecommand import Command, SUCCESS from pip.util import get_terminal_size from pip.log import logger from pip.backwardcompat import xmlrpclib, reduce, cmp from pip.exceptions import CommandError from pip.status_codes import NO_MATCHES_FOUND from pip._vendor import pkg_resources from...
using System; using FMOD; namespace SupersonicSound.LowLevel { public struct <API key> { public DspParameterType Type { get; private set; } public string Name { get; private set; } public string Label { get; private set; } public string Description { get; private set; } p...
package edu.princeton.safe; import edu.princeton.safe.model.Neighborhood; public interface <API key> { double[] <API key>(Neighborhood current, int attributeIndex); }
<?php if(!defined('LOADALL')) define('LOADALL',true); define('PACKAGE_PATH',dirname(__FILE__).'/../'); define('APPPATH',dirname(__FILE__).'/../'); define('LIB','/app/'); define('DOMAIN',LIB.'domain/'); define('VIEWS',LIB.'Views/'); define('CONTROLLERS',LIB.'/Controllers/'); include(PACKAGE_PATH.'autoloader.php'); i...