answer stringlengths 15 1.25M |
|---|
#ifndef __ASM_ARCH_PSC_H
#define __ASM_ARCH_PSC_H
#define <API key> 0x01C41000
/* Power and Sleep Controller (PSC) Domains */
#define <API key> 0
#define <API key> 1
#define <API key> 0
#define <API key> 1
#define DAVINCI_LPSC_TPCC 2
#define DAVINCI_LPSC_TPTC0 3
#define D... |
package dns
import (
"crypto"
"crypto/dsa"
"crypto/ecdsa"
"crypto/rsa"
"io"
"math/big"
"strconv"
"strings"
)
// NewPrivateKey returns a PrivateKey by parsing the string s.
// s should be in the same form of the BIND private key files.
func (k *DNSKEY) NewPrivateKey(s string) (crypto.Priv... |
#include <linux/clk.h>
#include <linux/errno.h>
#include <linux/device.h>
#include <linux/gpio.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/i... |
! { dg-do compile }
! This tests the fix for PR28735 in which an ICE would be triggered in resolve_ref
! because the references to 'a' and 'b' in the dummy arguments of mysub have
! no symtrees in module bar, being private there.
!
! Contributed by Andrew Sampson <adsspamtrap01@yahoo.com>
!
!
module foo
implicit no... |
using System;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Text;
internal static partial class Interop
{
internal static partial class Winsock
{
[DllImport(Interop.Libraries.Ws2_32, ExactSpelling = true, CharSet = CharSet.Unicode, BestFitMapping = false, <API key> = true,... |
#include <linux/clk.h>
#include <linux/clocksource.h>
#include <linux/ptp_clock_kernel.h>
#include <linux/net_tstamp.h>
#include "xgbe.h"
#include "xgbe-common.h"
static cycle_t xgbe_cc_read(const struct cyclecounter *cc)
{
struct xgbe_prv_data *pdata = container_of(cc,
struct xgbe_prv_da... |
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc object
* @name angular.mock
* @description
*
* Namespace from 'angular-mocks.js' which contains testing related code.
*/
angular.mock = {};
/**
* ! This is a private undocumented service !
*
* @name $browser
*
* @description
* This service i... |
<?php
/**
* @see <API key>
*/
require_once 'Zend/Validate/File/Exists.php';
class <API key> extends <API key>
{
/**
* @const string Error constants
*/
const DOES_EXIST = '<API key>';
/**
* @var array Error message templates
*/
protected $_messageTemplates = array(
self::DOE... |
#include <linux/rcupdate.h>
#include <linux/rculist.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/percpu.h>
#include <linux/init.h>
#include <linux/gfp.h>
#include <linux/smp.h>
#include <linux/cpu.h>
#include "smpboot.h"
#ifdef <API key>
enum {
CSD_FLAG_LOCK = 0x01,
};
struct call_f... |
<?php
/**
* WordPress CRON API
*
* @package WordPress
*/
function <API key>( $timestamp, $hook, $args = array()) {
// don't schedule a duplicate if there's already an identical event due in the next 10 minutes
$next = wp_next_scheduled($hook, $args);
if ( $next && $next <= $timestamp + 600 )
ret... |
import parse = require('xml-parser');
declare var assert: { equal<T>(a: T, b: T): void };
var doc: parse.Document = parse(
'<?xml version="1.0" encoding="utf-8"?>' +
'<mydoc><child a="1">foo</child><child/></mydoc>');
var declaration: parse.Declaration = doc.declaration;
assert.equal(declaration.attributes['versi... |
#include <linux/kernel.h>
#include <linux/net.h>
#include <linux/netdevice.h>
#include <linux/phonet.h>
#include <net/sock.h>
#include <net/phonet/pn_dev.h>
/* when accessing, remember to lock with spin_lock(&pndevs.lock); */
struct phonet_device_list pndevs = {
.list = LIST_HEAD_INIT(pndevs.list),
.lock = <API... |
let arr = [];
for(let i = 0; i < 10; i++) {
for (let i = 0; i < 10; i++) {
arr.push(() => i);
}
} |
/* <API key>: BSD-3-Clause-Clear */
#ifndef ATH11K_AHB_H
#define ATH11K_AHB_H
#include "core.h"
#define <API key> (3 * HZ)
struct ath11k_base;
struct ath11k_ahb {
struct rproc *tgt_rproc;
};
static inline struct ath11k_ahb *ath11k_ahb_priv(struct ath11k_base *ab)
{
return (struct ath11k_ahb *)ab->drv_priv;
}
#e... |
#include "sqlite3.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
int sqlite3Fts2Init(sqlite3 *db);
#ifdef __cplusplus
} /* extern "C" */
#endif /* __cplusplus */ |
#ifndef <API key>
#define <API key>
#include <cstdarg>
#include <boost/cstdint.hpp>
#include <boost/detail/winapi/config.hpp>
#ifdef <API key>
#pragma once
#endif
#if defined( BOOST_USE_WINDOWS_H )
# include <windows.h>
#elif defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ ) || defined(__CYGWIN__)
# includ... |
#ifndef __NVHOST_INTR_H
#define __NVHOST_INTR_H
#include <linux/kthread.h>
#include <linux/semaphore.h>
#include <linux/interrupt.h>
struct nvhost_channel;
enum nvhost_intr_action {
/**
* Perform cleanup after a submit has completed.
* 'data' points to a channel
*/
<API key> = 0,
/**
* S... |
#ifndef _EXT4_JBD2_H
#define _EXT4_JBD2_H
#include <linux/fs.h>
#include <linux/jbd2.h>
#include "ext4.h"
#define EXT4_JOURNAL(inode) (EXT4_SB((inode)->i_sb)->s_journal)
/* Define the number of blocks we need to account to a transaction to
* modify one block of data.
*
* We may have to touch one inode, one bitmap... |
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/irqdomain.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/stmp_device.h>
#include <asm/exception.h>
#include "irqchip.h"
#define HW_ICOLL_VECTOR ... |
<?php
/**
* Exception for 503 Service Unavailable responses
*
* @package Requests
*/
/**
* Exception for 503 Service Unavailable responses
*
* @package Requests
*/
class <API key> extends <API key> {
/**
* HTTP status code
*
* @var integer
*/
protected $code = 503;
/**
* Rea... |
#include "reiserfs.h"
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/xattr.h>
#include <linux/slab.h>
#include "xattr.h"
#include <linux/security.h>
#include <asm/uaccess.h>
static int
security_get(struct dentry *dentry, const char *name, void *buffer, size_t size,
int... |
#include <media/rc-core.h>
#include <linux/spinlock.h>
#include <linux/delay.h>
#include <linux/input.h>
#include <linux/slab.h>
#include <linux/device.h>
#include "rc-core-priv.h"
/* Sizes are in bytes, 256 bytes allows for 32 entries on x64 */
#define IR_TAB_MIN_SIZE 256
#define IR_TAB_MAX_SIZE 8192
/* FIXME: I... |
// Use, modification, and distribution are subject to the
// File : $RCSfile$
// Version : $Revision: 49312 $
// Description : offline implementation of char parameter
#define <API key>
#include <boost/test/utils/runtime/cla/char_parameter.ipp> |
var baseIndexOf = require('./baseIndexOf'),
cacheIndexOf = require('./cacheIndexOf'),
createCache = require('./createCache'),
getArray = require('./getArray'),
largeArraySize = require('./largeArraySize'),
releaseArray = require('./releaseArray'),
releaseObject = require('./releaseObject');
/**
... |
jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],monthsShort:["jan","feb","mar","apr","maí","jún","júl","ágú","sep","okt","nóv","des"],weekdaysFull:["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fi... |
var <API key> = (window.history != null ? window.history.pushState : null) != null;
createTest('Nested route with the many children as a tokens, callbacks should yield historic params', {
'/a': {
'/:id': {
'/:id': function(a, b) {
if (!<API key>) {
shared.fired.push(location.hash.replace(/... |
<reference types="easeljs"/>
var target = new createjs.DisplayObject();
// Chainable modules :
target.alpha = 1;
createjs.Tween.get(target).wait(500, false).to({ alpha: 0, visible: false }, 1000).call(onComplete);
function onComplete() {
//Tween complete
} |
#ifndef <API key>
#define <API key>
// $Id: lower_bound.hpp 49267 2008-10-11 06:19:02Z agurtovoy $
// $Revision: 49267 $
#include <boost/mpl/less.hpp>
#include <boost/mpl/lambda.hpp>
#include <boost/mpl/aux_/na_spec.hpp>
#include <boost/mpl/aux_/config/workaround.hpp>
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(... |
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc overview
* @name ngResource
* @description
*/
angular.module('ngResource', ['ng']).
factory('$resource', ['$http', '$parse', function($http, $parse) {
var DEFAULT_ACTIONS = {
'get': {method:'GET'},
'save': {method:'POST'},
... |
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/stddef.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/usb.h>
#include <linux/crc32.h>
#include <linux/usb/usbnet.h>
#include "sr9700.h"
static int sr_read(struct usbnet *d... |
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/smsc911x.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/physmap.h>
#include <linux/mtd/map.h>
#include <mach/magicpanelr2.h>
#include <a... |
import { Duration, isDuration } from './constructor';
import toInt from '../utils/to-int';
import hasOwnProp from '../utils/has-own-prop';
import { DATE, HOUR, MINUTE, SECOND, MILLISECOND } from '../units/constants';
import { cloneWithOffset } from '../units/offset';
import { createLocal } from '../create/local';
// AS... |
// { dg-do assemble }
template <class T> void foo(); // { dg-message "" } candidate
void (*bar)() = foo<void>;
void (*baz)() = foo; // { dg-error "" } can't deduce T |
<?php
namespace Illuminate\Validation;
use Exception;
class ValidationException extends Exception
{
/**
* The validator instance.
*
* @var \Illuminate\Validation\Validator
*/
public $validator;
/**
* The recommended response to send to the client.
*
* @var \Illuminate\Http... |
DELETE FROM `<API key>` WHERE `criteria_id` IN (6343, 6344, 6345, 6346, 6347);
INSERT INTO `<API key>` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES
(6343,6,4197,0,''), -- Wintergrasp
(6343,1,16111,0,''), -- target Love Fool
(6344,6,2177,0,''), -- Battle Ring
(6344,1,16111,0,''), -- target Love Fool
... |
#include <linux/init.h>
#include <linux/export.h>
#include <linux/timer.h>
#include <linux/slab.h>
#include <asm/facility.h>
#include <asm/sysinfo.h>
#include <asm/ebcdic.h>
#include <asm/debug.h>
#include <asm/ipl.h>
#define <API key> (30 * 60)
#define VM_LEVEL_MAX 2 /* Maximum is 8, but we only record two levels */
/... |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef <API key>
#define <API key>
#pragma interface
#include <gnu/xml/validation/relaxng/Pattern.h>
extern "Java"
{
namespace gnu
{
namespace xml
{
namespace validation
{
namespace relaxng
{
class Interl... |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef <API key>$<API key>
#define <API key>$<API key>
#pragma interface
#include <javax/swing/border/AbstractBorder.h>
extern "Java"
{
namespace java
{
namespace awt
{
class Component;
class Insets;
}
}
namespace javax
... |
#include <linux/export.h>
#include <linux/uts.h>
#include <linux/utsname.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/cred.h>
#include <linux/user_namespace.h>
#include <linux/proc_ns.h>
#include <linux/sched/task.h>
static struct ucounts *inc_uts_namespaces(struct user_namespace *ns)
{
return ... |
/* jshint -W100 */
/* jslint maxlen: 86 */
define(function () {
// Farsi (Persian)
return {
errorLoading: function () {
return 'امکان بارگذاری نتایج وجود ندارد.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'لطفاً ' + overChars + '... |
#include <linux/types.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/ide.h>
#include <linux/init.h>
#define <API key> 0x01b4
#define SCC_PATA_NAME "scc IDE"
#define TDVHSEL_MASTER 0x00000001
#define TDVHSEL_SLAVE 0x00000004
#define MO... |
#include "<API key>.h"
#include "QueryParams.h"
#include "music/MusicDatabase.h"
using namespace XFILE::<API key>;
<API key>::<API key>(const std::string& strName, CDirectoryNode* pParent)
: CDirectoryNode(<API key>, strName, pParent)
{
}
NODE_TYPE <API key>::GetChildType() const
{
if (GetName()=="-1")
return <... |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef <API key>
#define <API key>
#pragma interface
#include <javax/swing/JToggleButton.h>
extern "Java"
{
namespace javax
{
namespace accessibility
{
class AccessibleContext;
}
namespace swing
{
class Action;
... |
/* <API key>: MIT */
#ifndef __I915_SUSPEND_H__
#define __I915_SUSPEND_H__
struct drm_i915_private;
int i915_save_state(struct drm_i915_private *i915);
int i915_restore_state(struct drm_i915_private *i915);
#endif /* __I915_SUSPEND_H__ */ |
#ifndef _HW_PAL_C_
#define _HW_PAL_C_
#ifndef <API key>
#define <API key> STATIC_INLINE
#endif
#include "device_table.h"
#include "cpu.h"
#ifdef HAVE_STRING_H
#include <string.h>
#else
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_STDLIB_H
#include ... |
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
namespace System.Threading.Tasks
{
internal static class <API key>
{
internal static void ThrowAsync(Exception exception, <API key> targetContext)
{
if (exception == null)
return;
... |
#define DATABASE_NAME publickey
#define DEFAULT_CONFIG "nis nisplus"
#include "XXX-lookup.c" |
<?php
require_once(dirname(__FILE__).'/../../bootstrap/unit.php');
class FormFormatterStub extends <API key>
{
public function __construct() {}
public function translate($subject, $parameters = array())
{
return sprintf('translation[%s]', $subject);
}
}
$t = new lime_test(13);
$dom = new DomDocument('1.0', ... |
#import "GPUImage.h"
#import <UIKit/UIKit.h>
@interface <API key> : UIResponder <<API key>>
@property (strong, nonatomic) UIWindow *window;
@end |
// purpose with or without fee is hereby granted, provided that the above
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
// ANY SPECIAL, DIRECT, IND... |
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include "htc.h"
MODULE_AUTHOR("Atheros Communications");
MODULE_LICENSE("Dual BSD/GPL");
MODULE_DESCRIPTION("Atheros driver 802.11n HTC based wireless devices");
static unsigned int ath9k_debug = ATH_DBG_DEFAULT;
module_param_named(debug, ath9k_debug, uint, 0);
MODULE_PARM_D... |
.<API key> .leaflet-marker-icon, .<API key> .<API key> {
-webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.2s ease-in;
-moz-transition: -moz-transform 0.2s ease-out, opacity 0.2s ease-in;
-o-transition: -o-transform 0.2s ease-out, opacity 0.2s ease-in;
transition: transform 0.2s ease-out, o... |
-- Dragonblight Pathing - Moa'ki Harbor + Azure Dragonshrine
-- 1. rndmmovement
UPDATE `creature` SET `spawndist`=20 WHERE `guid` IN (106644, 106699, 106698, 106714, 106736, 131071, 106695, 106720);
-- 2. emotes
DELETE FROM `creature_addon` WHERE `guid` IN (109020, 109041);
INSERT INTO `creature_addon` (`guid`,`path_i... |
// MESSAGE RADIO_STATUS PACKING
#define <API key> 109
typedef struct <API key>
{
uint16_t rxerrors; ///< Receive errors
uint16_t fixed; ///< Count of error corrected packets
uint8_t rssi; ///< Local signal strength
uint8_t remrssi; ///< Remote signal strength
uint8_t txbuf; ///< Remaining free buffer space in perc... |
extern "C" {
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "twi.h"
}
#include "Wire.h"
// Initialize Class Variables //////////////////////////////////////////////////
uint8_t TwoWire::rxBuffer[BUFFER_LENGTH];
uint8_t TwoWire::rxBufferIndex = 0;
uint8_t TwoWire::rxBufferLength = 0;
uint... |
#ifndef <API key>
#define <API key>
extern struct sys_timer shmobile_timer;
extern void <API key>(void);
struct clk;
extern int clk_init(void);
extern void sh7367_init_irq(void);
extern void <API key>(void);
extern void <API key>(void);
extern void sh7367_clock_init(void);
extern void sh7367_pinmux_init(void);
extern s... |
<!DOCTYPE HTML PUBLIC "-
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>amCharts Data Loader Example</title>
<script src="http:
<script src="http:
<script src="../dataloader.min.js... |
#ifndef __NET_TC_MIR_H
#define __NET_TC_MIR_H
#include <net/act_api.h>
struct tcf_mirred {
struct tcf_common common;
int tcfm_eaction;
int tcfm_ifindex;
int tcfm_ok_push;
struct net_device *tcfm_dev;
struct list_head tcfm_list;
};
#define to_mirred(pc) \... |
// Use of this source code is governed by a BSD-style
package main
import (
"go/ast"
"go/parser"
"go/token"
"os"
"path"
"runtime"
"strings"
)
func isGoFile(dir os.FileInfo) bool {
return !dir.IsDir() &&
!strings.HasPrefix(dir.Name(), ".") && // ignore .files
path.Ext(dir.... |
<?php
// No direct access.
defined('_JEXEC') or die;
jimport('joomla.application.component.modellist');
/**
* Messages Component Messages Model
*
* @package Joomla.Administrator
* @subpackage com_messages
* @since 1.6
*/
class <API key> extends JModelList
{
/**
* Constructor.
*
... |
#!/usr/bin/env node
require("./bin/npm-cli.js") |
package client
import (
"bufio"
"crypto/tls"
"fmt"
"net"
"net/http"
"net/http/httputil"
"net/url"
"strings"
"time"
"github.com/docker/docker/api/types"
"github.com/docker/docker/pkg/tlsconfig"
"github.com/docker/go-connections/sockets"
"github.com/pkg/errors"
"gol... |
<?php
namespace Zend\Filter;
use Traversable;
class StringToUpper extends AbstractUnicode
{
/**
* @var array
*/
protected $options = array(
'encoding' => null,
);
/**
* Constructor
*
* @param string|array|Traversable $encodingOrOptions OPTIONAL
*/
public functio... |
<?php
defined('_JEXEC') or die;
jimport('joomla.application.categories');
/**
* Build the route for the com_contact component
*
* @param array An array of URL arguments
*
* @return array The URL arguments to use to assemble the subsequent URL.
*/
function ContactBuildRoute(&$query){
$segments = ar... |
var vows = require("vows"),
_ = require("../../"),
load = require("../load"),
assert = require("../assert");
var suite = vows.describe("d3.max");
suite.addBatch({
"max": {
topic: load("arrays/max").expression("d3.max"),
"returns the greatest numeric value for numbers": function(max) {
assert... |
#ifndef _ADMA_H
#define _ADMA_H
#include <linux/types.h>
#include <linux/io.h>
#include <mach/hardware.h>
#include <asm/hardware/iop_adma.h>
#define ADMA_ACCR(chan) (chan->mmr_base + 0x0)
#define ADMA_ACSR(chan) (chan->mmr_base + 0x4)
#define ADMA_ADAR(chan) (chan->mmr_base + 0x8)
#define ADMA_IIPCR(chan) (... |
/* <API key>: GPL-2.0+ */
#ifndef FUSB302_REG_H
#define FUSB302_REG_H
#define FUSB_REG_DEVICE_ID 0x01
#define FUSB_REG_SWITCHES0 0x02
#define <API key> BIT(7)
#define <API key> BIT(6)
#define <API key> BIT(5)
#define <API key> BIT(4)
#define <API key> BIT(3)
#def... |
// Must not be included from any .h files to avoid polluting the namespace
// with macros.
#ifndef <API key>
#define <API key>
#include <stdio.h>
#include <stdint.h>
#include <string>
#include "port/port.h"
namespace leveldb {
class Slice;
class WritableFile;
// Append a human-readable printout of "num" to *str
extern ... |
require "openssl"
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
module Integrations #:nodoc:
module Dwolla
module Common
def verify_signature(checkoutId, amount, <API key>, secret)
if secret.nil?
raise ArgumentError, "You need to provide the Application s... |
var name;
switch (name) {
case "Kamol":
doSomething();
default:
doSomethingElse();
}
switch (name) {
default:
doSomethingElse();
break;
case "Kamol":
doSomething();
} |
require "language/java"
class JavaRequirement < Requirement
fatal true
cask "java"
download "http:
satisfy :build_env => false do
args = %w[--failfast]
args << "--version" << "#{@version}" if @version
@java_home = Utils.popen_read("/usr/libexec/java_home", *args).chomp
$?.success?
end
env do... |
#include <linux/module.h>
#include <linux/pm.h>
#include <linux/i2c/twl.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <asm/mach-types.h>
static u8 <API key> = 0x2b;
/* Register bits for P1, P2 and P3_SW_EVENTS */
#define PWR_STOPON_PRWON BIT(6)
#define PWR_STOPON_S... |
// { dg-do assemble }
// by Alexandre Oliva <aoliva@cygnus.com>
// distilled from libg++'s Fix.cc
struct Integer {
~Integer () {}
};
void foo (const Integer& y);
Integer bar (const Integer& x);
void show (const Integer& x) {
foo (bar (x));
} |
/* <API key>: GPL-2.0 or BSD-3-Clause */
/* Authors: Bernard Metzler <bmt@zurich.ibm.com> */
#ifndef _SIW_MEM_H
#define _SIW_MEM_H
struct siw_umem *siw_umem_get(u64 start, u64 len, bool writable);
void siw_umem_release(struct siw_umem *umem, bool dirty);
struct siw_pbl *siw_pbl_alloc(u32 num_buf);
dma_addr_t siw_pbl_ge... |
// { dg-do assemble }
// GROUPS passed patches
// patches file
// From: david.binderman@pmsr.philips.co.uk
// Subject: Reno 1.2 bug fix
// Message-ID: <9310061605.AA04160@pmsr.philips.co.uk>
int type(float) { return 1; }
int type(double) { return 2; }
int type(long double) { return 3; }
extern "C" int prin... |
<?php
// Moodle is free software: you can redistribute it and/or modify
// (at your option) any later version.
// Moodle is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
class <API key> extends restore_subplugin {
/**
* Returns the paths to be ... |
<?php
namespace Assetic\Factory\Resource;
/**
* A resource is something formulae can be loaded from.
*
* @author Kris Wallsmith <kris.wallsmith@gmail.com>
*/
interface <API key> extends ResourceInterface, \IteratorAggregate
{
} |
#include "db/log_writer.h"
#include <stdint.h>
#include "leveldb/env.h"
#include "util/coding.h"
#include "util/crc32c.h"
namespace leveldb {
namespace log {
Writer::Writer(WritableFile* dest)
: dest_(dest),
block_offset_(0) {
for (int i = 0; i <= kMaxRecordType; i++) {
char t = static_cast<char>(i);
... |
#ifndef __ASM_SH_CACHE_H
#define __ASM_SH_CACHE_H
#ifdef __KERNEL__
#include <linux/init.h>
#include <cpu/cache.h>
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
#define __read_mostly __attribute__((__section__(".data..read_mostly")))
#ifndef __ASSEMBLY__
struct cache_info {
unsigned int ways; /* Number... |
-- Vazruden the herald
DELETE FROM `creature_text` WHERE `entry`=17307;
INSERT INTO `creature_text`(`entry`,`groupid`,`id`,`type`,`probability`,`sound`,`comment`,`text`) VALUES
(17307,0,0,14,100,10292,"vazruden the herald SAY_INTRO","You have faced many challenges, pity they were all in vain. Soon your people will knee... |
(function() {
"use strict";
var WORD = /[\w$]+/, RANGE = 500;
CodeMirror.registerHelper("hint", "anyword", function(editor, options) {
var word = options && options.word || WORD;
var range = options && options.range || RANGE;
var cur = editor.getCursor(), curLine = editor.getLine(cur.line);
var st... |
DROP TABLE IF EXISTS `character_tutorial`;
CREATE TABLE `character_tutorial` (
`account` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Account Identifier',
`realmid` int(11) unsigned NOT NULL default '0' COMMENT 'Realm Identifier',
`tut0` int(11) unsigned NOT NULL default '0',
`tut1` int(11) unsigned NOT... |
/*
'aes_xcbc.c' Obfuscated by COBF (Version 1.06 2006-01-07 by BB) at Fri Oct 12 22:15:16 2012
*/
#include"cobf.h"
#ifdef _WIN32
#if defined( UNDER_CE) && defined( bb337) || ! defined( bb329)
#define bb355 1
#define bb332 1
#else
#define bb351 bb343
#define bb333 1
#define bb331 1
#endif
#define bb348 1
#include"unc... |
import { addFormatToken } from '../format/format';
import { addUnitAlias } from './aliases';
import { addUnitPriority } from './priorities';
import { addRegexToken, match1to2, matchWord, regexEscape } from '../parse/regex';
import { addWeekParseToken } from '../parse/token';
import toInt from '../utils/to-int';
import ... |
DELETE FROM `script_texts` WHERE `entry` IN (-1000472,-1000473);
INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
(23864,-100047... |
//! moment.js locale configuration
//! locale : Chinese (Hong Kong) [zh-hk]
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], facto... |
var assert = require('assert');
var cookie = require('..');
suite('parse');
test('basic', function() {
assert.deepEqual({ foo: 'bar' }, cookie.parse('foo=bar'));
assert.deepEqual({ foo: '123' }, cookie.parse('foo=123'));
});
test('ignore spaces', function() {
assert.deepEqual({ FOO: 'bar', baz: 'raz' },
... |
#include <linux/interrupt.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/irq.h>
#include <linux/miscdevice.h>
#include <linux/gpio.h>
#include <linux/uaccess.h>
#include <linux/delay.h>
#include <linux/input.h>
#include <linux/workqueue.h>
#include <linux/freezer.h>
#include <linux/kthread.h>
#includ... |
# arch/score/boot/Makefile
# This file is subject to the terms and conditions of the GNU General Public
# for more details.
targets := vmlinux.bin
$(obj)/vmlinux.bin: vmlinux FORCE
$(call if_changed,objcopy)
@echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
clean-files += vmlinux.bin |
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h> /* For EXPORT_SYMBOL/module stuff/... */
#include <linux/types.h> /* For standard types */
#include <linux/errno.h> /* For the -ENODEV/... values */
#include <linux/kernel.h> /* For printk/panic/... */
#include <linux/watchdog.h> /* Fo... |
// <API key>: GPL-2.0-or-later
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/irq.h>
#include <linux/smp.h>
#include <linux/interrupt.h>
#include <linux/cpu.h>
#include <linux/of.h>
#include <asm/smp.h>
#include <asm/irq.h>
#include <asm/errno.h>
#include <asm/xics.h>
#include <asm/io.h>
#include <a... |
// Boost.Assign library
#ifndef <API key>
#define <API key>
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
#include <boost/assign/list_inserter.hpp>
#include <boost/config.hpp>
#include <map>
namespace boost
{
namespace assign
{
template< class K, class V, class C, class A, class P >
inline li... |
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/i2c.h>
#include <linux/i2c/at24.h>
#include <linux/dma-mapping.h>
#include <linux/spi/spi.h>
#include <linux/spi/eeprom.h>
#include <linux/irq.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/usb/otg.h>
#include <linux/usb/ulpi.... |
#include <linux/init.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kmod.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/kthread.h>
#include <asm/div64.h>
#include "cx23885.h"
#include <media/... |
#ifndef THUNDER_BGX_H
#define THUNDER_BGX_H
#define MAX_BGX_THUNDER 8 /* Max 4 nodes, 2 per node */
#define MAX_BGX_PER_CN88XX 2
#define MAX_LMAC_PER_BGX 4
#define <API key> 16
#define MAX_DMAC_PER_LMAC 8
#define MAX_FRAME_SIZE 9216
#define... |
#include "ubi.h"
#include <linux/debugfs.h>
#include <linux/uaccess.h>
#include <linux/module.h>
/**
* ubi_dump_flash - dump a region of flash.
* @ubi: UBI device description object
* @pnum: the physical eraseblock number to dump
* @offset: the starting offset within the physical eraseblock to dump
* @len: the len... |
-- Delete redundant data first
DELETE FROM `spelldifficulty_dbc` WHERE `id` IN (3042,3043,3044,3045,3046,3047,3048,3053,3055,3056,3057,3058,3059,3060,3061,3063,3073,3074,3075,3076,3077,3078,3079,3080,3081,3082,3083,3084,3085,3086,3087,3088,3089,3090,3091,3092,3093,3094,3095);
INSERT INTO `spelldifficulty_dbc` (`id`, `s... |
(function (global, factory) {
if (typeof define === 'function' && define.amd) {
define(['exports', 'module', './util'], factory);
} else if (typeof exports !== 'undefined' && typeof module !== 'undefined') {
factory(exports, module, require('./util'));
} else {
var mod = {
exports: {}
};
... |
#if !defined(<API key>)
#define <API key>
#include <boost/fusion/support/config.hpp>
namespace boost { namespace fusion
{
// Swallows any assignment (by Doug Gregor)
namespace detail
{
struct swallow_assign
{
template<typename T>
<API key> <API key>
swall... |
/* <API key>: GPL-2.0-or-later */
#ifndef DLMCONVERT_H
#define DLMCONVERT_H
enum dlm_status dlmconvert_master(struct dlm_ctxt *dlm,
struct dlm_lock_resource *res,
struct dlm_lock *lock, int flags, int type);
enum dlm_status dlmconvert_remote(struct dlm_ctxt *dlm,
st... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.