text stringlengths 3 1.05M |
|---|
/* Generated By:JJTree: Do not edit this line. ASTExplicitConstructorInvocation.java */
package net.sourceforge.pmd.ast;
public class ASTExplicitConstructorInvocation extends SimpleJavaNode {
public ASTExplicitConstructorInvocation(int id) {
super(id);
}
public ASTExplicitConstructorInvocation(Ja... |
package org.apache.ignite.internal.visor.node;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion;
import org.apache.ignite.internal.util.typedef.internal.S;
import org.apache.ignite.internal.visor.VisorDa... |
using NRules.Collections;
using Xunit;
namespace NRules.Tests.Collections;
public class OrderedPriorityQueueTest
{
[Fact]
public void Queue_Enqueue_DequeueReturnsByPriority()
{
//Arrange
var queue = new OrderedPriorityQueue<int, string>();
//Act
queue.Enqueue(1, "e");
... |
using System;
using System.Linq;
using Microsoft.WindowsAzure.Management.StorSimple.Models;
namespace Microsoft.WindowsAzure.Management.StorSimple.Models
{
/// <summary>
/// Device NetInterface
/// </summary>
public partial class NetInterface
{
private NetInterfaceId _interfaceId;
... |
<?php
/*
Safe sample
input : Get a serialize string in POST and unserialize it
SANITIZE : use of preg_replace
construction : use of sprintf via a %s with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modify, and distribute... |
"use strict";
var levels = require('./levels')
, util = require('util')
, events = require('events')
, DEFAULT_CATEGORY = '[default]';
var logWritesEnabled = true;
/**
* Models a logging event.
* @constructor
* @param {String} categoryName name of category
* @param {Log4js.Level} level level of message
* @param ... |
from okscraper.base import BaseScraper
from lobbyists.models import Lobbyist, LobbyistCorporation
from committees.models import CommitteeMeeting
class LobbyistCommitteeMeetingsScraper(BaseScraper):
"""
find committee meetings where a lobbyist is mentioned
updated the lobbyist.committee_meetings field acco... |
require "logger"
require "chef/monologger"
require "chef/exceptions"
require "mixlib/log"
require "chef/log/syslog" unless RUBY_PLATFORM =~ /mswin|mingw|windows/
require "chef/log/winevt"
class Chef
class Log
extend Mixlib::Log
# Force initialization of the primary log device (@logger)
init(MonoLogger.n... |
"""Support for Canary camera."""
import asyncio
from datetime import timedelta
import logging
import voluptuous as vol
from homeassistant.components.camera import PLATFORM_SCHEMA, Camera
from homeassistant.components.ffmpeg import DATA_FFMPEG
from homeassistant.helpers import config_validation as cv
from homeassistan... |
import sys
import json
import logging
from redash.utils import JSONEncoder
from redash.query_runner import *
logger = logging.getLogger(__name__)
types_map = {
5: TYPE_BOOLEAN,
6: TYPE_INTEGER,
7: TYPE_FLOAT,
8: TYPE_STRING,
9: TYPE_STRING,
10: TYPE_DATE,
11: TYPE_DATETIME,
12: TYPE_D... |
class AddressBus
{
public:
AddressBus();
~AddressBus();
void Set(unsigned short the_address);
private:
static const std::array<unsigned char, 16> m_address_gpio;
};
|
using System;
using System.Linq;
using Microsoft.Azure.Test.HttpRecorder;
using Xunit;
using Microsoft.WindowsAzure.Management.MediaServices;
using Microsoft.WindowsAzure.Management.MediaServices.Models;
using Microsoft.WindowsAzure.Management.Storage;
using Microsoft.WindowsAzure.Management.Storage.Models;
using Micr... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Table Layout</title>
<!-- GC -->
<script type="text/javascript" src="../../examples/shared/include-ext.js"></script>
<script type... |
<html>
<head>
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script src="../../http/tests/inspector/timeline-test.js"></script>
<script src="resources/timeline-data.js"></script>
<script>
function test()
{
var timelineData = InspectorTest.timelineData();
var timeline = WebInspector.pane... |
namespace boost
{
struct once_flag;
namespace thread_detail
{
#if BOOST_ATOMIC_INT_LOCK_FREE == 2
typedef unsigned int atomic_int_type;
#elif BOOST_ATOMIC_SHORT_LOCK_FREE == 2
typedef unsigned short atomic_int_type;
#elif BOOST_ATOMIC_CHAR_LOCK_FREE == 2
typedef unsigned char atomic_int_type;
#elif... |
YUI.add('dom-base', function(Y) {
(function(Y) {
/**
* The DOM utility provides a cross-browser abtraction layer
* normalizing DOM tasks, and adds extra helper functionality
* for other common tasks.
* @module dom
* @submodule dom-base
*
*/
/**
* Provides DOM helper methods.
* @class DOM
*
*/
var NODE_TY... |
#include "webrtc/modules/audio_coding/neteq/interface/neteq.h"
#include "webrtc/modules/audio_coding/neteq/accelerate.h"
#include "webrtc/modules/audio_coding/neteq/buffer_level_filter.h"
#include "webrtc/modules/audio_coding/neteq/decoder_database.h"
#include "webrtc/modules/audio_coding/neteq/delay_manager.h"
#inc... |
namespace Google.Cloud.Compute.V1.Snippets
{
// [START compute_v1_generated_Reservations_Resize_async]
using Google.Cloud.Compute.V1;
using System.Threading.Tasks;
using lro = Google.LongRunning;
public sealed partial class GeneratedReservationsClientSnippets
{
/// <summary>Snippet for ... |
package v1alpha1
import (
fmt "fmt"
api "k8s.io/client-go/pkg/api"
unversioned "k8s.io/client-go/pkg/api/unversioned"
registered "k8s.io/client-go/pkg/apimachinery/registered"
serializer "k8s.io/client-go/pkg/runtime/serializer"
rest "k8s.io/client-go/rest"
)
type RbacV1alpha1Interface interface {
RESTClient... |
package etcd
import (
"context"
"fmt"
"path"
"reflect"
"strings"
"sync"
"testing"
"time"
etcd "github.com/coreos/etcd/client"
apitesting "k8s.io/apimachinery/pkg/api/testing"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/conversion"
"k8s.io/apimachinery/pkg/fields"
"k8s.io/api... |
package org.elasticsearch.action.ingest;
import org.elasticsearch.common.io.stream.BytesStreamOutput;
import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.test.ESTestCase;
import java.io.IOException;
import static org.hamcrest.CoreMatchers.equalTo;
public class WritePipelineResponseTest... |
<?php
namespace TCG\Voyager\Http\Controllers;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\Request;
class VoyagerAuthController extends Controller
{
use AuthenticatesUsers;
public function login()
{
return view('voyager::login');
}
public function postLogin(Req... |
#define BOOST_PHOENIX_NO_SPECIALIZE_CUSTOM_TERMINAL
#include <boost/phoenix/scope/this.hpp>
int main() {}
|
package com.dianping.cat.consumer.core.aggregation;
import static org.junit.Assert.assertEquals;
import java.text.ParseException;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import com.dianping.cat.config.AggregationMessageFormat;
import com.dianping.cat.config.CompositeF... |
<?php if ($compound): ?>
<?php echo $view['form']->block($form, 'form_widget_compound')?>
<?php else: ?>
<?php echo $view['form']->block($form, 'form_widget_simple')?>
<?php endif ?>
|
var test = require('./tape')
var mongojs = require('../index')
var db = mongojs('test', ['a'])
test('drop user', function (t) {
// Ignore errors when dropping the user
db.dropUser('mongojs', function () {
db.createUser({
user: 'mongojs',
pwd: 'topsecret',
customData: { department: 'area51' },... |
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<p>
<span style="text-decoration: underline;"><br>There shouldn’t be a black dot or line above the first letter of this sentence</span>.
</p>
<p>
Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=14245">http://bugs.webkit.org/show_... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.kohsuke.stapler</groupId>
<artifactId>stapler-par... |
<?php
/**
* AnswerForm форма для ответа на сообщение из панели управления
*
* @category YupeController
* @package yupe.modules.feedback.models
* @author YupeTeam <team@yupe.ru>
* @license BSD http://ru.wikipedia.org/wiki/%D0%9B%D0%B8%D1%86%D0%B5%D0%BD%D0%B7%D0%B8%D1%8F_BSD
* @link http://yupe.ru
*
**/
... |
[](https://github.com/appearhere/bloom/blob/master/LICENSE) [](https://travis-ci.com/appearhere/bloom) [
: GameObject(screen)
, owner(o)
, damage(20)
{
mVertices.resize(4);
if (enemy)
getScreen().getGame().getResourceManager().loadSprite(this, 0, "laserRed02.png", 0, 0);
else
getScreen().getGame().getResourceManager().loadS... |
Rails.application.config.session_store :cookie_store, key: '_excite-to-tumblr-for-cb_session'
|
void CEntityMaterialProxy::Release( void )
{
delete this;
}
//-----------------------------------------------------------------------------
// Helper class to deal with floating point inputs
//-----------------------------------------------------------------------------
void CEntityMaterialProxy::OnBind( void *pRen... |
<?php
namespace Zend\Http\Header\Exception;
use Zend\Http\Exception;
class InvalidArgumentException extends Exception\InvalidArgumentException implements
ExceptionInterface
{
}
|
/* puff.h
Copyright (C) 2002-2010 Mark Adler, all rights reserved
version 2.1, 4 Apr 2010
|
<?php
declare(strict_types=1);
namespace MVLabs\EsCqrsWorkshop\Action;
use Interop\Http\ServerMiddleware\DelegateInterface;
use Interop\Http\ServerMiddleware\MiddlewareInterface;
use MVLabs\EsCqrsWorkshop\Infrastructure\Renderer\Renderer;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInte... |
SHELL:=/bin/bash
SELDON_PYTHON_PACKAGE_VERSION=00
SELDON_IRIS_XGBOOST_RPC_IMAGE_VERSION=00
IMAGE_NAME=iris_xgboost_rpc
Dockerfile: Dockerfile.in
@cat Dockerfile.in | sed 's/%SELDON_PYTHON_PACKAGE_VERSION%/$(SELDON_PYTHON_PACKAGE_VERSION)/' > Dockerfile
build_image: Dockerfile
docker build --force-rm=true -t seldon... |
<?php
require_once 'phing/types/DataType.php';
include_once 'phing/util/PathTokenizer.php';
include_once 'phing/types/FileSet.php';
/**
* This object represents a path as used by include_path or PATH
* environment variable.
*
* This class has been adopted from the Java Ant equivalent. The ability have
* path s... |
/**
* The launcher is responsible for parsing the capabilities from the
* input configuration and launching test runners.
*/
'use strict';
var ConfigParser = require('./configParser'),
TaskScheduler = require('./taskScheduler'),
helper = require('./util'),
log = require('./logger'),
q = require('q')... |
package org.elasticsearch.common.settings;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
/**
* A mock implementation of secure settings for tests to use.
*/
public class MockSecureSettings implements SecureSettings {
private Map<String, SecureString> secure... |
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define([
"jquery",
"./effect"
], factory );
} else {
// Browser globals
factory( jQuery );
}
}(function( $ ) {
return $.effects.effect.pulsate = function( o, done ) {
var elem = $(... |
cask "gitscout" do
version "1.0.0-rc.3,1c55c97"
sha256 :no_check
url "https://gitscout.com/marshmallows"
name "Gitscout"
homepage "https://gitscout.com/"
app "Gitscout.app"
zap trash: [
"~/Library/Application Support/Gitscout",
"~/Library/Preferences/com.electron.gitscout.helper.plist",
"~/... |
/* Threads compatibility routines for libgcc2 and libobjc. */
/* Compile this one with gcc. */
/* Copyright (C) 1997, 1999, 2000, 2004, 2008, 2009
Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public Lice... |
<?php
use EasyWeChat\Js\Js;
class JsJsTest extends TestCase
{
public function getMockCache()
{
return Mockery::mock('EasyWeChat\Cache\Adapters\AdapterInterface');
}
public function getMockHttp()
{
return Mockery::mock(EasyWeChat\Core\http::class);
}
/**
* Test config... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_15) on Sun Nov 16 18:35:05 CET 2008 -->
<TITLE>
javazoom.jl.decoder
</TITLE>
<META NAME="keywords" CONTENT="javazoom.jl.decoder package">
... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Copyright (c) 2015 The ziftrCOIN developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_KEY_H
#define BITCO... |
<div style="font-weight: bold;margin-left:15px;">manual_textscale_ex2.php</div><link rel="stylesheet" href="../phphl.css" type="text/css"><div class="hl-main"><table class="hl-table" width="100%"><tr><td class="hl-gutter" align="right" valign="top"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
... |
apt-get -y update
apt-get -y upgrade
apt-get -y install linux-headers-$(uname -r) build-essential
apt-get -y install zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev
apt-get -y install vim
apt-get -y install dkms
apt-get -y install nfs-common
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto
package com.google.cloud.compute.v1;
public interface TargetSslProxyListOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.TargetSslProxyList)
com.google.proto... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ow2.authzforce</groupId>
<artifactId>authzforce-ce-p... |
package org.apache.ignite.spi.failover;
import java.util.Collection;
import java.util.List;
import org.apache.ignite.IgniteCompute;
import org.apache.ignite.IgniteException;
import org.apache.ignite.cluster.ClusterNode;
import org.apache.ignite.compute.ComputeJobResult;
import org.apache.ignite.compute.ComputeTaskSe... |
#include <aws/apigateway/model/GetUsagePlansResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <utility>
using namespace Aws::APIGateway::Model;
using namespace Aws::Ut... |
package client
import (
"crypto/tls"
"fmt"
"net"
"net/http"
"time"
"github.com/getlantern/balancer"
"github.com/getlantern/chained"
"github.com/getlantern/idletiming"
"github.com/getlantern/keyman"
"github.com/getlantern/tlsdialer"
)
// Close connections idle for a period to avoid dangling connections.
// ... |
/**
* The Carousel module provides a widget for browsing among a set of like
* objects represented pictorially.
*
* @module carousel
* @requires yahoo, dom, event, element
* @optional animation
* @namespace YAHOO.widget
* @title Carousel Widget
* @beta
*/
(function () {
var WidgetName; // fo... |
#ifndef RECENCY_H
#define RECENCY_H
//SIP_AUTOCONVERT
#include <map>
#include <cmath>
#include <cstdio>
#include <iostream>
class Recency{
public:
virtual ~Recency(){}
virtual double get(int entity, double actual_time) = 0;
virtual void update(int entity, double actual_time) = 0;
};
struct PowerLawRec... |
package com.braintreepayments.api.dropin.utils;
import android.text.TextUtils;
import java.util.Calendar;
/**
* Class provided as a convenience to {@link com.braintreepayments.api.dropin.view.MonthYearEditText} to
* make testing easier.
*/
public class DateValidator {
/**
* Maximum amount of years in ad... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../../libc/constant.RLIMIT_AS.html">
</head>
<body>
<p>Redirecting to <a href="../../../../../libc/constant.RLIMIT_AS.html">../../../../../libc/constant.RLIMIT_AS.html</a>...</p>
<script>location.replace("../../../../... |
<?php namespace Illuminate\Support;
use Closure;
use Countable;
use ArrayAccess;
use ArrayIterator;
use CachingIterator;
use JsonSerializable;
use IteratorAggregate;
use Illuminate\Contracts\Support\Jsonable;
use Illuminate\Contracts\Support\Arrayable;
class Collection implements ArrayAccess, Arrayable, Countable, It... |
import isInteger from "is-integer";
import isNumber from "lodash/lang/isNumber";
import * as t from "../../types";
/**
* RegExp for testing scientific notation in literals.
*/
const SCIENTIFIC_NOTATION = /e/i;
/**
* Prints UnaryExpression, prints operator and argument.
*/
export function UnaryExpression(node, p... |
<html>
<body>
<a name="top"></a>
<table border="1" bgcolor="#F5F5F5" width="1000">
<tr>
<th><font color="#4682b4" size="5" face="Arial"> MoPiX 2.0 </font></th>
<th colspan="4"><font color="#4682b4" size="5" face="Arial"> Equation Editor </font></th>
<th colspan="4"><font color="#4682b4" size="5" face="Arial"> Cre... |
import io
import os
import sys
from fnmatch import fnmatchcase
from setuptools import setup, find_packages
from distutils.util import convert_path
# Provided as an attribute, so you can append to these instead
# of replicating them:
standard_exclude = ["*.py", "*.pyc", "*~", ".*", "*.bak", "Makefile"]
standard_exclud... |
module Fog
module AWS
class ELB
class Real
require 'fog/aws/parsers/elb/deregister_instances_from_load_balancer'
# Deregister an instance from an existing ELB
#
# ==== Parameters
# * instance_ids<~Array> - List of instance IDs to remove from ELB
# * lb_name<~... |
/**
* The examples provided by Facebook are for non-commercial testing and
* evaluation purposes only.
*
* Facebook reserves all rights not expressly granted.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
... |
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... |
from boto.glacier.layer1 import Layer1
from boto.glacier.vault import Vault
class Layer2(object):
"""
Provides a more pythonic and friendly interface to Glacier based on Layer1
"""
def __init__(self, *args, **kwargs):
# Accept a passed in layer1, mainly to allow easier testing
if "lay... |
/*!
* Globalize Runtime v1.2.0-rc.2 2016-12-14T16:01Z Released under the MIT license
* http://git.io/TrdQbw
*/
(function( root, factory ) {
// UMD returnExports
if ( typeof define === "function" && define.amd ) {
// AMD
define([
"../globalize-runtime"
], factory );
} else if ( typeof exports === "obje... |
module.exports = function (app, connection) {
'use strict';
var memcached = require('./store')(connection);
var RSVP = require('rsvp');
var UserModel = require('../../models').user;
var undefsafe = require('undefsafe');
var feature = require('../../features');
var metrics = require('../../metrics');
var... |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* If thisArg is null or undefined, the called function is passed the global object as the this value
*
* @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A3_T7.js
* @description Argument at call function is void 0 and it called inside function declaration
*... |
layout: default
---
<div class="post">
<header class="post-header">
<h1>{{ page.title }}</h1>
</header>
<article class="post-content">
{{ content }}
</article>
</div> |
/*global define, console */
/*unittests: Preferences Manager */
/**
* PreferencesManager
*
*/
define(function (require, exports, module) {
"use strict";
var AppInit = require("utils/AppInit"),
Commands = require("command/Commands"),
CommandManager =... |
<!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_112-google-v7) on Fri Jul 21 13:02:31 PDT 2017 -->
<title>ShadowBitmapShader</title>
<meta name="date" content="2017-07-21">
<link rel="stylesh... |
C Copyright (c) 2007-2017 National Technology & Engineering Solutions of
C Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
C NTESS, the U.S. Government retains certain rights in this software.
C
C Redistribution and use in source and binary forms, with or without
C modification, are permitted provi... |
<!DOCTYPE html>
<html>
<head>
<link href='../build/out/fullcalendar.css' rel='stylesheet' />
<link href='../build/out/fullcalendar.print.css' rel='stylesheet' media='print' />
<script src='../build/out/jquery.js'></script>
<script src='../build/out/jquery-ui.js'></script>
<script src='../build/out/fullcalendar.js'></sc... |
module Tins
module Subhash
# Create a subhash from this hash, that only contains key-value pairs
# matching +patterns+ and return it. +patterns+ can be for example /^foo/
# to put 'foobar' and 'foobaz' or 'foo'/:foo to put 'foo' into the subhash.
#
# If a block is given this method yields to it af... |
// Generated by CoffeeScript 1.6.3
/**
Most of the code adopted from the npm package shell completion code.
See https://github.com/isaacs/npm/blob/master/lib/completion.js
*/
var Q, complete, dumpScript, escape, getOpts, unescape;
Q = require('q');
escape = require('./shell').escape;
unescape = require('./shell').u... |
"use strict";
var astUtils = require("../ast-utils");
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.exports = function(context) {
var config = context.options[0],
... |
package org.apache.flink.table.runtime.arrow.vectors;
import org.apache.flink.annotation.Internal;
import org.apache.flink.table.data.vector.BytesColumnVector;
import org.apache.flink.util.Preconditions;
import org.apache.arrow.vector.VarCharVector;
/** Arrow column vector for VarChar. */
@Internal
public final cl... |
module Mongoid
module Relations
module Cascading
class Delete
attr_accessor :document, :relation, :metadata
# Initialize the new cascade strategy, which will set up the relation
# and the metadata.
#
# @example Instantiate the strategy
# Strategy.new(docum... |
#include "tensorflow/contrib/lite/models/smartreply/predictor.h"
#include <fstream>
#include <unordered_set>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "absl/strings/str_cat.h"
#include "absl/strings/str_split.h"
//#include "tensorflow/contrib/lite/models/test_utils.h"
#include "tensorflow/contrib/l... |
$('document').ready(function(){
console.log('prepped')
$('body').on('keydown', keyListener)
lastSlide = $('.slide').length
console.log(lastSlide)
})
var slide = 1;
var lastSlide = 100;
var keyListener = function(event){
console.log(event.keyCode)
var value = String.fromCharCode(event.keyCode)
console.log... |
<!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_60-ea) on Thu Dec 15 09:48:38 EST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="NullableNotNullManager">
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
<option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
<option name="myNullables">
<value>
... |
package org.jetbrains.idea.svn;
import com.intellij.openapi.vcs.VcsException;
import com.intellij.util.Processor;
import com.intellij.util.TimeoutUtil;
import org.tmatesoft.sqljet.core.SqlJetErrorCode;
import org.tmatesoft.sqljet.core.SqlJetException;
import org.tmatesoft.svn.core.SVNErrorCode;
import org.tmatesoft.s... |
<?php
return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
$o = [
clone (\Symfony\Component\VarExporter\Internal\Registry::$prototypes['Symfony\\Component\\VarExporter\\Tests\\PrivateConstructor'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Symfony\\Component\\VarExporter\\Tests\\P... |
class PrefRegistrySimple;
namespace chromeos {
class ChargerReplacementDialog;
// Handler for spring charger replacement web ui.
class ChargerReplacementHandler : public content::WebUIMessageHandler {
public:
enum SpringChargerStatus {
CHARGER_UNKNOWN,
CONFIRM_SAFE_CHARGER,
CONFIRM_NOT_ORDER_NEW_CHARG... |
package org.osgi.service.converter.impl;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.charset.StandardCharsets;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.osgi.service.converter.Converter;
import org.osgi.service.converter.Encoding;
public class Jso... |
namespace content {
class GLHelper;
class RenderWidgetHostImpl;
class RenderWidgetHostView;
}
namespace gfx {
class Canvas;
}
namespace ui {
class InputMethod;
}
namespace WebKit {
class WebTouchEvent;
}
class ImageTransportClient;
class RenderWidgetHostViewAura
: public content::RenderWidgetHostViewBase,
... |
#ifndef BOOST_HANA_DETAIL_VARIADIC_TAKE_HPP
#define BOOST_HANA_DETAIL_VARIADIC_TAKE_HPP
#include <boost/hana/config.hpp>
#include <boost/hana/detail/variadic/split_at.hpp>
#include <boost/hana/functional/always.hpp>
#include <boost/hana/functional/reverse_partial.hpp>
#include <cstddef>
BOOST_HANA_NAMESPACE_BEGIN... |
#ifdef HAVE_EXPAT_CONFIG_H
# include <expat_config.h>
#endif
#include "minicheck.h"
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include "chardata.h"
static int
xmlstrlen(const XML_Char *s) {
int len = 0;
assert(s != NULL);
while (s[len] != 0)
++len;
return len;
}
void
CharData_Init(Ch... |
module ManagerRefresh
class InventoryCollection
class Scanner
class << self
# Scanning inventory_collections for dependencies and references, storing the results in the inventory_collections
# themselves. Dependencies are needed for building a graph, references are needed for effective DB qu... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser;
import android.content.Context;
import android.view.ViewGroup.LayoutParams;
import org.chromium.base.JNINamespace;
... |
module FixtureHelpers
def fixture_file(filename)
return '' if filename.blank?
file_path = File.expand_path(Rails.root.join('spec/fixtures/', filename))
File.read(file_path)
end
end
RSpec.configure do |config|
config.include FixtureHelpers
end
|
@implementation AKStereoAudioFilePlayer
- (instancetype)init {
NSArray<NSString *> *docDirs = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *docDir = [docDirs objectAtIndex:0];
NSString *file = [[docDir stringByAppendingPathComponent:@"exported"]
... |
.oo-ui-icon-logoCC {
background-image: url('themes/mediawiki/images/icons/logo-cc.png');
background-image: -webkit-linear-gradient(transparent, transparent), /* @embed */ url('themes/mediawiki/images/icons/logo-cc.svg');
background-image: linear-gradient(transparent, transparent), /* @embed */ url('theme... |
module OmniAuth
module SignNow
VERSION = '1.0.0'
end
end
|
Spree::Admin::ProductsHelper.class_eval do
def add_on_makers_options_for(product)
options = @add_on_makers.map do |add_on_maker|
selected = product.add_on_makers.include?(add_on_maker)
content_tag(:option,
:value => add_on_maker.id,
:selec... |
package org.deeplearning4j.text.documentiterator;
import lombok.NonNull;
import org.deeplearning4j.text.documentiterator.interoperability.DocumentIteratorConverter;
import org.deeplearning4j.text.sentenceiterator.SentenceIterator;
import org.deeplearning4j.text.sentenceiterator.interoperability.SentenceIteratorConve... |
package com.haskforce.highlighting.annotation.external;
import com.haskforce.settings.ToolKey;
import com.haskforce.utils.ExecUtil;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.VisualPosition;
import com.intellij.openapi.fileEditor.FileEditorManager;
import com.intellij.openapi.module.... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hello Bulma!</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn... |
<!doctype html>
<html lang="en">
<head>
<title>three.js webgl - trackball camera - earth</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;
color: #EEE;
padding: 0;
margin... |