text stringlengths 2 1.04M | meta dict |
|---|---|
using System;
using Microsoft.WindowsAzure.Mobile.Service;
namespace BeerDrinkin.Service.DataObjects
{
public class BinaryItem : EntityData
{
public string ObjectId { get; set; }
public string BinaryUrl { get; set; }
public string BinaryType { get; set; }
public string User... | {
"content_hash": "cab28de1ccfc5f515128411b984f7bd6",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 46,
"avg_line_length": 20.235294117647058,
"alnum_prop": 0.6511627906976745,
"repo_name": "ashwinkumar01/BeerDrinkin",
"id": "b303f3dce66076730783d80d02d58b96d5295f52",
"si... |
+++
pre = "<b>3.6.5. </b>"
toc = true
title = "性能测试"
weight = 5
+++
## 目标
对Sharding-JDBC,Sharding-Proxy及MySQL进行性能对比。从业务角度考虑,在基本应用场景(单路由,主从+脱敏+分库分表,全路由)下,INSERT+UPDATE+DELETE通常用作一个完整的关联操作,用于性能评估,而SELECT关注分片优化可用作性能评估的另一个操作;而主从模式下,可将INSERT+SELECT+DELETE作为一组评估性能的关联操作。
为了更好的观察效果,设计在一定数据量的基础上,使用jmeter 20并发线程持续压测半小时,进行增删改查性... | {
"content_hash": "18af09ebe20c4778aa2c9d535256f4de",
"timestamp": "",
"source": "github",
"line_count": 381,
"max_line_length": 190,
"avg_line_length": 25.829396325459317,
"alnum_prop": 0.6739152525149883,
"repo_name": "shardingjdbc/sharding-jdbc",
"id": "0394f7c43eaf666bace4a17d4b9bf190216c1134",
... |
package org.apache.accumulo.server.watcher;
import static java.nio.charset.StandardCharsets.UTF_8;
import org.apache.accumulo.core.Constants;
import org.apache.accumulo.core.zookeeper.ZooUtil;
import org.apache.accumulo.server.zookeeper.ZooReaderWriter;
import org.apache.log4j.Appender;
import org.apache.log4j.LogMa... | {
"content_hash": "96d4ad61dd96dfbe37c6d0be21a6a72c",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 160,
"avg_line_length": 33.91240875912409,
"alnum_prop": 0.690055962117951,
"repo_name": "adamjshook/accumulo",
"id": "103aefc552b343eddcad9492b65787822b2ca6a1",
"size": "... |
package com.ibgwy;
import com.google.common.base.Preconditions;
import com.google.common.base.Strings;
import com.ib.client.*;
import com.ibgwy.events.OrderPending;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* TODO: Add JavaDoc!
*/
public class OutboundImpl implements AdminCommands, ConnectionComm... | {
"content_hash": "f318de89e187ef6341df0ae866879e25",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 111,
"avg_line_length": 27.329545454545453,
"alnum_prop": 0.598960498960499,
"repo_name": "Vishal-Puri/IBGwy",
"id": "53de274ca263e57d0a9de71bda2bea22fa29fbc3",
"size": "4... |
import 'reflect-metadata';
import { Controller, Get, RequestParam, } from 'inversify-express-utils';
import { injectable } from 'inversify';
import { IHttpResponse } from './../interfaces/IHttpResponse';
import { Success } from './../models/Success.model';
@Controller('/')
@injectable()
export class HomeController {
... | {
"content_hash": "03319eee40c18f3c60e0e33cae8f98d7",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 73,
"avg_line_length": 27,
"alnum_prop": 0.6782407407407407,
"repo_name": "gjdass/whiteapi-express-ts",
"id": "b8274a3b371fad615fb0433a4d682bd7af478db3",
"size": "432",
"... |
class Stock
include Mongoid::Document
field :name, type: String
field :country, type: String
field :date, type: Time
field :value, type: Float
end
| {
"content_hash": "e2dc0b9d3173737b307574b4f8e280c8",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 30,
"avg_line_length": 22.428571428571427,
"alnum_prop": 0.7133757961783439,
"repo_name": "jasper-fu/stock_monitoring",
"id": "3e7b3f00c2fd208a1d2c916958f37f6abf0eaeb8",
"si... |
.class Lcom/android/server/am/ActivityManagerService$12;
.super Ljava/lang/Object;
.source "ActivityManagerService.java"
# interfaces
.implements Landroid/os/IBinder$DeathRecipient;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/android/server/am/ActivityManagerService;->hang(L... | {
"content_hash": "29eebcdfa9395f3a4d7ce0b7bba68688",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 128,
"avg_line_length": 20.96923076923077,
"alnum_prop": 0.7197358767424799,
"repo_name": "shumxin/FlymeOS_A5DUG",
"id": "6a941b4fd5a1ff65592b0936dc432b93363c31ae",
"size":... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Timers;
using MonoMac.AppKit;
using MonoMac.Foundation;
using Outlander.Core;
using Outlander.Core.Authentication;
using Outlander.Core.Client;
using Outlander.Core.Text;
namespace ... | {
"content_hash": "fe127229737f35f0babed60e959ae309",
"timestamp": "",
"source": "github",
"line_count": 687,
"max_line_length": 137,
"avg_line_length": 28.829694323144103,
"alnum_prop": 0.6658588306573765,
"repo_name": "joemcbride/outlander",
"id": "a0fe384bbb42bd7a3889ad8c7422b2a266c1f0f2",
"size"... |
@implementation NoHighlightsObject
@end
| {
"content_hash": "9a2fda5742829d38cc4e0c9b06ce1112",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 34,
"avg_line_length": 13.666666666666666,
"alnum_prop": 0.8536585365853658,
"repo_name": "noahsw/highlight-hunter",
"id": "0f06dccbedf261a02cfdcc18b34c446759c94715",
"size"... |
package com.cloudnative.reference.events;
import java.io.Serializable;
public class OrderCreatedEvent implements Serializable {
private String id;
private String description;
public OrderCreatedEvent() {
}
public OrderCreatedEvent(String id, String description) {
this.id = id;
this.description =... | {
"content_hash": "d845e8644c0a8c7952f01f1059c5d3fb",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 59,
"avg_line_length": 17.114285714285714,
"alnum_prop": 0.7011686143572621,
"repo_name": "drm317/cloud-native-reference",
"id": "30e8dd5c112f1c5e363cc353a75ee0288251e757",
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package gsd.iml.ast.expression;
/**
*
* @author leonardo
*/
public class IsLoadedFunctionCallExpression extends UnaryFunctionCallExpression {
public IsLoadedFunctionCallExpression(Expression argum... | {
"content_hash": "6b4ba3b26ea4e22a08b7a9775476646a",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 81,
"avg_line_length": 21.11111111111111,
"alnum_prop": 0.6815789473684211,
"repo_name": "matachi/rangeFix",
"id": "046dc5003d450d65abdcf816fccdf8ff1aded78c",
"size": "380"... |
/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
display: none;
}
.ui-helper-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.ui-helper-reset {
margin: 0;
... | {
"content_hash": "4871cc1b6ab1e3d39dd802a1a05d323a",
"timestamp": "",
"source": "github",
"line_count": 1173,
"max_line_length": 165,
"avg_line_length": 27.075873827791987,
"alnum_prop": 0.6591309823677581,
"repo_name": "austerus/av-decision",
"id": "5243998d11579f20894891a14f0e03504fce300e",
"size... |
#include "TextDescriptions.h"
#include <media/stagefright/foundation/ByteUtils.h>
#include <media/stagefright/MediaErrors.h>
namespace android {
TextDescriptions::TextDescriptions() {
}
status_t TextDescriptions::getParcelOfDescriptions(
const uint8_t *data, ssize_t size,
uint32_t flags, int timeMs... | {
"content_hash": "1ebee02b0dc3bc94696ec50d5276b51c",
"timestamp": "",
"source": "github",
"line_count": 494,
"max_line_length": 95,
"avg_line_length": 32.23279352226721,
"alnum_prop": 0.45380895559881934,
"repo_name": "dAck2cC2/m3e",
"id": "0dc7722f6f7dfdc348a6a8a974a8049a753c3fb6",
"size": "16542"... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.mobileParser = void 0;
var _mobileDetect = _interopRequireDefault(require("mobile-detect"));
var mobileParser = function mobileParser() {
var... | {
"content_hash": "97390e2aee002b48e974d3c2ff3efc09",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 85,
"avg_line_length": 28.464285714285715,
"alnum_prop": 0.6599749058971142,
"repo_name": "modosc/react-responsive-redux",
"id": "fcfb4d9774fd3f6173b908a595dbb9b63e205863",
... |
import os.path, subprocess
from ..mesonlib import EnvironmentException, version_compare
from .compilers import (
GCC_STANDARD,
d_dmd_buildtype_args,
d_gdc_buildtype_args,
d_ldc_buildtype_args,
get_gcc_soname_args,
gnu_color_args,
Compiler,
CompilerArgs,
)
d_feature_args = {'gcc': {'u... | {
"content_hash": "5319137ac07c6db2f8c7607f3e0310b5",
"timestamp": "",
"source": "github",
"line_count": 380,
"max_line_length": 138,
"avg_line_length": 36.86842105263158,
"alnum_prop": 0.5651677373304782,
"repo_name": "thiblahute/meson",
"id": "f0f3d54b0101c4769d318ec01b6d016562b03da2",
"size": "14... |
@interface EXScopedNotificationSchedulerModule ()
@property (nonatomic, strong) NSString *scopeKey;
@end
@implementation EXScopedNotificationSchedulerModule
- (instancetype)initWithScopeKey:(NSString *)scopeKey
{
if (self = [super init]) {
_scopeKey = scopeKey;
}
return self;
}
- (UNNotificationRequest ... | {
"content_hash": "36d77c0ace4a086051b6f4e39abcd736",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 165,
"avg_line_length": 41,
"alnum_prop": 0.7205117952818872,
"repo_name": "exponent/exponent",
"id": "ef90971aa30b761d87eb64b27e5ca8063a23d2b3",
"size": "2735",
"binary"... |
// Copyright 2015 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | {
"content_hash": "14c26697d2f23e4f43357175b3d4b1c8",
"timestamp": "",
"source": "github",
"line_count": 380,
"max_line_length": 100,
"avg_line_length": 41.57105263157895,
"alnum_prop": 0.6906374628093942,
"repo_name": "abergmeier-dsfishlabs/bazel",
"id": "17c4822cbebc414ae17def05b1e5dfd819f425c0",
... |
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var setTag = function(tag) {
return tag.toLowerCase().trim();
};
var TagSchema = new Schema({
tag: { type: String, set: setTag, default: '' },
app_name: { type: String, default: '' }
});
TagSchema.statics = {
list: function(tagName, cb) {
... | {
"content_hash": "252ec9d8c5f5920b719946a825c97b56",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 52,
"avg_line_length": 21.25925925925926,
"alnum_prop": 0.6149825783972126,
"repo_name": "pennlabs/MadeAtPenn",
"id": "ad2af557a17f861e5769e292f63abf28bcf4390c",
"size": "5... |
FOUNDATION_EXPORT double UIColor_Hex_SwiftVersionNumber;
FOUNDATION_EXPORT const unsigned char UIColor_Hex_SwiftVersionString[];
| {
"content_hash": "bbe2f7d3c55974dfc7568ffcf988adef",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 71,
"avg_line_length": 43.333333333333336,
"alnum_prop": 0.8538461538461538,
"repo_name": "niunaruto/DeDaoAppSwift",
"id": "902388fc0dd38366419f69cfb60ebf14ff95702a",
"size"... |
<?php
/**
* @namespace
*/
namespace Zend\Dojo\View\Helper;
/**
* Dojo TextBox dijit
*
* @uses \Zend\Dojo\View\Helper\Dijit
* @package Zend_Dojo
* @subpackage View
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/n... | {
"content_hash": "efdd4fa51dba57503e5ce2435136fef7",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 104,
"avg_line_length": 22.058823529411764,
"alnum_prop": 0.5804444444444444,
"repo_name": "triggertoo/whatsup",
"id": "51d82a8f9e56c9edf6af1f74ac62b809e61cd7e3",
"size": "... |
function[interval, start]=SONGetSampleInterval(fid,chan)
% SONGETSAMPLEINTERVAL returns the sampling interval in microseconds
% on a waveform data channel in a SON file, i.e. the reciprocal of the
% sampling rate for the channel, together with the time of the first sample
%
% [INTERVAL{, START}]=SONGETSAMPLEINTER... | {
"content_hash": "02d06098d3f37390c373a42799f4e73d",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 97,
"avg_line_length": 44.38297872340426,
"alnum_prop": 0.5795781399808245,
"repo_name": "hpay/eyetrack",
"id": "6b81fc3d8ac1698b9de08f63710b788e12dfaeef",
"size": "2086",
... |
module.exports = {
path: 'panel',
childRoutes: [],
getComponents (nextState, callback) {
require.ensure([], () => {
callback(null, require('./index'))
})
}
}
| {
"content_hash": "e0eb352c598d130deb6205ce7779a375",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 40,
"avg_line_length": 20,
"alnum_prop": 0.5555555555555556,
"repo_name": "hrSoft-FE/mobile-vote",
"id": "4838a0eb3a6135303bcb4ad3be355c44d2690af5",
"size": "180",
"binary... |
using std::ifstream;
using std::ofstream;
using std::string;
class coreutils {
public:
string inputFile;
string outputFile;
inline string openFile();
void makeJSON();
inline string generateErrorMessage(string originText);
inline string getLink(string originLine);
inline string getMarkName(string originLine);
i... | {
"content_hash": "969ad7a5610da5ad9ce1d33ed4f7bf86",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 55,
"avg_line_length": 23.65,
"alnum_prop": 0.7864693446088795,
"repo_name": "gordon-zhao/Chrome_bookmarks_to_json",
"id": "961f7e57cdfd5ee19cae15e1409cc06e4200891a",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
*** GENERATED FROM project.xml - DO NOT EDIT ***
*** EDIT ../build.xml INSTEAD ***
For the purpose of easier reading the script
is divided into following sections:
- initialization
- compilation
- jar
- execution
- debugging
- javad... | {
"content_hash": "c48d930b0fb0a89ac30f873197fc98de",
"timestamp": "",
"source": "github",
"line_count": 1419,
"max_line_length": 531,
"avg_line_length": 56.116279069767444,
"alnum_prop": 0.5580379007647968,
"repo_name": "ivangarmir/Diffie-Hellman",
"id": "eec859b18333a1a8ec7e2189d87c605f6f5fbad6",
... |
require 5.6.0;
use strict;
use warnings;
use Data::Dumper;
use Getopt::Long qw(GetOptions);
use Time::HiRes qw(gettimeofday);
use lib '../../lib/perl/lib';
use lib 'gen-perl';
use Thrift;
use Thrift::BinaryProtocol;
use Thrift::BufferedTransport;
use Thrift::FramedTransport;
use Thrift::SSLServerSocket;
use Thrift::S... | {
"content_hash": "459eeb8205d883df64441d0387ad8f41",
"timestamp": "",
"source": "github",
"line_count": 379,
"max_line_length": 121,
"avg_line_length": 22.84168865435356,
"alnum_prop": 0.5523853528936121,
"repo_name": "project-zerus/thrift",
"id": "e2835f4e7a9c97b20a69961f9a2f0560b2ca1387",
"size":... |
module RspecWiki
class Markdown
attr_reader :context
def initialize context
@context = context
end
def anchor_link
{ anchor_group => "* [#{title_with_status}](#{RspecWiki.configuration.wiki_page_url}##{title_anchor})"}
end
def anchor_group
return "#{h3}#{context.metadata[... | {
"content_hash": "8be93f2c1b0eacfea0fd5da8a1eefd47",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 109,
"avg_line_length": 17.13157894736842,
"alnum_prop": 0.5734767025089605,
"repo_name": "nlds90/rspec_wiki",
"id": "91ac239716d4a828d05ed2680bc618fa37860b8b",
"size": "1... |
<?php
require_once(TOOLKIT . '/class.administrationpage.php');
class contentExtensionUrl_routerRoutes extends AdministrationPage {
public function __construct(){
parent::__construct();
$this->_driver = Symphony::ExtensionManager()->create('url_router');
}
public function __actionIndex() {
$this->_... | {
"content_hash": "1d4da27194a73a857d53bb631670f769",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 263,
"avg_line_length": 42.138888888888886,
"alnum_prop": 0.6101516150296639,
"repo_name": "symphonists/url_router",
"id": "1e81c060e6bebd54ef0790aed054623c4cfecab9",
"siz... |
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cp.acme</groupId>
<artifactId>multimodule-cp-resources</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<artifactId>multimodule-cp-resources-html-extra</artifactId>
<... | {
"content_hash": "f9849c8fbf8d5674452c00538e146c6a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 64,
"avg_line_length": 27.846153846153847,
"alnum_prop": 0.6574585635359116,
"repo_name": "quarkusio/quarkus",
"id": "3255ab5ba8e1a49d5314bfcb551676f4fadec953",
"size": "36... |
// [VexFlow](http://vexflow.com) - Copyright (c) Mohit Muthanna 2010.
import { Vex } from './vex';
import { Element } from './element';
import { Flow } from './tables';
import { Barline } from './stavebarline';
import { StaveModifier } from './stavemodifier';
import { Repetition } from './staverepetition';
import { St... | {
"content_hash": "e3b03f0a3a021b784231e3f7959c9a3c",
"timestamp": "",
"source": "github",
"line_count": 712,
"max_line_length": 98,
"avg_line_length": 28.803370786516854,
"alnum_prop": 0.6320460308172421,
"repo_name": "opensheetmusicdisplay/opensheetmusicdisplay",
"id": "e6f46488e78b15ddf092009391651... |
=begin
ASF-REST-Adapter
Copyright 2010 Raymond Gao @ http://are4.us
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by app... | {
"content_hash": "1141e9c95125d03703c074247808af70",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 81,
"avg_line_length": 33.977777777777774,
"alnum_prop": 0.6671026814911707,
"repo_name": "raygao/asf-rest-adapter",
"id": "9361437e078ad4fe4231357322cdb87092a33809",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<chapter xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="apis"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Facebook API Binding</title>
<para>
Spring Social Facebook's <interfacename>Facebook</interfacename> interface and its implementation, <classna... | {
"content_hash": "f2f5fc3f983ac7bf3f49f6ddaf2a766b",
"timestamp": "",
"source": "github",
"line_count": 329,
"max_line_length": 284,
"avg_line_length": 42.84498480243161,
"alnum_prop": 0.7338961407491487,
"repo_name": "wilkinsona/spring-social-facebook",
"id": "72b6eb3c6f6422e123f0e04a71d9880423784c7... |
package io.sqooba.oss.timeseries.immutable
import io.sqooba.oss.timeseries.TimeSeriesTestBench
import org.scalatest.matchers.should.Matchers
import org.scalatest.flatspec.AnyFlatSpec
class ColumnTimeSeriesSpec extends AnyFlatSpec with Matchers with TimeSeriesTestBench {
"A ColumnTimeSeries" should behave like nonE... | {
"content_hash": "cb04ed1146c15f022977392cbe30048a",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 87,
"avg_line_length": 34.65,
"alnum_prop": 0.8037518037518038,
"repo_name": "Shastick/tslib",
"id": "29d83b673075ea12edb6411911a0d6d4a94eafa6",
"size": "693",
"binary": ... |
import sys
import itk
from distutils.version import StrictVersion as VS
if VS(itk.Version.GetITKVersion()) < VS("4.9.0"):
print("ITK 4.9.0 is required.")
sys.exit(1)
if len(sys.argv) != 6:
print(
"Usage: " + sys.argv[0] + " <fixedImageFile> <movingImageFile> "
"<outputImagefile> <differen... | {
"content_hash": "9e3883ef19b242e0abe39762f06676bc",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 83,
"avg_line_length": 30.5609756097561,
"alnum_prop": 0.7986166533652567,
"repo_name": "InsightSoftwareConsortium/ITKExamples",
"id": "a13327b2284185018817be6ae07b01e2b74fb... |
int main(int, char**) {
constexpr std::byte b1{static_cast<std::byte>(1)};
constexpr std::byte b3{static_cast<std::byte>(3)};
static_assert(noexcept(std::to_integer<int>(b1)), "" );
static_assert(std::is_same<int, decltype(std::to_integer<int>(b1))>::value, "" );
static_assert(std::is_same<long, de... | {
"content_hash": "4e66207ac0aee797e141fedda98550e4",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 107,
"avg_line_length": 42.92857142857143,
"alnum_prop": 0.6222961730449251,
"repo_name": "endlessm/chromium-browser",
"id": "ef1779e1b45fed6949d95a966ca14f8db855ced8",
"si... |
import { isLocalLink } from "../is-local-link"
describe(`isLocalLink`, () => {
it(`returns true on relative link`, () => {
expect(isLocalLink(`/docs/some-doc`)).toBe(true)
})
it(`returns false on absolute link`, () => {
expect(isLocalLink(`https://www.gatsbyjs.com`)).toBe(false)
})
it(`returns undefi... | {
"content_hash": "2e49e914fd6a4a9ed7101af091d3e49c",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 71,
"avg_line_length": 33.84,
"alnum_prop": 0.6146572104018913,
"repo_name": "gatsbyjs/gatsby",
"id": "79a52ae5fa53cd90cf0ce17c0d99ae8b93eecb01",
"size": "846",
"binary":... |
In this lesson you will learn about the basic data structures in R and how you can create, modify, access and combine them.
A very useful mantra while approaching the R language is concisely summarized in this quote by John Chambers
> To understand computations in R, two slogans are helpful: <br/>
> 1. Everything tha... | {
"content_hash": "0e9317326df33ffc0c2a3fcd5e493caa",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 285,
"avg_line_length": 24.921985815602838,
"alnum_prop": 0.6818440523619806,
"repo_name": "ramnathv/swc-nw-dataviz",
"id": "c7f3335194ecbb99a3cd9417f3693640005f3ebf",
"si... |
package org.hl7.fhir.instance.model.valuesets;
// Generated on Tue, Sep 1, 2015 19:08-0400 for FHIR v1.0.0
public enum OrganizationType {
/**
* An organization that provides healthcare services
*/
PROV,
/**
* A department or ward within a hospital ... | {
"content_hash": "8b71b0d47e09bba325b4e35b2f0b2817",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 208,
"avg_line_length": 40.15827338129496,
"alnum_prop": 0.5714797563597277,
"repo_name": "dhf0820/hapi-fhir-1.2",
"id": "835efaac444a74b192a7ad7e23f0830a9b255a64",
"size"... |
A jQuery plugin for neatly splitting tables / other content across pages when printing
## Usage & defaults
The print splitter can optionally take values for different sized pages and margins. Defaults to A4.
```
$(target-element).printSplitter({
paperSize: {
width: 11.692, // Width in inches, defaults A4
height... | {
"content_hash": "3bd6a1c1e64f6a84da8ac45fa902b9a6",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 145,
"avg_line_length": 33.875,
"alnum_prop": 0.7170971709717097,
"repo_name": "Philky/PrintSplitter",
"id": "a73dc3b2e03f336e13044dd2a7460dae7cc9c4ee",
"size": "837",
"b... |
Package ring contains tools for building and using a consistent hashing ring
with replicas, automatic partitioning (ring ranges), and keeping replicas of
the same partitions in as distinct tiered nodes as possible (tiers might be
devices, servers, cabinets, rooms, data centers, geographical regions, etc.)
It also cont... | {
"content_hash": "82e596d249c922f1dd27749a9653c02b",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 76,
"avg_line_length": 48,
"alnum_prop": 0.7892156862745098,
"repo_name": "creiht/ring",
"id": "76859f9b43fb4f91d8646d606db015a8b6ec5656",
"size": "850",
"binary": false,... |
<LinearLayout android:id="@+id/main_layout"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/... | {
"content_hash": "0eb62b282bf8330665b79f76c64788bb",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 72,
"avg_line_length": 36.35616438356164,
"alnum_prop": 0.5945742275810098,
"repo_name": "sessionm/android-mmc-example",
"id": "9aad896c1703a3e743f28b9b603a3655429b07bc",
"... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using CrudGridExample.Data;
using CrudGridExample.Models;
using CrudGridExample.Models.CrudGridModels;
namespace CrudGridExample.Controllers
{
class PersonF... | {
"content_hash": "189347432861872b923780ed61c6764a",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 117,
"avg_line_length": 36.31578947368421,
"alnum_prop": 0.3855072463768116,
"repo_name": "pjuarezd/crudgrid-ng",
"id": "0e0edd77063330c6e4eccb0fb950469ee4f2f940",
"size": ... |
package main
import (
"bufio"
"bytes"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net"
"os"
"os/exec"
"path"
"path/filepath"
"regexp"
"strconv"
"strings"
"sync"
"syscall"
"time"
"github.com/docker/docker/integration-cli/checker"
"github.com/docker/docker/integration-cli/cli"
"github.com/docker/docker/... | {
"content_hash": "83e347a6a7525d6de7a7db360176c687",
"timestamp": "",
"source": "github",
"line_count": 2949,
"max_line_length": 199,
"avg_line_length": 34.23092573753815,
"alnum_prop": 0.6765233241205781,
"repo_name": "thtanaka/docker",
"id": "b6bb7470ee0272da9e71be76763126e7a43d990d",
"size": "10... |
import socket
import sys
# Create a UDP socket
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
server_address = ('localhost', 10000)
message = b'This is the message. It will be repeated.'
try:
# Send data
print('sending {!r}'.format(message))
sent = sock.sendto(message, server_address)
# R... | {
"content_hash": "03ee448582d1996f7ec718bffcd48f0c",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 55,
"avg_line_length": 21.782608695652176,
"alnum_prop": 0.6746506986027944,
"repo_name": "scotthuang1989/Python-3-Module-of-the-Week",
"id": "fa0fd889e8a149803bba71f566c60ff... |
namespace {
using extensions::PrinterProviderAPI;
using extensions::PrinterProviderAPIFactory;
// Callback for PrinterProviderAPI::DispatchGetPrintersRequested calls.
// It appends items in |printers| to |*printers_out|. If |done| is set, it runs
// |callback|.
void AppendPrintersAndRunCallbackIfDone(base::ListValue*... | {
"content_hash": "e99d98aa7e4846b313962767fa0eaded",
"timestamp": "",
"source": "github",
"line_count": 750,
"max_line_length": 80,
"avg_line_length": 35.141333333333336,
"alnum_prop": 0.6505918955835484,
"repo_name": "fujunwei/chromium-crosswalk",
"id": "dfe5086ed684e52ab5349be678cf38bf9c1db4a3",
... |
require 'spec_helper'
describe Chef::Provider::Service::Systemd do
let(:node) { Chef::Node.new }
let(:events) { Chef::EventDispatch::Dispatcher.new }
let(:run_context) { Chef::RunContext.new(node, {}, events) }
let(:service_name) { "rsyslog.service" }
let(:new_resource) { Chef::Resource::Service.new(ser... | {
"content_hash": "c70683533a97c5ad6d53239cb234d787",
"timestamp": "",
"source": "github",
"line_count": 261,
"max_line_length": 153,
"avg_line_length": 42.3639846743295,
"alnum_prop": 0.6678122456362485,
"repo_name": "askl56/chef",
"id": "b02ceff2616ee8066260fdb83609794aeab4e66f",
"size": "11740",
... |
/**
*
*/
package br.com.tamandua.service.vo;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlRootElement;
/**
* @author Everton Rosario (erosario@gmail.com)
*/
@XmlRootElement(name = "music_album")
public class MusicAlbumVO implements Serializable {
private static final long s... | {
"content_hash": "e75bc7156630d6098bb0f7f7dd3b4024",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 129,
"avg_line_length": 26.195402298850574,
"alnum_prop": 0.5146994295743748,
"repo_name": "everton-rosario/tamandua",
"id": "ab57198c4323c66bfb9735f7d8c507891b45f783",
"si... |
package mxgo
import (
"github.com/howeyc/fsnotify"
"path"
"strings"
)
func WatchDoTask(callback func(filePath string, event *fsnotify.FileEvent), filePaths ...string) {
watcher, err := fsnotify.NewWatcher()
if err != nil {
mxLog.Error(err)
}
go func() {
for {
select {
case ev := <-watcher.Event:
... | {
"content_hash": "f460760a1204495cdb9909bb1c4a4d80",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 98,
"avg_line_length": 16.676470588235293,
"alnum_prop": 0.6119929453262787,
"repo_name": "menghx/mxgo",
"id": "87ccc257b1261686be34425a4990b81e72966e06",
"size": "567",
... |
<!doctype html><title>Minimal tQuery Page</title>
<script src="../../../build/tquery-bundle-require.js"></script>
<script src="../../../vendor/three.js/examples/js/shaders/BlendShader.js"></script>
<body><script>
require(['tquery.pproc'], function(){
var world = tQuery.createWorld().boilerplate().start();
world.remo... | {
"content_hash": "1a301234fa84b972840e76c704ae40d9",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 84,
"avg_line_length": 29.2,
"alnum_prop": 0.7123287671232876,
"repo_name": "modulexcite/tquery",
"id": "ec44e2c8ecb8d3095f8fd1b6d641a48ef2aa8bd4",
"size": "2044",
"binar... |
from django.utils.version import get_version
VERSION = (3, 2, 15, 'alpha', 0)
__version__ = get_version(VERSION)
def setup(set_prefix=True):
"""
Configure the settings (this happens as a side effect of accessing the
first setting), configure logging and populate the app registry.
Set the thread-loca... | {
"content_hash": "51cbba8c7222c5ad5a42ec0810c320b7",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 85,
"avg_line_length": 33.333333333333336,
"alnum_prop": 0.70625,
"repo_name": "koordinates/django",
"id": "99439c4f61c8186eeb6908a06a73a88ccb95d7e1",
"size": "800",
"bin... |
#include "libtorrent/session.hpp"
#include "test.hpp"
#include "setup_transfer.hpp"
#include "libtorrent/alert_types.hpp"
using namespace libtorrent;
namespace lt = libtorrent;
int test_main()
{
settings_pack p;
p.set_int(settings_pack::alert_mask, ~0);
lt::session ses(p);
settings_pack sett;
sett.set_int(se... | {
"content_hash": "afce13624c4a3670a6bc01b5ee3877b5",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 82,
"avg_line_length": 25.57377049180328,
"alnum_prop": 0.7083333333333334,
"repo_name": "TeoTwawki/libtorrent",
"id": "af81e68202272c64d23023058b25fe92ed6e6bd4",
"size": "... |
package org.apache.lucene.analysis.fa;
/**
* Normalizer for Persian.
* <p>
* Normalization is done in-place for efficiency, operating on a termbuffer.
* <p>
* Normalization is defined as:
* <ul>
* <li>Normalization of various heh + hamza forms and heh goal to heh.
* <li>Normalization of farsi yeh and yeh bar... | {
"content_hash": "3be063a84e32e891afa2a6ba6761a7fd",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 76,
"avg_line_length": 23.0125,
"alnum_prop": 0.603476371537208,
"repo_name": "Photobucket/Solbase-Lucene",
"id": "53caa6ebbf088f877fc3b17c7e7a39955ce56fc8",
"size": "2643"... |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
using STEP;
namespace IFC
{
/// <summary>
/// <see href="http://www.buildingsmart-tech.org/ifc/IFC4/final/html/link/ifccompressor.htm"/>
/// </summary>
public partial class IfcCompressor : IfcFl... | {
"content_hash": "deb35ab157a8090d0605c500f8df0a71",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 356,
"avg_line_length": 37.629629629629626,
"alnum_prop": 0.7258858267716536,
"repo_name": "ikeough/IFC-gen",
"id": "08f953fa2511e2aeac85b3812b13975d4b52e221",
"size": "203... |
/**
* @externs
*/
class DualDefer {
/**
* @param {function(!angular.$http.Response): ?} resolveCallback
* @return {DualDefer}
*/
onCacheFetched(resolveCallback) {}
/**
* @param {function(!angular.$http.Response): ?} resolveCallback
* @param {(function(!angular.$http.Response): ?)=} opt_rejec... | {
"content_hash": "bc94b05f7b023d3a7a023229f3c764f6",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 72,
"avg_line_length": 19.135135135135137,
"alnum_prop": 0.617231638418079,
"repo_name": "google/dualhttp",
"id": "6fc264faefc506b8e942138fa5d5ba54d9f1feb6",
"size": "1337"... |
package com.github.plastiv.crashlyticsdemo;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import com.crashlytics.android.Crashlytics;
public class CrashlyticsDemoActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCrea... | {
"content_hash": "5d5c9c9dc6ed0f4ef83f14430bf706a7",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 99,
"avg_line_length": 34.25,
"alnum_prop": 0.6478102189781022,
"repo_name": "plastiv/CrashlyticsDemo",
"id": "097c4b5da3d978e7bfdfa592f933b6dde47463e6",
"size": "1096",
... |
export { default as Application } from './system/application';
export { default as ApplicationInstance } from './system/application-instance';
export { default as Resolver } from './system/resolver';
export { default as Engine } from './system/engine';
export { default as EngineInstance } from './system/engine-instance... | {
"content_hash": "4b52958c5272d6105f8878df0475eeb5",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 79,
"avg_line_length": 66.33333333333333,
"alnum_prop": 0.7512562814070352,
"repo_name": "Gaurav0/ember.js",
"id": "2cba30ca7dc90827c206f1a74239ff8854f8bbeb",
"size": "398",... |
package server.userauth;
import java.sql.Date;
import java.util.concurrent.ConcurrentHashMap;
import javax.crypto.SecretKey;
import org.json.JSONObject;
import com.netflix.msl.MslConstants;
import com.netflix.msl.MslCryptoException;
import com.netflix.msl.MslEncodingException;
import com.netflix.msl.MslError;
impo... | {
"content_hash": "c35ab52f44a403b84e022413b5f58f8a",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 252,
"avg_line_length": 50.43231441048035,
"alnum_prop": 0.7112304095592692,
"repo_name": "rspieldenner/msl",
"id": "80f0e5e75291afd348c37e5dba57123050301655",
"size": "12... |
import { createStore } from 'redux';
import rootReducer from '../reducers/accountReducers';
export default function configureStore(initialState) {
return createStore(
rootReducer,
initialState
);
}
| {
"content_hash": "1b6108fc567de78aa460255f62f4d391",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 54,
"avg_line_length": 24.77777777777778,
"alnum_prop": 0.7040358744394619,
"repo_name": "opopeieie/plant-static",
"id": "943e16048d9a035ff79031440cf209ded0bc6cd7",
"size": ... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var runQuery_1 = require("./runQuery");
exports.runQuery = runQuery_1.runQuery;
exports.LogStep = runQuery_1.LogStep;
exports.LogAction = runQuery_1.LogAction;
var runHttpQuery_1 = require("./runHttpQuery");
exports.runHttpQuery = runHttpQuery... | {
"content_hash": "3d0281542c934bba79174faae5de73a4",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 71,
"avg_line_length": 45.833333333333336,
"alnum_prop": 0.7854545454545454,
"repo_name": "Daadler6/graphql-boilerplate",
"id": "d806ab9469b1a6f86f62d88cfe643f9a3c5d68b6",
... |
from datetime import date, timedelta
import os
from django import forms
from wefacts import wefacts
import util
from models import Order
class OrderForm(forms.Form):
weather_address = forms.CharField(label='Address', max_length=100000, required=False,
widget=forms.TextInput... | {
"content_hash": "13d21725374de040091b8ad631ca9687",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 97,
"avg_line_length": 39.550561797752806,
"alnum_prop": 0.5477272727272727,
"repo_name": "shawxiaozhang/we_web",
"id": "d9ad931c848da6b39a6dcb9405f836043a81008a",
"size": ... |
DROP TABLE client_service CASCADE CONSTRAINTS;
DROP TABLE service_endpoint CASCADE CONSTRAINTS;
DROP TABLE service CASCADE CONSTRAINTS;
DROP TABLE client CASCADE CONSTRAINTS;
DROP TABLE user_profile CASCADE CONSTRAINTS;
DROP TABLE audit_log CASCADE CONSTRAINTS;
DROP TABLE refresh_token CASCADE CONSTRAINTS;
DROP TABLE o... | {
"content_hash": "fe5e79efb7be654759b6ccad1e0c6690",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 543,
"avg_line_length": 47.027027027027025,
"alnum_prop": 0.7745210727969348,
"repo_name": "networknt/light-oauth2",
"id": "c218660e3dc834b90857dd008fcf9575f9634be5",
"siz... |
package com.github.alezhka.wavesj;
import org.junit.Assert;
import org.junit.Test;
public class WavAssetPairTest {
@Test
public void wavesWaves() {
final WavAssetPair pair = new WavAssetPair();
final WavAssetPair pair1 = new WavAssetPair(null, null);
Assert.assertEquals(pair.getAmoun... | {
"content_hash": "f8a61d0c8eae8570b689a4bfc836f994",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 77,
"avg_line_length": 36.83783783783784,
"alnum_prop": 0.7057960381511372,
"repo_name": "Alezhka/JWaves",
"id": "12856f2f1ddf5ba052fe03b102676ee41e1f58f3",
"size": "1363",... |
module Policies
class <%= class_name %> < Walruz::Policy
# depends_on OtherPolicy
def authorized?(actor, subject)
raise NotImplementedError.new("You need to implement policy")
end
end
end | {
"content_hash": "5ae73a0a6d86201ad1f5e8639368839e",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 67,
"avg_line_length": 21.9,
"alnum_prop": 0.6621004566210046,
"repo_name": "noomii/walruz-rails",
"id": "7c5f6b68602bd91dfe4035c0628d55b0e6c73ac5",
"size": "219",
"binar... |
layout: layout
title: "About Adam Clark"
---
<section class="content about">
<h1 class="big thin">Adam Clark</h1>
</section>
| {
"content_hash": "96b8a640a1105d2cfa23de551e8b4bfe",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 37,
"avg_line_length": 18.142857142857142,
"alnum_prop": 0.6850393700787402,
"repo_name": "adamclerk/adamclerk.github.com",
"id": "34310632b2109c91bb64a1068ad3948de77254f5",
... |
body {
background: #fff
}
| {
"content_hash": "2ba2f7a035678a3263ebbd6645d6861c",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 20,
"avg_line_length": 10,
"alnum_prop": 0.5666666666666667,
"repo_name": "lellex/accessimap-lecteur-der",
"id": "96a763754953904dc65934cfa29f30705d0a44a2",
"size": "30",
... |
CREATE TABLE port_spec(
id int,
name varchar(22),
type varchar(255),
spec varchar(255),
parent_type char(16),
entity_id int,
entity_type char(16),
parent_id int
) engine=InnoDB;
CREATE TABLE module(
id int,
cache int,
name varchar(255),
namespace varchar(255),
packag... | {
"content_hash": "86029b43e3652181ca3c95f4a66e06a2",
"timestamp": "",
"source": "github",
"line_count": 268,
"max_line_length": 47,
"avg_line_length": 19.615671641791046,
"alnum_prop": 0.6309682328324139,
"repo_name": "Nikea/VisTrails",
"id": "3cb4dc2d7fa8a30ac7d7e0b43444f2b59a84543f",
"size": "718... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using Mono.Cecil;
using Mono.Cecil.Cil;
namespace RavenfieldCheater
{
public partia... | {
"content_hash": "9a71fc7d5dec90cb7f5bab14c0be8d34",
"timestamp": "",
"source": "github",
"line_count": 430,
"max_line_length": 183,
"avg_line_length": 42.95813953488372,
"alnum_prop": 0.584181463837159,
"repo_name": "MilesFM/RavenfieldCheater",
"id": "6410df0a2673e0597d777f9fb5b52fcbeb7cf1dd",
"si... |
python manage.py migrate
exec $@
| {
"content_hash": "40b9c9af6cbce954227c1fa401c9180c",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 24,
"avg_line_length": 11.333333333333334,
"alnum_prop": 0.7352941176470589,
"repo_name": "istrategylabs/franklin-api",
"id": "8a3c8e2c35fb2416348fe24e3cdaf7f122e6dfea",
"si... |
<!DOCTYPE html>
<html>
<head>
<title>Vanessa Ng - Graphic / Blueprint Rebrand</title>
<!-- <link rel="stylesheet" href="https://unpkg.com/tachyons@4.10.0/css/tachyons.min.css"/> -->
<link href="./resources/css/tachyons-merged/css/tachyons.css" rel="stylesheet">
<style>
.polygon-header {
width: 100%;
... | {
"content_hash": "ca72fb92c6c21cd43fac38b8376e8a32",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 531,
"avg_line_length": 53.175141242937855,
"alnum_prop": 0.6950701232469189,
"repo_name": "vanesng/vanesng.github.io",
"id": "27ca9f609387a170c667b6bb205f176dbd8b1320",
"... |
package okhttp3;
import java.security.cert.Certificate;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import javax.net.ssl.SSLPeerUnverifiedException;
import okhttp3.internal.Util;
import okhttp3.internal.tls.Certif... | {
"content_hash": "370afd8e1784914ac127b9d2d2ec786d",
"timestamp": "",
"source": "github",
"line_count": 313,
"max_line_length": 100,
"avg_line_length": 40.95207667731629,
"alnum_prop": 0.687236698392885,
"repo_name": "SunnyDayDev/okhttp",
"id": "f3344d00dd4d6e7ffe534408154a730981b1f7b7",
"size": "1... |
{-# LANGUAGE OverloadedStrings, GeneralizedNewtypeDeriving #-}
module MC.Protocol.Types
( Packet(..)
, prefixFieldName
, showPacketInline
, showPacketRecord
, getTextUTF16be
, putTextUTF16be
, Point(..)
, pointX
, pointY
, pointZ
, getIntPoint
, putIntPoint
, getBlockPosWithY
, putBlockPosW... | {
"content_hash": "136f19d87e4d2a1d3a1b9ba1a2f86845",
"timestamp": "",
"source": "github",
"line_count": 622,
"max_line_length": 126,
"avg_line_length": 30.183279742765272,
"alnum_prop": 0.6875998721636305,
"repo_name": "ehird/mchost",
"id": "3d327733799092e4b40f1e0dcb59dcef2a946207",
"size": "18774... |
c3bottles can use any map source that can be configured as a layer in
[Leaflet](https://leafletjs.com/). Map configuration happens in two stages:
1. Map sources and their paramters (e.g. tile server URL, zoom levels, layers
and building levels, coordinate bounds etc.) are configured as properties
of Python ob... | {
"content_hash": "66a8d880bc6447f68c0bf5cc449a5f20",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 79,
"avg_line_length": 46.10326086956522,
"alnum_prop": 0.7319344571495933,
"repo_name": "der-michik/c3bottles",
"id": "e74fa05742275ece2c7e57d425e73cec1170c0ff",
"size": ... |
package com.stratio.crossdata.common.manifest;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**... | {
"content_hash": "1f74747be4f8c988e4fb7a01787c43f7",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 95,
"avg_line_length": 29,
"alnum_prop": 0.6556089044085552,
"repo_name": "ccaballe/crossdata",
"id": "f7a87216aba362862af643d9ee854773bf81c280",
"size": "3077",
"binary"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Jorge Escalante | Desarrollador Web e Ingenierio en Informática</title>
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
<meta name="description" content="Desarrollador web full-stack (Frontend y backend) ... | {
"content_hash": "1e37f7797d6ab9ab0dbf5868b6274345",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 268,
"avg_line_length": 56.40769230769231,
"alnum_prop": 0.6057548070366835,
"repo_name": "JEscalanteGT/portafolio",
"id": "12db26c2f40b7ff96e4430898e4d397eb995e767",
"siz... |
namespace OverviewApp.Auxiliary.Helpers
{
public class RefreshSummary
{
}
} | {
"content_hash": "b3ea8356180589bb919eec94cbb118ec",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 39,
"avg_line_length": 14.5,
"alnum_prop": 0.7011494252873564,
"repo_name": "salda8/Overview-Application",
"id": "96946330294359aefcdd91b84fb2eedda3d3559d",
"size": "87",
... |
package interretis.advanced
import interretis.utils.SparkContextBuilder._
import interretis.utils.Resources._
import org.apache.spark.sql.DataFrame
import org.apache.spark.sql.SQLContext
import org.apache.spark.sql.Row
import language.postfixOps
object WikiExploration {
private val dataDirectory = mainResources + ... | {
"content_hash": "d84edcdd4ca6b5060f18d8e6d50b4c10",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 131,
"avg_line_length": 27.890625,
"alnum_prop": 0.7226890756302521,
"repo_name": "MarekDudek/spark-certification",
"id": "dced1b14870b0028d58a502fb44034f31b56b8ac",
"size"... |
from __future__ import print_function, division, absolute_import
from docutils import nodes
from docutils.parsers import rst
from docutils.parsers.rst import directives
from docutils import statemachine
import traceback
def _indent(text, level=1):
''' Format Bintypes '''
prefix = ' ' * (4 * level)
def p... | {
"content_hash": "b32fb110ea37a16312be564e60caf7b5",
"timestamp": "",
"source": "github",
"line_count": 384,
"max_line_length": 100,
"avg_line_length": 30.359375,
"alnum_prop": 0.5751415337107566,
"repo_name": "albireox/marvin",
"id": "55dce13904c683d391f04f64964dcfdc9e55acac",
"size": "11888",
"... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Base Action Element</title>
<meta http-equiv="Content-Type" content="... | {
"content_hash": "aa61f14614137b560d162a72a3416400",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 344,
"avg_line_length": 35.43181818181818,
"alnum_prop": 0.6536241180243746,
"repo_name": "jpyle/nitrogen_core",
"id": "28734504f0edbb730fa8b1c26f17053a3ecff8ab",
"size": ... |
package com.jayway.annostatemachine;
public interface StateMachineFront<SignalType> {
void send(SignalType signal, SignalPayload payload);
void send(SignalType signal);
}
| {
"content_hash": "c4e02520f5523f721df06c3dfebe53d4",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 56,
"avg_line_length": 20.333333333333332,
"alnum_prop": 0.7759562841530054,
"repo_name": "jayway/anno-state-machine",
"id": "59a54b047e9926f1998172002860b618b8167115",
"siz... |
namespace media {
// TODO(rileya): Devise a better way of specifying trace/UMA/etc strings for
// templated classes such as this.
template <DemuxerStream::Type StreamType>
static const char* GetTraceString();
#define FUNCTION_DVLOG(level) \
DVLOG(level) << __FUNCTION__ << "<" << GetStreamTypeString() << ">"
templa... | {
"content_hash": "fae8aea0431aec5b0c506ea540ce91ce",
"timestamp": "",
"source": "github",
"line_count": 603,
"max_line_length": 80,
"avg_line_length": 32.885572139303484,
"alnum_prop": 0.6576903681290973,
"repo_name": "highweb-project/highweb-webcl-html5spec",
"id": "4b03587253fa06cccd378d527ddf8f1de... |
package com.reginald.pluginm.parser;
import android.content.Context;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageInfo;
import android.content.pm.ProviderInfo;
import android.content.pm.ServiceInfo;
import android.os.Build;
import android.os.SystemClock;
import android.util.Log;
import andr... | {
"content_hash": "90ff8c2593447fe11f2df386294166ec",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 95,
"avg_line_length": 37.73571428571429,
"alnum_prop": 0.5614234336551202,
"repo_name": "xyxyLiu/PluginM",
"id": "3a58e95e778379c0f04a1c9e81387bf9810f0729",
"size": "5283... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
J. Linn. Soc. , Bot. 11(no. 56): 521 (1871)
#### Original name
Agaricus diminutus Berk. & Broome
### Remarks
null | {
"content_hash": "cba56b94217aecd69af088d57f0e643f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 43,
"avg_line_length": 13.615384615384615,
"alnum_prop": 0.6610169491525424,
"repo_name": "mdoering/backbone",
"id": "00e02a1ac8821f0702aaed8675dfb5fd0f195158",
"size": "23... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8a9fea6aaa72e6b5f3e5ae0dda7fd2c0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "25e40111517a094261293546ebd56b5caae56911",
"size": "186... |
<?xml version="1.0" encoding="utf-8"?>
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:drawSelectorOnTop="true"
android:scrollbarStyle="outsideOverlay"
andro... | {
"content_hash": "00c39c189d3f3692f9605e3baacdf8e6",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 68,
"avg_line_length": 34.15384615384615,
"alnum_prop": 0.6981981981981982,
"repo_name": "eyal-lezmy/Android-DataLib",
"id": "8edb47d4e23bb8c28effed59394f2b48ece1ef89",
"si... |
export function keys(object) {
return Object.keys(object);
}
export function eachKeyValue(object, callback) {
const objectKeys = keys(object);
for (let i = 0; i < objectKeys.length; i += 1) {
const key = objectKeys[i];
callback(key, object[key]);
}
}
export function mapValues(object, callback) {
c... | {
"content_hash": "8d4d9665ef28237d118d721788812e05",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 54,
"avg_line_length": 17.8135593220339,
"alnum_prop": 0.5651760228353948,
"repo_name": "demiazz/fluxxor",
"id": "f62db46dfa99dc8799206a65735bb1ace29a0cf6",
"size": "2102"... |
<?php
/**
* (c) 2011 - ∞ Vespolina Project http://www.vespolina-project.org
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Vespolina\CommerceBundle\Controller\Checkout;
use Vespolina\CommerceBundle\Controller\AbstractController;
use V... | {
"content_hash": "836ced29e17a41562ce21d0a6ea91ed0",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 156,
"avg_line_length": 35.447916666666664,
"alnum_prop": 0.6485454011166618,
"repo_name": "vespolina/VespolinaCommerceBundle",
"id": "9adb6a17bea2564c9578040eb7df4801cc756bf... |
package openeye.responses;
import openeye.logic.IContext;
import openeye.protocol.responses.IResponse;
public interface IExecutableResponse extends IResponse {
public void execute(IContext context);
}
| {
"content_hash": "5141f0443dfb6ce10c4a9455bdf4c392",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 56,
"avg_line_length": 25.5,
"alnum_prop": 0.8333333333333334,
"repo_name": "OpenMods/OpenData",
"id": "e8d8a07d52279254438b526512a884559adba7ae",
"size": "204",
"binary":... |
/*
* Description:
* What is this file about?
*
* Revision history:
* Feb., 2016, @imzhenyu (Zhenyu Guo), done in Tron project and copied here
* xxxx-xx-xx, author, fix bug about xxx
*/
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using rDSN... | {
"content_hash": "c19e4cb1891b85249fd955bbdd272c14",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 133,
"avg_line_length": 29.81578947368421,
"alnum_prop": 0.5528096498970285,
"repo_name": "glglwty/rDSN",
"id": "629d4035770486b279eefb86adc7c77f0a7ef30a",
"size": "4609",... |
/**
## `_b8r_` — Built-in Event Handlers
The `_b8r_` object is registered by default as a useful set of always available
methods, especially for handling events.
You can use them the obvious way:
<button data-event="click:_b8r_.echo">
Click Me, I cause console spam
</button>
_b8r_.echo // logs eve... | {
"content_hash": "f2185c1c4aa260eaee8eb2ee8780c5dc",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 100,
"avg_line_length": 30.070422535211268,
"alnum_prop": 0.5967213114754099,
"repo_name": "tonioloewald/Bind-O-Matic.js",
"id": "6dd2e9f38388e718e61a3406883be3dc7c4a8b3a",
... |
#include <winpr/config.h>
#include <winpr/crt.h>
#include <winpr/path.h>
#include <winpr/synch.h>
#include <winpr/handle.h>
#include <winpr/pipe.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifndef _WIN32
#include "../handle/handle.h"
#include <fcntl.h>
#include <errno.h>
#include <sys/un.h>
#include <sys... | {
"content_hash": "9cbbfbb3bafd2aa180430cd088efa4a5",
"timestamp": "",
"source": "github",
"line_count": 908,
"max_line_length": 96,
"avg_line_length": 23.570484581497798,
"alnum_prop": 0.6579291654985515,
"repo_name": "erbth/FreeRDP",
"id": "ec7252d51cae2ea05b9cd34d42506e7c87146f7f",
"size": "22190... |
layout: study--link
title: nationalarchives-gov-uk philip-clegg 120-tb-web-archive
link: >-
https://blog.nationalarchives.gov.uk/blog/move-120-tb-web-archive-cloud-two-weeks/
link_title: How to move a 120 TB web archive to the cloud in two weeks
source: >-
via Library and Archives Canada’s [_Governance and Recordke... | {
"content_hash": "8513fec00e2ddf41f2e614d8ece55c6b",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 413,
"avg_line_length": 85.72,
"alnum_prop": 0.7909472701819878,
"repo_name": "lchski/lucascherkewski.com",
"id": "f07a67341ee6a6988d011c7739d665463d45ba74",
"size": "2171"... |
require 'rubygems'
require 'fileutils'
require 'sinatra'
require 'mixlib/shellout'
require 'chef'
require 'chef/provisioning'
require 'cheffish'
require 'chef/config'
require 'chef/knife'
require 'chef/run_list/run_list_item'
require 'cheffish/basic_chef_client'
require 'cheffish/server_api'
require 'chef/knife'
requir... | {
"content_hash": "d53dbf0b09f4b9ec61cb9f683c5f7fe7",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 157,
"avg_line_length": 30.573333333333334,
"alnum_prop": 0.7221979938944614,
"repo_name": "double-z/chef-provisioning-registry",
"id": "d480d0aec2ab11bca10c314cc0138ee90a4d0... |
namespace blink {
// Suppress warning: global constructors, because struct WrapperTypeInfo is trivial
// and does not depend on another global objects.
#if defined(COMPONENT_BUILD) && defined(WIN32) && defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wglobal-constructors"
#endif
cons... | {
"content_hash": "92625d6697dbfc40cec7b3df22581672",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 248,
"avg_line_length": 45.5531914893617,
"alnum_prop": 0.7835902226373969,
"repo_name": "endlessm/chromium-browser",
"id": "24d62a9983e2bd5c1533cb67debfbbd2297c7f69",
"si... |
'use strict';
var http = require('http');
var https = require('https');
var fs = require('fs');
var path = require('path');
var parse = require('./parse.js');
function f(name, mode, config) {
name = name[name.length - 1] === '/' ? name : name + '/';
mode = mode || 'json';
config = config || f.config;
return ... | {
"content_hash": "110457743a3fbce2ae992d999b1ad67b",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 85,
"avg_line_length": 26.390243902439025,
"alnum_prop": 0.5418207024029574,
"repo_name": "poly/f",
"id": "5ef328463bf4e88adbbd3eca464fe1061737fe7e",
"size": "4328",
"bi... |
<?php
class HomeController extends BaseController {
/*
|--------------------------------------------------------------------------
| Default Home Controller
|--------------------------------------------------------------------------
|
| You may wish to use controllers instead of, or in addition to, Closure
| b... | {
"content_hash": "3e3975058439cbb6d378fb507117611b",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 119,
"avg_line_length": 25.488888888888887,
"alnum_prop": 0.5919790758500436,
"repo_name": "SidWatch/SidWatchServer",
"id": "42b395ad6532fa005351e6c7fba90dd364e89cba",
"siz... |
<?php
namespace Omnipay\Common\Message;
use Mockery as m;
use Money\Currency;
use Money\Money;
use Omnipay\Common\CreditCard;
use Omnipay\Common\ItemBag;
use Omnipay\Tests\TestCase;
class AbstractRequestTest extends TestCase
{
/** @var AbstractRequest */
protected $request;
public function setUp()
{... | {
"content_hash": "8aeac372c2b79fe4599e5d766cd1569f",
"timestamp": "",
"source": "github",
"line_count": 507,
"max_line_length": 118,
"avg_line_length": 33.65680473372781,
"alnum_prop": 0.6302742616033755,
"repo_name": "xola/omnipay-common",
"id": "f4d751b301d4d995c9f5a52699b67cfbe7056d30",
"size": ... |
@interface BHCollectionViewController : UICollectionViewController <UICollectionViewDataSource, UICollectionViewDelegate>
@end
| {
"content_hash": "5dd5c14a20e81bc96dd9e66b18d458f5",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 121,
"avg_line_length": 42.666666666666664,
"alnum_prop": 0.890625,
"repo_name": "Akhrameev/LinkingProverbs",
"id": "638de8e4a17fcafb8a69b1fb0e43c3359c45fc78",
"size": "320"... |
import React, { Component } from 'react'
import { Icon } from 'semantic-ui-react'
class Logo extends Component {
render () {
return (
<div><Icon name='checked calendar' /> EachDay</div>
)
}
}
export default Logo
| {
"content_hash": "facb83bcb49ea11da5f1f01c628501f0",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 57,
"avg_line_length": 19.333333333333332,
"alnum_prop": 0.6379310344827587,
"repo_name": "bcongdon/EachDay",
"id": "02e80a314ca22bce9db484b1d48285c0056a7e16",
"size": "232... |
void pcap_data_handler(
u_char *args,
const struct pcap_pkthdr *header,
const u_char *packet
) {
return;
}
| {
"content_hash": "c33241a8786491ef63a88b91e87822f5",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 35,
"avg_line_length": 16.428571428571427,
"alnum_prop": 0.6695652173913044,
"repo_name": "hagosan8547/tcpdump-data",
"id": "4a5fc2de5d9f72252b721def62881f97d578ec01",
"size... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace iTunesSearch.Library.Models
{
[DataContract]
public class Album
{
[DataMember(Name = "artistId")]
public long ArtistId { get; se... | {
"content_hash": "da200771907b69d55ab9cff93f74af27",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 58,
"avg_line_length": 29.253731343283583,
"alnum_prop": 0.6198979591836735,
"repo_name": "danesparza/iTunesSearch",
"id": "19043c34d53c8571fada6ca6961b8cde6d356117",
"size... |
class ModifyProviderAccountsForNewMessageSubsystem < ActiveRecord::Migration
def self.up
remove_column :provider_accounts, :msg_server_uri rescue nil
remove_column :provider_accounts, :in_queue
remove_column :provider_accounts, :out_queue
remove_column :provider_accounts, :msg_access_key
remove_co... | {
"content_hash": "0bcd4f7e01ad4643358082e3824b3b01",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 103,
"avg_line_length": 60.94444444444444,
"alnum_prop": 0.6864175022789426,
"repo_name": "vadimj/nimbul",
"id": "09f82f9c547a1e551110e464172186f6e10fe195",
"size": "2194",... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.