text stringlengths 3 1.05M |
|---|
#include "tensorflow/compiler/xla/index_util.h"
#include <initializer_list>
#include "tensorflow/compiler/xla/shape_util.h"
#include "tensorflow/compiler/xla/test_helpers.h"
#include "tensorflow/compiler/xla/xla_data.pb.h"
#include "tensorflow/core/platform/test.h"
namespace xla {
namespace {
void SetMinorToMajor... |
namespace Raft.Contracts.Persistance
{
public interface IWriteDataBlocks
{
void WriteBlock(DataBlock block);
void WriteBlocks(DataBlock[] blocks);
}
}
|
/// <reference path="../_references.ts"/>
module powerbi {
export class NumericSequenceRange {
private static DEFAULT_MAX: number = 10;
private static MIN_SUPPORTED_DOUBLE = -1E307;
private static MAX_SUPPORTED_DOUBLE = 1E307;
public min: number;
public max: number;
... |
import Mixin from '@ember/object/mixin';
import { inject } from '@ember/service';
import { isNone } from '@ember/utils';
import { schedule } from '@ember/runloop';
import $ from 'jquery';
export default Mixin.create({
validate: true,
dirty: false,
valid: true,
pestoMessages: inject(),
didInsertElement() {
... |
<!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/html; charset=UTF-8" />
<title></title>
<script src="${base}/res/common/js/jquery.js" type="text/java... |
package ecs
import (
"testing"
)
func TestDescribeInstanceTypes(t *testing.T) {
client := NewClient(TestAccessKeyId, TestAccessKeySecret)
instanceTypes, err := client.DescribeInstanceTypes()
if err != nil {
t.Fatalf("Failed to DescribeInstanceTypes: %v", err)
}
for _, instanceType := range instanceTypes {
... |
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #F1F1F1; font-family: 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}
p { color: #535353; line-height: 38px; font-size: 17px; text-align: center; }
a { color: #332E22; font-size: 19px; text-d... |
module RSpec
module Matchers
module BuiltIn
class RaiseError
def warn_about_bare_error
raise %(
Using the `raise_error` matcher without providing a specific
error or message risks false positives, since `raise_error`
will match when Ruby raises a `NoMeth... |
import {getIntParameter} from '../util';
export class TreeNode {
transitiveChildCount: number;
children: TreeNode[];
constructor(
public value: string, public depth: number, public maxDepth: number,
public left: TreeNode|null, public right: TreeNode|null) {
this.transitiveChildCount = Math.pow... |
class MediaStreamInfoBarDelegate : public ConfirmInfoBarDelegate {
public:
~MediaStreamInfoBarDelegate() override;
// Handles a permission request (in |request|) for |web_contents|. If this
// involves prompting the user, creates a media stream infobar and delegate,
// then checks for an existing infobar for... |
import React from 'react';
import classNames from 'classnames';
import BootstrapMixin from './BootstrapMixin';
import CustomPropTypes from './utils/CustomPropTypes';
const ButtonGroup = React.createClass({
mixins: [BootstrapMixin],
propTypes: {
vertical: React.PropTypes.bool,
justified: React.PropTypes.b... |
import Event from '../../../../src/ol/events/Event.js';
import Map from '../../../../src/ol/Map.js';
import MapBrowserEvent from '../../../../src/ol/MapBrowserEvent.js';
import MouseWheelZoom, {
Mode,
} from '../../../../src/ol/interaction/MouseWheelZoom.js';
import View from '../../../../src/ol/View.js';
import {DEV... |
export default ()=>(<div>welcome to react builder</div>) |
<!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 Sun Mar 17 11:03:39 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... |
CSP_INFO = "https://developer.mozilla.org/Apps/CSP"
MESSAGE_TITLE = "CSP Violation Detected"
MESSAGE_GENERAL_DESC = ("You can find more information about what is and is "
"not allowed by the CSP on the Mozilla Developers "
"website. %s" % CSP_INFO)
MESSAGE_DESC = ["It ap... |
package io.skysail.app.demo
import io.skysail.core.akka.RequestEvent
import io.skysail.core.resources.{AsyncEntityResource, AsyncListResource}
class AerzteDatenResource extends AsyncListResource[Arztdaten] {
// override def get(requestEvent: RequestEvent) {
// requestEvent.controllerActor ! Arztdaten("titel", "... |
package org.apache.flink.table.types.inference.strategies;
import org.apache.flink.table.api.DataTypes;
import org.apache.flink.table.types.inference.TypeStrategiesTestBase;
import org.junit.runners.Parameterized;
import java.util.Arrays;
import java.util.List;
/** Tests for {@link MapTypeStrategy}. */
public cla... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Лицензионное соглашение конечного пользователя на использование Google Chrome</title>
<link rel="stylesheet" type="text/css" href="res://setup.exe/IDR_EULA_CSS.CSS" />
<script type="text/javascript" src="res://setup.exe/IDR_EULA_J... |
"""Support for automatically downloading Python packages from an URL."""
import codecs
import logging
import os
import shutil
import stat
import sys
import tarfile
import tempfile
import urllib2
import urlparse
import zipfile
_log = logging.getLogger(__name__)
class AutoInstaller(object):
"""Supports automati... |
<?php
namespace Symfony\Component\Finder\Iterator;
use Symfony\Component\Finder\Exception\AccessDeniedException;
use Symfony\Component\Finder\SplFileInfo;
/**
* Extends the \RecursiveDirectoryIterator to support relative paths.
*
* @author Victor Berchet <victor@suumit.com>
*/
class RecursiveDirectoryIterator ... |
#include "Sphere.h"
namespace brics_3d {
namespace rsg {
Sphere::Sphere() {
this->radius = 0;
}
Sphere::Sphere(Coordinate radius, Units::DistanceUnit unit) {
this->radius = Units::distanceToMeters(radius, unit);
}
Sphere::~Sphere() {
}
} /* namespace rsg */
} /* namespace brics_3d */
/* EOF */
|
<?php
defined('C5_EXECUTE') or die("Access Denied.");
$mapObj=$controller;
$this->inc('form_setup_html.php', array( 'mapObj' => $controller )); |
/* $Id: ppp-deflate.c,v 1.1.1.1 1999/11/22 03:47:56 christ Exp $ */
/*
* ppp_deflate.c - interface the zlib procedures for Deflate compression
* and decompression (as used by gzip) to the PPP code.
* This version is for use with mbufs on BSD-derived systems.
*
* Copyright (c) 1994 The Australian National Universi... |
package com.flang.backtracking;
public class SalesPath {
static class Node {
int cost;
Node[] children;
Node parent;
Node(int cost) {
this.cost = cost;
children = null;
parent = null;
}
}
static int getCheapestCost(Node rootNod... |
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>three.js webgl - materials - dynamic cube reflection</title>
<meta charset="utf-8">
<style>
body {
background: #000;
color: #333;
padding: 0;
margin: 0;
overflow: hidden;
font-family: georgia;
font-size:1em;
text-align: center;
... |
/** @jsx React.DOM */
/* jshint node: true, browser: true, newcap: false */
/* eslint max-statements: 0, no-else-return: 0, brace-style: 0 */
/* eslint-env node,browser */
/**
* The Flocks library module. Load this module and use either the
* flocks <tt>flocks.createClass</tt> wrapper or the <tt>flocks... |
var map, geocoder, iw;
function init() {
var myOptions = {
zoom: 17,
center: new google.maps.LatLng(35.23, -80.84),
mapTypeId: google.maps.MapTypeId.ROADMAP
}
map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
geocoder = new gmaps.ags.GeocodeService('http://samplese... |
<!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" xml:lang="en" lang="en">
<head>
<?php include_http_metas() ?>
<?php include_metas() ?>
<?php include_title() ?>
<?php use_stylesheet('/sf/sf_default/css/s... |
webshims.register('form-native-extend', function($, webshims, window, doc, undefined, options){
"use strict";
var Modernizr = window.Modernizr;
var modernizrInputTypes = Modernizr.inputtypes;
if(!Modernizr.formvalidation || webshims.bugs.bustedValidity){return;}
var typeModels = webshims.inputTypes;
var runTest =... |
#ifndef EIGEN_TRIANGULAR_MATRIX_MATRIX_BLAS_H
#define EIGEN_TRIANGULAR_MATRIX_MATRIX_BLAS_H
namespace Eigen {
namespace internal {
template <typename Scalar, typename Index,
int Mode, bool LhsIsTriangular,
int LhsStorageOrder, bool ConjugateLhs,
int RhsStorageOrder, bool ConjugateRh... |
package com.digitalisma.boilerplate.data;
import com.digitalisma.boilerplate.data.local.PreferencesHelper;
import com.digitalisma.boilerplate.data.model.Person;
import com.digitalisma.boilerplate.data.model.ServerResponse;
import com.digitalisma.boilerplate.data.remote.PersonsService;
import java.util.List;
import j... |
"""Deprecation tests."""
# pylint: disable=unused-import
import collections
import enum
import numpy as np
from tensorflow.python.eager import context
from tensorflow.python.framework import constant_op
from tensorflow.python.framework import ops
from tensorflow.python.framework import test_util
from tensorflow.pyt... |
package org.elasticsearch.cluster.routing.allocation;
import org.elasticsearch.cluster.ClusterInfo;
import org.elasticsearch.cluster.metadata.MetaData;
import org.elasticsearch.cluster.node.DiscoveryNodes;
import org.elasticsearch.cluster.routing.RoutingNodes;
import org.elasticsearch.cluster.routing.RoutingTable;
i... |
import configparser
import logging
from typing import List
from django.conf import settings
from django.core.mail import EmailMultiAlternatives
from django.core.mail.backends.smtp import EmailBackend
from django.template import loader
def get_forward_address() -> str:
config = configparser.ConfigParser()
con... |
namespace Microsoft.Azure.Management.SignalR.Models
{
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// A private endpoint connection to SignalR resource
/// </summary>
[Rest.Serialization.JsonTransformation]
public... |
<?php
namespace Symfony\Component\Validator\Tests\Constraints;
use Symfony\Component\Validator\Validation;
/**
* @since 2.5.3
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy
*/
class LegacyIbanValidator2Dot4ApiTest extends IbanValidatorTest
{
protected function getApiVersion()
{
... |
using System.Reflection;
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 assembly.
[assembly: AssemblyTitle("Mo... |
package org.springside.examples.quickstart.service.account;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.SecurityUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ste... |
#include "tensorflow/core/kernels/cwise_ops_common.h"
namespace tensorflow {
REGISTER3(UnaryOp, CPU, "Floor", functor::floor, float, Eigen::half, double);
#if TENSORFLOW_USE_SYCL
#define REGISTER_SYCL_KERNEL(TYPE) \
REGISTER_KERNEL_BUILDER( ... |
.class public Landroid/content/pm/PackageInfo;
.super Ljava/lang/Object;
.source "PackageInfo.java"
# interfaces
.implements Landroid/os/Parcelable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/content/pm/PackageInfo$1;
}
.end annotation
# static fields
.fie... |
package com.intellij.ide;
import com.intellij.pom.Navigatable;
import org.jetbrains.annotations.NotNull;
public interface OccurenceNavigator {
OccurenceNavigator EMPTY = new OccurenceNavigator() {
@Override
public boolean hasNextOccurence() {
return false;
}
@Override
public boolean hasP... |
<!DOCTYPE HTML>
<html>
<head>
<title>Bootstrap Plugin Test Suite</title>
<!-- jquery -->
<!--<script src="http://code.jquery.com/jquery-1.7.min.js"></script>-->
<script src="vendor/jquery.js"></script>
<!-- qunit -->
<link rel="stylesheet" href="vendor/qunit.css" type="text/css" media="screen" />
<scrip... |
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
#if !defined(__native_client__) || defined(__GLIBC__)
// GLIBC-only entry point.
// TODO(sbc): remove once this bug gets fixed:
// https://code.google.com/p/nativeclient/issues/detail?id=3709
int isatty(int fd) {
return ki_isatty(fd);
}
#endif
|
var mongoose = require('mongoose');
var ObjectId = require('mongoose').Types.ObjectId;
var logger = require('_pr/logger')(module);
var Schema = mongoose.Schema;
var TagSchema = new Schema({
orgId: {
type: String,
required: true,
trim: true
},
providerId: {
type: String,
... |
package gobblin.salesforce;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URI;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.... |
const fs = require('fs');
var path = require('path');
var file = path.join(__dirname, 'target.txt');
fs.watch(file, function () {
console.log("File 'target.txt' just changed!");
//BUG: It prints out the message twice!
});
console.log("Now watching 'target.txt' for changes...");
|
var _ = require('lodash'),
select = require('CSSselect'),
utils = require('../utils'),
domEach = utils.domEach,
uniqueSort = require('htmlparser2').DomUtils.uniqueSort,
isTag = utils.isTag;
var find = exports.find = function(selector) {
var elems = _.reduce(this, function(memo, elem) {
return... |
from __future__ import unicode_literals
import unittest
from django.db import connection, migrations, models, transaction
from django.db.migrations.migration import Migration
from django.db.migrations.state import ProjectState
from django.db.models.fields import NOT_PROVIDED
from django.db.transaction import atomic
f... |
<?php
namespace Ecommerce\EcommerceBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class EcommerceBundle extends Bundle
{
}
|
using namespace std;
class Connector {
public:
virtual string connect() = 0;
};
#endif |
For usage see http://fishshell.com/docs/current/index.html#completion-path



|
package org.apache.druid.query.aggregation.histogram;
import com.google.common.collect.Lists;
import org.apache.druid.common.config.NullHandling;
import org.apache.druid.data.input.MapBasedRow;
import org.apache.druid.java.util.common.granularity.Granularities;
import org.apache.druid.java.util.common.guava.Sequence... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------... |
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1; url=compute_source_psd_epochs.html">
<script type="text/javascript">
window.location.href = "compute_source_psd_epochs.html"
</script>
<title>Page Redirection<... |
<?php
namespace GuzzleHttp\Tests\Psr7;
use GuzzleHttp\Psr7;
use GuzzleHttp\Psr7\InflateStream;
class InflateStreamtest extends \PHPUnit_Framework_TestCase
{
public function testInflatesStreams()
{
$content = gzencode('test');
$a = Psr7\stream_for($content);
$b = new InflateStream($a);
... |
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Diagnostics.Contracts;
using System;
// Disable the "this variable is not used" warning as every field would imply it.
#pragma warning disable 0414
// Disable the "this variable is never assigned to".
#pragma warning disable 0067
// Dis... |
""" Options wrapper for simple gem5 configuration scripts
This module wraps the argparse class so that we can register options
from each class instead of only from the configuration script.
"""
# Module-level variable to track if we've called the parse_args function yet
called_parse_args = False
# For fatal
import ... |
<!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_232) on Tue Sep 15 08:53:05 UTC 2020 -->
<title>Uses of Class org.springframework.core.convert.support.DefaultConversionService (Spring Framewo... |
print("import: FindBin::libs\n");
use FindBin::libs;
|
;(function ($, window, document, undefined) {
"use strict";
$.fn.search = function(parameters) {
var
$allModules = $(this),
moduleSelector = $allModules.selector || '',
time = new Date().getTime(),
performance = [],
query = arguments[0],
methodInvoked = (t... |
YUI.add('array-extras', function(Y) {
/**
Adds additional utility methods to the `Y.Array` class.
@module collection
@submodule array-extras
**/
var L = Y.Lang, Native = Array.prototype, A = Y.Array;
/**
Returns the index of the last item in the array that contains the specified
value, or `-1` if the value isn't fo... |
module SS::Fields::Sequencer
extend ActiveSupport::Concern
module ClassMethods
def sequence_field(name)
fields = instance_variable_get(:@_sequenced_fields) || []
instance_variable_set(:@_sequenced_fields, fields << name)
before_save :set_sequence
end
end
public
def next_sequence(... |
<div id="div_group_<?php echo $index ?>" class="example_group">
<dl>
<dt id="example_group_<?php echo $index ?>"><?php echo $name ?></dt>
|
<com.tle.beans.mime.MimeEntry>
<id>29616</id>
<institution>
<id>29168</id>
<uniqueId>0</uniqueId>
<enabled>true</enabled>
</institution>
<extensions class="list">
<string>wmlsc</string>
</extensions>
<type>application/vnd.wap.wmlscriptc</type>
<attributes>
<entry>
<string>PluginI... |
/*
Language: AutoHotkey
Author: Seongwon Lee <dlimpid@gmail.com>
Description: AutoHotkey language definition
Category: scripting
*/
function(hljs) {
var BACKTICK_ESCAPE = {
className: 'escape',
begin: '`[\\s\\S]'
};
var COMMENTS = {
className: 'comment',
begin: ';', end: '$',
relevance: 0
}... |
# Office ProPlus Click-To-Run Deployment Script example
#
# This script demonstrates how utilize the scripts in OfficeDev/Office-IT-Pro-Deployment-Scripts repository together to create
# Office ProPlus Click-To-Run deployment script that will be adaptive to the configuration of the computer it is run from
Process ... |
<!DOCTYPE html><body>
<div class="syndicate">
<h2 class="special_hdr">The Vaccine: HPV</h2>
<h3>Both Boys and Girls Can Get HPV Vaccine</h3>
<div class="module rounders" style="float:right; margin-left:20px; width:38%">
<div class="inner">
<div class="t"></div>
<a name="hp... |
package org.activiti.engine.impl.cmd;
import java.io.Serializable;
import java.util.List;
import org.activiti.engine.ActivitiIllegalArgumentException;
import org.activiti.engine.ActivitiObjectNotFoundException;
import org.activiti.engine.impl.ProcessDefinitionQueryImpl;
import org.activiti.engine.impl.interceptor.C... |
def mock_access_token():
class AccessToken:
username = 'foo_user'
token = '123'
return AccessToken()
def mock_data(data_id):
class Data:
id = data_id
name = 'test/name/123'
return Data()
def mock_project_client():
class Project:
id = '123'
class MockC... |
module.exports = {
env: {
browser: true,
es6: true,
},
// using babel-eslint because there are experimental features not (yet) supported in eslint
parser: 'babel-eslint',
parserOptions: {
ecmaFeatures: {
experimentalObjectRestSpread: true,
jsx: true,
},
sourceType: 'module'... |
<!--
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
"... |
<?php
namespace CapMousse\ReactRestify;
use React\EventLoop\Factory;
use React\EventLoop\LoopInterface;
use React\Socket\Server as SocketServer;
use React\Socket\SecureServer as SecureSocketServer;
use React\Http\Server as HttpServer;
class Runner
{
private $app;
/**
* @param Server $app
*/
pu... |
module Heroku
class API
module Mock
# stub GET /apps/:app/logs
Excon.stub(:expects => 200, :method => :get, :path => %r{^/apps/([^/]+)/logs}) do |params|
request_params, mock_data = parse_stub_params(params)
app, _ = request_params[:captures][:path]
with_mock_app(mock_data, ap... |
require File.expand_path('../../test_helper', __FILE__)
class ReflectCreateAndDeleteBenchmark < IntegrationBenchmark
def setup
$test_user = Person.find(1)
end
def create_and_delete_comments
post '/posts/15/relationships/comments', params:
{
'data' => [
{type: 'comments', id: 1},
... |
package com.digitalpetri.opcua.stack.core.types.structured;
import com.digitalpetri.opcua.stack.core.Identifiers;
import com.digitalpetri.opcua.stack.core.serialization.DelegateRegistry;
import com.digitalpetri.opcua.stack.core.serialization.UaDecoder;
import com.digitalpetri.opcua.stack.core.serialization.UaEncoder... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.sandhillsoftware.interactiveui">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsR... |
package org.apache.camel.component.kubernetes.consumer;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model.ContainerPort;
import io.fabric8.kubernetes.api.model.Node;
import io.fab... |
<?php
defined('C5_EXECUTE') or die("Access Denied.");
class ValidationTokenHelper extends Concrete5_Helper_Validation_Token {} |
package org.restexpress.route;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.S... |
package com.cv4j.core.pixels;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import com.cv4j.core.datamodel.ColorProcessor;
import com.cv4j.core.datamodel.Scalar;
public class PrincipalColorExtractor {
private List<ClusterCenter> clusterCenterList;
private List<ClusterPoint> pointLis... |
package org.zstack.sdk;
public class QueryRouteEntryFromLocalResult {
public java.util.List<VpcVirtualRouteEntryInventory> inventories;
public void setInventories(java.util.List<VpcVirtualRouteEntryInventory> inventories) {
this.inventories = inventories;
}
public java.util.List<VpcVirtualRoute... |
@interface XHPinterestPullRefreshTableViewController ()
@property (nonatomic, strong) XHPinterestRefreshView *refreshView;
@end
@implementation XHPinterestPullRefreshTableViewController
#pragma mark - Propertys
- (XHPinterestRefreshView *)refreshView {
if (!_refreshView) {
_refreshView = [[XHPinterestR... |
package org.gaia.portal.cdi;
import java.util.logging.Logger;
import javax.decorator.Decorator;
import javax.decorator.Delegate;
import javax.enterprise.inject.Any;
import javax.inject.Inject;
@Decorator
public class NavigationLogDecorator implements NavigationService {
private static final long serialVersionUID =... |
"""A Telemetry page_action that performs the "play" action on media elements.
Media elements can be specified by a selector attribute. If no selector is
defined then then the action attempts to play the first video element or audio
element on the page. A selector can also be 'all' to play all media elements.
Other at... |
from swgpy.object import *
def create(kernel):
result = Creature()
result.template = "object/mobile/shared_dressed_story_loot_espa.iff"
result.attribute_template_id = 9
result.stfName("obj_n","unknown_creature")
#### BEGIN MODIFICATIONS ####
#### END MODIFICATIONS ####
return result |
using base::android::AttachCurrentThread;
using base::android::ClearException;
using base::android::JavaRef;
using JNI_InputStream::Java_InputStream_available;
using JNI_InputStream::Java_InputStream_close;
using JNI_InputStream::Java_InputStream_skip;
using JNI_InputStream::Java_InputStream_readI_AB_I_I;
namespace xw... |
'use strict';
/**
* @see [Nowhere](http://nowhere.com)
*/
function foo() {}
/**
* @see AnObject#myProperty
*/
function bar() {}
/**
* @author [Mr. Macintosh](http://www.folklore.org/StoryView.py?story=Mister_Macintosh.txt)
* @classdesc My class.
* @description My class.
* @exception {Error} Some error.
* @p... |
/* subst.c -- The part of the shell that does parameter, command, arithmetic,
and globbing substitutions. */
/* ``Have a little faith, there's magic in the night. You ain't a
beauty, but, hey, you're alright.'' */
/* Copyright (C) 1987-2013 Free Software Foundation, Inc.
This file is part of GNU Bash, th... |
require 'test_helper'
class RankTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
|
subroutine cualde(idim,t,n,c,nc,k1,u,d,nd,ier)
c subroutine cualde evaluates at the point u all the derivatives
c (l)
c d(idim*l+j) = sj (u) ,l=0,1,...,k, j=1,2,...,idim
c of a spline curve s(u) of order k1 (degree k=k1-1) and dimension idim
c given in its b-spline representation.
c
c... |
<!DOCTYPE html>
<!--
Copyright (c) 2012 Intel Corporation.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of works must retain the original copyright notice, this list
of conditions and the following di... |
package log
import (
"io"
"sync"
)
const (
timestampFormat = " 02/01/2006 15:04:05 "
spacer = " | "
// DefaultMaxFileSize for logger rotation file
DefaultMaxFileSize int64 = 100
defaultCapacityForSliceOfBytes = 100
)
var (
logger = Logger{}
// FileLoggingConfiguredCorrectly flag set during config ... |
import React from 'react'
import { TouchableOpacity, Text, View } from 'react-native'
import PropTypes from 'prop-types'
import styles from './FeatureStyle'
const Feature = ( { description, index, onPressFeature, title } ) => (
<View style={styles.containerStyle}>
<View style={{ flexDirection: 'row' }}>
<... |
package org.apache.hadoop.fs.viewfs;
import java.io.IOException;
import org.apache.hadoop.fs.FileStatus;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.permission.FsPermission;
/**
* This class is needed to address the problem described in
* {@link ViewFileSystem#getFileStatus(org.apache.hadoop.f... |
////////////////////////////////////////////
// Copyright (C) 2011 Advanced Micro Devices, Inc. All Rights Reserved.
////////////////////////////////////////////
#pragma once
#if !defined( AMD_CLFFT_generator_transpose_H )
#define AMD_CLFFT_generator_transpose_H
#include "private.h"
#include "repo.h"
#include "plan.... |
package org.apache.cassandra.net;
import java.util.concurrent.TimeUnit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.apache.cassandra.tracing.Tracing;
public class ResponseVerbHandler implements IVerbHandler
{
private static final Logger logger = LoggerFactory.getLogger( ResponseVerbHand... |
package fake
import (
"fmt"
"io"
"path/filepath"
"k8s.io/kubernetes/cmd/libs/go2idl/client-gen/generators/normalization"
"k8s.io/kubernetes/cmd/libs/go2idl/generator"
"k8s.io/kubernetes/cmd/libs/go2idl/namer"
"k8s.io/kubernetes/cmd/libs/go2idl/types"
"k8s.io/kubernetes/pkg/api/unversioned"
)
// genClientse... |
<?php
namespace Symfony\Component\PropertyAccess\Tests;
use PHPUnit\Framework\TestCase;
use Symfony\Component\PropertyAccess\PropertyAccess;
use Symfony\Component\PropertyAccess\PropertyAccessor;
abstract class PropertyAccessorArrayAccessTest extends TestCase
{
/**
* @var PropertyAccessor
*/
prot... |
package com.amazonaws.services.elasticbeanstalk.model;
import com.amazonaws.AmazonServiceException;
/**
* <p>
* The web service attempted to create a bucket in an Amazon S3 account that
* already has 100 buckets.
* </p>
*/
public class TooManyBucketsException extends AmazonServiceException {
private static... |
<?php
namespace Assetic\Factory\Worker;
use Assetic\Asset\AssetInterface;
/**
* Assets are passed through factory workers before leaving the factory.
*
* @author Kris Wallsmith <kris.wallsmith@gmail.com>
*/
interface WorkerInterface
{
/**
* Processes an asset.
*
* @param AssetInterface $asse... |