answer stringlengths 15 1.25M |
|---|
<?php
namespace Doctrine\ORM\Query\AST;
class <API key> extends Node
{
/**
* @var Join
*/
public $join;
/**
* @var IndexBy|null
*/
public $indexBy;
/**
* Constructor.
*
* @param Join $join
* @param IndexBy|null $indexBy
*/
public function __co... |
'use strict';
import H from './Globals.js';
import Point from './Point.js';
import U from './Utilities.js';
var seriesType = U.seriesType;
var seriesTypes = H.seriesTypes;
/**
* The ohlc series type.
*
* @private
* @class
* @name Highcharts.seriesTypes.ohlc
*
* @augments Highcharts.Series
*/
seriesType('ohlc', ... |
# -*- coding: utf-8 -*-
# This file is part of weboob.
# weboob is free software: you can redistribute it and/or modify
# (at your option) any later version.
# weboob is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
import random
import urllib
from urlpar... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>rgaa22 Test.03021 NMI 07</title>
</head>
<body>
<div>
<h1>rgaa22 Test.03021 NMI 07</h1>
<div class="test-detail" lang="fr">
... |
package org.opennms.core.tasks;
import org.springframework.util.Assert;
/**
* <p>AsyncTask class.</p>
*
* @author ranger
* @version $Id: $
*/
public class AsyncTask<T> extends AbstractTask {
private final Async<T> m_async;
private final Callback<T> m_callback;
/**
* <p>Constructor for AsyncTask.</... |
# <API key>: true
class Settings::<API key> < <API key>
layout 'admin'
before_action :authenticate_user!
def show; end
def update
user_settings.update(<API key>.to_h)
if current_user.update(user_params)
I18n.locale = current_user.locale
redirect_to <API key>, notice: I18n.t('generic.changes_... |
<?php
// created: 2015-12-11 14:01:20
$dictionary['Contact']['fields']['salutation']['len']=100;
$dictionary['Contact']['fields']['salutation']['inline_edit']=true;
$dictionary['Contact']['fields']['salutation']['comments']='Contact salutation (e.g., Mr, Ms)';
$dictionary['Contact']['fields']['salutation']['merge_filt... |
#include "db_config.h"
#include "db_int.h"
/*
* __os_rmdir --
* Remove a directory.
*/
int
__os_rmdir(env, name)
ENV *env;
const char *name;
{
DB_ENV *dbenv;
_TCHAR *tname;
int ret;
dbenv = env == NULL ? NULL : env->dbenv;
if (dbenv != NULL &&
FLD_ISSET(dbenv->verbose, DB_VERB_... |
"""This module implement decorators for wrapping data sources so as to
simplify their construction and attribution of properties.
"""
import functools
def <API key>(name=None, **properties):
"""Decorator for applying to a simple data source which directly
returns an iterable/generator with the metrics for each ... |
<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
/**
* Predefined logic hooks
* after_ui_frame
* after_ui_footer
* after_save
* before_save
* before_retrieve
* after_retrieve
* process_record
* before_delete
* after_delete
* before_restore
* after_restore
* server_ro... |
package tc.oc.api.ocn;
import java.util.Collection;
import javax.inject.Singleton;
import com.google.common.util.concurrent.ListenableFuture;
import tc.oc.api.docs.MapRating;
import tc.oc.api.docs.virtual.MapDoc;
import tc.oc.api.docs.virtual.UserDoc;
import tc.oc.api.exceptions.NotFound;
import tc.oc.api.http.HttpOpti... |
tc.gam.<API key> = function(options) {
var self = {
currentHash: window.location.hash,
previousHash: null
};
self._setHash = function(hash) {
if (hash === self.currentHash) {
tc.jQ(window).trigger('hashchange');
} else {
//This will trigger the 'hashch... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Rgaa30 Test.10.4.2 Failed 03_3</title>
<style type="text/css">
@media tv {
h1{
font-size: 15mm;
}
... |
//$Id: style.hpp 39 2005-04-10 20:39:53Z pavlenko $
#ifndef STYLE_HPP
#define STYLE_HPP
// mapnik
#include <mapnik/color.hpp>
#include <mapnik/symbolizer.hpp>
// boost
#include <boost/shared_ptr.hpp>
// stl
#include <vector>
#include <algorithm>
#include <functional>
namespace mapnik { }
#endif //STYLE_HPP |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!
This library is part of OpenCms -
the Open Source Content Management System
Copyright (c) Alkacon Software GmbH (http:
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
L... |
package org.opencms.workplace.tools.content;
import org.opencms.file.CmsProperty;
import org.opencms.file.<API key>;
import org.opencms.file.CmsResource;
import org.opencms.file.CmsVfsException;
import org.opencms.i18n.CmsMessages;
import org.opencms.jsp.CmsJspActionElement;
import org.opencms.lock.CmsLock;
import org.... |
class Extension(object):
"""
Base class for creating extensions.
Args:
kwargs[dict]: All key, value pairings are stored as "configuration" options, see getConfigs.
"""
def __init__(self, **kwargs):
#: Configure options
self._configs = kwargs
self._configs.setdefault('headings', ['section', 'su... |
#!/usr/bin/python
import math
import Sofa
def tostr(L):
return str(L).replace('[', '').replace("]", '').replace(",", ' ')
def transform(T,p):
return [T[0][0]*p[0]+T[0][1]*p[1]+T[0][2]*p[2]+T[1][0],T[0][3]*p[0]+T[0][4]*p[1]+T[0][5]*p[2]+T[1][1],T[0][6]*p[0]+T[0][7]*p[1]+T[0][8]*p[2]+T[1][2]]
def transformF(T,F):... |
#ifndef <API key>
#define <API key>
#include "<API key>.h"
QT_BEGIN_NAMESPACE
class <API key>;
QT_END_NAMESPACE
namespace QmlDesigner {
namespace Internal {
class <API key> : public <API key>
{
public:
typedef QSharedPointer<<API key>> Pointer;
typedef QWeakPointer<<API key>> WeakPointer;
static Pointer cre... |
#include "config.h"
#include <lxc/lxccontainer.h>
#include <unistd.h>
#include <signal.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <stdlib.h>
#include <errno.h>
#define MYNAME "lxctest1"
int main(int argc, char *argv[])
{
struct lxc_container *c;
int ret = 1;
if ((c = lxc_con... |
# <API key>: (Apache-2.0 OR MIT)
from spack import *
class Serf(SConsPackage):
"""Apache Serf - a high performance C-based HTTP client library
built upon the Apache Portable Runtime (APR) library"""
homepage = 'https://serf.apache.org/'
url = 'https://archive.apache.org/dist/serf/serf-1.3.9.tar.b... |
/*
* Expected: 'i_first' 'c_first'
* Not expected: 'i_second' 'c_second' 'f_second'
*/
typedef struct {
int i_first;
char c_first;
} S1;
typedef struct {
int i_second;
char c_second;
float f_second;
} S2;
void foo()
{
S1 s;
s.<<<<;
} |
\hypertarget{classCqrs_1_1Akka_1_1Tests_1_1Unit_1_1Events_1_1Handlers_1_1HelloWorldRepliedToEventHandlerActor}{}\section{Cqrs.\+Akka.\+Tests.\+Unit.\+Events.\+Handlers.\+Hello\+World\+Replied\+To\+Event\+Handler\+Actor Class Reference}
\label{classCqrs_1_1Akka_1_1Tests_1_1Unit_1_1Events_1_1Handlers_1_1HelloWorldReplied... |
#include "qmlconsoleview.h"
#include "<API key>.h"
#include "qmlconsoleitemmodel.h"
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/manhattanstyle.h>
#include <utils/hostosinfo.h>
#include <QMouseEvent>
#include <QPainter>
#include <QApplication>
#include <QClipboard>
#include <QAbstractProxyMo... |
/* Projeto: Biblioteca ZeusDFe */
/* Biblioteca C# para auxiliar no desenvolvimento das demais bibliotecas DFe */
/* Zeusdev Tecnologia LTDA ME */
/* Zeusdev Tecnologia LTDA ME - adenilton@zeusautomacao.com.br ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>LCOV - doc-coverage.info - Ninject/Azure/Cqrs.Ninject.Azure.BlobStorage/Configuration/<API key>.cs</title>
<link rel="stylesheet" type="text/css" href=... |
// This file is part of the deal.II library.
// The deal.II library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// the top level of the deal.II distribution.
// make sure only one processor finds a locally-owned cell around a point
#include "../tests.... |
#include "qnamepool_p.h"
#include "<API key>.h"
QT_BEGIN_NAMESPACE
using namespace QPatternist;
<API key>::<API key>(const NamespaceResolver::Ptr &resolver) : m_nsResolver(resolver)
{
Q_ASSERT(m_nsResolver);
}
<API key>::<API key>(const NamespaceResolver::Ptr &ns,
... |
#ifndef H_RED_TIME
#define H_RED_TIME
#include <time.h>
static inline uint64_t red_now(void)
{
struct timespec time;
clock_gettime(CLOCK_MONOTONIC, &time);
return ((uint64_t) time.tv_sec) * 1000000000 + time.tv_nsec;
}
#endif |
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="../fast/js/resources/js-test-style.css"/>
<script src="resources/audio-testing.js"></script>
<script src="../fast/js/resources/js-test-pre.js"></script>
<script src="resources/biquad-testing.js"></script>
</head>
<body>
<div id="description"></div>
<div id="con... |
# <API key>: (Apache-2.0 OR MIT)
from spack import *
class Qnnpack(CMakePackage):
"""QNNPACK (Quantized Neural Networks PACKage) is a mobile-optimized
library for low-precision high-performance neural network inference.
QNNPACK provides implementation of common neural network operators on
quantized 8-bi... |
/*
* nudgeunix.c: nudges a target Linux process
*
* XXX: share code with DRcontrol.c?
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stddef.h>
#include <unistd.h>
#include <sys/syscall.h>
#include <assert.h>
#include "configure.h"
#include "globals_shared.h"
extern bool
<API key>(siginfo_t ... |
#ifndef <API key>
#define <API key>
// MS compatible compilers support #pragma once
#if defined(_MSC_VER)
# pragma once
#endif
// boost/core/<API key>.hpp
// <API key>, <API key>, <API key>
// (glenjofe@gmail.com)
#include <boost/core/lightweight_test.hpp>
#include <boost/core/type_name.hpp>
#include <boost/core/is_sam... |
package org.auscope.portal.core.util;
import java.io.IOException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import javax.xml.XMLConstants;
import javax.xml.namespace.NamespaceContext;
import javax.xml.parsers.<API key>;
import javax.xml.transform.<API key>;
import javax.xml.xpath.XPath;... |
import unittest
from ctypes import *
from struct import calcsize
import _testcapi
class SubclassesTest(unittest.TestCase):
def test_subclass(self):
class X(Structure):
_fields_ = [("a", c_int)]
class Y(X):
_fields_ = [("b", c_int)]
class Z(X):
pass
... |
package debugstatus_test
import (
"encoding/json"
"net/http"
jc "github.com/juju/testing/checkers"
"github.com/juju/testing/httptesting"
"github.com/juju/utils/debugstatus"
"github.com/julienschmidt/httprouter"
gc "gopkg.in/check.v1"
"gopkg.in/errgo.v1"
"github.com/juju/httprequest"
... |
package org.auscope.portal.core.services.responses.vocab;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.xml.parsers.<API key>;
import javax.xml.xpath.XPathConstants;
import javax.xml.xpath.XPathException;
import org.auscope.portal.core.services.name... |
// 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 furnished to do so, subject to the following
// conditi... |
package org.fnlp.util.exception;
import java.io.<API key>;
import java.io.IOException;
public class LoadModelException extends Exception {
private static final long serialVersionUID = -<API key>;
public LoadModelException(Exception e, String file) {
super(e);
if( e instanceof <API key>) {
... |
// 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, copy, modify, merge, publish,
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
// includ... |
namespace StockSharp.Algo.Export
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using Ecng.Common;
using StockSharp.BusinessEntities;
using StockSharp.Messages;
<summary>
Ýêñïîðò â xml.
</summary>
public class XmlExporter : BaseExporter... |
/** @defgroup httpconsts HTTP constants to be used with HTTP client or HTTP server
* @brief Provides HTTP constants
* @ingroup httpserver
* @ingroup httpclient
* @{
*/
#ifndef <API key>
#define <API key>
#define MIME_TYPE_MAP(XX) \
/* Type, extension start, Mime type */ \
... |
#include "gsl__config.h"
#include <stdlib.h>
#include <math.h>
#include "gsl_errno.h"
#include "gsl_linalg__tridiag.h"
#include "gsl_linalg.h"
/* for description of method see [Engeln-Mullges + Uhlig, p. 92]
*
* diag[0] offdiag[0] 0 .....
* offdiag[0] diag[1] offdiag[1] .....
* ... |
'use strict';
angular.module('mgcrea.ngStrap.typeahead', ['mgcrea.ngStrap.tooltip', 'mgcrea.ngStrap.helpers.parseOptions'])
.provider('$typeahead', function() {
var defaults = this.defaults = {
animation: 'am-fade',
prefixClass: 'typeahead',
prefixEvent: '$typeahead',
placement: 'bottom-le... |
namespace TinderApp.Library.Controls
{
public interface IApp
{
<API key> RootFrameInstance { get; }
void Logout();
}
} |
#!/bin/bash
set -x
set -e
resources/Datasources/hbase/createHbaseTables.sh
wait
hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dmapred.map.tasks.speculative.execution=false -Dmapred.reduce.tasks.speculative.execution=false -Dimporttsv.columns=HBASE_ROW_KEY,onecf:name,twocf:age,twocf:registration,threecf:contributio... |
use clippy_utils::diagnostics::{span_lint_and_sugg, span_lint_and_then};
use clippy_utils::get_parent_node;
use clippy_utils::source::<API key>;
use clippy_utils::sugg;
use clippy_utils::ty::is_copy;
use rustc_errors::Applicability;
use rustc_hir::{BindingAnnotation, Expr, ExprKind, MatchSource, Node, PatKind};
use rus... |
// file at the top-level directory of this distribution and at
// option. This file may not be copied, modified, or distributed
// except according to those terms.
fn foo<T>(o: myoption<T>) -> int {
let mut x: int = 5;
match o {
none::<T> => { }
some::<T>(_t) => { x += 1; }
}
return x;
}... |
package org.apereo.cas.authentication;
import com.google.common.base.Splitter;
import org.apereo.cas.authentication.principal.Principal;
import org.apereo.cas.services.Multifactor<API key>;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.services.<API key>;
import org.apereo.cas.util.CollectionU... |
{% extends 'base.html' %}
{% block main %}
{% include "project/databases/_create_database.html" %}
{% endblock %} |
package org.camunda.bpm.model.bpmn.impl.instance.camunda;
import static org.camunda.bpm.model.bpmn.impl.BpmnModelConstants.<API key>;
import static org.camunda.bpm.model.bpmn.impl.BpmnModelConstants.CAMUNDA_NS;
import org.camunda.bpm.model.bpmn.impl.instance.<API key>;
import org.camunda.bpm.model.bpmn.instance.camunda... |
// file at the top-level directory of this distribution and at
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use std::old_io::{Command, IoError, OtherIoError};
use target::TargetOptions;
use self::Arch::*;
#[allow(<API key>)]
#[derive(Copy)]
pub enum Arch {
Arm... |
{{{
"title": "Getting Started with GitLab - Blueprint",
"date": "05-14-2015",
"author": "<a href='https://twitter.com/KeithResar'>@KeithResar</a>",
"attachments": [],
"contentIsHTML": false
}}}
Description
<img alt="GitLab Logo" src="/knowledge-base/images/bitnami_logos/<API key>.png" style="border:0;float:ri... |
///<reference path="app.js" />
define(['Dexie', 'Dexie.Observable', './console'], function (Dexie, DexieObservable, console) {
// Declare Dexie instance and explicitely apply the addon:
var db = new Dexie("appdb2", { addons: [DexieObservable] });
// Define database schema
db.version(1).stores({
... |
// file at the top-level directory of this distribution and at
// option. This file may not be copied, modified, or distributed
// except according to those terms.
enum Test {
DivZero = 1/0,
//~^ attempt to divide by zero
//~| ERROR evaluation of constant value failed
RemZero = 1%0,
//~^ attempt to ... |
package foo;
public class ControllerB2 extends grails.TopB {
public void foo() {
super.foo();
System.out.println("ControllerB.foo() running again!");
}
} |
#include "modules/rtp_rtcp/source/rtp_format_h264.h"
namespace webrtc {
void FuzzOneInput(const uint8_t* data, size_t size) {
RtpDepacketizerH264 depacketizer;
RtpDepacketizer::ParsedPayload parsed_payload;
depacketizer.Parse(&parsed_payload, data, size);
}
} // namespace webrtc |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>selenium.webdriver.remote.webelement — Selenium 2.0 documentation</title>
<link rel="stylesheet" href="../_static/default.css... |
<!DOCTYPE html>
<html>
<head>
<script>
function loadHandler() {
if (opener) {
// opener.console.log("oauth callback href:", location.href);
if (location.hash) {
opener.require("esri/kernel").id.<API key>(location.hash);
close... |
<!DOCTYPE html>
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<a action="TestAction" controller="TestController" _arg="args">Text</a>
</body>
</html> |
require_relative '../../puppet_x/puppetlabs/property/tag.rb'
require_relative '../../puppet_x/puppetlabs/property/region.rb'
require_relative '../../puppet_x/puppetlabs/<API key>'
Puppet::Type.newtype(:ec2_securitygroup) do
@doc = 'type representing an EC2 security group'
ensurable
newparam(:name, namevar: true) ... |
# ./darwinpush/xb/raw/sm.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:<SHA1-like>
# Generated 2015-04-23 16:42:14.513978 by PyXB version 1.2.4 using Python 3.4.1.final.0
from __future__ import unicode_literals
import pyxb
import pyxb.binding
import pyxb.binding.saxer
import io
import pyxb.utils.utility
import pyxb... |
#ifndef <API key>
#define <API key>
#ifndef NRFX_CONFIG_H__
#error "This file should not be included directly. Include nrfx_config.h instead."
#endif
// <<< Use Configuration Wizard in Context Menu >>>\n
// <h> nRF_Drivers
// <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver
#ifndef NRFX_CLOCK_ENABLED
#defi... |
FROM java:openjdk-8-jre
MAINTAINER Martijn Koster "mak-docker@greenhills.co.uk"
ENV SOLR_VERSION 5.2.1
ENV SOLR solr-$SOLR_VERSION
ENV SOLR_USER solr
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get -y install lsof && \
groupadd -r $SOLR_USER && \
useradd -r -g $SOLR_USER $SOLR_USE... |
SELECT * FROM tbl1_ts;
\c db_ts;
\l+;
SELECT * FROM tbl2_ts;
select spcname from pg_tablespace where spcname='ts'; |
from urlparse import urlparse
from api_tests.nodes.views.<API key> import NodeCRUDTestCase
from nose.tools import * # flake8: noqa
from api.base.settings.defaults import API_BASE
from framework.auth.core import Auth
from tests.base import fake
from osf_tests.factories import (
ProjectFactory,
CommentFactory,
... |
if (!this["output"]) output = print;
var passed = 0;
var failed = 0;
function is(got, expected, msg) {
if (got == expected) {
output("OK: " + msg);
++passed;
} else {
output("FAIL: " + msg);
output("Expected |" + expected + "|");
output(" Got |" + got + "|");
++failed;
}
}
function c... |
//where
/** Generate code to create an array with given element type and number
* of dimensions.
*/
Item makeNewArray(DiagnosticPosition pos, Type type, int ndims) {
try {
DEBUG.P(this,"makeNewArray(3)");
DEBUG.P("type="+type);
DEBUG.P("ndims="+ndims);
Type... |
import * as _ from 'lodash';
interface <API key> {
getApplications(context: any): Promise<any>;
}
/** Backend service communications. */
export class ApplicationsService implements <API key> {
public static $inject = ['$filter', '$q', 'DataService'];
private $filter: any;
private $q: any;
private DataService:... |
Imports System.Collections.Immutable
Imports System.Reflection
Imports System.Runtime.InteropServices
Imports Microsoft.CodeAnalysis.Collections
Imports Microsoft.CodeAnalysis.VisualBasic.Symbols
Imports Roslyn.Utilities
Namespace Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator
Friend Delegate Function Gener... |
-- Database: mssql
-- Change Parameter: column1Name=first_name
-- Change Parameter: column2Name=last_name
-- Change Parameter: finalColumnName=full_name
-- Change Parameter: finalColumnType=varchar(255)
-- Change Parameter: tableName=person
ALTER TABLE person ADD full_name varchar(255);
UPDATE person SET full_name = fi... |
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
... |
package org.eclipse.bpel.ui.adapters;
import java.util.List;
import org.eclipse.bpel.model.BPELPackage;
import org.eclipse.bpel.model.MessageExchanges;
import org.eclipse.bpel.ui.BPELUIPlugin;
import org.eclipse.bpel.ui.IBPELUIConstants;
import org.eclipse.bpel.ui.adapters.delegates.ReferenceContainer;
import org.eclip... |
package com.webtrends.harness.command.typed
import akka.actor.{Actor, ActorRef, Props}
import akka.pattern._
import akka.util.Timeout
import com.webtrends.harness.HarnessConstants
import scala.concurrent.duration._
import scala.concurrent.{ExecutionContext, Future}
trait TypedCommandHelper { this: Actor =>
var typedC... |
from collections import OrderedDict
from app.master.atom_grouper import AtomGrouper
class <API key>(object):
BIG_CHUNK_FRACTION = 0.8
def __init__(self, atoms, max_executors, atom_time_map, project_directory):
"""
:param atoms: the list of atoms for this build
:type atoms: list[app.maste... |
/**
* Purpose of package - find largest number from 2 and 3 numbers.
* @since 1.0
* @author skuznetsov
* @version 2.0
*/
package ru.skuznetsov; |
package gw.internal.gosu.parser;
import gw.lang.reflect.IMethodInfo;
public class <API key> extends <API key> implements <API key> {
private IMethodInfo _targetMethodInfo;
<API key>(<API key> dfs) {
super( dfs );
_targetMethodInfo = dfs.getMi();
}
@Override
public IMethodInfo getTargetMethodInfo() {
... |
"""
Tests for the integration test suite itself.
"""
import logging
import os
import subprocess
from collections import defaultdict
from pathlib import Path
from typing import Set
import yaml
from get_test_group import patterns_from_group
__maintainer__ = 'adam'
__contact__ = 'tools-infra-team@mesosphere.io'
log = logg... |
/* eslint-env node */
/* vim: set ts=2 ft=javascript: */
<reference types="../node_modules/@types/node/" />
const n = "xlsx";
import X = require("xlsx");
import 'exit-on-epipe';
import * as fs from 'fs';
import program = require('commander');
program
.version(X.version)
.usage('[options] <file> [sheetname]')
... |
namespace DTcms.Web.admin.manager {
public partial class role_edit {
<summary>
form1
</summary>
<remarks>
</remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
<summary>
ddlRoleType
</summary>
<remarks>
</remar... |
#!/bin/sh
while [ "1" == "1" ]
do
uptime
sleep 1
done |
package org.apereo.cas.ticket.registry;
import org.apereo.cas.ticket.Ticket;
import org.infinispan.Cache;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Collection;
import java.util.concurrent.TimeUnit;
public class <API key> extends <API key> {
private static final Logger LOGGER = Logger... |
// This source file is part of the Swift.org open source project
// Swift ABI describing "status records", the mechanism by which
// tasks track dynamic information about their child tasks, custom
// cancellation hooks, and other information which may need to be exposed
// asynchronously outside of the task.
#ifndef <A... |
'use strict';
module.exports = function (math) {
var util = require('../../util/index'),
BigNumber = math.type.BigNumber,
collection = require('../../type/collection'),
isNumber = util.number.isNumber,
isBoolean = util['boolean'].isBoolean,
isInteger = util.number.isInteger,
isColl... |
/* This file is automatically generated. DO NOT EDIT! */
/* Generated from: NetBSD: mknative-gcc,v 1.59 2011/07/03 06:47:12 mrg Exp */
/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp */
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configu... |
.enyo-hflexbox, .enyo-vflexbox {
display: -webkit-box;
-webkit-box-sizing: border-box;
}
.enyo-hflexbox {
-webkit-box-orient: horizontal;
}
.enyo-vflexbox {
-webkit-box-orient: vertical;
} |
module ActionMailer
# Returns the version of the currently loaded ActionMailer as a <tt>Gem::Version</tt>
def self.gem_version
Gem::Version.new VERSION::STRING
end
module VERSION
MAJOR = 4
MINOR = 1
TINY = 6
PRE = nil
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
end |
package org.elasticsearch.xpack.security.authc.support.mapper;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.message.<API key>;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.delete.DeleteResponse;
import org.elastics... |
# This is the Ruby 2.0-specific kernel file.
# Currently, all 1.9 features are in 2.0. We will need to
# differentiate when there are features from 1.9 removed
# in 2.0.
# These are loads so they don't pollute LOADED_FEATURES
load 'jruby/kernel19.rb'
load 'jruby/kernel20/enumerable.rb'
load 'jruby/kernel20/range.rb'
lo... |
package depends
import (
"fmt"
"sync"
logutil "github.com/docker/infrakit/pkg/log"
"github.com/docker/infrakit/pkg/types"
)
var log = logutil.New("module", "run/depends")
// ParseDependsFunc returns a list of dependencies of this spec.
type ParseDependsFunc func(types.Spec) (Runnables, error)
var (
... |
/**
* Timeline.css
*/
*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body, html {
font-size: 100%;
padding: 0;
margin: 0;
}
.main a{
color:#0085a1;
}
.main a:hover {
/*color: #000;*/
/*text-decoration: none;*/
}
.main, .container ... |
package com.griddynamics.jagger.dbapi.parameter;
import com.google.common.base.Objects;
public class GroupKey {
private String upperName;
private String leftName;
public GroupKey(String upperName) {
this.upperName = upperName;
this.leftName = upperName;
}
public GroupKey(String upper... |
using Newtonsoft.Json.Linq;
using System;
namespace Kudu.Core.Functions
{
public interface IKeyJsonOps<T>
{
int <API key>
{
get;
}
// key generation is based on run time
string GenerateKeyJson(Tuple<string,string>[] keyPairs, string functionRt, out string unen... |
@echo off
set <API key>=C:\Program Files (x86)\Microsoft Visual Studio 14.0
call "%<API key>%\VC\vcvarsall.bat" x86_amd64
powershell -ExecutionPolicy RemoteSigned -File <API key>.ps1 |
require 'chef/knife/base_sync'
require 'chef/knife/core/object_loader'
class Chef
class Knife
class PackSync < Chef::Knife
include ::BaseSync
<API key> = 'enableForOrg'
banner "Loads packs into OneOps.\nUsage:\n circuit pack [OPTIONS] [PACKS...]"
option :all,
:short =>... |
// Use of this source code is governed by a BSD-style
package archive
import (
"archive/tar"
"bufio"
"compress/gzip"
"fmt"
"io"
"os"
"path/filepath"
"strings"
"github.com/docker/docker/pkg/fileutils"
"github.com/docker/docker/pkg/idtools"
"github.com/docker/docker/pkg/pools"
... |
+++
date = "2016-03-06T21:28:07-06:00"
title = "Gareth Rushgrove"
type = "talk"
+++
## Rate of Change, (Un)opinionated Platforms and Devops Coevolution
There has been a recent explosion in new technologies for running software systems.
Many architectures are now based on ever smaller (micro) services.
The devops moveme... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: <API key>("")]
[asse... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Form Validation : CodeIgniter User Guide</title>
<style type='text/css' media='all'>@import url('../userguide.css');</style>
<link rel='stylesheet' type='text/css' media='all' href='../usergui... |
body {
font-family: Source Sans Pro, Ubuntu, sans-serif;
background-color: #fffdfa;
color: #073642;
font-size: 17px;
}
a.button {
font-weight: bold;
}
.homeContainer {
background-color: #073642;
}
.homeContainer, .projectTitle {
color: #eee8d5;
padding-top: 25px;
padding-bottom: 25px;
}
.homeContainer... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.