answer stringlengths 15 1.25M |
|---|
'use strict';
/*global require, after, before*/
var async = require('async'),
assert = require('assert'),
db = require('../mocks/databasemock');
describe('Set methods', function() {
describe('setAdd()', function() {
it('should add to a set', function(done) {
db.setAdd('testSet1', 5, f... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
using System.Linq.Expressions;
namespace BusinessLogic.Repositories
{
public class Repository<T> : IRepository<T> where T : class
{
private readonly DbContext _context;
... |
// pythonFlu - Python wrapping for OpenFOAM C++ API
// 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
// Author : Alexey ... |
#ifndef VALUE_H_
#define VALUE_H_
// Cost parameters
#define CARCOST 100
#define TICKETCOST 300
#define CENTSPERLITRE 130
#define METERSPERLITRE 15000
// Headers
#include <limits.h>
#include <immintrin.h>
#include "instance.h"
#include "random.h"
#include "macros.h"
#include "types.h"
#define COST(I, DR, L) ((DR)[(I)] ... |
// only be used by a person authorised under and to the extent permitted
// by a subsisting licensing agreement from ARM Limited or its affiliates
// or between you and a party authorised by ARM
// ALL RIGHT RESERVED
// This entire notice must be reproduced on all copies of this file
// and... |
namespace Tsu.Voltmeters.Appa
{
partial class <API key>
{
<summary>
Required designer variable.
</summary>
private System.ComponentModel.IContainer components;
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if ... |
# <API key>
_namespace: [SMRUCC.genomics.Data.Reactome.LocalMySQL.Tables.gk_current](./index.md)_
DROP TABLE IF EXISTS `<API key>`;
/*!40101 SET @saved_cs_client = @@<API key> */;
/*!40101 SET <API key> = utf8 */;
CREATE TABLE `<API key>` (
`DB_ID` int(10) unsigned NOT NULL,
`changedAttribute` text,
PRIMARY KEY ... |
package ru.trolsoft.utils.files;
import ru.trolsoft.utils.StrUtils;
import java.io.*;
import java.util.Random;
public class IntelHexWriter {
private final Writer writer;
private int segmentAddress = 0;
public IntelHexWriter(Writer writer) {
if (writer instanceof BufferedWriter) {
this.wr... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_131) on Mon May 29 22:14:24 CST 2017 -->
<title>org.cripac.isee.vpe.alg.pedestrian.attr Class Hierarchy</title>
<meta name="date" content="2017-05-29">
<link rel="stylesheet" type="text/css" href="../../..... |
<?php
class <API key>
extends <API key>
{
/**
* Display the "Server Configuration" form.
*/
public function serverAction()
{
$form = new <API key>();
// If a valid form was submitted.
if ($this->_request->isPost() && $form->isValid($_POST)) {
// Set the opti... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (version 1.7.0_21) on Fri Feb 07 15:34:51 CET 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Interface fr.ece.ostis.<API key></title>
<meta name="date" content="2014-02-07">
<link re... |
import re
import traceback
from urllib.parse import quote
from requests.utils import dict_from_cookiejar
from sickchill import logger
from sickchill.helper.common import convert_size, try_int
from sickchill.oldbeard import tvcache
from sickchill.oldbeard.bs4_parser import BS4Parser
from sickchill.providers.torrent.Torr... |
/* General Demo Style */
@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);
*,
*:after,
*:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
margin: 0;
}
.clearfix:before,
.clearfix:after {
content: " ";
display: tabl... |
package uk.ac.rdg.resc.edal.coverage.domain;
import java.util.List;
import org.opengis.referencing.crs.<API key>;
/**
* A geospatial/temporal domain: defines the set of points for which a {@link DiscreteCoverage}
* is defined. The domain is comprised of a set of unique domain objects in a
* defined order. The doma... |
package org.cgiar.ccafs.marlo.data.manager.impl;
import org.cgiar.ccafs.marlo.data.dao.<API key>;
import org.cgiar.ccafs.marlo.data.manager.<API key>;
import org.cgiar.ccafs.marlo.data.model.<API key>;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Named;
/**
* @author CCAFS
*/
@Named
public c... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Mon Mar 17 10:31:37 CDT 2014 -->
<title><API key> (Trove 3.1a1)</title>
<meta name="date" content="2014-03-17">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<... |
/*jshint expr:true */
describe("Services: Core System Messages", function() {
beforeEach(module("risevision.core.systemmessages"));
beforeEach(module(function ($provide) {
//stub services
$provide.service("$q", function() {return Q;});
$provide.value("userState", {
isRiseVisionUser: function () {r... |
{% load i18n %}
<table class="tabledisplay">
<tbody><tr><th>{% trans 'Vraag' %}</th><th>{% trans 'Antwoord' %}</th></tr>
<tr><td colspan="2"><h5><i>Algemeen</i></h5></td></tr>
<tr><td>{% trans 'Beoordeling algemene gezondheid' %}</td><td>{{ questionnaire.<API key>|default:"-" }}</td></tr>
<tr><td>{% tra... |
<reference path="grid_astar.ts" />
// create abstract grid representation (no nodes here)
var grid =
[[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0... |
// Use of this source code is governed by a BSD-style
package gonum
import (
"gonum.org/v1/gonum/blas"
"gonum.org/v1/gonum/lapack"
)
// of plane rotations is implicitly represented by a matrix P. P is multiplied
// by a depending on the value of side -- A = P * A if side == lapack.Left,
// A = A * P^T if side =... |
#include "../serials/sread.h"
CML_Error CML_SerialsReadINT8(CML_Bytes * bytes, uint32_t * bpos, int8_t * result)
{
if (*bpos + sizeof(int8_t) > bytes->size)
return <API key>;
*result = bytes->data[*bpos];
*bpos += 1;
/* Need to reverse signed char */
/* It's a perl thing */
*re... |
package com.entrepidea.jvm;
import java.util.ArrayList;
import java.util.List;
public class <API key> {
public static void main(String[] args){
List<String> l = new ArrayList<>();
int i=0;
while(true){
l.add(String.valueOf(i++).intern());
}
}
} |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using LobbyClient;
using PlasmaShared;
using ZkData;
namespace ZeroKWeb.SpringieInterface
{
public class StartSetup
{
static bool <API key> = false; // may cause bugs
<summar... |
package com.kimkha.finanvita.ui;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.Loader;
import android.util.SparseBooleanArray;
import and... |
#ifndef __LINUX_VIDEODEV_H
#define __LINUX_VIDEODEV_H
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/v4l/videodev.h,v 1.8 2001/03/03 22:46:31 tsi Exp $ */
#include "Xmd.h"
#define VID_TYPE_CAPTURE 1 /* Can capture */
#define VID_TYPE_TUNER 2 /* Can tune */
#define VID_TYPE_TELETEXT 4 /* Does ... |
# List of contents
* [User guide](@ref axo_gui)
* [Compiling from source](@ref compile)
* [Getting started](@ref getting_started)
</br>
* [For developers] (@ref developers)
* [Updating the firmware] (@ref updating_firmware)
* [Directory structure] (@ref directory_structure)
* [For PureData users] (@ref pd_user)
</br>
*... |
// This file is part of Mox, a card game simulator.
// Mox is free software: you can redistribute it and/or modify
// Mox is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
using System;
using Mox.Events;
using Mox.Flow;
namespace Mox.Database.Library
{
... |
package com.thomasjensen.checkstyle.addons.checks;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import net.jcip.annotations... |
#include "Board.h"
#include <iostream>
using namespace std;
void Board::enumExts( )
{
if(ptester-><API key>())
{
for( int i = 1; i <= nrows; i++ )
if( PiecesInRow[i] > 1 )
{
cout << 0 << endl;
return;
}
}
_enumExts();
}
void Board::_enumExts( )
{
Place P(1,1);
if( n... |
package com.idega.data.query;
import java.util.HashSet;
import java.util.Set;
import com.idega.data.query.output.Output;
import com.idega.data.query.output.Outputable;
import com.idega.data.query.output.ToStringer;
public class LeftJoin implements Outputable {
private Column left, right;
public LeftJoin(Column ... |
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class fAwards
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
... |
title: "मेरा इस्तीफा राफेल को लेकर हुआ है : तारिक अनवर"
layout: item
category: ["politics"]
date: 2018-09-29T04:19:03.930Z
image: 1538214543927tariq.jpg
<p>नई दिल्ली: राष्ट्रवादी कांग्रेस पार्टी (एनसीपी) और लोकसभा सदस्यता से इस्तीफा दे चुके वरिष्ठ नेता तारिक अनवर का कहना है कि &
<p>तारिक अनवर से जब पूछा गया कि अब एनसीप... |
package it.emarolab.owloop.descriptor.utility.classDescriptor;
import it.emarolab.amor.owlInterface.OWLReferences;
import it.emarolab.owloop.descriptor.construction.descriptorEntitySet.Individuals;
import it.emarolab.owloop.descriptor.construction.<API key>.ClassExpression;
import it.emarolab.owloop.descriptor.construc... |
// -*- Mode: Go; indent-tabs-mode: t -*-
package store
import (
"io"
"net/http"
"net/url"
"github.com/juju/ratelimit"
"golang.org/x/net/context"
"gopkg.in/retry.v1"
"github.com/snapcore/snapd/overlord/auth"
"github.com/snapcore/snapd/progress"
"github.com/snapcore/snapd/snap"
"gi... |
using System;
using System.Threading;
using System.Windows.Input;
namespace WpfAsyncPack.Internal
{
internal sealed class CancelAsyncCommand : ICommand
{
private <API key> <API key> = new <API key>();
private bool _isCommandExecuting;
public event EventHandler CanExecuteChanged
{... |
<template name="views_contracts">
<div class="dapp-container">
<h1>{{i18n "wallet.contracts.contractTitle"}}</h1>
<a href="{{pathFor route='deployContract'}}" class="wallet-box create">
<div class="account-pattern">
+
</div>
<h3>{{i18n "wallet.cont... |
<?php
/**
* The core plugin class.
*
* This is used to define <API key>, admin-specific hooks, and
* public-facing site hooks.
*
* Also maintains the unique identifier of this plugin as well as the current
* version of the plugin.
*
* @since 1.0.0
* @package <API key>
* @subpackage <API key>/includes... |
drop table if exists users;
create table users (
id serial primary key,
username varchar(128) not null,
password varchar(128) not null,
favorites text not null,
minute integer,
disabled boolean not null);
drop table if exists messages;
create table messages (
id s... |
#ifndef <API key>
#define <API key>
// LOVE
#include "common/config.h"
#include "Joystick.h"
#include "common/runtime.h"
namespace love
{
namespace joystick
{
Joystick *luax_checkjoystick(lua_State *L, int idx);
int <API key>(lua_State *L);
int w_Joystick_getName(lua_State *L);
int w_Joystick_getID(lua_State *L);
int w... |
#ifndef _ETH2_PDML_H
#define _ETH2_PDML_H
#include "pdmlprotocol.h"
class PdmlEthProtocol : public PdmlProtocol
{
public:
static PdmlProtocol* createInstance();
virtual void unknownFieldHandler(QString name, int pos, int size,
const <API key> &attributes,
OstProto::Protocol *pbProto, Ost... |
/*
* Compatibility support to bridge old pe_arm_xxx api and new
* AWESOME SOC DISPATCH STUFF.
*/
#include <mach/mach_types.h>
#include <pexpert/pexpert.h>
#include <pexpert/arm/protos.h>
#include <pexpert/arm/boot.h>
#include <machine/machine_routines.h>
#include <kern/debug.h>
/**
* <API key>
*
* Initialize the ... |
<?php
namespace Ajgl\Csv\Rfc\Tests\Spl;
use Ajgl\Csv\Rfc\Spl\SplFileObject;
class SplFileObjectTest extends <API key>
{
protected function buildFileObject()
{
return new SplFileObject('php://temp', 'w+');
}
} |
package com.example.habitup.View;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Color;
import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.wid... |
#include <stdio.h>
#include <string.h>
#include "stdbool.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"
#include "esp_log.h"
#include "bt.h"
#define GATTS_TAG "MAIN"
#define <API key> (4)
/* HCI Command opcode group field(OGF) */
#define <API key> (0x03 << 10) ... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="ro">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Mon Jun 20 18:37:10 EEST 2016 -->
<title>JRPropertiesUtil.PropertySuffix (JasperReports 6.3.0 API)</title>
<meta name="date" content="2016-06-20">
<link rel="stylesheet" type="text/css" href="../../../../st... |
if(NOT DEFINED IMP_TIMEOUT_FACTOR)
if(${CMAKE_BUILD_TYPE} MATCHES "Debug")
set(IMP_TIMEOUT_FACTOR 3 CACHE INT "A scaling factor for test timeouts")
else()
set(IMP_TIMEOUT_FACTOR 1 CACHE INT "A scaling factor for test timeouts")
endif()
endif()
set(IMP_CHEAP_TIMEOUT 5 CACHE INT "Timeout for cheap... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_14) on Fri Jun 18 18:05:18 BST 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class gr.forth.ics.graph.layout.forces2d.Forces.FRSpring (FlexiGraph Reference)
</TITLE>
<META NAME="date"... |
#include "FilesystemCache.h"
#include "Utility/Directory.h"
#include "Utility/Endianness.h"
using namespace std;
using namespace Kompas::Utility;
using namespace Kompas::Core;
namespace Kompas { namespace Plugins {
PLUGIN_REGISTER(Kompas::Plugins::FilesystemCache,
"cz.mosra.Kompas.Core.AbstractCache/0.2... |
package org.elsys.InternetProgramming;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.net.Socket;
public class ServerHandler {
private Socket socket;
public ServerHandle... |
import sys, math
from test import goertzel
import wave
import pyaudio
import Queue
import numpy as np
if len(sys.argv) < 2:
print "Usage: %s <filename> " % sys.argv[0]
sys.exit(1)
filename = sys.argv[1]
w = wave.open(filename)
fs = w.getframerate()
width = w.getsampwidth()
chunkDuration = .2 #.2 second chunks
c... |
// Decompiled with JetBrains decompiler
// Type: <API key>
// Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: <API key>
// Assembly location: C:\Users\CGA Computer\Desktop\LEGO Universe Stuff\LOCO Server\Unity Web Player Extractor\Saved Files\LOCO Server.unity3d_unpacked\Assemb... |
using System;
using System.Collections.Generic;
using System.Linq;
using Minedrink_UWP.View;
using Windows.ApplicationModel;
using Windows.Foundation;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Automation;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Naviga... |
// The LLVM Compiler Infrastructure
// This file is distributed under the University of Illinois Open Source
// This file implements semantic analysis for C++ expressions.
#include "clang/Sema/SemaInternal.h"
#include "clang/Sema/DeclSpec.h"
#include "clang/Sema/Initialization.h"
#include "clang/Se... |
package net.sf.jasperreports.engine.virtualization;
import java.io.IOException;
/**
* @author Lucian Chirita (lucianc@users.sourceforge.net)
*/
public class FloatSerializer implements ObjectSerializer<Float>
{
@Override
public int typeValue()
{
return <API key>.OBJECT_TYPE_FLOAT;
}
@Overri... |
<?php
/**
* @see Zend_Session
*/
require_once 'Zend/Session.php';
/**
* @see <API key>
*/
require_once 'Zend/Controller/Action/Helper/Abstract.php';
class <API key> extends <API key> implements IteratorAggregate, Countable
{
/**
* $_messages - Messages from previous request
*
* @var array
*/... |
#exploderLightPanel{
position: absolute;
width: 90%;
margin-left: 5%;
height: 90%;
margin-top: 5%;
background-color: white;
z-index: 999;
padding: 2em;
}
.level{
} |
package com.ouser.module;
import java.util.HashMap;
import java.util.Map;
import com.ouser.util.StringUtil;
import android.os.Bundle;
/**
*
* @author hanlixin
*
*/
public class Photo {
public enum Size {
Small(80, 0),
Normal(100, 1), /** profile */
Large(134, 2),
XLarge(640, 3... |
package bdv.server;
import bdv.db.UserController;
import bdv.model.DataSet;
import bdv.util.Render;
import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.server.Request;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.handler.<API key>;
import org.eclipse.jetty.util.log.Log;
import o... |
package jmash;
import jmash.interfaces.XmlAble;
import org.apache.log4j.Logger;
import org.jdom.Element;
/**
*
* @author Alessandro
*/
public class YeastType implements XmlAble {
private static Logger LOGGER = Logger.getLogger(YeastType.class);
/** Creates a new instance of YeastType */
public YeastType(... |
<!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>FastaPlus: Member List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/... |
#include "<API key>.h"
#include <cstdlib>
#include <cutils/log.h>
#include <fcntl.h>
#include <xf86drm.h>
uint64_t <API key>(int flags)
{
uint64_t usage = DRV_BO_USE_NONE;
if (flags & <API key>)
usage |= DRV_BO_USE_CURSOR;
if ((flags & sw_read()) == <API key>)
usage |= <API key>;
if ((fl... |
// This file is part of Parity.
// Parity is free software: you can redistribute it and/or modify
// (at your option) any later version.
// Parity is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
import React, { Component, PropTypes } from 'react';
impo... |
from controllers.job_ctrl import JobController
from models.job_model import JobModel
from views.job_view import JobView
class MainController(object):
def __init__(self, main_model):
self.main_view = None
self.main_model = main_model
self.main_model.begin_job_fetch.connect(self.on_begin_job_f... |
<?php
namespace ModulusAcl\Form;
use ModulusForm\Form\FormDefault,
Zend\Form\Element\Select;
class Route extends FormDefault
{
public function addElements()
{
$this->add(array(
'name' => 'id',
'options' => array(
'label' => '',
),
'attr... |
package edu.stanford.nlp.mt.lm;
import java.util.concurrent.atomic.AtomicReference;
import java.util.concurrent.locks.ReentrantLock;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import edu.stanford.nlp.mt.util.IString;
import edu.stanford.nlp.mt.util.Sequence;
import edu.stanford.... |
// Decompiled with JetBrains decompiler
// Type: System.Xml.Linq.BaseUriAnnotation
// Assembly: System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKey<API key>
// MVID: <API key>
// Assembly location: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll
namespace System.Xml.Lin... |
#!/usr/bin/python
# Problem: Making Chess Boards
# Language: Python
# Usage: python thisfile.py <input.in >output.out
from heapq import *
def process(r1, r2, c1, c2):
for i in range(r1, r2):
for j in range(c1, c2):
if 0 <= i < m and 0 <= j < n:
if g[i][j] == None:
... |
package appalachia.rtg.world.biome.realistic.appalachia.adirondack;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.world.biome.Biome;
import net.minecraft.world.chunk.ChunkPrimer;
import appalachia.api.Appal... |
// Decompiled with JetBrains decompiler
// Type: System.Boolean
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKey<API key>
// MVID: <API key>
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
using System.Runtime.InteropServices;
namespace System
{
<summary>
Represent... |
package hsa.awp.usergui;
import hsa.awp.event.model.Event;
import hsa.awp.event.model.Occurrence;
import hsa.awp.user.model.SingleUser;
import hsa.awp.user.model.User;
import hsa.awp.usergui.controller.IUserGuiController;
import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.html.basi... |
@import url("e4_basestyle.css");
@import url("relations.css");
.MTrimmedWindow {
background-color: #E1E6F6;
}
.MPartStack {
font-size: 9;
font-family: 'Segoe UI';
swt-simple: true;
swt-mru-visible: true;
}
.MTrimBar {
background-color: #E1E6F6;
}
.MToolControl.TrimStack {
frame-image: url(.... |
#include <media/rc-map.h>
#include <linux/module.h>
/* Initial keytable is from Jose Alberto Reguero <jareguero@telefonica.net>
and Felipe Morales Moreno <felipe.morales.moreno@gmail.com> */
/* Keytable fixed by Philippe Valembois <lephilousophe@users.sourceforge.net> */
static struct rc_map_table avermedia_rm_ks[] ... |
// This file is part of dit.
// dit is free software: you can redistribute it and/or modify
// it under the terms of version 3 of the GNU Affero General Public
// dit is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#include <cassert>
#include <cstdlib>... |
namespace DemoWinForm
{
partial class frmMapFinder
{
<summary>
Required designer variable.
</summary>
private System.ComponentModel.IContainer components = null;
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true i... |
#ifndef _TREENODE_H
#define _TREENODE_H
#include <stdio.h>
#include <stdbool.h>
#include <wptypes.h>
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
typedef struct _wp_treenode wp_tree_node_t;
typedef enum <API key>
{
RB_TREE_RED = 0,
RB_TREE_BLACK,
} <API key>;
wp_tree_node_t *wp_tree_node_new (void);... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ENetSharp
{
public class ENetList
{
public List<object> data = new List<object>();
internal int position;
}
public static class ENetListHelper
{
<summ... |
# CMake generated Testfile for
# Source directory: /home/zitouni/gnuradio-3.6.1/gr-uhd/grc
# Build directory: /home/zitouni/gnuradio-3.6.1/build/gr-uhd/grc
# This file includes the relevent testing commands required for
# testing this directory and lists subdirectories to be tested as well. |
-- Fix oracle syntax for psql
set search_path = tm_cz, pg_catalog;
DROP FUNCTION IF EXISTS tm_cz.bio_experiment_uid(character varying);
\i ../../../ddl/postgres/tm_cz/functions/bio_experiment_uid.sql |
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <getopt.h>
#include "upgma.h"
#include "utils.h"
#include "seq_utils.h"
#include "sequence.h"
#include "seq_reader.h"
#include "node.h"
#include "tree.h"
#include "tree_utils.h"
UPGMA::UPGMA (std::istream* pios):num_taxa_(0), num_char... |
from .gaussian_process import <API key>, mean_field_logits
from .<API key> import <API key> |
package de.ubleipzig.iiifproducer.template;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import de.ubleipzig.iiif.vocabulary.IIIFEnum;
/**
* TemplateService.
*
* @author christopher-johnson
*/
@JsonPropertyOrder({"@context", "@id", "profile"})
publ... |
#ifndef __IMPEXINFO_H__
#define __IMPEXINFO_H__
#include <string>
#include <list>
#include <map>
class Tag
{
public:
enum Type
{
TYPE_INVALID = 0,
TYPE_BOOL = 1,
TYPE_INT = 2,
TYPE_UINT32 = 3,
TYPE_FLOAT = 4,
TYPE_STRING = 5
};
protected:
Tag( T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Hy.Common.Utility.Data;
using System.Data.Common;
using Hy.Check.Utility;
namespace Hy.Check.UI.UC.Sundary
{
public class ResultDbOper
{
private IDbConnection m_ResultDbConn = null;
pub... |
<?php
namespace MikroOdeme\Enum;
class PaymentTypeId
{
CONST TEK_CEKIM = 1;
CONST AYLIK_ABONELIK = 2;
CONST HAFTALIK_ABONELIK = 3;
CONST IKI_AYLIK_ABONELIK = 4;
CONST UC_AYLIK_ABONELIK = 5;
CONST ALTI_AYLIK_ABONELIK = 6;
CONST AYLIK_DENEMELI = 7;
CONST HAFTALIK_DENEMELI = 8;
CONST <A... |
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
namespace ChummerHub.Areas.Identity.Pages.Account.Manage
{
#pragma warning disable ... |
namespace Grove.Artifical.TargetingRules
{
using System;
using System.Collections.Generic;
using System.Linq;
using Gameplay;
using Gameplay.Effects;
using Gameplay.Misc;
using Gameplay.Targeting;
public abstract class TargetingRule : MachinePlayRule
{
public int? TargetLimit;
public bool <API... |
package com.pix.mind.controllers;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.InputListener;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.pix.mind.PixMindGame;
import com.pix.mind.box2d.bodies.PixG... |
import unittest
from test import support
import os
import io
import socket
import urllib.request
from urllib.request import Request, OpenerDirector
# XXX
# Request
# CacheFTPHandler (hard to write)
# parse_keqv_list, parse_http_list, <API key>
class TrivialTests(unittest.TestCase):
def test_trivial(self):
#... |
package com.wongsir.newsgathering.model.commons;
import com.google.common.base.MoreObjects;
import com.google.gson.annotations.SerializedName;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import java.util.Date;
import java.util.List;
import java.util.Ma... |
/*
* WARNING: This file was automatically generated by Beautiful Capi!
* Do not edit this file! Please edit the source API description.
*/
#ifndef <API key>
#define <API key>
#include "PointSet/PointsDecl.h"
#include "PointSet/Position.h"
#ifdef __cplusplus
inline PointSet::PointsPtr::PointsPtr()
{
SetObject(Poi... |
package fr.hnit.babyname;
import android.app.AlertDialog;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import and... |
import { useState } from "react";
import { PropTypes } from "prop-types";
import { SaveOutlined, WarningOutlined } from "@ant-design/icons";
import {
Button,
Col,
Form,
Input,
InputNumber,
Row,
Select,
Switch,
Typography,
Space,
} from "@nextgisweb/gui/antd";
import i18n from "@n... |
#!/usr/bin/env python
# File written by pyctools-editor. Do not edit.
import argparse
import logging
from pyctools.core.compound import Compound
import pyctools.components.arithmetic
import pyctools.components.qt.qtdisplay
import pyctools.components.zone.zoneplategenerator
class Network(object):
components = \
{ ... |
# -*- coding: utf-8 -*-
import itertools
"""
Language short codes => Wordnet Code
"""
AVAILABLE_LANGUAGES = dict([('sq','als'), ('ar', 'arb'), ('bg', 'bul'), ('ca', 'cat'), ('da', 'dan'), ('zh', 'cmn'),
('el','ell'), ('eu', 'eus'), ('fa', 'fas'), ('fi', 'fin'), ('fr', 'fra'),
... |
package com.weatherapp.model.entities;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.<API key>;
@<API key>(ignoreUnknown = true)
public class Location implements Serializable {
private static final long serialVersionUID = 1L;
private String name;
public Location(String name) {
... |
# Courses-Pick-Helper
What this program will do is to constantly scan your shopping cart on your student centre account and help you enroll very fast !!!
Basically help you with enrolling courses in your shopping cart of your student centre account when it's "OPEN". Note that this will succeed iff there is no conflict ... |
package units.interfaces;
public abstract interface Value<T> extends MyComparable<T> {
// OPERATIONS
default boolean invariant() {
return true;
}
default void checkInvariant() {
if(!invariant()) {
System.exit(-1);
}
}
public abstract T newInstance(double value... |
# $HeadURL$
# # imports
import sys
import re
import time
# # from DIRAC
from DIRAC import gLogger, S_OK, S_ERROR
from DIRAC.Core.Utilities.File import checkGuid
from DIRAC.Core.Utilities.Adler import compareAdler, intAdlerToHex, hexAdlerToInt
from DIRAC.Core.Utilities.SiteSEMapping import getSitesForSE
from DIRAC.Core.... |
<?php
namespace de\chilan\WebsiteBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class WebsiteBundle extends Bundle
{
} |
var _ = require("lodash");
module.exports = {
// ensure client accepts json
json_request: function(req, res, next){
if(req.accepts("application/json"))
return next();
res.stash.code = 406;
_.last(req.route.stack).handle(req, res, next);
},
// init response
init_re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.