text
stringlengths
3
1.05M
<?php /** * default community form * * @package SfAdvanced * @subpackage form * @author Shogo Kawahara <kawahara@tejimaya.com> */ class DefaultCommunityForm extends sfForm { public function configure() { $this->setWidgets(array( 'id' => new sfWidgetFormInput(), )); $validatorCal...
package testhelper import ( "bytes" "encoding/json" "fmt" "path/filepath" "reflect" "runtime" "strings" "testing" ) const ( logBodyFmt = "\033[1;31m%s %s\033[0m" greenCode = "\033[0m\033[1;32m" yellowCode = "\033[0m\033[1;33m" resetCode = "\033[0m\033[1;31m" ) func prefix(depth int) string { _, file, ...
package org.andengine.entity.text.vbo; import org.andengine.entity.text.Text; import org.andengine.opengl.vbo.IVertexBufferObject; /** * * (c) Zynga 2012 * * @author Nicolas Gramlich <ngramlich@zynga.com> * @since 12:38:05 - 29.03.2012 */ public interface ITextVertexBufferObject extends IVertexBufferObject { ...
require 'casino_core/processor' require 'casino_core/helper' require 'casino_core/model' # The SessionOverview processor to list all open session for the currently signed in user. # # This feature is not described in the CAS specification so it's completly optional # to implement this on the web application side. clas...
// Browser bundle of nunjucks 1.3.0 (slim, only works with precompiled templates) (function() { var modules = {}; (function() { 'use strict'; // A simple class system, more documentation to come function extend(cls, name, props) { // This does that same thing as Object.create, but with support for IE8 var F ...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
<?xml version="1.0"?> <doc> <assembly> <name>Microsoft.Owin.Host.SystemWeb</name> </assembly> <members> <member name="T:Owin.Loader.DefaultLoader"> <summary> Locates the startup class based on the following convention: AssemblyName.Startup, with a method n...
#include <iadmw.h> #include <iiscnfg.h> #include <iwamreg.h> #include <mddefw.h> #ifdef __cplusplus extern "C" { #endif // structs // prototypes HRESULT DAPI MetaFindWebBase( __in IMSAdminBaseW* piMetabase, __in_z LPCWSTR wzIP, __in int iPort, __in_z LPCWSTR wzHeader, __in B...
package client import ( "github.com/heketi/heketi/pkg/glusterfs/api" ) func (c *Client) TopologyInfo() (*api.TopologyInfoResponse, error) { topo := &api.TopologyInfoResponse{ ClusterList: make([]api.Cluster, 0), } clusterlist, err := c.ClusterList() if err != nil { return nil, err } for _, cluster := range...
import { Component } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { FormlyFormOptions, FormlyFieldConfig } from '@ngx-formly/core/'; @Component({ selector: 'formly-app-example', templateUrl: './app.component.html', }) export class AppComponent { form = new FormGroup({}); model: any ...
namespace Umbraco.Core.Persistence.UnitOfWork { /// <summary> /// Defines a Unit of Work Provider /// </summary> public interface IUnitOfWorkProvider { IUnitOfWork GetUnitOfWork(); } }
package oauth2 import ( "context" "errors" "fmt" "io/ioutil" "net/http" "net/http/httptest" "net/url" "testing" "time" ) type mockTransport struct { rt func(req *http.Request) (resp *http.Response, err error) } func (t *mockTransport) RoundTrip(req *http.Request) (resp *http.Response, err error) { return ...
tinyMCE.addI18n('pt.wordcount',{words:"Words:"});
(function() { var authors, deferConsole, drawLinks, drawSignet, getMetaList, links, measureTextWidth, supportsLogBackgroundImage, textFont, textFontSize, textLineHeight, _ref; if (((_ref = window.console) != null ? _ref.log : void 0) == null) { return; } getMetaList = function(name) { var content, ele...
<!DOCTYPE html> <html> <head> <title>jVectorMap demo</title> <link rel="stylesheet" media="all" href="../jquery-jvectormap.css"/> <script src="assets/jquery-1.8.2.js"></script> <script src="../jquery-jvectormap.js"></script> <script src="../lib/jquery-mousewheel.js"></script> <script src="../src/jvectormap...
package com.zhongshu.maintenanceexpert.photo.utils; import android.graphics.Bitmap; import android.os.Environment; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; public class FileUtils { public static String SDPATH = Environment.getExternalS...
define([ '../../Core/defined' ], function( defined) { 'use strict'; /** * Given a prefix for a new ID, checks the glTF asset for matching prefixes in top-level objects with IDs and returns a unique ID. * * @param {Object} gltf A javascript object containing a glTF asset. ...
package org.wso2.carbon.event.publisher.core.internal.type.text; import org.apache.axiom.om.OMElement; import org.apache.axiom.om.OMFactory; import org.wso2.carbon.databridge.commons.StreamDefinition; import org.wso2.carbon.event.publisher.core.config.EventPublisherConfiguration; import org.wso2.carbon.event.publish...
var twitter = require('twitter'); var client = new twitter({ consumer_key: process.env.TWITTER_CONSUMER_KEY, consumer_secret: process.env.TWITTER_CONSUMER_SECRET, access_token_key: process.env.TWITTER_ACCESS_TOKEN, access_token_secret: process.env.TWITTER_ACCESS_TOKEN_SECRET }); var fs = require('fs') var util...
JKCustomizedCollectionView ========================== <p> <img src='http://jayeshkawli.com/CustomCollectionViewImages/MainPage.png'> </p><p> <img src='http://jayeshkawli.com/CustomCollectionViewImages/ImageInfo.png'> </p><p> <img src='http://jayeshkawli.com/CustomCollectionViewImages/PhotographerInfo.png'> </p><p> <img...
package com.sutromedia.android.lib.app; public interface INavigationReceiver { void onReceiveEntry(INavigationEntry entry); }
package org.zackratos.weather; import java.util.Map; import io.reactivex.Observable; import retrofit2.http.GET; import retrofit2.http.QueryMap; /** * Created by Administrator on 2017/6/25. */ public interface SeniverseApi { @GET("weather/now.json") Observable getNow(@QueryMap Map<String, String> map); }
package org.kie.services.client.serialization.jaxb.impl; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind...
package bolt import ( "fmt" "io" "os" "sort" "time" "unsafe" ) // txid represents the internal transaction identifier. type txid uint64 // Tx represents a read-only or read/write transaction on the database. // Read-only transactions can be used for retrieving values for keys and creating cursors. // Read/writ...
// +build std_json package jose import ( "encoding/json" ) func MarshalJSON(v interface{}) ([]byte, error) { return json.Marshal(v) } func UnmarshalJSON(data []byte, v interface{}) error { return json.Unmarshal(data, v) }
#define PROTOBUF_USE_EXCEPTIONS #elif defined(__EXCEPTIONS) #define PROTOBUF_USE_EXCEPTIONS #endif #ifdef PROTOBUF_USE_EXCEPTIONS #include <exception> #endif #if defined(_WIN32) && defined(GetMessage) // Allow GetMessage to be used as a valid method name in protobuf classes. // windows.h defines GetMessage() as a ...
set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRODUCTS_DIR}...
package org.apache.flink.streaming.scala.examples.windowing import org.apache.flink.api.java.utils.ParameterTool import org.apache.flink.api.scala._ import org.apache.flink.streaming.api.scala.{DataStream, StreamExecutionEnvironment} import org.apache.flink.streaming.examples.wordcount.util.WordCountData /** * Imp...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace AlipayIntegrationMVC { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRou...
namespace { // Font description of the default font set. base::LazyInstance<std::string>::Leaky g_default_font_description = LAZY_INSTANCE_INITIALIZER; // The default instance of gfx::FontListImpl. base::LazyInstance<scoped_refptr<gfx::FontListImpl> >::Leaky g_default_impl = LAZY_INSTANCE_INITIALIZER; bool g_...
import assert from 'assert' import math from '../../../../src/defaultInstance.js' const math2 = math.create({ randomSeed: 'test' }) const randomInt = math2.randomInt describe('randomInt', function () { it('should have a function randomInt', function () { assert.strictEqual(typeof math.randomInt, 'function') }...
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports System.Threading.Tasks Namespace Microsoft.CodeAnalysis.Editor.UnitTests.FindReferences Partial Public Class FindReferencesTests <WorkIte...
class Default : public Provider { public: Default(std::string newName, std::string newValue); virtual std::string getValue(pugi::xml_node node); protected: std::string value; std::string name; };
<?php namespace Faker\Provider\lt_LT; class Company extends \Faker\Provider\Company { protected static $formats = array( '{{companySuffix}} {{lastNameMale}}', '{{companySuffix}} {{lastNameMale}} ir {{lastNameMale}}', '{{companySuffix}} "{{lastNameMale}} ir {{lastNameMale}}"', '{{co...
"use strict"; function Visitor() {} Visitor.prototype = { constructor: Visitor, accept: function(object) { return this[object.type](object); } }; exports["default"] = Visitor;
ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Illosporium croceum Westend. ### Remarks null
package com.coolweather.a19_wechatuitest; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on a...
var baseCastFunction = require('./_baseCastFunction'), baseUpdate = require('./_baseUpdate'); /** * This method is like `_.set` except that accepts `updater` to produce the * value to set. Use `_.updateWith` to customize `path` creation. The `updater` * is invoked with one argument: (value). * * **Note:** Thi...
'use strict'; import type {SourceMap} from './output/source-map'; import type {Ast} from 'babel-core'; import type {Console} from 'console'; export type Callback<A = void, B = void> = (Error => void) & ((null | void, A, B) => void); type Dependency = {| id: string, path: string, |}; export type File = {| ...
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="5.0" xml:id="normal.para....
module Fog module Parsers module AWS module RDS require 'fog/aws/parsers/rds/security_group_parser' class DescribeDBSecurityGroups < Fog::Parsers::AWS::RDS::SecurityGroupParser def reset @response = { 'DescribeDBSecurityGroupsResult' => {'DBSecurityGroups' => []}, 'R...
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 __()); }; import { DirectiveResolver } from '@angular/compiler'; import ...
<html> <body> Server side implementation of admin based requests </body> </html>}.
package net.md_5.bungee.api.event; import lombok.AllArgsConstructor; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NonNull; import lombok.ToString; import net.md_5.bungee.api.config.ServerInfo; import net.md_5.bungee.api.connection.ProxiedPlayer; import net.md_5.bungee.api.plugin.Event; @Data @Al...
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. ~ ~ WSO2 Inc. licenses this file to you 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 ...
package com.google.android.apps.iosched.io.model; public class Rooms { public Room[] rooms; }
package network // Copyright (c) Microsoft and contributors. 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 // // Unl...
!function($){ "use strict"; // jshint ;_; /* TYPEAHEAD PUBLIC CLASS DEFINITION * ================================= */ var Typeahead = function (element, options) { this.$element = $(element) this.options = $.extend({}, $.fn.typeahead.defaults, options) this.matcher = this.options...
require 'stringio' require 'yaml/compat' require 'yaml/error' require 'yaml/yecht' require 'yaml/tag' require 'yaml/stream' require 'yaml/constants' # == YAML # # YAML(tm) (rhymes with 'camel') is a # straightforward machine parsable data serialization format designed for # human readability and interaction with scrip...
#ifndef __ARM_CORES_H #define __ARM_CORES_H /* * make the gcc built in define a little easier to deal with * to decide what core it is generating code for * * ARM_ARCH_LEVEL gets assigned a numeric value of the general family * * ARM_ARCH_* gets defined for each feature recursively */ #if defined(__ARM_ARCH...
/** PURE_IMPORTS_START .._Subscriber PURE_IMPORTS_END */ 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,...
<?xml version='1.0' encoding='utf-8'?> <Deployment AppPlatformVersion="8.0" xmlns="http://schemas.microsoft.com/windowsphone/2012/deployment"> <DefaultLanguage code="en-US" xmlns="" /> <Languages xmlns=""> <Language code="en-US" /> <Language code="zh-Hans" /> <Language code="zh-CN" /> ...
#include "settings_test.h" #include "settings/settings_fcb.h" #ifdef TEST_LONG #define TESTS_S2_FCB_ITERATIONS 32 #else #define TESTS_S2_FCB_ITERATIONS 2 #endif ZTEST(settings_config_fcb, test_config_save_2_fcb) { int rc; struct settings_fcb cf; int i; /* this case need c_test_handler[0] to handle access to v...
var globalLeafName = "leaf"; define("leaf", { name: globalLeafName });
namespace Microsoft.Azure.Management.Sql { using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; us...
OTA ?= none OTA_APP_ADDR = 0x2000 OTA_BOOTLOADER_PATH = ../esp-bootloader/firmware/espboot.bin THISDIR:=$(dir $(abspath $(lastword $(MAKEFILE_LIST)))) # Base directory for the compiler. Needs a / at the end; if not set it'll use the tools that are in # the PATH. XTENSA_TOOLS_ROOT ?= # base directory of the ESP8266 SD...
package org.locationtech.geomesa.utils.geotools import java.io.{BufferedWriter, File, FileWriter} import com.vividsolutions.jts.geom.Geometry import org.geotools.data.{Base64, DataUtilities} import org.geotools.feature.FeatureIterator import org.locationtech.geomesa.utils.text.WKBUtils import org.opengis.feature.si...
package route53_test import ( "testing" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/awstesting/unit" "github.com/aws/aws-sdk-go/service/route53" ) func TestBuildCorrectURI(t *testing.T) { const expectPath = "/2013-04-01/hostedzone/ABCDEFG" svc := route53.New(unit.Session) svc.Handlers.Validate...
{- (c) The University of Glasgow 2006 (c) The GRASP/AQUA Project, Glasgow University, 1992-1999 Analysis functions over data types. Specficially, detecting recursive types. This stuff is only used for source-code decls; it's recorded in interface files for imported data types. -} module ETA.TypeCheck.TcTyDecls( ...
function myWrapper() { if (!module.exports) module.exports = ""; var x = null; // don't want to baseline output } //// [typecheckIfCondition.js] // both uses of module should be an undefined symbol function myWrapper() { if (!module.exports) module.exports = ""; var x = null; // don't w...
/***************************************************************************/ /* */ /* afindic.h */ /* */ /* ...
zirkon.program_config.program_config module =========================================== .. include:: ../macros.txt .. testsetup:: from zirkon.program_config.program_config import * .. automodule:: zirkon.program_config.program_config :members: :undoc-members: :show-inheritance:
package com.google.android.apps.iosched.gcm.server.cron; import com.google.android.apps.iosched.gcm.server.BaseServlet; import com.google.android.apps.iosched.gcm.server.db.DeviceStore; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.Ht...
namespace CommonTestsInternal.Collections.Generic { using System; using Microsoft.VisualStudio.TestTools.UnitTesting; public partial class BinarySearchTreeTests { #region ICollection [TestMethod] [TestCategory("BinarySearchTree")] public void Clear_Bigger() ...
@implementation THTimelineBuilder + (THTimeline *)buildTimelineWithMediaItems:(NSArray *)mediaItems transitionsEnabled:(BOOL)transitionsEnabled { THTimeline *timeline = [[THTimeline alloc] init]; timeline.videos = [self buildVideoItems:mediaItems[THVideoTrack]]; if (transitionsEna...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (c) 2013-2014 Intel Corporation. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <resources> <string name="test_string">Hello, World!</string> </resources>
import Editor from 'tinymce/core/api/Editor'; import { StyleFormat } from 'tinymce/core/api/fmt/StyleFormat'; import * as ImportCss from '../core/ImportCss'; export interface Api { readonly convertSelectorToFormat: (selectorText: string) => StyleFormat | undefined; } const get = (editor: Editor): Api => { const ...
<?php /** Zend_Search_Lucene_FSM */ require_once 'Zend/Search/Lucene/FSM.php'; /** * @category Zend * @package Zend_Search_Lucene * @subpackage Search * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD ...
require 'fog/core/collection' require 'fog/hp/models/network/router' module Fog module HP class Network class Routers < Fog::Collection attribute :filters model Fog::HP::Network::Router def initialize(attributes) self.filters ||= {} super end d...
export * from './public_api';
"""Auto-generated file, do not edit by hand. TA metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_TA = PhoneMetadata(id='TA', country_code=290, international_prefix='00', general_desc=PhoneNumberDesc(national_number_pattern='8\\d{3}', possible_number_pattern='\\d{4...
package org.apache.camel.management; import java.util.Set; import javax.management.MBeanServer; import javax.management.ObjectName; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.processor.aggregate.UseLatestAggregationStrategy; /** * @version */ public class ManagedRemoveRouteAggregateThr...
module Fog module Parsers module AWS module RDS require 'fog/aws/parsers/rds/security_group_parser' class RevokeDBSecurityGroupIngress < Fog::Parsers::AWS::RDS::SecurityGroupParser def reset @response = { 'RevokeDBSecurityGroupIngressResult' => {}, 'ResponseMetadata' =...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
/* Package jwt provides an implementation of the JSON Web Token standard. */ package jwt
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_MERKLEBLOCK_H #define BITCOIN_MERKLEBLOCK_H #include "serialize.h" #i...
package org.springframework.boot.devtools.restart; import org.springframework.boot.context.event.ApplicationFailedEvent; import org.springframework.boot.context.event.ApplicationReadyEvent; import org.springframework.boot.context.event.ApplicationStartedEvent; import org.springframework.context.ApplicationEvent; imp...
package scala.meta package internal package dialects trait InstantiateDialect { val c: scala.reflect.macros.blackbox.Context import c.universe._ def instantiateDialect(dialectTree: c.Tree): Dialect = { // We want to have a higher-order way to abstract over differences in dialects // and we're using impl...
import contextlib import mock from neutron.api.v2 import attributes from neutron.extensions import securitygroup as ext_sg from neutron import manager from neutron.plugins.nec.db import api as ndb # noqa from neutron.tests.unit.nec import test_nec_plugin from neutron.tests.unit import test_extension_security_group a...
.. _setup: Installing/configuring ====================== Requirements ------------ Mandatory: - PHP 5.3.3+ - `XML Parser <http://www.php.net/manual/en/xml.installation.php>`__ extension - `Zend\\Escaper <http://framework.zend.com/manual/current/en/modules/zend.escaper.introduction.html>`__ component - Zend\\Stdlib ...
1. Add the following to your site's `Gemfile`: ```ruby gem 'jekyll-seo-tag' ``` 2. Add the following to your site's `_config.yml`: ```yml plugins: - jekyll-seo-tag ``` 3. Add the following right before `</head>` in your site's template(s): ```liquid {% seo %} ```
using System; using System.IO; using System.Net.Mail; using NUnit.Framework; using Rock.Core.IntegrationTests.Mail; using Rock.Mail; // ReSharper disable once CheckNamespace namespace SendExtensionsTests { public class SendExtensionTests { public class TheSendExtensionMethod { priv...
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON https://guides.rubyonrails.org.** API Documentation Guidelines ============================ This guide documents the Ruby on Rails API documentation guidelines. After reading this guide, you will know: * How to write effective prose for documentation purpos...
class Outer { public Outer(String s) { } void method(Outer other) { other.new CreateConstructorFromUsage("parameter"); // invoke "Create Constructor" quick fix here } class CreateConstructorFromUsage { public CreateConstructorFromUsage(String parameter) { <selection></s...
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 * @for DOM * */ /** * Provides DOM helper methods. * @class DOM * */...
using System.Globalization; using System.Reflection; namespace System.ComponentModel.DataAnnotations { /// <summary> /// Used for specifying a range constraint /// </summary> [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = fal...
from swgpy.object import * def create(kernel): result = Intangible() result.template = "object/draft_schematic/armor/component/shared_armor_layer_environmental.iff" result.attribute_template_id = -1 result.stfName("string_id_table","") #### BEGIN MODIFICATIONS #### #### END MODIFICATIONS #### return r...
#include <errno.h> #include <stdio.h> #include <string.h> #include "unicode/utypes.h" #include "unicode/unistr.h" #include "layout/LETypes.h" #include "GUISupport.h" #include "UnicodeReader.h" #define BYTE(b) (((int) b) & 0xFF) /* * Read the text from a file. The text must start with a Unicode Byte * Order Mar...
package org.apache.lucene.index; import org.apache.lucene.store.Directory; final class SegmentInfo { public String name; // unique name in dir public int docCount; // number of docs in seg public Directory dir; // where segment resides public SegmentInfo(String name, int docCount, Directory ...
namespace mojo { namespace system { namespace { // Tests: // - only default flags // - reading messages from a port // - when there are no/one/two messages available for that port // - with buffer size 0 (and null buffer) -- should get size // - with too-small buffer -- should get size // - also verify t...
**deprecated** # [Ember VCL](https://github.com/ember-vcl/doc) Hint TODO description ## Usage TODO ## Demo [See instructions how to run a demo app](https://github.com/ember-vcl/build-demo) ## License [MIT license](LICENSE.txt)
/* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*- * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.mozilla.gecko; import...
{-# OPTIONS_GHC -XRankNTypes -XTransformListComp #-} module RnFail049 where import Data.List(inits, tails) functions :: [[a] -> [[a]]] functions = [inits, tails] output = [() | f <- functions, then group using f]
import java.net.*; import java.io.*; import java.util.Vector; /** * Manage a user-level click Router via its TCP ControlSocket. * * @author Douglas S. J. De Couto, Eddie Kohler */ public class ControlSocket { private InetAddress _host; private int _port; private Socket _sock; private Buf...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="lt" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Bitcoin</source> <translation>Apie Bitcoin</translation> </messa...
(function ($) { 'use strict'; $.fn.initCollapseHeights = function (scrollSelector) { var parentElement = this, setCollapseHeights, targetScrollSelector = scrollSelector; setCollapseHeights = function () { var height, openPanel, contentHeight, bodyHeight, overflowY = 'hidden'; height = parentE...
package com.twitter.finagle.redis.protocol import com.twitter.finagle.Status import com.twitter.finagle.transport.{Transport, TransportContext, LegacyContext} import com.twitter.io.Buf import com.twitter.util.{Future, Time} import java.net.SocketAddress import java.security.cert.Certificate /** * A [[Transport]] imp...
package ch.bfh.controllers; import be.ceau.chart.LineChart; import ch.bfh.analyse.Analyse; import ch.bfh.exception.EntityNotFoundException; import io.swagger.annotations.ApiOperation; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.C...
require 'spec_helper' describe AdminUser do before(:each) do UserSession.user = build :user, id: 10 end let!(:organisation) { create :organisation, id: 15, tenant: 'bonsaierp' } let(:attributes) { { email: 'new_user@mail.com', first_name: 'New', last_name: 'User', role: 'group', organisation: or...
<table id="lab_table" class="asn_table"> {% include asn_table_header_row.html %} {% for asn in site.lab %} {% if asn.num %} {% include asn_table_row.html %} {% endif %} {% endfor %} </table>