text stringlengths 3 1.05M |
|---|
from django.contrib.messages import constants
from django.contrib.messages.storage.fallback import FallbackStorage, \
CookieStorage
from django.contrib.messages.tests.base import BaseTest
from django.contrib.messages.tests.cookie import set_cookie_data, \
stored_cookie_messages_count
from django.contrib.message... |
<?php namespace Illuminate\Database\Schema\Grammars;
use Illuminate\Support\Fluent;
use Illuminate\Database\Connection;
use Illuminate\Database\Schema\Blueprint;
class MySqlGrammar extends Grammar {
/**
* The possible column modifiers.
*
* @var array
*/
protected $modifiers = array('Unsigned', 'Nullable', ... |
package org.ovirt.engine.core.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Date;
import javax.inject.Named;
import javax.inject.Singleton;
import org.ovirt.engine.core.common.businessentities.storage.Image;
import org.ovirt.engine.core.common.businessentities.storage.ImageStatus;
im... |
import {HttpClient, HttpHeaders, HttpParams} from '@angular/common/http';
import {Observable} from 'rxjs';
import {Component} from "@angular/core";
interface Product {
id: string;
title: string;
price: number;
}
@Component({
selector: 'app-root',
template: `<h1>Products</h1>
<ul>
<li *ngFor="let produ... |
#ifndef _RAR_COMPRESS_
#define _RAR_COMPRESS_
// Combine pack and unpack constants to class to avoid polluting global
// namespace with numerous short names.
class PackDef
{
public:
// Maximum LZ match length we can encode even for short distances.
static const uint MAX_LZ_MATCH = 0x1001;
// We incremen... |
#import <Foundation/Foundation.h>
#pragma mark Class forward
@class PNResponse, PNError;
@interface PNResponseParser : NSObject
#pragma mark - Class methods
/**
* Returns reference on parser which completed it's job and
* can provide data for response
*/
/**
This method allow to find suitable parser for co... |
package org.mini2Dx.uats.util;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicInteger;
import org.mini2Dx.core.screen.GameScreen;
/**
* Auto-generate IDs for each {@link GameScreen} in the UAT project
*/
public class ScreenIds {
private static Atomic... |
<?php
namespace Zend\Http\Header;
/**
* @throws Exception\InvalidArgumentException
* @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.12
*/
class ContentLanguage implements HeaderInterface
{
/** @var string */
protected $value;
public static function fromString($headerLine)
{
... |
typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown
#pragma mark Typedef'd Structures
typedef struct {
unsigned short _field1[64];
struct __CFString *_field2;
unsigned short *_field3;
char *_field4;
struct {
long long _field1;
long long _field2;
... |
//
// Copyright (c) Microsoft Corporation. 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 re... |
<!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.5.0_04) on Sat Jun 26 18:23:14 UTC 2010 -->
<TITLE>
Uses of Class org.newdawn.slick.tests.InkscapeTest (Slick - The 2D Library)
</TITLE>
<LINK REL ="st... |
package distribution
import (
"github.com/docker/distribution/context"
"github.com/docker/distribution/reference"
)
// Scope defines the set of items that match a namespace.
type Scope interface {
// Contains returns true if the name belongs to the namespace.
Contains(name string) bool
}
type fullScope struct{}
... |
[](https://hub.docker.com/r/zomplabs/zomplabs/dynamodb_local)
[](https://hub.docker.com/r/zomplabs/dynamodb_local)
## Running
Run without parameters to see hel... |
#ifndef PORTMACRO_H
#define PORTMACRO_H
#ifdef __cplusplus
extern "C" {
#endif
/*-----------------------------------------------------------
* Port specific definitions.
*
* The settings in this file configure FreeRTOS correctly for the
* given hardware and compiler.
*
* These settings should not be altered.... |
#ifndef PYSQLITE_CURSOR_H
#define PYSQLITE_CURSOR_H
#include "Python.h"
#include "statement.h"
#include "connection.h"
#include "module.h"
typedef struct
{
PyObject_HEAD
pysqlite_Connection* connection;
PyObject* description;
PyObject* row_cast_map;
int arraysize;
PyObject* lastrowid;
lo... |
package org.elasticsearch.cluster.routing.allocation;
import org.elasticsearch.cluster.ClusterInfo;
import org.elasticsearch.cluster.ClusterState;
import org.elasticsearch.cluster.RestoreInProgress;
import org.elasticsearch.cluster.metadata.MetaData;
import org.elasticsearch.cluster.node.DiscoveryNodes;
import org.e... |
(function(){
if( typeof marked === 'undefined' ) {
throw 'The reveal.js Markdown plugin requires marked to be loaded';
}
if (typeof hljs !== 'undefined') {
marked.setOptions({
highlight: function (lang, code) {
return hljs.highlightAuto(lang, code).value;
... |
package org.apache.nifi.web.dao;
import org.apache.nifi.controller.ScheduledState;
import org.apache.nifi.controller.service.ControllerServiceState;
import org.apache.nifi.groups.ProcessGroup;
import org.apache.nifi.registry.flow.VersionedFlowSnapshot;
import org.apache.nifi.web.api.dto.ProcessGroupDTO;
import org.ap... |
Changelog
=========
## v0.8.4 - June 24, 2013
Many contributed features and fixes, including:
* Ignore password set if not needed. (jbergknoff)
* Improved compatibility with 0.10.X for tests and client.end() (Bryce Baril)
* Protect connection retries from application exceptions. (Amos Barreto)
* Better exception handl... |
package org.apache.nifi.cluster.coordination.http.endpoints;
import org.apache.nifi.cluster.coordination.http.EndpointResponseMerger;
import org.apache.nifi.cluster.manager.ControllerServiceEntityMerger;
import org.apache.nifi.cluster.manager.NodeResponse;
import org.apache.nifi.cluster.protocol.NodeIdentifier;
impo... |
<?php
/**
* @see Zend_Tool_Project_Context_Filesystem_File
*/
require_once 'Zend/Tool/Project/Context/Filesystem/File.php';
/**
* This class is the front most class for utilizing Zend_Tool_Project
*
* A profile is a hierarchical set of resources that keep track of
* items within a specific project.
*
* @cate... |
let models = require('../models')
module.exports = {
create: function(req,res){
var result = {
success: false,
status: "ERROR",
output: null
}
if (req.body.deliveryOrderId && req.body.innerId){
models.Output.create({
deliveryOrderId: req.body.deliveryOrderId,
innerId:... |
/**
* Wraps number within bounds both positive and negative
*/
function overflow(number, min, max){
if ( max === undefined ) {
max = min;
min = 0;
}
var difference = max - min;
if ( number < min ) {
number += difference * ( ~~( ( ... |
package org.redisson.spring.data.connection;
import java.io.IOException;
import java.util.ArrayList;
import java.util.EnumSet;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.redisson.client.handler.State;
import org.redisson.client.protocol.Decoder;
import org.redisson.misc.RedisUR... |
import {
RegExp,
RegExpWrapper,
StringWrapper,
isBlank,
isPresent,
isType,
isStringMap,
BaseException
} from 'angular2/src/facade/lang';
import {
Map,
MapWrapper,
List,
ListWrapper,
StringMap,
StringMapWrapper
} from 'angular2/src/facade/collection';
import {PathRecognizer} from './path_rec... |
package org.zstack.core.cloudbus;
/**
* Created by xing5 on 2016/6/26.
*/
public abstract class EventRunnable extends AbstractEventFacadeCallback {
abstract protected void run();
}
|
../flatc --cpp --java --csharp --go --binary --python --js --php --grpc --gen-mutable --gen-object-api --no-includes monster_test.fbs monsterdata_test.json
../flatc --cpp --java --csharp --go --binary --python --js --php --gen-mutable -o namespace_test namespace_test/namespace_test1.fbs namespace_test/namespace_test2.f... |
// This file is automatically generated.
package adila.db;
/*
* Acer Iconia Tab 8
*
* DEVICE: ducati2hd3g
* MODEL: A1-841
*/
final class ducati2hd3g {
public static final String DATA = "Acer|Iconia Tab 8|";
}
|
<?xml version="1.0" ?><!DOCTYPE TS><TS language="et" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About DarkCoin</source>
<translation>DarkCoinist</translation>
</messa... |
(function () {
'use strict';
function Logger($window, $log) {
// set the angular providers onto logger
this.$window = $window;
this.$log = $log;
// create the default logger
this.createLog('default');
// alias the default logger
this.log = this.default.log;
this.warn = this.... |
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<size android:height="2px"/>
<solid android:color="#d1d1d1"/>
</shape> |
package com.twitter.finagle.redis.naggati
package codec
import java.nio.ByteBuffer
import org.jboss.netty.buffer.{ChannelBuffer, ChannelBuffers}
case class MemcacheRequest(line: List[String], data: Option[ByteBuffer], bytesRead: Int) {
override def toString = {
"<Request: " + line.mkString("[", " ", "]") + (d... |
package org.apache.spark.sql.catalyst
import org.apache.spark.internal.Logging
/**
* A library for easily manipulating trees of operators. Operators that extend TreeNode are
* granted the following interface:
* <ul>
* <li>Scala collection like methods (foreach, map, flatMap, collect, etc)</li>
* <li>
* ... |
The [lodash](https://lodash.com/) method `_.defaults` exported as a [Node.js](https://nodejs.org/) module.
## Installation
Using npm:
```bash
$ {sudo -H} npm i -g npm
$ npm i --save lodash.defaults
```
In Node.js:
```js
var defaults = require('lodash.defaults');
```
See the [documentation](https://... |
#ifndef OPENCV_TRACKING_HPP
#define OPENCV_TRACKING_HPP
#include "opencv2/core.hpp"
#include "opencv2/imgproc.hpp"
namespace cv
{
//! @addtogroup video_track
//! @{
enum { OPTFLOW_USE_INITIAL_FLOW = 4,
OPTFLOW_LK_GET_MIN_EIGENVALS = 8,
OPTFLOW_FARNEBACK_GAUSSIAN = 256
};
/** @brief Finds... |
@interface LCCollectionViewCell : UICollectionViewCell
@property (nonatomic, retain) UILabel *cellTitle;
@end
|
static const GUID IID_ICLRTestHook =
{ 0xccb32da2, 0x2544, 0x4195, { 0x85, 0x52, 0xac, 0x19, 0x86, 0xa8, 0x3c, 0x73 } };
static const GUID IID_ICLRTestHook2 =
{ 0xccb32da2, 0x2544, 0x4195, { 0x85, 0x52, 0xac, 0x19, 0x86, 0xa8, 0x3c, 0x83 } };
static const GUID IID_ICLRTestHook3 =
{ 0xccb32da2, 0x2544, 0x4195, { 0x85... |
'use strict';
!function(){
if(!console){
console = {
log: function(){},
error: function(){}
}
}
////////// IE8 /////////////
if (!Object.create) {
Object.create = (function(){
function F(){}
return function(o){
if... |
package ginkgoreporter_test
import (
"bytes"
"encoding/json"
"time"
"github.com/pivotal-golang/lager"
"github.com/pivotal-golang/lager/chug"
. "github.com/pivotal-golang/lager/ginkgoreporter"
. "github.com/onsi/ginkgo"
"github.com/onsi/ginkgo/config"
"github.com/onsi/ginkgo/reporters"
"github.com/onsi/gink... |
<?php
namespace MVNerds\AdminBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\Response;
use MVNerds\CoreBundle\Form\Type\ChampionType;
use MVNerds\CoreBundle\Model\ChampionPeer;
/*... |
(function (exports, global) {
/**
* IO namespace.
*
* @namespace
*/
var io = exports;
/**
* Socket.IO version
*
* @api public
*/
io.version = '0.9.10';
/**
* Protocol implemented.
*
* @api public
*/
io.protocol = 1;
/**
* Available transports, these will be... |
#ifndef itkExhaustiveOptimizerv4_h
#define itkExhaustiveOptimizerv4_h
#include "itkIntTypes.h"
#include "itkObjectToObjectOptimizerBase.h"
namespace itk
{
/** \class ExhaustiveOptimizerv4
* \brief Optimizer that fully samples a grid on the parametric space.
*
* This optimizer is equivalent to an exahaustive searc... |
<?php
namespace Qandidate\Toggle\Operator;
use Qandidate\Toggle\Operator;
class Percentage extends Operator
{
private $percentage;
private $shift;
public function __construct($percentage, $shift = 0)
{
$this->percentage = $percentage;
$this->shift = $shift;
}
/**
... |
var express = require('express')
, engine = require('../')
, app = express();
// use ejs-locals for all ejs templates:
app.engine('ejs', engine);
app.set('views',__dirname + '/views');
app.set('view engine', 'ejs'); // so you can render('index')
// render 'index' into 'boilerplate':
app.get('/',function(req,res,... |
package net.ripe.db.whois.common.rpsl;
import com.google.common.base.Predicate;
import com.google.common.base.Splitter;
import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import difflib.DiffUtils;
import javax.annotation.Nullable;
import java.uti... |
/**
* @module ol/source/WMTS
*/
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in ... |
namespace dart {
class Isolate;
class Mutex;
class RawObject;
class SimulatorSetjmpBuffer;
class Thread;
typedef struct {
union {
int64_t i64[2];
int32_t i32[4];
} bits;
} simd_value_t;
class Simulator {
public:
static const uword kSimulatorStackUnderflowSize = 64;
Simulator();
~Simulator();
/... |
FOUNDATION_EXPORT double AFNetworkingVersionNumber;
FOUNDATION_EXPORT const unsigned char AFNetworkingVersionString[];
|
import {Injectable} from 'angular2/di';
import {Request} from 'angular2/src/http/static_request';
import {Response} from 'angular2/src/http/static_response';
import {ReadyStates} from 'angular2/src/http/enums';
import {Connection, ConnectionBackend} from 'angular2/src/http/interfaces';
import * as Rx from 'rx';
/**
*... |
package org.intellij.lang.xpath;
import com.intellij.lexer.FlexAdapter;
import com.intellij.lexer.Lexer;
import com.intellij.lexer.LexerPosition;
import com.intellij.lexer.LookAheadLexer;
import com.intellij.psi.tree.IElementType;
import com.intellij.psi.tree.TokenSet;
import org.jetbrains.annotations.NotNull;
impor... |
package kafka.api
import java.util.Properties
import java.io.File
import org.apache.kafka.clients.producer.ProducerConfig
import org.apache.kafka.clients.producer.ProducerRecord
import org.apache.kafka.clients.producer.KafkaProducer
import org.apache.kafka.clients.consumer.Consumer
import org.apache.kafka.clients.co... |
var Utils = require('./utils');
// Declare internals
var internals = {
delimiter: '&',
depth: 5,
arrayLimit: 20,
parameterLimit: 1000,
strictNullHandling: false
};
internals.parseValues = function (str, options) {
var obj = {};
var parts = str.split(options.delimiter, options.parameter... |
class C_FuncBrush : public C_BaseEntity
{
public:
DECLARE_CLASS( C_FuncBrush, C_BaseEntity );
DECLARE_CLIENTCLASS();
void OnDataChanged( DataUpdateType_t type );
private:
};
#endif // C_FUNC_BRUSH_H
|
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types";
export const definition: IconDefinition;
export const faPallet: IconDefinition;
export const prefix: IconPrefix;
export const iconName: IconName;
export const width: number;
export const height: number;
export const ligatures:... |
namespace boost { namespace math {
template <class T1, class T2, class Policy>
typename tools::promote_args<T1, T2>::type ellint_2(T1 k, T2 phi, const Policy& pol);
namespace detail{
template <typename T, typename Policy>
T ellint_e_imp(T k, const Policy& pol);
// Elliptic integral (Legendre form) of the sec... |
package org.elasticsearch.index.query;
import com.carrotsearch.randomizedtesting.generators.RandomPicks;
import org.apache.lucene.document.IntPoint;
import org.apache.lucene.document.LongPoint;
import org.apache.lucene.search.IndexOrDocValuesQuery;
import org.apache.lucene.search.PointRangeQuery;
import org.apache.... |
///\file
#ifndef ETL_UNORDERED_MAP_INCLUDED
#define ETL_UNORDERED_MAP_INCLUDED
#include "platform.h"
#include "algorithm.h"
#include "iterator.h"
#include "functional.h"
#include "utility.h"
#include "pool.h"
#include "array.h"
#include "intrusive_forward_list.h"
#include "hash.h"
#include "type_traits.h"
#include ... |
package com.facebook.presto.sql.planner.optimizations;
import static com.google.common.base.Preconditions.checkArgument;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.facebook.presto.sql.planner.DependencyExtractor;
import com.fac... |
prov = $evm.root["miq_provision"]
vm = prov.vm_template
raise "VM not specified" if vm.nil?
user = prov.miq_request.requester
raise "User not specified" if user.nil?
ems = vm.ext_management_system
raise "EMS not found for VM [#{vm.name}" if ems.nil?
$evm.log("info", "vm=[#{vm.name}]")
cluster = vm.ems_cluster
$evm.l... |
namespace Apress.Recipes.WebApi.Areas.HelpPage.ModelDescriptions
{
public class EnumValueDescription
{
public string Documentation { get; set; }
public string Name { get; set; }
public string Value { get; set; }
}
} |
/**
* Messaging utility classes.
* @exclude
*/
package flex.messaging.util;
|
#include <stdio.h>
#include "Loci.h"
#include "ImageTable.h"
unsigned HIGHEST_ZORDER = 10;
DEFINE_TABLE( P_LOCUS, DeallocateLocus );
//
// AllocateImageLocus
// Purpose: Allocates a locus with an image inside.
//
LOCUS *AllocateImageLocus( const char *name, float x, float y, IMAGE *image, unsigned zOrd... |
/*
Package servers provides information and interaction with the server API
resource in the OpenStack Compute service.
A server is a virtual machine instance in the compute system. In order for
one to be provisioned, a valid flavor and image are required.
Example to List Servers
listOpts := servers.ListOpts{
AllT... |
(function (angular) {
'use strict';
angular.module('ngParticleFuntime', [])
.directive('myCustomer', function() {
return {
restrict: 'E',
template: '<div>myCustomer</div>',
};
})
.directive('particleFunTime', function ($compile, $parse) {
return {
restrict: 'E',
scope: {
options: "... |
#ifndef IP64_CONF_H
#define IP64_CONF_H
#include "ip64-tap-driver.h"
#include "ip64-eth-interface.h"
#define IP64_CONF_UIP_FALLBACK_INTERFACE ip64_eth_interface
#define IP64_CONF_INPUT ip64_eth_interface_input
#define IP64_CONF_ETH_DRIVER ip64_tap_driver
/*
* In contrast to ... |
Tracker.autorun(() => {
const currentUser = Meteor.user();
let language;
if (currentUser) {
language = currentUser.profile && currentUser.profile.language;
} else {
language = navigator.language || navigator.userLanguage;
}
if (language) {
TAPi18n.setLanguage(language);
// XXX
const sh... |
title: API
---
This documentation provides you more detailed API information and makes you easier to modify the source code of Hexo or write plugins. If you only want to search the basic usage of Hexo, please see [docs](../docs).
Before you start, please notice that this documentation is only for Hexo 3 and above.
##... |
using System;
using System.Diagnostics.Contracts;
using System.Collections;
using System.Globalization;
using System.Resources;
using System.Threading;
namespace System.Text
{
// This class overrides Encoding with the things we need for our NLS Encodings
//
// All of the GetBytes/Chars GetByte/CharCount me... |
package org.jetbrains.idea.maven.utils;
import com.intellij.ide.highlighter.XmlFileType;
import com.intellij.ide.util.projectWizard.ProjectTemplateFileProcessor;
import com.intellij.ide.util.projectWizard.ProjectTemplateParameterFactory;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.... |
/*******************************************************************************
* INCLUDES
*/
#include "hal_types.h"
#include "hal_mcu.h"
#include "hal_board.h"
#include "hal_sleep.h"
#include "hal_rtc_wrapper.h"
#include "hal_gpio_wrapper.h"
#include "OSAL_Clock.h"
#include "rfhal.h"
#include "ll_sleep.h"
#includ... |
\providecommand{\main}{../..}
\documentclass[\main/thesis.tex]{subfiles}
\begin{document}
\section{Converting from Natural Numbers}\label{fromnat}
\lstinline|Numeral| is a family of types, so are functions that are defined on
\lstinline|Numeral|.
It is important to regard functions such as \lstinline|⟦_⟧| as a collec... |
/*
* 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 operationalinsights
// Copyright (c) Microsoft and contributors. 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... |
#import <Foundation/Foundation.h>
typedef NSString *CSAnimationType;
static CSAnimationType CSAnimationTypeBounceLeft = @"bounceLeft";
static CSAnimationType CSAnimationTypeBounceRight = @"bounceRight";
static CSAnimationType CSAnimationTypeBounceDown = @"bounceDown";
static CSAnimationType CSAnimationTypeBou... |
This guide targets advanced developers interested in knowing the technical details of our implementation. (For a general description of the software, please refer to *README.md* file)
## Technical Overview ##
This package is implemented in Scala/Java. Dependencies are handled via Maven (some private libraries are pro... |
(function($) {
$(function() {
var fetching = false;
$('.calendar-view-more').live("click",function(e) {
fetching = true;
e.preventDefault();
$(this).addClass('loading');
var $t = $(this);
$.ajax({
url: $t.attr('href'),
success: function(data) {
$t.remove();
$('#event-calendar-events').append... |
#include "config.h"
#if ENABLE(WEBGL)
#include "ANGLEWebKitBridge.h"
#include <wtf/OwnArrayPtr.h>
namespace WebCore {
ANGLEWebKitBridge::ANGLEWebKitBridge() :
builtCompilers(false),
m_fragmentCompiler(0),
m_vertexCompiler(0)
{
ShInitialize();
}
ANGLEWebKitBridge::~ANGLEWebKitBridge()
{
clean... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2016 LinkedIn Corp.
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 ... |
<!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_112-release) on Sat May 06 16:33:02 CEST 2017 -->
<title>AbstractEchoImage</title>
<meta name="date" content="2017-05-06">
<link rel="styleshee... |
namespace gfx {
enum class VectorIconId;
}
// Describes the interface a feature utilizing permission bubbles should
// implement. A class of this type is registered with the permission bubble
// manager to receive updates about the result of the permissions request
// from the bubble. It should live until it is unregi... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
angular.module('umbraco.mocks').
factory('treeMocks', ['$httpBackend', 'mocksUtils', function ($httpBackend, mocksUtils) {
'use strict';
function getMenuItems() {
if (!mocksUtils.checkAuth()) {
return [401, null, null];
}
var menu = [
{ na... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_seq_packet_socket::bind</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../in... |
using System;
using System.Diagnostics;
using System.Resources;
using System.Windows;
using System.Windows.Markup;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using BindingSourceXaml.WinPhone.Resources;
namespace BindingSourceXaml.WinPhone
{
public partial class A... |
<?php
namespace Zend\Hydrator\Strategy;
use Zend\Hydrator\Exception\InvalidArgumentException;
use Zend\Serializer\Adapter\AdapterInterface as SerializerAdapter;
use Zend\Serializer\Serializer as SerializerFactory;
class SerializableStrategy implements StrategyInterface
{
/**
* @var string|SerializerAdapter... |
<!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_45) on Mon Mar 03 10:44:39 EST 2014 -->
<title>Uses of Class org.hibernate.jpa.criteria.path.AbstractFromImpl.CorrelationJoinScope (Hib... |
class TestBrowserFont : public TestCase {
public:
TestBrowserFont(TestingInstance* instance) : TestCase(instance) {}
// TestCase implementation.
virtual bool Init();
virtual void RunTests(const std::string& filter);
private:
std::string TestFontFamilies();
std::string TestMeasure();
std::string TestMe... |
/**
* @fileoverview Disallow string concatenation when using __dirname and __filename
* @author Nicholas C. Zakas
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
mod... |
/**
* @author Valentin Al. Sitnick
* @version $Revision: 1.1 $
*
*/
/* *********************************************************************** */
#include "events.h"
#include "utils.h"
#include <math.h>
static bool test = false;
static bool util = false;
static bool flag = false;
static jvmtiError result;
con... |
084: unbracketed namespace with nested bracketed namespace
--FILE--
<?php
namespace foo;
use \foo;
class bar {
function __construct() {echo __METHOD__,"\n";}
}
new foo;
new bar;
namespace oops {
class foo {
function __construct() {echo __METHOD__,"\n";}
}
use foo\bar as foo1;
new foo1;
new foo;
}
?>
===DONE===
--EXPE... |
<!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_34) on Mon Jun 03 22:20:33 BST 2013 -->
<TITLE>
Uses of Class org.newdawn.slick.openal.WaveData (Slick - The 2D Library)
</TITLE>
<META NAME="date" ... |
"""
Tests For weights.
"""
import mock
from nova.scheduler import weights as scheduler_weights
from nova.scheduler.weights import ram
from nova import test
from nova.tests.unit.scheduler import fakes
from nova import weights
class TestWeigher(test.NoDBTestCase):
def test_no_multiplier(self):
class FakeW... |
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE erlref SYSTEM "erlref.dtd">
<!-- THIS FILE IS GENERATED DO NOT EDIT -->
<erlref>
<header>
<copyright>
<year>2020</year>
<holder>wxWidgets team.</holder></copyright>
<legalnotice>Licensed under the wxWindows Free Documentation Licence, Version 3
</legaln... |
import {
CRASHES_YEAR_RANGE_ERROR,
CRASHES_YEAR_RANGE_REQUEST,
CRASHES_YEAR_RANGE_SUCCESS,
} from '../constants/action_types';
export default (state = {}, action) => {
switch (action.type) {
case CRASHES_YEAR_RANGE_REQUEST:
return {
...state,
_fetchingCrashesYearRange: true,
};
... |
AUTOCOMMIT OFF;
-- MODULE DML174
-- SQL Test Suite, V6.0, Interactive SQL, dml174.sql
-- 59-byte ID
-- TEd Version #
-- AUTHORIZATION FLATER
set schema FLATER;
--O SELECT USER FROM HU.ECCO;
VALUES USER;
-- RERUN if USER value does not match preceding AUTHORIZATION comment
ROLLBACK WORK;
-- date_time pr... |
import mosquitto
def on_connect(mosq, obj, rc):
mosq.subscribe("$SYS/#", 0)
print("rc: "+str(rc))
def on_message(mosq, obj, msg):
print(msg.topic+" "+str(msg.qos)+" "+str(msg.payload))
def on_publish(mosq, obj, mid):
print("mid: "+str(mid))
def on_subscribe(mosq, obj, mid, granted_qos):
print("S... |
<!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_102) on Thu Sep 29 16:37:38 CEST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>energy.usef.mdc.even... |
namespace tensorflow {
// Message-text conversion for tensorflow.TensorSliceProto.Extent
string ProtoDebugString(
const ::tensorflow::TensorSliceProto_Extent& msg);
string ProtoShortDebugString(
const ::tensorflow::TensorSliceProto_Extent& msg);
bool ProtoParseFromString(
const string& s,
::tensorflow:... |
require 'spec_helper'
describe DomainsController, "index" do
it "should display all zones to the admin" do
sign_in(Factory(:admin))
Factory(:domain)
get 'index'
response.should render_template('domains/index')
assigns(:domains).should_not be_empty
assigns(:domains).size.should be(Domain.c... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.IO;
using LumenWorks.Framework.IO.Csv.Resources;
namespace LumenWorks.Framework.IO.Csv
{
/// <summary>
/// Represents a reader that provides fast, cached, dynamic access to CSV data.
... |