text
stringlengths
3
1.05M
<?php namespace Zend\Feed\Writer; use Zend\ServiceManager\AbstractPluginManager; /** * Plugin manager implementation for feed writer extensions * * Validation checks that we have an Entry, Feed, or Extension\AbstractRenderer. */ class ExtensionPluginManager extends AbstractPluginManager { /** * Default...
<?php namespace Gedmo\Tree; use Doctrine\Common\EventManager; use Tool\BaseTestCaseORM; use Tree\Fixture\Genealogy\Man; use Tree\Fixture\Genealogy\Woman; /** * Additional tests for tree inheritance and in-memory updates * * @author Illya Klymov <xanf@xanf.me> * @link http://www.gediminasm.org * @license MIT Lic...
<?xml version="1.0" encoding="UTF-8"?><module name="addressing"> <version id="4.2.0" globallyEngaged="false" successfullyAdded="true"> <parameter name="managedModule">true</parameter> </version> </module>
package com.amazonaws.services.sqs.model; import java.io.Serializable; /** * <p> * For more information, see * <a href="http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/UnderstandingResponses.html"> Responses </a> * in the <i>Amazon SQS Developer Guide</i> . * </p> */ public class GetQ...
Showtime ======== The showcases has been prepared for windows platform and requires Saxon Home edition installed (.NET version) Dependent software ------------------ The showcase examples uses zip.exe, version 2.32 provided for free under the [Info-ZIP License](http://www.info-zip.org/license.html). Copyright (c) 1990...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>infoeconomica.mx | Admin</title> <!-- Core CSS - Include with every page --> <link href="{{asset('css/bootstrap.css')}}" rel="stylesheet"> <style type="text/css"...
Gonum LAPACK [![Build Status](https://travis-ci.org/gonum/lapack.svg?branch=master)](https://travis-ci.org/gonum/lapack) [![Coverage Status](https://coveralls.io/repos/gonum/lapack/badge.svg?branch=master&service=github)](https://coveralls.io/github/gonum/lapack?branch=master) [![GoDoc](https://godoc.org/github.com/g...
package com.pollistics.utils; import com.pollistics.models.User; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.handler.HandlerInterceptorAdapte...
namespace Generics { // TODO Check reserved words public class SimpleGeneric<T> { public T GetSomething(T input) { return input; } public T Instance; public SimpleGeneric(T instance) { this.Instance = instance; } } pu...
import * as React from 'react'; const { LineChart, Line, XAxis, YAxis, Tooltip, } = require('recharts'); export default ({data, type, text}) => ( <div className='lineGraph'> <h2>Right now:&nbsp; <span className='rate'>{data[data.length - 1][type]}</span>&nbsp; {text} </h2> <LineChar...
<?php class Mage_Reports_Exception extends Zend_Exception { }
{% extends "basebuildpage.html" %} {% load projecttags %} {% block localbreadcrumb %} <li>Packages</li> {% endblock %} {% block nav-packages %} <li class="active"><a href="{% url 'packages' build.pk %}">Packages</a></li> {% endblock %} {% block buildinfomain %} <div class="span10"> {% if not request.GET.filter a...
<meta charset="utf-8"> <title>{% if page.title %}{{ page.title }} &#8211; {% endif %}{{ site.title }}</title> {% if page.excerpt %}<meta name="description" content="{{ page.excerpt | strip_html }}">{% endif %} {% if page.tags %}<meta name="keywords" content="{{ page.tags | join: ', ' }}">{% endif %} {% if page.author %...
> Babel preset for all React plugins. ## Install ```sh $ npm install --save-dev babel-preset-react ``` ## Usage ### Via `.babelrc` (Recommended) **.babelrc** ```json { "presets": ["react"] } ``` ### Via CLI ```sh $ babel script.js --presets react ``` ### Via Node API ```javascript require("babel-core").tra...
package client import ( "testing" restclient "k8s.io/client-go/rest" ) func TestMakeTransportInvalid(t *testing.T) { config := &KubeletClientConfig{ EnableHTTPS: true, //Invalid certificate and key path TLSClientConfig: restclient.TLSClientConfig{ CertFile: "../../client/testdata/mycertinvalid.cer", ...
/** * Author: Bob Chen */ package com.jcommerce.core.dao.impl; import java.util.List; import org.springframework.stereotype.Repository; import com.jcommerce.core.dao.GalleryDAO; import com.jcommerce.core.model.Gallery; @Repository @SuppressWarnings("unchecked") public class GalleryDAOImpl extends DAOImpl implement...
namespace task_manager { // Defines a concrete RendererTask that represents WebContents owned by the // GuestViewBase which represents a <*view> tag that is a browser plugin guest. class GuestTask : public RendererTask { public: explicit GuestTask(content::WebContents* web_contents); GuestTask(const GuestTask&) =...
package podresources import ( "context" "fmt" "time" "google.golang.org/grpc" podresourcesapi "k8s.io/kubernetes/pkg/kubelet/apis/podresources/v1alpha1" "k8s.io/kubernetes/pkg/kubelet/util" ) // GetClient returns a client for the PodResourcesLister grpc service func GetClient(socket string, connectionTimeou...
package client type ( // ServiceAccountInterface is the interface that defines ServiceAccount functions. ServiceAccountInterface interface { CreateServiceAccount(namespace string, item *ServiceAccount) (*ServiceAccount, error) GetServiceAccount(namespace, name string) (result *ServiceAccount, err error) ListSe...
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'bundler/setup' require 'test/unit' require 'mocha/test_unit' require 'yaml' require 'json' require 'active_merchant' require 'comm_stub' require 'active_support/core_ext/integer/time' require 'active_support/core_ext/numeric/time' require 'active_s...
#ifndef USBHOST_H #define USBHOST_H #include "USBHALHost.h" #include "USBDeviceConnected.h" #include "IUSBEnumerator.h" #include "USBHostConf.h" #include "rtos.h" #include "dbg.h" #include "USBHostHub.h" /** * USBHost class * This class is a singleton. All drivers have a reference on the static USBHost instance *...
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="utf-8"> <link href='http://fonts.googleapis.com/css?family=Roboto:700' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="/layout/vpdemo.css"> <style> artic...
<ion-pane> <ion-header-bar class="bar-stable"> <h1 class="title">TOSS IT</h1> </ion-header-bar> <ion-content> <div class="row" ng-if="gameActive"> <div class="col toss-live-status"> <div class="toss-live-status-msg" ng-bind="participantStatus">&nbsp;</div> </div> </div> <toss-multiplayer-joiner ng...
package com.lidroid.xutils.http.client.util; import android.text.TextUtils; import com.lidroid.xutils.util.LogUtils; import org.apache.http.NameValuePair; import org.apache.http.conn.util.InetAddressUtils; import org.apache.http.message.BasicNameValuePair; import java.net.URI; import java.net.URISyntaxException; im...
<?php namespace Codifico\Component\Actions\Action\Basic; use Codifico\Component\Actions\Action\Action; use Codifico\Component\Actions\Action\RemoveAction as RemoveActionInterface; use Codifico\Component\Actions\Repository\ActionRepository; abstract class RemoveAction implements Action, RemoveActionInterface { /*...
vid=0403 pid=6010 if [ "${0:0:1}" == "." ]; then WD=`pwd`/`dirname $0` else WD=`dirname $0` fi config_path=$WD/.. HOST=`gcc -dumpmachine` if [ -z ${HOST##x86_64*} ]; then ARCH=64; else ARCH=32; fi case $OSTYPE in linux*) EEPROMEXE=$config_path/../tools/openocd/linux$ARCH/ftdi_eeprom OPENOCDEXE...
project_path: /web/_project.yaml book_path: /web/shows/_book.yaml {# wf_updated_on: 2016-05-20 #} {# wf_published_on: 2016-05-20 #} {# wf_youtube_id: fGTUIlEM0m8 #} # Service workers at scale with Facebook and Flipkart - Google I/O 2016 {: .page-title } <div class="video-wrapper"> <iframe class="devsite-embedded-...
package dht import ( _ "crypto/sha1" "errors" "math/big" "math/rand" "net" "strconv" "time" "github.com/anacrolix/torrent/iplist" ) const ( maxNodes = 320 ) var ( queryResendEvery = 5 * time.Second ) var maxDistance big.Int func init() { var zero big.Int maxDistance.SetBit(&zero, 160, 1) } // Uniquel...
// DOMTokenList polyfill for IE9 (function () { if (typeof window.Element === "undefined" || "classList" in document.documentElement) return; var prototype = Array.prototype, indexOf = prototype.indexOf, slice = prototype.slice, push = prototype.push, splice = prototype.splice, join = pr...
from numpy import array, linspace, sin, cos # etc. import matplotlib.pyplot as plt from scipy.integrate import odeint def rhs(y, t, arg1, arg2, etc.): # unpack variables; remember the order here, it is important var1, var2, etc. = y # write return statement # copy/paste qdots, udots from console/termin...
/** * API Bound Models for AngularJS * @version v1.1.11 - 2015-10-26 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas <ignacio@platan.us> * @license MIT License, http://www.opensource.org/licenses/MIT */ (function(angular, undefined) { 'use strict'; /** * @mixin DebouncedModel * * ...
cask 'gingko' do version '2.4.9' sha256 'fbdd504224382f3ec615d5fe6c03d18e0e719fb27dc7771f27088dbff98a98c2' # github.com/gingko/client was verified as official when first introduced to the cask url "https://github.com/gingko/client/releases/download/v#{version}/Gingko-#{version}-mac.zip" appcast 'https://gith...
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `createPad` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module. ## Installation Using npm: ```bash $ {sudo -H} npm i -g npm $ npm i --save lodash._createpad ``` In Node....
<?php namespace Zend\InputFilter; use Countable; use Traversable; interface InputFilterInterface extends Countable { const VALIDATE_ALL = 'INPUT_FILTER_ALL'; /** * Add an input to the input filter * * @param InputInterface|InputFilterInterface|array $input * @param null|string $name N...
package org.apache.asterix.runtime.evaluators.comparisons; import org.apache.asterix.om.functions.BuiltinFunctions; import org.apache.asterix.om.functions.IFunctionDescriptor; import org.apache.asterix.om.functions.IFunctionDescriptorFactory; import org.apache.asterix.runtime.evaluators.base.AbstractScalarFunctionDy...
from telemetry.page import test_expectations # Valid expectation conditions are: # # Operating systems: # win, xp, vista, win7, mac, leopard, snowleopard, lion, mountainlion, # linux, chromeos, android # # GPU vendors: # amd, arm, broadcom, hisilicon, intel, imagination, nvidia, qualcomm, # vivante # #...
package com.example.sdmusicplayer.fragments.base; import com.example.sdmusicplayer.R; import com.example.sdmusicplayer.adapters.base.ListViewAdapter; import com.example.sdmusicplayer.helpers.utils.MusicUtils; import com.example.sdmusicplayer.service.MusicService; import android.support.v4.app.LoaderManager.LoaderCal...
// Code generated by client-gen. DO NOT EDIT. package internalversion import ( v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" rest "k8s.io/client-go/rest" apps "k8s.io/kubernetes/pkg/apis/apps" scheme "k8s.io/kubernetes/pkg/client/clientse...
package onion.compiler import scala.beans.BeanProperty /** * @author Kota Mizushima * */ case class CompiledClass(@BeanProperty className: String, @BeanProperty outputPath: String, @BeanProperty content: Array[Byte])
package org.keycloak.connections.jpa.updater.liquibase; import org.keycloak.models.KeycloakSession; /** * @author <a href="mailto:mposolda@redhat.com">Marek Posolda</a> */ public class ThreadLocalSessionContext { private static final ThreadLocal<KeycloakSession> currentSession = new ThreadLocal<KeycloakSession...
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.WindowsAzure.Management.ExpressRoute; using Microsoft.WindowsAzure.Management.ExpressRoute.Models; namespace Microsoft.WindowsAzure.Management.ExpressRoute { /// <summary> /// The Express Route API provides p...
/** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ import Page = require('../../../../base/Page'); import Response = require('../../../../http/response'); import V1 = require('../../V1'); import { SerializableClass } from '../../../../interfaces'; type ...
<?php namespace Modules\Event\Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Database\Eloquent\Model; class EventDatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { Model::unguard(); // $this->cal...
""" Utility functions for handling images. Requires Pillow (or PIL), as you might imagine. """ import zlib from django.core.files import File class ImageFile(File): """ A mixin for use alongside django.core.files.base.File, which provides additional features for dealing with images. """ def _get...
from oslo.config import cfg from oslo.utils import excutils from neutron.api.v2 import attributes as attr from neutron.common import constants as const from neutron.common import exceptions as n_exc from neutron.db import db_base_plugin_v2 from neutron.db import l3_db from neutron.extensions import external_net from n...
import toDate from '../toDate/index.js'; import requiredArgs from '../_lib/requiredArgs/index.js'; /** * @name isWithinInterval * @category Interval Helpers * @summary Is the given date within the interval? * * @description * Is the given date within the interval? (Including start and end.) * * ### v2.0.0 break...
<?php /** * Crontab schedule model * * @method Mage_Cron_Model_Resource_Schedule _getResource() * @method Mage_Cron_Model_Resource_Schedule getResource() * @method string getJobCode() * @method Mage_Cron_Model_Schedule setJobCode(string $value) * @method string getStatus() * @method Mage_Cron_Model_Schedule s...
HSR Challenge Project HS 2015 / Simon Gwerder / Philipp Christen LABLOG: https://docs.google.com/document/d/1QDagqCR6Z35jWVZmV2s8p_A5nzBiK2r_h6Ysk3WeDxU/edit?pli=1 Visualizer: https://github.com/LePhil/SpeedRacerViz Interim Presentation: https://docs.google.com/presentation/d/1Bd6vdR4otDd4nMxds4BiVLBmWXCnD1g6wwyYi9Y...
shadowsocks =========== |PyPI version| |Build Status| A fast tunnel proxy that help you get through firewalls. `中文说明 <https://github.com/clowwindy/shadowsocks/wiki/Shadowsocks-%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E>`__ Install ------- You'll have a client on your local machine, and install a server on a remote serve...
<section class="row" ng-controller="AuthenticationController"> <h3 class="col-md-12 text-center">Sign in using your social accounts</h3> <div class="col-md-12 text-center"> <img ng-click="callOauthProvider('/api/auth/facebook')" ng-src="/modules/users/client/img/buttons/facebook.png"> <img ng-click="callOau...
1.0.0 / 2015-03-17 ================== * travis: allow for tagged releases to npm * docs: new string is type string, not object * Merge pull request #5 from Charminbear/string-object-as-string * Also updated the Docs with new Spec. * Made "new String()" return type "string" instead of object and added test fo...
package org.fcrepo.http.commons.session; import static java.util.Objects.requireNonNull; import static org.slf4j.LoggerFactory.getLogger; import java.security.Principal; import javax.annotation.PostConstruct; import javax.inject.Inject; import javax.jcr.Repository; import javax.jcr.RepositoryException; import javax...
<?xml version="1.0" encoding="utf-8"?><!-- --> <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/list_header_title" style="?android:attr/listSeparatorTextViewStyle" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@draw...
package org.apache.camel.scala import org.scalatest.{MustMatchers, FunSpec} import org.scalatest.junit.JUnitRunner import org.junit.runner.RunWith import org.apache.camel.{Exchange,Processor,Predicate,RuntimeTransformException} @RunWith(classOf[JUnitRunner]) class RouteSpec extends FunSpec with CamelSpec with Must...
<?xml version="1.0" encoding="utf-8"?> <ImageView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/move_attribute_image" android:layout_width="match_parent" android:layout_height="match_parent" android:contentDescription="@string/desc" android:src="@mipmap/ic_launcher" ...
<div data-dojo-attach-events="keydown:_onKeyDown"> <div data-dojo-attach-point="rowHeader" class="dojoxCalendarRowHeader"> <table data-dojo-attach-point="rowHeaderTable" class="dojoxCalendarRowHeaderTable" cellpadding="0" cellspacing="0"></table> </div> <div data-dojo-attach-point="grid" class="dojoxCalendarGrid...
(function() { var _slice = Array.prototype.slice; var Bacon = { toString: function () { return "Bacon"; } }; Bacon.version = '0.7.94'; var Exception = (typeof global !== "undefined" && global !== null ? global : this).Error; var nop = function () {}; var latter = function (_, x) { return x; }; var former = ...
require "helper" describe Thor::Shell do def shell @shell ||= Thor::Base.shell.new end describe "#initialize" do it "sets shell value" do base = MyCounter.new [1, 2], {}, :shell => shell expect(base.shell).to eq(shell) end it "sets the base value on the shell if an accessor is avail...
FROM fedora:23 RUN dnf install -y @development-tools fedora-packager RUN dnf install -y btrfs-progs-devel device-mapper-devel glibc-static libselinux-devel libtool-ltdl-devel selinux-policy selinux-policy-devel sqlite-devel tar ENV GO_VERSION 1.5.1 RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}....
BASE_EXPORT void safe_strerror_r(int err, char *buf, size_t len); // Calls safe_strerror_r with a buffer of suitable size and returns the result // in a C++ string. // // Use this instead of strerror(). Note though that safe_strerror_r will be // more robust in the case of heap corruption errors, since it doesn't need...
if Capistrano::Configuration.instance(false) Capistrano::Configuration.instance(true).load do |instance| namespace :resque_scheduler do desc "Install resque scheduler" desc "Setup resque scheduler configuration for this application" task :setup, roles: :resque do template "resque_schedu...
package org.apache.nifi.couchbase; import org.apache.nifi.processor.AbstractProcessor; import org.apache.nifi.processor.ProcessContext; import org.apache.nifi.processor.ProcessSession; import org.apache.nifi.processor.exception.ProcessException; import org.apache.nifi.reporting.InitializationException; import org.apa...
package edu.cuny.qc.speech.AuToBI.util; import edu.cuny.qc.speech.AuToBI.core.*; import java.util.List; /** * ContourUtils is a utility class to store static methods relating to Contours. * * @see Contour */ @SuppressWarnings("unchecked") public class ContourUtils { // Utility classes cannot be constructed. ...
<!DOCTYPE html> <!-- Copyright 2015 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. --> <html> <body> <script src="../../../../../../ui/webui/resources/js/cr.js"></script> <script src="../../../../../../ui/webu...
<?php namespace Zend\Http\Client\Adapter; use Zend\Http\Client; use Zend\Http\Client\Adapter\Exception as AdapterException; use Zend\Http\Response; use Zend\Stdlib\ErrorHandler; /** * HTTP Proxy-supporting Zend\Http\Client adapter class, based on the default * socket based adapter. * * Should be used if proxy H...
var utils = require('../../../js/utils.js'), inFile = 'raw.csv', outFile = '../total_population.csv'; utils.input(inFile, function (data) { var rows = data.split('\r\n').slice(1), un_population = ['countryCode,year,population']; rows.splice(rows.length - 1, 1); rows.forEach(function (row) { var...
This application makes use of the following third party libraries: ## EZTamperDetection Copyright (c) 2016 Andre Hoffmann <dev@effzehn.de> 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...
package org.apache.jasper.runtime; import javax.servlet.ServletConfig; import org.apache.tomcat.InstanceManager; public class InstanceManagerFactory { private InstanceManagerFactory() { } public static InstanceManager getInstanceManager(ServletConfig config) { InstanceManager instanceManager =...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // // // /* EXCEP.CPP: * */ #include "common.h" #include "frames.h" #include "excep.h" #include "object.h" #include "field.h" #include "dbginterface.h" #include...
unsigned long rt_cpu_get_smp_id(void); void rt_cpu_mmu_disable(void); void rt_cpu_mmu_enable(void); void rt_cpu_tlb_set(volatile unsigned long*); void rt_cpu_vector_set_base(unsigned int addr); #endif
classdef Library < BetterHandle % LIBRARY... hyper-parameters for the BPL model properties (SetAccess = private) shape = struct % .mu,Sigma,mixprob scale = struct % .theta,minfreq rel = struct % .sigma_x,sigma_y,mixprob Spatial % reference to class tokenvar ...
package org.apache.kylin.storage.hbase; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Map; import org.apache.hadoop.hbase.client.HConnection; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import org.apach...
var app = angular.module("chillsPos", ['ui.router', 'ngResource', 'ngAnimate', 'ui.bootstrap', 'ui.grid', 'ui.grid.pagination', 'ui.select', 'ngSanitize', 'oc.lazyLoad']); app.config(function($stateProvider, $urlRouterProvider) { // $urlRouterProvider.otherwise("/dashboard"); $urlRouterProvider.otherwise(funct...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (c) 2010-2019 Evolveum and contributors ~ ~ This work is dual-licensed under the Apache License 2.0 ~ and European Union Public License. See LICENSE file for details. --> <resource oid="ef2bc95b-76e0-59e2-86d6-9999dddddddd" xmlns="http://midpoin...
function myRepo(full_name){ // display a particular repo of mine in #details // e.g., https://api.github.com/repos/doubleshow/up console.log('viewing repo: ', full_name) // e.g., https://api.github.com/repos/ucdd2-sp15/nn-express $.get("https://api.github.com/repos/" + full_name, github, functio...
namespace gfx { class GLShareGroup; scoped_refptr<GLContext> GLContext::CreateGLContext( GLShareGroup* share_group, GLSurface* compatible_surface, GpuPreference gpu_preference) { TRACE_EVENT0("gpu", "GLContext::CreateGLContext"); switch (GetGLImplementation()) { case kGLImplementationOSMesaGL: { ...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ function ModuleDependencyTemplateAsRequireId() {} module.exports = ModuleDependencyTemplateAsRequireId; ModuleDependencyTemplateAsRequireId.prototype.apply = function(dep, source, outputOptions, requestShortener)...
<!--- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "Licens...
'use strict'; var assert = require('assert'); var yaml = require('../../'); var readFileSync = require('fs').readFileSync; test('Parse failed when no document start present', function () { assert.doesNotThrow(function () { yaml.safeLoad(readFileSync(require('path').join(__dirname, '/0008.yml'), 'utf8')); },...
title: 'Colorbrewer' layout: simple_page content: [] --- Colorbrewer palettes are taken from [http://colorbrewer2.org/](http://colorbrewer2.org/). They come in three sub-modules grouped by their use: - [palettable.colorbrewer.diverging][diverging] - [palettable.colorbrewer.qualitative][qualitative] - [palettable.colo...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * Unit Testing Class * * Simple testing class * * @package CodeIgniter * @subpackage Libraries * @category UnitTesting * @author EllisLab Dev Team * @link https://codeigniter.com/user_guide/libraries/unit_testing.html ...
namespace media { class AudioBus; class AudioParameters; // ChannelMixer is for converting audio between channel layouts. The conversion // matrix is built upon construction and used during each Transform() call. The // algorithm works by generating a conversion matrix mapping each output channel // to list of inpu...
Debug\atproxy.exe -id 0x00000001 -c ../etc/atproxy.conf -p atproxy.pid start
<?php class lbForm { public function lbForm(){ $this->field = array(); } public function addField($name,$field){ $this->field[$name] = $field; } public function render($field){ return $this->getField($field)->render(); } public function label($field){ return $this->getField($field)-...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.badlogicgames....
title: Breadcrumbs --- <h3 class="subheader">Breadcrumbs come in handy to show a navigation trail for users clicking through a site or app. They'll fill out 100% of the width of their parent container.</h3> *** {{> examples_breadcrumbs_basic}} *** ## Basic Add a class of `.breadcrumbs` to a `ul` element. List ite...
(function($){ $.fn.autoSuggest = function(data, options) { var defaults = { asHtmlID: false, startText: "Enter Name Here", emptyText: "No Results Found", preFill: {}, limitText: "No More Selections Are Allowed", selectedItemProp: "value", //name of object property selectedValuesProp: "value"...
/* * 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 law or agreed to in writing, software * distribut...
getJasmineRequireObj().Clock = function() { function Clock(global, delayedFunctionSchedulerFactory, mockDate) { var self = this, realTimingFunctions = { setTimeout: global.setTimeout, clearTimeout: global.clearTimeout, setInterval: global.setInterval, clearInterval: global.cl...
package org.apache.geode.cache; /** * * <h3>Description of the conditions under which this exception is thrown</h3> * <p> * When a <code>PartitionedRegionStorageException</code> message contains the string: * * <pre> * There are not enough data store members to create a bucket. * </pre> * * A new data store...
class A { private Object b = new MyException("w"); private class <caret>MyException extends Exception { public MyException(String msg) { super(msg.substring(0, 1)); } public String getMessage() { return "q"; } } }
<?php namespace Symfony\Bridge\Twig\Extension; use Symfony\Component\Workflow\Registry; use Symfony\Component\Workflow\Transition; use Twig\Extension\AbstractExtension; use Twig\TwigFunction; /** * WorkflowExtension. * * @author Grégoire Pineau <lyrixx@lyrixx.info> */ class WorkflowExtension extends AbstractEx...
<?php /** * Manage Page types * * @author Jon Johnson <jon.johnson@ucsf.edu> * @license http://jazzee.org/license BSD-3-Clause */ class ManagePagetypesController extends \Jazzee\AdminController { const MENU = 'Manage'; const TITLE = 'Page Types'; const PATH = 'manage/pagetypes'; const ACTION_INDEX = 'V...
@class Article, Image, SectionImage; @interface Section : NSManagedObject @property (nonatomic, retain) NSString* anchor; @property (nonatomic, retain) NSDate* dateRetrieved; @property (nonatomic, retain) NSString* html; @property (nonatomic, retain) NSString* index; @property (nonatomic, retain) NSString* title; @pr...
var binding = require('binding').Binding.create('webRequest'); var sendRequest = require('sendRequest').sendRequest; var WebRequestEvent = require('webRequestInternal').WebRequestEvent; binding.registerCustomHook(function(api) { var apiFunctions = api.apiFunctions; apiFunctions.setHandleRequest('handlerBehaviorCh...
var express = require('express'); var app = express.createServer(); app.use(express.static(__dirname)); app.listen(8080);
require 'spec_helper' require 'cupatino_product_names' describe CupatinoProductNames do it 'has a version number' do expect(CupatinoProductNames::VERSION).not_to be nil end describe '#to_product_name' do it 'convert model identifier to product name' do expect("iPhone7,1".to_product_name).to eq("iP...
'use strict'; var colors = require('colors/safe'); var expect = require('chai').expect; var sinon = require('sinon'); describe('cli : facade : registry', function(){ var logSpy = {}, Registry = require('../../cli/domain/registry'), registry = new Registry(), RegistryFacade = require('../../cli/fa...
<?php require_once 'creole/PreparedStatement.php'; /** * Interface for callable statements. * * @author Hans Lellelid <hans@xmpl.org> * @version $Revision: 1.7 $ * @package creole */ interface CallableStatement extends PreparedStatement { /** * Register a parameter as a...
// Copyright (c) 2003-2014, Jodd Team (jodd.org). All Rights Reserved. package jodd.jerry; /** * Callback function for iterating nodes. */ public interface JerryFunction { /** * Invoked on node. Returns <code>true</code> to continue looping. */ boolean onNode(Jerry $this, int index); }