text
stringlengths
3
1.05M
package org.apache.cassandra.hints; import java.io.DataInput; import java.io.File; import java.io.IOException; import java.util.UUID; import com.google.common.collect.ImmutableMap; import com.google.common.io.ByteStreams; import com.google.common.io.Files; import org.junit.Test; import org.apache.cassandra.io.compr...
require 'rails/engine' module ValidatesPasswordStrength module Rails class Engine < ::Rails::Engine end end end
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright 2014 Google Inc. 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...
BOOST_AUTO_TEST_CASE( defines) { BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_CORE_LIB), true); BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_GUI_LIB), true); BOOST_CHECK_EQUAL(BOOST_IS_DEFINED(QT_WEBKITWIDGETS_LIB), true); } BOOST_AUTO_TEST_CASE( webkit ) { QWebPage page; BOOST_CHECK_EQUAL(page.isModified(), fal...
using namespace boost; namespace impala { bool TimestampParser::initialized_ = false; unordered_map<StringValue, int> TimestampParser::REV_MONTH_INDEX; DateTimeFormatContext TimestampParser::DEFAULT_SHORT_DATE_TIME_CTX; DateTimeFormatContext TimestampParser::DEFAULT_SHORT_ISO_DATE_TIME_CTX; DateTimeFormatContext Time...
module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine'], // list of files / patterns to load in the browser files: [ // libraries 'bower_components/angular/angular.js', 'bower_components/angular-mocks/angular-mocks...
const navbarInstance = ( <Navbar brand="React-Bootstrap"> <Nav> <NavItem eventKey={1} href="#">Link</NavItem> <NavItem eventKey={2} href="#">Link</NavItem> <NavDropdown eventKey={3} title="Dropdown" id="basic-nav-dropdown"> <MenuItem eventKey="1">Action</MenuItem> <MenuItem event...
export Images from './index.vue' export webpPlugin from './plugin'
// // ABSensorViewController.m // Examples // // Created by liaojinhua on 14-7-3. // Copyright (c) 2014年 li shuai. All rights reserved. // #import "ABSensorViewController.h" typedef struct { float Position[3]; float Color[4]; float TexCoord[2]; } Vertex; const Vertex Vertices[] = { // Front {...
package com.soteradefense.dga.io.formats; import org.apache.giraph.io.EdgeReader; import org.apache.giraph.io.ReverseEdgeDuplicator; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.InputSplit; import org.apache.hadoop.mapreduce.TaskAttemptContext; import...
from __future__ import absolute_import import uuid import cyclone.web from .handler import ProcessorHandler class ProtoWebServer(cyclone.web.Application): def __init__(self, options): self.port = options.port self.interface = options.interface settings = dict( cookie_secre...
<?php namespace Drupal\responsive_image\Tests\Update; use Drupal\Component\Serialization\Yaml; use Drupal\Core\Entity\Entity\EntityViewDisplay; use Drupal\system\Tests\Update\UpdatePathTestBase; /** * Tests responsive image module updates. * * @group responsive_image */ class ResponsiveImageUpdateTest extends Up...
package testing import ( "testing" "github.com/gophercloud/gophercloud/openstack/identity/v3/roles" "github.com/gophercloud/gophercloud/pagination" th "github.com/gophercloud/gophercloud/testhelper" "github.com/gophercloud/gophercloud/testhelper/client" ) func TestListRoles(t *testing.T) { th.SetupHTTP() defe...
package workshop func slices() { var names = []string{"Jane", "Joe", "Margaret", "Michael", "Robin"} var sliceNames = make([]string, 5) // ["", "", "", "", ""] for i := 0; i < len(sliceNames); i++ { sliceNames[i] = names[i] } assert(sliceNames[2] == "Margaret") var newSlice = append(sliceNames, "John") asser...
package org.xclcharts.event.click; /** * @ClassName BarPosition * @Description bar位置记录信息基类 * @author XiongChuanLiang<br/>(xcl_168@aliyun.com) * */ public class BarPosition extends RectPosition { public BarPosition() { } }
<?xml version="1.0" encoding="UTF-8"?> <!-- EN-Revision: 17227 --> <!-- Reviewed: no --> <sect1 id="zend.json.advanced"> <title>Uso Avanzado de Zend_Json</title> <sect2 id="zend.json.advanced.objects1"> <title>Objetos JSON</title> <para> Cuando se codifican objetos <acronym>PHP</acronym...
#if !defined(__TBB_machine_H) || defined(__TBB_machine_macos_common_H) #error Do not #include this internal file directly; use public TBB headers instead. #endif #define __TBB_machine_macos_common_H #include <sched.h> #define __TBB_Yield() sched_yield() // __TBB_HardwareConcurrency #include <sys/types.h> #includ...
/** * 在球场 * zaiqiuchang.com */ import React, {Component} from 'react' import {StyleSheet, View, Alert} from 'react-native' import {bindActionCreators} from 'redux' import {connect} from 'react-redux' import {COLOR, SCREEN_WIDTH} from '../../config' import {navToAlbum, navToPlayer} from '../../navigation' import * ...
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">Cicada</string> <string name="service_name">Cicada Service</string> <string name="starting">Starting Cicada Service...</string> <string name="running">Cicada Service is Running.</string> <string name="settings_button_text">%1...
<?xml version="1.0" ?><para version="5.0" xml:lang="zh" xmlns="http://docbook.org/ns/docbook"> <!-- Warning: Do not edit this file. It is automatically generated and your changes will be overwritten. The tool to do so lives in openstack-doc-tools repository. --> <table rules="all" xml:id="config_table_nov...
// The MIT License // // Copyright (c) 2013 Gwendal Roué // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, mo...
package service import ( "testing" "k8s.io/kubernetes/pkg/api" ) func TestFindMappedPort(t *testing.T) { pod := &api.Pod{} port, err := findMappedPort(pod, api.ProtocolTCP, 80) if err == nil { t.Fatalf("expected error since port tcp/80 is not mapped") } port, err = findMappedPortName(pod, api.ProtocolUDP,...
package org.yaml.snakeyaml.partialconstruct; public class DeveloperBean { String name; String language; public String getName() { return name; } public String getLanguage() { return language; } public void setName(String name) { this.name = name; } publi...
<!DOCTYPE html> <html lang="en"> <head> {% include header.html %} </head> <body class="bd-docs" data-spy="scroll" data-target=".bd-sidenav-active"> <a id="skippy" class="sr-only sr-only-focusable" href="#content"> <div class="container"> <span class="skiplink-text">Skip to main content</span...
package main import ( "net/http" "os" "path/filepath" "time" "github.com/negz/kubernary" "github.com/negz/kubernary/checks/s3" "github.com/cactus/go-statsd-client/statsd" "github.com/facebookgo/httpdown" "github.com/julienschmidt/httprouter" "go.uber.org/zap" kingpin "gopkg.in/alecthomas/kingpin.v2" ) co...
<?php namespace Craft; class BaseEntryRevisionModel extends EntryModel { // Public Methods // ========================================================================= /** * Sets the revision content. * * @param array $content * * @return null */ public function setContentFromRevision($content) { ...
module DataSift # Methods for using Auth specific Managed Sources API endpoints class ManagedSourceResource < DataSift::ApiResource # Add resources to a Managed Source # # @param id [String] ID of the Managed Source you are adding resources to # @param resources [Array] Array of resources you are ad...
<!DOCTYPE html> <html lang="en"> <head> <title>three.js webgl - read float pixels</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 { color: #ffffff; font-family:Monospace; font-size:13px; t...
layout: page title: Sanchez Family Reunion date: 2016-05-24 author: Alexander Barrera tags: weekly links, java status: published summary: Cras imperdiet felis ut mi dictum tempor. Nulla. banner: images/banner/leisure-03.jpg booking: startDate: 09/23/2017 endDate: 09/24/2017 ctyhocn: PRCHHHX groupCode: SFR publi...
#ifndef MBED_FILEBASE_H #define MBED_FILEBASE_H typedef int FILEHANDLE; #include <stdio.h> #if defined(__ARMCC_VERSION) || defined(__ICCARM__) # define O_RDONLY 0 # define O_WRONLY 1 # define O_RDWR 2 # define O_CREAT 0x0200 # define O_TRUNC 0x0400 # define O_APPEND 0x0008 # define NAME_MA...
<!-- Copyright (c) Microsoft Corporation. All rights reserved --> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script src="/js/scenario1-metrics.js"></script> </head> <body class="win-type-body"> <div id="scenarioView"> <div> <h2 id="sampleHeade...
<?xml version="1.0" encoding="UTF-8"?> <!-- 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 Lic...
These requirements are based on the [TodoMVC app spec] but tweaked slightly to remove the Javascript references. The [Backbone] example implementation of TodoMVC provides a nice demonstration of the desired behaviour. [TodoMVC app spec]:(https://github.com/tastejs/todomvc/blob/master/app-spec.md) [Backbone]:(http://to...
package org.openkilda.server42.control.stormstub.swagger; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import springfox.documentation.annotations.ApiIgnore; @ApiIgnore @Controller public class SwaggerUiController { @RequestMapping(value = "/"...
#import "RGDefines.h" #import "RGXMLNode.h" #import "RGPropertyDeclaration.h" #import "RGDataSource.h" /** @brief This is a private category which contains all the of the methods used jointly by the categories `RGDeserialization` and `RGSerialization`. */ @interface NSObject (RGSharedImpl) /** @brief This is ...
<?php /** * User: nikk * Date: 7/16/13 * Time: 12:02 PM */ namespace Ps\UserBundle\Form\Type; use Symfony\Component\Form\FormBuilderInterface; use FOS\UserBundle\Form\Type\RegistrationFormType as BaseType; class RegistrationFormType extends BaseType { public function buildForm(FormBuilderInterface $builder, ...
(function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === "function" && define.amd) { define(["require", "exports"], factory); } })(functio...
package com.badlogic.gdx.utils; import java.util.Comparator; /** Provides methods to sort arrays of objects. Sorting requires working memory and this class allows that memory to be reused to * avoid allocation. The sorting is otherwise identical to the Arrays.sort methods (uses timsort).<br> * <br> * No...
package org.apache.hadoop.nfs.nfs3.response; import org.apache.hadoop.nfs.nfs3.FileHandle; import org.apache.hadoop.nfs.nfs3.Nfs3FileAttributes; import org.apache.hadoop.nfs.nfs3.Nfs3Status; import org.apache.hadoop.oncrpc.XDR; import org.apache.hadoop.oncrpc.security.Verifier; /** * SYMLINK3 Response */ public cl...
(function(a){var c=a.mo.OPTYPES;var b=a.TEXCLASS;MathJax.Hub.Insert(a.mo.prototype,{OPTABLE:{postfix:{"\u20DB":c.ACCENT,"\u20DC":c.ACCENT}}});MathJax.Ajax.loadComplete(a.optableDir+"/CombDiactForSymbols.js")})(MathJax.ElementJax.mml);
<?xml version="1.0" encoding="iso-8859-1"?> <!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> <title>File: main.rb</title> <meta http-equiv="Content-Type" co...
.. _fatiando_gravmag: Gravity and magnetics (``fatiando.gravmag``) ============================================ .. automodule:: fatiando.gravmag :members: :show-inheritance: :inherited-members: .. toctree:: :hidden: gravmag.harvester.rst gravmag.basin2d.rst gravmag.imaging.rst gravmag.e...
require('../modules/es6.object.to-string'); require('../modules/es6.array.iterator'); require('../modules/es6.weak-map'); module.exports = require('../modules/_core').WeakMap;
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module ev...
package org.qcri.rheem.core.util; import org.junit.Assert; import org.junit.Test; /** * Test suite for {@link Bitmask}s. */ public class BitmaskTest { private static Bitmask createBitmask(int capacity, int... bitIndices) { Bitmask bitmask = new Bitmask(capacity); for (int bitIndex : bitIndices)...
/* opensslconf.h */ /* WARNING: Generated automatically from opensslconf.h.in by Configure. */ #ifdef __cplusplus extern "C" { #endif /* OpenSSL was configured with the following options: */ #ifndef OPENSSL_DOING_MAKEDEPEND #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 # define OPENSSL_NO_EC_NISTP_64_GCC_128 #endif #ifnde...
/* global I18n */ /* global _ */ ( function ( ) { I18n.t = function ( key, params ) { var translation = I18n.translate( key, params ); if ( typeof ( translation ) !== "string" ) { return translation; } var matches = ( translation || "" ).match( /@(\w+)\{(.+)\}/ ); if ( !matches ) return tran...
<?php namespace JMS\Serializer\Tests\Fixtures\Doctrine; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\XmlRoot; use JMS\Serializer\Annotation\XmlAttribute; use JMS\Serializer\Annotation\XmlList; use JMS\Serializer\Annotation\Groups; use JMS\Serializer\Annotation\Type; use Doctrine\Commo...
#import "SVGGElement.h" #import "CALayerWithChildHitTest.h" #import "SVGHelperUtilities.h" @implementation SVGGElement @synthesize transform; // each SVGElement subclass that conforms to protocol "SVGTransformable" has to re-synthesize this to work around bugs in Apple's Objective-C 2.0 design that don't allow @pr...
require_relative 'spec_helper' module Selenium module WebDriver module DriverExtensions describe 'HasApplicationCache', pending: 'Not supported in any driver.' do it 'gets the app cache status' do expect(driver.application_cache.status).to eq(:uncached) driver.online = false ...
cask :v1 => 'nook' do version :latest sha256 :no_check url 'http://images.barnesandnoble.com/PResources/download/ereader2/bn/mac/NOOKforMac.dmg.zip' name 'NOOK for Mac' homepage 'http://www.barnesandnoble.com/u/nook-for-mac/379003592/' license :gratis container :nested => 'NOOK for Mac.dmg' app 'Nook...
module Shared::Queued extend ActiveSupport::Concern included do def remove_scheduled_job(worker_class_name, first_arg_c = self.id) on_scheduled_jobs(worker_class_name, first_arg_c) do |job| job.delete end end private def on_scheduled_jobs(class_name, first_arg_c) schedu...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>three.js - kinect</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 { font-family: Mo...
<?php namespace Symfony\Component\Translation\Tests; use Symfony\Component\Config\Resource\ResourceInterface; use Symfony\Component\Translation\Loader\ArrayLoader; use Symfony\Component\Translation\Loader\LoaderInterface; use Symfony\Component\Translation\Translator; use Symfony\Component\Translation\MessageCatalog...
<?php defined('SYSPATH') OR die('No direct script access.'); class Request extends Kohana_Request {}
package mount import "strconv" // mountError records an error from mount or unmount operation type mountError struct { op string source, target string flags uintptr data string err error } func (e *mountError) Error() string { out := e.op + " " if e.source != "" { ...
#ifndef SHOGUN_CROSSVALIDATIONSTORAGE_H #define SHOGUN_CROSSVALIDATIONSTORAGE_H #include <shogun/base/SGObject.h> #include <shogun/lib/SGVector.h> #include <vector> namespace shogun { class CMachine; class CLabels; class CEvaluation; /** * Store information about a single fold run. */ class CrossValidati...
require 'spec_helper' describe Grape::Middleware::Versioner::Header do let(:app) { lambda { |env| [200, env, env] } } subject { Grape::Middleware::Versioner::Header.new(app, @options || {}) } before do @options = { version_options: { using: :header, vendor: 'vendor', }, } e...
require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../fixtures/classes', __FILE__) describe "IO#fsync" do before :each do @name = tmp("io_fsync.txt") ScratchPad.clear end after :each do rm_r @name end it "raises an IOError on closed stream" do lambda { IOSp...
import React from 'react'; import PropTypes from 'prop-types'; import { useIntl } from 'react-intl'; import { Typography } from '@strapi/design-system/Typography'; export const Hint = ({ id, error, name, description }) => { const { formatMessage } = useIntl(); const hint = description ? formatMessage( ...
package org.apache.jackrabbit.oak.plugins.index; /** * TODO document */ public interface IndexConstants { String INDEX_DEFINITIONS_NODE_TYPE = "oak:QueryIndexDefinition"; String INDEX_DEFINITIONS_NAME = "oak:index"; String TYPE_PROPERTY_NAME = "type"; String TYPE_UNKNOWN = "unknown"; String...
<!DOCTYPE html> <html> <!-- Copyright 2012 The Closure Library Authors. All Rights Reserved Use of this source code is governed by the Apache License, Version 2.0. See the COPYING file for details. --> <!-- --> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Closure Unit Tests - goog.ui.BidiInput</...
package org.apache.kafka.common.utils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Timer; import java.util.TimerTask; import java.util.concurrent.atomic.AtomicBoolean; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * A base class for ru...
using namespace SDKTemplate; using namespace concurrency; using namespace Platform; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Windows::Storage; using namespace Windows::Storage::Search; using namespace Windows::UI::Xaml; using namespace Windows::UI::Xaml::Co...
<?php namespace Stratedge\PassportFacebook\Grants; use League\OAuth2\Server\Entities\ClientEntityInterface; use League\OAuth2\Server\Entities\UserEntityInterface; use League\OAuth2\Server\Exception\OAuthServerException; use League\OAuth2\Server\Grant\AbstractGrant; use League\OAuth2\Server\Repositories\RefreshTokenRe...
package org.apache.druid.sql.calcite.expression.builtin; import com.google.inject.Inject; import org.apache.calcite.rex.RexNode; import org.apache.calcite.sql.SqlFunction; import org.apache.calcite.sql.SqlFunctionCategory; import org.apache.calcite.sql.type.SqlTypeFamily; import org.apache.calcite.sql.type.SqlTypeNa...
// open a single window var win = Ti.UI.createWindow({ backgroundColor:'white' }); var label = Ti.UI.createLabel(); win.add(label); win.open(); // TODO: write your module tests here var gcm = require('com.alexmany.gcm'); Ti.API.info("module is => " + gcm); label.text = gcm.example(); Ti.API.info("...
package org.radargun.utils; import java.io.*; import java.lang.management.ManagementFactory; import java.lang.management.MemoryPoolMXBean; import java.lang.management.MemoryUsage; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.net.NetworkInterface; impor...
package org.apache.nifi.web.api.config; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; import org.apache.nifi.cluster.manager.exception.UnknownNodeException; import org.apache.nifi.util.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /...
using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeRefactorings; using Microsoft.VisualStudio.Text; namespace Microsoft.CodeAnalysis.Editor.Implementation.Suggestions { /// <summary> /// Represents light bulb menu item for code refactorings. /// </summary> internal sealed class ...
require 'spec_helper' describe Travis::Build::Script::Nix, :sexp do let(:data) { payload_for(:push, :nix) } let(:script) { described_class.new(data) } subject { script.sexp } it { store_example } it 'announces nix-env --version' do should include_sexp [:cmd, 'nix-env --version', echo: t...
/* * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed...
BSLS_IDENT("$Id$ $CSID$") #include <bslma_allocator.h> // for testing only #include <bslma_default.h> // for testing only #include <bslma_testallocator.h> // for testing only #include <bslma_testallocatormonitor.h> // for testing only namespace BloombergLP { namespace bslma { } // ...
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; /** * A base class for the WrappedException th...
namespace boost { namespace mpl { namespace aux { template< typename Sequence , typename OldType , typename NewType , typename Inserter > struct replace_impl : replace_if_impl< Sequence, same_as<OldType>, NewType, Inserter > { }; template< typename Sequence , typename OldType ...
// ---- Angular Hammer ---- // Copyright (c) 2014 Ryan S Mullins <ryan@ryanmullins.org> // Licensed under the MIT Software License (function (window, angular, Hammer) { 'use strict'; // Checking to make sure Hammer and Angular are defined if (typeof angular === 'undefined') { if (typeof require !== 'undef...
import { Logger } from './logger'; export declare class IError extends Error { code?: number; stack?: string; } export declare class ProtractorError extends IError { static ERR_MSGS: string[]; static CODE: number; static SUPRESS_EXIT_CODE: boolean; message: string; constructor(logger: Logger...
// jQuery Alert Dialogs Plugin // // Version 1.1 // // Cory S.N. LaViska // A Beautiful Site (http://abeautifulsite.net/) // 14 May 2009 // // Visit http://abeautifulsite.net/notebook/87 for more information // // Usage: // jAlert( message, [title, callback] ) // jConfirm( message, [title, callback] ) // jPrompt( me...
package com.zaxxer.nuprocess.windows; import java.util.Arrays; import java.util.List; import com.sun.jna.*; import com.sun.jna.ptr.ByReference; import com.sun.jna.ptr.ByteByReference; /** * Constants and structures for Windows APIs, borrowed from com.sun.jna.platform.win32 * to avoid pulling in a dependency on t...
"use strict"; module.exports = function(Promise, PromiseArray, cast) { var util = require("./util.js"); var apiRejection = require("./errors_api_rejection")(Promise); var isObject = util.isObject; var es5 = require("./es5.js"); function PropertiesPromiseArray(obj) { var keys = es5.keys(obj); var len = keys.le...
package zap import ( "bytes" "encoding/binary" "io" ) // We can safely use 0 to represent termNotEncoded since 0 // could never be a valid address for term location information. // (stored field index is always non-empty and earlier in the // file) const termNotEncoded = 0 type chunkedIntCoder struct { final ...
<!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/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>RakNet: RakNet::Aut...
/* * File: FunctionMethod.cpp * Author: alain * * Created on February 21, 2019, 8:20 PM */ #include <Surelog/Testbench/FunctionMethod.h> namespace SURELOG { bool FunctionMethod::compile(CompileHelper& compile_helper) { bool result = Function::compile(compile_helper); return result; } } // namespace SU...
<html> <body> <table border="1"> <tr> <td>name</td><td>value</td><td>description</td> </tr> <tr> <td><a name="hadoop.tmp.dir">hadoop.tmp.dir</a></td><td>/tmp/hadoop-${user.name}</td><td>A base for other temporary directories.</td> </tr> <tr> <td><a name="hadoop.native.lib">hadoop.native.lib</a></td><td>true</td><td>Sho...
package org.andengine.util.progress; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 18:07:35 - 09.07.2009 */ public interface IProgressListener { // =========================================================== // Constants // =====================================...
'use strict'; /* * Express Dependencies */ var express = require('express'); var app = express(); var port = 3000; // For gzip compression app.use(express.compress()); /* * Config for Production and Development */ if (process.env.NODE_ENV === 'production') { } else { } /* * Routes */ // Index Page /*app.get(...
package org.springframework.boot.configurationsample.simple; import org.springframework.boot.configurationsample.ConfigurationProperties; /** * Configuration properties with inherited values. * * @author Stephane Nicoll */ @ConfigurationProperties(prefix = "hierarchical") public class HierarchicalProperties ext...
namespace base { class TickClock; } namespace content { class WebContents; } namespace memory { // Internal class used by TabManager to record the needed data for // WebContentses. class TabManager::WebContentsData : public content::WebContentsObserver, public content::WebContentsUserData<TabManager::WebCo...
package predicates import ( "fmt" "reflect" "testing" "github.com/GoogleCloudPlatform/kubernetes/pkg/api" "github.com/GoogleCloudPlatform/kubernetes/pkg/api/resource" "github.com/GoogleCloudPlatform/kubernetes/plugin/pkg/scheduler/algorithm" ) type FakeNodeInfo api.Node func (n FakeNodeInfo) GetNodeInfo(nod...
/* eslint-disable */ /// <reference path="jqwidgets.d.ts" /> import '../jqwidgets/jqxcore.js'; import '../jqwidgets/jqxbuttons.js'; import '../jqwidgets/jqxscrollview.js'; import { Component, Input, Output, EventEmitter, ElementRef, OnChanges, SimpleChanges } from '@angular/core'; declare let JQXLite: any; @Comp...
package gov.hhs.fha.nhinc.docsubmission._11.nhin.deferred.response; import javax.annotation.Resource; import javax.jws.WebService; import javax.xml.ws.BindingType; import javax.xml.ws.WebServiceContext; import javax.xml.ws.soap.Addressing; /** * * @author JHOPPESC */ @BindingType(value = javax.xml.ws.soap.SOAPBi...
package de.jugsaar.meeting9.nio2.watchservice; // example origin // URL: http://docs.oracle.com/javase/tutorial/essential/io/examples/WatchDir.java import java.io.IOException; import java.nio.file.FileSystems; import java.nio.file.FileVisitResult; import java.nio.file.Files; import static java.nio.file.LinkOption.N...
<?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="false" backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure=...
<Data> <Contract> <RequestHandlers> <RequestHandler Classification="amazons3" Name="com.spectralogic.s3.server.handler.reqhandler.PlaceHolderRequestHandler"> <Request BucketRequirement="REQUIRED" HttpVerb="DELETE" ObjectRequirement="REQUIRED"> <OptionalQueryPa...
package nl.surfnet.nsiv2.utils import org.ogf.schemas.nsi._2013._12.connection.types.ReservationRequestCriteriaType import org.ogf.schemas.nsi._2013._12.connection.types.ReservationConfirmCriteriaType final case class ConnectionCriteria(pending: Option[Either[ReservationRequestCriteriaType, ReservationConfirmCriteri...
package org.apache.hadoop.crypto.key.kms.server; import java.io.IOException; import java.security.GeneralSecurityException; import java.security.NoSuchAlgorithmException; import java.util.LinkedList; import java.util.List; import java.util.Queue; import java.util.concurrent.ExecutionException; import org.apache.had...
package com.instaclustr.operations; import javax.inject.Inject; import java.util.Map; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.annotation.JsonTypeIdResolver; @JsonTypeInfo(use = JsonTypeInfo.Id.CUSTOM, pr...
<?xml version="1.0"?> <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="stH003.xsd"> <fooTest> 12345 </fooTest> </root>
/*can@2.2.7#route/pushstate/pushstate*/ steal('can/util', 'can/route', function (can) { 'use strict'; if (window.history && history.pushState) { can.route.bindings.pushstate = { root: '/', matchSlashes: false, paramsMatcher: /^\?(?:[^=]+=[^&]*&)*[^=]+=[^&]*/, ...
FactoryBot.define do factory :service_template_catalog do sequence(:name) { |num| "service_template_catalog_#{num}" } end end