text stringlengths 3 1.05M |
|---|
<?php
require_once('exceptions.php');
class Defensio_REST_Client
{
public $host;
public $http_version;
public $use_sockets;
public function __construct($host, $use_sockets = TRUE, $http_version = '1.0')
{
$this->host = $host;
$this->http_version = $http_version;
$this->use_... |
package fr.adrienbrault.idea.symfony2plugin.util.psi.matcher;
import com.intellij.openapi.util.Pair;
import com.intellij.patterns.PlatformPatterns;
import com.intellij.patterns.PsiElementPattern;
import com.intellij.psi.PsiElement;
import com.intellij.util.containers.ContainerUtil;
import com.jetbrains.php.lang.parser... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/vision/v1/web_detection.proto
package com.google.cloud.vision.v1;
public interface WebDetectionOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.WebDetection)
com.google.protobuf.MessageOrB... |
namespace XlsToEf.Import
{
public enum CommitMode
{
AnySuccessfulOneAtATime,
AnySuccessfulAtEndAsBulk,
CommitAllAtEndIfAllGoodOrRejectAll,
NoCommit
}
} |
@implementation CommentTableViewCell
- (void)awakeFromNib {
// Initialization code
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier... |
module Fog
module Compute
class ProfitBricks
class Real
# Deletes the specified volume
#
# ==== Parameters
# * datacenter_id<~String> - UUID of the data center
# * volume_id<~String> - UUID of the volume
#
# ==== Returns
# * response<~Exco... |
package mocks
import context "golang.org/x/net/context"
import events "github.com/ohsu-comp-bio/funnel/events"
import mock "github.com/stretchr/testify/mock"
import scheduler "github.com/ohsu-comp-bio/funnel/proto/scheduler"
import tes "github.com/ohsu-comp-bio/funnel/proto/tes"
// Database is an autogenerated mock t... |
package org.apache.jasper.runtime;
import java.io.File;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.jsp.JspFactory;
import javax.servlet.jsp.... |
layout: global
title: Running Spark on Alluxio in Kubernetes
nickname: Spark on Kubernetes
group: Compute Integrations
priority: 7
---
Alluxio can be run on Kubernetes. This guide demonstrates how to run a Spark job on Alluxio
running in a Kubernetes environment.
* Table of Contents
{:toc}
## Overview
Spark running... |
/**
* Module dependencies.
*/
var utils = require('../utils'),
brokenPause = utils.brokenPause;
/**
* Limit:
*
* Limit request bodies to the given size in `bytes`.
*
* A string representation of the bytesize may also be passed,
* for example "5mb", "200kb", "1gb", etc.
*
* connect()
* ... |
<!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_05) on Sun Dec 23 21:05:23 JST 2012 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class twitt... |
<?xml version="1.0" encoding="UTF-8"?>
<ValueSet xmlns="http://hl7.org/fhir">
<id value="CareConnect-SDSJobRoleName-1"/>
<url value="https://fhir.nhs.uk/STU3/ValueSet/CareConnect-SDSJobRoleName-1"/>
<version value="1.0.0"/>
<name value="Care Connect SDS Job Role Name"/>
<status value="active"/>
<date value="2017-... |
using System;
using System.ComponentModel;
namespace WpfSettings.Example
{
internal static class MvvmUtils
{
public static void AddPropertyChanged(this object source, PropertyChangedEventHandler handler)
{
var sourceNotifier = source as INotifyPropertyChanged;
if (sourc... |
#ifndef soapNotificationConsumerBindingProxy_H
#define soapNotificationConsumerBindingProxy_H
#include "soapH.h"
class SOAP_CMAC NotificationConsumerBindingProxy : public soap
{ public:
/// Endpoint URL of service 'NotificationConsumerBindingProxy' (change as needed)
const char *soap_endpoint;
/// Const... |
package org.pentaho.di.ui.repository;
import java.util.ResourceBundle;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Shell;
import org.pentaho.di.core.Const;
import org.pentaho.di.core.gui.SpoonFactory;
i... |
// 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.
using System.Reflection;
namespace Cake.Core.Scripting
{
/// <summary>
/// Represents a framework referenc... |
package io.reflectoring.eventsdemo;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;
@Component
class UserCreatedListener implements ApplicationListener<UserCreatedEvent> {
@Override
public void onApplicationEvent(UserCreatedEvent event) {
System.out.printl... |
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, (function (moment) { 'use strict';
... |
int main()
{
return -1;
}
// ----------------------------------------------------------------------------
// Copyright 2014 Bloomberg Finance L.P.
//
// 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 th... |
.atom-single-service:hover i {
color: #F90706;
}
.atom-single-service:hover .atom-service-info h5 {
color: #F90706;
}
.atom-scroll-down a,
.atom-scroll-down a:hover,
.atom-scroll-down a:focus {
color: #F90706;
}
.atom-subscribe-form .atom-subscribe-email:focus {
border-color: #F90706;
}
.atom-subscribe-form .... |
/*
* @test
* @bug 6256805
* @summary Tests invalid XML characters encoding
* @author Sergey Malenkov
*/
public final class Test6256805 extends AbstractTest {
public static void main(String[] args) {
new Test6256805().test(true);
}
protected CharacterBean getObject() {
CharacterBean ... |
class GuiRadioCtrl : public GuiCheckBoxCtrl
{
typedef GuiCheckBoxCtrl Parent;
public:
DECLARE_CONOBJECT(GuiRadioCtrl);
DECLARE_DESCRIPTION( "A button control with a radio box and a text label.\n"
"This control is used in groups where multiple radio buttons\n"
"p... |
cask 'baseelements' do
version '16'
sha256 :no_check # required as upstream package is updated in-place
# goya.com.au/files/becurrent was verified as official when first introduced to the cask
url "https://goya.com.au/files/becurrent/BaseElements_#{version}_Mac_Runtime.dmg"
name 'BaseElements'
homepage 'ht... |
module.exports = {
'add': require('./math/add'),
'max': require('./math/max'),
'min': require('./math/min'),
'sum': require('./math/sum')
};
|
/**
* "First, solve the problem. Then, write the code. -John Johnson"
* "Or use Vangav M"
* www.vangav.com
* */
/**
* MIT License
*
* Copyright (c) 2016 Vangav
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software... |
// -*- C++ -*-
//
// $Id: Options.h 80826 2008-03-04 14:51:23Z wotte $
// ============================================================================
//
// = LIBRARY
// gateway
//
// = FILENAME
// Options.h
//
// = AUTHOR
// Douglas C. Schmidt
//
// ===========================================================... |
<?php namespace Project\Issue;
class Comment extends \Eloquent {
public static $table = 'projects_issues_comments';
public static $timestamps = true;
/**
* @return \User
*/
public function user()
{
return $this->belongs_to('\User', 'created_by');
}
public function attachments()
{
return $this->has_ma... |
import React, { PropTypes } from 'react';
import rd3 from 'rd3';
import moment from 'moment';
const BarChart = rd3.BarChart;
export class DeviceChart extends React.Component {
constructor(props) {
super(props);
this.state = {
barData: [{ values: [{}] }],
};
}
componentWillMount() {
cons... |
package org.mifos.customers.office.persistence;
import java.util.List;
import org.mifos.application.NamedQueryConstants;
import org.mifos.customers.office.business.OfficeLevelEntity;
import org.mifos.framework.exceptions.PersistenceException;
import org.mifos.framework.persistence.Persistence;
public class OfficeH... |
export default "c";
|
struct A { };
void f() {
struct B : private A {}; // expected-note{{declared private here}}
B b;
A *a = &b; // expected-error{{cannot cast 'B' to its private base class 'A'}}
}
|
package tests
import (
"reflect"
"testing"
"k8s.io/kubernetes/federation/pkg/dnsprovider"
"k8s.io/kubernetes/federation/pkg/dnsprovider/rrstype"
)
/* CommonTestResourceRecordSetsReplace verifies that replacing an RRS works */
func CommonTestResourceRecordSetsReplace(t *testing.T, zone dnsprovider.Zone) {
rrse... |
Maven plugin to verify a provider [version 2.1.9+]
==================================================
Maven plugin for verifying pacts against a provider.
The Maven plugin provides a `verify` goal which will verify all configured pacts against your provider.
## To Use It
### 1. Add the pact-jvm-provider-maven plugi... |
<?php
/**
* PHPExcel_Style_Color
*
* @category PHPExcel
* @package PHPExcel_Style
* @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
*/
class PHPExcel_Style_Color extends PHPExcel_Style_Supervisor implements PHPExcel_IComparable
{
/* Colors */
const COLOR_BLACK = 'FF00... |
/**
* @providesModule DocsLayout
* @jsx React.DOM
*/
var React = require('React');
var Site = require('Site');
var Marked = require('Marked');
var DocsSidebar = require('DocsSidebar');
var DocsLayout = React.createClass({
render: function() {
var metadata = this.props.metadata;
var content = this.props.ch... |
=======
CHANGES
=======
1.2.9
======
* Changed owner getter in Secureapp rest xml api, to check if I get a response first
1.2.8
======
* Re-using cookies in subsequent requests to improve authentication efficiency
1.2.7
=====
* Secure_Track_Helper.get_topology_clouds - fixed "type" argument name in the generated url
... |
package build
import "github.com/docker/docker/api/server/router"
// buildRouter is a router to talk with the build controller
type buildRouter struct {
backend Backend
daemon experimentalProvider
routes []router.Route
}
// NewRouter initializes a new build router
func NewRouter(b Backend, d experimentalProvide... |
<?php
use yii\helpers\Inflector;
use yii\helpers\StringHelper;
/* @var $this yii\web\View */
/* @var $generator yii\gii\generators\crud\Generator */
$urlParams = $generator->generateUrlParams();
echo "<?php\n";
?>
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model <?= ltrim($generator->modelClass,... |
/*Open FreeRTOS assert */
#define USE_FREERTOS_ASSERT 0
|
import Component from 'flarum/Component';
import ItemList from 'flarum/utils/ItemList';
import listItems from 'flarum/helpers/listItems';
/**
* The `DiscussionHero` component displays the hero on a discussion page.
*
* ### Props
*
* - `discussion`
*/
export default class DiscussionHero extends Component {
view... |
<?xml version="1.0" encoding="UTF-8"?>
<!-- Reviewed: no -->
<section
xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xml:id="zend.mvc.quick-start">
<title>Quick Start</title>
<para>
Now that you know the basics of how applications and modules are
... |
<?php
use \CliGuy;
class ExtensionsCest
{
// tests
public function useAlternativeFormatter(CliGuy $I)
{
$I->wantTo('use alternative formatter delivered through extensions');
$I->amInPath('tests/data/sandbox');
$I->executeCommand('run tests/dummy/FileExistsCept.php -c codeception_ext... |
<?php
class Kwc_Directories_TopChoose_Component extends Kwc_Directories_Top_Component
{
public static function getSettings($param = null)
{
$ret = parent::getSettings($param);
$ret['showDirectoryClass'] = 'Kwc_Directories_Item_Directory_Component'; // nur für form
$ret['ownModel'] = 'Kwc... |
// Copyright 2012 Google Inc. 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 required by applicable... |
package DDG::Goodie::MD4;
# ABSTRACT: Computes the MD4 cryptographic hash function
use strict;
use DDG::Goodie;
use Digest::MD4;
zci answer_type => "md4";
zci is_cached => 1;
name "MD4";
description "MD4 hash algorithm";
primary_example_queries "md4 this string";
secondary_example_queries "md4sum this string",
... |
<?php
namespace Doctrine\Tests\Common\Cache;
use Doctrine\Common\Cache\XcacheCache;
/**
* @requires extension xcache
*/
class XcacheCacheTest extends CacheTest
{
protected function _getCacheDriver()
{
return new XcacheCache();
}
} |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
// Copyright 2007 Google Inc. 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 required by applicable... |
require 'test_helper'
class Server < ActiveRecord::Base
acts_as_protected
has_many :ownerships
has_many :users, :through => :ownerships
end
class Ownership < ActiveRecord::Base
acts_as_protected
belongs_to :user
belongs_to :server
end
class UnderScore < ActiveRecord::Base
acts_as_protected
end
class C... |
module Excon
module Middleware
class Mock < Excon::Middleware::Base
def request_call(datum)
if datum[:mock]
# convert File/Tempfile body to string before matching:
if datum[:body].respond_to?(:read)
if datum[:body].respond_to?(:binmode)
datum[:body].binmod... |
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_jme3_bullet_collision_shapes_HeightfieldCollisionShape */
#ifndef _Included_com_jme3_bullet_collision_shapes_HeightfieldCollisionShape
#define _Included_com_jme3_bullet_collision_shapes_HeightfieldCollisionShape
#ifdef __cpl... |
---
license: 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 may not u... |
Drone uses the `build` section of the `.drone.yml` to describe your Docker build environment and your build and test instructions. The following is an example build definition:
```yaml
build:
image: golang
environment:
- GOBIN=/drone/bin
commands:
- go get
- go build
- go test
```
## Build optio... |
package org.apache.flink.api.common.typeutils.base;
import org.apache.flink.annotation.Internal;
import org.apache.flink.api.common.typeutils.SimpleTypeSerializerSnapshot;
import org.apache.flink.api.common.typeutils.TypeSerializerSnapshot;
import org.apache.flink.core.memory.DataInputView;
import org.apache.flink.c... |
<?php
namespace Tests\PHP\Manipulator\TokenManipulator;
use PHP\Manipulator\TokenManipulator\RemoveCommentIndention;
use PHP\Manipulator\Token;
/**
* @group TokenFinder
* @group TokenFinder\RemoveCommentIndention
*/
class RemoveCommentIndentionTest extends \Tests\TestCase
{
/**
* @return array
*/
... |
"""
Dogleg algorithm with rectangular trust regions for least-squares minimization.
The description of the algorithm can be found in [Voglis]_. The algorithm does
trust-region iterations, but the shape of trust regions is rectangular as
opposed to conventional elliptical. The intersection of a trust region and
an init... |
'use strict';
var isPromise = require('is-promise');
/**
* Return a function that will run a function asynchronously or synchronously
*
* example:
* runAsync(wrappedFunction, callback)(...args);
*
* @param {Function} func Function to run
* @param {Function} cb Callback function passed the `func` return... |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-409.js
* @description ES5 Attributes - Inherited property whose [[Enumerable]] attribute is set to false is enumerable (RegExp instance)
*/
function testcase() {
try {
Object.defin... |
require 'formula'
class Ganglia < Formula
homepage 'http://ganglia.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/ganglia/ganglia%20monitoring%20core/3.6.0/ganglia-3.6.0.tar.gz'
sha1 'b06529ac49deb1f1c65c6215b8d2d13c3f3fa23f'
conflicts_with 'coreutils', :because => 'both install `gstat` bina... |
;(function() {
function Pusher(app_key, options) {
checkAppKey(app_key);
options = options || {};
var self = this;
this.key = app_key;
this.config = Pusher.Util.extend(
Pusher.getGlobalConfig(),
options.cluster ? Pusher.getClusterConfig(options.cluster) : {},
options
);
... |
#include "config.h"
#include "public/platform/WebBlobData.h"
#include "platform/blob/BlobData.h"
#include "wtf/PassOwnPtr.h"
namespace blink {
WebBlobData::WebBlobData()
{
}
WebBlobData::~WebBlobData()
{
m_private.reset(0);
}
size_t WebBlobData::itemCount() const
{
ASSERT(!isNull());
return m_private... |
from pecan import expose
class CalamariController(object):
@expose('json')
def index(self):
# TODO: allow some autodiscovery here so that clients can see what is
# available
return dict()
@expose('json')
def install(self):
return {}
@expose('json')
def config... |
FN="hgu95d.db_3.13.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/annotation/src/contrib/hgu95d.db_3.13.0.tar.gz"
"https://bioarchive.galaxyproject.org/hgu95d.db_3.13.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-hgu95d.db/bioconductor-hgu95d.db_3.13.0_src_all.tar.gz"
)
MD5="90ec... |
using UnityEngine;
using System;
namespace BlitCore
{
[DisallowMultipleComponent]
public class RoomManager
{
/// <summary>
/// The available rooms.
/// </summary>
public Room[] rooms;
/// <summary>
/// The currently active room.
/// </summary>
public int currentRoom;
/// <summary>
/// Deleg... |
<?php
namespace Symfony\Component\Translation\Loader;
use Symfony\Component\Translation\Exception\InvalidResourceException;
use Symfony\Component\Translation\Exception\NotFoundResourceException;
use Symfony\Component\Config\Resource\FileResource;
/**
* @copyright Copyright (c) 2010, Union of RAD http://union-of-r... |
`bootstrap-sass` is a Sass-powered version of [Bootstrap](http://github.com/twbs/bootstrap), ready to drop right into your Sass powered applications.
## Installation
Please see the appropriate guide for your environment of choice:
* [Ruby on Rails](#a-ruby-on-rails).
* [Compass](#b-compass-without-rails) not on Rail... |
<!DOCTYPE html>
<html>
<head>
<title></title>
<script type="text/javascript" src="mustache.js"></script>
<script type="text/javascript" src="background.min.js"></script>
<script type="text/javascript"
src="https://apis.google.com/js/client.js?onload=initBackgroundPageAsync">
</scr... |
#pragma once
namespace lean {
namespace blast {
void initialize_recursor_module();
void finalize_recursor_module();
}}
|
<component name="ProjectDictionaryState">
<dictionary name="root" />
</component> |
<?php
namespace common\models;
use Yii;
/**
* This is the model class for table "given_exercise_test_answers".
*
* @property integer $id
* @property integer $given_exercise_id
* @property integer $exercise_test_id
*/
class GivenExerciseTestAnswers extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
... |
@import "jquery.ui.base.css";
@import "jquery.ui.theme.css";
|
// bdlb_bitutil.h -*-C++-*-
#ifndef INCLUDED_BDLB_BITUTIL
#define INCLUDED_BDLB_BITUTIL
#ifndef INCLUDED_BSLS_IDENT
#include <bsls_ident.h>
#endif
BSLS_IDENT("$Id: $")
//@PURPOSE: Provide efficient bit-manipulation of 'uint32_t'/'uint64_t' values.
//
//@CLASSES:
// ... |
package aws
import (
"bytes"
"io"
"io/ioutil"
"net/http"
"net/url"
"reflect"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws/awsutil"
)
// A Request is the service request to be made.
type Request struct {
*Service
Handlers Handlers
Time time.Time
ExpireTime time.Duration
Operation *Op... |
package org.w3c.domts.level2.events;
import java.lang.reflect.Constructor;
import javax.xml.parsers.DocumentBuilderFactory;
import junit.framework.TestSuite;
import org.w3c.domts.DOMTestDocumentBuilderFactory;
import org.w3c.domts.DOMTestSuite;
import org.w3c.domts.JAXPDOMTestDocumentBuilderFactory;
import org.w3... |
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.groovy.compiler.rt;
import java.lang.annotation.Annotation;
import java.lang.reflect.*;
import java.util.HashSet;
import java.util.Set;
p... |
import { FC, Fragment } from "react"
import {
ArrowDownCircleIcon,
ArrowUpCircleIcon,
Button,
Column,
Image,
Flex,
Text,
Box,
} from "@artsy/palette"
import React from "react"
import { createFragmentContainer, graphql } from "react-relay"
import { RouterLink } from "System/Router/RouterLink"
import { De... |
using System;
using System.ComponentModel;
using System.Web;
using System.Web.Security;
using System.Xml.Linq;
using System.Xml.XPath;
using Umbraco.Core;
using Umbraco.Core.Dictionary;
using Umbraco.Core.Dynamics;
using Umbraco.Core.Models;
using Umbraco.Core.Security;
using Umbraco.Core.Services;
using U... |
<?php
/**
* Group2groupcache
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @package dspace
* @subpackage model
* @author Your name here
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
*/
class Group2groupcache extends BaseGroup2groupcache
{
}
|
package org.apache.hyracks.dataflow.std.group.aggregators;
import java.io.DataOutput;
import org.apache.hyracks.api.comm.IFrameTupleAccessor;
import org.apache.hyracks.api.context.IHyracksTaskContext;
import org.apache.hyracks.api.dataflow.value.RecordDescriptor;
import org.apache.hyracks.api.exceptions.HyracksDataE... |
cask 'pixelapse' do
version '2.0.3'
sha256 'c47eaa6d36286a31f8c87ba1d6855729c17f7f203975e90505a2c23dbe83eb09'
# amazonaws.com/download-pixelapse was verified as official when first introduced to the cask
url "https://s3.amazonaws.com/download-pixelapse/Pixelapse%20#{version}.dmg"
appcast 'https://download-pi... |
<?php
namespace Oro\Bundle\ApiBundle\Tests\Unit\Util;
use Doctrine\Common\Collections\Expr\Comparison;
use Doctrine\Common\Collections\Expr\CompositeExpression;
use Oro\Bundle\ApiBundle\Util\FieldVisitor;
class FieldVisitorTest extends \PHPUnit_Framework_TestCase
{
/** @var FieldVisitor */
protected $fieldV... |
<!DOCTYPE html>
<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
<title>Canvas test: 2d.path.fill.closed.unaffected</title>
<meta name="author" content="Philip Taylor">
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src=... |
Functions that produce variable initializer functions with signature:
`foo(shape, dtype) : Tensor`
These are typically consumed by functions in [layers.py](#layers.py).
## layers.py {#.py}
Functions that produce layer operations and associated weight & bias variables. Signatures will vary for different functions, b... |
from datetime import datetime, timedelta
from pytest import raises as assert_raises
from rhino.http import datetime_to_httpdate, match_etag, total_seconds, \
cache_control
def test_datetime_to_httpdate():
assert datetime_to_httpdate(1) == 'Thu, 01 Jan 1970 00:00:01 GMT'
assert datetime_to_httpdate(da... |
title: "Sorry, we can't find that page"
permalink: /404.html
noratings: true
notoc: true
sitemap: false
skip_read_time: true
---
There might be a mistake in the URL or you might've clicked a link to content
that no longer exists. If you think it's the latter, please file an issue in
our [issue tracker on GitHub]({{ si... |
.oo-ui-icon-add {
background-image: url('themes/mediawiki/images/icons/add.png');
background-image: -webkit-linear-gradient(transparent, transparent), /* @embed */ url('themes/mediawiki/images/icons/add.svg');
background-image: linear-gradient(transparent, transparent), /* @embed */ url('themes/mediawiki... |
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://ws.apache.org/ns/synapse">
<!-- If condition satisfied send it to service -->
<sequence name="cnd1_seq">
<log>
<property name="message"
value="**********Conditional Router Test Condition Satisfied *****... |
package org.kaazing.gateway.service.amqp.amqp091.message;
import org.apache.mina.core.filterchain.IoFilter.NextFilter;
import org.apache.mina.core.session.IoSession;
import org.apache.mina.core.write.WriteRequest;
import org.kaazing.gateway.service.amqp.amqp091.filter.AmqpFilter;
public class AmqpOpenOkMessage exten... |
namespace chromeos {
typedef std::map<std::string, std::string> SystemLogsResponse;
// Callback that the data sources use to return data.
typedef base::Callback<void(SystemLogsResponse* response)>
SysLogsSourceCallback;
// Callback that the SystemLogsFetcherBase uses to return data.
typedef base::Callback<void(s... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js - webgl2 sandbox</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:#000;
padding:0;
margin:0;
font-weight: bold;
over... |
"""Converts assert statements to their corresponding TF calls."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import gast
from tensorflow.contrib.autograph.core import converter
from tensorflow.contrib.autograph.pyct import templates
class AssertTran... |
<?php defined('BX_DOL') or die('hack attempt');
bx_import('BxTemplFormView');
/**
* Create/edit entry form
*/
class BxBaseModGeneralFormEntry extends BxTemplFormView
{
protected $MODULE;
protected $_oModule;
protected $_aMetatagsFieldsWithKeywords = array();
protected $_oMetatagsObject = null;
... |
<?php defined('C5_EXECUTE') or die("Access Denied.");
$form = Loader::helper('form');
$html = Loader::helper('html');
$url = Loader::helper('concrete/urls');
if ($controller->getFileID() > 0) {
$bf = $controller->getFileObject();
}
$setcontrol = $control->getPageTypeComposerFormLayoutSetControlObject();
$al = Loade... |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" />
<link rel="stylesheet" href="{{ URL::asset('css/app.css') }}">
<link rel="stylesheet" href="{{ URL::asset('css/admin.style.css') }}">
|
package opensource.component.imageloader.core.display;
import opensource.component.imageloader.core.assist.LoadedFrom;
import opensource.component.imageloader.core.imageaware.ImageAware;
import android.graphics.Bitmap;
/**
* Displays {@link Bitmap} in {@link opensource.component.imageloader.core.imageaware.ImageAwa... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
import { StyleSheet } from 'react-native';
export default StyleSheet.create({
container: {
overflow: 'hidden',
alignItems: 'center',
justifyContent: 'center'
},
image: {
position: 'relative',
resizeMode: 'cover',
width: null,
height: null
},
l... |
require 'docker_registry2'
class Indocker::Registry::RegistryAPIBuilder
include SmartIoC::Iocify
bean :registry_api
inject :config
def get(registry_name)
registry = config.docker.send(registry_name)
Indocker::Registry::RegistryAPI.new(
serveraddress: registry.serveraddress,
username: ... |
package com.intellij.openapi.options;
import java.util.EventListener;
public interface SettingsEditorListener<Settings> extends EventListener {
void stateChanged(SettingsEditor<Settings> editor);
} |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.tasks.impl;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonElement;
import com.google.gson.JsonSyntaxException;
... |