text stringlengths 3 1.05M |
|---|
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:... |
class PrefValueMap;
namespace base {
class Value;
}
namespace policy {
class PolicyErrorMap;
class PolicyMap;
// ConfigurationPolicyHandler for the incognito mode policies.
class IncognitoModePolicyHandler : public ConfigurationPolicyHandler {
public:
IncognitoModePolicyHandler();
virtual ~IncognitoModePolicyH... |
package org.apache.hadoop.hdfs.server.common;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.Map;
import java.util.Properties;
import java.util.SortedSet;
import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.h... |
/**
* Actuator support relating to external configuration properties.
*/
package org.springframework.boot.actuate.context.properties;
|
<?php
namespace Symfony\Component\Form\Extension\Core\EventListener;
@trigger_error('The class '.__NAMESPACE__.'\FixCheckboxInputListener is deprecated since version 2.7 and will be removed in 3.0. Use Symfony\Component\Form\Extension\Core\DataMapper\CheckboxListMapper instead.', E_USER_DEPRECATED);
use Symfony\Co... |
'use strict';
/* eslint-env browser */
/*!
* Module dependencies.
*/
var Document = require('./document.js');
var BrowserDocument = require('./browserDocument.js');
/**
* Returns the Document constructor for the current context
*
* @api private
*/
module.exports = function() {
if (typeof window !== 'undefine... |
package main
import (
"bufio"
"flag"
"fmt"
"io"
"io/ioutil"
"log"
"math"
"reflect"
"regexp"
"sort"
"strconv"
"strings"
"golang.org/x/text/internal/gen"
"golang.org/x/text/internal/tag"
"golang.org/x/text/unicode/cldr"
)
var (
test = flag.Bool("test",
false,
"test existing tables; can be used to c... |
[](https://travis-ci.org/diogoosorio/blog)
## Welcome to Diogo's personal blog
My poor attempt of writing a small static blog generator (à la Jekyll). This time the main weapons of choice were Python and Flask.
During this first (quick) iterati... |
import parseArgs from "minimist"
import * as utils from "./utils.js"
import * as fs from "fs-extra"
import * as path from "path"
async function main(parsedArgs: parseArgs.ParsedArgs) {
// perpare and check arguments
const referenceDir: string = parsedArgs["r"] ?? "grapherSvgs"
const differencesDir: string ... |
This examples shows how parameters can be passed either by name or by position.
> **Note:**: Before running the examples, make sure you have a valid Qlik Cloud tenant host and API key in your environment variables
> ```
> QCS_HOST=<tenant>.qlikcloud.com
> QCS_API_KEY=<APIkey>
> ```
> - How to obtain an API key? [click... |
package org.gradle.language.swift.internal;
import org.gradle.language.swift.SwiftPlatform;
import org.gradle.language.swift.SwiftVersion;
import org.gradle.nativeplatform.TargetMachine;
import org.gradle.nativeplatform.platform.NativePlatform;
public class DefaultSwiftPlatform implements SwiftPlatform {
privat... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/demo_tv"
android:layout_width="match_paren... |
package io.grpc.transport;
import io.grpc.Metadata;
/**
* A observer of a server-side transport for stream creation events.
*/
public interface ServerTransportListener {
/**
* Called when a new stream was created by the remote client.
*
* @param stream the newly created stream.
* @param method the ... |
#import <Foundation/Foundation.h>
#import "CCNode.h"
#import "CCCamera.h"
#import "ccTypes.h"
@class CCTexture2D;
@class CCGrabber;
/** Base class for other
*/
@interface CCGridBase : NSObject
{
BOOL active_;
int reuseGrid_;
ccGridSize gridSize_;
CCTexture2D *texture_;
CGPoint step_;
CCGrabber *grabber... |
package containerregistry
// 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.0... |
bool OutputR::execute(int in, int out)
{
//take in the data on the right as the output file to truncate and add
string outputF = right->getData();
out = open(outputF.c_str(), O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
return left->execute(0, out);
} |
/**
* @license AngularJS v1.0.0rc10
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*
* TODO(vojta): wrap whole file into closure during build
*/
/**
* @ngdoc overview
* @name angular.mock
* @description
*
* Namespace from 'angular-mocks.js' which contains testing related code.
*/
angular... |
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<... |
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_TESTING_TESTING_PLATFORM_SUPPORT_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_TESTING_TESTING_PLATFORM_SUPPORT_H_
#include <memory>
#include <utility>
#include "base/auto_reset.h"
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/scoped_refptr.h"... |
#ifndef VBO_H
#define VBO_H
#include "resource/model.h"
typedef struct _LaoVBOBinding _LaoVBOBinding;
struct _LaoVBOBinding {
int start;
int end;
int id;
};
typedef unsigned int GLuint;
struct LaoVBO;
struct LaoModel;
struct LaoVertex;
void _lao_vbo_init(struct LaoVBO *vbo, int size);
void _lao_vbo_bind_model(... |
require File.dirname(__FILE__) + '/../spec_helper'
[C.p1, C.p2].each do |cfg|
describe "Process Pid Managment '#{cfg[:name]}'" do
it "crashed of process should remove pid_file for daemonize only" do
start_ok_process(cfg)
die_process!(@pid)
mock(@process).start # stub start for clean test
... |
package com.orientechnologies.orient.test.database.speed;
import java.io.UnsupportedEncodingException;
import java.util.List;
import org.testng.annotations.Test;
import com.orientechnologies.common.test.SpeedTestMonoThread;
import com.orientechnologies.orient.core.command.OCommandResultListener;
import co... |
/**
* \file SDL.h
*
* Main include header for the SDL library
*/
/**
* \mainpage Simple DirectMedia Layer (SDL)
*
* http://www.libsdl.org/
*
* \section intro_sec Introduction
*
* Simple DirectMedia Layer is a cross-platform development library designed
* to provide low level access to audio, keybo... |
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.title | xml_escape }}</title>
<description>{{ site.description | xml_escape }}</description>
<link>{{ site.url }}{{ site.baseurl }}/</link>
<atom:link href="{{ ... |
using Microsoft.IdentityModel;
using Microsoft.IdentityModel.S2S.Protocols.OAuth2;
using Microsoft.IdentityModel.S2S.Tokens;
using Microsoft.SharePoint.Client;
using Microsoft.SharePoint.Client.EventReceivers;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalizati... |
package v1
import (
"k8s.io/apimachinery/pkg/runtime"
)
func addDefaultingFuncs(scheme *runtime.Scheme) error {
// return RegisterDefaults(scheme)
return nil
}
|
export var addLeadingSlash = function addLeadingSlash(path) {
return path.charAt(0) === '/' ? path : '/' + path;
};
export var stripLeadingSlash = function stripLeadingSlash(path) {
return path.charAt(0) === '/' ? path.substr(1) : path;
};
export var hasBasename = function hasBasename(path, prefix) {
return new... |
YUI.add('frame', function (Y, NAME) {
/*jshint maxlen: 500 */
/**
* Creates a wrapper around an iframe. It loads the content either from a local
* file or from script and creates a local YUI instance bound to that new window and document.
* @class Frame
* @for Frame
* @extends Base
... |
package org.apache.camel.component.websocket;
import java.util.Collection;
import java.util.concurrent.ConcurrentHashMap;
public class MemoryWebsocketStore extends ConcurrentHashMap<String, DefaultWebsocket> implements WebsocketStore {
private static final long serialVersionUID = -2826843758230613922L;
@Ov... |
/* Browser Resets
*********************************/
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}
/* Icon Fonts
*********************************... |
YUI.add('json-stringify-shim', function (Y, NAME) {
// All internals kept private for security reasons
var Lang = Y.Lang,
isFunction= Lang.isFunction,
isObject = Lang.isObject,
isArray = Lang.isArray,
_toStr = Object.prototype.toString,
UNDEFINED = 'undefined',
OBJECT = 'object'... |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:lang="http://www.springframework.org/schema/lang"
xmlns:security="http://www.springframewor... |
void initialize()
{
SelectParams(CBaseChainParams::REGTEST);
}
void test_one_input(const std::vector<uint8_t>& buffer)
{
V1TransportDeserializer deserializer{Params().MessageStart(), SER_NETWORK, INIT_PROTO_VERSION};
const char* pch = (const char*)buffer.data();
size_t n_bytes = buffer.size();
whil... |
#ifndef MITKIMAGETODIFFUSIONIMAGESOURCE_H
#define MITKIMAGETODIFFUSIONIMAGESOURCE_H
#include "mitkDiffusionImageSource.h"
namespace mitk
{
/**
* @class ImageToDiffusionImageSource
* @brief The class requires a 3d+t image, list of gradient directions and a corresponding b-value
* and reinterprets the input image ... |
"use strict";
var _index = require("./index");
var _index2 = _interopRequireDefault(_index);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
(0, _index2.default)("AssignmentPattern", {
visitor: ["left", "right"],
aliases: ["Pattern", "LVal"],
fields: {
left:... |
<?php
namespace Sylius\Bundle\ShippingBundle;
use Sylius\Bundle\ResourceBundle\AbstractResourceBundle;
use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
use Sylius\Bundle\ShippingBundle\DependencyInjection\Compiler\RegisterCalculatorsPass;
use Sylius\Bundle\ShippingBundle\DependencyInjection\Compiler\RegisterR... |
//
// Decorator.h
// Decorator
//
// Created by HKY on 16/2/16.
// Copyright © 2016年 HKY. All rights reserved.
//
#import "Component.h"
/**
* Decorator 为装饰抽象类,继承自 Component,从外类扩展 Component 类的功能
*/
@interface Decorator : Component
@property (nonatomic, strong)Component *component;
@end
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Interfaces | Event Manager</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap-... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.4.2 (/usr/bin/python3.4)" project-jdk-type="Python SDK" />
</project> |
package com.google.security.zynamics.binnavi.Gui.HotkeyDialog;
import javax.swing.table.DefaultTableCellRenderer;
/**
* Renderer class for rendering the left half of hotkey section titles.
*/
public final class CLeftTitleRenderer extends DefaultTableCellRenderer {
/**
* Used for serialization.
*/
private... |
module Jekyll
class Plugin
PRIORITIES = {
:low => -10,
:highest => 100,
:lowest => -100,
:normal => 0,
:high => 10
}
#
def self.inherited(const)
return catch_inheritance(const) do |const_|
catch_inheritance(const_)
end
end
#
def self.ca... |
package test_internalclientset
import (
"github.com/golang/glog"
unversionedtestgroup "k8s.io/kubernetes/cmd/libs/go2idl/client-gen/testoutput/clientset_generated/test_internalclientset/typed/testgroup.k8s.io/unversioned"
restclient "k8s.io/kubernetes/pkg/client/restclient"
discovery "k8s.io/kubernetes/pkg/clien... |
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
#ifdef ENABLE_LOGS_PREVIEW
# include "opentelemetry/sdk/logs/log_record.h"
# include "opentelemetry/sdk/logs/logger.h"
# include <gtest/gtest.h>
using namespace opentelemetry::sdk::logs;
namespace logs_api = opentelemetry::logs;
TEST(... |
(function() {
var _ = typeof require == 'function' ? require('..') : window._;
QUnit.module('Collections');
test('each', function() {
_.each([1, 2, 3], function(num, i) {
equal(num, i + 1, 'each iterators provide value and iteration count');
});
var answers = [];
_.each([1, 2, 3], functio... |
function ValidationError(message, offendingProperty) {
this.message = message;
this.stack = new Error().stack;
this.statusCode = 422;
if (offendingProperty) {
this.property = offendingProperty;
}
this.errorType = this.name;
}
ValidationError.prototype = Object.create(Error.prototype);
V... |
"""
Configure pytest environment.
Add project-specific information.
.. seealso::
* https://github.com/pytest-dev/pytest-html
"""
import behave
import pytest
@pytest.fixture(autouse=True)
def _annotate_environment(request):
"""Add project-specific information to test-run environment:
* behave.version
... |
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the A... |
//
// BLSmartConfigViewController.m
// TCLAir
//
// Created by yang on 4/11/14.
// Copyright (c) 2014 BroadLink. All rights reserved.
//
#import "BLSmartConfigViewController.h"
#import "GlobalDefine.h"
#import "BLNetwork.h"
#import "JSONKit.h"
#import "BLFMDBSqlite.h"
#import "Toast+UIView.h"
#import "BLAppDelegat... |
<?php
/**
* ControllerCommand generates a controller class.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @version $Id: ControllerCommand.php 2799 2011-01-01 19:31:13Z qiang.xue $
* @package system.cli.commands.shell
* @since 1.0
*/
class ControllerCommand extends CConsoleCommand
{
/**
* @var string the dir... |
<?php
namespace Doctrine\ORM\Query\Filter;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\Mapping\ClassMetadata;
use Doctrine\ORM\Query\ParameterTypeInferer;
/**
* The base class that user defined filters should extend.
*
* Handles the setting and escaping of parameters.
*
* @author Alexander <iam.a... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ajax-php</title>
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1,... |
// See docs in ../ops/array_ops.cc.
#include "tensorflow/core/lib/core/refcount.h"
#define EIGEN_USE_THREADS
#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
#define EIGEN_USE_GPU
#endif // GOOGLE_CUDA || TENSORFLOW_USE_ROCM
#include "tensorflow/core/kernels/strided_slice_op.h"
#include "third_party/eigen3/unsupported/Eig... |
CLOG_DEFINE_LOG_DEBUG(named_log_debug, "Unit Test", CLOG_DEBUG);
CLOG_DEFINE_LOG_INFO(named_log_info, "Unit Test", CLOG_INFO);
CLOG_DEFINE_LOG_WARNING(named_log_warning, "Unit Test", CLOG_WARNING);
CLOG_DEFINE_LOG_ERROR(named_log_error, "Unit Test", CLOG_ERROR);
CLOG_DEFINE_LOG_FATAL(named_log_fatal, "Unit Test", CLOG_... |
import babel from 'rollup-plugin-babel';
import nodeResolve from 'rollup-plugin-node-resolve';
import uglify from 'rollup-plugin-uglify';
import bundleSize from 'rollup-plugin-bundle-size';
import commonjs from 'rollup-plugin-commonjs';
const name = `domCreateElementQuerySelector`;
const plugins = [
babel(),
node... |
(function() {
// Load plugin specific language pack
tinymce.PluginManager.requireLangPack('example');
tinymce.create('tinymce.plugins.ExamplePlugin', {
/**
* Initializes the plugin, this will be executed after the plugin has been created.
* This call is done before the editor instance has finishe... |
const PREFIX = "localOptions:";
function get(key, defaultValue = undefined) {
const fullKey = PREFIX + key;
if (fullKey in window.localStorage) {
return JSON.parse(window.localStorage.getItem(fullKey));
}
return defaultValue;
}
function set(key, value) {
const fullKey = PREFIX + key;
window.localStora... |
package com.google.common.collect;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.collect.CollectPreconditions.checkNonnegative;
import static com.google.common.collect.CollectPreconditions.checkRemove;
import static com.google.common.collect.Hashing.smearedHash;
i... |
namespace System.Xml.Serialization
{
using System;
using System.Reflection;
using System.Collections;
using System.ComponentModel;
using System.Linq;
internal enum SoapAttributeFlags
{
Enum = 0x1,
Type = 0x2,
Element = 0x4,
Attribute = 0x8,
}
/// <in... |
<a href='https://github.com/angular/angular.js/edit/v1.2.x/src/ngResource/resource.js?message=docs(ngResource)%3A%20describe%20your%20change...#L46' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<h1>
<code>ngResource</code>
</h1>
<h1 id="ngresource">ngResou... |
#include <zxing/Reader.h>
namespace zxing {
Reader::~Reader() { }
Ref<Result> Reader::decode(Ref<BinaryBitmap> image) {
return decode(image, DecodeHints::DEFAULT_HINT);
}
}
|
<?php
namespace Silex;
use Symfony\Component\HttpKernel\HttpCache\HttpCache as BaseHttpCache;
use Symfony\Component\HttpFoundation\Request;
/**
* HTTP Cache extension to allow using the run() shortcut.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
class HttpCache extends BaseHttpCache
{
/**
* H... |
import supybot.conf as conf
import supybot.ircutils as ircutils
import supybot.registry as registry
from supybot.i18n import PluginInternationalization, internationalizeDocstring
_ = PluginInternationalization('Protector')
def configure(advanced):
# This will be called by supybot to configure this module. advance... |
package client
import (
"bytes"
"context"
"fmt"
"io"
"os"
"path"
"runtime"
"strings"
"syscall"
"testing"
"time"
. "github.com/containerd/containerd"
apievents "github.com/containerd/containerd/api/events"
"github.com/containerd/containerd/cio"
"github.com/containerd/containerd/containers"
"github.co... |
package storage
import (
"sync"
pb "go.etcd.io/etcd/api/v3/etcdserverpb"
"go.etcd.io/etcd/server/v3/config"
"go.etcd.io/etcd/server/v3/storage/backend"
humanize "github.com/dustin/go-humanize"
"go.uber.org/zap"
)
const (
// DefaultQuotaBytes is the number of bytes the backend Size may
// consume before exce... |
angular.module('ngCordova.plugins.googlePlus', [])
.factory('$cordovaGooglePlus', ['$q', '$window', function ($q, $window) {
return {
login: function (iosKey) {
var q = $q.defer();
if (iosKey === undefined) {
iosKey = {};
}
$window.plugins.googleplus.login({'iOSA... |
class IO #:nodoc:
class << self
def binread(file, *args)
raise ArgumentError, "wrong number of arguments (#{1 + args.size} for 1..3)" unless args.size < 3
File.open(file, 'rb') do |f|
f.read(*args)
end
end unless method_defined? :binread
end
end
|
;(function(window) {
var BOOL_ATTR = ('allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,'+
'defaultchecked,defaultmuted,defaultselected,defer,disabled,draggable,enabled,formnovalidate,hidden,'+
'indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,... |
import _extends from "@babel/runtime/helpers/extends";
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["children", "mode",... |
namespace blink {
PassOwnPtr<TracedValue> TracedValue::create()
{
return adoptPtr(new TracedValue());
}
TracedValue::TracedValue()
: m_tracedValue(new base::trace_event::TracedValue)
{
}
TracedValue::~TracedValue()
{
}
void TracedValue::setInteger(const char* name, int value)
{
ASSERT(m_tracedValue.get(... |
//! \file fbxarray.h
#ifndef _FBXSDK_CORE_BASE_ARRAY_H_
#define _FBXSDK_CORE_BASE_ARRAY_H_
#include <fbxsdk/fbxsdk_def.h>
#include <fbxsdk/fbxsdk_nsbegin.h>
/** Class for array of basic elements such as pointers and basic types. This class will not
* call constructor and destructor for elements, thus it is not sui... |
package tarsum
import (
"archive/tar"
"errors"
"sort"
"strconv"
"strings"
)
// versioning of the TarSum algorithm
// based on the prefix of the hash used
// i.e. "tarsum+sha256:e58fcf7418d4390dec8e8fb69d88c06ec07039d651fedd3aa72af9972e7d046b"
type Version int
// Prefix of "tarsum"
const (
Version0 Version = io... |
package frame;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Cursor;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionAdapter;
import javax.swing.J... |
#pragma once
#include <deque>
#include <map>
#include <memory>
#include <set>
#include <unordered_map>
#include <vector>
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#endif
#ifndef WIN32
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
/// Wrap this include wi... |
package com.twitter.finagle.httpx.codec
import com.twitter.finagle.httpx.Request
import com.twitter.logging.Logger
import org.jboss.netty.channel.{ChannelHandlerContext, MessageEvent, SimpleChannelDownstreamHandler}
import org.jboss.netty.handler.codec.http.HttpHeaders
/**
* Convert Finagle-HTTP requests to Netty Re... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>
WebSockets
</title>
</head>
<body>
<h1>WebSockets</h1>
<p>
Las WebSockets pueden utilizarse por aplicaciones web o sitios web para configurar un canal bidireccional (dos vías... |
<?php
namespace Zend\Stdlib\Hydrator;
use ReflectionClass;
use Zend\Stdlib\Exception;
class Reflection extends AbstractHydrator
{
/**
* Simple in-memory array cache of ReflectionProperties used.
* @var \ReflectionProperty[]
*/
protected static $reflProperties = [];
/**
* Extract val... |
package org.apache.hadoop.hbase.chaos.factories;
import java.util.Map;
import java.util.Set;
import com.google.common.collect.ImmutableMap;
import org.apache.hadoop.hbase.IntegrationTestingUtility;
import org.apache.hadoop.hbase.chaos.monkies.ChaosMonkey;
/**
* Base class of the factory that will create a ChaosMo... |
module M {
export interface E { }
interface I { }
}
module M {
export interface E { } // ok
interface I { } // ok
}
// Doesn't match export visibility, but it's in a different parent, so it's ok
module M {
interface E { } // ok
export interface I { } // ok
}
module N {
interface I { }
... |
import pymongo
from scrapy.conf import settings
from scrapy.exceptions import DropItem
class MongoDBPipeline(object):
def __init__(self):
connection = pymongo.MongoClient(
settings['MONGODB_SERVER'],
settings['MONGODB_PORT']
)
db = connection[settings['MONGODB_DB']]
self.collection = db[settings['MONGOD... |
<?php
/**
* Class for a set of entries for translation and their associated headers
*
* @version $Id: translations.php 718 2012-10-31 00:32:02Z nbachiyski $
* @package pomo
* @subpackage translations
*/
require_once dirname(__FILE__) . '/entry.php';
if ( !class_exists( 'Translations' ) ):
class Translations {
... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>jQuery Mobile FieldContain Integration Test</title>
<script src="../../../external/requirejs/require.js"></script>
<script src="../../../js/requirejs.config.js"></script>
<script src="../../../js/jquery.tag.inserter.js"></script>
<script src... |
class Config
{
private:
// The top level directory for upackage
static std::string upackage_root;
// The directory for the build files (ubuilds)
static std::string ubuild_path;
// The directory that we put our source tarballs in
static std::string tarball_p... |
package businessmodel.assemblyline;
import businessmodel.Catalog;
import businessmodel.category.VehicleOption;
import businessmodel.category.VehicleOptionCategory;
import java.util.ArrayList;
/**
* A class representing an assembly task.
*
* @author SWOP team 10
*/
public class AssemblyTask {
private String ... |
/*global jQuery, Backbone, _ */
( function( $, Backbone, _ ) {
'use strict';
/**
* WooCommerce Backbone Modal plugin
*
* @param {object} options
*/
$.fn.WCBackboneModal = function( options ) {
return this.each( function() {
( new $.WCBackboneModal( $( this ), options ) );
});
};
/**
* Initialize... |
set -e
# grep the src/ directory for .java files that contain the string 'new ProjectFilesystem('
# as a proxy for the number of places a ProjectFilesystem is created in Buck.
#
# There should only be a tightly constrained number of instances.
#
# At the time of this writing, this occurs in src/com/facebook/buck/cli/M... |
#include <linux/init.h>
#include <linux/module.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <asm/processor.h>
#include <asm/uaccess.h>
#include <asm/cache.h>
#include <asm/io.h>
enum cache_type {
CACHE_TYPE_ICACHE,
CACHE_TYPE_DCACHE,
CACHE_TYPE_UNIFIED,
};
static int cache_seq_show(struct se... |
<?php
/**
* Adds an exists() method for loaders.
*
* @author Florin Patan <florinpatan@gmail.com>
*
* @deprecated since 1.12 (to be removed in 3.0)
*/
interface Twig_ExistsLoaderInterface
{
/**
* Check if we have the source code of a template, given its name.
*
* @param string $name The name... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package mvcc
|
<!DOCTYPE html>
<html lang="en">
<head>
<title>How do I view group membership in the roster?</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="sakai.site.roster2" name="description">
<meta content="" name="search">
<link href="/library/skin/tool_base.css" media="screen" rel="sty... |
title: "Zika Virus"
layout: single
permalink: /zika-virus/
---
The Zika Virus has been in the news a lot lately, and as our knowledge of it
expands, here are a few good sources of information about it:
- [http://www.cdc.gov/zika](http://www.cdc.gov/zika/)
- [http://wwwnc.cdc.gov/travel/notices/alert/zika-virus-mexico... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.Editor.VisualBasic.KeywordHighlighting
Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.KeywordHighlighting
Pu... |
package org.wso2.carbon.iot.android.sense.util.dto;
/**
* This class represents the data that are required to register
* the oauth application.
*/
public class ApiRegistrationProfile {
public String applicationName;
public String tags[];
public boolean isAllowedToAllDomains;
public String consum... |
namespace blink {
WorkerInternals::~WorkerInternals() = default;
WorkerInternals::WorkerInternals() = default;
OriginTrialsTest* WorkerInternals::originTrialsTest() const {
return MakeGarbageCollected<OriginTrialsTest>();
}
void WorkerInternals::countFeature(ScriptState* script_state,
... |
from setuptools import setup
__version__ = '3.0.2b1'
setup(
name='googledatastore',
version=__version__,
description='google cloud datastore protobuf client',
long_description=open('README.rst').read(),
author='Johan Euphrosine',
author_email='proppy@google.com',
url='https://github.com/Go... |
<?php
namespace Zend\Console;
use Zend\Stdlib\Message;
use Zend\Stdlib\Parameters;
use Zend\Stdlib\RequestInterface;
class Request extends Message implements RequestInterface
{
/**
* @var \Zend\Stdlib\Parameters
*/
protected $params = null;
/**
* @var \Zend\Stdlib\Parameters
*/
... |
package org.springframework.boot.context.properties.bind;
import java.util.ArrayList;
import java.util.Collections;
import java.util.EnumSet;
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import org.junit.jupiter.api.Test;
import org.springframework.boot.... |
// For copyright & license, see LICENSE.
#import <Foundation/Foundation.h>
#import "L4LoggerProtocols.h"
@class L4Level, L4Logger;
/**
* Manages all logger instances.
* TODO Add support the L4RendererSupport protocol, called from the L4LoggingEvent:renderedMessage method.
*/
@interface L4LoggerStore : NSObject <L4... |
#include "tensorflow/core/example/example_parser_configuration.h"
#include <memory>
#include "tensorflow/core/framework/attr_value.pb.h"
#include "tensorflow/core/framework/node_def.pb.h"
#include "tensorflow/core/framework/tensor_testutil.h"
#include "tensorflow/core/lib/core/status_test_util.h"
#include "tensorflo... |
from __future__ import absolute_import
import logging
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext as _
from desktop.lib.exceptions_renderable import PopupException
from desktop.lib.i18n import force_unicode
from notebook.connectors.base import Api, QueryError
LOG = l... |