text
stringlengths
2
1.04M
meta
dict
<!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_112) on Tue Jan 24 09:55:19 CST 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Email (Play! API)</ti...
{ "content_hash": "2f9e9905412304fa1f5b04a994bef53a", "timestamp": "", "source": "github", "line_count": 223, "max_line_length": 691, "avg_line_length": 41.24215246636771, "alnum_prop": 0.6411873436990323, "repo_name": "chvrga/outdoor-explorer", "id": "19899aafd02000095c096aaf71b781fda6b424d7", "siz...
require 'rails_helper' describe AgentType do # pending "add some examples to (or delete) #{__FILE__}" end # == Schema Information # # Table name: agent_types # # id :bigint not null, primary key # name :string not null # display_name :text # note :text # position ...
{ "content_hash": "d2699c00528acb7308441f1e684f90b4", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 58, "avg_line_length": 22.157894736842106, "alnum_prop": 0.5700712589073634, "repo_name": "next-l/enju_leaf", "id": "0c9e714213d5b46d45b2c7bfef0226b3678c9057", "size": "421...
package com.tagmycode.plugin.gui; import java.awt.*; public class CenterLocation { private final int x; private final int y; public CenterLocation(Frame frame, Window window) { this(frame, window, CenterLocationType.CENTER_FRAME); } public CenterLocation(Frame frame, Window window, Cente...
{ "content_hash": "4240ec87d6fee7470354db4ddbb2dec2", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 94, "avg_line_length": 28, "alnum_prop": 0.575, "repo_name": "massimozappino/tagmycode-java-plugin-framework", "id": "23117be97569a6c860aa28e57241ca4170af094f", "size": "11...
namespace Microsoft.ApplicationInsights.Wcf.Implementation { using System; using System.Collections.Generic; using System.ServiceModel.Description; internal class ClientContract { private IDictionary<string, ClientOperation> dictionary; public ClientContract(Type contractType) ...
{ "content_hash": "0b7e65c2f44f1d4881ca2e62934e9dad", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 87, "avg_line_length": 32.53658536585366, "alnum_prop": 0.6154422788605697, "repo_name": "Microsoft/ApplicationInsights-SDK-Labs", "id": "558d07e0221a4014c2009b353b2f9fb5c29b...
name: cljs.core/divide see also: --- ## Summary ## Details ## Examples
{ "content_hash": "61f3838ede447824ebdeb98059868fac", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 22, "avg_line_length": 8.222222222222221, "alnum_prop": 0.6351351351351351, "repo_name": "cljsinfo/cljs-api-docs", "id": "ed6f279f86357d938995de4382a517ddc3c048bf", "size": ...
from marketing_notifications_python.twilio import account_sid, auth_token, phone_number from twilio import twiml from twilio.rest import TwilioRestClient class TwilioServices: twilio_client = None def __init__(self): if TwilioServices.twilio_client is None: TwilioServices.twilio_client = ...
{ "content_hash": "bf2ac65fd6ea6f5e76853285338ac944", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 88, "avg_line_length": 30.333333333333332, "alnum_prop": 0.6565934065934066, "repo_name": "devopsec/threatdetectionservice", "id": "bf3a2df899f0b4c7c9e94dcaa993414dce3a6e4f",...
from . import * # so we don't have to type ndg.graph.graph(), etc., to get the classes from .annotate.annotate import annotate as annotate from .assess.assess import plot as plot from .assess import assess as assess from .algorithms import algorithms as algorithms from .utils import utils as utils from .algorithms imp...
{ "content_hash": "2cbb8334aaedf1d8af95f8497b51172e", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 70, "avg_line_length": 34.7, "alnum_prop": 0.7723342939481268, "repo_name": "neurodata/ndparse", "id": "6c167ace60fa3695d9c365eef27ab079f0be7f0c", "size": "347", "binary"...
#import <WebCore/DOMObject.h> #import <WebCore/DOMNodeFilter-Protocol.h> // Not exported @interface DOMNodeFilter : DOMObject <DOMNodeFilter> { } - (short)acceptNode:(id)arg1; - (void)finalize; - (void)dealloc; @end
{ "content_hash": "8bf94db7e5c733146d4c3a742f085739", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 52, "avg_line_length": 13.117647058823529, "alnum_prop": 0.7174887892376681, "repo_name": "matthewsot/CocoaSharp", "id": "9587e9789ed67c57486046353674845a21d59364", "size":...
package com.github.zion.accounts; import com.google.inject.Key; import com.google.inject.Provider; import com.google.inject.Scope; import java.util.Map; /** * Base scope class */ public abstract class ScopeBase implements Scope { private static final Provider<Object> SEEDED_KEY_PROVIDER = new Provider<Object...
{ "content_hash": "a9d99605c103dd3825317646c87283cd", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 88, "avg_line_length": 28.30909090909091, "alnum_prop": 0.5850995504174695, "repo_name": "DeLaSalleUniversity-Manila/ForkHub-macexcel", "id": "0c825dcd744be77f94827d20483a31b...
<!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"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "c21ce80962171e26bf966889ff44f21d", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 402, "avg_line_length": 48.648648648648646, "alnum_prop": 0.6877777777777778, "repo_name": "sintefneodroid/droid", "id": "0efb155ff2a7374efd1503a58792fd90ac4412ca", "size"...
#include "CPUTOSServicesWin.h" #include "tchar.h" CPUTOSServices* CPUTOSServices::mpOSServices = NULL; // Constructor //----------------------------------------------------------------------------- CPUTOSServices::CPUTOSServices():mhWnd(NULL) { //mCPUTMediaDirectory.clear(); mCPUTResourceDirectory.c...
{ "content_hash": "a1b396aed530ab5e2290f2358a2d1cdc", "timestamp": "", "source": "github", "line_count": 475, "max_line_length": 163, "avg_line_length": 34.24842105263158, "alnum_prop": 0.5659577083845586, "repo_name": "GameTechDev/CloudsGPUPro6", "id": "7136804617bd3f4f4a16ba59bfcf065bb6fcef52", "s...
This is a my first Android application. For testing purposes... Content of this file will be updated periodically...
{ "content_hash": "6f81d980d3e903b66740afaa7317929e", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 63, "avg_line_length": 39, "alnum_prop": 0.7863247863247863, "repo_name": "dimkas71/CommercialAgent", "id": "0a1869476e0a0f0b56d62c7d14551f035e2a1d45", "size": "117", "bin...
var window = Ti.UI.createWindow({ backgroundColor:'white' }); var label = Ti.UI.createLabel(); window.add(label); window.open(); // TODO: write your module tests here var tieventkit = require('ti.eventkit'); Ti.API.info("module is => " + tieventkit); label.text = tieventkit.example(); Ti.API.info("module examplePro...
{ "content_hash": "3e29f52090b76f3353bf78b0df29b503", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 78, "avg_line_length": 28.05, "alnum_prop": 0.7112299465240641, "repo_name": "okpala/IowaAlumni--iPhone-", "id": "3f175ebc2847cf0750e0a63192e232b1f042c8a4", "size": "781", ...
<?php namespace ConnectHolland\PiccoloContentBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; /** * Piccolo content bundle * * @author Arthur Hoek <arthur@connectholland.nl> */ class ConnectHollandPiccoloContentBundle extends Bundle { }
{ "content_hash": "51edb0985a3de44d427d73e6105dc733", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 55, "avg_line_length": 16.933333333333334, "alnum_prop": 0.7755905511811023, "repo_name": "TimGroenenberg/PiccoloContentBundle", "id": "ac1df79958ecb8c6ca7b8a1c7f409b43617c77...
package com.facebook.buck.cxx; import com.facebook.buck.android.packageable.AndroidPackageable; import com.facebook.buck.android.packageable.AndroidPackageableCollector; import com.facebook.buck.android.toolchain.ndk.NdkCxxPlatform; import com.facebook.buck.core.model.BuildTarget; import com.facebook.buck.core.model...
{ "content_hash": "ebbf3d24fb2e18903047abdc01bee9fc", "timestamp": "", "source": "github", "line_count": 188, "max_line_length": 97, "avg_line_length": 41.329787234042556, "alnum_prop": 0.777992277992278, "repo_name": "JoelMarcey/buck", "id": "69134498351821c5a4271ee829c3c9bb615a734a", "size": "8386...
The `jaxrs` library adds tooling to implement JAX-RS web services. It combines the powers of the Spring framework, the Apache CXF framework, the Jackson JSON mapper and the Eclipse Jetty web server. To include it add the maven dependency to your POM file. It will then automatically configure a Jetty web server running...
{ "content_hash": "33cc23328ce20fe95adc90445463bd3e", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 154, "avg_line_length": 52.84057971014493, "alnum_prop": 0.8008776741634668, "repo_name": "taimos/dvalin", "id": "06b041168157ee981d9f943ffcd30bd3547097ca", "size": "3657",...
package us.kbase.typedobj.core; import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; import java.math.BigInteger; import com.fasterxml.jackson.core.Base64Variant; import com.fasterxml.jackson.core.JsonGenerationException; import com.fasterxml.jackson.core.JsonGenerator; import com.fast...
{ "content_hash": "276999e6ea53ed04616090a75f2f9b31", "timestamp": "", "source": "github", "line_count": 246, "max_line_length": 78, "avg_line_length": 21.410569105691057, "alnum_prop": 0.7748243782039111, "repo_name": "kbase/workspace_deluxe", "id": "37c45470a18ccfbe012873d53de8919350d1040e", "size...
using System; using System.Threading; using System.Threading.Tasks; namespace NStore.Core.Persistence { public class WriteJob : IChunk { public enum WriteResult { None, Committed, DuplicatedIndex, DuplicatedOperation, DuplicatedPositio...
{ "content_hash": "0256330d682b4d7b422fa3bb60a0229d", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 91, "avg_line_length": 24.65, "alnum_prop": 0.5632183908045977, "repo_name": "ProximoSrl/NStore", "id": "f8117c729be1c11883e99f2f92f1904c9ce95b8a", "size": "1479", "binar...
package cmd import ( "github.com/cilium/cilium/pkg/kvstore" "github.com/spf13/cobra" ) var kvstoreDeleteCmd = &cobra.Command{ Use: "delete [options] <key>", Short: "Delete a key", Example: "cilium kvstore delete --recursive foo", Run: func(cmd *cobra.Command, args []string) { setupKvstore() if len(a...
{ "content_hash": "6933fcd631c1834beae41a5b777e7c55", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 85, "avg_line_length": 22.37142857142857, "alnum_prop": 0.6500638569604087, "repo_name": "eloycoto/cilium", "id": "ffed7c636d9dbc04d784e4e458230f4852df3f5f", "size": "1378"...
::: tip Vue.js reactivity system is based on [ES5 getter/setters](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get) which have limitations. In the future, Vue will use [ES6 proxies](https://caniuse.com/#feat=proxy) for it's reactivity system, and the limitations below will disappear :tad...
{ "content_hash": "f65cdbfbf4479b4b6f110cbec2417ada", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 184, "avg_line_length": 30.83783783783784, "alnum_prop": 0.6923751095530236, "repo_name": "Axellience/vue-gwt", "id": "e6579c3006ae0f109e65d0e70928082452258902", "size": "...
 namespace _07.CakeIngridients { using System; public class Program { public static void Main() { string ingridient = ""; int countOfIngridients = 0; while (true) { ingridient = Console.ReadLine(); if (ingrid...
{ "content_hash": "99df6a4a134af447f53a8df1299c5811", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 88, "avg_line_length": 22.535714285714285, "alnum_prop": 0.4595879556259905, "repo_name": "DannyBerova/Exercises-Programming-Fundamentals-Extended-May-2017", "id": "e3f0a69ac...
namespace Spore3D { ObjectManager *ObjectManager::getInstance() { static ObjectManager _instance; return &_instance; } ObjectManager::_ObjectCreate ObjectManager::_objectCreate; ObjectManager::_ObjectCreate::_ObjectCreate() { ObjectManager::getInstance(); } ...
{ "content_hash": "1478ef3a4ff191fc379756675533f4d7", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 186, "avg_line_length": 46.45112781954887, "alnum_prop": 0.6691485917772741, "repo_name": "pgdnxu/Spore3D", "id": "1b62ed4af4f7c3b9b118aa167a71bf32f0140f46", "size": "7187...
require 'test_helper' class RemoteBraintreeBlueTest < Test::Unit::TestCase def setup @gateway = BraintreeGateway.new(fixtures(:braintree_blue)) @braintree_backend = @gateway.instance_eval{@braintree_gateway} @amount = 100 @declined_amount = 2000_00 @credit_card = credit_card('5105105105105100') ...
{ "content_hash": "b61232fb7ee53463cb303635e3b25f85", "timestamp": "", "source": "github", "line_count": 715, "max_line_length": 167, "avg_line_length": 42.723076923076924, "alnum_prop": 0.702851343830818, "repo_name": "chargify/active_merchant", "id": "e78bce9c7b0ef3e1032603ac446e66d3c3533fa1", "si...
/** * Created by aleckim on 2016. 2. 19.. * controllerTown에서 short의 time table을 0~21 에서 3~24시로 변경한 클래스임. */ 'use strict'; var async = require('async'); var request = require('request'); var ControllerTown = require('../controllers/controllerTown'); var kmaTimeLib = require('../lib/kmaTimeLib'); var UnitConverter ...
{ "content_hash": "c22c7b0aab738adc8c81b1ca8cbf54d7", "timestamp": "", "source": "github", "line_count": 2158, "max_line_length": 143, "avg_line_length": 35.549582947173306, "alnum_prop": 0.4838886281870796, "repo_name": "skywlrl/TodayWeather", "id": "c007665a821dab42b306da07ab5d7258ca67d3be", "size...
using System; namespace Alachisoft.NGroups { [Serializable] public class TimeoutException:System.Exception { public System.Collections.IList failed_mbrs = null; // members that failed responding public TimeoutException():base("TimeoutExeption") { } public TimeoutException(string msg):base(msg) { ...
{ "content_hash": "26626beedf7aba835bb04e430d565d47", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 87, "avg_line_length": 21.485714285714284, "alnum_prop": 0.6914893617021277, "repo_name": "Alachisoft/NCache", "id": "1120b9a0489520372a5a1e7524fc5f6062b84eaf", "size": "82...
@implementation UADDBUpdateItemResponse @synthesize attributes=_attributes, consumedCapacity=_consumedCapacity, itemCollectionMetrics=_itemCollectionMetrics; - (id)init { if (self = [super init]) { [self UA_addDDBKeyValueAdditionalAccessorForSelector:@selector(attributeValueForAttributeName:) propertyName:@...
{ "content_hash": "b1623d2eed033d387e0a077585b1aecd", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 126, "avg_line_length": 27.404255319148938, "alnum_prop": 0.7756211180124224, "repo_name": "unsignedapps/ua-aws-sdk-ios", "id": "8ae1eddff66b617543f92db0c0dc6f86b6e8f6bf", ...
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="SinglePlayerGames.html" type="JavascriptDebugType" factoryName="JavaScript Debug" nameIsGenerated="true" uri="http://localhost:63342/WE-Bowler-html5/src/SinglePlayerGames.html"> <method /> </configuration> </component>
{ "content_hash": "3917d9586f247cd70d5513c41ee9347b", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 216, "avg_line_length": 62.6, "alnum_prop": 0.7891373801916933, "repo_name": "WhiteWolf1776/WE-Bowler-html5", "id": "df06340119f843ab40fd00200f86a64c211883df", "size": "313"...
package edu.harvard.iq.dataverse.confirmemail; /** * * @author bsilverstein */ public class ConfirmEmailException extends Exception { public ConfirmEmailException(String message) { super(message); } public ConfirmEmailException(String message, Throwable cause) { super(message, cause); ...
{ "content_hash": "2b345a71ae69458405fcfbf06eb902e7", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 67, "avg_line_length": 19.352941176470587, "alnum_prop": 0.6960486322188449, "repo_name": "JayanthyChengan/dataverse", "id": "add7cd922fbde2cb7c6104ee3035a8f05f2a4312", "si...
/* */ 'use strict'; Object.defineProperty(exports, "__esModule", {value: true}); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin'); var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMixi...
{ "content_hash": "bb7cd34b5db6cd95da7421df13e25693", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 157, "avg_line_length": 44.96, "alnum_prop": 0.7046263345195729, "repo_name": "nayashooter/ES6_React-Bootstrap", "id": "9372c4ff10c98870cbefc79ac1f3bdb4db4056c3", "size": "...
<?xml version="1.0" standalone="yes"?> <CalibrationProject> <xs:schema id="CalibrationProject" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xs:element name="CalibrationProject" msdata:IsDataSet="true" msdata:UseCurrentLocale="true"> <xs:complexTy...
{ "content_hash": "8db210f3f94eeacd37d5a1e59f5b4926", "timestamp": "", "source": "github", "line_count": 311, "max_line_length": 142, "avg_line_length": 45.82636655948553, "alnum_prop": 0.6956216671344373, "repo_name": "amarburg/camera_undistort", "id": "78e67d30d42220bb4cafd19f1df9ed87f899dd1b", "s...
#define SQUID_UNIT_TEST 1 #include "squid.h" #include "testStoreSupport.h" #include "event.h" #include "EventLoop.h" #include "SquidTime.h" /* construct a stock loop with event dispatching, a time service that advances * 1 second a tick */ StockEventLoop::StockEventLoop() : default_time_engine(TimeEngine()) { ...
{ "content_hash": "1c6785b6f6b5e68dda720b9afe46cf1f", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 78, "avg_line_length": 22.88888888888889, "alnum_prop": 0.7378640776699029, "repo_name": "spaceify/spaceify", "id": "89664c54936b771dd28cd65e32c1b900246df12d", "size": "181...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Data; namespace RimTrans.Lite.Converters { class EnumerationToBoolean : IValueConverter { public object Convert(obj...
{ "content_hash": "f9e429f362a78d5ee7c5e9d35bc08e9e", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 103, "avg_line_length": 27.291666666666668, "alnum_prop": 0.7022900763358778, "repo_name": "duduluu/RimTrans", "id": "b85340b55f833b07a424493feead08785e55d391", "size": "65...
package org.apache.camel.component.netty4.http; import java.util.ArrayList; import java.util.List; import io.netty.channel.ChannelHandler; import org.apache.camel.RuntimeCamelException; import org.apache.camel.component.netty4.NettyConfiguration; import org.apache.camel.spi.UriParam; import org.apache.camel.spi.UriP...
{ "content_hash": "8e2445fc824e6ce081dff3fd5337d338", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 93, "avg_line_length": 28.815028901734102, "alnum_prop": 0.6944834503510532, "repo_name": "logzio/camel", "id": "39fe13517b86db2ade47c7d3bf74c24397841d80", "size": "5788",...
FROM ubuntu:bionic # setup timezone RUN echo 'Etc/UTC' > /etc/timezone && \ ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime && \ apt-get update && \ apt-get install -q -y --no-install-recommends tzdata && \ rm -rf /var/lib/apt/lists/* # install packages RUN apt-get update && apt-get install -q -y --n...
{ "content_hash": "402e715c92164789d9b027adcbb63698", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 137, "avg_line_length": 28.61111111111111, "alnum_prop": 0.683495145631068, "repo_name": "ruffsl/docker_images", "id": "f24cca3dfd459fa396078ee908e8cc8e7744652c", "size": "...
<?php error_reporting(E_STRICT | E_ALL); require_once 'Google/Api/Ads/Common/Util/DeprecationUtils.php'; /** * Unit tests for {@link DeprecationUtils}. * @group small */ class DeprecationUtilsTest extends PHPUnit_Framework_TestCase { public function testIsUsingOAuth2_UsingOAuth2() { $credentials = array('r...
{ "content_hash": "976acac0a78af9722c347832646f63fb", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 92, "avg_line_length": 34.85, "alnum_prop": 0.7191535150645624, "repo_name": "cornernote/googleads-php-lib", "id": "0e415af5e8af4ceb406c285902d83e0d6a0d1c7d", "size": "3701...
<?php namespace FishDiary\Model\Table; use Cake\ORM\Query; use Cake\ORM\RulesChecker; use Cake\ORM\Table; use Cake\Validation\Validator; /** * FishingPlaces Model * * @property \Cake\ORM\Association\HasMany $CaughtFishes * * @method \FishDiary\Model\Entity\FishingPlace get($primaryKey, $options = []) * @method ...
{ "content_hash": "4f70961231a8250614f7cdd5578e3f19", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 135, "avg_line_length": 30.53030303030303, "alnum_prop": 0.6501240694789082, "repo_name": "makallio85/fish-diary", "id": "39fd6b6f7a7106af7cdeba8f163798691dac8b95", "size":...
<!-- @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http:/...
{ "content_hash": "f709fd0564566ed95b2fb2fa2d6288b0", "timestamp": "", "source": "github", "line_count": 740, "max_line_length": 106, "avg_line_length": 35.76756756756757, "alnum_prop": 0.60121656339731, "repo_name": "Polymer/tools", "id": "23f78752680309cbd03e47908f3b7680e3b78c84", "size": "26468",...
using System.Collections.Generic; using Cake.Core.IO; namespace Cake.Common.Tools.DotNetCore.Build { /// <summary> /// Contains settings used by <see cref="DotNetCoreBuilder" />. /// </summary> public sealed class DotNetCoreBuildSettings : DotNetCoreSettings { /// <summary> /// Get...
{ "content_hash": "3efa145bdcec345556156f78c6168347", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 128, "avg_line_length": 35.75438596491228, "alnum_prop": 0.6040235525024534, "repo_name": "SharpeRAD/Cake", "id": "158976d7b4864f1a7c6f525105eaacad0a493313", "size": "2040"...
package com.amazonaws.services.servicecatalog.model.transform; import java.math.*; import javax.annotation.Generated; import com.amazonaws.services.servicecatalog.model.*; import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; import com.amazonaws.transform.*; import com.fasterxml.jackson.core.JsonToken; im...
{ "content_hash": "96411a641606621455c57f5e37fa2300", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 142, "avg_line_length": 43.24050632911393, "alnum_prop": 0.6545667447306791, "repo_name": "jentfoo/aws-sdk-java", "id": "aea64a7f5b50e2690a3a918befa021764047920a", "size": ...
<fragment xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:map="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/map" tools:context="com.example.kenny_liu.test...
{ "content_hash": "21bd0dd041a466f7fadfc25f9331df92", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 91, "avg_line_length": 67.33333333333333, "alnum_prop": 0.7425742574257426, "repo_name": "sundyCoder/parapod", "id": "c55db2d6f3343c54d23d409d537ad79398e115c6", "size": "404...
<#include "inc/head.html"/> <div class="path"><em class="r"><img src="${contextPath}site/${site.sourcepath}/resources/images/top100.gif"/></em> <div class="path_inner">您目前的位置:<a href="${contextPath}site/${site.sourcepath}/index.html">首页</a> <@channelPath siteid="${site.id}" id="${currChannel.id}" ;channel>...
{ "content_hash": "727a71b8bd5a2f8e1b77fcec7be76dd0", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 115, "avg_line_length": 34.869565217391305, "alnum_prop": 0.5798004987531172, "repo_name": "tcxy/EasyCMS", "id": "da32b2d0a88c73a17e9bae44df597a55f5dc69fe", "size": "820", ...
FROM balenalib/odroid-u3+-debian:bookworm-run # remove several traces of debian python RUN apt-get purge -y python.* # http://bugs.python.org/issue19846 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 # install python dependencies RUN apt-get...
{ "content_hash": "dc6affed28ee5aac98d9e06d01c8b68f", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 711, "avg_line_length": 52.23076923076923, "alnum_prop": 0.7074128620520374, "repo_name": "resin-io-library/base-images", "id": "0d230c1b748fb9cbaecac84521452e707c5bab9a", ...
<!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_67) on Thu Feb 04 13:28:40 CST 2016 --> <title>AppMasterToExecutor$</title> <meta name="date" content="2016-02-04"> <link rel="styleshe...
{ "content_hash": "490693969d32a8d7b2e2f7ae4aea3b23", "timestamp": "", "source": "github", "line_count": 265, "max_line_length": 176, "avg_line_length": 33.54716981132076, "alnum_prop": 0.6388076490438696, "repo_name": "stanleyxu2005/gearpump.github.io", "id": "c9d7dd86c26dff82528c12741f7f4ff246735721...
from helper import greeting def joint_greeting(msg1, msg2): greeting(msg1) greeting(msg2)
{ "content_hash": "76ce9f423de858d14f67934ba4363d47", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 31, "avg_line_length": 18.4, "alnum_prop": 0.782608695652174, "repo_name": "sdgennari/cs3240-labdemo", "id": "7577bd4255c44fa4096dbe9afe396eccb3457436", "size": "92", "bin...
The Kinesis Streams appender is intended to be an entry point for log analytics, either as a direct feed to an analytics application, or via Kinesis Firehose to ElasticSearch or other destinations (which is also an easy way to back-up logs to S3). The Kinesis appender provides the following features: * Configurable d...
{ "content_hash": "5f90f6d6ee4e4d8935dd34ff8cfebd6b", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 303, "avg_line_length": 49.45962732919255, "alnum_prop": 0.7519778977772197, "repo_name": "kdgregory/log4j-aws-appenders", "id": "c885ac954d93f76d4b8fa8bb3a7cd8b5a4d8c5a6", ...
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Cake.Hosts.Tests")]
{ "content_hash": "7a8e4d79d6835eee546f313e69895443", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 50, "avg_line_length": 30.333333333333332, "alnum_prop": 0.8131868131868132, "repo_name": "AMVSoftware/Cake.Hosts", "id": "c89a5faeda293113636de9c037c34c017de5b2e1", "size":...
/** @constructor */ ScalaJS.c.scala_xml_dtd_PCDATA$ = (function() { ScalaJS.c.scala_xml_dtd_ContentModel.call(this) }); ScalaJS.c.scala_xml_dtd_PCDATA$.prototype = new ScalaJS.inheritable.scala_xml_dtd_ContentModel(); ScalaJS.c.scala_xml_dtd_PCDATA$.prototype.constructor = ScalaJS.c.scala_xml_dtd_PCDATA$; ScalaJS.c.s...
{ "content_hash": "c843394bed3b6d41af548bcb086e2fbe", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 155, "avg_line_length": 43.93814432989691, "alnum_prop": 0.7151572031909902, "repo_name": "ignaciocases/hermeneumatics", "id": "082c8d182499bbe6f915aad34676cff300927415", "...
#ifndef SPARROW_ONEELECTRONMATRIX_H #define SPARROW_ONEELECTRONMATRIX_H #include <Utils/Math/AutomaticDifferentiation/MethodsHelpers.h> #include <Utils/Typenames.h> #include <Eigen/Core> namespace Scine { namespace Utils { class MatrixWithDerivatives; class AtomsOrbitalsIndexes; } // namespace Utils namespace Spa...
{ "content_hash": "f258a6d39278fece67bb16fee56afd0f", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 119, "avg_line_length": 38.93975903614458, "alnum_prop": 0.7295792079207921, "repo_name": "qcscine/sparrow", "id": "cb56a5a153cd57d742634b4770b76d946c48bb7d", "size": "3447...
package org.assertj.core.internal.iterables; import static org.assertj.core.api.Assertions.assertThatExceptionOfType; import static org.assertj.core.error.ShouldHaveSizeGreaterThanOrEqualTo.shouldHaveSizeGreaterThanOrEqualTo; import static org.assertj.core.test.TestData.someInfo; import static org.assertj.core.util.F...
{ "content_hash": "97ee331524f41ecc8ecae077bd04e550", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 136, "avg_line_length": 42.02857142857143, "alnum_prop": 0.7375934738273283, "repo_name": "joel-costigliola/assertj-core", "id": "c588aedf3a98357a11fe08fd61add36923a59360", ...
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Threading.Tasks; using Newtonsoft.Json; namespace CloudStack.Net { public class ListAutoScaleVmProfilesRequest : APIListRequest { public ListAutoScaleVmProfilesRequest() : base("listAutoScaleVmProfiles") ...
{ "content_hash": "e8cb12c43e9029f0fb59e7a44e042bfb", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 206, "avg_line_length": 44.78740157480315, "alnum_prop": 0.6529535864978903, "repo_name": "richardlawley/cloudstack.net", "id": "faf51864e426eaa7dd1dcfeae0e7467bd4f04728", ...
import {test} from 'ava'; import {createContainer} from "../lib/index"; import {Action} from "typescript-fsa"; const fsa = require('typescript-fsa'); const isType = fsa.isType; const container = createContainer(); const createAction = fsa.default(); const plus = createAction('PLUS'); const minus = createAction('MINUS...
{ "content_hash": "ad6c34171bd9dd0bcd3099493a0edebb", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 112, "avg_line_length": 31, "alnum_prop": 0.6084843128590367, "repo_name": "shura-v/redux-dependent-reducers", "id": "bb50a4395b2b46b6f707fe7598dec69ffe96e486", "size": "22...
using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Compute.Models { public partial class ResourceSkusResult { internal static ResourceSkusResult DeserializeResourceSkusResult(JsonElement element) { IReadOnlyList<ResourceSku> v...
{ "content_hash": "ab549380605963741476f0fa61845214", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 93, "avg_line_length": 34.17777777777778, "alnum_prop": 0.4486345903771131, "repo_name": "stankovski/azure-sdk-for-net", "id": "80ee38fbb2496f8c71e2f85ec43d5a9c9a19521b", "...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.g...
{ "content_hash": "2e4223de8fa8801d80fc989117e18b5a", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 108, "avg_line_length": 36.44705882352941, "alnum_prop": 0.5229180116204003, "repo_name": "inikolaev/vertx-web-kotlin", "id": "11b30ecd7111c538d8ab9096f44d3d2cc61b2fc6", "s...
using namespace std; ScalarDataSet::ScalarDataSet(const string& fname, int first, int last):Grouped(false) { read(fname,first,last); } ScalarDataSet::~ScalarDataSet() { RawDataSetType::iterator oit(Data.begin()), oit_end(Data.end()); while(oit != oit_end) { delete (*oit).second; ++oit; } } ScalarDa...
{ "content_hash": "f6de14858ce80e055073e1fc18e23aed", "timestamp": "", "source": "github", "line_count": 205, "max_line_length": 85, "avg_line_length": 23.502439024390245, "alnum_prop": 0.58302200083022, "repo_name": "habanero-rice/hcpp", "id": "68d8dc631f72b272cb25c588185a257a1cfe862a", "size": "50...
package com.mxh.weibo.common.model; import java.util.ArrayList; import java.util.List; public class FollowFollowerExample { /** * @mbggenerated */ protected String orderByClause; /** * @mbggenerated */ protected boolean distinct; /** * @mbggenerated */ protected List<Criteria> ore...
{ "content_hash": "a54052e0bd47c70d0500f8e12c62bb34", "timestamp": "", "source": "github", "line_count": 517, "max_line_length": 117, "avg_line_length": 27.087040618955513, "alnum_prop": 0.6847329334475865, "repo_name": "miracle857/weibo", "id": "9402ed4062d17b9404b0881c9723f82c7f92c891", "size": "1...
const bodyParser = require('body-parser') const express = require('express') const mongodb = require('mongodb') const pathToRegexp = require('path-to-regexp') const morgan = require('morgan') const mongoUri = 'mongodb://localhost:27017/usDebt' const app = express() app.use(bodyParser.json()) app.use(morgan('combine...
{ "content_hash": "1c90e1f02be71693573b2487507e424e", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 109, "avg_line_length": 26.714285714285715, "alnum_prop": 0.6208070004861449, "repo_name": "TYMG/USDebtMap", "id": "f47ebe4dd6be30620b5e9c7fc4fa26672e9b9a3c", "size": "2057...
describe GraylogAPI::Client, vcr: true do include_context 'graylogapi' let(:client) { graylogapi.client } context 'success requests' do let(:dashboard) do client.request(:post, '/dashboards', title: 'Test_Dashboard', description: 'Test_Dashboard') end ...
{ "content_hash": "0b1a7ed5c5e508656b56ab2844e28a3a", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 89, "avg_line_length": 29.545454545454547, "alnum_prop": 0.5821538461538461, "repo_name": "postgred/graylogapi", "id": "5efdd15cf37897c0dd268f5581605f9fdacb53b3", "size": "...
var app = {}; $(function() { app.picFilter = ""; /** * The basic Pic Model represents an image that can be * favorited or deleted as needed. */ var Pic = Backbone.Model.extend({ defaults: function() { return { title: "Untitled Photo", d...
{ "content_hash": "ba6a37d9815a938dabb11c3599059b76", "timestamp": "", "source": "github", "line_count": 195, "max_line_length": 75, "avg_line_length": 27.682051282051283, "alnum_prop": 0.44979622082252685, "repo_name": "lrsjohnson/picpik", "id": "a7e6e91cc65542049be1b03b478102ae59fe10d8", "size": "...
package org.jboss.pnc.facade.rsql.mapper; import org.jboss.pnc.model.GenericEntity; import org.jboss.pnc.model.ProductMilestone; import org.jboss.pnc.model.ProductMilestone_; import javax.enterprise.context.ApplicationScoped; import javax.persistence.metamodel.SingularAttribute; /** * * @author Honza Brázdil &lt;...
{ "content_hash": "4b3799386bc9773224362d135f897581", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 107, "avg_line_length": 29.615384615384617, "alnum_prop": 0.6357142857142857, "repo_name": "alexcreasy/pnc", "id": "e7953f3c78e501fd0513e59a1cb7841c652c4249", "size": "2249...
require 'rails_helper' RSpec.describe Favorite, type: :model do let(:topic) { create(:topic) } let(:user) { create(:user) } let(:post) { create(:post) } let(:favorite) { Favorite.create!(post: post, user: user) } it { is_expected.to belong_to(:post) } it { is_expected.to belong_to(:user) } end
{ "content_hash": "df4682f7942c4984ac602c8e0b84eab2", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 62, "avg_line_length": 28.545454545454547, "alnum_prop": 0.6337579617834395, "repo_name": "stellanorthm/bloccit", "id": "01a159275eba0150c9562eb714b266c15ad0cb2d", "size": ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using WeifenLuo.WinFormsUI.Docking; namespace SuperPutty.Utils { /// <summary> /// Helper class to track single instance tool windows (sessions, log viewer, layouts) /// </summary> public ...
{ "content_hash": "97409f03688bd4a2cbd9822da45d5331", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 133, "avg_line_length": 30.01769911504425, "alnum_prop": 0.5356721698113207, "repo_name": "Dukobpa3/superputty", "id": "26a33a710797499c4313fd1c8d7f4ee427d7c055", "size": ...
<?php namespace Eloqua\Api\Soap\Service; class DynamicEntityQueryResults { /** * @var ArrayOfDynamicEntity $Entities */ protected $Entities = null; /** * @var int $TotalPages */ protected $TotalPages = null; /** * @var int $TotalRecords */ protected $TotalRecor...
{ "content_hash": "64abea9d79ed16063582eabe5c43126e", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 65, "avg_line_length": 20.70886075949367, "alnum_prop": 0.5825183374083129, "repo_name": "revvi/eloqua-php-api", "id": "d3569f3bfb4ad109bfb27a8900cdb1fc1e0547be", "size": "...
// ============================================================================ // declarations // ============================================================================ // ---------------------------------------------------------------------------- // headers // -----------------------------------------...
{ "content_hash": "f225d037b28ae8502467fd131bc62d19", "timestamp": "", "source": "github", "line_count": 463, "max_line_length": 115, "avg_line_length": 28.647948164146868, "alnum_prop": 0.5628015681544029, "repo_name": "airgames/vuforia-gamekit-integration", "id": "28f6a8ec3a352e94c264f5df24de5808c26...
/* @flow */ import { warn, invokeWithErrorHandling } from 'core/util/index' import { cached, isUndef, isTrue, isPlainObject } from 'shared/util' const normalizeEvent = cached((name: string): { name: string, once: boolean, capture: boolean, passive: boolean, handler?: Function, params?: Array<a...
{ "content_hash": "a75b309f8c5605796fd3113a67f96ff6", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 93, "avg_line_length": 24.589473684210525, "alnum_prop": 0.5980308219178082, "repo_name": "zhaoshuxue/document", "id": "dcde7f488fe523584af8f946646ada2bc9a36cbc", "size": "...
namespace Google.Cloud.Vision.V1.Snippets { // [START vision_v1_generated_ProductSearch_ListProductSets_async_flattened] using Google.Api.Gax; using Google.Cloud.Vision.V1; using System; using System.Linq; using System.Threading.Tasks; public sealed partial class GeneratedProductSearchClien...
{ "content_hash": "57c9acbadeb8b9ad87311f35db5fcfea", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 130, "avg_line_length": 43.61666666666667, "alnum_prop": 0.6102407336645014, "repo_name": "jskeet/google-cloud-dotnet", "id": "357068fe7239cdba597c46fa5a795965e278900b", "s...
package com.github.mdr.mash.ns.core import com.github.mdr.mash.classes.MashClass import com.github.mdr.mash.evaluator._ import com.github.mdr.mash.functions._ import com.github.mdr.mash.inference._ import com.github.mdr.mash.ns.time._ import com.github.mdr.mash.runtime._ object NumberClass extends MashClass("core.Num...
{ "content_hash": "ebff8f88c07777a878251433bc9c9299", "timestamp": "", "source": "github", "line_count": 302, "max_line_length": 118, "avg_line_length": 29.837748344370862, "alnum_prop": 0.7042503606702919, "repo_name": "mdr/mash", "id": "d7c37f762d9e45e09d67a7224ba8241ddbc49bbc", "size": "9015", ...
exports.problem4 = function () { 'use strict'; var input = require('../test-inputs/problem4/1.json'); console.log('Input', input.join((', '))); input.sort(function (a, b) { return a.toString() < b.toString(); }); console.log('Largest possible number', input.join('')); };
{ "content_hash": "468fa09cae92e2070c219281a06ea7b9", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 57, "avg_line_length": 22.46153846153846, "alnum_prop": 0.6061643835616438, "repo_name": "d3xter666/the-5-programming-problems", "id": "fdf2628598ce85d479284d0e0d0b0b33493979...
#ifndef NFC_HELLO_WORLD2_H #define NFC_HELLO_WORLD2_H #include "NFComm/NFPluginModule/NFIPlugin.h" #include "NFComm/NFPluginModule/NFIPluginManager.h" class HelloWorld2 : public NFILogicModule { public: HelloWorld2(NFIPluginManager* p) { pPluginManager = p; } virtual bool...
{ "content_hash": "6fc7417d391b9e27143b6e664fa6cac3", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 160, "avg_line_length": 20.25, "alnum_prop": 0.6774691358024691, "repo_name": "zh423328/NFServer", "id": "da0b3b0a4691f60e8b86fe188cec343796d010af", "size": "978", "binar...
<?php /* @WebProfiler/Profiler/base_js.html.twig */ class __TwigTemplate_e7980dfb8bff76e82b49ca15a592b08d8e457a6b35170d5e64a247a3d4b200aa extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = arra...
{ "content_hash": "accaa677207166d3aa8983fcfa7a26b2", "timestamp": "", "source": "github", "line_count": 322, "max_line_length": 197, "avg_line_length": 37.02795031055901, "alnum_prop": 0.4314350415163969, "repo_name": "novikovm/Store", "id": "87eb58ce6f9be9b0c2501bbea64a2cba081e7680", "size": "1192...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Code Coverage for C:\xampp\htdocs\bookManagerApp\src/BookManagerApp/ManagerBundle/DataFixtures/ORM</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="../../../../css/bootstrap.min.css" rel="stylesheet"...
{ "content_hash": "955c3310157b5652f5e56657f4523e8e", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 280, "avg_line_length": 44.86178861788618, "alnum_prop": 0.5839072127582458, "repo_name": "jsuman/bookManagerApp", "id": "d5d512673af28d250a9e13e6a1bbb26e7cb36eb3", "size"...
using System; using System.Reactive; namespace Qactive.Tests.WebSockets { internal static class WebSocketTestService { public static readonly QbservableServiceOptions DefaultOptions = TestService.DefaultOptions; public static readonly QbservableServiceOptions UnrestrictedOptions = TestService.Unrestricted...
{ "content_hash": "59ec7dbc7052c18eef72ab768ec27ee1", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 162, "avg_line_length": 57.65, "alnum_prop": 0.7862098872506504, "repo_name": "RxDave/Qactive", "id": "0f5744488afa0a020afd2290011669482b17ef6e", "size": "2308", "binary"...
namespace TheAsocialNetwork.UI.UWP { using System; using TheAsocialNetwork.UI.UWP.Views; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.UI.Xaml; using Windows.UI.Xaml.Navigation; using Models; using Parse; using TheAsocialNetwork.UI.UWP.Mod...
{ "content_hash": "4ad900de88999f0b941ee937b91b8cc3", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 151, "avg_line_length": 39.8936170212766, "alnum_prop": 0.6172444444444445, "repo_name": "Monk-TA/The-Asocial-Network", "id": "3c3dcbdfcecde60e2027615e74fdb011985e78c9", "...
class Howl < ActiveRecord::Base acts_as_votable validates :image, presence: true validates :caption, length: { minimum: 3, maximum: 300 } validates :user_id, presence: true has_attached_file :image, styles: { :medium => "640x" } validates_attachment_content_type :image, content_type: /\Aimage\/.*\z/ be...
{ "content_hash": "6ab152240f402f9a39075bb8621c88cc", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 83, "avg_line_length": 29.09090909090909, "alnum_prop": 0.7, "repo_name": "lukeymac/doggo", "id": "1f21c12d62dc739b169e3483c10296a8719485d6", "size": "640", "binary": fal...
external help file: PSDataConduIT-help.xml Module Name: PSDataConduIT online version: https://github.com/erwindevreugd/PSDataConduIT schema: 2.0.0 --- # Get-Badge ## SYNOPSIS Gets a badge. ## SYNTAX ``` Get-Badge [[-Server] <String>] [[-Credential] <PSCredential>] [-BadgeID <Int64>] [-BadgeKey <Int32>] [-PersonID ...
{ "content_hash": "777bfb8f16f790f8b7da9e9d0be27fb9", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 216, "avg_line_length": 19.466101694915253, "alnum_prop": 0.7483674357858076, "repo_name": "erwindevreugd/PSDataConduIT", "id": "f199ed60f6df8321d8debea8a1b9d26c741eb7ce", ...
using namespace hsm; class Character { public: Character(); void Update(); bool mJump; private: friend struct CharacterStates; StateMachine mStateMachine; }; struct CharacterStates { struct BaseState : StateWithOwner<Character> { }; struct Alive : BaseState { virtual Transition GetTransition() { r...
{ "content_hash": "f36bf1c197897fb439196d95851307a7", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 68, "avg_line_length": 16.551724137931036, "alnum_prop": 0.6838541666666667, "repo_name": "amaiorano/hsm", "id": "846614303d73dc120a9b39a990f046aed4b67a91", "size": "1972"...
<?php namespace app\models; use Yii; use yii\base\Model; /** * LoginForm is the model behind the login form. */ class LoginForm extends Model { public $username; public $password; public $rememberMe = true; private $_user = false; /** * @return array the validation rules. */ pub...
{ "content_hash": "acc4fc7f88020172c1aaadb41f4c578d", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 96, "avg_line_length": 24.58974358974359, "alnum_prop": 0.5500521376433786, "repo_name": "MaximRad/Store-Notebook", "id": "139c492052fd01740dec0775d16801c6d3adc8a8", "size"...
@ECHO OFF pushd %~dp0 REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set SOURCEDIR=. set BUILDDIR=_build set SPHINXPROJ=AWSWebStacks if "%1" == "" goto help %SPHINXBUILD% >NUL 2>NUL if errorlevel 9009 ( echo. echo.The 'sphinx-build' command was not found. Mak...
{ "content_hash": "2d14b37917d0bf9c5cce3f816cfd56e5", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 74, "avg_line_length": 21.666666666666668, "alnum_prop": 0.735897435897436, "repo_name": "caktus/aws-web-stacks", "id": "d4bcea569509ed4783390a03a998a8ee17f8c317", "size": ...
package healthcheck import ( log "gopkg.in/inconshreveable/log15.v2" "net/url" "os/exec" "strings" ) type HealthCheck struct { Script string Log log.Logger Host string } func New(l log.Logger, script string, host string) *HealthCheck { u, _ := url.Parse(host) ip_host := strings.Split(u.Host, ":")[0] r...
{ "content_hash": "87a15e28115441784f6b6507cb1d4cb0", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 69, "avg_line_length": 21.80952380952381, "alnum_prop": 0.6331877729257642, "repo_name": "ychaim/docker-conductor", "id": "3126039a289508c7cb4e87cfad330d2f63b5986b", "size"...
namespace ash { namespace { // Defines a |SessionControllerClient| that is used to create and destroy the // test lock screen widget. class LockScreenSessionControllerClient : public TestSessionControllerClient { public: LockScreenSessionControllerClient(SessionControllerImpl* controller, ...
{ "content_hash": "6253e8d9113570c9616bd31f436464ae", "timestamp": "", "source": "github", "line_count": 283, "max_line_length": 80, "avg_line_length": 39.081272084805654, "alnum_prop": 0.7183544303797469, "repo_name": "chromium/chromium", "id": "b1e32b7b17d012e1e6378d83594be3e6785da854", "size": "1...
package rx.reactivestreams; import java.io.IOException; import org.reactivestreams.Publisher; import org.reactivestreams.tck.*; import org.testng.annotations.Test; import rx.*; import rx.schedulers.Schedulers; @Test public class TckCompletableAsyncConversionTest extends PublisherVerification<Long> { public T...
{ "content_hash": "5ee0a3a770b20ef8c505ad464ad6c9d9", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 119, "avg_line_length": 24.38888888888889, "alnum_prop": 0.7380410022779044, "repo_name": "ReactiveX/RxJavaReactiveStreams", "id": "195472b176c415d7c6ea62195b32ea00614af5df",...
package org.apache.calcite.adapter.enumerable; import org.apache.calcite.adapter.java.JavaTypeFactory; import org.apache.calcite.linq4j.tree.BlockBuilder; import org.apache.calcite.linq4j.tree.Expression; import org.apache.calcite.linq4j.tree.Expressions; import org.apache.calcite.linq4j.tree.Primitive; import org.ap...
{ "content_hash": "7b83e023c337b808a0a20896e932b4d8", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 103, "avg_line_length": 39.15686274509804, "alnum_prop": 0.7060590886329494, "repo_name": "arina-ielchiieva/calcite", "id": "ebf6ffd0a32f7d733d4be6b10627a86121a750d4", "si...
/*** * Inferno Engine v4 2015-2017 * Written by Tomasz "Rex Dex" Jonarski * * [# filter: elements\controls\text #] ***/ #pragma once #include "ui/toolkit/include/uiElement.h" namespace ui { class TextBuffer; struct CursorNavigation; class ScrolableContainer; class EditBoxSelectionDragInputAction; ...
{ "content_hash": "c455187efcf810a0ed84a2803a80465b", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 159, "avg_line_length": 32.875, "alnum_prop": 0.6778924497555676, "repo_name": "InfernoEngine/engine", "id": "c64136f6a5439b02d408474bd4a80935f4ece446", "size": "3682", ...
package integrationTests.data; import org.junit.*; import integrationTests.*; public final class ClassWithInstanceFieldsTest extends CoverageTest { ClassWithInstanceFields tested; @Test public void finalField() { assert tested.getFinalField() == 123; assertFieldIgnored("fin...
{ "content_hash": "49a97b59c40ac1a0ffa01399eb1180b7", "timestamp": "", "source": "github", "line_count": 140, "max_line_length": 70, "avg_line_length": 25.8, "alnum_prop": 0.6641749723145072, "repo_name": "borisbrodski/jmockit", "id": "477c70058f7616caab2c713510d063aaca0a7ce3", "size": "3743", "bi...
package com.qihoo360.replugin.utils; import android.content.Context; import com.qihoo360.replugin.helper.LogRelease; import java.io.FileDescriptor; import java.io.PrintWriter; import java.lang.reflect.AccessibleObject; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.I...
{ "content_hash": "df1ca3a3fe5c8b29d21fe5924c35a5ea", "timestamp": "", "source": "github", "line_count": 264, "max_line_length": 142, "avg_line_length": 37.628787878787875, "alnum_prop": 0.5751962955506342, "repo_name": "247321453/RePlugin", "id": "9ddafc4d33b94681badff820a3c3e7185e6351f1", "size": ...
package org.elasticsearch.gradle.internal; import org.gradle.api.DefaultTask; import org.gradle.api.tasks.Input; import org.gradle.api.tasks.Internal; import org.gradle.api.tasks.TaskAction; import org.gradle.internal.file.Chmod; import java.io.File; import javax.inject.Inject; /** * Creates an empty directory. ...
{ "content_hash": "4c1310a0d09219d76e35f440acdd0add", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 95, "avg_line_length": 19.90277777777778, "alnum_prop": 0.619678995115143, "repo_name": "GlenRSmith/elasticsearch", "id": "bbcaabe18905e9ae94ecdfa2f4e19d085e8cee68", "size"...
#ifndef HPIPM_S_TREE_OCP_QCQP_IPM_H_ #define HPIPM_S_TREE_OCP_QCQP_IPM_H_ #include <blasfeo_target.h> #include <blasfeo_common.h> #include <hpipm_common.h> #include <hpipm_s_tree_ocp_qcqp_dim.h> #include <hpipm_s_tree_ocp_qp.h> #include <hpipm_s_tree_ocp_qcqp_res.h> #include <hpipm_s_tree_ocp_qcqp_sol.h> #ifde...
{ "content_hash": "45688b5ed5ea7d139ae9b0c3ec2fd4d0", "timestamp": "", "source": "github", "line_count": 159, "max_line_length": 167, "avg_line_length": 43.64150943396226, "alnum_prop": 0.722582504683672, "repo_name": "commaai/openpilot", "id": "69d65914c527c4be21da5d14668c1a65e3c299a4", "size": "10...
layout: book number: 11 title: SQL Arrays --- This chapter shows how we can map Scala sequence types to SQL `ARRAY` types, for vendors that support it. Note that although SQL array mappings are part of the JDBC specification, their behavior is vendor-specific and requires an add-on library; the code in this chapter r...
{ "content_hash": "cabef96498893a70c008408d3e9f27cf", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 355, "avg_line_length": 38.17045454545455, "alnum_prop": 0.7299791604644239, "repo_name": "tpolecat/tpolecat.github.io", "id": "3fd317871d73bf78897e75e1f25a68b34ab2e102", "...
using Akka.Persistence; using System; namespace AkkaEventStore.Actors { public abstract class PersistentStateActor : PersistentActor { public abstract IActorState State { get; set; } protected override bool ReceiveCommand(object message) { if (message as string ...
{ "content_hash": "ccbff4998600f7749248ad9c0d90b61f", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 70, "avg_line_length": 25.3125, "alnum_prop": 0.6172839506172839, "repo_name": "vladkosarev/Akka.net-EventStorePersistence", "id": "e80ed599ced789dac74f35d65878c2a3a8abbf18",...
package java.util.regex; import def.js.Array; import def.js.JSON; import def.js.RegExp; import def.js.SyntaxError; import jsweet.util.Lang; import java.io.Serializable; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.function.Function; import java.util.function.Supplier; impo...
{ "content_hash": "3832b3d99857d37ee3568072a0bc974b", "timestamp": "", "source": "github", "line_count": 196, "max_line_length": 136, "avg_line_length": 38, "alnum_prop": 0.5021482277121375, "repo_name": "j4ts/j4ts", "id": "74ec57b20afe16ed42a3674902eb1b8ce88cd8cd", "size": "7448", "binary": false...
var gulp = require('gulp'); var gutil = require('gulp-util'); var bower = require('bower'); var concat = require('gulp-concat'); var sass = require('gulp-sass'); var minifyCss = require('gulp-minify-css'); var rename = require('gulp-rename'); var sh = require('shelljs'); var karma = require('gulp-karma'); var jshint = ...
{ "content_hash": "356bc0b287cc492a5749720517c10d27", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 91, "avg_line_length": 28.4, "alnum_prop": 0.5924295774647887, "repo_name": "lafent/ionic-generic-directory", "id": "dab2809223972f843792626a869e0242e0afa71d", "size": "227...
require "portus/auth_from_token" class ApplicationController < ActionController::Base include ::Portus::Checks before_action :check_requirements include ::Portus::AuthFromToken before_action :authenticate_user_from_authentication_token! before_action :authenticate_user! before_action :force_update_profil...
{ "content_hash": "e1df2f19d39a16120917f93b347262a1", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 86, "avg_line_length": 31, "alnum_prop": 0.71712158808933, "repo_name": "mssola/Portus", "id": "4a789fd5852d097de5dce9bbaff892ec2a35dc7a", "size": "2852", "binary": false...
#ifndef VP9_ENCODER_VP9_AQ_COMPLEXITY_H_ #define VP9_ENCODER_VP9_AQ_COMPLEXITY_H_ #ifdef __cplusplus extern "C" { #endif struct VP9_COMP; struct macroblock; // Select a segment for the current SB64. void vp9_select_in_frame_q_segment(struct VP9_COMP *cpi, struct macroblock *x, B...
{ "content_hash": "6f7ae34d3c42d52df73715951cada3f9", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 78, "avg_line_length": 25.535714285714285, "alnum_prop": 0.6223776223776224, "repo_name": "mxOBS/deb-pkg_trusty_chromium-browser", "id": "3f885e450f928eebf6c784364f07d924231b...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Application.Models.Pages { public class Page { public int Id { get; set; } public string Title { get; set; } public string ShortDescription { get; set; } ...
{ "content_hash": "a36e9d64a92b202b256641f042f5f5e6", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 59, "avg_line_length": 29.05, "alnum_prop": 0.6506024096385542, "repo_name": "nzhul/metaltrade", "id": "d984e7d8ef01e319554b31cdadfc3989b4d6498f", "size": "583", "binary"...
(function e(t, n, r) { function s(o, u) { if (!n[o]) { if (!t[o]) { var a = typeof require == "function" && require; if (!u && a) return a(o, !0); if (i) return i(o, !0); var f = new Error("Cannot find module '" + o + "'"); throw f.code = "MODULE_NOT_FOUND", f } var l = n[o] = { expo...
{ "content_hash": "1be0e21f35e327528ac40ca4e7716809", "timestamp": "", "source": "github", "line_count": 8455, "max_line_length": 600, "avg_line_length": 30.97705499704317, "alnum_prop": 0.5846108029063308, "repo_name": "edwardzhong/sites", "id": "7b8ec3310b7f39ff7a958a60f8d86ac85e2596ef", "size": "...
package org.copperengine.core.audit; import java.lang.reflect.Method; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Timestamp; import java.sql.Types; import java.util.Collection; import java.util.Date; import java.util.List; import org.copperengine.core....
{ "content_hash": "e68546cad95dc690a6051b3ceb9e5de8", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 158, "avg_line_length": 38.34931506849315, "alnum_prop": 0.5393820325058046, "repo_name": "copper-engine/copper-engine", "id": "3027ac4aafa9b5a3a0f9ac691f7423be59585412", ...
package com.akiban.sql.parser; public class OrNode extends BinaryLogicalOperatorNode { /** * Initializer for an OrNode * * @param leftOperand The left operand of the OR * @param rightOperand The right operand of the OR */ public void init(Object leftOperand, Object right...
{ "content_hash": "fb1e9c4a7ae1eee64d17c3c752b5e943", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 63, "avg_line_length": 24.22222222222222, "alnum_prop": 0.6422018348623854, "repo_name": "youngor/openclouddb", "id": "73b03d05380b9bc9f31f4fdb5fc4d2db726213ca", "size": "1...
import React from "react"; import Grid from "@material-ui/core/Grid"; import Paper from "@material-ui/core/Paper"; import { withStyles, createMuiTheme } from "@material-ui/core/styles"; import Typography from "@material-ui/core/Typography"; import SelectUrlStep from "./select-url-step"; const styleSheet = createMuiTh...
{ "content_hash": "65dbd3469e0ce606afffb1f0bb216b0c", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 183, "avg_line_length": 32.95384615384615, "alnum_prop": 0.5873015873015873, "repo_name": "grigio/steemwinner", "id": "10cfd68ae1da4eaf522a048ca69278d501fc4678", "size": "2...
@interface TestDataSource : XJBaseDataSource - (void)getHomeData; @end
{ "content_hash": "8f358f1d8a4f495b2cc7659494fbc3a4", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 44, "avg_line_length": 23.666666666666668, "alnum_prop": 0.8028169014084507, "repo_name": "LiuXiangJing/XJNetworking", "id": "239958e56448aca3e8a07989abc57091b92e7c49", "siz...
package com.salama.easysqlparser.base; import java.util.ArrayList; import java.util.List; public class SqlPart { public enum SqlPartType { //Union Union, //Select ---------- Select, From, Join, Where, GroupBy, Having, OrderBy, Limit, //Insert ---------- ...
{ "content_hash": "8dccbf991d1ecb0951152f2e3c81b632", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 72, "avg_line_length": 22.08, "alnum_prop": 0.5552536231884058, "repo_name": "SalamaSoft/EasySqlParser", "id": "e350f2c803d672ec8c5503916c018dc3f1130c01", "size": "1104", ...
jest.mock('fs'); jest.mock('path'); const fs = require('fs'); const path = require('path'); const resolveCustomFormatter = require('../resolveCustomFormatter'); describe('resolveCustomFormatter', () => { it('should return absolute path when provided path is a file path', () => { const aRelativePath = 'a/relative/p...
{ "content_hash": "8f24033f4e82180c5e4415ed2dcda923", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 85, "avg_line_length": 30.176470588235293, "alnum_prop": 0.7309941520467836, "repo_name": "stylelint/stylelint", "id": "4e8d2270b1c9f35a9f0d9eb51d9df86313704f1c", "size": "...