answer stringlengths 15 1.25M |
|---|
var page = require('webpage').create();
var url;
if (phantom.args) {
url = phantom.args[0];
} else {
url = require('system').args[1];
}
page.onConsoleMessage = function (message) {
console.log(message);
};
function exit(code) {
setTimeout(function(){ phantom.exit(code); }, 0);
phantom.onError = function(){};
... |
#include "genfft.h"
#if defined(ACML440)
#if defined(DOUBLE)
#define acmlcc1fft zfft1dx
#else
#define acmlcc1fft cfft1dx
#endif
#endif
void cc1fft(complex *data, int n, int sign)
{
#if defined(HAVE_LIBSCS)
int ntable, nwork, zero=0;
static int isys, nprev[MAX_NUMTHREADS];
stat... |
#include "SimpleGameLogic.h"
#include "GameWorld.h"
#include "MonstersPlace.h"
void SimpleGameLogic::worldLoaded()
{
_physicsWorld = _world->getGameContent()->getPhysicsWorld();
_physicsWorld-><API key>(this);
_tank = static_cast<Tank*>(_world->getGameContent()->getObjectByName("Player"));
ControllerMan... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_55) on Thu Jun 12 19:19:11 EDT 2014 -->
<title>Uses of Class com.runescape.revised.content.skill.combat.prayer.standard.UnstoppableForce</title>
<meta name="date" content="2014-06-12">
<link rel="stylesheet" type=... |
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert
// Generiert: 2020.05.20 um 02:10:33 PM CEST
package ch.fd.invoice450.request;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml... |
package org.eclipse.wst.xml.core.internal.contenttype;
import org.eclipse.wst.sse.core.internal.encoding.EncodingMemento;
import org.eclipse.wst.sse.core.internal.encoding.<API key>;
/**
* This class can be used in place of an EncodingMemento (its super class),
* when there is not in fact ANY encoding information. Fo... |
package es.uah.aut.srg.micobs.mclev.library.mclevlibrary;
/**
* A representation of an MCLEV Library versioned item corresponding to the
* model of a regular component.
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link es.uah.aut.srg.micobs.mclev.library.mclevlibrary.<API key>#getSwPackageURI... |
package org.eclipse.scout.widgets.heatmap.client.ui.form.fields.heatmapfield;
import java.util.Collection;
import org.eclipse.scout.rt.client.ui.form.fields.IFormField;
public interface IHeatmapField extends IFormField {
String PROP_VIEW_PARAMETER = "viewParameter";
String <API key> = "heatPointList";
<API key> g... |
package org.opendaylight.protocol.bgp.linkstate.nlri;
import static org.opendaylight.protocol.util.ByteBufWriteUtil.writeIpv4Address;
import static org.opendaylight.protocol.util.ByteBufWriteUtil.writeIpv6Address;
import static org.opendaylight.protocol.util.ByteBufWriteUtil.writeShort;
import static org.opendaylight.p... |
package WTSpec4M.presentation;
import org.eclipse.emf.common.ui.URIEditorInput;
import org.eclipse.emf.common.ui.action.<API key>;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.edit.ui.action.LoadResourceAction;
import org.eclipse.emf.edit.ui.util.EditUIUtil;
import org.eclipse.equinox.app.IApplication... |
import java.sql.*;
public class ConnessioneDB {
static {
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
} catch (<API key> e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (<API key> e) {
// TODO Auto-generated ... |
package com.huihuang.utils;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
public class BeanToMap<K, V> {
private BeanToMap() {
}
@SuppressWarnings("unchecked")
public static <K, V> Map<K, V> bean2Map(Object javaBean) {
Map<K, V> ret = new HashMap<K, V>();
... |
package nexcore.alm.common.excel;
import nexcore.alm.common.exception.BaseException;
/**
* Excel import/export
*
* @author indeday
*
*/
public class ExcelException extends BaseException {
/**
* serialVersionUID
*/
private static final long serialVersionUID = <API key>;
/**
* @see BaseExc... |
package de.loskutov.anyedit.actions.replace;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.StringWriter;
import java.io.Writer;
import org.eclipse.core... |
package org.jboss.aesh.complete;
import org.jboss.aesh.console.AeshContext;
import org.jboss.aesh.parser.Parser;
import org.jboss.aesh.terminal.TerminalString;
import java.util.ArrayList;
import java.util.List;
public class CompleteOperation {
private String buffer;
private int cursor;
private int offset;
... |
package dao.inf;
// Generated 27/11/2014 02:39:51 AM by Hibernate Tools 3.4.0.CR1
import java.util.List;
import javax.naming.InitialContext;
import model.Query;
import model.QueryId;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.... |
package klaper.expr.util;
import java.util.List;
import klaper.expr.Atom;
import klaper.expr.Binary;
import klaper.expr.Div;
import klaper.expr.Exp;
import klaper.expr.ExprPackage;
import klaper.expr.Expression;
import klaper.expr.Minus;
import klaper.expr.Mult;
import klaper.expr.Operator;
import klaper.expr.Plus;
imp... |
package critterbot.actions;
public class XYThetaAction extends CritterbotAction {
private static final long serialVersionUID = -<API key>;
private static final int ActionValue = 30;
public static final CritterbotAction NoMove = new XYThetaAction(0, 0, 0);
public static final CritterbotAction TurnLeft = new XYTh... |
package mx.com.cinepolis.digital.booking.persistence.dao.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.interceptor.Interceptors;
import javax.persistence.EntityManager;
import javax.persistence.Pers... |
// Compiled by ClojureScript 1.9.946 {}
goog.provide('eckersdorf.window.db');
goog.require('cljs.core');
goog.require('re_frame.core');
eckersdorf.window.db.window_state = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword("window","height","window/height",1310154766),(0),new cljs.core.Keyword("window","w... |
package TaxationWithRoot;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Tax Card</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link Taxatio... |
@FeatureFlag(name = ORIENT_ENABLED)
package org.sonatype.nexus.repository.maven.internal.orient;
import org.sonatype.nexus.common.app.FeatureFlag;
import static org.sonatype.nexus.common.app.FeatureFlags.ORIENT_ENABLED; |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Class org.apache.poi.ss.formula.functions.LogicalFunction (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!
... |
package com.tasktop.c2c.server.profile.web.ui.client.place;
import java.util.Arrays;
import java.util.List;
import com.tasktop.c2c.server.common.profile.web.client.navigation.<API key>;
import com.tasktop.c2c.server.common.profile.web.client.navigation.PageMapping;
import com.tasktop.c2c.server.common.profile.web.clien... |
package com.openMap1.mapper.converters;
import java.util.Iterator;
import org.eclipse.emf.common.util.EList;
import org.w3c.dom.Attr;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import com.openMap1.mapper.ElementDef;
import com.openMap1.mapper.MappedStructure;
import com.openMap1.mapper.core.MapperExceptio... |
package org.matmaul.freeboxos.ftp;
import org.matmaul.freeboxos.internal.Response;
public class FtpResponse {
public static class FtpConfigResponse extends Response<FtpConfig> {}
} |
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
public class FileLogger extends MyLoggerImpl {
private String fileName;
public FileLogger(String fileName) {
super();
this.fileName = fileName;
}
@Override
public void log(int l... |
var install_url = $("#install_url").val();
$("#updateCase").click(function () {
var case_id = $('#case_id').val();
var case_priority = $('#case_priority').val();
var case_status = $('#case_status').val();
var case_type = $('#case_type').val();
var assignedTo = $('#assignedTo').val();
var case_su... |
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
<API key>(array('plugins' => array(array('block', 'ts', 'CRM/Contact/Form/Search.tpl', 19, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('<API key>' => "CRM/Contact/Form/Search/Intro.tpl", 'smarty_include_var... |
// Project owner : Ray Liang (csharp2002@hotmail.com)
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
namespace DNA.Web.Data.Entity.ModelConfiguration
{
public class <API key> : <API key><ContentList>
{
public <API key>(... |
package net.fantesy84.common.util;
import java.net.InetAddress;
import java.net.<API key>;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author Andronicus
* @since 2015119
*/
public abstract class IPUtils {
private static final Logger logger = Logge... |
<?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
$_['text_sub_total'] = 'Sub-Total';
?> |
/* The following tags are used by the out-of-kernel Makefile to identify
* supported kernel versions if a module_support-<kver> file is not found.
* Do not remove these tags.
* $SUPPORTED KERNEL 2.6.23$
* $SUPPORTED KERNEL 2.6.24$
* $SUPPORTED KERNEL 2.6.25$
* $SUPPORTED KERNEL 2.6.26$
* $SUPPORTED KERNEL 2.6.27... |
KT.panel.list.registerPage('gpg_keys', {
create : 'new_gpg_key',
extra_create_data : function(){
return { 'gpg_key[name]' : $('#gpg_key_name').val() };
}
});
$(document).ready(function(){
$('#upload_gpg_key').live('click', function(event){
KT.gpg_key.upload();
});
... |
.pane-sliders > .panel {
border: none !important;
font-family:arial;
}
.pane-sliders >.panel > h3 {
background:url(../images/header-bg.gif) repeat-x!important;
height:37px;
line-height:37px;
padding:0;
}
.pane-sliders >.panel h3 span{
text-transform:uppercase;
color:#c16306;
}
.pane-togg... |
package javax.lang.model.type;
/**
* Thrown when an unknown type is encountered,
* usually by a {@link TypeVisitor}.
*
* @author Andrew John Hughes (gnu_andrew@member.fsf.org)
* @since 1.6
* @see TypeVisitor#visitUnknown(TypeMirror,P)
*/
public class <API key>
extends RuntimeException
{
private static final ... |
#include <clock.h>
#include <common.h>
#include <driver.h>
#include <init.h>
#include <of.h>
#include <malloc.h>
#include <types.h>
#include <xfuncs.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/math64.h>
#include <io.h>
#include <i2c/i2c.h>
#define DW_I2C_BIT_RATE 100000
#define DW_IC_CON... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fram... |
#include "iarcompat.h"
#ifndef __IAR_SYSTEMS_ICC__
# include <avr/io.h>
# include <avr/pgmspace.h>
#endif
#include "usbdrv.h"
#include "oddebug.h"
/*
General Description:
This module implements the C-part of the USB driver. See usbdrv.h for a
documentation of the entire driver.
*/
#ifndef IAR_SECTION
#define IAR_SE... |
package com.citypark.api.task;
import com.citypark.api.parser.<API key>;
import android.content.Context;
import android.os.AsyncTask;
import android.text.format.Time;
public class StopPaymentTask extends AsyncTask<Void, Void, Boolean> {
private Context context;
private String sessionId;
private String payme... |
#include "graphics/fontman.h"
#include "backends/platform/tizen/form.h"
#include "backends/platform/tizen/system.h"
#include "backends/platform/tizen/graphics.h"
// <API key>
<API key>::<API key>(TizenAppForm *appForm) :
_appForm(appForm),
_eglDisplay(EGL_DEFAULT_DISPLAY),
_eglSurface(EGL_NO_SURFACE),
_... |
# 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
package OpenQA::WebAPI::Plugin::AMQP;
use strict;
use warnings;
use parent 'Mojol... |
\addtogroup world The World
@{
\file
#ifndef __WORLD_H
#define __WORLD_H
#include "Common.h"
#include "Timer.h"
#include "Policies/Singleton.h"
#include "SharedDefines.h"
#include "ObjectLock.h"
#include "Util.h"
#include <map>
#include <set>
#include <list>
class Object;
class WorldPacket;
class WorldSession;
class Pl... |
<!DOCTYPE html>
<html>
<body>
<p>Click on the sun or on one of the planets to watch it closer:</p>
<img src="planets.gif" alt="Planets" usemap="#planetmap" style="width:145px;height:126px">
<map name="planetmap">
<area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.html">
<area shape="circle" coords="90,58,3"... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta name="categories" content="docking">
<meta name="profile" content="!Elements">
<meta name="product" content="Glide">
<title>Glide — Edit Feature Dialog Box</... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" media="only screen and (min-device-width: 360px)" href="style-compact.css">
<script>
(function(i,s,o,g,r,a,m){i['<API ke... |
#include "FluxIntegral.h"
#include <iostream>
using namespace std;
FluxIntegral::FluxIntegral (Lx* lx)
: Integral (), itsLx (lx), itsXKink (itsLx->getXKink ()),
itsXOcc (itsLx->getXOcc ())
{
return;
}
FluxIntegral::~FluxIntegral ()
{
return;
}
double FluxIntegral::integrand (double x)
{
return itsLx->getLx ... |
<?php session_start(); ?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
... |
<?php
namespace Drush\Boot;
use Consolidation\AnnotatedCommand\AnnotationData;
use Drush\Log\DrushLog;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Drupal\Core\DrupalKernel;
use Drush\Drush;
use Drush\Drupal\<API key>;
use Drush\Log\LogLevel;
class DrupalBoot8 extends... |
#ifndef rq_xml_util_h
#define rq_xml_util_h
#ifdef __cplusplus
extern "C" {
#if 0
} // purely to not screw up my indenting...
#endif
#endif
#include "rq_stream.h"
/** Get the start and end position of a valid piece of XML. */
RQ_EXPORT rq_error_code <API key>(rq_stream_t stream, const char *tag, long *start_pos, long *... |
<!DOCTYPE html>
<html class="">
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="/css/styles.css?0" media="all" />
<link rel="stylesheet" href="/css/demo.css?0" media="all" />
<!-- Begin Pattern Lab (Required for P... |
// <API key> <API key>
// T H E W A R B E G I N S
// Stratagus - A free fantasy real time strategy game engine
/**@name mainscr.cpp - The main screen. */
// Jimmy Salmon
// This program is free software; you can redistrib... |
function isPrime(n) {
if (n === 2) {
return true;
}
if (n % 2 === 0 || n === 1) {
return false;
}
for (var i = 3; i <= Math.sqrt(n); i += 2) {
if (n % i === 0) {
return false;
}
}
return true;
}
function nthPrimeNumber(n) {
if (n <= 0) {
... |
body{
font-size:12px;
font-family:tahoma;
color:#6d6d6d;
padding:0px;
margin:0px;
}
table,td,tr,th,input,select,div,span,textarea{
font-family:tahoma;
font-size:12px;
}
input{
text-align:center;
}
input[type=text],input[type=password]{
width:200px;
}
form{
padding:0px;
margin... |
// Sparse remembered set for a heap region (the "owning" region). Maps
// indices of other regions to short sequences of cards in the other region
// that might contain pointers into the owner region.
// These tables only expand while they are accessed in parallel --
// deletions may be done in single-threaded code. ... |
<?php
$widget = $vars["entity"];
// get widget settings
$count = (int) $widget->wire_count;
$filter = $widget->filter;
if ($count < 1) {
$count = 8;
}
$options = array(
"type" => "object",
"subtype" => "thewire",
"limit" => $count,
"full_view" => false,
"pagination" => false,
"view_type_togg... |
<?php
/*
* Template Name: Blog
*/
get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div id="blog">
<?php get_template_part( 'content', 'introtext' ); ?>
<section class="features">
<div class="container" role="main">
<div class="row">
<div class="span9">
... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Wed Jul 02 15:54:03 IDT 2014 -->
<title>com.codename1.payment Class Hierarchy (Codename One API)</title>
<meta name="date" content="2014-07-02">
<link rel="stylesheet" type="text/css" href="../../../stylesh... |
<?php
function uwpf_delete_plugin() {
delete_option('uwpf_options');
}
function uwpf_init(){
register_setting( 'uwpf_plugin_options', 'uwpf_options', 'uwpf_validate' );
}
function <API key>() {
global $wp_version;
$plugin = plugin_basename( __FILE__ );
$plugin... |
<?php
if ( !class_exists( 'RWMB_Field ' ) )
{
class RWMB_Field
{
/**
* Add actions
*
* @return void
*/
static function add_actions() {}
/**
* Enqueue scripts and styles
*
* @return void
*/
static function <AP... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_45) on Wed Jan 07 20:17:28 CST 2015 -->
<title>Uses of Class gnu.getopt.Getopt</title>
<meta name="date" content="2015-01-07">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<... |
<!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.3.1"/>
<title>Taobao Cpp/Qt SDK: <API key> Class Reference</title>
<link href="tabs.css" rel="stylesheet... |
/**@file
* \brief Code for ofxdump utility. C++ example code
*
* ofxdump prints to stdout, in human readable form, everything the library
understands about a particular ofx response file, and sends errors to
stderr. To know exactly what the library understands about of a particular
ofx response file, just call ... |
// DO NOT EDIT - generated by simspec!
#ifndef <API key>
#define <API key>
// the contents of this file may not be disclosed to third parties, copied or
// duplicated in any form, in whole or in part, without the prior written
// RESTRICTED RIGHTS LEGEND:
// Use, duplication or disclosure by the Government is subject t... |
<?php
namespace Drupal\dct_user\EventSubscriber;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\Session\AccountInterface;
use Drupal\Core\Url;
use Symfony\Component\EventDispatcher\<API key>;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\RequestStack;
use Symf... |
using System;
using Server.Engines.Craft;
namespace Server.Items
{
[Alterable(typeof(DefBlacksmithy), typeof(DualShortAxes))]
[FlipableAttribute(0x1443, 0x1442)]
public class TwoHandedAxe : BaseAxe
{
[Constructable]
public TwoHandedAxe()
: base(0x1443)
{
t... |
#include <string.h>
#include <stdlib.h>
#include "libterm.h"
#include "cursor.h"
#include "screen.h"
#include "bitarr.h"
int cursor_visibility(int tid, int sid, char visibility) {
if(SCR(tid, sid).curs_invisible != !visibility) {
SCR(tid, sid).curs_invisible = !visibility;
if(!record_update(tid, sid... |
<?php
/*
Template Name: Full Width
*/
?>
<?php get_header(); ?>
<div class="row">
<div class="sixteen columns">
<div class="single-page" role="main">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<article <?php post_class(); ?>>
<?php /*if(!is_front_pag... |
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Implementation of the Transmission Control Protocol(TCP).
*
* Authors: Ross Biro
... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/*#define USE_SMALLFT*/
#define USE_KISS_FFT
#include "misc.h"
#define MAX_FFT_SIZE 2048
#ifdef FIXED_POINT
static int maximize_range(spx_word16_t *in, spx_word16_t *out, spx_word16_t bound, int len)
{
int i, shift;
spx_word16_t max_val = 0;
for (i=0;i<len;i++)
... |
#!/usr/bin/python2.3
# This is the short name of the plugin, used as the menu item
# for the plugin.
# If not specified, the name of the file will be used.
shortname = "Moment Curve layout (Cohen et al. 1995)"
# This is the long name of the plugin, used as the menu note
# for the plugin.
# If not specified, the short n... |
/*
* Changes:
*
* Janos Farkas : delete timer on ifdown
* <chexum@bankinf.banki.hu>
* Andi Kleen : kill double kfree on module
* unload.
* Maciej W. Rozycki : FDDI support
* sekiya@USAGI : Don't send too many RS
* ... |
<?php
namespace Thru\ActiveRecord\Test\Models;
use Thru\ActiveRecord\ActiveRecord;
/**
* Class TestModel
* @var $test_model_id integer
* @var $integer_field integer
* @var $text_field text
* @var $date_field date
*/
class TestModel extends ActiveRecord
{
protected $_table = "test_models";
public $test_mod... |
// This file is part of Gambit
// FILE: src/libgambit/dvector.h
// Doubly-partitioned vector class
// 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 PARTICU... |
/* #define DEBUG */
#define DEV_DBG_PREFIX "HDMI: "
/* #define REG_DUMP */
#define CEC_MSG_PRINT
#define <API key>
#include <linux/types.h>
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/mutex.h>
#include <mach/msm_hdmi_audio.h>
#include <mach/clk.h>
#include <mach/msm_iomap.h>
#include <mach/socinfo.... |
package newpackage;
public class DaneWejsciowe {
float wartosc;
String argument;
public DaneWejsciowe( String argument,float wartosc) {
this.wartosc = wartosc;
this.argument = argument;
}
} |
#ifndef _INC_ctrlkcal_H_
#define _INC_ctrlkcal_H_
// includes
#include <common/oplkinc.h>
#include <common/ctrl.h>
// const defines
// typedef
// function prototypes
#ifdef __cplusplus
extern "C"
{
#endif
tOplkError ctrlkcal_init(void);
void ctrlkcal_exit(void);
tOplkError ctrlkcal_process(void);
tOplkError ctrlk... |
<?php
/**
* Template to display the main page for the new forum
* @access public
*/
$this->setLayoutTemplate('poll_layout_tpl.php');
echo $display.'<br />';
?> |
#include "Common.h"
#include "WorldPacket.h"
#include "Opcodes.h"
#include "Log.h"
#include "ObjectMgr.h"
#include "SpellMgr.h"
#include "Player.h"
#include "Unit.h"
#include "Spell.h"
#include "SpellAuraEffects.h"
#include "DynamicObject.h"
#include "ObjectAccessor.h"
#include "Util.h"
#include "GridNotifiers.h"
#incl... |
/* <API key>: LGPL-2.1-or-later */
#include "errno-util.h"
#include "format-table.h"
#include "hexdecoct.h"
#include "homectl-pkcs11.h"
#include "libcrypt-util.h"
#include "memory-util.h"
#include "openssl-util.h"
#include "pkcs11-util.h"
#include "random-util.h"
#include "strv.h"
struct <API key> {
char *pin_u... |
using OpenDBDiff.Abstractions.Schema;
using OpenDBDiff.Abstractions.Schema.Model;
using System;
using System.Linq;
namespace OpenDBDiff.SqlServer.Schema.Model
{
public class Columns<T> : SchemaList<Column, T> where T : ISchemaBase
{
public Columns(T parent) : base(parent)
{
}
<su... |
#pragma once
#include <obs.hpp>
#include <map>
const std::map<int, const char*> &<API key>();
const char *<API key>(int bitrate);
int <API key>(int bitrate); |
<?php
use Inc2734\<API key>\Framework;
use Framework\Helper;
Framework::control(
'select',
'<API key>',
[
'label' => __( 'Number of columns in the footer widget area on PC', 'snow-monkey' ),
'priority' => 110,
'default' => '1-4',
'choices' => ... |
#include "kempston_di.h" |
// This program is free software; you can redistribute it and/or modify
// the Free Software Foundation
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Fra... |
#include <linux/serial.h>
#include <linux/serial_reg.h>
#include <linux/slab.h>
#define MAX_MODEM_BUF 256
#define WAKEUP_CHARS (MAX_MODEM_BUF/2)
#define RS_ISR_PASS_LIMIT 256
#define BASE_BAUD ( 1843200 / 16 )
//#define SERIAL_DEBUG_OPEN 1
//#define SERIAL_DEBUG_INTR 1
//#define SERIAL_DEBUG_FLOW 1
#undef SERIAL_... |
<?php
namespace Themosis\Core\Console;
use Illuminate\Console\Command;
use Illuminate\Console\ConfirmableTrait;
use Illuminate\Encryption\Encrypter;
class KeyGenerateCommand extends Command
{
use ConfirmableTrait;
/**
* Name and signature of the console command.
*
* @var string
*/
protec... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" media="only screen and (min-device-width: 360px)" href="style-compact.css">
<script>
(function(i,s,o,g,r,a,m){i['<API ke... |
<?php
require_once './includes/bootstrap.inc';
drupal_bootstrap(<API key>);
global $base_url;
require_once ('tcpdf/pdfcss.php');
require_once('tcpdf/config/lang/eng.php');
require_once('tcpdf/tcpdf.php');
// create new PDF document
$pdf = new TCPDF(L, PDF_UNIT, B4, true, 'UTF-8', false);
// set document information
$pd... |
package app.astrosoft.beans;
import java.util.EnumMap;
import app.astrosoft.consts.AshtavargaName;
import app.astrosoft.consts.<API key>;
import app.astrosoft.consts.Rasi;
import app.astrosoft.core.Ashtavarga;
import app.astrosoft.export.Exportable;
import app.astrosoft.export.Exporter;
import app.astrosoft.ui.table.Co... |
package mcmod.nxs.animalwarriors.lib;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.ItemArmor;
public class ArmorHelper extends ItemArmor {
public ArmorHelper(ArmorMaterial material, int type, int layer)
{
super(material, type, layer);
}
public ItemArmor setNameAndTab(... |
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title> </title>
<style>
.municipios{
font-size:12px;
font-family: 'helvetica','raleway';
padding:1em 1em;
background-color:#2C85AF;
color:#FFFFFF;
}
.direccion{
font-size:12px;
font-family: 'helvetica','raleway... |
// float_digits().
// General includes.
#include "base/cl_sysdep.h"
// Specification.
#include "cln/dfloat.h"
// Implementation.
#include "float/dfloat/cl_DF.h"
namespace cln {
CL_INLINE uintC CL_INLINE_DECL(float_digits) (const cl_DF& x)
{
unused x;
return DF_mant_len+1;
}
} // namespace cln |
package org.scada_lts.dao.model.multichangehistory;
import java.util.Objects;
/**
* @author grzegorz.bylica@abilit.eu on 16.10.2019
*/
public class <API key> {
private int id;
private int userId;
private String userName;
private String <API key>;
private String interpretedState;
private long ... |
<?php
// security - hide paths
if (!defined('ADODB_DIR')) die();
class ADODB2_ibase extends ADODB_DataDict {
var $databaseType = 'ibase';
var $seqField = false;
function ActualType($meta)
{
switch($meta) {
case 'C': return 'VARCHAR';
case 'XL':
case 'X': return 'VARCHAR(... |
package com.starfarers.dao;
import java.util.List;
public interface BaseDao<T> {
public void create(T entity);
public T save(T entity);
public void save(List<T> entities);
public void remove(T entity);
public T find(Integer id);
public List<T> findAll();
public <P> T findBy(String attribute,... |
/* This is used to pack YAFFS2 tags, not YAFFS1tags. */
#ifndef <API key>
#define <API key>
#include "yaffs_guts.h"
#include "yaffs_ecc.h"
typedef struct {
unsigned sequenceNumber;
unsigned objectId;
unsigned chunkId;
unsigned byteCount;
} <API key>;
typedef struct{
<API key> t;
yaffs_ECCOther e... |
'''
Ohm's law is a simple equation describing electrical circuits. It
states that the voltage V through a resistor is equal to the current
(I) times the resistance:
V = I * R
The units of these are volts, ampheres (or "amps"), and ohms,
respectively. In real circuits, often R is actually measured in
kiloohms (10**3 ohm... |
set(PROCESSORS 4)
set(<API key> /Users/kitware/<API key>)
# set(USER_OVERRIDE "set(<API key> \\\"gcc <FLAGS> <<API key>> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES> -shared-libgcc -lstdc++-static\\\")")
set(INSTALL_PREFIX /)
set(HOST dashmacmini5)
set(MAKE_PROGRAM "make")
set(MAKE "${MAKE_PROGRAM} -j5")
set(... |
@(contestId: Long, form: Form[org.iatoki.judgels.uriel.forms.<API key>])
@import play.i18n.Messages
@import org.iatoki.judgels.uriel.controllers.routes
@import org.iatoki.judgels.play.views.html.formErrorView
@import org.iatoki.judgels.uriel.views.html.contest.announcement.<API key>
@import org.iatoki.judgels.uriel.vie... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.