text stringlengths 3 1.05M |
|---|
package org.apache.ftpserver.clienttests;
/**
*
* @author The Apache MINA Project (dev@mina.apache.org)
* @version $Rev$, $Date$
*
*/
public class HelpTest extends ClientTestTemplate {
/*
* (non-Javadoc)
*
* @see org.apache.ftpserver.clienttests.ClientTestTemplate#setUp()
*/
protected v... |
<!-- Good morning, Mr. Phelps. -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>or-tools/src/util/bitset.h File Reference - Doxy</title>
<link rel="shortcut icon" href="../../../favicon.ico">
<!-- Both stylesheets are supplied by Doxygen, with maybe minor twe... |
<!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 (1.8.0) on Fri Oct 02 00:10:13 EDT 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.owasp.appsens... |
#pragma once
// Automatically generated header file
#include "lwm2m/objects.h"
namespace KnownObjects {
namespace id3338 {
// Custom, overrideable types for Opaque and String resources
#ifndef ApplicationType3338
class ApplicationTypeType : public PreallocString<30> {};
#endif
/* \brief Class for ob... |
package com.jongsoft.harvester.microdata.job;
import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException;
import com.jongsoft.harvester.core.ScheduledJob;
import com.jongsoft.harvester.engine.Harvester;
import com.jongsoft.harvester.entity.JobEntity;
import com.jongsoft.harvester.microdata.ItemScopeProcessor;... |
This helm chart provides an implementation of the ZooKeeper [StatefulSet](http://kubernetes.io/docs/concepts/abstractions/controllers/statefulsets/) found in Kubernetes Contrib [Zookeeper StatefulSet](https://github.com/kubernetes/contrib/tree/master/statefulsets/zookeeper).
## Prerequisites
* Kubernetes 1.6
* Persis... |
package org.jetbrains.idea.svn.update;
import com.intellij.openapi.vcs.VcsException;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.idea.svn.api.SvnClient;
import java.io.File;
/**
* @author Konstantin Kolosovsky.
*/
public interface RelocateClient extends SvnClient {
void relocate(@NotNull File... |
CKEDITOR.plugins.setLang( 'image', 'sq', {
alertUrl: 'Ju lutemi shkruani URL-në e fotos',
alt: 'Tekst Alternativ',
border: 'Korniza',
btnUpload: 'Dërgo në server',
button2Img: 'Dëshironi të e ndërroni pullën e fotos së selektuar në një foto të thjeshtë?',
hSpace: 'HSpace',
img2Button: 'Dëshironi të ndryshoni f... |
package com.facebook.drawee.backends.volley;
import android.content.Context;
import com.android.volley.toolbox.ImageLoader;
import com.facebook.common.executors.UiThreadExecutorService;
import com.facebook.common.internal.Supplier;
import com.facebook.drawee.components.DeferredReleaser;
import com.facebook.drawee.c... |
class testApp : public ofBaseApp
{
public:
~testApp();
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y);
void mouseDragged(int x, int y, int button);
void mousePres... |
// Generated by http://code.google.com/p/protostuff/ ... DO NOT EDIT!
// Generated from protobuf
package org.apache.drill.exec.proto.beans;
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import com.dyuproject.protostuff.GraphIOUtil;
import com.dyu... |
package rest
import (
"bufio"
"bytes"
"fmt"
"io"
"net"
"net/http"
"net/http/httputil"
"net/url"
"strings"
"sync"
"time"
"k8s.io/kubernetes/pkg/api/errors"
utilconfig "k8s.io/kubernetes/pkg/util/config"
"k8s.io/kubernetes/pkg/util/httpstream"
utilnet "k8s.io/kubernetes/pkg/util/net"
"k8s.io/kubernete... |
#import <iTunesStoreUI/SUPurchaseManager.h>
@interface SUPurchaseManager (SUScriptAdditions)
- (void)_schedulePurchaseCallback:(id)arg1;
- (id)_newPurchaseBatchForPurchases:(id)arg1;
- (id)_newExternalDownloadWithItemDictionary:(id)arg1;
- (id)_newExternalDownloadWithDownloadDictionary:(id)arg1;
- (id)_newExternalDo... |
require "spec_helper"
describe Mongoid::Document do
end
|
import sys, math, time
from twisted.python import log
from twisted.internet import reactor, defer, threads
from autobahn.websocket import listenWS
from autobahn.wamp import exportRpc, \
WampServerFactory, \
WampServerProtocol
RPC_SUCCESS_TIMINGS = [('RECV', 'onMe... |
We want to make contributing to this project as easy and transparent as
possible, and actively welcome your pull requests. If you run into problems,
please open an issue on GitHub.
## Pull Requests
1. Fork the repo and create your branch from `master`.
2. If you've added code that should be tested, add tests.
3. If y... |
cask 'openrefine' do
version '2.7'
sha256 '7dd6c0692d7c7d9d6d93aa94446e1a814a97404d2a2cbda702a81feb3ee14934'
# github.com/OpenRefine/OpenRefine was verified as official when first introduced to the cask
url "https://github.com/OpenRefine/OpenRefine/releases/download/#{version}/openrefine-mac-#{version}.dmg"
... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.g10.ssm</groupId>
<artifactId>netesp</artifactId>
<packaging... |
"""Wrapper script with bjobs functionality."""
from __future__ import print_function
import sys
import re
import argparse
from utility import color
from useraliases import lookupalias
from shortcuts import ejobsshortcuts
from readjobs import readjobs
from printjobs import printjobs
from groupjobs import groupjobs
f... |
<html>
<head>
<meta name="viewport" initial-scale=1">
<title> Mutli-file Upload </title>
<script src = "./titleupdate.js">
</script>
<body>
<input type="file" name="file" id="upfile" onchange="updateTitle()" multiple/>
</body>
</html>
|
/**
* Manager for Two Stages w/SRS sampling (or two phases) step
* @author M. Togna
*/
PSUTwoStagesManager = function( container , sdERDManager , stepNo ){
WorkspaceManager.getInstance().activeWorkspace( $.proxy(function(ws){
var uploadCallback = $.proxy(this.loadPSUTable , this );
var dataProvider = new... |
webshims.register('jme', function($, webshims, window, doc, undefined, options){
"use strict";
var props = {};
var fns = {};
var allowPreload = false;
$(window).on('load', function(){
allowPreload = true;
var scrollTimer;
var allow = function(){
allowPreload = true;
};
$(window).on('scroll', function... |
"""Routine to "compile" a .py file to a .pyc (or .pyo) file.
This module has intimate knowledge of the format of .pyc files.
"""
import __builtin__
import imp
import marshal
import os
import sys
import traceback
MAGIC = imp.get_magic()
__all__ = ["compile", "main", "PyCompileError"]
class PyCompileError(Exception... |
0.13.1 / 2014-01-07
==================
* Fix select with context in Cheerio function (@jugglinmike)
* Remove unecessary DOM maintenance logic (@jugglinmike)
* Deprecate support for node 0.6
0.13.0 / 2013-12-30
==================
* Remove "root" node (@jugglinmike)
* Fix bug in `prevAll`, `prev`, `nextAll`, `nex... |
require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper')
describe "admin/users/index" do
before do
login_and_assign
end
it "renders [admin/user] template with @users collection" do
amy = FactoryGirl.create(:user)
bob = FactoryGirl.create(:user)
assign(:users, [ amy, bob ].pagin... |
package org.eigenbase.test.concurrent;
import java.io.PrintStream;
import java.sql.*;
import java.util.*;
/**
* ConcurrentTestCommandExecutor is a thread that executes a sequence of
* {@link ConcurrentTestCommand commands} on a JDBC connection.
*/
class ConcurrentTestCommandExecutor extends Thread {
//~ Instanc... |
package odnoklassniki // import "golang.org/x/oauth2/odnoklassniki"
import (
"golang.org/x/oauth2"
)
// Endpoint is Odnoklassniki's OAuth 2.0 endpoint.
var Endpoint = oauth2.Endpoint{
AuthURL: "https://www.odnoklassniki.ru/oauth/authorize",
TokenURL: "https://api.odnoklassniki.ru/oauth/token.do",
}
|
@interface ViewController : UIViewController
@end
|
<!DOCTYPE html>
<html>
<head>
<title>basic tests</title>
</head>
<body>
<p>
So, to prevent possible unpleasantness, the anchor is weighed—"To an ounce," Don Currie says severely.
</p>
<p>
So, to prevent possible unpleasantness, the anchor is weighed—'To an ounce,' Don Curri... |
package org.apache.cassandra.utils.obs;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.IOException;
import java.util.List;
import java.util.Random;
import com.google.common.collect.Lists;
import org.apache.cassandra.io.util.DataOutputBuffer;
import org.junit.Assert;
import org.j... |
<?php
namespace SMW\Tests\Integration\MediaWiki;
use SMW\Tests\Utils\UtilityFactory;
use SMW\Tests\MwDBaseUnitTestCase;
use SMW\ApplicationFactory;
use SMW\DIWikiPage;
use Title;
use Job;
/**
* @group SMW
* @group SMWExtension
*
* @group semantic-mediawiki-integration
* @group mediawiki-database
*
* @group ... |
import scala.beans.BeanProperty;
trait beanpropertytrait {
@BeanProperty var myVariable: Long = -1l;
}
|
package IK.floatIK;
import java.util.ArrayList;
import data.EWBIKLoader;
import data.EWBIKSaver;
import math.floatV.AbstractAxes;
import math.floatV.MathUtils;
import math.floatV.Rot;
import math.floatV.SGVec_3f;
import math.floatV.Vec3f;
import math.floatV.sgRayf;
import asj.LoadManager;
import asj.SaveManager;
impo... |
package install
import (
"testing"
"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
testapigroupfuzzer "k8s.io/apimachinery/pkg/apis/testapigroup/fuzzer"
)
func TestRoundTrip(t *testing.T) {
roundtrip.RoundTripTestForAPIGroup(t, Install, testapigroupfuzzer.Funcs)
roundtrip.RoundTripProtobufTestForAPIGroup(t... |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd">
<bean name="egovTmplatIdGnrS... |
include $(TOPDIR)/rules.mk
PKG_NAME:=freifunk-mapupdate
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/freifunk-mapupdate
SECTION:=luci
CATEGORY:=LuCI
SUBMENU:=9. Freifunk
TITLE:=Update script for freifunkmap
DEPENDS:=+olsrd-mod-nameservice
endef
... |
package org.apache.flink.test.accumulators;
import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.pattern.Patterns;
import akka.testkit.JavaTestKit;
import akka.util.Timeout;
import org.apache.flink.api.common.JobExecutionResult;
import org.apache.flink.api.common.JobID;
import org.apache.flink.api... |
name 'git'
maintainer 'Opscode, Inc.'
maintainer_email 'cookbooks@opscode.com'
license 'Apache 2.0'
description 'Installs git and/or sets up a Git server daemon'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '2.9.0'
recipe 'gi... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>equations: 45 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="s... |
<!--
* Copyright (c) 2014 KeenThemes, (c) 2014 Owen Grey, Gilbert Peffer, Andy Tarraco
*
* This software uses the Metronic template owned by http://www.keenthemes.com/ and builds on sample
* code provided by the theme's creators. The template license does not allow for derivative work to
* be distributed, an... |
<?php
namespace BinSoul\Test\Net\Http\Response\Body\Type;
use BinSoul\Net\Http\Response\Body\Type\ResourceBody;
use BinSoul\Net\MediaType;
class ResourceBodyTest extends \PHPUnit_Framework_TestCase
{
public function test_default_content_type_is_octet_stream()
{
$body = new ResourceBody('php://memory'... |
/**
* Support for exporting actuator metrics to AppOptics.
*/
package org.springframework.boot.actuate.autoconfigure.metrics.export.appoptics;
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: mssql-jdbc2-service.xml 2780 2006-09-21 23:21:43Z gunterze $ -->
<server>
<!-- ==================================================================== -->
<!-- Persistence and caching using MSSQL -->
<!-- IMPORTANT: Remove hsqldb-jd... |
copyright:
years: 2017
lastupdated: "2017-03-17"
---
{:new_window: target="_blank"}
{:shortdesc: .shortdesc}
{:screen: .screen}
{:codeblock: .codeblock}
{:pre: .pre}
# Plugin del generador de SDK
{: #sdk-cli}
El plugin del Generador de SDK de {{site.data.keyword.IBM}} se puede instalar en la CLI de... |
<!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">
<title>DataTables example - Add rows</title>
<link rel="stylesheet" type="text/css" href="../../media/... |
/*global define, module, require, window */
(function (factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
// Register as an anonymous AMD module:
define(['load-image'], factory);
} else if (typeof module === 'object' && module.exports) {
factory(require('./... |
/*!
* tablesorter pager plugin
* updated 3/27/2013
*/
/*jshint browser:true, jquery:true, unused:false */
;(function($) {
"use strict";
/*jshint supernew:true */
$.extend({ tablesorterPager: new function() {
this.defaults = {
// target the pager markup
container: null,
// use this format: "http://myd... |
<?php
namespace NetSuite\Classes;
class ServiceResaleItem extends Record {
/**
* @var string
*/
public $createdDate;
/**
* @var string
*/
public $lastModifiedDate;
/**
* @var string
*/
public $purchaseDescription;
/**
* @var boolean
*/
public $m... |
var csvTransform = require('./CSVTransform');
var benchmarkToRow = function(env, benchmark) {
if (!env) {
env = "ENV";
}
return [
env,
benchmark.suite,
benchmark.name,
benchmark.hz,
benchmark.stats.deviation
].join(', ');
};
var resultsToTable = functi... |
// 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.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;... |
package com.haulmont.cuba.gui.exception;
import com.haulmont.cuba.core.global.Messages;
import com.haulmont.cuba.gui.NoSuchScreenException;
import com.haulmont.cuba.gui.WindowManager;
import com.haulmont.cuba.gui.components.Frame;
import org.springframework.core.Ordered;
import org.springframework.stereotype.Compone... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.AI.MetricsAdvisor.Tests
{
public class MetricFeedbackModelTests : MockClientTestBase
{
pub... |
//========================================================================
//Copyright 2007-2011 David Yu dyuproject@gmail.com
//------------------------------------------------------------------------
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance wit... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Beih. Willdenowia 9: 81 (1976)
#### Original name
Calloria pusilla Speg., 1879
### Remarks
null |
package testutils
import (
"fmt"
"io/ioutil"
"net"
"net/http"
"os"
"time"
"github.com/coreos/rkt/Godeps/_workspace/src/github.com/hydrogen18/stoppableListener"
"github.com/coreos/rkt/tests/testutils/logger"
)
func HttpServe(addr string, timeout int) error {
hostname, err := os.Hostname()
if err != nil {
... |
namespace sync_pb {
class EntitySpecifics;
class SyncEntity;
} // namespace sync_pb
namespace syncer {
// A light-weight container for immutable sync data. Pass-by-value and storage
// in STL containers are supported and encouraged if helpful.
class SYNC_EXPORT SyncData {
public:
// Creates an empty and invalid S... |
% Poisson Control: options and parameters
% Run via the file setup.m
% Default parameters for the problem setup are picked in set_def_setup.m
% These can be changed to the values given in the file comments.
% Default parameters for the solution method are picked in set_def_soln.m
% The main ones you'll edit ... |
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android">
<TextView
android:text="Presets"
style="@style/DevCreateRecordsMenuLabel"
/>
<RelativeLayout style="@style/DevCreateRecordsMenuBox">
<Button
android:id="@+id/_d... |
// .NAME vtkDenseArray - Contiguous storage for N-way arrays.
//
// .SECTION Description
// vtkDenseArray is a concrete vtkArray implementation that stores values
// using a contiguous block of memory. Values are stored with fortran ordering,
// meaning that if you iterated over the memory block, the left-most coord... |
from cx_Oracle import CLOB
from django.contrib.gis.db.backends.adapter import WKTAdapter
class OracleSpatialAdapter(WKTAdapter):
input_size = CLOB
|
#include "gazebo/gui/building/EditorItem.hh"
#include "gazebo/gui/building/RectItem.hh"
#include "gazebo/gui/building/BuildingItem.hh"
#include "gazebo/gui/building/BuildingMaker.hh"
#include "gazebo/gui/building/WallItem.hh"
#include "gazebo/gui/building/LineSegmentItem.hh"
#include "gazebo/gui/building/FloorItem.hh... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package org.elasticsearch.search.stats;
import org.elasticsearch.action.admin.cluster.node.stats.NodeStats;
import org.elasticsearch.action.admin.cluster.node.stats.NodesStatsResponse;
import org.elasticsearch.action.admin.indices.stats.IndicesStatsResponse;
import org.elasticsearch.action.search.SearchResponse;
imp... |
/* crypto/cpt_err.c */
/* ====================================================================
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
... |
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { Store, Dispatch, AnyAction, ActionCreator, createStore, bindActionCreators, ActionCreatorsMapObject, Reducer } from 'redux';
import { Connect, connect, createProvider, Provider, DispatchProp, MapStateToProps, Options } from 'react-redux';
i... |
<?php
namespace Application\Application\Service\AccountChart\Upload;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
/**
*
* @author Nguyen Mau Tri
*
*/
class DefaultAccountChartUploadFactory implements FactoryInterface
{
/**
*
* {@inheritd... |
<!DOCTYPE html>
<style>
.min-content {
width: 1px;
min-width: -webkit-min-content;
min-width: -moz-min-content;
min-width: -ie-min-content;
min-width: -o-min-content;
min-width: min-content;
}
.max-content {
width: 1px;
min-width: -webkit-max-content;
min-width: -moz-max-content;
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>dojox.secure.sandbox Test Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<style type="text/css">
@import "../../../dojo/resources/dojo.css";
textare... |
/**
* Gets URI that identifies the test.
* @return uri identifier of test
*/
function getTargetURI() {
return "http://www.w3.org/2001/DOM-Test-Suite/level3/core/documentrenamenode25";
}
var docsLoaded = -1000000;
var builder = null;
//
// This function is called by the testing framework ... |
import warnings
from collections import namedtuple
from MySQLdb.constants import FIELD_TYPE
from django.db.backends.base.introspection import (
BaseDatabaseIntrospection, FieldInfo, TableInfo,
)
from django.db.models.indexes import Index
from django.utils.datastructures import OrderedSet
from django.utils.depreca... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
<h1>[name]</h1>
<div class="desc">
A Material to define multiple materials ... |
Prism.languages.aspnet = Prism.languages.extend('markup', {
'page-directive tag': {
pattern: /<%\s*@.*%>/i,
inside: {
'page-directive tag': /<%\s*@\s*(?:Assembly|Control|Implements|Import|Master|MasterType|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,
rest: Prism.languages.markup.tag.inside
... |
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace OpenLiveWriter.PostEditor.PostPropertyEditing.CategoryControl
{
/// <summary>
/// Summary description for CategorySeparatorControl.
/// </summary>
internal class CategorySeparatorControl : UserControl
{
/// <summary>
///... |
<?php
namespace Zend\Form;
interface FieldsetPrepareAwareInterface
{
/**
* Prepare the fieldset element (called while this fieldset is added to another one)
*
* @return mixed
*/
public function prepareFieldset();
}
|
/* crypto/asn1/a_utf8.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.Reflection;
namespace Edument.CQRS
{
/// <summary>
/// This implements a basic message dispatcher, driving the overall command handling
/// and event application/distribution proces... |
package eu.ydp.empiria.player.client.controller.extensions.types;
import eu.ydp.empiria.player.client.module.core.creator.ModuleCreator;
public interface ModuleConnectorExtension {
/**
* Generator dla konkretnego modulu
*
* @return
*/
public ModuleCreator getModuleCreator()... |
#ifndef HARDWARE_H_
#define HARDWARE_H_
class Hardware {
public:
Hardware();
void good();
void bad();
void neutral();
void poise();
void clap(int claps);
void gripper(bool open);
void gripperGradient(double openness);
bool setEffectorPosition(double theta, double x, double y);
bool setJointsUnsafe(dou... |
package com.squareup.picasso;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
final class TargetAction extends Action<Target> {
TargetAction(Picasso picasso, Target target, Request data, int memoryPolicy, int networkPolicy,
Drawable errorDrawable, String key, Object tag, int error... |
/**
* @class Ext.layout.BoxLayout
* @extends Ext.layout.ContainerLayout
* <p>Base Class for HBoxLayout and VBoxLayout Classes. Generally it should not need to be used directly.</p>
*/
Ext.layout.BoxLayout = Ext.extend(Ext.layout.ContainerLayout, {
/**
* @cfg {Object} defaultMargins
* <p>If the indivi... |
/**
* Module dependencies.
*/
var qs = require('qs');
/**
* Extract the mime type from the given request's
* _Content-Type_ header.
*
* @param {IncomingMessage} req
* @return {String}
* @api private
*/
function mime(req) {
var str = req.headers['content-type'] || '';
return str.split(';')[0];
}
/**... |
/*globals describe, it, beforeEach, afterEach*/
var should = require('should'),
sinon = require('sinon'),
nock = require('nock'),
parsePackageJson = require('../../server/utils/parse-package-json'),
validateThemes = require('../../server/utils/validate-themes'),
readDi... |
package org.wso2.carbon.identity.entitlement.pap.store;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.wso2.carbon.identity.entitlement.EntitlementException;
import org.wso2.carbon.identity.entitlement.PDPConstants;
import org.wso2.carbon.identity.entitlement.dto.Polic... |
namespace pp {
namespace {
template <> const char* interface_name<PPB_Flash_Clipboard_4_0>() {
return PPB_FLASH_CLIPBOARD_INTERFACE_4_0;
}
template <> const char* interface_name<PPB_Flash_Clipboard_5_0>() {
return PPB_FLASH_CLIPBOARD_INTERFACE_5_0;
}
template <> const char* interface_name<PPB_Flash_Clipboard_5_... |
package v1alpha3
import (
"fmt"
"strings"
bootstrapapi "k8s.io/client-go/tools/bootstrap/token/api"
bootstraputil "k8s.io/client-go/tools/bootstrap/token/util"
)
// BootstrapTokenString is a token of the format abcdef.abcdef0123456789 that is used
// for both validation of the practically of the API server fro... |
using namespace json_spirit;
extern Array read_json(const std::string& filename);
BOOST_AUTO_TEST_SUITE(base58_tests)
// Goal: test low-level base58 encoding functionality
BOOST_AUTO_TEST_CASE(base58_EncodeBase58)
{
Array tests = read_json("base58_encode_decode.json");
BOOST_FOREACH(Value& tv, tests)
{
... |
/* eslint-disable */
'use strict';
/*::
import type { Fragment, ReaderFragment } from 'relay-runtime';
import type { FragmentType } from "relay-runtime";
declare export opaque type DataCheckerTest5PlainUserNameRenderer_name$fragmentType: FragmentType;
export type DataCheckerTest5PlainUserNameRenderer_name$data = {|... |
package org.jboss.arquillian.container.spi;
import org.jboss.arquillian.config.descriptor.api.ContainerDef;
import org.jboss.arquillian.config.descriptor.api.ProtocolDef;
import org.jboss.arquillian.container.spi.client.container.ContainerConfiguration;
import org.jboss.arquillian.container.spi.client.container.Deplo... |
/*
*/
'use strict';
var util = require('util');
/**
* @class
* Initializes a new instance of the StorageAccountListResult class.
* @constructor
* The list storage accounts operation response.
* @member {array} [value] Gets the list of storage accounts and their
* properties.
*
*/
function StorageAccountLis... |
package com.iluwatar.composite;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
*
* Messenger
*
*/
public class Messenger {
LetterComposite messageFromOrcs() {
List<Word> words = new ArrayList<Word>();
words.add(new Word(Arrays.asList(new Letter('W'), new Letter('h'),
... |
using System.Linq;
using FluentMigrator.Builders.Create.Index;
using FluentMigrator.Builders.Delete.Index;
using FluentMigrator.Infrastructure.Extensions;
using FluentMigrator.Runner.Generators.SqlServer;
using FluentMigrator.SqlServer;
using NUnit.Framework;
using Shouldly;
namespace FluentMigrator.Tests.Unit.Gene... |
package io.netty.channel;
import java.net.ConnectException;
/**
* {@link ConnectException} which will be thrown if a connection could
* not be established because of a connection timeout.
*/
public class ConnectTimeoutException extends ConnectException {
private static final long serialVersionUID = 2317065249... |
namespace Microsoft.Exchange.WebServices.Data
{
using System.Collections.Generic;
using System.Collections.ObjectModel;
/// <summary>
/// Represents a group of items as returned by grouped item search operations.
/// </summary>
/// <typeparam name="TItem">The type of item in the gro... |
(function() {
var Bacon, BufferingSource, Bus, CompositeUnsubscribe, ConsumingSource, Desc, Dispatcher, End, Error, Event, EventStream, Exception, Initial, Next, None, Observable, Property, PropertyDispatcher, Some, Source, UpdateBarrier, addPropertyInitValueToStream, assert, assertArray, assertEventStream, assertFun... |
/*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: org.apache.http.auth.params.AuthParamBean
================================================================================*/
#ifndef J2CP... |
layout: p5page
title: Architectures I (The Cloud)
material: '(2015, digital sculpture, pixel accumulation, infinite duration)'
thumb: 2015-05-01-Architectures.jpg
p5js:
sketch: /assets/javascripts/ArchitecturesI.js
version: '0.4.5'
sidebar: false
mobile: false
images:
hide: true
---
|
(function($)
{
// load flash socket pool
window.forge.socketPool = {};
window.forge.socketPool.ready = function()
{
// init page
init($);
};
swfobject.embedSWF(
'forge/SocketPool.swf', 'socketPool', '0', '0', '9.0.0',
false, {}, {allowscriptaccess: 'always'}, {});
})(jQuery);
... |
/*! formstone v0.6.10 [dropdown.css] 2015-06-18 | MIT License | formstone.it */
/**
* @class
* @name .fs-dropdown-element
* @type element
* @description Target element
*/
/**
* @class
* @name .fs-dropdown
* @type element
* @description Base widget class
*/
/**
* @class
* @name .fs-dropdown.fs-d... |
<?php
/**
* This is the model class for table "cataloginventory_stock_status".
*
* The followings are the available columns in table 'cataloginventory_stock_status':
* @property string $product_id
* @property integer $website_id
* @property integer $stock_id
* @property string $qty
* @property integer $stock_s... |
<?php
/**
* Conversion Exception is thrown when the database to PHP conversion fails
*
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.doctrine-project.com
* @since 2.0
* @author Benjamin Eberlei <kontakt@beberlei.de>
* @author Guilherme Blanco <guilh... |