answer stringlengths 15 1.25M |
|---|
require 'spec_helper'
describe "Find the modulepath" do
it 'using puppet agent --configprint' do
file('/root/.bash_history').should contain "puppet agent --configprint modulepath"
end
end
describe "The directory for the new users module" do
it 'should be created' do
file('/etc/puppetlabs/puppet/modules/us... |
#include <aws/workspaces/model/<API key>.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/<API key>.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <utility>
using namespace Aws::WorkSpaces::Model;
using namespace Aws::Utils::Json;
using namespace A... |
package org.apereo.cas.ws.idp.metadata;
import org.apereo.cas.configuration.<API key>;
import org.apereo.cas.ws.idp.<API key>;
import lombok.<API key>;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.apache.wss4j.common.util.DOM2Writer;
import org.springframework.http.MediaType;
import org.springframewo... |
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http:
<style> * { font-family : helvetica;} .font33 { font-size : 33; } .font23 { font-size : 23; } .font40 { font-size : 40; } .font26 { font-size : 26; } .font43 { font-size : 43; } .font30 { font-size : 30; }</style>
<body>
<p>
<span class="font43">RVFV </sp... |
<html>
<head>
<script type="text/javascript" src="https://unpkg.com/pxt-blockly@2.1.12/blockly_compressed.js"></script>
<script type="text/javascript" src="https://unpkg.com/pxt-blockly@2.1.12/blocks_compressed.js"></script>
<script type="text/javascript" src="https://unpkg.com/pxt-blockly@2.1.12/msg/messages.js"... |
## Installation
Quickstart
[Scala 2.9](http:
Install with `git clone https://github.com/twitter/zipkin.git && cd zipkin` or
[download](https://github.com/twitter/zipkin/archive/master.zip) Zipkin to your
preferred directory and unzip.
Run (in separate bash windows):
bin/collector
bin/query
bin/web
Now you c... |
#ifndef <API key>
#define <API key>
#include "dirent.h"
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <io.h>
#ifdef __cplusplus
extern "C" {
#endif
struct DIR {
intptr_t hnd;
struct _finddata_t fileinfo;
long telldir;
char *findstr;
char end_of_stream... |
test_run = require('test_run')
inspector = test_run.new()
engine = inspector:get_cfg('engine')
iterations = 100000
math.randomseed(1)
delete_insert(engine, iterations) |
class Texshop < Cask
version '3.45'
sha256 '<SHA256-like>'
url "http://pages.uoregon.edu/koch/texshop/texshop-64/texshop#{version.gsub('.','')}.zip"
appcast 'http://pages.uoregon.edu/koch/texshop/texshop-64/texshopappcast.xml',
:sha256 => '<SHA256-like>'
homepage 'http://pages.uoregon.edu/koch/texsh... |
class Bamtools < Formula
desc "C++ API and command-line toolkit for BAM data"
homepage "https://github.com/pezmaster31/bamtools"
url "https://github.com/pezmaster31/bamtools/archive/v2.5.2.tar.gz"
sha256 "<SHA256-like>"
license "MIT"
head "https://github.com/pezmaster31/bamtools.git"
bottle do
sha256 ... |
# modification, are permitted provided that the following conditions are
# met:
# documentation and/or other materials provided with the distribution.
# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# CONTRIBUTORS BE LI... |
from oonib.policy import handlers
policyAPI = [
(r"/policy/nettest", handlers.<API key>),
(r"/policy/input", handlers.InputPolicyHandler),
] |
{-# LANGUAGE TemplateHaskell #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-| Unittests for ganeti-htools.
-}
{-
Copyright (C) 2009, 2010, 2011, 2012, 2013 Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions ... |
/*
* Source file for all OpenSSL-specific code for the TLS/SSL layer. No code
* but vtls.c should ever call or use these functions.
*/
/*
* The original SSLeay-using code for curl was written by Linas Vepstas and
* Sampo Kellomaki 1998.
*/
#include "curl_setup.h"
#ifdef USE_OPENSSL
#ifdef HAVE_LIMITS_H
#include <... |
class Openimageio < Formula
desc "Library for reading, processing and writing images"
homepage "http://openimageio.org/"
url "https://github.com/OpenImageIO/oiio/archive/Release-1.8.17.tar.gz"
sha256 "<SHA256-like>"
head "https://github.com/OpenImageIO/oiio.git"
bottle do
sha256 "<SHA256-like>" => :moja... |
package org.darkstorm.darkbot.minecraftbot.protocol.v74.packets;
import java.io.*;
import org.darkstorm.darkbot.minecraftbot.protocol.*;
public class <API key> extends AbstractPacket implements ReadablePacket {
public byte type;
public int x, y, z;
public <API key>() {
}
@Override
public void re... |
OFFICIAL_CASK_TAPS = %w[
cask
versions
].freeze
OFFICIAL_CMD_TAPS = {
"homebrew/bundle" => ["bundle"],
"homebrew/test-bot" => ["test-bot"],
"homebrew/services" => ["services"],
}.freeze
<API key> = %w[
apache
binary
completions
devel-only
dupes
emacs
fuse
games
gui
head-only
nginx
php
... |
#ifndef RetainPtr_h
#define RetainPtr_h
#include "wtf/<API key>.h"
#include "wtf/HashTraits.h"
#include "wtf/TypeTraits.h"
#include <algorithm>
#include <type_traits>
#include <utility>
#if USE(CF)
#include <CoreFoundation/CoreFoundation.h>
#endif
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#endif
#ifndef <API ke... |
cask :v1 => 'zendserver' do
version '6.3.0'
sha256 '<SHA256-like>'
url "http://downloads.zend.com/zendserver/#{version}/ZendServer-#{version}-php-5.5.7.dmg"
homepage 'http:
license :unknown
pkg 'Zend Server.pkg'
uninstall :script => { :executable => '/usr/local/zend/bin/uninstall.sh', :args => ['--automat... |
import numpy as np
import h5py
from nideep.iow.file_system_utils import gen_paths, filter_is_h5
def id_loc_to_loc(fpath_src, key_dst, key_src='label_id_loc', has_void_bin=True):
with h5py.File(fpath_src, 'r+') as h:
if has_void_bin:
l = np.sum(h[key_src][...,:-1], axis=1)
else:
... |
#include <cmath>
void initNaoModel (nao_igm& nao, double* ref_angles)
{
// joint angles
nao.state_sensor.q[L_HIP_YAW_PITCH] = ref_angles[L_HIP_YAW_PITCH] = 0.0;
nao.state_sensor.q[R_HIP_YAW_PITCH] = ref_angles[R_HIP_YAW_PITCH] = 0.0;
nao.state_sensor.q[L_HIP_ROLL] = ref_angles[L_HIP_ROLL] = ... |
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <sys/stat.h>
#include <string>
#include "dev_fs_for_testing.h"
#include "gtest/gtest.h"
#include "nacl_io/filesystem.h"
#include "nacl_io/ioctl.h"
#include "nacl_io/kernel_handle.h"
#include "nacl_io/memfs/mem_fs.h"
#include "nacl_io/osdirent.h"
#includ... |
from cms.app_base import CMSApp
from cms.apphook_pool import apphook_pool
from django.utils.translation import ugettext_lazy as _
from .menu import ProposalsMenu
class ProposalsApp(CMSApp):
name = _("Proposals app")
urls = ["pyconde.proposals.urls"]
menus = [ProposalsMenu]
apphook_pool.register(ProposalsApp... |
@INCLUDE_COMMON@
echo
echo ELEKTRA SPEC TESTS
echo
check_version
set -x
echo "Test specification get"
ROOT_FILE=spec_tests.ecf
ROOT_MOUNTPOINT=/test/script/spec
if is_plugin_available dump && is_plugin_available list && is_plugin_available sync; then
"$KDB" mount $ROOT_FILE $ROOT_MOUNTPOINT dump 1> /dev/null
su... |
#include <stdio.h>
#include <assert.h>
#include "ppm.h"
#include "mallocvar.h"
#include "nstring.h"
#include "ppmdfont.h"
/* Stroke character definitions
The following character definitions are derived from the (public
domain) Hershey plotter font database, using the single-stroke
Roman font.
... |
<?php defined('SYSPATH') or die('No direct script access.');
class Kohana_Form {
/**
* Generates an opening HTML form tag.
*
* // Form will submit back to the current page using POST
* echo Form::open();
*
* // Form will submit to 'search' using GET
* echo Form::op... |
<?php
/**
* @namespace
*/
namespace ZendTest\GData\YouTube;
use Zend\GData\YouTube;
/**
* Test helper
*/
class CommentFeedTest extends \<API key>
{
public function setUp() {
$this->feedText = file_get_contents(
'Zend/GData/YouTube/_files/<API key>.xml',
true);
$th... |
// modification, are permitted provided that the following conditions are
// met:
// with the distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
//... |
#ifndef <API key>
#define <API key>
#include <string>
#include <vector>
#include "base/callback_forward.h"
#include "base/files/file_path.h"
#include "base/strings/string16.h"
#include "base/time/time.h"
#include "ui/app_list/app_list_export.h"
namespace base {
class FilePath;
}
namespace gfx {
class ImageSkia;
class S... |
// modification, are permitted provided that the following conditions
// are met:
// documentation and/or other materials provided with the distribution.
// * Neither the name of NVIDIA CORPORATION nor the names of its
// contributors may be used to endorse or promote products derived
// EXPRESS OR IMPLIED WARRA... |
#import <UIKit/UIKit.h>
@interface RCTTextView : UIView
@property (nonatomic, assign) UIEdgeInsets contentInset;
@property (nonatomic, strong) NSTextStorage *textStorage;
@property (nonatomic, assign) CGRect textFrame;
@property (nonatomic, assign) BOOL selectable;
@end |
#!/usr/bin/make
# FILE IDENTIFICATION
# Name: Makefile
# Purpose: Makefile for the CLSQL package
# Programer: Kevin M. Rosenberg
# Date Started: Mar 2002
# CLSQL users are granted the rights to distribute and use this software
PKG := clsql
DEBPKG := cl-sql
SUBDIRS := sql tests uffi db-mysql... |
<?php
/* *
* MD5
* MD5
* 3.3
* 2012-07-19
*
* ,
*
*/
/**
*
* @param $prestr
* @param $key
* return
*/
function md5Sign($prestr, $key) {
$prestr = $prestr . $key;
return md5($prestr);
}
/**
*
* @param $prestr
* @param $sign
* @param $key
* return
*/
function md5Verify($prestr, $sign, $key) {
... |
<html>
<head></head>
<body>
Using the Console
<script>
var a = 1;
var b = 5;
var c = a + b;
console.log(c);
</script>
</body>
</html> |
#include "net/quic/congestion_control/paced_sender.h"
#include <algorithm>
#include "net/quic/quic_protocol.h"
using std::max;
namespace net {
// To prevent too aggressive pacing we allow the following packet burst size.
const int64 kMinPacketBurstSize = 2;
// Max estimated time between calls to TimeUntilSend and
// <A... |
import unittest
from tracing.metrics import discover
class <API key>(unittest.TestCase):
def <API key>(self):
self.assertFalse(discover.DiscoverMetrics([]))
def <API key>(self):
self.assertEqual(['sampleMetric'], discover.DiscoverMetrics(
['/tracing/metrics/sample_metric.html']))
def <API key>(sel... |
"""ProvidedInstance provider async mode tests."""
import asyncio
from dependency_injector import containers, providers
from pytest import mark, raises
from .common import RESOURCE1, init_resource
@mark.asyncio
async def <API key>():
class TestClient:
def __init__(self, resource):
self.resource =... |
package org.globus.util;
import java.io.File;
import java.io.IOException;
public class ConfigUtil {
public static final int UNDEFINED_OS = -1;
public static final int WINDOWS_OS = 0;
public static final int UNIX_OS = 1;
public static final int MAC_OS = 2;
public static final int OTHER_O... |
// Project: Greenhouse.File
/*jslint evil: true*/
/*globals Greenhouse*/
sc_require('core');
/** @class
file properties
@property dir
@property name
@extends SC.ChildRecord
@version 0.1
*/
Greenhouse.File = SC.Record.extend(
/** @scope Greenhouse.File.prototype */ {
type: 'File',
<API key>: Greenhouse,
... |
#include <stdint.h>
#include <string.h>
#include <openssl/opensslconf.h>
#if !defined(OPENSSL_NO_CHACHA) && !defined(OPENSSL_NO_POLY1305)
#include <openssl/chacha.h>
#include <openssl/poly1305.h>
#include <openssl/evp.h>
#include <openssl/err.h>
#include "evp_locl.h"
#define POLY1305_TAG_LEN 16
#define CHACHA20_NONCE_L... |
#ifndef <API key>
#define <API key>
#include "ash/keyboard/<API key>.h"
#include "ash/system/tray/<API key>.h"
#include "ash/system/user/login_status.h"
#include "base/macros.h"
#include "ui/views/controls/button/button.h"
namespace views {
class ImageButton;
}
namespace ash {
class StatusAreaWidget;
// TODO(sky): make... |
<?php
class <API key> extends <API key>
{
/**
* Returns the lines where errors should occur.
*
* The key of the array should represent the line number and the value
* should represent the number of errors that should occur on that line.
*
* @return array<int, int>
*/
public fu... |
var App = (function () {
'use strict';
App.charts = function( ){
function randValue() {
return (Math.floor(Math.random() * (1 + 50 - 20))) + 10;
}
//Counter
function counter(){
$('[data-toggle="counter"]').each(function(i, e){
var _el = $(this);
var prefix = '';
... |
"""Tests that the IPython printing module is properly loaded. """
import warnings
from sympy.core.compatibility import u
from sympy.interactive.session import <API key>
from sympy.external import import_module
from sympy.utilities.pytest import raises
# run_cell was added in IPython 0.11
ipython = import_module("IPytho... |
namespace open3mod
{
partial class TipOfTheDayDialog
{
<summary>
Required designer variable.
</summary>
private System.ComponentModel.IContainer components = null;
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true... |
module Compiler.Simplify where
import Data.Generics.PlateData
import Compiler.Type
import Data.List
import Data.Maybe
simplify :: Program1 -> Program2
simplify = addDollar . reform . freezeRules
-- change rule application rule(arg) to rule_arg and replace all bits
freezeRules :: Program1 -> Program1
freezeRules xs = ma... |
<!
Copyright (c) 2013, S-Core.
All rights reserved.
Use is subject to license terms.
This distribution may include materials developed by third parties.
<html>
<head>
<script src="jquery.js"></script>
</head>
<body>
<div id="test"></div>
<script>
var x = $("#test")
var __result1;
var __e... |
// Use of this source code is governed by a BSD-style
// Memory allocator, based on tcmalloc.
// The main allocator works in runs of pages.
// Small allocation sizes (up to and including 32 kB) are
// rounded to one of about 100 size classes, each of which
// has its own free list of objects of exactly that size.
// An... |
package net.sourceforge.pmd.lang.java.rule.strings;
import net.sourceforge.pmd.lang.java.ast.ASTName;
import net.sourceforge.pmd.lang.java.ast.<API key>;
import net.sourceforge.pmd.lang.java.ast.ASTPrimaryPrefix;
import net.sourceforge.pmd.lang.java.ast.ASTPrimarySuffix;
import net.sourceforge.pmd.lang.java.rule.Abstra... |
-- | Handle conversion of CmmData to LLVM code.
module LlvmCodeGen.Data (
genLlvmData, resolveLlvmDatas, resolveLlvmData
) where
#include "HsVersions.h"
import Llvm
import LlvmCodeGen.Base
import BlockId
import CLabel
import OldCmm
import FastString
import qualified Outputable
import Data.List (foldl')
-- *... |
#ifndef <API key>
#define <API key>
#include <map>
#include <utility>
#include "base/gtest_prod_util.h"
#include "base/memory/linked_ptr.h"
#include "base/strings/string_piece.h"
#include "content/common/content_export.h"
#include "webkit/common/resource_type.h"
class GURL;
namespace webkit_glue {
struct <API key>;
}
n... |
#!/bin/sh
# This script need openssl 0.9.8a or newer, so it can parse the
# otherName section for pkinit certificates.
openssl=openssl
gen_cert()
{
keytype=${6:-rsa:1024}
${openssl} req \
-new \
-subj "$1" \
-config openssl.cnf \
-newkey $keytype \
-sha1 \
-nodes ... |
<?php
/**
* @namespace
*/
namespace ZendTest\Feed\Reader\Entry;
use Zend\Feed\Reader;
use Zend\Date;
class <API key> extends \<API key>
{
protected $_feedSamplePath = null;
protected $_expectedCats = array();
protected $_expectedCatsDc = array();
public function setup()
{
Reader\Reader::rese... |
#include "ui/android/window_android.h"
#include "base/android/jni_android.h"
#include "base/android/jni_array.h"
#include "base/android/jni_string.h"
#include "base/android/jni_weak_ref.h"
#include "base/android/scoped_java_ref.h"
#include "jni/WindowAndroid_jni.h"
#include "ui/android/<API key>.h"
#include "ui/android... |
"""Test that anonymous structs/unions are transparent to member access"""
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
class AnonymousTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
@skipIf(
compiler="icc",
... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>FusionCharts XT - Using Initialize Event Demos</title>
<link href="../../../assets/ui/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/... |
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include "base.h"
#include "log.h"
#include "buffer.h"
#include "plugin.h"
#ifdef USE_OPENSSL
# include <openssl/md5.h>
#else
# include "md5.h"
#endif
/* plugin config for all request/connections */
typedef struct {
buffer *cookie_name;
buffer *cookie_d... |
#!/bin/sh
# This is an example of a script to run a DOS attack
# in a "secure" environment on a server with
# self-load-balancing option
if [ -d examples ] ; then
cd examples
fi
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/
while [ 0 ] ; do
PATH=examples/bin/:../bin/:./bin/:${PATH} turnutils_uclient ... |
// Authors: Alessandro Tasora, Radu Serban
#include "chrono/physics/ChLinkBrake.h"
namespace chrono {
// Register into the object factory, to enable run-time dynamic creation and persistence
CH_FACTORY_REGISTER(ChLinkBrake)
ChLinkBrake::ChLinkBrake()
: brake_torque(0), stick_ratio(1.1), brake_mode(BRAKE_ROTATION), ... |
goog.provide('goog.math.Rect');
goog.require('goog.math.Box');
goog.require('goog.math.Size');
goog.math.Rect = function(x, y, w, h) {
this.left = x;
this.top = y;
this.width = w;
this.height = h;
};
goog.math.Rect.prototype.clone = function() {
return new goog.math.Rect(this.left, this.top, this.width, this.... |
import nibabel as nib
import numpy as np
from scipy import stats
def <API key>(func_timeseries, mask):
for i in range(0, len(func_timeseries)):
for j in range(0, len(func_timeseries[0])):
for k in range(0, len(func_timeseries[0][0])):
var = func_timeseries[i][j][k].var()
... |
#!/usr/bin/env python
# Hack to prevent stupid "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when running `python
# setup.py test` (see
for m in ('multiprocessing', 'billiard'):
try:
__import__(m)
except ImportError:
pass
from setuptools import ... |
{-# LANGUAGE DataKinds, PolyKinds, TypeOperators, TypeFamilies
, TypeApplications, TypeInType
module DumpParsedAst where
import Data.Kind
data Peano = Zero | Succ Peano
type family Length (as :: [k]) :: Peano where
Length (a : as) = Succ (Length as)
Length '[] = Zero
-- vis kind app
data T f (a ::... |
layout: data_model
title: <API key>
this_version: 1.2
<div class="row">
<div class="col-md-10">
<h1><API key><span class="subdued">CybOX Common Schema</span></h1>
<p class="<API key>">The <a href='/data-model/1.2/cyboxCommon/<API key>'><API key></a> is a type (extended from <API key>) representing the specifi... |
#include "xfa/fxfa/parser/cxfa_margin.h"
#include "xfa/fxfa/parser/xfa_object.h"
CXFA_Margin::CXFA_Margin(CXFA_Node* pNode) : CXFA_Data(pNode) {}
bool CXFA_Margin::GetLeftInset(FX_FLOAT& fInset, FX_FLOAT fDefInset) const {
fInset = fDefInset;
return TryMeasure(<API key>, fInset);
}
bool CXFA_Margin::GetTopInset(FX_... |
$(function () {
var svc = new as.Service("admin/<API key>");
function <API key>(list) {
this.administrators = ko.mapping.fromJS(list);
this.nameToAdd = ko.observable("");
as.util.addRequired(this, "nameToAdd", "Name To Add");
as.util.addAnyErrors(this);
}
<API key>.protot... |
#!/usr/bin/env python
# This is generated, do not edit. Update <API key>.groovy and
# 3ppFetch.template instead.
from __future__ import print_function
import argparse
import json
import os
_FILE_URL = 'https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-http-shared/1.0-beta-6/wagon-http-shared-1.0-beta-6.... |
module HLint.Generalise where
import Data.Monoid
import Control.Monad
warn = concatMap ==> (=<<)
warn = liftM ==> fmap
warn = map ==> fmap
warn = a ++ b ==> a `Data.Monoid.mappend` b |
<link rel="import" href="<API key>.html">
<link rel="import" href="chromedash-metadata.html">
<link rel="import" href="chromedash-legend.html">
<link rel="import" href="../bower_components/paper-button/paper-button.html"> |
package sbt
package inc
import java.io.File
import scala.math.abs
import sbt.inc.TestCaseGenerators._
import org.scalacheck._
import Gen._
import Prop._
object AnalysisTest extends Properties("Analysis") {
// Merge and split a hard-coded trivial example.
property("Simple Merge and Split") = {
def f(s: S... |
/* $NoKeywords: $ */
// Definition of surface proxy object
#if !defined(<API key>)
#define <API key>
class ON_Curve;
class ON_NurbsSurface;
class ON_CLASS ON_SurfaceProxy : public ON_Surface
{
public:
// virtual ON_Object::DestroyRuntimeCache override
void DestroyRuntimeCache( bool bDelete = true );
public:
ON_... |
from __future__ import absolute_import
import unittest
from telemetry import decorators
from telemetry.testing import tab_test_case
from telemetry.timeline import model as timeline_model
from telemetry.timeline import tracing_config
from tracing.trace_data import trace_data
class <API key>(unittest.TestCase):
def tes... |
'use strict';
const ChildProcess = require('child_process');
const Fs = require('fs');
const internals = {
linter: __dirname + '/../linter/index.js'
};
exports.lint = function (settings) {
return new Promise((resolve, reject) => {
const linterPath = (settings.linter && settings.linter !== 'eslint') ? se... |
#include <tests_internal.h>
#define NAME_SIZE 250
static void test_ksResize (void)
{
int i;
KeySet * ks = 0;
KeySet * copy = ksNew (0, KS_END);
char name[NAME_SIZE];
ks = ksNew (20, keyNew ("user:/test01", KEY_END), keyNew ("user:/test02", KEY_END), keyNew ("user:/test03", KEY_END),
keyN... |
# Use of this source code is governed by a BSD-style
all: index.html
CLEANFILES=get.bin final-test.bin a.out
clean:
rm -f $(CLEANFILES) |
#ifndef <API key>
#define <API key>
#include "<API key>.h"
#include <QmitkAbstractView.h>
#include "mitkColorProperty.h"
#include "mitkTubeGraph.h"
#include "<API key>.h"
#include "<API key>.h"
#include <QCheckBox>
#include <QSignalMapper>
/*!
*
* \brief <API key>
*
*/
class QmitkTubeGraphView: public QmitkAbstractView... |
#include <stdio.h>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
#include <gtest/gtest.h>
#include <osquery/events.h>
#include <osquery/filesystem.h>
#include <osquery/tables.h>
#include "osquery/events/linux/inotify.h"
#include "osquery/tests/test_util.h"
namespace fs = boost::filesys... |
#include "std.h"
#include "mordor/exception.h"
namespace Mordor {
StdStream::StdStream(IOManager *ioManager, Scheduler *scheduler, int stream)
{
#ifdef WINDOWS
HANDLE hFile = GetStdHandle(stream);
if (hFile == <API key>)
<API key>("GetStdHandle");
if (hFile == NULL)
<API key>(<API key>, "Get... |
// Use of this source code is governed by a BSD-style
// Annotate Ref in Prog with C types by parsing gcc debug output.
// Conversion of debug output to Go types.
package main
import (
"bytes"
"debug/dwarf"
"debug/elf"
"debug/macho"
"debug/pe"
"encoding/binary"
"errors"
"flag"
"fmt"
... |
// The LLVM Compiler Infrastructure
// <regex>
// template <class <API key>, class Allocator, class charT, class traits>
// bool
// regex_search(<API key> first, <API key> last,
// match_results<<API key>, Allocator>& m,
// const basic_regex<charT, traits>& ... |
#include "content/renderer/media/crypto/ppapi_decryptor.h"
#include <string>
#include "base/bind.h"
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
#include "base/message_loop/message_loop_proxy.h"
#include "content/renderer/pepper/<API key>.h"
#include "content/renderer/pepper/<API key>.h"
#inclu... |
#include "core/editing/EphemeralRange.h"
#include "core/dom/Document.h"
#include "core/dom/Element.h"
#include "core/dom/Range.h"
#include "core/dom/Text.h"
namespace blink {
template <typename Strategy>
<API key><Strategy>::<API key>(const PositionTemplate<Strategy>& start, const PositionTemplate<Strategy>& end)
:... |
#include "chrome/browser/ash/login/screens/<API key>.h"
#include "chrome/browser/ash/login/screens/<API key>.h"
#include "chrome/browser/ash/login/ui/login_display_host.h"
#include "chrome/browser/ash/login/ui/signin_ui.h"
#include "chrome/browser/ash/login/wizard_controller.h"
#include "chrome/browser/ui/webui/chromeo... |
"""`Resource` - Flask request scope example."""
from dependency_injector import containers, providers
from dependency_injector.wiring import Closing, Provide, inject
from flask import Flask, current_app
class Service:
def init_service() -> Service:
print("Init service")
yield Service()
print("Shutdown servi... |
#include "content/renderer/usb/type_converters.h"
#include <stddef.h>
#include "base/logging.h"
namespace mojo {
// static
blink::WebUSBDevice::TransferDirection
TypeConverter<blink::WebUSBDevice::TransferDirection,
device::usb::TransferDirection>::
Convert(const device::usb::TransferDirection& direct... |
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from future import standard_library
standard_library.install_aliases()
from builtins import *
__author__ = 'Yin'
from pymongo import MongoClient
from get_database import g... |
#include "chrome/browser/ui/webui/bookmarks_ui.h"
#include "base/memory/ref_counted_memory.h"
#include "base/memory/singleton.h"
#include "base/message_loop.h"
#include "base/<API key>.h"
#include "base/stringprintf.h"
#include "chrome/browser/bookmarks/bookmark_editor.h"
#include "chrome/browser/bookmarks/bookmark_mod... |
#ifndef ANKI_MATH_MAT4_H
#define ANKI_MATH_MAT4_H
#include "anki/math/CommonIncludes.h"
namespace anki {
@addtogroup math
@{
Template struct that gives the type of the TVec4 SIMD
template<typename T>
class TMat4Simd
{
public:
using Type = Array<T, 16>;
};
#if ANKI_SIMD == ANKI_SIMD_SSE
// Specialize for F32
templat... |
// The LLVM Compiler Infrastructure
// This file is distributed under the University of Illinois Open Source
\file
This file moves ARGUMENT instructions after ScheduleDAG scheduling.
Arguments are really live-in registers, however, since we use virtual
registers and LLVM doesn't support live-in virt... |
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// You should have received a copy of the GNU Lesser General ... |
#ifndef <API key>
#define <API key>
#include "core/dom/MutationObserver.h"
#include "platform/heap/Handle.h"
#include "wtf/HashSet.h"
#include "wtf/text/AtomicString.h"
#include "wtf/text/AtomicStringHash.h"
namespace blink {
class QualifiedName;
class <API key> final : public <API key><<API key>> {
public:
static ... |
package org.chromium.chrome.browser.signin;
import android.accounts.Account;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import org.chromium.base.ApplicationState;
import org.chromium.base.ApplicationStatus;
import org.chromium.base.Log;
import org.chromium.base.TraceEvent;
import... |
// .NAME <API key> - OpenGL rendering window
// .SECTION Description
// <API key> is a concrete implementation of the abstract
// class vtkRenderWindow. <API key> interfaces to the standard
// OpenGL graphics library in the Windows/NT environment..
#ifndef <API key>
#define <API key>
#include "<API key>.h" // For expor... |
package de.unifreiburg.cs.proglang.jgs.signatures
import de.unifreiburg.cs.proglang.jgs.constraints.TypeViews.TypeView
/**
* JGS Symbols that occur in method signatures.
* They correspond to Jimple's Parameters, @return, or literal security levels
*/
sealed trait Symbol[Level]
sealed case class Param[Level] (posi... |
# support only a few flags that might be passed through:
# BUILD_PREFIX, BUILD_TYPE, CMAKE_FLAGS*
CMAKE_FLAGS+=$(strip $(CMAKE_FLAGS1) $(CMAKE_FLAGS2) $(CMAKE_FLAGS3) $(CMAKE_FLAGS4) $(CMAKE_FLAGS5) $(CMAKE_FLAGS6) $(CMAKE_FLAGS7) $(CMAKE_FLAGS8) $(CMAKE_FLAGS9) $(CMAKE_FLAGS10) $(CMAKE_FLAGS11) $(CMAKE_FLAGS12) $(CM... |
# OpenThread on CC2538 Example
This directory contains example platform drivers for the [Texas
Instruments CC2538][cc2538].
[cc2538]: http:
The example platform drivers are intended to present the minimal code
necessary to support OpenThread. As a result, the example platform
drivers do not necessarily highlight the p... |
#ifndef __eglext_h_
#define __eglext_h_
#ifdef __cplusplus
extern "C" {
#endif
#include <EGL/eglplatform.h>
/* Header file version number */
#define EGL_EGLEXT_VERSION 10
#ifndef <API key>
#define <API key> 1
#define EGL_CONFORMANT_KHR 0x3042 /* EGLConfig attribute */
#define <API key> 0x0020 /* EGL... |
# -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2017-06-06 17:16
from __future__ import unicode_literals
from django.db import migrations
import kolibri.core.fields
class Migration(migrations.Migration):
dependencies = [("content", "0001_initial")]
operations = [
migrations.AddField(
... |
#include <boost/variant2/variant.hpp>
using namespace boost::variant2;
struct X
{
int v;
X() = default;
constexpr X( int v ): v( v ) {}
constexpr operator int() const { return v; }
};
struct Y
{
int v;
constexpr Y(): v() {}
constexpr Y( int v ): v( v ) {}
constexpr operator int() const {... |
void __cdecl _splitpath (
register const char *path,
char *drive,
char *dir,
char *fname,
char *ext
); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.