text
stringlengths
3
1.05M
module MiqSearch::ImportExport extend ActiveSupport::Concern def export_to_array export_attributes = attributes.except('id') [self.class.to_s => export_attributes] end end
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using Xunit; namespace System.ComponentModel.Design.Tests { public partial c...
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Subjects; using Avalonia.Data; using Xunit; namespace Avalonia.Base.UnitTests { public class AvaloniaObjectTests_DataValidation { [Fact] public void Setting_Non_Validated_Property_Does_Not_Call_UpdateDataVa...
namespace boost { namespace mpl { namespace aux { #if defined(BOOST_MPL_CFG_MSVC_70_ETI_BUG) template< bool > struct msvc_eti_base_impl { template< typename T > struct result_ : T { typedef T type; }; }; template<> struct msvc_eti_base_impl<true> { template< typename T > struct result...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/talent/v4/job_service.proto package com.google.cloud.talent.v4; public interface GetJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.talent.v4.GetJobRequest) com.google.protobuf.Messa...
package org.keycloak.userprofile; import java.util.HashMap; import java.util.List; import java.util.Map; import org.keycloak.models.Constants; import org.keycloak.models.KeycloakSession; import org.keycloak.models.UserModel; /** * Enables legacy support when managing attributes without the declarative provider. * ...
class Explosion: public ObjectBase { public: Explosion(DOUBLE2 pos, DOUBLE2 velocity); // Constructor virtual ~Explosion(); // Destructor //------------------------------------------------- // Own methods //------------------------------------------------- virtual void Tick(double deltaTime); virtual ...
package kubelet import ( "testing" "k8s.io/apimachinery/pkg/types" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" ) func TestReasonCache(t *testing.T) { // Create test sync result syncResult := kubecontainer.PodSyncResult{} results := []*kubecontainer.SyncResult{ // reason cache should be set for ...
@interface WindowManager : NSObject @property (weak) IBOutlet NSWindow *appWindow; @end
test_description='test moved svn branch with missing empty files' . ./lib-git-svn.sh test_expect_success 'load svn dumpfile' ' svnadmin load "$rawsvnrepo" < "${TEST_DIRECTORY}/t9135/svn.dump" ' test_expect_success 'clone using git svn' 'git svn clone -s "$svnrepo" x' test_expect_success 'test that b1 exists and i...
<?php /** * @see Zend_Feed_Reader */ require_once 'Zend/Feed/Reader.php'; /** * @see Zend_Feed_Reader_Extension_EntryAbstract */ require_once 'Zend/Feed/Reader/Extension/EntryAbstract.php'; /** * @see Zend_Date */ require_once 'Zend/Date.php'; /** * @category Zend * @package Zend_Feed_Reader * @copyr...
//=============================================================================== // 2015 eWorkplace Apps. ALL rights reserved. // Main Author: Shrey Sharma // Original DATE: 5/21/2015 //=============================================================================== package com.eworkplaceapps.employeedirectory.depart...
import java.util.Scanner; public class CensorEmailAdress { public static void main(String[]args){ Scanner scanner = new Scanner(System.in); String email = scanner.nextLine(); String text = scanner.nextLine(); String censured = GenerateEmail(email.substring(0, email.indexOf('@')).l...
// // prioritised_handlers.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include <boost/asi...
<?php App::uses ('DebugPanel', 'DebugKit.Lib'); /** * Environment Panel * * Provides information about your PHP and CakePHP environment to assist with debugging. * * @package cake.debug_kit.panels */ class EnvironmentPanel extends DebugPanel { /** * beforeRender - Get necessary data about environment to...
package org.pentaho.di.trans.steps.filestoresult; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.ClassRule; import org.junit.Test; import org.pentaho.di.core.ResultFile; import org.pentaho.di.core.exception.KettleException; import org.pentaho.di.juni...
CREATE TABLE IF NOT EXISTS `osm_node` ( `id` bigint(64) NOT NULL, `version` bigint(64) NOT NULL DEFAULT 0, `lat` double DEFAULT NULL, `long` double DEFAULT NULL, `user` varchar(255) DEFAULT NULL, `uid` bigint(64) DEFAULT NULL, `visible` tinyint(1) NOT NULL DEFAULT 1, `timestamp` datetime DEFAULT NULL, ...
/* VERSION: Drop Shadow jQuery Plugin 1.6 12-13-2007 REQUIRES: jquery.js (verified for 1.3.2) SYNTAX: $(selector).dropShadow(options); // Creates new drop shadows $(selector).redrawShadow(); // Redraws shadows on elements $(selector).removeShadow(); // Removes shadows from elem...
#ifndef BT_BROADPHASE_INTERFACE_H #define BT_BROADPHASE_INTERFACE_H struct btDispatcherInfo; class btDispatcher; #include "btBroadphaseProxy.h" class btOverlappingPairCache; struct btBroadphaseAabbCallback { virtual ~btBroadphaseAabbCallback() {} virtual bool process(const btBroadphaseProxy* proxy) = 0; };...
package com.facebook.react.devsupport; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import com.facebook.react.common.annotations.VisibleForTesting; import com.facebook.react.common.build.ReactBuildConfig; import com.facebook.react.modules.debug...
/*! formstone v0.8.38 [tabs.css] 2016-02-04 | MIT License | formstone.it */ /** * @class * @name .fs-tabs-element * @type element * @description Target elmement */ /** * @class * @name .fs-tabs * @type element * @description Base widget class */ /** * @class * @name .fs-tabs.fs-tabs-enabled *...
package org.apache.ignite.internal.processors.cache.persistence.wal; import org.apache.ignite.IgniteCheckedException; import org.jetbrains.annotations.Nullable; /** * An exception is thrown when we reached tail of WAL segment cyclic buffer * during reading from WAL. */ public class WalSegmentTailReachedException...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/storagetransfer/v1/transfer_types.proto namespace Google\Cloud\StorageTransfer\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * A collection of counters ...
package org.apache.hadoop.hdfs; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.f...
<?php /** * Autoloads Twig Extensions classes. * * @package twig * @author Fabien Potencier <fabien.potencier@symfony-project.com> */ class Twig_Extensions_Autoloader { /** * Registers Twig_Extensions_Autoloader as an SPL autoloader. */ static public function register() ...
require_relative 'character' class Mage < Character def initialize super @defense = 2 end def appearance 'M' end end
global.Vow = require('../..'); var fs = require('fs'), path = require('path'), dir = path.join(__dirname, '..'); require('nodeunit').reporters.default.run( fs.readdirSync(dir) .filter(function(file){ return fs.statSync(path.join(dir, file)).isFile(); }) .map(function(fi...
#include <linux/init.h> #include <linux/interrupt.h> #include <linux/module.h> #include <linux/clk.h> #include <linux/etherdevice.h> #include <linux/slab.h> #include <linux/delay.h> #include <linux/ethtool.h> #include <linux/crc32.h> #include <linux/err.h> #include <linux/dma-mapping.h> #include <linux/platform_device...
<?php namespace Assetic\Extension\Twig; class AsseticFilterFunction extends \Twig_Function { private $filter; public function __construct($filter, $options = array()) { $this->filter = $filter; parent::__construct($options); } public function compile() { return spr...
package org.andengine.entity.modifier; import org.andengine.entity.IEntity; import org.andengine.util.modifier.ease.EaseLinear; import org.andengine.util.modifier.ease.IEaseFunction; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 21:59:38 - 06.07.2010 */ public cl...
import React, {Component} from 'react' import Typography from 'material-ui/Typography'; import Grid from 'material-ui/Grid'; import {withStyles} from 'material-ui/styles'; const styles = theme => ({ messageLabel: { fontSize: '1.5em' } }); class EnvironmentPanelMessage extends Component { constru...
<html lang="ja"> <head> <meta charset="utf-8" /> <title>@title@</title> <link rel="canonical" href="@homepage@" /> <script type="text/javascript"> location.replace('@homepage@'); </script> <meta http-equiv="Refresh" content="0; URL=@homepage@" /> </head> <body> <noscript> <p><a href="@homepage@">@title@</a></p> </noscr...
// All Win32 development environments, including 64-bit Windows and MinGW, define // _WIN32 or one of its variant spellings. Note that Cygwin is a POSIX environment, // so does not define _WIN32 or its variants. # define BOOST_HAS_DECLSPEC # define BOOST_SYMBOL_EXPORT __attribute__((__dllexport__))...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Mycotaxon 52(1): 247 (1994) #### Original name Ramalina puberulenta Riefner & Bowler ### Remarks null
/** * @author mikael emtinger / http://gomo.se/ * @author alteredq / http://alteredqualia.com/ */ THREE.Sprite = ( function () { var indices = new Uint16Array( [ 0, 1, 2, 0, 2, 3 ] ); var vertices = new Float32Array( [ - 0.5, - 0.5, 0, 0.5, - 0.5, 0, 0.5, 0.5, 0, - 0.5, 0.5, 0 ] ); var uvs = new Float32A...
<?php namespace Sylius\Bundle\ResourceBundle\ExpressionLanguage; use Symfony\Component\ExpressionLanguage\ExpressionFunction; use Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; /** * @author Mateusz Zalewski <mateusz.zale...
import { extend } from 'flarum/extend'; import app from 'flarum/app'; import PostControls from 'flarum/utils/PostControls'; import Button from 'flarum/components/Button'; import CommentPost from 'flarum/components/CommentPost'; import DiscussionPage from 'flarum/components/DiscussionPage'; import StrikeModal from 'Ref...
import SimpleITK as sitk import sys import os if len(sys.argv) < 2: print( "Usage: N4BiasFieldCorrection inputImage " + "outputImage [shrinkFactor] [maskImage] [numberOfIterations] " + "[numberOfFittingLevels]" ) sys.exit(1) inputImage = sitk.ReadImage(sys.argv[1], sitk.sitkFloat32...
package org.robolectric.shadows; import android.webkit.MimeTypeMap; import org.robolectric.Robolectric; import org.robolectric.annotation.Implementation; import org.robolectric.annotation.Implements; import java.util.HashMap; import java.util.Map; import static org.robolectric.Robolectric.shadowOf; /** * Shadow fo...
Handlebars.js Project Tutorial on Handlebars.js. The following are covered in this tutorial: 1. Setting up a Handlebars.js project 2.Expressions 3.Handlebar Built-in Helpers: a){{#each}} b){{#if}} & {{else}} c) {{unless}}
package client
// Type definitions for bn.js 4.11 // Project: https://github.com/indutny/bn.js // Definitions by: Leonid Logvinov <https://github.com/LogvinovLeon> // Henry Nguyen <https://github.com/HenryNguyen5> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="node"/> type E...
<?php namespace Imagine\Test\Imagick; use Imagine\Imagick\Imagine; use Imagine\Test\Effects\AbstractEffectsTest; class EffectsTest extends AbstractEffectsTest { protected function setUp() { parent::setUp(); if (!class_exists('Imagick')) { $this->markTestSkipped('Imagick is not ...
#pragma once #include <string> #include <jni.h> #include <fb/visibility.h> namespace facebook { namespace jni { namespace detail { void utf8ToModifiedUTF8(const uint8_t* bytes, size_t len, uint8_t* modified, size_t modifiedLength); size_t modifiedLength(const std::string& str); size_t modifiedLength(const uint8...
<?php namespace Ouzo\Tools\Controller\Template; use Ouzo\Utilities\Path; class ActionAppender { private ?ControllerGenerator $controllerGenerator = null; private ?ViewGenerator $viewGenerator = null; public function __construct(private ActionGenerator $actionGenerator) { } public function ...
from __future__ import absolute_import from email.parser import FeedParser import logging import os from pip.basecommand import Command from pip.status_codes import SUCCESS, ERROR from pip._vendor import pkg_resources logger = logging.getLogger(__name__) class ShowCommand(Command): """Show information about o...
interface Base { foo: string; } interface Derived extends Base { bar: string; } interface Derived2 extends Derived { baz: string; } class A { [x: string]: Derived; } class B extends A { [x: string]: Base; // error } class B2 extends A { [x: string]: Derived2; // ok } module Generics { ...
<?php $vs_id_prefix = $this->getVar('placement_code').$this->getVar('id_prefix'); $t_instance = $this->getVar('t_instance'); $t_item = $this->getVar('t_item'); // entity $t_item_rel = $this->getVar('t_item_rel'); $va_settings = $this->getVar('settings'); $vs_add_label = $this->getVar('a...
from vtk import * reader2 = vtkXMLTreeReader() reader2.SetFileName("vtkclasses.xml") reader2.Update() reader3 = vtkXMLTreeReader() reader3.SetFileName("vtklibrary.xml") reader3.Update() view2 = vtkTreeMapView() view2.SetRepresentationFromInput(reader2.GetOutput()) view2.SetAreaSizeArrayName("size") view2.SetAreaColo...
@ECHO OFF @Echo Building and deploying... call build.cmd /target:UpdateVersion
package org.semanticweb.elk.util.concurrent.computation; import static org.junit.Assert.fail; /** * An interrupter to be used in unit tests, which always fails for interruption * attempts * * @author "Yevgeny Kazakov" * */ public class FailingInterrupter implements Interrupter { @Override public void setI...
class StoreGithubRequestErrors < ActiveRecord::Migration def change add_column :repos, :github_error_msg, :text end end
package org.apache.ignite.internal.processors.rest.handlers.redis.key; import java.nio.ByteBuffer; import java.util.Collection; import java.util.List; import java.util.Map; import org.apache.ignite.IgniteCheckedException; import org.apache.ignite.IgniteLogger; import org.apache.ignite.internal.GridKernalContext; imp...
export { default } from "../.internal/themes/amchartsdark"; //# sourceMappingURL=amchartsdark.js.map
package gameEngine.test; import static org.junit.Assert.*; import gameEngine.constant.GameEngineConstant; import gameEngine.controller.Controller; import gameEngine.model.GameInfo; import gameEngine.model.Model; import gameEngine.model.purchase.PurchaseInfo; import gameEngine.view.View; import gameEngine.view.gameFram...
module.exports = [ { 'should': 'Should complement percentage horizontal position ', 'expected': 'div {background-position:100% 75%;}', 'input': 'div {background-position:0 75%;}', 'reversable': false }, { 'should': 'Should complement percentage horizontal position with calc', 'expected': '...
#ifndef LIBHDFS_MUTEXES_H #define LIBHDFS_MUTEXES_H /* * Defines abstraction over platform-specific mutexes. libhdfs has no formal * initialization function that users would call from a single-threaded context * to initialize the library. This creates a challenge for bootstrapping the * mutexes. To address th...
@interface HelloWorld : CCColorLayer { pgeStreamingTexture* m_stream; CCSprite* m_sittingMan; } // returns a Scene that contains the HelloWorld as the only child +(id) scene; @end
(function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as anonymous module. define(['jquery'], factory); } else if (typeof exports === 'object') { // Node / CommonJS factory(require('jquery')); } else { // Browser globals. f...
package cloudapi //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 //dist...
import { Injectable } from '@angular/core'; import { Observable } from 'rxjs/Rx'; import { promisify, takeEvery, takeLatest, connect } from '../../../angular-rxjs-redux'; import { Store } from './store'; import { AppState, ResolvedAppState, IncrementState, TimeState, MathState, ResolvedMathState } from './types'; @I...
/* * 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 * "License"...
<?php declare(strict_types = 1); namespace DrdPlus\Tables\Measurements\Wounds; use DrdPlus\Tables\Measurements\Partials\AbstractBonus; use DrdPlus\Tables\Tables; use Granam\Integer\IntegerInterface; class WoundsBonus extends AbstractBonus { /** * @param int|IntegerInterface $bonusValue * @param Tables ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico"> <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0"> <link rel="stylesheet" type="text/css" href="../../../../examples/resources/syntax/shCore.css"> <link r...
goog.module('test_files.jsdoc_types.module1');var module = module || {id: 'test_files/jsdoc_types/module1.js'};/** * @fileoverview added by tsickle * @suppress {checkTypes} checked by tsc */ class Class { } exports.Class = Class; /** * @record */ function Interface() { } exports.Interface = Interface; /** @type {...
package org.apache.oozie.util; import java.util.Properties; import java.util.Set; import java.io.StringWriter; import java.io.IOException; import java.io.StringReader; import java.io.Reader; import org.apache.hadoop.conf.Configuration; import org.apache.oozie.ErrorCode; import org.apache.oozie.command.CommandExcepti...
package main import "testing" func TestOne(t *testing.T) { if !PalindromeCheck("racecar") { t.Error("Was expecting true, got false") } } func TestTwo(t *testing.T) { if !PalindromeCheck("tacocat") { t.Error("Was expecting true, got false") } } func TestThree(t *testing.T) { if !PalindromeCheck("~ - | * | -...
package selinux import ( "fmt" "sort" "strings" "k8s.io/apimachinery/pkg/util/validation/field" coreapi "k8s.io/kubernetes/pkg/apis/core" securityv1 "github.com/openshift/api/security/v1" "github.com/openshift/apiserver-library-go/pkg/securitycontextconstraints/util" ) type mustRunAs struct { opts *security...
"""API Utilities Library Tests""" import copy from openstackclient.api import api from openstackclient.api import utils as api_utils from openstackclient.tests.api import fakes as api_fakes class TestBaseAPIFilter(api_fakes.TestSession): """The filters can be tested independently""" def setUp(self): ...
import * as t from "../../../types"; function getSpreadLiteral(spread, scope) { if (scope.hub.file.isLoose("es6.spread") && !t.isIdentifier(spread.argument, { name: "arguments" })) { return spread.argument; } else { return scope.toArray(spread.argument, true); } } function hasSpread(nodes) { for (var ...
<?php /** * Loads template from the filesystem. * * @package twig * @author Fabien Potencier <fabien.potencier@symfony-project.com> * @version SVN: $Id$ */ class Twig_Loader_Filesystem implements Twig_LoaderInterface { protected $paths; protected $cache; /** * Constructor. * * @param ...
require 'active_support/core_ext/class/attribute_accessors' require 'active_support/logger_silence' require 'logger' module ActiveSupport class Logger < ::Logger include LoggerSilence # Broadcasts logs to multiple loggers. def self.broadcast(logger) # :nodoc: Module.new do define_method(:a...
package org.elasticsearch.index.analysis; import org.elasticsearch.common.settings.Settings; /** * */ public interface CharFilterFactoryFactory { CharFilterFactory create(String name, Settings settings); }
package org.apache.hadoop.yarn.server.resourcemanager.recovery; import static org.mockito.Mockito.isNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.timeout; import static org.mockito.Mockito.verify; import java.io.File; import java.io.IOException; import org.apache.hadoop.fs.FileUti...
<meta HTTP-EQUIV="REFRESH" content="0;url=status.jsp"/> <html> <head> <title>Hadoop Administration</title> </head> <body> <h1>Hadoop Administration</h1> <ul> <li><a href="status.jsp">Cluster Balancer Status</a></li> </ul> </body> </html>
#import <Foundation/Foundation.h> #import "CCNode.h" #import "CCProtocols.h" /** A CCSpriteFrame has: - texture: A CCTexture2D that will be used by the CCSprite - rectangle: A rectangle of the texture You can modify the frame of a CCSprite by doing: CCSpriteFrame *frame = [CCSpriteFrame frameWithTexture:textu...
package org.apache.sling.scripting.sightly.js.impl.loop; /** * Task in an event loop */ public class Task { private final Runnable runnable; private boolean active; public Task(Runnable runnable) { this.runnable = runnable; this.active = true; } public void run() { if ...
using extensions::Extension; //////////////////////////////////////////////////////////////////////////////// // BrowserActionView BrowserActionView::BrowserActionView(const Extension* extension, Browser* browser, BrowserActionView::Delegate* d...
/** * @fileoverview Rule to enforce declarations in program or function body root. * @author Brandon Mills */ "use strict"; //------------------------------------------------------------------------------ // Rule Definition //------------------------------------------------------------------------------ module.ex...
package com.intellij.codeInsight.navigation; import com.intellij.codeHighlighting.Pass; import com.intellij.codeInsight.daemon.RelatedItemLineMarkerInfo; import com.intellij.ide.util.DefaultPsiElementCellRenderer; import com.intellij.ide.util.PsiElementListCellRenderer; import com.intellij.lang.annotation.Annotation;...
MathJax.Localization.addTranslation("cy","MathML",{version:"2.6.0-beta",isLoaded:true,strings:{}});MathJax.Ajax.loadComplete("[MathJax]/localization/cy/MathML.js");
namespace { const int kRSAKeySize = 1024; }; ExtensionCreator::ExtensionCreator() : error_type_(kOtherError) { } bool ExtensionCreator::InitializeInput( const FilePath& extension_dir, const FilePath& crx_path, const FilePath& private_key_path, const FilePath& private_key_output_path, int run_fla...
<?xml version="1.0" encoding="utf-8"?> <reflection> <assemblies> <assembly name="System.Data.SqlClient"> <assemblydata version="4.0.0.0" culture="" key="002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD2...
package com.esri.gpt.catalog.lucene.stats; import java.util.Comparator; /** * Named frequency comparator, first by decending frequency, then by ascending name. */ class FrequencyComparator implements Comparator<NamedFrequency> { /** class variables ========================================================= */ ...
package com.javadevjournal.tutorials.corejava.io.readfile; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; /** * Created by umesh on 5/2/17. */ public class ReadFileByBufferReader { public static void main(String[] args){ Stri...
package org.elasticsearch.discovery.zen.ping; import com.google.common.collect.ImmutableList; import org.elasticsearch.Version; import org.elasticsearch.cluster.ClusterName; import org.elasticsearch.common.Nullable; import org.elasticsearch.common.component.AbstractLifecycleComponent; import org.elasticsearch.common...
'use strict'; /* global Connector */ Connector.playerSelector = '#onair_block'; Connector.artistSelector = '#nowplaying [id^=artiste_]'; Connector.trackSelector = '#nowplaying [id^=titre_]'; Connector.isPlaying = function () { return $('.jp-pause').is(':visible'); };
package com.google.pubsublite.kafka.sink; import com.google.cloud.pubsublite.CloudZone; import com.google.cloud.pubsublite.ProjectPath; import com.google.cloud.pubsublite.PublishMetadata; import com.google.cloud.pubsublite.TopicName; import com.google.cloud.pubsublite.TopicPath; import com.google.cloud.pubsublite.inte...
\documentclass[9pt]{beamer} \usepackage{etex} % Weird problem on dimentions %\usetheme{spensiones} %\mode<presentation> { \setbeamercovered{transparent} } %\usepackage{stata} \usepackage{tikz, tabularx, ulem} %\usepackage{fancyvrb} \usetikzlibrary{arrows, fit,positioning} \title[{\tt parallel}]{Just tired of endless l...
action :enable do execute "supervisorctl update" do action :nothing user "root" end template "#{node['supervisor']['dir']}/#{new_resource.service_name}.conf" do source "program.conf.erb" cookbook "supervisor" owner "root" group "root" mode "644" variables :prog => new_resource ...
package groovy.util; import groovy.lang.Closure; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import java.util.*; /** * Map decorator that will trigger PropertyChangeEvents when a value changes.<br> * An optional Closure may ...
package org.apache.camel.component.ganglia; import java.io.IOException; import java.net.URI; import info.ganglia.gmetric4j.gmetric.GMetric; import info.ganglia.gmetric4j.gmetric.GMetricSlope; import info.ganglia.gmetric4j.gmetric.GMetricType; import org.apache.camel.RuntimeCamelException; import org.apache.camel.sp...
//%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...
package sun.java2d.cmm; import java.awt.color.ICC_Profile; /* Pluggable CMM interface */ public interface PCMM { /* methods invoked from ICC_Profile */ public Profile loadProfile(byte[] data); public void freeProfile(Profile p); public int getProfileSize(Profile p); public void getProfileData...
package com.google.common.collect.testing.testers; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.AbstractCollectionTester; import java.util.Set; /** * <p>This class is GWT compatible. * * @author George van den Driessche */ @GwtCompatible public class AbstractSetT...
from pymongo import MongoClient from bson.objectid import ObjectId from bson.timestamp import Timestamp from datetime import datetime, timedelta from twisted.trial.unittest import TestCase from tests.utils import ObjectMaker from vusion.component import DialogueWorkerPropertyHelper, PrintLogger from vusion.persist ...
<!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 disc...
package proxy import ( "fmt" "io/ioutil" "net/http" "net/http/httptest" "net/url" "os" "path/filepath" "strings" "testing" "k8s.io/apimachinery/pkg/util/proxy" "k8s.io/client-go/rest" ) func TestAccept(t *testing.T) { tests := []struct { acceptPaths string rejectPaths string acceptHosts str...
import { ElementRef } from './element_ref'; import { EmbeddedViewRef } from './view_ref'; /** * Represents an Embedded Template that can be used to instantiate Embedded Views. * * You can access a `TemplateRef`, in two ways. Via a directive placed on a `<ng-template>` element * (or directive prefixed with `*`) and...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparams.h" #include "random.h" #include "util.h" #include "utilstrencod...