text
stringlengths
3
1.05M
"""Top-level presubmit script for testing. See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for details on the presubmit API built into gcl. """ def CommonChecks(input_api, output_api): output = [] blacklist = [r'gmock.*', r'gtest.*'] output.extend(input_api.canned_checks.RunPylint( ...
<table> <tr><td ><div style="width: 400px; background-color:green; height:100%">This div does not flex.</div></td> <td><img height=200 width=200></td></tr></table> <p></p> <table> <tr><td ><img style="width: 400px; height:200px; background-color:green;"></td> <td><img height=200 width=200></td></tr></table>
namespace sf { //////////////////////////////////////////////////////////// /// \brief 2D camera that defines what region is shown on screen /// //////////////////////////////////////////////////////////// class SFML_GRAPHICS_API View { public: //////////////////////////////////////////////////////////// /// \...
// Make it harder to do the wrong thing. "use strict"; // Globals for JSHint so it's not throwing undefined method/object errors for // 3rd party libraries like Backbone or Underscore. /* global Backbone */ /* global _ */ /* global $ */ /* global woodman */ // I hate needing to do this but for some reason I have to.....
package org.flowable.rest.conf; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import com.fasterxml.jackson.databind.ObjectMapper; /** * @author Joram Barrez */ @Configuration public class JacksonConfiguration { @Bean() public ObjectMapper ...
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Imports System.Collections.Generic Imports System.Collections.Immutable Imports System.Runtime.InteropServices Imports...
.yui3-testconsole .yui3-console-entry { min-height: inherit; padding: 5px; } .yui3-testconsole .yui3-console-controls { display: none; }
package core.framework.internal.reflect; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.Arrays; import java.util.List; /** * @author neo */ public final class Classes { public static List<Field> instanceFields(Class<?> instanceClass) { // even though according to JD...
class Course::AnnouncementsController < Course::ComponentController load_and_authorize_resource :announcement, through: :course, class: Course::Announcement.name before_action :add_announcement_breadcrumb def index respond_to do |format| format.html format.json do @announcements = @announ...
import os import sys from django.db.backends import BaseDatabaseClient class DatabaseClient(BaseDatabaseClient): executable_name = 'psql' def runshell(self): settings_dict = self.connection.settings_dict args = [self.executable_name] if settings_dict['USER']: args += ["-U...
<?php use yii\apidoc\helpers\ApiMarkdown; use yii\apidoc\models\ClassDoc; use yii\apidoc\models\TraitDoc; use yii\helpers\ArrayHelper; /* @var $type ClassDoc|TraitDoc */ /* @var $protected boolean */ /* @var $this yii\web\View */ /* @var $renderer \yii\apidoc\templates\html\ApiRenderer */ $renderer = $this->context;...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2010 The Android Open Source Project 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/licen...
from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import QCompleter, QPlainTextEdit from qrtextedit import ScanQRTextEdit import re from decimal import Decimal from electroncash import bitcoin import util RE_ADDRESS = '[1-9A-HJ-NP-Za-km-z]{26,}' RE_ALIAS = '(.*?)\s*\<([1-9A-HJ-NP-Za-km-z]{26,...
export { DataShare32 as default } from "../../";
package retrofacebook; import auto.json.AutoJson; import android.support.annotation.Nullable; import android.os.Bundle; /** * <pre> * { * "data": { * "is_silhouette": false, * "url": https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-xta1/v/t1.0-9/s180x540/10406xxx_10152728596979xxx_221607749089636xxx_...
package org.spongepowered.common.data.builder.block.tileentity; import net.minecraft.tileentity.TileEntityHopper; import org.spongepowered.api.block.tileentity.carrier.Hopper; import org.spongepowered.api.data.DataView; import org.spongepowered.api.data.key.Keys; import org.spongepowered.api.data.persistence.InvalidD...
package org.gradle.openapi.wrappers.ui; import org.gradle.gradleplugin.userinterface.swing.generic.tabs.GradleTab; import org.gradle.openapi.external.ui.GradleTabVersion1; import java.awt.*; /** * Wrapper to shield version changes in GradleTab from an external user of the gradle open API. */ public class GradleTa...
#ifndef OwnPtrX11_h #define OwnPtrX11_h namespace WebCore { template<typename T> struct OwnPtrX11 { OwnPtrX11() : m_xResource(0) { } OwnPtrX11(T* xResource) : m_xResource(xResource) { } ~OwnPtrX11() { if (m_xResource) XFree(m_xResource); } OwnPtrX11& operator=(T* xReso...
package org.dcm4chex.wado.mbean.xml; import java.io.IOException; import java.io.OutputStream; import java.net.MalformedURLException; import java.net.URL; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java....
void ReadParameters(char *fname);
package org.sakaiproject.site.util; import java.util.Collection; import org.sakaiproject.site.api.Group; import org.sakaiproject.site.api.Site; /** * Helper methods for group management * @author plukasew */ public class GroupHelper { /** * Finds a group in a particular site, by group title * @param ...
import { CHANGE_METRIC } from '../actions/weatherActions' function timeReducer (state = 0, action) { if (action.type === CHANGE_METRIC && action.payload.name === 'time') { return action.payload.value } return state } export default timeReducer
package org.elasticsearch.index.mapper.geo; import org.apache.lucene.spatial.prefix.PrefixTreeStrategy; import org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy; import org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree; import org.apache.lucene.spatial.prefix.tree.QuadPrefixTree; import org.elasticse...
// +build windows package mount import ( "fmt" "io/ioutil" "os" "os/exec" "path/filepath" "strings" "testing" "github.com/stretchr/testify/assert" ) func TestNormalizeWindowsPath(t *testing.T) { path := `/var/lib/kubelet/pods/146f8428-83e7-11e7-8dd4-000d3a31dac4/volumes/kubernetes.io~azure-disk` normali...
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation. All rights reserved. // // File: milexports.cs //------------------------------------------------------------------------------ using System; using System.Windows; usin...
require "spec_helper" describe Mongoid::Threaded do let(:object) do double end describe "#begin" do before do described_class.begin_execution("load") end after do described_class.stack("load").clear end it "adds a boolean to the load stack" do expect(described_class...
<?xml version="1.0" encoding="UTF-8"?> <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">...
Ironfan, the foundation of The Infochimps Platform, is an expressive toolset for constructing scalable, resilient architectures. It works in the cloud, in the data center, and on your laptop, and it makes your system diagram visible and inevitable. Inevitable systems coordinate automatically to interconnect, removing t...
import WorkerPlugin = require('worker-plugin'); import webpack = require('webpack'); new WorkerPlugin(); new WorkerPlugin({ filename: 'my-custom-name.[hash:3].js', }); new WorkerPlugin({ filename: 'worker.js', chunkFilename: '[id]_worker_chunk.js', }); class ExistingPlugin extends webpack.Plugin {} cons...
class Browser; class Profile; namespace aura { class Window; } namespace chrome { // This is the implementation of MultiUserWindowManager for single user mode. class MultiUserWindowManagerStub : public MultiUserWindowManager { public: MultiUserWindowManagerStub() {} virtual ~MultiUserWindowManagerStub() {} /...
namespace dcpupp { typedef std::uint16_t Word; static const Word MaxWord = 0xffff; } #endif
<!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 (version 1.7.0_45) on Sat Nov 08 13:29:18 PST 2014 --> <title>Uses of Class main.java.queryprocessor.WildcardQueryLiteral</title> <meta name="date" co...
using System.Web.Routing; using Orchard.Blogs.Models; using Orchard.ContentManagement; using Orchard.ContentManagement.Handlers; using Orchard.Data; namespace Orchard.Blogs.Handlers { public class BlogPartHandler : ContentHandler { public BlogPartHandler() { OnGetDisplayShape<BlogPart>((contex...
var node = S(input, "application/json"); var currencies = node.prop("orderDetails").prop("currencies"); oldSize = currencies.elements().size(); oldPosition = currencies.indexOf("dollar"); currencies.insertAt(1, "test1"); newSize = currencies.elements().size(); newPosition = currencies.indexOf("dollar"); value = curr...
/* Datoon, Philip Bryan * 131311399 * 19 August 2013 */ import javax.swing.JOptionPane; public class CollegeEmployee extends Person { protected int securityNum; protected double annualSalary; protected String deptName; public void setSecurityNum() { String security; security = JOptionPane.showInputDialog...
/* * License Option 1: GPL * * This program 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 2 of the License, or (at your option) * any later version. * * This program is distributed i...
constexpr int NULL1 = 0; constexpr int NULL2 = -32768; constexpr double NULL3 = -3.4028226550889044521e+38; constexpr int RECORD_SIZE = 512; #include "cpl_string.h" #include "gdal_frmts.h" #include "nasakeywordhandler.h" #include "ogr_spatialref.h" #include "rawdataset.h" CPL_CVSID("$Id: isis2dataset.cpp b2723bb9e...
<?php namespace Codeception\Lib\Interfaces; interface SessionSnapshot { /** * Saves current cookies into named snapshot in order to restore them in other tests * This is useful to save session state between tests. * For example, if user needs log in to site for each test this scenario can be execute...
#ifndef DCRLEERG_H #define DCRLEERG_H #include "osconfig.h" #include "oftypes.h" /* for OFBool */ #include "dctypes.h" /* for Uint32 */ class DcmRLECodecParameter; class DcmRLECodecEncoder; /** singleton class that registers an RLE encoder. */ class DcmRLEEncoderRegistration { public: /** registers RLE enc...
require 'test/unit' require "xmlrpc/create" require "xmlrpc/parser" require "xmlrpc/config" class Test_Features < Test::Unit::TestCase def setup @params = [nil, {"test" => nil}, [nil, 1, nil]] end def test_nil_create XMLRPC::XMLWriter.each_installed_writer do |writer| c = XMLRPC::Create.new(write...
 #pragma once #include <aws/datapipeline/DataPipeline_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> namespace Aws { namespace DataPipeline { namespace Model { enum class OperatorType { NOT_SET, EQ, REF_EQ, LE, GE, BETWEEN }; namespace OperatorTypeMapper { AWS_DATAPIPELINE...
/** * Core.js 0.9.0 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ 'use strict'; var __e = null, __g = null; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******...
using System; using System.Linq; using System.Xml.Linq; using JetBrains.Annotations; namespace AD.PartialEquilibriumApi.Xml { /// <summary> /// Extension methods to calculate the final market share. /// </summary> [PublicAPI] public static class FinalMarketShareExtensions { private sta...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace Omron.Core { public static class Extensions { public static byte[] ToByteArray(this BitArray bits) { int numBytes = bits.Length / 8; if (bits.Lengt...
<?php namespace yii\validators; use Yii; use yii\db\ActiveRecordInterface; /** * UniqueValidator validates that the attribute value is unique in the specified database table. * * UniqueValidator checks if the value being validated is unique in the table column specified by * the ActiveRecord class [[targetClass...
class Demo module Core module Validator # substation support DECOMPOSER = ->(request) { request.input.data } COMPOSER = ->(request, output) { Input::Incomplete.new(request.input.session, output) } EXECUTOR = Substation::Processor::Executor.new(DECOMPOSER, CO...
// Copyright 2013 The Closure Library Authors. 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 // // Unless requ...
exports.SourceListMap = require("./SourceListMap"); exports.SourceNode = require("./SourceNode"); exports.CodeNode = require("./CodeNode"); exports.MappingsContext = require("./MappingsContext"); exports.fromStringWithSourceMap = require("./fromStringWithSourceMap");
package test import ( "crypto/rand" "testing" "github.com/flynn/flynn/Godeps/_workspace/src/golang.org/x/crypto/ssh" ) func TestCertLogin(t *testing.T) { s := newServer(t) defer s.Shutdown() // Use a key different from the default. clientKey := testSigners["dsa"] caAuthKey := testSigners["ecdsa"] cert := &...
declare const _default: { locale: string; Pagination: any; DatePicker: { lang: any; timePickerLocale: { placeholder: string; }; }; TimePicker: { placeholder: string; }; Calendar: { lang: any; timePickerLocale: { placehol...
<?php /** * Apishka social login exception */ class Apishka_SocialLogin_Exception extends Exception { }
package com.google.api.ads.dfp.jaxws.v201505; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * * A list of all errors to be used in conjunction with require...
Ext.define('Neptune.view.toolbar.widget.ComplexButtonGroup', { extend: 'Ext.toolbar.Toolbar', xtype: 'complexButtonGroupToolbar', items: [ { xtype: 'complexButtonGroup' }, { xtype: 'simpleButtonGroup' } ] });
/*! * Qoopido.js library v3.2.3, 2014-0-13 * https://github.com/dlueth/qoopido.js * (c) 2014 Dirk Lueth * Dual licensed under MIT and GPL */ !function(x){window.qoopido.register("function/unique/uuid",x)}(function(){"use strict";function x(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(r,function(x){var n=16*M...
describe('svg context', function() { var object; this.timeout(20000); if ('createElementNS' in document) { it('is able to be loaded in a SVG file', function(done) { object = document.createElement('object'); object.data = '../test/img/integration.svg'; object.type = 'image/svg+xml'; ...
<?php namespace Mockery; class Generator { /** * Generates a Mock Object class with all Mockery methods whose * intent is basically to provide the mock object with the same * class type hierarchy as a typical instance of the class being * mocked. * * @param string $className * @param...
@implementation UIImageView (CacheURL) #pragma mark - 传人urlString 和默认图。获取网络图片。----不放到缓存里面 -(void)setURLString:(NSString *)urlString placeholderImage:(UIImage *)image{ [self setURLString:urlString placeholderImage:image relativePath:nil]; } #pragma mark - 传人urlString 和默认图。获取网络图片。----不放到缓存里面 relativePath 传 nil @"" ...
<html> <head><title>bot2</title></head> <body> This is the bottom frame #2. </body> </html>
// // SKFieldEditor.m // Skim // // Created by Christiaan Hofman on 4/6/06. #import "SKFieldEditor.h" @implementation SKFieldEditor - (void)dealloc { SKDESTROY(ignoredSelectors); [super dealloc]; } - (BOOL)respondsToSelector:(SEL)aSelector { if (ignoredSelectors && NSHashGet(ignoredSelectors, aSele...
if [ -f .veewee_params ] then . .veewee_params fi date > /etc/vagrant_box_build_time # Setup sudo to allow no-password sudo for "sudo" usermod -a -G sudo vagrant # Installing vagrant keys mkdir /home/vagrant/.ssh chmod 700 /home/vagrant/.ssh cd /home/vagrant/.ssh groupadd -r admin usermod -a -G admin vagrant wget ...
require 'active_support/cache' require 'action_dispatch/middleware/session/abstract_store' require 'dalli' # Dalli-based session store for Rails 3.0. module ActionDispatch module Session class DalliStore < AbstractStore def initialize(app, options = {}) # Support old :expires option options...
package org.ScripterRon.BitcoinWallet; import static org.ScripterRon.BitcoinWallet.Main.log; import org.ScripterRon.BitcoinCore.Address; import org.ScripterRon.BitcoinCore.BlockHeader; import org.ScripterRon.BitcoinCore.ECException; import org.ScripterRon.BitcoinCore.ECKey; import org.ScripterRon.BitcoinCore.Encrypte...
module Language module Haskell module Cabal def self.included(base) # use llvm-gcc on Lion or below, as when building GHC) base.fails_with(:clang) if MacOS.version <= :lion end def cabal_sandbox(options = {}) pwd = Pathname.pwd home = options[:home] || pwd ...
using static QuantConnect.StringExtensions; namespace QuantConnect.Orders { /// <summary> /// Represents a response to an <see cref="OrderRequest"/>. See <see cref="OrderRequest.Response"/> property for /// a specific request's response value /// </summary> public class OrderResponse { ...
import { BaseDriver } from 'wix-ui-test-utils/driver-factory'; export interface CarouselWIPDriver extends BaseDriver { isLoading: () => boolean; getChildren: () => NodeListOf<HTMLElement>; getImages: () => string[]; clickNext: () => Promise<void>; clickPrevious: () => Promise<void>; }
[chat.zulip.org](https://chat.zulip.org/) is the primary communication forum for the Zulip community. You can go through the simple signup process at that link, and then you will soon be talking to core Zulip developers and other users. To get help in real time, you will have the best luck finding core developers rou...
// // detail/reactive_socket_recvmsg_op.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2014 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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.tx...
package org.apache.sling.jobs.impl.storage; import org.apache.sling.jobs.Job; import org.apache.sling.jobs.impl.Utils; import org.apache.sling.jobs.impl.spi.JobStorage; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.MockitoAnnotations; import s...
import unittest class AnimationTestCase(unittest.TestCase): def test_video_unload(self): # fix issue https://github.com/kivy/kivy/issues/2275 # AttributeError: 'NoneType' object has no attribute 'texture' from kivy.uix.video import Video from kivy.clock import Clock from k...
newparam(:logoutput) do desc "Whether to log command output in addition to logging the exit code. Defaults to `on_failure`, which only logs the output when the command has an exit code that does not match any value specified by the `returns` attribute. As with any resource type, the log level can be ...
/** * @fileoverview Type definitions for the Blockly en locale. */ /// <reference path="msg.d.ts" /> import BlocklyMsg = Blockly.Msg; export = BlocklyMsg;
<p align="center"> <a href="http://materializecss.com/"> <img src="http://materializecss.com/res/materialize.svg" width="150"> </a> <h3 align="center">MaterializeCSS</h3> <p align="center"> Materialize, a CSS Framework based on material design. <br> <a href="http://materializecss.com...
/** * Dialog Default Translations. * * Include this module if you're not already using angular-translate in your application, and * add it to your application module's dependency list in order to get default header and * dialog messages to appear. * * Ex: var myApp = angular.module('myApplication',['dialogs.ma...
/** * @requires widgets/recenter/Base.js */ Ext.namespace('mapfish.widgets', 'mapfish.widgets.recenter'); /** * Class: mapfish.widgets.recenter.Coords * Recenters (and zooms if asked) on user-provided coordinates. * * Typical usage: * (start code) * var coordsrecenter = new mapfish.widgets.recenter.Coords(...
// +k8s:deepcopy-gen=package,register package extensions // import "k8s.io/kubernetes/pkg/apis/extensions"
layout: default --- {% if page.background %} <header class="masthead" style="background-image: url('{{ page.background | prepend: site.baseurl | replace: '//', '/' }}')"> {% else %} <header class="masthead"> {% endif %} <div class="overlay"></div> <div class="container"> <div class="row"> ...
import { AppDataService } from 'src/app/services/app-data.service'; import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; // Models & enums import { Point, PointFeedback } from '../../models/point.model'; import { PointSupportLevels, PointFlags, PointTypesEnum } from '../../models/enums'; //...
.ext-el-mask { background-color: #ccc; } .ext-el-mask-msg { border-color:#6593cf; background-color:#c3daf9; background-image:url(../images/default/box/tb-blue.gif); } .ext-el-mask-msg div { background-color: #eee; border-color:#a3bad9; color:#222; font:normal 11px tahoma, arial, helvet...
package org.bridgedb.tools.batchmapper; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.LineNumberReader; import java.io.PrintStream; import java.io.PrintWriter; import java.net.Malf...
/*****************************************************************************/ /** * * @file xil_testmemend.c * * Contains the memory test utility functions. * * <pre> * MODIFICATION HISTORY: * * Ver Who Date Changes * ----- ---- -------- ----------------------------------------------- * 1.00a hbm 08/25/09 ...
using System; using System.Collections; using System.IO; using System.Reflection; using fyiReporting.RDL; namespace fyiReporting.RDL { /// <summary> /// Plus operator of form lhs + rhs /// </summary> [Serializable] internal class FunctionPlus : FunctionBinary , IExpr { /// <summary> /// Do plus on doubl...
/** System information: Architecture: 32 bit Note: Stacks on x86 processors are always fourbyte aligned. Stacks on x64 processors are always eightbyte aligned. Stack representation: -------------------------------------------------------------...
// ---------------------------------------------------------------------------------- // // 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...
#include "arm_math.h" /** * @ingroup groupFilters */ /** * @defgroup Corr Correlation * * Correlation is a mathematical operation that is similar to convolution. * As with convolution, correlation uses two signals to produce a third signal. * The underlying algorithms in cor...
package org.apache.camel.component.cmis; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.camel.spi.UriParam; import org.apache.camel.spi.UriParams; import org.ap...
var util = require("util") var messages = require("./warning_messages.json") module.exports = function() { var args = Array.prototype.slice.call(arguments, 0) var warningName = args.shift() if (warningName == "typo") { return makeTypoWarning.apply(null,args) } else { var msgTemplate = messages[warnin...
license: 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"); you may not use th...
class CreateSavedBookmarks < ActiveRecord::Migration def change create_table :saved_bookmarks do |t| t.integer :list_id, null: false t.integer :bookmark_id, null: false t.timestamps null: false end end end
class Slimerjs < Formula homepage "http://www.slimerjs.org" url "http://download.slimerjs.org/releases/0.9.5/slimerjs-0.9.5-mac.tar.bz2" sha256 "4333ae1c7898789c71b65ba5767cd1781290cdad36cb64d58ef289933482c81b" head "https://github.com/laurentj/slimerjs.git" bottle do cellar :any sha1 "77b0703ee315c...
define("dojox/calendar/Touch",["dojo/_base/array","dojo/_base/lang","dojo/_base/declare","dojo/dom","dojo/dom-geometry","dojo/_base/window","dojo/on","dojo/_base/event","dojo/keys"],function(_1,_2,_3,_4,_5,_6,on,_7,_8){ return _3("dojox.calendar.Touch",null,{touchStartEditingTimer:500,touchEndEditingTimer:10000,postMix...
struct DownloadCreateInfo; class DownloadManager; class ResourceDispatcherHost; // These objects live exclusively on the download thread and handle the writing // operations for one download. These objects live only for the duration that // the download is 'in progress': once the download has been completed or // canc...
var htmlparser2 = require(".."), fs = require("fs"), path = require("path"), assert = require("assert"), Parser = htmlparser2.Parser, CollectingHandler = htmlparser2.CollectingHandler; exports.writeToParser = function(handler, options, data){ var parser = new Parser(handler, options); //first, try to r...
#ifndef TENSORFLOW_LITE_KERNELS_TEST_UTIL_H_ #define TENSORFLOW_LITE_KERNELS_TEST_UTIL_H_ #include <cmath> #include <complex> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/platform/logging.h" #include "tensorflow/lite/interpreter.h" #include "tensorflow/lite/kernels/in...
/* * Ext JS Library 2.0 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license */ html, body { height:100%; margin:0; border:0; } #tasks-grid .x-grid3-header { background: #f9f9f9 url(images/hrow.gif) repeat-x left top; } #tasks-grid .new-task-row ...
package sysinfo import ( "io/ioutil" "os" "path" "path/filepath" "testing" ) func TestReadProcBool(t *testing.T) { tmpDir, err := ioutil.TempDir("", "test-sysinfo-proc") if err != nil { t.Fatal(err) } defer os.RemoveAll(tmpDir) procFile := filepath.Join(tmpDir, "read-proc-bool") if err := ioutil.WriteFi...
module Handler.Mirror where import Import import qualified Data.Text as T getMirrorR :: Handler RepHtml getMirrorR = do defaultLayout $ do $(widgetFile "mirror") postMirrorR :: Handler RepHtml postMirrorR = do postedText <- runInputPost $ ireq textField "content" defaultLayout $ do $(widg...
<html> <head> <script src="../../../resources/js-test.js"></script> <script src="resources/webgl-test.js"></script> </head> <body> <div id="description"></div> <div id="console"></div> <script> description('Verify that reassigning typed array constructor does not crash.'); <!-- The following used to cause a crash in...
package storage import ( "fmt" "testing" "github.com/docker/distribution/context" "github.com/docker/distribution/registry/storage/driver" "github.com/docker/distribution/registry/storage/driver/inmemory" ) func testFS(t *testing.T) (driver.StorageDriver, map[string]string, context.Context) { d := inmemory.New...
package com.marshalchen.common.uimodule.ImageFilter.Distort; import com.marshalchen.common.uimodule.ImageFilter.IImageFilter; public class WaveFilter extends BilinearDistort{ double _phase; double _amplitude ; double _waveLength ; public WaveFilter(int wavelength, int amplitude){ this(waveleng...
/** Fetch status information from mysql: http://dev.mysql.com/doc/refman/5.7/en/show-status.html TODO @ruflin, 20160315 * Complete fields read * Complete template * Complete dashboards */ package status import ( "database/sql" "github.com/elastic/beats/libbeat/common" "github.com/elastic/beats/libbeat/logp" ...