answer stringlengths 15 1.25M |
|---|
#include "Common/Options.h"
#include "Tests/PrintError.h"
const bool expectedToPass = false;
int main()
{
#if defined(USE_DBC)
int errcode = 0;
char dummyArgs[100];
char *dummyPtrs[10];
psocOptionHandle handle;
bool ok;
struct psocOptStruct opts[5] = {
{ '3', "three", 1, "", "repeat the loop t... |
<?php
defined('_JEXEC') or die;
$row = $this->row;
$announcement = $this->announcement;
?>
<tr>
<td class="nowrap hidden-xs">
<?php echo $announcement->displayField('created', 'date_today'); ?>
</td>
<td class="nowrap">
<div class="overflow">
<?php echo JHtml::_('kunenaforum.link... |
#ifndef ADBLOCKICON_H
#define ADBLOCKICON_H
#include "qzcommon.h"
#include "clickablelabel.h"
#include "adblockrule.h"
class QMenu;
class QUrl;
class BrowserWindow;
class QUPZILLA_EXPORT AdBlockIcon : public ClickableLabel
{
Q_OBJECT
public:
explicit AdBlockIcon(BrowserWindow* window, QWidget* parent = 0);
... |
// opening-tag.hpp
// Started 14 Aug 2018
#pragma once
#include <string>
#include <boost/spirit/include/qi.hpp>
namespace client {
// namespace fusion = boost::fusion;
// namespace phoenix = boost::phoenix;
namespace qi = boost::spirit::qi;
namespace ascii = boost::spirit::ascii;
template<typename I... |
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
#ifndef <API key>
#define <API key>
#include "MantidGeometry/Math/Algebra.h"
#include "MantidGeometry/Objects/MeshObject.h"
#include "MantidGeometry/Objects/MeshObjectCommon.h"
#include "MantidGeometry/Objects/ShapeF... |
//: pony/PartyFavor.java
package pokepon.pony;
import pokepon.enums.*;
/** Party Favor
* Good def and spa, lacks Hp and Speed
*
* @author silverweed
*/
public class PartyFavor extends Pony {
public PartyFavor(int _level) {
super(_level);
name = "Party Favor";
type[0] = Type.LAUGHTE... |
using System;
namespace GalleryServerPro.Business.Interfaces
{
<summary>
A collection of <see cref="IUserAccount" /> objects.
</summary>
public interface <API key> : System.Collections.Generic.ICollection<IUserAccount>
{
<summary>
Gets a list of user names for accounts in the collect... |
var Base = require("./../plugin");
module.exports = class extends Base {
<API key>(self, rival) {
return true;
}
<API key>(self, rival) {
return true;
}
} |
// JIST (Java In Simulation Time) Project
// Timestamp: <EntityRef.java Sun 2005/03/13 11:10:16 barr rimbase.rimonbarr.com>
package jist.runtime;
import java.lang.reflect.Method;
import java.lang.reflect.InvocationHandler;
import java.rmi.RemoteException;
/**
* Stores a reference to a (possibly remote) Entity object. ... |
#!/usr/bin/env python
"""The setup and build script for the python-telegram-bot library."""
import codecs
import os
from setuptools import setup, find_packages
def requirements():
"""Build the requirements list for this project"""
requirements_list = []
with open('requirements.txt') as requirements:
... |
#!/bin/bash -e
. ../../../blfs.comm
build_src() {
srcfil=URI-1.65.tar.gz
srcdir=URI-1.65
<API key>
}
gen_control() {
cat > $DEBIANDIR/control << EOF
$PKGHDR
Description: Uniform Resource Identifiers (absolute and relative)
This module implements the URI class. Objects of this class represent
"Uniform Resource Identif... |
package se.sics.asdistances;
import se.sics.asdistances.ASDistances;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.junit.*;
public class ASDistancesTest {
ASDistances distances = null;
public ASDistancesTest() {
}
@BeforeClass
public static v... |
#include "cmilitwostateselect.h"
#include "<API key>.h"
#include "cengine.h"
#include "ctextout.h"
void CMili2McuController::DoUpdateLogicView(const CEngineModel *engine) {
if (engine->CurrentMcuType() == CEngineModel::MILI_MCU)
mView->UpdateLogicView(engine);
}
void CMili2McuController::DoUpdateMemoryView(... |
#creativeblock {
clear:both;
border-bottom: 1px #1d649d solid;
border: 5px solid #f1f1f1;
padding: 1%;
margin: 1%;
}
#feaimg img{
width: 30%;
float:left;
padding-right: 2%;
}
#featitle {
font-size: larger;
font-weight: bold;
color: #1d649d;
}
#featitle a {
color: #1d649d;
}
#feacontent {
}
#feacontent a {
color: #1d649... |
#ifndef <API key>
#define <API key>
#include <satellites/<API key>.h>
#include <vector>
namespace gr {
namespace satellites {
class <API key> : public <API key>
{
private:
const size_t d_threshold;
const size_t d_step;
std::vector<uint8_t> d_syncword;
public:
<API key>(int threshold, const std::string& ... |
/* This file is part of the program and library */
/* fuer Informationstechnik Berlin */
/* along with SCIP; see the file COPYING. If not email to scip@zib.de. */
/**@file struct_concsolver.h
* @ingroup INTERNALAPI
* @brief datastructures... |
class Cartridge : property<Cartridge> {
public:
enum class Mode : unsigned {
Normal,
BsxSlotted,
Bsx,
SufamiTurbo,
SuperGameBoy,
};
enum class Region : unsigned {
NTSC,
PAL,
};
//assigned externally to point to file-system datafiles (msu1 and serial)
//example: "/path/to/filename... |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('account', '<API key>'),
]
operations = [
migrations.RemoveField(
model_name='userprofile',
name='is_creat... |
#pragma once
#include "storm/storage/memorystructure/<API key>.h"
namespace storm {
namespace storage {
enum class <API key> { Trivial, FixedCounter, SelectiveCounter, FixedRing, SelectiveRing, SettableBits, Full };
std::string toString(<API key> const& pattern);
class <API key> {
public:
// Builds a memory stru... |
package nl.hyranasoftware.githubupdater.domain;
import com.fasterxml.jackson.annotation.<API key>;
import java.util.Objects;
import org.joda.time.DateTime;
/**
*
* @author danny_000
*/
@<API key>(ignoreUnknown = true)
public class Asset {
String url;
String <API key>;
int id;
String name;
String ... |
#ifndef _HTTP_REQUEST_H_
#define _HTTP_REQUEST_H_
#include <fstream>
#include <boost/shared_ptr.hpp>
class CHttpConnection;
#include "../pugixml/pugixml.hpp"
typedef void CURL;
// Shared_ptr typedef
typedef boost::shared_ptr<pugi::xml_document> XmlDocumentPtr;
/**
* greebo: An object representing a single HttpRequest,... |
ModX Revolution 2.5.0 = <API key>
ModX Revolution 2.3.3 = <API key>
ModX Revolution 2.3.2 = <API key>
MODX Revolution 2.2.8 = <API key>
MODX Revolution 2.5.2 = <API key> |
#include "RocksIndex.hh"
#include <stdlib.h>
#include <iostream>
// Get command line arguments for array size (100M) and number of trials (1M)
void arrayArgs(int argc, char* argv[], objectId_t& asize, int& reps) {
asize = (argc>1) ? strtoull(argv[1], 0, 0) : 100000000;
reps = (argc>2) ? strtol(argv[2], 0, 0) : 1... |
#!/usr/bin/env bash
. test_common.sh
id=process
rm -f $id.out
ln -s "$test_base/test/$id.data.in" . 2>/dev/null
test_server_start $id test
pid=$!
hector_client_set PE_test.run 1
hector_client -c "PROCESS PE_test" $HECTOR_HOST <$id.data.in >$id.data.out
hector_client_wait M_simple[0].items 1000
hector_client_set PE_test... |
/**
* @file
*/
#ifndef <API key>
#define <API key>
#include <dds/core/types.hpp>
#include <dds/core/LengthUnlimited.hpp>
#include <dds/core/Duration.hpp>
// DDS Policy Classes
namespace org
{
namespace opensplice
{
namespace core
{
namespace policy
{
/**
* @internal The purpose of this QoS is to allow the applicati... |
<!DOCTYPE html PUBLIC "-
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.6">
<link rel="stylesheet" type="text/css" href="search.css"/>
<script type="text/javascript" src="typedefs_1.js"></script>
<script type="text/javascript"... |
<?php
namespace Paged;
class ViewList extends PluginView {
public function getList(){
$list = parent::getList();
$list_new = array();
foreach ($list as $item)
$list_new[] = Template::getTemplate('list.php', array($item));
return $list_new;
}
public function getPac... |
import io
import openpyxl
from django.test import (
Client, TestCase
)
from django.urls import reverse
from core.models import (
User, Batch, Section, Election, Candidate, CandidateParty,
CandidatePosition, Vote, VoterProfile, Setting, UserType
)
class ResultsExporter(TestCase):
"""
Tests the result... |
#include "unit_vector.h"
namespace geometry
{
template class UnitVector<double>;
template const UnitVector<double> operator-(const UnitVector<double> &rhs);
} |
<?php
defined('_JEXEC') or die('Restricted access');
require_once( <API key>.DS.'helpers'.DS.'jobboard_list.php' );
jimport( 'joomla.application.component.view');
jimport('joomla.utilities.date');
class JobboardViewList extends JView
{
function display($tpl = null) {
if(!JobBoardListHelper::rssEnabled())... |
package eieio
import (
"context"
"fmt"
"github.com/spatialmodel/inmap/emissions/slca"
"github.com/spatialmodel/inmap/emissions/slca/eieio/eieiorpc"
"github.com/spatialmodel/inmap/internal/hash"
"gonum.org/v1/gonum/mat"
)
type emissionsRequest struct {
demand *mat.VecDense
industries ... |
// 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: 2014.08.02 at 08:05:16 PM CEST
package net.ramso.dita.concept;
import java.util.ArrayList;
import java.u... |
<?php
/**
* @file
* Unit test of <API key>.
*/
use MediaWiki\Moderation\<API key>;
require_once __DIR__ . "/autoload.php";
/**
* @group Database
*/
class <API key> extends <API key> {
use <API key>;
/** @var string[] */
protected $tablesUsed = [ 'moderation', 'user' ];
/**
* Verify that <API k... |
package org.n52.series.db.beans.parameter;
import java.util.HashMap;
import java.util.Map;
public abstract class Parameter<T> {
private long parameterId;
private long fkId;
private String name;
private T value;
public Map<String, Object> toValueMap() {
Map<String, Object> valueMap = new Hash... |
/* glpapi16.c (basic graph and network routines) */
#include "glpapi.h"
/* CAUTION: DO NOT CHANGE THE LIMITS BELOW */
#define NV_MAX 100000000 /* = 100*10^6 */
/* maximal number of vertices in the graph */
#define NA_MAX 500000000 /* = 500*10^6 */
/* maximal number of arcs in the graph */
/*****************************... |
#pragma once
#ifndef <API key>
#define <API key>
class Mesh;
class SMSH_File;
struct MeshCPUData;
struct MeshNodeData;
struct MeshRequest;
namespace Engine::priv {
class PublicMesh;
class MeshImportedData;
class MeshLoader;
class <API key>;
class <API key>;
};
#include <serenity/resources/mes... |
package com.mortensickel.measemulator;
import com.google.android.gms.common.api.*;
import android.content.Context;
import android.text.*;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import andro... |
<?php
// Esercizio: un numero che si dimezza sempre
header('Content-Type: text/plain');
ini_set('display_errors', true); // MAI in produzione!!!
ini_set('html_errors', 0);
/**
* Questa classe continua a dividere
* il suo stato interno per un valore dato.
*/
class invert
{
/**
* Il valore corrente
* @va... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
abstract class CI_DB_utility {
/**
* Database object
*
* @var object
*/
protected $db;
/**
* List databases statement
*
* @var string
*/
protected $_list_databases = FALSE;
/**
... |
from mercurial import cmdutil
_hgignore_content = """\
syntax: glob
*~
*.pyc
*.pyo
*.bak
cache/*
databases/*
sessions/*
errors/*
"""
def commit():
app = request.args[0]
path = apath(app, r=request)
uio = ui.ui()
uio.quiet = True
if not os.environ.get('HGUSER') and not uio.config("ui", "username"):
... |
package cz.geokuk.core.napoveda;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.net.<API key>;
import java.net.URL;
import cz.geokuk.core.program.FConst;
import cz.geokuk.framework.Action0;
import cz.geokuk.util.process.BrowserOpener;
/**
* @author Martin Veverka
*
*/
public class Zad... |
package instance;
import java.util.ArrayList;
public class Parser
{
private ArrayList<ArrayList<String>> m_relationals;
private ArrayList<String[]> m_equalities;
int m_pos;
public Parser()
{
m_relationals = new ArrayList<ArrayList<String>>();
m_equalities = new ArrayList<String[]>();... |
(function() {
'use strict';
angular
.module('app.grid')
.service('<API key>', <API key>)
.service('GridUtils',GridUtils)
.factory('GridFactory',GridFactory)
;
GridFactory.$inject = ['modelNode','$q','$filter'];
function GridFactory(modelNode,$q,$filter) {
retu... |
package com.test.ipetrov.start;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.<API key>;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.<API key>;... |
import { Pipeline, Step } from '@ephox/agar';
import { Arr } from '@ephox/katamari';
import { LegacyUnit } from '@ephox/mcagar';
import Serializer from 'tinymce/core/api/dom/Serializer';
import DOMUtils from 'tinymce/core/api/dom/DOMUtils';
import TrimHtml from 'tinymce/core/dom/TrimHtml';
import ViewBlock from '../../... |
<?php
/**
* Core Class To Style RAD Builder Components
* @author Abhin Sharma
* @dependency none
* @since IOA Framework V1
*/
if(!class_exists('RADStyler'))
{
class RADStyler
{
function registerbgColor($key='' ,$target='')
{
$code ='<h5 class="sub-styler-title">'.__('Set Backg... |
#if defined (_MSC_VER) && !defined (_WIN64)
#pragma warning(disable:4244) // boost::number_distance::distance()
// converts 64 to 32 bits integers
#endif
#include <CGAL/<API key>.h>
#include <CGAL/IO/read_xyz_points.h>
#include <CGAL/Point_with_normal_3.h>
#include <CGAL/property_map.h>
#i... |
public class Rectangulo {
public int Base;
public int Altura;
//aqui llamamos las dos variables que utilizaremos.
Rectangulo(int Base, int Altura)
{
this.Base = Base;
this.Altura = Altura;
}
//COmo pueden observar aqui se obtiene la base y se asigna el valor de la base.
int g... |
package uturismu.dao;
import uturismu.dto.Booking;
/**
* @author "<API key>" team.
*
*/
public interface BookingDao extends GenericDao<Booking> {
} |
/**
* Module dependencies.
*/
var express = require('express')
, http = require('http')
, path = require('path')
, mongo = require('mongodb')
, format = require('util').format;
var app = express();
// all environments
app.set('port', process.env.PORT || 3000);
app.set('views', __dirname + '/views');
app.set('... |
#include "cmdlineparser.h"
#include "cppcheck.h"
#include "cppcheckexecutor.h"
#include "filelister.h"
#include "path.h"
#include "settings.h"
#include "timer.h"
#include "check.h"
#include "threadexecutor.h" // Threading model
#include <algorithm>
#include <iostream>
#include <sstream>
#include <fstream>
#include <str... |
/**
* @file vtkFileWriter.h
* @brief Writes a vtk data file using the legacy format
*
* @details This library implements a light weight legacy vtk
* format writer. This is intended to be used as a part of the
* dx2vtk program.
*
* @author David J. Warne (david.warne@qut.edu.au)
* @author High Performance Compu... |
#ifndef __SKE_H
#define __SKE_H
#include <linux/input/matrix_keypad.h>
/* register definitions for SKE peripheral */
#define SKE_CR 0x00
#define SKE_VAL0 0x04
#define SKE_VAL1 0x08
#define SKE_DBCR 0x0C
#define SKE_IMSC 0x10
#define SKE_RIS 0x14
#define SKE_MIS 0x18
#define SKE_ICR ... |
// MSGRTickConnection.h
// wehuibao
#import <Foundation/Foundation.h>
typedef enum {
<API key>=0,
<API key>,
<API key>,
<API key>,
<API key>
} <API key>;
@class MSGRTickConnection;
@protocol <API key> <NSObject>
@optional
- (void)connectionLost:(MSGRTickConnection *)connection;
- (void)connection:... |
#include <algorithm>
#include <string>
#include <simul.hpp>
#include <server.hpp>
#include <jtrace.hpp>
#include <task.hpp>
#include <task.hpp>
#include <waitinstr.hpp>
namespace RTSim {
using namespace std;
using namespace MetaSim;
// Init globals
JavaTrace::TRACE_ENDIANESS JavaTrace::endianess = <API key>;
... |
# -*- coding: utf-8 -*-
from django.shortcuts import render
from django.http import HttpResponse
from django.http import <API key>
from django.core.urlresolvers import reverse
from django.contrib.auth.decorators import login_required
def centres(request):
#PythonCenter
return render(request, 'centres/centres.ht... |
<!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.6"/>
<title>Super Martin: Globals</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<scri... |
import cv2
import numpy as np
np.set_printoptions(threshold=np.nan)
import util as util
import edge_detect
import lineseg
import drawedgelist
# img = cv2.imread("img/Slide2.jpg", 0)
img = cv2.imread("unsorted/Unit Tests/lambda.png", 0)
im_size = img.shape
returnedCanny = cv2.Canny(img, 50, 150, apertureSize = 3)
cv2.im... |
"use strict";
module.exports = function <API key>( baseUrl,
app,
opts ){
var controller = opts.controller;
var listRouter = app.route( baseUrl );
if( opts.all ){
listRouter = listRouter.all( opts.all );
}
if(... |
package it.ads.activitiesmanager.model.dao;
import java.io.Serializable;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transac... |
#include "VRConstructionKit.h"
#include "selection/VRSelector.h"
#include "core/objects/geometry/VRGeometry.h"
#include "core/objects/material/VRMaterial.h"
#include "core/utils/toString.h"
#include "core/utils/VRFunction.h"
#include "core/setup/devices/VRDevice.h"
#include "core/setup/devices/VRSignal.h"
using namespa... |
## A Vim plugin offers Nginx/Openresty syntax highlight and directives completion

This little plugin offers:
1. syntax highlight for Nginx configuration, with addition OpenResty enhancement.
1. syntax highlight for LuaJIT source file, with adddition OpenResty API highlight.
1. syntax-based dir... |
#include "Ares.h"
/*
Description:
Function that is called when the library is loaded, use this as an entry point.
*/
int __attribute__((constructor)) Ares() {
SDL2::SetupSwapWindow();
return 0;
} |
#!/usr/bin/env python
# setup of the grid parameters
# default queue used for training
training_queue = { 'queue':'q1dm', 'memfree':'16G', 'pe_opt':'pe_mth 2', 'hvmem':'8G', 'io_big':True }
# the queue that is used solely for the final ISV training step
isv_training_queue = { 'queue':'q1wm', 'memfree':'32G', 'pe_opt':'... |
package ca.six.tomato.util;
import org.json.JSONArray;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.<API key>;
import org.robolectric.annotation.Config;
import org.robolectric.shadows.ShadowEnvironment;
import java.io.File;
import ca.six.tomato.BuildConfig;
import static junit.framewor... |
/*
* The basic test codes to check the AnglogIn.
*/
#include "mbed.h"
static AnalogIn ain_x(A6); // connect joistics' x axis to A6 pin of mbed
static AnalogIn ain_y(A5); // connect joistics' y axis to A5 pin of mbed
static void printAnalogInput(AnalogIn *xin, AnalogIn *yin)
{
uint8_t point[2] = { 0 };
point[0] = ... |
/*jslint browser: true, nomen: true, sloppy: true*/
/*globals Backbone, Crashmapper */
/**
* @param {Object} options
* @constructor
* @extends Backbone.View
*/
Crashmapper.AppView = Backbone.View.extend({
id: 'app',
/**
* @this {Crashmapper.AppView}
*/
initialize: function () {
this.ab... |
FROM golang:alpine AS builder
RUN apk add --update git && go get github.com/fffaraz/microdns
FROM alpine:latest
COPY --from=builder /go/bin/microdns /usr/local/bin
ENTRYPOINT ["microdns"] |
using System;
using System.Collections.Generic;
using System.Text;
namespace Safir.Dob.Typesystem
{
<summary>
Base class for all Containers.
<para/>
This class contains common functionality for all Containers.
Basically this amounts to the interface for nullability and
the change flag.
</sum... |
#!/usr/bin/python2
# -*- coding: utf-8 -*-
# coding=utf-8
import unittest
from datetime import datetime
from lib.escala import Escala
import dirs
dirs.DEFAULT_DIR = dirs.TestDir()
class FrameTest(unittest.TestCase):
def setUp(self):
self.escala = Escala('fixtures/escala.xml')
self.dir = dirs.TestDir... |
package net.thevpc.upa.impl;
import net.thevpc.upa.*;
import net.thevpc.upa.impl.transform.<API key>;
import net.thevpc.upa.impl.util.NamingStrategy;
import net.thevpc.upa.impl.util.<API key>;
import net.thevpc.upa.impl.util.PlatformUtils;
import net.thevpc.upa.types.*;
import net.thevpc.upa.exceptions.UPAException;
im... |
#include "../../VM/Handler/Opcode8030Handler.h"
#include "../../VM/Script.h"
namespace Falltergeist
{
namespace VM
{
namespace Handler
{
Opcode8030::Opcode8030(VM::Script *script, std::shared_ptr<ILogger> logger) : OpcodeHandler(script)
{
this->logger = st... |
MT19937AR_OBJ = mt19937ar.o
MT19937AR_H = mt19937ar.h
.PHONY : all clean help
all: $(MT19937AR_OBJ)
clean:
@echo " CLEAN mt19937ar"
@rm -rf *.o
help:
@echo "possible targets are 'all' 'clean' 'help'"
@echo "'all' - builds $(MT19937AR_OBJ)"
@echo "'clean' - deletes $(MT19937AR_OBJ)"
@ec... |
#include "report_mib_feature.h"
#include "<API key>.h"
#include "report_manager.h"
#include "protocol.h"
#include "bus_slave.h"
#include "momo_config.h"
#include "report_log.h"
#include "report_comm_stream.h"
#include "system_log.h"
#include <string.h>
#define <API key> 160 //( 4 * ( ( <API key> + 2 ) / 3) )
extern ch... |
<?php
class <API key> {
public function __construct() {
}
/**
* Short Description. (use period)
*
* Long Description.
*
* @since 1.0.0
*/
public static function activate() {
require_once( WC_RBP_INC . 'helpers/class-version-check.php' );
require_once( WC_... |
<!-- jQuery -->
<script src="<?php echo base_url('assets/frontend/js/jquery.js') ?>"></script>
<!-- Bootstrap Core JavaScript -->
<script src="<?php echo base_url('assets/frontend/js/bootstrap.min.js') ?>"></script>
<!-- Contact Form JavaScript -->
<!-- Do not edit these files! In order to set the e... |
<?php
class <API key> extends <API key>
{
public function loadTinyMce()
{
$cfg = oxRegistry::getConfig();
$blEnabled = in_array($this->getActiveClassName(), $cfg->getConfigParam("aTinyMCE_classes"));
$blPlainCms = in_array($cfg->getActiveView()->getViewDataElement("edit")-><API key>->value, $cfg... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nerdz.Messenger.Controller;
using Nerdz.Messages;
using Nerdz;
namespace Tests.Controller
{
public class DummyUI : IMessengerView
{
private Credentials credentials;
private <API key> controller;
public <API key> Cont... |
#include "<API key>.h"
#include "<API key>.h"
#include <<API key>>
#include <QNetworkReply>
#ifdef INDEPENDENT_DEBUG
#include <QDebug>
#endif
const int <API key>::MAX_REDIRECTS = 8;
const QString <API key>::BASE_URL("http:
const QString <API key>::ICON_URL("http:
const QByteArray <API key>::USER_AGENT("Wget/1.13.4 (lin... |
{% if <API key> %}
<form id="signin-form" method="post" action="{{ settings.LOGIN_URL }}">
{{ macros.<API key>(csrf_token) }}
{{ login_form.next }}
{{ login_form.persona_assertion }}
<input
type='hidden'
name='login_provider_name'
value='{{ <API ke... |
package com.dmtools.webapp.config;
import com.dmtools.webapp.config.locale.<API key>;
import org.springframework.boot.bind.<API key>;
import org.springframework.context.EnvironmentAware;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springfra... |
/**
* This class is generated by jOOQ
*/
package com.aviafix.db.generated.tables.pojos;
import java.io.Serializable;
import java.time.LocalDate;
import javax.annotation.Generated;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http:
"jOOQ version:3.8.5"
},
comments = "T... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>src\fork\box2d\collision\b2Manifold.js - Box2D Port Fork API</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css... |
from test_support import *
# this test calls a prover which is correctly configured but whose execution
# gives an error (here: the prover executable doesn't exist). The intent is to
# test the output of gnatprove in this specific case
prove_all(prover=["plop"], opt=["--why3-conf=test.conf"]) |
import altConnect from '<API key>/altConnect';
import { STATUS_OK } from 'app-constants';
import ItemStore from 'stores/ItemStore';
import ProgressBar from '../components/ProgressBar';
const mapStateToProps = ({ itemState }) => ({
progress: itemState.readingPercentage,
hidden: itemState.status !== STATUS_OK,
});
ma... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Windows.Forms.Design;
using VPL;
namespace LimnorDesigner
{
<summary>
load primary types and Type into the treeview... |
package net.mcviral.dev.plugins.comjail.events;
import org.bukkit.ChatColor;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerTeleportEvent;
import org.bukkit.plugin.Plugin;
import net.mcviral.dev.plugins.comjail.main.Jai... |
package se.solit.timeit.resources;
import java.net.URI;
import java.net.URISyntaxException;
import javax.servlet.http.HttpSession;
import javax.ws.rs.<API key>;
import javax.ws.rs.core.Response;
public class BaseResource
{
protected <API key> redirect(String destination) throws URISyntaxException
{
URI ... |
Copyright (c) 2012 Ecma International. All rights reserved.
Ecma International makes this code available under the terms and conditions set
forth on http:
"Use Terms"). Any redistribution of this code must retain the above
copyright and this notice and otherwise comply with the Use Terms.
/**
* @path ch15/15.3/15.3... |
package petascope.wcs2.handlers;
import static petascope.wcs2.extensions.FormatExtension.MIME_XML;
/**
* Bean holding the response from executing a request operation.
*
* @author <a href="mailto:d.misev@jacobs-university.de">Dimitar Misev</a>
*/
public class Response {
private final byte[] data;
private fin... |
function <API key>(selector)
{
$(document).ready(function(){
var checkforloadedcats = [];
var firstImage = $(selector).find('img').filter(':first');
if(firstImage.length > 0){
checkforloadedcats[selector] = setInterval(function() {
var image = firstImage.get(0);
... |
<?php
/**
* Skeleton subclass for performing query and update operations on the 'transaction' table.
*
*
*
* This class was autogenerated by Propel 1.4.2 on:
*
* Sun Jul 17 20:02:37 2011
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be genera... |
from itertools import combinations
def is_good(n):
return 1 + ((int(n) - 1) % 9) == 9
def <API key>(n):
subsequences = []
combinations_list = []
index = 4
#Generate all combinations
while index > 0:
combinations_list.append(list(combinations(str(n), index)))
index -= 1
#Formatting co... |
<!
This is a more advanced example of using the each function in jQuery.
The idea here is that the handling function can choose to return false
in which case the 'each' loop is stopped and no further DOM elements
are processed. You can use this in order to find a specific element, process
only a pre... |
#coding=utf-8
import unittest
import HTMLTestRunner
import time
from config import globalparam
from public.common import sendmail
def run():
test_dir = './testcase'
suite = unittest.defaultTestLoader.discover(start_dir=test_dir,pattern='test*.py')
now = time.strftime('%Y-%m-%d_%H_%M_%S')
reportname = gl... |
package com.hacks.collegebarter.fragments;
import android.app.Activity;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.hacks.collegebarter.R;
import com.hacks.collegebarter.navdrawer.MainAppActivity;
public c... |
#ifndef <API key>
#define <API key>
#include <drm/generate_fac_vb.h>
#include "drm_util.h"
namespace gr {
namespace drm {
class <API key> : public generate_fac_vb
{
private:
transm_params* d_tp;
unsigned short d_tf_ctr; // transmission frame counter
public:
<API key>(transm_p... |
# -*- coding: utf-8 -*-
from pyload.plugin.internal.DeadCrypter import DeadCrypter
class FiredriveCom(DeadCrypter):
__name = "FiredriveCom"
__type = "crypter"
__version = "0.03"
__pattern = r'https?://(?:www\.)?(firedrive|putlocker)\.com/share/.+'
__config = [] #@TODO: Remove in 0.4.10
_... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Portal.BLL.Concrete.Multimedia.AdjusterParam;
using Portal.BLL.Concrete.Multimedia.Adjusters;
using Portal.BLL.Concrete.Multimedia.Builder;
using Portal.Domain.BackendContext.Entity;
namespace Portal.BLL.Tests.MultimediaTests
{
[TestClass]
pub... |
<!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"/>
<title>GNU Radio 3.6.4.2 C++ API: <API key> Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.