answer stringlengths 15 1.25M |
|---|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using NHibernate;
using DataAccessLayer.Entiteti;
namespace SBPDemo
{
public partial class <API key> : Form
{
// Designe... |
<?php
namespace RecordManager\Base\Enrichment;
class <API key> extends OnkiLightEnrichment
{
/**
* Enrich the record and return any additions in solrArray
*
* @param string $sourceId Source ID
* @param object $record Metadata Record
* @param array $solrArray Metadata to be sent to Solr... |
/* Enable to make ^Z dump the inode table for debug */
#undef CONFIG_IDUMP
/* Enable to make ^A drop back into the monitor */
#undef CONFIG_MONITOR
/* Profil syscall support (not yet complete) */
#undef CONFIG_PROFIL
/* Multiple processes in memory at once */
#define CONFIG_MULTI
/* Single tasking */
#undef CONFIG_SING... |
/* -*- Mode: c++; -*- */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "mime.h"
#include "convert.h"
#include "io.h"
#include <string>
#include <vector>
#include <map>
#include <exception>
#include <iostream>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <errno.h>
using namespace ::std;
... |
/**
@file storage/perfschema/<API key>.cc
Table SOCKET_INSTANCES (implementation).
*/
#include "my_global.h"
#include "my_pthread.h"
#include "pfs_instr.h"
#include "pfs_column_types.h"
#include "pfs_column_values.h"
#include "<API key>.h"
#include "pfs_global.h"
THR_LOCK <API key>::m_table_lock;
<API key>
<API key... |
#include <iomanip>
using std::ostream;
using std::istream;
using std::setw;
#include "PhoneNumber.h"
//overloads stream input operator do this
//cout<<somePhoneNumber;
ostream &operator<<(ostream &output, const PhoneNumber &number){
output<<"("<<number.areaCode<<")"<<number.exchange<<"-"<<number.line;
return ... |
package com.kartoflane.superluminal2.ui;
import java.util.HashMap;
import org.eclipse.swt.SWT;
import org.eclipse.swt.dnd.DND;
import org.eclipse.swt.dnd.DragSource;
import org.eclipse.swt.dnd.DragSourceEvent;
import org.eclipse.swt.dnd.DragSourceListener;
import org.eclipse.swt.dnd.DropTarget;
import org.eclipse.swt.d... |
/*
* @test
* @bug 8076318
* @summary split verifier needs to add <API key>
* @library /testlibrary
*/
import jdk.test.lib.*;
// Test that the verifier outputs the classes it loads if -XX:+<API key> is specified"
public class TraceClassRes {
public static void main(String[] args) throws Exception {
ProcessBui... |
cat <<\TEMPLATEQUOTE
XDvi.grey: true
XDvi.reverseVideo: true
XDvi.expert: true
XTerm*background: black
XTerm*foreground: white
XTerm.VT100.geometry: 80x25
XTerm.VT100.scrollBar: False
XTerm.VT100.font: -*-fixed-medium-r-*-*-12-*-*-*-*-*-*-*
XTerm.VT100.colorBDMode: false
XTerm*VT100*translations: #override \
Sh... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs for page banner.php</title>
<link rel="stylesheet" href="../../media/stylesheet.css" />
<scri... |
<HTML>
<HEAD>
<TITLE>Engineering Computing Systems</TITLE>
</HEAD>
<SCRIPT LANGUAGE="Javascript">
<!
function winOpen(open)
{ win = window.open(open, '_blank','width=600,height=400,resizable=1,scrollbars=1');}
</SCRIPT>
<BODY BGCOLOR= "#FFFFFF" TEXT="#000000" LINK="#6666CC" VLINK="#9966CC" ALINK="#FF0000">
<H1 ALIGN = ... |
PWD := $(shell pwd)
# Set these from the environment to override
KERNEL_VERSION ?= 4.8.12
BUILD_PATH ?= $(PWD)/../../../qemu-build
DISTFILES_PATH ?= $(PWD)/distfiles
DEBUG_KERNEL ?= no
NR_CPUS ?= 2
DOWNLOAD := wget -O
# DOWNLOAD := curl -f -o
MIRROR := https://download.wireguard.io/qemu-test/distfiles/
CHOST := x86_64-... |
<?php
namespace Magento\Store\Test\TestCase;
use Magento\Backend\Test\Page\Adminhtml\NewWebsiteIndex;
use Magento\Backend\Test\Page\Adminhtml\StoreIndex;
use Magento\Store\Test\Fixture\Website;
use Magento\Mtf\TestCase\Injectable;
/**
* Create Website (Store Management)
*
* Test Flow:
* 1. Open Backend
* 2. Go to ... |
using System;
using QuantSys.Analytics.Timeseries.Indicators.Abstraction;
using QuantSys.Analytics.Timeseries.Indicators.Averages;
using QuantSys.MarketData;
namespace QuantSys.Analytics.Timeseries.Indicators.Misc
{
public class ForceIndex: AbstractIndicator
{
private EMA EMA;
private Tick prevT... |
package org.opennms.plugins.elasticsearch.rest;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.io.IOException;
import java.util.Arrays;
import java.util.Date;
import java.util.concurrent.TimeUnit;
import java.util.stream.IntStream;
import org.junit.Test;
import or... |
* setInterval
* setTimeout
* clearIntervalclearTimeout
*
* tweenmTween
* getComputedStyle
*
1.

2.

3.

#include "yarr/YarrJIT.h"
#endif
namespace JSC {
stru... |
<?
$sub_menu = "100600";
include_once("./_common.php");
check_demo();
if ($is_admin != "super")
alert(" .", $g4[path]);
$g4[title] = "";
if (!$g4[b4_upgrade]) include_once("./admin.head.php");
$sql = " select bo_table from $g4[board_table] ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i+... |
#ifndef TARGET_KERNEL
#include <math.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <ft2build.h>
#include FT_FREETYPE_H
#include <freetype/ftoutln.h>
#include "splash.h"
TTF_Font *global_font;
char *boot_message = NULL;
#define DEFAULT_PTSIZE 18
#define NUM_GRAYS ... |
using Brunet;
using Brunet.Util;
using System;
namespace NetworkPackets {
/**
<summary>Unsupported, this class is too big to support now!</summary>
*/
public class IgmpPacket: NetworkPacket {
/**
<summary>Unsupported, this class is too big to support now!</summary>
*/
public enum Types { Join = 0x16, ... |
<?php
defined('JPATH_BASE') or die;
$d = $displayData;
if ($d->optsPerRow < 1)
{
$d->optsPerRow = 1;
}
if ($d->optsPerRow > 12)
{
$d->optsPerRow = 12;
}
$label = isset($d->option) ? $d->option->text : '';
$value = isset($d->option) ? $d->option->value : '';
$colSize = floor(floatval(12) / $d->optsPerRow);
$c... |
#ifndef _WSTHREADPOOL_H_
#define _WSTHREADPOOL_H_
#include "queue.h"
#include "fred.h"
#include "random.h"
#include "functionclosure.h"
extern "C"
{
// Forward declaration (see below).
void *wsthreadpool_worker (void *tp);
// The function type invoked by a call to create a thread.
typedef void *(*<API key>) (vo... |
<?php
/**
* @file views-view.tpl.php
* Main view template
*
* Variables available:
* - $classes_array: An array of classes determined in
* <API key>(). Default classes are:
* .view
* .view-[css_name]
* .view-id-[view_name]
* .view-display-id-[display_name]
* .view-dom-id-[dom_id]
* - $... |
using Server.Gumps;
using Server.Network;
using System;
using System.Collections;
using System.IO;
namespace Server.Engines.Help
{
public class MessageSentGump : Gump
{
private readonly string m_Name;
private readonly string m_Text;
private readonly Mobile m_Mobile;
public Messag... |
# encoding: utf-8
# module PyQt4.QtCore
# from /usr/lib/python3/dist-packages/PyQt4/QtCore.<API key>.so
# by generator 1.135
# no doc
# imports
import sip as __sip
from .QAnimationGroup import QAnimationGroup
class <API key>(QAnimationGroup):
""" <API key>(QObject parent=None) """
def addPause(self, p_int): # r... |
<?php use_helper ("Grid", "Object"); ?>
<h1>Pagos Realizados</h1>
<br>
<?php echo include_partial('buscarSms', array('buscarsms' => $buscarsms )) ?>
<br>
<?php echo include_partial('exportar', array('detallesms' => $detallesms )) ?> |
<?php
class <API key> extends MissionFunctions
{
function __construct($Fleet)
{
$this->_fleet = $Fleet;
}
function TargetEvent()
{
global $db, $pricelist, $LANG,$CONF, $UNI;
$UsedPlanet = $GLOBALS['DATABASE']->getFirstCell("SELECT COUNT(*) FROM ".PLANETS." WHERE `id` =... |
# profiling_late.py
'''
Module to enable profiling timepoints. This module is loaded
only if the configuration file exists, see profiling.py for more information
'''
import os
import sys
import yaml
import cProfile
from kano.logging import logger
from kano.profiling import CONF_FILE
# load the configuration file
with o... |
#include "yas.h"
#if YAS_ACC_DRIVER == <API key>
#define YAS_RANGE_2G (0)
#define YAS_RANGE_4G (1)
#define YAS_RANGE_8G (2)
#define YAS_RANGE ... |
# PROBLEM 3
# Modify the below functions acceleration and
# ship_trajectory to plot the trajectory of a
# spacecraft with the given initial position
# and velocity. Use the Forward Euler Method
# to accomplish this.
#from udacityplots import *
import math
import numpy
import matplotlib
h = 1.0
earth_mass = 5.97e24
<API... |
package empleado;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.<API key>;
import javax.persistence.LockModeType;
import javax.persistence.Persistence;
import javax.persistence.TypedQuery;
import tarea.Tarea;
import depart... |
"""
Module to control libvirtd service.
"""
import re
import logging
import aexpect
from avocado.utils import path
from avocado.utils import process
from avocado.utils import wait
from virttest import libvirt_version
from virttest import utils_split_daemons
from . import remote as remote_old
from . import utils_misc
fr... |
module.exports = function( grunt ) {
var pkg = grunt.file.readJSON( 'package.json' );
console.log( pkg.title + ' - ' + pkg.version );
// Files to include/exclude in a release.
var distFiles = [
'**',
'!**/*~'
'includes*.php', |
namespace AZO_Library.ControlUtilitys.Forms
{
partial class SelectionOneRowBox
{
<summary>
Required designer variable.
</summary>
private System.ComponentModel.IContainer components = null;
<summary>
Clean up any resources being used.
</summary>
<p... |
for i in *.[ch]
do
cat head.txt $i >$i.new && mv $i.new $i
done |
package com.espertech.esper.regression.view;
import com.espertech.esper.client.EPServiceProvider;
import com.espertech.esper.client.EPStatement;
import com.espertech.esper.client.<API key>;
import com.espertech.esper.client.scopetest.EPAssertionUtil;
import com.espertech.esper.client.scopetest.<API key>;
import com.esp... |
<?php
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
function <API key>() {
// Add our screen.
$hook = add_menu_page(
_x( 'Video', 'Admin Dashbord SWA page title', 'gampress' ),
_x( 'Video', 'Admin Dashbord SWA menu', 'gampress' ),
'gp_moderate',
'gp-... |
#include "UmlNcRelation.h"
//Added by qt3to4:
#include <Q3CString>
Q3CString UmlNcRelation::sKind() {
return "non class relation";
}
void UmlNcRelation::html(Q3CString, unsigned int, unsigned int) {
}
void UmlNcRelation::memo_ref() {
} |
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/init.h>
#include <asm/oplib.h>
#include <asm/idprom.h>
struct idprom *idprom;
static struct idprom idprom_buffer;
/* Calculate the IDPROM checksum (xor of the data bytes). */
static unsigned char __init calc_idprom_cksum(struct idprom *idprom)
{
uns... |
#if HAVE_CONFIG_H
# include "config.h"
#endif
#if TARGET_LINUX
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
#if TIME_WITH_SYS_TIME
#... |
#include <linux/module.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/poll.h>
#include <linux/fcntl.h>
#include <linux/init.h>
#include <linux/skbuff.h>
#include <linux/interrupt.h>
#include <linux/notifier.h>
#include <net/sock.h>
#include <asm/sy... |
QMAKE_TARGET = MasterClientAppl
LUPDATE = $(QNX_HOST)/usr/bin/lupdate
LRELEASE = $(QNX_HOST)/usr/bin/lrelease
update: $(QMAKE_TARGET).pro FORCE
$(LUPDATE) $(QMAKE_TARGET).pro
release: $(QMAKE_TARGET).pro $(QMAKE_TARGET).ts
$(LRELEASE) $(QMAKE_TARGET).pro
FORCE: |
<?php
//echo "<br>".$_SERVER['REQUEST_URI'];
include('includes/session.inc');
$title = _('Journal Entry');
include('includes/header.inc');
include('includes/SQL_CommonFunctions.inc');
function filecheck($path)
{
$fn=explode("/",$path);
$mn=count($fn);
return $fn[$mn-1];
}
$sr=filecheck($_SERVER['HTTP_REFERER']);
$se... |
// Rioplay - Replacement Rio Receiver player software
// This program is free software; you can redistribute it and/or
// version 2 as published by 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
#include <... |
/*
* List of cgroup subsystems.
*
* DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS.
*/
#if IS_ENABLED(CONFIG_CPUSETS)
SUBSYS(cpuset)
#endif
#if IS_ENABLED(CONFIG_CGROUP_SCHED)
SUBSYS(cpu)
#endif
#if IS_ENABLED(<API key>)
SUBSYS(cpuacct)
#endif
#if IS_ENABLED(CONFIG_BLK_CGROUP)
SUBSYS(blkio)
... |
<?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.3: Qtopia Core Character Input</title>
<link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0"... |
#ifndef __LINUX_LIBATA_H__
#define __LINUX_LIBATA_H__
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/scatterlist.h>
#include <linux/io.h>
#include <linux/ata.h>
#include <linux/workqueue.h>
#include <scsi/scsi_host.h>
#include <linux/acpi.... |
/* ScriptData
SDName: Boss_Void_Reaver
SD%Complete: 90
SDComment: Should reset if raid are out of room.
SDCategory: Tempest Keep, The Eye
EndScriptData */
#include "precompiled.h"
#include "def_the_eye.h"
#define SAY_AGGRO -1550000
#define SAY_SLAY1 -1550001
#define SAY_SLAY2 ... |
<?php
/* core/themes/bartik/templates/node.html.twig */
class <API key> extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, ... |
#if defined(<API key>) && defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/console.h>
#include <linux/sysrq.h>
#include <linux/device.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include ... |
#include <panda/types/Point.h>
#include <panda/types/Path.h>
#include <panda/data/DataFactory.h>
namespace
{
using panda::types::Point;
// This code may be freely used and modified for any purpose
// liable for any real or imagined damage resulting from its use.
// Users of this code must verify correctness for their a... |
var path = require('path')
var config = require('../config')
var utils = require('./utils')
var projectRoot = path.resolve(__dirname, '../')
var env = process.env.NODE_ENV
// check env & config/index.js to decide weither to enable CSS Sourcemaps for the
// various preprocessor loaders added to vue-loader at the end of ... |
import json
class Student(object):
def __init__(self, name, age, score):
self.name = name
self.age = age
self.score = score
s = Student('Bob', 20, 88)
print(json.dumps(s)) |
# General
This file contains the description of the language which can be interpreted by the vala_interpreter.
The language description will be done in the EBNF (http://de.wikipedia.org/wiki/<API key>)
# Constants
## Numbers
ebnf
digit_without_zero = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;
digit = "0" | d... |
#define pr_fmt(fmt) "PKCS7key: "fmt
#include <linux/key.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/verification.h>
#include <linux/key-type.h>
#include <keys/user-type.h>
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("PKCS#7 testing key type");
static unsigned pkcs7_usage;
module_param_named(usage,... |
<?php
/**
* The template for displaying pages
* Template Name: Gallery Page
*
* @package WordPress
* @subpackage cap
* @since cap 1.0
*/
get_header(); ?>
<article id="artc_page_content" class="artc-page-content">
<div class="row dv-gallery-wrapper">
<div class="col-sm-3 col-xs-12">
... |
<?php
declare(strict_types=1);
namespace Magento\Framework\App\Action;
use Magento\Framework\App\ActionInterface;
/**
* Marker for actions processing PUT requests.
*/
interface <API key> extends ActionInterface
{
} |
package com.jnsw.core.http;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.text.TextUtils;
import org.apache.http.*;
import org.apache.http.client.<API key>;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.client.entity.<API key>;
import org.apache.http.... |
<?php if ( is_active_sidebar( '<API key>' ) ) : ?>
<div class="span3">
<?php dynamic_sidebar( '<API key>' ); ?>
</div>
<?php endif; // end sidebar widget area ?>
<?php if ( is_active_sidebar( '<API key>' ) ) : ?>
<div class="span3">
<?php dynamic_sidebar( '<API ke... |
utils = require('../utils.js')
//var interface = require('../cmd_interface.js')
function random(slba, nblk,size) {
var BLK_NUM = nblk
var PART_NUM = 8
var bord_addr = new Array()
var temp_size = size / PART_NUM
var pat_buf1 = new Array()
var wri_buf1 = new Array()
var part_size = Math.floor... |
/**
@file innodb_cb_api.h
Created 03/15/2011 Jimmy Yang
*******************************************************/
#ifndef innodb_cb_api_h
#define innodb_cb_api_h
#include "api0api.h"
/** Following are callback function defines for InnoDB APIs, mapped to
functions defined in api0api.c */
typedef
ib_err_t
(*cb_open_t... |
/**
* @file
* Cook compatible decoder. Bastardization of the G.722.1 standard.
* This decoder handles RealNetworks, RealAudio G2 data.
* Cook is identified by the codec name cook in RM files.
*
* To use this decoder, a calling application must supply the extradata
* bytes provided from the RM container; 8+ bytes... |
<?php
/**
@class <API key>
*/
class <API key> extends BasicModel
{
protected $name = "houseVirtualCoupons";
protected $preferred_db = 'op';
protected $columns = array(
'card_no' => array('type'=>'INT', 'primary_key'=>true),
'coupID' => array('type'=>'INT', 'primary_key'=>true),
'description' =... |
// This file has been auto-generated. Don't change it by hand!
#ifndef <API key>
#define <API key>
#include "dml-baseTypes.hpp"
namespace drawingml
{
using namespace ::xio;
using namespace ::xio::xml::schema;
class CT_LightRig;
class ST_LightRigType
{
static String _literals[];
Strin... |
package org.xbrlapi.impl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Vector;
import org.xbrlapi.Arc;
import org.xbrlapi.ArcEnd;
import org.xbrlapi.ExtendedLink;
import org.xbrlapi.Locator;
import org.xbrlapi.Resource;
import org.xbrlapi.XlinkDocumentati... |
// Exclude rarely-used stuff from Windows headers
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
namespace BWAPI
{
class Game;
class AIModule;
class TournamentModule;
Game* Broodwar;
}
BOOL APIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved);
/**
* Creates standard AIModule.... |
<?php namespace XoopsModules\Xasset;
use XoopsModules\Xasset;
/**
* Class <API key>
*/
class <API key> extends Xasset\BaseObject
{
public $weight;
/**
* @param null $id
*/
public function __construct($id = null)
{
$this->initVar('id', XOBJ_DTYPE_INT, null, false);
$this->init... |
#include "precomp.h"
#include <commoncontrols.h>
#include <shlwapi_undoc.h>
#include <uxtheme.h>
#include <vssym32.h>
#include "CMenuBand.h"
#include "CMenuToolbars.h"
#define IDS_MENU_EMPTY 34561
#define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp))
#define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp))
<API key>(CMenuToolbars... |
#include "Window.h"
#include <strsafe.h>
#include <iostream>
Nena::Application::Window::Window()
: ScreenWidth(800)
, ScreenHeight(600)
, Width(800)
, Height(600)
, Instance(::GetModuleHandle(NULL))
, Style(GameWindowStyle)
, Name(__TEXT("NenaWindowClass"))
, Fullscreen(false)
, Raw(... |
#ifndef <API key>
#define <API key>
#include <glib-object.h>
#include <gst/gst.h>
G_BEGIN_DECLS
#define <API key> (<API key> ())
#define GST_CHILD_PROXY(obj) (<API key> ((obj), <API key>, GstChildProxy))
#define GST_IS_CHILD_PROXY(obj) (<API key> ((obj), <API key>))
#define <API k... |
package net.pms.util;
import java.io.<API key>;
import java.io.IOException;
import java.io.StringWriter;
import java.io.<API key>;
import java.io.Writer;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
import java.sql.Timestamp;
import java.util.Calendar;
import java.ut... |
#ifndef <API key>
#define <API key>
/* Structure of desriptor for Page Directory Entry or Page Table Entry */
struct pageEntry
{
uint32_t mapped:1; /* 1=mapped, 0=free */
uint32_t write:1; /* 0=read-only, 1=RW */
uint32_t privilege:1; /* 0=kernel mode, 1=user mode */
uint32_t writeThrough:1; /* ... |
#include <kernels/cbe_accel/cvmul.hpp>
typedef example::Cvmul_kernel kernel_type;
#include <vsip_csl/ukernel/cbe_accel/alf_base.hpp> |
package enginuity.newmaps.ecudata;
import enginuity.newmaps.ecumetadata.Table3DMetadata;
import enginuity.newmaps.exception.<API key>;
import enginuity.newmaps.util.ECUDataUtil;
public class Table3DData extends TableData {
private DataCell[][] values;
private AxisData xAxis;
private AxisData yAxis;
publ... |
package org.inria.myriads.snoozenode.message;
/**
*
* Management message type.
*
* @author msimonin
*
*/
public enum <API key>
{
/** pending.*/
PENDING,
/** error.*/
ERROR,
/** processed.*/
PROCESSED,
} |
#include <algorithm>
#include <cstring>
#include "Common/CommonFuncs.h"
#include "Common/CPUDetect.h"
#include "Common/Hash.h"
#include "Common/Intrinsics.h"
static u64(*ptrHashFunction)(const u8* src, u32 len, u32 samples) = &GetMurmurHash3;
// uint32_t
// WARNING - may read one more byte!
// Implementation from Wikip... |
--<<card >>
local super = require "script.card.neutral.card163025"
ccard263025 = class("ccard263025",super,{
sid = 263025,
race = 6,
name = "",
type = 201,
magic_immune = 0,
assault = 0,
sneer = 0,
atkcnt = 1,
shield = 0,
warcry = 1,
dieeffect = 0,
sneak = 0,
magic_hu... |
<?php
// Moodle - Modular Object-Oriented Dynamic Learning Environment //
// 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, //
// MERCHAN... |
\section{\-Errors and logs handling}
\label{<API key>}\index{\-Errors and logs handling@{\-Errors and logs handling}}
\-Collaboration diagram for \-Errors and logs handling\-:
\subsection*{\-Defines}
\begin{DoxyCompactItemize}
\item
\#define {\bf lldpctl\-\_\-last\-\_\-strerror}(conn)~{\bf lldpctl\-\_\-strerror}({\bf l... |
/*
* @file gtkstatusbox.c GTK+ Status Selection Widget
* @ingroup pidgin
*/
/*
* The status box is made up of two main pieces:
* - The box that displays the current status, which is made
* of a GtkListStore ("status_box->store") and GtkCellView
* ("status_box->cell_view"). There is always exactly 1 ro... |
package com.demo.base;
import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.IBean;
/**
* Generated by JFinal, do not modify this file.
*/
@SuppressWarnings("serial")
public abstract class BaseUserRecord<M extends BaseUserRecord<M>> extends Model<M> implements IBean {
public void setU... |
#ifndef __FCHANNELGUIDE_H__
#define __FCHANNELGUIDE_H__
#include "FWebWindow.h"
#include "Utils.h"
#include "AppSettings.h"
#define TOOLBAR_IDC_BACK 1
#define TOOLBAR_IDC_FORWARD 2
#define TOOLBAR_IDC_HOME 3
#define TOOLBAR_IDC_REFRESH 4
#define NOTFOUND_HTML "data/notfound.html"
class FChannelGuide : public FIEWindow
... |
#include "Lubrication.hpp"
namespace yade {
class GenericPotential : public Serializable {
public:
/* This is where the magic happens.
* This function needs to be reimplemented by childs class.
* @param u distances between surfaces
* @param a mean radius
* @param phys Act... |
-- -*- Mode: LUA; tab-width: 2 -*-
-- wbgen2 - a simple Wishbone slave generator
-- CERN BE-Co-HT
function ram_wire_core_ports(ram)
local prefix = ram.full_prefix;
if(match(ram.access_dev, {READ_ONLY, READ_WRITE})) then -- RAM is readable from the core - wire the data output and read strobe signals
table_... |
using System.ComponentModel.DataAnnotations.Schema;
using Realm.DAL.Common;
using Realm.DAL.Enumerations;
namespace Realm.DAL.Models
{
[Table("ItemTools")]
public class ItemTool : Entity
{
public int ItemId { get; set; }
public virtual Item Item { get; set; }
public ToolTypes ToolTyp... |
<?php
$ds = DIRECTORY_SEPARATOR;
$storeFolder = 'uploads';
if (!empty($_FILES)){
$tempFile = $_FILES['file']['tmp_name'];
$targetPath = dirname( __FILE__ ) . $ds. $storeFolder . $ds;
$targetFile = $targetPath. $_FILES['file']['name'];
move_uploaded_file($tempFile,$targetFile);
}
?> |
const FILE_NAME = "<API key>";
<API key> = {
gameData: null,
// init the highScore list, from storage or new list from config
init: function (username) {
var list = new Array(10);
if (Crafty.storage(FILE_NAME)) {
list = Crafty.storage(FILE_NAME);
list.forEach(function... |
// Own includes
#include "filter.h"
#include "<API key>.h"
#include "konsole_wcwidth.h"
// System includes
#include <iostream>
// Qt includes
#include <QAction>
#include <QApplication>
#include <QClipboard>
#include <QString>
#include <QTextStream>
#include <QSharedData>
#include <QFile>
#include <QDesktopServices>
#in... |
#include <asm/uaccess.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/termios.h>
#include <linux/ioctl.h>
#include <linux/route.h>
#include <linux/sockios.h>
#include <linux/if.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <linux/fs.h>
#include <linux/... |
<div class="hentry-inner">
<div class="entry-wrapper grids">
<?php get_template_part('content', 'meta'); ?>
<div class="entry-content grid-10 clearfix">
<?php
if(!is_singular()){
if(get_the_excerpt() != '') echo "<p>".strip_shortcodes(get_the_excerpt())."</p>";
}else{
the_con... |
<?php
namespace Awf\User;
use Awf\Application\Application;
use Awf\Container\Container;
use Awf\Database\Driver;
use Awf\Session\Exception;
use Awf\Text\Text;
/**
* The User Manager class allows you to load, save, log in and log out users
*/
class Manager implements ManagerInterface
{
/**
* An array of the i... |
<?php
class CNewValidator {
private $rules;
private $input = [];
private $output = [];
private $errors = [];
private $errorsFatal = [];
/**
* Parser for validation rules.
*
* @var CValidationRule
*/
private $<API key>;
public function __construct(array $input, array $... |
<?php
<API key>( 'blue', false, dirname( plugin_basename( __FILE__ ) ) .'/lang/' );
if(is_admin()):
include( plugin_dir_path( __FILE__ ) . 'blue-logo.php');
include( plugin_dir_path( __FILE__ ) . 'blue-options.php');
endif;
add_action('<API key>', 'custom_login_style');
function custom_login_style()
{
$options = ge... |
#ifndef MUDLET_TTOOLBAR_H
#define MUDLET_TTOOLBAR_H
#include "pre_guard.h"
#include <QDockWidget>
#include "post_guard.h"
class TAction;
class TFlipButton;
class QGridLayout;
class TToolBar : public QDockWidget
{
Q_OBJECT
Q_DISABLE_COPY(TToolBar)
public:
TToolBar(TAction*, const QString&, QWidget* pW = 0);
... |
include $(TOPDIR)/rules.mk
PKG_NAME:=kodi-pvr-hts
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/kodi-pvr/pvr.hts.git
PKG_SOURCE_DATE:=2017-02-23
PKG_SOURCE_VERSION:=<SHA1-like>
PKG_BUILD_DEPENDS:=kodi
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/kodi-pvr-hts... |
# CMake script behind the 'uninstall' target.
IF(NOT EXISTS "/home/ares/Developer/speed-dream-2.0/speed/install_manifest.txt")
MESSAGE(FATAL_ERROR "Cannot find install manifest: \"/home/ares/Developer/speed-dream-2.0/speed/install_manifest.txt\"")
ENDIF(NOT EXISTS "/home/ares/Developer/speed-dream-2.0/speed/install... |
package ue03;
import java.awt.Point;
public class Contoure {
final private boolean isOutline;
final private Point [] points;
public Contoure(boolean isOut, Point [] ps){
this.isOutline = isOut;
this.points = ps;
}
public Point [] getPoints(){
return this.points;
}
pub... |
<?php
namespace VuFindTest\ILS\Driver;
use VuFind\ILS\Driver\NewGenLib;
class NewGenLibTest extends \VuFindTest\Unit\ILSDriverTestCase
{
/**
* Standard setup method.
*
* @return void
*/
public function setUp()
{
$this->driver = new NewGenLib();
}
} |
package com.sun.media.jai.opimage;
import java.awt.Rectangle;
import java.awt.RenderingHints;
import java.awt.image.DataBuffer;
import java.awt.image.DataBufferByte;
import java.awt.image.DataBufferInt;
import java.awt.image.DataBufferUShort;
import java.awt.image.<API key>;
import java.awt.image.SampleModel;
import ja... |
package pt.c08componentes.s02jcomponent;
import java.awt.Graphics;
import javax.swing.JComponent;
public class Bean01CirculoVisual extends JComponent implements <API key> {
private static final long serialVersionUID = <API key>;
private int raio = 50;
public Bean01CirculoVisual() {
super();
}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.