answer stringlengths 15 1.25M |
|---|
# -*- coding: utf-8 -*-
# File : echotorch/nn/ESN.py
# Description : An Echo State Network module.
# Date : 26th of January, 2018
# This file is part of EchoTorch. EchoTorch is free software: you can
# redistribute it and/or modify it under the terms of the GNU General Public
# This program is distributed in the hope ... |
<?php
// Laravel classes
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
/**
* Class BlogTables
*/
class BlogTables extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
... |
#include "SPIFlash.h"
#if defined (ARDUINO_ARCH_SAM) || defined (ARDUINO_ARCH_SAMD) || defined (<API key>)
#define _delay_us(us) delayMicroseconds(us)
#else
#include <util/delay.h>
#endif
// Uncomment the code below to run a diagnostic if your flash //
// does not respond ... |
package eu.siacs.conversations.ui;
import android.app.PendingIntent;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener... |
# -*- coding: utf-8 -*-
# System modules
import os
import logging
import unittest
import json
from functools import wraps
# External modules
# Internal modules
from .test_data import *
# get a logger
logger = logging.getLogger(__name__)
all tests should import this
# basic test class with utilities
class BasicTest(unit... |
/*actions.h*/
void autobaudstart(void);
void clear_writeprotect(void);
void set_writeprotect(void);
void clear_readprotect(void);
void set_readprotect(void);
void globalerase_flash(void);
void pageserase_flash(void);
void program_memory(void);
void read_memory(void);
void get_commands(void);
void get_version(void);
voi... |
#!/bin/bash
printf "#include \"weak.h\"\n\n// DO NOT EDIT MANUALLY: Generated from script.\n\nconst char *version = \"%s\";\n" $(git describe) > version.c |
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*-
# This program is free software: you can redistribute it and/or modify
# 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
import os
import ... |
const Ava = require('ava')
const Sinon = require('sinon')
const { getCard } = require('../deck')
const Junkyard = require('../junkyard')
const { find } = require('../util')
Ava.test('should steal health from a player and give to another', (t) => {
const announceCallback = Sinon.spy()
const game = new Junkyard('play... |
(function(){var __modFun = function(__require){ __modFun = undefined;
var __execute = function(promiseland, extra){ __execute = undefined;
if (promiseland._hasModule({ hashStr: "<API key>" })){ return promiseland._getModule("<API key>"); };
var PL$1 = (function(){
"use strict";
;
;
var PL$2/*dummy*/ = {
"newN... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_152) on Wed Dec 20 15:14:52 CET 2017 -->
<title>UserService</title>
<meta name="date" content="2017-12-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src... |
package com.rivetlogic.tipday.panel.application.list;
//import com.rivetlogic.tipday.panel.constants.<API key>;
import com.rivetlogic.tipday.panel.constants.<API key>;
import com.liferay.application.list.BasePanelApp;
import com.liferay.application.list.PanelApp;
import com.liferay.portal.kernel.model.Portlet;
import c... |
#include "master/master.h"
/**
* Distribute common input data among all workers.
*
* params A structure holding all parameters needed for calculation;
* comm the communicator used to communicate with the workers.-
*
*/
static void
<API key> (Parameters *params,
MPI_Comm comm)... |
using System;
using Server;
using Server.Gumps;
using Server.Mobiles;
using Server.Network;
namespace Server.Factions
{
public class VoteGump : FactionGump
{
private PlayerMobile m_From;
private Election m_Election;
public override void OnResponse( GameClient sender, RelayInfo info )
... |
package SnakeView;
import SnakeController.<API key>;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.io.File;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.Clip;
import jav... |
import {Component, NgZone, ElementRef, <API key>} from '@angular/core';
import {toggleClass} from '../..//toggle-class.service';
@Component({
selector: 'cmp-ten',
template: `
<a class="on-push">Cmp10</a>
`,
changeDetection: <API key>.OnPush
})
export class ComponentTen {
constructor(private zone: NgZone, ... |
#!/bin/bash
#PBS -l walltime=1:00:00
#PBS -l select=1:ncpus=2:mpiprocs=2
#PBS -o job.out
#PBS -e job.err
#PBS -A cin_staff
cd ${PBS_O_WORKDIR}
echo ${PBS_O_WORKDIR}
# modules to be loaded for petsc version 3.5.2
#module load intel/cs-xe-2015--binary
#module load intelmpi/5.0.2--binary
#module load petsc/3.5.2--intelmpi... |
package org.kirhgoff.phoneprettifier.mechanics;
import org.kirhgoff.phoneprettifier.ArrayUtilsTrait;
import org.kirhgoff.phoneprettifier.model.MatchResult;
import org.kirhgoff.phoneprettifier.model.DigitsArray;
import org.testng.annotations.Test;
import java.util.Arrays;
import java.util.List;
import java.util.Set;
imp... |
package PCA;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;
import com.google.gson.Gson;
import com.google.gson.GsonBui... |
This file is part of CCAPI.
Copyright (C) 2014 MCPM Team and Contributors
CCAPI is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any ... |
JFLAGS = -g
JC = javac
JAR = jar
.SUFFIXES: .java .class
.java.class:
$(JC) $(JFLAGS) $*.java
CLASSES = CRISPR.java CRISPRFinder.java CRISPRUtil.java DNASequence.java FASTAReader.java SearchUtil.java minced.java IntervalSearchTree.java
default: classes minced.jar
classes: $(CLASSES:.java=.class)
minced.jar: classes... |
package org.langera.freud.optional.javasource.block;
import org.langera.freud.optional.javasource.classdecl.ClassDeclaration;
import org.langera.freud.optional.javasource.methodcall.MethodCall;
import org.langera.freud.optional.javasource.methoddecl.MethodDeclaration;
import java.util.List;
public interface CodeBlock
{... |
-- luacheck: globals love DEBUG
local IMGUI = require 'imgui'
local DB = require 'database'
local tween = require 'helpers.tween'
local Class = require "steaming.extra_libs.hump.class"
local ELEMENT = require "steaming.classes.primitives.element"
local MENU_WIDTH = 240
local MENU_MAX_HEIGHT = 600
local GUI =... |
/**
* @file core/<API key>.c
* @brief code for managing low-level 'plaintext' connections with transport (key exchange may or may not be done yet)
* @author Christian Grothoff
*/
#include "platform.h"
#include "gnunet_util_lib.h"
#include "<API key>.h"
#include "<API key>.h"
#include "gnunet-service-core.h"
#includ... |
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unity - Scripting API: <API key>.areas</title>
<meta name="description" co... |
// Synthesizer
#include "synth.h"
#include "wtosc.h"
#include "dacspi.h"
#include "scan.h"
#include "ui.h"
#include "uart_midi.h"
#include "midi.h"
#include "adsr.h"
#include "lfo.h"
#include "tuner.h"
#include "assigner.h"
#include "arp.h"
#include "seq.h"
#include "clock.h"
#include "storage.h"
#include "vca_curves.h... |
from django.db.models import Model, CharField, DateField, URLField, \
DateTimeField, TextField, ForeignKey, permalink, IntegerField
from taggit.managers import TaggableManager
from django.contrib.auth.models import User
class Conference(Model):
title = CharField(max_length=300)
start_date = DateField('confe... |
<div class="padding20 block-shadow">
<form name="vm.userForm" ng-submit="vm.signin(vm.userForm.$valid)" class="signin form-horizontal" novalidate autocomplete="off" data-role="validator">
<h1 class="text-light">Masuk idHotspot</h1>
<hr class="thin"/>
<br/>
<div class="row align-center flex-just-center... |
package TUIO6dof;
import remixlab.tersehandling.generic.profile.Actionable;
public enum ClickAction implements Actionable<GlobalAction> {
CHANGE_COLOR(GlobalAction.CHANGE_COLOR), CHANGE_ROTATION(
GlobalAction.CHANGE_ROTATION), <API key>(
GlobalAction.<API key>);
@Override
public Glob... |
package biomine.bmgraph;
import java.io.File;
import java.io.<API key>;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
impor... |
<?php
// Poster Printer Order Submission
// index.php
// Page to allow the user to submit poster files
// David Slater
// April 2007
//include files for the script to run
require_once 'includes/main.inc.php';
require_once 'includes/session.inc.php';
if (isset($_POST['cancel'])) {
$session->destroy_se... |
import uuid
from django.db import models
from django.core.mail.message import EmailMessage
from django.conf import settings
from tendenci.apps.perms.models import TendenciBaseModel
from tinymce import models as tinymce_models
from tendenci.apps.site_settings.utils import get_setting
class Email(TendenciBaseModel):
... |
package alfio.model.modification;
import alfio.model.PriceContainer.VatStatus;
import alfio.model.subscription.<API key>;
import alfio.model.subscription.<API key>.<API key>;
import alfio.model.subscription.<API key>.<API key>;
import alfio.model.subscription.<API key>.<API key>;
import alfio.model.transaction.PaymentP... |
#include "image/handler/sparse.h"
namespace MR
{
namespace Image
{
namespace Handler
{
Sparse::Sparse (Default& handler, const std::string& sparse_class, const size_t sparse_size, const File::Entry entry) :
Default (handler),
class_name (sparse_class),
class_size (sparse_... |
package com.isode.stroke.network;
public class <API key> implements ConnectionFactory {
private DomainNameResolver resolver_;
private ConnectionFactory connectionFactory_;
private TimerFactory timerFactory_;
private String proxyHost_ = "";
private int proxyPort_;
public <API key>(DomainNameResol... |
#include "XML/Evaluator.h"
namespace XmlTools {
void Evaluator::setSystemOfUnits(double meter,
double kilogram,
double second,
double ampere,
double kelvin,
... |
## Synopsis
Python Twitter bot originally intended to replicate the in{,s}anity of @johnflinchbaugh. Primary components are:
1. `markovgen.py`: class that reads in a plain text corpus and generates random sentences based on the input
2. `flinchbot.py`: class that connects to a Twitter account, checks for and responds t... |
#include "profil.h"
const QString Profil::ProfilDirectory = "Profils";
Profil::Profil(QObject *parent) :
QObject(parent)
{
m_initialised = false;
}
bool Profil::isInitialised() const
{
return m_initialised;
}
void Profil::baseSave(QSettings *iniFile)
{
iniFile->setValue("name", name);
iniFile->s... |
#include "filter.hpp"
#include <components/compiler/locals.hpp>
#include "../mwbase/environment.hpp"
#include "../mwbase/world.hpp"
#include "../mwbase/journal.hpp"
#include "../mwbase/mechanicsmanager.hpp"
#include "../mwbase/dialoguemanager.hpp"
#include "../mwbase/scriptmanager.hpp"
#include "../mwworld/class.hpp"
#... |
/**
* Optimisation stage that removes unused variables and functions.
*/
#pragma once
#include <libyul/optimiser/ASTWalker.h>
#include <libyul/optimiser/OptimiserStep.h>
#include <libyul/YulString.h>
#include <map>
#include <set>
namespace yul
{
struct Dialect;
struct SideEffects;
/**
* Optimisation stage that remov... |
// @flow
import circle from './style_layer/circle_style_layer';
import heatmap from './style_layer/heatmap_style_layer';
import hillshade from './style_layer/<API key>';
import fill from './style_layer/fill_style_layer';
import fillExtrusion from './style_layer/<API key>';
import line from './style_layer/line_style_lay... |
using System;
using UnityEngine;
namespace CommandLibrary
{
public static partial class Commands
{
public static CommandDelegate Log(string text)
{
return Commands.Do( () => Debug.Log(text) );
}
public static CommandDelegate LogError(string text)
{
return Commands.Do (() => Debug.Log... |
package com.springcloud.template.authserverjwt.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework... |
metadata = dict(
name='Vermont',
abbreviation='vt',
capitol_timezone='America/New_York',
legislature_name='Vermont General Assembly',
legislature_url='http://legislature.vermont.gov/',
chambers = {
'upper': {'name': 'Senate', 'title': 'Senator', 'term': 2},
'lower': {'name': 'Hou... |
set(CMAKE_C_COMPILER "/usr/sbin/cc")
set(<API key> "")
set(CMAKE_C_COMPILER_ID "GNU")
set(<API key> "6.3.1")
set(<API key> "")
set(<API key> "11")
set(<API key> "<API key>;c_restrict;c_variadic_macros;c_static_assert")
set(<API key> "<API key>")
set(<API key> "c_restrict;c_variadic_macros")
set(<API key> "c_static_asse... |
<?xml version="1.0" encoding="utf-8"?>
<html>
<head>
<title>GLib.Proxy.<API key> -- Vala Binding Reference</title>
<link href="../style.css" rel="stylesheet" type="text/css"/><script src="../scripts.js" type="text/javascript">
</script>
</head>
<body>
<div class="site_header">GLib.Proxy.<API key> ... |
package com.sun.phobos.script.util;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineFactory;
/*
* Abstract super class for factory implementations.
*
* @version 1.0
* @author Mike Grogan
* @since 1.6
*/
public abstract class <API key> implements ScriptEngineFactory {
public String getName() ... |
<?php
$array = array("type" => 2,
"boost" => 999
);
echo json_encode($array);
?> |
/** \file
* This C header file was generated by $ANTLR version 3.2 Sep 23, 2009 12:02:23
*
* - From the grammar source file : /home/dfranusic/antlr-c-test/smsfs.g
* - On : 2012-01-30 19:07:13
* - for the parser : smsfsParserParser *
* Editing it, at least ma... |
<?php
// Moodle is free software: you can redistribute it and/or modify
// (at your option) any later version.
// Moodle is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
defined('MOODLE_INTERNAL') || die();
$string['downloadas'] = 'Descargar datos de ta... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_07) on Wed Dec 08 12:09:11 CET 2010 -->
<TITLE>
Uses of Package de.wwu.muggl.symbolic.structures
</TITLE>
<META NAME="date" CONTENT="2010-12-08">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="... |
## GA5
`GA5` is equivalent to `DiracGamma[5]` and denotes $\gamma^5$.
See also
[Overview](Extra/FeynCalc.md), [DiracGamma](DiracGamma.md), [GA](GA.md), [GS](GS.md).
Examples
mathematica
GA5
% // StandardForm
$$\bar{\gamma }^5$$
(*DiracGamma[5]*) |
#ifndef HEADER_NET_ETHER
#define HEADER_NET_ETHER
#include <stdint.h>
#define ETH_TYPE_IP 0x0080
#define ETH_TYPE_IPv6 0xDD86
struct ETH_HEADER {
uint8_t dst_mac[6];
uint8_t src_mac[6];
uint16_t len_type;
};
void eth_handler(struct ETH_HEADER *eth, int len);
#endif
#include "debug.h"
static char *get_mac_... |
import React, { Component } from "react";
import PropTypes from "prop-types";
import classNames from "classnames";
import IconComposer from "global/components/utility/IconComposer";
export default class Notification extends Component {
static propTypes = {
id: PropTypes.string,
heading: PropTypes.string,
... |
<?php
namespace CViniciusSDias\GoogleCrawler\Proxy;
use CViniciusSDias\GoogleCrawler\Exception\<API key>;
use GuzzleHttp\Client;
use Psr\Http\Message\ResponseInterface;
/**
* Class that for using the kproxy.com servers
*
* @package CViniciusSDias\GoogleCrawler\Proxy
* @author Vinicius Dias
*/
class KProxy implemen... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>TestResult xref</title>
<link type="text/css" rel="stylesheet" href="../../../stylesheet.css" />
</head>
<body>
<div id="overview"><a href="../../../../testapidocs/fspotcloud/botdispatch/bot/T... |
{-|
Module : Export.<API key>
Description : Primarily defines a function used to render SVGs with times.
-}
module Export.<API key>
(renderTable, renderTableHelper, times) where
import Data.List (intersperse)
import qualified Data.Text as T
import Diagrams.Backend.SVG
import Diagrams.Prelude
days :: [T... |
package hcm.ssj.core.event;
import java.util.Arrays;
import hcm.ssj.core.Cons;
public class FloatEvent extends Event {
public float[] data;
public FloatEvent() {
type = Cons.Type.FLOAT;
data = null;
}
public FloatEvent(float[] data) {
type = Cons.Type.FLOAT;
this.data = d... |
#include <float.h>
#include <math.h>
#include <time.h>
#include <assert.h>
#include "pbl.h"
double getMillSecond() {
struct timespec ts;
clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
return ts.tv_sec*1000.0 + ts.tv_nsec/1000000.0;
}
void initFloat(size_t len, float* d) {
for(size_t i = 0; i < len; i++) { |
package net.mcwintercraft.wintercraft.holidays;
import org.bukkit.event.Listener;
public class NewYear implements Listener {
//TODO: HAPPY NEW YEAR, FIREWORKS
} |
#import "<API key>.h"
#import "SBAppSwitcherModel.h"
#import "SBDisplayItem.h"
#import "<API key>.h"
#import "<API key>.h"
#import "<API key>.h"
#import "<API key>.h" |
data = {
".*(coucou|bonjour|salut).*": ["joue:salut", "joue:bonjour", "joue:coucou"],
".*(comment tu t'appelles|comment t'appelles tu|quel est ton nom).*": ["joue:mon_nom_est_milo", "joue:je_mappelle_milo"],
".*(ça va|comment ça va|comment vas tu|comment tu vas).*": ["joue:ca_va_bien_et_toi", "joue:ca_va_m... |
--TEST
method overloading with different method signature
--INI
error_reporting=8191
--FILE
<?php
class test {
function foo() {}
}
class test2 extends test {
function foo() {}
}
class test3 extends test {
function foo($arg) {}
}
echo "Done\n";
?>
--EXPECTF
Strict Standards: Declaration of test3::foo() shoul... |
/* Calling bose(n) generates a network
* to sort n items. See R. C. Bose & R. J. Nelson,
* "A Sorting Problem", JACM Vol. 9, Pp. 282-296. */
#include <stdio.h>
P(int i, int j)
{
/* print out in 0 based notation */
printf("swap(%d, %d);\n", i-1, j-1);
}
void Pbracket(int i, /* value of first element in sequen... |
#include "ValidateTraverser.h"
#include "Checksum.h"
#include "Backup.h"
#include "IOBuffer.h"
/*! Default constructor
*/
ValidateTraverser::ValidateTraverser()
{
m_sizeOfBackupPath = 0;
}
/*! \returns Returns the digests map.
*
*/
DigestsMap &ValidateTraverser::digests()
{
return m_digests;
}
/*! Set the cu... |
# Windows template platform definition CMake file
# Included from ../CMakeLists.txt
# remember that the current source dir is the project root; this file is in Win/
file (GLOB PLATFORM RELATIVE ${<API key>}
Win/[^.]*.cpp
Win/[^.]*.h
Win/[^.]*.cmake
)
# use this to add preprocessor definitions
add_defini... |
"use strict";
tutao.provide('tutao.entity.sys.SaltReturn');
/**
* @constructor
* @param {Object=} data The json data to store in this entity.
*/
tutao.entity.sys.SaltReturn = function(data) {
if (data) {
this.updateData(data);
} else {
this.__format = "0";
this._salt = null;
}
this._entityHelper ... |
#ifndef KOSTATE_H_INCLUDED
#define KOSTATE_H_INCLUDED
#include "config.h"
#include <vector>
#include "FastState.h"
#include "FullBoard.h"
class KoState : public FastState {
public:
void init_game(int size, float komi);
bool superko() const;
void reset_game();
void play_move(int color, int vertex);
v... |
import scala.util.Random
/* An Interface provides methods for all interaction for a single player. This
* includes both interactive and non-interactive (ie, cpu player) instances.
*/
abstract class Interface {
// Yields a WonderSide for a given Wonder, or None on bad input
def chooseWonderSide(wonder: Wonder)... |
package au.id.villar.json;
public class JSONReaderException extends Exception {
public JSONReaderException(String message) {
super(message);
}
public JSONReaderException(Throwable cause) {
super(cause);
}
public JSONReaderException(String message, Throwable cause) {
super(mes... |
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
#ifndef <API key>
#define <API key>
#include "MantidQtWidgets/SliceViewer/NullPeaksPresenter.h"
#include "MockObjects.h"
#include <cxxtest/TestSuite.h>
#include <gmock/gmock.h>
using namespace MantidQt::SliceViewer;
... |
<?php
/**
* @see Zend_Gdata_eed
*/
require_once 'Zend/Gdata/Feed.php';
/**
* @see Zend_Gdata_Media
*/
require_once 'Zend/Gdata/Media.php';
/**
* @see <API key>
*/
require_once 'Zend/Gdata/Media/Entry.php';
class <API key> extends Zend_Gdata_Feed
{
/**
* The classname for individual feed elements.
*
... |
<!DOCTYPE html>
<html lang="en"
xmlns:th="http:
<head>
<meta charset="UTF-8">
<title th:text="${name}"></title>
</head>
<body>
<p>Someone (hopefully you) requested we reset your password at <span th:text="${name}"></span>. If you want to change it, click</p>
<p><a th:href="${url}" th:text="${url}"></a></p>
<p... |
#include "stdafx.h"
#include "ahumantarget.h"
//
//
class EffectorEndocrine : public MindEffector {
private:
bool continueRunFlag;
public:
EffectorEndocrine( EffectorArea *area );
virtual ~EffectorEndocrine();
virtual const char *getClass() { return( "EffectorEndocrine" ); };
public:
// effector lif... |
/* program str07.c */
/* demo string application */
#include <string.h>
main()
{
void tlb(char **);
void ttb(char **);
char *s = " Turbo C ";
tlb(&s);
ttb(&s);
printf("%s\n",s);
}
void tlb(char **s) /* trancate leading blank */
{
int i;
for ( i=0 ; i<strlen(*s) ; i+... |
#ifndef MAPDIALOG_H
#define MAPDIALOG_H
#include <QDialog>
#include "Global/vespucciworkspace.h"
class MainWindow;
namespace Ui {
class MapDialog;
}
class MapDialog : public QDialog
{
Q_OBJECT
public:
explicit MapDialog(MainWindow *parent, QStringList data_keys, QSharedPointer<VespucciWorkspace> ws);
~MapDi... |
<?php
namespace pocketmine\block;
class CocoaBlock extends Solid {
protected $id = self::COCOA_BLOCK;
public function __construct($meta = 0){
$this->meta = $meta;
}
public function getName(){
return "Cocoa Block";
}
} |
<?php
namespace Alchemy\Tests\Phrasea\Notification\Mail;
use Alchemy\Phrasea\Notification\Mail\<API key>;
/**
* @group functional
* @group legacy
* @covers Alchemy\Phrasea\Notification\Mail\<API key>
*/
class <API key> extends MailTestCase
{
public function getMail()
{
return <API key>::create(
... |
#include <mps/mps.h>
#include <string.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef HAVE_STRNDUP
char *
mps_strndup (const char * source, size_t n)
{
char *dest;
size_t length = strlen (source);
/* Lower n if it's greater than the length of the original
* string that we should copy. */
if (lengt... |
<!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.7"/>
<title>Prototype 3D: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<... |
from flask_ask import audio, statement, question
from flask import request
from plexmusicplayer import ask, queue
# Amazon Playback - Intents
@ask.launch
def new_ask():
welcome = "Welcome to the Plex Music Player. What would you like to hear?"
reprompt = "I did not quite catch that. Could you repeat that please... |
/**
* \addtogroup LILodTool LodTool
* @{
*/
#include "lipsofsuna/model.h"
#include "lipsofsuna/system.h"
int main (int argc, char** argv)
{
int i;
LIMdlBuilder* builder;
LIMdlModel* model;
if (!argc || !strcmp (argv[1], "--help") || !strcmp (argv[1], "-h"))
{
printf ("Usage: %s [lmdl...]\... |
#include "crud_marca.h"
CRUD_Marca::CRUD_Marca()
{
} |
#include "stdafx.h"
#include "CAutoFreeMemory.h"
#include "CException.h"
using namespace Unmanaged;
CAutoFreeMemory::CAutoFreeMemory(void* ptr) : CAutoFreeMemory(ptr, true)
{
}
CAutoFreeMemory::CAutoFreeMemory(void* ptr, bool verify) : _ptr(ptr)
{
if (verify && !_ptr)
throw CExceptionMemory();
}
CAutoFreeMe... |
#include "../config.h"
#if ENABLED(TOUCH_UI_FTDI_EVE)
#include "screens.h"
#include "../../../../../feature/host_actions.h"
using namespace ExtUI;
void <API key>::onRedraw(draw_mode_t) {
drawMessage(GET_TEXT_F(MSG_ABORT_WARNING));
drawYesNoButtons();
}
bool <API key>::onTouchEnd(uint8_t tag) {
switch (tag) {
... |
<?php
//Check user identity
require "auth.php";
$debug = @$_GET['debug'];
include "header.php";
echo '<td width="100%" valign="top"><div dojoType="ContentPane" id="content" executeScripts="true" parseContent="true" cacheContent="false">';
include "default_content.php";
... |
// <summary>
// </summary>
namespace PdbReader
{
<summary>
</summary>
internal struct DbiDbgHdr
{
<summary>
</summary>
internal ushort snException; // 2..3 (deprecated)
<summary>
</summary>
internal ushort snFPO;
<summary>
</summary>
... |
package com.petercassetta.pdrebalanced.actors.mobs;
import com.petercassetta.pdrebalanced.Badges;
import com.petercassetta.pdrebalanced.sprites.ShieldedSprite;
public class Shielded extends Brute {
{
name = "shielded brute";
spriteClass = ShieldedSprite.class;
defenseSkill = 20;
}
@O... |
package com.weatherapp.exceptions;
public class <API key> extends RuntimeException {
private static final long serialVersionUID = 1L;
public <API key>(String message) {
super(message);
}
} |
<?php
namespace Nawork\NaworkUri\ViewHelpers;
use Nawork\NaworkUri\Domain\Model\Domain;
use Nawork\NaworkUri\Domain\Model\Language;
use Nawork\NaworkUri\Utility\<API key>;
use Nawork\NaworkUri\Utility\<API key>;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
class <AP... |
# web
Web site for ZoondEngine project |
<?php
class <API key> extends Controller {
public function index() {
$this->language->load('error/not_found');
$this->document->setTitle($this->language->get('heading_title'));
$this->data['heading_title'] = $this->language->get('heading_title');
$this->data['text_not_found'] = $this... |
package mobilprogramlama.ders.berkay.hm1_quiz.activity;
import android.app.Activity;
import android.app.DialogFragment;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.T... |
/** NAME : kgraph_map_bd.h **/
/** AUTHOR : Sebastien FOURESTIER (v6.0) **/
/** FUNCTION : These lines are the data declaration **/
/** for the band graph partitioning **/
/** routine for distributed graphs. **/
/** ... |
define(['knockout','jquery','currentuser'], function (ko, $, currentuser) {
var EditFamilyModal = function EditFamilyModal(params) {
var <API key> = ko.observable();
var <API key> = ko.observable();
var <API key> = ko.observable();
var <API key> = ko.observable();
var <API key> = ko.observable();
... |
package org.kdm.gogomtnaejang.node;
public class Node {
public int id;
public String name="No name";
public float lat=0.0f;
public float lng=0.0f;
public float alt=0.0f;
public Node(int id){
this.id = id;
}
public int getID(){
return id;
}
public String getName(){... |
/* styles for the navigation filter on main page */
/* styles for the search form on main page*/ |
/**
* @file mi2_interface.h
*
* @brief Handle the actions sent to the debugger and parsing information
* from the debugger.
*
* The interface for sending the actions to the debugger. The parsing of the
* information sent by the debugger are handled by the parser object. See
* mi2_parser.h for more information.
... |
/* include main */
#include "unpipc.h"
#define MAXNTHREADS 100
int nloop;
struct {
int semid;
long counter;
} shared;
struct sembuf postop, waitop;
void *incr(void *);
int
main(int argc, char **argv)
{
int i, nthreads;
pthread_t tid[MAXNTHREADS];
union semun arg;... |
#include "config.h"
#include <string.h>
#include "internals.h"
#define PLUSD_HEADER_LENGTH 22
static libspectrum_error
identify_machine( size_t buffer_length, libspectrum_snap *snap );
static libspectrum_error
<API key>( const libspectrum_byte *buffer,
size_t buffer_length, libspectrum_snap *snap );
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.