text
stringlengths
2
1.04M
meta
dict
import addCommas from 'add-commas'; import { standardize, Candidate, primaries2016Candidates, primaries2016Dates } from 'election-utils'; import slugify from 'underscore.string/slugify'; import orderBy from 'lodash.orderby'; function candidateRow(candidate, index, totalVoteCount, party, NUMBER_TO_PRIORITIZE) { const...
{ "content_hash": "b0d40fe5ba7d4fe21c2f22162c81f8f8", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 198, "avg_line_length": 36.11818181818182, "alnum_prop": 0.6821042033727662, "repo_name": "BostonGlobe/2016_primaries_smt", "id": "e099369ab5f6be0351e7f0a53a8f6a4bc6cef59a",...
package wrapper; import org.uma.jmetal.algorithm.Algorithm; import org.uma.jmetal.algorithm.multiobjective.nsgaii.NSGAIIBuilder; import org.uma.jmetal.operator.CrossoverOperator; import org.uma.jmetal.operator.MutationOperator; import org.uma.jmetal.operator.SelectionOperator; import org.uma.jmetal.operator.impl.selec...
{ "content_hash": "3072ffb4cdcefb4d479def1fe329166f", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 143, "avg_line_length": 34.04225352112676, "alnum_prop": 0.7513446421183285, "repo_name": "elena20ruiz/ApiNRP", "id": "a59d44b03dcf42e8c120e01f31827631b7550759", "size": "2...
using System; using System.Runtime.InteropServices; namespace LightningDB.Native { internal class MarshalMultipleValueStructure : IDisposable { private bool _shouldDispose; private byte[][] _values; private ValueStructure[] _structures; public MarshalMultipleValueStructure(by...
{ "content_hash": "225cbade5c126e7605d0b37268b2eed0", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 115, "avg_line_length": 28.745454545454546, "alnum_prop": 0.4117647058823529, "repo_name": "bradserbu/mylonite-net", "id": "72cadbe8da330417225f7ef00f20254b83572993", "siz...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>W28635_text</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;"> ...
{ "content_hash": "07be1940321f83470b51e8a6943244a6", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 920, "avg_line_length": 68, "alnum_prop": 0.6911764705882353, "repo_name": "datamade/elpc_bakken", "id": "4a6736582bb01434b8a4dbbe4d646e9396d59374", "size": "4315", "bina...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>compcert-32: 25 m 53 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
{ "content_hash": "bb730acebda61af18cd28ed0da579f7d", "timestamp": "", "source": "github", "line_count": 352, "max_line_length": 159, "avg_line_length": 80.82670454545455, "alnum_prop": 0.6376577273206566, "repo_name": "coq-bench/coq-bench.github.io", "id": "2e4cb1787767aa4b1f70d0592b8233616fc7ba21", ...
int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([FTIAppDelegate class])); } }
{ "content_hash": "43c59abf4c581050687bbf73e9934eee", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 93, "avg_line_length": 26.833333333333332, "alnum_prop": 0.6645962732919255, "repo_name": "52inc/learn-ios", "id": "ee1ec339e7ddd11ec21007e14dd7b1a4f612144d", "size": "337",...
<!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_144) on Tue Jul 03 11:45:08 CDT 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>ArrayStrings</title> <meta ...
{ "content_hash": "0eebeee61b72c4430d9ef37e247dd27f", "timestamp": "", "source": "github", "line_count": 291, "max_line_length": 640, "avg_line_length": 40.75945017182131, "alnum_prop": 0.6503667481662592, "repo_name": "NLPIE/BioMedICUS", "id": "63d1b758262974f7bb9d1441c2700162b5d0def5", "size": "11...
package com.example.haotianzhu.noname; import android.app.Activity; import android.test.ActivityInstrumentationTestCase2; import android.view.Display; import com.robotium.solo.Solo; import android.app.Activity; import android.test.ActivityInstrumentationTestCase2; import android.view.Display; import android.widget.E...
{ "content_hash": "1f9950d711b303b259163caabf7c2d3a", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 104, "avg_line_length": 44.52, "alnum_prop": 0.6019766397124887, "repo_name": "CMPUT301F17T31/NoName", "id": "6905303021344a2be027e68eed21ad11d151f2ed", "size": "3339", "...
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.plugins.groovy.lang.psi; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiType; import org.jetbrains.annotations.NotNull; import org.jetbrains...
{ "content_hash": "8c4d0ff80f6af94fceb6bca245fd7f80", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 140, "avg_line_length": 27.324324324324323, "alnum_prop": 0.781404549950544, "repo_name": "ThiagoGarciaAlves/intellij-community", "id": "f8a1a5c518207b2f57f2ec894f5e95219e7a7...
using JetBrains.Annotations; namespace Pharmatechnik.Nav.Language; sealed partial class ExitConnectionPointReferenceSymbol: Symbol, IExitConnectionPointReferenceSymbol { // ReSharper disable once NotNullMemberIsNotInitialized ExitTransition wird definitiv im Ctor der ExitTransition gesetzt public ExitConnec...
{ "content_hash": "bb471de8af0b381873b3eb294711b470", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 154, "avg_line_length": 39.94736842105263, "alnum_prop": 0.7707509881422925, "repo_name": "IInspectable/Nav.Language.Extensions", "id": "250783e75d967caac33e4cdd27d7a2422d628...
module dojox.widget{ export class Loader extends dijit._Widget { templateString : String; templatePath : String; widgetsInTemplate : bool; _skipNodeCache : bool; _earlyTemplatedStartup : bool; _attachPoints : any; _attachEvents : any[]; declaredClass : any; _startupWidgets : Object; _supportingWidgets : Object; _templa...
{ "content_hash": "b9169a826ed4ff6c1a5410d77fe51afa", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 90, "avg_line_length": 26.8125, "alnum_prop": 0.7482517482517482, "repo_name": "stopyoukid/DojoToTypescriptConverter", "id": "85d284b5faaf2a5dad8a804abc19e64727f6a6a7", "si...
<?php namespace Zeeye\Util\Session\Adapter; use Zeeye\Util\Session\SessionAdapterException; /** * Exceptions for the ApcSession class * * @author Nicolas Hervé <nherve@gmail.com> * @license http://opensource.org/licenses/mit-license.php */ class ApcSessionException extends SessionAdapterExceptio...
{ "content_hash": "7215ece5d5d14bc7de08ec2e0c10d9f0", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 61, "avg_line_length": 29.454545454545453, "alnum_prop": 0.7376543209876543, "repo_name": "nicolasherve/Zeeye", "id": "10bbfbeb7ef525abdd4f0cf368f146b13c2fa7ba", "size": "3...
import React from 'react' import PropTypes from 'prop-types' const Counter = (props) => { const { count, increment, decrement, asyncIncrement, } = props return ( <div> <h2>This is a Counter!</h2> <span>count: {count}</span> <button onClick={increment}>PLUS</button> <button onClick...
{ "content_hash": "9b159608096ade21e13b16b5f3720b97", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 58, "avg_line_length": 24.46153846153846, "alnum_prop": 0.6823899371069182, "repo_name": "erwaiyang/website-starter-kit", "id": "ea77b0fdb82910177c114d5bf50e66f6abe58a47", ...
package com.google.cloud.genomics.dataflow.pipelines; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import java.io.BufferedReader; /** * This integration test will read and write to Cloud Storage, and call the Genomic...
{ "content_hash": "713449b4a94f51271dbdae2ebe3b8215", "timestamp": "", "source": "github", "line_count": 196, "max_line_length": 181, "avg_line_length": 33.994897959183675, "alnum_prop": 0.6992345790184602, "repo_name": "deflaux/dataflow-java", "id": "abb011cad22527200a701514c7c0d26fce31746c", "size...
class MockExtensionInstallPromptDelegate : public ExtensionInstallPrompt::Delegate { public: MockExtensionInstallPromptDelegate() : proceed_count_(0), abort_count_(0) {} // ExtensionInstallPrompt::Delegate overrides. virtual void InstallUIProceed() OVERRIDE; virtual void InstallUIAbort(bool ...
{ "content_hash": "805b1d69912527377a7140c94d3a715b", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 80, "avg_line_length": 33.65584415584416, "alnum_prop": 0.7476365039552383, "repo_name": "bright-sparks/chromium-spacewalk", "id": "2d5bf67a0a5acecea2cb48e01b1f679aabf57c69"...
import hammerhead from '../deps/hammerhead'; import * as domUtils from './dom'; import * as contentEditable from './content-editable'; import * as eventUtils from './event'; var browserUtils = hammerhead.utils.browser; var selectionSandbox = hammerhead.eventSandbox.selection; //NOTE: we can't determine selectio...
{ "content_hash": "e116426a5ff238c9df1f3b048d4b3889", "timestamp": "", "source": "github", "line_count": 448, "max_line_length": 120, "avg_line_length": 35.294642857142854, "alnum_prop": 0.6463445484442196, "repo_name": "helen-dikareva/testcafe-phoenix", "id": "74305d8af21f40233cfaa05a7effd159a5ac7c8e...
package com.amazonaws.services.waf.model; import java.io.Serializable; /** * */ public class GetChangeTokenResult implements Serializable, Cloneable { /** * <p> * The <code>ChangeToken</code> that you used in the request. Use this value * in a <code>GetChangeTokenStatus</code> request to get ...
{ "content_hash": "97e4d8162509584b6be9b384188018b0", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 81, "avg_line_length": 30.015267175572518, "alnum_prop": 0.5859613428280773, "repo_name": "dump247/aws-sdk-java", "id": "9908af77920f78ee2f5f18e3395926cbca37aa85", "size":...
<?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>org.g...
{ "content_hash": "3c8c2c06baba2c4b2904e26454efa0e3", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 108, "avg_line_length": 36.235955056179776, "alnum_prop": 0.537984496124031, "repo_name": "grizzly100/protoxml", "id": "39de1ddf3a23ab941e11a06745c10ffbd3907659", "size": "...
pyfarm.agent.utility module =========================== .. automodule:: pyfarm.agent.utility :members: :undoc-members: :show-inheritance:
{ "content_hash": "ec7a5cf31799643d64eb1c523e081165", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 36, "avg_line_length": 21.571428571428573, "alnum_prop": 0.5695364238410596, "repo_name": "pyfarm/pyfarm-agent", "id": "be714cc90b3416ee5ff9317dbfa6038325539927", "size": "1...
<?xml version="1.0" encoding="utf-8"?> <!-- --> <resources> <!-- ### SLIDER ============================================================================ --> <!-- Base style for SeekBar widget of ColorSliderLayout. --> <style name="Dialog.Base.Widget.SeekBar.ColorSlider" parent="Ui.Widget.SeekBar"> ...
{ "content_hash": "e574867d866472f4022dfcf44ddace4c", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 100, "avg_line_length": 35.142857142857146, "alnum_prop": 0.5528455284552846, "repo_name": "albedinsky/android_dialogs", "id": "615cfb7b1f95b5a22234d5e66a4273e3df1c636e", "...
namespace YAF.Core { #region Using using System.Collections.Generic; using System.Linq; using YAF.Types; using YAF.Types.Interfaces; #endregion /// <summary> /// The standard module manager. /// </summary> /// <typeparam name="TModule"> /// The module type based on IBaseModule. /// </typeparam> public...
{ "content_hash": "ce6956a8e3bec772b42ef9a5dfd1816f", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 91, "avg_line_length": 22.39252336448598, "alnum_prop": 0.6318864774624374, "repo_name": "unstab1e/sitecoreyaf8", "id": "c2120ceef3251707b14ab6d8aed6b67eac769bc3", "size":...
<template name="postItem"> <div class="post"> <div class="post-content"> <h3><a href="{{url}}">{{title}}</a><span>{{domain}}</span></h3> <p> submitted by {{author}}, <a href="{{pathFor 'postPage'}}">{{commentsCount}} comments</a> {{#if ownPost}}<a href="{{pathFor 'postEdit'}}">Edit</a>{{/if}} ...
{ "content_hash": "1a479781ccba51376e4ec651f436fcb1", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 81, "avg_line_length": 33.84615384615385, "alnum_prop": 0.5613636363636364, "repo_name": "codingquark/microscope", "id": "f8ce8f6c5bf98b4cf4310f395442e4164ef010f3", "size":...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.document.predicate; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** * @author <a href="mailto:magnarn@yahoo-inc.com">Magnar Nedland</a> */ public class...
{ "content_hash": "744ea2649bf790c26f1516787fa9ae54", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 107, "avg_line_length": 38.91803278688525, "alnum_prop": 0.6541701769165965, "repo_name": "vespa-engine/vespa", "id": "00a25e4dc49dda6cc61cd03365bac2e1d3a6d054", "size": "2...
/* */ "use strict"; var not_1 = require('../util/not'); var filter_1 = require('./filter'); function partition(predicate, thisArg) { return [filter_1.filter.call(this, predicate, thisArg), filter_1.filter.call(this, not_1.not(predicate, thisArg))]; } exports.partition = partition;
{ "content_hash": "04318e3166ec4f49e3626f4e67d6107f", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 117, "avg_line_length": 35.625, "alnum_prop": 0.6947368421052632, "repo_name": "poste9/crud", "id": "96ff9a191f7c1aa1179d2b1ae3bf5c3bb97c61cd", "size": "285", "binary": fa...
<?php namespace Neurologia\UserBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class DefaultControllerTest extends WebTestCase { public function testIndex() { $client = static::createClient(); $crawler = $client->request('GET', '/hello/Fabien'); $this->...
{ "content_hash": "24c36e4a338aa717b9cca6958a48a65a", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 90, "avg_line_length": 23.764705882352942, "alnum_prop": 0.6782178217821783, "repo_name": "jnllerenas/Servicio-de-Neurologia---TTPS", "id": "0ece13732f4ad2d9cbe2779eec5e09774...
import math from collections import defaultdict from olymap.utilities import get_oid, get_name, get_subkind, to_oid, loop_here2, get_ship_damage from olypy.db import loop_here from olymap.utilities import calc_ship_pct_loaded from olymap.storm import build_basic_storm_dict from olymap.char import build_basic_char_dict...
{ "content_hash": "54dda084964c49525c8e20bb58fe3a5a", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 102, "avg_line_length": 35.630872483221474, "alnum_prop": 0.4925598041062347, "repo_name": "olympiag3/olypy", "id": "7a5d33e37b83803e86f99f09330935b477f10b87", "size": "53...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- Mirrored from medialoot.com/preview/piccolo/features.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 23 Nov 2014 11:48:29 GMT --> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Piccolo Theme</title> <meta name="v...
{ "content_hash": "c7012fe4eb5593f82d9aa3c3b164a480", "timestamp": "", "source": "github", "line_count": 775, "max_line_length": 627, "avg_line_length": 58.42322580645161, "alnum_prop": 0.5379875436194178, "repo_name": "kokcito13/strah", "id": "afa895f3c0df83ed231f091e340b53e2a0398552", "size": "452...
function Devour( keys ) local caster = keys.caster local target = keys.target local ability = keys.ability local modifier = keys.modifier ability:ApplyDataDrivenModifier(caster, caster, "modifier_doom_bringer_devour_arena", nil) caster:SetModifierStackCount("modifier_doom_bringer_devour_arena", caster, target:Ge...
{ "content_hash": "41d9cd0d2934689fb137aad581de4062", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 251, "avg_line_length": 41.82608695652174, "alnum_prop": 0.7588357588357588, "repo_name": "ark120202/aabs", "id": "882bc8c0c58da7e5895ebe54a287f3296fc08898", "size": "1924"...
package com.thoughtworks.go.server.service; import com.thoughtworks.go.config.CaseInsensitiveString; import com.thoughtworks.go.server.domain.user.Filters; import com.thoughtworks.go.server.domain.user.PipelineSelections; import com.thoughtworks.go.server.persistence.PipelineRepository; import com.thoughtworks.go.uti...
{ "content_hash": "b952bfa7c1e4d2a207771dce0cb1cae5", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 163, "avg_line_length": 38.765625, "alnum_prop": 0.7601773478436115, "repo_name": "naveenbhaskar/gocd", "id": "e92b0c82041645d0de4446661809b145d170c634", "size": "3082", ...
/*************************************************************************/ /* label.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
{ "content_hash": "4b040e4c99b9e26f0bde3e8aeb6f5ed2", "timestamp": "", "source": "github", "line_count": 710, "max_line_length": 175, "avg_line_length": 28.17042253521127, "alnum_prop": 0.6098695065246738, "repo_name": "NateWardawg/godot", "id": "6ff2d232f0855fdf08f54478dedb9a3ec8a21c0d", "size": "2...
export var API_KEY = process.env['RIOT_API_KEY'];
{ "content_hash": "f89568dc2dff372b3495454c7eb7e6b0", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 50, "avg_line_length": 50, "alnum_prop": 0.7, "repo_name": "Goyatuzo/LolCalc", "id": "bc7493cc29b722698739f50fdbdb6fbcc12625c4", "size": "52", "binary": false, "copies":...
package es.asgarke.golem.tools; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.extern.slf4j.Slf4j; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.nio.file.Paths; import java.util.Optional; import java.uti...
{ "content_hash": "161cbcd359e882bbdc4d44398b1e4e62", "timestamp": "", "source": "github", "line_count": 164, "max_line_length": 116, "avg_line_length": 32.21341463414634, "alnum_prop": 0.6006057164489873, "repo_name": "apycazo/codex", "id": "94022d4c6a2bd9b028bd6af3d36825f431cfda95", "size": "5283"...
local key = ModPath .. ' ' .. RequiredScript if _G[key] then return else _G[key] = true end local fs_original_playermanager_init = PlayerManager.init function PlayerManager:init() fs_original_playermanager_init(self) self:fs_reset_max_health() end function PlayerManager:fs_reset_max_health() self.fs_current_max_he...
{ "content_hash": "5570694307c64ab2a5f24d27221edba8", "timestamp": "", "source": "github", "line_count": 166, "max_line_length": 169, "avg_line_length": 42.933734939759034, "alnum_prop": 0.7536130209064122, "repo_name": "NUTIEisBADYT/NUTIEisBADYTS-PD2-Modpack", "id": "45afb80ea54249308e851e00abd595fe1...
 namespace NutzCode.CloudFileSystem.Plugins.OneDrive { public class OneDriveRoot : OneDriveDirectory { public override string Id => ""; internal string FsName=string.Empty; public OneDriveRoot(OneDriveFileSystem fs) : base(string.Empty, fs) { IsRoot = true; ...
{ "content_hash": "45bb24cbb24024db0ae5c8e297d01fdb", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 75, "avg_line_length": 20.05263157894737, "alnum_prop": 0.6167979002624672, "repo_name": "maxpiva/CloudFileSystem", "id": "9402405947ece7aedf1e792f683a4fb830e02cb3", "size"...
require "./models/super/Screen" require "./models/screens/GameScreen" class GameOverScreen < Screen def initialize(window) super(window) @font = Gosu::Font.new(@window, "System", 36) end#initialize def activeUpdate if @window.button_down?(Gosu::KbSpace) @window.screenManager.setScreen "gameScreen", Ga...
{ "content_hash": "c0ee72b318cee2f6272aa90c8af79ff8", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 151, "avg_line_length": 33.44, "alnum_prop": 0.6889952153110048, "repo_name": "Noah-Huppert/Intro-To-Programming-14-15", "id": "198c373a0bb51ca2ca80ac471d794f2b704475ad", "...
"use strict"; exports.__esModule = true; exports.wrapWithTypes = wrapWithTypes; exports.getTypes = getTypes; exports.runtimeProperty = runtimeProperty; exports.isReference = isReference; exports.replaceWithOrRemove = replaceWithOrRemove; var currentTypes = null; function wrapWithTypes(types, fn) { return function...
{ "content_hash": "f6a2ccb43fa78bb1c8caaffdecc0952f", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 92, "avg_line_length": 22.8125, "alnum_prop": 0.6831050228310502, "repo_name": "ocadni/citychrone", "id": "527f9079a05ede8af9b6d7f6c5a6c6287a8acdb7", "size": "1277", "bin...
<?php namespace Robo; use Yoast\PHPUnitPolyfills\TestCases\TestCase; use Robo\Traits\TestTasksTrait; class ShortcutTest extends TestCase { use TestTasksTrait; use Task\Filesystem\Tasks; use Task\Filesystem\Shortcuts; use Task\Logfile\Tasks; use Task\Logfile\Shortcuts; protected $fixtures; ...
{ "content_hash": "17a669185e45eb94db0e106edb6abb9a", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 75, "avg_line_length": 28.166666666666668, "alnum_prop": 0.6218934911242604, "repo_name": "Codegyre/Robo", "id": "0555f24adb138765cb73047acb411fc0aed53a1c", "size": "1690",...
package org.broadinstitute.sting.gatk.datasources.rmd; /** * Models the entire stream of data. */ class EntireStream implements DataStreamSegment { }
{ "content_hash": "9f6c21786699813e2f0088dc4042b47f", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 54, "avg_line_length": 17.22222222222222, "alnum_prop": 0.7612903225806451, "repo_name": "iontorrent/Torrent-Variant-Caller-stable", "id": "d5b887295cee321b9e406cd9c21bd60cc8c...
using System.Buffers; namespace Orleans.Networking.Shared { internal sealed class SharedMemoryPool { public MemoryPool<byte> Pool { get; } = KestrelMemoryPool.Create(); } }
{ "content_hash": "82b33031c27eb912c3e20bf3215afbec", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 75, "avg_line_length": 21.555555555555557, "alnum_prop": 0.6958762886597938, "repo_name": "yevhen/orleans", "id": "5a4551d21ed3cac112d1d0fc1651bb9d46bb283b", "size": "194", ...
package net.kaczmarzyk; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import net.kaczmarzyk.spring....
{ "content_hash": "2761a4c0b5a6028d570032edfd73c34e", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 120, "avg_line_length": 38.678899082568805, "alnum_prop": 0.7371916508538899, "repo_name": "DmRomantsov/specification-arg-resolver", "id": "bf0fa8b3929635d8f20351f4fa7861277...
<?php namespace App\Http\Controllers; use Auth; class OAuthController extends Controller { public function verify($username, $password){ $credentials = [ 'username' => $username, 'password' => $password, ]; if (Auth::once($credentials)) { return Auth::user()->id; } else { return false; } } ...
{ "content_hash": "902d00b837a24a7dfbc5b69b0d289adc", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 46, "avg_line_length": 14.636363636363637, "alnum_prop": 0.6366459627329193, "repo_name": "umar-ahmed/AnimalServicesAPI", "id": "63e94d52abdb84d44b018478575a7f01f01d9ea7", ...
#include "GSlide.h" #include "GColor.h" class BlueSlide : public GSlide { protected: virtual void onDraw(GContext* ctx) { ctx->clear(GColor::Make(1, 0, 0, 1)); } virtual const char* onName() { return "blue"; } public: static GSlide* Create(void*) { return new BlueSlide; ...
{ "content_hash": "51e9eac5f10956f061b715d5b187a557", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 51, "avg_line_length": 17.363636363636363, "alnum_prop": 0.6099476439790575, "repo_name": "schuylerkylstra/MyDemoCode", "id": "9d97a18de7fd08f713f7c907ac91e82f1ef8bc09", "s...
============================= dj-bgfiles ============================= .. image:: https://badge.fury.io/py/dj-bgfiles.png :target: https://badge.fury.io/py/dj-bgfiles .. image:: https://travis-ci.org/climapulse/dj-bgfiles.png?branch=master :target: https://travis-ci.org/climapulse/dj-bgfiles Generate files i...
{ "content_hash": "ce5a6f95b31eee9b738177d18558615a", "timestamp": "", "source": "github", "line_count": 420, "max_line_length": 191, "avg_line_length": 44.59047619047619, "alnum_prop": 0.6793037163605297, "repo_name": "climapulse/dj-bgfiles", "id": "630bafb297658c9bc40d77be8fb21de545aa54b0", "size"...
package stainless.genc import stainless.extraction.utils._ class NamedLeonPhase[F, T](val name: String, val underlying: LeonPipeline[F, T]) (using context: inox.Context) extends LeonPipeline[F, T](context) { lazy val phases = context.options.findOption(optDebug...
{ "content_hash": "2b230a3c689b2489bfb8d14e63372425", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 108, "avg_line_length": 32.64383561643836, "alnum_prop": 0.6374318086445657, "repo_name": "epfl-lara/stainless", "id": "681a6dc0e2562988627b77b2206f5c2259075a46", "size": "...
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; namespace ExpressMapper { public interface ITypeMapper { Expression QueryableGeneralExpression { get; } Func<object, object, object> GetNonGenericMapFunc(); Tuple<List<Expression>, P...
{ "content_hash": "622ccf69f0e256e51bbb5cae49da9e5b", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 115, "avg_line_length": 41.53846153846154, "alnum_prop": 0.6895061728395062, "repo_name": "bo-stig-christensen/ExpressMapper", "id": "a24247f759bafe713b770425e15e343f1c5f8698...
<?php // process image // code modifed from : // http://php.net/manual/en/function.imagesetpixel.php */ // $input = stream_get_line(STDIN, 1000000); $input = trim($input, "\n"); // remove last carrage return if passed // check arguments if (count($input) == 0 || count($argv) < 2) { echo "Error; No data pas...
{ "content_hash": "6fc3221559c3c775ce3393bb6683e674", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 94, "avg_line_length": 26.62, "alnum_prop": 0.613824192336589, "repo_name": "richardagreene/CSG6206-Porfolio", "id": "9b9a41186478d8c0dfe459fef4d12bac854ab865", "size": "13...
<!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="popup.css"> </head> <body> <button id="all-gyms">&#x26a1; All <div class="gold"></div> Gyms &#x26a1;</button> <button id="show3"><div class="gold"></div><div class="gold"></div><div class="gold"></div></button> <button id="show4">...
{ "content_hash": "f5f5800cafeb24bed079d5de42749b1d", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 126, "avg_line_length": 41.916666666666664, "alnum_prop": 0.6182902584493042, "repo_name": "DemonKart/GymhuntrRaids", "id": "e8b91d72f5f4656a0310a007e0c35d9b3c0e4b4f", "siz...
export declare const VERSION = "2.8.0";
{ "content_hash": "3130087202e1321519fc340d2728b2a2", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 39, "avg_line_length": 40, "alnum_prop": 0.7, "repo_name": "Ruben-Sten/TeXiFy-IDEA", "id": "c11abe893dcc6c43128e37398a851381af8a61ff", "size": "40", "binary": false, "co...
% ----------------------------------------------------------------------- % % Copyright (c) <2015>, <Terence Macquart> % All rights reserved. % % Redistribution and use in source and binary forms, with or without % modification, are permitted provided that the following conditions are met: % % 1. Redistributions of s...
{ "content_hash": "5a6cff85e8a0c5148fcd8d78661ed06e", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 105, "avg_line_length": 50.53846153846154, "alnum_prop": 0.632800608828006, "repo_name": "TMacquart/OptiBLESS", "id": "b02f96a6781f8178f22224be776cb5932df3c548", "size": "2...
<?php /* * */ namespace RDF\JobDefinitionFormatBundle\Model\JDF\Process\PrePress; use Doctrine\OXM\Mapping as OXM; /** * RDF\JobDefinitionFormatBundle\Model\JDF\Process\PrePress\DieDesign * * @OXM\XmlEntity(xml="DieDesign") */ class DieDesign { }
{ "content_hash": "e60143e06de30232ec90a1031488e219", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 69, "avg_line_length": 14.222222222222221, "alnum_prop": 0.73046875, "repo_name": "richardfullmer/RDFJobDefinitionFormatBundle", "id": "5bf2fa24cd9feb09b799521f51e9ca9bc16382...
====== Events ====== These examples show you how to create, bind, listen to, and use events in your applications. .. toctree:: :maxdepth: 1 binding_events
{ "content_hash": "eb2b2124583a4eaeba62f482b44d1b37", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 79, "avg_line_length": 13.833333333333334, "alnum_prop": 0.6506024096385542, "repo_name": "jeffblack360/mojito", "id": "6cc154e6fc66710e78cf6211719d6e55087ab633", "size": "...
layout: page title: Herrera Trade Conference date: 2016-05-24 author: Daniel Krueger tags: weekly links, java status: published summary: Donec imperdiet egestas ullamcorper. Integer. banner: images/banner/people.jpg booking: startDate: 11/15/2019 endDate: 11/19/2019 ctyhocn: AVPHDHX groupCode: HTC published: tr...
{ "content_hash": "3e8151aa5cddb360964aeba5835223f4", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 640, "avg_line_length": 85.08695652173913, "alnum_prop": 0.8140010219724068, "repo_name": "KlishGroup/prose-pogs", "id": "d1a65409e3903ed9dbe51a0dc4b83c7e9fbcbdd6", "size":...
/*************************************************************************/ /* primitive_meshes.h */ /*************************************************************************/ /* This file is part of: */ /* ...
{ "content_hash": "92a4981a9373bf381ded51a837934b89", "timestamp": "", "source": "github", "line_count": 650, "max_line_length": 184, "avg_line_length": 26.246153846153845, "alnum_prop": 0.6893903868698711, "repo_name": "guilhermefelipecgs/godot", "id": "ee61f0ac55cc01567c7ad46bee52355814a6b7d2", "s...
/* * QuadNodePolarEuclid.h * * Created on: 21.05.2014 * Author: Moritz v. Looz (moritz.looz-corswarem@kit.edu) * * Note: This is similar enough to QuadNode.h that one could merge these two classes. */ #ifndef QUADNODEPOLAREUCLID_H_ #define QUADNODEPOLAREUCLID_H_ #include <vector> #include <algorithm> #i...
{ "content_hash": "26221da2cb13ecabaef0a36954d01c7c", "timestamp": "", "source": "github", "line_count": 697, "max_line_length": 176, "avg_line_length": 31.543758967001434, "alnum_prop": 0.667333757845902, "repo_name": "fmaschler/networkit", "id": "cc60907be56fe986e15bff634c9afa966104d145", "size": ...
package ec.app.majority.func; import ec.*; import ec.app.majority.*; import ec.gp.*; import ec.util.*; public class If extends GPNode { public String toString() { return "if"; } public int expectedChildren() { return 3; } public void eval(final EvolutionState state, final...
{ "content_hash": "c75df58b6b0c1a270e4c8e03ca786663", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 70, "avg_line_length": 25.651162790697676, "alnum_prop": 0.5394378966455122, "repo_name": "ashkanent/GP_FitnessSharing", "id": "962ec8a01bef377024e8553a96aeaf6abef1f7c2", "...
<div class="projects-container" layout="row"> <md-content layout-padding class="projects-content" flex="30"> <md-list class="projects-list" *ngIf="_projectService.projects"> <md-subheader class="md-no-sticky" flex layout="row"> <div flex>Projects</div> <div flex> <select #stageFilt...
{ "content_hash": "068d808fbea3129b44d7e578bf0acacf", "timestamp": "", "source": "github", "line_count": 225, "max_line_length": 171, "avg_line_length": 40.16888888888889, "alnum_prop": 0.5348528435494578, "repo_name": "woowe/new_dealer_tracker", "id": "421eaccf8640f127f873ef4da4896bd2a1d611bd", "si...
package net.glowstone.constants; import org.apache.commons.lang3.Validate; import org.bukkit.Effect; import org.bukkit.material.MaterialData; import java.util.Arrays; /** * Id mappings for particles. */ public final class GlowParticle { private static final int[] EMPTY = new int[0]; private GlowParticle(...
{ "content_hash": "7ea6ae2a866510679b729fa560134569", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 133, "avg_line_length": 39.904, "alnum_prop": 0.5908179631114675, "repo_name": "Postremus/GlowstonePlusPlus", "id": "ab1ec779a4e0bd3e510cd3c9821395f67ae43f4e", "size": "49...
package japicmp.test; import java.util.Collections; import java.util.List; import java.util.Map; public class MethodReturnType { public int methodReturnTypeUnchanged() { return 42; } public String methodReturnTypeChangesFromIntToString() { return ""; } public int methodReturnTypeChangesFromStringToInt() {...
{ "content_hash": "93701085ae080e484fee5ede00efee09", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 78, "avg_line_length": 18.714285714285715, "alnum_prop": 0.7690839694656488, "repo_name": "243826/japicmp", "id": "b8385ccb2229d6ce9fe8153810e23bf72c5c28de", "size": "524",...
/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.urls.commerce.orders; import com.mozu.api.MozuUrl; import com.mozu.api.utils.UrlFormatter; import org.joda.time.DateTime; p...
{ "content_hash": "48297877b7492832fd246539b0789a5d", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 422, "avg_line_length": 54.3921568627451, "alnum_prop": 0.7750540735400144, "repo_name": "lakshmi-nair/mozu-java", "id": "66bbc39030aa27fcbd298ba7a79c8691b695cfdd", "size":...
(function () { var game = new Phaser.Game(this, 'game', 800, 600, preload, create, update, render); function preload() { game.load.image('fuji', 'assets/pics/atari_fujilogo.png'); } var fuji: Phaser.Sprite; var tween: Phaser.Tween; var b: Phaser.Rectangle; function create() { ...
{ "content_hash": "8ae01777e2b6e754ab1741d3c2aee566", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 108, "avg_line_length": 28.54901960784314, "alnum_prop": 0.6133241758241759, "repo_name": "GoodBoyDigital/phaser", "id": "f28ecb1fed982b0ec7bd1dca0012dddb98f47b3d", "size":...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>MJPropertiesEnumeration Block Reference</title> <link rel="stylesheet" href="../css/style.css"> <meta name="viewport" content="initial-scale=1, maximum-scale=1.4"> <meta name="generator" content="appledoc 2.2.1 (build 1334)"> </head> <body class="appled...
{ "content_hash": "78352d491ec501a2b63458542c172b28", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 118, "avg_line_length": 20.729323308270676, "alnum_prop": 0.5821545157780196, "repo_name": "AirChen/PythonPractic", "id": "df3cdd07b5be946970bf4527ca2ebb31d396afec", "size...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NearForums.Configuration { /// <summary> /// Defines an optional ConfigurationElement, that will be always instanciated but not always defined by the user. /// </summary> public interface IOptionalElement {...
{ "content_hash": "4de5b0914cecf70de34ec7e9dc3ef226", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 115, "avg_line_length": 20.333333333333332, "alnum_prop": 0.6994535519125683, "repo_name": "jorgebay/nearforums", "id": "685239c76f165a5514d99d3b700a7194a06984cd", "size": ...
package org.apache.accumulo.core.client.mapreduce.impl; import java.io.IOException; import java.math.BigInteger; import org.apache.accumulo.core.client.Instance; import org.apache.accumulo.core.client.mapreduce.InputTableConfig; import org.apache.accumulo.core.client.mapreduce.RangeInputSplit; import org.apache.acc...
{ "content_hash": "ca58493e6b2c0c1c859b9a93d8e79315", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 157, "avg_line_length": 38.24050632911393, "alnum_prop": 0.7196292618338298, "repo_name": "adamjshook/accumulo", "id": "d19b49922119e084853e1a0b8690cecb0063eb2b", "size": "...
body { padding-top: 50px; padding-bottom: 20px; } /* Wrapping element */ /* Set some basic padding to keep content from hitting the edges */ .body-content { padding-left: 15px; padding-right: 15px; } /* Carousel */ .carousel-caption { z-index: 10 !important; } .carousel-caption p { font-size: 20px; ...
{ "content_hash": "2670a72ab3f13650c1b4ba87d8a06247", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 67, "avg_line_length": 16.392156862745097, "alnum_prop": 0.638755980861244, "repo_name": "grrizzly/eventsourced.net", "id": "6c36b950689465928402f75857f822d6549fdd96", "siz...
import React from 'react'; import PropTypes from 'prop-types'; import { Button, Tooltip } from 'reactstrap'; const propTypes = { id: PropTypes.string.isRequired, icon: PropTypes.string.isRequired, text: PropTypes.string.isRequired, onClick: PropTypes.func, tag: PropTypes.string, href: PropTypes.string }; ...
{ "content_hash": "7b42fdfe30df4c18aa2b66feeb3b457d", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 50, "avg_line_length": 22.140845070422536, "alnum_prop": 0.5527989821882952, "repo_name": "miurahr/seahub", "id": "c046aacf34593dc7c93c25cdf51be165844c535e", "size": "1572"...
<!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_25) on Mon Dec 16 08:10:46 GMT 2013 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Serialized Form (Ho...
{ "content_hash": "477e472b987597fbd5f182845adc8b21", "timestamp": "", "source": "github", "line_count": 354, "max_line_length": 373, "avg_line_length": 39.545197740113, "alnum_prop": 0.7133366669047789, "repo_name": "Dauth/cs3219-JMS", "id": "ec2c7f920d8c3c866c1500887ac85ab1f19c650a", "size": "1399...
set(proj LibD) set(depends "") ExternalProject_Include_Dependencies(${proj} PROJECT_VAR proj DEPENDS_VAR depends EP_ARGS_VAR ep_args USE_SYSTEM_VAR ${CMAKE_PROJECT_NAME}_USE_SYSTEM_${proj} ) include(${CMAKE_CURRENT_SOURCE_DIR}/../ArtichokeTestUtility.cmake) check_variable(proj "LibD") check_variable(depends...
{ "content_hash": "2f2cd9c703071bda6eabab5fe5d74e38", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 95, "avg_line_length": 26.444444444444443, "alnum_prop": 0.7008403361344537, "repo_name": "commontk/Artichoke", "id": "341b0afcdbed0a30c0c7166be3d0e7516413c34b", "size": "1...
Newt Programming Language Design - Variables ============================================ Types ----- The language is statically typed. The general idea is to have 4 primitive types: `Integer`, `Real`, `Boolean`, `Character`, along with compund types like `String`, `File`, `Sprite` (for graphics) etc., as well as us...
{ "content_hash": "88612d214604478187a22f05d1c52a2a", "timestamp": "", "source": "github", "line_count": 201, "max_line_length": 80, "avg_line_length": 36.398009950248756, "alnum_prop": 0.7203389830508474, "repo_name": "mrozycki/newt-lang-design", "id": "0b3709759af414cb00b502be338958eed88d11d7", "s...
set -e if [ ! -d "build" ]; then mkdir build fi cd build cmake .. $@ make $MAKEOPTS cd .. echo "Executing tests..." build/tests/integral build/tests/derivative echo "Testing done."
{ "content_hash": "3cd6d2f643670b01ccb046fa4c70d049", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 25, "avg_line_length": 13.428571428571429, "alnum_prop": 0.6648936170212766, "repo_name": "optonaut/control-system-cpp", "id": "d0ddabad8521f05190d7f61cf312b02c82ae0182", "...
using System; using System.IO; using Gem; using Microsoft.Win32; namespace HelperGui { public class FilesBrowser : IEntitiesBrowser { #region IEntitiesBrowser implementation public virtual string Browse(string initialPath) { var fileDialog = new OpenFileDialog...
{ "content_hash": "42a78cb89efb52b8f14ef929d1c169f3", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 84, "avg_line_length": 26.112903225806452, "alnum_prop": 0.5138974675725757, "repo_name": "adishilo/gem", "id": "a9bf619f2ee9c3e4226f505f29a205905c75dc1a", "size": "1621", ...
const _ = require('underscore'); module.exports = { platformName: 'digital_ocean', baseUrl: 'https://api.digitalocean.com/v2', actions: { list_all_servers: function(req) { req.options = { method: 'GET', uri: `${module.exports.baseUrl}/droplets` }; }, list_all_images: funct...
{ "content_hash": "9ededfd9764693a400dcf78c36438d62", "timestamp": "", "source": "github", "line_count": 218, "max_line_length": 115, "avg_line_length": 29.31192660550459, "alnum_prop": 0.5447574334898279, "repo_name": "ranebo/project-ipsum", "id": "0e56f9bc23bbd15bcfc04e64088f42c88f6b8fe0", "size":...
namespace Microsoft.Azure.Management.RecoveryServices.Backup.Models { using System.Linq; /// <summary> /// Base class for validate operation request. /// </summary> public partial class ValidateOperationRequest { /// <summary> /// Initializes a new instance of the ValidateOperat...
{ "content_hash": "a1e0c7ea92813468ca5dc22530f7fdfc", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 90, "avg_line_length": 25.24, "alnum_prop": 0.606973058637084, "repo_name": "yugangw-msft/azure-sdk-for-net", "id": "17ec06d0a7a125d85a5106f77e45e57579796e60", "size": "984...
function(assign_version_property VER_COMPONENT) file(STRINGS "./include/librealsense2/rs.h" REALSENSE_VERSION_${VER_COMPONENT} REGEX "#define RS2_API_${VER_COMPONENT}_VERSION") separate_arguments(REALSENSE_VERSION_${VER_COMPONENT}) list(GET REALSENSE_VERSION_${VER_COMPONENT} -1 tmp) if (tmp LESS 0) ...
{ "content_hash": "7f8fde52d1f752de01429a88a610e53e", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 132, "avg_line_length": 48.80952380952381, "alnum_prop": 0.7551219512195122, "repo_name": "IntelRealSense/librealsense", "id": "525a1fe36f30d2db93fe44b2d4bc30d67b6a30b5", "...
import sys import os import re import gzip #@lint-avoid-python-3-compatibility-imports # Make directory for output if it doesn't exist try: os.mkdir(sys.argv[2] + "/" + sys.argv[1].split("/")[-2]) except OSError: pass # Strip off .gz ending end = "/".join(sys.argv[1].split("/")[-2:])[:-len(".xml.gz")] + ".tx...
{ "content_hash": "459b281d539548bf19a49095d7b3a0b2", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 70, "avg_line_length": 26.236842105263158, "alnum_prop": 0.5336008024072216, "repo_name": "W4ngatang/NAMAS", "id": "e7ac88b65da255d821b3d5cdcf4c9354adde4973", "size": "2446...
<?php namespace Zend\UserModuleTest\Factory\Form; use Zend\Form\FormElementManager; use Zend\ServiceManager\ServiceManager; use Zend\UserModule\Factory\Form\ChangeEmail as ChangeEmailFactory; use Zend\UserModule\Options\ModuleOptions; use Zend\UserModule\Mapper\User as UserMapper; class ChangeEmailFormFactoryTest ext...
{ "content_hash": "3627692141648b146089fff440f5c5ae", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 141, "avg_line_length": 34.5, "alnum_prop": 0.7039337474120083, "repo_name": "kenkataiwa/ZendUserModule", "id": "d63dbf5d67133d85301edb3a7bf4a2ca884c0128", "size": "966", ...
/* eslint-disable import/no-extraneous-dependencies */ import React from 'react'; import { shallow } from 'enzyme'; import Error404 from '../index'; describe('<Error404 />', () => { test('renders', () => { const staticContext = {}; const wrapper = shallow(<Error404 staticContext={staticContext} />); ex...
{ "content_hash": "142be54938547b9be895cde22c02e3cc", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 72, "avg_line_length": 27.333333333333332, "alnum_prop": 0.6585365853658537, "repo_name": "thehink/equilab-web", "id": "31bb8eb55c0035efa0e78859b74753a817ca133d", "size": "...
using System.Linq; using Microsoft.VisualStudio.ComponentModelHost; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.VSSDK.Tools.VsIdeTesting; using NuPattern.ComponentModel.Composition; using NuPattern.Runtime.Composition; using NuPattern.Runtime.IntegrationTests.SampleVsix; namespace NuPattern.Ru...
{ "content_hash": "96dbbb238248ac5561da9d2383c1d023", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 123, "avg_line_length": 36.95161290322581, "alnum_prop": 0.6429506765604539, "repo_name": "NuPattern/NuPattern", "id": "1457d02a4412007ee3517843a3f90966ac2f6bea", "size": "...
@interface FWTViewController : UIViewController @end
{ "content_hash": "a9128ef0dc6d6f207b9fe048d4a6fe80", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 47, "avg_line_length": 18, "alnum_prop": 0.8333333333333334, "repo_name": "FutureWorkshops/FWTMappingKit", "id": "02be552333f17dd719beecad1e9e66bf888bdb06", "size": "242", ...
require "rubygems" require "rsolr" require "lib/rsolr-direct.rb" RSolr::Direct.load_java_libs "./solr" RSolr.direct_connect(:solr_home => File.expand_path("./solr/example/solr")) do |solr| response = solr.select(:params => {:q => "*:*"}) puts response.inspect end
{ "content_hash": "2cbbaead2c39307cc2f0cb52d05b9591", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 85, "avg_line_length": 26.9, "alnum_prop": 0.6877323420074349, "repo_name": "mwmitchell/rsolr-direct", "id": "c448f2a3193590ed947fe33a1b641d181fec1f5c", "size": "269", "b...
import sys import os import matplotlib import numpy import matplotlib matplotlib.use('AGG') import matplotlib.pyplot as plt from matplotlib.ticker import MaxNLocator from matplotlib.ticker import FormatStrFormatter def getArg(param, default=""): if (sys.argv.count(param) == 0): return default i = sys.argv.in...
{ "content_hash": "833477a5752b4bcd02f478a635f568e4", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 77, "avg_line_length": 24.32, "alnum_prop": 0.6916118421052632, "repo_name": "antonyms/AntonymPipeline", "id": "6533ebd6ffefefed3e7df35379937b7a46bd0f6e", "size": "1235", ...
using System; using System.Collections.Generic; using System.Diagnostics; using Workbench.Core.Models; using Workbench.Core.Nodes; namespace Workbench.Core.Repeaters { internal class VisualizerRepeater { private VisualizerRepeaterContext context; private readonly SolutionSnapshot sn...
{ "content_hash": "8bc81ee16f15d12fd2a5da01fab423c9", "timestamp": "", "source": "github", "line_count": 270, "max_line_length": 115, "avg_line_length": 38.885185185185186, "alnum_prop": 0.5769120868654157, "repo_name": "digitalbricklayer/dyna", "id": "486514d6e50066c17853c12af3f343d194cef553", "siz...
<form id="fm-charges" method="post" novalidate> <input type="hidden" name="chrg_id" value="<?php echo isset($charge->chrg_id) ? $charge->chrg_id : ""; ?>" /> <div id="cc" class="easyui-layout" fit="true" style="height:450px;"> <div data-options="region:'center',title:'Charges'" style="padding:5px;"> ...
{ "content_hash": "238fb4caf47b9f716331dd80f0947c5e", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 169, "avg_line_length": 36.628571428571426, "alnum_prop": 0.531201248049922, "repo_name": "AsCEX/hardware", "id": "d11a0b1fcd243a2d82aaab7720119025f725c884", "size": "1282"...
ig.module( 'plusplus.abstractities.door-triggered' ) .requires( 'plusplus.abstractities.door' ) .defines(function() { /** * Convenience door, opening and closing only when triggered and not with interaction or collision. * <span class="alert alert-error"><strong>IMPORTANT:...
{ "content_hash": "2fd533fa7dc89fe4170fc28eb9c0830b", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 129, "avg_line_length": 27.51923076923077, "alnum_prop": 0.49825296995108315, "repo_name": "philpill/tbgagain", "id": "2977b8d3a63b35ebf1e9484b5d486abde6f746b6", "size": "1...
[![Join The Conversation](https://discordapp.com/api/guilds/295745377083326464/embed.png)](https://discord.gg/GFt67vr) # [KeepOurNetFree](https://keepournetfree.github.io/) [KeepOurNetFree](https://keepournetfree.github.io/) is a website designed to inform about internet rights issues such as net neutrality and privac...
{ "content_hash": "6e3fc9569bdd99111de198c1f62e221c", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 227, "avg_line_length": 60.516129032258064, "alnum_prop": 0.7750533049040512, "repo_name": "KeepOurNetFree/keepournetfree.github.io", "id": "6e4d74018a0977e8b8eadbc44efec2de0...
<?php if (!defined('IDIR')) { die; } /** * geeklog /** * geeklog_001 Associate Users * * @package ImpEx.geeklog * */ class geeklog_002 extends geeklog_000 { var $_version = '0.0.1'; var $_dependent = '001'; var $_modulestring = 'Associate Users'; function geeklog_002() { } function init(&$sessionobjec...
{ "content_hash": "2dca070462bba64666fc0168a7eda17c", "timestamp": "", "source": "github", "line_count": 196, "max_line_length": 212, "avg_line_length": 39.892857142857146, "alnum_prop": 0.6775802532293133, "repo_name": "internetbrands/vbimpex", "id": "8706740d2fcf7a4704b24cd3e8d1e425f5551ed9", "siz...
package org.apache.spark.util import java.net.URLClassLoader import org.scalatest.FunSuite import org.apache.spark.{LocalSparkContext, SparkContext, SparkException, TestUtils} import org.apache.spark.util.Utils class MutableURLClassLoaderSuite extends FunSuite { val urls2 = List(TestUtils.createJarWithClasses(...
{ "content_hash": "9ebdf69678c3a9629b6d445c63a0ddce", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 92, "avg_line_length": 37.625, "alnum_prop": 0.720628209000302, "repo_name": "hengyicai/OnlineAggregationUCAS", "id": "31e3b7e7bb71befc463404df93728d2b02c9615c", "size": "4...
package main import ( "open-match.dev/open-match/examples/functions/golang/backfill/mmf" ) const ( queryServiceAddr = "open-match-query.open-match.svc.cluster.local:50503" // Address of the QueryService endpoint. serverPort = 50502 // The port for hosting the M...
{ "content_hash": "1923a06f52191eabfb24239296750857", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 117, "avg_line_length": 28.214285714285715, "alnum_prop": 0.6531645569620254, "repo_name": "googleforgames/open-match", "id": "81583f922f44147f8f9d2fb2218756d5589e57d7", "s...
import { FC, ReactElement, useEffect } from 'react'; import { To, useNavigate, NavigateOptions, useHref, } from 'react-router-dom'; import { RedirectStatusCode } from '../utils/redirect.js'; import { HttpStatus } from './http-status.js'; /** * Redirect to the provided location, default statusCode 307 (Temporary red...
{ "content_hash": "3d87f1994e5f4fdb72962251d51c582a", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 81, "avg_line_length": 29.91176470588235, "alnum_prop": 0.6705998033431662, "repo_name": "Atyantik/react-pwa", "id": "86214c533fbd1a86d030488670b42ce05238aa40", "size": "10...
package com.dremio.services.configuration; import com.dremio.datastore.VersionExtractor; import com.dremio.datastore.api.LegacyKVStore; import com.dremio.datastore.api.LegacyKVStoreCreationFunction; import com.dremio.datastore.api.LegacyKVStoreProvider; import com.dremio.datastore.api.LegacyStoreBuildingFactory; impo...
{ "content_hash": "c74336256daf8875d82427f0854f4030", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 124, "avg_line_length": 30.144736842105264, "alnum_prop": 0.7472719336534265, "repo_name": "dremio/dremio-oss", "id": "6b8ec8b80f9b21c9f03202d3b4222056a70561ac", "size": "2...
module Ssb.Address where data Address = Address {host :: String, port :: Int} deriving (Show, Eq)
{ "content_hash": "cfe300a65012440c60a6c18e2b5656e8", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 72, "avg_line_length": 25, "alnum_prop": 0.7, "repo_name": "bkil-syslogng/haskell-scuttlebutt", "id": "3504bdd664ea3bab00e610e1e90ec0a63f762864", "size": "100", "binary": ...
#include "postgres.h" #include "fmgr.h" #include "mb/pg_wchar.h" #include "../../Unicode/gbk_to_utf8.map" #include "../../Unicode/utf8_to_gbk.map" PG_MODULE_MAGIC; PG_FUNCTION_INFO_V1(gbk_to_utf8); PG_FUNCTION_INFO_V1(utf8_to_gbk); /* ---------- * conv_proc( * INTEGER, -- source encoding id * INTEGER, -- dest...
{ "content_hash": "f4aa154d2c90951b2ab4461d4a7e255c", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 62, "avg_line_length": 22.17241379310345, "alnum_prop": 0.6423017107309487, "repo_name": "ashwinstar/gpdb", "id": "d6613a0e85100d6f581b7eee00605dd478a7a23a", "size": "1706"...
<!doctype html> <title>CodeMirror: Eiffel mode</title> <meta charset="utf-8"/> <link rel=stylesheet href="../../doc/docs.css"> <link rel="stylesheet" href="../../lib/codemirror.css"> <link rel="stylesheet" href="../../theme/neat.css"> <script src="../../lib/codemirror.js"></script> <script src="eiffel.js"></script> <...
{ "content_hash": "a548b3ba1e7556487f1eb8c7f8d3c6de", "timestamp": "", "source": "github", "line_count": 429, "max_line_length": 93, "avg_line_length": 30.72027972027972, "alnum_prop": 0.5421503907731998, "repo_name": "jabbrass/brackets-server-1.1", "id": "346fed9e42b1cd7abff1f0109b7bb765f56aee2b", ...
<?xml version="1.0" encoding="iso-8859-1"?> <!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> <title>Docs for page SimpleMimeEntity.php</title> <link rel="stylesheet" href=...
{ "content_hash": "d8592ea2c2b95c6770ca069d9c9a21b6", "timestamp": "", "source": "github", "line_count": 165, "max_line_length": 135, "avg_line_length": 32.58181818181818, "alnum_prop": 0.5861235119047619, "repo_name": "kmchugh/YiiPlinth", "id": "b12944c0510440386532a7cd2b226c5ece1e8cb8", "size": "5...
layout: lab num: lab07 ready: true desc: "arrays of structs, reading from csv files" submit_cs: https://submit.cs.ucsb.edu/form/project/817 --- # Goals of this lab The goal of this lab is get more practice with iterating through arrays and linked lists, and applying recursion to solving problems. Continue to practi...
{ "content_hash": "d40ae7eb0d82ed54f1bdb80db7f1e714", "timestamp": "", "source": "github", "line_count": 457, "max_line_length": 486, "avg_line_length": 44.92997811816193, "alnum_prop": 0.7590220620464618, "repo_name": "ucsb-cmptgcs-1a-f17/ucsb-cmptgcs-1a-f17.github.io", "id": "5b798557ae8c13302a0d88b...
import { isMobile, matchWithGroups } from './helpers.js'; import { c as config } from './chunk-e92e3389.js'; import { F as FormElementMixin } from './chunk-17b33cd2.js'; var AM = 'AM'; var PM = 'PM'; var HOUR_FORMAT_24 = '24'; var HOUR_FORMAT_12 = '12'; var defaultTimeFormatter = function defaultTimeFormatter(date, v...
{ "content_hash": "7073663a973ae7808a415707719cef43", "timestamp": "", "source": "github", "line_count": 729, "max_line_length": 195, "avg_line_length": 30.349794238683128, "alnum_prop": 0.5706666666666667, "repo_name": "cdnjs/cdnjs", "id": "78762f2c96d6124a127add10bbc03795ad6f73dc", "size": "22125"...
function vmstart(vm){ $("#wheel").show(); data = {'name': vm, 'action': 'start'}; $.ajax({ type: "POST", url: '/vmaction', data: data, success: function(data) { $("#wheel").hide(); if (data.result == 'success') { $('.top-right').notify({mess...
{ "content_hash": "996d6f81791e678758cb42497030668d", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 131, "avg_line_length": 30.443298969072163, "alnum_prop": 0.45038943447341684, "repo_name": "karmab/kcli", "id": "8dc736dedb44aa114c9fe3afd90c9b56a1743a26", "size": "2953",...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:orientation="horizontal" android:gravity="center_vertical" android:layout_width="fill_parent" android:...
{ "content_hash": "42184cd9b1cc688895dc360ad38f8207", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 71, "avg_line_length": 32.65384615384615, "alnum_prop": 0.7314487632508834, "repo_name": "lijian17/meeting", "id": "55f7e18b2118e4fdbceb6c0b9f1d24ed3c74418e", "size": "849"...
import { isBlank, isPresent, isFunction } from 'angular2/src/facade/lang'; import { BaseException } from 'angular2/src/facade/exceptions'; import { Map } from 'angular2/src/facade/collection'; import { PromiseWrapper } from 'angular2/src/facade/async'; import { RouteRule, RedirectRule, PathMatch } from './rules'; impor...
{ "content_hash": "7a085ce485d26dbe150f6baf2b732c45", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 187, "avg_line_length": 42.86577181208054, "alnum_prop": 0.6148426491310475, "repo_name": "liufeng2015/LeifD3", "id": "b7fa7aa1cdf47bdc78932cf4d1ff753279613111", "size": "...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "b7c61d5a9fed414366b5d393ce49db96", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "4366c6f83081d041fb67ffcd7fcc739536bec5a3", "size": "18...
'use strict'; export * from './mi-glyphicon.directive.js';
{ "content_hash": "56e70a25b3ab5b56932f3902825eb686", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 44, "avg_line_length": 19.666666666666668, "alnum_prop": 0.6949152542372882, "repo_name": "AVykhrystyuk/Make-it-app", "id": "05d13e551aaac94bec2267c51ee012409e96dbbb", "size...