answer stringlengths 15 1.25M |
|---|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/delay.h>
#include <linux/serial.h>
#include <linux/tty.h>
#include <linux/serial_8250.h>
#include <linux/serial_reg.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <asm/mach-types.h>
#include <mac... |
#! /bin/sh
# This program is free software; you can redistribute it and/or modify
# the Free Software Foundation; either version 2, or (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
# Make sure AC_LI... |
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <arch/io.h>
#include "sis966.h"
#include <usbdebug.h>
static const u8 SiS_SiS7002_init[22][3]={
{0x04, 0x00, 0x06},
{0x0D, 0x00, 0x00},
{0x2C, 0xFF, 0x39},
{0x... |
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Implementation of the Transmission Control Protocol(TCP).
*
* Authors: Ross Biro
... |
#include "qgsapplication.h"
#include "qgscomposition.h"
#include "qgscomposerlabel.h"
#include "qgscomposershape.h"
#include "qgscomposerarrow.h"
#include "qgscomposerhtml.h"
#include "qgscomposerframe.h"
#include "qgsmapsettings.h"
#include <QObject>
#include <QtTest/QtTest>
class TestQgsComposition : public QObject
{... |
#include <wchar.h>
#ifdef WCSPBRK
# define wcspbrk WCSPBRK
#endif
/* Find the first occurrence in WCS of any wide-character in ACCEPT. */
wchar_t *
wcspbrk (const wchar_t *wcs, const wchar_t *accept)
{
while (*wcs != L'\0')
if (wcschr (accept, *wcs) == NULL)
++wcs;
else
return (wchar_t *) wcs;
... |
<?php
// $Id: theme-settings.php,v 1.6 2008/05/13 09:19:13 johnalbin Exp $
/**
* Implementation of THEMEHOOK_settings() function.
*
* @param $saved_settings
* An array of saved settings for this theme.
* @return
* A form array.
*/
function STARTERKIT_settings($saved_settings) {
// Get the default values fr... |
#ifndef LSFCONFIGDIALOG_H
#define LSFCONFIGDIALOG_H
#ifdef ENABLE_SSH
//Doxygen should ignore this file:
@cond
#include <QtGui/QDialog>
namespace Ui {
class LsfConfigDialog;
}
namespace GlobalSearch {
class AbstractDialog;
class OptBase;
class LsfQueueInterface;
class LsfConfigDialog : public QDialog
{
... |
#!/usr/bin/env perl
# This script runs the transactional stress test "stress_tx_rr" against the
# transactional storage engine and looks for errors in two log files:
# var/stress/<timestamp>/mysql-stress-test.log
# var/log/master.err
# The script assumes current working dir is mysql-test/.
# Regarding the server er... |
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
#include <assert.h>
#include <errno.h>
#include <stdbool.h>
#include "acl-util.h"
#include "util.h"
#include "strv.h"
int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *entry) {
acl_entry_t i;
int r;
assert(acl);
assert(entry... |
// Use, modification and distribution are subject to the
#include <pch_light.hpp>
#include "test_trigamma.hpp"
void expected_results()
{
// Define the max and mean errors expected for
// various compilers and platforms.
const char* largest_type;
#ifndef <API key>
if(boost::math::policies::digits<double, bo... |
module.exports={A:{A:{"2":"H G SB","4":"F C A B"},B:{"4":"D q W I"},C:{"4":"0 1 2 3 QB E K H G F C A B D q W I L M N O P Q R S T U V s X Y Z a b c d e f J h i j k l m n o p u v w t y r g OB NB"},D:{"4":"0 1 2 6 9 E K H G F C A B D q W I L M N O P Q R S T U V s X Y Z a b c d e f J h i j k l m n o p u v w t y r g CB RB A... |
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/delay.h>
#include <linux/export.h>
#include <linux/gpio.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_data/b53.h>
#include <linux/phy.h>
#include <linux/etherdevice.h>
#include <linux/if_bridge.h>
#include <net/dsa.h>
#include... |
#ifndef __ASM_POSIX_TYPES_H
#define __ASM_POSIX_TYPES_H
typedef unsigned short __kernel_old_uid_t;
typedef unsigned short __kernel_old_gid_t;
#define __kernel_old_uid_t __kernel_old_uid_t
#ifdef __ILP32__
typedef long long __kernel_long_t;
typedef unsigned long long __kernel_ulong_t;
#define __kernel_long_t __kernel_lo... |
<html lang="en">
<head>
<title>Incompatibilities - Using the GNU Compiler Collection (GCC)</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using the GNU Compiler Collection (GCC)">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.ht... |
#include "trp_client.hpp"
#include "TransporterFacade.hpp"
#include <NdbMem.h>
trp_client::trp_client()
: m_blockNo(~Uint32(0)), m_facade(0)
{
m_mutex = NdbMutex_Create();
m_locked_for_poll = false;
m_send_nodes_cnt = 0;
m_send_buffers = new TFBuffer[MAX_NODES];
}
trp_client::~trp_client()
{
/**
* requir... |
#include "qglrenderer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(<API key>)
#error "The header file 'qglrenderer.h' doesn't include <QObject>."
#elif <API key> != 67
#error "This file was generated using the moc from 5.2.1. It"
#error "cannot be used with the include files from this ve... |
#include <stddef.h>
#include <sys/ioctl.h>
/* Wait for pending output to be written on FD. */
int
__libc_tcdrain (int fd)
{
return __ioctl (fd, TIOCDRAIN);
}
weak_alias (__libc_tcdrain, tcdrain) |
<?php
// |zen-cart Open Source E-commerce |
// | available through the world-wide-web at the following url: |
// | to obtain it through the world-wide-web, please send a note to |
// | Do Not Remove: Coded for Zen-Cart by geeks4u.com |
// | Dedic... |
/* MELFAS HEX to C converter v1.9 for MMS100 [2012.01.27] */
const UINT16 <API key> = 0x7C00; /* 31.0 KBytes ( 31744 Bytes ) */
const UINT8 MELFAS_binary_2[] = {
/* Module revision : R31 */
/* Firmware version : V4D */
0x00, 0x20, 0x00, 0x20, 0x79, 0x02, 0x00, 0x00,
0x39, 0x02, 0x00, 0x00, 0x3D... |
#ifndef DASHER_H
#define DASHER_H
#include "GtkDasherControl.h"
/* // TODO: Call these via signals */
extern "C" void <API key>(GtkDasherControl *pDasherControl, gint iParameter, gpointer data);
#endif |
#ifndef __PIC18F43K22_H__
#define __PIC18F43K22_H__
// Register Definitions
// ANSELA Bits
extern __at(0x0F38) __sfr ANSELA;
typedef struct
{
unsigned ANSA0 : 1;
unsigned ANSA1 : 1;
unsigned ANSA2 : 1;
unsigned ANSA3 : 1;
unsigned ... |
import os
import subprocess
import time
import logging
from autotest.client import utils
from autotest.client.shared import error, utils_cgroup
class MemoryLimit(object):
"""
Test memory sub system.
Use it to control memory resource.
1. Clear all cgroups and init modules and parent cgroup.
2. Create... |
#include <stdio.h>
#include <rsf.h>
#include "spray.h"
int main(void) {
double dot1[2], dot2[2];
int n=20, ns=3, ns2;
ns2 = spray_init(ns);
sf_dot_test(spray_lop, n, n*ns2, dot1, dot2);
printf ("%12.8f ? %12.8f\n",dot1[0],dot1[1]);
printf ("%12.8f ? %12.8f\n",dot2[0],dot2[1]);
exit(0);
} |
<?php
/**
* This file displays page with no sidebar.
*
*/
?>
<?php
/**
* <API key>
*
* <API key> PRIORITY
*
* <API key> 10
*/
do_action( '<API key>' );
/**
* <API key>
*
* <API key> PRIORITY
*
* travelify_theloop 10
*/
do_action( '<API key>' );
/... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Boost.Geometry (aka GGL, Generic Geometry Library)</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type=... |
//This code is part of a larger project whose main purpose is to entretain either //
//by working on it and helping it be better or by playing it in it's actual state //
// This program is free software; you can redistribute it and/or modify //
// the Free Software Foundation; either version 2, o... |
#include "keyframehandles.h"
#include "mwindow.h"
#include "theme.h"
KeyframeHandle::KeyframeHandle(MWindow *mwindow,
TrackCanvas *trackcanvas,
Track *track,
int64_t position,
int x,
int y)
: CanvasTool(mwindow,
trackcanvas,
0,
x,
y,
0)
{
this->track = t... |
#pragma once
#include <memory>
#include <QWidget>
namespace Ui {
class ConfigureGraphics;
}
class ConfigureGraphics : public QWidget {
Q_OBJECT
public:
explicit ConfigureGraphics(QWidget* parent = nullptr);
~ConfigureGraphics();
void applyConfiguration();
void retranslateUi();
private:
void setC... |
#ifndef __VIDSTBAPI_H__
#define __VIDSTBAPI_H__
#ifdef __cplusplus
extern "C"
{
#endif
#include "basetype.h"
/* Function return values */
typedef enum VideoStbRet_
{
VIDEOSTB_OK = 0,
VIDEOSTB_ERROR = -1,
<API key> = -2,
<API key> = -3,
<API key> = -4,
VIDEOSTB_EWL... |
#media-browser-page fieldset .fieldset-wrapper {
padding-left: 5px;
}
.view-media-default {
margin-right: 0;
border-right: 0;
}
div.form-item-link-text {
margin-left: 10px;
position: relative;
z-index: 2;
}
div.form-item-link-text {
margin-top: 0.3em;
margin-left: 10.5em;
}
div.form-item... |
#ifndef THD_CDEV_H
#define THD_CDEV_H
#include "thd_common.h"
#include "thd_sys_fs.h"
#include "thd_preference.h"
#include <time.h>
class cthd_cdev
{
protected:
int index;
int curr_state;
int max_state;
int min_state;
csys_fs cdev_sysfs;
unsigned int trip_point;
std::string type_str;
uns... |
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/jack.h>
#include <sound/asoundef.h>
#include <sound/tlv.h>
#include "hda_codec.h"
#include "hda_local.h"
#include "hda_jack.h"
static bool static_hdmi_pcm;
module_param(static_hdmi_... |
<?php
namespace eZ\Publish\Core\Persistence\Legacy\Content\Search\Common\Gateway\SortClauseHandler;
use eZ\Publish\Core\Persistence\Legacy\Content\Search\Common\Gateway\SortClauseHandler;
use eZ\Publish\API\Repository\Values\Content\Query\SortClause;
use eZ\Publish\Core\Persistence\Database\SelectQuery;
/**
* Content ... |
-- Convert schema '/home/martchus/repos/openQA/script/../dbicdh/_source/deploy/46/001-auto.yml' to '/home/martchus/repos/openQA/script/../dbicdh/_source/deploy/47/001-auto.yml':;
;
BEGIN;
;
CREATE TABLE job_group_parents (
id INTEGER PRIMARY KEY NOT NULL,
name text NOT NULL,
<API key> integer,
<API key> integer... |
/*
* Scripts for spells with SPELLFAMILY_ROGUE and SPELLFAMILY_GENERIC spells used by rogue players.
* Ordered alphabetically using scriptname.
* Scriptnames of files in this file should be prefixed with "spell_rog_".
*/
#include "Player.h"
#include "ScriptMgr.h"
#include "SpellScript.h"
#include "SpellAuraEffects.... |
/* <API key>: GPL-2.0 */
#include <linux/sched.h>
#include <linux/sched/task.h>
#include <linux/sched/task_stack.h>
#include <linux/interrupt.h>
#include <asm/sections.h>
#include <asm/ptrace.h>
#include <asm/bitops.h>
#include <asm/stacktrace.h>
#include <asm/unwind.h>
unsigned long <API key>(struct unwind_state *stat... |
#ifndef _SOC_ROMSTAGE_H_
#define _SOC_ROMSTAGE_H_
#include <soc/intel/common/romstage.h>
struct chipset_power_state;
struct chipset_power_state *fill_power_state(void);
void <API key>(void);
void pch_early_init(void);
void pch_uart_init(void);
void <API key>(void);
void enable_smbus(void);
int smbus_read_byte(unsigned ... |
#ifndef _LINUX_MM_TYPES_H
#define _LINUX_MM_TYPES_H
#include <linux/auxvec.h>
#include <linux/types.h>
#include <linux/threads.h>
#include <linux/list.h>
#include <linux/spinlock.h>
#include <linux/prio_tree.h>
#include <linux/rbtree.h>
#include <linux/rwsem.h>
#include <linux/completion.h>
#include <linux/cpumask.h>
#... |
# Set build-directive (used in core to tell which buildtype we used)
add_definitions(-D_BUILD_DIRECTIVE='"$(CONFIGURATION)"')
if(WITH_WARNINGS)
set(WARNING_FLAGS "-W -Wall -Wextra -Wwrite-strings -Winit-self -Woverloaded-virtual -Wfatal-errors")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARNING_FLAGS}")
set(CMAKE_CXX... |
#ifndef PAN_VIEW_H
#define PAN_VIEW_H
void pan_window_new(FileData *dir_fd);
#endif
/* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |
#ifndef __CUST_EINTH
#define __CUST_EINTH
#ifdef __cplusplus
extern "C" {
#endif
#define <API key> 0
#define <API key> 1
#define <API key> 0
#define <API key> 1
#define <API key> 0
#define <API key> 1
#define CUST_EINT_ALS_NUM 1
#define <API ... |
#define DEBUG_SUBSYSTEM S_CLASS
#ifndef __KERNEL__
#include <liblustre.h>
#endif
#include <lustre_export.h>
#include <lustre_net.h>
#include <obd_support.h>
#include <obd_class.h>
void statfs_pack(struct obd_statfs *osfs, struct kstatfs *sfs)
{
memset(osfs, 0, sizeof(*osfs));
osfs->os_type = sfs->f_type... |
<?php
defined('_JEXEC') or die('Restricted access');
?><?php
JHTML::_('behavior.modal','a.modal');
if(!include_once(rtrim(JPATH_ADMINISTRATOR,DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_acymailing'.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'helper.php')){
echo 'This module... |
<?php
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');
if ( <API key>() ) { ?>
<p class="nocomments">This post is password protected. Enter the password to view comments.</p>
<?php
... |
#include "adreno.h"
#include "kgsl_sharedmem.h"
#include "a3xx_reg.h"
#include "adreno_pm4types.h"
#define <API key> 0x5FF064
#define <API key> 0x5FF052
/*
* _wait_reg() - make CP poll on a register
* @cmds: Pointer to memory where commands are to be added
* @addr: Register address to poll for
* @val: Valu... |
#define _LARGEFILE64_SOURCE
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include <libgen.h>
#include <linux/hdreg.h>
#include <linux/types.h>
#include <... |
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/cache.h>
#include <linux/profile.h>
#include <linux/errno.h>
#include <linux/mm.h>
#include <linux/err.h>
#include <linux/cpu.h>
#include <linux/sm... |
package edu.cmu.tetrad.cli.util;
import java.io.PrintStream;
import java.io.StringReader;
import javax.xml.transform.OutputKeys;
import javax.xml.transform.Transformer;
import javax.xml.transform.<API key>;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.<API key>;
import javax.xml.transform.s... |
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include "spline1d.h"
int main(int argc, char **argv)
{
ap::real_1d_array x;
ap::real_1d_array y;
ap::real_1d_array d;
int n;
int i;
double t;
spline1dinterpolant s;
double err;
double maxerr;
// Interpolation by natural Cu... |
// C++ code generated with wxFormBuilder (version Sep 8 2010)
// PLEASE DO "NOT" EDIT THIS FILE!
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif //__BORLANDC__
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif //WX_PRECOMP
#include "ConfigPanel.h"
ConfigPanel::ConfigPanel( wxWindow* parent, wxWindowID id,... |
#!/usr/bin/env python
from pyurdme.adfsp_solver import ADFSPSolver
from examples.cylinder_demo.cylinder_demo3D import cylinderDemo3D
import matplotlib.pyplot as plt
import numpy
import pyurdme
import time
model = cylinderDemo3D()
sol = ADFSPSolver(model, report_level=1, error_tolarance=0.05)
print "Attempting to compil... |
#include "net/quic/core/quic_time.h"
#include "net/quic/test_tools/mock_clock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace test {
TEST(QuicTimeDeltaTest, Zero) {
EXPECT_TRUE(QuicTime::Delta::Zero().IsZero());
EXPECT_FALSE(QuicTime::Delta::Zero().IsInfinite());
EXPECT_FALSE(QuicTime:... |
#include "melkor.h"
#define BUFF_SIZE 2048
int main(int argc, char *argv[], char *envp[])
{
unsigned short cnt = 0, ndx;
char *env_PATH, *path, env_paths[13][37]; // Only 13 paths taken from $PATH with 37 chars each one, enough to play with ...
char *env_LD_LIBRARY_PATH = malloc(BUFF_SIZE); // Yeah yeah, I ... |
#include "at_command.h"
#include "commonDef.h"
#include "nas_log.h"
#include "at_error.h"
#include <ctype.h> // isspace, isdigit
#include <stdlib.h> // strtol, malloc, free
#include <string.h> // strncpy, strstr, strchr, strcmp, strncasecmp
// strlen, memmove, strdup, strtok
#include <stdarg.h> // va_start, va_arg, va... |
from discord.ext import commands
from .utils.dataIO import dataIO
from .utils.chat_formatting import <API key>
from .utils import checks
from collections import defaultdict
from string import ascii_letters
from random import choice
import discord
import os
import re
import aiohttp
import asyncio
import logging
import j... |
#ifndef AVUTIL_INTFLOAT_H
#define AVUTIL_INTFLOAT_H
#include <stdint.h>
#include "attributes.h"
union av_intfloat32 {
uint32_t i;
float f;
};
union av_intfloat64 {
uint64_t i;
double f;
};
/**
* Reinterpret a 32-bit integer as a float.
*/
static av_always_inline float av_int2float(uint32_t i)
{
... |
# -*- coding: utf-8 -*-
from module.plugins.internal.DeadHoster import DeadHoster
class CyberlockerCh(DeadHoster):
__name__ = "CyberlockerCh"
__type__ = "hoster"
__version__ = "0.06"
__status__ = "stable"
__pattern__ = r'http://(?:www\.)?cyberlocker\.ch/\w+'
__config__ = [] #@TODO: Remo... |
% -*- mode: LaTeX -*-
% $Id: keywords.tex,v 1.6 2006/03/22 12:48:58 entner Exp $
% Specific text elements
\newcommand{\specific}[1] {\textit{
\newcommand{\extension}[1] {\textit{.
\newcommand{\email}[1] {
% Keywords and Indexing
%%%%%%%%%%%%%%%%%%%%%%%
% Enter keyword into keyword index
\newcommand{\keywordidx}[1] ... |
package eu.excitementproject.eop.util.runner;
import java.io.File;
import java.io.<API key>;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.reflect.Constructor;
import java.lang.reflect.<API key>;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.io... |
(function(c){function f(){return!!this.points.length}function g(){this.hasData()?this.hideNoData():this.showNoData()}var d=c.seriesTypes,e=c.Chart.prototype,h=c.getOptions(),i=c.extend;i(h.lang,{noData:"No data to display"});h.noData={position:{x:0,y:0,align:"center",verticalAlign:"middle"},attr:{},style:{fontWeight:"b... |
#include <common.h>
#include <malloc.h>
#include <mmc.h>
#include "mmc_private.h"
static struct list_head mmc_devices;
static int cur_dev_num = -1;
struct mmc *find_mmc_device(int dev_num)
{
struct mmc *m;
struct list_head *entry;
list_for_each(entry, &mmc_devices) {
m = list_entry(entry, struct mmc... |
package be.fedict.eid.applet.service.signer.facets;
import javax.xml.crypto.dsig.XMLSignature;
import com.sun.xml.bind.marshaller.<API key>;
/**
* JAXB RI namespace prefix mapper for XAdES.
*
* @author Frank Cornelis
*
*/
public class <API key> extends <API key> {
private String <API key>;
public <API key>... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<TITLE>
Uses of Class org.apache.poi.ss.formula.functions.Complex (POI API Documentation)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (locatio... |
.entry.cursor-handle,
.cursor-handle {
background-color: transparent;
background-image: none;
box-shadow: none;
border-style: none;
}
.entry.cursor-handle.top,
.cursor-handle.top {
-gtk-icon-source: -gtk-icontheme("<API key>");
}
.entry.cursor-handle.bottom,
.cursor-handle.bottom {
-gtk-icon-source: -gt... |
'use strict';
// Load modules
const Crypto = require('crypto');
const Boom = require('boom');
const Hoek = require('hoek');
const Cryptiles = require('cryptiles');
// Declare internals
const internals = {};
// Common defaults
exports.defaults = {
encryption: {
saltBits: 256,
algorithm: 'aes-256-cbc'... |
caption { border: 1px solid #b94a48 !important; }
table { border-collapse: separate !important; } |
#include "u8g.h"
const u8g_fntpgm_uint8_t u8g_font_osr18[7816] U8G_FONT_SECTION("u8g_font_osr18") = {
0,68,33,235,248,18,4,197,10,125,32,255,250,25,249,19,
250,0,0,0,7,0,0,3,18,18,7,2,0,224,224,224,
224,224,224,64,64,64,64,64,64,64,64,0,224,224,224,6,
5,5,10,2,13,204,204,204,204,72,14,18,36,18,2,0,
4,32,4,32,... |
// tion, are permitted provided that the following conditions are met:
// and/or other materials provided with the distribution.
// THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A ... |
#ifndef <API key>
#define <API key>
#include <boost/network/tags.hpp>
namespace boost { namespace network { namespace http { namespace tags {
struct http { typedef mpl::true_::type is_http; };
struct keepalive { typedef mpl::true_::type is_keepalive; };
struct simple { typedef mpl::true_::t... |
package org.transdroid.daemon;
import java.util.HashMap;
import java.util.Map;
import org.transdroid.daemon.util.FileSizeConverter;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Represents a single file contained in a torrent.
*
* @author erickok
*
*/
public final class TorrentFile implements Parce... |
#ifndef <API key>
#define <API key>
#ifdef _WIN32
#include <mozilla/Char16.h>
#endif
#include<string>
#ifdef __APPLE__
#include <stdint.h>
#endif
#ifdef _WIN32
#include <stdlib.h>
#endif
#include "nsStringAPI.h"
#include "nsEmbedString.h"
const char *nsStringToCString(const nsAString &str);
std::string nsStringTo... |
package cpw.mods.fml.common.event;
import java.io.File;
import java.security.CodeSource;
import java.security.cert.Certificate;
import java.util.Properties;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import cpw.mods.fml.common.LoaderState.ModState;
import cpw.mods.fml.common.FML... |
#include <math.h>
#include <float.h>
#include <stdio.h>
#include <math-tests.h>
static int errors = 0;
static void
check (const char *testname, int result)
{
if (!result) {
printf ("Failure: %s\n", testname);
errors++;
}
}
#define TEST_FUNC(NAME, FLOAT, SUFFIX, EPSILON, HUGEVAL) \
static void ... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<TITLE>
XSSFAnchor (POI API Documentation)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
p... |
#ifndef COLORFRAME_H_
#define COLORFRAME_H_
#include <QFrame>
#include <QColorDialog>
/*
*A simple widget that displays a color and allows the
* user to choose a new one with a QColorDialog
*/
class Colorframe : public QFrame
{
Q_OBJECT
public:
Colorframe(QWidget * parent, Qt::WindowFlags flags = 0) : QFrame... |
// Please update this list when adding new pins to Marlin.
// The order doesn't matter.
// Following this pattern is a must.
// If the new pin name is over 28 characters long then pinsDebug.h will need to be modified.
#if TARGET_LPC1768
#define ANALOG_OK(PN) (WITHIN(PN, P0_02, P0_03) || WITHIN(PN, P0_23, P0_26) || WI... |
#include "private.h"
#include <ccan/likely/likely.h>
#include <ccan/asearch/asearch.h>
/* We keep an ordered array of offsets. */
static bool append(struct ntdb_context *ntdb,
ntdb_off_t **arr, size_t *num, ntdb_off_t off)
{
ntdb_off_t *new;
if (*num == 0) {
new = ntdb->alloc_fn(ntdb, sizeof(... |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
#ifndef <API key>
#define <API key>
#include "transport.hpp"
#include <list>
namespace ndn {
template<class BaseTransport, class Protocol>
class StreamTransportImpl
{
public:
typedef StreamTransportImpl<BaseTransport,Protocol> Impl;
typedef std::list... |
/*# sourceMappingURL=kendo.dataviz.flat.min.css.map */ |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<TITLE>
Uses of Package org.apache.poi.poifs.property (POI API Documentation)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_34) on Thu Jan 07 14:13:57 GMT 2016 -->
<TITLE>
IFGraphicContext (Apache FOP 2.1 API)
</TITLE>
<META NAME="date" CONTENT="2016-01-07">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SC... |
#ifndef IsotropyModel_H
#define IsotropyModel_H
#include "IOdictionary.H"
#include "autoPtr.H"
#include "<API key>.H"
#include "CloudSubModelBase.H"
namespace Foam
{
// Forward declaration of classes
class TimeScaleModel;
template<class CloudType>
class IsotropyModel
:
public CloudSubModelBase<CloudType>
{
protecte... |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by lib/unicore/mktables from the Unicode
# database, Version 9.0.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existen... |
#ifndef __GDIPLUS_ENUMS_H
#define __GDIPLUS_ENUMS_H
#pragma GCC system_header
#include <_mingw.h>
/*
* GDI+ enumerations
*/
typedef enum BrushType {
BrushTypeSolidColor = 0,
BrushTypeHatchFill = 1,
<API key> = 2,
<API key> = 3,
<API key> = 4
} BrushType;
typedef enum CombineMode {
CombineModeR... |
--TEST
IntlCalendar::setTime(): bad arguments
--INI
date.timezone=Atlantic/Azores
--SKIPIF
<?php
if (!extension_loaded('intl'))
die('skip intl extension not enabled');
--FILE
<?php
ini_set("intl.error_level", E_WARNING);
$c = new <API key>(NULL, 'pt_PT');
var_dump($c->setTime(1, 2));
var_dump($c->setTime("jjj"));
v... |
package fr.xephi.authme.security.crypts;
import fr.xephi.authme.security.crypts.description.HasSalt;
import fr.xephi.authme.security.crypts.description.Recommendation;
import fr.xephi.authme.security.crypts.description.SaltType;
import fr.xephi.authme.security.crypts.description.Usage;
import fr.xephi.authme.util.Rando... |
<!DOCTYPE html>
<html>
<head>
<title>Stretchy munderover</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<!-- See bug 687807 -->
<math>
<munderover>
<mo stretchy="true">→</mo>
<mtext>AAAAAA</mtext>
<mtext>BBBBBB</mtex... |
//! CSS table formatting contexts.
#![deny(unsafe_code)]
use app_units::Au;
use block::{BlockFlow, <API key>};
use context::LayoutContext;
use cssparser::{Color, RGBA};
use <API key>::{<API key>, BorderPaintingMode};
use euclid::{Point2D, Rect};
use flow::{self, <API key>, Flow, FlowClass, ImmutableFlowUtils, OpaqueFlo... |
from optparse import make_option
from django.core.management.base import BaseCommand
from django.utils.six.moves import input
from treeherder.model.models import Datasource, Repository
class Command(BaseCommand):
help = ("Populate the datasource table and"
"create the connected databases")
option_li... |
<!-- GENERATED FILE, DO NOT EDIT -->
<!DOCTYPE HTML>
<html>
<head>
<meta charset='utf-8'/>
<title>
Mochitest wrapper for WebGL Conformance Test Suite tests
</title>
<link rel='stylesheet' type='text/css' href='../iframe-passthrough.css'/>
<script src='/tests/SimpleTest/SimpleTest.js'></scrip... |
package com.mifos.objects.accounts.loan;
import android.os.Parcel;
import android.os.Parcelable;
import com.mifos.api.local.MifosBaseModel;
import com.mifos.api.local.MifosDatabase;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.ModelContainer;
import com.raizlabs.an... |
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<style>
body>div { margin: 50px 20px; width: 100px; height: 150px; border: 5px solid blue; }
.abc { display: inline-block; border: 2px solid red; inline-size: 30px; }
.test { background: #aaa; width: 2em; }
.vrl { writing-mode: vertical-rl; }
.rel { position: relative; }
im... |
# -*- coding: 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 FOR... |
<?php
// See the LICENCE file in the repository root for full licence text.
namespace App\Notifications;
use App\Models\User;
use App\Models\UserReport;
use GuzzleHttp\RequestOptions;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\SlackMessage;
use Illumi... |
# <API key>: true
require 'rails_helper'
describe SearchService, type: :service do
subject { described_class.new }
describe '#call' do
describe 'with a blank query' do
it 'returns empty results without searching' do
allow(<API key>).to receive(:new)
allow(Tag).to receive(:search_for)
... |
# Numenta Platform for Intelligent Computing (NuPIC)
# following terms and conditions apply:
# This program is free software: you can redistribute it and/or modify
# published by the Free Software Foundation.
# This program is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR... |
package org.kuali.coeus.common.budget.framework.core;
public class BudgetException extends RuntimeException {
} |
define( [ 'Backbone', 'instance-admin/models/contact' ], function ( Backbone, ContactModel ) {
"use strict";
var ContactCollection = Backbone.Collection.extend({
model: ContactModel
});
return ContactCollection;
}); |
package org.kuali.kra.award.paymentreports.paymentschedule;
import org.kuali.kra.infrastructure.KeyConstants;
import org.kuali.coeus.sys.framework.rule.<API key>;
import org.kuali.rice.krad.util.GlobalVariables;
import java.util.List;
/**
* The <API key>
*/
public class <API key> extends <API key>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.