answer
stringlengths
15
1.25M
#include "audioloader.h" using namespace djaudio; AudioLoader::AudioLoader(DB * db, QObject * parent) : QObject(parent), mDB(db) { qRegisterMetaType<djaudio::AudioBufferPtr>("djaudio::AudioBufferPtr"); qRegisterMetaType<djaudio::BeatBufferPtr>("djaudio::BeatBufferPtr"); } void AudioLoader::playerTrigger(int pla...
<?php Class DaoTodo { private static function getConn(){ try{ $pdo = new PDO('sqlite:'.dirname(__FILE__).'/../db/todolist.db'); $pdo->setAttribute(PDO::<API key>, PDO::FETCH_ASSOC); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); return $pdo; } catc...
CStudioAdminConsole.Tool.ContentTypes.PropertyType.String = CStudioAdminConsole.Tool.ContentTypes.PropertyType.String || function(fieldName, containerEl) { this.fieldName = fieldName; this.containerEl = containerEl; return this; } YAHOO.extend(CStudioAdminConsole.Tool.ContentTypes.PropertyType.String, CSt...
CREATE TABLE `USArrests` ( `Murder` FLOAT NOT NULL, `Assault` INTEGER NOT NULL, `UrbanPop` INTEGER NOT NULL, `Rape` FLOAT NOT NULL );
# CMAKE generated file: DO NOT EDIT! # Generated by "Unix Makefiles" Generator, CMake Version 2.8 # Default target executed when no arguments are given to make. default_target: all .PHONY : default_target # Special targets provided by cmake. # Disable implicit rules so canonical targets will work. .SUFFIXES: # Remove s...
package org.esa.snap.productlibrary.rcp.toolviews.extensions; import com.bc.ceres.core.Assert; import org.esa.snap.productlibrary.rcp.toolviews.<API key>; /** * Provides a standard implementation for <API key>. */ public class <API key> { private String id; private Class<? extends <API key>> actionExtClass; ...
package com.rabbitmq.client.test; import java.io.File; import java.io.IOException; import java.net.Socket; import java.util.Properties; import junit.framework.Test; import junit.framework.TestResult; import junit.framework.TestSuite; import com.rabbitmq.tools.Host; public abstract class <API key> extends TestSuite { ...
#include "fdraii.h" namespace range { namespace util { ::range::<API key> LockFdRAIILogModule { "util.LockFdRAII" }; } /* namespace util */ } /* namespace range */
# <API key>: true require 'rails_helper' RSpec.shared_examples 'sluggable' do let(:model_sym) { subject.class.name.underscore.to_sym } let(:instance) { FactoryGirl.create model_sym } it 'has callback for set_slug' do expect(subject.class.<API key>.select { |cb| cb.kind.eql?(:before) } .map(&:raw_filter)...
package com.jw.db; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.log4j.Logger; public clas...
#ifndef Vectortypes_H #define Vectortypes_H #include <vector> #include <iterator> using namespace std; typedef vector<int> vint; typedef vector<vint> vvint; typedef vector<double> vd; typedef vector<vd> vvd; typedef vector<vvd> vvvd; typedef istream_iterator<double> iidouble; typedef vector<string> vstring; typedef str...
// Count denormals to check if denormal prevention works // TODO: include into unit tests? #include <map> #include <string> #include <iostream> #include "apf/biquad.h" #define <API key>(Name, Prevention) \ template<typename T> \ struct Name : Prevention<T> { \ void prevent_denormals(T& val) { \ this->Prevention<T...
#ifndef <API key> #define <API key> #include <asn_application.h> #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } #endif #endif /* <API key> */ #include <asn_internal.h>
package net.sf.jeppers.grid; /** * @author <a href="grom@capsicumcorp.com">Cameron Zemek</a> */ public interface <API key> extends java.util.EventListener{ public void selectionChanged(SelectionModelEvent e); }
#include "Watchdog.h" void Watchdog::Begin(byte pin, uint interval) { m_pin = pin; m_interval = interval * 500; m_lastToggle = 0; pinMode(m_pin, OUTPUT); digitalWrite(m_pin, HIGH); delay(50); digitalWrite(m_pin, LOW); m_state = true; } void Watchdog::Handle() { if (millis() < m_lastToggle) { m_las...
package visGrid.tests; import junit.textui.TestRunner; import visGrid.Clotheswasher; import visGrid.VisGridFactory; /** * <!-- begin-user-doc --> * A test case for the model object '<em><b>Clotheswasher</b></em>'. * <!-- end-user-doc --> * @generated */ public class ClotheswasherTest extends ConnectionTest { /...
package com.shuttler67.demonomancy.proxy; public interface IProxy { public abstract void registerKeyBindings(); public abstract void <API key>(); public abstract void <API key>(); public abstract void <API key>(); }
<!DOCTYPE HTML PUBLIC "- <!--NewPage <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_33) on Fri Aug 03 11:42:05 PDT 2012 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Class com.hp.hpl.jena.reasoner.rulesys.builtins.GE (Apache Jena) </TITLE> <META NAME="date" CONTENT="2012-...
// CHistory: // implements undo and redo. class CHistoryTrack { public: CHistoryTrack( }; typedef CTypedPtrList<CPtrList, CHistoryTrack*> CHistoryTrackList; class CHistory { public: CHistory(); ~CHistory(); // mark undo position: void MarkUndoPosition(); // keep this object so we can undo change...
/* * @lc app=leetcode id=1203 lang=csharp * * [1203] Sort Items by Groups Respecting Dependencies */ using System.Collections.Generic; using System.Linq; // @lc code=start public class Solution { private static bool SortItemsRecurse(IList<int> sorted, int[] added, HashSet<int>[] deps, int curr) { if (ad...
# -*- coding: utf-8 -*- __all__ = ["inet_aton", "record_by_ip", "record_by_request", "get_ip", "<API key>", "<API key>"] import struct import socket from geoip.defaults import BACKEND, REDIS_TYPE from geoip.redis_wrapper import RedisClient from geoip.models import Range _RECORDS_KEYS = ('country', 'area', 'c...
<?php /* @var $this <API key> */ /* @var $model SettingsSound */ /* @var $form bootstrap.widgets.TbActiveForm */ $this->widget('bootstrap.widgets.TbBreadcrumb', array( 'links' => array( Yii::t('app','Modules') => 'indexModules', Yii::t('app','Sound'), ), )); $form=$this->beginWidget('bootstrap.w...
package com.websimple.springmvc.configuracion; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.authentication.builders.<API key...
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-05-22 16:02 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('teklif', '<API key>'), ] operations = ...
<?php abstract class OneTrickAbstract { /** @var mixed */ public $storeHere; /** * * * @param mixed $whatever */ abstract public function trick($whatever); }
// This file is part of multidupehack. #include "MaxArea.h" unsigned int MaxArea::threshold; MaxArea::MaxArea(const unsigned int nbOfDimensions, const unsigned int thresholdParam): <API key>(nbOfDimensions), maxArea(0) { threshold = thresholdParam; } MaxArea* MaxArea::clone() const { return new MaxArea(*this); } co...
package org.chemicalmozart.view.implementations; import java.awt.GridLayout; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JPanel; import javax.swing.JProgressBar; import javax.swing.border.EmptyBorder; public class SecondView extends JDialog { /** * Launch the application. */...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0" /> <style type="text/css"> </style> </head> <body> <span class="hello">he...
module.exports = [ [ [ / 'sh_comment', 1 ], [ /\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g, 'sh_number', -1 ], [ /"/g, 'sh_string', 2 ], [ /'/g, 'sh_string', ...
#ifndef TileCache_h #define TileCache_h #include "IntPointHash.h" #include "IntRect.h" #include "TiledBacking.h" #include "Timer.h" #include <wtf/HashMap.h> #include <wtf/Noncopyable.h> #include <wtf/PassOwnPtr.h> #include <wtf/RetainPtr.h> OBJC_CLASS CALayer; OBJC_CLASS WebTileCacheLayer; OBJC_CLASS WebTileLayer; name...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns:v="urn:<API key>:vml" xmlns:o="urn:<API key>:office:office" xmlns:w="urn:<API key>:office:word" xmlns="http: <! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by The HDF Group. ...
package org.jevis.commons.driver; import com.jcraft.jsch.ChannelSftp; import com.jcraft.jsch.ChannelSftp.LsEntry; import com.jcraft.jsch.SftpException; import java.io.IOException; import java.security.SecureRandom; import java.security.Security; import java.security.cert.<API key>; import java.security.cert.X509Certifi...
var structRREQ = [ [ "RREQ", "structRREQ.html#<API key>", null ], [ "RREQ", "structRREQ.html#<API key>", null ], [ "copy", "structRREQ.html#<API key>", null ], [ "detailedInfo", "structRREQ.html#<API key>", null ], [ "dup", "structRREQ.html#<API key>", null ], [ "getCost", "structRREQ.html#<API ...
function send_msg(chat_id, text, use_markdown, reply_to_message_id) local url = send_api .. '/sendMessage?chat_id=' .. chat_id .. '&text=' .. url.escape(text) if reply_to_message_id then url = url .. '&reply_to_message_id=' .. reply_to_message_id end if use_markdown then url = url .. '&p...
#!/usr/bin/perl #./scripts/<API key>.pl structured 13 # Computes and plots structure distance among alien benchmark sets and versus Rfam # 1. Computes the normalized distance changes over iterations # 3. Computes the average normalized distance changes over iterations # 2. Computes the distance between updated struc...
\begin{tikzpicture} [very thick, color=black,->] \node (n0) at (0,0) {000}; \node (n1) at (1.2,1) {001}; \node (n2) at (0,1) {010}; \node (n3) at (1.2,2) {011}; \node (n4) at (-1.2,1) {100}; \node (n5) at (0,2) {101}; \node (n6) at (-1.2,2) {110}; \node (n7) at (0,3) {111}; \draw (n0) \draw (n0) \draw (n0) \draw (n1) \...
package com.autentia.wuija.widget.query; import java.util.ArrayList; import java.util.List; import javax.faces.model.SelectItem; import org.springframework.util.Assert; import com.autentia.wuija.persistence.criteria.Criteria; import com.autentia.wuija.persistence.criteria.Criterion; import com.autentia.wuija.persistenc...
/** @file * * Contains definitions of the SSAOPlugin Renderer that require qt headers * which are incompatible with glew.h. */ #include "SSAO.hh" #include <QGLFormat> QString SSAOPlugin::checkOpenGL() { // Get version and check QGLFormat::OpenGLVersionFlags flags = QGLFormat::openGLVersionFlags(); if ( !fla...
// main.cpp // ArenaBasic #include <iostream> #include <fstream> #include <string> #include <math.h> using namespace std; /* warrior class could have arrays of attributes, eg, war_prowess[]={max,current} to allow easy access and consolidated storage. warrior classes could also include the functions necessary for fi...
#define BOOST_TEST_MODULE "ParticleSpace_test" #ifdef <API key> # include <boost/test/unit_test.hpp> #else # define BOOST_TEST_NO_LIB # include <boost/test/included/unit_test.hpp> #endif #include <boost/test/tools/<API key>.hpp> #include <ecell4/core/<API key>.hpp> #include <ecell4/core/SerialIDGenerator.hpp> usi...
<?php require_once( LIB_PATH.DS."class.database.php"); require_once( LIB_PATH.DS."class.paymentmodules.php"); require_once( LIB_PATH.DS."class.paymentconfig.php"); class paypal { public $module_key = 'paypal'; public function button(){ global $smarty; $paymentconfig = PaymentConfig::find_by_modu...
Info<< "Reading incremental displacement field DU\n" << endl; volVectorField DU ( IOobject ( "DU", runTime.timeName(), stressMesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), stressMesh ); volTensorField gradDU ...
layout: post title: "D3.js tour 7" date: 2017-04-21 01:27:13 +0000 img: docker-jekyll.jpg description: D3.js tour 7 tags: [js, d3] author: Alan Wang js const axis = d3.axisTop(linear) js svg.append('g') .attr('transform', 'translate(0,30)') .call(axis) css .axis path, .axis line { fill: none; stroke: blac...
<?php ob_start(); ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Global Character Manager</title> <style type="text/css"> * { font-family: sans-serif, sans; text-align: left; } th { font-weight: bold; background-color: #ddd; } </style> <script type="text/javascript"> function gx(...
<?php namespace Alchemy\Phrasea\TaskManager\Editor; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\Exception\<API key>; use Alchemy\Phrasea\Core\Configuration\PropertyAccess; class SubdefsEditor extends AbstractEditor { /** * {@inhe...
import { Component } from '@angular/core'; import { NavController, NavParams, ToastController, ModalController, AlertController, LoadingController, <API key> } from 'ionic-angular'; import { AbstractPage } from '../abstract-page'; import { AssetsPage } from '../assets/assets'; import { EventPage } from '../event/event'...
<!DOCTYPE HTML PUBLIC "- <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_79) on Tue Jul 07 13:45:10 BST 2015 --> <title>interactor Class Hierarchy</title> <meta name="date" content="2015-07-07"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> </head> <bod...
# <API key> VB.Net Cryptsy APIv2 Class This class can be used in a Visual Studio dotNet Project to query www.Cryptsy.com. Trading crypto currencies can be high risk and you can lose money. This code is supplied without warranty. The Class is capable of most of the Cryptsy functions like place and cancel an order, get t...
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class Fire here. * * @author ink * @version (a version number or a date) */ public class Fire extends Bullet { /** * Constructor de la clase */ public Fire(double x ,double y, Vector move)...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Text; using System.Xml; using System.Xml.Linq; using System.Xml.Serialization; namespace zComp.Core.Helpers { public static class Se...
package eu.siacs.conversations.entities; import android.annotation.SuppressLint; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import eu.siacs.conversations.Config; import eu.siacs.conversations.R; import eu.siacs.conversations.xml.Namespace; import eu.siacs.conversa...
#ifndef writePatchGraph_H #define writePatchGraph_H #include "volFieldsFwd.H" namespace Foam { void writePatchGraph ( const volScalarField& vsf, const label patchLabel, const direction d, const word& graphFormat ); } // End namespace Foam #endif
using System; using System.Linq; using System.Xml; using System.Xml.Linq; using SatIp.DiscoverySample.Logging; namespace SatIp.DiscoverySample.Upnp { <summary> </summary> public class SatIpDevice { #region Private Fields private Uri _baseUrl; private string _deviceType = ""; ...
package br.com.fiap.excecoes; public class Excecoes extends Exception { private static final long serialVersionUID = 1L; public Excecoes(String message, Exception e) { super(message, e); if (e.getClass().toString().equals("class java.lang.<API key>")) { System.out.println("Número inv...
<?php /*%%SmartyHeaderCode:<API key>%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '<SHA1-like>' => array ( 0 => '/Users/Evergreen/Documents/workspace/licpresta/themes/default-bootstrap/modules/blockwishlis...
#!/usr/bin/env bash # Changing to working directory cd $(dirname "$0") source ../config.sh # Temp paths and files VERSION="stable" export SRC_PKG="http://${VERSION}.release.core-os.net/amd64-usr/current/<API key>.vmlinuz" export SRC_PKG2="http://${VERSION}.release.core-os.net/amd64-usr/current/<API key>.cpio.gz" export...
#!/bin/bash #script for scripts to covertly get the mysql root password source ~/setup_aws.conf.sh echo "$MYSQL_ROOT_PW" exit 0
package org.jboss.pressgang.ccms.provider; import org.jboss.pressgang.ccms.rest.v1.collections.<API key>; import org.jboss.pressgang.ccms.rest.v1.entities.RESTBlobConstantV1; import org.jboss.pressgang.ccms.wrapper.BlobConstantWrapper; import org.jboss.pressgang.ccms.wrapper.<API key>; import org.jboss.pressgang.ccms.w...
#include "Item.h" std::string GetItemTitleForType(ItemType type) { switch (type) { case ItemType::None: { return "None"; } // Dropped item in the world case ItemType::DroppedItem: { return "Dropped Item"; } // Hearts and coins dropped from killing enemies case ItemType::Coin: { return "Coin"...
#include <iomanip> #include <sigc++/slot.h> #include "tonecurve.h" #include "adjuster.h" #include "eventmapper.h" #include "ppversion.h" #include "../rtengine/procparams.h" #include "editcallbacks.h" using namespace rtengine; using namespace rtengine::procparams; ToneCurve::ToneCurve () : FoldableToolPanel(this, "tonec...
# NewTab An newtab page with a simple python response server ## First setup Place the html folder and the server.py file in the folder _/var/www_ Open you browsers' settings and change the default newtab page. For Firefox users Install this [addon](https://addons.mozilla.org/en-US/firefox/addon/new-tab-override/) and s...
var App = Ember.Application.create(); // var App is a namespace to write all of our application code // namespace can be anything you like - but App is common // this single line boots ember, set up all controllers, views, and template rendering that is needed // to see this, we'll actually need to render something - w...
#ifndef DEF_VERSION_H #define DEF_VERSION_H #define CLIENT_GUID "{<API key>}" #define <API key> "Rambler" #define CLIENT_NAME "Contacts" #define CLIENT_VERSION "0.7.0" #define <API key> "beta" #define CLIENT_HOME_PAGE "http://contacts.rambler.ru" #e...
<?php /** * Games Collector Game Attributes Taxonomy * * @package GC\GamesCollector\Attributes * @since 0.1 */ namespace GC\GamesCollector\Attributes; /** * Register the taxonomies. * * @since 0.1 */ function register_taxonomy() { <API key>( 'gc_attribute', 'gc_game', [ 'dashboard_glance' => ...
/** * The Editor class is used to provide inline editing for elements on the page. The editor * is backed by a {@link Ext.form.field.Field} that will be displayed to edit the underlying content. * The editor is a floating Component, when the editor is shown it is automatically aligned to * display over the top of t...
package net.freerouting.datastructures; import net.freerouting.geometry.planar.RegularTileShape; import net.freerouting.geometry.planar.<API key>; import java.util.Set; import java.util.TreeSet; /** * Binary search tree for shapes in the plane. * The shapes are stored in the leafs of the tree. * The algorithm for st...
#!/usr/bin/env python from __future__ import print_function from setuptools import setup, find_packages import yowsup_ext.commandserver deps = ['yowsup2==2.4.48', '<API key>'] setup( name='<API key>', version=yowsup_ext.commandserver.__version__, tests_require=[], install_requires = deps, scripts = ...
<?php class <API key> extends CDbMigration { public function up() { // Add missing create/edited columns on drug tables foreach (array('drug_duration','<API key>','drug_form','drug_frequency','drug_route','drug_type') as $table) { $this->addColumn($table, '<API key>', 'int(10) unsign...
public class HelloWorld{ public static void main(String[]args){ System.out.println("hello world"); } }
package scripting.portal; import client.MapleClient; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.lang.reflect.<API key>; import java.util.HashMap; import java.util.Map; import javax.script.Compilable; import javax.script.Invocable; import javax.script.ScriptEngine; import jav...
package de.sudoq.model.solverGenerator; import static org.junit.Assert.assertEquals; import java.util.Random; import org.junit.Before; import org.junit.Test; import de.sudoq.model.solverGenerator.Generator; import de.sudoq.model.solverGenerator.GeneratorCallback; import de.sudoq.model.solverGenerator.solver.ComplexityR...
module EnvTests (runTests) where import Data.Maybe import Data.Set (Set) import qualified Data.Set as Set import Data.Map (Map) import qualified Data.Map as Map import Syntax import Env import Test.HUnit -- printing tests testEnv1 = initEnv [Static "a", Static "b", Static "c"] envTest1 = TestCase $ assertEqual "envEqua...
#include "cornerAxis.h" #include <qapplication.h> int main(int argc, char** argv) { QApplication application(argc,argv); Viewer viewer; #if QT_VERSION < 0x040000 application.setMainWidget(&viewer); #else viewer.setWindowTitle("cornerAxis"); #endif viewer.show(); return application.exec(); }
<?php declare(strict_types=1); namespace Breeze\Entity; abstract class BaseEntity { public const ALIAS_ID = '%1$s.%2$s AS %2$s'; public const WRONG_VALUES = 'error_wrong_values'; abstract public static function getTableName(): string; abstract public static function getColumns(): array; }
title: Wurst 5.2 - Bugfixes and Improvements category: Wurst Update Wurst-version: v5.2 minecraft-version: 1.11.X image: https://lh3.googleusercontent.com/LtrwXUBpB9f4-JbF_jHRZaQl9PFV8kKQIcQWaDk0aS2ra5ZBy85IJFIlDYBxhJ1XpcMYaQEiAlY3dB6NBhADOnsfYcT3aBA4S7AHZGxtOxEIYNNnnR9YxLcXjjy1O7vKp1ZnCsL1chgY20q3DRfKc_cEnmesqsLHTrs8H...
#ifndef <API key> #define <API key> #include "jit/mips-shared/<API key>.h" namespace js { namespace jit { class LIRGeneratorMIPS64 : public <API key> { protected: LIRGeneratorMIPS64(MIRGenerator* gen, MIRGraph& graph, LIRGraph& lirGraph) : <API key>(gen, graph, lirGraph) { } protected: // Returns ...
<!DOCTYPE HTML> <html> <! https://bugzilla.mozilla.org/show_bug.cgi?id=1062406 <head> <title>Test for Bug 1062406</title> <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> </head> <body> <a target="_blan...
<?php # This Source Code Form is subject to the terms of the Mozilla Public define ('NO_HOUSE_KEEPING', true); require ("config.php"); if (JB_TAF_ENABLED != 'YES') { die('Feature disabled'); } echo $JBMarkup->get_doctype(); $JBMarkup->markup_open(); $JBMarkup->head_open(); $JBMarkup->stylesheet_link(JB_get_maincss_...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ #include "nsPrintSettingsImpl.h" #include "nsReadableUtils.h" #include "nsIPrintSession.h" #include "mozilla/RefPtr.h" #define <API key> 0.5 NS_IMPL_ISUPPORTS(nsPrintSettings, nsIPrintSettings) nsPrintSettings::nsPrintSettings() : mPrintO...
const mocha = require('mocha'); const assert = require('chai').assert; const RSI = require('../../../libs/indicators/RSI'); describe('Indicators - RSI', () => { it('should calculate a RSI', function () { let values1 = [0.03942905, 0.04392796, 0.04765162, 0.04517327, 0.045491, 0.05476803, 0.0541574, 0.057, 0.05122...
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Page' db.create_table('api_page', ( ('id', self.gf('django.db.models.fields.AutoFie...
package private import "testing" func TestGetFreePort(t *testing.T) { p, _ := GetFreePort() if p <= 0 { t.Fatal("expecting > 0 port, got:", p) } }
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `GetProtoObject` fn in crate `script`."> <meta name="keywor...
// Aspia Project // This program is free software: you can redistribute it and/or modify // (at your option) any later version. // This program is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #include "base/audio/audio_output.h" #include "base/logging.h...
package cli import ( "os" auditFile "github.com/hashicorp/vault/builtin/audit/file" auditSocket "github.com/hashicorp/vault/builtin/audit/socket" auditSyslog "github.com/hashicorp/vault/builtin/audit/syslog" "github.com/hashicorp/vault/version" credAppId "github.com/hashicorp/vault/builtin/crede...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `load_with` fn in crate `gleam`."> <meta name="keywords" co...
SUBROUTINE SLAROT( LROWS, LLEFT, LRIGHT, NL, C, S, A, LDA, XLEFT, $ XRIGHT ) * * -- LAPACK auxiliary test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. Scalar Arguments .. LOGICAL LLEFT, LRIGHT, LROWS...
RailsApp::Application.configure do # Settings specified here will take precedence over those in config/application.rb # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don't have to restart the web se...
//This file is part of Finjin Engine (finjin-engine). //Finjin Engine is distributed in the hope that it will be useful, //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. //This Source Code Form is subject to the terms of the Mozilla Public #pragma once #include "finjin/common/Utf8String.hpp" namespace Finjin { na...
layout: "aws" page_title: "AWS: <API key>" sidebar_current: "<API key>" description: |- Provides a resource to create a Service Catalog portfolio # Resource: <API key> Provides a resource to create a Service Catalog Portfolio. ## Example Usage hcl resource "<API key>" "portfolio" { name = "My App Portfolio...
#pragma once #include <gsCore/gsTemplateTools.h> #ifdef __MINGW32__ //#include <malloc/malloc.h> //xcode #include <malloc.h> #endif #if __cplusplus < 201103 && defined( __GLIBCXX__ ) # if defined(__INTEL_COMPILER) # include <boost/shared_ptr.hpp> # include <boost/weak_ptr.hpp> # else # include <tr1/memory> ...
#pragma once #include <alpaka/atomic/Traits.hpp> #include <alpaka/core/Unused.hpp> namespace alpaka { //! The CPU fibers accelerator atomic ops. class AtomicNoOp { public: AtomicNoOp() = default; AtomicNoOp(AtomicNoOp const&) = delete; AtomicNoOp(AtomicNoOp&&) = delete; a...
// Mathematics and Physics, Charles University in Prague, Czech Republic. // This Source Code Form is subject to the terms of the Mozilla Public #include <cstring> #include "options.h" namespace ufal { namespace nametag { namespace utils { const options::value options::value::none(NONE); const options::value options::v...
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ var gTestfile = 'regress-452703.js'; var BUGNUMBER = 452703; var summary = 'Do not assert with JIT: rmask(rr)&FpRegs'; var actual = 'No Crash'; var expect = 'No Crash'; printBugNumber(BUGNUMBER); printStatus (summary); jit(true); (fu...
package org.casual.civic.service; import java.sql.ResultSet; import java.sql.SQLException; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.sql.DataSource; import org.casual.civic.data.PoliticianData; import org.casual.civic.exception.<API key>; import org.casual.civic.exception.<API ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `<API key>` constant in crate `x11`."> <meta name="keywords...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `POLYGON_SMOOTH_HINT` constant in crate `servo`."> <meta na...
fastlane documentation ============= # Installation sudo gem install -n /usr/local/bin fastlane Since Mac OS X 10.11 El Capitan it is necessary to install in /usr/local/bin instead of the default location (/usr/bin) # Available Actions ## iOS ios test fastlane ios test Runs all the tests ios dev_setup fastlane ios dev_...
package aws import ( "fmt" "log" "math/rand" "testing" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/directconnect" "github.com/hashicorp/<API key>/helper/acctest" "github.com/hashicorp/<API key>/helper/resource" "github.com/hashicorp/<API key>/terrafo...
-- Strings. SELECT '""'::jsonb; SELECT $$''$$::jsonb; -- ERROR, single quotes are not allowed SELECT '"abc"'::jsonb; SELECT '"abc'::jsonb; -- ERROR, quotes not closed SELECT '"abc def"'::jsonb; -- ERROR, unescaped newline in string constant SELECT '"\n\"\\"'::jsonb; SELECT '"\v"...