text
stringlengths
3
1.05M
angular.module('brew-everywhere').controller('LoginCtrl', function($scope, $controller, $location, events){ // this call to $controller adds the base controller's methods // and properties to the controller's scope $controller('BaseCtrl', {$scope: $scope}); //#region Internal models $scope.username = ''; $...
package org.apache.shindig.protocol; import org.apache.shindig.auth.SecurityToken; import org.apache.shindig.common.servlet.HttpUtil; import org.apache.shindig.protocol.conversion.BeanConverter; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import javax.servlet.Servle...
"use strict"; const conversions = require("webidl-conversions"); const utils = require("./utils.js"); const Event = require("./Event.js"); const impl = utils.implSymbol; const convertCustomEventInit = require("./CustomEventInit").convert; function CustomEvent(type) { if (!this || this[impl] || !(this instanceof Cus...
namespace auction_worklet { // Class to manage bindings for setting a debugging report URL. Expected to be // used for a context managed by ContextRecycler. The URL passed to the last // successful call will be used as the reporting URL. Throws on invalid URLs or // non-HTTPS URLs. class ForDebuggingOnlyBindings : pub...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * Security Class * * @package CodeIgniter * @subpackage Libraries * @category Security * @author EllisLab Dev Team * @link https://codeigniter.com/user_guide/libraries/security.html */ class CI_Security { /** * List of sanitize f...
<?php namespace Symfony\Component\Config\Resource; /** * FileResource represents a resource stored on the filesystem. * * The resource can be a file or a directory. * * @author Fabien Potencier <fabien@symfony.com> */ class FileResource implements ResourceInterface, \Serializable { /** * @var string|...
package butterknife; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.RetentionPolicy.CLASS; /** * Bind a field to the view for the specified ID. The view will automatically be cast to the field * typ...
@interface GPUImageHighlightShadowTintFilter : GPUImageFilter { GLint shadowTintIntensityUniform, highlightTintIntensityUniform, shadowTintColorUniform, highlightTintColorUniform; } // The shadowTint and highlightTint colors specify what colors replace the dark and light areas of the image, respectively. The defau...
Error.stackTraceLimit = Infinity; var acorn = require("../src/index") var pp = acorn.Parser.prototype var tt = acorn.tokTypes pp.isRelational = function (op) { return this.type === tt.relational && this.value === op } pp.expectRelational = function (op) { if (this.isRelational(op)) { this.next() } else { ...
// function.name /*! @source http://stackoverflow.com/questions/6903762/function-name-not-supported-in-ie*/ if (!Object.hasOwnProperty('name')) { Object.defineProperty(Function.prototype, 'name', { get: function() { var name = this.toString().match(/^\s*function\s*(\S*)\s*\(/)[1]; // For better perfor...
/** * Removes `key` and its value from the hash. * * @private * @name delete * @memberOf Hash * @param {Object} hash The hash to modify. * @param {string} key The key of the value to remove. * @returns {boolean} Returns `true` if the entry was removed, else `false`. */ function hashDelete(key) { var result =...
package kvdbsync
package cn.heroes.yellow.exception; /** * 文件未解析 * * @author Leon Kidd * @version 1.00, 2014-1-28 * @since 1.0 */ public class UnParsedException extends RuntimeException { public UnParsedException() { super("Please invoke parser Method first."); } }
Release with two new features. One can now pass `{ 'exclude': 'abc' }` to exclude various characters from password generation. This can be used to blacklist certain symbols, remove alike characters, etc by giving a string with all the characters to be removed. The options parameter is now optional — it is now unneces...
@org.osgi.annotation.versioning.Version("2.2") package org.apache.jackrabbit.commons.json;
<!DOCTYPE html> <html lang="en"> <head> <title>Ingles Activo</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!--CSS--> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <link href="htt...
package com.crawljax.plugins.crawloverview.model; import javax.annotation.concurrent.Immutable; import com.crawljax.core.state.StateVertex; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import co...
"""This module is deprecated. Please use :mod:`airflow.providers.google.cloud.hooks.functions`.""" import warnings from airflow.providers.google.cloud.hooks.functions import CloudFunctionsHook warnings.warn( "This module is deprecated. Please use `airflow.providers.google.cloud.hooks.functions`.", Deprecatio...
TensorBoard data is organized around the concept of a `run`, which represents all the related data thrown off by a single execution of TensorFlow, a `tag`, which groups values of data that come from the same source within a TensorFlow run, and `tag types`, which are our way of distinguishing different types of data tha...
#include "config.h" #include "FontCache.h" #include "Font.h" #include "FontGlyphs.h" #include "FontPlatformData.h" #include "FontSelector.h" #include "WebKitFontFamilyNames.h" #include <wtf/HashMap.h> #include <wtf/ListHashSet.h> #include <wtf/StdLibExtras.h> #include <wtf/text/AtomicStringHash.h> #include <wtf/text...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" > <RelativeLayout android:id="@+id/shelter" android:layout_width="match_parent" android:la...
<style type="text/css"> .custom{ height:31px; font-size: 13px; padding:0px; padding-left:20px; } </style> <div class="card" style="margin-top:20px;"> <div class="card-head style-default-light" style="padding-top:10px; padding-left:10px;"> <header> <strong style="font-weight:bold; border:...
/** * @file amf.hpp * @author Sumedh Ghaisas * @author Mohan Rajendran * @author Ryan Curtin * * Alternating Matrix Factorization * * The AMF (alternating matrix factorization) class, from which more commonly * known techniques such as incremental SVD, NMF, and batch-learning SVD can be * derived. */ #ifndef...
namespace Services { public class MessageRecipient { public string Name { get; set; } public string EmailAddress { get; set; } } }
package org.elasticsearch.common.util; import com.carrotsearch.hppc.ObjectLongMap; import com.carrotsearch.hppc.ObjectLongOpenHashMap; import com.carrotsearch.hppc.cursors.ObjectLongCursor; import org.apache.lucene.util.BytesRef; import org.apache.lucene.util.BytesRefBuilder; import org.apache.lucene.util.TestUtil; ...
using System; using Microsoft.WindowsAzure.Storage.Table; namespace RedDog.Engine.TableStorage.Model { public class JobInstanceEntity : TableEntity { public string Name { get; set; } public Guid LastRunId { get; set; ...
class MediaDelegateChromeOS : public ash::MediaDelegate, MediaCaptureDevicesDispatcher::Observer { public: MediaDelegateChromeOS(); ~MediaDelegateChromeOS() override; // ash::MediaDelegate: void HandleMediaNextTrack() override; void HandleMediaPlayPause() override; void Handl...
Given a pair of simultaneous equations, it is possible to deduce the values of the variables contained therein. Imagine, for instance, we have the following pair of simultaneous equations: 4x+3y=24 (call this equation [1]) 5x+y=19 (call this equation [2]) Using simple GCSE-level mathematics, we can calculate the 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...
Here is a list of methods and examples of working with Users ## GetAll() ```C# // execute request users without credentials - returns only you var users = await client.Users.GetAll(); // send credentials - list of all users var users = await client.Users.GetAll(useAuth:true); ``` ## GetByID ```C# // returns user b...
// 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. /** * Icon of the video player. * TODO(yoshiki): Consider providing an exact size icon, instead of relying * on downsampling by ash. * * @type {strin...
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (C) 2013 The Android Open Source 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/l...
"use strict"; var path = require("path"); var url = require("url"); var _ = require("../../lodash.custom"); var Immutable = require("immutable"); var isList = Immutable.List.isList; var isMap = Immutable.Map.isMap; var defaultConfig = require("../default-config"); var immDefs = Immutable.fromJS(defaultConfig); var...
/* * This an unstable interface of wlroots. No guarantees are made regarding the * future consistency of this API. */ #ifndef WLR_USE_UNSTABLE #error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features" #endif #ifndef WLR_BACKEND_DRM_H #define WLR_BACKEND_DRM_H #include <wayland-server-core.h> #include <wl...
.strike { text-decoration: line-through; } .bold { font-weight: bold; } .red { color: red; } .has-error { color: red; background-color: yellow; } .orange { color: orange; }
declare var ko: any; class Person { children: string[]; constructor (public name: string, children: string[]) { this.children = ko.observableArray(children); } addChild = () => this.children.push("New child"); } class T { fo() { var x = this; } } module ...
var util = require('util'); var minimatch = require('minimatch'); var glob = require('glob'); var Glob = glob.Glob; var EventEmitter = require('events').EventEmitter; module.exports = fileset; // Async API function fileset(include, exclude, options, cb) { if (typeof exclude === ...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-example114-debug</title> <script src="../../../angular.js"></script> <script src="../../../angular-touch.js"></script> <script src="script.js"></script> </head> <body ng-app="ngClickExample"> <button ng-click=...
#include "raster/protocol/proto/RpcController.h" #include "raster/protocol/proto/Message.h" namespace rdd { void PBRpcController::Reset() { canceled_ = false; failed_ = false; failedReason_ = ""; cancelFunc_ = nullptr; std::lock_guard<std::mutex> guard(closuresLock_); closures_.clear(); } bool PBRpcCo...
/** * @ngdoc directive * @name umbraco.directives.directive:umbCropsy * @restrict E * @function * @description * Used by editors that require naming an entity. Shows a textbox/headline with a required validator within it's own form. **/ angular.module("umbraco.directives") .directive('umbImageGravity', function ($tim...
/*! * \file atomic/detail/extra_ops_gcc_ppc.hpp * * This header contains implementation of the extra atomic operations for PowerPC. */ #ifndef BOOST_ATOMIC_DETAIL_EXTRA_OPS_GCC_PPC_HPP_INCLUDED_ #define BOOST_ATOMIC_DETAIL_EXTRA_OPS_GCC_PPC_HPP_INCLUDED_ #include <cstddef> #include <boost/memory_order.hpp> #in...
from django.conf import settings from mongoengine import Document, StringField, IntField from crits.core.crits_mongoengine import CritsDocument, CritsSchemaDocument class Division(CritsDocument, CritsSchemaDocument, Document): """ Division class. """ meta = { "collection": settings.COL_DIVISI...
class Brand < ActiveRecord::Base attr_accessible :name has_many :products validates_presence_of :name end
DataFactory allows you to easily generate and create test data using [**FactoryMuffin**](https://github.com/thephpleague/factory-muffin). DataFactory uses an ORM of your application to define, save and cleanup data. Thus, should be used with ORM or Framework modules. This module requires packages installed: ```json {...
package io.apibuilder.validation import io.apibuilder.spec.v0.models._ /** * A cache of all of the operations defined in the list of services. Allows * for resolution from a Method and Path to the service in which that operation * is defined. * * As paths can be dynamic, it's difficult to precache the exact...
struct spu_elf_params { /* Stash various callbacks for --auto-overlay. */ void (*place_spu_section) (asection *, asection *, const char *); bfd_size_type (*spu_elf_load_ovl_mgr) (void); FILE *(*spu_elf_open_overlay_script) (void); void (*spu_elf_relink) (void); /* Bit 0 set if --auto-overlay. Bit 1...
#ifndef GENRB_H #define GENRB_H #include <stdio.h> #include "unicode/utypes.h" #include "unicode/putil.h" #include "cmemory.h" #include "cstring.h" #include "filestrm.h" #include "ucbuf.h" #include "errmsg.h" #include "parse.h" #include "rbutil.h" #include "reslist.h" #include "toolutil.h" #include "uoptions.h" ...
/** */ THREE.GlitchPass = function ( dt_size ) { if ( THREE.DigitalGlitch === undefined ) console.error( "THREE.GlitchPass relies on THREE.DigitalGlitch" ); var shader = THREE.DigitalGlitch; this.uniforms = THREE.UniformsUtils.clone( shader.uniforms ); if (dt_size == undefined) dt_size = 64; this.unifo...
namespace faint{ enum class PngWriteResult{ OK, ERROR_OPEN_FILE, ERROR_CREATE_WRITE_STRUCT, ERROR_CREATE_INFO_STRUCT, ERROR_INIT_IO, ERROR_WRITE_HEADER, ERROR_WRITE_DATA, ERROR_WRITE_END, ERROR_WRITE_TEXT_KEY_ENCODING, ERROR_WRITE_TEXT_VALUE_ENCODING, ERROR_WRITE_TEXT_KEY_EMPTY, ERROR_WRITE_TEX...
CKEDITOR.plugins.setLang("pagebreak","fo",{alt:"Síðuskift",toolbar:"Ger síðuskift"});
[![Chai Documentation](http://chaijs.com/public/img/chai-logo.png)](http://chaijs.com) [![license:mit](https://img.shields.io/badge/license-mit-green.svg?style=flat-square)](#license)<br> [![tag:?](https://img.shields.io/github/tag/chaijs/chai.svg?style=flat-square)](https://github.com/chaijs/chai/releases) [![build:?...
package org.cdlib.xtf.util; import java.io.IOException; import java.io.OutputStream; /** * This class is useful only for testing the transmission speed of data * by limiting the size of the output stream. Not to be used in production. */ class LimitedOutputStream extends OutputStream { /** * Constructor. ...
<?php namespace kalibao\backend\modules\site\controllers; use Yii; use kalibao\backend\components\web\Controller; /** * Site controller * * @package kalibao\backend\modules\site\controllers * @version 1.0 * @author Kevin Walter <walkev13@gmail.com> */ class SiteController extends Controller { /** * @...
using NextBus.Helpers; using NextBus.Mock; using NextBus.Models; using NextBus.Models.Messages; using NextBus.Services; using NextBus.Tracing; using NextBus.Utilities.Extensions; using Plugin.Geolocator; using Plugin.Geolocator.Abstractions; using PropertyChanged; using System; using System.Linq; using System.Threadin...
/* 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 * di...
package procfs import ( "bytes" "strconv" "strings" "github.com/prometheus/procfs/internal/util" ) // ProcStatus provides status information about the process, // read from /proc/[pid]/stat. type ProcStatus struct { // The process ID. PID int // The process name. Name string // Thread group ID. TGID int ...
package com.thinkgem.jeesite.common.filter; import com.thinkgem.jeesite.common.utils.CacheUtils; import net.sf.ehcache.CacheManager; import net.sf.ehcache.constructs.web.filter.SimplePageCachingFilter; /** * 页面高速缓存过滤器 * @author ThinkGem * @version 2013-8-5 */ public class PageCachingFilter extends SimplePageCach...
@implementation FBSDKShareVideo #pragma mark - Class Methods + (instancetype)videoWithVideoURL:(NSURL *)videoURL { FBSDKShareVideo *video = [[FBSDKShareVideo alloc] init]; video.videoURL = videoURL; return video; } + (instancetype)videoWithVideoURL:(NSURL *)videoURL previewPhoto:(FBSDKSharePhoto *)previewPhoto...
import {createStore, applyMiddleware, compose} from "redux"; import thunkMiddleware from "redux-thunk"; import reducers from "reducers"; import WSActions from "actions/ws"; export default function configureStore(initialState) { const store = createStore( reducers, initialState, applyMiddl...
<?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE toc PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 2.0//EN" "http://java.sun.com/products/javahelp/toc_2_0.dtd"> <toc version="2.0"> <tocitem text="ZAP User Guide" tocid="toplevelitem"> <tocitem text="Add Ons" tocid="addons"> ...
<!DOCTYPE html> <!-- Copyright (c) 2012 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following di...
export * from 'react-native';
package org.bouncycastle.ocsp; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.security.GeneralSecurityException; import java.security.NoSuchProviderException; import java.security.PrivateKey; import java.security.SecureRandom; import java.security.cert.CertificateEncodingException; impor...
#ifndef QSCRIPTAST_FWD_P_H #define QSCRIPTAST_FWD_P_H #include <QtCore/qglobal.h> // // W A R N I N G // ------------- // // This file is not part of the Qt API. It exists purely as an // implementation detail. This header file may change from version to // version without notice, or even be removed. // // We m...
# ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # 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...
YUI.add('io-xdr', function (Y, NAME) { /** Extends IO to provide an alternate, Flash transport, for making cross-domain requests. @module io @submodule io-xdr @for IO @deprecated **/ // Helpful resources when working with the mess that is XDomainRequest: // http://www.cypressnorth.com/blog/web-programming-and-develop...
<?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_gravity="center" android:background="#FFFFFF" > <LinearLayout android:id="@+id/AppUnlockLinearL...
package org.apache.lucene.store.db; import com.sleepycat.db.EnvironmentConfig; import com.sleepycat.db.Environment; /** * Simple sanity testing application to verify that the underlying * native library can be loaded cleanly. * * For use in the build.xml of this contrib, to determine if tests * should be ski...
/* Sorts the given data by the specified column * @parameter {array<object>} data - The data to sort * @parameter {string} column - the name of the column to sort * @parameter {boolean optional} sortAscending - whether or not to sort this column in ascending order * * TODO: Needs tests! */ export function default...
#import "FTupleSetIdPath.h" @implementation FTupleSetIdPath @synthesize path; @synthesize setId; - (id) initWithSetId:(NSNumber *)aSetId andPath:(FPath *)aPath { self = [super init]; if (self) { self.setId = aSetId; self.path = aPath; } return self; } @end
// +build linux package netns import ( "fmt" "io/ioutil" "os" "path" "path/filepath" "strconv" "strings" "syscall" "golang.org/x/sys/unix" ) // Deprecated: use syscall pkg instead (go >= 1.5 needed). const ( CLONE_NEWUTS = 0x04000000 /* New utsname group? */ CLONE_NEWIPC = 0x08000000 /* New ipcs */...
#include "config.h" #include "SharedBuffer.h" #include <QFile> namespace WebCore { PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& fileName) { if (fileName.isEmpty()) return 0; QFile file(fileName); if (!file.exists() || !file.open(QFile::ReadOnly)) return...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="it"> <head> <!-- Generated by javadoc (version 1.7.0_60) on Fri Feb 13 15:30:18 CET 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>ClientNotFoundExcep...
package com.aldoborrero.tinder.api; import com.aldoborrero.tinder.api.gson.TinderGsonFactory; import com.aldoborrero.tinder.api.interfaces.TinderErrorHandlerListener; import com.aldoborrero.tinder.api.okhttp.TinderOkHttpFactory; import com.aldoborrero.tinder.api.okhttp.interceptors.AuthTokenInterceptor; import com.a...
package com.google.capillary.demo.server; import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonObject; import java.io.DataOutputStream; import java.io.FileInputStream; import java.io.IOException; import java....
namespace DuiLib { enum { XMLFILE_ENCODING_UTF8 = 0, XMLFILE_ENCODING_UNICODE = 1, XMLFILE_ENCODING_ASNI = 2, }; class CMarkup; class CMarkupNode; class UILIB_API CMarkup { friend class CMarkupNode; public: CMarkup(LPCTSTR pstrXML = NULL); ~CMarkup(); bool Load(LPCTSTR pstrXML); boo...
package org.elasticsearch.common.lucene.index; import org.apache.lucene.index.DirectoryReader; import org.apache.lucene.index.FilterDirectoryReader; import org.apache.lucene.index.FilterLeafReader; import org.apache.lucene.index.LeafReader; import org.elasticsearch.index.shard.ShardId; import java.io.IOException; /...
package com.kotcrab.vis.ui.widget; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.ui.ScrollPane; import com.kotcrab.vis.ui.VisUI; /** * @author Kotcrab * @see ScrollPane */ public class VisScrollPane extends ScrollPane { public VisScrollPane (Actor widget, ScrollPaneStyle s...
$(document).ready(function() { medium_zoom = mediumZoom('[data-zoomable]', { margin: 100, background: getComputedStyle(document.documentElement) .getPropertyValue('--global-bg-color') + 'ee', // + 'ee' for trasparency. }) });
define(['file_menu', 'edit_menu'], function (FileMenu, EditMenu) { var menuBar = {}; menuBar[FileMenu.id] = FileMenu; menuBar[EditMenu.id] = EditMenu; return menuBar; });
<img src="https://raw.githubusercontent.com/formly-js/angular-formly/master/other/logo/angular-formly-logo-64px.png" alt="angular-formly logo" title="angular-formly" align="right" width="64" height="64" /> ## [angular-formly](http://docs.angular-formly.com) Status: [![npm version](https://img.shields.io/npm/v/angular...
/* Change the value of 'API_URL' and make it point to an API on your backend that returns a JSON array similar to this: [ {"name": "Ahmad", "imports": ["one, two, three"]}, {"name": "Albert", "imports": ["one, two, three"]}, {"name": "Amy", "imports": ["one, two, three"]}, ] The JSON arra...
<?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> <name>Javadoc Parser</name> <artifact...
import pandas as pd # Country UNI FAOSTAT # Brazil 76 21 # China 156 351 # India 356 100 # Nigeria 566 159 ISO_COUNTRY_CODES = { 'Brazil': 76, 'China': 156, 'India': 356, 'Nigeria': 566 } pop = pd.read_csv('population-cut.csv') pop = pop.pivot('Year','Country','Population') pop = pop.reindex(p...
<?php namespace Symfony\Component\Finder\Expression; @trigger_error('The '.__NAMESPACE__.'\ValueInterface interface is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED); /** * @author Jean-François Simon <contact@jfsimon.fr> */ interface ValueInterface { /** * Renders string ...
package org.earthtime.UPb_Redux.valueModels.definedValueModels; import java.io.Serializable; import java.math.BigDecimal; import java.util.concurrent.ConcurrentMap; import org.earthtime.UPb_Redux.ReduxConstants; import org.earthtime.UPb_Redux.expressions.ExpTreeII; import org.earthtime.UPb_Redux.valueModels.ValueMode...
/*! * Qoopido.js library v3.4.0, 2014-6-9 * https://github.com/dlueth/qoopido.js * (c) 2014 Dirk Lueth * Dual licensed under MIT and GPL */ !function(e){window.qoopido.register("support/element/video",e,["../../support"])}(function(e,o,t,i,n,r){"use strict";var p=e.support;return p.addTest("/element/video",function(e)...
require File.expand_path('../test_helper', __FILE__) class RackApp def call(env) [200, {'Content-Type' => 'text/html'}, ["Hello from RackApp"]] end end class NancyApp < Nancy::Base get "/" do "Hello from NancyApp" end end class MainApp < Nancy::Base get "/" do "Hello from MainApp" end map ...
import { DatabaseAdaptor, GitHubInstallation } from ".." import { RuntimeEnvironment } from "../runtimeEnv" // Caches per test file, so you can import it and check from the import // If this is an issue, don't use this mock :D let perTestFileMock: MockDB // A set of type alias' to make the below code readable. type N...
<?php namespace ZendXml\Exception; /** * Invalid argument exception */ class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface { }
title: Pie Chart Labels are Cut Off or Truncated description: Pie Chart Labels are Cut Off or Truncated - RadHtmlChart. Check it now! type: how-to page_title: Pie Chart Labels are Cut Off or Truncated slug: chart-pie-chart-labels-are-cut-off-or-truncated res_type: kb --- #### PROBLEM Pie chart labels of RadHtmlChart...
require 'formula' class JbossAs < Formula desc "JBoss Application Server" homepage 'http://www.jboss.org/jbossas' url 'http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.tar.gz' version '7.1.1.Final' sha1 'fcec1002dce22d3281cc08d18d0ce72006868b6f' def install rm_f Dir["bin...
using namespace SMACCM; SMACCMAnalogSource::SMACCMAnalogSource(float v) : _v(v) {} float SMACCMAnalogSource::read_average() { return _v; } float SMACCMAnalogSource::read_latest() { return _v; } void SMACCMAnalogSource::set_pin(uint8_t p) {} SMACCMAnalogIn::SMACCMAnalogIn() {} void SMACCMAnalogIn::ini...
package matchers import ( "fmt" "github.com/onsi/gomega/format" ) type HaveOccurredMatcher struct { } func (matcher *HaveOccurredMatcher) Match(actual interface{}) (success bool, err error) { if actual == nil { return false, nil } if isError(actual) { return true, nil } return false, fmt.Errorf("Expecte...
package org.jsecurity.web.filter.authc; import org.jsecurity.web.filter.PathMatchingFilter; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; /** * Filter that allows access to a path immeidately without performing security checks of any kind. * <p/> * This filter is useful primarily in ...
package org.apache.cassandra.stress.settings; import java.io.File; import java.io.IOException; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Map; import org.apache.cassandra.io.util.FileUtils; import org.apache...
/*! UIkit 2.19.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ /* ======================================================================== Component: Slider ========================================================================== */ /* * 1. Create position context * 2. Create stacking context t...
package com.facebook.react.tests; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import com.facebook.react.bridge.BaseJavaModule; import com.facebook.react.bridge.CatalystInstance; import com.facebook.react.bridge.Dynamic; import com.faceb...
/** * This feature is used to place a summary row at the bottom of the grid. If using a grouping, * see {@link Ext.grid.feature.GroupingSummary}. There are 2 aspects to calculating the summaries, * calculation and rendering. * * ## Calculation * The summary value needs to be calculated for each column in the ...
package com.github.robozonky.app.version; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.ParameterizedType; import java.net.URL; import java.util.List; import java.util.Objects; import java.util.function.Function; import java.util.stream.Collecto...