text stringlengths 3 1.05M |
|---|
package org.apache.camel.component.xslt;
import javax.xml.transform.URIResolver;
import org.apache.camel.CamelContext;
/**
* Default URI resolver factory which instantiates the camel default XSLT URI resolver which can resolves absolute and
* relative URIs in the classpath and file system.
*/
public class Defaul... |
<?php
namespace Zend\Session\Exception;
class RuntimeException extends \RuntimeException implements ExceptionInterface
{}
|
int wmain(int argc, wchar_t* argv[])
{
std::vector<std::string> args;
for (int i = 0; i < argc; ++i)
{
char buffer[1024];
std::wcstombs(buffer, argv[i], sizeof(buffer));
args.push_back(std::string(buffer));
}
CppUnit::TestRunner runner;
runner.addTest("UtilTestSuite", UtilTestSuite::suite());
return runne... |
<test>
<title>NEGATED Substring matching attribute selector on beginning with universal namespace</title>
<style type="text/css">@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|q, *|r, *|s, *|t{ display : block ; margin-... |
namespace Microsoft.Azure.Management.WebSites.Models
{
/// <summary>
/// Defines values for ScmType.
/// </summary>
public static class ScmType
{
public const string None = "None";
public const string Dropbox = "Dropbox";
public const string Tfs = "Tfs";
public const... |
package org.springframework.boot.web.servlet;
import javax.servlet.MultipartConfigElement;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Tests for {@link MultipartConfigFactory}.
*
* @author Phillip Webb
*/
public class MultipartConfigFactoryTests {
@Test
public voi... |
package com.amazonaws.services.cognitoidentity.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.cognitoidentity.model.*;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* DescribeIdentityRequestMarshalle... |
namespace {
class NavigationObserver : public content::NotificationObserver,
public content::WebContentsObserver {
public:
explicit NavigationObserver(content::WebContents* web_contents)
: content::WebContentsObserver(web_contents),
message_loop_runner_(new content::MessageL... |
<?xml version="1.0" encoding="utf-8"?>
<geo:GeodesyML gml:id="WLWN00AUS" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:geo="urn:xml-gov-au:icsm:egeodesy:0.4" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<geo:siteL... |
module.exports = function(grunt) {
// Add our custom tasks.
grunt.loadTasks('../../../tasks');
// Project configuration.
grunt.initConfig({
mochaTest: {
options: {
reporter: 'spec'
},
all: {
src: ['*.js']
}
}
});
// Default task.
grunt.registerTask('defaul... |
require 'chef'
require 'chef/util/dsc/local_configuration_manager'
describe Chef::Util::DSC::LocalConfigurationManager do
let(:lcm) { Chef::Util::DSC::LocalConfigurationManager.new(nil, 'tmp') }
let(:normal_lcm_output) { <<-EOH
logtype: [machinename]: LCM: [ Start Set ]
logtype: [machinename]: LCM: [ Sta... |
using System;
using System.Reflection;
using System.IO;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Linq;
using System.Globalization;
using Microsoft.Test.ModuleCore;
namespace CoreXml.Test.XLinq
{
public partial class FunctionalTests : TestModu... |
package org.postgresql.ds.jdbc4;
import java.sql.SQLException;
import java.sql.SQLFeatureNotSupportedException;
import org.postgresql.ds.jdbc23.AbstractJdbc23PoolingDataSource;
public abstract class AbstractJdbc4PoolingDataSource extends AbstractJdbc23PoolingDataSource
{
public boolean isWrapperFor(Class<?> i... |
using namespace Halide;
using namespace Halide::Internal;
namespace Halide {
namespace {
template <typename fn_type>
bool lookup_runtime_routine(const std::string &name,
const Target &target,
fn_type &result) {
std::vector<JITModule> runtime(
JITSha... |
package cloud
import (
"context"
"fmt"
"k8s.io/klog/v2"
alpha "google.golang.org/api/compute/v0.alpha"
beta "google.golang.org/api/compute/v0.beta"
ga "google.golang.org/api/compute/v1"
"google.golang.org/api/googleapi"
"github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta"
)
const (
operati... |
cask "cloudup" do
version "1.15.2"
sha256 :no_check
url "https://updates.cloudup.com/update?os=osx&app=Cloudup&format=zip&channel=release"
name "Cloudup"
homepage "https://cloudup.com/download"
livecheck do
url :url
strategy :extract_plist
end
app "Cloudup.app"
end
|
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.Cod... |
#include <freetype/ftwinfnt.h>
#include <freetype/internal/ftdebug.h>
#include <freetype/internal/ftstream.h>
#include <freetype/internal/ftobjs.h>
#include <freetype/ttnameid.h>
#include "winfnt.h"
#include "fnterrs.h"
#include <freetype/internal/services/svwinfnt.h>
#include <freetype/internal/services/svfntfmt.h... |
#ifndef TENSORFLOW_CORE_KERNELS_EIGEN_SPATIAL_CONVOLUTIONS_H_
#define TENSORFLOW_CORE_KERNELS_EIGEN_SPATIAL_CONVOLUTIONS_H_
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
#if defined(TENSORFLOW_USE_CUSTOM_CONTRACTION_KERNEL)
#include "tensorflow/core/kernels/eigen_contraction_kernel.h"
#endif
namespa... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pt">
<head>
<!-- Generated by javadoc (version 1.7.0_71) on Tue Jun 16 10:37:00 BRT 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Package ope... |
class AddFieldsToShow < ActiveRecord::Migration
def change
add_column :shows, :year, :integer
add_column :shows, :director, :string
add_column :shows, :location, :string
add_column :shows, :theatre_company, :string
add_column :shows, :notes, :text
end
end
|
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:activiti="http://activiti.org/bpmn"
targetNamespace="Examples">
<signal name="alert" />
<process id="catchSignal">
<startEvent id="start" />
<sequenceFlow sourceRef="start" target... |
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="color... |
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("rxjs-compat/operator/skip"));
//# sourceMappingURL=skip.js.map |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Phaser Source: D:/wamp/www/phaser/src/core/SignalBinding.js</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/default.css">
<lin... |
package com.eas.client.form.grid;
import com.google.gwt.i18n.client.Messages;
public interface GridMessages extends Messages {
public String heading();
public String find();
public String caseSensitive();
public String wholeWords();
public String findNext();
public String close();
public... |
title: Notes
anchor: notes
---
### Previous versions
Version 2 has a completely different API than earlier versions.
Most earlier version options have current equivalents or are the same.
Please use the documentation that is available on [chartjs.org](http://www.chartjs.org/docs/) for the current version of Chart.js... |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* handles miscellaneous db operations:
* - move/rename
* - copy
* - changing collation
* - changing comment
* - adding tables
* - viewing PDF schemas
*
* @package PhpMyAdmin
*/
/**
* requirements
*/
require_once 'libraries/common.inc.php';
require_o... |
/**
* Contains all of the container related scm commands.
*/
package org.apache.hadoop.hdds.scm.cli.container; |
<project name="package.sub.builds">
<macrodef name="x-process-sub-packages">
<attribute name="all" default="false"/>
<element name="tasks" implicit="true"/>
<sequential>
<if>
<and>
<isset property="package.subpkgs.dir"/>
<a... |
psp_image_button_detector
=========================
|
package org.iotivity.base.examples;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import org.iotivity.base.EntityHandlerResult;
import org.iotivity.base.OcException;
import org.iotivity.base.OcPlatform;
import org.iotivity.base.OcRepresentation;
import org.iotivity.base.OcR... |
describeComponent('ui/stats', function () {
'use strict';
beforeEach(function () {
this.setupComponent(readFixtures('footer.html'));
});
it('renders when stats change', function () {
var data = {
all: 3,
remaining: 2,
completed: 1,
filter: ''
};
expect(this.component.$node).toBeEmpty();
$(do... |
function is_file_emtpy()
{
if ! [[ -s $1 ]] ; then
exit 1
fi
}
TESTDATA="https://github.com/bx3/shannon_cpp/releases/download/v0.4.0/sample.tar.gz"
wget -q $TESTDATA >/dev/null
tar -xvf sample.tar.gz >/dev/null
single_length=50
paired_1_length=100
paired_2_length=100
single_read_path="./sample/SE_re... |
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.compunic.micronic.MainActivity">
<item android:id="@+id/action_lector" android:title="Lector de código de barras"
... |
KUBECTL=${TEST_KUBECTL:-} # substitute for tests
KUBECTL=${KUBECTL:-${KUBECTL_BIN:-}}
KUBECTL=${KUBECTL:-/usr/local/bin/kubectl}
if [[ ! -x ${KUBECTL} ]]; then
echo "ERROR: kubectl command (${KUBECTL}) not found or is not executable" 1>&2
exit 1
fi
KUBECTL_OPTS=${KUBECTL_OPTS:-}
# If an add-on definition is ... |
namespace pp {
namespace {
template <> const char* interface_name<PPB_FileChooser_Dev_0_5>() {
return PPB_FILECHOOSER_DEV_INTERFACE_0_5;
}
template <> const char* interface_name<PPB_FileChooser_Dev_0_6>() {
return PPB_FILECHOOSER_DEV_INTERFACE_0_6;
}
} // namespace
FileChooser_Dev::FileChooser_Dev(const Insta... |
<?php
namespace tests\codeception\_pages;
use yii\codeception\BasePage;
/**
* Represents login page
* @property \AcceptanceTester|\FunctionalTester $actor
*/
class LoginPage extends BasePage
{
public $route = 'site/login';
/**
* @param string $username
* @param string $password
*/
publ... |
@interface GPUImagePicture : GPUImageOutput
{
CGSize pixelSizeOfImage;
BOOL hasProcessedImage;
dispatch_semaphore_t imageUpdateSemaphore;
}
// Initialization and teardown
- (id)initWithURL:(NSURL *)url;
- (id)initWithImage:(NSImage *)newImageSource;
- (id)initWithCGImage:(CGImageRef)newImageSource;
- ... |
/* globals rison: true */
/* log.js
* logging, pure of heart.
*/
(function(){
"use strict";
let $location;
const KIBANA_PATH = "/api/controlplane/kibana";
const DEFAULT_INDEX = "logstash-*";
const DEFAULT_APPCONFIG = {
columns: ["fields.type", "message"],
filters: [],
in... |
package org.bubblecloud.zigbee.api.cluster.impl.api.general.commissioning;
import org.bubblecloud.zigbee.api.cluster.impl.api.core.Response;
import org.bubblecloud.zigbee.v3.model.Status;
/**
* @author <a href="mailto:manlio.bacco@isti.cnr.it">Manlio Bacco</a>
* @version $LastChangedRevision$ ($LastChangedDate$)
... |
package org.jtwig.parser.parboiled.expression;
import org.jtwig.model.expression.TernaryOperationExpression;
import org.jtwig.parser.parboiled.ParserContext;
import org.jtwig.parser.parboiled.base.PositionTrackerParser;
import org.jtwig.parser.parboiled.base.SpacingParser;
import org.parboiled.Rule;
public class Tern... |
package gui.actions.analysis;
import java.awt.event.ActionEvent;
import javax.swing.JOptionPane;
import graph.algorithms.planarity.FraysseixMendezPlanarity;
import graph.algorithms.planarity.PlanarityTestingAlgorithm;
import gui.main.frame.MainFrame;
import gui.model.GraphEdge;
import gui.model.GraphVertex;
public ... |
/*
* Module return value / error thrown does not affect caching of the
* module in Duktape.modLoaded. The module is registered before its
* source code is executed.
*/
/*===
Duktape.modSearch foo
foo.name: foo
Duktape.modSearch bar
bar.name: bar
Duktape.modSearch quux
Error: aiee
Duktape.modSearch quux
Error: ... |
import {listenOncePromise} from '../../src/event-helper';
import {timerFor} from '../../src/services';
import {toggleExperiment} from '../../src/experiments';
import {VideoInterface, VideoEvents} from '../../src/video-interface';
import {supportsAutoplay} from '../../src/service/video-manager-impl';
import {
create... |
"use strict";
exports.type = 'perItem';
exports.active = true;
var nonRendering = require('./_collections').elemsGroups.nonRendering,
defs;
/**
* Removes content of defs and properties that aren't rendered directly without ids.
*
* @param {Object} item current iteration item
* @return {Boolean} if false, it... |
#ifndef ALIRDHFJETSCUTS_H
#define ALIRDHFJETSCUTS_H
//***********************************************************
// Class AliRDHFJetsCuts
// base class for cuts on AOD reconstructed heavy-flavour decays
// Author: A. Rossi, andrea.rossi@cern.ch E. Bruna, elena.bruna@to.infn.it
//*************************************... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
})(this, (function (... |
namespace boost {
void throw_exception(std::exception const & e)
{
std::cerr << "Terminating with exception: " << e.what() << std::endl;
}
}
#else
namespace boost { namespace detail { void dummy_proc() {} } }
#endif
|
cordova.define("cordova-plugin-file.isChrome", function(require, exports, module) {
module.exports = function () {
// window.webkitRequestFileSystem and window.webkitResolveLocalFileSystemURL are available only in Chrome and
// possibly a good flag to indicate that we're running in Chrome
return window.we... |
#pragma once
#include <aws/elasticmapreduce/EMR_EXPORTS.h>
#include <aws/elasticmapreduce/EMRRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/elasticmapreduce/model/ClusterState.h>
namespace Aws
{
namespace EMR
{
namespace Model
{
/*
<p>... |
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* Different data types that each require their own labelled axis.
*/
var TimelineDataType = {
SOURCE_COUNT: 0,
BYTES_PER_SECOND: 1
};
/**
... |
package deployment
import (
"context"
"fmt"
"reflect"
"time"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/klog/v2"
apps "k8s.io/api/apps/v1"
"k8s.io/api/core/v1"
"k8s.io/kubernetes/pkg/controller/deployment/util"
)
// syncRolloutStatus updates the status of a deployment during a rollout. There a... |
<?php
namespace Symfony\Component\HttpKernel\EventListener;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
use Symfony\Component\HttpKernel\KernelEvents;
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
use Symfony\Component\HttpKernel\Uri... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.compositor.layouts.eventfilter;
import org.chromium.chrome.browser.compositor.layouts.eventfilter.EdgeSwipeEventFilte... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2015 PocketHub
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~... |
<?php
use Phalcon\Mvc\View;
use Phalcon\Loader as Loader;
use Phalcon\Session\Adapter\Files as SessionAdapter;
use Phalcon\Mvc\Model\Manager as ModelsManager;
/**
* Phalcon 的初始化文件
*/
class init
{
public function registerDirs(){
$loader = new Loader();
$loader->registerDirs(array(
APP_PATH... |
YUI.add('history-hash', function(Y) {
/**
* Provides browser history management backed by
* <code>window.location.hash</code>, as well as convenience methods for working
* with the location hash and a synthetic <code>hashchange</code> event that
* normalizes differences across browsers.
*
* @module history
* @s... |
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>New Window</title>
</head>
<body>
<p>This is a new window</p>
</body>
</html>
|
<?php
namespace Module\Controller;
use Kecik\Controller;
class Module extends Controller {
public function __construct() {
parent::__construct();
}
public function index() {
return $this->view('index_hmvc');
}
public function create() {
$table = new \Module\Model\Table()... |
'use strict';
module.exports = function stripUnusedImports(pureExternalModules) {
return {
name: 'scripts/rollup/plugins/strip-unused-imports',
transformBundle(code) {
pureExternalModules.forEach(module => {
// Ideally this would use a negative lookbehind: (?<!= *)
// But this isn't su... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Parsley.Core.Extensions {
public static class RectangleExtensions {
/// <summary>
/// True if point is contained in rectangle, false otherwise.
/// </summary>
/// <param name="r">Rectangle... |
id: tooling-integration
title: Tooling Integration
permalink: tooling-integration.html
prev: more-about-refs.html
next: addons.html
---
Every project uses a different system for building and deploying JavaScript. We've tried to make React as environment-agnostic as possible.
## React
### CDN-hosted React
We provide... |
package fun
import "github.com/cpmech/gosl/chk"
// Zero implements an specialisation of Cte function that always returns zero
var Zero Cte
// One implements an specialisation of Cte function that always returns one
var One = Cte{1}
// Cte implements a constant function
type Cte struct {
C float64
}
// set allocat... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>DB_EN... |
var inst = require("../index").getInstance();
inst.applyConfig({ debug: true, filter: "debug" });
module.exports = inst.use("axis-stacked");
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template zero_or_default</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../../index.html" ... |
package org.apache.activemq.artemis.core.server;
import java.util.List;
import org.apache.activemq.artemis.core.filter.Filter;
public interface Consumer {
/**
* There was a change on semantic during 2.3 here.<br>
* We now first accept the message, and the actual deliver is done as part of
* {@link #... |
// @flow
import * as result from 'orio-result'
import { AsIterator, ToString } from 'orio-traits'
import type { Producer } from 'orio-types'
@ToString
@AsIterator
export default class TakeWhile<T> implements Producer<T> {
/*:: @@iterator: () => Iterator<T> */
fn: T => boolean
producer: Producer<T>
constructo... |
package com.amazonaws.services.rds.model.transform;
import java.util.ArrayList;
import javax.xml.stream.events.XMLEvent;
import javax.annotation.Generated;
import com.amazonaws.services.rds.model.*;
import com.amazonaws.transform.Unmarshaller;
import com.amazonaws.transform.StaxUnmarshallerContext;
import com.amaz... |
package org.drools.compiler.phreak;
import org.drools.core.base.ClassObjectType;
import org.drools.core.common.InternalWorkingMemory;
import org.drools.core.impl.KnowledgeBaseImpl;
import org.drools.core.reteoo.BetaMemory;
import org.drools.core.reteoo.EvalConditionNode;
import org.drools.core.reteoo.JoinNode;
impor... |
<?php $this->load->view('header', array("page" => "/passenger/passengerlist")); ?>
<div class="panel panel-default" id="passenger_list">
<table class="table table-striped table-hover">
<caption>
All Passengers in All Cars <br>
<div id="flash_message"></div>
<div id="flash_error"></div>
</cap... |
layout: post
authors: ["Victor (Kwangchun) Lee"]
title: "The First Software Carpentry in Korea"
date: 2015-03-02
time: "23:37:00"
category: ["Workshops", "Korea", "Seoul", "Rapa", "xwMOOC"]
---
<p> Last week, xwMOOC <a href="http://www.xwmooc.net">xwMOOC</a> ran the first <a href="http://statkclee.github.io/2015-02-25-... |
attr_reader :enclosed_resource
def without_deprecation_warnings(&block)
old_treat_deprecation_warnings_as_errors = Chef::Config[:treat_deprecation_warnings_as_errors]
Chef::Config[:treat_deprecation_warnings_as_errors] = false
begin
block.call
ensure
Chef::Config[:treat_deprecation_warnings_as_errors] ... |
package v1beta1
// This file contains a collection of methods that can be used from go-restful to
// generate Swagger API documentation for its models. Please read this PR for more
// information on the implementation: https://github.com/emicklei/go-restful/pull/215
//
// TODOs are ignored from the parser (e.g. TODO... |
/*eslint valid-jsdoc: 0 */
beforeEach(function() {
module('ngeo');
jasmine.addMatchers({
/**
* A matcher similar to `expect(...).toBeCloseTo(...)` to check that
* numbers in two arrays are almost equal.
*/
arrayToBeCloseTo: function(util, customEqualityTesters) {
return {
compa... |
require "rails/generators/named_base"
module Rails # :nodoc:
module Generators # :nodoc:
class JobGenerator < Rails::Generators::NamedBase # :nodoc:
desc "This generator creates an active job file at app/jobs"
class_option :queue, type: :string, default: "default", desc: "The queue name for the gene... |
package com.amazonaws.services.support;
import org.w3c.dom.*;
import java.net.*;
import java.util.*;
import javax.annotation.Generated;
import org.apache.commons.logging.*;
import com.amazonaws.*;
import com.amazonaws.annotation.SdkInternalApi;
import com.amazonaws.auth.*;
import com.amazonaws.handlers.*;
import... |
'use strict';
// ### PrettyDiff
// After makePretty, the raw diff from deep-diff is converted to this.
export interface PrettyDiff {
kind: string;
path: string;
lhs?: any;
rhs?: any;
index?: number;
item?: PrettyDiff;
}
|
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2013-2015 The GDG Frisbee Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LI... |
<?php
namespace Symfony\Bridge\Propel1\Tests\Fixtures;
class ReadOnlyItemQuery
{
public function getTableMap()
{
// Allows to define methods in this class
// to avoid a lot of mock classes
return $this;
}
public function getPrimaryKeys()
{
$cm = new \ColumnMap('i... |
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
d = generate_distutils_setup(
install_requires=['rospy'],
packages=['rover_driver'],
package_dir={'': 'src'}
)
setup(**d)
|
package thrift
import "net/http"
// NewThriftHandlerFunc is a function that create a ready to use Apache Thrift Handler function
func NewThriftHandlerFunc(processor TProcessor,
inPfactory, outPfactory TProtocolFactory) func(w http.ResponseWriter, r *http.Request) {
return func(w http.ResponseWriter, r *http.Requ... |
<!--[metadata]>
+++
aliases = [ "/engine/installation/debian/"]
title = "Installation on Debian"
description = "Instructions for installing Docker on Debian."
keywords = ["Docker, Docker documentation, installation, debian"]
[menu.main]
parent = "engine_linux"
weight=-2
+++
<![end-metadata]-->
# Debian
Docker is sup... |
import tokenize
import collections
import token as mod_token
try:
import pycodestyle
except ImportError:
import pep8 as pycodestyle
try:
from flake8.engine import pep8 as stdin_utils
except ImportError:
from flake8 import utils as stdin_utils
import pkg_resources
try:
dist = pkg_resources.get_di... |
package org.apache.hadoop.yarn.api.records;
import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceAudience.Public;
import org.apache.hadoop.classification.InterfaceStability.Evolving;
import org.apache.hadoop.classification.InterfaceStability.Unstable;
imp... |
from django.contrib import admin
from ldap_groups.models import LDAPGroup
from ldap_groups.views import ldap_search
from django.conf.urls import *
class LDAPGroupAdmin(admin.ModelAdmin):
def get_urls(self):
urls = super(LDAPGroupAdmin, self).get_urls()
my_urls = patterns('',
(r'^ldap_se... |
@implementation FKTextField
@synthesize textField = _textField;
////////////////////////////////////////////////////////////////////////////////////////////////////
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
self = [super initWithStyle:style reuseIdentifier:reus... |
// @flow
const palette = ["#5DA5DA","#60BD68","#B2912F","#F15854","#DECF3F","#FAA43A","#B276B2","#F17CB0","#4D4D4D"]
/*
Default node and edge transformation for NeoCypher,
class has 2 functions: node() and edge() which transform data from Neo4j format into Sigma.
Also it iterates colors assignments from palette b... |
package com.opengamma.masterdb.security;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.annotations.Factory;
import org.testng.annotations.Test;
import com.opengamma.financial.security.test.SecurityTestCaseMethods;
import com.opengamma.masterdb.security.hibernate.HibernateSecurityMasterDe... |
#ifndef _AFXRES_H
#define _AFXRES_H
#if __GNUC__ >= 3
#pragma GCC system_header
#endif
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _INC_WINDOWS
#include <windows.h>
#endif
/* IDC_STATIC is documented in winuser.h, but not defined. */
#ifndef IDC_STATIC
#define IDC_STATIC (-1)
#endif
#ifdef __cplusplus
}
#endif
... |
#ifndef BT_AOS_VECTORMATH_BULLET_CONVERT_H
#define BT_AOS_VECTORMATH_BULLET_CONVERT_H
#include "PlatformDefinitions.h"
#include "bullet/LinearMath/btVector3.h"
#include "bullet/LinearMath/btQuaternion.h"
#include "bullet/LinearMath/btMatrix3x3.h"
inline Vectormath::Aos::Vector3 getVmVector3(const btVector3& bulletV... |
<?php
namespace Symfony\Component\DependencyInjection\ParameterBag;
use Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException;
use Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* H... |
namespace boost
{
// Helper templates ------------------------------------------------------//
// fast integers from least integers
// int_fast_t<> works correctly for unsigned too, in spite of the name.
template< typename LeastInt >
struct int_fast_t
{
typedef LeastInt fast;
typedef fast ... |
class Cms::GeneratePagesController < ApplicationController
include Cms::BaseFilter
include SS::ExecFilter
navi_view "cms/main/navi"
private
def task_name
"cms:generate_pages"
end
def task_command
[ task_name, "site=#{@cur_site.host}" ]
end
def set_item
@item = Cms::Task... |
/**
* @fileoverview Enforce that elements with ARIA roles must
* have all required attributes for that role.
* @author Ethan Cohen
*/
// -----------------------------------------------------------------------------
// Requirements
// -----------------------------------------------------------------------------
i... |
package org.apache.ibatis.reflection.property;
import java.lang.reflect.Field;
/**
* @author Clinton Begin
*/
public final class PropertyCopier {
private PropertyCopier() {
// Prevent Instantiation of Static Class
}
public static void copyBeanProperties(Class<?> type, Object sourceBean, Object destinat... |
package org.eclipse.bpel.compare.ui.gef.bpel;
import java.util.List;
import org.eclipse.bpel.compare.ui.annotation.AnnotationsStore;
import org.eclipse.draw2d.IFigure;
import org.eclipse.emf.compare.diff.metamodel.DiffElement;
import org.eclipse.emf.compare.diff.metamodel.ModelElementChangeLeftTarget;
import org.ecli... |
require 'test_helper'
class EventsControllerTest < ActionController::TestCase
setup do
@event = events(:one)
end
test "should get index" do
get :index
assert_response :success
assert_not_nil assigns(:events)
end
test "should get new" do
get :new
assert_response :success
end
tes... |
using namespace std;
int SumByValue(int);
int SumByReference(int &);
int SumByReference2(const int &);
int SumByPointer(int *);
int main()
{
system("color 70");
setlocale(0, "");
SetConsoleTitle("008.Reference");
int value = 99;
int &ref = value;
cout << "value = " << value << endl;
cout << "ref = " << ref <... |