answer stringlengths 15 1.25M |
|---|
events-list
========
## Installation instructions (development version)
1. Create a virtual environment. Get beer (and optionnaly glass) while it's being created.
bash
$ mkvirtualenv events-list
2. Install required packages. Open beer while being installed.
bash
$ pip install -r requirements.txt
3. Create d... |
import solving
import backend
if backend.__name__ == "dolfin":
import backend.fem.projection
import misc
import libadjoint
import adjglobals
import adjlinalg
import utils
def project_dolfin(v, V=None, bcs=None, mesh=None, solver_type="cg", preconditioner_type="default", <API key>=None, annotate=None, name=None):
... |
package com.sirma.sep.export.renders;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
/**
* IdocRenderer class tests
*
* @author Hristo Lungov
*/
@SuppressWarnings("static-method")
public class IdocRendererTest {
/**
* Test extract valid value.
*/
@Test
public void <API key... |
#include<stdio.h>
#include<math.h>
#include<string.h>
#define eps 1e-7
#define MaxN 51
struct Point
{
double x,y;
Point(double a=0,double b=0){x=a;y=b;}
};
inline double Cross(Point sp,Point ep,Point op)
{
return (sp.x-op.x)*(ep.y-op.y)-(ep.x-op.x)*(sp.y-op.y);
}
inline int cmp(Point &a,Point &b)
{
if ... |
class CreateBuildings < ActiveRecord::Migration
def up
create_table :buildings do |t|
t.references :position
t.references :area
t.string :full_address, null: false
t.string :description
t.timestamps
end
end
def down
drop_table :buildings
end
end |
//MeasurementDistance class
THREE.MeasurementDistance = function ( ) {
THREE.Measurement.call( this );
this.createGizmo = function(container) {
this.measurementGizmo = new THREE.<API key>( this, container );
return this.measurementGizmo;
};
this.getValue = function() {
return thi... |
@NonNullByDefault
package de.carne.nio.compression.test.bzip2;
import org.eclipse.jdt.annotation.NonNullByDefault; |
package com.lulee007.mocklocations.util;
public interface MLConstant {
interface <API key> {
int JSON_FILES=100;
int MOCK_LOCATION=200;
int PERMISSIONS=300;
}
interface XT_FONT {
String FONT_NAME = "fonts/iconfont.ttf";
String FONT_KEY = "xt";
}
} |
package org.javlo.helper.Comparator;
import java.io.File;
import java.util.Comparator;
/**
* @author pvanderm
*
* This class is used for sort a array of File.
*/
public class FileComparator implements Comparator<File> {
public static final int NAME = 1;
public static final int LASTMODIFIED = 2;
... |
/**
* Logout user
*
* @returns {Promise<object>}
*/
export const logoutUser = async () => {
const response = await fetch(`/api/app/user/logout`, {
method: 'POST',
credentials: 'include',
})
return response
} |
import ActionDto from "./api/dto/ActionDto";
import AuthenticationDto from "./api/dto/AuthenticationDto";
import ProblemInfo from "./api/dto/problem/ProblemInfo";
import {OutputFormat} from "./api/dto/SutInfoDto";
import UnitsInfoDto from "./api/dto/UnitsInfoDto";
import SutHandler from "./SutHandler";
import Additiona... |
// "liveMedia"
// MP3 internal implementation details
// Implementation
#include "MP3InternalsHuffman.hh"
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
// This is crufty old code that needs to be cleaned up
static unsigned const live_tabsel[2][3][16] = {
{ {32,32,64,96,128,160,192,224,... |
<?php
declare(strict_types=1);
namespace pocketmine\block;
use pocketmine\item\Item;
use pocketmine\math\AxisAlignedBB;
/**
* Air block
*/
class Air extends Transparent{
protected $id = self::AIR;
protected $meta = 0;
public function __construct(int $meta = 0){
$this->meta = $meta;
}
publi... |
// Created file "Lib\src\strmiids\X64\strmiids"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b... |
<p>
Hardcoding an IP address into source code is a bad idea for several reasons:
<ul>
<li>
a recompile is required if the address changes
</li>
<li>
it forces the same address to be used in every environment (dev, sys, qa, prod)
</li>
<li>
... |
package org.alfresco.rest.api.search;
import static junit.framework.TestCase.assertEquals;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.alfresco.repo.search.impl.solr.facet.facetsresponse.GenericBucket;
import org.alfresco.repo.search.impl.solr.facet.face... |
<!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.3.1"/>
<title>Core3: File Members</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<scri... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Thu Feb 09 13:44:07 GMT 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
gate.gui (GATE JavaDoc (including private members))
</TITLE>
<META NAME="date" CONTENT="2012-02-09">
<LINK REL ="s... |
package kenh.xscript.os.elements.dialog;
import kenh.xscript.annotation.*;
import kenh.xscript.impl.NoChildElement;
import kenh.xscript.*;
/**
* Shows a message dialog.
* @author Kenneth
*
*/
@Text(Text.Type.TRIM)
public class Message extends NoChildElement {
private static final String ATTRIBUTE_MESSAGE = "mes... |
package org.sonar.server.qualityprofile.index;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Multimap;
import org.elasticsearch.action.search.<API key>;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.action.search.SearchType;
import org.elasticsearch.c... |
package org.celstec.arlearn2.oai;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Vector;
import javax.jdo.PersistenceManager;
import javax.jdo.Query;
import org.celstec.arlearn2.jdo.PMF;
import org.celstec.arlearn2.jdo.classes.LomJ... |
/* hw_zencod_err.c */
/*
* NOTE: this file was auto generated by the mkerr.pl script: any changes
* made to it will be overwritten when the script next updates this file,
* only reason strings will be preserved.
*/
#include <stdio.h>
#include <openssl/err.h>
#include "hw_zencod_err.h"
/* BEGIN ERROR CODES */
#ifnde... |
package buildcraft.transport.pluggable;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraftfo... |
package fr.umlv.unitex.graphrendering;
import java.util.StringTokenizer;
import javax.swing.text.AttributeSet;
import javax.swing.text.<API key>;
import javax.swing.text.PlainDocument;
import project.manager.<API key>;
import fr.umlv.unitex.frames.<API key>;
/*
* This class catches text and turns it into a list if it ... |
#ifndef UD_EXTERN_H
#define UD_EXTERN_H
#ifdef __cplusplus
/* extern */ "C" {
#endif
#include "types.h"
#if defined(_MSC_VER) && defined(_USRDLL)
# ifdef LIBUDIS86_EXPORTS
# define LIBUDIS86_DLLEXTERN __declspec(dllexport)
# else
# define LIBUDIS86_DLLEXTERN __declspec(dllimport)
# endif
#else
# define LIBUDIS86_DLLE... |
#include "ftk_window.h"
#include "ftk_globals.h"
#include "ftk_text_layout.h"
#include "ftk_progress_bar.h"
typedef struct _PrivInfo
{
int percent;
int interactive;
int mouse_pressed;
FtkBitmap* bg;
FtkBitmap* cursor;
}PrivInfo;
static Ret <API key>(FtkWidget* thiz, FtkEvent* event)
{
return RET... |
#ifndef __PQSORT_H
#define __PQSORT_H
#ifdef __cplusplus
extern "C"
{
#endif
void
pqsort ( void *a, size_t n, size_t es,
int (*cmp ) ( const void *, const void * ), size_t lrange, size_t rrange );
#ifdef __cplusplus
}
#endif
#endif |
package com.liferay.adaptive.media.document.library.thumbnails.internal.commands;
import com.liferay.adaptive.media.image.configuration.<API key>;
import com.liferay.adaptive.media.image.configuration.<API key>;
import com.liferay.adaptive.media.image.mime.type.<API key>;
import com.liferay.adaptive.media.image.model.A... |
#if !defined(__SLEPCMFN_H)
#define __SLEPCMFN_H
#include <slepcbv.h>
#include <slepcfn.h>
PETSC_EXTERN PetscErrorCode <API key>(void);
/*S
MFN - SLEPc object that encapsulates functionality for matrix functions.
Level: beginner
.seealso: MFNCreate()
S*/
typedef struct _p_MFN* MFN;
/*J
MFNType - String with... |
<!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.3.1"/>
<title>Core3: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<scrip... |
#ifndef QRANGEVIEWTEST_H
#define QRANGEVIEWTEST_H
#include <QObject>
#include "qtestrunner.h"
class QQmlEngine;
class QQmlContext;
class QQmlComponent;
class QQuickItem;
class QRangeView;
class QRangeViewTest : public QObject{
Q_OBJECT
Q_TEST_RUNNER_SUITE
public:
explicit QRangeViewTest(QObject *parent = 0)... |
# Info tool testing script
$ExitSuccess = 0
$ExitFailure = 1
$ExitIgnore = 77
$Profiles = @("pffinfo")
$OptionsPerProfile = @("")
$OptionSets = ""
$InputGlob = "*"
Function <API key>
{
$<API key> = ""
ForEach (${VSDirectory} in "msvscpp vs2008 vs2010 vs2012 vs2013 vs2015 vs2017 vs2019" -split " ")
{
... |
#include <ogdf/lib/abacus/fixcand.h>
#include <ogdf/lib/abacus/master.h>
#include <ogdf/lib/abacus/sub.h>
namespace abacus {
void FixCand::saveCandidates(Sub *sub)
{
// count the candidates and allocate memory
/* All variables which have status \a AtUpperBound or \a AtLowerBound
* are candidates. Only disc... |
package net.sf.hajdbc;
/**
* @author Paul Ferraro
*/
public interface TriggerTime
{
String getAlias();
} |
#pragma once
#include "wx/wx.h"
#define VZ_HEADER_SIZE 7
#define VZ_HEADER {0xF0,0x44,0x03,0x00,0x70}
#define VZ_HEADER_CHANNEL 4
#define VZ_HEADER_TYPE 5
#define VZ_HEADER_SUBTYPE 6
wxDECLARE_EVENT(SYSEX_EVENT, wxCommandEvent);
/** Provides interface to VZ SysEx data
* @note Data is stored as raw SysEx data
*/
cla... |
package org.cloudml.connectors;
import java.io.File;
import java.io.IOException;
import java.io.<API key>;
import java.net.URLEncoder;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.amazonaws.auth.AWSCredentials;
import com.amazonaws.auth.BasicAWSCredentials;
import com.amazonaws.services.e... |
#include "components/component.hpp"
#include "property.hpp"
#include "components/component-container.hpp"
#include "physics/collidable.hpp"
#include "trillek-game.hpp"
#include "components/<API key>.hpp"
#include "components/system-component.hpp"
#include "components/shared-component.hpp"
namespace trillek { namespace ... |
#include "<API key>.h"
#include "<API key>.h"
#include "<API key>.h"
#include "<API key>.h"
namespace QtAws {
namespace <API key> {
/*!
* Constructs a copy of \a other.
*/
<API key>::<API key>(const <API key> &other)
: <API key>(new <API key>(*other.d_func(), this))
{
}
/*!
* Constructs a <API key> object.
*/
<... |
drugbankCategories.rds: Contains DrugBank drug categories for 1) CHEBI IDs present in Pathway Commons 8 and 2) DrugBank 5.0.3 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.01.12 at 06:39:36 PM BRST
package org.iso.mpeg.mpeg7._2004;
import java.util.ArrayList;
import java... |
#include "six/sicd/PFA.h"
using namespace six;
using namespace six::sicd;
PFA::~PFA()
{
if (slowTimeDeskew)
delete slowTimeDeskew;
}
PFA* PFA::clone() const
{
PFA* pfa = new PFA();
pfa->focusPlaneNormal = focusPlaneNormal;
pfa->imagePlaneNormal = imagePlaneNormal;
pfa->polarAngleRefTime = po... |
//#define NOTWINDOWSH
//#define NEEDMFCH
//#define NEEDAFXDLGSH
#include "stdafx.h"
#include "LoadNameDlg.h"
#include <Commdlg.h>
//#include <Afxdlgs.h>
// CLoadNameDlg
CLoadNameDlg::CLoadNameDlg()
{
ZeroMemory( m_signame, sizeof( char ) * 2048 );
ZeroMemory( m_quaname, sizeof( char ) * 2048 );
ZeroMemory( ... |
#ifndef __POTI_H
#define __POTI_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define POTI_TEXT (0x1)
#define POTI_BINARY (0x2)
/*
* Function to init poti with an external file descriptor
*/
int poti_init(int output, const char *filename, int header_basic, int header_old);
/*
* Function to close o... |
// This file is part of the daxxcore library.
// The daxxcore library is free software: you can redistribute it and/or modify
// (at your option) any later version.
// The daxxcore library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
package vm
impor... |
package arch;
import static jason.asSyntax.ASSyntax.createLiteral;
import static jason.asSyntax.ASSyntax.createNumber;
import static jason.asSyntax.ASSyntax.createStructure;
import jason.asSyntax.Literal;
import jason.environment.grid.Location;
import java.io.FileWriter;
import java.util.ArrayList;
import java.util.Lis... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef _SOLARIS
#include "solaris_port.h"
#endif
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <pthread.h>
#include <fcntl.h>
#include <sys/file.h> /* for having FNDELAY */
#include "HashData.h"
#include "HashTable.h"
#include "rpc.h"
#incl... |
package JSci.awt;
/**
* This is a generic interface for sending data to 2D category graphs.
* @version 1.0
* @author Mark Hale
*/
public interface <API key> {
/**
* Add a listener.
*/
void <API key>(GraphDataListener l);
/**
* Remove a listener.
*/
void <A... |
package lt.emasina.resthub.server.factory;
import com.google.inject.persist.Transactional;
import java.lang.reflect.Field;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import javax.inject.I... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_121) on Fri Jan 12 04:00:19 CST 2018 -->
<title>ConnectEvent</title>
<meta name="date" content="2018-01-12">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript"... |
package com.edu.tpv.login.to;
import com.edu.tpv.login.jdbc.dto.DTO;
/**
* Tbcyear generated by hbm2java
*/
public class YearsVO extends DTO{
private static final long serialVersionUID = -<API key>;
private int clave;
private String claveEmpresa;
private String year;
public YearsVO() {
}
// ... |
import os
import sys
import logging
class UserEntity(object):
def __init__(self, user_id):
self.user_id = user_id
#self.prefs = {"locale": "zh_CN"}
self.prefs = {}
def load(self, entity):
self.nickname = entity.nickname
self.prefs['locale'] = entity.language
self.... |
package org.javlo.logger;
public class JavloLogger {
private String key;
JavloLogger(String key) {
this.key = key;
}
} |
package org.pushingpixels.flamingo.api.common.icon;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.awt.image.BufferedImageOp;
import java.util.LinkedHashMap;
import java.util.Map;
import org.pushingpixels.flamingo.api.common.AsynchronousLoading;
import org.pushingpixels.flamingo.internal.utils.Flam... |
#!/usr/bin/env python
# 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
import sys
sys.path.insert(0, "") # for running from cmake... |
using System;
using System.Collections.Generic;
using UberDeployer.Core.Domain;
namespace UberDeployer.Core.Tests.Generators
{
public static class <API key>
{
public static <API key> <API key>(bool <API key> = false)
{
return
new <API key>(
"name",
"<API key>",
ne... |
package org.getspout.commons.inventory;
import org.getspout.commons.io.store.SimpleStore;
/**
* This is a map which maps custom item ids to Strings and back.
*
* This map can be backed by File to ensure persistence.
*
* It also provides functionality to convert ids between 2 maps.
*
*/
public class ItemMap {
... |
#include <msgpack.hpp>
#include <gtest/gtest.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#if !defined(MSGPACK_USE_CPP03)
class <API key>
{
public:
<API key>()
: t1(TestEnumClassType::STATE_A), t2(TestEnumClassType::STATE_B), t3(TestEnumClassType::STATE_C) {}
enum class TestEnumClassType:long {
... |
package net.sourceforge.plantuml.sequencediagram;
import net.sourceforge.plantuml.cucadiagram.Display;
import net.sourceforge.plantuml.graphic.HtmlColor;
public class ParticipantEnglober {
final private Display title;
final private HtmlColor boxColor;
public ParticipantEnglober(Display title, HtmlColor boxC... |
#if HAVE_UNIX
#define DEBUG_MSG_PREFIX "ext2fs"
#include "debug_ext.h"
#define debug_level_flow 6
#define debug_level_error 10
#define debug_level_info 10
#include <unix/uufile.h>
//#include <unix/uuprocess.h>
#include <malloc.h>
#include <string.h>
#include <phantom_libc.h>
#include <sys/libkern.h>
#include <disk.h>
#... |
<?php
$id = null;
$id_user = 1;
$conn = pg_pconnect("user=panoramit dbname=panoramit");
if (!$conn) {
echo "Une erreur s'est produite.\n";
exit;
}
/**
* Insert new entry with uploading status
*/
$result = pg_query($conn,
"INSERT INTO panoramas(id_user, status) VALUES (".$id_user.", 0) RETURNING Currval('panor... |
<!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.3.1"/>
<title>Core3: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<scrip... |
#ifndef <API key>
#define <API key>
namespace MinCOM
{
template
<
class T
>
struct IWrapperT : public ICommon
{
virtual void SetData(const T& data) = 0;
virtual T GetData() = 0;
};
template
<
class T
>
class WrapperT
: public CommonImpl< IW... |
<!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>Shyft: Class Members<... |
var proxyBase = lib_require("db/proxy-base");
var utils = lib_require("utils");
var support = {
type: "mongodb",
modName: "mongodb",
modVersion: "2.0",
mod: null,//loaded dynamically
syncOps: ["collection"],
ops: ["insert", "remove", "rename", "save", "update", "distinct",
"count", "drop", "... |
package com.rendion.jchrome.painters;
import static com.rendion.jchrome.painters.TabState.highlighted;
import static com.rendion.jchrome.painters.TabState.notSelected;
import static com.rendion.jchrome.painters.TabState.selected;
import java.awt.Image;
import java.util.EnumMap;
import java.util.HashMap;
import com.rend... |
#include <sol.hpp>
#include <BWAPI.h>
#include "Type.h"
#include "IsInstance.h"
using namespace BWAPI;
namespace BWAPI_Lua
{
void bindColor(sol::table module)
{
auto color = module.<API key><Color>(
"red", &Color::red,
"green", &Color::green,
"blue", &Color::blue
... |
#include <QByteArray>
#include <QObject>
#include <exception>
#include <string>
#include "../CommonLib/ITransport.h"
#include "../CommonLib/Message.h"
#include "../CommonLib/MessageType.h"
#include "SimpleFakeTransport.h"
namespace CalcApp
{
const char *CalibrationRequest = "CALIBRATION-REQUEST";
const char *Calibratio... |
#include "<API key>.h"
#include "<API key>.h"
#include <QDebug>
#include <QNetworkReply>
#include <QXmlStreamReader>
namespace QtAws {
namespace DataExchange {
/*!
* \class QtAws::DataExchange::<API key>
* \brief The <API key> class provides an interace for DataExchange UpdateDataSet responses.
*
* \inmodule QtAwsD... |
package org.hypergraphdb.type;
import org.hypergraphdb.HGHandle;
import org.hypergraphdb.HGPersistentHandle;
import org.hypergraphdb.HyperGraph;
import org.hypergraphdb.HGException;
import org.hypergraphdb.IncidenceSetRef;
import org.hypergraphdb.LazyRef;
public class LinkType implements HGAtomType
{
public void se... |
#ifndef SERVER_H
#define SERVER_H
//#include "Connect_global.h"
#include <QTcpServer>
#include <QtNetwork>
class Connection;
class Server : public QTcpServer
{
Q_OBJECT
public:
Server( QObject *parent = 0 );
signals:
void newConnection(Connection *connection);
protected:
void incomingConnection(int sock... |
package nl.siegmann.epublib.epub;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.<API key>;
import java.io.<API key>;
import java.io.<API key>;
import java.io.FileOutputStream;
impo... |
#ifndef <API key>
#define <API key>
#include "s3response.h"
#include "<API key>.h"
namespace QtAws {
namespace S3 {
class <API key>;
class QTAWSS3_EXPORT <API key> : public S3Response {
Q_OBJECT
public:
<API key>(const <API key> &request, QNetworkReply * const reply, QObject * const parent = 0);
virtual con... |
//This file is part of HappyEngine.
// HappyEngine is free software: you can redistribute it and/or modify
// (at your option) any later version.
// HappyEngine is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//Created: 03/11/2012
#ifndef <... |
package org.openbase.jul.visual.javafx.geometry.svg;
import javafx.animation.Animation;
import javafx.animation.Animation.Status;
import javafx.animation.FadeTransition;
import javafx.animation.Interpolator;
import javafx.animation.RotateTransition;
import javafx.beans.value.ObservableValue;
import javafx.scene.layout.... |
// #ifdef __AMLMODALWINDOW || __INC_ALL
// #define __WITH_PRESENTATION 1
/**
* @private
*/
apf.WinServer = {
count : 9000,
wins : [],
setTop : function(win, norecur){
if (win.$opened) {
if (win.$opened.visible)
return;
else
delete win.$opene... |
// Wire3D by Roman Rath (antibyte@gmail.com)
// The Wire3D source code is supplied under the terms of the LGPL and
// may not be copied or disclosed except in accordance with the terms of
// that agreement.
#include "WireIndexBuffer.h"
#include "WireRenderer.h"
using namespace Wire;
WIRE_IMPLEMENT_RTTI(Wire, IndexBuffe... |
# Component\Util\Reflection
**Component\Util\Reflection** is a simple-to-use [PHP][1] component that
provides operations for the [PHP Reflection Application Programming Interface
(API)][53].
[ on Thu Feb 09 13:40:08 GMT 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Overview List (GATE learning plugin JavaDoc)
</TITLE>
<META NAME="date" CONTENT="2012-02-09">
<LINK REL ="styleshe... |
import $ from 'jquery';
export default {
defaults: {
scale: {
valuesNumber: 3,
gap: 1,
grid: 5
}
},
init(instance) {
const opts = $.extend({}, this.defaults, instance.options.scale);
const scale = opts.scale;
scale.values = [];
scale.values.push(instance.min);
const p... |
package edu.cmu.cs.oak.nodes
import edu.cmu.cs.oak.env.Constraint
case class RepeatNode(constraint: Constraint, node: DNode) extends DNode {
def getChildren(): Seq[DNode] = List(node)
def toXml(): scala.xml.Elem = {
<Repeat>
<Constraint Text={constraint.toString()} />
{node.toXml}
... |
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <r_types.h>
#include <r_lib.h>
#include <r_util.h>
#include <r_asm.h>
#include "disas-asm.h"
static unsigned long Offset = 0;
static RStrBuf *buf_global = NULL;
static unsigned char bytes[8];
static int <API key> (bfd_vma memaddr, bfd_byte *myaddr, ut3... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
Class: Admin::PicturesController
— Documentation by YARD 0.8.7
</title>
<link rel="stylesheet" href="../css/style.css" type=... |
// This file is part of DOLFIN.
// DOLFIN is free software: you can redistribute it and/or modify
// (at your option) any later version.
// DOLFIN is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#ifndef __VTK_FILE_H
#define __VTK_FILE_H
#include <fstrea... |
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Prototype</title>
</head>
<body>
<h1>Prototype</h1>
</body>
</html> |
package io.github.fergoman123.msb.init;
import io.github.fergoman123.fergoutil.helper.RecipeHelper;
import io.github.fergoman123.msb.util.MSBStacks;
import io.github.fergoman123.msb.util.RecipeList;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
public class Recipes
{
public static void init... |
/**
* This is the page controller for the CJAF Test Framework index page.
*/
/** JSLint Declarations */
/*global jQuery: false, cjaf: false*/
/*jslint nomen:false*/
(function ($, cjaf) {
cjaf.define('test/widget/page/widgets', [
'cjaf/widget/helper/event',
'cjaf/widget/dispatcher',
'test/w... |
// This file is part of TurboParser 2.3.
// TurboParser 2.3 is free software: you can redistribute it and/or modify
// (at your option) any later version.
// TurboParser 2.3 is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#include "EntityOptions.h"
#in... |
module ActionController #:nodoc:
module Sessions
# Methods for Sessions based on CookieToken Authentication
# CookieToken remembers the Autnentication in the browser for certain amount of time
module CookieToken
# Destroy CookieToken Session data
def <API key>
current_agent.forget_me i... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Sun Dec 22 15:56:00 GMT 2013 -->
<TITLE>
Uses of Class org.lwjgl.opengles.ContextAttribs (LWJGL API)
</TITLE>
<META NAME="date" CONTENT="2013-12-22">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css"... |
package org.sonar.db.loadedtemplate;
import java.util.Objects;
public final class LoadedTemplateDto {
public static final String DASHBOARD_TYPE = "DASHBOARD";
public static final String FILTER_TYPE = "FILTER";
public static final String <API key> = "QUALITY_PROFILE";
public static final String <API key> = "PERM... |
## Why new
Adding multi-thread support for coursera-dl, so that you could download it fasterly.
## usage
Specify the -s argument to change the number of threads.
bash
coursera-dl -s 10 -u '***' -p *** class_name
Happy learning! |
package net.jeeshop.web.action;
public class TestGit {
} |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Sun Dec 22 15:56:01 GMT 2013 -->
<TITLE>
Uses of Class org.lwjgl.util.mapped.MappedSet4 (LWJGL API)
</TITLE>
<META NAME="date" CONTENT="2013-12-22">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.cs... |
#ifndef <API key>
#define <API key>
typedef enum {
ndpi_preorder,
ndpi_postorder,
ndpi_endorder,
ndpi_leaf
} ndpi_VISIT;
typedef struct node_t {
char *key;
struct node_t *left, *right;
} ndpi_node;
typedef u_int32_t ndpi_ndpi_mask;
typedef struct <API key> {
ndpi_ndpi_mask fds_bits[NDPI_NUM_FDS_BITS... |
package org.orchestra.auth.shiro;
import java.io.IOException;
import java.security.KeyStoreException;
import java.security.<API key>;
import java.security.SignatureException;
import java.security.<API key>;
import java.security.cert.<API key>;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.au... |
<?php
namespace Windwalker\Utilities\Classes;
/**
* The MultiSingletonTrait class.
*
* @since 2.0
*/
trait MultiSingletonTrait
{
/**
* Property instances.
*
* @var array
*/
protected static $instances = array();
/**
* getInstance
*
* @param string $name
*
*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.