text stringlengths 3 1.05M |
|---|
<!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
<link href="base.css" rel="stylesheet">
<link href="editor.css" rel="stylesheet">
<link href="Street_Fighter-neovatar.css" rel="stylesheet">
<title></title>
</head>
<body style="overflow: visible;">
<div class="ui-dialog ... |
<chart exportEnabled='1' exportAction='Save' exportAtClient='0' exportHandler='../Export_Handler/FCExporter.aspx'
caption='Monthly Unit Sales' xAxisName='Month' yAxisName='Units' showValues='0' formatNumberScale='0' showBorder='1' >
<set label='Jan' value='462' />
<set label='Feb' value='857' />
<set label='Mar' va... |
<?php
namespace Symfony\Component\Form;
use Symfony\Component\Form\Exception\UnexpectedTypeException;
class FormFactory implements FormFactoryInterface
{
/**
* @var FormRegistryInterface
*/
private $registry;
/**
* @var ResolvedFormTypeFactoryInterface
*/
private $resolvedTypeF... |
<?php
namespace DesignPatterns\Creational\StaticFactory\Tests;
use DesignPatterns\Creational\StaticFactory\StaticFactory;
/**
* Tests for Static Factory pattern
*
*/
class StaticFactoryTest extends \PHPUnit_Framework_TestCase
{
public function getTypeList()
{
return array(
array('stri... |
/*!
:: mo · js :: motion graphics toolbelt for the web
Oleg Solomka @LegoMushroom 2015 MIT
0.147.4
*/
(function(f){
if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if... |
#ifndef FLATBUFFERS_MINIREFLECT_H_
#define FLATBUFFERS_MINIREFLECT_H_
#include "flatbuffers/flatbuffers.h"
#include "flatbuffers/util.h"
namespace flatbuffers {
// Utilities that can be used with the "mini reflection" tables present
// in generated code with --reflect-types (only types) or --reflect-names
// (also... |
class State < ActiveRecord::Base
belongs_to :country
has_one :zone_member, :as => :zoneable
has_one :zone, :through => :zone_member
validates :country, :name, :presence => true
end
|
import cgi
from mod_pywebsocket import common
from mod_pywebsocket import msgutil
def web_socket_do_extra_handshake(request):
pass
def web_socket_transfer_data(request):
send_payload = ''
r = request.ws_resource.split('?', 1)
if len(r) == 2:
params = cgi.parse_qs(r[1])
if 'payload' i... |
<?php
/**
* Translate model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_Core_Model_Translate
{
const CSV_SEPARATOR = ',';
const SCOPE_SEPARATOR = '::';
const CACHE_TAG = 'translate';
const CONFIG_KEY_AREA = 'area';
const CONFIG_KEY_LOCALE = 'loc... |
<!doctype html>
<html>
<head>
<title>video events - canplaythrough</title>
<script src="../../w3cwrapper.js"></script>
<script src="../../../Microsoft/common/media.js"></script>
</head>
<body>
<p><a href="http://dev.w3.org/html5/spec/Overview.html#mediaevents">spec reference</a></p>
<video id="a" controls>... |
package water.fvec;
import water.*;
/**
* The empty-compression function, where data is in 'float's.
*/
public class C4FChunk extends Chunk {
C4FChunk( byte[] bs ) { _mem=bs; _start = -1; _len = _mem.length>>2; }
@Override protected final long at8_impl( int i ) {
float res = UDP.get4f(_mem,i<<2);
if( Fl... |
[](https://gitter.im/hypriot/talk?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://travis-ci.org/hypriot/image-buil... |
#include "redismodule.h"
#include <string.h>
#include <assert.h>
#include <unistd.h>
#include <errno.h>
#include <limits.h>
#define UNUSED(x) (void)(x)
int test_call_generic(RedisModuleCtx *ctx, RedisModuleString **argv, int argc)
{
if (argc<2) {
RedisModule_WrongArity(ctx);
return REDISMODULE_OK... |
<html>
<head>
<script>
function debug(str) {
var d = document.getElementById('console');
d.appendChild(document.createTextNode(str + '\n'));
}
function handler(event) {
success = true;
}
function runTests() {
if (window.testRunner)
testRunner.dumpAsText();
var b = document.getElementById('t... |
package org.apache.drill.exec.expr.fn.impl.gis;
import javax.inject.Inject;
import org.apache.drill.exec.expr.DrillSimpleFunc;
import org.apache.drill.exec.expr.annotations.FunctionTemplate;
import org.apache.drill.exec.expr.annotations.Output;
import org.apache.drill.exec.expr.annotations.Param;
import org.apache.d... |
require('../../modules/es6.array.copy-within');
module.exports = require('../../modules/$').core.Array.copyWithin; |
import { combineReducers } from 'redux';
import { Role, Player } from "../model";
// Reducers
import { players } from './reducers/players';
import { roleIds } from './reducers/roleIds';
import { gameState } from './reducers/gameState';
import { noDistributedRoleIds } from './reducers/noDistributedRoleIds';
import { n... |
namespace mojo {
SurfacesImpl::SurfacesImpl(cc::SurfaceManager* manager,
uint32_t id_namespace,
Client* client)
: manager_(manager),
factory_(manager, this),
id_namespace_(id_namespace),
client_(client) {
}
SurfacesImpl::~SurfacesImpl() {
}
... |
<?php
namespace Symfony\Component\Intl\DateFormatter\DateFormat;
/**
* Parser and formatter for AM/PM markers format
*
* @author Igor Wiedler <igor@wiedler.ch>
*/
class AmPmTransformer extends Transformer
{
/**
* {@inheritDoc}
*/
public function format(\DateTime $dateTime, $length)
{
... |
namespace google_breakpad {
// A buffer holding a series of bytes.
struct ByteBuffer {
ByteBuffer() : start(0), end(0) { }
ByteBuffer(const uint8_t *set_start, size_t set_size)
: start(set_start), end(set_start + set_size) { }
~ByteBuffer() { };
// Equality operators. Useful in unit tests, and when we'r... |
<?php
namespace Symfony\Component\Serializer\Mapping\Factory;
use Doctrine\Common\Cache\Cache;
use Symfony\Component\Serializer\Exception\InvalidArgumentException;
use Symfony\Component\Serializer\Mapping\ClassMetadata;
use Symfony\Component\Serializer\Mapping\Loader\LoaderInterface;
/**
* Returns a {@link ClassM... |
<!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_11) on Mon Mar 17 10:57:47 PDT 2014 -->
<title>GetFileVersionsRequestTest</title>
<meta name="date" content="2014-03-17">
<link rel="st... |
package sanchez.sergio.config;
import java.util.ArrayList;
import java.util.List;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.client.ClientHttpRequestInterceptor;
import org.springframework.web.servlet.config.an... |
#define arma_sasum sasum
#define arma_dasum dasum
#define arma_snrm2 snrm2
#define arma_dnrm2 dnrm2
#define arma_sdot sdot
#define arma_ddot ddot
#define arma_sgemv sgemv
#define arma_dgemv dgemv
#define arma_cgemv cgemv
#define arma_zgemv zgemv
#define arma_sgemm sgemm
#define ... |
Include the **command line arguments** you used for ios-sim.
Don't forget to check out the [README](https://github.com/phonegap/ios-sim/blob/master/README.md) before filing this issue, to see if there are any known issues.
# Expected behavior
# Actual behavior.
# Steps to reproduce the problem
# System Specs
P... |
namespace pp {
class AndroidRSAInstance : public pp::Instance {
public:
explicit AndroidRSAInstance(PP_Instance instance);
virtual ~AndroidRSAInstance();
virtual void HandleMessage(const pp::Var& var_message);
private:
// Return result to Javascript caller.
void postError(Var& uuid, std::string error);
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using NSwag.Annotations;
using NSwag.Demo.Web.Models;
using NSwag... |
namespace Nancy.Routing.Constraints
{
/// <summary>
/// Constraint for route segments with a specific length.
/// </summary>
public class LengthRouteSegmentConstraint : ParameterizedRouteSegmentConstraintBase<string>
{
public override string Name
{
get { return ... |
"Utilities for loading models and the modules that contain them."
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from django.utils.datastructures import SortedDict
from django.utils.importlib import import_module
from django.utils.module_loading import module_has_submodule
im... |
package com.amazonaws.services.dynamodbv2.model.transform;
import java.util.Map;
import java.util.Map.Entry;
import com.amazonaws.services.dynamodbv2.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.core.JsonToken;
import static c... |
<com.tle.beans.mime.MimeEntry>
<id>217296</id>
<institution>
<id>217136</id>
<uniqueId>0</uniqueId>
<quota>0.0</quota>
<enabled>true</enabled>
</institution>
<extensions class="list">
<string>xpm</string>
</extensions>
<type>image/x-xpixmap</type>
<description>Image</description>
<at... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define("EmbedBoxCustomTarget", [], factory);
else if(typeof exports === 'object')
exports["EmbedBoxCustomTarg... |
<html>
<head>
<title>Vega Examples</title/>
<script src="lib/d3.v3.min.js"></script>
<script src="lib/d3.geo.projection.min.js"></script>
<script src="lib/d3.layout.cloud.js"></script>
<script src="lib/specs.js"></script>
<script src="../vega.js"></script>
<style>
* { font-family: Helvetic... |
/*************************************************************************//**
* @file dmdif_ssd2119_ebi.c
* @brief Dot matrix display SSD2119 interface using EBI
* @author Energy Micro AS
******************************************************************************
* @section License
* <b>(C) Copyright 2012 En... |
TEST(ProcessExtensions, NoExtension) {
Switches switches;
std::vector<std::string> extensions;
base::FilePath extension_dir;
std::vector<std::string> bg_pages;
Status status = internal::ProcessExtensions(extensions, extension_dir,
false, &switches, &bg_pages);
A... |
package org.broadleafcommerce.openadmin.server.service.persistence.module;
import org.apache.commons.lang.ArrayUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.broadleafcommerce.common.persistence.EntityConfiguration;
import org.broadleafcommerce.common.util.BLCFi... |
switch (0) {
default:
continue;
}
//// [continueNotInIterationStatement3.js]
switch (0) {
default:
continue;
}
|
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ r... |
#include <stdint.h>
#include <unistd.h>
#include "atca_hal.h"
/** \defgroup hal_ Hardware abstraction layer (hal_)
*
* \brief
* These methods define the hardware abstraction layer for communicating with a CryptoAuth device
*
@{ */
/** \brief This function delays for a number of microseconds.
*
* \param[in... |
set -o errexit
set -o nounset
set -o pipefail
run_plugins_tests() {
set -o nounset
set -o errexit
kube::log::status "Testing kubectl plugins"
# Create a folder which only contains our kubectl executable
TEMP_PATH=$(mktemp -d /tmp/tmp-kubectl-path-XXXXX)
ln -s "$(which kubectl)" "${TEMP_PATH}/kubectl"
... |
/* */
define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', 'aurelia-router', 'aurelia-metadata'], function (exports, _aureliaDependencyInjection, _aureliaTemplating, _aureliaRouter, _aureliaMetadata) {
'use strict';
exports.__esModule = true;
function _classCallCheck(instance, Constructor) ... |
class Test {
private boolean pp = false;
public Test(boolean pp) {
this.pp = pp;
}
}
|
enum class ElementTypeEnum
{
Uint8,
Int8,
Uint16,
Int16,
Uint32,
Int32,
Float,
Double,
};
enum class VertexAttributeSemantic
{
Position,
Color,
Normal,
};
struct VertexAttribute
{
std::string Name;
uint32_t Dimension;
ElementTypeEnum ElementType;
//VertexAttributeSemantic Semantic;
};
class VertexType... |
module ActiveRecord
class Migration
# Reverses the migration commands for the given block and
# the given migrations.
#
# The following migration will remove the table 'horses'
# and create the table 'apples' on the way up, and the reverse
# on the way down.
#
# class FixTLMigration ... |
#include "mbed_assert.h"
#include "pinmap.h"
#include "mbed_error.h"
void pin_function(PinName pin, int function) {
MBED_ASSERT(pin != (PinName)NC);
}
void pin_mode(PinName pin, PinMode mode) {
MBED_ASSERT(pin != (PinName)NC);
}
|
FROM python
RUN pip install redis
COPY ./worker.py /worker.py
COPY ./rediswq.py /rediswq.py
CMD python worker.py
|
Rails.application.routes.draw do
resources :comics
root to: 'comics#index'
# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".
# You can have the root of your site routed with "root"
# root 'welcome#index'
# Example ... |
using System.IO;
using System.Linq;
using NUnit.Framework;
using RaynMaker.Modules.Import.Spec;
using RaynMaker.Modules.Import.Spec.v2;
using RaynMaker.Modules.Import.Spec.v2.Extraction;
using RaynMaker.Modules.Import.Spec.v2.Locating;
namespace RaynMaker.Modules.Import.Specs
{
[TestFixture]
class ... |
<?php
namespace Onebip;
class ArrayUpdateTest extends \PHPUnit_Framework_TestCase
{
public function setUp()
{
$this->array = [0, 1, 2, null, 'a' => 1, 'b' => null];
}
public function testArrayUpdatePresent()
{
$array = array_update($this->array, 0, function ($v) { return $v + 1; }... |
// Package remote containers gRPC implementation of internalApi.RuntimeService
// and internalApi.ImageManagerService.
package remote
|
/*
* 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... |
var invariant = require("./invariant");
/**
* Convert array-like objects to arrays.
*
* This API assumes the caller knows the contents of the data type. For less
* well defined inputs use createArrayFromMixed.
*
* @param {object|function|filelist} obj
* @return {array}
*/
function toArray(obj) {
var length... |
<?xml version="1.0" encoding="UTF-8"?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>34.0</apiVersion>
<status>Active</status>
</ApexClass>
|
<!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_02) on Mon Feb 16 06:15:19 CET 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>StaticLibraryBinary... |
package com.pushtorefresh.storio3.sqlite.annotations;
import android.content.ContentValues;
import android.support.annotation.NonNull;
import com.pushtorefresh.storio3.sqlite.operations.put.DefaultPutResolver;
import com.pushtorefresh.storio3.sqlite.queries.InsertQuery;
import com.pushtorefresh.storio3.sqlite.queries.... |
<!doctype html>
<html ⚡>
<head>
<meta charset="utf-8">
<title>Vega Visualization examples</title>
<link rel="canonical" href="amps.html">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Questrial" rel="stylesheet" type="te... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015... |
'use strict';
/**
* Use invariant() to assert state which your program assumes to be true.
*
* Provide sprintf-style format (only %s is supported) and arguments
* to provide information about what broke and what you were
* expecting.
*
* The invariant message will be stripped in production, but the invariant
... |
<!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">
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
<link rel=... |
package org.wso2.carbon.identity.entitlement.pep.agent.soap.authenticationAdmin;
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.context.ConfigurationContextFactory;
import org.apache.axis2.description.TransportOutDescription;
import org.apache.axis2.transport.http.HTTPConstants;
import ... |
<?php
class LightOpenID
{
public $returnUrl
, $required = array()
, $optional = array()
, $verify_peer = null
, $capath = null
, $cainfo = null
, $data;
private $identity, $claimed_id;
protected $server, $version, $trustRoot, $aliases, $identifier_select = false
, $ax = false, $... |
var assert = require('assert');
var battle;
describe('Leftovers [Gen 2]', function () {
afterEach(function () {
battle.destroy();
});
it('should heal after switch', function () {
battle = BattleEngine.Battle.construct('battle-leftovers-gsc', 'gen2customgame');
battle.join('p1', 'Guest 1', 1, [
{species: '... |
<!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) on Sun Feb 26 17:08:09 EST 2017 -->
<title>PublishSubscribeService (Edgent v1.1.0)</title>
<meta name="date" content="2017-02-26">
<link r... |
package install
import (
"fmt"
"github.com/golang/glog"
"k8s.io/kubernetes/federation/apis/federation"
"k8s.io/kubernetes/federation/apis/federation/v1beta1"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/meta"
"k8s.io/kubernetes/pkg/api/unversioned"
"k8s.io/kubernetes/pkg/apimachinery"
"k8s.io/ku... |
'use strict';
var path = require('path'),
PluginError = require('gulp-util').PluginError,
CleanCSS = require('clean-css'),
through2 = require('through2'),
BufferStreams = require('bufferstreams'),
cache = require('memory-cache'),
applySourceMap = require('vinyl-sourcemaps-apply');
function objectIsEqual(a... |
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { routerTransition } from '../router.animations';
@Component({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.scss'],
animations: [routerTransition()]
})
exp... |
package com.amazonaws.services.route53.model.transform;
import org.w3c.dom.Node;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.util.XpathUtils;
import com.amazonaws.transform.StandardErrorUnmarshaller;
import com.amazonaws.services.route53.model.HealthCheckVersionMismatchException;
public class... |
package org.apache.metron.parsers;
import org.adrianwalker.multilinestring.Multiline;
import org.apache.log4j.Level;
import org.apache.metron.common.Constants;
import org.apache.metron.parsers.snort.BasicSnortParser;
import org.apache.metron.test.utils.UnitTestHelper;
import org.junit.Assert;
import org.junit.Rule;
... |
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... |
cask :v1 => 'jive-chime' do
version :latest
sha256 :no_check
# amazonaws.com is the official download host per the vendor homepage
url 'https://s3-us-west-2.amazonaws.com/chime-desktop/prod/osx/Jive%20Chime.dmg'
name 'Jive Chime'
homepage 'http://jivechime.com/'
license :gratis
app 'Jive Chime.app'
en... |
endif
-----
Ends a list of commands in an if block.
::
endif(expression)
See the if command.
|
import {
Renderer,
RenderProtoViewRef,
RenderViewRef,
RenderElementRef,
RenderEventDispatcher,
RenderViewWithFragments,
RenderFragmentRef,
RenderTemplateCmd
} from 'angular2/src/core/render/api';
import {
ClientMessageBroker,
ClientMessageBrokerFactory,
FnArg,
UiArguments
} from "angular2/src/we... |
package com.fernandocejas.android10.sample.presentation.internal.di.modules;
import android.content.Context;
import com.fernandocejas.android10.sample.data.cache.UserCache;
import com.fernandocejas.android10.sample.data.cache.UserCacheImpl;
import com.fernandocejas.android10.sample.data.executor.JobExecutor;
import c... |
package libvirt
import (
"testing"
"time"
)
func buildTestStoragePool(poolName string) (VirStoragePool, VirConnection) {
conn := buildTestConnection()
var name string
if poolName == "" {
name = "default-pool-test-1"
} else {
name = poolName
}
pool, err := conn.StoragePoolDefineXML(`<pool type='dir'>
<na... |
using System;
using System.Collections.Generic;
using Orchard.ContentManagement;
using Orchard.ContentManagement.MetaData;
using Orchard.ContentManagement.MetaData.Builders;
using Orchard.ContentManagement.MetaData.Models;
using Orchard.ContentManagement.ViewModels;
using Orchard.ContentTypes.ViewModels;
using Orchard... |
namespace atom {
namespace api {
class DesktopCapturer: public mate::EventEmitter,
public DesktopMediaListObserver {
public:
static mate::Handle<DesktopCapturer> Create(v8::Isolate* isolate);
void StartHandling(bool capture_window,
bool capture_screen,
... |
set -o errexit
set -o nounset
set -o pipefail
readonly FILE=$1
if [[ -z "$(command -v flake8)" ]]; then
>&2 echo "Missing flake8. Install it via 'pip' to enable linting."
exit 1
fi
flake8 $1 2>&1
|
<?php
//============================================================+
// File name : example_013.php
// Begin : 2008-03-04
// Last Update : 2010-08-08
//
// Description : Example 013 for TCPDF class
// Graphic Transformations
//
// Author: Nicola Asuni
//
// (c) Copyright:
// Nicola ... |
/*
jQuery.mmenu offcanvas addon CSS
*/
.mm-page {
box-sizing: border-box;
position: relative; }
.mm-slideout {
-webkit-transition: -webkit-transform 0.4s ease;
-ms-transition: -ms-transform 0.4s ease;
transition: transform 0.4s ease; }
html.mm-opened {
overflow: hidden;
position: relative; }
html.mm-... |
/*!
* AngularJS Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.4
*/
md-checkbox.md-THEME_NAME-theme .md-ripple {
color: '{{accent-A700}}'; }
md-checkbox.md-THEME_NAME-theme.md-checked .md-ripple {
color: '{{background-600}}'; }
md-checkbox.md-THEME_NAME-theme.md-checked.md-focuse... |
package squid.lib
import org.scalatest.FunSuite
import squid.lib.matching._
import squid.utils.shims._
class MatchingTests extends FunSuite {
val x = Option(1)
test("Basic matchign tests") {
assert( Match(x)(Case[Some[Int]](_.value + 1)) == 2 )
assertThrows[MatchError]( Match(x)(Case[None](_ => ... |
package org.apache.hadoop.fs;
import static org.apache.hadoop.fs.CommonConfigurationKeysPublic.FS_TRASH_CHECKPOINT_INTERVAL_DEFAULT;
import static org.apache.hadoop.fs.CommonConfigurationKeysPublic.FS_TRASH_CHECKPOINT_INTERVAL_KEY;
import static org.apache.hadoop.fs.CommonConfigurationKeysPublic.FS_TRASH_INTERVAL_DEF... |
package org.cohorte.herald.xmpp.impl;
import rocks.xmpp.core.session.XmppSession;
import rocks.xmpp.core.stanza.model.client.Message;
/**
* Specification of a bot listener
*
* @author Thomas Calmant
*/
public interface IBotListener {
/**
* An XMPP message has been received
*
* @param aMessag... |
<!-- HTML header for doxygen 1.8.13-->
<!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-Compat... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ 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 Apache Lice... |
#ifndef APR_SUPPORT_H
#define APR_SUPPORT_H
/**
* @file apr_support.h
* @brief APR Support functions
*/
#include "apr.h"
#include "apr_network_io.h"
#include "apr_file_io.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/**
* @defgroup apr_support Internal APR support functions
* @ingroup APR
* ... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using Livet;
namespace Counter
{
public class CounterViewModel : ViewModel
{
#region Counters 変更通知プロパティ
private ObservableCollection<CounterBase> _Counters;
p... |
/*!
* sly 1.6.0 - 17th Jul 2015
* https://github.com/darsain/sly
*
* Licensed under the MIT license.
* http://opensource.org/licenses/MIT
*/
;(function ($, w, undefined) {
'use strict';
var pluginName = 'sly';
var className = 'Sly';
var namespace = pluginName;
// Local WindowAnimationTiming interface
va... |
<?php
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Twig_' => array($vendorDir . '/twig/twig/lib'),
'Stfalcon\\Bundle\\TinymceBundle' => array($vendorDir . '/stfalcon/tinymce-bundle'),
'Sensio\\Bundle\\GeneratorBu... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="styles... |
/********************************************************************************/
/* */
/* */
/* Written by Ken Goldman */
/* IBM Thomas J. Watson Research Center */
/* $Id: Create_fp.h 809 2016-11-16 18:31:54Z kgoldman $ */
/* */
/* Licenses and Notices ... |
<?php
/**
* SampleItemUserPeerクラス
*
* item_userのO-RMapper取り扱い用クラス
*
* @access public
**/
class SampleItemUserPeer
{
public static function retrieveByPk($userId, $itemId, $shardId = null, PhateDBO $dbh = null)
{
if (is_null($dbh)) {
if (is_null($shardId)) {
throw new Pha... |
<?php
namespace Application\Filters;
use Zend\ServiceManager\ServiceManager;
use Zend\InputFilter\Input;
use Zend\InputFilter\InputFilter;
use Zend\Validator;
use Zend\Filter;
/**
* Description of SecretariaFilter
*
* @author Irving Fernando de Medeiros Oliveira
*/
final class FluxoPostoFilter extends InputFil... |
@class ZXYAlbumSqureImage;
@interface ZXYAlbumSqureRecommendAlbum : NSObject <NSCoding, NSCopying>
@property (nonatomic, strong) NSString *nickName;
@property (nonatomic, strong) NSString *albumId;
@property (nonatomic, strong) NSString *headImage;
@property (nonatomic, strong) NSString *collectCount;
@property (nona... |
<HTML>
<!--
Copyright (c) 2002 Rensselaer Polytechnic Institute
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
-->
<Head>
<Title>Floyd-Warshall All Pairs Shortest Paths</Title>
<BODY ... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE helpset PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 2.0//EN" "http://java.sun.com/products/javahelp/helpset_2_0.dtd">
<helpset version="2.0" xml:lang="id-ID">
<title>Active Scan Rules | ZAP Extension</title>
<maps>
<homeID>top</homeID>
<... |
namespace
boost
{
class exception_ptr;
namespace exception_detail { void rethrow_exception_( exception_ptr const & ); }
class
exception_ptr
{
typedef boost::shared_ptr<exception_detail::clone_base const> impl;
impl ptr_;
friend void exception_detail::rethrow_exceptio... |
package com.lightcrafts.utils.cache;
import java.nio.ByteBuffer;
/**
* A <code>CacheObjectBroker</code> knows how to deal with the actual objects
* being written to and read from a cache, i.e., it knows how to convert a
* given object to a stream of bytes and vice versa. It also knows how to
* determine the si... |
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context="sample_framework.cegui.MainActivity" >
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:showAsAction="never"
android:ti... |
<?php
final class PhabricatorTwitchAuthProvider
extends PhabricatorOAuth2AuthProvider {
public function getProviderName() {
return pht('Twitch.tv');
}
protected function getProviderConfigurationHelp() {
$login_uri = PhabricatorEnv::getURI($this->getLoginURI());
return pht(
"To configure Tw... |