text stringlengths 3 1.05M |
|---|
<?php
/**
* An abstract base MIME Header.
*
* @package Swift
* @subpackage Mime
* @author Chris Corbyn
*/
class Swift_Mime_Headers_ParameterizedHeader extends Swift_Mime_Headers_UnstructuredHeader implements Swift_Mime_ParameterizedHeader
{
/**
* RFC 2231's definition of a token.
*
* ... |
using namespace Sass;
Context ctx = Context::Data();
Selector* selector(std::string src)
{ return Parser::from_c_str(src.c_str(), ctx, "", Position()).parse_selector_list(); }
void spec(std::string sel)
{ std::cout << sel << "\t::\t" << selector(sel + ";")->specificity() << std::endl; }
int main()
{
spec("foo bar... |
YUI.add('anim-node-plugin', function (Y, NAME) {
/**
* Binds an Anim instance to a Node instance
* @module anim
* @class Plugin.NodeFX
* @extends Anim
* @submodule anim-node-plugin
*/
var NodeFX = function(config) {
config = (config) ? Y.merge(config) : {};
config.node = config.host;
NodeFX.supercl... |
package ar.edu.utn.frre.ia.planning.model.data.strips;
import ar.edu.utn.frre.ia.planning.model.data.PDDLPrinter;
import ar.edu.utn.frre.ia.planning.model.data.PDDLPrintable;
import java.util.ArrayList;
import java.util.List;
import java.util.Iterator;
import java.io.PrintStream;
public class PredicateSymbol impleme... |
<?php
namespace Admin\Controller;
use Think\Controller;
class IndexController extends Controller {
// public function index(){
// $this->redirect('');
// }
public function test(){
$this->display();
}
public function test_mutiPost(){
$this->ajaxReturn(spt_json_success(I('post.')));
}
// ... |
<?php
/**
* PHPExcel_Cell_IValueBinder
*
* @category PHPExcel
* @package PHPExcel_Cell
* @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
*/
interface PHPExcel_Cell_IValueBinder
{
/**
* Bind value to a cell
*
* @param PHPExcel_Cell $cell Cell to bind... |
CWallet* pwalletMain;
extern bool fPrintToConsole;
extern void noui_connect();
struct TestingSetup {
CCoinsViewDB *pcoinsdbview;
boost::filesystem::path pathTemp;
boost::thread_group threadGroup;
TestingSetup() {
fPrintToDebugLog = false; // don't want to write to debug.log file
noui_... |
// Copyright 2014 Google Inc. All rights reserved.
//
// 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
//
// Unless required by applicable ... |
// ***********************************************************************
// Copyright (c) 2012 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... |
namespace Microsoft.WindowsAzure.Storage.DataMovement
{
using System;
using System.Diagnostics;
using System.Net;
using Microsoft.WindowsAzure.Storage.Blob;
using Microsoft.WindowsAzure.Storage.File;
using Microsoft.WindowsAzure.Storage.RetryPolicies;
using Microsoft.WindowsAzure.Storage.Tab... |
module.exports = function() {
this.Given(/^I create a CloudFront distribution with name prefix "([^"]*)"$/, function(prefix, callback) {
this.cfName = this.uniqueName(prefix);
this.cfCreateParams.CallerReference = this.cfName;
this.cfCreateParams.Origins.Items[0].Id = (this.cfName === '' ? 'origin' : 'Inv... |
package com.amazonaws.services.cloudfront.model;
import java.io.Serializable;
import com.amazonaws.AmazonWebServiceRequest;
/**
* Container for the parameters to the {@link com.amazonaws.services.cloudfront.AmazonCloudFront#updateCloudFrontOriginAccessIdentity(UpdateCloudFrontOriginAccessIdentityRequest) UpdateClo... |
import os
import subprocess
import sys
import shutil
from os import access
from os import getenv
from os import X_OK
jar_file = 'SearchGUI-3.2.8.jar'
default_jvm_mem_opts = ['-Xms512m', '-Xmx1g']
# !!! End of parameter section. No user-serviceable code below this line !!!
def real_dirname(path):
"""Return the s... |
var __extends = this.__extends || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
var Base = (function () {
function Base() {
}
return Base;
})();
var Derived = ... |
/*
* $Id: ProcessorKey.java 469688 2006-10-31 22:39:43Z minchau $
*/
package org.apache.xalan.processor;
import java.util.ArrayList;
import java.util.List;
import org.apache.xalan.res.XSLMessages;
import org.apache.xalan.res.XSLTErrorResources;
import org.apache.xalan.templates.KeyDeclaration;
import org.xml.sax.A... |
(function($) {
var _ajax = $.ajax,
mockHandlers = [],
CALLBACK_REGEX = /=\?(&|$)/,
jsc = (new Date()).getTime();
// Parse the given XML string.
function parseXML(xml) {
if ( window['DOMParser'] == undefined && window.ActiveXObject ) {
DOMParser = function() { };
DOMParser.prototype.parseFromStrin... |
/**
* This file defines the `Destructible` concept.
*/
#ifndef DUCK_DESTRUCTIBLE_HPP
#define DUCK_DESTRUCTIBLE_HPP
#include <type_traits>
namespace duck {
/**
* Metafunction returning whether `T` models the `Destructible`
* concept.
*/
template <typename T>
struct is_destructible
: std::is_destructible<T>... |
/ __RPC__out DWORD *pdwFlags, \
/* [out] */ __RPC__out DWORD *pdwQueue) \
{ \
*pdwFlags = 0; \
*pdwQueue = _dwQueueID; \
return S_OK; \
} \
STDMETHOD( Invoke )( /* [out] */ __RPC__out IMFAsyncResult * pResult ) \
{ \
_parent->pfnCallback( pResult ); \
retu... |
/// <reference path="fourslash.ts"/>
/////*selectionStart*/
////export { x, y as yy, z } from "foo"/*export1*/
////export{x, y as yy, z}from"bar"/*export2*/
////
////export
/////*exportOpenBrace*/{x,/*exportSpecifier1*/
////y as yy, z/*exportSpecifier2*/ }/*exportCloseBrace*/
////... |
'use strict';
const { AsyncQueue } = require('@sapphire/async-queue');
const DiscordAPIError = require('./DiscordAPIError');
const HTTPError = require('./HTTPError');
const {
Events: { RATE_LIMIT, INVALID_REQUEST_WARNING },
} = require('../util/Constants');
const Util = require('../util/Util');
function parseRespon... |
.oo-ui-icon-bigger {
background-image: url("themes/apex/images/icons/bigger-ltr.png");
background-image: -webkit-linear-gradient(transparent, transparent), /* @embed */ url("themes/apex/images/icons/bigger-ltr.svg");
background-image: linear-gradient(transparent, transparent), /* @embed */ url("themes/apex/... |
from __future__ import with_statement
import unittest
import tempfile
import inspect
import shutil
import sys
import os
import re
from os.path import abspath, basename, dirname, exists, join, normpath
from robot.errors import DataError
from robot.utils.importer import Importer, ByPathImporter
from robot.utils.asserts ... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
#include <iostream>
#include <string> // note this
using namespace std;
/* Explore objects and classes through the Standard Library string class. */
int maint(int argc, char* argv[]) {
// string is a class. It represents a sequence of characters.
// We can create a string variable with assignment.
string s =... |
class BrowserViewTest : public InProcessBrowserTest {
public:
BrowserViewTest() : InProcessBrowserTest(), devtools_(NULL) {}
protected:
BrowserView* browser_view() {
return BrowserView::GetBrowserViewForBrowser(browser());
}
views::WebView* devtools_web_view() {
return browser_view()->GetDevToolsWeb... |
package com.siyeh.ipp.concatenation;
import com.intellij.psi.*;
import com.intellij.psi.util.PsiTreeUtil;
import com.siyeh.ipp.base.PsiElementPredicate;
import org.jetbrains.annotations.Nullable;
/**
* @author Bas Leijdekkers
*/
class CallSequencePredicate implements PsiElementPredicate {
@Override
public boo... |
package reflex.node;
import reflex.IReflexHandler;
import reflex.ReflexException;
import reflex.Scope;
import reflex.debug.IReflexDebugger;
import reflex.value.ReflexValue;
import reflex.value.internal.ReflexVoidValue;
public class GuardedNode extends BaseNode {
private ReflexNode tryBlock;
private ReflexNo... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="lv">
<context>
<name>MainUI</name>
<message>
<location filename="../MainUI.ui" line="14"/>
<location filename="../MainUI.ui" line="24"/>
<location filename="../MainUI.cpp" line="97"/>
<source>File In... |
package application;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.scene.chart.XYChart;
import javafx.scene.chart.XYChart.Series;
/**
* This class contains a number of methods to ... |
package io.opentracing.contrib.jdbi.examples;
import io.opentracing.Span;
import io.opentracing.Tracer;
import io.opentracing.contrib.jdbi.OpenTracingCollector;
import org.skife.jdbi.v2.DBI;
import org.skife.jdbi.v2.Handle;
import org.skife.jdbi.v2.Query;
import java.util.List;
import java.util.Map;
public class Ope... |
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
/**
* The test class SalesAnalyzerTest.
*
* @author (your name)
* @version (a version number or a date)
*/
public class SalesAnalyzerTest
{
private SalesAnalyzer salesAna1;
/**
* Default const... |
Iterating over Menus
====================
The simplest way to iterate over your item object is to iterate over its
direct children, thanks to the `IteratorAggregate` implementation. But the
PHP iterators allow much more powerful options to deal with our tree structure.
All the examples in this chapter will use the fo... |
require 'spec_helper'
require 'yaml'
describe Loader::SecurityGroups do
subject { loader.security_groups }
let(:loader) { Loader::SecurityGroups.new(yml) }
let(:yml) { File.read(File.dirname(__FILE__) + "/../support/fixtures/#{yml_file}") }
context "when yaml includes five configurations of security groups" ... |
file_cache_path "/tmp/chef-solo"
data_bag_path "/tmp/chef-solo/data_bags"
encrypted_data_bag_secret "/tmp/chef-solo/data_bag_key"
cookbook_path [ "/tmp/chef-solo/cookbooks" ]
role_path "/tmp/chef-solo/roles" |
package org.pentaho.di.www;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.eclipse.jetty.server.Connector;
import org.e... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
#ifndef TRANSACTIONRECORD_H
#define TRANSACTIONRECORD_H
#include "uint256.h"
#include <QList>
class CWallet;
class CWalletTx;
class TransactionStatus
{
public:
TransactionStatus():
confirmed(false), sortKey(""), maturity(Mature),
matures_in(0), status(Offline), depth(0), open_for(0), cur... |
class AliFemtoEvent;
class AliFemtoTrack;
class AliFemtoV0;
class AliFemtoKink;
class AliFemtoPair;
class TH1D;
class TH2D;
class TList;
#include "AliFemtoString.h"
#include "AliFemtoParticleCollection.h"
#include "AliFemtoCutMonitor.h"
/// \class AliFemtoCutMonitorEventSphericity
/// \brief The cut monitor to study ... |
Template.unauthInviteFriendsLink.events({
"click .unauth-invite-friends-link": function () {
Session.set("unauth-invite-friends", this._id);
}
});
Template.joinGameLink.events({
"click .join-game-link a": function () {
if (Meteor.userId()) {
Game.addSelfToGame(this._id);
} else {
Session.... |
using System.Collections.Generic;
using System.Linq;
namespace CodeGeneration.Watcher.Domain
{
public class ApiQueryParameters
{
public string OriginalQueryStringParamName { get; set; }
public string DeprecatedInFavorOf { get; set; }
public string Type { get; set; }
public string Description { get; set; }
... |
from swgpy.object import *
def create(kernel):
result = Creature()
result.template = "object/mobile/shared_dressed_nym_surveyer_rod_f.iff"
result.attribute_template_id = 9
result.stfName("npc_name","rodian_base_female")
#### BEGIN MODIFICATIONS ####
#### END MODIFICATIONS ####
return result |
<?php
/**
* @package ActiveRecord
*/
namespace ActiveRecord;
/**
* Generic base exception for all ActiveRecord specific errors.
*
* @package ActiveRecord
*/
class ActiveRecordException extends \Exception {};
/**
* Thrown when a record cannot be found.
*
* @package ActiveRecord
*/
class RecordNotFound extend... |
#include <Array.hpp>
namespace opencl
{
template<typename inType, typename outType, bool isColor>
Array<outType> bilateral(const Array<inType> &in, const float &s_sigma, const float &c_sigma);
}
|
<?php defined('SYSPATH') OR die('No direct script access.');
return array(
'trusted_hosts' => array(
// Set up your hostnames here
//
// Example:
//
// 'example\.org',
// '.*\.example\.org',
//
// Do not forget to escape your dots (.) as these are regex patterns.
// These patterns sho... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_11) on Mon Mar 17 10:57:48 PDT 2014 -->
<title>BoxSimpleUserRequestObject</title>
<meta name="date" content="2014-03-17">
<link rel="st... |
package v2beta1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
)
// GroupName is the group name use in this package
const GroupName = "autoscaling"
// SchemeGroupVersion is group version used to register these objects
var SchemeG... |
/**
* @author mrdoob / http://mrdoob.com/
*/
THREE.VRMLLoader = function ( manager ) {
this.manager = ( manager !== undefined ) ? manager : THREE.DefaultLoadingManager;
};
THREE.VRMLLoader.prototype = {
constructor: THREE.VRMLLoader,
// for IndexedFaceSet support
isRecordingPoints: false,
isRecordingFaces:... |
import time
import unittest
from autothreadharness.harness_case import HarnessCase
class Leader_5_5_4(HarnessCase):
role = HarnessCase.ROLE_LEADER
case = '5 5 4'
golden_devices_required = 5
def on_dialog(self, dialog, title):
if title.startswith('Reset DUT'):
self.dut.stop()
... |
package mf.org.apache.xerces.impl;
import java.io.IOException;
import mf.org.apache.xerces.util.SymbolTable;
import mf.org.apache.xerces.util.XML11Char;
import mf.org.apache.xerces.util.XMLChar;
import mf.org.apache.xerces.util.XMLStringBuffer;
import mf.org.apache.xerces.xni.XMLString;
import mf.org.apa... |
namespace VersionOne.SDK.ObjectModel.List
{
[MetaData("RequestStatus")]
internal class RequestStatus : ListValue
{
internal RequestStatus(AssetID id, V1Instance instance) : base(id, instance) {}
internal RequestStatus(V1Instance instance) : base(instance) {}
}
} |
using System.Xml.Linq;
using Orchard.Core.XmlRpc.Models;
namespace Orchard.Core.XmlRpc.Services {
/// <summary>
/// Abstraction to write XML based on rpc entities.
/// </summary>
public interface IXmlRpcWriter : IDependency {
/// <summary>
/// Maps a method response to XML.
... |
//%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... |
% Operationality criteria for English MedSLT recognition
% Simple NP == NP which does not dominate POST_MODS
%----------------------------------------------------------------------------
% Start with TOP rule
change_rule_and_context(_Context, top) :-
cat(top),
\+ gap.
% UTTERANCE operational under TOP
change_rule... |
import Tix
TCL_ALL_EVENTS = 0
def RunSample (root):
shlist = DemoSHList(root)
shlist.mainloop()
shlist.destroy()
class DemoSHList:
def __init__(self, w):
self.root = w
self.exit = -1
z = w.winfo_toplevel()
z.wm_protocol("WM_DELETE_WINDOW", lambda self=self: s... |
"""Provide the device automations for NEW_NAME."""
from typing import Dict, List
import voluptuous as vol
from homeassistant.const import (
ATTR_ENTITY_ID,
CONF_CONDITION,
CONF_DOMAIN,
CONF_TYPE,
CONF_DEVICE_ID,
CONF_ENTITY_ID,
STATE_OFF,
STATE_ON,
)
from homeassistant.core import HomeA... |
import { Component } from '@angular/core';
//import { DatabindingComponent} from './lifecycle.component'
@Component({
//moduleId: module.id,
selector: 'first-app-app',
template: `
<h1>Root Component</h1>
<fa-lifecycle *ngIf="!delete" [bindable]="1000">
<p>{{test}}</p>
</fa-lifecycle>
<butt... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Boost.Geometry (aka GGL, Generic Geometry Library)</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type=... |
package edu.kit.iti.formal.pse.worthwhile.debugger.launching;
import org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector;
import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant;
/**
* This class makes the {@link WorthwhileSourceLookupParticipant} known to the debug model.
*
* @author Joa... |
@charset "utf-8";
.adminTable tr.bg1 td {
background-color: #FAFAFA;
} |
struct mempool;
typedef struct mempool *mempool;
LIQ_PRIVATE void* mempool_create(mempool *mptr, unsigned int size, unsigned int capacity, void* (*malloc)(size_t), void (*free)(void*));
LIQ_PRIVATE void* mempool_alloc(mempool *mptr, unsigned int size, unsigned int capacity);
LIQ_PRIVATE void mempool_destroy(mempool m)... |
describe('Bootstrap Multiselect "Core".', function() {
beforeEach(function() {
var $select = $('<select id="multiselect" multiple="multiple"></select>');
for (var i = 1; i < 100; i++) {
var $option = $('<option value="' + i + '">1</option>');
if (i < 10)... |
"""
Functions for working with "safe strings": strings that can be displayed safely
without further escaping in HTML. Marking something as a "safe string" means
that the producer of the string has already turned characters that should not
be interpreted by the HTML engine (e.g. '<') into the appropriate entities.
"""
f... |
<?php
/**
* The RecurringDayTransition element represents a time zone transition that
* occurs on the same day each year.
*
* @package php-ews
* @subpackage Types
*/
/**
* Definition of the RecurringDayTransitionType type.
*/
class EWSType_RecurringDayTransitionType extends EWSType
{
/**
* Specifies t... |
#import "../AmazonServiceException.h"
/**
* <p>
* The specified LoadBalancer could not be found.
* </p>
*/
@interface ElasticLoadBalancingLoadBalancerNotFoundException:AmazonServiceException
{
}
-(id)initWithMessage:(NSString *)message;
/**
* Returns a string representation of this object; useful fo... |
#import "CCAction.h"
//
// Base class for instant actions, e.g. they are performed immediately.
//
@interface CCActionInstant : CCActionFiniteTime <NSCopying>
@end
/** This action will remove the target from its parent node. */
@interface CCActionRemove : CCActionInstant
@end
/**
* This action will make the... |
"""
Tests for django.core.servers.
"""
from __future__ import unicode_literals
import contextlib
import errno
import os
import socket
from django.test import LiveServerTestCase, override_settings
from django.utils._os import upath
from django.utils.http import urlencode
from django.utils.six import text_type
from dja... |
YUI.add('datasource-get', function (Y, NAME) {
/**
* Provides a DataSource implementation which can be used to retrieve data via the Get Utility.
*
* @module datasource
* @submodule datasource-get
*/
/**
* Get Utility subclass for the DataSource Utility.
* @class DataSource.Get
* @extends DataSource.Local
* ... |
import logging
import re
import sys
from webkitpy.tool.multicommandtool import Command
_log = logging.getLogger(__name__)
class OpenBugs(Command):
name = "open-bugs"
help_text = "Finds all bug numbers passed in arguments (or stdin if no args provided) and opens them in a web browser"
bug_number_regexp ... |
#ifndef ALIALGVOL_H
#define ALIALGVOL_H
#include <TNamed.h>
#include <TObjArray.h>
#include <TGeoMatrix.h>
#include <stdio.h>
class TObjArray;
class TClonesArray;
class AliAlgDOFStat;
class TH1;
/*--------------------------------------------------------
Base class of alignable volume. Has at least geometric
de... |
/*--------------------------------------------------
[TRANSITION]
----------------------------------------------------*/
/* Cubic Bezier Transition */
/***
Timeline UI Base
***/
.timeline {
margin: 0;
padding: 0;
list-style: none;
position: relative;
}
/* The line */
.timeline:before {
content: '';
pos... |
@protocol ApplicationCommands;
@protocol BrowserCommands;
@class DefaultBrowserPromoNonModalScheduler;
@class OmniboxPedalAnnotator;
@class OmniboxPopupPresenter;
@class PopupModel;
class FaviconLoader;
class WebStateList;
namespace image_fetcher {
class ImageDataFetcher;
} // namespace
class OmniboxPopupMediatorDel... |
#ifndef TENSORFLOW_CORE_COMMON_RUNTIME_INPUT_COLOCATION_EXEMPTION_REGISTRY_H_
#define TENSORFLOW_CORE_COMMON_RUNTIME_INPUT_COLOCATION_EXEMPTION_REGISTRY_H_
#include <string>
#include "tensorflow/core/lib/gtl/flatset.h"
#include "tensorflow/core/platform/types.h"
namespace tensorflow {
// TensorFlow runtime (both e... |
package org.aktin.broker.client.live;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.net.URI;
import org.aktin.broker.client2.AuthFilter;
public interface BrokerConfiguration {
URI getBrokerEndpointURI();
String getAuthClass();
String getAuthParam();
defaul... |
import test from 'ava'
import TriggerStore from '../lib/trigger_store.js'
test.beforeEach(t => {
t.context.db = {
insert: (details, id, cb) => {
t.context.details = details
t.context.id = id
t.context.cb = cb
},
get: (id, cb) => {
t.context.id = id
cb(null, {_id: id, _rev:... |
dtrace-provider - Changes
=========================
## HISTORY
* 0.8.0:
Support passing additional arguments to probe function via `.fire()`
* 0.7.1:
Update libusdt for chrisa/libusdt#12 fix
* 0.7.0: known support for v0.10.47, v0.12.16, v4.6.0.
Updated NaN dependency to remove warnings on newer Node ve... |
/* global APP */
/**
* A module for sending DTMF tones.
*/
var DTMFSender;
var initDtmfSender = function() {
// TODO: This needs to reset this if the peerconnection changes
// (e.g. the call is re-made)
if (DTMFSender)
return;
var localAudio = APP.RTC.localAudio;
if (localAudio && localA... |
package tutorial.button_demo;
public class Test {
final static String tag = Test.class.getPackage().getName();
public static void main(String[] args) {
System.out.println(tag);
ButtonDemo.main();
}
}
|
package opsworks
import (
"net/http"
"time"
"github.com/awslabs/aws-sdk-go/aws"
"github.com/awslabs/aws-sdk-go/gen/endpoints"
)
// OpsWorks is a client for AWS OpsWorks.
type OpsWorks struct {
client *aws.JSONClient
}
// New returns a new OpsWorks client.
func New(creds aws.CredentialsProvider, region string, ... |
using System.Collections;
using Lucene.Net.Index;
using Lucene.Net.Queries.Function.DocValues;
using Lucene.Net.Search;
namespace Lucene.Net.Queries.Function.ValueSources
{
/// <summary>
/// Obtains the ordinal of the field value from the default Lucene <seealso cref="FieldCache"/> using getTermsIndex()
... |
#ifndef POSIX_PTIME_HPP___
#define POSIX_PTIME_HPP___
#include "boost/date_time/posix_time/posix_time_system.hpp"
#include "boost/date_time/time.hpp"
namespace boost {
namespace posix_time {
//bring special enum values into the namespace
using date_time::special_values;
using date_time::not_special;
usin... |
Theming
=======
Theming is a way to replace a set of [views](structure-views.md) with another without the need of touching
the original view rendering code. You can use theming to systematically change the look and feel of an application.
To use theming, you should configure the [[yii\base\View::theme|theme]] propert... |
/*************************************************************************************************/
#ifndef GIL_VIRTUAL_LOCATOR_HPP
#define GIL_VIRTUAL_LOCATOR_HPP
////////////////////////////////////////////////////////////////////////////////////////
/// \file
/// \brief Locator for virtual image v... |
Article 253
----
Les époux ne peuvent accepter le principe de la rupture du mariage et le
prononcé du divorce sur le fondement de l'article 233 que s'ils sont chacun
assistés par un avocat.
|
FROM andrewosh/binder-base
USER root
# for declarativewidgets
RUN curl -sL https://deb.nodesource.com/setup_0.12 | bash - && \
apt-get install -y nodejs npm && \
npm install -g bower
# for pyspark demos
ENV APACHE_SPARK_VERSION 2.0.0
RUN apt-get -y update && \
apt-get -y install software-properties-comm... |
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*
* Tom St Denis, tomstdenis@gmail.com, http://l... |
#ifndef __BYTESTRIE_H__
#define __BYTESTRIE_H__
/**
* \file
* \brief C++ API: Trie for mapping byte sequences to integer values.
*/
#include "unicode/utypes.h"
#include "unicode/stringpiece.h"
#include "unicode/uobject.h"
#include "unicode/ustringtrie.h"
U_NAMESPACE_BEGIN
class ByteSink;
class BytesTrieBuilder... |
export { ComponentResolver } from './linker/component_resolver';
export { QueryList } from './linker/query_list';
export { DynamicComponentLoader } from './linker/dynamic_component_loader';
export { ElementRef } from './linker/element_ref';
export { TemplateRef } from './linker/template_ref';
export { EmbeddedViewRef, ... |
<?xml version="1.0"?>
<tool id="circos_tableviewer" name="Circos: Table viewer" version="@WRAPPER_VERSION@">
<description>easily creates circos plots from tabular data</description>
<macros>
<import>macros.xml</import>
</macros>
<edam_topics>
<edam_topic>topic_0797</edam_topic>
<... |
/*
* src/include/regex/regerrs.h
*/
{
REG_OKAY, "REG_OKAY", "no errors detected"
},
{
REG_NOMATCH, "REG_NOMATCH", "failed to match"
},
{
REG_BADPAT, "REG_BADPAT", "invalid regexp (reg version 0.8)"
},
{
REG_ECOLLATE, "REG_ECOLLATE", "invalid collating element"
},
{
REG_ECTYPE, "REG_ECTYPE", "invalid charact... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('inferno')) :
typeof define === 'function' && define.amd ? define(['exports', 'inferno'], factory) :
(factory((global.Inferno = global.Inferno || {}, global.Inferno.TestUtils = global.Infern... |
<?php
class Marriage extends Eloquent {
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'marriages';
/**
* The attributes that aren't mass assignable.
*
* @var array
*/
protected $guarded = array('_token');
} |
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
@interface UIView (Toast)
// each makeToast method creates a view and displays it as toast
- (void)makeToast:(NSString *)message;
- (void)makeToast:(NSString *)message duration:(CGFloat)interval position:(id)position;
- (void)makeToast:(NSString *)message du... |
#include <stdlib.h>
#include <stdint.h>
#include "wayland-util.h"
extern const struct wl_interface wl_seat_interface;
extern const struct wl_interface wl_surface_interface;
extern const struct wl_interface wl_seat_interface;
extern const struct wl_interface wl_surface_interface;
extern const struct wl_interface wl_t... |
<!-- <button (click)="readTextFile()">Read Text File</button>
<button (click)="readImageFile()">Read Image File</button>
<button (click)="writeTextFile()">Write Text File</button>
-->
<div class="contentSafe">
<div *ngFor="let job of jobs | async; let idx=index" class="card card-big" (click)="editJob(job)">
<t... |
{-# LANGUAGE PatternGuards #-}
{-# OPTIONS_GHC -fwarn-incomplete-patterns #-}
module Idris.Elab.Value(elabVal, elabValBind, elabDocTerms,
elabExec, elabREPL) where
import Idris.AbsSyntax
import Idris.ASTUtils
import Idris.DSL
import Idris.Error
import Idris.Delaborate
import Idris.Imports
impo... |
package org.frameworkset.util;
import java.lang.reflect.*;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.WeakHashMap;
/**
* <p>Title: GenericTypeResolver.java</p>
* <p>Description: </p>
* <p>bboss workgroup</p>
* <p>Copyright (c) 2008</p>
* @Date 2010-10-24
* @... |
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
module Integrations #:nodoc:
module Nochex
class Return < ActiveMerchant::Billing::Integrations::Return
end
end
end
end
end
|
module Gitlab
module OAuth
class AuthHash
attr_reader :auth_hash
def initialize(auth_hash)
@auth_hash = auth_hash
end
def uid
@uid ||= Gitlab::Utils.force_utf8(auth_hash.uid.to_s)
end
def provider
@provider ||= Gitlab::Utils.force_utf8(auth_hash.provid... |
namespace _05.Distance_of_the_Stars
{
using System;
class Program
{
static void Main(string[] args)
{
decimal earthToStar = 4.22M;
decimal centerOfGalaxy = 26000M;
decimal diameterOfMilkyWay = 100000M;
decimal earthToUniverse = 46500000000M;... |
package concurrency
import (
"context"
"fmt"
pb "go.etcd.io/etcd/api/v3/etcdserverpb"
"go.etcd.io/etcd/api/v3/mvccpb"
v3 "go.etcd.io/etcd/client/v3"
)
func waitDelete(ctx context.Context, client *v3.Client, key string, rev int64) error {
cctx, cancel := context.WithCancel(ctx)
defer cancel()
var wr v3.Watch... |