text
stringlengths
3
1.05M
// ReSharper disable CommentTypo // Copyright(c) 2016 Frederik Carlier // // 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 // t...
package endpoint import ( "context" ) // Endpoint is the fundamental building block of servers and clients. // It represents a single RPC method. type Endpoint func(ctx context.Context, request interface{}) (response interface{}, err error) // Nop is an endpoint that does nothing and returns a nil error. // Useful ...
package com.commonsware.android.relative; import android.app.Activity; import android.os.Bundle; public class RelativeLayoutDemo extends Activity { @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); } }
<?php namespace Zend\Http\Header; /** * Last-Modified Header * * @category Zend * @package Zend_Http * @subpackage Headers * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.29 */ class LastModified extends AbstractDate { /** * Get header name * * @return string...
(function (window, document, $, undefined) { "use strict"; var W = $(window), D = $(document), F = $.fancybox = function () { F.open.apply( this, arguments ); }, didUpdate = null, isTouch = document.createTouch !== undefined, isQuery = function(obj) { return obj && obj.hasOwnProperty && obj in...
namespace views { class Label; } namespace chromeos { // Shows a modal warning dialog that the idle action is imminent. Since the // warning is only really necessary when the idle action is to log out the user, // the warning is hard-coded to warn about logout. class IdleActionWarningDialogView : public views::Dialog...
package org.jetbrains.plugins.groovy.formatter.blocks; import com.intellij.formatting.Block; import com.intellij.formatting.Indent; import com.intellij.formatting.Wrap; import com.intellij.formatting.WrapType; import com.intellij.lang.ASTNode; import com.intellij.openapi.util.TextRange; import com.intellij.psi.PsiEle...
Test the robot descriptions via the launcher in turtlebot_viz/turtlebot_rviz_launchers. roslaunch turtlebot_rviz_launchers view_model.launch It is a standalone launcher with minimal dependencies. Comments on how to reconfigure your environment to view the different robot models are in the launcher.
package client import ( "encoding/json" "fmt" "io" "net/url" "sort" "strings" "sync" "text/tabwriter" "time" "github.com/docker/docker/api/types" Cli "github.com/docker/docker/cli" flag "github.com/docker/docker/pkg/mflag" "github.com/docker/docker/pkg/units" ) type containerStats struct { Name ...
import * as ko from 'knockout'; import { koSetup, waitForObservableChange } from 'jest/koTestUtils'; import { NAME } from './ko.linkSharing'; import ApiHelper, { LINK_SHARING_PERMS } from 'api/apiHelper'; describe('ko.linkSharing.js', () => { const setup = koSetup(); let params; beforeEach(() => { params ...
package github import ( "context" "fmt" "time" ) // OrganizationsService provides access to the organization related functions // in the GitHub API. // // GitHub API docs: https://developer.github.com/v3/orgs/ type OrganizationsService service // Organization represents a GitHub organization account. type Organiz...
interface Ancestor {} interface Subject extends Ancestor {} class Descendant implements Subject {} class Type { private Ancestor[] myAncestors; private Subject[] mySubjects; private Subject[] myDescendants; public void meth(Subject... p) { myAncestors = p; mySubjects = p; myDescendants = p; } }
package s3manager import ( "bytes" "fmt" "io" "sort" "sync" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/awsutil" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/service/s3" "github.c...
using System.Data.Entity; using System.Linq; using System.Web.Mvc; using Contoso.Models; using ContosoWeb.ViewModels; namespace ContosoWeb.Controllers { public class HomeController : Controller { private readonly IContosoWebContext _db; public int roco_count = 1000; public HomeControl...
package org.w3c.domts.level1.core; import org.w3c.dom.*; import org.w3c.domts.DOMTestCase; import org.w3c.domts.DOMTestDocumentBuilderFactory; /** * An element is created, setNodeValue is called with a non-null argument, but getNodeValue * should still return null. * @author Curt Arnold * @see <a href="http:...
/*************************************************************************/ /* globals.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
<?xml version="1.0" encoding="utf-8"?> {% if page.xsl %} <?xml-stylesheet type="text/xml" href="{{ '/feed.xslt.xml' | absolute_url }}"?> {% endif %} <feed xmlns="http://www.w3.org/2005/Atom" {% if site.lang %}xml:lang="{{ site.lang }}"{% endif %}> <generator uri="https://jekyllrb.com/" version="{{ jekyll.version }}...
namespace download { // Download input stream backed by a DownloadStreamHandle. class COMPONENTS_DOWNLOAD_EXPORT StreamHandleInputStream : public InputStream, public mojom::DownloadStreamClient { public: explicit StreamHandleInputStream( mojom::DownloadStreamHandlePtr stream_handle); StreamHandle...
// +k8s:deepcopy-gen=package // +k8s:protobuf-gen=package // +k8s:openapi-gen=true // +k8s:prerelease-lifecycle-gen=true // +groupName=flowcontrol.apiserver.k8s.io // Package v1alpha1 holds api types of version v1alpha1 for group "flowcontrol.apiserver.k8s.io". package v1alpha1 // import "k8s.io/api/flowcontrol/v1a...
namespace cc { class CC_EXPORT IOSurfaceDrawQuad : public DrawQuad { public: enum Orientation { FLIPPED, UNFLIPPED }; static scoped_ptr<IOSurfaceDrawQuad> Create(); void SetNew(const SharedQuadState* shared_quad_state, gfx::Rect rect, gfx::Rect opaque_rect, ...
package resourcequota import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" ) var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme ) // GroupName is the group name use in this package const GroupName = "resourcequota.admission.k8s...
// Calendar CA language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // include y...
package org.springframework.security.ldap; import org.springframework.security.authentication.AnonymousAuthenticationToken; import org.springframework.security.authentication.TestingAuthenticationToken; import org.springframework.security.core.authority.AuthorityUtils; import org.springframework.security.core.context...
<?php if(PHP_VERSION >= "5") if(!extension_loaded('mysql')) if(!@dl('php_mysql.dll')) { wb_message_box(null, "MySQL extension could not be loaded.", "Error", WBC_STOP); trigger_error("MySQL extension could not be loaded.\n", E_USER_ERROR); } // -------------------------------------------------...
require 'spec_helper' describe MapmyindiaRuby do it 'has a version number' do expect(MapmyindiaRuby::VERSION).not_to be nil end end
<?php namespace Drupal\Tests\Core\Transliteration; use Drupal\Component\Utility\Random; use Drupal\Core\Transliteration\PhpTransliteration; use Drupal\Tests\UnitTestCase; /** * Tests Transliteration component functionality. * * @group Transliteration * * @coversClass \Drupal\Core\Transliteration\PhpTransliterat...
package timePhrase; import static org.junit.Assert.*; import java.util.Calendar; import org.junit.Test; /** * Tests the {@link DayOfWeekTimePhrase} class. * * @author akauffman * */ public class DayOfWeekTimePhraseTest { /** * Tests that all of the various qualifiers match the phrase. */ @Test public ...
class CPortView : public CFormView { protected: CPortView(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(CPortView) // Form Data public: //{{AFX_DATA(CPortView) enum { IDD = IDD_NODEVIEW }; CString m_Material; //}}AFX_DATA // Attributes public: // Operations public: // Overri...
<!-- /*Author: COEN276 Fall 2015 Group1 Jingbo Bai Prinal Khandelwal Shreyas Jaltare Jason Zadwick*/ --> <!doctype html> <html> <body> <form method="post" ENCTYPE="multipart/form-data"> <table width=518 border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr bgcolor="#E5E5E5"> <td height="22" colspan...
export * from "./SizeAnimationStatus"; export * from "./OpacityAnimationStatus";
#include "src/core/security/credentials.h" #include <string.h> #include <stdio.h> #include "src/core/channel/channel_args.h" #include "src/core/channel/http_client_filter.h" #include "src/core/json/json.h" #include "src/core/httpcli/httpcli.h" #include "src/core/iomgr/iomgr.h" #include "src/core/support/string.h" ...
'use strict'; /** * This component operates as a "Controller-View". It listens for changes in * the TodoStore and passes the new data to its children. */ import type Immutable from 'immutable'; import type {Store} from 'flux/utils'; import type Todo from '../flux-infra/Todo'; import {Container} from 'flux/util...
package com.hundsun.network.gates.wulin.biz.dao.order; import com.hundsun.network.gates.wulin.biz.domain.order.TradeOrderMoney; import com.hundsun.network.gates.wulin.biz.domain.query.TradeOrderMoneyQuery; import java.util.List; public abstract interface TradeOrderMoneyDAO { public abstract Long insert(Trad...
// (C) Copyright 2015 Martin Dougiamas // // 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 agre...
// +k8s:deepcopy-gen=package,register // +k8s:openapi-gen=true // +groupName=authorization.k8s.io package v1 // import "k8s.io/api/authorization/v1"
namespace compute=boost::compute; BOOST_AUTO_TEST_CASE(uniform_int_distribution_doctest) { using boost::compute::uint_; using boost::compute::lambda::_1; boost::compute::vector<uint_> vec(128, context); //! [generate] // initialize the default random engine boost::compute::default_random_engine engine(qu...
package com.intellij.codeInsight; import com.intellij.codeInsight.daemon.quickFix.LightQuickFixParameterizedTestCase; import com.intellij.testFramework.PlatformTestUtil; import org.jetbrains.annotations.NotNull; /** * @author anna */ public class ConvertToThreadLocalIntentionTest extends LightQuickFixParameterizedT...
//////////////////////////////////////////////////////////////////////// // // Note : this file is included as part of the Smaller Animals Software // JpegFile package. Though this file has not been modified from it's // original IJG 6a form, it is not the responsibility on the Independent // JPEG Group to answer ques...
import os import sys import bgfiles try: from setuptools import setup except ImportError: from distutils.core import setup version = bgfiles.__version__ if sys.argv[-1] == 'publish': try: import wheel except ImportError: print('Wheel library missing. Please run "pip install wheel"') ...
package org.sakaiproject.api.app.help; import java.util.Set; /** * Table of Contents * @version $Id$ */ public interface TableOfContents { /** * get name * @return name */ public String getName(); /** * set name * @param name */ public void setName(String name); /** * get categor...
<?php defined('C5_EXECUTE') or die("Access Denied."); class CustomStyleRule extends Object { protected static $headerStylesAdded = false; public static $fontFamilies = array( 'inherit'=>'inherit', 'Arial'=>"Arial, Helvetica, sans-serif", 'Times New Roman'=>"'Times New Roman', Times, serif", 'Courier'=>"...
<?php use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\Container; use Symfony\Component\DependencyInjection\Exception\InactiveScopeException; use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; use Symfony\Component\DependencyInjection\Ex...
#include "csvarchive.hh" #include <stdlib.h> using namespace hadoop; static std::string readUptoTerminator(PushBackInStream& stream) { std::string s; while (1) { char c; if (1 != stream.read(&c, 1)) { throw new IOException("Error in deserialization."); } if (c == ',' || c == '\n' || c == '...
/* * This file contains function prototypes for each exported function in * the H5I module. */ #ifndef _H5Ipublic_H #define _H5Ipublic_H /* Public headers needed by this file */ #include "H5public.h" /* * Library type values. Start with `1' instead of `0' because it makes the * tracing output look better when...
<!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.6.0_32) on Tue Jun 18 11:08:41 PDT 2013 --> <TITLE> UnmonitorInstancesResult (AWS SDK for Java - 1.4.7) </TITLE> <META NAME="date" CONTENT="2013-06-18">...
/* * execcmd.h - execute a shell script. * * Defines the interface to be implemented in platform specific implementation * modules as well as different shared utility functions prepared in the * execcmd.c module. */ #ifndef EXECCMD_H #define EXECCMD_H #include "lists.h" #include "strings.h" #in...
'use strict'; /** * @ngdoc function * @name gapFront.controller:AboutCtrl * @description A simple controller to do nothing but remove navigation links from the navbar view when on the about controller * # AboutCtrl * Controller of the gapFront */ angular.module('gapFront') .controller('AboutCtrl', function ($s...
module.exports = { id: "blackberry10", bootstrap: function() { var channel = require('cordova/channel'), addEventListener = document.addEventListener; //ready as soon as the plugins are channel.onPluginsReady.subscribe(function () { channel.onNativeReady.fir...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="script/common.css"> <script src="script/common.js"></script> <script> function setup(){ $('input').datepicker({ format: 'mm-dd-yyyy' }); }; </script>...
![hackalist-logo](images/logo.png) ================================= Visit our [website](http://www.hackalist.org) to view the live site. Hackalist is a database of hackathons that has the most up to date information for all your hackathon needs. Feel free to submit [Pull Requests](http://github.com/Hackalist/Hackali...
<Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded" actionBarHidden="true"> <StackLayout> <Label class="title" text="{{ title }}" class="title" /> <Button class="btn-success" text="Login" tap="loginBtnTap" /> <Button class="btn-primary" text="Register" tap="registerBtnTap" /> </Sta...
package org.apache.hadoop.hdfs; import java.io.BufferedReader; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.Writer; import java.net.URI; import java.security.NoSuchAlgorithmEx...
'use strict'; import {IStream} from 'vs/editor/common/modes'; export class LineStream implements IStream { static STRING_TO_ARRAY_CACHE:{ [key:string]:boolean[]; } = {}; /*protected*/ _source:string; private sourceLength:number; /*protected*/ _pos:number; private whitespace:string; private whitespaceArr:bool...
// Backbone.Radio v1.0.0 (function (global, factory) { typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory(require("underscore"), require("backbone")) : typeof define === "function" && define.amd ? define(["underscore", "backbone"], factory) : global.Backbone.Radio = factory(global...
from plumbing.graphs import Graph from plumbing.cache import property_cached ############################################################################### class Multiplot(Graph): """ Similar to a FacetPlot, expect we don't use `seaborn` and do everything ourselves with `matplotlib`. """ # Size o...
/** * @requires OpenLayers/Console.js * @requires OpenLayers/Format.js * @requires OpenLayers/Filter/Spatial.js * @requires OpenLayers/Filter/Comparison.js * @requires OpenLayers/Filter/Logical.js */ /** * Class: OpenLayers.Format.QueryStringFilter * Parser for reading a query string and creating a simple fi...
// Copyright (c) 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. package org.xwalk.core.xwview.test; import android.test.suitebuilder.annotation.SmallTest; import org.chromium.base.test.util.Feature; /** * Tests f...
#ifndef BOOST_MPL_SET_HPP_INCLUDED #define BOOST_MPL_SET_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/mpl for doc...
package swarm import ( "errors" "fmt" "github.com/spf13/cobra" "github.com/docker/docker/api/client" "github.com/docker/docker/cli" "github.com/docker/engine-api/types/swarm" "golang.org/x/net/context" ) func newJoinTokenCommand(dockerCli *client.DockerCli) *cobra.Command { var rotate, quiet bool cmd := &...
describe('css', function() { [ "bars-clear", "button-bar", "buttons-borderless", "buttons-button-block-clear", "buttons-button-block", "buttons-button-outline", "buttons-clear", "buttons-default", "buttons-full", "buttons-large", "buttons-link-block-clear", "buttons-li...
package consul import ( "crypto/tls" "net/http" "strings" "sync" "time" "github.com/docker/libkv/store" api "github.com/hashicorp/consul/api" ) const ( // DefaultWatchWaitTime is how long we block for at a // time to check if the watched key has changed. This // affects the minimum time it takes to cancel ...
using Orchard.Events; namespace Orchard.Comments.Services { public interface ICommentsCountProcessor : IEventHandler { void Process(int commentsPartId); } }
package com.formkiq.vision.pdf; import java.util.ArrayList; import java.util.List; import org.apache.pdfbox.pdmodel.common.PDRectangle; /** * Transform {@link PdfToken} to {@link PDRectangle} boxes, by looking * at the "lines" of a PDF. * */ public class PdfTokenToPDRectangleTransformer implements PdfTo...
recursively find the closest package.json ## usage Say you want to check if the directory name of a project matches its module name in package.json: ```js var path = require('path') var findRoot = require('find-root') // from a starting directory, recursively search for the nearest // directory containing package.js...
package garbagecollector import ( "fmt" ) type restMappingError struct { kind string version string } func (r *restMappingError) Error() string { versionKind := fmt.Sprintf("%s/%s", r.version, r.kind) return fmt.Sprintf("unable to get REST mapping for %s.", versionKind) } // Message prints more details fu...
#ifndef WebExceptionHandler_h #define WebExceptionHandler_h typedef int WebDOMExceptionCode; typedef void (*WebExceptionHandler)(WebDOMExceptionCode); // Used from the outside to register a callback that gets fired whenever an exception is raised void webInstallExceptionHandler(WebExceptionHandler); // Never used ...
""" Computer vision functions (FAST, ORB, etc) """ from .library import * from .array import * from .features import * def fast(image, threshold=20.0, arc_length=9, non_max=True, feature_ratio=0.05, edge=3): """ FAST feature detector. Parameters ---------- image : af.Array ...
using System.Collections.Generic; using Umbraco.Core.Models.EntityBase; using Umbraco.Core.Persistence.Mappers; namespace Umbraco.Core.Models.Membership { /// <summary> /// Defines the interface for a <see cref="User"/> /// </summary> /// <remarks>Will be left internal until a proper Membersh...
package com.intellij.ide.actions; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.Presentation; import com.intellij.openapi.application.PathManager; import com.intellij.openapi.project.DumbAware; import org.jetbrains.a...
var App = require('app'); /** * @class * * This is a view for showing cluster CPU metrics * * @extends App.ChartLinearTimeView * @extends Ember.Object * @extends Ember.View */ App.ChartServiceMetricsYARN_JVMHeap = App.ChartLinearTimeView.extend({ id: "service-metrics-yarn-jvm-heap", title: Em.I18n.t('s...
#ifndef __UILABELATLAS_H__ #define __UILABELATLAS_H__ #include "ui/UIWidget.h" #include "ui/GUIExport.h" NS_CC_BEGIN /** * @addtogroup ui * @{ */ class Label; struct CC_DLL ResourceData; namespace ui { /** * @brief UI TextAtlas widget. */ class CC_GUI_DLL TextAtlas : public Widget { DECLARE_CL...
#region License // Copyright 2010 John Sheehan // // 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 ap...
class MephistoController < ApplicationController layout nil session :off caches_page_with_references :dispatch cache_sweeper :comment_sweeper def dispatch @dispatch_path = Mephisto::Dispatcher.run(site, params[:path].dup) @dispatch_action = @dispatch_path.shift @section = @dispatch_p...
/* Tabulator v4.2.0 (c) Oliver Folkerd */ .tabulator { position: relative; border: 1px solid #333; background-color: #222; overflow: hidden; font-size: 14px; text-align: left; -ms-transform: translatez(0); transform: translatez(0); } .tabulator[tabulator-layout="fitDataFill"] .tabulator-tableHolder .ta...
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- 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...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#fff"> <RelativeLayout android:layout_width="match_pare...
package main import ( "fmt" "strconv" "strings" "syscall" "github.com/opencontainers/runc/libcontainer" "github.com/opencontainers/runtime-spec/specs-go" "github.com/urfave/cli" ) var checkpointCommand = cli.Command{ Name: "checkpoint", Usage: "checkpoint a running container", ArgsUsage: `<container-id> ...
/* * tail.c * * Outputs a file beginning at a specific location. * Usage: tail <file> <location> * * This may be useful for testing during the file system assignment. */ #include <unistd.h> #include <stdlib.h> #include <err.h> #define BUFSIZE 1000 /* Put buffer in data space. We know that the program should...
<?php /** * Template part for leaderboard ad * * @package WordPress * @subpackage FoundationPress * @since FoundationPress 1.0.0 */ ?> <div class="ad-container"> <?php // echo adrotate_group('1'); if ($astused > 0){ // ast used defined How to do this in the new? } else { $pageadset = $_GET['ast']...
package daemon import ( "errors" "fmt" "net" "os" "path" "runtime" "strings" "time" containertypes "github.com/docker/docker/api/types/container" networktypes "github.com/docker/docker/api/types/network" "github.com/docker/docker/container" "github.com/docker/docker/daemon/network" "github.com/docker/doc...
//****************************************************************************************************** // GetSignalMethods.cs - Gbtc // // Copyright © 2014, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See //...
Object serialization for Nodejs >= 7.10.1 Heavily inspired by [Marshmallow](https://marshmallow.readthedocs.io)
package com.wemote.scorpio.modules.test.log; import ch.qos.logback.classic.Logger; import ch.qos.logback.classic.spi.ILoggingEvent; import ch.qos.logback.core.UnsynchronizedAppenderBase; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import org.slf4j.LoggerFactory; import java.uti...
package com.eas.script; import com.eas.concurrent.PlatypusThreadFactory; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.MalformedURLException; import java.net.URISyntaxException; import java.net.URL; import java.nio.channels.CompletionHandler; import java.nio.file....
'use strict'; var keyMirror = require('fbjs/lib/keyMirror'); /** * When a component's children are updated, a series of update configuration * objects are created in order to batch and serialize the required changes. * * Enumerates all the possible types of update configurations. * * @internal */ var ReactMu...
/** * @providesModule PanResponder */ "use strict"; var TouchHistoryMath = require('TouchHistoryMath'); var currentCentroidXOfTouchesChangedAfter = TouchHistoryMath.currentCentroidXOfTouchesChangedAfter; var currentCentroidYOfTouchesChangedAfter = TouchHistoryMath.currentCentroidYOfTouchesChangedAfter; var pre...
namespace NLog.UnitTests.Targets { using System; using System.IO; using NLog.Targets; using System.Collections.Generic; using Xunit; public class ConsoleTargetTests : NLogTestBase { [Fact] public void ConsoleOutTest() { var target = new ConsoleTarget() ...
.oo-ui-icon-beta { background-image: url("themes/mediawiki/images/icons/beta.png"); background-image: -webkit-linear-gradient(transparent, transparent), /* @embed */ url("themes/mediawiki/images/icons/beta.svg"); background-image: linear-gradient(transparent, transparent), /* @embed */ url("themes/mediawiki...
import { Dictionary } from '../options'; export type SummaryPosition = 'top' | 'bottom'; export type SummaryColumnContent = SummaryColumnContentMap | null; export type SummaryColumnContents = Dictionary<SummaryColumnContent>; export type SummaryValues = Dictionary<SummaryValueMap>; export type SummaryTemplateFn = (val...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE boostbook PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"> <boostbook id="boost" xmlns:xi="http://www.w3.org/2001/XInclude" last-revision="$Date$"> <title>The Boost C++ Libraries BoostBook Documentatio...
R CMD REMOVE --library=$PREFIX/lib/R/library/ minionSummaryData
package client import ( "golang.org/x/net/context" ) // CheckpointDelete deletes the checkpoint with the given name from the given container func (cli *Client) CheckpointDelete(ctx context.Context, containerID string, checkpointID string) error { resp, err := cli.delete(ctx, "/containers/"+containerID+"/checkpoints...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>GlicoControl</title> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/style.css" rel="sty...
package org.insightech.er.db.impl.postgres; import org.insightech.er.db.sqltype.SqlType; import org.insightech.er.db.sqltype.SqlTypeManagerBase; public class PostgresSqlTypeManager extends SqlTypeManagerBase { public int getByteLength(SqlType type, Integer length, Integer decimal) { return 0; } }
package org.finra.herd.service; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import org.junit.Test; import org.finra.herd.model.api.xml.FileTypeKey; import org.finra.herd.model.api.xml.FileTypeKeys; /** * This class tests various functionality within the file type REST ...
// Copyright © 2012 onwards, Andrew Whewell // All rights reserved. // // Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright notice, this l...
' 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 Imports System.Globalization Imports System.Linq.Expressions Imports System.Text Namespace Global Public Class ExprLambdaTest Pub...
#include "nsconfig.h" #include <string.h> #include <randLIB.h> #include "ns_types.h" #include "ns_list.h" #include "ns_trace.h" #include "nsdynmemLIB.h" #include "fhss_config.h" #include "eventOS_event.h" #include "eventOS_scheduler.h" #include "eventOS_event_timer.h" #include "ns_address.h" #include "NWK_INTERFACE/I...
countryCode() --FILE-- <?php require 'vendor/autoload.php'; use Respect\Validation\Rules\CountryCode; use Respect\Validation\Validator; var_dump(Validator::countryCode(CountryCode::ALPHA3)->validate('BRA')); ?> --EXPECTF-- bool(true)