text stringlengths 3 1.05M |
|---|
package org.apache.archiva.rss;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.sun.syndication.feed.synd.SyndContent;
import com.sun.syndication.feed.synd.SyndContentImpl;
import com.sun.syndication.feed.synd.SyndEntry;
import com.sun.syndicat... |
"use strict";
module.exports = function(Promise, INTERNAL) {
var ASSERT = require("./assert.js");
var canAttach = require("./errors.js").canAttach;
var util = require("./util.js");
var async = require("./async.js");
var hasOwn = {}.hasOwnProperty;
var isArray = util.isArray;
function toResolutionValue(val) {
swit... |
using System;
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
using Azure.ResourceManager;
using Azure.ResourceManager.Compute.Models;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.Compute
{
public partial class DiskData : IUtf8JsonSerializable
{
... |
package org.apache.cassandra.hints;
import java.io.File;
import java.io.IOException;
import java.net.InetAddress;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentLinkedDeque;
import java.util.concurrent.ConcurrentLinkedQueue;
import com.google.common.collect.I... |
Overview
========
Repository for Chef configuration data across all Binarymachines projects. Our latest project is the creation of a
set of cookbooks and roles for instant spinup of development environments at The Ladders. On the horizon:
* recipes for spinning up Riak clusters on EC2
* autogenerating Chef config s... |
package roaring
import (
"encoding/binary"
"io"
"unsafe"
)
type arrayContainer struct {
content []uint16
}
// writes the content (omitting the cardinality)
func (b *arrayContainer) writeTo(stream io.Writer) (int, error) {
buf := make([]byte, 2*len(b.content))
for i, v := range b.content {
base := i * 2
buf... |
package samples.websocket.jetty.reverse;
import java.io.IOException;
import javax.websocket.OnMessage;
import javax.websocket.Session;
import javax.websocket.server.ServerEndpoint;
@ServerEndpoint("/reverse")
public class ReverseWebSocketEndpoint {
@OnMessage
public void handleMessage(Session session, String me... |
package org.elasticsearch.percolator;
import org.elasticsearch.action.delete.DeleteResponse;
import org.elasticsearch.action.index.IndexResponse;
import org.elasticsearch.action.percolate.PercolateResponse;
import org.elasticsearch.common.bytes.BytesReference;
import org.elasticsearch.common.settings.ImmutableSettin... |
package docker
import (
"bytes"
dockerlib "github.com/fsouza/go-dockerclient"
"github.com/novln/docker-parser"
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
)
// Push will provide methods for interaction with API regarding pushing images
type Push struct {
Client dockerlib.Client
}
/*
PushImage pu... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Code Coverage for D:\appli\wamp\www\centrale_referencement\src/BackendBundle/Tests/Controller</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="../../../css/bootstrap.min.css" rel="stylesheet">
<lin... |
namespace file_manager {
namespace test_util {
namespace {
// Helper class used to wait for |OnFileSystemMounted| event from a drive file
// system.
class DriveMountPointWaiter : public drive::DriveIntegrationServiceObserver {
public:
explicit DriveMountPointWaiter(
drive::DriveIntegrationService* integratio... |
require 'chef/version'
require 'chef/util/path_helper'
class Chef
class Knife
class SubcommandLoader
MATCHES_CHEF_GEM = %r{/chef-[\d]+\.[\d]+\.[\d]+}.freeze
MATCHES_THIS_CHEF_GEM = %r{/chef-#{Chef::VERSION}(-\w+)?(-\w+)?/}.freeze
attr_reader :chef_config_dir
attr_reader :env
def i... |
package org.apache.hadoop.hive.ql.parse.repl.dump.events;
import org.apache.hadoop.hive.metastore.api.NotificationEvent;
import org.apache.hadoop.hive.metastore.messaging.DropTableMessage;
import org.apache.hadoop.hive.ql.parse.repl.DumpType;
import org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData;
class Drop... |
<a href='https://github.com/angular/angular.js/edit/v1.5.x/?message=docs(error%2Flinky)%3A%20describe%20your%20change...' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<h1>linky</h1>
<div class="description">
Here are the list of errors in the linky namespa... |
package validation
import (
"strings"
"testing"
"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/errors"
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/resource"
"github.com/GoogleCloudPlatform/kubernetes/pkg/capabilities"
"github.com/GoogleCloudPlatf... |
require 'spec_helper'
require 'whois/record/parser/whois.nic.net.sb.rb'
describe Whois::Record::Parser::WhoisNicNetSb, "property_status_ok.expected" do
subject do
file = fixture("responses", "whois.nic.net.sb/property_status_ok.txt")
part = Whois::Record::Part.new(body: File.read(file))
described_class.... |
package serviceassets
import "github.com/rackspace/gophercloud"
func deleteURL(c *gophercloud.ServiceClient, id string) string {
return c.ServiceURL("services", id, "assets")
}
|
//------------------------------------------------------------------------------
// <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>
//---------------------------------... |
<?php
namespace Drupal\contact;
use Drupal\Component\Utility\Unicode;
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Entity\EntityForm;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Form\ConfigFormBaseTrait;
... |
/*
* 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... |
package uk.co.jemos.podam.test.unit.features.singletons;
import net.serenitybdd.junit.runners.SerenityRunner;
import net.thucydides.core.annotations.Title;
import org.junit.Test;
import org.junit.runner.RunWith;
import uk.co.jemos.podam.api.PodamFactory;
import uk.co.jemos.podam.test.dto.OneDimensionalTestPojo;
import... |
<?php
namespace Kanboard\Api\Authorization;
/**
* Class SubtaskAuthorization
*
* @package Kanboard\Api\Authorization
* @author Frederic Guillot
*/
class SubtaskAuthorization extends ProjectAuthorization
{
public function check($class, $method, $subtask_id)
{
if ($this->userSession->isLogged()) {... |
!function( $ ){
"use strict"
/* TAB CLASS DEFINITION
* ==================== */
var Tab = function ( element ) {
this.element = $(element)
}
Tab.prototype = {
constructor: Tab
, show: function () {
var $this = this.element
, $ul = $this.closest('ul:not(.dropdown-menu)')
... |
layout: default
title: Frequently Asked Questions, Food Oasis Los Angeles
color: grape
---
# Frequently Asked Questions
* [What is a food desert?](#what-is-a-food-desert)
* [What are low income areas?](#what-are-low-income-areas)
* [What are low access areas?](#what-are-low-access-areas)
* [What is Cal Fresh?](#wha... |
using testing::Return;
using testing::ReturnRef;
namespace Envoy {
namespace LocalInfo {
MockLocalInfo::MockLocalInfo() : address_(new Network::Address::Ipv4Instance("127.0.0.1")) {
node_.set_id("node_name");
node_.set_cluster("cluster_name");
node_.mutable_locality()->set_zone("zone_name");
ON_CALL(*this, ad... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Host;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.AddImports
{
internal inte... |
alias fw="sudo firewall-cmd"
alias fwp="sudo firewall-cmd --permanent"
alias fwr="sudo firewall-cmd --reload"
alias fwrp="sudo firewall-cmd --runtime-to-permanent"
function fwl () {
# converts output to zsh array ()
# @f flag split on new line
zones=("${(@f)$(sudo firewall-cmd --get-active-zones | grep -v 'inter... |
#include "thread.h"
#include "asm_support_mips.h"
#include "base/logging.h"
namespace art {
void Thread::InitCpu() {
CHECK_EQ(THREAD_FLAGS_OFFSET, OFFSETOF_MEMBER(Thread, state_and_flags_));
CHECK_EQ(THREAD_EXCEPTION_OFFSET, OFFSETOF_MEMBER(Thread, exception_));
}
} // namespace art
|
require 'spec_helper'
require 'grape_entity'
describe Grape::Entity do
subject { Class.new(Grape::API) }
def app; subject end
describe '#present' do
it 'sets the object as the body if no options are provided' do
subject.get '/example' do
present({:abc => 'def'})
body.should == {:abc =>... |
module ActionView
module Helpers
module FormHelper
def add_dy_attrs_link link_name, obj, options={}
default_options = { :container => 'dy_attrs', :partial => 'dy_attrs'}
options = default_options.merge(options)
link_to_function link_name do |page|
page.insert_html :botto... |
.bug-report-label {
text-align: start;
vertical-align: text-top;
font-weight: 300;
}
.bug-report-text {
width: 40em;
}
.bug-report-dropdown {
width: 15em;
}
.bug-report-table {
width: 40em;
border-spacing: 0px;
}
.bug-report-field {
width: 22em;
border-style: solid;
border-width: 1px;
}
.bug-re... |
namespace em = enterprise_management;
namespace chromeos {
class CrosSettingsTest : public testing::Test {
protected:
CrosSettingsTest()
: ui_thread_(content::BrowserThread::UI, &message_loop_),
local_state_(TestingBrowserProcess::GetGlobal()),
settings_(DeviceSettingsService::Get()),
... |
#include "proton/sasl.h"
#include "proton/sasl-plugin.h"
#include <stdlib.h>
#include <string.h>
// SASL implementation interface
static void default_sasl_prepare(pn_transport_t *transport);
static void default_sasl_impl_free(pn_transport_t *transport);
static const char *default_sasl_impl_list_mechs(pn_transport_t... |
import { trimStart } from "./index";
export = trimStart;
|
/* Includes ------------------------------------------------------------------*/
#include "stm32f4xx_hal.h"
/** @addtogroup STM32F4xx_HAL_Driver
* @{
*/
/** @defgroup FMC_LL FMC Low Layer
* @brief FMC driver modules
* @{
*/
#if defined (HAL_SRAM_MODULE_ENABLED) || defined(HAL_NOR_MODULE_ENABLED) || def... |
'use strict';
var should = require('should');
var path = require('path');
var webpack = require('webpack');
var fs = require('fs');
var enhancedReqFactory = require('enhanced-require');
var CR = /\r/g;
var syntaxStyles = ['scss', 'sass'];
var pathToSassLoader = path.resolve(__dirname, '../index.js');
var pathToErrorF... |
<?php
namespace PeterVanDommelen\Parser\Compiler;
use PeterVanDommelen\Parser\Asserter\HasNoEmptyRepeaterAsserter;
use PeterVanDommelen\Parser\Expression\Alternative\AlternativeExpression;
use PeterVanDommelen\Parser\Expression\Concatenated\ConcatenatedExpression;
use PeterVanDommelen\Parser\Expression\Constant\Con... |
using System.Diagnostics;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
namespace System.Net
{
public class ServicePoint
{
private int _connectionLeaseTimeout = -1;
private int _maxIdleTime = 100 * 1000;
private int _receiveBufferSize = -1;
private... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System.IO {
public static class PathHelper {
public static string GetRelativePath(string path) {
Uri uriExec = new Uri(Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location));... |
package org.apache.jackrabbit.commons.query.sql2;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import javax.jcr.PropertyType;
import javax.jcr.RepositoryException;
import javax.jcr.Value;
import javax.jcr.ValueFactory;
import javax.jcr.query.InvalidQueryException;
import javax.j... |
package com.capitalone.dashboard.client.team;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.bson.types.ObjectId;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import com.capitalone.dashboard.datafactory.versionone.VersionOneDataFactoryImpl;
im... |
package com.vmware.vim25;
/**
* @author Steve Jin (http://www.doublecloud.org)
* @version 5.1
*/
@SuppressWarnings("all")
public class HostDiskConfigurationResult extends DynamicData {
public String devicePath;
public Boolean success;
public LocalizedMethodFault fault;
public String getDevicePath() {
r... |
///#source 1 1 /src/1.0.0/load.js
/*! head.load - v1.0.3 */
/*
* HeadJS The only script in your <HEAD>
* Author Tero Piirainen (tipiirai)
* Maintainer Robert Hoffmann (itechnology)
* License MIT / http://bit.ly/mit-license
* WebSite http://headjs.com
*/
(function (win, undefined) {
"use strict... |
package p2;
public class Statics {
public static final int PUB_CONST = 0;
}
|
from case import Case
class Case4_1_1(Case):
DESCRIPTION = """Send frame with reserved non-control <b>Opcode = 3</b>."""
EXPECTATION = """The connection is failed immediately."""
def onOpen(self):
self.expected[Case.OK] = []
self.expectedClose = {"closedByMe":False,"closeCode":[self... |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Threading.Tasks;
using FluentAssertions;
using IdentityServer4.Endpoints;
using IdentityServer4.Validation;
using Microsoft.AspN... |
namespace MassTransit.DependencyInjection.Registration
{
using System;
using Futures;
public class RequestConsumerFutureDefinition<TFuture, TConsumer, TRequest, TResponse, TFault> :
FutureDefinition<TFuture>,
IFutureRequestDefinition<TRequest>
where TFuture : Future<TRequest, TResp... |
sealed trait Input
case object Coin extends Input
case object Turn extends Input
case class Machine(locked: Boolean, candies: Int, coins: Int)
object Candy {
def update = (i: Input) => (s: Machine) =>
(i, s) match {
case (_, Machine(_, 0, _)) => s
case (Coin, Machine(false, _, _)) => s
case (T... |
package org.elasticsearch.search.aggregations.bucket.significant;
import com.google.common.collect.Maps;
import org.elasticsearch.common.io.stream.Streamable;
import org.elasticsearch.common.xcontent.ToXContent;
import org.elasticsearch.search.aggregations.Aggregations;
import org.elasticsearch.search.aggregations.In... |
package configmap
import (
"testing"
"k8s.io/kubernetes/test/integration/framework"
)
func TestMain(m *testing.M) {
framework.EtcdMain(m.Run)
}
|
'use strict';
import 'vs/css!./media/feedback';
import nls = require('vs/nls');
import { IDisposable } from 'vs/base/common/lifecycle';
import { Builder, $ } from 'vs/base/browser/builder';
import { Dropdown } from 'vs/base/browser/ui/dropdown/dropdown';
import { IContextViewService } from 'vs/platform/contextview/b... |
from __future__ import unicode_literals
from django.db.backends import BaseDatabaseOperations
class DatabaseOperations(BaseDatabaseOperations):
def __init__(self, connection):
super(DatabaseOperations, self).__init__(connection)
def date_extract_sql(self, lookup_type, field_name):
# http://w... |
package github
import (
"context"
"fmt"
)
// Key represents a public SSH key used to authenticate a user or deploy script.
type Key struct {
ID *int `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
URL *string `json:"url,omitempty"`
Title *string `json:"title,omitempty"`
ReadOnly ... |
<?php
namespace Symfony\Component\Security\Tests\Http\Logout;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\ResponseHeaderBag;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Http\Logout\CookieClearingLogoutHandler;
class CookieClearingL... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Script.Serialization;
using System.Xml.Linq;
using Microsoft.SharePoint.Client;
using Newtonsoft.Json;
using OfficeDevPnP.Core.Framework.Provisioning.Model;
namespace OfficeDevPnP.Core.... |
/*
* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Authors: Sergey Lisitsyn, Heiko Strathmann, Soeren Sonnenburg,
* Evan Shelhamer, Bjoern Esser
*/
#include <shogun/converter/LocalityPreservingProjections.h>
#include <shogun/io/SGIO.h>
#include <shogun/kernel/LinearKerne... |
<?php
namespace Symfony\Component\ExpressionLanguage\Node;
use Symfony\Component\ExpressionLanguage\Compiler;
/**
* @author Fabien Potencier <fabien@symfony.com>
*
* @internal
*/
class ConditionalNode extends Node
{
public function __construct(Node $expr1, Node $expr2, Node $expr3)
{
parent::__... |
<?php
namespace Doctrine\DBAL\Schema;
use Doctrine\DBAL\Types\Type;
use Doctrine\DBAL\Schema\Visitor\Visitor;
use Doctrine\DBAL\DBALException;
/**
* Object Representation of a table
*
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.doctrine-project.org
* @since 2.0
* @vers... |
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { ComponentRouteInfo } from '../../../shared/component-info/component-route-info';
import { InputBoxComponent } from './input-box.component';
const routes: ComponentRouteInfo[] = [
{
path: '',
component: InputB... |
package org.apache.ignite.yardstick.cache;
import java.util.Collection;
import java.util.Map;
import java.util.concurrent.ThreadLocalRandom;
import javax.cache.Cache;
import org.apache.ignite.IgniteCache;
import org.apache.ignite.IgniteDataStreamer;
import org.apache.ignite.cache.query.SqlQuery;
import org.apache.ig... |
namespace mailcore {
class Operation;
class OperationQueueCallback;
class Array;
class MAILCORE_EXPORT OperationQueue : public Object {
public:
OperationQueue();
virtual ~OperationQueue();
virtual void addOperation(Operation * op);
virtual void canc... |
//===--- DeadObjectElimination.cpp - Remove unused objects ---------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
/*
TODO:
- Add short-term estimate
- Defensive programming
+ warn when last returned < last desired (begative buffering)
+ warn if update_delay not called between get() and tick() or is called twice in a row
- Linked list structure for holding the packets instead of the current fixed-size array
+ return memory ... |
.. _shared_file_systems_key_concepts:
============
Key concepts
============
Share
~~~~~
In the Shared File Systems service ``share`` is the fundamental resource unit
allocated by the Shared File System service. It represents an allocation of a
persistent, readable, and writable filesystems. Compute instances access... |
server 'kochiku.example.com', user: 'kochiku', roles: %w{web app db worker}
|
<?php
namespace Zend\Log;
use DateTime;
use ErrorException;
use Traversable;
use Zend\ServiceManager\AbstractPluginManager;
use Zend\Stdlib\ArrayUtils;
use Zend\Stdlib\SplPriorityQueue;
/**
* Logging messages with a stack of backends
*/
class Logger implements LoggerInterface
{
/**
* @const int defined f... |
class ChangeAdjustmentsAmountPrecision < ActiveRecord::Migration
def change
change_column :spree_adjustments, :amount, :decimal, :precision => 10, :scale => 2
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;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
... |
<!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_29) on Mon Nov 26 17:21:59 MSK 2012 -->
<TITLE>
Uses of Class org.apache.poi.ss.formula.eval.PercentEval (POI API Documentation)
</TITLE>
<... |
package com.thoughtworks.go.server.persistence;
import java.sql.SQLException;
import com.googlecode.junit.ext.RunIf;
import com.thoughtworks.go.config.materials.AbstractMaterial;
import com.thoughtworks.go.config.materials.mercurial.HgMaterial;
import com.thoughtworks.go.junitext.DatabaseChecker;
import com.thought... |
{{ obj|striptags }} |
<!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... |
/*!
* inferno-vnode-flags v1.0.2
* (c) 2016 Dominic Gannaway
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.Inferno = global.Infer... |
cask 'zooom' do
version :latest
sha256 :no_check
url 'http://software.coderage-software.com/zooom/Zooom_Latest.dmg'
name 'Zooom/2'
homepage 'http://coderage-software.com/zooom'
depends_on macos: '>= :mavericks'
pkg 'Zooom2.pkg'
uninstall pkgutil: 'com.coderage.pkg.Zooom2'
caveats do
"There ar... |
package vision_test
import (
"fmt"
"os"
"cloud.google.com/go/vision"
"golang.org/x/net/context"
)
func ExampleNewClient() {
ctx := context.Background()
client, err := vision.NewClient(ctx)
if err != nil {
// TODO: handle error.
}
// Use the client.
// Close the client when finished.
if err := client.Cl... |
package safemap
import (
"sync"
)
type Map struct {
lock *sync.RWMutex
element map[interface{}]interface{}
}
func NewMap() *Map {
return &Map{new(sync.RWMutex), make(map[interface{}]interface{})}
}
func (s *Map) Get(key interface{}) interface{} {
s.lock.RLock()
defer s.lock.RUnlock()
return s.element[key]... |
namespace Orchard.Roles.Models {
public class PermissionRecord {
public virtual int Id { get; set; }
public virtual string Name { get; set; }
public virtual string FeatureName { get; set; }
public virtual string Description { get; set; }
}
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="../../a... |
package org.apache.apex.malhar.lib.util;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.junit.Assert;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.apache.apex.malhar.lib.testbench.CollectorTestSink;
import org.... |
{
function a(){}
function b(){}
function c(){}
function d(){}
function e(){}
function f(){}
function g(){}
function h(){}
}
var names = Object.getOwnPropertyNames(this);
names = names.filter(n => Array.prototype.includes.call("abcdefgh", n));
assertEquals("a,b,c,d,e,f,g,h", names.join());
{
{
le... |
package microsoft.exchange.webservices.data.core;
import microsoft.exchange.webservices.data.ISelfValidate;
import microsoft.exchange.webservices.data.attribute.EwsEnum;
import microsoft.exchange.webservices.data.attribute.RequiredServerVersion;
import microsoft.exchange.webservices.data.core.request.HttpWebRequest;... |
title: Getting Started
---
* [Getting Started with Keyman](tutorial)
* [How To - Download and Install Keyman](download-and-install-keyman)
* [How To - Download and Install a Keyman Keyboard](download-and-install-keyboard)
* [How To - Set up Your Computer for a Keyman Keyboard](configure-computer)
* [How To - Set up MS... |
package org.apache.camel.component.telegram.model;
import java.io.IOException;
import java.time.Instant;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonDeserializer;
import org.slf4j.Logger;
import org.slf4j.Logg... |
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.iluwatar</groupId>
<... |
package jetbrains.buildServer.clouds.vmware;
/**
* @author Sergey.Pak
* Date: 4/23/2014
* Time: 6:42 PM
*/
public interface VMWarePropertiesNames {
public static final String AGENT_NAME = "guestinfo.tcAgentName";
public static final String AUTH_TOKEN = "guestinfo.tcAuthToken";
public static... |
;(function ( $, window, document, undefined ) {
"use strict";
$.fn.visibility = function(parameters) {
var
$allModules = $(this),
moduleSelector = $allModules.selector || '',
time = new Date().getTime(),
performance = [],
query = arguments[0],
methodInvoked = (t... |
<?xml version="1.0" encoding="ISO-8859-1"?>
<apirefs name='libexslt'>
<references>
<reference name='EXSLTCALL' href='html/libexslt-exsltexports.html#EXSLTCALL'/>
<reference name='EXSLTPUBFUN' href='html/libexslt-exsltexports.html#EXSLTPUBFUN'/>
<reference name='EXSLTPUBVAR' href='html/libexslt-exsltexport... |
<div class="nav navbar-nav oppia-navbar-breadcrumb ng-cloak">
<span class="oppia-navbar-breadcrumb-separator"></span>
<span>
Skill Editor > <[getTruncatedDescription()]>
</span>
</div>
|
<?php
// Heading
$_['heading_title'] = 'OpenBay Pro';
// Buttons
$_['button_retry'] = 'Retry';
$_['button_update'] = 'Update';
$_['button_patch'] = 'Patch';
$_['button_faq'] = 'View FAQ topic';
// Tab
$_['tab_setting'] = 'Settings';
$_['tab_update'] = 'Software updates';
$_['t... |
"""
Utilities for consuming the version from pkg_resources.
"""
import pkg_resources
class VersionInfo(object):
def __init__(self, package):
"""Object that understands versioning for a package
:param package: name of the python package, such as glance, or
python-glancecli... |
package org.elasticsearch.search.aggregations.bucket;
import com.carrotsearch.hppc.LongOpenHashSet;
import org.elasticsearch.action.index.IndexRequestBuilder;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.search.aggregations.Aggregator.SubAggCollectionMode;
import org.elasticsearch.s... |
namespace Fixtures.Azure.AcceptanceTestsAzureParameterGrouping
{
using Azure;
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
/// <summary>
/// Param... |
const serve = require('koa-static');
module.exports = serve('public'); |
<Type Name="Panel" FullName="Hyena.Gui.Canvas.Panel">
<TypeSignature Language="C#" Value="public class Panel : Hyena.Gui.Canvas.CanvasItem" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Panel extends Hyena.Gui.Canvas.CanvasItem" />
<AssemblyInfo>
<AssemblyName>Hyena.Gui</As... |
define([], function() {
var validate = {
number: function(n) {
return !isNaN(parseFloat(n)) && isFinite(n);
},
// validate a Google panoid
panoid: function(panoid) {
// if (panoid.match(/^[\w-]{22}$/) != null)
// if (panoid.match(/^[\w-]+$/))
return true;
if (panoid.match(/^[*]+$/))
... |
#ifndef BT_MINKOWSKI_SUM_SHAPE_H
#define BT_MINKOWSKI_SUM_SHAPE_H
#include "btConvexInternalShape.h"
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h" // for the types
/// The btMinkowskiSumShape is only for advanced users. This shape represents implicit based minkowski sum of two convex implicit s... |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Downloading CodeIgniter — CodeIgniter 3.0.1... |
#if !defined(MBEDTLS_SSL_TLS1_3_KEYS_H)
#define MBEDTLS_SSL_TLS1_3_KEYS_H
/* This requires MBEDTLS_SSL_TLS1_3_LABEL( idx, name, string ) to be defined at
* the point of use. See e.g. the definition of mbedtls_ssl_tls13_labels_union
* below. */
#define MBEDTLS_SSL_TLS1_3_LABEL_LIST ... |
/*
* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Authors: Kevin Hughes, Heiko Strathmann, Bjoern Esser
*/
#ifndef FFSEP_H_
#define FFSEP_H_
#include <shogun/lib/config.h>
#include <shogun/lib/SGNDArray.h>
#include <shogun/features/Features.h>
#include <shogun/converter/ica/ICAC... |
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* This is the user-visible SGI GFX interface.
*
* This must be used verbatim into the GNU libc. It does not include
* any kernel-only bi... |