text
stringlengths
3
1.05M
"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 __()); }; var OuterSubscriber_1 = require('../OuterSubscri...
(function( window, undefined ) { // Can't do this because several apps including ASP.NET trace // the stack via arguments.caller.callee and Firefox dies if // you try to trace through "use strict" call chains. (#13335) // Support: Firefox 18+ //"use strict"; var // A central reference to the root jQuery(document) r...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Restup.HttpMessage.Models.Schemas; using Restup.Webserver.Attributes; using Restup.Webserver.Models.Contracts; namespace Restup.Webserver.Rest { internal class RestControllerMethodInfo { inter...
package com.google.security.zynamics.reil.translators.ppc; import com.google.security.zynamics.reil.OperandSize; import com.google.security.zynamics.reil.ReilInstruction; import com.google.security.zynamics.reil.translators.IInstructionTranslator; import com.google.security.zynamics.reil.translators.ITranslationEnvir...
package io.mappedbus; import static org.junit.Assert.assertEquals; import io.mappedbus.MappedBusMessage; import io.mappedbus.MappedBusReader; import io.mappedbus.MappedBusWriter; import io.mappedbus.MemoryMappedFile; import java.io.File; import org.junit.After; import org.junit.Before; import org.junit.Test; /** *...
/* © 2009 ROBO Design * http://www.robodesign.ro */ // Keep everything in anonymous function, called on window load. if(window.addEventListener) { window.addEventListener('load', function () { var canvas, context, tool; function init () { // Find the canvas element. canvas = document.getElementById('ima...
import React from 'react' import { Select } from 'semantic-ui-react' import { countryOptions } from '../common' // [{ key: 'af', value: 'af', flag: 'af', text: 'Afghanistan' }, ...{}] const SelectExample = () => ( <Select placeholder='Select your country' options={countryOptions} /> ) export default SelectExample
package com.intellij.codeInspection.deadCode; import com.intellij.codeInspection.reference.RefJavaElement; import com.intellij.codeInspection.reference.RefParameter; import com.intellij.codeInspection.util.RefFilter; import org.jetbrains.annotations.NotNull; public class RefEntryPointFilter extends RefFilter { @O...
.response-links { display: block; margin-bottom: 1em; } .response-links a { display: block; } .response-links a.comments-edit-item-link { font-weight: 600; } .response-links a.comments-view-item-link { font-size: 12px; } .post-com-count-wrapper strong { font-weight: 400; } .comments-view-item-link { display...
TODO: write [great documentation](http://jacobian.org/writing/what-to-write/)
package org.apache.geode.internal.cache; import static java.util.concurrent.TimeUnit.MINUTES; import static org.apache.geode.internal.cache.PartitionedRegion.RETRY_TIMEOUT_PROPERTY; import static org.apache.geode.test.dunit.Host.getHost; import static org.apache.geode.test.dunit.IgnoredException.addIgnoredException; ...
package org.apache.kafka.streams.state.internals; import org.apache.kafka.common.utils.Bytes; import org.apache.kafka.streams.kstream.Windowed; import org.apache.kafka.streams.processor.ProcessorContext; import org.apache.kafka.streams.processor.StateStore; import org.apache.kafka.streams.processor.internals.Processo...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>continuations: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.m...
package com.google.k2crypto.storage; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import com.google.k2crypto.K2Context; import com.google.k2crypto.K2...
#include "nau/render/opengl/glDebug.h" #include "nau.h" #include "nau/slogger.h" #include "nau/clogger.h" #include "nau/system/file.h" #include <glbinding/glbinding.h> #include <glbinding/Binding.h> #if defined(_WIN32) && defined(_DEBUG) #include <windows.h> #include <DbgHelp.h> #pragma comment(lib,"Dbghelp") #endif...
namespace System.Net.NetworkInformation { internal class SystemIPInterfaceStatistics : IPInterfaceStatistics { private readonly Interop.IpHlpApi.MibIfRow2 _ifRow; internal SystemIPInterfaceStatistics(long index) { _ifRow = GetIfEntry2(index); } public overri...
.class Lcom/android/server/am/ActiveServices$ServiceRestarter; .super Ljava/lang/Object; .source "ActiveServices.java" # interfaces .implements Ljava/lang/Runnable; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/android/server/am/ActiveServices; .end annotation .annotation syst...
package configs import "fmt" type Rlimit struct { Type int `json:"type"` Hard uint64 `json:"hard"` Soft uint64 `json:"soft"` } // IDMap represents UID/GID Mappings for User Namespaces. type IDMap struct { ContainerID int `json:"container_id"` HostID int `json:"host_id"` Size int `json:"size"` } ...
using System.Web; using System.Web.Mvc; namespace Springboard { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
print "todo next"
require 'formula' class Ddd < Formula homepage 'http://www.gnu.org/s/ddd/' url 'http://ftpmirror.gnu.org/ddd/ddd-3.3.12.tar.gz' mirror 'http://ftp.gnu.org/gnu/ddd/ddd-3.3.12.tar.gz' sha1 'b91d2dfb1145af409138bd34517a898341724e56' depends_on 'lesstif' depends_on :x11 # Needed for OSX 10.9 DP6 build fail...
<?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <!-- Show ZRTP call info --> <item android:id="@+id/call_zrtp_info_item" android:title="@string/show_call_zrtp_info"> </item> <!-- Show call info --> <item android:id="@+id/call_info_i...
YUI.add('dom-core', function (Y, NAME) { var NODE_TYPE = 'nodeType', OWNER_DOCUMENT = 'ownerDocument', DOCUMENT_ELEMENT = 'documentElement', DEFAULT_VIEW = 'defaultView', PARENT_WINDOW = 'parentWindow', TAG_NAME = 'tagName', PARENT_NODE = 'parentNode', PREVIOUS_SIBLING = 'previousSibling'...
// Copyright 2006 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 applicable law or agreed to in...
declare module 'fbjs/lib/invariant' { declare module.exports: <T>(condition: any, message: string, ...args: Array<any>) => void; } declare module 'fbjs/lib/nullthrows' { declare module.exports: <T>(value: ?T) => T; }
Pixelated Image Rendering Sample === See https://googlechrome.github.io/samples/image-rendering-pixelated/index.html for a live demo. Learn more at https://www.chromestatus.com/feature/5118058116939776
<!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_172) on Fri Nov 12 13:56:48 PST 2021 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class com.smartshee...
/*! Video.js Default Styles (http://videojs.com) Version 4.9.1 Create your own skin at http://designer.videojs.com */ /* SKIN ================================================================================ The main class name for all skin-specific styles. To make your own skin, replace all occurances of 'vjs-default-s...
package org.apache.commons.math3.linear; import org.apache.commons.math3.exception.DimensionMismatchException; import org.apache.commons.math3.exception.MaxCountExceededException; import org.apache.commons.math3.exception.NullArgumentException; import org.apache.commons.math3.util.IterationManager; import org.apache....
<?php require_once __DIR__ . '/../bootstrap.php'; /* * Some setup and helpers. Real example below. ;) */ class ExampleCommandHandler extends Broadway\CommandHandling\CommandHandler { public function handleExampleCommand(ExampleCommand $command) { } public function handleExampleFailureCommand(Exampl...
<?php /* FOSUserBundle:Group:new_content.html.twig */ class __TwigTemplate_069f1bb1a5961d8dc0f650244f873b31dcfdff65b1df63151470c217f98536d8 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = ar...
package org.apache.commons.collections.functors; import java.io.Serializable; import org.apache.commons.collections.Transformer; /** * Transformer implementation that returns the same constant each time. * <p> * No check is made that the object is immutable. In general, only immutable * objects shoul...
ANDROID_ARCH ------------ When :ref:`Cross Compiling for Android with NVIDIA Nsight Tegra Visual Studio Edition`, this property sets the Android target architecture. This is a string property that could be set to the one of the following values: * ``armv7-a``: "ARMv7-A (armv7-a)" * ``armv7-a-hard``: "ARMv7...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
<?php namespace Symfony\Component\Config\Definition\Exception; /** * A very general exception which can be thrown whenever non of the more specific * exceptions is suitable. * * @author Johannes M. Schmitt <schmittjoh@gmail.com> */ class InvalidConfigurationException extends Exception { private $path; ...
package ml.dmlc.mxnet.optimizer import ml.dmlc.mxnet.NDArrayConversions._ import ml.dmlc.mxnet.util.SerializerUtils import ml.dmlc.mxnet.{LRScheduler, NDArray, Optimizer} /** * Adam optimizer as described in [King2014] * * [King2014] Diederik Kingma, Jimmy Ba, * Adam: A Method for Stochastic Optimization, * ht...
<?xml version="1.0" encoding="utf-8"?> <resources> <dimen name="dimen_45dp">45dp</dimen> </resources>
require 'spec_helper' describe RubyWarrior::Units::Wizard do before(:each) do @wizard = RubyWarrior::Units::Wizard.new end it "should have look and shoot abilities" do @wizard.abilities.keys.to_set.should == [:shoot!, :look].to_set end it "should have shoot power of 11" do @wizard.shoot_pow...
package com.thoughtworks.go.server.dao.sparql; import com.thoughtworks.studios.shine.semweb.BoundVariables; /** * @understands Converting a row of Sparql query result into a domain model */ public interface RdfResultMapper<T> { T map(BoundVariables aRow); }
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8"> <title>disabledProperty</title> <link href="../../../images/logo-icon.svg" rel="icon" type="image/svg"> <script>var pathToRoot = "../../../";</script> <script type="text/javascript" src="../../../scr...
<?php namespace Symfony\Component\Messenger\Event; use Symfony\Component\Messenger\Envelope; /** * Dispatched when a message was received from a transport and handling failed. * * The event name is the class name. */ class WorkerMessageFailedEvent extends AbstractWorkerMessageEvent { private $throwable; ...
A utility library delivering consistency, [customization](http://lodash.com/custom-builds), [performance](http://lodash.com/benchmarks), & [extras](http://lodash.com/#features). ## Download * Lo-Dash builds (for modern environments):<br> [Development](https://raw.github.com/lodash/lodash/v1.0.2/dist/lodash.js) and [P...
package org.sakaiproject.component.app.scheduler; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.quartz.Job; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; import org.sakaiproject.api.app.scheduler.ScheduledInvocationManager; import org....
FROM balenalib/surface-pro-6-fedora:34-run ENV NODE_VERSION 15.10.0 ENV YARN_VERSION 1.22.4 RUN for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \ gpg --keyserver ha.pool.sks-keyservers.ne...
#ifndef QQUICKPATHVIEW_P_H #define QQUICKPATHVIEW_P_H #include "qquickitem.h" #include <private/qquickpath_p.h> QT_BEGIN_NAMESPACE class QQmlChangeSet; class QQuickPathViewPrivate; class QQuickPathViewAttached; class Q_AUTOTEST_EXPORT QQuickPathView : public QQuickItem { Q_OBJECT Q_PROPERTY(QVariant mod...
package org.apache.jmeter.protocol.http.config.gui; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import javax.swing.BorderFactory; import javax.swing.JCheckBox; import javax.swing.JPanel; import javax.swing.JTextField; i...
This example highlights both the stream support for injecting CSS, as well as the support for calling `reload` directly following html changes.
/** * There's an incompatibility between the Dojo CheckBox and the Dojo MVC * module. To use them together, I've manually tied the "checked" attribute * value to push updates to the "value" attribute, which the Dojo MVC module * expects. */ define(["dojo/_base/declare", "dijit/form/CheckBox"], function (declare, C...
../../Kiwi/Classes/Core/NSNumber+KiwiAdditions.h
package org.codehaus.groovy.transform.stc; /** * This enumeration is used by the AST transformations which rely on static type checking, either * to store or to retrieve information from AST node metadata. The values of this enumeration are * used as metadata keys. */ public enum StaticTypesMarker { INFERRED_...
package priorities import ( "encoding/json" "reflect" "testing" "k8s.io/kubernetes/pkg/api" "k8s.io/kubernetes/plugin/pkg/scheduler/algorithm" schedulerapi "k8s.io/kubernetes/plugin/pkg/scheduler/api" "k8s.io/kubernetes/plugin/pkg/scheduler/schedulercache" ) func nodeWithTaints(nodeName string, taints []api...
console.log('Übung 10: Funktionale Programmierung START'); const users = [ { name: 'John Doe', gender: 'M' }, { name: 'Jane Doe', gender: 'F' }, { name: 'Max Mustermann', gender: 'M' }, ]; console.log('Übung 10: Funktionale Programmierung DONE');
<?php namespace Symfony\Bundle\FrameworkBundle\Translation; use Symfony\Component\Finder\Finder; use Symfony\Component\Translation\Extractor\AbstractFileExtractor; use Symfony\Component\Translation\MessageCatalogue; use Symfony\Component\Translation\Extractor\ExtractorInterface; /** * PhpExtractor extracts transl...
<html> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License")...
package imageview import ( "image" "image/color" _ "image/jpeg" _ "image/png" "gomatcha.io/matcha" "gomatcha.io/matcha/app" "gomatcha.io/matcha/comm" "gomatcha.io/matcha/layout" "gomatcha.io/matcha/paint" "gomatcha.io/matcha/pb" "gomatcha.io/matcha/pb/view/imageview" "gomatcha.io/matcha/view" ) type Resi...
package org.apache.rya.mongodb; import java.io.IOException; import java.util.concurrent.atomic.AtomicInteger; import org.apache.rya.api.persist.RyaDAOException; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import com.mongodb.MongoClient; import de.flap...
@interface DVTPasswordView : DVTStackView_ML { } - (void)didCompleteLayout; @end
import { Component } from '@angular/core'; import { DefaultEditor } from './default-editor'; @Component({ selector: 'select-editor', template: ` <select [ngClass]="inputClass" class="form-control" [(ngModel)]="cell.newValue" [name]="cell.getId()" [disabled]="!ce...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Xerces-C++: StdInInputSource.hpp Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </...
class PagesController < ApplicationController def about end end
<script> if (window.testRunner) { testRunner.clearBackForwardList(); testRunner.dumpAsText(); testRunner.waitUntilDone(); } onpopstate = function() { history.pushState(null, null); if (window.testRunner) testRunner.notifyDone(); } onload = function() { history.pushState(null, null); his...
namespace cc { class Thread; struct ScheduledActionDrawAndSwapResult { ScheduledActionDrawAndSwapResult() : did_draw(false), did_swap(false) {} ScheduledActionDrawAndSwapResult(bool did_draw, bool did_swap) : did_draw(did_draw), did_swap(did_swap) {} bool did_draw; bool did_swap; }...
set(MINWIN_LAYER "1") set(MINWIN_GROUP "core") set(MINWIN_MAJOR_VERSION "1") set(MINWIN_MINOR_VERSION "0") set(MINWIN_SHORT_NAME "com") set(MINWIN_LONG_NAME "Component Object Model (COM)") set(MODULE_LIBRARY_NAME "api-ms-win-${MINWIN_GROUP}-${MINWIN_SHORT_NAME}-l${MINWIN_LAYER}-${MINWIN_MAJOR_VERSION}-${MINWIN_MINOR_VE...
namespace base { class DictionaryValue; } namespace payments { // Details about the requested transaction. class PaymentDetails { public: PaymentDetails(); PaymentDetails(const PaymentDetails& other); ~PaymentDetails(); PaymentDetails& operator=(const PaymentDetails& other); bool operator==(const PaymentD...
typedef u_int SOCKET; #endif #ifdef WIN32 #define MSG_NOSIGNAL 0 #define MSG_DONTWAIT 0 typedef int socklen_t; #else #include "errno.h" #define WSAGetLastError() errno #define WSAEINVAL EINVAL #define WSAEALREADY EALREADY #define WSAEWOULDBLOCK EWOULDBLOCK #define WSAEMSGSIZE ...
import * as util from 'gulp-util'; import { relative, normalize } from 'path'; import * as rimraf from 'rimraf'; import Config from '../../config'; /** * Cleans the given path(s) using `rimraf`. * @param {string or string[]} paths - The path or list of paths to clean. */ export function clean(paths: string|string[...
* Proposal: [SE-0002](https://github.com/apple/swift-evolution/blob/master/proposals/0002-remove-currying.md) * Author(s): [Joe Groff](https://github.com/jckarter) * Status: **Accepted** ## Introduction Curried function declaration syntax `func foo(x: Int)(y: Int)` is of limited usefulness and creates a lot of langua...
//----------------------------------------------------------------------- // <copyright file="PersistentView.Lifecycle.cs" company="Akka.NET Project"> // Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com> // Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net> // </cop...
using Foundation; using UIKit; namespace Reachability { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to application events from iOS. [Register("AppDelegate")] public ...
class Geometry # ! and @ are removed until support for them is added FLAGS = ['', '%', '<', '>']#, '!', '@'] RFLAGS = { '%' => :percent, '!' => :aspect, '<' => :>, '>' => :<, '@' => :area } attr_accessor :width, :height, :x, :y, :flag def initialize(width=...
typedef struct _task { void (*func)(void *); void *arg; struct _task *next, *last; } task_t; int task_free(task_t *the_task); typedef struct { task_t *head, *tail; uint32_t size; } tqueue_t; int tqueue_init(tqueue_t *the_queue); task_t *tqueue_pop(tqueue_t *the_queue); uint32_t tqueue_size(tqueue...
using drive::DriveSystemService; using drive::DriveSystemServiceFactory; namespace chromeos { namespace { // The minimum session length limit that can be set. const int kSessionLengthLimitMinMs = 30 * 1000; // 30 seconds. // The maximum session length limit that can be set. const int kSessionLengthLimitMaxMs = 24 *...
/** * Alert * * Alert is a representation of waze's alert data, * and it's self-documented. */ const createPoint = require('./point') function createAlert (alert) { return { ts: alert.pubMillis || (new Date()).getTime(), country: alert.country || '', city: alert.city || '', street: alert.street...
namespace em = enterprise_management; namespace chromeos { namespace { const char kWaitForHiddenStateScript[] = "var screenElement = document.getElementById('%s');" "var expectation = %s;" "function SendReplyIfAsExpected() {" " if (screenElement.hidden != expectation)" " return false;" " ...
module Google module Api # A description of a label. # @!attribute [rw] key # @return [::String] # The label key. # @!attribute [rw] value_type # @return [::Google::Api::LabelDescriptor::ValueType] # The type of data that can be assigned to the label. # @!attribute [rw] des...
/* */ var $ = require("../../modules/$"); require("../../modules/es6.object.statics-accept-primitives"); module.exports = function getOwnPropertyDescriptor(it, key) { return $.getDesc(it, key); };
<!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="lt" lang="lt"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Puslapis nerastas</title> <style type="text/c...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name Fusarium tracheiphilum E.F. Sm., 1899 ### Remarks null
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
namespace chrome { using base::nix::GetXDGDirectory; using base::nix::GetXDGUserDirectory; using base::nix::kDotConfigDir; using base::nix::kXdgConfigHomeEnvVar; namespace { const char kDownloadsDir[] = "Downloads"; const char kMusicDir[] = "Music"; const char kPicturesDir[] = "Pictures"; const char kVideosDir[] = "...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright 2010-present Facebook. 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 U...
namespace Newtonsoft.Json.Tests.TestObjects { public class ResponseWithNewGenericProperty<T> : SimpleResponse { public new T Data { get; set; } } }
.aliexpress-cate-select-ul{ height:300px; overflow: auto; } .aliexpress-cate-select-ul li{ cursor: pointer; } .aliexpress-cate-select-ul li:hover{ background: #999; } .aliexpress-cate-select-ul li.active{ background: #ccc }
import "./lib/polyfills"; /** * Layout */ export { Root } from "./components/Root/Root"; export { View } from "./components/View/View"; export { Panel } from "./components/Panel/Panel"; export { PanelHeaderButton } from "./components/PanelHeaderButton/PanelHeaderButton"; export { PanelHeader } from "./components/Pan...
@interface WalletCode_Tests : XCTestCase @end @implementation WalletCode_Tests - (void)setUp { [super setUp]; // Put setup code here. This method is called before the invocation of each test method in the class. } - (void)tearDown { // Put teardown code here. This method is called after the invocation o...
#import "RCTBridgeModule.h" @interface RCTVibration : NSObject <RCTBridgeModule> @end
import {Component} from 'angular2/core'; import {AppState} from '../app.service'; import {Title} from './title'; import {XLarge} from './x-large'; @Component({ // The selector is what angular internally uses // for `document.querySelectorAll(selector)` in our index.html // where, in this case, selector is the s...
package me.mziccard.math; import java.util.Arrays; public abstract class ArrayUtils { private static void checkEqualLength(short[] arr1, short[] arr2) throws DifferentLengthException { if (arr1.length != arr2.length) { throw new DifferentLengthException(); } } private static void check...
/*! UIkit 2.21.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ (function(addon) { var component; if (window.UIkit) { component = addon(UIkit); } if (typeof define == "function" && define.amd) { define("uikit-sticky", ["uikit"], function(){ return component...
var _ = require('underscore'); var path = require('path'); var fs = require('fs'); var glob = require('glob'); var should = require('should'); // var sugar = require('sugar'); var powerfs = require('powerfs'); var async = require('async'); var jscov = require('jscov'); var opra = require(jscov.cover('..', 'lib', 'opra....
#ifndef LLIntCLoop_h #define LLIntCLoop_h #if ENABLE(LLINT_C_LOOP) #include "CodeSpecializationKind.h" #include "JSCJSValue.h" #include "MacroAssemblerCodeRef.h" #include "Opcode.h" #include "Register.h" namespace JSC { namespace LLInt { const OpcodeID llint_unused = llint_end; class CLoop { public: static ...
/** File: strophe.js * A JavaScript library for writing XMPP clients. * * This library uses either Bidirectional-streams Over Synchronous HTTP (BOSH) * to emulate a persistent, stateful, two-way connection to an XMPP server or * alternatively WebSockets. * * More information on BOSH can be found in XEP 124....
package com.alibaba.dubbo.governance.service; import java.util.List; import com.alibaba.dubbo.registry.common.domain.Consumer; /** * 消费者数据访问对象 * * @author william.liangf */ public interface ConsumerService { List<Consumer> findByService(String serviceName); Consumer findConsumer(Long id); Li...
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ /* Copyright 2012 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen...
package fs2 import ( "bufio" "os" "strconv" "github.com/opencontainers/runc/libcontainer/cgroups" "github.com/opencontainers/runc/libcontainer/cgroups/fscommon" "github.com/opencontainers/runc/libcontainer/configs" ) func isCpuSet(r *configs.Resources) bool { return r.CpuWeight != 0 || r.CpuQuota != 0 || r.Cp...
using content::BrowserThread; namespace extensions { // static GlobalShortcutListener* GlobalShortcutListener::GetInstance() { CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); static GlobalShortcutListenerWin* instance = new GlobalShortcutListenerWin(); return instance; } GlobalShortcutListenerWin::...
/* * A newly created function always has a fresh object as its * prototype. * * E5 Sections 15.3.2.1, 15.3.5.2, 15.3.4.5. */ var f, g; var a; /*=== object true object false object object ===*/ f = function() { print("f"); }; print(typeof f.prototype); print(f.prototype.constructor === f); function func() { ...
class CreateDeletedPhotos < ActiveRecord::Migration def change create_table :deleted_photos do |t| t.integer :user_id t.integer :photo_id t.timestamps end add_index :deleted_photos, :created_at end end
@interface NSString (RUCamelCase) -(NSString*)ru_camelCasedString_lowercaseFirstLetter:(BOOL)lowercaseFirstLetter; @end
/** * Supports push-style iteration over an observable sequence. */ var Observer = Rx.Observer = function () { }; /** * Creates a notification callback from an observer. * @returns The action that forwards its input notification to the underlying observer. */ Observer.prototype.toNotif...