text stringlengths 3 1.05M |
|---|
package org.gdg.frisbee.android.onboarding;
import android.app.Activity;
import android.app.PendingIntent;
import android.content.Intent;
import android.content.IntentSender;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.B... |
Shindo.tests('Fog::Compute[:xenserver] | Vlans collection', ['xenserver']) do
service = Fog::Compute[:xenserver]
tests('The Vlans collection') do
test('should not be empty') { !service.vlans.empty? }
test('should be a kind of Fog::Compute::XenServer::Vlans') do
service.vlans.kind_of? Fog::Compute:... |
#ifndef LIBUSB_POLL_POSIX_H
#define LIBUSB_POLL_POSIX_H
#define usbi_write write
#define usbi_read read
#define usbi_close close
#define usbi_poll poll
int usbi_pipe(int pipefd[2]);
#endif /* LIBUSB_POLL_POSIX_H */
|
layout: page
title: Baker Residential Acad Prgm
comments: true
description: "blank"
keywords: BAKR, CU, Boulder
---
<body>
<div><a href="../../courses/BAKR-1500">BAKR 1500: Colorado: History, Ecology, And Environment</a></div>
<div><a href="../../courses/BAKR-1600">BAKR 1600: Create Sustainble Future</a></div>
<div><a ... |
<!-- Creator : groff version 1.18.1 -->
<!-- CreationDate: Mon Mar 13 18:03:12 2006 -->
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta name="Content-Style" content="text/css">
<title>RGB2YCBCR</title>
</head>
<body>
<h1 align=center>RGB2YCBCR</h1>
<a href="#NAME">NAME</a><br>
<... |
``download_datafiles`` command
==============================
Usage
-----
::
download_datafiles
The ``download_datafiles`` command accesses the current experiment
database table (defined in `config.txt
<../config/database_parameters.html>`__) and creates a copy of the
experiment data in a csv format. ``download... |
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../../../shared/file/blockdev', __FILE__)
describe "File.blockdev?" do
it_behaves_like :file_blockdev, :blockdev?, File
end
|
Swift uses the [LLVM bitstream][] format for some of its serialization logic. This format was invented as a container for LLVM IR. It is a binary format supporting two basic structures: *blocks,* which define regions of the file, and *records,* which contain data fields that can be up to 64 bits. It has a few nice prop... |
package phases
import (
"fmt"
"io"
"text/template"
"time"
"github.com/lithammer/dedent"
"github.com/pkg/errors"
clientset "k8s.io/client-go/kubernetes"
"k8s.io/klog/v2"
"k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow"
kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants"
"k8s.io/kuberne... |
Hallo,
Sie erhalten diese email, weil Sie gerade das Thema "{TOPIC_TITLE}" bei {SITENAME}. Dieses Thema hat eine Antwort erhalten, die seit Ihrem letzten Besuch. Sie können den folgenden link zum anzeigen der Antworten vorgenommen, keine Nachrichten mehr gesendet werden, bis Sie Besuch das Thema.
{U_TOPIC}
Wenn Sie ... |
#ifndef TENSORFLOW_CORE_COMMON_RUNTIME_PENDING_COUNTS_H_
#define TENSORFLOW_CORE_COMMON_RUNTIME_PENDING_COUNTS_H_
#include "tensorflow/core/lib/gtl/flatmap.h"
#include "tensorflow/core/lib/hash/hash.h"
#include "tensorflow/core/platform/logging.h"
#include "tensorflow/core/platform/macros.h"
#include "tensorflow/cor... |
#include "docgen.h"
#include "../ast/id.h"
#include "../ast/printbuf.h"
#include "../pkg/package.h"
#include "../../libponyrt/mem/pool.h"
#include "ponyassert.h"
#include <stdio.h>
#include <string.h>
// Define a type with the docgen state that needs to passed around the
// functions below.
// The doc directory is th... |
#include "atomic.h"
#include "err.h"
void nn_atomic_init (struct nn_atomic *self, uint32_t n)
{
self->n = n;
#if defined NN_ATOMIC_MUTEX
nn_mutex_init (&self->sync);
#endif
}
void nn_atomic_term (struct nn_atomic *self)
{
#if defined NN_ATOMIC_MUTEX
nn_mutex_term (&self->sync);
#endif
}
uint32_t nn_ato... |
package com.intellij.psi;
import org.jetbrains.annotations.NonNls;
/**
* @author peter
*/
public interface CommonClassNames {
@NonNls String DEFAULT_PACKAGE = "java.lang";
@NonNls String JAVA_LANG_OBJECT = "java.lang.Object";
@NonNls String JAVA_LANG_OBJECT_SHORT = "Object";
@NonNls String JAVA_LANG_CLASS... |
package org.apache.flink.runtime.io.disk.iomanager;
import org.apache.flink.runtime.io.network.buffer.Buffer;
import java.io.IOException;
import java.util.concurrent.atomic.AtomicBoolean;
public class AsynchronousBufferFileReader extends AsynchronousFileIOChannel<Buffer, ReadRequest> implements BufferFileReader {
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace PowerArgs
{
/// <summary>
/// A class that makes it easy to read through a list of tokens
/// </summary>
/// <typeparam name="T"></typeparam>
public class TokenReader<T> where T : Token
{
/// <summary>
... |
add_dependencies({
util: 'js/util.js',
stream_data: 'js/stream_data.js'
});
set_global('page_params', {
email: 'hamlet@zulip.com',
domain: 'zulip.com'
});
set_global('feature_flags', {});
var Filter = require('js/filter.js');
var _ = global._;
function assert_same_operators(result, terms) {
term... |
PATH=$HOME/.local/bin:$PATH
|
/*!
* Vue.js v2.0.6
* (c) 2014-2016 Evan You
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.Vue = factory());
}(this, (function... |
"""Controller Class."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from collections import defaultdict
class Controller(object):
"""Controller class."""
def __init__(self, item, cluster):
"""Controller class initializer.
Args:
ite... |
<?php
namespace Zend\Mvc\Controller;
use Zend\Http\Response as HttpResponse;
use Zend\Mvc\Exception;
use Zend\Mvc\MvcEvent;
use Zend\View\Model\ConsoleModel;
use Zend\View\Model\ViewModel;
/**
* Basic action controller
*/
abstract class AbstractActionController extends AbstractController
{
/**
* @var str... |
require "formula"
require "options"
module Homebrew
def options
if ARGV.include? "--all"
puts_options Formula.to_a
elsif ARGV.include? "--installed"
puts_options Formula.installed
else
raise FormulaUnspecifiedError if ARGV.named.empty?
puts_options ARGV.formulae
end
end
d... |
export { default } from 'ember-material-lite/components/mdl-slider'; |
package namesgenerator
import (
"fmt"
"github.com/docker/docker/pkg/random"
)
var (
left = [...]string{
"admiring",
"adoring",
"agitated",
"angry",
"backstabbing",
"berserk",
"boring",
"clever",
"cocky",
"compassionate",
"condescending",
"cranky",
"desperate",
"determined",
"distract... |
package org.apache.spark.sql.catalyst.optimizer
import org.apache.spark.sql.catalyst.dsl.plans._
import org.apache.spark.sql.catalyst.expressions._
import org.apache.spark.sql.catalyst.expressions.Literal.{FalseLiteral, TrueLiteral}
import org.apache.spark.sql.catalyst.plans.PlanTest
import org.apache.spark.sql.cata... |
// Copyright 2010 The Closure Library Authors. 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 requ... |
<?php
/**
* Zend_InfoCard_Xml_KeyInfo_Abstract
*/
require_once 'Zend/InfoCard/Xml/KeyInfo/Abstract.php';
/**
* Zend_InfoCard_Xml_SecurityTokenReference
*/
require_once 'Zend/InfoCard/Xml/SecurityTokenReference.php';
/**
* An object representation of a XML <KeyInfo> block which doesn't provide a namespace
* In... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">HeightMapProfiler</string>
<string name="dialog_ok">OK</string>
<string name="dialog_title">Profile Results</string>
<string name="SpriteTitle">Sprites:</string>
<string name="AnimateTitle">Animate</string>
<string name="CanvasTitle"... |
package com.intellij.ui.popup.util;
import com.intellij.openapi.project.Project;
import com.intellij.ui.ColoredListCellRenderer;
import com.intellij.ui.ColoredTreeCellRenderer;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;
public abstract class ItemWrapper {
public abstract void setupRenderer(C... |
.. _tutorial:
********
Tutorial
********
.. highlight:: c
In this tutorial, we create a program that fetches the latest commits
of a repository in GitHub_ over the web. `GitHub API`_ uses JSON, so
the result can be parsed using Jansson.
To stick to the the scope of this tutorial, we will only cover the the
parts of... |
function RGB = dac2rgb(DAC, GammaTable)
%Convert RGB values to linear RGB intensities via the gamma table.
%
% RGB = dac2rgb(DAC, GammaTable)
%
% DAC contains the frame buffer values of the primary color planes. DAC
% values should be in the range [0 1]. They can be in either RGB or XW
% format.
%
% GammaTable -- ... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - geometry - cube</title>
<meta charset="utf-8">
<style>
body {
margin: 0px;
background-color: #000000;
overflow: hidden;
}
</style>
</head>
<body>
<script src="../vendor/three.js/build/three.min.js"></script>
<script src="../vendor/require.... |
Any help improving the sheet are welcome.
# To-Do list
- some text bits are missing translations tags
- border graphics and more thematic fonts
# Version History
## Version 0.7(2020-05-05)
- fix"skills"-section to align text better with their dots
- fix "skills"-section fix spanish skill names better
## Versi... |
//
// 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
//
// Unless requ... |
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.smartboot.socket</groupId>
<artifactId>smart-... |
import { send } from 'micro'
import { RequestHandler } from 'fs-router'
export const GET: RequestHandler = async (req, res) => {
send(res, 200, { params: req.params, query: req.query })
} |
package org.apache.camel.processor;
import org.apache.camel.CamelContext;
import org.apache.camel.Processor;
import org.apache.camel.processor.exceptionpolicy.ExceptionPolicyStrategy;
import org.apache.camel.util.CamelLogger;
/**
* An {@link ErrorHandler} which uses commons-logging to dump the error
*
* @version
... |
namespace facebook {
namespace react {
const auto EXECUTOR_BASECLASS = "com/facebook/react/bridge/JavaJSExecutor";
static std::string executeJSCallWithProxy(
jobject executor,
const std::string& methodName,
const folly::dynamic& arguments) {
static auto executeJSCall =
jni::findClassStatic(EXECUTOR_... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... |
<?php
namespace Symfony\Component\Console\Tests\Input;
use Symfony\Component\Console\Input\InputDefinition;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
class InputDefinitionTest extends \PHPUnit_Framework_TestCase
{
protected static $fixtures;
protec... |
#include "config.h"
#if ENABLE(SVG)
#include "SVGAngle.h"
#include "SVGParserUtilities.h"
#include <wtf/MathExtras.h>
#include <wtf/text/StringConcatenate.h>
namespace WebCore {
SVGAngle::SVGAngle()
: m_unitType(SVG_ANGLETYPE_UNSPECIFIED)
, m_valueInSpecifiedUnits(0)
{
}
float SVGAngle::value() const
{
... |
#ifndef _BLITZ_GNU_BZCONFIG_H
#define _BLITZ_GNU_BZCONFIG_H 1
/* blitz/gnu/bzconfig.h. Generated automatically at end of configure. */
/* blitz/config.h. Generated by configure. */
/* blitz/config.h.in. Generated from configure.ac by autoheader. */
/**************************************************************... |
package com.hankcs.hanlp.utility;
import com.hankcs.hanlp.corpus.tag.Nature;
import com.hankcs.hanlp.seg.common.Term;
import java.util.LinkedList;
import java.util.List;
/**
* 文本断句
*
*/
public class SentencesUtil
{
/**
* 将文本切割为句子
* @param content
* @return
*/
public static List<String>... |
using System;
class Program {
static void Main() {
double x;
double y;
double radio = 1.5f;
//Console.Write("Introduce la X: ");
x = double.Parse(Console.ReadLine());
//Console.Write("Introduce la Y: ");
y = double.Parse(Console.ReadLine());
if(Math.Sqrt((Math.Pow((x-1.0),2))+(Math.Pow((y-... |
define("ace/mode/elm_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var ElmHighlightRules = function() {
... |
import {AnimationMetadata, animate, style} from '@angular/animations';
import {AnimationStyleNormalizer, NoopAnimationStyleNormalizer} from '../../src/dsl/style_normalization/animation_style_normalizer';
import {AnimationDriver} from '../../src/render/animation_driver';
import {getBodyNode} from '../../src/render/sha... |
A Configurable Magento Module to easily display your Social Stream
Inspired by connect20/Ocodewire/Socialstream & [jquery LifeSteam](https://github.com/christianv/jquery-lifestream/tree/0.5.2)
Tested on Magento 1.9.1.1 |
<?php
/**
* Edit Tags Administration Screen.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . '/admin.php' );
if ( ! $taxnow )
wp_die( __( 'Invalid taxonomy' ) );
$tax = get_taxonomy( $taxnow );
if ( ! $tax )
wp_die( __( 'Inv... |
./org.test.plugins.dummyplugin/android-resource.xml
|
(function(global) {
var define = global.define;
var require = global.require;
var Ember = global.Ember;
if (typeof Ember === 'undefined' && typeof require !== 'undefined') {
Ember = require('ember');
}
Ember.libraries.register('Ember Simple Auth Devise', '0.8.0-beta.3');
define("simple-auth-devise/authe... |
package metric
import (
"runtime"
"time"
"code.cloudfoundry.org/lager"
"github.com/bigdatadev/goryman"
)
func PeriodicallyEmit(logger lager.Logger, interval time.Duration) {
ticker := time.NewTicker(interval)
defer ticker.Stop()
for range ticker.C {
tLog := logger.Session("tick")
trackedContainers := Tr... |
module Twilio
module REST
class Accounts < Domain
class V1 < Version
class CredentialList < ListResource
##
# Initialize the CredentialList
# @param [Version] version Version that contains the resource
# @return [CredentialList] CredentialList
def in... |
package org.pentaho.di.repository.pur;
import java.util.ArrayList;
import java.util.List;
import org.pentaho.di.core.exception.KettleException;
import org.pentaho.di.repository.ObjectId;
import org.pentaho.di.repository.ObjectRevision;
import org.pentaho.di.repository.RepositoryElementInterface;
import org.pentaho.d... |
#ifndef BOOST_NUMERIC_ODEINT_STEPPER_BASE_EXPLICIT_ERROR_STEPPER_FSAL_BASE_HPP_INCLUDED
#define BOOST_NUMERIC_ODEINT_STEPPER_BASE_EXPLICIT_ERROR_STEPPER_FSAL_BASE_HPP_INCLUDED
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_same.hpp>
#include <boost/numeric/odeint/util/bind.hpp>
#include <bo... |
package com.iluwatar.poison.pill;
/**
* Endpoint to retrieve {@link Message} from queue
*/
public interface MQSubscribePoint {
public Message take() throws InterruptedException;
}
|
exports.config = {
// ----- How to setup Selenium -----
//
// There are three ways to specify how to use Selenium. Specify one of the
// following:
//
// 1. seleniumServerJar - to start Selenium Standalone locally.
// 2. seleniumAddress - to connect to a Selenium server which is already
// running.
... |
package org.apache.spark.scheduler
import org.apache.spark.storage.BlockManagerId
import org.apache.spark.{SparkConf, SparkFunSuite}
import org.apache.spark.serializer.JavaSerializer
import scala.util.Random
class MapStatusSuite extends SparkFunSuite {
test("compressSize") {
assert(MapStatus.compressSize(0... |
function[n] = to_naturals(self, a)
% to_naturals -- transforms array indexing to linear indexing
%
% [n] = to_naturals(self, a)
%
% Computes one-based indexing for lexicographic ordering on
% the self.dim-dimensional Cartesian product of N, where N is the
% natural numbers.
persistent spdim subdim
if is... |
namespace v8 {
namespace internal {
HEnvironmentLivenessAnalysisPhase::HEnvironmentLivenessAnalysisPhase(
HGraph* graph)
: HPhase("H_Environment liveness analysis", graph),
block_count_(graph->blocks()->length()),
maximum_environment_size_(graph->maximum_environment_size()),
live_at_block_st... |
"""IM Session establishement implementation.
This module provides a stream feature handler to implement the
IM session establishment request defined in :RFC:`3921`, but dropped
in :RFC:`6120`. The implementation is needed for backward compatibility.
Normative reference:
- :RFC:`3921`
- :RFC:`6120` (Appendix E. st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Demo04.ViewModels
{
public enum DownloadState
{
Downloading,
Successful,
Failed
}
}
|
/* global appendChartID, loadDateFixture, loadDateFixture2, makeDate */
describe('Dynamic data addition in crossfilter', function () {
var width = 200;
var height = 200;
var radius = 100;
var baseData, moreData;
beforeEach(function () {
baseData = crossfilter(loadDateFixture());
mor... |
<html>
<head>
<title>require.js: Simple Bad Base Test</title>
<base href="http://some.example.com/path/" />
<script type="text/javascript">
document.write('<scr' + 'ipt type="text/javascript" src="' + window.parent.doh.dohArgs.setup + '"></scr' + 'ipt>' );
document.write('<scr' + 'ipt type="text/javascri... |
// 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.
/******************************************************************************
* This file is auto-generated from ... |
package org.apache.sling.launchpad.webapp.integrationtest.servlets.resolution;
import java.util.Collections;
import org.apache.commons.httpclient.NameValuePair;
/**
* Test that a servlet registered at a particular path is still executed when a
* node at that path also exists.
*/
public class PathsServletWithNode... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dep-map: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... |
Qwery - The Tiny Selector Engine
-----
Qwery is a small *blazing fast* query selector engine allowing you to select elements with CSS1|2|3 queries
##Acceptable selectors
``` css
basic
#foo {} id
.bar {} class
a#foo.bar {} element attribute combinations
attributes
#foo a[href] {} simple
#foo a[href=bar] {} attribute ... |
package beam
import (
"fmt"
"github.com/apache/beam/sdks/go/pkg/beam/core/graph"
)
// TryParDo attempts to insert a ParDo transform into the pipeline. It may fail
// for multiple reasons, notably that the dofn is not valid or cannot be bound
// -- due to type mismatch, say -- to the incoming PCollections.
func Try... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AbstractFactory.Products.Samung
{
public class S6 : ProductPhone
{
}
}
|

## License Information
Donated by Cesium for glTF testing. Please follow the [Cesium Trademark Terms and Conditions](https://github.com/AnalyticalGraphicsInc/cesium/wiki/CesiumTrademark.pdf).
|
import _extends from 'babel-runtime/helpers/extends';
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from ... |
<?php
/** Zend_Form_Decorator_Abstract */
//require_once 'Zend/Form/Decorator/Abstract.php';
/**
* Zend_Form_Decorator_Callback
*
* Execute an arbitrary callback to decorate an element. Callbacks should take
* three arguments, $content, $element, and $options:
*
* function mycallback($content, $element, array ... |
Text before list:
* item 1,
* item 2,
* item 3.
Text after list. |
layout: post
title: "Analyzing Effects of CPU Task Migration with Perf and Flamegraph"
excerpt: "Performance Impact of Migration Via Async C++ Threads"
tags: [Linux, Code, C++, BPF, eBPF, BCC, tracing, LLVM, Task, Migration, Scheduler]
comments: true
---
In [earlier posts](http://www.mycpu.org/writing-bpf-c++/)
[we](ht... |
package org.elasticsearch.index.query;
import org.elasticsearch.common.ParseField;
import org.elasticsearch.common.ParsingException;
import org.elasticsearch.common.Strings;
import org.elasticsearch.common.xcontent.XContentParser;
import java.io.IOException;
/**
* Parser for span_containing query
*/
public class... |
using System;
using System.Reflection;
namespace Glimpse.Core.Message
{
/// <summary>
/// The definition of a message which is published from a proxy implementation.
/// </summary>
public interface ISourceMessage
{
/// <summary>
/// Gets or sets the type of the original executed ... |
package hkit
import (
"context"
"net/http"
)
// CacheParams is the metadata passed to the cache engine.
// Instantiate *only* using the New... Functions and not &CacheParams{}
type CacheParams struct {
cacheKey string
}
// NewCacheParamsByKey returns cache
func NewCacheParamsByKey(cacheKey string) *CacheParams {
... |
/************************
jquery-timepicker v1.2.12
http://jonthornton.github.com/jquery-timepicker/
requires jQuery 1.7+
************************/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else {
// Browser... |
describe('creditCard', function() {
// Get the fake credit card number at http://www.getcreditcardnumbers.com/
beforeEach(function() {
var html = [
'<div class="container">',
'<form class="form-horizontal" id="ccForm">',
'<div class="form-group">',
... |
package com.gmail.at.zhuikov.aleksandr.ab.broadcast;
import static android.app.AlarmManager.ELAPSED_REALTIME_WAKEUP;
import static android.bluetooth.BluetoothAdapter.EXTRA_STATE;
import static android.bluetooth.BluetoothAdapter.STATE_OFF;
import static android.bluetooth.BluetoothAdapter.STATE_ON;
import static android... |
package com.bumptech.glide.load.engine;
import android.os.SystemClock;
import android.util.Log;
import com.bumptech.glide.Priority;
import com.bumptech.glide.Resource;
import com.bumptech.glide.load.Key;
import com.bumptech.glide.load.ResourceDecoder;
import com.bumptech.glide.load.ResourceEncoder;
import com.bumptech... |
// Copyright (C) 2013-2015 DNAnexus, Inc.
//
// This file is part of dx-toolkit (DNAnexus platform client libraries).
//
// 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
//
// htt... |
"""The test for switch device automation."""
import pytest
import homeassistant.components.automation as automation
from homeassistant.components.switch import DOMAIN
from homeassistant.const import CONF_PLATFORM, STATE_OFF, STATE_ON
from homeassistant.helpers import device_registry
from homeassistant.setup import asy... |
#import <CoreGraphics/CGColorSpace.h>
#import <Onyx2D/O2ColorSpace.h>
CGColorSpaceRef CGColorSpaceRetain(CGColorSpaceRef colorSpace) {
return O2ColorSpaceRetain(colorSpace);
}
void CGColorSpaceRelease(CGColorSpaceRef colorSpace) {
O2ColorSpaceRelease(colorSpace);
}
CGColorSpaceRef CGColorSpaceCreateDeviceRGB... |
package mil.emp3.api.enums;
public enum WMTSVersionEnum {
/**
* This enumerated value indicates WMTS version 1.0.0
*/
VERSION_1_0_0 ("1.0.0");
private final String version;
WMTSVersionEnum (String v) {
version = v;
}
@Override
public String toString() {
return t... |
The Prometheus project was started by Matt T. Proud (emeritus) and
Julius Volz in 2012.
Maintainers of this repository:
* Tobias Schmidt <ts@soundcloud.com>
The following individuals have contributed code to this repository
(listed in alphabetical order):
* Armen Baghumian <abaghumian@noggin.com.au>
* Bjoern Rabens... |
(function() {
var inputEx = YAHOO.inputEx, lang = YAHOO.lang, Event = YAHOO.util.Event, Dom = YAHOO.util.Dom;
/**
* @class An autocomplete field that wraps the YUI autocompleter
* @constructor
* @extends inputEx.StringField
* @param {Object} options Added options for Autocompleter
* <ul>
* <li>datasource: ... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/command_line.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/aura/client/screen_position_client.h"
#include "ui/aura/w... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=config-interface.js.map |
<bill session="115" type="hj" number="63" updated="2017-06-19T20:45:11Z">
<state datetime="2017-02-03">REFERRED</state>
<status>
<introduced datetime="2017-02-03"/>
</status>
<introduced datetime="2017-02-03"/>
<titles>
<title type="short" as="introduced">Authorization for Use of Military Force agains... |
@interface DrugTwoController : UITableViewController
@property (nonatomic, strong) NSString *myTitle;
@property (nonatomic,strong) NSString *myId;
@property (nonatomic, assign) NSInteger star;
@end
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Boost.Geometry (aka GGL, Generic Geometry Library)</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type=... |
/**
* A class representation of the BSON DBRef type.
*
* @class
* @param {string} namespace the collection name.
* @param {ObjectID} oid the reference ObjectID.
* @param {string} [db] optional db name, if omitted the reference is local to the current db.
* @return {DBRef}
*/
function DBRef(namespace, oid, db) {... |
#ifndef _TCLINTDECLS
#define _TCLINTDECLS
#include "tclPort.h"
#undef TCL_STORAGE_CLASS
#ifdef BUILD_tcl
# define TCL_STORAGE_CLASS DLLEXPORT
#else
# ifdef USE_TCL_STUBS
# define TCL_STORAGE_CLASS
# else
# define TCL_STORAGE_CLASS DLLIMPORT
# endif
#endif
/*
* WARNING: This file is automatically... |
DoctrineCacheBundle
===================
Since the version 1.3 of DoctrineBundle the DoctrineCacheBundle is included by default.
The DoctrineCacheBundle is used to allow different systems of cache in your application using the `Doctrine Cache`_ library.
Setup and Configuration
-----------------------
Doctrine cache ... |
require "redis/errors"
require "socket"
require "cgi"
class Redis
class Client
DEFAULTS = {
:url => lambda { ENV["REDIS_URL"] },
:scheme => "redis",
:host => "127.0.0.1",
:port => 6379,
:path => nil,
:timeout => 5.0,
:password => nil,
:db => 0,
:driver => ni... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
namespace NothingAlert
{
public class App : Application
{
public App()
{
MainPage = new NothingAlertPage();
}
protected override void OnStart()
{
... |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.ui.picker;
import android.content.Context;
import org.chromium.ui.R;
public class WeekPickerDialog extends TwoFieldDatePickerDialo... |
package io.undertow.util;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
import java.net.Inet4Address;
import java.net.Inet6Address;
import java.net.InetAddress;
/**
* verifies that the proxy protocol ip address parser correctly parses IP addresses as per the additional requirements
* ... |
"""
The PyBuilder exception utils module for Python version 2.x
"""
# flake8: noqa
def raise_exception(ex, tb):
raise ex, None, tb
|