text stringlengths 3 1.05M |
|---|
/* A Minimalistic Wrapper for IndexedDB
====================================
By David Fahlander, david.fahlander@gmail.com
Version 1.2.0 - September 22, 2015.
Tested successfully on Chrome, Opera, Firefox, Edge, and IE.
Official Website: www.dexie.com
Licensed under the Apache License Version 2.0... |
package org.fusesource.fabric.camel.facade.mbean;
import java.util.List;
import java.util.Map;
import org.apache.camel.fabric.FabricTracerEventMessage;
/**
* Used for JBoss Fuse 6.0 and older versions of Camel.
*/
public interface CamelFabricTracerMBean {
String getId();
void setEnabled(boolean enabled)... |
/* ========================================================================
* ZUI: array.js
* Array Polyfill.
* http://zui.sexy
* ========================================================================
* Copyright (c) 2014 cnezsoft.com; Licensed MIT
* ===========================================================... |
package org.keycloak.crypto;
import org.keycloak.common.VerificationException;
import org.keycloak.jose.jws.JWSInput;
import org.keycloak.keys.loader.PublicKeyStorageManager;
import org.keycloak.models.ClientModel;
import org.keycloak.models.KeycloakSession;
public class ClientAsymmetricSignatureVerifierContext exte... |
<?php
/**
* Base static class for performing query and update operations on the 'item2itemcategory' table.
*
*
*
* This class was autogenerated by Propel 1.4.2
*
*
* @package lib.model.om
*/
abstract class BaseItem2itemcategoryPeer {
/** the default database name for this class */
const DATABASE_NAME =... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
<title>Highcharts API Reference</title>
<link href="css/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" href="css/jquery-ui.... |
<div class="bs-docs-section">
<h1 id="collapse" class="page-header">Collapse <small>collapse.js</small></h1>
<p class="lead">Flexible plugin that utilizes a handful of classes for easy toggle behavior.</p>
<div class="bs-callout bs-callout-danger" id="callout-collapse-dependency">
<h4>Plugin dependency</h4>... |
/**
* The YAHOO object is the single global object used by YUI Library. It
* contains utility function for setting up namespaces, inheritance, and
* logging. YAHOO.util, YAHOO.widget, and YAHOO.example are namespaces
* created automatically for and used by the library.
* @module yahoo
* @title YAHOO Global
*... |
static CMainSignals g_signals;
CMainSignals& GetMainSignals()
{
return g_signals;
}
void RegisterValidationInterface(CValidationInterface* pwalletIn) {
g_signals.AcceptedBlockHeader.connect(boost::bind(&CValidationInterface::AcceptedBlockHeader, pwalletIn, _1));
g_signals.NotifyHeaderTip.connect(boost::bi... |
Support for mapping between file extensions and MIME types. This module uses the latest version of the Apache "mime.types" file (maps over 620 types to 800+ extensions). It is also trivially easy to add your own types and extensions, should you need to do that.
## Install
Install with [npm](http://github.com/isaacs... |
namespace content {
class AppCacheRequestHandler;
class AppCacheServiceImpl;
// An interceptor to hijack requests and potentially service them out of
// the appcache.
class CONTENT_EXPORT AppCacheInterceptor
: public net::URLRequest::Interceptor {
public:
// Registers a singleton instance with the net library.
... |
#include "include.h"
#include "version.h"
#include "net/server.h"
#include "ssdb/ssdb.h"
#include "util/app.h"
#include "serv.h"
#define APP_NAME "ssdb-server"
#define APP_VERSION SSDB_VERSION
class MyApplication : public Application
{
public:
virtual void usage(int argc, char **argv);
virtual void welcome();
vir... |
<?xml version="1.0" encoding="utf-8"?>
<CoverageSession>
<Summary numSequencePoints="23" visitedSequencePoints="20" numBranchPoints="23" visitedBranchPoints="20" sequenceCoverage="0.87" branchCoverage="0.87" maxCyclomaticComplexity="0" minCyclomaticComplexity="0" visitedClasses="2" numClasses="2" visitedMethods="6" ... |
<?php
$start = microtime(true);
// Конфиг
require_once(__DIR__ . '/config.php');
require_once(__DIR__ . '/lib/autoload.php');
$data = [
'some_data' => '<button class="btn btn-success btn-lg">Ещё одна кнопка</button>',
'button' => ['text' => 'Жмакни меня'],
'lines' => 'Hello, world!',
'email' => 'hellow... |
namespace glm
{
/// @addtogroup gtc_matrix_access
/// @{
/// Get a specific row of a matrix.
/// @see gtc_matrix_access
template <typename genType>
typename genType::row_type row(
genType const & m,
length_t const & index);
/// Set a specific row to a matrix.
/// @see gtc_matrix_access
template <typenam... |
;(function($, window, undefined) {
"use strict";
$.fn.dataRemote = function(opts) {
// Default Settings
var defaults = {
url: null, // request url
data: {}, // request data
debug: false,
eventType: 'load', // js event type to fire data request on (load, click, submit, mouseover, cu... |
"""Tests for separable convolutional layers."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from absl.testing import parameterized
import numpy as np
from tensorflow.python import keras
from tensorflow.python.keras import keras_parameterized
from tenso... |
<html>
<head prefix="og: http://ogp.me/ns#">
<title>Opengraph Article Title</title>
<meta property="og:type" content="article"/>
</head>
<body>
Lorem ipsum dolor sit amet, at alia aliquip vel. Quas inani labore an vel. Sed an nemore minimum accusata. Sint inermis tacimates est ex, ad movet iracundia mei, delicata i... |
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "masternode/active.h"
#include "consensus/validation.h"
#include "init.h"
#include "governance.h"
#include "mastern... |
package com.aliyun.android.oss;
import java.io.FileOutputStream;
import java.util.List;
import com.aliyun.android.oss.http.HttpContentType;
import com.aliyun.android.oss.model.AccessLevel;
import com.aliyun.android.oss.model.Bucket;
import com.aliyun.android.oss.model.MultipartUploadSummary;
import com.aliyun.androi... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2009-2010, WSO2 Inc. (http://www.wso2.org) 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
~
~ htt... |
package org.apache.camel.component.consul.endpoint;
import java.math.BigInteger;
import java.util.List;
import java.util.function.Function;
import com.orbitz.consul.Consul;
import com.orbitz.consul.model.ConsulResponse;
import com.orbitz.consul.option.ConsistencyMode;
import com.orbitz.consul.option.ImmutableQueryOp... |
/*jslint white: true, browser: true, plusplus: true, indent: 4, maxerr: 50 */
var Handsontable = { //class namespace
plugins: {}, //plugin namespace
helper: {} //helper namespace
};
(function ($, window, Handsontable) {
"use strict";
//http://stackoverflow.com/questions/3629183/why-doesnt-indexof-work-on-an-ar... |
<?php
namespace DesignPatterns\Behavioral\State;
class ShippingOrder implements Order
{
/**
* @var array
*/
private $details;
/**
* @param array $details
*/
public function __construct(array $details)
{
$this->details = $details;
}
public function shipOrder()
... |
<?php
if (! defined('BASEPATH'))
exit('No direct script access allowed');
class Upload extends MY_CONTROLLER
{
public function __construct()
{
parent::__construct();
$this->load->helper('url');
}
public function index()
{}
public function upload_file()
{
$stat... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*============================================================================
**
** Source: test11.c
**
** Purpose: Tests swprintf with unsigned numbers
**
**
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>chart</title>
<link href="http://www.laszlosystems.com/favicon.ico" rel="icon"/>
<link href="styles.css" type="text/css" rel="style... |
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>Third Ear Program</title>
<meta name="description" content="">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="wi... |
package org.apache.sling.servlets.resolver.internal.resource;
import javax.servlet.Servlet;
import org.apache.sling.api.resource.ResourceResolver;
public class MockServletResource extends
org.apache.sling.servlets.resolver.internal.resource.ServletResource {
public MockServletResource(ResourceResolver r... |
<?php // enche o hp.
include('lib.php');
$link = opendb();
include('cookies.php');
$userrow = checkcookies();
if (isset($_GET["do"])) {
$do = $_GET["do"];
if ($do == "jutsu") { jutsu(); }
elseif ($do == "aprendendo2") { aprendendo2(); }
elseif ($do == "usar") {unset($_GET["do"]); usar(); }
}
... |
package org.jetbrains.idea.maven.dom.converters;
import com.intellij.util.xml.ConvertContext;
import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
public class MavenRepositoryChecksumPolicyConverter extends MavenConstantListConverter {
private stat... |
// Copyright (c) 2009-2016 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 "pubkey.h"
#include <secp256k1.h>
#include <secp256k1_recovery.h>
namespace
{
/* Global secp256k1_context object u... |
package au.com.roadhouse.rxdbflow.rx2.structure;
import android.content.ContentValues;
import android.support.annotation.IntRange;
import com.raizlabs.android.dbflow.config.FlowManager;
import com.raizlabs.android.dbflow.structure.InternalAdapter;
import com.raizlabs.android.dbflow.structure.ModelAdapter;
import com.... |
// This code is auto-generated, do not modify
package com.spectralogic.ds3client.commands.spectrads3;
import com.spectralogic.ds3client.networking.HttpVerb;
import com.spectralogic.ds3client.commands.interfaces.AbstractRequest;
public class GetCacheStateSpectraS3Request extends AbstractRequest {
// Variables
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
<?php
/**
* Super-class for definition datatype objects, implements serialization
* functions for the class.
*/
abstract class HTMLPurifier_Definition
{
/**
* Has setup() been called yet?
* @type bool
*/
public $setup = false;
/**
* If true, write out the final definition object to... |
package io.buoyant.k8s
import com.twitter.logging.Logger
private[k8s] case class PortMapLogger(nsName: String, serviceName: String) {
def logDiff[A, B](oldPorts: Map[A, B], newPorts: Map[A, B]): Unit =
if (log.isLoggable(Logger.TRACE)) {
for {
port <- oldPorts.keySet
oldValue <- oldPorts.g... |
package org.knowm.xchange.bittrex.dto.trade;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
impor... |
var cordova_lib = require('cordova-lib');
module.exports = cordova_lib.cordova; |
.. highlight:: shell
============
Contributing
============
Contributions are welcome, and they are greatly appreciated! Every
little bit helps, and credit will always be given.
You can contribute in many ways:
Types of Contributions
----------------------
Report Bugs
~~~~~~~~~~~
Report bugs at https://github.com... |
namespace blink {
class FontUniqueNameLookupLinux : public FontUniqueNameLookup {
public:
FontUniqueNameLookupLinux() = default;
FontUniqueNameLookupLinux(const FontUniqueNameLookupLinux&) = delete;
FontUniqueNameLookupLinux& operator=(const FontUniqueNameLookupLinux&) =
delete;
~FontUniqueNameLookupLin... |
<?php
namespace Jump24\FitBit;
use GuzzleHttp\Client;
use GuzzleHttp\Subscriber\Oauth\Oauth1;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Exception\ServerException;
class FitBitSubscriptions extends FitBitBaseApi{
protected $request_token_url = 'https://ap... |
static const float delay = 0.f;
static const float duration = .25f;
static const enum UIViewAnimationOptions options = UIViewAnimationOptionCurveEaseIn;
@interface SWActionSheetVC : UIViewController
@property (nonatomic, retain) SWActionSheet *actionSheet;
@end
@interface SWActionSheet ()
{
UIWindow *SWActi... |
namespace content {
#if defined(USE_X11) || defined(USE_OZONE)
// From third_party/WebKit/Source/web/gtk/WebInputEventFactory.cpp:
blink::WebUChar GetControlCharacter(int windows_key_code, bool shift) {
if (windows_key_code >= ui::VKEY_A &&
windows_key_code <= ui::VKEY_Z) {
// ctrl-A ~ ctrl-Z map to \x01 ~ \... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head>
<link href="//gmpg.org/xfn/11" rel="profile">
<link href="https://google.github.io/filament/favicon.png" rel="icon" type="image/x-icon" />
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta na... |
package options
import (
"github.com/spf13/pflag"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
kubectrlmgrconfig "k8s.io/kubernetes/pkg/controller/apis/config"
)
// ResourceQuotaControllerOptions holds the ResourceQuotaController options.
type ResourceQuotaControllerOptions struct {
ResourceQuotaSyncPeriod ... |
package org.spongepowered.mod.service.persistence.builders.block.tile;
import com.google.common.base.Optional;
import net.minecraft.tileentity.TileEntitySkull;
import org.spongepowered.api.Game;
import org.spongepowered.api.block.tile.Skull;
import org.spongepowered.api.service.persistence.InvalidDataException;
impo... |
layout: tagpage
title: "Tag: scalability"
tag: scalability
robots: noindex
---
|
package etcd
import (
"path"
"reflect"
"sync"
"testing"
"time"
etcd "github.com/coreos/etcd/client"
"github.com/stretchr/testify/assert"
"golang.org/x/net/context"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/testapi"
apitesting "k8s.io/kubernetes/pkg/api/testing"
"k8s.io/kubernetes/pkg/conver... |
using System.Linq;
using System.Reflection;
using NUnit.Framework;
namespace CrmUp.Tests
{
[Category("Script")]
[TestFixture]
class SolutionFileTests
{
[Test]
public void Should_Load_Contents_And_Name_From_Embedded_Resource()
{
// arrange
var assembly = ... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Immutable
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices
Imports Microsoft.CodeAnalysis.Text
Import... |
YUI.add('editor-lists', function(Y) {
/**
* Handles list manipulation inside the Editor. Adds keyboard manipulation and execCommand support. Adds overrides for the <a href="Plugin.ExecCommand.html#method_COMMANDS.insertorderedlist">insertorderedlist</a> and <a href="Plugin.ExecCommand.html#method_COMMANDS.in... |
import logging
from pip.basecommand import Command
from pip.operations.check import check_requirements
from pip.utils import get_installed_distributions
logger = logging.getLogger(__name__)
class CheckCommand(Command):
"""Verify installed packages have compatible dependencies."""
name = 'check'
usage =... |
module M {
export interface E { }
interface I { }
}
module M {
export interface E { } // ok
interface I { } // ok
}
// Doesn't match export visibility, but it's in a different parent, so it's ok
module M {
interface E { } // ok
export interface I { } // ok
}
module N {
inte... |
package command
import (
"fmt"
"io"
"strings"
"github.com/onsi/ginkgo/v2/formatter"
"github.com/onsi/ginkgo/v2/types"
)
type Command struct {
Name string
Flags types.GinkgoFlagSet
Usage string
ShortDoc string
Documentation string
DocLink string
Command func(args ... |
using base::Time;
using base::TimeDelta;
using bookmark_utils::GetTitleFromTreeIter;
// Base class for bookmark editor tests. This class is a copy from
// bookmark_editor_view_unittest.cc, and all the tests in this file are
// GTK-ifications of the corresponding views tests. Testing here is really
// important because... |
require File.expand_path('../../spec_helper', __FILE__)
feature 'group collaborators', js: true do
given(:user) { create(:user, :confirmed) }
given(:event) { create(:event, user: user) }
given(:partner) { create(:user, :confirmed) }
given(:collaborator) { create(:group_collaborator, group_id: event.group.id, u... |
package org.kuali.rice.kns.web.taglib.html;
import org.apache.commons.lang.StringUtils;
import org.apache.struts.action.ActionForm;
import org.apache.strutsel.taglib.html.ELButtonTag;
import org.kuali.rice.kns.util.WebUtils;
import org.kuali.rice.kns.web.struts.form.pojo.PojoForm;
import javax.servlet.jsp.J... |
// OCHamcrest by Jon Reid, http://qualitycoding.org/about/
// Copyright 2016 hamcrest.org. See LICENSE.txt
#import <Foundation/Foundation.h>
#import <OCHamcrest/HCDescription.h>
/*!
* @abstract Base class for all @ref HCDescription implementations.
*/
@interface HCBaseDescription : NSObject <HCDescription>
@end
... |
This library requires Java 8 or higher.
## Setup ##
*java-ca-lib* has not been released yet. You can test it using Sonatype's
SNAPSHOT repository.
Using Maven, configure Sonatype's SNAPSHOT repository:
```xml
<repositories>
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</nam... |
# Android DataBinding:再见Presenter,你好ViewModel!
> @author ASCE1885的 [Github](https://github.com/ASCE1885) [简书](http://www.jianshu.com/users/4ef984470da8/latest_articles) [微博](http://weibo.com/asce885/profile?rightmod=1&wvr=6&mod=personinfo) [CSDN](http://blog.csdn.net/asce1885)
[原文链接](http://tech.vg.no/2015/07/17/andr... |
package org.eclipse.cft.server.ui.internal;
/**
* Used for UI parts that require listeners to be notified when control values
* and state change.
*/
public interface IPartChangeListener {
public void handleChange(PartChangeEvent event);
}
|
retValue = bfs.VARIABLES >> ); |
package api
import (
"encoding/json"
"testing"
)
func TestVolumesFromUnmarshal(t *testing.T) {
var vols []VolumeFrom
err := json.Unmarshal([]byte(`[{"sourceContainer":"c1"},{"sourceContainer":"c2","readOnly":true}]`), &vols)
if err != nil {
t.Fatal("Unable to unmarshal json")
}
if (vols[0] != VolumeFrom{Sour... |
<div>
Im Regelfall sollten Sie dieses Feld leerlassen und Jenkins die richtige Shell-Installation
wählen lassen. Falls Ihre <tt>sh</tt> (Windows) oder <tt>/bin/sh</tt> Kommandozeilenanwendung
nicht über die <tt>PATH</tt> Umgebungsvariable gefunden werden kann, geben Sie den absoluten Pfad
zur <tt>sh</tt> Komm... |
package org.jboss.hal.client.configuration.subsystem.datasource.wizard;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Provider;
import com.google.web.bindery.event.shared.EventBus;
import org.jboss.hal.ballroom.wizard.Wizard;
import org.jboss.hal.client.configuration.subsystem.datasource.Da... |
"""
wechatpy.exceptions
~~~~~~~~~~~~~~~~~~~~
Basic exceptions definition.
:copyright: (c) 2014 by messense.
:license: MIT, see LICENSE for more details.
"""
from __future__ import absolute_import, unicode_literals
import six
from wechatpy.utils import to_binary, to_text
class WeChatException(Ex... |
package com.techempower;
public class World {
public final int id;
public final int randomNumber;
public World(int id, int randomNumber) {
this.id = id;
this.randomNumber = randomNumber;
}
}
|
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.parts;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.LineBorder;
import org.eclipse.draw2d.MarginBorder;
import org.eclipse.gef.EditPart;
import org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeCompartmentEditPart;
import org.eclipse.gmf.run... |
<?php
namespace Symfony\Component\EventDispatcher\Tests\Debug;
use Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Compone... |
.popover {
position: absolute;
-webkit-border-image: url(Images/popoverBackground.png) 25 25 25 25;
border-width: 25px;
z-index: 100;
pointer-events: none;
}
.popover .content {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
pointer-events: auto;
overflow: aut... |
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- Artifact Information -->
<groupI... |
post_title: Top albums of 2018
post_date: 2018-11-09 00:00:00
post_modified: 2018-11-09 00:00:00
post_status: publish
post_type: top_list
post_category: music
post_author: Luke Boyle
---
## God's Favorite Customer
### Father John Misty

## TA13OO
### Denzel Cur... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>contao-gulp-boilerplate</title>
<!-- include compiled & minified CSS file -->
<link rel="stylesheet" href="/files/theme/css/all.css" />
</head>
<body>
<div class="container">
<div class="row">
<div class="c... |
//
// DTExtendedFileAttributes.h
// DTFoundation
//
// Created by Oliver Drobnik on 3/6/12.
// Copyright (c) 2012 Cocoanetics. All rights reserved.
//
/**
This class provides read/write access to extended file attributes of a file or folder. It wraps the standard xattr Posix functions to do that.
Because the f... |
#if NET_45
using System.Threading.Tasks;
using System.Collections.Generic;
#endif
using System.Diagnostics.CodeAnalysis;
namespace Octokit
{
/// <summary>
/// A client for GitHub's Orgs API.
/// </summary>
/// <remarks>
/// See the <a href="http://developer.github.com/v3/orgs/">Orgs API documentat... |
package model
type Token struct {
AccessToken string
RefreshToken string
Expiry int64
}
|
namespace {
// This takes a viewport-relative vector and returns a vector whose values are
// between 0 and 1, representing the percentage position within the viewport.
gfx::Vector2dF NormalizeFromViewport(const gfx::Vector2dF& denormalized,
const gfx::SizeF& viewport_size) {
ret... |
<?php
declare(strict_types=1);
namespace Mcfedr\QueueManagerBundle\Manager;
use Mcfedr\QueueManagerBundle\Queue\Job;
use Mcfedr\QueueManagerBundle\Queue\TestJob;
use Psr\Log\LoggerInterface;
class TestQueueManager implements QueueManager
{
private LoggerInterface $logger;
public function __construct(array ... |
package org.apache.hadoop.yarn.api.protocolrecords;
import org.apache.hadoop.classification.InterfaceAudience.Public;
import org.apache.hadoop.classification.InterfaceStability.Stable;
import org.apache.hadoop.yarn.api.ContainerManagementProtocol;
import org.apache.hadoop.yarn.api.records.ContainerLaunchContext;
imp... |
package mss
// Message Send Service
|
1.7.3 / 2017-02-17
===================
* [chore] Bump engine.io-client to version 1.8.3
1.7.2 / 2016-12-11
===================
* [chore] Bump engine.io-client to version 1.8.2 (#1044)
* [chore] Speed up lint by avoiding '**/*.js' matching pattern (#1043)
1.7.1 / 2016-11-28
==================
* [docs] Add s... |
function addCart(){
//<![CDATA[
(function(){
// 工具类
var Tools = {
$ : fTool$,
createTr : fToolCreateTr,
listen : fToolsListen,
getTarget : fToolsGetTarget
}
// 获取节点
function fTool$(sId){
return document.getElementById(sId);
}
// 构造tr节点
function fToolCreateTr(sHtml){
... |
/// <reference path="../../observable.ts"/>
module Rx {
export interface Observable<T> {
/**
* Applies an accumulator function over an observable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator... |
span.sakai-compulsory-question {
font-weight: bold;
color: #ff0000;
}
div.form-section dt.sakai-validation-error {
font-style: italic;
background-color: #dfdfdf;
background:-moz-linear-gradient(top, #fff, #dfdfdf);
background:-webkit-gradient(linear, left top, left bottom, from(#fff), to(#dfdfd... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/DTD/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Firebug Lite</title>
<link href="firebug.css" rel="stylesheet" type="text/css" />
<style>html,body{margin:0;padding:0;overflow:hid... |
<!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... |
/**
* angular-strap
* @version v2.2.1 - 2015-05-15
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
'use strict';
angular.module('mgcrea.ngStrap.alert', [ 'mgcrea.ngStrap.m... |
namespace {
using google_breakpad::DisassemblerX86;
unsigned char just_return[] = "\xc3"; // retn
unsigned char invalid_instruction[] = "\x00"; // invalid
unsigned char read_eax_jmp_eax[] =
"\x8b\x18" // mov ebx, [eax];
"\x33\xc9" // xor ebx, ebx;
"\xff\x20" ... |
describe('policies.wizard.service.policy-cube-service', function () {
beforeEach(module('webApp'));
beforeEach(module('model/policy.json'));
beforeEach(module('api/cube.json'));
beforeEach(module('model/cube.json'));
var service, q, rootScope, httpBackend, translate, ModalServiceMock, PolicyModelFactoryMock,... |
#ifndef __DMA_15XX_H_
#define __DMA_15XX_H_
#ifdef __cplusplus
extern "C" {
#endif
/** @defgroup DMA_15XX CHIP: LPC15xx DMA Controller driver
* @ingroup CHIP_15XX_Drivers
* @{
*/
/**
* @brief DMA Controller shared registers structure
*/
typedef struct { /*!< DMA shared registers structure... |
class RenameSignedUpUsersToSignedUpTeams < ActiveRecord::Migration
def self.up
rename_table :signed_up_users, :signed_up_teams
end
def self.down
rename_table :signed_up_teams, :signed_up_users
end
end
|
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.Text
Imports Microsoft.CodeAnalysis.VisualBasic.Symbols
Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
Namespace Microsoft.... |
Lets you wrap a bunch of array data into a ViewableData object.
For an example of ArrayData in use, see [tutorial:3-forms: Showing the poll
results](tutorial/3-forms#showing_the_poll_results)
Here is an example of simply turning an Array into a ViewableData object so that it can displayed in a template:
:::php
//... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Syst. mycol. (Lundae) 1: 242 (1821)
#### Original name
Agaricus heteroclitus Fr., 1818
### Remarks
null |
var env = require('./environment.js');
// Test having two browsers interacting with each other.
exports.config = {
seleniumAddress: env.seleniumAddress,
framework: 'jasmine',
// Spec patterns are relative to this directory.
specs: [
'interaction/*_spec.js'
],
capabilities: env.capabilities,
baseU... |
namespace views {
class Label;
class View;
}
namespace ash {
namespace internal {
class TrayItemView;
// Sets up a Label properly for the tray (sets color, font etc.).
void SetupLabelForTray(views::Label* label);
// TODO(jennyz): refactor these two functions to SystemTrayItem.
// Sets the empty border of an image t... |
package com.streamsets.pipeline.stage.origin.udp;
import com.streamsets.pipeline.api.ConfigDefBean;
import com.streamsets.pipeline.api.ConfigGroups;
import com.streamsets.pipeline.api.ExecutionMode;
import com.streamsets.pipeline.api.GenerateResourceBundle;
import com.streamsets.pipeline.api.Source;
import com.stream... |
"""
Volume driver for NetApp Data ONTAP (7-mode) iSCSI storage systems.
"""
from cinder import interface
from cinder.volume import driver
from cinder.volume.drivers.netapp.dataontap import block_7mode
@interface.volumedriver
class NetApp7modeISCSIDriver(driver.BaseVD,
driver.ConsistencyG... |
using System;
namespace Acquaintance.RequestResponse
{
/// <summary>
/// An encapsulated request. Includes methods to wait for and retrieve results of an asynchronous listener
/// </summary>
/// <typeparam name="TResponse"></typeparam>
public interface IRequest<out TResponse>
{
/// <su... |