answer stringlengths 15 1.25M |
|---|
var getColors = require('../getColors');
var randomBetween = require('../randomBetween');
module.exports = function(canvas, opt) {
var ctx = canvas.getContext('2d');
var colors = getColors(randomBetween(1, 4));
colors.forEach(function(color) {
ctx.beginPath();
ctx.moveTo(randomBetween(0, opt.width), rando... |
from django.conf.urls import patterns, include, url
from settings import STATIC_ROOT, GRAPHITE_API_PREFIX, CONTENT_DIR
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
urlpatterns = patterns(
'',
# These views are needed for the <API key> debug interf... |
import <API key> from "@enhavo/app/<API key>";
import * as $ from "jquery";
import "slick-carousel";
export default class GalleryBlock implements <API key>
{
public init(element: HTMLElement)
{
if($('[data-hero-slider]').length > 0) {
$(element).find('[data-hero-slider]').slick({
... |
package org.knowm.xchange.currency;
import java.io.IOException;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.<API key>;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
/**
* @author timmolter
*/
public class <API key... |
// Use of this source code is governed by a BSD-style
package planbuilder
import (
"errors"
"github.com/youtube/vitess/go/vt/sqlparser"
"github.com/youtube/vitess/go/vt/vtgate/engine"
"github.com/youtube/vitess/go/vt/vtgate/vindexes"
)
// buildSelectPlan is the new function to build a Select plan.
func ... |
#include "<API key>.h"
#include "<API key>.h"
<API key> *sRequestProxy;
static sem_t sem_heard2;
class <API key> : public <API key>
{
public:
void readData ( const <API key> v ) {
fprintf(stderr, "heard an s: %lld\n", (long long)v.data);
//sRequestProxy->say2(v, 2*v);
}
void writeDone ( const ... |
package org.bouncycastle.cms.jcajce;
import java.security.<API key>;
import java.security.<API key>;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.PrivateKey;
import java.security.Provider;
import java.security.PublicKey;
import java.security.SecureRandom;
import java.securit... |
#nullable enable
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.CodeAnalysis.Shared.Extensions
{
internal static class <API key>
{
public static string GetFullText(this IEnumerable<SymbolDisplayPart> parts)
=> string.Join(string.Empty, parts.Select(p => p.ToString()... |
var assert = require('assert');
describe('integral test', function() {
it('Process result must be equal to expected.css', function() {
var config = this.Comb.getConfig('csscomb');
this.comb.configure(config);
this.shouldBeEqual('integral.css', 'integral.expected.css');
});
it('Issue ... |
import test from '../../';
test(t => {
t.pass();
}); |
/*
W3C Sample Code Library libwww NNTP REQUEST STREAM
!NNTP Request Stream!
*/
/*
The NNTP Request stream generates a NNTP request header and writes it
to the target which is normally a HTWriter stream.
This module is implemented by HTNewsRq.c, and
it is a part of the W3C
Sample Code Library.
*/
#if... |
<?php
namespace Mage\Review\Test\Constraint;
use Magento\Mtf\Constraint\AbstractConstraint;
use Magento\Mtf\ObjectManager;
use Mage\Catalog\Test\Page\Product\CatalogProductView;
/**
* Assert that product don't have a review on product page.
*/
class <API key> extends AbstractConstraint
{
/* tags */
const SEVE... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.OData;
using System.Web.OData.Batch;
using System.Web.OData.Builder;
using System.Web.OData.Extensions;
using S... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
using Xamarin.Forms.Core.UnitTests;
using NUnit.Framework;
namespace Xamarin.Forms.Xaml.UnitTests
{
public partial class <API key> : ContentPage
{
public <API key> ()
{
InitializeComponent ();
}
publ... |
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
function plural(n: number): number {
return 5;
}
export default [
'qu-EC',
[
['a.m.', 'p.m.'],
,
],
,
[
['D', 'L', 'M', 'X', 'J', 'V', 'S'], ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab'],
['Domingo'... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Tue Dec 16 10:59:47 NZDT 2014 -->
<title>Instance</title>
<meta name="date" content="2014-12-16">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
</head>
<body>
<script typ... |
#nullable enable
using System.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.<API key>
{
internal abstract partial class <API key>
{
private class <API key> : <API key>
{
private re... |
#include "efx.h"
#include "efx_impl.h"
#if EFSYS_OPT_BOOTCFG
/*
* Maximum size of BOOTCFG block across all nics as understood by SFCgPXE.
* NOTE: This is larger than the Medford per-PF bootcfg sector.
*/
#define BOOTCFG_MAX_SIZE 0x1000
/* Medford per-PF bootcfg sector */
#define BOOTCFG_PER_PF 0x800
#define ... |
/*csslint adjoining-classes: false, star-property-hack: false, important: false, outline-none: false, <API key>: false */
.pure-form label {
display: inline-block;
*display: inline;
*zoom: 1;
}
.pure-form-stacked label {
display: block;
}
.<API key>,
.<API key>,
.<API key>,
.<API key> {
position: ab... |
<template name="tableOfContents">
<div class="table-of-contents">
{{> nav}}
</div>
</template>
<template name="nav">
<h1>API</h1>
<div class="options">
<label class="show-all-types">
<input type="checkbox" checked="{{showAllTypes}}" />
Show all types
</label>
</div>
{{#each sections}... |
package org.eclipse.jdt.internal.ui.javadocexport;
import java.io.<API key>;
import java.io.File;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.<API key>;
import javax.xml.parsers.<API key>;
i... |
Leaflet.draw Changelog
===================
## master
An in-progress version being developed on the master branch.
Improvements
* Refactored the `L.drawLocal' object to be better structured and use this object whereever text is used. *NOTE: THIS IS A NEW FORMAT, SO WILL BRESK ANY EXISTING CUSTOM `L.drawLocal` SETTINGS*... |
<?php
use Peridot\Console\CliOptionParser;
describe('CliOptionParser', function() {
beforeEach(function() {
$this->search = ['-c', '--configuration'];
$this->args = ["test.php", "-c", "peridot.php", "another", "thing", '--configuration', 'file.php'];
$this->parser = new CliOptionParser($this... |
<div class="container view-space">
<div class="row">
<div class="col-md-12">
Coming Soon
</div>
</div>
</div> |
// fix arrow end issues:
var chart_config = {
chart: {
container: "#<API key>",
levelSeparation: 45,
rootOrientation: "WEST",
nodeAlign: "BOTTOM",
connectors: {
type: "step",
style: {
"stroke-width": 2
}
},
n... |
// Use of this source code is governed by a BSD-style
package main
import (
"fmt"
"strings"
)
// mdChangeLink returns the markdown for a link to CL n.
func mdChangeLink(n int) string {
return fmt.Sprintf("[CL %d](https://golang.org/cl/%d)", n, n)
}
// mdEscape escapes text so that it does not have any speci... |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
using Object = UnityEngine.Object;
namespace UnityTest
{
public abstract class <API key> : IComparable<<API key>>
{
public static Action<IList<ITestComponent>> RunTest;
protected static bool ... |
-- Create a view
CREATE VIEW SalesLT.vCustomerAddress
AS
SELECT C.CustomerID, FirstName, LastName, AddressLine1, City, StateProvince
FROM
SalesLT.Customer C JOIN SalesLT.CustomerAddress CA
ON C.CustomerID=CA.CustomerID
JOIN SalesLT.Address A
ON CA.AddressID=A.AddressID
-- Query the view
SELECT CustomerID, City
FROM Sal... |
# <API key>: true
module Onebox
module Engine
class ImgurOnebox
include Engine
include StandardEmbed
matches_regexp(/^https?:\/\/(www\.)?imgur\.com/)
always_https
def to_html
og = get_opengraph
return video_html(og) if !og.video_secure_url.nil?
return album_ht... |
/** \file
* \brief Master include file for the library USB functionality.
*
* Master include file for the library USB functionality.
*
* This file should be included in all user projects making use of the USB portions of the library, instead of
* the individual USB driver submodule headers.
*/
/** \defgroup ... |
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Rulesets.Mania.Objects;
using osu.Game.Rulesets.Mania.Replays;
using osu.Game.Rulesets.Mods;
using osu.Game.Scoring;
using osu.Game.Users;
namespace osu.Game.Rulesets.Man... |
package org.knowm.xchange.gatecoin;
import java.io.IOException;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import org.knowm.xchange.gatecoin.dto.GatecoinException;
import org.knowm.xchange.... |
# <API key>
An <API key> is an [ITICMaterial's](/Mods/Modtweaker/TConstruct/Materials/ITICMaterial/) definition.
You can use this to retrieve some information on the [ITICMaterial](/Mods/Modtweaker/TConstruct/Materials/ITICMaterial/) object.
## Importing the package
It might be required for you to import the package if... |
<?php namespace EchoIt\JsonApi;
/**
* A class used to represented a client request to the API.
*
* @author Ronni Egeriis Persson <ronni@egeriis.me>
*/
class Request
{
/**
* Contains the url of the request
*
* @var string
*/
public $url;
/**
* Contains the HTTP method of the requ... |
namespace System.Reflection
{
using System;
internal static class MdConstant
{
public static unsafe Object GetValue(MetadataImport scope, int token, RuntimeTypeHandle fieldTypeHandle, bool raw)
{
CorElementType corElementType = 0;
long buffer = 0;
int leng... |
// This software is part of the Autofac IoC container
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copies of the Software, and to permit persons to whom the
// Software is f... |
using System;
using Autofac.Core;
using Autofac.Core.Activators.Reflection;
namespace Autofac.Builder
{
<summary>
Reflection activator data for concrete types.
</summary>
public class <API key> : <API key>, <API key>
{
<summary>
Specify a reflection activator for the given type.
... |
require File.expand_path('../../test_helper', __FILE__)
class <API key> < <API key>
def setup
$test_user = Person.find(1)
end
def replace_tags
put '/posts/15/relationships/tags', params:
{
'data' => [{type: 'tags', id: 11}, {type: 'tags', id: 3}, {type: 'tags', id: 12}, {type: 'tags', id: 13... |
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// all copies or substantial... |
function sample() {
alert('Hello from sample.js!')
} |
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - interactive instances (gpu)</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
font-family: Monospace;
ba... |
//>>built
define("dojox/editor/plugins/nls/mk/PageBreak",{"pageBreak":"Прелом на страница"}); |
function test0(){
//Snippets:stfldprototype.ecs
function v710235()
{
}
v710235.prototype = 1;
var v710236 = new v710235();
// Make sure this literal's type isn't shared with the one with the constructor above
// as we would have the inline slot count locked for the literal
var litObj... |
<!doctype html>
<html ng-app="myApp">
<head>
<link rel="stylesheet" href="http://cdn.jsdelivr.net/foundation/4.3.2/css/foundation.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.js"></script>
<style>
input.ng-invalid {
border: 1px solid red;
}
input.ng-valid ... |
import React from "react"
import { TypographyStyle, GoogleFont } from "react-typography"
import typography from "./.cache/typography"
exports.onRenderBody = ({ setHeadComponents }, pluginOptions) => {
setHeadComponents([
<TypographyStyle key={`TypographyStyle`} typography={typography} />,
<GoogleFont key={`Go... |
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// to whom the Software is furnished to do so, subject to the following conditions:
// substantial portions of the Software.
// INCLUDING ... |
#!/bin/bash
set -e
#currentVersion=android-8.0.0_r36
#currentVersion=android-8.1.0_r22
currentVersion=android-9.0.0_r12
baseDir=`dirname $0`/..
<API key>="$HOME/Dev/AOSP/frameworks/base"
function showDiffs2() {
file="$1"
line="$2"
x=$(echo "$line" | sed -e 's/.*https:\/\/android.googlesource.com\/\([^ ]*\)\/[+]\/... |
/* jshint node: true */
'use strict';
var Promise = require('ember-cli/lib/ext/promise');
var path = require('path');
var fs = require('fs');
var denodeify = require('rsvp').denodeify;
var readFile = denodeify(fs.readFile);
var DeployPluginBase = require('<API key>');
module.exports = {
name: '<API key... |
from test_support import verbose, TestFailed
if verbose:
print 'Running tests on argument handling'
try:
exec 'def f(a, a): pass'
raise TestFailed, "duplicate arguments"
except SyntaxError:
pass
try:
exec 'def f(a = 0, a = 1): pass'
raise TestFailed, "duplicate keyword arguments"
except SyntaxEr... |
// ImageLib Sources
// Last modified: 03/07/2009
// Filename: src-IL/src/il_convert.cpp
// Description: Converts between several image formats
#include "il_internal.h"
#include <limits.h>
ILimage *iConvertPalette(ILimage *Image, ILenum DestFormat)
{
static const ILfloat LumFactor[3] = { 0.212671f, 0.715160f, 0.0721... |
/**
* Traditional Chinese spoken in Taiwan.
*/
$.Editable.LANGS['zh_tw'] = {
translation: {
"Bold": "\u7c97\u9ad4",
"Italic": "\u659c\u9ad4",
"Underline": "\u5e95\u7dda",
"Strikethrough": "\u522a\u9664\u7dda",
"Font Size": "\u5b57\u578b\u5927\u5c0f",
"Color": "\u984f\u8272",
"Background"... |
exports.formatCoverage = function (n) {
var str = Math.floor(n * 10000)/100 + '%';
return str;
};
var symbols = {
ok: '',
warn: '⁍',
err: ''
};
// With node.js on Windows: use symbols available in terminal default fonts
if ('win32' === process.platform) {
symbols.ok = '\u221A';
symbols.warn = '\u204D';
... |
Bulma is a **modern CSS framework** based on [Flexbox](https://developer.mozilla.org/en-US/docs/Web/CSS/<API key>/<API key>).
[][npm-link]
[][npm-link]
[![Awesome][awesome-badge]][awesome-link]
[![Join the chat at https:
[![Bui... |
// CppNumericalSolver
#ifndef <API key>
#define <API key>
#include <Eigen/Core>
#include "isolver.h"
#include "../linesearch/morethuente.h"
namespace cppoptlib {
template<typename ProblemType>
class <API key> : public ISolver<ProblemType, 1> {
public:
using Superclass = ISolver<ProblemType, 1>;
using typename Super... |
$(document).ready(function(){$(".dropdown-toggle").dropdown()}); |
<API key> @'
string1=string1 for en-US
string2=string2 for en-US
'@ # SIG # Begin signature block |
require File.dirname(__FILE__) + '/support/setup'
# A background job to update all child models with the correct access level
# of the parent document, and update all assets on S3.
class UpdateAccess < CloudCrowd::Action
def process
begin
ActiveRecord::Base.<API key>
access = options['access']
... |
const isIntersecting = (a, b) =>
!(a.x >= (b.x + b.width) ||
(a.x + a.width) <= b.x ||
a.y >= (b.y + b.height) ||
(a.y + a.height) <= b.y);
export default (a, b) => {
if (isIntersecting(a, b)) {
const left = Math.max(a.x, b.x);
const right = Math.min(a.x + a.width, b.x + b.w... |
// Because I don't want two files, we're going to fork ourselves.
var fakeProcess = new (require('./fake-process').FakeProcess)();
//if (!process.send) {
// This is the parent
var guid = 1;
var callbacks = {};
var callbackData = {};
//var child = require('child_process').fork('verifier.js');
exp... |
class Gws::Qna::Category
include Gws::Model::Category
include Gws::Referenceable
include Gws::Reference::User
include Gws::Reference::Site
include Gws::Addon::SubscriptionSetting
include Gws::Addon::ReadableSetting
include Gws::Addon::GroupPermission
include Gws::Addon::History
default_scope ->{ where... |
/*global defineSuite*/
defineSuite([
'DataSources/<API key>',
'Core/Cartesian3',
'Core/ExtrapolationType',
'Core/JulianDate',
'Core/<API key>',
'Core/LinearApproximation',
'Core/ReferenceFrame',
'DataSources/PositionProperty'
], function(
<API ... |
var util = require('util');
var events = require('events');
var Q = require('q');
var Nightwatch = require('../../index.js');
function ClientManager() {
events.EventEmitter.call(this);
this.setMaxListeners(0);
}
util.inherits(ClientManager, events.EventEmitter);
ClientManager.prototype.init = function(opts) {
try... |
/*globals define, angular, alert*/
define([
'angular',
'text!./templates/propertyValue.html',
'css!./styles/propertyValue.css',
'./valueWidgets'
], function (ng, defaultTemplate) {
'use strict';
angular.module(
'isis.ui.propertyValue', [
'isis.ui.valueWidgets'
]
)... |
import{<API key>}from"./<API key>";import{useOptionalFactory}from"../useOptionalFactory";import{<API key>}from"./<API key>";import{<API key>}from"./<API key>";import{useCollectedProps}from"../useCollectedProps";import{<API key>}from"./connectors";function useDrop(o,r){var e=useOptionalFactory(o,r),o=<API key>(),r=<API ... |
package org.openhab.binding.hue.internal.hardware;
import java.io.IOException;
import org.apache.commons.lang.StringUtils;
import org.codehaus.jackson.JsonNode;
import org.codehaus.jackson.map.ObjectMapper;
import org.openhab.binding.hue.internal.data.HueSettings;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory... |
Clazz.declarePackage ("org.eclipse.osgi.framework.adaptor");
c$ = Clazz.declareInterface (org.eclipse.osgi.framework.adaptor, "BundleData");
Clazz.defineStatics (c$,
"TYPE_FRAGMENT", 0x00000001,
"<API key>", 0x00000002,
"<API key>", 0x00000004,
"TYPE_SINGLETON", 0x00000008); |
Clazz.declarePackage ("org.eclipse.jface.preference");
Clazz.load (null, "org.eclipse.jface.preference.ColorSelector", ["org.eclipse.jface.resource.JFaceResources", "org.eclipse.jface.util.ListenerList", "$.PropertyChangeEvent", "$wt.accessibility.AccessibleAdapter", "$wt.events.DisposeListener", "$.SelectionAdapter", ... |
#ifndef CANON_HOST_H
# define CANON_HOST_H 1
char *canon_host (char const *host);
char *canon_host_r (char const *host, int *cherror);
const char *ch_strerror (void);
# define ch_strerror_r(cherror) gai_strerror (cherror);
#endif /* !CANON_HOST_H */ |
<!DOCTYPE html PUBLIC "-
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="search.css"/>
<script type="text/javascript" src="search.js"></script>
</head>
<body class="SRPage">
<div id="SRIndex">
<div class="SRStatus" id="Loading... |
#!/usr/bin/env python
import os, sys
path = [ ".", "..", "../..", "../../..", "../../../.." ]
head = os.path.dirname(sys.argv[0])
if len(head) > 0:
path = [os.path.join(head, p) for p in path]
path = [os.path.abspath(p) for p in path if os.path.exists(os.path.join(p, "scripts", "TestUtil.py")) ]
if len(path) == 0:
... |
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <linux/net.h>
#include <linux/inet.h>
#include <linux/slab.h>
#include <net/sock.h>
#include <net/inet_ecn.h>
#include <linux/skbuff.h>
#include <net/sctp/sctp.h>
#includ... |
#ifndef QEMU_PLUGIN_API_H
#define QEMU_PLUGIN_API_H
#include <inttypes.h>
#include <stdbool.h>
#include <stddef.h>
#if defined _WIN32 || defined __CYGWIN__
#ifdef BUILDING_DLL
#define QEMU_PLUGIN_EXPORT __declspec(dllexport)
#else
#define QEMU_PLUGIN_EXPORT __declspec(dllimport)
#endif
#define QEMU_PLUG... |
.rtl { direction: rtl;}
@font-face {
font-family: 'revicons';
src: url('../fonts/revicons/revicons.eot?5510888');
src: url('../fonts/revicons/revicons.eot?5510888#iefix') format('embedded-opentype'),
url('../fonts/revicons/revicons.woff?5510888') format('woff'),
url('../fonts/re... |
#include "clConnectionString.h"
#include "file_logger.h"
clConnectionString::clConnectionString(const wxString& connectionString)
: m_port(wxNOT_FOUND)
, m_isOK(false)
{
DoParse(connectionString);
}
clConnectionString::~clConnectionString() {}
void clConnectionString::DoParse(const wxString& connectionStrin... |
#include <linux/workqueue.h>
#include <linux/delay.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/ioctl.h>
#include <linux/spinlock.h>
#include <linux/videodev2.h>
#include <linux/proc_fs.h>
#include <linux/videodev2.h>
#include <linux/vmalloc.h>
#include <media/v4l2-dev.h>
#include <media/v4l2-ioc... |
#include <stdint.h>
#include <string.h>
#include <arch/io.h>
#include <device/device.h>
#include <device/pci.h>
#include <soc/gpio.h>
#include <soc/iomap.h>
#include <soc/pm.h>
/*
* This function will return a number that indicates which PIRQ
* this GPIO maps to. If this is not a PIRQ capable GPIO then
* it will re... |
#!/bin/sh
test_description='Test the mail command'
. ./test-lib.sh
test_expect_success \
'Initialize the StGIT repository' \
'
git config stgit.sender "A U Thor <author@example.com>" &&
for i in 1 2 3 4 5; do
touch foo.txt &&
echo "line $i" >> foo.txt &&
stg add foo.txt &&
git co... |
#include <linux/device.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/kdev_t.h>
#include <linux/notifier.h>
#include <linux/genhd.h>
#include <linux/kallsyms.h>
#include <linux/semaphore.h>
#include <linux/mutex.h>
#include <... |
/* This particular implementation was written by Eric Blake, 2008. */
#ifndef _LIBC
# include <config.h>
#endif
/* Specification of memmem. */
#include <string.h>
#ifndef _LIBC
# define __builtin_expect(expr, val) (expr)
#endif
#define RETURN_TYPE void *
#define AVAILABLE(h, h_l, j, n_l) ((j) <= (h_l) - (n_l))
#inc... |
# -*- coding: utf-8 -*-
# This file is part of Invenio.
# Invenio is free software; you can redistribute it and/or
# published by the Free Software Foundation; either version 2 of the
# Invenio is distributed in the hope that it will be useful, but
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# a... |
#include "packet_list_record.h"
#include <file.h>
#include <epan/epan_dissect.h>
#include <epan/column-info.h>
#include <epan/column.h>
#include <epan/conversation.h>
#include <epan/color_filters.h>
#include "frame_tvbuff.h"
#include <QStringList>
QMap<int, int> PacketListRecord::cinfo_column_;
unsigned PacketListRecor... |
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/spinlock.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/slab.h>
#include <linux/pagemap.h>
#include <linux/writeback.h>
#include <linux/init.h>
#include <linux/backing-dev.h>
#include <linux/<API key>.h>
#include... |
/* Return error-text for system error messages and handler messages */
#define PERROR_VERSION "2.11"
#include <my_global.h>
#include <my_sys.h>
#include <m_string.h>
#include <errno.h>
#include <my_getopt.h>
#ifdef <API key>
#include "../storage/ndb/src/ndbapi/ndberror.c"
#include "../storage/ndb/src/kernel/error/ndbd_... |
#include <linux/errno.h>
#include <linux/platform_device.h>
#include <linux/clkdev.h>
#include <linux/i2c.h>
#include <plat/cpu.h>
#include <plat/devs.h>
#include <plat/fimg2d.h>
#include <plat/jpeg.h>
#include <plat/tv-core.h>
#include <media/exynos_gscaler.h>
#include <mach/hs-iic.h>
#include <mach/exynos-mfc.h>
#inc... |
#ifndef <API key>
#define <API key>
#include "SdoCommand.h"
class CommandDownload:
public SdoCommand
{
public:
CommandDownload();
string helpString(const string &) const;
void execute(const StringVector &);
protected:
enum {DefaultBufferSize = 1024};
};
#endif |
import Carousel from '../../../../../node_modules/bootstrap/js/src/carousel';
window.bootstrap = window.bootstrap || {};
window.bootstrap.Carousel = Carousel;
if (Joomla && Joomla.getOptions) {
// Get the elements/configurations from the PHP
const carousels = Joomla.getOptions('bootstrap.carousel');
// Initialise... |
;(function($) {
$.noty.layouts.centerRight = {
name: 'centerRight',
options: { // overrides options
},
container: {
object: '<ul id="<API key>" />',
selector: 'ul#<API key>',
style: function() {
$(this).css({
rig... |
class CfgWeapons {
class ACE_ItemCore;
class <API key>;
class ACE_CableTie: ACE_ItemCore {
displayName = "$<API key>";
descriptionShort = "$<API key>";
model = QUOTE(PATHTOF(models\ace_cabletie.p3d));
picture = QUOTE(PATHTOF(UI\ace_cabletie_ca.paa));
scope = 2;
... |
function c16550875.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(<API key>)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(<API key>)
e1:SetTarget(c16550875.target)
e1:SetOperation(c16550875.operation)
c:RegisterEffect(e1)
--A... |
<?php
class Block {
/** @var string */
public $mReason;
/** @var bool|string */
public $mTimestamp;
/** @var int */
public $mAuto;
/** @var bool|string */
public $mExpiry;
public $mHideName;
/** @var int */
public $mParentBlockId;
/** @var int */
protected $mId;
/... |
/**
* @ngdoc factory
* @name Bastion.factory:BastionResource
*
* @requires BastionResource
*
* @description
* Base module that defines the Katello module namespace and includes any thirdparty
* modules used by the application.
*/
angular.module('Bastion').factory('BastionResource', ['$resource', function ... |
#ifndef <API key>
#define <API key>
#include <linux/regulator/consumer.h>
#include <linux/suspend.h>
struct regulator;
/*
* Regulator operation constraint flags. These flags are used to enable
* certain regulator operations and can be OR'ed together.
*
* VOLTAGE: Regulator output voltage can be changed by software... |
<?php
/**
* @file
* Definition of Drupal\block\Tests\BlockAdminThemeTest.
*/
namespace Drupal\block\Tests;
use Drupal\simpletest\WebTestBase;
/**
* Tests the block system with admin themes.
*
* @group block
*/
class BlockAdminThemeTest extends WebTestBase {
/**
* Modules to enable.
*
* @var array
*... |
<?php
// Load the Zend framework -- this will automatically trigger the appropriate
// controller action based on directory and file names
define('CLI_DIR', __DIR__); // save directory name of current script
require_once __DIR__ . '/../public/index.php'; |
/* ScriptData
SDName: Shattrath_City
SD%Complete: 100
SDComment: Quest support: 10004, 10009, 10211. Flask vendors, Teleport to Caverns of Time
SDCategory: Shattrath City
EndScriptData */
/* ContentData
npc_raliq_the_drunk
npc_salsalabim
<API key>
npc_zephyr
npc_kservant
EndContentData */
#include "ScriptMgr.h"
#includ... |
#ifndef TAB_PLOT_H
#define TAB_PLOT_H
#include <globalsearch/ui/abstracttab.h>
#include "ui_tab_plot.h"
class QReadWriteLock;
namespace GlobalSearch {
class Structure;
}
namespace Avogadro {
class PlotPoint;
class PlotObject;
}
// Workaround for Qt's ignorance of namespaces in signals/slots
using Avogadro::PlotPo... |
#define KMSG_COMPONENT "TZIC"
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/platform_device.h>
#include <linux/debugfs.h>
#include <linux/cdev.h>
#include <linux/uaccess.h>
#include <linux/sched.h>
#include <linux/list.h>
#include <linux/mutex.h>
#include <linux/android_pmem.... |
# 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 PURPOSE. See the
obj-y += emi_bwl.o |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
ld a, ff
ldff(45), a
ld b, 42
call lwaitly_b
ld a, 40
ldff(41), a
ld a, 02
ldff(ff), a
xor a, a
ldff(0f), a
ei
ld a, b
inc a
inc a
ldff(45), a
ld c, 0f
.text@100... |
#include <locale.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/time.h>
#define LKC_DIRECT_LINK
#include "lkc.h"
static void conf(struct menu *menu);
static void check_conf(struct menu *menu);
enum {
ask_all,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.