answer stringlengths 15 1.25M |
|---|
<?php
/**
* TOP API: taobao.shop.remainshowcase.get request
*
* @author auto create
* @since 1.0, 2012-03-21 12:35:10
*/
class <API key>
{
private $apiParas = array();
public function getApiMethodName()
{
return "taobao.shop.remainshowcase.get";
}
public function getApiParas()
{
... |
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
#include <Timeval.h>
#ifdef HAVE_MATH_H
#include <math.h>
#endif /* HAVE_MATH_H */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif /* HAVE_UNISTD_H */
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */
#include <mdebug.h>
name... |
using Rocket.API;
using Rocket.API.Extensions;
using Rocket.Core.Logging;
using Rocket.Unturned.Chat;
using Rocket.Unturned.Commands;
using Rocket.Unturned.Player;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace coolpuppy24.rpevents
{
public class ArrestFinishCommand : IRocketCommand
... |
// Name: wx/msw/custombgwin.h
// Purpose: wxMSW implementation of <API key>
// Created: 2011-10-10
// RCS-ID: $Id: custombgwin.h 69378 2011-10-11 17:07:43Z VZ $
// Licence: wxWindows licence
#ifndef <API key>
#define <API key>
#include "wx/bitmap.h"
#include "wx/brush.h"
// <API key>
template <c... |
package com.omnicrola.panoptes.ui.autocomplete;
import static org.easymock.EasyMock.expect;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
import com.omnicrola.panoptes.control.DataController;
import com.omni... |
<?php
namespace ApacheSolrForTypo3\Solr\IndexQueue;
/**
* <API key> interface, allows to modify documents
* before adding them to the Solr index in the index queue page indexer.
*
* @author Ingo Renner <ingo@typo3.org>
*/
interface <API key>
{
/**
* Modifies the given documents
*
* @param Item $... |
<?php
$xml = simplexml_load_file("http://animacionugm.blogspot.com/feeds/posts/default");
$json = json_encode($xml);
echo "<pre>";
echo $json;
echo "</pre>";
?> |
<?php
/**
* @package syscart
* libraries/platform/language.php
*
* @autor majeed mohammadian
*/
defined('syscart') or die('access denied...!');
class platformLanguage
{
private $language = 'persian';
private $code = 'fa-IR';
private $direction = 'rtl';
private $id = null;
pu... |
#ifndef PLAYER_H
#define PLAYER_H
#include "Vector2d.h"
#include "Polygon.h"
#include "CollisionController.h"
#include <vector>
const float WALKING_ACCEL = 0.5;
const float MAX_WALKING_SPEED = 11.0;
const float FALLING_ACCEL = 1.2;
const float MAX_FALLING_SPEED = 20.0;
const float JUMPING_SPEED = -25.0;
class Player {
... |
<?php
/**
* TOP API: taobao.wlb.inventory.detail.get request
*
* @author auto create
* @since 1.0, 2012-11-01 12:40:06
*/
class <API key>
{
/**
*
VENDIBLE--
FREEZE--
ONWAY--
DEFECT--
ENGINE_DAMAGE--
BOX_DAMAGE--
EXPIRATION--
**/
private $inventoryTypeList;
private $itemId;
private $storeC... |
<?php
if(!class_exists('WP_List_Table')){
require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
}
class <API key> extends WP_List_Table {
public $total_results = array();
public $top_content = array();
function __construct(){
global $status, $page;
//Set parent defaults
... |
<form>
<i class="glyphicon glyphicon-search"></i>
<input type="text" name="q">
<button type="submit" class="hidden">{{ trans('labels.search') }}</button>
</form> |
<?php
/**
* @file
* Contains Drupal\views\Plugin\views\display\DisplayPluginBase.
*/
namespace Drupal\views\Plugin\views\display;
use Drupal\views\Plugin\views\area\AreaPluginBase;
use Drupal\views\ViewExecutable;
use \Drupal\views\Plugin\views\PluginBase;
use Drupal\views\Views;
/**
* @defgroup <API key> Views dis... |
<!doctype html public "-
<html>
<head>
<title>PHPXRef 0.7.1 : Unnamed Project : Function Reference: create_relations()</title>
<link rel="stylesheet" href="../sample.css" type="text/css">
<link rel="stylesheet" href="../sample-print.css" type="text/css" media="print">
<style id="hilight" type="text/css"... |
<?php
namespace Nutri\IngredientBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\<API key>\Configuration\Method;
use Sensio\Bundle\<API key>\Configuration\Route;
use Sensio\Bundle\<API key>\Configuration\ParamConverter;
use Nutri\IngredientBundle\Entity\Ingredient;
use Nutr... |
class Java::Util::ArrayList < Array
overload_protected {
include Java::Util::JavaList
}
class Iterator
def initialize(array, from_index = 0, to_index = nil)
@array = array
@index = from_index
@to_index = to_index || @array.size
end
def has_next
@index < @to_index
end
... |
<?php
function ___main___()
{
$descriptor = json_decode(file_get_contents(dirname(dirname(dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME']))))) . '/program.json'), true);
$versions = json_decode(file_get_contents(dirname(dirname(dirname(dirname(dirname(__FILE__))))) . '/workspace/packages/test/etc/versions.j... |
<div id="page-wrapper" >
<div id="page-inner">
<!-- Row de Titulos -->
<div class="row">
<div class="col-lg-6">
<div class="input-group">
<input type="text" class="form-control" placeholder="Buscar por Palabras Clave">
<span class="input-group-btn">
<button class="btn btn-def... |
using NPOI.HSSF.UserModel;
using NPOI.HSSF.Util;
using NPOI.SS.UserModel;
using NPOI.XSSF.UserModel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
namespace NoRain.Toolkits
{
public class XMLOutputTool
{
private static Type[] _va... |
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditi... |
#include <Ice/Ice.h>
#include <ThroughputI.h>
using namespace std;
class ThroughputServer : public Ice::Application
{
public:
virtual int run(int, char*[]);
};
int
main(int argc, char* argv[])
{
ThroughputServer app;
return app.main(argc, argv, "config.server");
}
int
ThroughputServer::run(int argc, char*[]... |
# This file shows how to program a computer to calculate
# logarithms and powers, without a calculator.
# The benefit of this method is that it does not
# require any multiplications. It can be implemented
# entirely with shift and additions. Therefore, it
# is well suited for a FPGA.
# TODO: Change the logarithms, so ... |
<?php
// Just some basics.
$per_page_limit = 20;
// get all forms
$forms = Caldera_Forms::get_forms();
$forms = apply_filters( '<API key>', $forms );
$style_includes = get_option( '<API key>' );
if(empty($style_includes)){
$style_includes = array(
'alert' => true,
'form' => true,
... |
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <main id="main">
*
* @package GeneratePress
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta http-equiv="X-UA-Compatible" content="IE... |
package Foswiki::Configure::Checkers::Cache::DependencyFilter;
use strict;
use warnings;
use Foswiki::Configure::Checker ();
our @ISA = ('Foswiki::Configure::Checker');
sub check {
my $this = shift;
my $e = $this->showExpandedValue( $Foswiki::cfg{Cache}{DependencyFilter} );
return $e unless $Foswiki::cfg{Ca... |
// NXTableView.h
// <API key>
#import <UIKit/UIKit.h>
@interface NXTableView : UITableView <<API key>, UITableViewDelegate>
@end |
<?php
declare(strict_types=1);
class CommentListTest extends <API key>
{
public function setUp(): void
{
global $config;
parent::setUp();
$config->set_int("comment_limit", 100);
$this->log_out();
}
public function tearDown(): void
{
global $config;
$co... |
#ifndef VALUESCOPE_H_
#define VALUESCOPE_H_
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "ValueEntry.h"
#include "types/Type.h"
namespace semantic_analyzer {
class ValueScope {
public:
bool insertSymbol(std::string name, const type::Type& type, translation_unit::Context context);
... |
cmd_drivers/mtd/lpddr/built-in.o := rm -f drivers/mtd/lpddr/built-in.o; <API key> rcsD drivers/mtd/lpddr/built-in.o |
<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Drupal SimpleTest: <API key> Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/sear... |
// Module: opt_ssa.h
// $Revision: 1.99 $
// $Source: /isms/cmplrs.src/osprey1.0/be/opt/RCS/opt_ssa.h,v $
// Revision history:
// 4-OCT-94 shin - Original Version
// This program is free software; you can redistribute it and/or modify
// published by the Free Software Foundation.
// This program is distributed in the ... |
<!DOCTYPE html PUBLIC "-
<html>
<head>
<title>Hibernate Mappings - Table Info</title>
<link rel="stylesheet" type="text/css" href="../../assets/doc-style.css" title="Style"/>
</head>
<body>
<div id="header">
<div id="logo">
<a href="http:
<img src="../... |
/*
* drivers/power/process.c - Functions for starting/stopping processes on
* suspend transitions.
*
* Originally from swsusp.
*/
#undef DEBUG
#include <linux/interrupt.h>
#include <linux/oom.h>
#include <linux/suspend.h>
#include <linux/module.h>
#include <linux/syscalls.h>
#include <lin... |
<?php
namespace RandomRango\Bundle\MainBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction()
{
return $this->render('<API key>:Default:index.html.twig');
}
} |
#include "config.h"
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#if HAVE_WINSOCK2_H
#include <winsock2.h>
#endif
#include <epan/packet.h>
#include <epan/address.h>
#include <epan/strutil.h>
#include <epan/prefs.h>
#include <epan/tap.h>
#include <epan/stats_tree.h>
#include <epan/expert.h>
#include <ep... |
package com.rideon.web.security;
import org.apache.http.auth.<API key>;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.impl.client.DefaultHttpClient;
import org.springframework.web.client.RestTemplate;
public class ClientAuthenticator {
public ClientAuthenticator() {
super();
... |
# -*- encoding: utf-8 -*-
try:
from httplib import HTTPSConnection
from urlparse import urlparse
except ImportError:
from http.client import HTTPSConnection
from urllib.parse import urlparse
from json import dumps, loads
from django.conf import settings
class GCMError(Exception):
pass
def send(user,... |
<?php
class <API key> extends <API key>{
public function report($error, $index, $showSource){
$rendering = new <API key>;
@error_log($this->classicRendering($error, $rendering), SYSTEM_LOG);
}
public function finish(){}
} |
#define pr_fmt(fmt) "%s:%s " fmt, KBUILD_MODNAME, __func__
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kthread.h>
#include <linux/mutex.h>
#include <linux/msm_tsens.h>
#include <linux/workqueue.h>
#include <linux/completion.h>
#include <linux/cpu.h>
#include <linux/cpufre... |
#!/usr/bin/perl
#[SUMMARY] Flashcard program. Used to train yourself for vocab retention, possibly other uses (e.g. general question and answer format).
# Read through an input file (key - value), shuffle the keys randomly, and prompt the user for an answer.
# If the answer doesn't match (case insensitive), retry (opt... |
#ifndef COIN_SBPIMPLPTR_HPP
#define COIN_SBPIMPLPTR_HPP
#ifndef COIN_SBPIMPLPTR_H
#error do not include Inventor/tools/SbPimplPtr.hpp directly, use Inventor/tools/SbPimplPtr.h
#endif // !COIN_SBPIMPLPTR_H
template <typename T>
SbPimplPtr<T>::SbPimplPtr(void)
: ptr(NULL)
{
this->set(this->getNew());
}
template <typena... |
{% extends "base.html" %}
{% block content_title %}{% endblock %}
{% block ogtitle %}{{ SITENAME }}{% endblock %}
{% block ogurl %}{{ SITEURL }}{%endblock%}
{% block canonicalurl %}{{ SITEURL }}{%endblock%}
{% block content %}
<div class="content-grid">
{% if articles %}
{% for article in articles_page.obje... |
#include "StdInc.h"
#include <ShellAPI.h>
unsigned int _gameFlags;
typedef struct
{
const wchar_t* argument;
unsigned int flag;
} flagDef_t;
flagDef_t flags[] =
{
{ L"offline", GAME_FLAG_OFFLINE },
{ L"console", GAME_FLAG_CONSOLE },
{ 0, 0 }
};
void DetermineGameFlags()
{
int numArgs;
LPCWST... |
#ifdef HAVE_CONFIG_H
#include <fc_config.h>
#endif
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* utility */
#include "bitvector.h"
#include "fcintl.h"
#include "log.h"
#include "mem.h"
#include "registry.h"
#include "shared.h"
#include "string_vector.h"
#include "support.h"
/* common... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebMvc.App.Views.Default.Common.Public
{
public partial class Footer : System.Web.UI.UserControl
{
public App.Common.UserControl.Footer FooterViewBag { get... |
<?php
class UpdateCartAction extends Action{
public function execute() {
$quantities = getParam('ProductQuantity');
$cart = new Cart();
foreach($quantities as $productId => $quantities){
if($quantities > 0){
$cart->updateQuantity($productId, $quantities);
... |
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
JFFS2_BLOCKSIZE = 64k 128k 256k
define imgname
$(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(patsubst jffs2-%,jffs2,$(patsubst squashfs-%,squashfs,$(1)))
endef
define rootfs_align
$(patsubst %-256k,0x40000,$(patsubst %-128k,0x20000,$(patsubst %-64k,0x10000,$(patsubst squashf... |
<?php
class FileCtrl{
}
?> |
package io.github.mzmine.parameters.parametertypes.ranges;
import java.text.NumberFormat;
import java.util.Collection;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import com.google.common.collect.Range;
import io.github.mzmine.parameters.UserParameter;
public class <API key> im... |
#pragma hdrstop
#include <stdio.h>
#include <memory>
#include "uCM.h"
#pragma package(smart_init)
#pragma classgroup "Vcl.Controls.TControl"
#pragma resource "*.dfm"
TCM *CM;
__fastcall TCM::TCM(TComponent* Owner)
: TDataModule(Owner)
{
FInstanceOwner = true;
}
__fastcall TCM::~TCM()
{
delete FSMClient;
}
T... |
package Lacuna::DB::Result::Building::SSLa;
use Moose;
use utf8;
no warnings qw(uninitialized);
extends 'Lacuna::DB::Result::Building';
use Lacuna::Constants qw(ORE_TYPES INFLATION);
around 'build_tags' => sub {
my ($orig, $class) = @_;
return ($orig->($class), qw(Construction Ships));
};
use constant universit... |
#ifndef HEXCHAT_ASCII_HPP
#define HEXCHAT_ASCII_HPP
void ascii_open (void);
#endif |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>Local Test</title>
</head>
<body>
<h2>Tutorial/Prototype</h2>
<ol>
<li><a href="minigames/tutorial/lock/index.html">Lock</a></li>
<li><a href="minigames/tutorial/click_and_drag/index.html">Click and Drag</a></li>
<li><a href="minigames/bioinfo/whereis/index.htm... |
<?php
/**
@class MercatoOrdersModel
*/
class MercatoNotesModel extends BasicModel
{
protected $name = "MercatoNotes";
protected $columns = array(
'mercatoNoteID' => array('type'=>'INT', 'primary_key'=>true, 'increment'=>true),
'name' => array('type'=>'VARCHAR(255)', 'index'=>true),
'modified' => a... |
package com.rapidminer.gui.tools;
import java.awt.Component;
import java.awt.Dialog;
import java.awt.Frame;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.SwingUtilities;
import javax.swing.Timer;
import javax.swing.event.ChangeEvent;
import javax.swi... |
#pragma once
// Description:
// Notification interface for loading and saving configuration.
// This program is free software; you can redistribute it and/or modify it under
// version.
// This program is distributed in the hope that it will be useful, but WITHOUT
#include <string>
#include <fstream>
class ConfigHa... |
#include <filezilla.h>
#include "directorycache.h"
#include "list.h"
enum listStates
{
list_init = 0,
list_waitresolve,
list_waitlock,
list_list
};
int CStorjListOpData::Send()
{
LogMessage(MessageType::Debug_Verbose, L"CStorjListOpData::Send() in state %d", opState);
switch (opState) {
case... |
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/bootmem.h>
#include <asm/mach-types.h>
#include <mach/msm_bus_board.h>
#include <mach/msm_memtypes.h>
#include <mach/board.h>
#include <mach/gpio.h>
#include <mach/gpiomux.h>
#include <linux/ion.h>
#include <mach/ion.h>... |
<?php include(HTML_DIR . 'overall/header.php'); ?>
<body>
<section class="engine"><a rel="nofollow" href="#"><?php echo APP_TITLE ?></a></section>
<?php include(HTML_DIR . '/overall/topnav.php'); ?>
<section class="mbr-section mbr-after-navbar">
<div class="<API key> container <API key>">
<?php
if(isset($_GET['succ... |
#include "<API key>.h"
#include <wx/filename.h>
#include <wx/log.h>
#include <wx/txtstrm.h>
#include <wx/wfstream.h>
<API key>::<API key>(void)
{
}
<API key>::~<API key>(void)
{
}
bool <API key>::split(wxString strWorkingFolder)
{
bool fResult;
wxFileName tFileName;
wxString strXmlFullPath;
wxXmlNode *<... |
-- VirtueMart table SQL script
-- This will install all the tables need to run VirtueMart
-- Table structure for table `#<API key>`
CREATE TABLE IF NOT EXISTS `#<API key>` (
`id` tinyint(1) unsigned NOT NULL AUTO_INCREMENT,
`module_id` tinyint(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The ID of the VM Module, this... |
# Name: module1
# Purpose:
# Created: 06/04/2014
# Licence: <your licence>
def main():
pass
if __name__ == '__main__':
main()
import sys
#This script filters a data file by id's listed one per line in another file
ids = open("C:/rnaseq/mirna_data/clusters/<API key>/<API key>.txt", "r")
#Take head... |
package org.mo.jfa.face.database.connector;
import org.mo.web.core.container.AContainer;
import org.mo.web.core.webform.IFormPage;
import org.mo.web.protocol.context.IWebContext;
public interface IConnectorAction
{
String catalog(IWebContext context,
@AContainer(name = IFormPage.Page) FConnectorPag... |
<?php
class <API key> extends <API key> {
public function content( $atts, $content = null ) {
$title = $el_class = $width = $el_position = $inline_style = $form_content = $custom_css = $bk_image_global = '';
extract( shortcode_atts( array(
'title' => '',
... |
package com.espertech.esper.epl.join.rep;
import com.espertech.esper.client.EventBean;
import com.espertech.esper.support.epl.join.<API key>;
import com.espertech.esper.support.event.<API key>;
import java.util.*;
import junit.framework.TestCase;
public class TestRepositoryImpl extends TestCase
{
private EventBean ... |
#include <common.h>
#include <command.h>
#include <mmc.h>
#include <part.h>
#include <fat.h>
#include <firmware_update.h>
#include <linux/mtd/mtd.h>
#include <nand.h>
#include <linux/mtd/partitions.h>
#include <linux/list.h>
#include <ubi_uboot.h>
#include <jffs2/load_kernel.h>
#include <i2c.h>
#include <lcd.h>
#includ... |
package doodle;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Comparator;
import java.util.Date;
/**
* A poll is made up of two or more time slots, which are voted on by poll
* invitees. A time slot is defined by a start datetime and optionally an end
* d... |
<?php
/*
* Fixed blog_media hash column
* Add "level" to blogs posts, which will be used as previous priority column
*/
sql_query('ALTER TABLE `blogs_media` CHANGE COLUMN `hash` `hash` VARCHAR(64) NOT NULL');
$medias = sql_query('SELECT `id`, `file` FROM `blogs_media`');
$update = sql_prepare('UPDATE `blogs_media` S... |
/* Do not modify this file. Changes will be overwritten. */
/* Generated automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-ranap.c */
/* ../../tools/asn2wrs.py -p ranap -c ./ranap.cnf -s ./<API key> -D . -O ../.... |
/* $Id: views.css,v 1.11.2.3 2010/03/12 00:25:33 merlinofchaos Exp $ */
.asce-mod-1 {
position: relative;
}
.<API key> {
float: left;
}
.asce-mod-1 .views-field-title {
font-size: 160%;
line-height: 130%;
}
/* From ASCE website */
.ImgCaptMain{
width: 1150;
position:relative;
}
.ImgCaptDescBox{
positi... |
package tim.prune.threedee;
import java.awt.event.InputEvent;
import java.awt.event.MouseEvent;
import java.awt.AWTEvent;
import javax.media.j3d.Transform3D;
import javax.media.j3d.Canvas3D;
import javax.vecmath.Vector3d;
import javax.vecmath.Point3d;
import javax.vecmath.Matrix3d;
import com.sun.j3d.utils.behaviors.vp... |
#ifndef MTX_COMMON_OS_H
#define MTX_COMMON_OS_H
#undef __STRICT_ANSI__
#include "config.h"
// For PRId64 and PRIu64:
#define <API key>
#if defined(HAVE_COREC_H)
#include "corec.h"
#if defined(TARGET_WIN)
# define SYS_WINDOWS
#elif defined(TARGET_OSX)
# define SYS_APPLE
#elif defined(TARGET_LINUX)
# define SYS_UNIX
# if... |
#include <linux/init.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/skbuff.h>
#include <linux/timer.h>
#include <linux/completion.h>
#include <linux/connector.h>
#include <linux/random.h>
#include <linux/platform_device.h>
#include <linux/limits.h>
#include <linux/fb.h>
#include <linux/io.h... |
package com.weixin.sdk.encrypt;
import java.security.MessageDigest;
import java.util.Arrays;
/**
* SHA1 class
*
* .
*/
class SHA1 {
/**
* SHA1
* @param token
* @param timestamp
* @param nonce
* @param encrypt
* @return
* @throws AesException
*/
public static String ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Map_Creator
{
class MapAdjacency
{
public int destIndex;
public int cost;
public bool invisible;
public MapAdjacency(int dest, int cost, bool invisible)
{
this.dest... |
set term ^;
CREATE OR ALTER PROCEDURE RELDRE( PDTA1 DATE
, PDTA2 DATE, PCC INTEGER )
RETURNS ( CONTA VARCHAR( 30 )
, DESC_CONTA VARCHAR( 80 )
, CREDITO ... |
package com.rockey.emonitor.jms.controller;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactor... |
#!/usr/bin/perl
use strict;
use lib "$ENV{'LJHOME'}/cgi-bin";
use LJ;
my $dbh = LJ::get_dbh("master");
my $sth;
$sth = $dbh->prepare("SELECT spid FROM support WHERE timelasthelp IS NULL");
$sth->execute;
while (my ($spid) = $sth->fetchrow_array)
{
print "Fixing $spid...\n";
my $st2 = $dbh->prepare("SELECT MAX(t... |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // disable direct access
}
if ( ! class_exists( 'Mega_Menu_Nav_Menus' ) ) :
/**
* Handles all admin related functionality.
*/
class Mega_Menu_Nav_Menus {
/**
* Return the default settings for each menu item
*
* @since 1.5
*/
public static fun... |
using System;
namespace Player.Model
{
<remarks>
A button can only be rectangular, if there should be other forms, you have to use more buttons which reference each other.
</remarks>
public interface ButtonPosition
{
int X { get; }
int Y { get; }
<summary>The dimension in x c... |
/* ScriptData
SDName: Shattrath_City
SD%Complete: 100
SDComment: Quest support: 10004, 10009, 10211. Flask vendors, Teleport to Caverns of Time
SDCategory: Shattrath City
EndScriptData */
/* ContentData
npc_raliq_the_drunk
npc_salsalabim
<API key>
npc_zephyr
npc_kservant
npc_ishanah
npc_khadgar
EndContentData */
#inclu... |
<?php
/**
* Template Name: Sidebar Left Template
*
* @package WordPress
* @subpackage Invictus
* @since Invictus 1.0
*/
get_header();
?>
<div id="single-page" class="clearfix left-sidebar">
<div id="primary">
<div id="content" role="main">
<?php the_post(); ?>
<... |
// <API key>.cpp
// dyncRTConnector
#include "<API key>.h"
#include "CRTConnManager.h"
#include "CRTConnection.h"
#include "CRTConnectionTcp.h"
#include "rtklog.h"
void <API key>::DispatchMsg(const std::string& uid, pms::RelayMsg& r_msg)
{
//find connector
CRTConnManager::ConnectionInfo* pci = CRTConnManager:... |
'use strict';
/*@ngInject*/
function <API key>() {
return function(node) {
if (node.type) {
return '<API key>';
} else {
return '<API key>';
}
};
}
module.exports = <API key>; |
class ActorEffectActorPen < ActorEffect
title 'Actor Pen'
description 'Uses chosen actor as a brush tip, rendering it multiple times per frame to smoothly follow a chosen X,Y point.'
hint 'This effect is primarily intended for use with the Canvas actor.'
categories :canvas
setting 'ac... |
// XRLoginView.h
// XyralityTest
#import <UIKit/UIKit.h>
@interface XRLoginView : UIView
@property (weak, nonatomic) IBOutlet UIView *credentialsView;
@property (weak, nonatomic) IBOutlet UILabel *loginLabel;
@property (weak, nonatomic) IBOutlet UITextField *login... |
<?php
/**
* Determine the reference_type from PHP tokens
*
* Attempt to determine what sort of API this is using token_get_all()
*
* @param string $string - the "api" name
* @return string - the reference type determined from token_name()
*
*/
function <API key>( $string ) {
$reference_type = null;
$tokens... |
;; *******************************************************************
;; $Id: test.asm,v 1.1 2006-06-05 02:12:19 arniml Exp $
;;
;; Checks interrupt on a sequence of "transfer of control"
;; instructions.
;;
;; the cpu type is defined on asl's command line
include "int_macros.inc"
or... |
<?php
/**
* Custom Article Page Type
*
* @package tub
*/
/*
* Register an article post type.
*/
add_action( 'init', 'tub_articles_init' );
function tub_articles_init() {
$labels = array(
'name' => _x( 'Articles', 'post type general name', 'tub' ),
'singular_name' => _x( 'Art... |
/* COLORS */
/* DARK GREY */
/* RED */
.inline_block, #<API key> li span, #<API key> li a {
display: inline-block;
zoom: 1;
*display: inline; }
.clearfix, .link .image {
zoom: 1; }
.clearfix:before, .link .image:before, .clearfix:after, .link .image:after {
content: "\0020";
display: block;
hei... |
/** @file
* IPRT - User & Kernel Memory, Ring-0 Driver, Solaris.
*/
#include "the-solaris-kernel.h"
#include "internal/iprt.h"
#include <iprt/mem.h>
#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
# include <iprt/asm-amd64-x86.h>
#endif
#include <iprt/assert.h>
#include <iprt/err.h>
RTR0DECL(int) RTR0MemUserCopyFr... |
<?php
include_once "../libs/myLib.php";
if (!isset($_SESSION['login'])) {
session_start();
}
$nombre = $_POST['nombre'];
$fechaInicio= $_POST['fechaInicio'];
$horaInicio = $_POST['horaInicio'];
$fechaFin = $_POST['fechaInicio'];
$horaFin = $_POST['horaFin'];
$precio = $_POST['precio'];
$plazas = $_POST['plazas'];
$... |
/* ScriptData
SDName: Boss_Moam
SD%Complete: 100
SDComment: VERIFY SCRIPT AND SQL
SDCategory: Ruins of Ahn'Qiraj
EndScriptData */
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#define EMOTE_AGGRO -1509000
#define EMOTE_MANA_FULL -1509001
#define SPELL_TRAMPLE 15550
#define SPELL_DRA... |
.block-ebog_banner .content {
position: relative;
}
.block-ebog_banner .bottom-bar {
background-clip: padding-box;
-<API key>: padding-box;
-moz-background-clip: padding;
background-color: #1b75bc;
border-radius: 0 0 4px 4px;
-moz-border-radius: 0 0 4px 4px;
-<API key>: 0 0 4px 4px;
bottom: 0;
heigh... |
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<title>Titanium Rings Forever style guide</title>
<meta name="description" content="">
<meta name="generator" content="kss-node">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="kss-assets/kss.css">... |
package de.linogistix.los.reference.customization.common;
import javax.ejb.Stateless;
import de.linogistix.los.customization.<API key>;
import de.linogistix.los.util.event.LOSEventConsumer;
/**
* @author krane
*
*/
@Stateless
public class <API key> extends <API key> implements LOSEventConsumer {
} |
#include "fix_nve.h"
#include "atom.h"
#include "error.h"
#include "force.h"
#include "respa.h"
#include "update.h"
using namespace LAMMPS_NS;
using namespace FixConst;
FixNVE::FixNVE(LAMMPS *lmp, int narg, char **arg) :
Fix(lmp, narg, arg)
{
if (!utils::strmatch(style,"^nve/sphere") && narg < 3)
error->all(FLE... |
<?php
?>
<article class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
<header>
<p class="submitted">
<?php
print 'Dodany przez '.$author.' <i>(dnia: '.format_date($node->created, 'custom', 'd.m.Y').')</i>';
?>
</p>
<?php print render($title_prefix); ?>
<?php if ($titl... |
<?php
namespace Drupal\commerce_order;
use Drupal\commerce_price\Price;
/**
* Represents an adjustment.
*/
final class Adjustment {
/**
* The adjustment type.
*
* @var string
*/
protected $type;
/**
* The adjustment label.
*
* @var string
*/
protected $label;
/**
* The adjustment ... |
package xyz.zyzhu.model;
import org.junit.*;
import org.junit.Assert.*;
public class TestHelloWorld
{
@Test
public void tesySayHello()
{
Assert.assertEquals("hello world",new HelloWorld().sayHello());
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.