text stringlengths 3 1.05M |
|---|
<?xml version="1.0" encoding="UTF-8"?>
<billStatus>
<bill>
<sponsors>
<item>
<district>13</district>
<firstName>Adriano</firstName>
<identifiers>
<lisID>2342</lisID>
<bioguideId>E000297</bioguideId>
<gpoId />
</identifiers>
<lastName>Espa... |
namespace base {
std::string GenerateGUID() {
uint64 sixteen_bytes[2] = { base::RandUint64(), base::RandUint64() };
return RandomDataToGUIDString(sixteen_bytes);
}
// TODO(cmasone): Once we're comfortable this works, migrate Windows code to
// use this as well.
std::string RandomDataToGUIDString(const uint64 byte... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
// src/polyfills.js must be the first import.
import '#3p/polyfills';
import {draw3p, init} from '#3p/integration-lib';
import {register} from '#3p/3p';
import {adform} from '#ads/vendors/adform';
init(window);
register('adform', adform);
window.draw3p = draw3p;
|
// Generated by CoffeeScript 1.6.3
(function() {
var DateRange, moment;
moment = (typeof require !== "undefined" && require !== null) && !require.amd ? require("moment") : this.moment;
/**
* DateRange class to store ranges and query dates.
* @typedef {!Object}
*
*/
DateRange = (function() {
... |
<?xml version="1.0" encoding="utf-8"?>
<Addin
id="Banshee.Mpris"
version="1.0"
compatVersion="1.0"
copyright="© 2010 John Millikin, Bertrand Lorentz. Licensed under the MIT X11 license."
name="MPRIS D-Bus interface"
description="Control Banshee using the MPRIS D-Bus interface."
author="John ... |
<html>
<body>
Reports <b>public</b> methods in classes
which are not exposed as in interface. Exposing all <b>public</b> methods via interface is important for
maintaining loose coupling, and may be necessary for certain component-based programming styles.
<!-- tooltip end -->
<p>
Use the list below to specify special ... |
;(function($) {
'use strict';
// 兼容jQuery不支持$.os的问题
if(!$.os) {
var os = {},
ua = navigator.userAgent,
platform = navigator.platform,
android = ua.match(/(Android);?[\s\/]+([\d.]+)?/),
ipad = ua.match(/(iPad).*OS\s([\d_]+)/),
ipod = ua.match(/(iPod)(.*OS\s([\d_]+))?/... |
@class ZXPDF417BarcodeRow;
/**
* Holds all of the information for a barcode in a format where it can be easily accessable
*/
@interface ZXPDF417BarcodeMatrix : NSObject
@property (nonatomic, assign, readonly) int height;
@property (nonatomic, assign, readonly) int width;
/**
* @param height the height of the ma... |
#include "config.h"
#include "core/rendering/RenderFileUploadControl.h"
#include "core/HTMLNames.h"
#include "core/InputTypeNames.h"
#include "core/dom/shadow/ElementShadow.h"
#include "core/dom/shadow/ShadowRoot.h"
#include "core/editing/PositionWithAffinity.h"
#include "core/fileapi/FileList.h"
#include "core/html... |
package backup
import (
"encoding/json"
"errors"
"flag"
"fmt"
"io"
"log"
"net"
"os"
"github.com/influxdb/influxdb/services/snapshotter"
"github.com/influxdb/influxdb/snapshot"
)
// Suffix is a suffix added to the backup while it's in-process.
const Suffix = ".pending"
// Command represents the program exe... |
<?php namespace Modules\Menu\Entities;
use Dimsav\Translatable\Translatable;
use Illuminate\Database\Eloquent\Model;
use TypiCMS\NestableTrait;
class Menuitem extends Model
{
use Translatable, NestableTrait;
public $translatedAttributes = ['title', 'uri', 'url', 'status'];
protected $fillable = [
... |
namespace Microsoft.Azure.Management.ProviderHub.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public partial class ResourceProviderCapabilities
{
/// <summary>
/// Initializes a new instance of the ResourceProvide... |
<aside class="col-md-3 side-bar col-sm-4 col-xs-12" ng-if="showSidebar">
<div class="filter-section">
<h5 class="pad-10 category-heading">
<i class="fa fa-times pull-right visible-xs" ng-click="homePageCtrl.checkScreenWidth()"></i> Categories
</h5>
<div class="row">
<... |
from django.core.paginator import Paginator, EmptyPage, Page
class AutoPaginator(Paginator):
def __init__(self, request, *args, **kwargs):
self.request = request
self.default = kwargs.pop('default', 1)
super(AutoPaginator, self).__init__(*args, **kwargs)
def current_page(self):
... |
/**
* @constructor
* @extends {TreeOutline}
* @param {!WebInspector.Target} target
* @param {boolean=} omitRootDOMNode
* @param {boolean=} selectEnabled
* @param {function(!WebInspector.DOMNode, string, boolean)=} setPseudoClassCallback
*/
WebInspector.ElementsTreeOutline = function(target, omitRootDOMNode, se... |
class ContentPagesController < ApplicationController
# GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
verify method: :post, only: [:destroy, :create, :update],
redirect_to: {action: :list}
def action_allowed?
case params[:action]
when 'view', 'view_default'
true... |
ACCEPTED
#### According to
Euro+Med Plantbase
#### Published in
null
#### Original name
null
### Remarks
null |
<!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_151) on Sat Mar 16 04:11:51 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ShortRunningThreadsConsumer... |
import { COMPILER_REVISION, REVISION_CHANGES } from "../base";
import Exception from "../exception";
function Literal(value) {
this.value = value;
}
function JavaScriptCompiler() {}
JavaScriptCompiler.prototype = {
// PUBLIC API: You can override these methods in a subclass to provide
// alternative compiled f... |
(function () {
var chrono = {}
chrono.parsers = {};
chrono.importantdays = {};
chrono.parse = function(text, referrenceDate, option) {
var parser = this.IntegratedParser(text, referrenceDate, option);
parser.execAll();
return parser.results();
}
chrono.parseDate = function(text,... |
import unittest
from streamlink.plugins.bongacams import bongacams
class TestPluginBongacams(unittest.TestCase):
def test_can_handle_url(self):
""" positive cases """
self.assertTrue(bongacams.can_handle_url('http://bongacams.com/1'))
self.assertTrue(bongacams.can_handle_url('http://bonga... |
<?php
/**
* Adminhtml low stock products report grid block
*
* @category Mage
* @package Mage_Adminhtml
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_Adminhtml_Block_Report_Product_Lowstock_Grid extends Mage_Adminhtml_Block_Widget_Grid
{
// protected $_saveParametersInSession... |
XKeyEvent createKeyEvent(Display *display, Window &win,
Window &winRoot, bool press,
int keycode)
{
XKeyEvent event;
event.display = display;
event.window = win;
event.root = winRoot;
event.subwindow = None;
event.time =... |
/** MxArray and ConstMap declaration.
* @file MxArray.hpp
* @author Kota Yamaguchi
* @date 2012
*/
#ifndef __MXARRAY_HPP__
#define __MXARRAY_HPP__
#include <functional>
#include <map>
#include <stdint.h>
#include <string>
#include "mex.h"
#include "opencv2/opencv.hpp"
/** mxArray object wrapper for data conversio... |
if(!dojo._hasResource["dojox.grid.compat._grid.publicEvents"]){
dojo._hasResource["dojox.grid.compat._grid.publicEvents"]=true;
dojo.provide("dojox.grid.compat._grid.publicEvents");
dojox.grid.publicEvents={cellOverClass:"dojoxGrid-cell-over",onKeyEvent:function(e){
this.dispatchKeyEvent(e);
},onContentEvent:functio... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - lines - cubes</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
background-color: #000000;
margin: 0px;
overflow: hidden;
}
... |
namespace NanoRpc {
class IRpcStub : public IRpcService {
public:
virtual ~IRpcStub() {}
virtual const char *GetInterfaceName() const = 0;
};
} // namespace
#endif // NANO_RPC_RPC_STUB_HPP__
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; Android 4.2.2; YPY_S450 Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Mobile Safari/537.36</title>
<link rel="stylesheet" href="https://cdnjs.cloud... |
import codecs
import sys
from antlr4.InputStream import InputStream
class StdinStream(InputStream):
def __init__(self, encoding='ascii'):
bytes = sys.stdin.read()
data = codecs.decode(bytes, encoding)
super(type(self), self).__init__(data) |
#ifndef PictureSnapshot_h
#define PictureSnapshot_h
#include "platform/JSONValues.h"
#include "platform/PlatformExport.h"
#include "platform/graphics/GraphicsContext.h"
#include "third_party/skia/include/core/SkPicture.h"
#include "third_party/skia/include/core/SkPictureRecorder.h"
#include "wtf/RefCounted.h"
names... |
package org.zaproxy.zap.extension.script;
import java.util.List;
import org.parosproxy.paros.core.scanner.AbstractPlugin;
import org.parosproxy.paros.network.HttpMessage;
public interface SequenceScript {
/** * A method that will start an active scan for a single sequence. */
void scanSequence();
/**
... |
YUI.add('widget-position', function(Y) {
/**
* Provides basic XY positioning support for Widgets, though an extension
*
* @module widget-position
*/
var Lang = Y.Lang,
Widget = Y.Widget,
XY_COORD = "xy",
POSITION = "position",
POSITIONED = "positioned",
BOUNDING_BOX = ... |
/*!
* Qoopido.js library v3.5.5, 2014-9-30
* https://github.com/dlueth/qoopido.js
* (c) 2014 Dirk Lueth
* Dual licensed under MIT and GPL
*/
!function(e){window.qoopido.register("support/element/video/ogg",e,["../../../support","../video"])}(function(e,o,t,i,n,r){"use strict";var s=e.support;return s.addTest("/element/... |
require 'spec_helper'
describe 'rsyslog::default' do
cached(:chef_run) do
ChefSpec::ServerRunner.new(platform: 'ubuntu').converge(described_recipe)
end
let(:service_resource) { 'service[rsyslog]' }
it 'installs the rsyslog part' do
expect(chef_run).to install_package('rsyslog')
end
context "when ... |
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="twig.class">Twig_... |
# ----------------------------------------------------------------------------------
#
# Copyright Microsoft Corporation
# 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... |
namespace facebook {
namespace react {
void addNativeTracingLegacyHooks(JSGlobalContextRef ctx);
} }
#endif
|
<?php
namespace Sonata\BlockBundle\Tests\Exception\Renderer;
use Sonata\BlockBundle\Exception\Filter\IgnoreClassFilter;
/**
* Test the ignore class exception filter
*
* @author Olivier Paradis <paradis.olivier@gmail.com>
*/
class IgnoreClassFilterTest extends \PHPUnit_Framework_TestCase
{
/**
* test th... |
using Microsoft.Office365.OAuth;
using System;
using System.Diagnostics;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Popups;
namespace HubApp2.O365Helpers
{
internal static class MessageDialogHelper
{
internal static async Task<bool> ShowYesNoDialogAsync(string content, string ti... |
package org.onosproject.drivers.p4runtime;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.util.concurrent.Striped;
import org.onlab.util.SharedExecutors;
import org.onosproject.drivers.p4runtime.mirror.P4RuntimeT... |
/*!
* Module dependencies.
*/
var MongooseCollection = require('../../collection'),
Collection = require('mongodb').Collection,
utils = require('../../utils');
/**
* A [node-mongodb-native](https://github.com/mongodb/node-mongodb-native) collection implementation.
*
* All methods methods from the [node-m... |
#ifndef WebCoreBundleWin_h
#define WebCoreBundleWin_h
#if USE(CF)
typedef struct __CFBundle* CFBundleRef;
namespace WebCore {
CFBundleRef webKitBundle();
}
#endif
#endif // WebCoreBundleWin_h
|
module GroupCreator.People
( Person(..)
, People(..)
, Attribute(..)
) where
import Data.Map (Map)
import qualified Data.Map as Map
type People = Map Int Person
type Person = Map Int Attribute
data Attribute = EnumAttribute { enumValue :: Int } --e.g. sex (male, female, unknown)
| DiscreteAttribute {... |
UIToolbar::UIToolbar()
{
_items = NULL;
_style = 0;
}
void UIToolbar::InitFromXIB(XIBObject *obj)
{
UIView::InitFromXIB(obj);
_items = (XIBArray *) FindMember("IBUIItems");
_outputClassName = "UIToolbar";
}
void UIToolbar::InitFromStory(XIBObject *obj)
{
UIView::InitFromStory(obj);
_item... |
/*
* $Id$
*/
// ---------------------------------------------------------------------------
// Includes
// ---------------------------------------------------------------------------
#include <xercesc/validators/datatype/DatatypeValidator.hpp>
#include <xercesc/framework/MemoryManager.hpp>
//since we need to dy... |
package com.caspar.caswechat.menu;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
publi... |
#ifndef PCL_WARP_POINT_RIGID_H_
#define PCL_WARP_POINT_RIGID_H_
#include <pcl/registration/eigen.h>
namespace pcl
{
namespace registration
{
/** \brief Base warp point class.
*
* \note The class is templated on the source and target point types as well as on the output scalar of the transforma... |
package org.apache.camel.component.xmlsecurity;
import org.apache.camel.AsyncCallback;
import org.apache.camel.AsyncProcessor;
import org.apache.camel.Endpoint;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.support.AsyncProcessorConverterHelper;
import org.apache.camel.s... |
Clazz.declarePackage ("J.export");
Clazz.load (["JU.P3", "$.V3"], "J.export.___Exporter", ["java.lang.Float", "$.Short", "java.util.Hashtable", "JU.AU", "$.Lst", "$.M3", "$.Quat", "$.SB", "JU.C", "$.Logger", "$.MeshSurface"], function () {
c$ = Clazz.decorateAsClass (function () {
this.vwr = null;
this.tm = null;
... |
* * *
title: The Internet view: page_curriculum theme: none
* * *
<%= partial('curriculum_header', :title=> 'The Internet', :unplugged=>true,:disclaimer=>'Basic lesson time includes activity only. Introductory and Wrap-Up suggestions can be used to delve deeper when time allows.', :time=>15) %>
[content]
[together... |
describe('bin/cli', () => {
const proxyquire = require('proxyquire')
.noCallThru()
.noPreserveCache();
beforeEach(function be() {
const me = this;
me.mainMock = me.sandbox.createSpyObj('main', ['run']);
});
it('should launch the main module run method', function t() {
const me = this;
... |
#ifndef TENSORFLOW_PLATFORM_PLATFORM_DEFINE_H_
#define TENSORFLOW_PLATFORM_PLATFORM_DEFINE_H_
// Set one PLATFORM_* macro and set IS_MOBILE_PLATFORM if the platform is for
// mobile.
#if !defined(PLATFORM_POSIX) && !defined(PLATFORM_GOOGLE) && \
!defined(PLATFORM_POSIX_ANDROID) && !defined(PLATF... |
module Rx {
export module internals {
export interface ScheduledObserver<T> extends Observer<T> {
ensureActive(): void;
}
}
}
(function() {
var observer: Rx.internals.ScheduledObserver<boolean>;
observer.ensureActive();
});
|
#ifndef UNESCTRN_H
#define UNESCTRN_H
#include "unicode/utypes.h"
#if !UCONFIG_NO_TRANSLITERATION
#include "unicode/translit.h"
U_NAMESPACE_BEGIN
/**
* A transliterator that converts Unicode escape forms to the
* characters they represent. Escape forms have a prefix, a suffix, a
* radix, and minimum and maxim... |
OS_TLSIndex PoolIndex = OS_INVALID_TLS_INDEX;
bool InitializePoolIndex()
{
assert(PoolIndex == OS_INVALID_TLS_INDEX);
PoolIndex = OS_AllocTLSIndex();
return PoolIndex != OS_INVALID_TLS_INDEX;
}
void FreePoolIndex()
{
assert(PoolIndex != OS_INVALID_TLS_INDEX);
OS_FreeTLSIndex(PoolIndex);
Pool... |
<?php
namespace Oro\Bundle\FormBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\FormView;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class LinkType extends AbstractType
{
/**
* {@inheritdoc}
*/
publi... |
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_FILESYSTEM_ENTRY_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_FILESYSTEM_ENTRY_H_
#include "third_party/blink/renderer/modules/filesystem/dom_file_system.h"
#include "third_party/blink/renderer/modules/filesystem/entry_base.h"
#include "third_party/blink/renderer/modules/m... |
<package>
<name>cuarl_util</name>
<version>0.1.0</version>
<description>Concordia University Aerospace Robotics Lab - ROS utility programs</description>
<maintainer email="ty@unutilized.net">Tyson Boer</maintainer>
<license>BSD</license>
<buildtool_depend>catkin</buildtool_depend>
<build_depend>roscpp<... |
// ==ClosureCompiler==
// @compilation_level ADVANCED_OPTIMIZATIONS
// @externs_url http://closure-compiler.googlecode.com/svn/trunk/contrib/externs/maps/google_maps_api_v3.js
// ==/ClosureCompiler==
/**
* @name CSS3 InfoBubble with tabs for Google Maps API V3
* @version 0.8
* @author Luke Mahe
* @fileoverview
* ... |
#ifndef GLM_GTX_simd_vec4
#define GLM_GTX_simd_vec4
// Dependency:
#include "../glm.hpp"
#if(GLM_ARCH != GLM_ARCH_PURE)
#if(GLM_ARCH & GLM_ARCH_SSE2)
# include "../detail/intrinsic_common.hpp"
# include "../detail/intrinsic_geometric.hpp"
# include "../detail/intrinsic_integer.hpp"
#else
# error "GLM:... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string msgid="4600421777120114993" name="abc_action_bar_home_description">"Visa startsidan"</string>
<string msgid="1397052879051804371" name="abc_action_bar_home_description_format">"%1$s, %2$s"</string>
<string msgid="6623331958280229229" name="abc_actio... |
package com.google.gerrit.httpd.auth.openid;
import com.google.gerrit.common.Nullable;
import com.google.gerrit.extensions.registration.DynamicItem;
import com.google.gerrit.httpd.HttpLogoutServlet;
import com.google.gerrit.httpd.WebSession;
import com.google.gerrit.server.audit.AuditService;
import com.google.gerrit.... |
package apparmor
import (
"bufio"
"errors"
"fmt"
"io/ioutil"
"os"
"path"
"strings"
utilfeature "k8s.io/apiserver/pkg/util/feature"
"k8s.io/kubernetes/pkg/api/v1"
"k8s.io/kubernetes/pkg/features"
"k8s.io/kubernetes/pkg/util"
)
// Whether AppArmor should be disabled by default.
// Set to true if the wrong... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2020 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_RPC_SERVER_H
#define BITCOIN_RPC_SERVER_H
#include <rpc/request.h>
#i... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget id="com.ionicframework.bikelogs809008" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>bike_logs</name>
<description>
An Ionic Framework and Cordova project.
</description>
<author ... |
{WELCOME_MSG}
Bitte bewahren Sie diese email für Ihre Unterlagen. Ihre account-Informationen ist wie folgt:
----------------------------
Benutzername: {USERNAME}
Passwort: {PASSWORD}
----------------------------
Ihr Konto ist derzeit inaktiv. Können Sie es nicht verwenden, bis Sie unter dem folgenden link:
{U_ACTIV... |
package org.apache.camel.component.netty4;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import io.netty.channel.ChannelHandler;
import io.netty.handler.codec.LengthFieldPrepender;
import io.netty.handler.codec.string.StringDecoder;
import io.netty.handler.codec.string.Stri... |
import React, { Component, PropTypes } from 'react';
import connect from '../../util/connect';
import Section from '../../component/section';
import Field from '../../component/ui/field';
import lookup from 'gl-constants/lookup';
function mapArrayOrObject(data, callback) {
if (Array.isArray(data)) return data.map(... |
cask 'eventstore' do
version '3.9.3'
sha256 'a4ceca878a833e4f30235b08ce1764d5072935484c126c93fb05ab2188a2a9ee'
url "http://download.geteventstore.com/binaries/EventStore-OSS-MacOSX-v#{version}.tar.gz"
name 'Event Store'
homepage 'https://geteventstore.com/'
binary "EventStore-OSS-MacOSX-v#{version}/events... |
package p503
import (
. "v2ray.com/core/external/github.com/cloudflare/sidh/internal/isogeny"
)
// If choice = 0, leave x,y unchanged. If choice = 1, set x,y = y,x.
// If choice is neither 0 nor 1 then behaviour is undefined.
// This function executes in constant time.
//go:noescape
func fp503ConditionalSwap(x, y *F... |
/*
* Copyleft 2016.
*
* 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,... |
{% load wagtailcore_tags %}
{% if self.depth > 3 %}{# Previous and next buttons are not relevant for the home page and categories #}
{% with prev=self.get_prev_siblings.live.first next=self.get_next_siblings.live.first %}
<nav>
<ul class="pager">
<li class="previous{% if not prev %} disabled{% endi... |
"""UniFi switch platform tests."""
from copy import deepcopy
from aiounifi.controller import MESSAGE_CLIENT_REMOVED, MESSAGE_EVENT
from aiounifi.websocket import SIGNAL_DATA
from homeassistant import config_entries
from homeassistant.components.device_tracker import DOMAIN as TRACKER_DOMAIN
from homeassistant.compone... |
.bootstrap-validator-form .help-block{margin-bottom:0} |
namespace base {
// This is the base SimpleThread. You can derive from it and implement the
// virtual Run method, or you can use the DelegateSimpleThread interface.
class BASE_EXPORT SimpleThread : public PlatformThread::Delegate {
public:
struct BASE_EXPORT Options {
public:
Options() = default;
expli... |
=head1 NAME
fix_cmp_overlaps.pl - remove overlapping mappings between assemblies from the component coordinates
=head1 SYNOPSIS
fix_overlaps.pl [arguments]
Required arguments:
--dbname, db_name=NAME database name NAME
--host, --dbhost, --db_host=HOST database host HOST
--port, --dbport, --db_... |
package persistentvolume
import (
"context"
"errors"
"reflect"
"testing"
"time"
v1 "k8s.io/api/core/v1"
storagev1 "k8s.io/api/storage/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/wait"
"k8s.io/apimachinery/pkg/watch"
utilfeature "k8s.io/apiserver/pkg/util/feature"
"k8s... |
ext.modules.logs = {
name: 'logs',
dText: 'Logs',
pages: [{
path_name: '/logs.php',
options: {
buttons: '#head_notice_left',
auto_refresh_interval: 60000
}
}],
loaded: false,
prepared: false,
refreshTimer: false,
filtersArray: {
'uploads_filter': {
className: 'log_u... |
<template bindable="viewmodel">
<h1 class="st-title">Get started with ${viewmodel.templateName}</h1>
<p class="st-subtitle">${viewmodel.subTitle}</p>
<p class="st-text" if.bind="viewmodel.isEvaluation">For evaluation purposes only. Not intended for production use.</p>
<!-- Set Up -->
<div class=... |
/**
* @module ol/geom/GeometryCollection
*/
import {listen, unlistenByKey} from '../events.js';
import EventType from '../events/EventType.js';
import {createOrUpdateEmpty, closestSquaredDistanceXY, extend, getCenter} from '../extent.js';
import Geometry from './Geometry.js';
import GeometryType from './GeometryType.... |
//
// Created by raver119 on 13.10.2017.
//
#include "ops/declarable/BooleanOp.h"
#include <vector>
#include <initializer_list>
#include <NDArrayFactory.h>
namespace nd4j {
namespace ops {
BooleanOp::BooleanOp(const char *name, int numInputs, bool scalar) : DeclarableOp::DeclarableOp(name, numInputs, sc... |
package daemon // import "github.com/docker/docker/daemon"
import (
"github.com/moby/swarmkit/v2/agent/exec"
)
// SetContainerDependencyStore sets the dependency store backend for the container
func (daemon *Daemon) SetContainerDependencyStore(name string, store exec.DependencyGetter) error {
c, err := daemon.GetCo... |
package org.apache.batik.svggen;
import java.util.HashMap;
import java.util.Map;
/**
* Repository of SVG attribute descriptions, accessible by
* name.
*
* @author <a href="mailto:vincent.hardy@eng.sun.com">Vincent Hardy</a>
* @version $Id: SVGAttributeMap.java 475477 2006-11-15 22:44:28Z cam $
*/
public class ... |
/*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.messageinterpolation;
import java.util.EnumSet;
import java.util.List... |
"Locking-related NETCONF operations"
from ncclient.xml_ import *
from rpc import RaiseMode, RPC
# TODO: parse session-id from a lock-denied error, and raise a tailored
# exception?
class Lock(RPC):
"`lock` RPC"
def request(self, target):
"""Allows the client to lock the configuration system of a ... |
package org.apache.cassandra.repair;
import java.net.InetAddress;
import java.util.concurrent.RunnableFuture;
import java.util.concurrent.TimeUnit;
import com.google.common.util.concurrent.AbstractFuture;
import org.apache.cassandra.exceptions.RequestFailureReason;
import org.apache.cassandra.net.IAsyncCallbackWith... |
<!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_111) on Sun Jul 30 21:12:23 PDT 2017 -->
<title>VendorOptions (pxeserver API)</title>
<meta name="date" content="2017-07-30">
<link rel="styles... |
#include "third_party/blink/renderer/platform/graphics/generated_image.h"
#include "third_party/blink/renderer/platform/graphics/graphics_context.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_controller.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_image.h"
#include "t... |
package org.jasig.cas.services.web.beans;
import java.io.Serializable;
/**
* Proxy policy bean defined per JSON feed.
* @author Misagh Moayyed
* @since 4.1
*/
public class RegisteredServiceProxyPolicyBean implements Serializable {
private static final long serialVersionUID = 5990879744144480587L;
/**
... |
'use strict';
var chai = require('chai');
var expect = chai.expect;
var GoogleAnalyticsTrackingCodeValidator = require('../../helpers/validators/GoogleAnalyticsTrackingCodeValidator');
describe('GoogleAnalyticsTrackingCodeValidator', function() {
var googleAnalyticsTrackingCodeValidator,
helperName;
... |
package jenkins.widgets;
import hudson.Functions;
import hudson.model.BallColor;
import hudson.model.Run;
import net.sf.json.JSONObject;
import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.DoNotUse;
@Restricted(DoNotUse.class) // only for buildListTable.jelly
public class BuildListTable ext... |
using System.Collections.Generic;
namespace Microsoft.VisualStudioTools.MockVsTests {
public interface IContentTypeMetadata {
IEnumerable<string> ContentTypes { get; }
}
}
|
<?php
namespace Symfony\Component\HttpFoundation;
/**
* RequestMatcher compares a pre-defined set of checks against a Request instance.
*
* @author Fabien Potencier <fabien@symfony.com>
*
* @api
*/
class RequestMatcher implements RequestMatcherInterface
{
private $path;
private $host;
private $met... |
module ActiveMerchant
module Empty
private
def empty?(value)
case value
when nil
true
when Array, Hash
value.empty?
when String
value.strip.empty?
when Numeric
(value == 0)
else
false
end
end
end
end
|
s2_ultra_fast
=============
Simple Symfony2 Bundle. From the tutorial: http://www.devaddiction.com/articles/symfony2-ultra-fast-start
|
#include "swrast/swrast.h"
#include "texobj.h"
#include "teximage.h"
#include "mipmap.h"
#include "intel_context.h"
#include "intel_mipmap_tree.h"
#include "intel_tex.h"
#define FILE_DEBUG_FLAG DEBUG_TEXTURE
static GLboolean
intelIsTextureResident(GLcontext * ctx, struct gl_texture_object *texObj)
{
#if 0
struct i... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc (version 1.7.0_40) on Thu Jan 02 16:44:31 CST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>org.apache.giraph.w... |
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
<item>
<category domain="http://example.com/schema1">topic1</category>
<category domain="http://example.com/schema2">topic1</category>
<category domain="http://example.com/schema1">topic2</category>
... |
import {
bootstrap,
onChange,
NgIf,
NgFor,
Component,
Directive,
View,
Ancestor,
NgValidator,
forwardRef,
Binding
} from 'angular2/bootstrap';
import {formDirectives} from 'angular2/forms';
import {RegExpWrapper, print, isPresent, CONST_EXPR} from 'angular2/src/facade/lang';
/**
* You can fin... |