answer stringlengths 15 1.25M |
|---|
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <media/v4l2-ioctl.h>
#include "vpif.h"
#include "vpif_capture.h"
MODULE_DESCRIPTION("TI DaVinci VPIF Capture driver");
MODULE_LICENSE("GPL");
MODULE_VERSION(<API key>);
#define vpif_err(fmt, arg...... |
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// Free Software Foundation; either version 3, or (at your option)
// any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS... |
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/sysdev.h>
#include <linux/amba/bus.h>
#include <linux/amba/pl061.h>
#include <linux/amba/mmci.h>
#include <linux/amba/pl022.h>
#include <linux/io.h>
#include <mach/hardware.h>
#include <asm/irq.h>
#include <asm/leds.h>
#include <asm/mach-types.h... |
#ifndef __MFC_BUF_H_
#define __MFC_BUF_H_ __FILE__
#include <linux/list.h>
#include "mfc.h"
#include "mfc_inst.h"
#include "mfc_interface.h"
/* FIXME */
#define ALIGN_4B (1 << 2)
#define ALIGN_2KB (1 << 11)
#define ALIGN_4KB (1 << 12)
#define ALIGN_8KB (1 << 13)
#define ALIGN_64KB (1 << 16)
#define ALIG... |
/* A Bison parser, made by GNU Bison 1.875. */
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
This special exception was added by the Free Software Foundation
in version 1.24 of Bison. */
/* Tokens. */
#ifndef YYTOKENT... |
/*
* The ISP1362 chip requires a large delay (300ns and 462ns) between
* accesses to the address and data register.
* The following timing options exist:
*
* 1. Configure your memory controller to add such delays if it can (the best)
* 2. Implement platform-specific delay function possibly
* combined with con... |
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/i2c-id.h>
#include <linux/init.h>
#include <linux/time.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <a... |
#ifndef __MSM_MEMORY_DUMP_H
#define __MSM_MEMORY_DUMP_H
#include <linux/types.h>
enum dump_client_type {
MSM_CPU_CTXT = 0,
MSM_L1_CACHE,
MSM_L2_CACHE,
MSM_OCMEM,
MSM_TMC_ETFETB,
MSM_ETM0_REG,
MSM_ETM1_REG,
MSM_ETM2_REG,
MSM_ETM3_REG,
MSM_TMC0_REG, /* TMC_ETR */
MSM_TMC1_REG, ... |
/* { dg-do compile } */
/* { dg-options "-mavx512f -O2" } */
/* { dg-final { <API key> "vpmovzxbq\[ \\t\]+\[^\n\]*%xmm\[0-9\]\[^\n\]*%zmm\[0-9\]\[^\{\]" 1 } } */
/* { dg-final { <API key> "vpmovzxbq\[ \\t\]+\[^\n\]*%xmm\[0-9\]\[^\n\]*%zmm\[0-9\]\{%k\[1-7\]\}\[^\{\]" 1 } } */
/* { dg-final { <API key> "vpmovzxbq\[ \\t\]... |
using System;
using System.Text;
namespace Server.Ethics.Evil
{
public sealed class UnholySense : Power
{
public UnholySense()
{
this.m_Definition = new PowerDefinition(
0,
"Unholy Sense",
"Drewrok Velgo",
"");
}... |
#!/bin/bash
export PATH=$HOME/.local/bin:/usr/local/bin:$HOME/prefix/bin:$HOME/APM/px4/<API key>/bin:$PATH
export PYTHONUNBUFFERED=1
export PYTHONPATH=$HOME/APM
cd $HOME/APM || exit 1
test -n "$FORCEBUILD" || {
(cd APM && git fetch > /dev/null 2>&1)
newtags=$(cd APM && git fetch --tags | wc -l)
oldhash=$(cd APM && git ... |
package org.appcelerator.kroll;
public class KrollPropertyChange {
protected String name;
protected Object oldValue, newValue;
public KrollPropertyChange(String name, Object oldValue, Object newValue) {
this.name = name;
this.oldValue = oldValue;
this.newValue = newValue;
}
p... |
/**
* Supplies a set of utility methods for building Geometry objects from lists
* of Coordinates.
*
* Note that the factory constructor methods do <b>not</b> change the input
* coordinates in any way.
*
* In particular, they are not rounded to the supplied <tt>PrecisionModel</tt>.
* It is assumed that input Co... |
class Ipcalc < Formula
homepage "http://jodies.de/ipcalc"
url "http://jodies.de/ipcalc-archive/ipcalc-0.41.tar.gz"
sha256 "<SHA256-like>"
def install
bin.install "ipcalc"
end
test do
system "#{bin}/ipcalc", "--nobinary", "192.168.0.1/24"
end
end |
#ifndef <API key>
#define <API key>
#include <signal.h>
#include <sys/types.h>
#ifndef QT_NO_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/stat.h>
#if defined(<API key>) && defined(<API key>)
#define QT_STATBUF struct stat64
#define QT_FPOS_T fpos64_t
#define QT_OFF_T ... |
#!/usr/bin/env python
"""Sample Input Reader for map job."""
import random
import string
import time
from mapreduce import context
from mapreduce import errors
from mapreduce import operation
from mapreduce.api import map_job
# pylint: disable=invalid-name
# Counter name for number of bytes read.
<API key> = "io-read-b... |
<!DOCTYPE html>
<!
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http:
<html>
<head>
<meta charset="utf-8">
<title>Append To Page Element Using JavaScript Code — CKEditor Sample</title>
<script src="../../ckeditor.js"></script>
<link r... |
"use strict";angular.module("mgcrea.ngStrap.helpers.dateFormatter",[]).service("$dateFormatter",["$locale","dateFilter",function(t,e){function r(t){return/(h+)([:\.])?(m+)[ ]?(a?)/i.exec(t).slice(1)}this.getDefaultLocale=function(){return t.id},this.getDatetimeFormat=function(e){return t.DATETIME_FORMATS[e]||e},this.we... |
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/smp_lock.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/parser.h>
#include <linux/statfs.h>
#include <linux/sched.h>
#include "internal.h"
#define AFS_FS_MAGIC 0x6B414653 /* 'kAFS' */... |
/**
* An Image is a light-weight object you can use to display anything that doesn't need physics or animation.
* It can still rotate, scale, crop and receive input events. This makes it perfect for logos, backgrounds, simple buttons and other non-Sprite graphics.
*
* @class Phaser.Image
* @extends PIXI.Sprite
* @exten... |
#ifndef <API key>
#define <API key>
#include <linux/const.h>
#include <asm/pgtable_64_types.h>
#ifndef __ASSEMBLY__
/*
* This file contains the functions and defines necessary to modify and use
* the x86-64 page table tree.
*/
#include <asm/processor.h>
#include <linux/bitops.h>
#include <linux/threads.h>
extern pud... |
<?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
namespace core\external;
defined('MOODLE_INTERNAL') || die();
require_once($CFG->li... |
class Foo {
public void foo() {
int i;
}
} |
// Use of this source code is governed by a BSD-style
// +build windows
package windows_test
import (
"fmt"
"internal/syscall/windows"
"os"
"os/exec"
"syscall"
"testing"
"unsafe"
)
func <API key>(t *testing.T) {
if os.Getenv("<API key>") == "1" {
wil, err := <API key>()
i... |
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="author" content="{{ site.author.na... |
#<API key> td,
#summary-filter-form td,
#<API key> td {
border: none;
}
.filter-controls {
clear: both;
}
/*button.btn.btn-primary.btn-filter,*/
input.btn.btn-primary.filter-submit {
width: 90%;
padding-right: 5px;
padding-left: 5px;
}
input.btn.btn-primary.filter-submit.filter-ajax {
width: 100... |
<script>
// HACK: This is not an ideal way to deliver chrome messages
// to a innef frame content but seems only way that would
// make `event.source` an this (outer frame) window.
window.onmessage = function(event) {
var frame = document.querySelector("iframe");
var content = frame.contentWindow;
// If message i... |
/*
* Start bdflush() with kernel_thread not syscall - Paul Gortmaker, 12/95
*
* Removed a lot of unnecessary code and simplified things now that
* the buffer cache isn't our primary cache - Andrew Tridgell 12/96
*
* Speed up hash, lru, and free list operations. Use gfp() for allocating
* hash table, use SLAB ca... |
# Testing and Debugging
## Testing
[Moved here](faq_misc.md#testing)
## Debugging :id=debugging
[Moved here](faq_debug.md#debugging) |
package com.skia;
import javax.microedition.khronos.egl.EGL10;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.egl.EGLDisplay;
import javax.microedition.khronos.opengles.GL10;
import android.content.Context;
import android.opengl.EGL14;
import android.opengl.GLSurfaceView;
import andr... |
## m.sync
This method takes a list of promises and returns a promise that resolves when all promises in the input list have resolved. See [`m.deferred`](mithril.deferred.md) for more information on promises.
Usage
javascript
var greetAsync = function(delay) {
var deferred = m.deferred();
setTimeout(function() {... |
#include <linux/sched.h>
#include <linux/sched/debug.h>
#include <linux/sched/task.h>
#include <linux/sched/task_stack.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/fs.h>
#include <hwregs/reg_rdwr.h>
#include <hwregs/reg_map.h>
#include <hwregs/timer_defs.h>
#include <hwregs/intr_vect_defs.h>
#inclu... |
#include "dm_services.h"
#include "dce/dce_11_2_d.h"
#include "dce/dce_11_2_sh_mask.h"
#include "gmc/gmc_8_1_sh_mask.h"
#include "gmc/gmc_8_1_d.h"
#include "include/logger_interface.h"
#include "dce112_compressor.h"
#define DCP_REG(reg)\
(reg + cp110->offsets.dcp_offset)
#define DMIF_REG(reg)\
(reg + cp110->off... |
// @(#)root/tmva $Id$
#ifndef <API key>
#define <API key>
// Configurable //
// Base class for all classes with option parsing //
#include "TNamed.h"
#include "TList.h"
#include "TMVA/Option.h"
namespace TMVA {
class Configurable : public ... |
#include "debug.h"
#include <stdarg.h>
#include <windows.h>
#include <stdio.h> /* vsprintf */
#define DPRINTF_BUF_SZ 1024
void OutputDebugStringf(char *fmt, ...)
{
#ifdef _DEBUG
va_list args;
char buf[DPRINTF_BUF_SZ];
va_start(args, fmt);
vsprintf(buf, fmt, args);
OutputDebugString(buf);
#endif
... |
<?php
namespace PhpOffice\PhpWord\Tests\Exception;
use PhpOffice\PhpWord\Exception\<API key>;
/**
* Test class for PhpOffice\PhpWord\Exception\<API key>
*
* @coversDefaultClass \PhpOffice\PhpWord\Exception\<API key>
* @<API key>
*/
class <API key> extends \<API key>
{
/**
* Throw new exception
*
... |
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-image-slice" />
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-image" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
div {
border: ... |
#include <sys/mman.h>
#include "syscall.h"
int mlockall(int flags)
{
return syscall(SYS_mlockall, flags);
} |
(function ($, Drupal) {
/**
* Toggle show/hide links for off canvas layout.
*/
Drupal.behaviors.<API key> = {
attach: function (context) {
$('#off-canvas').click(function(e) {
if (!$(this).hasClass('is-visible')) {
$(this).addClass('is-visible');
e.preventDefault();
... |
/* reference.h */
/* This file is part of: */
/* GODOT ENGINE */
/* a copy of this software and associated documentation files (the */
/* "Software"), ... |
<reference path="MediaStream.d.ts" />
<reference path="RTCPeerConnection.d.ts" />
var config: RTCConfiguration =
{ iceServers: [{ urls: "stun.l.google.com:19302" }] };
var constraints: RTCMediaConstraints =
{ mandatory: { offerToReceiveAudio: true, offerToReceiveVideo: true } };
var peerConnection: RTCPeerConne... |
.oo-ui-icon-bigger {
background-image: url("themes/mediawiki/images/icons/bigger-rtl.png");
background-image: -<API key>(transparent, transparent), /* @embed */ url("themes/mediawiki/images/icons/bigger-rtl.svg");
background-image: linear-gradient(transparent, transparent), /* @embed */ url("themes/... |
#!/usr/bin/env python2
from test_framework.test_framework import <API key>
from test_framework.util import *
from test_framework.mininode import CTransaction, NetworkThread
from test_framework.blocktools import create_coinbase, create_block
from test_framework.comptool import TestInstance, TestManager
from test_framewo... |
(function(root) {
'use strict';
var DependencyInjection = new (function DependencyInjection() {
var _this = this,
_interfaces = {};
function <API key>(factoryFunction) {
if (typeof factoryFunction == 'function') {
var funcString = factoryFunction
.toString()
// remo... |
"use strict";
var ReactComponent = require("./ReactComponent");
var ReactContext = require("./ReactContext");
var ReactCurrentOwner = require("./ReactCurrentOwner");
var ReactElement = require("./ReactElement");
var <API key> = require("./<API key>");
var ReactEmptyComponent = require("./ReactEmptyComponent");
var Reac... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$lang['ftp_no_connection'] = 'Tidak dapat menemukan ID koneksi yang sah. Pastikan Anda terhubung sebelum melakukan rutinitas berkas.';
$lang['<API key>'] = 'Tidak dapat terhubung ke server FTP Anda menggunakan nama host yang disediakan.';
$lang['ftp_... |
ALTER TABLE db_version CHANGE COLUMN <API key> <API key> bit;
DELETE FROM command WHERE name IN ('ticket');
INSERT INTO command (name, security, help) VALUES
('ticket',2,'Syntax: .ticket on\r\n .ticket off\r\n .ticket #num\r\n .ticket $character_name\r\n .ticket respond #num $response\r\n ... |
// <API key>: GPL-2.0+
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/videodev2.h>
#include <media/rcar-fc... |
#pragma once
#include "FileItem.h"
#include <string>
#include <Neptune/Source/Core/NptReferences.h>
#include <Neptune/Source/Core/NptStrings.h>
#include <Neptune/Source/Core/NptTypes.h>
class CUPnPServer;
class CFileItem;
class CThumbLoader;
class PLT_DeviceData;
class <API key>;
class <API key>;
class PLT_MediaObject;... |
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include "libusb.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "carlu.h"
#include "usb.h"
#include "debug.h"
int carlu_fw_... |
#pragma once
#include <memory>
#include "AudioCommon/Mixer.h"
#include "Common/CommonTypes.h"
class SoundStream
{
protected:
std::unique_ptr<Mixer> m_mixer;
public:
SoundStream() : m_mixer(new Mixer(48000)) {}
virtual ~SoundStream() {}
static bool isValid() { return false; }
Mixer* GetMixer() const { return m... |
@import Foundation;
@interface NSEntityDescription : NSObject
@end
@interface <API key> : NSObject
@end
@interface NSManagedObject : NSObject
- (__kindof NSManagedObject *)initWithEntity:(NSEntityDescription *)entity
<API key>:(<API key> *)context;
@property(nonatomic, readonly, strong) NSEntityDescriptio... |
cask "prezi-video" do
version "1.13.0"
sha256 "<SHA256-like>"
url "https://desktopassets.prezi.com/mac/prezi-video/releases/Prezi_Video_#{version}.dmg"
name "Prezi Video"
desc "Lets you interact with your content live as you stream or record"
homepage "https://prezi.com/video/"
pkg "Install Prezi Video.pk... |
<?php
if (!defined('IN_CKFINDER')) exit;
class <API key>
{
public static function getErrorMessage($number, $arg = "") {
$langCode = 'en';
if (!empty($_GET['langCode']) && preg_match("/^[a-z\-]+$/", $_GET['langCode'])) {
if (file_exists(<API key> . "/" . $_GET['langCode'] . ".php"))
... |
angular
.module('menuDemoPosition', ['ngMaterial'])
.config(function($mdIconProvider) {
$mdIconProvider
.iconSet("call", 'img/icons/sets/communication-icons.svg', 24)
.iconSet("social", 'img/icons/sets/social-icons.svg', 24);
})
.controller('PositionDemoCtrl', function DemoCtrl($mdDialog) {
... |
/*
* MT safe
*/
#include "config.h"
/* Uncomment the next line (and the corresponding line in gmain.c) to
* enable debugging printouts if the environment variable
* G_MAIN_POLL_DEBUG is set to some value.
*/
/* #define G_MAIN_POLL_DEBUG */
#ifdef _WIN32
/* Always enable debugging printout on Windows, as it is more... |
.oo-ui-icon-bell {
background-image: /* @embed */ url(themes/mediawiki/images/icons/bell.png);
}
.oo-ui-icon-bellOn {
background-image: /* @embed */ url(themes/mediawiki/images/icons/bellOn-ltr.png);
}
.oo-ui-icon-eye {
background-image: /* @embed */ url(themes/mediawiki/images/icons/eye.png);
}
.<API key> ... |
<reference path="fourslash.ts" />
// @BaselineFile: <API key>.baseline
// @declaration: true
// @sourceMap: true
// @jsx: react
// @Filename: inputFile1.ts
// @emitThisFile: true
/// regular ts file
/ var t: number = 5;
/ class Bar {
/ x : string;
/ y : number
/ }
/
// @Filename: inputFile2.tsx
// @emitThisFile: ... |
// basic_socket.hpp
#ifndef <API key>
#define <API key>
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
# pragma once
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
#include "asio/detail/config.hpp"
#include "asio/async_result.hpp"
#include "asio/basic_io_object.hpp"
#include "asio/detail/<API key>.hpp"
#include "asio/d... |
<?php
namespace ZendTest\Validator\File;
use Zend\Validator\File\ExcludeMimeType;
/**
* ExcludeMimeType testbed
*
* @category Zend
* @package Zend_Validator_File
* @subpackage UnitTests
* @group Zend_Validator
*/
class ExcludeMimeTypeTest extends \<API key>
{
/**
* @return array
*/
pu... |
require "spec_helper"
describe Mongoid::Changeable do
describe "#attribute_change" do
context "when the attribute has changed from the persisted value" do
context "when using the setter" do
let(:person) do
Person.new(title: "Grand Poobah").tap(&:move_changes)
end
before do
... |
// <API key>: GPL-2.0
#include <linux/perf_event.h>
#include <linux/nospec.h>
#include <asm/intel-family.h>
enum perf_msr_id {
PERF_MSR_TSC = 0,
PERF_MSR_APERF = 1,
PERF_MSR_MPERF = 2,
PERF_MSR_PPERF = 3,
PERF_MSR_SMI = 4,
PERF_MSR_PTSC ... |
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <mach/irqs.h>
#include <mach/msm_iomap.h>
#include <mach/dma.h>
#include <mach/board.h>
#include "devices.h"
#include <asm/mach/flash.h>
#include <mach/mmc.h>
static struct resource resources_uart3[] = {
{
.... |
#include <linux/rwsem.h>
#include <linux/module.h>
#include <linux/smp.h>
#include <linux/user.h>
#include <linux/elfcore.h>
#include <linux/sched.h>
#include <linux/in6.h>
#include <linux/interrupt.h>
#include <linux/screen_info.h>
#include <asm/semaphore.h>
#include <asm/processor.h>
#include <asm/uaccess.h>
#include... |
/* Tell sim-arange.h it's us. */
#define SIM_ARANGE_C
#include "libiberty.h"
#include "sim-basics.h"
#include "sim-assert.h"
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#define DEFINE_INLINE_P (! defined (<API key>))
#define DEFINE_NON_INLINE_P defined (<API key>)
#i... |
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/if.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/rtnetlink.h>
#include <linux/slab.h>
#include <linux/notifier.h>
#include <net/mac80211.h>
#include <net/cfg80211.h>
#include "ieee80211_i.h"
#include "rate.h"
#include "de... |
#ifndef <API key>
#define <API key>
#include <boost/fusion/functional/adapter/unfused.hpp>
#endif |
import { <API key>, <API key> } from './compile_metadata';
export interface IdentifierSpec {
name: string;
moduleUrl: string;
runtime: any;
}
export declare class Identifiers {
static <API key>: IdentifierSpec;
static ElementRef: IdentifierSpec;
static NgModuleRef: IdentifierSpec;
static Vie... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace UnityTest
{
[Serializable]
public class UnitTestResult : ITestResult
{
public bool Executed { get; set; }
public string Name { get { return Test.MethodName; } }
public string FullName { get { return Test.Ful... |
declare namespace jsrsasign.KJUR.asn1.csr {
/**
* ASN.1 <API key> structure class
* @param params associative array of parameters (ex. {})
* @description
* ```
* // -- DEFINITION OF ASN.1 SYNTAX --
* // <API key> ::= SEQUENCE {
* // version INTEGER { v1(0) } (v1,...),
... |
<?php
/**
* @see <API key>
*/
require_once 'Zend/Tool/Project/Context/Filesystem/Directory.php';
class <API key> extends <API key>
{
/**
* @var string
*/
protected $_filesystemName = 'controllers';
/**
* getName()
*
* @return string
*/
public function getName()
{
... |
#include "rr.h"
namespace rr {
void Context::Init() {
ClassBuilder("Context").
<API key>("New", &New).
<API key>("GetCurrent", &GetCurrent).
<API key>("GetEntered", &GetEntered).
<API key>("GetCalling", &GetCalling).
<API key>("InContext", &InContext).
defineMethod("Dispose", &Dispose).
de... |
// Type definitions for <API key> 1.0
import { ExtensionDefinition } from 'jsreport-core';
declare module 'jsreport-core' {
interface Template {
recipe: '<API key>' | string;
}
}
declare function <API key>(): ExtensionDefinition;
export = <API key>; |
#include <stdio.h>
#include <assert.h>
#include <time.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
typedef const char *str_t;
#include "kbtree.h"
KBTREE_INIT(int, uint32_t, kb_generic_cmp)
KBTREE_INIT(str, str_t, kb_str_cmp)
static int data_size = 5000000;
static unsigned *int_data;
static char **str_... |
/**
* This file implements POSIX lock type for Lustre.
* Its policy properties are start and end of extent and PID.
*
* These locks are only done through MDS due to POSIX semantics requiring
* e.g. that locks could be only partially released and as such split into
* two parts, and also that two adjacent locks fro... |
// The software source and binaries included in this development package are
// Communications, Inc., its subsidiaries, or the respective owner including
// agreement(s) terms.
// <summary>
// Wifi driver for AR6002
// </summary>
// Double-link list definitions (adapted from Atheros SDIO stack)
// Author(s): ="Athe... |
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include <linux/iio/trigger_consumer.h>
#include <linux/iio/triggered_buffer.h>
#include <linux/regulator/consumer.h>
struct adc081c {
struct i2c_client *i2c;
st... |
<!DOCTYPE html>
<meta charset="utf-8">
<title>cross-origin webvtt returned by service worker is detected</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script src="resources/test-helpers.sub.js?pipe=... |
#ifndef _YUV_LIBYUV_h
#define _YUV_LIBYUV_h
#include "<API key>.h"
#endif |
<html>
<head>
<script src="../../resources/js-test.js"></script>
<script src="resources/shared.js"></script>
</head>
<body>
<script src="resources/removed.js"></script>
</body>
</html> |
// Use of this source code is governed by a BSD-style
// Test parse.cc, dump.cc, and tostring.cc.
#include <string>
#include <vector>
#include "util/test.h"
#include "re2/regexp.h"
namespace re2 {
// Test that overflowed ref counts work.
TEST(Regexp, BigRef) {
Regexp* re;
re = Regexp::Parse("x", Regexp::NoParseFlag... |
<?php
/** <API key> */
require_once 'Zend/Log/Filter/Abstract.php';
class <API key> extends <API key>
{
/**
* @var integer
*/
protected $_priority;
/**
* @var string
*/
protected $_operator;
/**
* Filter logging by $priority. By default, it will accept any log
* event ... |
THREE.XHRLoader = function ( manager ) {
this.cache = new THREE.Cache();
this.manager = ( manager !== undefined ) ? manager : THREE.<API key>;
};
THREE.XHRLoader.prototype = {
constructor: THREE.XHRLoader,
load: function ( url, onLoad, onProgress, onError ) {
var scope = this;
var cached... |
import type { INoiseFactor } from "./INoiseFactor";
import type { IOptionLoader } from "../../IOptionLoader";
import type { INoiseDelay } from "./INoiseDelay";
export interface INoise extends IOptionLoader<INoise> {
delay: INoiseDelay;
enable: boolean;
factor: INoiseFactor;
} |
#!/bin/sh
# generate a set of ABI signatures from a shared library
SHAREDLIB="$1"
GDBSCRIPT="gdb_syms.$$"
(
cat <<EOF
set height 0
set width 0
EOF
nm "$SHAREDLIB" | cut -d' ' -f2- | egrep '^[BDGTRVWS]' | grep -v @ | egrep -v ' (__bss_start|_edata|_init|_fini|_end)' | cut -c3- | sort | while read s; do
echo "echo $s... |
// { dg-do compile }
// 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// Free Software Foundation; either version 3, or (at your option)
// any later version.
// This library is distri... |
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/i2c.h>
#if defined(CONFIG_SPI)
#include <linux/spi/spi.h>
#endif
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/io.h>
#include <asm/div64... |
"""Local settings and globals."""
import sys
from os.path import normpath, join
from .base import *
# Import secrets -- not needed
#sys.path.append(
# abspath(join(PROJECT_ROOT, '../secrets/TimelineJS/stg'))
#from secrets import *
# Set static URL
STATIC_URL = '/static' |
// @(#)root/matrix:$Id$
// Authors: Fons Rademakers, Eddy Offermann Nov 2003
#ifndef ROOT_TMatrixFBase
#define ROOT_TMatrixFBase
// TMatrixFBase //
// Instantation of TMatrixTBase<Float_t> //
#ifndef ROOT_TMatrixTBase
#include "TMa... |
import _ = require("../index");
// tslint:disable-next-line:<API key>
type GlobalPartial<T> = Partial<T>;
declare module "../index" {
type PartialObject<T> = GlobalPartial<T>;
type Many<T> = T | ReadonlyArray<T>;
interface LoDashStatic {
/**
* Creates a lodash object which wraps value to ena... |
{% extends 'airflow/master.html' %}
{% block body %}
<div>
<h3 style="float: left">
{% block page_header %}Hive Metastore Browser{% endblock%}
</h3>
<div id="object" class="select2-drop-mask" style="margin-top: 25px; width: 400px;float: right"></div>
<div style="clear: both"></div>
</div>
{% blo... |
class Orientdb < Formula
desc "Graph database"
homepage "https://orientdb.com"
url "https://orientdb.com/download.php?email=unknown@unknown.com&file=<API key>.1.6.tar.gz&os=mac"
version "2.1.6"
sha256 "<SHA256-like>"
bottle do
cellar :any_skip_relocation
sha256 "<SHA256-like>" => :el_capitan
sha... |
/* Area: ffi_call, closure_call
Purpose: Check structure alignment of uint16.
Limitations: none.
PR: none.
Originator: <hos@tamanegi.org> 20031203 */
/* { dg-do run } */
#include "ffitest.h"
typedef struct cls_struct_align {
unsigned char a;
unsigned short b;
unsigned char c;
} ... |
ext3_mount () {
modprobe -q ext3
mkdir -p $2
mount -t ext3 -onoatime,data=journal,errors=continue $1 $2
}
for arg in $CMDLINE; do
optarg=`expr "x$arg" : 'x[^=]*=\(.*\)'`
echo $arg xxx $optarg
case $arg in
ext3=*)
dev=`expr "$optarg" : '\([^:]*\).*'`
path=`expr "$optarg" :... |
require 'fog/openstack/models/model'
module Fog
module Compute
class OpenStack
class Flavor < Fog::OpenStack::Model
identity :id
attribute :name
attribute :ram
attribute :disk
attribute :vcpus
attribute :links
attribute :swap
attribute :rxtx_fa... |
#ifndef <API key>
#define <API key>
#include <linux/stringify.h>
#include <asm/asm-compat.h>
#define __REG_R0 0
#define __REG_R1 1
#define __REG_R2 2
#define __REG_R3 3
#define __REG_R4 4
#define __REG_R5 5
#define __REG_R6 6
#define __REG_R7 7
#define __REG_R8 8
#d... |
/*
* Quota code necessary even when VFS quota support is not compiled
* into the kernel. The interesting stuff is over in dquot.c, here
* we have symbols for initial quotactl(2) handling, the sysctl(2)
* variables, etc - things needed even when quota support disabled.
*/
#include <linux/fs.h>
#include <linux/name... |
<!doctype html>
<style>
div {
font-size: 50px;
text-decoration: underline solid red;
}
</style>
<script>
onload = function() {
target.style.textDecorationColor = "green";
};
</script>
<p>Test that changes in <API key> are recalculated correctly. PASS
if the text below has a solid... |
#!/bin/sh
# modification, are permitted provided that the following conditions are
# met:
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# "AS IS" AND ANY ... |
import os
import struct
class InvalidPNGException(Exception):
pass
class <API key>(object):
"""Verifier of image dimensions for Chromium resources.
This class verifies the image dimensions of resources in the various
resource subdirectories.
Attributes:
paths: An array of tuples giving the folders to ch... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.