answer
stringlengths
15
1.25M
"""The tests for the heat control thermostat.""" import unittest from homeassistant.bootstrap import _setup_component from homeassistant.const import ( <API key>, SERVICE_TURN_OFF, SERVICE_TURN_ON, STATE_ON, STATE_OFF, TEMP_CELSIUS, ) from homeassistant.components import thermostat from tests.co...
package org.spongycastle.crypto.test; import org.spongycastle.crypto.Digest; import org.spongycastle.crypto.digests.SHA256Digest; /** * standard vector test for SHA-256 from FIPS Draft 180-2. * * Note, the first two vectors are _not_ from the draft, the last three are. */ public class SHA256DigestTest extends D...
<?php namespace DesignPatterns\Tests\Specification; use DesignPatterns\Specification\PriceSpecification; use DesignPatterns\Specification\Item; /** * SpecificationTest tests the specification pattern */ class SpecificationTest extends \<API key> { public function <API key>() { $item = new Item(100); ...
<!DOCTYPE html> <html> <body> %username% edited item at board %boardname%:<br> %title%<br> %description%<br> %duedate%<br> %assignee%<br> %category%<br> %points%<br> %position%<br> <a href="http://%hostname%/#/boards/%boardid%">Navigate to board!</a> </body> </html>
/* Capstone Disassembly Engine */ /* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */ #ifdef CAPSTONE_HAS_SPARC #include "../../utils.h" #include "../../MCRegisterInfo.h" #include "SparcDisassembler.h" #include "SparcInstPrinter.h" #include "SparcMapping.h" static cs_err init(cs_struct *ud) { MCRegisterInfo *mr...
<!DOCTYPE html> <html class="minimal"> <title>Canvas test: 2d.pattern.paint.norepeat.outside</title> <script src="../tests.js"></script> <link rel="stylesheet" href="../tests.css"> <link rel="prev" href="minimal.2d.pattern.paint.norepeat.basic.html" title="2d.pattern.paint.norepeat.basic"> <link rel="next" href="minima...
"function"==typeof jQuery&&jQuery(document).ready(function(e){function n(){!1!==s?o():t()}function o(){r=new google.maps.LatLng(s[0],s[1]),a()}function t(){var e=new google.maps.Geocoder;e.geocode({address:d},function(e,n){n==google.maps.GeocoderStatus.OK&&(r=e[0].geometry.location,a())})}function a(){var n={zoom:parse...
angular.module('merchello.plugins.braintree').controller('Merchello.Plugins.GatewayProviders.Dialogs.<API key>', ['$scope', '<API key>', function($scope, <API key>) { $scope.providerSettings = {}; function init() { var json = JSON.parse($scope.dialogData.provider.exte...
// object code form for any purpose and without fee is hereby granted, // restricted rights notice below appear in all supporting // documentation. // AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS. // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC. // DOES NOT WARRANT THAT THE OPERATION OF...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http: <html xmlns="http: <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="generator" content="JsDoc Toolkit" /> <title>JsDoc Reference - _global_</title> <link rel="stylesh...
using ArmyOfCreatures.Logic.Creatures; namespace ArmyOfCreatures.Logic { public interface ICreaturesFactory { Creature CreateCreature(string name); } }
using namespace System; using namespace NETGeographicLib; int main(array<System::String ^> ^/*args*/) { try { Geodesic^ geod = gcnew Geodesic(); // WGS84 const double lat0 = 48 + 50/60.0, lon0 = 2 + 20/60.0; // Paris Gnomonic^ proj = gcnew Gnomonic(geod); { // Sample forw...
(function () { 'use strict'; function <API key>($rootScope, $scope, $routeParams, $q, $timeout, $window, $location, appState, contentResource, entityResource, navigationService, <API key>, angularHelper, <API key>, <API key>, treeService, fileManager, formHelper, umbRequestHelper, keyboardService, umbModelMapper, e...
<?php defined('C5_EXECUTE') or die("Access Denied."); Loader::controller('/profile/edit'); Loader::model('<API key>'); class <API key> extends <API key> { public function __construct() { parent::__construct(); } public function on_start() { parent::on_start(); $this->error = Loader::...
#!/usr/bin/python # coding=utf-8 from test import CollectorTestCase from test import <API key> from test import unittest from mock import Mock from mock import patch try: from cStringIO import StringIO StringIO # workaround for pyflakes issue #13 except ImportError: from StringIO import StringIO from diamo...
var tns = (function (){ // keys if (!Object.keys) { Object.keys = function (object) { var keys = []; for (var name in object) { if (Object.prototype.hasOwnProperty.call(object, name)) { keys.push(name); } } return keys; }; } // ChildNode.re...
<?php namespace Composer\Package\Archiver; use Symfony\Component\Finder; /** * @author Nils Adermann <naderman@naderman.de> */ abstract class BaseExcludeFilter { /** * @var string */ protected $sourcePath; /** * @var array */ protected $excludePatterns; /** * @param string...
function dec(target, name, descriptor) { assert(target); assert.equal(typeof name, "string"); assert.equal(typeof descriptor, "object"); target.decoratedProps = (target.decoratedProps || []).concat([name]); let value = descriptor.value; Object.assign(descriptor, { enumerable: name.indexOf("enum") !== -1...
import chainer from chainer import backend from chainer import utils def sign(x): """Elementwise sign function. For a given input :math:`x`, this function returns :math:`sgn(x)` defined as .. math:: sgn(x) = \\left \\{ \\begin{array}{cc} -1 & {\\rm if~x < 0} \\\\ 0 & {\\rm if~x =...
function lisp(hljs) { var LISP_IDENT_RE = '[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*'; var MEC_RE = '\\|[^]*?\\|'; var <API key> = '(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?'; var LITERAL = { className: 'literal', begin: '\\b(t{1}|nil)\\b' }; var NUMBER = { cla...
#ifndef __RTA_STORE_CMD_H__ #define __RTA_STORE_CMD_H__ extern enum rta_sec_era rta_sec_era; static const uint32_t store_src_table[][2] = { { KEY1SZ, LDST_CLASS_1_CCB | <API key> }, { KEY2SZ, LDST_CLASS_2_CCB | <API key> }, { DJQDA, LDST_CLASS_DECO | <API key> }, { MODE1, LDST_CLAS...
/** * WikimediaUI Base v0.10.0 * Wikimedia Foundation user interface base variables */ .oo-ui-tool { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .oo-ui-tool.oo-ui-widget > .oo-ui-tool-link > .oo-ui-iconWidget.<API key>.<API key> { display: none; } .oo-ui-tool .oo-ui...
define( //begin v1.x content { "<API key>+0": "detta kv.", "<API key>+1": "nästa kv.", "field-tue-relative+-1": "tisdag förra veckan", "field-year": "år", "field-wed-relative+0": "onsdag denna vecka", "field-wed-relative+1": "onsdag nästa vecka", "field-minute": "minut", "<API key>+-1": ...
package org.openhab.binding.dsmr.internal.device; import java.util.concurrent.<API key>; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import org.eclipse.jdt.annotation.NonNullByDefault; import org.eclipse.jdt.annotation.Nullable; import org.eclipse.smarthome.io.transport.serial.Ser...
package org.openhab.binding.yamahareceiver.internal.state; import static org.openhab.binding.yamahareceiver.<API key>.VALUE_EMPTY; /** * The state of a specific zone of a Yamaha receiver. * * @author David Graeff <david.graeff@web.de> * */ public class ZoneControlState { public boolean power = false; // Us...
package org.openhab.binding.nikohomecontrol.internal.protocol; /** * Class {@link NhcMessageBase} used as base class for output from gson for cmd or event feedback from Niko Home * Control. This class only contains the common base fields required for the deserializer * {@link <API key>} to select the specific format...
#include <linux/init.h> #include <linux/cache.h> #include <linux/sched.h> #include <linux/irq.h> #include <linux/interrupt.h> #include <asm/io.h> #include "proto.h" #include "irq_impl.h" static unsigned int cached_irq_mask = 0xffff; static DEFINE_SPINLOCK(i8259_irq_lock); static inline void i8259_update_irq_hw(unsigned...
#include <linux/bio.h> #include <linux/blkdev.h> #include <linux/device.h> #include <linux/errno.h> #include <linux/fs.h> #include <linux/genhd.h> #include <linux/interrupt.h> #include <linux/io.h> #include <linux/ioport.h> #include <linux/irq.h> #include <linux/irqreturn.h> #include <linux/kernel.h> #include <linux/mm...
#include "GameObjectAI.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" #include "heart_of_fear.h" // Zorlok - 62980 class boss_unsok : public CreatureScript { public: boss_unsok() : CreatureScript("boss_unsok") { } struct boss_unsokAI : public BossAI { boss_unsokAI(Creatu...
#include "Core/HW/SI/SI_DeviceKeyboard.h" #include <cstring> #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" #include "Common/Logging/Log.h" #include "Common/Swap.h" #include "Core/HW/GCKeyboard.h" #include "InputCommon/KeyboardStatus.h" namespace SerialInterface { CSIDevice_Keyboard::CSIDevice_Keyboard(S...
<?php if (!get_option('users_can_register')) return; add_action('<API key>','<API key>'); function <API key>() { wp_enqueue_script('jquery'); } add_action('<API key>', '<API key>'); function <API key>() { wp_redirect(site_url('wp-login.php?action=register', 'login')); exit; } remove_action('login_form','<AP...
<?php namespace Illuminate\Queue\Console; use Exception; use RuntimeException; use Illuminate\Queue\IronQueue; use Illuminate\Console\Command; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputArgument; /** * @deprecated since version 5.1 */ class SubscribeCommand extends Comma...
/** @addtogroup GUI @{ */ /** @addtogroup GuiTreeModel * @{ */ #ifndef <API key> #define <API key> #include <gtk/gtk.h> #include "gnc-tree-view.h" #include "gnc-ui-util.h" #include "gnc-plugin-page.h" G_BEGIN_DECLS /* type macros */ #define <API key> (<API key> ()) #define <API key>(obj) (<AP...
@import url("<API key>.css"); .acymailing_module .inputbox:hover{ border:1px solid #bfd8e1 !important; border-bottom:1px solid #9dbcc7 !important; -moz-box-shadow: inset 0 0 3px 3px #e2eef2 !important; -webkit-box-shadow: inset 0 0 3px 3px#e2eef2 !important;} .acymailing_module .inputbox:focus{ border:1...
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http: <head> <title>Qt 4.4: Draggable Icons Example</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellpadding="0" cel...
<?php $lang = array( #Texts 'text_puke' => "Puke", 'text_nfofor' => "NFO for ", 'text_forbest' => "For best visual result, install the ", 'text_linedraw' => "MS Linedraw", 'text_font' => " font", 'text_stdhead' => "View Nfo" ); ?>
#ifndef LSD_HASH_H #define LSD_HASH_H /* * If an item's key is modified after insertion, the hash will be unable to * locate it if the new key should hash to a different slot in the table. * * If NDEBUG is not defined, internal debug code will be enabled; this is * intended for development use only. Productio...
#undef LABPC_DEBUG #include <linux/interrupt.h> #include <linux/slab.h> #include <linux/io.h> #include "../comedidev.h" #include <linux/delay.h> #include <asm/dma.h> #include "8253.h" #include "8255.h" #include "mite.h" #include "comedi_fc.h" #include "ni_labpc.h" #define DRV_NAME "ni_labpc" #define LABPC_SIZE ...
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http: <head> <title>Qt 4.4: Main Window</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellpadding="0" cellspacing="0"...
using System; namespace Server.Items { [Flipable( 0xC12, 0xC13 )] public class <API key> : AddonComponent { public override int LabelNumber { get { return 1076262; } } // Broken Armoire public <API key>() : base( 0xC12 ) { } public <API key>( Serial serial ) : base( s...
*******************************************************************//** *//** *//** *//** *//** *//** *//** */ void ExpandingToolBar::Collapse(bool now /* = false */)
<?php require_once("../../config.inc.php"); require_once("csv.inc.php"); require_once("xml.inc.php"); require_once("common.php"); require_once("requirements.inc.php"); testlinkInitPage($db,false,false,"checkRights"); $templateCfg = <API key>(); $req_spec_mgr = new <API key>($db); $args = init_args(); $gui = initializeG...
/* Brief vocabulary: ODR = One Definition Rule In short, the ODR states that: 1 In any translation unit, a template, type, function, or object can have no more than one definition. Some of these can have any number of declarations. A definition provides an instance. 2 In the entire ...
package org.compiere.model; import java.math.BigDecimal; import java.sql.ResultSet; import java.util.List; import java.util.Properties; import org.compiere.util.DB; /** * Shipment Material Allocation * * @author Jorg Janke * @version $Id: MInOutLineMA.java,v 1.3 2006/07/30 00:51:02 jjanke Exp $ */ public clas...
#ifdef PAIR_CLASS PairStyle(lj/charmm/coul/msm,PairLJCharmmCoulMSM) #else #ifndef <API key> #define <API key> #include "<API key>.h" namespace LAMMPS_NS { class PairLJCharmmCoulMSM : public <API key> { public: PairLJCharmmCoulMSM(class LAMMPS *); virtual ~PairLJCharmmCoulMSM(){}; virtual void compute(int, int); ...
#include "conf.h" int *video_quality = &conf.video_quality; int *video_mode = &conf.video_mode; long def_table1[9]={0x2000,0x38D,0x788,0x5800,0x9C5,0x14B8,0x10000,0x1C6A,0x3C45}; long def_table2[9]={0x1CCD,-0x2E1,-0x579,0x4F33,-0x7EB,-0xF0C,0xE666,-0x170A,-0x2BC6}; long table1[9], table2[9]; void change_video_tables...
<?php /** * base class to choose the language * * @since 1.2 */ abstract class PLL_Choose_Lang { public $links_model, $model, $options; public $curlang; /** * constructor * * @since 1.2 * * @param object $polylang */ public function __construct( &$polylang ) { $...
// This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the terms // Foundation; either version 3, or (at your option) any later // version. // This library is distributed in the hope that it will be useful, but // MERCHANTABILITY or FITNESS FOR...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ #ifndef <API key> #define <API key> #include <glib-object.h> #include <dbus/dbus-glib.h> #define <API key> "org.fedoraproject.FirewallD1" #define FIREWALL_DBUS_PATH "/org/fedoraproject/FirewallD1" #define <API key> "org...
#include <lwk/types.h> long sys_getgroups(int n, gid_t gids[]) { return 0; }
#include "emu.h" #include "includes/dassault.h" void dassault_state::video_start() { m_sprgen1->alloc_sprite_bitmap(); m_sprgen2->alloc_sprite_bitmap(); } void dassault_state::mixdassaultlayer(bitmap_rgb32 &bitmap, bitmap_ind16* sprite_bitmap, const rectangle &cliprect, UINT16 pri, UINT16 primask, UINT16 penbas...
// { dg-do run { target c++11 } } // 2007-10-12 Paolo Carlini <pcarlini@suse.de> // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // Free Software Foundation; either version 3, or (at your option) // any later version. // This libra...
void section_SDT (u_char *b, int len);
/** * @file ump_ukk_wrappers.c * Defines the wrapper functions which turn Linux IOCTL calls into _ukk_ calls */ #include <asm/uaccess.h> /* user space access */ #include "ump_osk.h" #include "ump_uk_types.h" #include "ump_ukk.h" #include "ump_kernel_common.h" /* * IOCTL operation; Negotiate version of I...
#include <linux/delay.h> #include <linux/clk.h> #include <linux/io.h> #include <linux/module.h> #include <linux/of.h> #include <mach/gpio.h> #include <mach/camera.h> #include "msm_ispif.h" #include "msm.h" #include "msm_ispif_hwreg.h" #define V4L2_IDENT_ISPIF 50001 #define CSID_VERSION_V2 ...
package loci.plugins.util; import ij.IJ; import ij.ImageJ; import ij.gui.GenericDialog; import java.awt.BorderLayout; import java.awt.Checkbox; import java.awt.Choice; import java.awt.Component; import java.awt.Container; import java.awt.Dimension; import java.awt.Frame; import java.awt.GridBagConstraints; import java....
#ifndef __MTK_WDT_H__ #define __MTK_WDT_H__ #define ENABLE_WDT_MODULE (1) // Module switch #define LK_WDT_DISABLE (0) #define MTK_WDT_BASE TOPRGU_BASE #define MTK_WDT_MODE (MTK_WDT_BASE+0x0000) #define MTK_WDT_LENGTH (MTK_WDT_BASE+0x0004) #define MTK_WDT_RESTART ...
#ifndef <API key> #define <API key> #include <QDrmContentPlugin> #include "bscidrm.h" #include <qtopiaglobal.h> #include <QValueSpaceItem> class BSciContentLicense : public QDrmContentLicense { Q_OBJECT public: BSciContentLicense( const QContent &content, QDrmRights::Permission permission, QDrmContent::LicenseO...
#ifndef <API key> #define <API key> /** * \file indirect_va_private.h * * \author Ian Romanick <idr@us.ibm.com> */ #include <inttypes.h> #include "glxclient.h" #include "indirect.h" #include <GL/glxproto.h> /** * State descriptor for a single array of vertex data. */ struct array_state { /** * Pointer to...
/* Check that heap-structure is ok */ #include "heapdef.h" static int check_one_key(HP_KEYDEF *keydef, uint keynr, ulong records, ulong blength, my_bool print_status); static int check_one_rb_key(HP_INFO *info, uint keynr, ulong records, my_bool print_status); /* Check if keys and rows ar...
<?php defined('_JEXEC') or die; $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <form action="<?php echo JRoute::_('index.php?option=com_cache'); ?>" method="post" name="adminForm" id="adminForm"> <?php if (!empty( $this->sidebar)) : ?>...
#include "DibBridgeConfig.h" /* Must be first include of all SDK files - Defines compilation options */ #if (USE_DRAGONFLY == 1) #include "<API key>.h" #include "DibBridgeCommon.h" #include "DibBridgeTarget.h" #include "<API key>.h" #include "DibBridgeTestIf.h" #include "DibBridge.h" #include "<API key>.h" #include "<A...
jQuery.fn.nextInArray = function(element) { var nextId = 0; for(var i = 0; i < this.length; i++) { if(this[i] == element) { nextId = i + 1; break; } } if(nextId > this.length-1) nextId = 0; return this[nextId]; }; jQuery.fn.clearForm = function() { ...
#define DEBUG_VARIABLE debug #include <media/saa7146_vv.h> #include <media/tuner.h> #include <linux/video_decoder.h> #include "mxb.h" #include "tea6415c.h" #include "tea6420.h" #include "tda9840.h" #define I2C_SAA7111 0x24 #define <API key>(dev) (dev->revision != 0) /* global variable */ static int mxb_num = 0; /* in...
<?php namespace Drupal\yamlform\Tests; /** * Tests for form block. * * @group YamlForm */ class YamlFormBlockTest extends YamlFormTestBase { /** * Tests form block. */ public function testBlock() { // Place block. $block = $this->drupalPlaceBlock('yamlform_block'); // Check contact form. $...
BODY, TEXTAREA, INPUT, TD, SELECT { font-family: Tahoma,verdana,arial,sans-serif; } DIV { position: absolute; } .simple { font-size: 11pt; } .double { font-size: 9pt; } .simpledia { color: red; font-size: 11pt; } .doubledia { color: red; font-size: 9pt; } .action { color: white; ...
<?php namespace Drupal\KernelTests\Core\Test; use Drupal\FunctionalTests\<API key>; use Drupal\FunctionalTests\<API key>; use Drupal\KernelTests\KernelTestBase; use PHPUnit\Framework\SkippedTestError; /** * @group Test * @group FunctionalTests * * @coversDefaultClass \Drupal\Tests\BrowserTestBase */ class BrowserT...
<?php namespace Joomla\CMS\Http; defined('JPATH_PLATFORM') or die; use Joomla\Registry\Registry; use Joomla\CMS\Uri\Uri; /** * HTTP transport class interface. * * @since 1.7.3 */ interface TransportInterface { /** * Constructor. * * @param Registry $options Client options object. * ...
#ifndef LINUX_TDEP_H #define LINUX_TDEP_H #include "bfd.h" struct regcache; typedef char *(*<API key>) (const struct regcache *, ptid_t, bfd *, char *, int *, enum gdb_signal); struct type *<API key> (struct gdbarch *); extern ...
/** * @file * Packet buffer management * * Packets are built from the pbuf data structure. It supports dynamic * memory allocation for packet contents or can reference externally * managed packet contents both in RAM and ROM. Quick allocation for * incoming packets is provided through pools with fixed sized pbuf...
/** \file * * Functions to manage the physical Dataflash media, including reading and writing of * blocks of data. These functions are called by the SCSI layer when data must be stored * or retrieved to/from the physical storage media. If a different media is used (such * as a SD card or EEPROM), functions sim...
#include <linux/init.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/interrupt.h> #include <linux/dmaengine.h> #include <linux/delay.h> #include <linux/platform_device.h> #include <linux/pm_runtime.h> #include <linux/sh_dma.h> #include <linux/notifier.h> #include <linux/kdebug.h> #include <linux/sp...
#include <linux/init.h> #include <linux/kernel.h> #include <linux/device.h> #include <linux/interrupt.h> #include <linux/list.h> #include <linux/io.h> #include <linux/slab.h> #include <linux/maple.h> #include <linux/dma-mapping.h> #include <linux/delay.h> #include <linux/module.h> #include <asm/cacheflush.h> #include <...
#include <mach/<API key>.h> #include "omap-bandgap.h" /* TODO: Remove this, ES2.0 samples won't allow this to be programmable*/ #define <API key> 928 /* 119 degC */ #define <API key> 900 #define <API key> 916 /* 114 degC */ #define <API key> 900 #define <API key> 943 /* 125 d...
// This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // Free Software Foundation; either version 3, or (at your option) // any later version. // This library is distributed in the hope that it will be useful, // MERCHANTABILITY or FITNESS...
#ifndef MSM_IRIS_H #define MSM_IRIS_H #include <linux/i2c.h> #include <linux/gpio.h> #include <soc/qcom/camera2.h> #include <media/v4l2-subdev.h> #include <media/msmb_camera.h> #include "msm_camera_i2c.h" #include "msm_camera_dt_util.h" #include "msm_camera_io_util.h" #define DEFINE_MSM_MUTEX(mutexname) \ static st...
#include <linux/init.h> #include <linux/fs.h> #include <linux/slab.h> #include <linux/mbcache.h> #include <linux/quotaops.h> #include <linux/rwsem.h> #include "ext4_jbd2.h" #include "ext4.h" #include "xattr.h" #include "acl.h" #define BHDR(bh) ((struct ext4_xattr_header *)((bh)->b_data)) #define ENTRY(ptr) ((struct ext...
#include "sh_intc.h" #include "hw.h" #include "sh.h" //#define DEBUG_INTC //#define DEBUG_INTC_SOURCES #define INTC_A7(x) ((x) & 0x1fffffff) void <API key>(struct intc_source *source, int enable_adj, int assert_adj) { int enable_changed = 0; int pending_changed = 0; int old_pending; if ((...
#ifndef <API key> #define <API key> #include <stdlib.h> #include "common/util.h" /** Common array type */ #define ARRAY_TYPE(type_t, pfx) \ typedef struct pfx##_array_t { \ type_t *tab; ...
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Preview; use Twilio\Domain; use Twilio\Exceptions\TwilioException; use Twilio\Rest\Preview\HostedNumbers\<API key>; use Twilio\Version; /** * @property \Twilio\Rest\Preview\HostedNum...
<?php /* pluginbuddy_ui class * * Handles typical user interface items used in WordPress development. * * @author Dustin Bolton * @version 1.0.0 */ class pb_backupbuddy_ui { private $_tab_interface_tag = ''; /* pluginbuddy_ui->start_metabox() * * Starts a metabox. Use with end_...
#ifndef _MACH_GPIO_H_ #define _MACH_GPIO_H_ #define MAX_BLACKFIN_GPIOS 48 #define GPIO_PF0 0 #define GPIO_PF1 1 #define GPIO_PF2 2 #define GPIO_PF3 3 #define GPIO_PF4 4 #define GPIO_PF5 5 #define GPIO_PF6 6 #define GPIO_PF7 7 #define GPIO_PF8 8 #define GPIO_PF9 9 #define GPIO_PF10 10 #d...
#ifndef DSDEFS_H #define DSDEFS_H #if !defined(RTLAB) && !defined(LABCAR) && !defined(DYM2DS) && !defined(<API key>) #if defined(NO_FILE) || ( defined(DYMOLA_DSPACE) && !defined(__STDIO_H) ) #define FILE int #define fpos_t unsigned int #if defined(DYMOLA_DSPACE) #define __STDIO_H #endif #endif #if defined(DYMOLA_DSPACE...
""" Encoding Aliases Support This module is used by the encodings package search function to map encodings names to module names. Note that the search function converts the encoding names to lower case and replaces hyphens with underscores *before* performing the lookup. """ aliases = { # Latin-...
<?php require_once "$CFG->dirroot/lib/formslib.php"; require_once "$CFG->dirroot/mod/facetoface/lib.php"; class <API key> extends moodleform { function definition() { $mform =& $this->_form; $mform->addElement('header', 'general', get_string('general', 'form')); $mform->addElement('hidde...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using System.Xml; using OfficeOpenXml.<API key>.Contracts; namespace OfficeOpenXml.<API key> { <summary> <API key> </summary> public class <API key> : <API key>, <API key> { #region Construc...
<?php // File name : example_052.php // Begin : 2009-05-07 // Last Update : 2009-09-30 // Description : Example 052 for TCPDF class // Certification Signature (experimental) // Nicola Asuni // Tecnick.com s.r.l. // Via Della Pace, 11 // 09044...
// RUN: %clang_cc1 -fsyntax-only -verify %s // RUN: %clang_cc1 -fsyntax-only -<API key> -verify=allow-signed -DSKIP_ERROR_TESTS %s // <API key> wchar_t x; void f(wchar_t p) { wchar_t x; unsigned wchar_t y; // expected-error {{'wchar_t' cannot be signed or unsigned}} signed wchar_t z; // expected-error {{'wchar_t'...
var Deferred = require('./') var assert = require('assert') var d = new Deferred() var t = require('tap') t.match(d, { resolve: Function, reject: Function, promise: Object })
<?php defined( 'ABSPATH' ) || exit; ?> <li> <?php do_action( '<API key>', $args ); ?> <a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>"> <?php echo $product->get_image(); ?> <span class="product-title"><?php echo $product->get_name(); ?></span> </a> <?php echo ...
package com.aptana.core.internal.resources; import org.eclipse.osgi.util.NLS; /** * * @author Ingo Muschenetz * */ public final class Messages extends NLS { private static final String BUNDLE_NAME = "com.aptana.core.internal.resources.messages"; //$NON-NLS-1$ private Messages() { } static { ...
#include <r_util.h> #include <r_types.h> ut32 get_msb(ut32 v) { int i; for (i = 31; i > (-1); i if (v & (0x1 << i)) { return (v & (0x1 << i)); } } return 0; } R_API RIDPool* r_id_pool_new(ut32 start_id, ut32 last_id) { RIDPool* pool = NULL; if (start_id < last_id) { ...
package com.shatteredpixel.<API key>.scenes; import com.shatteredpixel.<API key>.Assets; import com.shatteredpixel.<API key>.Dungeon; import com.shatteredpixel.<API key>.Statistics; import com.shatteredpixel.<API key>.actors.Actor; import com.shatteredpixel.<API key>.items.Generator; import com.shatteredpixel.<API key>...
-- predictability SET synchronous_commit = on; DROP TABLE IF EXISTS replication_example; SELECT 'init' FROM <API key>('regression_slot', 'test_decoding'); CREATE TABLE replication_example(id SERIAL PRIMARY KEY, somedata int, text varchar(120)); INSERT INTO replication_example(somedata) VALUES (1); SELECT data FROM <API...
# file at the top-level directory of this distribution. # option. This file may not be copied, modified, or distributed # except according to those terms. from __future__ import absolute_import, print_function, unicode_literals import base64 import json import os import os.path as path import re import shutil import sy...
TL.Point = function (/*Number*/ x, /*Number*/ y, /*Boolean*/ round) { this.x = (round ? Math.round(x) : x); this.y = (round ? Math.round(y) : y); }; TL.Point.prototype = { add: function (point) { return this.clone()._add(point); }, _add: function (point) { this.x += point.x; ...
package model_test import ( "errors" gc "gopkg.in/check.v1" "gopkg.in/juju/names.v2" "github.com/juju/juju/api" jujucloud "github.com/juju/juju/cloud" "github.com/juju/juju/environs/config" "github.com/juju/juju/testing" ) // ModelConfig related fake environment for testing. type fakeEnvSuit...
<?php return array( 'field workspace description' => '', 'workspace description' => '', 'add new workspace' => '', 'add your first workspace' => '', 'you have no workspaces yet' => '', 'filter by workspaces' => '', 'filter by tags' => '', ); ?>
#!/bin/sh # 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 set -e cp -R input/Q1.java Q1.java javac -cp ".:input/lib/pythi...
package org.kuali.kfs.module.cg.service.impl; import java.util.ArrayList; import java.util.List; import org.kuali.kfs.module.cg.CGPropertyConstants; import org.kuali.kfs.module.cg.service.<API key>; /** * Service with methods related to the Contracts & Grants Billing (CGB) enhancement. */ public class <API key> imple...