answer stringlengths 15 1.25M |
|---|
package sun.security.krb5.internal;
import sun.security.krb5.KrbCryptoException;
public interface SeqNumber {
public void randInit();
public void init(int start);
public int current();
public int next();
public int step();
} |
/*! \file
*
* \brief res_stasis playback support.
*
* \author David M. Lee, II <dlee@digium.com>
*/
#include "asterisk.h"
<API key>(__FILE__, "$Revision$")
#include "asterisk/app.h"
#include "asterisk/astobj2.h"
#include "asterisk/bridge.h"
#include "asterisk/bridge_internal.h"
#include "asterisk/file.h"
#include ... |
#include <glib.h>
#include <stdio.h>
#include "histogram.h"
#define <API key> ((gint8) 10)
static const gint8 cards_per_type[<API key>] =
{
4,
4,
4,
4,
4,
4,
4,
4,
16,
4
};
Histogram *create_histogram( gint num_decks )
{
Histogram *hist;
hist = g_new(Histogram, 1);
... |
#pragma once
#include <wtf/Vector.h>
namespace WebCore {
WEBCORE_EXPORT void <API key>(size_t);
template <class Collection, class Iterator>
class <API key> {
public:
explicit <API key>(const Collection&);
typedef typename std::iterator_traits<Iterator>::value_type NodeType;
unsigned nodeCount(const Collecti... |
/*
Patch by Polystar (Peter Vestman, Petter Edblom):
Corrected rfci handling in rate control messages
Added crc6 and crc10 checks for header and payload
*/
#include "config.h"
#include <glib.h>
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/wmem/wmem.h>
#include <epan/expert.h>
#include ... |
# disk.py
# Utilities relating to disk manangement
from kano.utils.shell import run_cmd
def get_free_space(path="/"):
"""
Returns the amount of free space in certain location in MB
:param path: The location to measure the free space at.
:type path: str
:return: Number of free megabyt... |
<?php
// vim: expandtab sw=4 ts=4 sts=4:
require_once __DIR__.'/userlist.lib.php';
/**
* Class toregister a user to a course
*/
class <API key>
{
const
STATUS_OK = 0,
<API key> = 1,
<API key> = 2,
STATUS_SYSTEM_ERROR = 4,
<API key> = 8,
<API key> = 16,
<API ... |
<?php
namespace oat\taoTests\test\unit\runner\plugins;
use <API key>;
use oat\generis\test\TestCase;
use oat\taoTests\models\runner\plugins\TestPlugin;
/**
* Test the TestPlugin pojo
*
* @author Bertrand Chevrier <bertrand@taotesting.com>
*/
class TestPluginTest extends TestCase
{
/**
* Data provider
... |
#include "<API key>.h"
#include <<API key>.h>
#include <KoColor.h>
#include <kis_image.h>
#include <kis_debug.h>
#include <<API key>.h>
#include <kis_painter.h>
#include <kis_paint_device.h>
#include <<API key>.h>
#include <<API key>.h>
#include "<API key>.h"
#include "kis_dynaop_option.h"
<API key>::<API key>(<API key... |
using System;
using System.Collections;
using Server.Items;
using Server.Network;
namespace Server.Mobiles
{
[CorpseName("a solen queen corpse")]
public class BlackSolenQueen : BaseCreature, IBlackSolen
{
private bool m_BurstSac;
private DateTime recoverDelay;
private static bool m_L... |
<?php
/* core/themes/bartik/templates/<API key>.html.twig */
class <API key> extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $cont... |
if (window.location.href.indexOf("researchgate.net/profile") > -1) {
<API key>();
}
function <API key>(){
var profileHeader = document.querySelector(".profile-header-name");
var profileName = profileHeader.querySelector("a").getAttribute("content");
var profileInstitution = profileHeader.querySelector(".institu... |
mo_tube_open_w_can = 0
mo_tube_open_wo_can = 1
<API key> = 2
mo_tube_close_w_can = 3
<API key> = 4
mo_tube_closed = 5
mo_tube_open = 6
<API key> = 7
<API key> = 8
<API key> = 9
<API key> = 10 |
<?php
defined('_JEXEC') or die;
JLoader::register('MenusHelper', JPATH_ADMINISTRATOR . '/components/com_menus/helpers/menus.php');
/**
* Joomla! Language Filter Plugin
*
* @package Joomla.Plugin
* @subpackage System.languagefilter
* @since 1.6
*/
class <API key> extends JPlugin
{
protected static $... |
# SMCDEL
[.
You can find a complete literate Haskell documentation in the file
[SMCDEL.pdf](https://github.com/jrc... |
<?php
error_reporting(E_ALL | E_STRICT);
require('extends/UploadHandler.php');
$upload_handler = new UploadHandler(); |
#include "interface.h"
#include "../../local.h"
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/select.h>
#include <errno.h>
//This is an important setting that depends on your network setup
#define SELECT_TIMEOUT_USEC 100
//TOC protos
void ConnectDb(void);
vo... |
/*
SHARP MZ-700 Emulator 'EmuZ-700'
SHARP MZ-1500 Emulator 'EmuZ-1500'
Skelton for retropc emulator
Author : Takeda.Toshiya
Date : 2010.09.02 -
[ psg*2 ]
*/
#ifndef _PSG_H_
#define _PSG_H_
#include "../vm.h"
#include "../../emu.h"
#include "../device.h"
class PSG : public DEVICE
{
private:
... |
#include <config.h>
#include <asm/arch/cpu.h>
#include <asm/arch/romboot.h>
extern int uclDecompress(char* op, unsigned* o_len, char* ip);
int load_secureos(void)
{
int rc=0;
unsigned len;
// verify secureOS validation
/*
#ifndef <API key>
rc=spldecrypt(<API key>);
if(rc)
goto exit;
#endi... |
from GUIComponent import GUIComponent
from VariableText import VariableText
from os import statvfs
from enigma import eLabel
# TODO: Harddisk.py has similiar functions, but only similiar.
# fix this to use same code
class DiskInfo(VariableText, GUIComponent):
FREE = 0
USED = 1
SIZE = 2
def __init__(self... |
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include "util.h"
#include "ops.h"
#include "sema.h"
#include "debug.h"
/* Protects all reference counters in keys. All other accesses to a
key are read only. */
DEFINE_STATIC_LOCK (key_ref_l... |
package com.nationwide.mqtt;
public final class <API key> {
public static final String TCPADDRESS = "tcp://52.4.65.48:1883";
public static final String CLIENTID = "gpspublisher";
public static final int SLEEPTIMEOUT = 10000;
public static final int QOS0 = 0;
public static final boolean RETAINED = fa... |
# shotbot
Script to help identify and mobilize political action related to gun violence.
The script currently:
- Fetches a list of yesterday's incidents relating to gun violence (incl. city/state and link to source),
- Finds the geolocation of each of the incidents (lat/long),
- Identifies which state and national legi... |
<!DOCTYPE html>
<html lang="zh-cn">
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=GB2312" /><!-- /Added by HTTrack -->
<head>
<meta charset="utf-8" />
<meta name="robots" content="all" />
<meta name="author" content="w3school.com.cn" />
<link rel="stylesheet" type="text/css" href="... |
# SecretKey.pm
# - providing an object-oriented approach to GnuPG secret keys
# This module is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This program is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#... |
<?php
namespace PHPRealCoverage\Proxy;
class <API key>
{
private $someParameter;
public function __construct($someParameter)
{
$this->someParameter = $someParameter;
}
public function getSomeParameter()
{
return $this->someParameter;
}
} |
package org.klomp.cassowary.clconstraint;
import org.klomp.cassowary.ClLinearExpression;
import org.klomp.cassowary.ClStrength;
class ClLinearConstraint extends ClConstraint {
protected ClLinearExpression _expression;
public ClLinearConstraint(ClLinearExpression cle, ClStrength strength, double weight) {
... |
/* Trivial i2c driver for the maxim DS1621 temperature sensor;
* just implements reading constant conversions with 8-bit
* resolution.
* Demonstrates the implementation of a i2c high-level driver.
*/
#include <rtems.h>
#include <rtems/libi2c.h>
#include <libchip/i2c-ds1621.h>
#include <rtems/libio.h>
static rtems_s... |
<html>
<h1>Autoplot Version 1.0</h1>
<p>Autoplot uses das2, an open-source java library for data visualization and data analysis created by the Radio and Plasma Wave Group at the University of Iowa.
</p>
<p>Autoplot was developed under NASA Award TODO 123-3456-78</p>
<p>Contributors:
<li>Jer... |
package com.pixo.serviceImpl;
import java.util.List;
import java.util.concurrent.<API key>;
import net.sf.json.JSONObject;
import org.springframework.stereotype.Component;
/**
* @author abhibm
*
*
*Utility class to keep all file data for a rest call and clear it at the end of the call
*/
@Component("ListUtility")
... |
<?php
/** ensure this file is being included by a parent file */
defined('_JEXEC') or die('Restricted access');
Tienda::load( 'TiendaModelBase', 'models._base' );
class <API key> extends TiendaModelBase
{
protected function _buildQueryWhere(&$query)
{
$filter = $this->getState('filter')... |
\chapter{Simulations}
\label{cha:simulations}
This chapter is about the different simulations available with
SimSpark. In particular the soccer simulation is described in detail.\newline
%-SECTION
%
%
\section{The Soccer Simulation}
\label{sec:soccersimulation}
We implemented a simulation for SimSpark where two teams o... |
#include "SQLite.h"
#include <sstream>
#include <stdexcept>
#include <sqlite3.h>
using namespace Chronos;
SQLite_DB::SQLite_DB(const std::string &fileName, const bool readOnly, const int BusyTimeoutMs) : strFileName(fileName)
{
int res = sqlite3_open_v2(strFileName.c_str(), &handle,
readOnly ? <API key> : <... |
package org.n52.sos.config.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation that should be applied ... |
using System.Collections;
using Db4oUnit.Extensions;
using Db4objects.Db4o.Config;
using Db4objects.Db4o.Tests.Jre5.Collections.Typehandler;
using Db4objects.Db4o.Typehandlers;
namespace Db4objects.Db4o.Tests.Jre5.Collections.Typehandler
{
public class <API key> : <API key>
{
public static void Main(str... |
<!DOCTYPE html>
<html lang="zh-CN" <API key>="auto">
<head><meta name="generator" content="Hexo 3.9.0">
<meta charset="UTF-8">
<link rel="apple-touch-icon" sizes="76x76" href="/img/favicon.png">
<link rel="icon" type="image/png" href="/img/favicon.png">
<meta name="viewport" content="width=device-widt... |
#ifndef _LEO_H
#define _LDO_H
#define LDO_NUM 3
typedef enum
{
V365 = 0x80, V360 = 0x81, V355 = 0x82, V350 = 0x83, V345 = 0x84,
V340 = 0x85, V335 = 0x86, V330 = 0x87, V325 = 0x88, V320 = 0x89,
V315 = 0x8A, V310 = 0x8B, V305 = 0x8C, V300 = 0x8D, V295 = 0x8E, V290 = 0x8F,
V285 = 0x90, V280 = 0x91, ... |
/*
* @file
* Library of shared code for feedback_client.
*/
/**
* Create HTML with links to attachments.
* @param {Array} attachmentData Data about attachments. Array, each element
* an object with filename and url.
* @param {string} titleToUse Title for the section. Defaults to Attachments.
* @returns {Str... |
select blocking_session_id, wait_duration_ms, session_id from
sys.dm_os_waiting_tasks
where blocking_session_id is not null
-- blocking_session_id SQL blocking_session_id 87 SQL
dbcc INPUTBUFFER(87) |
package de.quist.app.samyGoRemote;
import android.os.Bundle;
import android.preference.PreferenceActivity;
public class <API key> extends PreferenceActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
<API key>(R.xml.main_preferences);
... |
<?php
/**
* Form Edit Page inheriting from EditPage
*
* @author Daniel Friesen
* @author Yaron Koren
*/
class SFFormEditPage extends EditPage {
protected $form, $form_name;
function __construct( $article, $form_name = '' ) {
global $wgRequest;
parent::__construct( $article );
SFUtil... |
package org.adempierelbr.process;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import org.adempierelbr.gia.CounterGIA;
import org.adempierelbr.gia.beans.CR01;
import org.adempierelbr.gia.beans.CR10;
import org.adempierelbr.gia.beans.CR14;
import org.adempierel... |
/* This file is part of the NANOS++ library. */
/* NANOS++ is free software: you can redistribute it and/or modify */
/* (at your option) any later version. */
/* NANOS++ is distributed in the hope that it will ... |
<?php
$<API key> = array
(
'<API key>' => 'Empty categories and products cache',
'BUTTON_DATA_CACHE' => 'Empty modules cache',
'<API key>' => 'Empty filter cache',
'<API key>' => 'Empty email templates cache',
'BUTTON_OUTPUT_CACHE' => 'Empty page output cache',
'<API key>' => 'Empty properties c... |
// 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
#ifndef <API key>
#define <API key>
#include <omnetpp.h>
/**
* TODO - Genera... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Drupal Camp</title>
<link rel="stylesheet" href="../css/main.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
</head>
<body> |
package net.sf.freecol.client.gui.panel;
import java.awt.Dimension;
import java.awt.event.ItemEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Map.Entry;
import java... |
/* See Documentation/block/row-iosched.txt */
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/blkdev.h>
#include <linux/elevator.h>
#include <linux/bio.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/compiler.h>
#include <linux/blktrace_api.h>
#include <linux... |
<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><link rel='stylesheet' type='text/css' href='../tononkira.css' /></head><body><ul class="hira-fihirana-list"><li style="color: red;"><b>Fihirana Vaovao</b> <i>p. 402</i></li><li style="color: red;"><b>Vavaka sy Hira</b> <i>p. 441</i></li><... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_91) on Fri Nov 11 17:46:57 CET 2016 -->
<title>Javadocs: OCT</title>
<script type="text/javascript">
targetPage = "" + window.location.search;
if (targetPage != "" && targetPage != "undefined")
targetPage ... |
#include <linux/errno.h>
#include <linux/export.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/timex.h>
#include <linux/kernel_stat.h>
#include <linux/time.h>
#include <linux/clockchips.h>
#inclu... |
<?php
$IdFaq=70;$lang="pl";require_once "publicfaq.php";
?> |
'use strict';
import * as UIkit from 'uikit3';
export class Upload {
private options = {
'url': '',
'multiple': true,
};
public static bootstrap() {
$(".js-upload").each(function() {
let upload = new Upload();
upload.init(this);
});
}
private i... |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http:
<head>
<title>Identifier Index</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script type="text/javascript" src="epydoc.js"></scri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.Data.Filtering;
using Vinabits_OM_2017.Module.BusinessObjects;
using DevExpress.ExpressApp;
namespace Vinabits_OM_2017.Module.<API key>
{
class <API key> : <API key>
{
public const string OperatorName ... |
<?php require (__DIR__.'/../utils/utils.php') ?>
<?php
class TabellinoBusiness {
/*
* Restituisce le formazioni/tabellino della giornata richiesta
*/
public function <API key>($partita, $giornata, $giocata) {
$tabellino = array();
if ($giocata == 0) {
$lines = file(host . j... |
"""Emit a message for iteration through dict keys and subscripting dict with key."""
# pylint: disable=line-too-long,missing-docstring,<API key>,<API key>,<API key>,use-dict-literal,<API key>
def bad():
a_dict = {1: 1, 2: 2, 3: 3}
for k in a_dict: # [<API key>]
print(a_dict[k])
another_dict = dict(... |
#include <Ice/ConnectionFactory.h>
#include <Ice/ConnectionI.h>
#include <Ice/Instance.h>
#include <Ice/LoggerUtil.h>
#include <Ice/TraceLevels.h>
#include <Ice/<API key>.h>
#include <Ice/Properties.h>
#include <Ice/Transceiver.h>
#include <Ice/Connector.h>
#include <Ice/Acceptor.h>
#include <Ice/ThreadPool.h>
#include... |
module RemedyView
class Hooks < Redmine::Hook::ViewListener
render_on :<API key>,
:partial => 'issues/remedy_ticket_form'
render_on :<API key>,
:partial => 'issues/remedy_tickets'
end
end |
# -*- coding: utf-8 -*-
# Authors:
# Thomas Woerner <twoerner@redhat.com>
# 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
__all__... |
<?php
if (!defined('_JEXEC')) die('Direct Access to this location is not allowed.');
$sh_LANG['fr']['<API key>'] = 'Creer nouvel flux RSS';
// english
$sh_LANG['en']['<API key>'] = 'Create new RSS feed';
// spanish
$sh_LANG['es']['<API key>'] = 'Nuevo flujo RSS';
// german
$sh_LANG['de']['<API key>'] = 'N... |
#include "resources/resource.h"
#include "logger.h"
#include "resources/resourcemanager.h"
#include "debug.h"
Resource::~Resource()
{
}
void Resource::incRef()
{
#ifdef DEBUG_IMAGES
logger->log("before incRef for: %p", static_cast<void*>(this));
mRefCount++;
logger->log("after incRef: %p, %d", static_cast<v... |
#include "../config.h"
#include "../lib/ftndlib.h"
#include "screen.h"
#include "mutil.h"
#include "ledit.h"
#include "m_global.h"
#include "m_menu.h"
#include "m_domain.h"
int DomainUpdated;
/*
* Count nr of domtrans records in the database.
* Creates the database if it doesn't exist.
*/
int CountDomain(void)
{
... |
import scala.util.Random
object Simulator {
val NumberOfSimulations: Int = 100000
def <API key>(options: Int, confidence: Double, simulations: Int) : Int = {
var done = false
var trials = 1
while(!done) {
<API key>(options, trials, confidence, simulations) match {
case Some(t) => done = tr... |
.VS-search .VS-icon {
background-repeat: no-repeat;
background-position: center center;
vertical-align: middle;
width: 16px; height: 16px;
}
.VS-search .VS-icon-cancel {
width: 11px; height: 11px;
background-position: center 0;
background-image: url("data:image/png;charset=utf-8;base64,iVBORw0KGgo... |
#ifndef RAYSHADER_LIQUID_H_
# define RAYSHADER_LIQUID_H_
#include <GL/glut.h>
#include <vector>
#include "RipplePoint.h"
//TYPEDEF
typedef std::vector<float> t_HeightRow;
typedef std::vector<t_HeightRow> t_HeightMap2;
typedef std::vector<RipplePoint*> RippleList;
typedef std::vector<glm::vec3> t_HeightMap;
typedef st... |
<?php
/**
* @file
* Contains \Drupal\menu_link_content\Entity\MenuLinkContent.
*/
namespace Drupal\menu_link_content\Entity;
use Drupal\Core\Entity\ContentEntityBase;
use Drupal\Core\Entity\<API key>;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Field\FieldDefinition;
use Drupal\Core\Url;
class MenuLi... |
app.views.LastPlannerView = Backbone.View.extend({
events: {
},
initialize: function(options){
this.project_id = options['project_id'];
},
render: function(){
_.each(this.$('.activity-wrap'), function(item){
var activity_id = $(item).attr('activity-id');
var activityCard = new app.views.Ac... |
<?php
header('Content-type:text/html; charset=utf-8');
define('DOING_AJAX', true);
$parse_uri = explode('wp-content', $_SERVER['SCRIPT_FILENAME']);
require_once($parse_uri[0] . 'wp-load.php');
require_once($parse_uri[0] . 'wp-admin/includes/admin.php');
if (!is_user_logged_in() || !current_user_can('edit_posts')) {
... |
<?
# Lifter002: TODO
# Lifter007: TODO
# Lifter003: TODO
# Lifter010: TODO
/**
* <API key>.class.php
*
*
*
*
* @author Peter Thienel <pthienel@web.de>, Suchi & Berg GmbH <info@data-quest.de>
* @access public
* @modulegroup extern
* @module <API key>
* @package studip_extern
*/
// This file is part o... |
# -*- coding: utf-8 -*-
from django.db import models
class RssFeed(models.Model):
url = models.URLField(unique=True, db_index=True, default='')
name = models.CharField(blank=True, default='', max_length=100)
lastmodified = models.DateTimeField(editable=False, auto_now=True,
... |
package org.nadozirny_sv.ua.cubic;
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import android.content.Intent;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import a... |
package com.github.smeny.jpc.emulator.execution.opcodes.pm;
import com.github.smeny.jpc.emulator.execution.*;
import com.github.smeny.jpc.emulator.execution.decoder.*;
import com.github.smeny.jpc.emulator.processor.*;
import com.github.smeny.jpc.emulator.processor.fpu64.*;
import static com.github.smeny.jpc.emulator.pr... |
<?php
/**
* Signals to the factory that the instance can be reused.
*
* Instances of this interface are treated as static. Once you initialise the
* instance, it's kept and used again each time you reference the class using
* the factory.
*
* For instance, the following will remember the initial value:
*
* <co... |
#include "mesh.h"
#include "mesh_xml.h"
#include "aux_texture.h"
#include "aux_logo.h"
#include "vegastrike.h"
#include <iostream>
#include <fstream>
#include <expat.h>
#include <float.h>
#include <assert.h>
#include "ani_texture.h"
#ifndef _WIN32
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#else
#... |
package org.j3d.aviatrix3d;
// External imports
// None
// Local imports
import org.j3d.aviatrix3d.rendering.SceneCullable;
import org.j3d.aviatrix3d.rendering.ViewportCullable;
import org.j3d.aviatrix3d.rendering.<API key>;
/**
* A viewport that contains a single scene, with no internal layering.
* <p>
*
* @author... |
<?php
namespace Spray\BundleIntegration;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* DO NOT USE THIS BUNDLE IN YOUR APPLICATION
*
* This bundle is intended to be used for unittests for this project only.
*
* IntegrationBundle
*/
class IntegrationBundle extends Bundle
{
} |
/* Qualcomm Technologies, Inc. EMAC Gigabit Ethernet Driver */
#include <linux/if_ether.h>
#include <linux/if_vlan.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_net.h>
#include <linux/of_device.h>
#include <linux/phy.h>
#include <linux/platform_... |
#include <common.h>
#include <exports.h>
#include <orion_tuner.h>
int main()
{
int err_code = 0;
TUNER_PARAMS_S tuner_param;
TUNER_STATUS_E tuner_status = 0;
printf("Into main. \n");
err_code = CSTUNER_Open(TUNER_DVBC);
if(err_code < 0)
{
printf("Error: CSTUNER_Init.\n");
ret... |
<?php
namespace Skypress\Models;
defined( 'ABSPATH' ) or die( 'Cheatin’ uh?' );
/**
* @version 1.0.0
* @since 1.0.0
*
* @author Thomas DENEULIN <thomas@delipress.io>
*/
interface ServiceInterface {} |
<?php
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page" class="s... |
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/input.h>
#include <linux/earlysuspend.h>
#include <linux/miscdevice.h>
#include <linux/input/cypress-t... |
package org.kde.kdeconnect.Plugins.MprisPlugin;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Handler;
import android.os.Message;
import android.support.v4.app.NotificationCompat;
import android.support.v4.app.T... |
#ifdef HAVE_CONFIG_H
#include <fc_config.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <gtk/gtk.h>
/* utility */
#include "log.h"
#include "mem.h"
#include "shared.h"
#include "support.h"
/* common */
#include "diptreaty.h"
#include "fcintl.h"
#include "game.h"
#include "government.h"
#include "map.h"
#incl... |
program testchi
c Testchi provides an interactive interface to the code that calculates
c the chi**2 of a given SFH model. The user may change the parameters
c of the fit at runtime and see the effect of the changes on the chi**2
c
c Jason Harris, Revised May 24, 2000
c
include '../sfhcode/sfh.h... |
import logging
from threading import RLock
from struct import unpack
class ReadBuffer(object):
"""This class receives incoming data, and stores it in a list of extents
(also referred to as buffers). It allows us to leisurely pop off sequences
of bytes, which we build from the unconsumed extents. As the exte... |
/* data dump of edit-datetime-16.png */
static const unsigned char <API key>[882] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x08, 0x06, 0x00, 0x00, 0x00, 0x1f, 0xf3, 0xff,
0x61, 0x00, 0x00, 0x00, 0x09, ... |
package freenet.store;
public interface StorableBlock {
byte[] getRoutingKey();
byte[] getFullKey();
} |
#ifndef __RTL8192C_CMD_H_
#define __RTL8192C_CMD_H_
enum cmd_msg_element_id
{
NONE_CMDMSG_EID,
AP_OFFLOAD_EID=0,
SET_PWRMODE_EID=1,
JOINBSS_RPT_EID=2,
RSVD_PAGE_EID=3,
RSSI_4_EID = 4,
RSSI_SETTING_EID=5,
MACID_CONFIG_EID=6,
MACID_PS_MODE_EID=7,
P2P_PS_OFFLOAD_EID=8,
<API key>... |
from node import NodeChain
from opcode_ import OPCode
def node_to_atom(node, iterator):
arg_size = node.get_arg_size()
atom = NodeChain(node)
while arg_size > 0:
try:
arg = iterator.next()
except StopIteration:
raise ValueError("Not enough arguments")
if isins... |
package net.pms.newgui;
import com.jgoodies.forms.builder.PanelBuilder;
import com.jgoodies.forms.factories.Borders;
import com.jgoodies.forms.layout.CellConstraints;
import com.jgoodies.forms.layout.FormLayout;
import com.sun.jna.Platform;
import net.pms.Messages;
import net.pms.PMS;
import net.pms.configuration.PmsCo... |
package com.examstack.common.domain.question;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
// group_2_filed
public class Group2Field implements Serializable {
private Integer groupId;
private String groupName;
private Integer fieldId;
private String field... |
package org.das2.util;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
/**
*
* @author eew
*/
public class MessageBox extends Dialog {
public static final int OK = 1;
public static final int C... |
require 'gyoku'
module Garbanzo
class Subscription
class Base
module XMLFormatter
def to_xml
Gyoku.xml(self.nodes)
end
end
def self.call(*args)
new.call *args
end
def initialize(connection = Garbanzo.connection)
@connection = connection
... |
subroutine snr4(blue,sync,snr)
real blue(65)
integer ipk1(1)
equivalence (ipk,ipk1)
ipk1=maxloc(blue)
ns=0
s=0.
do i=1,65
if(abs(i-ipk).gt.1) then
s=s+blue(i)
ns=ns+1
endif
enddo
base=s/ns
blue=blue-base
sq=0.
do i=1,65
if(abs(i-ipk).gt.1) sq=sq+blue(i)**2
enddo
... |
<div class="announce instapaper_body mkd" data-path="README.mkd" id="readme"><article class="markdown-body entry-content" itemprop="mainContentOfPage"><h1>
<a name="user-content-vimux" class="anchor" href="#vimux" aria-hidden="true"><span class="octicon octicon-link"></span></a>vimux</h1>
<p>Easily interact with tmux f... |
package com.sales.model;
import java.util.List;
public class SAction {
/**
* This field was generated by Abator for iBATIS.
* This field corresponds to the database column s_action.action_id
*
* @abatorgenerated Tue Apr 23 17:36:30 CST 2013
*/
private Integer actionId;
/**
* Th... |
package br.com.urcontroler.main.view.interfaces;
import br.com.urcontroler.main.MainScreen;
import br.com.urcontroler.main.view.View;
import java.util.logging.Logger;
import javax.swing.JComponent;
/**
* Interface para Views
*
* @author kaciano
* @param <T> Tipo do Bean
*/
public interface ViewListener<T> {
/*... |
/* line 1, ../sass/subscribe-form.scss */
form.prompt-subscribe label.prompt-topic {
display: none;
}
.loading-indicator {
width: 40px;
height: 40px;
background-color: #ddd;
border-radius: 100%;
-webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
animation: sk-scaleout 1.0s infinite ease-in-out;
v... |
<?php
define ("<API key>", 0);
define ("SERIAL_DEVICE_SET", 1);
define ("<API key>", 2);
class phpSerial
{
var $_device = null;
var $_windevice = null;
var $_dHandle = null;
var $_dState = <API key>;
var $_buffer = "";
var $_os = "";
/**
* This var says if buffer should be flushed by se... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.