answer stringlengths 15 1.25M |
|---|
package eventstreamapi
import (
"github.com/aws/aws-sdk-go/private/protocol"
"github.com/aws/aws-sdk-go/private/protocol/eventstream"
)
// Marshaler provides a marshaling interface for event types to event stream
// messages.
type Marshaler interface {
MarshalEvent(protocol.PayloadMarshaler) (eventstream.Me... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Microsoft.Azure.Management.Sql.Models
{
using Newtonsoft.Json;
using System.Linq;
<summary>
Represents re... |
<html><body><span wicket:id="label"><img alt="logo" src="../logo.png"><br>Some text<br>Some more text</span></body></html> |
/ [<API key>.ts]
// no errors expected
class C<T extends Date> {
constructor(public data: T) { }
foo<U extends T>(x: U) {
return x;
}
}
interface Foo extends Date {
foo: string;
}
var y: Foo = null;
var c = new C(y);
var r = c.foo(y);
/ [<API key>.js]
// no errors expected
var C = /** @class */ ... |
package proguard.classfile.attribute.annotation.target.visitor;
import proguard.classfile.*;
import proguard.classfile.attribute.CodeAttribute;
import proguard.classfile.attribute.annotation.*;
import proguard.classfile.attribute.annotation.target.*;
/**
* This interface specifies the methods for a visitor of <code>Ta... |
/ [es6ClassTest8.ts]
function f1(x:any) {return x;}
class C {
constructor() {
var bar:any = (function() {
return bar; // 'bar' should be resolvable
});
var b = f1(f1(bar));
}
}
class Vector {
static norm(v:Vector):Vector {return null;}
static minus(v1:Vector, v2:Vecto... |
Long short-term memory unit (LSTM) recurrent network cell.
The default non-peephole implementation is based on:
http://deeplearning.cs.cmu.edu/pdfs/Hochreiter97_lstm.pdf
S. Hochreiter and J. Schmidhuber.
"Long Short-Term Memory". Neural Computation, 9(8):1735-1780, 1997.
The peephole implementation is based on:
htt... |
package io.cattle.platform.networking.host.dao.impl;
import static io.cattle.platform.core.model.tables.HostTable.*;
import static io.cattle.platform.core.model.tables.HostVnetMapTable.*;
import static io.cattle.platform.core.model.tables.SubnetVnetMapTable.*;
import static io.cattle.platform.core.model.tables.VnetTabl... |
using Microsoft.Azure.Management.ResourceManager;
using Microsoft.Azure.Management.ResourceManager.Models;
using Microsoft.Azure.Management.Sql;
using Microsoft.Azure.Management.Sql.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Sql.Tests
{
public class UsageScenar... |
module Fog
module Compute
class Ecloud
class Real
basic_request :<API key>
end
end
end
end |
package org.asteriskjava.manager.event;
public class DongleCENDEvent extends ManagerEvent
{
private static final long serialVersionUID = <API key>;
private String device;
private String endstatus;
private String cccause;
private String duration;
private String callidx;
public DongleCENDEvent(Object source... |
#if defined(MPI_VERSION)
#if (MPI_VERSION > 3) || (MPI_VERSION == 3 && MPI_SUBVERSION >= 1)
#define <API key> 1
#define <API key> 1
#define <API key> 1
#define <API key> 1
#define <API key> 1
#define <API key> 1
#endif
#endif |
PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY,value LONGVARCHAR);
INSERT INTO "meta" VALUES('version','43');
INSERT INTO "meta" VALUES('<API key>','43');
INSERT INTO "meta" VALUES('Default Search Provider ID','2');
INSERT INTO "meta" VALUES('Default Search Pro... |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Larry's favorite LaTeX macros for making technical books. These have
% been refined for years, starting with SIGGRAPH course notes in the
% '90's, further refined for _Advanced RenderMan_.
%
% Please use or modify this at will.
%%%%%%%%%%%%%%... |
import shutil
import tempfile
from telemetry import decorators
from telemetry.testing import <API key>
from telemetry.testing import page_test_test_case
from measurements import skpicture_printer
class <API key>(page_test_test_case.PageTestTestCase):
def setUp(self):
self._options = <API key>.GetCopy()
self._... |
<?php
require_once 'Zend/Oauth/Signature/Plaintext.php';
class Zend_O<API key> extends <API key>
{
public function <API key><API key>()
{
$params = array(
'oauth_version' => '1.0',
'oauth_consumer_key' => 'dpf43f3p2l4k3l03',
'o<API key> => 'PLAINTEXT',
'oa... |
/**
* @constructor
* @param {!Element} relativeToElement
* @param {!WebInspector.DialogDelegate} delegate
*/
WebInspector.Dialog = function(relativeToElement, delegate)
{
this._delegate = delegate;
this._relativeToElement = relativeToElement;
this._glassPane = new WebInspector.GlassPane(/** @type {!Docu... |
// <API key>: Apache-2.0 WITH LLVM-exception
// This file implements the ModuleFile class, which describes a module that
// has been loaded from an AST file.
#include "clang/Serialization/ModuleFile.h"
#include "ASTReaderInternals.h"
#include "clang/Serialization/ContinuousRangeMap.h"
#include "llvm/ADT/StringRef.h"
... |
#include <linux/platform_device.h>
#include <linux/fsl_devices.h>
#include "ehci-fsl.h"
/* FIXME: Power Managment is un-ported so temporarily disable it */
#undef CONFIG_PM
/* PCI-based HCs are common, but plenty of non-PCI HCs are used too */
/* configure so an HC device and id are always provided */
/* always called ... |
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*-
#include "preamble_patcher.h"
#include "mini_disassembler.h"
// compatibility shims
#include "base/logging.h"
// Definitions of assembly statements we need
#define ASM_JMP32REL 0xE9
#define ASM_INT3 0xCC
#define ASM_JMP32ABS_0 0xFF
#define ASM_JMP32ABS_1 0x... |
// Use of this source code is governed by a BSD-style
// +build !go1.5
// Package oracle contains the implementation of the oracle tool whose
// command-line is provided by golang.org/x/tools/cmd/oracle.
package oracle // import "golang.org/x/tools/oracle"
// This file defines oracle.Query, the entry point for the orac... |
module ShowRepoEvents where
import qualified Github.Issues.Events as Github
import Data.List (intercalate)
import Data.Maybe (fromJust)
main = do
possibleEvents <- Github.eventsForRepo "thoughtbot" "paperclip"
case possibleEvents of
(Left error) -> putStrLn $ "Error: " ++ show error
(Right events) -> ... |
/* -*- buffer-read-only: t -*-
* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
* This file is built by regen/mk_PL_charclass.pl from property definitions
* and lib/unicore/CaseFolding.txt.
* Any changes made here will be lost!
*/
/* U+00 NUL */ _CC_CNTRL_A|_CC_CNTRL_L1|_CC_QUOTEMETA,
/* U+01 SOH */ _CC_CNTRL_A|_CC_CNT... |
var fs = require('fs')
, child_process = require('child_process')
, _glob = require('glob')
, bunch = require('./bunch')
;
exports.loadEnv = function loadEnv(env, cb) {
var loaders = []
function load(name, cb) {
fs.readFile(env[name], function(error, data) {
env[name] = env[name].match(/.*\.json$/... |
Function.prototype.bind = Function.prototype.bind || function (target) {
var self = this;
return function (args) {
if (!(args instanceof Array)) {
args = [args];
}
self.apply(target, args);
};
}; |
#if NET45
using System;
using System.Runtime.InteropServices;
namespace Microsoft.DotNet.<API key>.Native
{
internal static partial class NativeMethods
{
public static class Unix
{
public unsafe static string GetUname()
{
// Utsname shouldn't be larger tha... |
from __future__ import print_function
import soco
""" Prints the name of each discovered player in the network. """
for zone in soco.discover():
print(zone.player_name) |
// DATA_TEMPLATE: js_data
oTest.fnStart( "oLanguage.oPaginate" );
/* Note that the paging language information only has relevence in full numbers */
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"aaData": gaaData,
"sPaginationType": "full_number... |
{% include vars.html %}
<nav class="navbar navbar-full navbar-fixed-top navbar-dark">
<div class="container">
<a class="navbar-brand" href="{{url_base}}/">
{% include svg/logo-flow-nav.svg %}
<span class="sr-only">Flow</span>
</a>
<div class="clearfix hidden-lg-up">
<button class="navbar... |
namespace Simple.Data.UnitTest
{
using System;
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
public class AdapterFactoryTest
{
private static AdapterFactory CreateTarget()
{
return new <API key>(new StubComposer());
}
[Test]
... |
<div>Does not close properly<div>Nested same level as next div</div></div><div>Will be nested, but should be top level</div> |
module.exports={title:"Google Hangouts",hex:"0C9D58",source:"https://material.google.com/resources/<API key>.html |
#include <linux/dmi.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/spinlock.h>
#include <linux/pm.h>
#include <linux/pci.h>
#include <linux/acpi.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#define PREFIX "ACPI: "
#define _COMPONENT ... |
// This file is part of par2cmdline (a PAR 2.0 compatible file verification and
// par2cmdline is free software; you can redistribute it and/or modify
// (at your option) any later version.
// par2cmdline is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Se... |
<?php
/**
* @file
* Contains \Drupal\Console\Generator\Generator.
*/
namespace Drupal\Console\Generator;
use Drupal\Console\Helper\HelperTrait;
use Drupal\Console\Style\DrupalStyle;
class Generator
{
use HelperTrait;
/**
* @var array
*/
private $files;
/**
* @var bool
*/
priva... |
#ifndef <API key>
#define <API key>
#include "common/scummsys.h"
#include "sherlock/tattoo/widget_base.h"
#include "sherlock/saveload.h"
namespace Sherlock {
class SherlockEngine;
namespace Tattoo {
enum FilesRenderMode { RENDER_ALL, RENDER_NAMES, <API key> };
class WidgetFiles: public WidgetBase, public SaveManager {
... |
option(
OKULAR_FORCE_DRM
"Forces okular to check for DRM to decide if you can copy/print protected pdf. (default=no)"
OFF
)
if (OKULAR_FORCE_DRM)
set(_OKULAR_FORCE_DRM 1)
else (OKULAR_FORCE_DRM)
set(_OKULAR_FORCE_DRM 0)
endif (OKULAR_FORCE_DRM)
# at the end, output the configuration
configure_file(
${... |
#include <setjmp.h>
#include <jmpbuf-offsets.h>
#include <stdint.h>
#include <unwind.h>
#include <bits/wordsize.h>
#include <sysdep.h>
/* Test if longjmp to JMPBUF would unwind the frame
containing a local variable at ADDRESS. */
#define _JMPBUF_UNWINDS(jmpbuf, address, demangle) \
((void *) (address) ... |
// { dg-do compile }
// { dg-options "-O -w -Wno-psabi" }
typedef int vec __attribute__((vector_size(32)));
vec fn1()
{
vec x, zero{};
vec one = zero + 1;
return x < zero ? one : zero;
} |
/**
* Creates a notification instance.
*
* @-x-less Notification.less
* @class tinymce.ui.Notification
* @extends tinymce.ui.Container
* @mixes tinymce.ui.Movable
*/
define("tinymce/ui/Notification", [
"tinymce/ui/Control",
"tinymce/ui/Movable",
"tinymce/ui/Progress",
"tinymce/util/Delay"
], func... |
<?php
/**
* Generic Slider super class. Extended by library specific classes.
*/
class MetaImageSlide extends MetaSlide {
/**
* Register slide type
*/
public function __construct() {
add_filter( '<API key>', array( $this, 'get_slide' ), 10, 2 );
add_action( '<API key>', array( $this,... |
#include "precompiled.hpp"
#include "classfile/symbolTable.hpp"
#include "gc_implementation/parallelScavenge/cardTableExtension.hpp"
#include "gc_implementation/parallelScavenge/gcTaskManager.hpp"
#include "gc_implementation/parallelScavenge/generationSizer.hpp"
#include "gc_implementation/parallelScavenge/<API key>.hp... |
<?PHP
// THIS FILE IS DEPRECATED! PLEASE DO NOT MAKE CHANGES TO IT!
// IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL
// LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY.
function wiki_upgrade($oldversion) {
This function does anything necessary to upgrade
older versions to match current functionality
... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<title>com.qualcomm.robotcore.util</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!
if (location.href.indexOf('is-external=true') == -1) {
parent.... |
/* aes256_dec.c */
#include "aes.h"
#include "aes_dec.h"
void aes256_dec(void* buffer, aes256_ctx_t* ctx){
aes_decrypt_core(buffer, (aes_genctx_t*)ctx, 14);
} |
<p><b><img alt="" src="<?php echo $CFG->wwwroot; ?>/mod/turnitintool/icon.gif" /> Turnitin Uppgifter - Uppgiftsdelar</b></p>
<p>Bestämmer huruvida delarna av denna uppgift är namngivna delar eller om den här uppgiften är en portfoliouppgift.</p> |
<?php
/**
* <API key>
*/
require_once 'Zend/Http/UserAgent/Features/Adapter.php';
class <API key> implements <API key>
{
/**
* Get features from request
*
* @param array $request $_SERVER variable
* @return array
*/
public static function getFromRequest($request, array $config)
{... |
module RGen
module MetamodelBuilder
module DataTypes
# An enum object is used to describe possible attribute values within a
# MetamodelBuilder attribute definition. An attribute defined this way can only
# take the values specified when creating the Enum object.
# Literal values can only be symbols or true or ... |
package com.puppycrawl.tools.checkstyle.checks.whitespace.emptylineseparator;
public class <API key> {
} |
package route53
import (
"net/url"
"regexp"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol/restxml"
)
func init() {
initClient = func(c *client.Client) {
c.Handlers.Buil... |
// of patent rights can be found in the PATENTS file in the same directory.
#pragma once
#include <map>
#include <queue>
#include <string>
#include <thread>
#include "port/port.h"
#include "rocksdb/status.h"
namespace rocksdb {
class Env;
class Logger;
class SstFileManagerImpl;
// DeleteScheduler allows the DB to enfo... |
package com.thinkaurelius.titan.hadoop.compat.h1;
import com.thinkaurelius.titan.graphdb.configuration.TitanConstants;
import com.thinkaurelius.titan.hadoop.config.job.<API key>;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.mapreduce.JobContext;
import org.apache.hadoop.mapreduce.TaskAttemptCon... |
const path = require('path');
const fs = require('fs');
const EventEmitter = require('events').EventEmitter;
const Shard = require('./Shard');
const Collection = require('../util/Collection');
const Util = require('../util/Util');
/**
* This is a utility class that can be used to help you spawn shards of your client. ... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Elasticsearch.Net;
namespace Nest
{
public partial class ElasticClient
{
<inheritdoc />
public ISearchResponse<T> MoreLikeThis<T>(Func<<API key><T>, <API key><T>> mltSelector)
where T : class
... |
package featureflag_test
import (
"errors"
fakeflag "github.com/cloudfoundry/cli/cf/api/feature_flags/fakes"
"github.com/cloudfoundry/cli/cf/command_registry"
"github.com/cloudfoundry/cli/cf/configuration/core_config"
testcmd "github.com/cloudfoundry/cli/testhelpers/commands"
testconfig "github.... |
package org.csstudio.swt.xygraph.util;
import org.csstudio.swt.xygraph.figures.XYGraph;
import org.eclipse.draw2d.FigureUtilities;
import org.eclipse.draw2d.SWTGraphics;
import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.draw2d.geometry.Rectangle;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphic... |
# Using AOT compilation
## What is tfcompile?
`tfcompile` is a standalone tool that ahead-of-time (AOT) compiles TensorFlow
graphs into executable code. It can reduce total binary size, and also avoid
some runtime overheads. A typical use-case of `tfcompile` is to compile an
inference graph into executable code for mob... |
<?php if (!defined('APPLICATION')) exit();
$Alt = FALSE;
$Session = Gdn::Session();
$EditUser = $Session->CheckPermission('Garden.Users.Edit');
$DeleteUser = $Session->CheckPermission('Garden.Users.Delete');
foreach ($this->UserData->Result() as $User) {
$Alt = $Alt ? FALSE : TRUE;
?>
<tr id="<?php echo "UserI... |
Namespace Microsoft.CodeAnalysis.VisualBasic
Friend Partial Module ErrorFacts
Public Function IsWarning(code as ERRID) As Boolean
Select Case code
Case ERRID.WRN_BadSwitch,
ERRID.<API key>,
ERRID.<API key>,
ERRID.WRN_... |
<?php
namespace yiiunit\extensions\authclient\oauth\signature;
use yii\authclient\signature\RsaSha1;
use yiiunit\extensions\authclient\TestCase;
class RsaSha1Test extends TestCase
{
/**
* Returns test public certificate string.
* @return string public certificate string.
*/
protected function <AP... |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import datetime
import itertools
import os
import re
from importlib import import_module
from django.apps import apps
from django.conf import settings
from django.contrib.admin.models import LogEntry
from django.contrib.auth import REDIRECT_FIELD_NAME, SES... |
<<API key> <API key>="customDataEntryForm"></<API key>> |
! This file is all about BACKSPACE
! { dg-do run }
integer i, n, nr
real x(10), y(10)
! PR libfortran/20068
open (20, status='scratch')
write (20,*) 1
write (20,*) 2
write (20,*) 3
rewind (20)
read (20,*) i
if (i .ne. 1) call abort
write (*,*) ' '
backsp... |
'use strict';
const path = require('../fastpath');
const <API key> = require('./<API key>');
function <API key>(filename, platforms) {
const ext = path.extname(filename);
const platformExt = <API key>(filename, platforms);
let pattern = '@([\\d\\.]+)x';
if (platformExt != null) {
pattern += '(\\.' + platfor... |
var utils = require('../../lib/utils');
// if they agree to the ULA, notify hubspot, create a trial and send verification link
module.exports = function trialSignup(request, reply) {
var postToHubspot = request.server.methods.npme.sendData,
getCustomer = request.server.methods.npme.getCustomer;
var opts = {};
... |
using System;
using System.Collections.Generic;
using UIKit;
using Foundation;
using System.Reflection;
namespace FontList.Code {
<summary>
Combined DataSource and Delegate for our UITableView
</summary>
public class NavItemTableSource : UITableViewSource
{
protected List<NavItemGroup> navIt... |
var insert = require('./insert')
var concat = require('concat-stream')
insert('aggregate', [{
name: 'Squirtle', type: 'water'
}, {
name: 'Starmie', type: 'water'
}, {
name: 'Charmander', type: 'fire'
}, {
name: 'Lapras', type: 'water'
}], function (db, t, done) {
db.a.aggregate([{$group: {_id: '$type'}}, {$pr... |
<?php
namespace PhpOffice\PhpSpreadsheet\Worksheet;
use ArrayObject;
use PhpOffice\PhpSpreadsheet\Calculation\Calculation;
use PhpOffice\PhpSpreadsheet\Cell\Cell;
use PhpOffice\PhpSpreadsheet\Cell\Coordinate;
use PhpOffice\PhpSpreadsheet\Cell\DataType;
use PhpOffice\PhpSpreadsheet\Cell\DataValidation;
use PhpOffice\Php... |
import {addClass, hasClass, empty} from './../helpers/dom/element';
import {eventManager as eventManagerObject} from './../eventManager';
import {getRenderer, registerRenderer} from './../renderers';
import {<API key>} from './../3rdparty/walkontable/src/cell/coords';
var clonableWRAPPER = document.createElement('DIV')... |
namespace System.ServiceModel.Channels
{
using System.Collections.Generic;
using System.Runtime;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.ServiceModel.Security;
using SR = System.ServiceModel.SR;
sealed class <API key><TChannel> : <API key><TChannel>, <A... |
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
typedef struct {
uint32_t percent;
<API key> value;
} <API key>;
typedef struct {
<API key> value;
ngx_array_t parts;
} <API key>;
static char *<API key>(ngx_conf_t *cf, ngx_command_t *cmd,
vo... |
module Jekyll
class TagIndex < Page
def initialize(site, base, dir, tag)
@site = site
@base = base
@dir = dir
@name = 'index.html'
self.process(@name)
self.read_yaml(File.join(base, '_layouts'), 'tag_index.html')
self.data['tag'] = tag
self.data['title'] = "Posts Ta... |
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions:
// copies or substantial portions of... |
var one = {
name: 'one'
}; |
package sun.java2d.opengl;
import java.awt.AlphaComposite;
import java.awt.GraphicsEnvironment;
import java.awt.Rectangle;
import java.awt.Transparency;
import java.awt.image.ColorModel;
import java.awt.image.Raster;
import sun.awt.SunHints;
import sun.awt.image.PixelConverter;
import sun.java2d.pipe.hw.AccelSurface;
i... |
<?php
namespace Doctrine\MongoDB\Event;
use Doctrine\Common\EventArgs as BaseEventArgs;
class EventArgs extends BaseEventArgs
{
private $invoker;
private $data;
public function __construct($invoker, &$data = null)
{
$this->invoker = $invoker;
$this->data = $data;
}
public functio... |
var crypto = require('crypto');
var scmp = require('scmp');
var utils = require('keystone-utils');
// The DISABLE_CSRF environment variable is available to automatically pass
// CSRF validation. This is useful in development scenarios where you want to
// restart the node process and aren't using a persistent session s... |
<?php
/**
* The document handler for the docbook document markup.
*
* @package Document
* @version //autogen//
*/
class ezcDocumentDocbook extends ezcDocumentXmlBase
{
/**
* Construct document xml base.
*
* @ignore
* @param <API key> $options
* @return void
*/
public function ... |
<?php
class <API key> {
/**
* Field Constructor.
*
* Required - must call the parent constructor, then assign field and value to vars, and obviously call the render field function
*
* @since Redux_Options 1.0.0
*/
function __construct($field, $value, $current) {
$this->field... |
<?php
/**
* @see <API key>
*/
#require_once 'Zend/Http/UserAgent/Exception.php';
class <API key> extends <API key>
{
} |
#include <linux/capability.h>
#include <linux/kernel.h>
#include <linux/if_bridge.h>
#include <linux/netdevice.h>
#include <linux/times.h>
#include <net/net_namespace.h>
#include <asm/uaccess.h>
#include "br_private.h"
/* called with RTNL */
static int <API key>(int *indices, int num)
{
struct net_device *dev;
... |
#undef container_of
/*
* The container_of construct: if p is a pointer to member m of
* container class c, then return a pointer to the container of which
* *p is a member.
*/
#define container_of(p, c, m) ((c *)((char *)(p) - offsetof(c,m)))
#include <../../../com32/include/linux/list.h> |
/* ScriptData
SDName: Trial Of the Champion
SD%Complete:
SDComment:
SDCategory: <API key>
EndScriptData */
/* ContentData
npc_announcer_toc5
EndContentData */
#include "ScriptPCH.h"
#include "<API key>.h"
#include "Vehicle.h"
#define GOSSIP_START_EVENT1 "I'm ready to start challenge."
#define GOSSIP_START_EVENT2 ... |
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/workqueue.h>
#include <linux/platform_device.h>
#include <mach/am_regs.h>
#include <linux/amports/canvas.h>
#include <linux/amports/vframe.h>
#include <linux/amports/vframe_provider.h>
#include "deinterlace.h"
#ifdef DEBUG
unsigned di_pre_underflow = 0,... |
#pragma once
#include <functional>
#include <utility>
#include <variant>
namespace Common
{
// A Lazy object holds a value. If a Lazy object is constructed using
// a function as an argument, that function will be called to compute
// the value the first time any code tries to access the value.
template <typename T>
cl... |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#ifndef <API key>
#define <API key>
#include "st.h"
#define <API key> (<API key> ())
#define <API key>(obj) (<API key> ((obj), <API key>, <API key>))
#define <API key>(klass) (<API key> ((klass), <API key>, <API k... |
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "opts.h"
#include "toplev.h"
#include "hash-set.h"
#include "machmode.h"
#include "vec.h"
#include "double-int.h"
#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "options.h"
#include "wide-int.h"
#include "inchash.h"
#include "re... |
<?php
class <API key>
{
/**
* possible search parameters, incl. default values
*
* @var array
*/
private $_parameters = array(
'what' => null,
'dymwhat' => null,
'dymrelated' => null,
'hits' => null,
'collapse' ... |
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "magisters_terrace.h"
enum Says
{
SAY_AGGRO = 0,
SAY_ENERGY = 1,
SAY_EMPOWERED = 2,
SAY_KILL = 3,
SAY_DEATH = 4,
EMOTE_CRYSTAL ... |
#ifndef <API key>
#define <API key>
#include "WindowWidget.hpp"
#include "Screen/Window.hpp"
class FixedWindowWidget : public WindowWidget {
public:
FixedWindowWidget() = default;
FixedWindowWidget(Window *window):WindowWidget(window) {}
PixelSize GetMinimumSize() const override {
return GetWindow().GetSize()... |
#ifndef EAP_H
#define EAP_H
#include "common/defs.h"
#include "eap_common/eap_defs.h"
#include "eap_peer/eap_methods.h"
struct eap_sm;
struct wpa_config_blob;
struct wpabuf;
struct eap_method_type {
int vendor;
u32 method;
};
#ifdef IEEE8021X_EAPOL
/**
* enum eapol_bool_var - EAPOL boolean state variables for ... |
#include "Init.hpp"
#include <curl/curl.h>
void
Net::Initialise()
{
curl_global_init(CURL_GLOBAL_WIN32);
}
void
Net::Deinitialise()
{
curl_global_cleanup();
} |
// Name: src/msw/mediactrl_qt.cpp
// Purpose: QuickTime Media Backend for Windows
// Created: 11/07/04
// RCS-ID: $Id: mediactrl_qt.cpp 45498 2007-04-16 13:03:05Z VZ $
// Licence: wxWindows licence
// DECLARATIONS
// Pre-compiled header stuff
// For compilers that support precompilation, includ... |
// Name: src/msw/gdiobj.cpp
// Purpose: wxGDIObject class
// Created: 01/02/97
// RCS-ID: $Id: gdiobj.cpp 40626 2006-08-16 14:53:49Z VS $
// Licence: wxWindows licence
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#e... |
module.exports = require("./mime-functions");
module.exports.contentTypes = require("./content-types"); |
// file at the top-level directory of this distribution and at
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: --cfg fooA --cfg fooB
// fooA AND !bar
#[cfg(fooA, not(bar))]
fn foo1() -> int { 1 }
// !fooA AND !bar
#[cfg(not(fooA), not(bar))]
fn foo2... |
using NUnit.Framework;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Unit.Search.Query.Singles
{
[TestFixture]
public class <API key>
{
[Test]
public void FallbackTerm()
{
var s = new SearchDescriptor<<API key>>().From(0).Size(10)
.Query(q=>q
... |
require "formula"
class Xplanetfx < Formula
desc "Configure, run or daemonize xplanet for HQ Earth wallpapers"
homepage "http://mein-neues-blog.de/xplanetFX/"
url "http://repository.mein-neues-blog.de:9000/archive/xplanetfx-2.6.6_all.tar.gz"
sha256 "<SHA256-like>"
version "2.6.6"
bottle do
cellar :any
... |
# OpenSSL/crypto/rc4/Makefile
DIR= rc4
TOP= ../..
CC= cc
CPP= $(CC) -E
INCLUDES=
CFLAG=-g
AR= ar r
RC4_ENC=rc4_enc.o rc4_skey.o
CFLAGS= $(INCLUDES) $(CFLAG)
ASFLAGS= $(INCLUDES) $(ASFLAG)
AFLAGS= $(ASFLAGS)
GENERAL=Makefile
TEST=rc4test.c
APPS=
LIB=$(TOP)/libcrypto.a
LIBSRC=rc4_skey.c rc4_enc.c rc4_u... |
@media screen and (max-width: 991px), screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-<API key>: 2), screen and (min-device-width: 320px) and (max-device-width: 568px) and (-<API key>: 2) {
.row-offcanvas {
position: relative;
-webkit-transition: all 0.25s ease-out;
-moz-transiti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.