answer stringlengths 15 1.25M |
|---|
package model.beans;
import java.util.Date;
/**
*
* @author Gepardas
*/
public class Invoice {
private String buyerName;
private String buyerCode;
private String buyerAdress;
private String buyerCity;
private String buyerCountry;
private String buyerPhone;
private String buyerEmail;
p... |
<?PHP
require_once('inc/ircplugin.php');
require_once('inc/ircformat.php');
require_once('mpd/mpd.class.php');
if(!class_exists('MbotMpd')) {
class MbotMpd extends IrcPlugin {
private $host = 'localhost';
private $port = 6600;
private $password = '';
private $max_list = 10;
p... |
Title: About Me
Date: 2014-11-12
Slug: about-me
Author: Estel
Summay: Estel, An IT Engineer, but love everything which is interesting!
,Estel,,,
1987
1994-2012,18
2012.04 - 2015.07 ,,
2015.07 -
(2),
&&&

;
font-weight: bold;
font-size: 40px;
letter-spacing: -1p... |
size_t my_fwrite(void *buffer, size_t size, size_t nmemb, void *stream) /* Used by curl */
{
struct curlfile *out=(struct curlfile *)stream;
if(out && !out->stream) {
out->stream=fopen(out->filename, "wb");
if(!out->stream)
return -1;
}
return fwrite(buffer, size, nmemb, out->stream);
}
int in_arr... |
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>targeter: Class List<... |
#ifndef GPSSENSORS_HPP
#define GPSSENSORS_HPP
#include <jni.h>
#include "Utility/DeviceInputBuffer.hpp"
/**
* This class is a singleton. Its purpose is to handle communication to and
* from the Android GPS systems.
*
* This class buffers that data in order to ensure consistancy.
*/
class GPSSensor : public DeviceI... |
package org.voyanttools.trombone.tool.build;
import static org.junit.Assert.*;
import java.io.IOException;
import org.junit.Test;
import org.voyanttools.trombone.model.Corpus;
import org.voyanttools.trombone.storage.Storage;
import org.voyanttools.trombone.tool.build.RealCorpusCreator;
import org.voyanttools.trombone.u... |
package cosmofs
import (
"encoding/gob"
"log"
"os"
"path/filepath"
"regexp"
"strings"
)
type FileList []*File
type DirTable map[string]FileList
type IDTable map[string]DirTable
var (
Table IDTable = make(IDTable)
myID string
)
// TODO: Multiple different kinds of errors
type NameServerEr... |
#include "aboutdialog.h"
#include "ui_aboutdialog.h"
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::AboutDialog)
{
ui->setupUi(this);
connect(ui->closeButton,SIGNAL(clicked()),this,SLOT(close()));
}
AboutDialog::~AboutDialog()
{
delete ui;
} |
// This file is part of the "Irrlicht Engine".
#ifndef <API key>
#define <API key>
#include "irrArray.h"
#include "IMeshBuffer.h"
namespace irr
{
namespace scene
{
//! Implementation of the IMeshBuffer interface with shared vertex list
struct SSharedMeshBuffer : public IMeshBuffer
{
//! constructor
... |
package Moose::Meta::Method::Accessor::Native::Array::get;
BEGIN {
$Moose::Meta::Method::Accessor::Native::Array::get::AUTHORITY = 'cpan:STEVAN';
}
{
$Moose::Meta::Method::Accessor::Native::Array::get::VERSION = '2.1005';
}
use strict;
use warnings;
use Class::MOP::MiniTrait;
use Moose::Role;
with 'Moose::Meta::Met... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cs" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="14"/>
<source>About Emercoin</source>
<translation>O Emercoinu</translation>
</messag... |
extern const int MAX;
void insert(char);
void del();
void display();
// Definition of struct
struct queue
{
int front;
int rear;
char queue[5];
}; |
class <API key> < ActiveRecord::Migration[5.2]
def change
create_table :hap_report_clients do |t|
t.references :client
t.integer :age
t.boolean :emancipated
t.boolean :head_of_household
t.string :household_ids, array: true
t.integer :project_types, array: true
t.boolean :... |
namespace ModernDev.InTouch
{
<summary>
A <see cref="<API key>"/> class describes a <see cref="VideoMethods.ReorderVideos"/> method params.
</summary>
public class <API key> : MethodParamsGroup
{
<summary>
ID of the user or community that owns the album with videos.
</summary... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Drawing;
using Gabriel.Cat.Extension;
using System.Collections;
namespace Gabriel.Cat.Binaris
{
public class StringBinario : <API key><char>
{
public StringBinario() : base(ElementoBinario.<API key>(Serializ... |
{-# OPTIONS -O0 #-}
{-# LANGUAGE TemplateHaskell, <API key>, TypeFamilies #-}
-- | The themes/ config format
module Lamdu.Config.Theme
( Help(..)
, helpTextSize, helpTextColor, helpInputDocColor, helpBGColor, helpTint
, helpShownIconTint, helpSrcLocColor
, Eval(..), <API key>, neighborsPadding, ... |
# Getting Things GNOME! - a personal organizer for the GNOME desktop
# 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
# details.
from gi.repository import Gtk
from gi.repository import GdkPixbuf
from ... |
package org.usfirst.frc.team5940.states;
import edu.wpi.first.wpilibj.RobotBase;
public abstract class State implements Runnable {
@SuppressWarnings("unused")
protected RobotBase robot;
//Update recall delay
private int delay = 25;
/**
* Constructor
* @param robot Saved in this class, allo... |
#include <QtTest/QTest>
#include <Qt3DRender/private/<API key>.h>
#include <Qt3DRender/private/<API key>.h>
#include <Qt3DRender/private/nodemanagers_p.h>
#include <Qt3DRender/private/managers_p.h>
#include <Qt3DRender/qrenderaspect.h>
#include <Qt3DCore/qentity.h>
#include <Qt3DRender/qshaderdata.h>
#include <Qt3DRend... |
#include "Sub.h"
void Sub::delay(uint32_t ms)
{
hal.scheduler->delay(ms);
} |
OpenCart 2.1.0.2 = <API key>
OpenCart 2.0.1.1 = <API key> |
import Component from '@glimmer/component';
import { action } from '@ember/object';
import { inject as service } from '@ember/service';
import type WindowService from 'emberclear/services/window';
export default class Install extends Component {
@service window!: WindowService;
@action
install() {
return this... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html xmlns="http:
<head>
<title>Class: OSA::Finder::FinderWindow</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Script-Type" co... |
#include <linux/module.h>
#include <linux/kernel.h>
#include <lkmc/ring0.h>
static int myinit(void)
{
#if defined(__x86_64__) || defined(__i386__)
LkmcRing0Regs ring0_regs;
<API key>(&ring0_regs);
pr_info("cr0 = 0x%8.8llX\n", (unsigned long long)ring0_regs.cr0);
pr_info("cr2 = 0x%8.8llX\n", (unsigned lo... |
* {
color: white;
}
html,
body {
background-color: #1d1d1d;
}
div.middle {
position: fixed;
width: 800px;
height: 650px;
left: 50%;
top: 50%;
margin-left: -400px;
margin-top: -325px;
text-align: center;
padding: 30px 0;
border-radius: 5px;
}
div.middle span.links {
margin-bottom: 40px;
displ... |
package com.pms.bean;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
public class Contract implements Serializable{
private int contractId;
private String contractNo;
private String contractPicture;
private int contractType;
private int contractDirection;
private Date... |
#!/usr/bin/env bash
free | awk '{
if ($1 ~ "^Mem:"){
printf("mem.total=%d\nmem.used=%d\n",$2,$3)
}
if ($1 ~ "^Swap:"){
printf("swap.total=%d\nswap.used=%d\n",$2,$3)
}
}'
uptime | awk '{ for(i=1;i<=NF;i++){ if($i=="average:"){tmp = $(i+1); v = substr(tmp, 0, length(tmp)-1); printf("load.average=%s\... |
import { Component } from '@angular/core'
import template from './modal-portfolio.component.html'
@Component({
selector: 'modal-portfolio',
template
})
export class <API key> {
constructor() {}
} |
// DlgMSMeer.cpp : implementation file
#include "stdafx.h"
#include "Risa.h"
#include "DlgMSMeer.h"
#include "afxdialogex.h"
#include "msImageProcessor.h"
// CDlgMSMeer dialog
IMPLEMENT_DYNAMIC(CDlgMSMeer, CDialogEx)
CDlgMSMeer::CDlgMSMeer(cv::Mat* pmImg, bool bColor, CWnd* pParent /*=NULL*/)
: CDialogEx(CDlgMSMeer... |
#include "platform/graphics/BitmapImage.h"
#include "platform/<API key>.h"
#include "platform/Timer.h"
#include "platform/geometry/FloatRect.h"
#include "platform/graphics/BitmapImageMetrics.h"
#include "platform/graphics/<API key>.h"
#include "platform/graphics/ImageObserver.h"
#include "platform/graphics/StaticBitmap... |
<?php
function <API key>()
{
$items = array();
$content;
if (!isset($_GET["eq"]))
$content = ";;;;;;;;;;;";
else
$content = $_GET["eq"];
try
{
$values = split(';', $content);
for ($i=0; $i < count($values); $i++)
{
$val = $values[$i];
... |
.tooltip{
width: 300px; color:#000;
font:lighter 11px tahoma;
text-decoration:none;text-align:center}
.tooltip span.top{padding: 25px 8px 0;
background: url(/uengine-web/processmanager/images/bt.gif) no-repeat top}
.tooltip b.bottom{padding:3px 8px 15px;color: #548912;
background: url(/uengine-web/processmanage... |
import org.junit.Test;
import util.Countify;
import util.FileRequest;
import util.ICounter;
import weather.WeatherService;
import weather.data.WeatherWebApi;
import weather.model.Location;
import weather.model.WeatherInfo;
import java.time.LocalDate;
import static java.lang.System.out;
import static java.time.LocalDate... |
# CVS: $Revision$ $Date$
# The name of the package under test
PACKAGE_NAME=kernel
# The toplevel namespace within which the test lives.
TOPLEVEL_NAMESPACE=/$(PACKAGE_NAME)
# The version of the test rpm that gets
# created / submitted
export TESTVERSION=1.9.26
# The path of the test below the package
RELATIVE_PATH=stan... |
/*
* Object space definition.
*/
#ifndef objectspace_h
#define objectspace_h
#include <InterViews/stub.h>
class Catalog;
class Messenger;
class ObjectTable;
class SpaceManager;
class ObjectSpace : public ObjectStub {
public:
ObjectSpace(const char*);
~ObjectSpace();
void StartServer(Connection* local, Con... |
body
{
background: linear-gradient(rgb(255, 255, 255), rgb(140, 140, 170));
height: 100%;
margin: 0;
padding: 20px;
background-repeat: no-repeat;
<API key>: fixed;
}
#mainContent
{
margin: 0;
font-family: 'Source Sans Pro', sans-serif;
line-height: 1.3;
}
#settings
{
max-width: n... |
# javascript python
#document.getElementById -> doc[]
#module Math -> math
#Math.PI -> math.pi
#abs -> fabs
#array list
import math
import time
from browser import doc
import browser.timer
class Point(object):
def __init__(self, x, y):
self.x = x
self.y = y
def drawMe(self, g, r):
self... |
package org.kootox.episodesmanager.services.importExport;
import org.apache.commons.lang.StringEscapeUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.kootox.episodesmanager.entities.Episode;
import org.kootox.episodesmanager.entities.Season;
import org.kootox.episod... |
#include "simulation/Elements.h"
//#TPT-Directive ElementClass Element_PRTO PT_PRTO 110
Element_PRTO::Element_PRTO()
{
Identifier = "DEFAULT_PT_PRTO";
Name = "PRTO";
Colour = PIXPACK(0x0020EB);
MenuVisible = 1;
MenuSection = SC_SPECIAL;
Enabled = 1;
Advection = 0.0f;
AirDrag = 0.00f * CF... |
package basicintast.util;
import org.antlr.v4.runtime.BaseErrorListener;
import org.antlr.v4.runtime.<API key>;
import org.antlr.v4.runtime.Recognizer;
import org.antlr.v4.runtime.misc.<API key>;
/**
*
* @author wellington
*/
public class <API key> extends BaseErrorListener {
public static final <API key> INSTAN... |
package net.diecode.killermoney.events;
import net.diecode.killermoney.objects.CCommand;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
public class <API key> extends Event implements Cancel... |
#if defined(_WIN32) && defined(_DEBUG)
#include <crtdbg.h>
#endif
#include <stdlib.h>
#include <stdint.h>
#include "ExampleCapi.h"
void f1(void* p)
{
<API key>(p, "from f1()");
<API key>(p);
}
void* create_printer()
{
void* new_printer = example_printer_new();
<API key>(new_printer, "from create_printer... |
/*
* This section contains meta informations.
*
* $Id$
*/
package test.jmul.persistence;
import jmul.misc.id.IDGenerator;
import jmul.persistence.file.FileManager;
import static jmul.string.Constants.FILE_SEPARATOR;
import jmul.test.classification.ModuleTest;
import org.junit.After;
import static org.junit.Assert.a... |
package systems.byteswap.publicstream;
import android.content.res.Configuration;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompa... |
#include "AsyncHTTPClient.h"
#include "../httprequest.h"
#include "../GlobalFuncs.h"
#include <comutil.h>
#include <winhttp.h>
AsyncHTTPClient::AsyncHTTPClient() :
m_url(""),
m_currentStatus(AsyncHTTPClient::HTTP_READY),
m_response(""),
m_responseCode(0)
{}
AsyncHTTPClient::~AsyncHTTPClient()
{
}
void A... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_14) on Sun Nov 13 22:14:40 CET 2011 -->
<TITLE>
Uses of Class org.lwjgl.opengl.EXTPointParameters (LWJGL API)
</TITLE>
<META NAME="date" CONTENT="2011-11-13">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.cs... |
package com.codegremlins.lemonjuice.engine;
import com.codegremlins.lemonjuice.TemplateContext;
import com.codegremlins.lemonjuice.util.Functions;
class EqualElement extends Element {
private Element left;
private Element right;
private boolean condition;
public EqualElement(boolean condition, Element l... |
package br.net.ubre.lang.keyword.binary.relational;
import br.net.ubre.data.container.DataContainer;
import br.net.ubre.lang.data.literal.FalseStatement;
import br.net.ubre.lang.data.literal.TrueStatement;
import br.net.ubre.lang.statement.Statement;
public class EqualsOperator extends RelationalKeyword {
public Eq... |
#include "pluginregistry.h"
#include <QSettings>
#include <QPluginLoader>
#include <QDir>
PluginRegistry &PluginRegistry::instance()
{
static PluginRegistry m_instance;
return m_instance;
}
void PluginRegistry::loadPlugins(const PostMonster::APIFunctions &api)
{
QDir pluginsDir = QDir::current();
plugin... |
#include "General.h"
#include "<API key>.h"
// This script is never used
void <API key>::Created(GameObject *obj)
{
ActionParamsStruct params;
params.Set_Basic(this, 100.0f, 17);
Vector3 pos = Commands->Get_Position(obj);
GameObject *starObj = Commands->Get_A_Star(pos);
params.Set_Attack(starObj, 30... |
Public Class nuevoEmpleado
Private Sub <API key>(sender As Object, e As EventArgs) Handles <API key>.Click
Me.Validate()
Me.<API key>.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.Entradas)
End Sub
Private Sub nuevoEmpleado_Load(sender As Object, e As EventArgs) Handles MyBase.Load
... |
//: move/Nap.java
package pokepon.move;
import pokepon.enums.*;
import pokepon.pony.Pony;
import pokepon.battle.*;
/**
* Heal 50% of user's HP.
*
* @author silverweed
*/
public class Nap extends Move {
public Nap() {
super("Nap");
type = Type.NIGHT;
moveType = Move.MoveType.STATUS;
... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "common/darktable.h"
#include "common/gaussian.h"
#include "common/opencl.h"
#include "control/conf.h"
#include "control/control.h"
#include "develop/develop.h"
#include "develop/imageo... |
GTKWAVE := $(shell which gtkwave)
DEC :=decoder
all: decoder
decoder:prerequisites
@echo 'building file $(@F)'
$(CXX) -I/usr/local/systemc-2.3.1/include -O0 -g3 -Wall -c decoder_2by4.cc
$(CXX) -L/usr/local/systemc-2.3.1/lib-linux64 -o "$(DEC)" decoder_2by4.o -lsystemc
./$(DEC)
gtkwave -c 4 timing_di... |
package l2s.gameserver.ai;
import l2s.gameserver.model.Creature;
import l2s.gameserver.model.instances.NpcInstance;
import l2s.gameserver.model.instances.MonsterInstance;
/**
* @author Bonux
**/
public class <API key> extends Fighter
{
public <API key>(NpcInstance actor)
{
super(actor);
}
@Over... |
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
namespace Abide.HaloLibrary.Halo2.Retail.Tag.Generated
{
using System;
using Abide.HaloLibrary;
using Abide.HaloLibr... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import time
timeformat='%H:%M:%S'
def begin_banner():
print ''
print '[*] swarm starting at '+time.strftime(timeformat,time.localtime())
print ''
def end_banner():
print ''
print '[*] swarm shutting down at '+time.strftime(timeformat,time.localtime())
... |
package com.healthcare.db.client;
import com.healthcare.db.model.Itemmapping;
import com.healthcare.db.model.ItemmappingExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface ItemmappingMapper {
/**
* This method was generated by MyBatis Generator. This method corresponds ... |
<?php
namespace Cms\Dao\Import;
use Cms\Dao\Import as Dao;
use Cms\Dao\Doctrine as DoctrineBase;
class Doctrine extends DoctrineBase implements Dao
{
} |
<!DOCTYPE html>
<html>
<head>
<title>Washington State Courts - Supreme Court Calendar </title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="expires" content="0">
<meta http-equiv="Pragma" content="no-c... |
// GoSquared
var GoSquared = {};
GoSquared.acct = "GSN-064561-T";
(function(w){
function gs(){
w._gstc_lt = +new Date;
var d = document, g = d.createElement("script");
g.type = "text/javascript";
g.src = "//d1l6p2sc9645hc.cloudfront.net/tracker.js";
var s = d.<API key>("script")[0];
s.parentNo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EconomicSDK
{
<summary>
Providers view options for pagination.
</summary>
public class ViewOptions
{
<summary>
</summary>
public ViewOptions() : this(... |
/**
* @file FESpace_imp.hpp
* @brief Implementation of the functional space class methods
* @author Carlo Marcati
* @date 2013-09-08
*/
#ifndef __FESPACE_IMP_HPP__
#define __FESPACE_IMP_HPP__ 1
namespace Tspeed{
template<int N, typename Q, typename S>
FESpace<N,Q,S>::FESpace(Mesh_ptr m):M_mesh(m),M_quad(),... |
#!/usr/bin/python -Wall
# -*- coding: utf-8 -*-
"""
<div id="content">
<div style="text-align:center;" class="print"><img src="images/print_page_logo.png" alt="projecteuler.net" style="border:none;" /></div>
<h2>Number letter counts</h2><div id="problem_info" class="info"><h3>Problem 17</h3><span>Published on Friday, 1... |
package de.clusteval.data.goldstandard.format;
// TODO: Auto-generated Javadoc
/**
* The Class GoldStandardFormat.
*
* @author Christian Wiwie
*/
public class GoldStandardFormat {
/**
* Instantiates a new gold standard format.
*
*/
public GoldStandardFormat() {
super();
}
} |
local _, ns = ...
local oUF = ns.oUF
local VISIBLE = 1
local HIDDEN = 0
local wipe = wipe
local pcall = pcall
local floor = floor
local unpack = unpack
local tinsert = tinsert
local infinity = math.huge
local _G = _G
local GetTime = GetTime
local UnitAura = UnitAura
local CreateFrame = CreateFrame
local UnitIsUnit = Un... |
puts "Multiplying string 'abc' for 5 times ('abc' * 5)"
puts 'abc' * 5
puts "Compare strings ('x' > 'y')"
puts 'x' > 'y'
puts "Comparing strings ('y' > 'x')"
puts 'y' > 'x' |
namespace BreadPlayer.Core.Models
{
public class Query
{
public string QueryWord { get; set; }
}
} |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Nfc Interactor: NfcRecordItem Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="search/se... |
#include "../../idlib/precompiled.h"
#pragma hdrstop
void EditorPrintConsole(const char *msg) {
} |
<?php
namespace SuperUtils\Image\Driver;
class GIFEncoder {
private $GIF = "GIF89a";
/* GIF header 6 bytes */
private $VER = "GIFEncoder V2.05";
/* Encoder version */
private $BUF = [];
private $LOP = 0;
private $DIS = 2;
private $COL = - 1;
private $IMG = - 1;
private $ERR = [
... |
package easyrec.poc.client.entity;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name="success")
@XmlAccessorType(XmlAccessType.FIELD)
public class Response... |
#region
using System;
using System.Collections.Generic;
using System.Linq;
using LeagueSharp;
using LeagueSharp.Common;
using SFXKillSteal.Library.Extensions.NET;
using SFXKillSteal.Library.Logger;
using SharpDX;
#endregion
namespace SFXKillSteal.Data
{
internal class SummonerSpell
{
private SpellSlot? ... |
package com.integreight.onesheeld.shields.controller;
import android.app.Activity;
import com.integreight.firmatabluetooth.ShieldFrame;
import com.integreight.onesheeld.enums.UIShield;
import com.integreight.onesheeld.shields.ControllerParent;
import com.integreight.onesheeld.utils.Log;
public class LcdShield extends C... |
package com.gracehoppers.jlovas.bookwrm;
import android.app.Activity;
import android.content.Intent;
import android.test.<API key>;
import android.widget.Button;
import android.widget.TextView;
import junit.framework.TestCase;
import java.util.ArrayList;
public class <API key> extends TestCase {
/*
Testin... |
Public Class Form1
Private Sub import_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles import.Click
importdiag.ShowDialog()
End Sub
Private Sub importdiag_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles importdiag.FileOk
... |
# Requirements
* Filling out the below template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
Description of the Change
<!-- We must be able to understand the design of your change from this description. -->
Benefit... |
<TABLE BORDER CELLSPACING=0 WIDTH='100%'>
<xtag-section name="ParStatistics">
<TR ALIGN=CENTER BGCOLOR='#99CCFF'><TD COLSPAN=1><B>Par Statistics</B></TD></TR>
<TR><TD><<API key>>Total Non-vccgnd Signals</<API key>>=<<API key>>3219</<API key>></TD></TR>
<TR><TD><<API key>>Total Non-vccgnd Design Pins</<API key>>=<<API k... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace BBD.DSP.Models.IEEE11073
{
public class DataPacket
{
public APDU APDU;
public byte[] RawData;
public DataAPDU Data;
}
... |
#! /usr/bin/env python
# This scripts performs unit tests for the csiactobs script
# 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 th... |
#ifndef <API key>
#define <API key>
#ifndef NOMOD
#include <math.h>
#include "simulation/<API key>.h"
#include "powder.h"
#include "simulation/Simulation.h"
#include "gravity.h"
#define MAX_MOVING_SOLIDS 256
void rotate(float *x, float *y, float angle);
class MovingSolid
{
public:
float vx, vy;
float rotationOl... |
#include "CreditsMenu.h"
CreditsMenu::CreditsMenu(Configuration* config, GameConfiguration* game, Display* display, MainMenu * mainMenu) :
Menu(config, game, display) {
this->mainMenu = mainMenu;
}
bool CreditsMenu::Activate() {
if (widgets == nullptr) {
const int dh = config->getDisplayHeight();
... |
#include "note.h"
#include "../debugdialog.h"
#include "../sketch/infographicsview.h"
#include "../model/modelpart.h"
#include "../utils/resizehandle.h"
#include "../utils/textutils.h"
#include "../utils/graphicsutils.h"
#include "../fsvgrenderer.h"
#include <QTextFrame>
#include <QTextLayout>
#include <QTextFrameForma... |
(function( $, undefined ) {
$.effects.effect.transfer = function( o, done ) {
var elem = $( this ),
target = $( o.to ),
targetFixed = target.css( "position" ) === "fixed",
body = $("body"),
fixTop = targetFixed ? body.scrollTop() : 0,
fixLeft = targetFixed ? body.scrollLeft()... |
/* SQL Definition */
CREATE DATABASE simbug
CHARACTER SET utf8_general_ci;
drop table simbug.game;
create table simbug.game
(
id INT NOT NULL AUTO_INCREMENT,
name varchar(100) NOT NULL,
type varchar(50),
PRIMARY KEY (id)
)
ENGINE=InnoDB DEFAULT CHARSET=utf8;
drop table simbug.game_session;
create table ... |
#include "TerrainNoise.h"
TerrainNoise::TerrainNoise()
{
}
#undef CLASSNAME
#define CLASSNAME TerrainNoise
void TerrainNoise::bind_methods()
{
REG_CSTR(0);
} |
using UnityEngine;
using System.Collections;
public class <API key> : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnTriggerStay2D(Collider2D col) {
if (GameObject.Find("GameManager").GetComponent<GameMana... |
class Issuer < ActiveRecord::Base
extend FriendlyId
friendly_id :name
default_scope order(:name)
belongs_to :institution
<API key> :name, :abbreviation, :institution
validates_length_of :abbreviation, :is => 2
<API key> :name, :abbreviation
has_many :regulation_types, :dependent => :destroy
has_many... |
#ifndef STORAGE_H
#define STORAGE_H
#include <QThread>
#include <QMutex>
struct point;
template <typename T> class QVector;
class storage : public QThread
{
Q_OBJECT
public:
storage(QObject *parent = 0);
const QVector<point>* data() const;
double glowDuration() const;
protected:
void run();
QVec... |
class BudgetDatatable < AjaxDatatablesRails::Base
AjaxDatatablesRails::Extensions::Kaminari
def sortable_columns
# Declare strings in this format: ModelName.column_name
@sortable_columns ||= %w(Budget.title Budget.promise Budget.start_date Budget.end_date Member.last_name Donation.name)
end
def searchab... |
# This program is free software: you can redistribute it and/or modify
r"""
Simulation of standard multiple stochastic integrals, both Ito and Stratonovich
I_{ij}(t) = \int_{0}^{t}\int_{0}^{s} dW_i(u) dW_j(s) (Ito)
J_{ij}(t) = \int_{0}^{t}\int_{0}^{s} \circ dW_i(u) \circ dW_j(s) (Stratonovich)
These multiple integral... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Variations in Moves</title>
<link rel="stylesheet" href="../css/prettify.css" />
<link rel="stylesheet" href="../css/layout.css" />
<script src="../lib/pgnv.js" type="text/javascript" ></script... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
# 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
container_xml = """<?xml version="1.0" ... |
package company;
import java.util.Arrays;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Map;
public class StringChains {
private int longestChain(String[] words) {
if (words == null || words.length == 0)
return 0;
int chainLength = 0;
Arrays.sort(words, ... |
# This file is part of PySCAP.
# PySCAP is free software: you can redistribute it and/or modify
# (at your option) any later version.
# PySCAP is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
import logging
from scap.model.oval_5.defs.windows.TestType im... |
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="<?php echo $this->rootUrl; ?>/css/bootstrap-3.2.0.min.c... |
\hypertarget{<API key>}{\section{src/precosat Directory Reference}
\label{<API key>}\index{src/precosat Directory Reference@{src/precosat Directory Reference}}
}
\subsection*{Files}
\begin{DoxyCompactItemize}
\item
file {\bfseries precobnr.\-cc}
\item
file {\bfseries precobnr.\-hh}
\item
file {\bfseries precocfg.\-hh}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.