text
stringlengths
2
1.04M
meta
dict
/* @flow */ import React from 'react'; import { StyleSheet, View } from 'react-native'; import Emoji from './Emoji'; const styles = StyleSheet.create({ container: { flexDirection: 'row', }, }); export default class EmojiPicker extends React.Component { render() { return ( <View style={styles.conta...
{ "content_hash": "4e4a800d191ce8986e84b0c8e6cb2a6e", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 58, "avg_line_length": 19.45, "alnum_prop": 0.6143958868894601, "repo_name": "nashvail/zulip-mobile", "id": "bfda0edc03cc6a9b0a27a53be2db7503260aacc5", "size": "389", "bi...
static float doCollisionSound(cpArbiter *arb, CollisionSounds *sounds) { float gain = 0; //Sound if (cpArbiterIsFirstContact(arb)) { cpVect total = cpArbiterTotalImpulse(arb); float lenSq = cpvlengthsq(total); static const float min = 900.0f; //NSLo...
{ "content_hash": "08106a0b2787b67f9bd5a266f89ce372", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 128, "avg_line_length": 27.3125, "alnum_prop": 0.6020849224510552, "repo_name": "Tinybop/Boidlings", "id": "35965957617c15be9bd3e186239192f3ddb0c177", "size": "4177", "b...
A real-life benchmark for NoSQL databases. It simulates the use case of powering the newsfeed for a social app. The benchmark is open source and easy to replicate. It uses [Stream-Framework](https://github.com/tschellenbach/stream-framework), the most widely used open source package for building scalable newsfeeds and ...
{ "content_hash": "079221b748e845d45c58a262adf15701", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 338, "avg_line_length": 26.54368932038835, "alnum_prop": 0.780175566934894, "repo_name": "GetStream/Stream-Framework-Bench", "id": "eb2d30b5e946f4a0388e2515ceb4317205bb81b6"...
const { injectBabelPlugin } = require('react-app-rewired'); const rewireLess = require('react-app-rewire-less'); module.exports = function override(config, env) { config = injectBabelPlugin(['import', { libraryName: 'antd', style: true }], config); // change importing css to less config = rewireLess(config, env, ...
{ "content_hash": "63b0998a2e38a47716c57ba3ef106cf5", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 120, "avg_line_length": 33.916666666666664, "alnum_prop": 0.6633906633906634, "repo_name": "RisenEsports/RisenEsports.github.io", "id": "4e807ac996b5e569c711616bab49eb5a275e3...
package org.eclipse.php.internal.ui.search; import org.eclipse.osgi.util.NLS; public class Messages extends NLS { private static final String BUNDLE_NAME = "org.eclipse.php.internal.ui.search.messages"; //$NON-NLS-1$ public static String OccurrencesSearchQuery_0; static { // initialize resource bundle ...
{ "content_hash": "5c787e8ec3c996bf70ee717be2de06a3", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 103, "avg_line_length": 27.4, "alnum_prop": 0.7299270072992701, "repo_name": "rajeevanv89/developer-studio", "id": "c1f9fbc75ffb327c402a513773d67b92acff0384", "size": "411"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>finger-tree: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min...
{ "content_hash": "ce22677c5e9e694c2234f6dfd7b94833", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 208, "avg_line_length": 42.60493827160494, "alnum_prop": 0.5423065778035352, "repo_name": "coq-bench/coq-bench.github.io", "id": "701cd6f5123fc300434c49ee3ad8b8cf88df1862", ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using Azure.Core.Amqp; using ...
{ "content_hash": "025df692ba080d6e04426714d40526bc", "timestamp": "", "source": "github", "line_count": 134, "max_line_length": 152, "avg_line_length": 40.6865671641791, "alnum_prop": 0.646551724137931, "repo_name": "Azure/azure-sdk-for-net", "id": "8fb4728e1d9ab0c3b6c5c57ff28111816f3d56b6", "size"...
package pool import ( "fmt" "os" "time" "github.com/garyburd/redigo/redis" ) // Manager manages different redis connections type Manager struct { messageChan chan message connections map[string]*redis.Pool } // NewManager constructs a new Manager func NewManager(messageChan chan message) *Manager { connectio...
{ "content_hash": "c906058b572d133c45ab56c8431e49f6", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 64, "avg_line_length": 21.08450704225352, "alnum_prop": 0.7020708082832331, "repo_name": "octoblu/vulcand-bundle", "id": "313df886525bc8b1a5f76181c1f4baefaa5e6123", "size":...
package org.pac.games.physics; import java.util.Vector; import java.util.List; import java.util.LinkedList; /** * This is a high level grid for figuring out which rectangles *might* collide. */ public class CollisionGrid{ private int xDim, yDim; private boolean autoresize; private Vector[][] potentialCol...
{ "content_hash": "9824e06caf53eeb2c3d833a09c939ddb", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 89, "avg_line_length": 37.75776397515528, "alnum_prop": 0.5543674946537259, "repo_name": "Glank/PACGameDev", "id": "6f82515e724bef4d5c2f8d420f661fbe28eb5f73", "size": "607...
package com.lovecws.mumu.data.car.service; import com.lovecws.mumu.data.car.entity.DataCarAttribute; import java.util.List; import java.util.Map; public interface DataCarAttributeService { /** ========app后台接口======= */ /** * 添加汽车配置信息 */ public void addSystemCarAttr(DataCarAttribute carAttribute); /** * 车型...
{ "content_hash": "5691a0740cc41e7df620e5c26bad90df", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 288, "avg_line_length": 22.96551724137931, "alnum_prop": 0.7004504504504504, "repo_name": "babymm/mumu", "id": "bf2e8011ab5cc7b88c6cff5dd23a7e6d17ae4e45", "size": "1714", ...
<div class="navigate-instruction"> <div class="navigation-direction pull-left"> <span class="glyphicon" ng-class="navigate.step.turnIcon"></span> </div> <div class="navigation-text"> <span class="navigate-mi">{{ navigate.step.distance | distance }} </span> <span class="navigate-min">...
{ "content_hash": "753c3b5801a59fd5bd22e448ea23ed38", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 142, "avg_line_length": 45.45945945945946, "alnum_prop": 0.6159334126040428, "repo_name": "azavea/nih-wayfinding", "id": "0cc722f7113b9d295e88e6bf162018edf4f8d30e", "size":...
"use strict"; var EOL = require( "os" ).EOL, expect = require( "chai" ).expect, fs = require( "fs" ), utils = require( "../utils.js" ), TargetHTML = require( "../../lib/private/TargetHTML.js" ); describe( "private / TargetHTML <更新対象のHTMLファイルを操作するクラス>", function(){ var testHTMLFilePath = "./.tmp/u...
{ "content_hash": "544e4434a845362b49a6ce301e066f2a", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 135, "avg_line_length": 34.56, "alnum_prop": 0.5261574074074075, "repo_name": "daikiueda/htmlcommenttemplate", "id": "6a2cc49d09e34829e05dca4da9f5f8b31d7bd390", "size": "4...
from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("zerver", "0203_realm_message_content_allowed_in_email_notifications"), ] operations = [ migrations.RemoveField( model_name="realm", name="has_seat_based_plan", ), ...
{ "content_hash": "c75f890a3db353632c176e9fe77a96df", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 80, "avg_line_length": 22.63157894736842, "alnum_prop": 0.5627906976744186, "repo_name": "andersk/zulip", "id": "98da63f4dbfdb70868228745440e98405faeab43", "size": "481", ...
#ifndef __SNMP_COMMON_H__ #define __SNMP_COMMON_H__ #include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <netinet/in.h> #include <net/if.h> #include <net/if_arp.h> #include "lagopus_apis.h" // expected only MAC address #define PHYSADDRESS_MAXLEN 6 /* Typical data structure for a row entr...
{ "content_hash": "d6fb5731caddbec43467d1cbce466956", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 47, "avg_line_length": 23.20689655172414, "alnum_prop": 0.7161961367013373, "repo_name": "lagopus/lagopus", "id": "d57cd4736d1d64a8ea5e03bb1f3ecc4f04c4d4fc", "size": "1975"...
package cz.zcu.fav.remotestimulatorcontrol.model.media; import android.databinding.BaseObservable; import android.databinding.Bindable; import android.graphics.Bitmap; import android.os.Parcel; import android.os.Parcelable; import java.io.File; import cz.zcu.fav.remotestimulatorcontrol.BR; import cz.zcu.fav.remotest...
{ "content_hash": "23c7702a344d95950937b201af0a2f3a", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 75, "avg_line_length": 22.568493150684933, "alnum_prop": 0.6251896813353566, "repo_name": "stechy1/Remote-stimulator-control", "id": "7607e74221f37c55a8ac8f0143cbf220012f68f...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Cup...
{ "content_hash": "7403f20ccf2e609cb639e173d31802a1", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 84, "avg_line_length": 38.68571428571428, "alnum_prop": 0.7518463810930576, "repo_name": "wulfland/DemoShop", "id": "f6c0cc14a842ef06b265e2364a9226c3c5e84c29", "size": "135...
require 'rails_helper' RSpec.describe Branch do let(:branch) { create :branch } describe 'FactoryGirl' do describe 'normalize' do subject! { branch } it { expect(subject).not_to be_new_record } end end end
{ "content_hash": "a250a009246faa7a851e7fb24f52e00f", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 49, "avg_line_length": 19.5, "alnum_prop": 0.6538461538461539, "repo_name": "JRF-tw/sunshine.jrf.org.tw", "id": "ef6cff5729372d5ca86c1e3e4358033dc4570188", "size": "577", ...
<?php namespace MNS\Responses; use MNS\Constants; use MNS\Exception\MnsException; use MNS\Exception\QueueNotExistException; use MNS\Exception\MessageNotExistException; use MNS\Responses\BaseResponse; use MNS\Common\XMLParser; use MNS\Model\Message; class BatchReceiveMessageResponse extends BaseResponse { protecte...
{ "content_hash": "9abf1e953eecb2f3825fbfd6393c3a86", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 154, "avg_line_length": 30.316326530612244, "alnum_prop": 0.5557051497812184, "repo_name": "ifintech/phplib", "id": "d1f748155de3a12c7062af95179558ed841fdfe0", "size": "297...
package parser import "github.com/pkg/errors" type normalizableExpr interface { Expr normalize(*normalizeVisitor) TypedExpr } func (expr *CastExpr) normalize(v *normalizeVisitor) TypedExpr { if expr.Expr == DNull { return DNull } return expr } func (expr *CoalesceExpr) normalize(v *normalizeVisitor) TypedExp...
{ "content_hash": "e89db45f9205cfd262647a159b5d02c4", "timestamp": "", "source": "github", "line_count": 715, "max_line_length": 83, "avg_line_length": 22.142657342657344, "alnum_prop": 0.6210838807478525, "repo_name": "vivekmenezes/cockroach", "id": "e0af4cc9b1f60e43ef730dce8afdc7f124e2a594", "size...
function is_touch_device() { return 'ontouchstart' in window // works on most browsers || navigator.maxTouchPoints; // works on IE10/11 and Surface }; function replace_iframe_sizes(w,h){ var $iframe = $('#fb-inline-content iframe:first'); if ($iframe.length == 1){ $iframe.attr('width', w)...
{ "content_hash": "c3481a88b86c3cb8dfbb68f51c8c50fc", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 78, "avg_line_length": 28.431818181818183, "alnum_prop": 0.5251798561151079, "repo_name": "JumpStartGeorgia/Air-Pollution", "id": "124466156a2dd174c4530ba28629fcaa44adc2d4", ...
package demo.thrift; import org.apache.commons.pool.impl.GenericObjectPool; import org.apache.thrift.transport.TSocket; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class GenericConnectionProvider { private static final Logger logger = LoggerFactory .getLogger(GenericConnectionProvider.class);...
{ "content_hash": "ee1b2fb8ca88efa4885480cb10a6093f", "timestamp": "", "source": "github", "line_count": 164, "max_line_length": 92, "avg_line_length": 22.341463414634145, "alnum_prop": 0.7229803493449781, "repo_name": "SongYu-King/hello-github", "id": "b831197a4a9735f06fa49afc7e686770996ab8ae", "si...
package org.apache.servicecomb.foundation.vertx.metrics; import org.apache.servicecomb.foundation.vertx.metrics.metric.DefaultServerEndpointMetric; import org.apache.servicecomb.foundation.vertx.metrics.metric.DefaultTcpSocketMetric; import io.vertx.core.net.SocketAddress; import io.vertx.core.spi.metrics.TCPMetrics...
{ "content_hash": "e5e4c0d2129041dbf4319cbc63266050", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 114, "avg_line_length": 29, "alnum_prop": 0.8, "repo_name": "ServiceComb/java-chassis", "id": "a68c56f74b5bee2543c54550bd5312336fc2d49e", "size": "2541", "binary": false,...
<section class="karmora-share-sec"> <div class="container"> <div class="row"> <div class="col-md-12 karmora-share-content text-center"> <h1 class="main-heading">Smokin Hot Deal Ads</h1> <span class="line-spc"></span> <div class="col-md-10 col-md-of...
{ "content_hash": "8d21a74b2315743fa2f8bf1f715d8bef", "timestamp": "", "source": "github", "line_count": 216, "max_line_length": 360, "avg_line_length": 60.032407407407405, "alnum_prop": 0.4244620960900748, "repo_name": "fliegen-tech/karmora_v5", "id": "433d8033f491b7bfd713cd6dc211f0d85a638be4", "si...
NS_ASSUME_NONNULL_BEGIN @interface LKAppUserStat : NSObject @property (readonly, nonatomic) NSInteger days; @property (readonly, nonatomic) NSInteger visits; @end @interface LKAppUser : NSObject @property (readonly, strong, nonatomic, nullable) NSString *email; @property (readonly, strong, nonatomic) NSDate *first...
{ "content_hash": "208ca4aaa0e1b912dd27ca72c6f7012e", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 69, "avg_line_length": 28.708333333333332, "alnum_prop": 0.7793904208998549, "repo_name": "pkadams67/PKA-Project---Puff-Dragon", "id": "9f3d9308d726d8531fdcc1f1c587d4b12d4ca8...
/** * PlatformCachePartitionType.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.sforce.soap._2006._04.metadata; public class PlatformCachePartitionType implements java.io.Serializable { private int allocatedCap...
{ "content_hash": "e4d36b5bc76c5efbbc68fcae8e51ee0e", "timestamp": "", "source": "github", "line_count": 215, "max_line_length": 133, "avg_line_length": 36.15813953488372, "alnum_prop": 0.646642655003859, "repo_name": "jwiesel/sfdcCommander", "id": "f5fa8c0e3dd8a18291b73cc7acff7c2be1174e43", "size":...
using System; using System.Diagnostics; using Armature.Core.Logging; using JetBrains.Annotations; namespace Armature.Core.BuildActions.Creation { /// <summary> /// Build action building a Unit using factory method /// </summary> public class CreateByFactoryMethodBuildAction<TR> : IBuildAction { privat...
{ "content_hash": "8b7750e142c707076621ff6eff0ee52e", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 140, "avg_line_length": 33.645161290322584, "alnum_prop": 0.75071907957814, "repo_name": "Ed-ward/Armature", "id": "c0078754bec5bf3ff800fe1a421b539be5999032", "size": "1045...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Web; using System.Web.Mvc; using System.Xml.Linq; using Senparc.Weixin.MP.MvcExtension; using Senparc.Weixin.MP.Sample.CommonService.QyMessageHandlers; using Senparc.Weixin.QY.Entities; namespace Senpar...
{ "content_hash": "15114eb75ec59a1dfb29c3292c718b82", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 196, "avg_line_length": 41.513333333333335, "alnum_prop": 0.5749156897382367, "repo_name": "wanddy/WeiXinMPSDK", "id": "2241045006710418527d9b021cf81cdb591511b3", "size": ...
package com.fasterxml.jackson.databind.module; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.type.TypeBindings; import com.fasterxml.jackson.databind.type.TypeFactory; import com.fasterxml.jackson.databind.type.TypeModifier; impor...
{ "content_hash": "4421163ea5bed4b800653c71ca1da509", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 106, "avg_line_length": 27.64406779661017, "alnum_prop": 0.7627222562844881, "repo_name": "FasterXML/jackson-databind", "id": "cdd89ea0760496a35e47dabf29828349856593df", "s...
Inspired by Paul Hertz's [glitchSort](http://paulhertz.net/factory/2012/08/glitchsort2/) for Processing using [Kim Asendorf's](http://kimasendorf.tumblr.com/post/32936480093/processing-source-code) algorithm for pixel sorting. (Or at least that's the idea so far.)
{ "content_hash": "4ae8d50d94a3a5ff8491fb949e2cf7dd", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 226, "avg_line_length": 88.33333333333333, "alnum_prop": 0.7886792452830189, "repo_name": "bleedingxedge/Puchi.js", "id": "f6616cd6f3b2ecd7713089ba6b3870c0d365bbd3", "size":...
<?php //Creating Connection to Database! $con = mysql_connect("localhost", "root", "") or die("Could not connect to MySQL"); mysql_select_db("GenericQuiz") or die("Could not select db"); ?>
{ "content_hash": "d5523a1160291ea71da37858d0a9b9fe", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 83, "avg_line_length": 37.8, "alnum_prop": 0.6931216931216931, "repo_name": "Varun-Bawa/GenericQuiz", "id": "40c09958110607ddd7d87fcf8618bc4fb2d7d60a", "size": "189", "bin...
class LSystem { constructor (axiom, productionRules) { if (!(Symbol.iterator in productionRules)) { throw new Error('LSystem: productionRules (argument 1) must be iterable') } productionRules = new Map(productionRules) const alphabet = Array.from(productionRules.keys()) const constants = [...
{ "content_hash": "f165bf1903c5078f68dc55d54e981dab", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 88, "avg_line_length": 20.634146341463413, "alnum_prop": 0.5602836879432624, "repo_name": "ileri/l-system", "id": "45baa4fe35dbc7ff1355831fa867ba21d8ae265c", "size": "1692"...
define([ 'jquery', 'fn/defined' ], function( $ , defined ){ 'use strict'; return function( name ){ if( !defined(name) ){ name = 'div'; } return $(document.createElement(name)); } });
{ "content_hash": "beaacebbfb7c7d31ac2d661aef25cc9f", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 59, "avg_line_length": 23.2, "alnum_prop": 0.49137931034482757, "repo_name": "packadic/jsdoc-template", "id": "9fb7543dc49f1f2b9e544b8a0c90f67de213e0e6", "size": "232", "...
''' This is the Python version of the Random Search algorithm presented in "Clever Algorithms: Nature-Inspired Programming Recipes". Find the book and the Ruby source codes on GitHub: https://github.com/jbrownlee/CleverAlgorithm:s ''' import random def objective_function(vector): return sum([x ** 2....
{ "content_hash": "5e766210da1ac7e92817e9330d8f6518", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 105, "avg_line_length": 29.16216216216216, "alnum_prop": 0.623725671918443, "repo_name": "mkrapp/semic", "id": "b9bb45fa7cfff26a08c55d2309ac56dd0316eb87", "size": "1079", ...
__name__ = 'jsonrpc2' __author__ = 'Max <qiwi360@gmail.com>' __version__ = 1, 0 __detail__ = 'Based on https://github.com/subutux/json-rpc2php' import logging logger = logging.getLogger(__name__) import json import requests import pprint class jsonrpc2(object): '''jsonrpc2 client''' host = '' default_op...
{ "content_hash": "d238a56f6058f2ec8eabd11029c06a45", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 108, "avg_line_length": 32.78761061946903, "alnum_prop": 0.5201079622132254, "repo_name": "vesellov/callfeed.net", "id": "0c5333c0e38620e4f72120bacf361c05af511235", "size"...
package com.kong.zxreader.db; import java.sql.SQLException; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import com.j256.ormlite.android.apptools.OrmLiteSqliteOpenHelper; import com.j256.ormlite.dao.Dao; import com.j256.ormlite.support.ConnectionSource; impo...
{ "content_hash": "2725f954d958c00595fb3dd4ee17c58c", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 117, "avg_line_length": 33.11926605504587, "alnum_prop": 0.7462603878116344, "repo_name": "wh5355/zx-new", "id": "8298d2995447c54e65d915e065af5f1a1f30c6bf", "size": "3610"...
#include "Languages.h" /** * */ Languages::Languages() {} /** * */ void Languages::init( cppcms::json::array langsJson, cppcms::json::array interfaceLangsJson ) { cppcms::json::array::const_iterator end = interfaceLangsJson.end(); // lines are in this form // code , locale , natural name ...
{ "content_hash": "0f4f3a9de0090f91d1c514ee5ba1f209", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 73, "avg_line_length": 17.958904109589042, "alnum_prop": 0.5736079328756675, "repo_name": "allan-simon/tatoSSO", "id": "942cfe2ffb44ead10a9c4daedde24abd4bc28337", "size": "...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_23) on Sun Feb 26 06:28:55 CET 2012 --> <TITLE> EchoXML.NamespacePolicy (Apache Ant API) </TITLE> <META NAME="date" CONTENT="2012-02-26"> <LINK REL...
{ "content_hash": "3410fd958fdb84eefe824d7887b26ceb", "timestamp": "", "source": "github", "line_count": 349, "max_line_length": 839, "avg_line_length": 45.40974212034384, "alnum_prop": 0.6392604745078243, "repo_name": "kolbasa/IaTestGen", "id": "c585b82c819a987dd70892c3e428d442f0d6672b", "size": "1...
/* Module: LISTENER */ // EVENT LISTENERS function attachMenuEventListeners() { $('#start-game').click(function () { // hide menu $('.overlay').hide(); // retrieve all tank blueprints GLOBALS.tankSelection.blueprints = BLUEPRINT.getByType('tanks'); // updat...
{ "content_hash": "0d5d2686d2c81f943fb0ae9652762e96", "timestamp": "", "source": "github", "line_count": 293, "max_line_length": 152, "avg_line_length": 27.948805460750854, "alnum_prop": 0.49090243008914397, "repo_name": "quarkdev/battletanks", "id": "3e61d9308b4c1c8e874f148932ffb233fdcea9f4", "size...
package org.graphwalker.core.generator; import org.junit.Test; import java.util.Random; import static org.hamcrest.CoreMatchers.instanceOf; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; public class SingletonRandomGeneratorTest { @Test public void instantiatio...
{ "content_hash": "01dfacfe8b88ef73ad7927801e033c84", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 81, "avg_line_length": 28.6046511627907, "alnum_prop": 0.7528455284552845, "repo_name": "GraphWalker/graphwalker-project", "id": "bb006219bd943d8ed26c3f191dc3d1f986dcbb8a", ...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/rna-transcription.iml" filepath="$PROJECT_DIR$/rna-transcription.iml" /> </modules> </component> </project>
{ "content_hash": "2bc37dc5f8023b8d017a6ea04e1ba8d4", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 116, "avg_line_length": 34.25, "alnum_prop": 0.6751824817518248, "repo_name": "enolive/exercism", "id": "a105d1c6c79b01ac910a1403768254f4ce947c83", "size": "274", "binary"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>infotheo: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
{ "content_hash": "4072c5d92b6e6e363ec434975bb9f308", "timestamp": "", "source": "github", "line_count": 189, "max_line_length": 159, "avg_line_length": 39.95238095238095, "alnum_prop": 0.5571447490398622, "repo_name": "coq-bench/coq-bench.github.io", "id": "d18c13128d8593dbf2d54a6016d7864c84a2a91e", ...
package ca.uhn.fhir.rest.gclient; import org.hl7.fhir.instance.model.api.IBaseConformance; public interface IFetchConformanceTyped<T extends IBaseConformance> extends IClientExecutable<IFetchConformanceTyped<T>, T> { }
{ "content_hash": "3e7af42de65f1e33e3cecff77df13e28", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 126, "avg_line_length": 25, "alnum_prop": 0.8177777777777778, "repo_name": "botunge/hapi-fhir", "id": "4ff951ffd099fd3dcf451cdb3cb362dd7a1a6af8", "size": "898", "binary": ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <!--basic styles--> <link href="asset/css/bootstrap.css" rel="stylesheet" /> <link rel="stylesheet" href="asset/css/dexter.min.css" /> <link rel="stylesheet" href="asset/css/font-awesome.min.css" /> <!--[if IE 7]> <link rel="stylesheet...
{ "content_hash": "ea23c78d2e230b9c1bd07952008aec1b", "timestamp": "", "source": "github", "line_count": 134, "max_line_length": 155, "avg_line_length": 27.37313432835821, "alnum_prop": 0.6142311886586695, "repo_name": "Samsung/Dexter", "id": "f4950eef32cee5bd1f2a4db832c921b82eb2c8cc", "size": "3668...
<?php /** * @version V4.50 6 July 2004 (c) 2000-2011 John Lim (jlim#natsoft.com). All rights reserved. * Released under both BSD license and Lesser GPL library license. * Whenever there is any discrepancy between the two licenses, * the BSD license will take precedence. * * Set tabs to 4 for best viewing. *...
{ "content_hash": "2b30ed7c7e8baa6f55e02f6c2511bb63", "timestamp": "", "source": "github", "line_count": 143, "max_line_length": 117, "avg_line_length": 32.63636363636363, "alnum_prop": 0.6580244268266552, "repo_name": "hsarmiento/peoplelocator", "id": "ca2ac58e6c1d627e194ca36b70484031f4cabb1f", "si...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using ...
{ "content_hash": "d50775dc4953306bd1616519c3b6d568", "timestamp": "", "source": "github", "line_count": 238, "max_line_length": 150, "avg_line_length": 40.37394957983193, "alnum_prop": 0.5695701946092205, "repo_name": "wvdd007/roslyn", "id": "9f70d143d7a9cf574a8b6258fa92604af110424c", "size": "9611...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (c) 2010-2013 Evolveum ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LIC...
{ "content_hash": "9ae3027668c759e08c919c04f21c95cd", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 93, "avg_line_length": 36.21621621621622, "alnum_prop": 0.6992537313432836, "repo_name": "rpudil/midpoint", "id": "71d5be564ec0d566962d0d687cfeaf61f2150f7f", "size": "1340"...
/** * Toolbar * * @param {Object} parent Reference to instance of Editor instance * @param {Element} container Reference to the toolbar container element * * @example * <div id="toolbar"> * <a data-wysihtml5-command="createLink">insert link</a> * <a data-wysihtml5-command="formatBlock" data-wysiht...
{ "content_hash": "1f6cd6b31f13e9e2b48e94b2edf0fc2d", "timestamp": "", "source": "github", "line_count": 334, "max_line_length": 141, "avg_line_length": 36.00898203592814, "alnum_prop": 0.5700507192150993, "repo_name": "uxtx/wysihtml", "id": "805c99bb8dd805d07b530e2326fa7eab89593b0c", "size": "12027...
var Cell = require('./Cell'); function Food() { Cell.apply(this, Array.prototype.slice.call(arguments)); this.cellType = 1; } module.exports = Food; Food.prototype = new Cell(); // Main Functions Food.prototype.onAdd = function (gameServer) { gameServer.nodesFood.push(this); }; Food.prototype.onRe...
{ "content_hash": "591605f85ff675b59d56941c143e82db", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 60, "avg_line_length": 21.458333333333332, "alnum_prop": 0.6563106796116505, "repo_name": "proxiemind/MultiOgar-Edited", "id": "086505e8c6c78dad1431119863bb8a69be5c8c51", "...
package edu.wisc.mum.status.dao; import java.io.IOException; import java.io.InputStream; import java.net.URI; import java.nio.file.FileSystems; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardWatchEventKinds; import java.nio.file.WatchEvent; import java.nio.file.WatchKey; import ja...
{ "content_hash": "0b6586b380e9683f3aced110c480293a", "timestamp": "", "source": "github", "line_count": 181, "max_line_length": 146, "avg_line_length": 38.729281767955804, "alnum_prop": 0.6332382310984308, "repo_name": "UW-Madison-DoIT/mumstatus", "id": "7ef4931f7dcf031e4f883b0984148070d65e28df", "...
<?php namespace SvnPQA\controller; use Lite\Core\Hooker; use Lite\CRUD\AbstractController; use Lite\DB\Query; use Lite\DB\Record; use Lite\Logger\Logger; use Lite\Logger\Message\CommonMessage; use function Lite\func\dump; abstract class BaseController extends AbstractController { public function __construct($ctrl=nul...
{ "content_hash": "ea4087a69faff8c0f08c4d5f7e64b5b2", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 70, "avg_line_length": 26.94871794871795, "alnum_prop": 0.60418648905804, "repo_name": "sasumi/SvnPQA", "id": "74eabdf83530bd24151904b686e77353a94c2e97", "size": "1051", ...
package org.apache.river.test.spec.activation.util; import java.util.logging.Logger; import java.util.logging.Level; import net.jini.activation.arg.ActivationSystem; import net.jini.activation.arg.ActivationDesc; import net.jini.activation.arg.ActivationID; import net.jini.activation.arg.ActivationGroupDesc; import ne...
{ "content_hash": "2215f6b2b05d3e014eaa1d9d22095dbd", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 80, "avg_line_length": 34.20879120879121, "alnum_prop": 0.7076774815290716, "repo_name": "pfirmstone/JGDMS", "id": "5ab91fb12ceadbc0d122bf4dd9e17376c0cba413", "size": "3919...
import tests.expsmooth.expsmooth_dataset_test as exps exps.analyze_dataset("frexport.csv" , 2); exps.analyze_dataset("frexport.csv" , 4); exps.analyze_dataset("frexport.csv" , 8); exps.analyze_dataset("frexport.csv" , 12);
{ "content_hash": "23b40d0919d22219d242f73e61063f61", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 53, "avg_line_length": 22.8, "alnum_prop": 0.7324561403508771, "repo_name": "antoinecarme/pyaf", "id": "5ed92c5c4a30c0144b5e10e5cd4cc90eabd0ed81", "size": "228", "binary"...
class UpdateVoteIp < ActiveRecord::Migration def change change_column :votes, :ip, :integer, :limit => 8 end end
{ "content_hash": "c49602d49dff10c7f52fdce8e4cd000a", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 51, "avg_line_length": 24, "alnum_prop": 0.7083333333333334, "repo_name": "nike-17/grape-voter", "id": "b5df9dee068005a55a325b90d84d25eadf88e417", "size": "120", "binary":...
package gov.hhs.onc.dcdt.utils; import javax.annotation.Nullable; public abstract class ToolNumberUtils { public static <T extends Number> boolean isNegative(@Nullable T num) { return (num != null) && (num.doubleValue() < 0); } public static <T extends Number> boolean isPositive(@Nullable T num) ...
{ "content_hash": "887e5a6b961e76aa82230ff66ef8decd", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 74, "avg_line_length": 29.76923076923077, "alnum_prop": 0.6563307493540051, "repo_name": "esacinc/dcdt", "id": "106f2a45887d37c4b4c643842a5248bcb0d6bc8a", "size": "387", ...
#ifndef QMITKUSNAVIGATIONSTEPTUMOURSELECTION_H #define QMITKUSNAVIGATIONSTEPTUMOURSELECTION_H #include "QmitkUSAbstractNavigationStep.h" namespace itk { template<class T> class SmartPointer; } namespace mitk { class NavigationDataSource; class DataStorage; class DataNode; class USZonesInteractor; class NodeDisplac...
{ "content_hash": "f98052df3888d9914bac74ac7d418b59", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 107, "avg_line_length": 27.655844155844157, "alnum_prop": 0.7128433904672459, "repo_name": "iwegner/MITK", "id": "9d7a7f814ad2af884066680af68bcd91f7f03fa2", "size": "4757"...
package bytebuf import ( "encoding/binary" "math" ) // PutBool put a bool at given position func (b *ByteBuf) PutBool(i int, val bool) error { if i+1 > b.capacity { return ErrOutOfBound } if val { b.buf[i] = 0x01 } else { b.buf[i] = 0x00 } return nil } // PutByte put a byte at given position func (b *B...
{ "content_hash": "ce77e19888786fbc8c8e868652d32dc4", "timestamp": "", "source": "github", "line_count": 199, "max_line_length": 64, "avg_line_length": 23.889447236180903, "alnum_prop": 0.708876735380732, "repo_name": "joesonw/bytebuf.go", "id": "4ddea3f771d9977bcb5f7e0e716d871822f821b2", "size": "4...
<?php namespace Selective\Database\Test; use Selective\Database\DeleteQuery; /** * @coversDefaultClass \Selective\Database\DeleteQuery */ class DeleteQueryTest extends BaseTest { /** * Test create object. * * @return void */ public function testInstance(): void { $this->asse...
{ "content_hash": "8db4295dc30dff5424c6dcba5f28da45", "timestamp": "", "source": "github", "line_count": 122, "max_line_length": 132, "avg_line_length": 29.147540983606557, "alnum_prop": 0.5177165354330708, "repo_name": "odan/database", "id": "383e08a3fbd0c10e99c319186ba733784154bed0", "size": "3556...
from swgpy.object import * def create(kernel): result = Intangible() result.template = "object/draft_schematic/space/weapon/shared_wpn_medium_blaster.iff" result.attribute_template_id = -1 result.stfName("string_id_table","") #### BEGIN MODIFICATIONS #### #### END MODIFICATIONS #### return result
{ "content_hash": "6ceabc68575c056119ac32d16203ee2f", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 86, "avg_line_length": 24.23076923076923, "alnum_prop": 0.6984126984126984, "repo_name": "obi-two/Rebelion", "id": "04674734c0d9a1fe1cc042cb52bc21a3b8eb2a58", "size": "460"...
package org.hammerlab.args import caseapp.{ ValueDescription, HelpMessage ⇒ M, Name ⇒ O } case class PostPartitionArgs( @O("p") @ValueDescription("num=100000") @M("After running eager and/or seqdoop checkers over a BAM file and filtering to just the contested positions, repartition to have this many recor...
{ "content_hash": "13e2d34da98dc46733277b49e6c7b41f", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 291, "avg_line_length": 50.2, "alnum_prop": 0.7569721115537849, "repo_name": "ryan-williams/spark-bam", "id": "827675d6045794ed1d9b2df25531774cd7961f2e", "size": "506", "...
(function(global) { // map tells the System loader where to look for things var map = { 'app': 'app', // 'dist', 'rxjs': 'node_modules/rxjs', 'angular2-in-memory-web-api': 'node_modules/angular2-in-memory-web-api', '@angular': 'node_mod...
{ "content_hash": "7a201244fbe991762adeee2eae6c0ad8", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 88, "avg_line_length": 30.666666666666668, "alnum_prop": 0.5910326086956522, "repo_name": "spugachev/DevCon2016", "id": "5b7197895d22c3ff8b4aaf9f7cb68ba6eadac2a5", "size": ...
namespace GroundSteel { // forward declarations struct EllipsOffsetPos; struct TruncEllipseOffset; ////////////////////////////////////////////////////////////////////// // we gradually poke the values in until the functions can be called. struct Ellipse { P2 ecen; // ellipse centre P2 j; // major axis...
{ "content_hash": "be8123157b823cf0c063cb8dd35e64fb", "timestamp": "", "source": "github", "line_count": 225, "max_line_length": 131, "avg_line_length": 33.12444444444444, "alnum_prop": 0.560579632362807, "repo_name": "JohnyEngine/CNC", "id": "c6e42bf27c27fd11d25d22774c7eaad86d1e40ee", "size": "7913...
/*global setInterval, clearInterval */ (function (global) { "use strict"; var ProtocolManager = global._Brackets_LiveDev_ProtocolManager; var _document = null; var _transport; /** * Retrieves related documents (external CSS and JS files) * * @return {{scripts: object, styleshee...
{ "content_hash": "daa6d01b8ba7ff067c478f645e8d33d6", "timestamp": "", "source": "github", "line_count": 322, "max_line_length": 130, "avg_line_length": 34.409937888198755, "alnum_prop": 0.4942238267148014, "repo_name": "Th30/brackets", "id": "057112a0c4c3d4a2b3667477403a170a64de3e11", "size": "1224...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) : typeof define === 'function' && define.amd ? define(['jquery'], factory) : (global = global || self, factory(global.jQuery)); }(this, function ($) { 'use strict'; $ = $ && $.hasOwnProperty(...
{ "content_hash": "25129339b4fb3b33d7b2ccd0c199f91b", "timestamp": "", "source": "github", "line_count": 693, "max_line_length": 198, "avg_line_length": 32.56421356421357, "alnum_prop": 0.6395621925820889, "repo_name": "extend1994/cdnjs", "id": "6fa43c6e4244137b5dc7d06197b3f6d42752c011", "size": "22...
<?php namespace Symfony\Component\Console\Tests\Output; use Symfony\Component\Console\Output\Output; use Symfony\Component\Console\Formatter\OutputFormatterStyle; class OutputTest extends \PHPUnit_Framework_TestCase { public function testConstructor() { $output = new TestOutput(Output:...
{ "content_hash": "d766d5e89bfaa83da28a600f72920ab1", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 149, "avg_line_length": 40.276595744680854, "alnum_prop": 0.6061806656101426, "repo_name": "jonathanfvb/AnoteTudo", "id": "02b75ba57e08630244d85d84b7ac5f6266b9a856", "size"...
package com.volokh.danylo.video_player_manager.ui; import android.media.MediaPlayer; public class MediaPlayerWrapperImpl extends MediaPlayerWrapper{ public MediaPlayerWrapperImpl() { super(new MediaPlayer()); } }
{ "content_hash": "4d894dd1e55a9e29d9224063f955eb8b", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 63, "avg_line_length": 23.2, "alnum_prop": 0.7586206896551724, "repo_name": "cowthan/AyoWeibo", "id": "d76a639cefe2f11eb4d7240dfa79c9cf6327f621", "size": "232", "binary":...
module FeatureGate class << self attr_reader :configuration def configuration @configuration ||= Configuration.new end end def self.setup yield(configuration) end class Configuration attr_accessor :time_to_stale def initialize @time_to_stale = 1.month end end end ...
{ "content_hash": "1dbb4a526458e5fa93540b3a0d19ffd3", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 42, "avg_line_length": 15.26086956521739, "alnum_prop": 0.6752136752136753, "repo_name": "tiffling/feature_gate", "id": "d0e611f69e6fc72e57c3ae485a0936c7def4ac19", "size": ...
package jp.co.acroquest.endosnipe.javelin.jdbc.stats.oracle; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import jp.co.acroquest.endosnipe.common.db.AbstractE...
{ "content_hash": "b570a7f39320de5b4e99a66a9a3609b7", "timestamp": "", "source": "github", "line_count": 220, "max_line_length": 100, "avg_line_length": 28.522727272727273, "alnum_prop": 0.5378486055776892, "repo_name": "t-hiramatsu/ENdoSnipe", "id": "372c17382ecaec3f79181f3cb7b7193273c360aa", "size...
/* * SingleSignal2.cpp * * Created on: 2016年4月16日 * Author: fasiondog */ #include "../../../indicator/crt/KDATA.h" #include "../../../indicator/crt/DIFF.h" #include "../../../indicator/crt/STDEV.h" #include "../../../indicator/crt/HHV.h" #include "../../../indicator/crt/LLV.h" #include "../../../indicator/c...
{ "content_hash": "5456d1d114769072494c9c8725bf451a", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 91, "avg_line_length": 29.12676056338028, "alnum_prop": 0.601063829787234, "repo_name": "fasiondog/hikyuu", "id": "dbfa238cf8f782bfeb96b19585117839ffc22102", "size": "2074"...
cask 'marvin' do version '1.51.1' sha256 '80b5d001ebc8b1f77eb7da47b867dfc77c144785962f6df784839a0694f0d863' # amazingmarvin.s3.amazonaws.com/ was verified as official when first introduced to the cask url "https://amazingmarvin.s3.amazonaws.com/Marvin-#{version}.dmg" appcast 'https://macupdater.net/cgi-bin/c...
{ "content_hash": "9e7e70e92b7b8e8d068fd69039727f05", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 147, "avg_line_length": 43.083333333333336, "alnum_prop": 0.7736943907156673, "repo_name": "morganestes/homebrew-cask", "id": "99068c8123bf4b985b6ce27171a3be4ad182cd26", "s...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Net.WebSockets; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.SignalR.Client.Http; using ...
{ "content_hash": "67b6779dda73fa8e2ba8887b6bbe0983", "timestamp": "", "source": "github", "line_count": 225, "max_line_length": 143, "avg_line_length": 32.62222222222222, "alnum_prop": 0.5713896457765668, "repo_name": "sai4ninja/sai", "id": "044b4451f68d5716781f49a1c72f22766ca875d7", "size": "7342"...
package org.apache.camel.component.cxf; import java.util.HashMap; import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.Endpoint; import org.apache.camel.component.cxf.jaxws.CxfEndpoint; import org.apache.camel.spring.SpringCamelContext; import org.apache.camel.test.spring.junit5.MockEn...
{ "content_hash": "e92bc5c38450b3dac87de60e8028a26e", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 109, "avg_line_length": 34.252100840336134, "alnum_prop": 0.6894013738959764, "repo_name": "tadayosi/camel", "id": "8949ecd16d1685b50d77a6b07307403cf4d59c7d", "size": "487...
module Replay module Router def self.included(base) base.class_exec do include Replay::Subscriptions extend ClassMethods if base.include?(Singleton) end end def add_observer(observer, *events) add_subscriber observer end module ClassMethods def add_observe...
{ "content_hash": "92ae661821853c3b76d291c4b55b2c76", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 55, "avg_line_length": 20.416666666666668, "alnum_prop": 0.6469387755102041, "repo_name": "karmajunkie/replay", "id": "6b83683ed8e96408152cc9d97bb14fa09075ca31", "size": "4...
import { ColumnView } from '../scene/view/column.view'; import { TemplatePath } from '../template/template.path'; import { DataColumnModel } from './data.column.model'; TemplatePath.register('group-summary-cell', (template, column) => ({ model: template.for, resource: column.key, })); export class GroupSummaryCol...
{ "content_hash": "3c33070bd28ceb31767089423db48bb1", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 84, "avg_line_length": 25.08823529411765, "alnum_prop": 0.6858147713950762, "repo_name": "qgrid/ng2", "id": "713c0d1827ca05470a0675890c8fa2b132deff0f", "size": "853", "bi...
package fr.inra.maiage.bibliome.alvisir.core.expand.explanation; import java.io.IOException; import java.util.Collections; import java.util.List; import fr.inra.maiage.bibliome.alvisir.core.AlvisIRIndex; import fr.inra.maiage.bibliome.alvisir.core.SearchConfig; import fr.inra.maiage.bibliome.alvisir.core.query.AlvisI...
{ "content_hash": "30195011f3a78d1901101037bba947ef", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 99, "avg_line_length": 26.522222222222222, "alnum_prop": 0.744449099287809, "repo_name": "Bibliome/alvisir", "id": "5a53f464a438c92109a322da8472033d1ca34fe5", "size": "2387...
@interface PodsDummy_BGMapPreview : NSObject @end @implementation PodsDummy_BGMapPreview @end
{ "content_hash": "d1d95e1bd72346d78948453b60f3712f", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 44, "avg_line_length": 23.5, "alnum_prop": 0.8404255319148937, "repo_name": "bartguminiak/BGMapPreview", "id": "e6ee47ade4d07f2c7f1d8c4d1c96c409df89539b", "size": "128", "...
package com.netflix.atlas.core.model import java.util.concurrent.TimeUnit import java.util.stream.Collectors import com.netflix.atlas.core.stacklang.Interpreter import com.netflix.spectator.api.Counter import com.netflix.spectator.api.DefaultRegistry import com.netflix.spectator.api.histogram.PercentileBuckets impor...
{ "content_hash": "25cfd19a133cb48d9bd009a52bab4f93", "timestamp": "", "source": "github", "line_count": 340, "max_line_length": 97, "avg_line_length": 33.04117647058823, "alnum_prop": 0.6124265622218266, "repo_name": "Netflix/atlas", "id": "1bc1a95b73b644af7adae6dc68ee1af97678b74e", "size": "11835"...
#import "PNChannel.h" #import "PNString.h" #import "PNArray.h" #pragma mark Static /** @brief Reference on suffix which is used to mark channel as presence channel. @since 4.0 */ static NSString * const kPubNubPresenceChannelNameSuffix = @"-pnpres"; #pragma mark Interface implementation @implementation PNC...
{ "content_hash": "7d39d9e97a327ad693bdacbca02ed446", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 99, "avg_line_length": 25.4, "alnum_prop": 0.6614173228346457, "repo_name": "iOS-Connect/Connect", "id": "e50dea9901e7959d4fac1f44cd39341bf3caa1c4", "size": "2622", "bin...
<?xml version="1.0" encoding="UTF-8"?> <!-- You may freely edit this file. See commented blocks below for --> <!-- some examples of how to customize the build. --> <!-- (If you delete it and reopen the project it will be recreated.) --> <!-- By default, only the Clean and Build commands use this build script. --> ...
{ "content_hash": "68191555b9cb145cbe67b25695f6eecc", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 86, "avg_line_length": 50.37837837837838, "alnum_prop": 0.6456545064377682, "repo_name": "ForgottenSpace/FS-GameEngine", "id": "0428c23c7958434344de6ccf3a9744016618f8b8", "...
<!DOCTYPE html> <title>Credential Manager: store() basics.</title> <script src="../resources/testharness.js"></script> <script src="../resources/testharnessreport.js"></script> <script> function stubResolverChecker(c) { assert_equals(c, undefined, "FIXME: We're currently always returning 'undefined'."); this.do...
{ "content_hash": "acb4e3e57d3666bca79e31a496edda16", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 92, "avg_line_length": 36.96153846153846, "alnum_prop": 0.6571279916753382, "repo_name": "vadimtk/chrome4sdp", "id": "a5ca87b7c72b1609eed95a5b6f0bb4c62352d7c3", "size": "19...
<?php namespace NilPortugues\SchemaOrg\Classes; use NilPortugues\SchemaOrg\SchemaClass; /** * METHODSTART. * * @method static \NilPortugues\SchemaOrg\Properties\BranchCodeProperty branchCode() * @method static \NilPortugues\SchemaOrg\Properties\BranchOfProperty branchOf() * @method static \NilPortugues\SchemaO...
{ "content_hash": "0d249d272eee95a83a1b60590098edbb", "timestamp": "", "source": "github", "line_count": 377, "max_line_length": 114, "avg_line_length": 53.281167108753316, "alnum_prop": 0.6684920595409967, "repo_name": "nilportugues/php-schema.org-mapping", "id": "a5fe408365da62c5f369f39b2212cbf50ea1...
#pragma once #include "ImageDevice.h" #include "AudioDevice.h" #include <XnCppWrapper.h> namespace nui{ class Xtion : public AudioInputDevice , public ImageDevice { static const XnUInt16 MAX_DEPTH_NUM = 10000; xn::ImageGenerator m_imageGenerator; xn::DepthGenerator m_d...
{ "content_hash": "bab1cf6043ebb6784bc3242c098a7617", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 87, "avg_line_length": 29.757575757575758, "alnum_prop": 0.6456211812627292, "repo_name": "RoboticsDevelopmentProjects/spp-base-library", "id": "42f1c95ab91b6c3357494cd2573fc...
here=`pwd` if test $? -ne 0; then exit 2; fi tmp=/tmp/$$ mkdir $tmp if test $? -ne 0; then exit 2; fi cd $tmp if test $? -ne 0; then exit 2; fi fail() { echo "FAILED" 1>&2 cd $here chmod -R u+w $tmp rm -rf $tmp killall /usr/bin/X11/Xvfb exit 1 } pass() { echo "PASSED" 1>&2 cd $here ...
{ "content_hash": "0efa16902d4bc40a5cb3b815fbd93c28", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 66, "avg_line_length": 18.202898550724637, "alnum_prop": 0.6544585987261147, "repo_name": "highperformancecoder/ecolab", "id": "1567b433613f63ceb6ce02e13c00a54ed36f540b", "...
pub const RGN_AND: ::c_int = 1; pub const RGN_OR: ::c_int = 2; pub const RGN_XOR: ::c_int = 3; pub const RGN_DIFF: ::c_int = 4; pub const RGN_COPY: ::c_int = 5; pub const RGN_MIN: ::c_int = RGN_AND; pub const RGN_MAX: ::c_int = RGN_COPY; //572 (Win 7 SDK) #[repr(C)] #[derive(Clone, Copy, Debug)] pub struct BITMAP { ...
{ "content_hash": "82784da835ff9b3ab5744d226add4dd0", "timestamp": "", "source": "github", "line_count": 200, "max_line_length": 85, "avg_line_length": 31.255, "alnum_prop": 0.6664533674612062, "repo_name": "roblabla/winapi-rs", "id": "12cc97232df5bb82ddbf2a42e1cd295ee8898e1e", "size": "6444", "bi...
sed -i 's|connectionString = "localhost"|connectionString = "'"${DBHOST}"'"|g' hello_mongo.go fw_depends mongodb go libsasl2-dev go get gopkg.in/mgo.v2 go run hello_mongo.go &
{ "content_hash": "50b2ae649c1b5a494e41e296937ead88", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 93, "avg_line_length": 25.714285714285715, "alnum_prop": 0.7111111111111111, "repo_name": "steveklabnik/FrameworkBenchmarks", "id": "447a1b14385d86de51a5fa582c620f37d142365f",...
<div class="formulaire_spip formulaire_configurer formulaire_#FORM"> [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>] [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>] <form method="post" action="#ENV{action}"> <div> #ACTION_FORMUL...
{ "content_hash": "ff620d3bcdf1787054b3ea9c1bcb8df5", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 159, "avg_line_length": 47.36231884057971, "alnum_prop": 0.5201958384332925, "repo_name": "CharlesCollas/spip-mailjet-plugin", "id": "d4bfabb2a5482103e60229ffa2cb7e85a945a34c...
#include "DepositionGeant4Module.hpp" #include <limits> #include <string> #include <utility> #include <G4EmParameters.hh> #include <G4HadronicProcessStore.hh> #include <G4LogicalVolume.hh> #include <G4PhysListFactory.hh> #include <G4RadioactiveDecayPhysics.hh> #include <G4RunManager.hh> #include <G4StepLimiterPhysi...
{ "content_hash": "a52c92a7ae478f575ef9a109a267afa3", "timestamp": "", "source": "github", "line_count": 347, "max_line_length": 125, "avg_line_length": 42.371757925072046, "alnum_prop": 0.6323879480378154, "repo_name": "Koensw/allpix-squared", "id": "e78b815f89b053c69e4aa013a241a0497814fcb9", "size...
@interface ViewController () @end @implementation ViewController @synthesize gridView = gridView_; - (void)dealloc { self.gridView.cellCreationHandler = nil; } - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. self.gridView = [[MUKG...
{ "content_hash": "ffab66cf9bc13a902c305c07e3846842", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 156, "avg_line_length": 31.203703703703702, "alnum_prop": 0.6795252225519288, "repo_name": "muccy/MUKScrolling", "id": "a931d539a9aecf7a24fc1fc60b8bf99fb539c38f", "size": "...
*This project is currently in **alpha**. The API should be considered unstable and likely to change* PGV is a protoc plugin to generate polyglot message validators. While protocol buffers effectively guarantee the types of structured data, they cannot enforce semantic rules for values. This plugin adds support to prot...
{ "content_hash": "5840b3c9347ceb8bbf382876332544b2", "timestamp": "", "source": "github", "line_count": 890, "max_line_length": 477, "avg_line_length": 34.96067415730337, "alnum_prop": 0.6739836091917082, "repo_name": "envoyproxy/protoc-gen-validate", "id": "c89228c27c3a72c5af38bed79b65a06adf6a180c",...
package render import "net/http" type Render interface { Render(http.ResponseWriter) error } var ( _ Render = JSON{} _ Render = IndentedJSON{} _ Render = XML{} _ Render = String{} _ Render = Redirect{} _ Render = Data{} _ Render = HTML{} _ HTMLRender = HTMLDebug{} _ HTMLRender =...
{ "content_hash": "efe8a0ff84f05f48ee35ef02bd5f0104", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 34, "avg_line_length": 17.894736842105264, "alnum_prop": 0.5970588235294118, "repo_name": "michelangelo13/gin", "id": "eadc31b83a0f6850dba762ec5f55fcc492ca777b", "size": "5...
<?php /** * base include file for SimpleTest * @package SimpleTest * @subpackage UnitTester * @version $Id: reflection_php4.php,v 1.9 2005/11/22 02:07:32 lastcraft Exp $ */ /** * Version specific reflection API. * @package SimpleTest * @subpackage UnitTester */ ...
{ "content_hash": "0ea3ef79697357951b91fbf7f3585dc6", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 82, "avg_line_length": 28.921739130434784, "alnum_prop": 0.48947684906794947, "repo_name": "cerad/appirm", "id": "4ad4b249f10cc4eb2cb4bd170765805602042d6c", "size": "3326"...
/* ----------------- * ScaleFreeGraphGenerator.java * ----------------- * (C) Copyright 2008-2008, by Ilya Razenshteyn and Contributors. * * Original Author: Ilya Razenshteyn * Contributor(s): - * * $Id$ * * Changes * ------- */ package org.jgrapht.generate; import java.util.*; import org.jgrapht.*; ...
{ "content_hash": "e2c37d92cab8ed6ece72bc0883aaa40a", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 80, "avg_line_length": 30.404580152671755, "alnum_prop": 0.5473261360783329, "repo_name": "AdrianAlan/kmax", "id": "2046132e39e82510f3e79aad8f8d87c840bee920", "size": "470...
package org.jcodec.movtool.streaming.tracks; import java.io.IOException; import org.jcodec.movtool.streaming.CodecMeta; import org.jcodec.movtool.streaming.VirtualPacket; import org.jcodec.movtool.streaming.VirtualTrack; /** * This class is part of JCodec ( www.jcodec.org ) This software is distributed * under Free...
{ "content_hash": "db6ce689114b1e6eb213edd49e982727", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 79, "avg_line_length": 22.574468085106382, "alnum_prop": 0.6663524976437323, "repo_name": "Dacaspex/Fractal", "id": "472ad9c6996e35b2417617ad666efd5327bb5eda", "size": "106...
<?php namespace Mpociot\ApiDoc\Tests; use Dingo\Api\Provider\LaravelServiceProvider; use Mpociot\ApiDoc\Tests\Fixtures\DingoTestController; use Orchestra\Testbench\TestCase; use Mpociot\ApiDoc\Generators\DingoGenerator; use Mpociot\ApiDoc\Tests\Fixtures\TestRequest; use Mpociot\ApiDoc\Tests\Fixtures\TestController; ...
{ "content_hash": "68675b776d1cf600ab2ddf67968e2ac4", "timestamp": "", "source": "github", "line_count": 316, "max_line_length": 141, "avg_line_length": 51.36708860759494, "alnum_prop": 0.4982750123213406, "repo_name": "andela-joyebanji/laravel-apidoc-generator", "id": "2b7a8e71394c160257a175959b90faf...
package com.yogee.zhebuy.modules.ebuy.service; import com.google.common.collect.Maps; import com.yogee.zhebuy.common.persistence.Page; import com.yogee.zhebuy.common.service.EbuyService; import com.yogee.zhebuy.common.utils.StringUtils; import com.yogee.zhebuy.modules.ebuy.dao.EbuyProCategoryDao; import com.yogee.zhe...
{ "content_hash": "ada94e4b8a065120fe6d63945ab9f541", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 101, "avg_line_length": 29.41860465116279, "alnum_prop": 0.7794466403162056, "repo_name": "sunye520/zhebuy", "id": "4cdd57857e2224003389ad66a985abe3278cd9e6", "size": "401...
'use strict'; (function() { angular.module("VotingApp", ['ngRoute', 'ngCookies', 'ui.bootstrap', 'ngclipboard', 'ngAnimate' ]) .config(['$httpProvider', function($httpProvider) { $httpProvider.defaults.withCredentials = true; }]); })();
{ "content_hash": "b30f458856aaa8ebaf840f074a79bc69", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 102, "avg_line_length": 40, "alnum_prop": 0.5821428571428572, "repo_name": "Will-is-Coding/fcc_voting-app", "id": "71a8e76a28fe6818dde0df292fcd3e0d928d21ff", "size": "280", ...
FROM balenalib/jetson-xavier-alpine:3.12-build # remove several traces of python RUN apk del 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 # key 63C7CC90: public key "Simon McVittie <smcv@pseudora...
{ "content_hash": "eaef22a3efa8ffdbceba38a6c6126171", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 716, "avg_line_length": 51.83870967741935, "alnum_prop": 0.7079444098734702, "repo_name": "nghiant2710/base-images", "id": "1549d1f08c6dee1d66e56e704e11834692883c81", "size...
using System; namespace BeverageLabels { public class BeverageLabels { public static void Main() { var name = Console.ReadLine(); var volume = int.Parse(Console.ReadLine()); var energyContent = double.Parse(Console.ReadLine()); var sugarContent =...
{ "content_hash": "138a00cb6dfc44ba2663c09cbe575b83", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 76, "avg_line_length": 29.80952380952381, "alnum_prop": 0.5846645367412141, "repo_name": "vsaraminev/ProgrammingFundamentalsExtendedMay2017", "id": "30d1d900e7eb19a578dc200b5...
package com.kotcrab.vis.editor.module.scene; import com.artemis.*; import com.artemis.EntitySubscription.SubscriptionListener; import com.artemis.annotations.Wire; import com.artemis.utils.IntBag; import com.badlogic.gdx.utils.ObjectMap; import com.kotcrab.vis.editor.entity.UUIDComponent; import java.util.UUID; @W...
{ "content_hash": "79ab6b32a46e7694fcdaa35f96fd399b", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 74, "avg_line_length": 26.280701754385966, "alnum_prop": 0.7129506008010681, "repo_name": "intrigus/VisEditor", "id": "a8e723b80d2b2789f41c263b540828b290507461", "size": "2...
package snmp import ( "encoding/asn1" "fmt" "io" "bosun.org/_third_party/github.com/mjibson/snmp/mib" ) // Walk is a wrapper for SNMP.Walk. func Walk(host, community string, oids ...string) (*Rows, error) { s, err := New(host, community) if err != nil { return nil, err } return s.Walk(oids...) } // Rows i...
{ "content_hash": "d15d758f78f80ec5ce3f2b996d0a9c39", "timestamp": "", "source": "github", "line_count": 246, "max_line_length": 113, "avg_line_length": 22.979674796747968, "alnum_prop": 0.6309923934194234, "repo_name": "vitorboschi/bosun", "id": "cc3cc33c18bdf5c60b8476e29183fe4ab3e62dbb", "size": "...
<!DOCTYPE HTML> <!-- Tests the bootstrap variant where the bootstrap tag is part of the head and where the 'src' URL contains '/sap-ui-core.js' --> <html> <head> <meta charset="utf-8"> <title>Test Page for Resource Root when 'src' starts with 'resources/'</title> <!-- Initialization --> <link href="../...
{ "content_hash": "6852f8359ecc2ae188ea6f42f7b8fa44", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 106, "avg_line_length": 32.758620689655174, "alnum_prop": 0.6021052631578947, "repo_name": "SAP/openui5", "id": "f54fc10a779d938de174b392a9e335300b012a97", "size": "950", ...