answer stringlengths 15 1.25M |
|---|
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import json
import cgi
import urllib2
myip = urllib2.urlopen('http://members.3322.org/dyndns/getip').read()
myip=myip.strip()
#SSR JSON
f = file("/usr/local/shadowsocksr/mudb.json");
json = json.load(f);
form = cgi.FieldStorage()
getport = form['port'].value
getpasswd = fo... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html xmlns="http:
<head>
<title>ActionView::Rendering</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="../../css/reset.css" type="text/c... |
<div class="histogram-chart">
<linechart
ng-if="histogramChart.data.bins"
data="histogramChart.data"
options="histogramChart.options"
></linechart>
</div> |
package fr.ribesg.imag.moustacheuml.modele.lien;
import fr.ribesg.imag.moustacheuml.modele.boite.Boite;
public abstract class Lien {
private final Boite source;
private final Boite destination;
private Navigabilite navigabilite;
private final TypeLien type;
protected Lien(Boite source, Boite destina... |
#include "cli.h"
CLI::CLI(XOAICup* parent) :
QObject(parent)
{
exit(0);
} |
package com.csy.mission.manager;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.csy.dao.<API key>;
import com.csy.dao.MissionMap... |
using System;
using System.Runtime.InteropServices;
using WhiteMagic.WinAPI.Structures;
namespace WhiteMagic.WinAPI
{
public static class Advapi32
{
[DllImport("advapi32.dll", SetLastError = true)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool OpenProcessToken(IntPtr ... |
package org.fracturedatlas.athena.plugin.available.web;
import java.util.ArrayList;
import java.util.List;
import org.fracturedatlas.athena.apa.ApaAdapter;
import org.fracturedatlas.athena.apa.impl.jpa.PropField;
import org.fracturedatlas.athena.apa.impl.jpa.ValueType;
import org.fracturedatlas.athena.client.PField;
im... |
package com.berryworks.edireader;
public interface TransactionCallback
{
public void startTransaction(String segmentType);
public void endTransaction();
} |
package com.harium.keel.cluster.distance;
public interface DistanceMeasure {
double distance(double[] a, double[] b);
} |
package org.antlr.runtime.debug;
import org.antlr.runtime.<API key>;
import org.antlr.runtime.Token;
import org.antlr.runtime.BaseRecognizer;
import org.antlr.runtime.tree.TreeAdaptor;
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
/** A proxy debug event listener that forwards events over a so... |
#include "abstract_link.h"
using namespace domain;
AbstractLink::AbstractLink(QObject* parent):
QObject(parent)
{}
AbstractLink::~AbstractLink()
{} |
#ifndef _INPUT_H
#define _INPUT_H
#include "cmi.h"
void inputInit(void);
void inputProcess(cmiToken *t);
#endif |
'use strict';
define(['angular', 'angular-mocks'], function() {
describe('the non-conformant measurements table service', function() {
var <API key>;
var resultsTableService = jasmine.createSpyObj('ResultsTableService', ['createInputColumns']);
beforeEach(module('trialverse.results', function($provide) {
... |
/*
* dnn_configuration.h
*
*
*/
#ifndef <API key>
#define <API key>
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#include "../include/keyValuePair.h"
#include "../include/binary.h"
#include "acs_info.h"
#include "ambr.h"
#include "frame_route_info.h"
#include "ip_address.h"
#inclu... |
{-# LANGUAGE QuasiQuotes,DataKinds,GADTs,RankNTypes,ScopedTypeVariables,KindSignatures,TemplateHaskell, FlexibleInstances,TypeFamilies #-}
module Z3Tutorial where
import Language.SMTLib2
import Language.SMTLib2.Pipe (createPipe)
import Language.SMTLib2.Debug (debugBackend)
import qualified Language.SMTLib2.Internals.Ty... |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('search', '<API key>'),
]
operations = [
migrations.AddField(
model_name='searchquery',
name='scope',
... |
require 'spec_helper'
describe 'mediawiki::files', :type => :define do
let(:pre_condition) do
'include apache'
end
context 'using default parameters on Debian' do
let(:facts) do
{
# the module concat needs this. Normaly set by concat through pluginsync
:concat_basedir =... |
/*
/////////////////////////////////////////////////////////////////////////////
// Calculates moments for ALL objects in an image in one pass; replacement for
// mb_imgmoments called in mb_imgfeatures, where mb_imgmoments calculates
// moments for one object per call (requires an image containing 1 object only
//
/... |
<?php
?>
<?php
if (isset($_POST['do'])) {
$sbnc->Call('eraselog');
$errorIsset = 1;
$errorType = 'success';
$errorMessage = $lang['user_log_erased'];
}
$log = $sbnc->Call('getlog', array("0", "999"));
//Checks for the log, to make it all look nice, and give no errors
if (is_a($log, 'itype_exception')) {... |
package pl.marjusz;
import java.util.concurrent.locks.ReentrantLock;
public class Main {
public static void main(String[] args) {
BankAccount account = new BankAccount(1000.0,"12345-678");
new Thread(()->{account.deposit(300);
account.withdraw(50);
acc... |
#include "config.h"
#include <string.h>
#include <gegl.h>
#include "libgimpmath/gimpmath.h"
#include "paint-types.h"
#include "base/boundary.h"
#include "base/pixel-region.h"
#include "base/temp-buf.h"
#include "paint-funcs/paint-funcs.h"
#include "core/gimpbrush.h"
#include "core/gimpbrushgenerated.h"
#include "core/g... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* DataTables features
*/
.dataTables_wrapper {
position: relative;
clear: both;
zoom: 1; /* Feeling sorry for IE */
}
.<API key> {
position: absolute;
top: 50%;
left: 50%;
width: 250px;
height: 30px;
margin-... |
package org.awesomeapp.messenger.tasks;
import android.app.Activity;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.BitmapDra... |
package com.github.schmidtbochum.chunkclaim;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import org.bukkit.Location;
public class PlayerData {
// String[] builderNames zu arraylist constructor
public float credits = ChunkClaim.plugin.config_startCredits;
public float bonus ... |
#include "cmd/SetThreadCmd.h"
#include "model/ConnectionModel.h"
#include "model/InputModel.h"
SetThreadCmd::SetThreadCmd(ConnectionModel* connection, ThreadModel* newThread, QUndoCommand* parent)
: QUndoCommand(QObject::tr("set thread"), parent),
m_model(connection),
m_oldThread(connection->thread()),
m_... |
{% comment %}
<!
Please see srs_base.html for license information.
{% endcomment %}
{% load static %}
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Rating history for <u>{{ game_verbose }}... |
package visan.ui;
import java.io.File;
import java.io.FilenameFilter;
public class VisFilter implements FilenameFilter {
@Override
public boolean accept(File directory, String fileName) {
if (fileName.toLowerCase().endsWith(".vis")) {
return true;
}
return false;
}
} |
<?php
namespace TYPO3\Flow\Validation;
use TYPO3\Flow\Annotations as Flow;
use TYPO3\Flow\Object\Configuration\Configuration;
use TYPO3\Flow\Object\<API key>;
use TYPO3\Flow\Reflection\ReflectionService;
use TYPO3\Flow\Utility\Exception\<API key>;
use TYPO3\Flow\Utility\TypeHandling;
use TYPO3\Flow\Validation\Validator... |
<?php
/* CAT:Barcode */
/* pChart library inclusions */
include("../class/pDraw.class.php");
include("../class/pBarcode39.class.php");
include("../class/pBarcode128.class.php");
include("../class/pImage.class.php");
/* Create the pChart object */
$myPicture = new pImage(600, 310, NULL, TRUE);
/* Draw the rounded box */... |
#ifndef BFHEADER_H_
#define BFHEADER_H_
#include "stdint.h"
#define BF_MAGIC 0x4246
#define BF_INDENT 0x10
#define MEMORY_PTR_MAX 65535
#define SECTION_CODE 0x01
#define SECTION_DATA 0x02
#define SECTION_VIDEO 0x03
typedef struct _BfSection_t{
uint16_t FileBase;//Relative shift from the beginning of file
uint16... |
// <API key>.cpp
// revbayes-proj
#include "<API key>.h"
#include "<API key>.h"
#include "ArgumentRule.h"
#include "ModelVector.h"
#include "MemberProcedure.h"
#include "Natural.h"
#include "RlBoolean.h"
using namespace RevLanguage;
<API key>::<API key>(void) : ModelObject<RevBayesCore::<API key>>() {
}
<API key>::<A... |
<?php
require_once('engines/lcml/main.php');
class body_smart extends base_null
{
function body($obj)
{
$data = array();
if($qlist = $obj->get('_queries'))
{
$db = new driver_mysql($obj->db_name());
foreach($qlist as $qname => $q)
{
$ca... |
/**
* Model container for 'Curve Fitting' simulation.
*
* @author Andrey Zelenkov (Mlearner)
*/
import <API key> from '../../../../axon/js/<API key>.js';
import NumberProperty from '../../../../axon/js/NumberProperty.js';
import curveFitting from '../../curveFitting.js';
import <API key> from '../<API key>.js';
imp... |
{% extends 'main.html' %}
{% block body %}
<div class="row">
<div class="col-md-9"><h1>#{{problem[0]}}. {{problem[2]}}</h1></div>
<div class="btn-group col-md-3">
<h1></h1>
<button class="btn btn-info" onclick="window.location.href='/problem/{{problem[0]}}'"></button>
... |
<!DOCTYPE html PUBLIC "-
<html>
<head>
<title>Singular 2-0-4 Manual: 5.1.101 quot</title>
<meta name="description" content="Singular 2-0-4 Manual: 5.1.101 quot">
<meta name="keywords" content="Singular 2-0-4 Manual: 5.1.101 quot">
<meta name="resource-type" content="document">
<meta name="distribution" content="global"... |
var colorpick = new Array();
function connectionDelete(id, newConnection)
{
if(newConnection){
var aid = document.getElementById('newCalendarAid' + id).value;
var row = document.getElementById('newCalendar' + id);
row.parentNode.removeChild(row);
//add almanach to selection list
... |
import {PluginError, color, log} from 'gulp-util';
import config from 'config/webpack';
import webpack from 'webpack';
export default function buildAssets(cb) {
const statsOpts = {
colors: true,
hash: global.args.verbose,
version: global.args.verbose,
timings: global.args.verbose,
assets: global.a... |
<?php
/**
* IP
*
* @author Lukin <my@lukin.cn>
* @version $Id$
*/
class QQWry {
private $fp = null;
private $start = 0, $end = 0, $ctype = 0;
private $fstart = 0, $lstart = 0, $offset = 0;
// QQWry instance
private static $instance;
/**
* Returns QQWry instance.
*
* @static
... |
<?php
include 'settings.php';
require_once 'libops.php';
$page = unparty($_POST["page"]);
$packs = MapPacks::get();
$str = '';
for ($i = 0; $i < 10; $i++) {
if ($packs[$i+$page*10] == null)
break;
if ($i != 0) {
echo '|';
$str .= ',';
}
$mp = $packs[$i+$page*10];
echo "1:".$m... |
#!/bin/sh
# This file is part of InfiniSQL (tm). It is available either under the
# This copy of InfiniSQL is free software: you can redistribute it and/or
# (at your option) any later version.
# InfiniSQL is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the... |
# Demo code for statistical analysis of computational model (simulated data) Ito et al., 2017
# Takuya Ito (takuya.ito@rutgers.edu)
## Import modules
import numpy as np
import os
import scipy.stats as stats
import statsmodels.api as sm
from scipy.stats import gamma
import sys
import <API key> as mreg
import sklearn.svm... |
#include "sae_par.h"
#include "ary1.h"
#include "star/hds.h"
#include "mers.h"
void ary1Annpl( int erase, AryPCB **pcb, int *status ) {
/* Local variables: */
int tstat; /* Temporary status variable */
/* Save the status value and mark the error stack. */
tstat = *status;
errMark();
/* If requi... |
<?php
require('./system.php');
function CheckPostComplect()
{
$input = array(
'login' => Filter::input('login'),
'pass' => Filter::input('pass'),
'repass' => Filter::input('repass'),
'email' => Filter::input('email', 'post', 'mail'),
'female' => Filter::input('female', 'post'... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SystemsGame
{
static class Singiltons
{
public static Network LocalNetwork = new Network("Local", false);
public static ComputerSystem LocalHost;
public static Session LocalSession;
pu... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_05) on Mon Feb 23 23:48:53 EST 2009 -->
<TITLE>
ObedientViewFactory (KawigiEdit)
</TITLE>
<META NAME="date" CONTENT="2009-02-23">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
<SCRIPT type="tex... |
#pragma once
#define RAD_TO_DEG(deg) ((deg) * 180.0 / M_PI)
#define DEG_TO_RAD(rad) ((rad) * M_PI / 180.0)
class CBasePlayer;
class BotProfile;
enum PriorityType
{
PRIORITY_LOW, PRIORITY_MEDIUM, PRIORITY_HIGH, <API key>
};
// Simple class for tracking intervals of game time
class IntervalTimer
{
public:
Interva... |
Numeric types in popco
====
Overview
By default popco2 uses the vectorz (i.e. vectorz-clj) implementation of
core.matrix. vectorz only supports java.lang.Double numbers, which is
a good option in general.
However, for certain kinds of testing, it can be useful to switch to a
different numeric type. To do this, you ne... |
using FluentValidation;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.Validation.Paths;
namespace NzbDrone.Api.Config
{
public class <API key> : <API key><<API key>>
{
public <API key>(IConfigService configService,
RootFolderValidator rootFolderValidato... |
#!/usr/bin/python
from PyQt4 import QtCore, QtGui
class Bubble(QtGui.QLabel):
def __init__(self,text):
super(Bubble,self).__init__(text)
self.setContentsMargins(5,5,5,5)
def paintEvent(self, e):
p = QtGui.QPainter(self)
p.setRenderHint(QtGui.QPainter.Antialiasing,True)
p.... |
var <API key> =
[
[ "<API key>", "<API key>.html#<API key>", null ],
[ "<API key>", "<API key>.html#<API key>", null ]
]; |
package io.github.zkhan93.hisab.ui.dialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.design.widget.TextInputEditText;
import android.support.v7.app.AlertDialog;
import android.util.Log;
import android.view.Layou... |
#include "m_pd.h"
static t_class *lpreson_tilde_class;
typedef struct _lpreson_control
{
t_float *c_residual, *c_output;
t_atom *x_parcors;
/* t_atom x_parc_interp_one[MAXPOLES];
t_int x_parc_ord_one;
t_atom x_parc_interp_two[MAXPOLES];
t_int x_parc_ord_two; */
} t_lpreson_control;
typedef struct _lpreson_... |
//lazy loading, one time event.
document.addEventListener('dblclick', function(event){
document.removeEventListener(event.type, arguments.callee);
let msg = { type: "load_popover" };
chrome.runtime.sendMessage(msg, function(response){
if (response.isLoaded){
//repeat dblclick for triggering on new scrip... |
# coding: utf-8
from pprint import pformat
from six import iteritems
import re
class <API key>(object):
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
def __init__(self, error=None):
"""
<API key> - a model defined in... |
package example.bar
object Bar {
def bar(): Unit = println("bar")
} |
#include <fx.h>
#include <Scintilla.h>
#include <FXScintilla.h>
#include "sl.h"
#include "compat.h"
#include "appname.h"
#include "macro.h"
#include "intl.h"
#include "help.h"
#include "helptext.h"
#include "help_lua.h"
#define sendString(iMessage, wParam, lParam) sendMessage(iMessage, wParam, reinterpret_cast<long>(lP... |
/*! \file
\brief Declaration of the <API key>
*/
#ifndef <API key>
#define <API key>
/* system include */
/* local include */
#include "neoip_namespace.hpp"
// list of include which are almost always needed when using this one
#include "neoip_wikidbg_obj.hpp"
<API key>;
// list of forward declaration
class <API key... |
Imports ESRI.ArcGIS.Geodatabase
Imports ESRI.ArcGIS.Geometry
Public Class VctField
#Region ""
Private p_Name As String
Private p_Type As enumFieldType
Private p_Length As Integer
Private p_DecimalLength As Integer = 0
#End Region
#Region ""
Public Property Name() As String
Get
Re... |
#!/usr/bin/env python3
"""
Setup for root_script.
"""
# core python libaries
import setuptools
# third party libaries
# custom libraries
setuptools.setup() |
package net.labhackercd.nhegatu.data.provider;
import android.net.Uri;
public class EDMContract {
/** TODO: Columns? */
public static final String CONTENT_AUTHORITY = "net.labhackercd.edemocracia";
public static final Uri BASE_CONTENT_URI = Uri.parse("content://" + CONTENT_AUTHORITY);
private static fin... |
package org.cgiar.ccafs.marlo.data.manager;
import org.cgiar.ccafs.marlo.data.model.ProjectPolicyCrp;
import java.util.List;
/**
* @author CCAFS
*/
public interface <API key> {
/**
* This method removes a specific projectPolicyCrp value from the database.
*
* @param projectPolicyCrpId is the projectPolicyC... |
package com.mclab1.palace.customer;
import java.util.ArrayList;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import... |
using CP77.CR2W.Reflection;
namespace CP77.CR2W.Types
{
[REDMeta]
public class <API key> : questIConditionType
{
public <API key>(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { }
}
} |
class Bppsuite < Formula
desc "The Bio++ Program Suite"
homepage "http://bioweb.me/biopp"
url "https://github.com/BioPP/bppsuite/archive/v2.4.1.tar.gz"
sha256 "<SHA256-like>"
depends_on "cmake" => :build
depends_on "libbpp-phyl"
depends_on "libbpp-popgen"
def install
mkdir "build" do
system "c... |
#include <QDebug>
#include <QString>
#include <QList>
#include <QMap>
#include <QFile>
#include <QTextStream>
#include "PraalineCore/Annotation/AnnotationTierGroup.h"
#include "PraalineCore/Annotation/IntervalTier.h"
#include "PraalineCore/Corpus/CorpusCommunication.h"
#include "PraalineCore/Datastore/CorpusRepository.... |
// modification, are permitted provided that the following conditions are
// met:
// with the distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
//... |
Script.delay=1000--int "Delay"
Script.activatetime=0
function Script:Activate()--in
self.activatetime = Time:GetCurrent()+self.delay
end
function Script:UpdatePhysics()
if self.activatetime>0 then
if Time:GetCurrent()>self.activatetime then
self.activatetime=0
self.component:Call... |
using NitroxModel.DataStructures.Util;
using <API key>.DataStructures.GameLogic;
using <API key>.Packets;
using NitroxServer.Communication.Packets.Processors.Abstract;
using NitroxServer.GameLogic;
using NitroxServer.GameLogic.Vehicles;
namespace <API key>.Communication.Packets.Processors
{
public class <API key> :... |
import math
def poohbear(code):
out = []
step = 1024
capa = step
mem = bytearray('\0' * capa, 'ascii')
mc = capa
copied = None
loop = []
cl = len(code)
cc = 0
while cc < cl:
c = code[cc]
if c == '+':
mem[mc] = 0 if mem[mc] == 255 else mem[mc] + 1
... |
/* global test, expect, jasmine */
import configureStore from '../client/configureStore.js'
import { LOADED, NOT_LOADED, NOT_DOWNLOADED } from '../utils/constants.js'
import {
addManga,
removeManga,
updatePage,
loadChapter,
VISIT_MANGA,
DIFF_CHANGES
} from '../client/actions/manga.js'
jasmine.<API key> = 10... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_02) on Thu Oct 10 13:06:25 EDT 2013 -->
<title>BinOpDiv</title>
<meta name="date" content="2013-10-10">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script t... |
package multichain.object;
/**
* @author Ub - H. MARTEAU
* @version 2.0.1
*/
public class NetworkInfoNetwork {
String name = null;
Boolean limited = null;
Boolean reachable = null;
String proxy = null;
/**
* @return the name
*/
public String getName() {
return name;
}
... |
package confmgr
import (
"net/http"
)
type Route struct {
Name string
Method string
Pattern string
HandlerFunc http.HandlerFunc
}
type Routes []Route
func (c *ConfMgr) RouteDefinitions() Routes {
return Routes{
Route{
"Index",
"GET",
"/... |
project dev
[Git workflow](refs/projects.md)
Data Viz
[R plotting](refs/vis.md)
R lang
[R links](refs/R.md)
Web
[jekyll](https://jekyllrb.com/community/)
[yandex web](https://events.yandex.ru/lib/talks/537/)
RNA-seq links
[time course](refs/time-course.md)
[single cells](refs/single-cells.md)
Stats
[statistics](refs/st... |
from .MetadataDict import MetadataDict
from .Job import JobInfo, Job, JobStatusError, JobError |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace <API key>.Attributes
{
public class CivilizationEthos : Attribute
{
private string _opposite;
public string Opposite
{
get
... |
//Our includes
#include "cwGLViewer.h"
#include "cwCamera.h"
#include "cwCamera.h"
#include "cwLine3D.h"
#include "cwPlane.h"
#include "cwRegularTile.h"
#include "cwEdgeTile.h"
#include "cwShaderDebugger.h"
#include "cwGLShader.h"
#include "cwGLTerrain.h"
#include "cwGLLinePlot.h"
#include "cwCavingRegion.h"
#include "... |
<html>
<pre>
Critical Path Scheduling (Algorithm 40)
CACM September, 1961
Alexander, N. P.
CA610905 JB March 16, 1978 9:44 PM
289 5 289
289 5 289
289 5 289
</pre>
</html> |
local CHANCES = 50
local WATERINGCAN_ID = 7734
local WATERED = {7673, 7670, 7680, 7682, 7684, 7686, 7688,
7690, 7992, 7994, 9982, 9990, 9986, 9988}
local PLANTSPECIES = {7680, 7682, 7684, 7686, 9982, 9986}
local PLANTADVANCES = {
[7679] = {7670, 7673},
[7681] = {7688, 7680},
[7683] = {7690, 7682},
[7685] = {7692, 7684}... |
#ifndef GAME_REVIEW_PAGE_H
#define GAME_REVIEW_PAGE_H
#include "basepage.h"
#include "videoreviewer.h"
namespace gc
{
/**
* Page class in the wizard application used to review the gameplay and collect review data.
*/
class GameReviewPage : public BasePage
{
Q_OBJECT
public:
/**
... |
#ifndef <API key>
# define <API key>
/**
* @brief Specifies the type of function which is called when a data element is
* destroyed. It is passed the pointer to the data element and should free any
* memory and resources allocated for it.
* @param data[in] : the data element
*/
typedef int (*t_destroy_func)(void *... |
#pragma once
@file AC_PI_2D.h
@brief Generic PID algorithm, with EEPROM-backed storage of constants.
#include <AP_Common/AP_Common.h>
#include <AP_Param/AP_Param.h>
#include <stdlib.h>
#include <cmath>
#define <API key> 20.0f // default input filter frequency
#define <API key> 0.01f // minimum input fil... |
<!DOCTYPE html>
<html>
<head>
<title>Canvas experiment 1</title>
<script type="text/javascript">
function onLoad() {
var context1 = document.getElementById("canvas1").getContext('2d');
var context2 = document.getElementById("canvas2").getContext('2d');
context1.fillSt... |
'use strict';
var esprima = require('esprima');
var os = require('os');
// Automatically calculates and returns End of Line,
// based on the input text.
function getEOL(text) {
var idx = 0, unix = 0, windows = 0;
while (idx < text.length) {
idx = text.indexOf('\n', idx);
if (idx == -1) {
... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="ja">
<head>
<!-- Generated by javadoc (1.8.0_40) on Sun Apr 10 20:00:10 JST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title> org.bukkit.command.defaults.ClearCommand (Bukkit 1.9.2-R0.1-SNAPSHOT API)</title>
<meta name="date" conte... |
/**
* Module, pure virtual class, ancestor of all modules.
*/
#ifndef <API key>
#define <API key>
#include <config.h>
#include <string>
#include <vector>
#include <queue>
#include "Object.h"
#include "Resource.h"
class Module : public Object {
public:
enum Type {
INVALID = 0,
INPUT = 1,
O... |
<?php
namespace CaT\Ilse\Aux;
/**
* Logs which task is currently running.
*/
interface TaskLogger {
/**
* Task needs to succeed in order for the whole process
* to go on.
*
* @param string $title
* @param callable $task
* @return mixed what callable returns
... |
<?php
namespace App\Modules\Tasks;
use Illuminate\Database\Eloquent\Model;
use App\Modules\Tasks\Models\Task;
use App\User;
use App\Module;
class TasksModule extends Module
{
public function __constuct(){
$this->name = "Tasks";
}
public function getData(){
return Task::orderBy('created_at', ... |
#include <ogdf/basic/basic.h>
#ifdef __APPLE__
#include <stdlib.h>
#include <malloc/malloc.h>
#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/utsname.h>
#include <mach/vm_statistics.h>
#include <mach/mach.h>
#include <mach/machine.h>
#elif defined(OGDF_SYSTEM_UNIX)
#include <malloc.h>
#endif
#if defined(OG... |
package keel.GraphInterKeel.datacf.visualizeData;
public class <API key> extends javax.swing.JPanel {
/**
* <p>
* Class that implements a Panel for datasets
* </p>
*/
/**
* <p>
* Constructor that initializes the panel
* </p>
*/
public <API key>() {
initCompone... |
/* global DynCSS */
DynCSS.defineModule('rz_box', function (api, v, res) {
'use strict';
function <API key>(childWidthString, hSpace) {
this.childWidths = [];
this.hSpace = '';
if (childWidthString && hSpace) {
this.setChildWidth(childWidthString, hSpace);
}
}
... |
-- Tabelstructuur voor tabel `ldapauth_server`
CREATE TABLE `ldapauth_server` (
`id` int(11) NOT NULL,
`hostname` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL,
`port` int(11) NOT NULL DEFAULT '389',
`encryption` enum('ssl','tls') COLLATE utf8mb4_unicode_ci DEFAULT 'tls',
`username` VARCHAR(190) NULL DEFAU... |
<?php
namespace Render\IconHelper;
use Render\InfoStorage\MediaInfoStorage\<API key>;
class SimpleIconHelper implements IIconHelper
{
/**
* @var string
*/
private $iconDirectory;
/**
* @var string
*/
private $fallBackIconName;
/**
* @param string $iconDirectory
* @param string $fallBackIconN... |
package com.bahram.relationshippoints.GUI.thirdParty.<API key>;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.util.AttributeSet;
import android.util.SparseArray;
import android.vi... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>VersionUtil xref</title>
<link type="text/css" rel="stylesheet" href="../../../stylesheet.css" />
</head>
<body>
<div id="overview"><a href="../../../../apidocs/org/slf4j/impl/VersionUtil.html... |
#ifndef GEOMETRY_UTILS_HPP
#define GEOMETRY_UTILS_HPP
#include <glm/glm.hpp>
namespace geometry {
enum <API key> { COLINEAR, CLOCKWISE, COUNTER_CLOCKWISE };
<API key> <API key>(glm::vec2 a, glm::vec2 b, glm::vec2 c) noexcept;
bool <API key>(glm::vec2 a1, glm::vec2 b1, glm::vec2 a4, glm::vec2 b4) noexcept;
}
#endif |
//MergeSort
#include "questao4.h"
void intercala(int *vet, int p, int q, int r) {
int i, j, k, *w;
w = (int *) malloc((r - p) * sizeof (int));
i = p;
j = q;
k = 0;
while (i < q && j < r) {
if (vet[i] <= vet[j]) w[k++] = vet[i++];
else w[k++] = vet[j++];
}
while (i < q) {
... |
#ifndef __output_plugin_h__
#define __output_plugin_h__
#define <API key> 0x1000
#define <API key> (<API key> + 6)
typedef int output_version_type;
typedef int(*output_init_type)(void);
typedef int(*output_open_type)(const char *path);
typedef void(*output_close_type)(void);
typedef int(*output_write_type)(short ... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.StringTokenizer;
class Main {
public static void main (String [] abc) throws IOException {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.