text
stringlengths
3
1.05M
/* * 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...
""" Various helper functions used by PythonTurtle. """ import math import queue import sys import pkg_resources import pythonturtle def deg_to_rad(deg): """Convert degrees to radians.""" return (deg * math.pi) / 180 def rad_to_deg(rad): """Convert radians to degrees.""" return (rad / math.pi) * 180...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v6.4.2 * @link http://www.ag-grid.com/ * @license MIT */ var constants_1 = require("../constants"); var utils_1 = require('../utils'); var gridCell_1 = require("./gridCell"); var GridRow = (functio...
package sql import ( "bytes" "fmt" "golang.org/x/net/context" "github.com/cockroachdb/cockroach/pkg/sql/parser" "github.com/cockroachdb/cockroach/pkg/sql/sqlbase" "github.com/cockroachdb/cockroach/pkg/util" ) // upsertExcludedTable is the name of a synthetic table used in an upsert's set // expressions to ref...
*Historic and current US Congressional districts as GeoJSON, versioned within Git* ## Usage ### Viewing a district's history 1. Select a state from the list above 2. Select a district 3. You will see the district boundaries for the 113th congress 4. Click history 5. Select a congress to compare changes in that distr...
package io.netty.handler.codec.compression; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufInputStream; import io.netty.buffer.CompositeByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.embedded.EmbeddedChannel; import lzma.sdk.lzma.Decoder; import lzma.streams.LzmaInputStream; import o...
CREATE SEQUENCE ticker_id_seq; CREATE TABLE ticker ( id INTEGER NOT NULL DEFAULT nextval('ticker_id_seq'), market_id INTEGER NOT NULL, timestamp TIMESTAMP NOT NULL, last NUMERIC(16, 8) NOT NULL, bid NUMERIC(16, 8) NOT NULL, ask NUMERIC(16, 8) NOT NULL, PRIMARY KEY (id) ); CREATE INDEX tick...
/*! * CanvasInput v1.1.1 * http://goldfirestudios.com/blog/108/CanvasInput-HTML5-Canvas-Text-Input * * (c) 2013, James Simpson of GoldFire Studios * goldfirestudios.com * * MIT License */ (function() { // create a buffer that stores all inputs so that tabbing // between them is made possible. var in...
require 'rake/file_utils_ext' module Rake ## # DSL is a module that provides #task, #desc, #namespace, etc. Use this # when you'd like to use rake outside the top level scope. module DSL #-- # Include the FileUtils file manipulation functions in the top # level module, but mark them private so ...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sec="http://www.springframework.org/schema/security" xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util"...
@API package org.terasology.logic.particles; import org.terasology.module.sandbox.API;
"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...
' 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 Imports Microsoft.CodeAnalysis.Completion.Providers Imports Microsoft.CodeAnalysis.VisualBasic.Extensions.ContextQuery Namespace Mic...
function PlaylistItemController($rootScope, $scope, $http, $video, $favorites) { this.formatDuration = function() { return $video.formatDuration(this.video.duration); }; this.expectedPlayTime = function() { return $video.expectedPlayTime(this.video); }; this.startTime = function() { return $vide...
namespace ppapi { namespace thunk { namespace { PP_Bool IsNetworkList(PP_Resource resource) { VLOG(4) << "PPB_NetworkList_Private::IsNetworkList()"; EnterResource<PPB_NetworkList_API> enter(resource, false); return PP_FromBool(enter.succeeded()); } uint32_t GetCount(PP_Resource resource) { VLOG(4) << "PPB_Ne...
package scala.tools.selectivecps import scala.tools.nsc import nsc.Global import nsc.plugins.Plugin import nsc.plugins.PluginComponent class SelectiveCPSPlugin(val global: Global) extends Plugin { val name = "continuations" val description = "applies selective cps conversion" val pluginEnabled = options contai...
#region copyright #endregion namespace YAF.Core { #region Using using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Caching; using YAF.Types; using YAF.Types.EventProxies; using YAF.Types.Interfaces; using VZF.Utils; #endregion /// <summary...
""" Use DataFrames and SQL to count words in UTF8 encoded, '\n' delimited text received from the network every second. Usage: sql_network_wordcount.py <hostname> <port> <hostname> and <port> describe the TCP server that Spark Streaming would connect to receive data. To run this on your local machine, you need ...
if (window.jQuery) { define("jquery", [], function() { "use strict"; return window.jQuery; }); } require([ "jquery" ], function($) { "use strict"; require([ "flamsteed", "lib/core/ad_manager", "lib/page/swipe", "lib/core/authenticator", "lib/core/shopping_cart", "lib/component...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Basic Layout - jQuery EasyUI Demo</title> <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css"> <link rel="stylesheet" type="text/css" href="../../themes/icon.css"> <link rel="stylesheet" type="text/css" href="../demo.css"> <scri...
/* * 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...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > String.prototype.split (separator, limit) returns an Array object into which substrings of the result of converting this object to a string have been stored. If sepa...
package io.prometheus.client.hotspot; import io.prometheus.client.Collector; import java.lang.management.ManagementFactory; import java.lang.management.ThreadMXBean; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * Exports metrics about JVM thread areas. * <p> * Example usage...
@implementation AnimationType -(AnimationType *)initWithTitle:(NSString *)titile detailTitle:(NSString *)detailTitle{ self = [super init]; if (self) { self.title = titile; self.detailTitle = detailTitle; } return self; } @end
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="it"> <head> <!-- Generated by javadoc (version 1.7.0_01) on Tue Feb 14 20:29:41 CET 2012 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>ch.lambdaj.co...
@font-face { font-family: 'neuropol_xregular'; src: url('http://roll20.metatechnics.co.uk/resources/fonts/neuropol-x-free-webfont.eot'); src: url('http://roll20.metatechnics.co.uk/resources/fonts/neuropol-x-free-webfont.eot?#iefix') format('embedded-opentype'), url('http://roll20.metatechnics.co.uk/reso...
#include "config.h" #if HAVE_ALTIVEC_H #include <altivec.h> #endif #include <string.h> #include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/mem.h" #include "libavutil/ppc/cpu.h" #include "libavutil/ppc/types_altivec.h" #include "libavcodec/blockdsp.h" /* ***** WARNING ***** WARNING *****...
class UseBuilder { void test(Builder builder, int[] arr) { newMethod(builder, arr[0]); } private void newMethod(Builder builder, int x) { builder.foo("xyz").bar(x).foo("abc"); } static class Builder { Builder foo(String s) { return this; } Build...
<html lang="en"> <head> <title>MMIX-Dependent - Using as</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Using as"> <meta name="generator" content="makeinfo 4.11"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Machine-Dependencies.html#Machine-D...
title: Creating SSH Keys on macOS Sierra slug: ssh-keys-macos-sierra meta: Learn how to quickly create new SSH keys on macOS Sierra. category: post date: 2017-02-20 modified: 2017-04-28 newsletter: False headerimage: /img/170220-ssh-keys-macos/header.jpg headeralt: Apple logo, copyright Apple. [Deploying](/deployment...
package com.pointr.tcp.xfer import java.nio.ByteBuffer import java.util.concurrent.atomic.AtomicInteger import com.pointr.tcp.rpc.TcpParams import com.pointr.tcp.util.Logger._ import com.pointr.tcp.rpc._ case class CompleteReadReq(value: XferConfig) extends P2pReq[XferConfig] case class PrepReadReq(value: XferConfi...
class Solution(object): def reverseList(self, head): """ :type head: ListNode :rtype: ListNode """ dummy = ListNode(0) dummy.next = head while head and head.next: p = head.next head.next = p.next p.next = dummy.next...
using System.IO; using ValveKeyValue; using ValveResourceFormat.Blocks; namespace ValveResourceFormat.ResourceTypes { public class BinaryKV1 : ResourceData { public const int MAGIC = 0x564B4256; // VBKV public override BlockType Type => BlockType.DATA; public KVObject KeyValues { get;...
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
/* 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...
package io.netty.handler.proxy; enum TestMode { INTERMEDIARY, TERMINAL, UNRESPONSIVE, }
using System.Collections.Generic; using System.IO; namespace Lucene.Net.Util { /// <summary> /// A simple iterator interface for <seealso cref="BytesRef"/> iteration. /// </summary> public interface BytesRefIterator { /// <summary> /// Increments the iteration to the next <see...
vhd_srcs=$(wildcard *.vhd_source) vhd_files=$(vhd_srcs:.vhd_source=.vhd) .PHONY: all config clean vhdl all: config config: ./action_config.sh clean: @$(RM) $(vhd_files) vhdl: # # FIXME Consider moving the functionality from action_config.sh into # this Makefile. This also allows to define a proper clean ru...
CHANGELOG ========= ## HEAD (Unreleased) _(none)_ -------------------- ## 4.11.4 (2015-01-23) * @heff exported missing source handler functions ([view](https://github.com/videojs/video.js/pull/1787)) * @heff fixed type support checking for an empty src string ([view](https://github.com/videojs/video.js/pull/1797)) *...
// // OAToken.m // OAuthConsumer // // Created by Jon Crosby on 10/19/07. // Copyright 2007 Kaboomerang LLC. All rights reserved. // // 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 ...
package org.elasticsearch.index.aliases; import org.apache.lucene.search.BooleanClause; import org.apache.lucene.search.BooleanQuery; import org.apache.lucene.search.Query; import org.elasticsearch.cluster.metadata.AliasMetaData; import org.elasticsearch.common.Nullable; import org.elasticsearch.common.collect.Immut...
def cheese_and_crackers(cheese_count, boxes_of_crackers): # print the number of cheeses print "You have %d cheeses!" % cheese_count # print the number of boxes print "You have %d boxes of crackers!" % boxes_of_crackers # print your party animal street cred print "Man that's enough for a party!" ...
module Bourbon class Engine < Rails::Engine # auto wire end end
class ArticleCategory < ApplicationRecord include Fae::BaseModelConcern acts_as_list add_new_at: :top default_scope { order(:position) } has_many :articles validates :name, presence: true def fae_display_field name end end
package taskinit import ( "time" "github.com/docker/swarmkit/api" "github.com/docker/swarmkit/api/defaults" "github.com/docker/swarmkit/log" "github.com/docker/swarmkit/manager/orchestrator/restart" "github.com/docker/swarmkit/manager/state/store" gogotypes "github.com/gogo/protobuf/types" "golang.org/x/net/c...
pip3 install mock --user pip3 install protobuf==3.20.1 --user pip3 install fastavro --user CUR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" PULSAR_HOME="$( cd "$CUR_DIR/../../../../" >/dev/null && pwd )" # run instance tests PULSAR_HOME=${PULSAR_HOME} PYTHONPATH=${PULSAR_HOME}/pulsar-functions/i...
<?php namespace Drupal\system\Tests\Ajax; /** * Performs tests on AJAX forms in cached pages. * * @group Ajax */ class AjaxFormPageCacheTest extends AjaxTestBase { /** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $config = $this->config('system.performance'); $config->s...
* Pumped version to v0.6.0 * Allow defining custom transport methods [ec5b48ce] * Return messageId with responseObject for all built in transport methods [74445cec] * Bumped dependency versions for mailcomposer and readable-stream [9a034c34] * Changed pickup argument name to 'directory' [01c3ea53] * Added s...
/* @file * Device model for Intel's I/O Acceleration Technology (I/OAT). * A DMA asyncronous copy engine */ #ifndef __DEV_PCI_COPY_ENGINE_HH__ #define __DEV_PCI_COPY_ENGINE_HH__ #include <vector> #include "base/statistics.hh" #include "dev/pci/copy_engine_defs.hh" #include "dev/pci/device.hh" #include "params/C...
/** * Expose `Progress`. */ module.exports = Progress; /** * Initialize a new `Progress` indicator. */ function Progress() { this.percent = 0; this.size(0); this.fontSize(11); this.font('helvetica, arial, sans-serif'); } /** * Set progress size to `n`. * * @param {Number} n * @return {Progress} for ...
package com.google.i18n.pseudolocalization; import com.google.i18n.pseudolocalization.message.MessageVisitor; /** * A method which processes a message and alters it to perform * pseudolocalization. */ public interface PseudolocalizationMethod extends MessageVisitor { }
"""SCons.Node The Node package for the SCons software construction utility. This is, in many ways, the heart of SCons. A Node is where we encapsulate all of the dependency information about any thing that SCons can build, or about any thing which SCons can use to build some other thing. The canonical "thing," of co...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * PDO Utility Class * * @package CodeIgniter * @subpackage Drivers * @category Database * @author EllisLab Dev Team * @link https://codeigniter.com/database/ */ class CI_DB_pdo_utility extends CI_DB_utility { /** ...
package org.epnoi.storage.column.repository; import org.epnoi.storage.column.domain.DomainColumn; import org.springframework.data.cassandra.repository.Query; /** * Created by cbadenes on 21/12/15. */ public interface DomainColumnRepository extends BaseColumnRepository<DomainColumn> { //Future Version of Spring...
"use strict"; var NeverObservable_1 = require('./NeverObservable'); exports.never = NeverObservable_1.NeverObservable.create; //# sourceMappingURL=never.js.map
using UnityEngine; using AllJoynUnity; using System.Runtime.InteropServices; namespace basic_server { class BasicServer { private const string INTERFACE_NAME = "org.alljoyn.Bus.sample"; private const string SERVICE_NAME = "org.alljoyn.Bus.sample"; private const string SERVICE_PATH = "/sample"; private const ...
<?php final class CeleritySpriteGenerator extends Phobject { public function buildMenuSheet() { $sprites = array(); $colors = array( 'dark', 'light', ); $sources = array(); foreach ($colors as $color) { $sources[$color.'-logo'] = array( 'x' => 96, 'y' => 40, ...
/*global defineSuite*/ defineSuite([ 'Scene/CreditDisplay', 'Core/Credit' ], function( CreditDisplay, Credit) { "use strict"; /*global jasmine,describe,xdescribe,it,xit,expect,beforeEach,afterEach,beforeAll,afterAll,spyOn,runs,waits,waitsFor*/ var container; var ima...
/// Copyright (c) 2012 Ecma International. All rights reserved. /** * @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-580.js * @description ES5 Attributes - Inherited property is enumerable (Boolean instance) */ function testcase() { var data = "data"; try { Object.defineProperty(Boolean.p...
package geomesa.core.iterators import collection.JavaConversions._ import collection.JavaConverters._ import com.vividsolutions.jts.geom.{Polygon, Geometry} import geomesa.core.data.SimpleFeatureEncoder import geomesa.core.index._ import geomesa.utils.text.WKTUtils import java.util import org.apache.accumulo.core.Co...
@(info: lila.i18n.TransInfo, form: Form[_], keys: lila.i18n.I18nKeys, baseLang: Lang, rawTrans: String => Option[String], captcha: lila.common.Captcha, data: Map[String, String], context: Map[String, String])(implicit ctx: Context) @side = { <br /> <a href="@routes.I18n.contribute">View all languages</a> } @i18n.layo...
package org.springframework.boot.test.mock.mockito; import java.lang.reflect.Method; import java.util.List; import org.mockito.ArgumentMatcher; import org.mockito.internal.matchers.LocalizedMatcher; import org.mockito.internal.progress.ArgumentMatcherStorage; import org.mockito.internal.progress.MockingProgress; im...
package org.pentaho.di.ui.repo; import org.pentaho.di.repository.Repository; public interface IConnectedRepositoryInstance { Repository getConnectedRepositoryInstance(); }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" co...
/** * angular-strap * @version v2.0.0 - 2014-04-07 * @link http://mgcrea.github.io/angular-strap * @author Olivier Louvignes (olivier@mg-crea.com) * @license MIT License, http://www.opensource.org/licenses/MIT */ "use strict";angular.module("mgcrea.ngStrap.dropdown").run(["$templateCache",function(e){e.put("dropd...
<?php namespace Zend\Db\Adapter\Driver\Oci8; use Zend\Db\Adapter\Driver\ConnectionInterface; use Zend\Db\Adapter\Exception; use Zend\Db\Adapter\Profiler; class Connection implements ConnectionInterface, Profiler\ProfilerAwareInterface { /** * @var Oci8 */ protected $driver = null; /** * ...
package de.danoeh.antennapod.core.util.exception; import de.danoeh.antennapod.core.feed.FeedMedia; public class MediaFileNotFoundException extends Exception { private static final long serialVersionUID = 1L; private FeedMedia media; public MediaFileNotFoundException(String msg, FeedMedia media) { super(msg); ...
package gov.faa.ang.swac.common.flightmodeling; import org.junit.Ignore; import org.junit.Test; public class AircraftTest { // public static Aircraft dummy(int seed) // { // char letter = (char) seed; // letter += 'A'; // // PhysicalClass[] physicalClasses = { PhysicalClass.J, PhysicalClass.J, PhysicalClass.J ...
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="48dp" android:height="48dp" android:viewportWidth="48" android:viewportHeight="48" android:tint="?attr/colorControlNormal"> <path android:fillColor="@android:color/white" android:pathData="M24.8,35.75 L6....
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- ~ Copyright (c) 2009, 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 obtai...
/** * @interface */ WebInspector.FlameChartDelegate = function() { } WebInspector.FlameChartDelegate.prototype = { /** * @param {number} startTime * @param {number} endTime */ requestWindowTimes: function(startTime, endTime) { } } /** * @constructor * @extends {WebInspector.HBox} * @para...
#ifdef USE_TI_UITABLEVIEW #import "TiUITableView.h" #import "TiUtils.h" #import "Webcolor.h" #import "WebFont.h" #import "ImageLoader.h" #import "TiProxy.h" #import "TiViewProxy.h" #define DEFAULT_SECTION_HEADERFOOTER_HEIGHT 20.0 @implementation TiUITableViewCell @synthesize hitPoint,proxy; #pragma mark Touch event...
namespace policy { ContextualSearchPolicyHandlerAndroid::ContextualSearchPolicyHandlerAndroid() : TypeCheckingPolicyHandler(key::kContextualSearchEnabled, base::Value::TYPE_BOOLEAN) {} ContextualSearchPolicyHandlerAndroid::~ContextualSearchPolicyHandlerAndroid() { } void Contextua...
namespace TestCases.HSSF.Record { using System; using NPOI.HSSF.Record; using NPOI.SS.Util; using NUnit.Framework; using NPOI.HSSF.Record.Aggregates; using System.Collections; using NPOI.HSSF.Model; /** * Make sure the merge cells record behaves * @author Danny Mui (dmui a...
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
/** * Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a> */ #ifndef CONF_CLOCK_H_INCLUDED #define CONF_CLOCK_H_INCLUDED #endif /* CONF_CLOCK_H_INCLUDED */
// Copyright 2014 The Chromium Authors. 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.chromium.base.library_loader; import android.annotation.TargetApi; import android.content.Context; import android.content.pm.ApplicationInfo;...
package io.github.michaelfedora.fedoraseconomy.cmdexecutors.fedoraseconomy.user; import io.github.michaelfedora.fedoraseconomy.PluginInfo; import io.github.michaelfedora.fedoraseconomy.cmdexecutors.FeExecutorBase; import io.github.michaelfedora.fedoraseconomy.economy.account.FeUniqueAccount; import org.spongepowered.a...
package org.apache.hadoop.hdfs.qjournal.client; import static org.junit.Assert.*; import java.io.IOException; import java.net.InetSocketAddress; import java.net.URI; import java.util.Random; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.apache.hadoop.conf.Configuration; import org.apache.hadoo...
[![NPM version][npm-image]][npm-url] [![NPM downloads][downloads-image]][downloads-url] [![Build status][travis-image]][travis-url] [![Test coverage][coveralls-image]][coveralls-url] Lower case a string. Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a `toString` property, numbe...
package metaonly import ( "encoding/json" "reflect" "testing" "k8s.io/apimachinery/pkg/api/meta" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/runtime/serializer" _ "k8s.io/kubernetes/pkg/api/install" "k8s....
package tools import ( "io/ioutil" "os" "os/exec" "path/filepath" "runtime" "testing" "github.com/bitrise-io/envman/models" "github.com/bitrise-io/bitrise/configs" "github.com/bitrise-io/go-utils/command" "github.com/bitrise-io/go-utils/pathutil" "github.com/stretchr/testify/require" ) func TestMoveFile(...
const findCacheDir = require('find-cache-dir'); module.exports = { // Don't try to find .babelrc because we want to force this configuration. babelrc: false, // This is a feature of `babel-loader` for webpack (not Babel itself). // It enables a cache directory for faster-rebuilds // `find-cache-dir` will c...
#include "matwm.h" client **clients = NULL, **stacking = NULL, *current = NULL, *previous = NULL; /* stacking is sorted from top to bottom */ int cn = 0, nicons = 0; /* cn keeps the number of clients, of wich nicons are iconic */ void client_add(Window w, bool mapped) { XWindowAttributes attr; int i, wm_state, stat...
import React, { Component } from 'react'; import { View, Image, Modal, TouchableOpacity, DeviceEventEmitter } from 'react-native'; import Swiper from 'react-native-swiper'; import Utils from '../../../js/utils'; import styles from '../../../css/styles'; export default class ViewSwiper extends Com...
struct BrowserPluginHostMsg_CreateGuest_Params; namespace content { class BrowserPluginEmbedder; class BrowserPluginGuest; class RenderViewHost; class WebContentsImpl; // Factory to create BrowserPlugin embedder and guest. class CONTENT_EXPORT BrowserPluginHostFactory { public: virtual BrowserPluginGuestManager* ...
<?php namespace Cake\Cache\Engine; use Cake\Cache\CacheEngine; /** * Wincache storage engine for cache * * Supports wincache 1.1.0 and higher. */ class WincacheEngine extends CacheEngine { /** * Contains the compiled group names * (prefixed with the global configuration prefix) * * @var ...
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Tests\Integration\Bulkexports\V1\Export; use Twilio\Exceptions\DeserializeException; use Twilio\Exceptions\TwilioException; use Twilio\Http\Response; use Twilio\Tests\HolodeckTestCase; ...
 CKEDITOR.plugins.setLang('placeholder','eo',{placeholder:{title:'Atributoj de la rezervita spaco',toolbar:'Krei la rezervitan spacon',text:'Texto de la rezervita spaco',edit:'Modifi la rezervitan spacon',textMissing:'La rezervita spaco devas enteni tekston.'}});
class TomcatNative < Formula desc "Lets Tomcat use some native resources for performance" homepage "https://tomcat.apache.org/native-doc/" url "https://www.apache.org/dyn/closer.cgi?path=tomcat/tomcat-connectors/native/1.1.33/source/tomcat-native-1.1.33-src.tar.gz" mirror "https://archive.apache.org/dist/tomcat...
"""Dummy Socks5 server for testing.""" import socket import threading import queue import logging logger = logging.getLogger("TestFramework.socks5") # Protocol constants class Command: CONNECT = 0x01 class AddressType: IPV4 = 0x01 DOMAINNAME = 0x03 IPV6 = 0x04 # Utility functions def recvall(s, n):...
<?xml version="1.0"?> <doc> <assembly> <name>xunit.runner.utility</name> </assembly> <members> <member name="T:Xunit.ExecutorWrapper"> <summary> Wraps calls to the Executor. Used by runners to perform version-resilient test enumeration and execution. ...
goog.provide('goog.i18n.currencyTest'); goog.setTestOnly('goog.i18n.currencyTest'); goog.require('goog.i18n.NumberFormat'); goog.require('goog.i18n.currency'); goog.require('goog.i18n.currency.CurrencyInfo'); goog.require('goog.object'); goog.require('goog.testing.PropertyReplacer'); goog.require('goog.testing.jsunit'...
You can create todos in Foam. - [x] This is an example of a todo list item that's complete - [ ] This one is not completed yet - [ ] You can mark it completed by pressing `Option`+`C` (or `Alt`+`C`) when your cursor is on this line - [ ] You can also select multiple lines and mark them all at once!
package hudson.maven; import hudson.Extension; import hudson.util.DescriptorList; import java.util.ArrayList; import java.util.List; /** * @author Kohsuke Kawaguchi * @see MavenReporter */ public final class MavenReporters { /** * List of all installed {@link MavenReporter}s. * * @deprecated a...
package packet // ArtRdmPacket contains an ArtRdm Packet.
#ifndef CAMERA_H #define CAMERA_H #include <cplugin.h> #include <QtCore> #include <QQuickView> #include <QCamera> #include <QtMultimediaWidgets/QCameraViewfinder> #include <QCameraImageCapture> class Camera: public CPlugin { Q_OBJECT public: explicit Camera(Cordova *cordova); virtual const QString ful...
// File: ecspi_iomux_config.c /* ------------------------------------------------------------------------------ * <auto-generated> * This code was generated by a tool. * Runtime Version:3.4.0.0 * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. ...
package scal.io.liger.model; import timber.log.Timber; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.util.Log; import com.google.gson.annotations.Expose; import java.util.ArrayList; import java.util.UUID; import scal.io.liger....
/**************************************************************************/ /*! @file common.h @author hathach (tinyusb.org) @section LICENSE Software License Agreement (BSD License) Copyright (c) 2013, K. Townsend (microBuilder.eu) All rights reserved. Redistribution and use in s...