answer stringlengths 15 1.25M |
|---|
#ifndef __MPFR_IMPL_H__
#define __MPFR_IMPL_H__
/* Let's include some standard headers unconditionally as they are
already needed by several source files or when some options are
enabled/disabled, and it is easy to forget them (some configure
options may hide the error).
Note: If some source file must not h... |
package net.paissad.waqtsalat.core.impl;
import java.util.Calendar;
import net.paissad.waqtsalat.core.WaqtSalatPackage;
import net.paissad.waqtsalat.core.api.Pray;
import net.paissad.waqtsalat.core.api.PrayName;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.e... |
package xigua.battle.of.elements.model;
import org.junit.Before;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class IntWithMaxTest {
private IntWithMax intWithMax;
@Before
public void setUp() {
intWithMax = new IntWithMax(42);
}
@Test
public voi... |
import {
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
SYNCING_NATIVE_MODE,
DASHBOARD_UPDATE,
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
KV_HISTORY,
<API ... |
#ifndef DATASOURCE_H
#define DATASOURCE_H
#include <QArray>
#include <QVector3D>
#include <QColor4ub>
#include <QObject>
#include <QVector2D>
#include <QGLVertexBundle>
#include <iostream>
#include "databundle.h"
using std::cerr;
using std::endl;
class DataSource : public QObject
{
Q_OBJECT
public:
DataSource(Q... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <volk_fft/volk_fft_prefs.h>
//#if defined(_WIN32)
//#include <Windows.h>
//#endif
void <API key>(char *path)
{
if (!path) return;
const char *suffix = "/.volk_fft/volk_fft_config";
char *home = NULL;
if (home == NULL) home = getenv("HOM... |
<!DOCTYPE html PUBLIC "-
<html>
<head>
<title>Singular 2-0-4 Manual: D.6.2 ainvar_lib</title>
<meta name="description" content="Singular 2-0-4 Manual: D.6.2 ainvar_lib">
<meta name="keywords" content="Singular 2-0-4 Manual: D.6.2 ainvar_lib">
<meta name="resource-type" content="document">
<meta name="distribution" cont... |
package ninja.mbedded.ninjaterm.util.rxProcessing.timeStamp;
import javafx.scene.paint.Color;
import ninja.mbedded.ninjaterm.JavaFXThreadingRule;
import ninja.mbedded.ninjaterm.util.rxProcessing.streamedData.StreamedData;
import ninja.mbedded.ninjaterm.util.rxProcessing.streamingFilter.StreamingFilter;
import org.junit... |
// urlParams is null when used for embedding
window.urlParams = window.urlParams || {};
// isLocalStorage controls access to local storage
window.isLocalStorage = window.isLocalStorage || false;
// Checks for SVG support
window.isSvgBrowser = window.isSvgBrowser || (navigator.userAgent.indexOf('MSIE') < 0 || document.d... |
<div class="col-lg-6 col-12">
<section widget class="widget <API key>">
<header>
<div class="row">
<div class="col-3">
<h6>
Total Sales
</h6>
<p class="value5">
January, 2014
</p>
</div>
<div class="col-3">
<h5... |
#include "Worker2.h"
#include "Csoft.h"
using namespace csoft::mod2;
Worker2::Worker2(const csoft::Csoft * csoft) {
}
Worker2::Worker2(const Worker2& orig) {
}
Worker2::~Worker2() {
}
void Worker2::doIt(void) {
BOOST_LOG_SEV(lg, boost::log::trivial::info) << __PRETTY_FUNCTION__ << "---> Begin";
BOOST_LOG_SEV(lg... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace YSchool
{
public class Person
{
public int id;
public string name ;
public int gender;
public string birthDate;//"1900-00-00T00:00:00"
public int mobileNumber;
publi... |
var chai = require('chai')
, sinon = require('sinon')
, sinonChai = require('sinon-chai')
, expect = chai.expect
, Promise = require('es6-promise').Promise
, <API key> = require('../../../platypi-cli/controllers/cli/updatetemplates.controller');
chai.use(sinonChai);
describe('TemplateUpdate controll... |
""" Class that contains client access to the transformation DB handler. """
__RCSID__ = "$Id$"
import types
from DIRAC import S_OK, S_ERROR, gLogger
from DIRAC.Core.Base.Client import Client
from DIRAC.Core.Utilities.List ... |
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "serial.h"
#include "inputprocessor.h"
#include "commandsender.h"
#include "plothelper.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindo... |
-- ToME - Tales of Maj'Eyal
-- 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
-- along with this program. If not, see <http:
-... |
#ifndef _TIMING_H
#define _TIMING_H
#include "manta.h"
#include <map>
namespace Manta {
class TimingData {
private:
TimingData();
public:
static TimingData& instance() { static TimingData a; return a; }
void print();
void saveMean(const std::string& filename);
void start(FluidSolver* parent, const s... |
from django.db import models
from django.contrib.auth.models import User
import MySQLdb
# Create your models here.
class Comentario(models.Model):
"""Comentario"""
contenido = models.TextField(help_text='Escribe un comentario')
fecha_coment = models.DateField(auto_now=True)
def __unicode__(self):
... |
// <API key>: GPL-3.0
/** @file CommonIO.cpp
* @author Gav Wood <i@gavwood.com>
* @date 2014
*/
#include <libsolutil/CommonIO.h>
#include <libsolutil/Assertions.h>
#include <fstream>
#if defined(_WIN32)
#include <windows.h>
#else
#include <unistd.h>
#include <termios.h>
#endif
using namespace std;
using namespace so... |
package com.simplecity.amp_library.model;
import android.content.Context;
import com.simplecity.amp_library.R;
import java.io.File;
public class ArtworkModel {
private static final String TAG = "ArtworkModel";
@ArtworkProvider.Type
public int type;
public File file;
public ArtworkModel(@ArtworkProvi... |
package com.newppt.android.ui;
import com.newppt.android.data.AnimUtils2;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.ImageView;
public class ScaleImage extends ImageView {
final private int FLIP_DISTANCE = 30;
public ScaleImage(Contex... |
pyVenture - A python text-based adventure game engine
This is a generalized framework that allows construction and playing of <API key> worlds. Stores world information in JSON files.
This code is licensed under the General Public License Version 3 (http:
The following dependencies are required:
* Python 2.6+
* Qt4
* P... |
/* #define DEBUG */
#include <linux/backlight.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/gpio.h>
#include <linux/interrupt.h>
#include <linux/jiffies.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#incl... |
<?php
/*
oauthcallback.php
This script handles the oAuth grant 'code' that is returned from the provider
(google/fb/openid), and calls the 'authenticate' method of the PBS_LAAS_Client.
That method exchanges the grant 'code' with PBS's endpoints to get access and refresh tokens,
uses those to get user info (email, name,... |
@ECHO OFF
IF EXIST %cd%\fwservice.exe (
c:\windows\microsoft.net\framework\v4.0.30319\installutil.exe %cd%\fwsyslog.exe
) ELSE (
GOTO FNFAbort
)
ECHO.
ECHO Batch complete.
ECHO.
GOTO EOB
:FNFAbort
ECHO.
ECHO Batch aborted! File fwsyslog.exe not found in current directory.
ECHO.
:EOB
ECHO ON |
CREATE TABLE "<API key>" (
"homepage" text,
"about_page" text
); |
<!doctype html><html><head><title>Easy Image Mapper</title><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"><link rel="stylesheet" href="easy-mapper.css">
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script><script src="easy-mapper-1.2.0.js"></script></head><body>
<di... |
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS and IE text size adjust after device orientation change,
* without disabling user zoom.
*/
html {
font-family: sans-serif;
height: 100%;
-ms-text-size-adjust: 100%;
-<API key>: 100%;
width: 100%;
}
/**
* Remove default margin.
*/
body {... |
import unittest
from itertools import izip
import numpy as np
from numpy import cos, sin, pi
from pele.angleaxis import RBTopology, RigidFragment, RBPotentialWrapper
from pele.potentials import LJ
from pele.angleaxis._otp_cluster import OTPCluster
from pele.thermodynamics import <API key>
from pele.utils import rotatio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace guess_word_game
{
static class Program
{
<summary>
The main entry point for the application.
</summary>
[STAThread]
static void Main()
... |
# We borrow heavily from the kernel build setup, though we are simpler since
# we don't have Kconfig tweaking settings on us.
# The implicit make rules have it looking for RCS files, among other things.
# We instead explicitly write all the rules we care about.
# It's even quicker (saves ~200ms) to pass -r on the comma... |
// tinygettext - A gettext replacement that works directly on .po files
// This program is free software; you can redistribute it and/or
// as published by the Free Software Foundation; either version 2
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULA... |
#include <tap/basic.h>
#include <string.h>
#include <stdlib.h>
#include "libknot/internal/mempattern.h"
#include "libknot/internal/mempool.h"
#include "libknot/errcode.h"
#include "knot/nameserver/query_module.h"
#include "libknot/packet/pkt.h"
/* Universal processing stage. */
int state_visit(int state, knot_pkt_t *pk... |
#include <gtk/gtk.h>
#include "llib_tpm.h"
#include "llib_opt.h"
#include "llib_print.h"
#include "llib_gtk.h"
#include "gtpm_mgr.h"
#include "gtpm_ui.h"
#include "gtpm_tpm.h"
#include "gtpm_uio.h"
static void gtpm_mgr_reset_vars(gtpm_config_t* gmgr)
{
llib_data_free(&gmgr->args.output);
llib_data_free(&gmgr->a... |
package algores.holonet.core.events;
import algores.holonet.core.<API key>;
import algores.holonet.core.Network;
import algores.holonet.core.Node;
import algores.holonet.core.RequestPair;
import algores.holonet.core.api.Address;
import algores.holonet.core.api.Key;
import algores.holonet.core.api.tier1.delivery.LookupS... |
var path = require('path');
var Q = require('q');
var fs = require('fs');
var mv = require('mv');
var Upload = require('./upload.model');
exports.upload = function (req, res) {
var tmpPath = req.files[0].path;
var newFileName = Math.random().toString(36).substring(7)+path.extname(tmpPath);
var targetPath = ... |
/* NOTE: This file is auto-generated by pdbgen.pl */
#include "config.h"
#include "gimp.h"
/**
* SECTION: gimplayer
* @title: gimplayer
* @short_description: Operations on a single layer.
*
* Operations on a single layer.
**/
/**
* _gimp_layer_new:
* @image_ID: The image to which to add the layer.
* @width: Th... |
// Karma configuration
// Generated on Thu Jul 24 2014 18:11:41 GMT-0700 (PDT)
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
frameworks: ['jasmine'],
// list of files / patterns to loa... |
package br.ifrn.meutcc.visao;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import br.ifrn.meutcc.modelo.Aluno;
import br.i... |
/* Template filled out by CMake */
#ifndef <API key>
#error Please include PdfDefines.h instead
#endif
#define <API key> 0
#define <API key> 9
#define <API key> 0
/* PoDoFo configuration options */
#define PODOFO_MULTI_THREAD
/* somewhat platform-specific headers */
#define <API key> 1
#define <API key> 1
/* #undef <AP... |
<?php
class <API key> extends bas_frmx_cardframe{
public function __construct($id, $tabs='', $grid=array('width'=>4,'height'=>4)) {
parent::__construct($id,$tabs,$grid);
//addComponent($tab, $x, $y, $width, $height, $field);
//construct FIELD ($id,$type,$name, $caption, $editable, $value,$visible). ##No... |
package com.idega.development.presentation;
import com.idega.idegaweb.IWBundle;
import com.idega.idegaweb.IWMainApplication;
import com.idega.presentation.IWContext;
import com.idega.presentation.Image;
import com.idega.presentation.Layer;
import com.idega.presentation.PresentationObject;
import com.idega.presentation.... |
package itaf.WsCartItemService;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "<API key>", propOrder = {
"<API key>",
"receivableAmount... |
# -*- coding: utf8 -*-
SQL = """select SQL_CALC_FOUND_ROWS * FROM doc_view order by `name` asc limit %(offset)d,%(limit)d ;"""
FOUND_ROWS = True
ROOT = "doc_view_list"
ROOT_PREFIX = "<doc_view_edit />"
ROOT_POSTFIX= None
XSL_TEMPLATE = "data/af-web.xsl"
EVENT = None
WHERE = ()
PARAM = None
TITLE="Список видов документо... |
Trying to figure out:
* Why two hierarchies?
* How do they differ?
* Do they share any entities?
Approach:
Make a XE db and have a look. |
package org.schabi.newpipe.util;
import android.animation.Animator;
import android.animation.<API key>;
import android.animation.ArgbEvaluator;
import android.animation.ValueAnimator;
import android.content.res.ColorStateList;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import and... |
My Dotfiles - Lasciate ogne speranza, voi ch'intrate
=====
## TODO
- [ ] Improve `setup.sh` for easy installation. |
import {Component, OnInit} from '@angular/core';
import {EvaluationService} from '../service/evaluation.service';
@Component({
selector: 'app-evaluation',
templateUrl: './evaluation.component.html',
styleUrls: ['./evaluation.component.css']
})
export class EvaluationComponent implements OnInit {
public result: ... |
#control-menu
{
position: fixed;
background-color: #E9F2F5;
border: solid 1px #d3d3d3;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100000
}
#control-menu *
{
font-size: 13px;
font-weight: bold;
}
#control-menu .user
{
display: block;
margin: 0... |
package com.sun.electric.tool.generator.layout.fill;
import com.sun.electric.database.geometry.EPoint;
import com.sun.electric.database.hierarchy.Cell;
import com.sun.electric.database.hierarchy.Library;
import com.sun.electric.database.prototype.PortProto;
import com.sun.electric.database.topology.NodeInst;
import com... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>MetaDataInfo xref</title>
<link type="text/css" rel="stylesheet" href="../../../stylesheet.css" />
</head>
<body>
<div id="overview"><a href="../../../../apidocs/fspotcloud/shared/admin/MetaDa... |
#include "session.h"
// This file is part of MCI_Host.
// MCI_Host is free software: you can redistribute it and/or modify
// (at your option) any later version.
// MCI_Host is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Session::Sessio... |
class UsersController < <API key>
def index
users = User.all
render json: users
end
end |
export * from './results.handler'; |
using System;
using System.IO;
using System.Collections.Generic;
using System.Text;
using Kontract.IO;
namespace Kontract.Compression
{
public class LZSSVLE
{
public static byte[] Decompress(Stream input, bool leaveOpen = false)
{
using (var br = new BinaryReader(input, Encoding.Defa... |
<? if($this->uri->segment(3,'add') == 'add'): ?>
<h2>Create user</h2>
<? else: ?>
<h2>Edit user "<?= $member->full_name; ?>"</h2>
<? endif; ?>
<?=form_open($this->uri->uri_string()); ?>
<fieldset>
<legend>Details</legend>
<div class="field">
<label for="first_name">First Name</label>
<?=... |
#ifndef <API key>
#define <API key>
#include <QDialog>
#include <QDebug>
#include <QComboBox>
#include <QLineEdit>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QScrollBar>
#include <QWidget>
#include "setvariablewidget.h"
namespace Ui {
class <API key>;
}
class <API key> : public QDialog
{
Q_OBJECT
publi... |
#include <<API key>/plugin_aggregators/world_model.h>
namespace <API key>
{
WorldModel::WorldModel()
: <API key><WorldModel, <API key>>("WorldModel")
{
}
void WorldModel::loadPlugins(bool print_warning)
{
<API key><WorldModel, <API key>>::loadPlugins(print_warning);
// get terrain model
vigir_pluginlib::PluginM... |
# -*- encoding: utf-8 -*-
# OpenERP, Open Source Management Solution
# This program is free software: you can redistribute it and/or modify
# published by the Free Software Foundation, either version 3 of the
# This program is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS F... |
<?php
include_once 'CommunityApi.php';
use Illuminate\Foundation\Testing\<API key>;
class <API key> extends CommunityApi
{
use <API key>;
public function setUp()
{
parent::setUp();
}
//////////////////////////////////////////////////////// CORRECT RESPONSES
public function <API key>()
... |
/*global require,module,console,angular */
require("angular/angular");
require("angular-route/angular-route");
angular.module("RegistrationApp", ["ngRoute"]);
angular.module("RegistrationApp").controller("RegistrationCtrl", require("./components/registration/controller"));
angular.module("RegistrationApp").directive("m... |
package com.lizardtech.djvubean.outline;
import java.awt.Color;
import java.awt.Component;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.ListCellRenderer;
import javax.swing.UIManager;
public class <API key> implements ListCellRenderer
{
public Component <API key>(... |
<!DOCTYPE html PUBLIC "-
<html>
<head>
<title>Singular 2-0-4 Manual: D.5.5.15 newtonpoly</title>
<meta name="description" content="Singular 2-0-4 Manual: D.5.5.15 newtonpoly">
<meta name="keywords" content="Singular 2-0-4 Manual: D.5.5.15 newtonpoly">
<meta name="resource-type" content="document">
<meta name="distribut... |
#pragma once
// Structures shared between both RCT1 and RCT2.
#include "../common.h"
#include "../object/Object.h"
#include <string>
#include <string_view>
constexpr const uint8_t <API key> = 255;
constexpr const uint8_t RCT12_MAX_AWARDS = 4;
constexpr const uint8_t <API key> = 61;
constexpr const uint8_t <API key> = 4... |
package pl.nkg.brq.android.ui;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android... |
package com.malak.yaim.model;
import java.util.List;
public class FlickrFeed {
private String title;
private String link;
private String description;
private String modified;
private String generator;
private List<Item> items = null;
public String getTitle() {
return title;
}
public void setTitle(... |
import json
import re
def <API key>(data):
"""Return the root input type from JSON formatted string."""
return parse_format(json.loads(data))
def parse_format(data):
"""Returns root input type from data."""
input_types = {}
data = data['ist_nodes']
root_id = data[0]['id'] # set root type
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEditor;
using System.IO;
public class Serializer : MonoBehaviour {
//save defaults are only used to set the data used when initializing that map the next time.
string saveFile;
string... |
package grid;
import java.util.Comparator;
import world.World;
/**
* A <code>Location</code> object represents the row and column of a location
* in a two-dimensional grid. <br />
* The API of this class is testable on the AP CS A and AB exams.
*/
public class Location implements Comparable
{
private int row; /... |
package de.topobyte.livecg.ui.geometryeditor.preferences;
import java.awt.Component;
import javax.swing.JComboBox;
import javax.swing.JList;
import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;
import javax.swing.plaf.basic.<API key>;
import de.topobyte.livecg.preferences.Configuration;
public cl... |
$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
$dbh->do("
CREATE TABLE action_logs_cache (
action_id int(11) NOT NULL auto_increment,
timestamp timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
user int(11) NOT NULL default 0,
... |
package com.yoavst.quickapps.calendar;
import android.content.ContentUris;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.provider.CalendarContract;
import android.provider.CalendarContract.Events;
import com.yoavst.quickapps.Prefere... |
# Filename: rgss.rb
# Developer: Raku (rakudayo@gmail.com)
# Description: This is the core file to include to enable loading and dumping
# of RMXP's .rxdata files.
require_relative 'rgss_internal'
require_relative 'rgss_rpg'
require_relative 'rgss_mod' |
#ifndef BUNDLE_H_
#define BUNDLE_H_
int bundle(int argc, char *argv[], int command_index);
#endif // BUNDLE_H_ |
local render2d = ... or _G.render2d
do
local X, Y, W, H = 0,0
function render2d.SetScissor(x, y, w, h)
X = x
Y = y
W = w or render.GetWidth()
H = h or render.GetHeight()
if not x then
X = 0
Y = 0
render.SetScissor()
else
... |
package uk.tim740.skUtilities.util;
import ch.njol.skript.lang.Expression;
import ch.njol.skript.lang.SkriptParser;
import ch.njol.skript.lang.util.SimpleExpression;
import ch.njol.util.Kleenean;
import org.bukkit.event.Event;
import uk.tim740.skUtilities.skUtilities;
import javax.annotation.Nullable;
import java.io.Bu... |
-- Erase all reading notes for this VMeasurementID
CREATE OR REPLACE FUNCTION cpgdb.ClearReadingNotes(
tblVMeasurement.VMeasurementID%TYPE -- the vmeasurement to tie this to
) RETURNS integer AS $_$
DECLARE
_VMID ALIAS FOR $1;
VMOp text;
ret integer;
BEGIN
-- Get the VMeasurementOp
SELECT op.name ... |
"""
Page view class
"""
import os
from Server.Importer import ImportFromModule
class PageView(ImportFromModule("Server.PageViewBase", "PageViewBase")):
"""
Page view class.
"""
_PAGE_TITLE = "Python Web Framework"
def __init__(self, htmlToLoad):
"""
Constructor.
- htmlToLoad ... |
package uapi.service;
import uapi.<API key>;
import uapi.helper.ArgumentChecker;
import java.util.HashMap;
import java.util.Map;
/**
* Define response code
*/
public abstract class ResponseCode {
private final Map<String, String> _codeMsgKeyMapping = new HashMap<>();
private final MessageExtractor _msgExtract... |
<?php
namespace SHC\Event;
//Imports
use RWF\Date\DateTime;
use RWF\Util\StringUtils;
use SHC\Condition\Condition;
use SHC\Condition\ConditionEditor;
use SHC\Core\SHC;
use SHC\Switchable\Switchable;
use SHC\Switchable\SwitchableEditor;
class EventEditor {
/**
* Ereignis Luftfeuchte steigt
*
* @var In... |
#include <iostream>
using namespace std;
#define FLOAT(name, value) float name = value
#define CONST_FLOAT(name, value) const FLOAT(name, value)
#define VAR_FLOAT(name) FLOAT(name, 0)
#define VAR_INT(name) int name = 0
#define <API key>(n)\
VAR_FLOAT(a
VAR_FLOAT(b
VAR_FLOAT(c
#define READ(input) cin >> input
#define <A... |
package org.smssecure.smssecure.recipients;
import android.content.Context;
import android.support.annotation.NonNull;
import android.text.TextUtils;
import org.smssecure.smssecure.contacts.avatars.ContactPhotoFactory;
import org.smssecure.smssecure.database.<API key>;
import org.smssecure.smssecure.util.Util;
import o... |
package ai.grakn.generator;
import ai.grakn.concept.Label;
import ai.grakn.graql.admin.RelationPlayer;
import ai.grakn.graql.admin.VarPatternAdmin;
import static ai.grakn.graql.Graql.var;
/**
* @author Felix Chapman
*/
public class RelationPlayers extends AbstractGenerator<RelationPlayer> {
public RelationPlayers... |
package org.janus.miniforth;
import org.janus.data.DataContext;
public class Compare extends WordImpl {
public enum Comp {
EQ, NEQ, LT, GT, LEQ, GEQ
}
Comp comp;
public Compare(Comp comp) {
super(-1);
this.comp = comp;
}
@Override
public void perform(DataContext conte... |
#ifndef <API key>
#define <API key>
#include "tokens.hpp"
#include <QSyntaxHighlighter>
#include <QVector>
namespace ScIDE {
namespace Settings { class Manager; }
class Main;
enum SyntaxFormat
{
PlainFormat,
ClassFormat,
KeywordFormat,
BuiltinFormat,
PrimitiveFormat,
SymbolFormat,
StringForm... |
package service
import (
"encoding/json"
"errors"
log "github.com/cihub/seelog"
"github.com/mysteriumnetwork/node/communication"
"github.com/mysteriumnetwork/node/identity"
"github.com/mysteriumnetwork/node/market"
"github.com/mysteriumnetwork/node/session"
)
var (
// ErrorLocation error... |
<!DOCTYPE html >
<html>
<head>
<title>IndexRange - ScalaFX API 8.0.0-R4 - scalafx.scene.control.IndexRange</title>
<meta name="description" content="IndexRange - ScalaFX API 8.0.0 - R4 - scalafx.scene.control.IndexRange" />
<meta name="keywords" content="IndexRange ScalaFX API 8.0.... |
package com.trackit.business.domain;
import java.util.ArrayList;
import java.util.List;
import com.trackit.business.exception.TrackItException;
import com.trackit.presentation.event.Event;
import com.trackit.presentation.event.EventManager;
import com.trackit.presentation.event.EventPublisher;
public class Folder exten... |
#!/bin/bash
# SLURM batch script to launch BLAST
#SBATCH -p nbi-medium # partition (queue)
#SBATCH -N 1 # number of nodes
#SBATCH -n 1 # number of cores
#SBATCH --mem 30000 # memory pool for all cores
#SBATCH -t 2-00:00 # time (D-HH:MM)
#SBATCH -o /nbi/Research-Groups/NBI/Cristobal-Uauy/PB_AFLF/control_timecourse/TF_an... |
Namespace Items.Standard
<Item(615, "Fossilized Dino")>
Public Class FossilizedDino
Inherits FossilItem
Public Overrides ReadOnly Property Description As String = "The fossil of an ancient Pokémon that once lived in the sea. What it looked like is a mystery."
Public Sub New()
... |
<?php namespace eduTrac\Classes\Models;
if ( ! defined('BASE_PATH') ) exit('No direct script access allowed');
use \eduTrac\Classes\Core\DB;
use \eduTrac\Classes\Libraries\Util;
class ProfileModel {
private $_auth;
public function __construct() {
$this->_auth = new \eduTrac\Classes\Libraries\Cookies;
... |
using System;
namespace UnstuckMeLoggers
{
public enum ERR_TYPES_SERVER
{
// if you add one of these please add it in the switch statement to be handled
SERVER_GUI_LOGIN,
SERVER_GUI_LOGOUT,
<API key>,
<API key>,
SERVER_START,
SERVER_STOP,
<API key>... |
import discord
import asyncio
import datetime
import time
import aiohttp
import threading
import glob
import re
import json
import os
import urllib.request
from discord.ext import commands
from random import randint
from random import choice as randchoice
from random import choice as rndchoice
from random import shuffl... |
package com.snail.webgame.game.protocal.relation.getRequest;
import org.epilot.ccf.config.Resource;
import org.epilot.ccf.core.processor.ProtocolProcessor;
import org.epilot.ccf.core.processor.Request;
import org.epilot.ccf.core.processor.Response;
import org.epilot.ccf.core.protocol.Message;
import org.slf4j.Logger;
i... |
'use strict';
var ParameterDef = function(object) {
this.id = object.id;
this.summary = object.summary;
this.description = object.description;
this.type = object.type;
this.mandatory = object.mandatory;
this.defaultValue = object.defaultValue;
};
module.exports = ParameterDef; |
package org.eclipse.jdt.internal.core;
import java.util.ArrayList;
import org.eclipse.jdt.core.IField;
import org.eclipse.jdt.core.IInitializer;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IModuleDescription;
import org.eclipse.jdt.core.IPackageFragment;
import org.eclipse.jdt.core.IType;
/**
* @s... |
import string
import ast
from state_machine import PSM, Source
class SpecialPattern:
individual_chars = ('t', 'n', 'v', 'f', 'r', '0')
range_chars = ('d', 'D', 'w', 'W', 's', 'S')
special_chars = ('^', '$', '[', ']', '(', ')', '{', '}', '\\', '.', '*',
'?', '+', '|', '.')
<API key> ... |
{
am_pm_abbreviated => [
"Munkyo",
"Eigulo"
],
available_formats => {
E => "ccc",
EHm => "E HH:mm",
EHms => "E HH:mm:ss",
Ed => "d, E",
Ehm => "E h:mm a",
Ehms => "E h:mm:ss a",
Gy => "G y",
GyMMM => "G y MMM",
GyMMMEd => "G y MMM d, E",
GyMMMd => "G y MMM d",
H... |
package org.egov.search.service;
import org.egov.search.domain.entities.Address;
import org.egov.search.domain.entities.Person;
import org.json.simple.JSONObject;
import org.junit.Before;
import org.junit.Test;
import java.util.Arrays;
import static com.jayway.jsonassert.JsonAssert.with;
public class <API key> {
pr... |
Fox.define('views/email/fields/from-email-address', 'views/fields/link', function (Dep) {
return Dep.extend({
listTemplate: 'email/fields/from-email-address/detail',
detailTemplate: 'email/fields/from-email-address/detail',
});
}); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.