answer
stringlengths
15
1.25M
import matplotlib.pyplot as plt import numpy as np import scalpplot from scalpplot import plot_scalp from positions import POS_10_5 from scipy import signal def plot_timeseries(frames, time=None, offset=None, color='k', linestyle='-'): frames = np.asarray(frames) if offset == None: offset = np.max(np.std(frames...
package main import ( "encoding/json" "fmt" "log" "time" "github.com/boltdb/bolt" ) type Entry struct { Id string `json:"id"` Url string `json:"url"` Subreddit string `json:"subreddit"` } //InitDB initializes the BoltDB instance and loads in the database file. func InitDB() ...
@import url(http://fonts.useso.com/css?family=Raleway:200,500,700,800); @font-face { font-family: 'icomoon'; src:url('../fonts/icomoon.eot?yrquyl'); src:url('../fonts/icomoon.eot?#iefixyrquyl') format('embedded-opentype'), url('../fonts/icomoon.woff?yrquyl') format('woff'), url('../fonts/ico...
package eu.monnetproject.sim.entity; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Properties; import eu.monnetproject.util.Logger; import eu.monnetproject.label.LabelExtractor; import eu.monnetproject.label.<API key>...
<?php use AudioDidact\GlobalFunctions; /** * Returns Pug rendered HTML for the User page, either view or edit * * @param $webID string webID of the user's page to be rendered * @param $edit boolean true if the user is logged in and viewing their own page * @param null|string $verifyEmail null or string if the user...
{% for reply in replies %} <div class="cell reply from_{{ reply.member_num }}"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td width="48" valign="top"> <a href="/member/{{ reply.created_by }}">{{ reply.member|avatar:"normal"|safe }}</a> </td>...
#include "defines.h" #include "Classes/dcxtab.h" #include "Classes/dcxdialog.h" /*! * \brief Constructor * * \param ID Control ID * \param p_Dialog Parent DcxDialog Object * \param mParentHwnd Parent Window Handle * \param rc Window Rectangle * \param styles Window Style Tokenized List */ DcxTab::DcxTab( UINT I...
package uk.ac.soton.ecs.comp3204.l3; import java.awt.Component; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.GridBagLayout; import java.io.IOException; import javax.swing.JPanel; import org.openimaj.content.slideshow.Slide; import org.openimaj.content.slideshow.<API key>; import org.openimaj.d...
package com.salesforce.dva.argus.service.mq.kafka; import com.fasterxml.jackson.databind.JavaType; import java.io.Serializable; import java.util.List; public interface Consumer { <T extends Serializable> List<T> dequeueFromBuffer(String topic, Class<T> type, int timeout, int limit); <T extends Serializable> Lis...
# -*- encoding: binary -*- require "./test/exec" require "tmpdir" require "fileutils" require "net/http" module TestFreshSetup include TestExec def setup setup_mogilefs end def setup_mogilefs(plugins = nil) @test_host = "127.0.0.1" setup_mogstored @tracker = TCPServer.new(@test_host, 0) @tra...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('setlist', '<API key>'), ] operations = [ migrations.CreateModel( name='Show2', fields=[ (...
{-# Language OverloadedStrings #-} module XMonad.Actions.XHints.Render where import XMonad hiding (drawString) import Data.Text (Text) import qualified Data.Text as T import Foreign.C import Graphics.X11.Xlib.Types import qualified Data.Text.Foreign as TF import qualified Data.ByteString as BS import Codec.Binary.UTF8....
// An object that encapsulates everything we need to run a 'find' // operation, encoded in the REST API format. var Parse = require('parse/node').Parse; import { default as FilesController } from './Controllers/FilesController'; // restOptions can include: // skip // limit // order // count // include // ke...
<?php use yii\bootstrap\Html; /** * @var $this \yii\web\View * @var $content string */ ?> <?php $this->beginContent('@app/views/layouts/base.php') ?> <div class="wrap"> <?= $this->render('//shared/admin_panel') ?> <?= $this->render('//shared/header') ?> <a class="logo" href="/"> ...
<h1 id="title_header"></h1> <div id="calendar" class="{{ css_classes }}"> </div>
package com.github.paulp.optional import scala.collection._ import mutable.HashSet case class Options( options: Map[String, String], args: List[String], rawArgs: List[String] ) case class ArgInfo(short: Char, long: String, isSwitch: Boolean, help: String) object Options { private val ShortOption = .r private ...
#include <sys/cdefs.h> __FBSDID("$FreeBSD$"); #ifndef <API key> #define <API key> /* IANA assigned port number for SCTP over UDP encapsulation */ #define <API key> 9899 /* Number of packets to get before sack sent by default */ #define <API key> 2 /* Address limit - This variable is calculated * based on an 65535 byte...
{% load <API key> i18n %} {% include "base/widget/_base_begin.html" %} <div id="{{ widget.fe_identifier }}" class="{{ widget.render_base_classes }}" {% if widget.enter_effect_style != 'disabled' %}data-aos="{{ widget.enter_effect_style }}"{% endif %}{% if widget.<API key> %}data-aos-duration="{{ widget.<API key> }}"{% ...
<?php /** Assetstore Model Base*/ abstract class AssetstoreModelBase extends AppModel { /** Constructor*/ public function __construct() { parent::__construct(); $this->_name = 'assetstore'; $this->_key = 'assetstore_id'; $this->_mainData = array( 'assetstore_id' => array('type' => MIDAS...
package eu.monnetproject.util; import java.util.*; /** * Utility function to syntactically sugar properties for OSGi. * This allows you to create a property map as follows * <code>Props.prop("key1","value1")</code><br/> * <code> .prop("key2","value2")</code> */ public final class Props { public static Prop...
#!/usr/bin/env python import sys from os.path import * import os from pyflann import * from copy import copy from numpy import * from numpy.random import * import unittest class Test_PyFLANN_nn(unittest.TestCase): def setUp(self): self.nn = FLANN(log_level="warning") # The typical def test_nn_2d_10p...
# -*- coding: utf-8 -*- from collections import OrderedDict import locale from optparse import make_option from verify.management.commands import VerifyBaseCommand from verify.models import * from verify.politici_models import * from django.db.models import Q, Count __author__ = 'guglielmo' class Command(VerifyBaseComm...
#ifndef __KIDS_CONFIG_H_ #define __KIDS_CONFIG_H_ #include <cstdio> #include <cstring> #include <string> #include <vector> #define NLIMIT_NORMAL 0 #define NLIMIT_NETWORKSTORE 1 #define NLIMIT_PUBSUB 2 struct LimitConfig { int hard_limit_bytes; int soft_limit_bytes; int soft_limit_seconds; }; struct StoreConfig { ...
/* Open Source Software - may be modified and shared by FRC teams. The code */ /* the project. */ package edu.wpi.first.wpilibj; import edu.wpi.first.wpilibj.hal.FRCNetComm.tResourceType; import edu.wpi.first.wpilibj.hal.HAL; import edu.wpi.first.wpilibj.h...
package sdp func (s Session) appendAttributes(attrs Attributes) Session { for _, v := range attrs { if v.Value == blank { s = s.AddFlag(v.Key) } else { s = s.AddAttribute(v.Key, v.Value) } } return s } // Append encodes message to Session and returns result. /...
<?php if(!class_exists('AbstractQueuedJob')) return; /** * A Job for running a external link check for published pages * */ class CheckLinksJob extends AbstractQueuedJob implements QueuedJob { public function getTitle() { return _t('CheckLinksJob.TITLE', 'Checking for broken links'); } public fu...
// modification, are permitted provided that the following conditions are // met: // in the documentation and/or other materials provided with the // distribution. // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // "AS IS" AND ANY EXP...
<div class="row"> <div class="col-xs-12"> <div class="box"> <?= \yii\grid\GridView::widget([ 'dataProvider' => $dataProvider, 'columns' => [ 'idadvert', [ 'label' => 'title', '...
<!DOCTYPE html PUBLIC "- <html xmlns="http: <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Border Properties</title> <style type="text/css"> <! .style1 { font-family: Arial; font-size: 10pt; } </style> </head> <BODY> <P class=style1><IMG height=270 src="screenshots/Bord...
#include "stdfx.h" //#include "tfxparam.h" #include "trop.h" class PremultiplyFx : public TStandardRasterFx { <API key>(PremultiplyFx) TRasterFxPort m_input; public: PremultiplyFx() { addInputPort("Source", m_input); } ~PremultiplyFx(){}; bool doGetBBox(double frame, TRectD &bBox, const TRenderSettings &info)...
/* $NetBSD: proc.h,v 1.8 1996/11/25 22:09:11 gwr Exp $ */ /* * Machine-dependent part of the proc structure for sun3. */ struct mdproc { int *md_regs; /* registers on current frame */ int md_flags; /* machine-dependent flags */ }; /* md_flags */ #define MDP_FPUSED 0x0001 /* ...
#include "ash/components/phonehub/<API key>.h" #include "ash/components/phonehub/pref_names.h" #include "ash/components/phonehub/util/histogram_util.h" #include "base/callback_helpers.h" #include "chromeos/components/multidevice/logging/logging.h" #include "chromeos/services/multidevice_setup/public/cpp/prefs.h" #inclu...
/* global $, window */ $(function () { 'use strict'; // Initialize the jQuery File Upload widget: $('#fileupload').fileupload({ // Uncomment the following to send cross-domain cookies: //xhrFields: {withCredentials: true}, url: root_url + '/media/upload' }); // Enable iframe ...
module Spree module Admin class AuthorsController < ResourceController def index params[:q] ||= {} params[:q][:deleted_at_null] ||= "1" @search = @authors.ransack(params[:q]) @authors = @search.result.page(params[:page]).per(Spree::Config[:<API key>]) @authors = @auth...
/* * ceil(x) * Return x rounded toward -inf to integral value * Method: * Bit twiddling. * Exception: * Inexact flag raised if x not equal to ceil(x). */ #include "fdlibm.h" #ifdef __STDC__ static const double huge = 1.0e300; #else static double huge = 1.0e300; #endif #ifdef __STDC__ double ceil(double...
<?php namespace xp\runtime; class Code { private $fragment, $imports; /** * Creates a new code instance * * @param string $input */ public function __construct($input) { // Shebang if (0 === strncmp($input, '#!', 2)) { $input= substr($input, strcspn($input, "\n") + 1); } // PHP ...
#!/usr/bin/env python import sys import hyperdex.client from hyperdex.client import LessEqual, GreaterEqual, Range, Regex, LengthEquals, LengthLessEqual, LengthGreaterEqual c = hyperdex.client.Client(sys.argv[1], int(sys.argv[2])) def to_objectset(xs): return set([frozenset(x.items()) for x in xs]) assert c.put('kv...
<?php namespace yiicms\components\core; # Websun template parser, version 0.1.80 class websun { public $vars; public $templates_root_dir; public $<API key>; public $TIMES; public $no_global_vars; private $profiling; private $predecessor; function __construct($options) { $this...
/* Since the td elements are the ones that actually get colored, don't bother with the row itself. */ .HighlightMe td { background-color: hsl(36, 100%, 75%) !important; } /* Turn the transparent boxes white */ .HighlightMe .notstarted { background-color: white; }
'use strict'; var utils = require('speedt-utils'); var Service = function(app){ var self = this; // TODO self.serverId = app.getServerId(); self.connCount = 0; self.loginedCount = 0; self.logined = {}; }; module.exports = Service; var proto = Service.prototype; proto.<API key> = function(){ ...
// <API key>: Apache-2.0 WITH LLVM-exception // GCC 5 does not evaluate static assertions dependent on a template parameter. // UNSUPPORTED: gcc-5 // UNSUPPORTED: c++98, c++03 // <string> // Test that hash specializations for <string> require "char_traits<_CharT>" not just any "_Trait". #include <string> template <clas...
#ifndef <API key> #define <API key> #include "itkObject.h" #include "itkObjectFactory.h" #include "<API key>.h" #include "<API key>.h" #include "<API key>.h" #include "<API key>.h" #include "itkImage.h" #include "itkMacro.h" #include "ReadWriteImage.h" #include "<API key>.h" #include "<API key>.h" #include "<API key>.h...
#!/bin/bash # Time-stamp: <2013-04-16 22:35:22 leo> # Append a pdf to the end of another. if (( $ then echo "Usage:" echo " concat-pdf.sh 1.pdf 2.pdf" echo "Creates a pdf called 1-2.pdf made of the concatenation of the"\ "content of 1.pdf and 2.pdf" echo "" echo " concat-pdf.sh pdf-to-a...
# intelengine ## Introduction intelengine aims to be an information gathering and exploitation architecture, it is based on the use of transforms, that convert one data type into another. For instance, a simple transform would be obtaining a list of domains from an IP address or a location history from a twitter nickna...
module Watir module RowContainer # Returns a row in the table # * index - the index of the row def [](index) assert_exists TableRow.new(self, :ole_object, @o.rows.item(index)) end def strings assert_exists rows_memo = [] @o.rows.each do |row| cells_m...
<?php namespace PragmaRX\Health\Checkers; use GuzzleHttp\Client as Guzzle; use Illuminate\Support\Str; use PragmaRX\Health\Support\LocallyProtected; use PragmaRX\Health\Support\Result; class ServerVars extends Base { protected $response; protected $errors; /** * Check resource. * * @return Re...
<aside class="main-sidebar"> <section class="sidebar"> <?= dmstr\widgets\Menu::widget( [ 'options' => ['class' => 'sidebar-menu'], 'items' => [ ['label' => 'Menu', 'options' => ['class' => 'header']], ['label' => 'Home', 'ic...
#include "chrome/browser/optimization_guide/<API key>.h" #include "chrome/browser/optimization_guide/<API key>.h" #include "chrome/browser/optimization_guide/<API key>.h" #include "chrome/browser/optimization_guide/<API key>.h" #include "chrome/browser/prefetch/no_state_prefetch/<API key>.h" #include "chrome/browser/pr...
// GLFW Engine. #include <Core/GLFWEngine.h> #include <Devices/GLFWKeyboard.h> #include <Devices/GLFWMouse.h> #include <Display/Camera.h> #include <Display/GLFWWindow.h> #include <Math/Vector.h> #include <GL/glfw.h> #include <stdlib.h> using namespace ZEUS::Display; using namespace ZEUS::Devices; using namespace ZEUS::...
#include <folly/Conv.h> #include <folly/Foreach.h> #include <folly/wangle/acceptor/ConnectionManager.h> #include <folly/io/Cursor.h> #include <folly/io/async/EventBase.h> #include <folly/io/async/EventBaseManager.h> #include <folly/io/async/TimeoutManager.h> #include <gtest/gtest.h> #include <proxygen/lib/http/codec/te...
#include "farversion.hpp" #define PLUGIN_BUILD 37 #define PLUGIN_DESC L"File names case conversion for Far Manager" #define PLUGIN_NAME L"FileCase" #define PLUGIN_FILENAME L"FileCase.dll" #define PLUGIN_AUTHOR FARCOMPANYNAME #define PLUGIN_VERSION MAKEFARVERSION(<API key>,<API key>,<API key>,PLUGIN_BUILD,VS_RELEASE)
#include "chrome/browser/renderer_host/pepper/device_id_fetcher.h" #include "base/file_util.h" #include "base/prefs/pref_service.h" #include "base/strings/<API key>.h" #include "chrome/browser/profiles/profile.h" #include "chrome/common/pref_names.h" #if defined(OS_CHROMEOS) #include "chromeos/cryptohome/cryptohome_lib...
exports.dbname = "lrdata"; exports.dbuser = "lrdata"; exports.dbpassword = "test"; exports.lfm<API key>; exports.lfmApi<API key>; exports.tagAgeBeforeRefresh = 14; // In days exports.tagFetchFrequency = 1000; // In milliseconds
""" Room Typeclasses for the TutorialWorld. This defines special types of Rooms available in the tutorial. To keep everything in one place we define them together with the custom commands needed to control them. Those commands could also have been in a separate module (e.g. if they could have been re-used elsewhere.) "...
<?php namespace asdfstudio\admin\helpers; use Yii; use asdfstudio\admin\Module; use asdfstudio\admin\base\Admin; use yii\db\ActiveRecord; class AdminHelper { /** * @param string $entity Admin class name or Id * @return Admin|null */ public static function getEntity($entity) { /* @var ...
#include <core/Runtime.h> #include <stdlib.h> #include <math.h> int runtime_f32_mul(Stack stack) { Value* operand1 = NULL; Value* operand2 = NULL; pop_Value(stack, &operand2); pop_Value(stack, &operand1); if(isnan(operand1->value.f32) || isnan(operand2->value.f32)) { push_Value(stack, new_f3...
package com.logicalpractice.collections; import static org.junit.Assert.*; import static org.hamcrest.Matchers.* ; import org.junit.Test; public class ExpressionTest { @Test public void script1() throws Exception { Person billy = new Person("Billy", "Smith"); Expression<Person,String> testObject = new...
<?php declare(strict_types=1); namespace LizardsAndPumpkins\Context\Country; use LizardsAndPumpkins\Context\ContextPartBuilder; class <API key> implements ContextPartBuilder { private $defaultCountryCode = 'DE'; /** * @param mixed[] $inputDataSet * @return string */ public function getValue(a...
const initialState = { country: 'es', language: 'es-ES' } const settings = (state = initialState, action) => { switch (action.type) { default: return state } } export default settings
<?php // This is the configuration for yiic console application. // Any writable CConsoleApplication properties can be configured here. return array( 'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..', 'name'=>'My Console Application', // autoloading model and component classes 'import'=>array( ...
#based on SilkJS Makefile ARCH := $(shell getconf LONG_BIT) COREMQ= mqdb.o OBJ= HMQ = include/lru_cache/lru_cache.h include/lru_cache/scoped_mutex.h fstools.cc CORECL= client.o OBJ= V8DIR= ./v8-read-only V8LIB_64 := $(V8DIR)/out/x64.release/obj.target/tools/gyp V8LIB_32 := $(V8DIR)/out/ia32.release/obj.target/tools/...
// All right reserved. // Authors: Justin Madsen // model a single track chain system, as part of a tracked vehicle. // TODO: read in subsystem data w/ JSON input files #include <cstdio> #include <sstream> #include "subsys/trackSystem/TrackSystem.h" namespace chrono { // Static variables // idler, right side const C...
# eXist Book Example Code [![Build Status](https: [![Java 7](https: [![License](https: This repository contains all (except the [Using eXist 101 chapter](https://github.com/eXist-book/using-exist-101)) of the code and examples discussed in the [eXist book](http://shop.oreilly.com/product/0636920026525.do) published by ...
<?php // uncomment the following to define a path alias // Yii::setPathOfAlias('local','path/to/local-folder'); // This is the main Web application configuration. Any writable // CWebApplication properties can be configured here. return array( 'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..', 'name'=>'Pla...
# $FreeBSD: releng/9.3/sys/modules/drm2/radeonkmsfw/R300_cp/Makefile 254885 2013-08-25 19:37:15Z dumbbell $ KMOD= radeonkmsfw_R300_cp IMG= R300_cp .include <bsd.kmod.mk>
/* * Required libraries * * You will need these libraries to interface with the services and hardware. */ var MRAA = require('mraa'); //require MRAA for communicating with hardware pins var LCD = require('jsupm_i2clcd'); //require LCD libraries for signaling the LCD screen var LED = require('jsupm_grove');...
<?php use app\core\helpers\Html; use app\core\helpers\Url; $this->title = ' '; $this->params['breadcrumbs'][] = $this->title; ?> <style type="text/css"> .nopad{padding-left: 0} .panel-default>.panel-heading{ padding: 10px 15px; background-color: #f5f5f5; border-color: #ddd; } </style...
<!doctype html> <html> <head> <meta charset="utf-8"> <title>System\Browser\assets\scripts\Flash.js </title> <link href="../../assets/styles/prettify.css" type="text/css" rel="stylesheet" /> <script src="../../assets/scripts/prettify.js" type="text/javascript"></script> <style...
define(['App', 'jquery', 'underscore', 'backbone', 'hbs!template/<API key>', 'view/basem-view'], function(App, $, _, Backbone, SRPitemTmpl, BaseView) { return BaseView.extend({ template: SRPitemTmpl, events: { 'click .add': 'subscribe', 'click .remove'...
<?php namespace yii\helpers; use Yii; use yii\base\<API key>; use yii\db\<API key>; use yii\validators\StringValidator; use yii\web\Request; use yii\base\Model; /** * BaseHtml provides concrete implementation for [[Html]]. * * Do not use BaseHtml. Use [[Html]] instead. * * @author Qiang Xue <qiang.xue@gmail.com> ...
<!DOCTYPE html> <html xmlns="http: <head> <meta charset="utf-8" /> <title>statsmodels.base.model.<API key>.remove_data &#8212; statsmodels v0.10.0 documentation</title> <link rel="stylesheet" href="../../_static/nature.css" type="text/css" /> <link rel="stylesheet" href="../../_static/pygments.css" ty...
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> {% load staticfiles %} <link rel="stylesheet" href="{% static 'css/foundation.css' %}" /> </head> <body> <div class="row"> <div class="panel"> <h2> You have successfully logged ou...
#include <glm/gtc/type_ptr.hpp> #include <glm/gtc/matrix_transform.hpp> #include "CanvasOGL.hpp" #include "ShadersOpenGL.hpp" #include "TextureOpenGL.hpp" namespace KRE { namespace { CanvasPtr& get_instance() { static CanvasPtr res = CanvasPtr(new CanvasOGL()); return res...
// Use of this source code is governed by a BSD package libkey import ( "context" "github.com/keybase/client/go/kbfs/idutil" "github.com/keybase/client/go/kbfs/kbfscrypto" "github.com/keybase/client/go/kbfs/kbfsmd" "github.com/keybase/client/go/protocol/keybase1" ) // KeyOpsConfig is a config object...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DataExplorer.Domain.Columns; using DataExplorer.Domain.Layouts; namespace DataExplorer.Domain.Maps.SizeMaps { public class SizeMapFactory : ISizeMapFactory { public SizeMap Create(Co...
package com.btr.proxy.search.desktop.gnome; import java.io.File; import java.io.IOException; import java.net.ProxySelector; import java.util.Properties; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.<API key>; import javax.xml.parsers.<API key>; import org.w3c.dom.Document; import org.w3c.dom.Eleme...
package org.hbase.async; import static org.mockito.Matchers.any; import static org.mockito.Matchers.anyInt; import static org.mockito.Matchers.anyString; import static org.mockito.Mockito.when; import static org.powermock.api.mockito.PowerMockito.mock; import java.nio.charset.Charset; import java.util.AbstractMap; impo...
#include "gb_thread.hpp" #include "z80.hpp" #include "memory.hpp" #include "rom.hpp" #include "cart_rom_only.hpp" #include "cart_mbc1.hpp" #include "cart_mbc5.hpp" #include "internal_ram.hpp" #include "video.hpp" #include "timer.hpp" #include "joypad.hpp" #include "sound.hpp" #include "debug.hpp" #include "assert.hpp" ...
"use strict"; var mapnik = require('../'); var assert = require('assert'); var path = require('path'); mapnik.register_datasource(path.join(mapnik.settings.paths.input_plugins,'geojson.input')); describe('mapnik.Geometry ', function() { it('should throw with invalid usage', function() { // geometry cannot b...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model frontend\models\ManagerTrain */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => 'Manager Trains', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="manager-train-...
#ifndef <API key> #define <API key> #include <pcl/registration/<API key>.h> template <typename PointSource, typename PointTarget, typename NormalT, typename Scalar> bool pcl::registration::<API key><PointSource, PointTarget, NormalT, Scalar>::initCompute () { if (!source_normals_ || !target_normals_) { PCL_WARN...
package xcordion.impl.command; import junit.framework.TestCase; import junit.framework.Assert; import org.junit.Test; import org.junit.Ignore; public class ForEachCommandTest { @Test @Ignore public void testPlaceholder() { Assert.fail("WRITE ME"); } }
#ifndef <API key> #define <API key> // .NAME <API key> - a subclass of <API key> for vtkDataSet objects. // .SECTION Description // This is a subclass of <API key> that is used for // tessellating cells of a vtkDataSet, particularly nonlinear // cells. // It provides functions for setting the current cell being tessell...
// Use of this source code is governed by a BSD-style package asm import ( "bufio" "bytes" "fmt" "io/ioutil" "os" "path/filepath" "regexp" "sort" "strconv" "strings" "testing" "cmd/asm/internal/lex" "cmd/internal/obj" "cmd/internal/objabi" ) // An end-to-end test ...
#include "chrome/app/android/chrome_jni_onload.h" #include "chrome/app/android/<API key>.h" #include "content/public/app/content_jni_onload.h" namespace android { bool OnJNIOnLoadInit() { if (!content::android::OnJNIOnLoadInit()) return false; return RunChrome(); } } // namespace android
/* * ctm-cvb * * <API key> */ #ifndef <API key> #define <API key> #include "InferenceEngine.h" #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> namespace ctm { class <API key> : public InferenceEngine { /*** * Model hyperparameters learnt by maximisation */ struct ...
isPrime :: Integral a => a -> Bool isPrime 2 = True isPrime 3 = True isPrime n = all (\ x -> x /= 0) [n `mod` x | x <- [2..(truncate $ sqrt (fromIntegral n) + 1)]] goldbach :: (Integral t, Integral t1) => t1 -> (t, t1) goldbach n = goldbach' 3 (n - 3) where goldbach' a b | isPrime a && i...
package visualoozie.api; public class WorkflowNode { public enum NodeType{ START , KILL , DECISION , FORK , JOIN , END , ACTION } private String name; private NodeType type; private String[] to; public String getName() { return name; } ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: <API key>.cpp Label Definition File: <API key>.strings.label.xml Template File: sources-sink-43.tmpl.cpp */ /* * @description * CWE: 78 OS Command Injection * BadSource: file Read input from a file * GoodSource: Fixed string * Sinks: execl * BadSink : execute comma...
INSTALL_DIR=usr/local/lib DEPS="coreutils" "sudo" REBARPROFILE ?= default include ../../config.mk include ../../_build/${REBARPROFILE}/lib/fifo_utils/priv/pkgng.mk .PHONY: prepare prepare: -rm -r $(STAGE_DIR)/$(INSTALL_DIR)/$(COMPONENT_INTERNAL) -rm $(STAGE_DIR)/+* -rm $(STAGE_DIR)/plist mkdir -p $(ST...
#include "atkbdc.h" #include "opt_kbd.h" #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> #include <sys/malloc.h> #include <sys/syslog.h> #include <machine/clock.h> #include <dev/kbd/atkbdcreg.h> #ifndef __i386__ #include <isa/isareg.h> #else #include <i386/isa/isa.h> #endif /* constants */ #define...
// +build l476xx // Peripheral: <API key> Controller Area Network TxMailBox. // Instances: // Registers: // 0x00 32 TIR CAN TX mailbox identifier register. // 0x04 32 TDTR CAN mailbox data length control and time stamp register. // 0x08 32 TDLR CAN mailbox data low register. // 0x0C 32 TDHR CAN mailbox data h...
""" Vision-specific analysis functions. $Id: featureresponses.py 7714 2008-01-24 16:42:21Z antolikjan $ """ __version__='$Revision: 7714 $' from math import fmod,floor,pi,sin,cos,sqrt import numpy from numpy.oldnumeric import Float from numpy import zeros, array, size, empty, object_ #import scipy try: import pylab...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model common\models\Offer */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Offers'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="offer-view"> ...
/* $OpenBSD: isp_sbus.c,v 1.7 1999/03/25 22:58:37 mjacob Exp $ */ /* release_03_25_99 */ #include <sys/param.h> #include <sys/systm.h> #include <sys/device.h> #include <sys/kernel.h> #include <sys/malloc.h> #include <sys/queue.h> #include <machine/autoconf.h> #include <machine/cpu.h> #include <machine/param.h> #i...
#include "sky/engine/config.h" #include "sky/engine/core/events/UIEvent.h" namespace blink { UIEventInit::UIEventInit() : view(nullptr) , detail(0) { } UIEvent::UIEvent() : m_detail(0) { } UIEvent::UIEvent(const AtomicString& eventType, bool canBubbleArg, bool cancelableArg, PassRefPtr<AbstractView> viewArg...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_45) on Tue Apr 17 08:41:58 IDT 2018 --> <title>DNXConstants.PRESERVATIONLEVEL</title> <meta name="date" content="2018-04-17"> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <scr...
import { takeLatest, call, put } from 'redux-saga/effects'; import { gql } from 'react-apollo'; import { push } from 'react-router-redux'; import jwtDecode from 'jwt-decode'; import { setJwtToken } from '../../utils/auth'; import { bootstrap } from '../../utils/sagas'; import { registerError, registerSuccess } from './...
<!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.tsa.vector_ar.var_model.VARResults.pvalues &#8212; statsmodels ...
<!doctype html> <html> <head> <title>LazyLoad Test</title> <style type="text/css"> fieldset { border: 1px solid #afafaf; margin-bottom: 1em; } .log { font: 10pt Consolas, Monaco, fixed; width: 100%; } #css-status { background-color: #fff; ...