text
stringlengths
3
1.05M
package org.jboss.modules.filter; /** * A path filter which simply inverts the result of another path filter. * * @author <a href="mailto:david.lloyd@redhat.com">David M. Lloyd</a> */ final class InvertingPathFilter implements PathFilter { private final PathFilter delegate; /** * Construct a new in...
import logging from environment import IsAppEngine class CustomLogger(object): '''Wraps logging methods to include a prefix and flush immediately. The flushing is important because logging is often done from jobs which may time out, thus losing unflushed logs. ''' def __init__(self, prefix): self._pref...
#ifndef _MLXSW_CMD_H #define _MLXSW_CMD_H #include "item.h" #define MLXSW_CMD_MBOX_SIZE 4096 static inline char *mlxsw_cmd_mbox_alloc(void) { return kzalloc(MLXSW_CMD_MBOX_SIZE, GFP_KERNEL); } static inline void mlxsw_cmd_mbox_free(char *mbox) { kfree(mbox); } static inline void mlxsw_cmd_mbox_zero(char *mbox)...
@interface RSWeakKVOProxy : NSProxy - (instancetype)initWithTarget:(id)target; @end
package org.apache.zeppelin.markdown; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import org.apache.commons.lang3.StringUtils; import org.apache.http.HttpStatus; import org.apache.http.NameValuePair; import org.apache.http.client.entity.UrlEncodedFormEntity; imp...
package org.apache.camel.swagger; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.LinkedHashSet; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Set; import io.swagger.jaxrs.config.BeanConfig; import io.swagger.models.Mode...
package service import ( "fmt" "github.com/docker/docker/api/client" "github.com/docker/docker/cli" "github.com/spf13/cobra" "golang.org/x/net/context" ) func newCreateCommand(dockerCli *client.DockerCli) *cobra.Command { opts := newServiceOptions() cmd := &cobra.Command{ Use: "create [OPTIONS] IMAGE [CO...
package clang // #include "./clang-c/Documentation.h" // #include "go-clang.h" import "C" import "fmt" // The most appropriate rendering mode for an inline command, chosen on command semantics in Doxygen. type CommentInlineCommandRenderKind uint32 const ( // Command argument should be rendered in a normal font. Co...
import commandLineCommands = require('command-line-commands'); const commands = [null, 'first', 'second']; const { command, argv } = commandLineCommands(commands, ['first', '--arg']);
package org.clulab.processors.clu.tokenizer /** * Implements one step of a tokenization algorithm, which takes in a sequence of tokens and produces another * For example, contractions such as "don't" are handled here; domain-specific operations as well. * Note: one constraint that must be obeyed by any Tokenizer...
from azure.core.pipeline.transport import AsyncHttpTransport class AsyncTransportWrapper(AsyncHttpTransport): """Wrapper class that ensures that an inner client created by a `get_client` method does not close the outer transport for the parent when used in a context manager. """ def __init__(self...
package org.gradle.model; import org.gradle.api.Incubating; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Denotes that the {@link RuleSource} method rule carrying this annotation defines additi...
COMMIT_REGEX="Merge pull request #[0-9]+ from .+\s*Release [0-9]+\.[0-9]+\.[0-9]+" if [[ $TRAVIS_COMMIT_MESSAGE =~ $COMMIT_REGEX ]] then echo This is a merge from master - exiting exit 0 fi # We are processing a build resulting from merging a feature into develop # Proceed to create a release branch updating the v...
namespace content { namespace responsiveness { using CongestionType = Calculator::CongestionType; using StartupStage = Calculator::StartupStage; using ::testing::_; namespace { // Copied from calculator.cc. constexpr int kMeasurementIntervalInMs = 30 * 1000; constexpr int kCongestionThresholdInMs = 100; class FakeCa...
#pragma once #if !defined(_WIN32) && !defined(__cplusplus_winrt) #define TEST_UTILITY_API #endif // !_WIN32 && !__cplusplus_winrt #ifndef TEST_UTILITY_API #ifdef HTTPTESTUTILITY_EXPORTS #define TEST_UTILITY_API __declspec(dllexport) #else // HTTPTESTUTILITIES_EXPORTS #define TEST_UTILITY_API __declspec(...
package hudson; import com.google.common.collect.Lists; import hudson.init.InitMilestone; import hudson.model.Hudson; import jenkins.ExtensionComponentSet; import jenkins.model.Jenkins; import hudson.util.AdaptedIterator; import hudson.util.DescriptorList; import hudson.util.Memoizer; import hudson.util.Iterators; im...
package org.wso2.developerstudio.eclipse.artifact.jaxws.utils; import org.eclipse.core.runtime.Platform; import org.osgi.framework.Bundle; import org.wso2.developerstudio.eclipse.artifact.jaxws.Activator; import org.wso2.developerstudio.eclipse.utils.ui.ImageUtils; public class JaxWSImageUtils extends ImageUtils{ ...
package org.jetbrains.plugins.groovy.lang.parser.parsing.statements.expressions.regex; import com.intellij.lang.PsiBuilder; import com.intellij.psi.tree.TokenSet; import com.intellij.psi.tree.IElementType; import org.jetbrains.plugins.groovy.GroovyBundle; import org.jetbrains.plugins.groovy.lang.parser.GroovyElement...
"""Provides stubs for os, sys and subprocess for testing This test allows one to test code that itself uses os, sys, and subprocess. """ import os import re import shlex import sys class Override(object): def __init__(self, base_module, module_list): stubs = {'adb_commands': AdbCommandsModuleStub, ...
--- id: refetching-connections title: Refetching Connections (Using and Changing Filters) slug: /guided-tour/list-data/refetching-connections/ description: Relay guide to refetching connections keywords: - pagination - refetching - connection - useRefetchableFragment --- import DocsRating from '@site/src/core/DocsRati...
package com.google.api.gwt.oauth2.client; /** * User: Eugene Dzhurinsky * Date: 5/11/15 */ public interface OAuthResponseParser { /** Encapsulates information an access token and when it will expire. */ class TokenInfo { public String accessToken; public String expires; public Stri...
/* Includes ------------------------------------------------------------------*/ #include "stm32f2xx_hal.h" /** @addtogroup STM32F2xx_HAL_Driver * @{ */ /** @defgroup TIM TIM * @brief TIM HAL module driver * @{ */ #ifdef HAL_TIM_MODULE_ENABLED /* Private typedef -----------------------------------------...
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <title>Project</title> <link href="cornerstone/skin-flatly/cornerstone.css" rel="stylesheet"/> </head> <body> <!-- Start 상단 Navigation Bar --> <header class="navbar nav...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
package fileutils import ( "io/ioutil" "os" "path" "path/filepath" "runtime" "strings" "testing" "fmt" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) // CopyFile with invalid src func TestCopyFileWithInvalidSrc(t *testing.T) { tempFolder, err := ioutil.TempDir("", "docker-fil...
package gobusters3 import ( "bytes" "github.com/fatih/color" ) var ( green = color.New(color.FgGreen).FprintfFunc() ) // Result represents a single result type Result struct { Found bool BucketName string Status string } // ResultToString converts the Result to it's textual representation func (r Re...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Ng2ViewConfig | UI-Router</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../assets...
import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMap extends React.Component<IconBaseProps> { }
package org.jscsi.parser.datasegment; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertNotNull; import static org.testng.AssertJUnit.assertTrue; import org.testng.annotations.Test; import java.nio.ByteBuffer; import org.jscsi.parser.datasegment.DataSegmentFactory.DataSeg...
URI: mod_alias.html.en Content-Language: en Content-type: text/html; charset=ISO-8859-1 URI: mod_alias.html.fr Content-Language: fr Content-type: text/html; charset=ISO-8859-1 URI: mod_alias.html.ja.utf8 Content-Language: ja Content-type: text/html; charset=UTF-8 URI: mod_alias.html.ko.euc-kr Content-Language: ko Co...
<!-- Description: Xi Expect: bozo and feed['title'] == u'testing \u039e entity' --> <rss> <channel> <title>testing &Xi; entity</title> </channel> </rss>
package org.uberfire.wbtest.client.panels.custom; import javax.enterprise.context.ApplicationScoped; import javax.enterprise.event.Event; import javax.inject.Inject; @ApplicationScoped public class CustomPanelInstanceCounter { @Inject Event<CustomPanelInstanceCounter> event; private int liveInstances; p...
package org.springframework.boot.actuate.info; import java.util.Map; import java.util.Properties; import org.springframework.boot.info.BuildProperties; import org.springframework.core.env.PropertiesPropertySource; import org.springframework.core.env.PropertySource; /** * An {@link InfoContributor} that exposes {@...
<?php namespace Zend\Form\Element; use Zend\Form\Element; use Zend\InputFilter\InputProviderInterface; use Zend\Validator\Regex as RegexValidator; class Color extends Element implements InputProviderInterface { /** * Seed attributes * * @var array */ protected $attributes...
package titan.client.middleware; import neptulon.client.Middleware; import neptulon.client.ReqCtx; import titan.client.callbacks.ConnCallbacks; import titan.client.messages.MsgMessage; /** * Incoming messages handler middleware. */ public class RecvMsgsMiddleware implements Middleware { private final ConnCallba...
ngClip - Copy to clipboard using AngularJS ======= An AngularJS simple directive that uses ZeroClipboard and updates the user's clipboard. ## How to get it ? #### Manual Download Download the from [here](https://github.com/asafdav/ng-clip/releases) #### Bower ``` bower install zeroclipboard ng-clip ``` #### Npm...
package org.apache.drill.synth; import com.google.common.base.Charsets; import com.google.common.io.Files; import java.io.BufferedWriter; import java.io.File; import java.io.IOException; /** * Create a query log with a specified number of log lines and an associated user profile database. * <p/> * Command line ...
package views import org.scalatest.MustMatchers import utils.AmlsViewSpec import views.html.start class startSpec extends AmlsViewSpec with MustMatchers { trait ViewFixture extends Fixture { lazy val start = app.injector.instanceOf[start] implicit val requestWithToken = addTokenForView() } "Landing ...
def T = {} object T println(/* resolved: false */ T.getClass) println(classOf[/* resolved: false */ T])
export default { props: { foo: true, bar: true, myClass: 'one two' }, html: '<div class="one two foo bar"></div>', test({ assert, component, target }) { component.foo = false; assert.htmlEqual(target.innerHTML, ` <div class="one two bar"></div> `); } };
This directory contains the code for the Jekyll docs site, [jekyllrb.com](https://jekyllrb.com/). ## Contributing For information about contributing, see the [Contributing page](https://jekyllrb.com/docs/contributing/). ## Running locally You can preview your contributions before opening a pull request by running f...
package com.mixpanel.android.java_websocket.handshake; public class HandshakeImpl1Client extends HandshakedataImpl1 implements ClientHandshakeBuilder { private String resourceDescriptor = "*"; public HandshakeImpl1Client() { } public void setResourceDescriptor( String resourceDescriptor ) throws IllegalArgumentE...
package org.nd4j.linalg.api.shape.loop.two; import org.nd4j.linalg.api.buffer.DataBuffer; /** * Created by agibsonccc on 9/14/15. */ public class CopyLoopFunction implements LoopFunction2 { @Override public void perform(int i,RawArrayIterationInformation2 info, DataBuffer a, int aOffset, DataBuffer b, int b...
#include "config.h" #include "QtFallbackWebPopup.h" #ifndef QT_NO_COMBOBOX #include "QWebPageAdapter.h" #include "QWebPageClient.h" #include "QtWebComboBox.h" #include "qgraphicswebview.h" #include <QGraphicsProxyWidget> #include <QtGui/QStandardItemModel> namespace WebCore { QtFallbackWebPopup::QtFallbackWebPopup...
package com.orientechnologies.orient.core.storage.impl.local.paginated; import java.util.List; public class OPaginatedClusterDebug { public long clusterPosition; public List<OClusterPageDebug> pages; public boolean empty; public int contentSize; public...
$(document).ready(function() { //Draw map var latlng = [51.518549,-0.0870156]; var map = L.map('map').setView(latlng, 16); L.tileLayer('https://api2.ordnancesurvey.co.uk/mapping_api/v1/service/zxy/EPSG%3A3857/Outdoor 3857/{z}/{x}/{y}.PNG?key=sdJSoCa7r8w2rW5LNUsB9vZCjEP0zTEP', { maxZoom: 20, ...
namespace data_reduction_proxy { class TestDataReductionProxyParams : public DataReductionProxyParams { public: // Used to emulate having constants defined by the preprocessor. enum HasNames { HAS_NOTHING = 0x0, HAS_DEV_ORIGIN = 0x1, HAS_ORIGIN = 0x2, HAS_FALLBACK_ORIGIN = 0x4, HAS_SSL_ORIGIN ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_45) on Fri Sep 05 23:33:07 UTC 2014 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Package org.apache.hadoop...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace GlobalcachingApplication.Plugins.SqlServer { public partial class DatabaseSelectionForm : Form { public cons...
title: django.contrib.admin.sites register Example Code category: page slug: django-contrib-admin-sites-register-examples sortorder: 500010190 toc: False sidebartitle: django.contrib.admin.sites register meta: Python code examples for the admin module within django.contrib of the Django project. The [Django admin](h...
package org.apache.camel.component.bean; import java.lang.reflect.AccessibleObject; import java.lang.reflect.Method; import org.apache.camel.AsyncCallback; /** * Information used by Camel to perform method invocation. * * @version */ public interface MethodInvocation { Method getMethod(); Object[] ge...
package com.galenframework.suite.reader; import java.util.HashMap; import java.util.Map; public class Context { private Map<String, Object> parameters = new HashMap<String, Object>(); public Context withParameter(String name, Object value) { getParameters().put(name, value); return thi...
namespace Google.Cloud.AssuredWorkloads.V1.Snippets { // [START assuredworkloads_v1_generated_AssuredWorkloadsService_RestrictAllowedResources_sync] using Google.Cloud.AssuredWorkloads.V1; public sealed partial class GeneratedAssuredWorkloadsServiceClientSnippets { /// <summary>Snippet for Rest...
using System.Collections.Generic; namespace AllReady { public class AzureStorageSettings { public string AzureStorage { get; set; } public bool EnableAzureQueueService { get; set; } } public class GeneralSettings { public string SiteBaseUrl { get; set; } public str...
namespace ash { ShelfBezelEventFilter::ShelfBezelEventFilter( ShelfLayoutManager* shelf) : shelf_(shelf), in_touch_drag_(false) { Shell::GetInstance()->AddPreTargetHandler(this); } ShelfBezelEventFilter::~ShelfBezelEventFilter() { Shell::GetInstance()->RemovePreTargetHandler(this); } void ShelfBeze...
require('./angular-locale_hy-am'); module.exports = 'ngLocale';
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
from logging import Formatter from logging.handlers import RotatingFileHandler from flask import Flask, redirect, request, abort, send_from_directory from flask.ext import login from flask.ext.bcrypt import Bcrypt from flask.ext.restful import Api from flask.ext.admin import Admin from flask.ext.mail import Mail from f...
' 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.IO Imports Microsoft.CodeAnalysis.Test.Utilities Imports Roslyn.Test.Utilities Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.PDB ...
package org.apache.hadoop.hdfs.server.blockmanagement; import static org.apache.hadoop.util.Time.monotonicNow; import java.util.*; import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.StorageType; import org.apache.hadoop.hdfs.protocol.B...
package org.jf.dexlib2.dexbacked.instruction; import org.jf.dexlib2.Opcode; import org.jf.dexlib2.dexbacked.DexBackedDexFile; import org.jf.dexlib2.iface.instruction.formats.Instruction10x; import javax.annotation.Nonnull; public class DexBackedInstruction10x extends DexBackedInstruction implements Instruction10x ...
'use strict'; var path = require('path'); var globby = require('globby'); var eachAsync = require('each-async'); var isPathCwd = require('is-path-cwd'); var isPathInCwd = require('is-path-in-cwd'); var rimraf = require('rimraf'); var objectAssign = require('object-assign'); function safeCheck(file) { if (isPathCwd(fi...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>ssl::context::set_verify_mode (2 of 2 overloads)</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" h...
<?php namespace Blameable\Fixture\Entity; use Gedmo\Blameable\Blameable; use Gedmo\Mapping\Annotation as Gedmo; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity */ class Comment implements Blameable { /** @ORM\Id @ORM\GeneratedValue @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(...
RAPIDJSON_NAMESPACE_BEGIN namespace internal { class Double { public: Double() {} Double(double d) : d_(d) {} Double(uint64_t u) : u_(u) {} double Value() const { return d_; } uint64_t Uint64Value() const { return u_; } double NextPositiveDouble() const { RAPIDJSON_ASSERT(!Sign()); ...
package org.keycloak.adapters; import java.util.Collections; import java.util.HashSet; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; /** * Maps external principal and SSO id to internal local http session id * * @author <a href="mailto:bill@burkecentral.com">Bill Burke</a> * @version $Revis...
require 'spec_helper' describe RuboCop::Cop::Rails::ScopeArgs do subject(:cop) { described_class.new } it 'registers an offense a scope with a method arg' do inspect_source(cop, ['scope :active, where(active: true)']) expect(cop.offenses.size).to eq(1) end it 'accepts a lambda arg'...
namespace media { namespace cast { const double Pi = 3.14159265358979323846; TestAudioBusFactory::TestAudioBusFactory(int num_channels, int sample_rate, float sine_wave_frequency, float volume) ...
function p = parent(tree,uid) % XMLTREE/PARENT Parent Method % FORMAT uid = parent(tree,uid) % % tree - XMLTree object % uid - UID of the lonely child % p - UID of the parent ([] if root is the child) %_______________________________________________________________________ % % Return the uid of the parent of...
// Namespace var mejs = mejs || {}; // version number mejs.version = '2.1.9'; // player number (for missing, same id attr) mejs.meIndex = 0; // media types accepted by plugins mejs.plugins = { silverlight: [ {version: [3,0], types: ['video/mp4','video/m4v','video/mov','video/wmv','audio/wma','audio/m4a','audio/m...
#ifndef _ASM_REGDEF_H #define _ASM_REGDEF_H #include <asm/sgidefs.h> #if _MIPS_SIM == _MIPS_SIM_ABI32 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define zero $0 #define AT $1 #define v0 $2 #define v1 $3 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #de...
package me.Cooltimmetje.PretparkCore.Commands; import me.Cooltimmetje.PretparkCore.Utilities.ChatUtils; import org.bukkit.Bukkit; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; /** * This class has been created...
RSpec.describe RuboCop::Cop::Layout::MultilineMethodDefinitionBraceLayout, :config do # rubocop:disable Metrics/LineLength subject(:cop) { described_class.new(config) } let(:cop_config) { { 'EnforcedStyle' => 'symmetrical' } } it 'ignores implicit defs' do expect_no_offenses(<<~RUBY) def foo a: 1, ...
package internal import ( "unsafe" ) // Pointer wraps an unsafe.Pointer to be 64bit to // conform to the syscall specification. type Pointer struct { ptr unsafe.Pointer pad uint32 }
<?php namespace ZendTest\EventManager; use ArrayIterator; use stdClass; use Zend\EventManager\Event; use Zend\EventManager\EventInterface; use Zend\EventManager\EventManager; use Zend\EventManager\ResponseCollection; use Zend\EventManager\SharedEventManager; use Zend\EventManager\StaticEventManager; use...
// Copyright 2015 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
package org.apache.flink.sql.parser.ddl; import org.apache.calcite.sql.SqlIdentifier; import org.apache.calcite.sql.SqlNode; import org.apache.calcite.sql.SqlWriter; import org.apache.calcite.sql.parser.SqlParserPos; import org.apache.calcite.util.ImmutableNullableList; import java.util.List; import static java.ut...
import numpy as np import scipy.sparse as sp from sklearn.utils.testing import assert_array_equal from sklearn.utils.testing import assert_true from sklearn.utils.testing import assert_false from sklearn.utils.testing import assert_equal from sklearn.utils.testing import assert_not_equal from sklearn.utils.testing imp...
<?php namespace Symfony\Component\Mime\Tests\Encoder; use PHPUnit\Framework\TestCase; use Symfony\Component\Mime\Encoder\QpMimeHeaderEncoder; class QpMimeHeaderEncoderTest extends TestCase { public function testNameIsQ() { $encoder = new QpMimeHeaderEncoder(); $this->assertEquals('Q', $enco...
id="<?php echo $view->escape($id) ?>" name="<?php echo $view->escape($full_name) ?>"<?php if ($disabled): ?> disabled="disabled"<?php endif ?> <?php if ($required): ?> required="required"<?php endif ?> <?php foreach ($attr as $k => $v): ?> <?php if (in_array($k, array('placeholder', 'title'), true)): ?> <?php printf(' ...
/** * This class manages event dispatching for Controllers. The details of connecting classes * to this dispatching mechanism is delegated to {@link Ext.app.EventDomain} instances. * * @private */ Ext.define('Ext.app.EventBus', { singleton: true, requires: [ 'Ext.app.domain.Component' ], ...
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html#License package com.ibm.icu.impl; import java.util.Collections; import java.util.EnumMap; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Map.Entry; import java.ut...
package org.jetbrains.idea.maven.server; import org.jetbrains.idea.maven.model.MavenId; import java.util.Collection; public interface MavenIndicesProcessor { void processArtifacts(Collection<MavenId> artifacts); }
package org.apache.nifi.util.hive; import org.apache.commons.lang3.StringUtils; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.security.UserGroupInformation; import org.apache....
#ifndef LifecycleNotifier_h #define LifecycleNotifier_h #include "platform/heap/Handle.h" #include "wtf/HashSet.h" #include "wtf/TemporaryChange.h" namespace blink { template<typename T, typename Observer> class LifecycleNotifier { public: virtual ~LifecycleNotifier(); void addObserver(Observer*); void...
.PHONY: test cs: ./vendor/bin/php-cs-fixer fix --verbose cs_dry_run: ./vendor/bin/php-cs-fixer fix --verbose --dry-run test: phpunit cd Resources/doc && sphinx-build -W -b html -d _build/doctrees . _build/html bower: bower update
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; v...
"""Tests for new version of accumulate_n op.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np from tensorflow.python.framework import dtypes as dtypes_lib from tensorflow.python.framework import ops from tensorflow.python.framework impo...
package etcdserver import ( "fmt" "time" "github.com/coreos/etcd/etcdserver/membership" "github.com/coreos/etcd/pkg/types" "github.com/coreos/etcd/rafthttp" "go.uber.org/zap" ) // isConnectedToQuorumSince checks whether the local member is connected to the // quorum of the cluster since the given time. func i...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_55) on Wed Sep 24 06:08:04 EDT 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>Uses of Class org.a...
'use strict'; /** * @class * Initializes a new instance of the ErrorModel class. * @constructor * @member {number} [status] * * @member {string} [message] * */ function ErrorModel(parameters) { if (parameters !== null && parameters !== undefined) { if (parameters.status !== undefined) { this.st...
package com.thoughtworks.go.domain; import org.junit.Test; import java.net.URISyntaxException; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; public class ServerSiteUrlConfigTest { @Test public void shouldGenerateSiteUrlForGivenPath() throws URISyntaxException { ...
namespace TQVaultAE.GUI { using Properties; using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Timers; using System.Windows.Forms; /// <summary> /// Class for inital form which load the resources. /// </summary> internal partial class SplashScreenForm : VaultForm { /// <summa...
Dependency_Validator: uninstall package dependency, no version conflict, OK to uninstall --FILE-- <?php require __DIR__ . '/../setup.uninstall.php.inc'; $fake = new \Pyrus\PackageFile\v2; $fake->name = 'foo'; $fake->channel = 'pear2.php.net'; $fake->version['release'] = '1.2.3'; $fake->files['foo'] = array('role' => '...
#include "config.h" #include "PNGImageEncoder.h" #include "IntSize.h" #include "png.h" #include <wtf/Vector.h> namespace WebCore { // Encoder -------------------------------------------------------------------- // // This section of the code is based on nsPNGEncoder.cpp in Mozilla // (Copyright 2005 Google Inc.) ...
package org.jkiss.dbeaver.model.edit.prop; import org.jkiss.dbeaver.model.DBPObject; /** * Database object property change reflector */ public interface DBEPropertyReflector<OBJECT_TYPE extends DBPObject> extends DBEPropertyHandler<OBJECT_TYPE> { void reflectValueChange(OBJECT_TYPE object, Object ...
/** * German translation * 2007-Apr-07 update by schmidetzki and humpdi * 2007-Oct-31 update by wm003 * 2009-Jul-10 update by Patrick Matsumura and Rupert Quaderer * 2010-Mar-10 update by Volker Grabsch */ Ext.onReady(function() { if(Ext.Updater) { Ext.Updater.defaults.indicatorText = '<div class="lo...
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var MarkdownColumn = React.createClass({ displayName: 'MarkdownColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.object, }, renderValue...