text stringlengths 3 1.05M |
|---|
.class public Landroid/view/animation/BounceInterpolator;
.super Landroid/view/animation/BaseInterpolator;
.source "BounceInterpolator.java"
# interfaces
.implements Lcom/android/internal/view/animation/NativeInterpolatorFactory;
# annotations
.annotation runtime Lcom/android/internal/view/animation/HasNativeInterpo... |
import os
from redis import __version__
f = open(os.path.join(os.path.dirname(__file__), 'README.md'))
long_description = f.read()
f.close()
sdict = {
'name' : 'redis',
'version' : __version__,
'description' : 'Python client for Redis key-value store',
'long_description' : long_description,
'url':... |
' 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.VisualStudio.Text.Editor
Namespace Microsoft.CodeAnalysis.Editor.UnitTests.NavigationBar
Friend Class MockNavigationBarPresenter
... |
from django.conf.urls import url
from rest import views
from rest_framework.authtoken import views as rest_views
urlpatterns = [
url(r'^api/$', views.test_view),
url(r'^theft-report/$', views.theft_report),
url(r'^suspicious-vehicle/$', views.suspicious_vehicle),
url(r'^theft-report/(?P<pk>[0-9]+)$', v... |
<?php
use yii\helpers\Html;
//use yii\widgets\ActiveForm;
use yii\bootstrap\ActiveForm;
use yii\helpers\ArrayHelper;
/* @var $this yii\web\View */
/* @var $model app\modules\course\models\Section */
/* @var $form yii\widgets\ActiveForm */
if(Yii::$app->controller->action->id == 'create')
$label = 'Add';
else
$label... |
using System;
using System.Threading.Tasks;
using System.Linq;
using TestGrainInterfaces;
using Xunit;
using Assert = Xunit.Assert;
namespace Tester.EventSourcingTests
{
public class AccountGrainTests : IClassFixture<EventSourcingClusterFixture>
{
private readonly EventSourcingClusterFixture fixture;
... |
#ifndef TENSORFLOW_FRAMEWORK_NODE_DEF_BUILDER_H_
#define TENSORFLOW_FRAMEWORK_NODE_DEF_BUILDER_H_
#include <functional>
#include <vector>
#include "tensorflow/core/framework/attr_value_util.h"
#include "tensorflow/core/framework/node_def.pb.h"
#include "tensorflow/core/framework/node_def_util.h"
#include "tensorflow... |
<?xml version='1.0' encoding='UTF-8'?>
<hudson>
<disabledAdministrativeMonitors/>
<version>1.0</version>
<numExecutors>2</numExecutors>
<mode>NORMAL</mode>
<useSecurity>true</useSecurity>
<authorizationStrategy class="hudson.security.AuthorizationStrategy$Unsecured"/>
<securityRealm class="hudson.security... |
<?php
namespace Symfony\Bundle\AsseticBundle\DependencyInjection;
use Symfony\Component\Process\ExecutableFinder;
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* ... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.Un... |
/**
* angular-strap
* @version v2.2.1 - 2015-03-10
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes (olivier@mg-crea.com)
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
'use strict';
angular.module('mgcrea.ngStrap.tooltip').run(['$templateCache', function($templateCach... |
namespace cppgbcl {
struct cannot_copy_and_move {
cannot_copy_and_move() = default;
cannot_copy_and_move(const cannot_copy_and_move&) = delete;
cannot_copy_and_move(cannot_copy_and_move&&) = delete;
cannot_copy_and_move& operator=(const cannot_copy_and_move&) = delete;
cannot_copy_and_move& operator=(cannot_c... |
<?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="wrap_content"
android:background="@drawable/side_nav_bar"
android:gravity="bottom"
... |
require 'spec_helper'
describe "the reject function" do
let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do
Puppet::Parser::Functions.function("reject").should == "function_reject"
end
it "should raise a ParseError if there is less than 1 arguments" do
lambda { scope.function_r... |
var filter = require('./filter'),
find = require('./find'),
isEmpty = require('../objects/isEmpty');
/**
* Performs a deep comparison of each element in a `collection` to the given
* `properties` object, returning an array of all elements that have equivalent
* property values.
*
* @static
* @memberOf _... |
action :prepare_eyes do
"Prepared"
end
action :watch_paint_dry do
"This isn't very interesting"
end
|
require 'formula'
class Libcsv < Formula
homepage 'http://sourceforge.net/projects/libcsv/'
url 'https://downloads.sourceforge.net/project/libcsv/libcsv/libcsv-3.0.3/libcsv-3.0.3.tar.gz'
sha1 '2f637343c3dfac80559595f519e8f78f25acc7c1'
def install
system "./configure", "--disable-dependency-tracking", "--p... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
Copyright 2016 Goldman Sachs.
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
Un... |
import { TemplateAst, BoundEventAst } from './template_ast';
import { CompileDirectiveMetadata, CompilePipeMetadata } from './directive_metadata';
import { AppProtoView } from 'angular2/src/core/linker/view';
import { ViewType } from 'angular2/src/core/linker/view_type';
import { AppProtoElement } from 'angular2/sr... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
namespace System.Net.Http
{
/// <summary>
/// Defines Extension methods which are meant to be re-used across WinHttp and UnixHttp Handlers
/// <... |
package fake
import (
api "k8s.io/client-go/1.4/pkg/api"
unversioned "k8s.io/client-go/1.4/pkg/api/unversioned"
v1 "k8s.io/client-go/1.4/pkg/api/v1"
labels "k8s.io/client-go/1.4/pkg/labels"
watch "k8s.io/client-go/1.4/pkg/watch"
testing "k8s.io/client-go/1.4/testing"
)
// FakeEvents implements EventInterface
... |
/*
* metismenu - v2.5.0
* A jQuery menu plugin
* https://github.com/onokumus/metisMenu#readme
*
* Made by Osman Nuri Okumuş <onokumus@gmail.com> (https://github.com/onokumus)
* Under MIT License
*/
.metismenu .arrow {
float: right;
line-height: 1.42857;
}
*[dir="rtl"] .metismenu .arrow {
float: left;
}
/... |
/**
* Created by JunHo on 2015-04-28.
*/
angular.module('app').service( 'PostSvc', function($http){
this.fetch = function(){
return $http.get('/api/posts');
};
this.create = function(post){
return $http.post( '/api/posts', post );
};
} ); |
namespace chromeos {
SigninSpecifics::SigninSpecifics()
: guest_mode_url_append_locale(false), kiosk_diagnostic_mode(false) {
}
} // namespace chromeos
|
import { Injectable } from '@angular/core';
import { CrudApi } from './crud-api.service';
import * as APITypes from 'src/api-types';
import { MockSegmentBackend } from '../mocks/mock-segment-backend';
import { DataCache } from '../utils/data-cache';
type RawPosition = {
id: number;
name: string;
notes: string;... |
<?php
/**
* Copyright for Original Code
*
* @author Ignas Rudaitis <ignas.rudaitis@gmail.com>
* @copyright 2010-2015 Ignas Rudaitis
* @license http://www.opensource.org/licenses/mit-license.html
* @link http://antecedent.github.com/patchwork
*
* @see https://github.com/antecedent/patchw... |
#ifndef OPENCV_FLANN_PARAMS_H_
#define OPENCV_FLANN_PARAMS_H_
#include "any.h"
#include "general.h"
#include <iostream>
#include <map>
namespace cvflann
{
typedef std::map<cv::String, any> IndexParams;
struct SearchParams : public IndexParams
{
SearchParams(int checks = 32, float eps = 0, bool sorted = true... |
&& !defined(BOOST_MSVC) && !defined(__BORLANDC__)
# include <limits.h>
# if (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX))
# define BOOST_HAS_LONG_LONG
# else
# define BOOST_NO_LONG_LONG
# endif
#endif
// GCC 3.x will clean up all of those nasty macro definitions that
// BOOST_NO_CTY... |
using System;
using System.Globalization;
using System.IO;
class MyException : Exception
{
}
public class Help
{
public static Exception s_exceptionToThrow;
public static bool s_matchingException;
public static Object s_object = new object();
}
public class A<T> where T : Exception
{
public void InstanceFunctio... |
'use strict';
window.routeComponents = {};
//$.get('routing.json')
// .done(function (data) {
// window.routeComponents = data;
//
// angular.element(document).ready(function () {
// angular.bootstrap(document, ['myApp']);
// });
// });
//
angular.module('myApp', [
'ui.ro... |
module TestUtils (
run
, runD
, runI
, runID
, runIsolatedGhcMod
, isolateCradle
, module Language.Haskell.GhcMod.Monad
, module Language.Haskell.GhcMod.Types
) where
import Language.Haskell.GhcMod.Monad
import Language.Haskell.GhcMod.Types
isolateCradle :: GhcMod a -> GhcMod a
isolateCradle actio... |
from .common import links, contact_details, extras, fuzzy_date_blank
schema = {
"properties": {
"label": { "type": "string" },
"role": { "type": "string", "blank": True },
"organization_id": { "type": "string" },
"division_id": {"type": ["null", "string"],},
"start_date": fu... |
* [x] container vs router as component host
* [x] websocket vs rawsocket as transport
* [x] originator vs target max message size
* [x] calls vs publications
* [ ] twisted vs asyncio (autobahn client)
|
/* ssl/bio_ssl.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commer... |
A Hubot script that squeals
## Installation
$ npm install https://github.com/bouzuya/hubot-squeal/archive/master.tar.gz
or
$ npm install https://github.com/bouzuya/hubot-squeal/archive/{VERSION}.tar.gz
## Example
hubot> ま゛ーッ
## Configuration
See [`src/scripts/squeal.coffee`](src/scripts/squeal.cof... |
module Restforce
# Middleware which asserts that the instance_url is always set
class Middleware::InstanceURL < Restforce::Middleware
def call(env)
# If the connection url_prefix isn't set, we must not be authenticated.
raise Restforce::UnauthorizedError, 'Connection prefix not set' unless url_pre... |
<?php
namespace Zend\Http\Header;
/**
* @throws Exception\InvalidArgumentException
* @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.33
*/
class ProxyAuthenticate implements MultipleHeaderInterface
{
/** @var string */
protected $value;
public static function fromString($headerLine)... |
// 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 License, Version 2.0 (the
// "License"); you ma... |
-------------------------------------------------------------------------------
-- whitelist type
-------------------------------------------------------------------------------
CREATE TABLE WHITELIST_TYPE(
ID BIGINT NOT NULL,
NAME VARCHAR(50),
CODE VARCHAR(50),
CONSTRAINT PK_WHITELIST_TYP... |
This library was generated with [Nx](https://nx.dev).
## Running unit tests
Run `nx test progressbar` to execute the unit tests.
|
.. _mcux_acmp:
NXP MCUX Analog Comparator (ACMP)
#################################
Overview
********
This sample show how to use the NXP MCUX Analog Comparator (ACMP) driver. The
sample supports the :ref:`twr_ke18f`, :ref:`mimxrt1170_evk`.
The input voltage for the the negative input of the analog comparator is
pro... |
"""Test the condition helper."""
import pytest
from homeassistant.exceptions import HomeAssistantError
from homeassistant.helpers import condition
from homeassistant.util import dt
from tests.async_mock import patch
async def test_invalid_condition(hass):
"""Test if invalid condition raises."""
with pytest.... |
module.exports = function(MailRepo) {
};
|
<!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 r... |
package schema
import (
"fmt"
"reflect"
"regexp"
"sort"
"k8s.io/apimachinery/pkg/util/validation/field"
)
var intOrStringAnyOf = []NestedValueValidation{
{ForbiddenGenerics: Generic{
Type: "integer",
}},
{ForbiddenGenerics: Generic{
Type: "string",
}},
}
type level int
const (
rootLevel level = iot... |
package main
import (
"fmt"
"testing"
)
type CommandTestv1 struct {
Name string
Setup []Command
Teardown []Command
EnvVars []EnvVar
ExitCode int
ShellMode bool
Command []string
ExpectedOutput []string
ExcludedOutput []string
ExpectedError []string
Exclud... |
namespace pp {
InstanceHandle::InstanceHandle(Instance* instance)
: pp_instance_(instance->pp_instance()) {
}
} // namespace pp
|
define("ace/mode/powershell_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 PowershellHighlightRules = f... |
package com.google.api.client.googleapis.auth.oauth2;
import com.google.api.client.auth.oauth2.BearerToken;
import com.google.api.client.auth.oauth2.ClientParametersAuthentication;
import com.google.api.client.auth.oauth2.Credential;
import com.google.api.client.auth.oauth2.CredentialRefreshListener;
import com.goog... |
package gce_pd
import (
"fmt"
"path"
"path/filepath"
"regexp"
"strings"
"time"
"github.com/golang/glog"
"k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/util/sets"
utilfeature "k8s.io/apiserver/pkg/util/feature"
"k8s.io/kubernetes/pkg/cloudprovider"
gcecloud "k8s.io/kubernetes/pkg/cloudprovider/providers/g... |
public class Foo {
public Foo(String a) {
}
public Foo(String a, String b, String c) {
}
public static void main(String[] args) {
Arrays.asList(new Foo(<caret>"a", new Foo("b"), new Foo("c"), new Foo("d")
}
} |
#
#
# /* Revised by Paul Mensonides (2002) */
# /* Revised by Edward Diener (2011,2013) */
#
# /* See http://www.boost.org for most recent version. */
#
# ifndef BOOST_PREPROCESSOR_TUPLE_HPP
# define BOOST_PREPROCESSOR_TUPLE_HPP
#
# include <boost/preprocessor/tuple/eat.hpp>
# include <boost/preprocessor/tuple/elem.hp... |
package apimachinery
import (
"github.com/onsi/ginkgo"
v1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
"k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset"
"k8s.io/apiextensions-apiserver/test/integration/fixtures"
"k8s.io/apimachinery/pkg/api/equality"
metav1 "k8s.io/apimachinery/pkg... |
namespace blackhole {
inline namespace v1 {
namespace handler {
namespace {
using ::testing::Invoke;
using ::testing::_;
using namespace testing;
TEST(blocking_t, Handle) {
std::unique_ptr<mock::formatter_t> formatter_(new mock::formatter_t);
mock::formatter_t& formatter = *formatter_;
std::unique_ptr<m... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>打卡定位查看</title>
<style type="text/css">
*{
margin:0px;
padding:0px;
}
body, button, input, sel... |
package org.spongepowered.common.mixin.core.scoreboard;
import net.minecraft.scoreboard.Team;
import org.spongepowered.api.scoreboard.Visibility;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
@Mixin(Team.EnumVisible.class)
public abstra... |
#include <modules/space/rendering/renderablefluxnodes.h>
#include <openspace/engine/globals.h>
#include <openspace/engine/windowdelegate.h>
#include <openspace/navigation/navigationhandler.h>
#include <openspace/navigation/orbitalnavigator.h>
#include <openspace/rendering/renderengine.h>
#include <openspace/scene/sc... |
package nl.basjes.parse.useragent.annotate;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
/*
* Defines the resulting field that must b... |
class AddGinIndexToFtsTrgmOnEnvelopes < ActiveRecord::Migration
def up
execute('CREATE INDEX envelopes_fts_trigram_idx ON envelopes '\
'USING gin (fts_trigram gin_trgm_ops)')
end
def down
execute("DROP INDEX envelopes_fts_trigram_idx")
end
end
|
namespace thewizardplusplus {
namespace wizard_basic_2 {
namespace compiler {
namespace compiler {
namespace exceptions {
class AssemblingOrLinkingException : public CompilerException {
public:
AssemblingOrLinkingException(void);
};
}
}
}
}
}
#endif
|
<?php
namespace Magento\Customer\Ui\Component\MassAction\Group;
use Magento\Framework\UrlInterface;
use Zend\Stdlib\JsonSerializable;
use Magento\Customer\Model\ResourceModel\Group\CollectionFactory;
/**
* Class Options
*/
class Options implements JsonSerializable
{
/**
* @var array
*/
protected ... |
<?xml version="1.0" encoding="utf-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<e... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
// 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.
/**
* TimelineView displays a zoomable and scrollable graph of a number of values
* over time. The TimelineView class itself is responsible primari... |
/**
* @author Ed Spencer
*
* The LocalStorageProxy uses the new HTML5 localStorage API to save {@link Ext.data.Model Model} data locally on the
* client browser. HTML5 localStorage is a key-value store (e.g. cannot save complex objects like JSON), so
* LocalStorageProxy automatically serializes and deserializes d... |
from graphite_api.intervals import IntervalSet, Interval, union_overlapping
from . import TestCase
class IntervalTestCase(TestCase):
def test_interval(self):
with self.assertRaises(ValueError):
Interval(1, 0)
i = Interval(0, 1)
j = Interval(1, 2)
k = Interval(0, 1)
... |
<?php
// this check prevents access to debug front controllers that are deployed by accident to production servers.
// feel free to remove this, extend it or make something more sophisticated.
require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
$configuration = ProjectConfiguration::getAppli... |
/**
* here we use custom errors with the additional field 'parameters'
*/
import type { RxErrorParameters, RxErrorKey, RxStorageBulkWriteError } from './types';
export declare class RxError extends Error {
code: RxErrorKey;
message: string;
parameters: RxErrorParameters;
rxdb: true;
constructor(co... |
layout: default
title: March 7, 2013 News
---
{% include site-links.md %}
Announcing a new release of the Pre-EFI Initialization (PEI) 1.2 Self-Certification Test (SCT) utility that is used to perform self-certification testing on the PEI code. Download: [PI1.2 SCT.2 Release.zip](http://sourceforge.net/projects/pi-s... |
class CommandLine;
// Entry point for the diagnostics mode. Most of the initialization that you
// can see in ChromeMain() will be repeated here or will be done differently.
int DiagnosticsMain(const CommandLine& command_line);
#endif // CHROME_BROWSER_DIAGNOSTICS_DIAGNOSTICS_MAIN_H_
|
if (self.importScripts) {
importScripts('/resources/testharness.js');
importScripts('/resources/testharness-helpers.js');
importScripts('../resources/test-helpers.js');
}
var test_url = 'https://example.com/foo';
var test_body = 'Hello world!';
cache_test(function(cache) {
var request = new Request(te... |
;
; head_put.m
;
; Action code for the head 'put' operation.
;
; This file should be assembled as position independent code.
;
; Chip Morningstar
; Lucasfilm Ltd.
; 18-June-1986
;
include "action_head.i"
include "class_equates.m"
actionStart
lda pointed_noid ; What are we pointing at?
cmp me_no... |
/*!
* HTML Parser By John Resig (ejohn.org)
* Modified by Juriy "kangax" Zaytsev
* Original code by Erik Arvidsson, Mozilla Public License
* http://erik.eae.net/simplehtmlparser/simplehtmlparser.js
*/
/*
* // Use like so:
* HTMLParser(htmlString, {
* start: function(tag, attrs, unary) {},
* end: func... |
'use strict';
module.exports.definition = {
set: function (v) {
this.setProperty('-webkit-perspective-origin-x', v);
},
get: function () {
return this.getPropertyValue('-webkit-perspective-origin-x');
},
enumerable: true,
configurable: true
};
|
package jessevivanco.com.pegcitytransit.data.util;
import android.support.v4.util.LongSparseArray;
import java.util.ArrayList;
import java.util.List;
final public class ListUtil {
private ListUtil() {
}
/**
* Ripped from <a href="https://stackoverflow.com/questions/17008115/how-to-convert-a-sparse... |
#ifndef __STDARG_H
#define __STDARG_H
#ifndef _VA_LIST
typedef __builtin_va_list va_list;
#define _VA_LIST
#endif
#define va_start(ap, param) __builtin_va_start(ap, param)
#define va_end(ap) __builtin_va_end(ap)
#define va_arg(ap, type) __builtin_va_arg(ap, type)
/* GCC always defines __va_copy, but doe... |
import suspect
import numpy
import pytest
from suspect import _transforms
def test_create_mrs():
data = suspect.MRSData(numpy.zeros(1024), 5e-4, 123)
assert data.shape == (1024,)
assert data.dt == 5e-4
assert data.np == 1024
assert data.df == 1.953125
numpy.testing.assert_equal(data, data.fid... |
/*
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.swing;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.VolatileImage;... |
Incoming::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web ... |
/* Includes ------------------------------------------------------------------*/
#include "stm32f10x_pwr.h"
#include "stm32f10x_rcc.h"
/** @addtogroup STM32F10x_StdPeriph_Driver
* @{
*/
/** @defgroup PWR
* @brief PWR driver modules
* @{
*/
/** @defgroup PWR_Private_TypesDefinitions
* ... |
require File.join(File.dirname(__FILE__), "lib", "login_logger")
ActiveRecord::Base.send(:include, Brainnovate::Is::Loggable)
ActionController::Base.send(:include, Brainnovate::LoginLogger) |
chrome.test.assertEq(undefined, chrome.devtools);
chrome.test.assertEq('undefined', typeof chrome.devtools);
chrome.test.assertFalse(chrome.hasOwnProperty('devtools'));
chrome.test.succeed();
|
Balloon::Balloon(const Notification& notification, Profile* profile,
BalloonCollection* collection)
: profile_(profile),
notification_(new Notification(notification)),
collection_(collection) {
}
Balloon::~Balloon() {
}
void Balloon::SetPosition(const gfx::Point& upper_left, bool repo... |
package org.apache.camel.itest.karaf;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.ops4j.pax.exam.junit.PaxExam;
@RunWith(PaxExam.class)
public class CamelNettyTest extends AbstractFeatureTest {
public static final String COMPONENT = extractName(CamelNettyTest.class);
@Test
public... |
from botocore import xform_name
from botocore.model import OperationModel
from botocore.utils import get_service_module_name
from botocore.docs.method import document_model_driven_method
from botocore.docs.method import document_custom_method
from boto3.docs.base import BaseDocumenter
from boto3.docs.method import doc... |
package aws
import (
"fmt"
"reflect"
"strconv"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/ec2"
"github.com/aws/aws-sdk-go/service/elb"
"github.com/golang/glog"
"k8s.io/apimachinery/pkg/types"
"k8s.io/apimachinery/pkg/util/sets"
)
const ProxyProtocolPolicyName = "k8s-proxyprotocol-e... |
namespace omaha {
DataDumperNetwork::DataDumperNetwork() {
}
DataDumperNetwork::~DataDumperNetwork() {
}
void DataDumperNetwork::DumpNetworkConfig(const DumpLog& dump_log) {
NetworkConfig& network_config(NetworkConfig::Instance());
HRESULT hr = network_config.Detect();
if (FAILED(hr)) {
dump_log.WriteLine(... |
<?php
namespace pgb_liv\php_ms\Reader;
use pgb_liv\php_ms\Core\Modification;
use pgb_liv\php_ms\Core\Tolerance;
use pgb_liv\php_ms\Core\Peptide;
use pgb_liv\php_ms\Core\Protein;
use pgb_liv\php_ms\Core\Identification;
use pgb_liv\php_ms\Core\Spectra\PrecursorIon;
use pgb_liv\php_ms\Core\Chromosome;
use pgb_liv\php_ms... |
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an a... |
title: Guides
description: Detailed and practical advice
lead: Detailed and practical advice
weight: 3000000
ordering:
- debugging
- passing_parameters
- grouping_feeder
- scaling_out
- realtime_monitoring
- dynatrace
---
|
#ifndef TENSORFLOW_LITE_MICRO_KERNELS_CONV_TEST_H_
#define TENSORFLOW_LITE_MICRO_KERNELS_CONV_TEST_H_
#include "tensorflow/lite/c/builtin_op_data.h"
#include "tensorflow/lite/c/common.h"
#include "tensorflow/lite/micro/kernels/kernel_runner.h"
#include "tensorflow/lite/micro/kernels/micro_ops.h"
#include "tensorflow... |
package com.reactnativenavigation.screens;
import android.support.v7.app.AppCompatActivity;
import com.reactnativenavigation.params.ScreenParams;
import com.reactnativenavigation.views.ContentView;
import com.reactnativenavigation.views.LeftButtonOnClickListener;
import static android.view.ViewGroup.LayoutParams.MAT... |
"""
Wrapper module for the louie implementation
"""
import warnings
from coherence.dispatcher import Dispatcher
warnings.warn("extern.louie will soon be deprecated in favor of coherence.dispatcher.")
class Any(object): pass
class All(object): pass
class Anonymous(object): pass
# fake the API
class Dummy(object... |
[](http://travis-ci.org/fabien-d/alertify.js)
Alertify is an unobtrusive customizable JavaScript notification system.
## Features
* Fully customizable alert, confirm and prompt dialogs
* Fully customizable unobtrusive notification system
* Callbac... |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... |
declare var expect: (actual: string) => any;
declare var expect: (actual: number) => any;
// declarations for jsfixtures.js
declare var setFixtures: (html) => void;
describe('i18next', function () {
var i18n = $.i18n
, opts: I18nextOptions;
beforeEach(function () {
opts = {
lng: 'e... |
<cmp xmlns="urn:quodatum:qd-cmpx:component" name="d3">
<type>browser</type>
<home>http://d3js.org/</home>
<description>Data driven documents</description>
<release version="4.13.0">
<location base="//cdnjs.cloudflare.com/ajax/libs/d3/3.4.6/">
<resource type="js">d3.min.js</resource>
</location>
... |
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "py/mpconfig.h"
#include "py/mphal.h"
#include "py/obj.h"
#include "inc/hw_memmap.h"
#include "pybuart.h"
#include "osi.h"
#include "mperror.h"
//*****************************************************************************
//
//! \brief Applicati... |
<?php
/**
* @see Zend_Validate_Abstract
*/
require_once 'Zend/Validate/Abstract.php';
/**
* @category Zend
* @package Zend_Validate
* @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Z... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Wed Dec 04 15:38:01 CET 2013 -->
<title>Event (JADE v4.3.1 API)</title>
<meta name="date" content="2013-12-04">
<link rel... |