text stringlengths 2 1.04M | meta dict |
|---|---|
import random
import sys
from blitzem.model import Node, Size
from blitzem.test.dummies import DummyDriver, DummyConn
if sys.version_info < (2, 7):
import unittest2 as unittest
else:
import unittest
class TestNode(unittest.TestCase):
def setUp(self):
self.node = None
self.conn = None
self.driver = DummyDr... | {
"content_hash": "af3416e5cf78241c6bf6d22d81931257",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 64,
"avg_line_length": 25,
"alnum_prop": 0.72,
"repo_name": "rnorth/blitzemp",
"id": "2827e89350959985b728aea5d648b8bd036b3418",
"size": "875",
"binary": false,
"copies... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_BR" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Bithire</source>
<translation>Sobre o Bithire</translation>
</message>
<message>
<lo... | {
"content_hash": "f867828ef1cf6614534a04dc114a8ba4",
"timestamp": "",
"source": "github",
"line_count": 3285,
"max_line_length": 394,
"avg_line_length": 36.56103500761035,
"alnum_prop": 0.6135483709815741,
"repo_name": "Bithire/Bithire",
"id": "4801fa764da4cf05b91b8e99a70eb32a234515cd",
"size": "12... |
// <copyright file="IccParametricCurveTagDataEntry.cs" company="James Jackson-South">
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
// </copyright>
namespace ImageSharp
{
using System;
/// <summary>
/// The parametricCurveType describes a one-di... | {
"content_hash": "cf83f67baa26196f0522c4f4bee46f58",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 118,
"avg_line_length": 31.179775280898877,
"alnum_prop": 0.5686486486486486,
"repo_name": "KelsonBall/KoreUI",
"id": "4264c0b24da0129e6f547275916d3259f8b4f76c",
"size": "2... |
<?php
declare(strict_types=1);
namespace App\Entity;
use App\Entity\Interfaces\SongInterface;
use InvalidArgumentException;
use NowPlaying\Result\CurrentSong;
class Song implements SongInterface
{
use Traits\HasSongFields;
public function __construct(?SongInterface $song = null)
{
if (null !== ... | {
"content_hash": "233545509a18744724a6e738dcdbfbe7",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 107,
"avg_line_length": 27.207207207207208,
"alnum_prop": 0.5466887417218543,
"repo_name": "SlvrEagle23/AzuraCast",
"id": "61aa0a556152446d36414ec96caa5a4fb4475c30",
"size... |
<?php
/*
* This file is part of the takatost/wechat_open_platform.
*
* (c) takatost <takatost@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace WechatOP\OpenPlatform;
use EasyWeChat\Core\AbstractAPI;
class OpenPlatform exten... | {
"content_hash": "7433a69a8136563afdca44471802743d",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 115,
"avg_line_length": 30.06474820143885,
"alnum_prop": 0.5649676956209619,
"repo_name": "takatost/wechat_open_platform",
"id": "c798d695a91198547bf033abb143c79515d4f2e0",
... |
import React from 'react';
import cachedFetch from './cached-fetch';
export default class Comments extends React.Component {
componentWillMount() {
this.update(this.props);
}
componentWillReceiveProps(nextProps) {
this.update(nextProps);
}
update(props) {
const url = `/api/2.2/questions/${props.question... | {
"content_hash": "837261b81f68ac008cb9fdf22132dc05",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 128,
"avg_line_length": 23.85,
"alnum_prop": 0.6362683438155137,
"repo_name": "GoogleChromeLabs/progressive-rendering-frameworks-samples",
"id": "f5caf981aff9ae9158984a99685c... |
<Record>
<Term>Sulfamethizole</Term>
<SemanticType>Pharmacologic Substance</SemanticType>
<SemanticType>Organic Chemical</SemanticType>
<PrimarySemanticType>Pharmacologic Substance</PrimarySemanticType>
<Synonym>Microsul</Synonym>
<Synonym>Thiosulfil</Synonym>
<Synonym>Proklar</Synonym>
<Source>FDA Registry</So... | {
"content_hash": "6efc8abc1484abec903786d403f1ea2d",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 66,
"avg_line_length": 33.8,
"alnum_prop": 0.7958579881656804,
"repo_name": "detnavillus/modular-informatic-designs",
"id": "c0dd92d739a81c1bea9701d207b87c5014555ef9",
"siz... |
import { storiesOf } from '@storybook/html'
storiesOf('update()', module).add(
'multiple options',
() => `
<img src="image-2.jpg">
<div>
<button id="update">Update options</button>
</div>
<script>
const zoom = mediumZoom('img');
const button = document.querySelector('#update');
... | {
"content_hash": "aba4e72172c9042c9e290457e6f90abe",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 77,
"avg_line_length": 21.214285714285715,
"alnum_prop": 0.5589225589225589,
"repo_name": "francoischalifour/medium-zoom",
"id": "efc47af26b6205687e691492227f0a2505b210f5",
... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class Asset_Status_By_Period extends MY_Controller {
public $path = "asset status by period";
function index() {
$this->_view($this->path);
}
function detail($hash_id) {
$this->_view($this->path.'/detail');
}
function inse... | {
"content_hash": "e25454b6c439ddb8d031876cbb7833a1",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 72,
"avg_line_length": 16.2,
"alnum_prop": 0.5714285714285714,
"repo_name": "dannyerry/dannyerry.github.io",
"id": "1c9eae9d20a8891900f89878771ea62b24a81375",
"size": "567"... |
[](http://badge.fury.io/js/artnet)
This is a [Node.js](http://nodejs.org) module that can be used to send ArtDMX packages to an [Art-Net](http://en.wikipedia.org/wiki/Art-Net) node.
## Usage
connect, set channel 1 to 255, disconnect.
```javascript
var options = {
... | {
"content_hash": "c890bf6cfab6d8d6f3c0fcff80a24942",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 146,
"avg_line_length": 33.73,
"alnum_prop": 0.7210198636228876,
"repo_name": "johngingersoftwire/dmx",
"id": "6c98d29362186c058fd1a8555b80f20175cef3df",
"size": "3385",
... |
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>kmagine test</title>
<meta name="viewport" content="width=640px, user-scalable=0" />
<script src="lib/jquery.min.js"></script>
<script src="sample1.kscene"></script>
<script src="../../kmagine.js"></script>... | {
"content_hash": "09d5fa1916bc94419330f3f1fd003d41",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 146,
"avg_line_length": 24.846153846153847,
"alnum_prop": 0.6114551083591331,
"repo_name": "mofukuma/kmagine.js",
"id": "cf1f9eb290118c6c773067f4c33212f32dbfcfc9",
"size": ... |
package rtdc.core.model;
import rtdc.core.exception.ValidationException;
import rtdc.core.i18n.ResBundle;
import rtdc.core.json.JSONObject;
import rtdc.core.util.Stringifier;
import java.util.Date;
public class Action extends RootObject{
public enum Properties implements ObjectProperty<Action> {
id,
... | {
"content_hash": "4c0d7bed3d8c4064c4d8232efc251474",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 102,
"avg_line_length": 26.926829268292682,
"alnum_prop": 0.5938405797101449,
"repo_name": "Bathlamos/RTDC",
"id": "ae36e2e719c77913f2450d3a894116ec8ce17e5e",
"size": "674... |
layout: page
title: Tone Alpha Electronics Executive Retreat
date: 2016-05-24
author: Nathan Leonard
tags: weekly links, java
status: published
summary: Maecenas in nibh id massa tempus.
banner: images/banner/people.jpg
booking:
startDate: 04/17/2016
endDate: 04/22/2016
ctyhocn: ORFSFHX
groupCode: TAEER
publish... | {
"content_hash": "c9b8e85ead77d5881ea882a0308099c7",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 647,
"avg_line_length": 84.25,
"alnum_prop": 0.8100890207715133,
"repo_name": "KlishGroup/prose-pogs",
"id": "c9d2a2b353345b421d0289b9a8cabed6ea7ef463",
"size": "2026",
"... |
package flynn.tim.ciphersolver;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import android.widget.Button;
import android.widget.EditText;
import com.github.mikephil.charting.animation.... | {
"content_hash": "5c94d96df60d6e7e51bb36498ff0710e",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 107,
"avg_line_length": 41.53543307086614,
"alnum_prop": 0.5909004739336493,
"repo_name": "tflynn93/CipherSolver",
"id": "8af1fe17918ce1fab1e0bbc3b0c2fc27cb8d26f8",
"size"... |
.class Lcom/android/server/PowerManagerService$2;
.super Landroid/content/BroadcastReceiver;
.source "PowerManagerService.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/android/server/PowerManagerService;->initInThread()V
.end annotation
.annotation system Ldalvik/annotat... | {
"content_hash": "781d5d8589db191a097679459ae52921",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 167,
"avg_line_length": 27.613333333333333,
"alnum_prop": 0.7469821342346692,
"repo_name": "baidurom/devices-g520",
"id": "9e2aa29c4487f3883086332ba3d24d95865aff47",
"size"... |
module Bottom where
x = undefined
y = x `seq` "blah"
main = do
print (snd (x, y))
| {
"content_hash": "5b90c41b0759bfe4bf0f7c299132aaaf",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 20,
"avg_line_length": 14.166666666666666,
"alnum_prop": 0.611764705882353,
"repo_name": "dmvianna/strict",
"id": "474479d38a78cd6ca2a79669afbc937dc17779fd",
"size": "86",
... |
#pragma once
#include <memory>
#include <vector>
#include <functional>
#include "TimePoint.h"
namespace Wuild {
class TcpEndPointPrivate;
class TcpEndPoint {
public:
TcpEndPoint();
TcpEndPoint(int port, const std::string& host = std::string());
/// Set host and port information. No resolution performed... | {
"content_hash": "2e52489a3ac313efe66db98e622cb435",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 193,
"avg_line_length": 42.15873015873016,
"alnum_prop": 0.6031626506024096,
"repo_name": "mapron/Wuild",
"id": "3a96db099a31138508f51b346b6a23c7bed69963",
"size": "3316",
... |
Oligowalk_object::Oligowalk_object(const char sequence[])
:RNA(sequence) {
CommonConstructor();
}
//Constructor - user provides a filename for existing file as a c string.
Oligowalk_object::Oligowalk_object(const char filename[], const int type)
:RNA(filename, type) {
CommonConstructor();
}
//Default Cons... | {
"content_hash": "d3bc7c8dd41a6e3b1e5728a0c181c659",
"timestamp": "",
"source": "github",
"line_count": 546,
"max_line_length": 209,
"avg_line_length": 25.565934065934066,
"alnum_prop": 0.6931728633856293,
"repo_name": "mayc2/PseudoKnot_research",
"id": "29e38c4576880dab896d3ec439ab2b0d324ad426",
"... |
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)
import column_pb2
import control_pb2
import query_pb2
DESCRIPTOR = _descriptor.Fi... | {
"content_hash": "2c9da3314b457d8297ae31b54d72d09f",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 552,
"avg_line_length": 37.171171171171174,
"alnum_prop": 0.7297624818225885,
"repo_name": "uwescience/myria",
"id": "6e170fcede76a5e2dcaa4071bb527eef3337d2fd",
"size": "4... |
%USING_HG2 Determine if the HG2 graphics pipeline is used
%
% tf = using_hg2(fig)
%
%IN:
% fig - handle to the figure in question.
%
%OUT:
% tf - boolean indicating whether the HG2 graphics pipeline is being used
% (true) or not (false).
function tf = using_hg2(fig)
try
%tf = ~graphicsver... | {
"content_hash": "8270a36a6fba2b20bbefd8230086b14a",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 75,
"avg_line_length": 23.27777777777778,
"alnum_prop": 0.6276849642004774,
"repo_name": "orlandi/netcal",
"id": "675580a9cfb565967875f585b8c84e0004c06d20",
"size": "419",
... |
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0" metadata-complete="false">
<display-name>... | {
"content_hash": "79bf577ac26f3eafc4c716d11752a2d9",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 106,
"avg_line_length": 35.55263157894737,
"alnum_prop": 0.7098445595854922,
"repo_name": "barmintor/fcrepo4",
"id": "b686be57ca4d8d21479c4b71bc2c716d7784c10e",
"size": "13... |
*For installation instructions regarding your specific platform also see the INSTALL.xxx file in this directory that matches your system.*
---
README
============
### slideToolkit: an assistive toolset for the histological quantification of whole slide images
Hi,
If you do not know where to start, this ... | {
"content_hash": "b4407dcd2c4b46c66b0abdcc21f6ee69",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 892,
"avg_line_length": 93.4748201438849,
"alnum_prop": 0.7781882552143462,
"repo_name": "swvanderlaan/slideToolkit",
"id": "9ed8f93a4c09888dfdb8186e87a7bc7f43e041cb",
"si... |
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "cpplib.h"
#include "tree.h"
#include "c-family/c-pragma.h"
#include "diagnostic-core.h"
#include "ggc.h"
#include "tm_p.h"
#ifndef streq
#define streq(a,b) (strcmp (a, b) == 0)
#endif
static int pop_data_area (v850_d... | {
"content_hash": "7ad8852decd4ac008ff86c448db78c83",
"timestamp": "",
"source": "github",
"line_count": 257,
"max_line_length": 80,
"avg_line_length": 22.607003891050585,
"alnum_prop": 0.614974182444062,
"repo_name": "the-linix-project/linix-kernel-source",
"id": "db881cf4d9f106a0a0fd152f39056e83b5ee... |
package org.gazbert.openidconnect.client.security;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.MoreObjects;
/**
* Encapsulates Google user info.
*
* Example userinfo response payload:
*
* <pre>
* {
* "sub": "1184124... | {
"content_hash": "ddf413eef368180085f53707f1056d85",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 82,
"avg_line_length": 26.9126213592233,
"alnum_prop": 0.5753968253968254,
"repo_name": "gazbert/openid-connect-spring-client",
"id": "34d1fcac9a2780c219afea9f108e4fd4ff94eb... |
Licenses
======================
CPML is Copyright (c) 2014 Colby Klein <shakesoda@gmail.com>.
Code in vec3.lua is derived from hump.vector. (c) 2010-2013 Matthias Richter. MIT.
Portions of mat4.lua are from LuaMatrix, (c) 2010 Michael Lutz. MIT.
Code in simplex.lua is (c) 2011 Stefan Gustavson. MIT.
Code in quat.lu... | {
"content_hash": "6043c0ade73404862908901ece957b06",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 82,
"avg_line_length": 45.28125,
"alnum_prop": 0.7674258109040718,
"repo_name": "Midiman/Verde",
"id": "457f03f560c417300d839f708a014122f9f9fec3",
"size": "1449",
"binary... |
using UnrealBuildTool;
using System.Collections.Generic;
public class VertexColorSpreadTarget : TargetRules
{
public VertexColorSpreadTarget(TargetInfo Target)
{
Type = TargetType.Game;
}
//
// TargetRules interface.
//
public override void SetupBinaries(
TargetInfo Target,
ref List<UEBuildBinaryConfigu... | {
"content_hash": "4b543fde82091f3dec83d3dbd273aa1a",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 68,
"avg_line_length": 19.869565217391305,
"alnum_prop": 0.7789934354485777,
"repo_name": "alanedwardes/UE4VertexColorSpread",
"id": "09dee888e3f156c770e40fa290077a6f0effb0f2... |
<?php
namespace NBOS\http;
use NBOS\http\Curl;
use NBOS;
class Rest
{
protected $curl = null;
protected $supported_formats = array(
'xml' => 'application/xml',
'json' => 'application/json',
'serialize' => 'application/vnd.php.serialized',
'php' => 'text/plain',
'csv' => 'text/cs... | {
"content_hash": "df1b79556951e64008bfc8f95cd6c1a0",
"timestamp": "",
"source": "github",
"line_count": 351,
"max_line_length": 138,
"avg_line_length": 25.840455840455842,
"alnum_prop": 0.5962513781697906,
"repo_name": "nbostech/wavelabs-php-client-api",
"id": "bf86168dd6ae81a9da1c36974d12a7e87cd7dfa... |
(function() {
var Console = {};
if (window.console === "undefined") {
["log", "warn", "debug", "info", "error"].forEach(function(methodName) {
Console[methodName] = function() { };
});
}
else {
Console = window.console;
}
Completed.module.add("Console",... | {
"content_hash": "2d14dd06c2c4150ff83674532054af44",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 80,
"avg_line_length": 22.466666666666665,
"alnum_prop": 0.5014836795252225,
"repo_name": "EragonJ/Completed.js",
"id": "54b289cece501d140bd27f96d189329a168acb3a",
"size": ... |
layout: post
title: "Hobgoblin Iron Shadow"
date: 2017-09-10
tags: [medium, humanoid, cr2, volos-guide]
---
**Medium humanoid (goblinoid), lawful evil**
**Armor Class** 15
**Hit Points** 32 (5d8+10)
**Speed** 40 ft.
| STR | DEX | CON | INT | WIS | CHA |
|:-----:|:-----:|:-----:|:-----:|:---... | {
"content_hash": "396ac26a586609e008d413c8fef9d803",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 238,
"avg_line_length": 38.02272727272727,
"alnum_prop": 0.675433353257621,
"repo_name": "whiplashomega/elthelas2",
"id": "94c7245f752fd33e08b07c2e03dc433c8e7b4bc9",
"size"... |
using System;
using System.Collections.ObjectModel;
using VkNet.Utils;
namespace VkNet.Model
{
/// <summary>
/// Результат запроса Friends.FriendOnline
/// </summary>
[Serializable]
public class FriendOnline
{
/// <summary>
/// Online
/// </summary>
public ReadOnlyCollection<long> Online { get; set; }
... | {
"content_hash": "168f71844fd1704f0d578eb3e38f02b8",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 98,
"avg_line_length": 23.355555555555554,
"alnum_prop": 0.6527117031398668,
"repo_name": "Soniclev/vk",
"id": "57493ba411486ff83f162dd2d40606f0165566ab",
"size": "1109",
... |
LilTrick
========
Mad Money Corporatin
| {
"content_hash": "883ae92c5109c122620b5db0c2be7f32",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 20,
"avg_line_length": 10,
"alnum_prop": 0.65,
"repo_name": "GrinderOfTheStreet/LilTrick",
"id": "93149047e6e04e5ae2fd4bd0e87d49a7372ef77b",
"size": "40",
"binary": false,... |
#include <srs_app_dvr.hpp>
#ifdef SRS_AUTO_DVR
#include <fcntl.h>
#include <sstream>
#include <algorithm>
using namespace std;
#include <srs_app_config.hpp>
#include <srs_rtmp_stack.hpp>
#include <srs_core_autofree.hpp>
#include <srs_kernel_utility.hpp>
#include <srs_app_http_hooks.hpp>
#include <srs_kernel_codec.... | {
"content_hash": "eb53911d31f45257442762bd4e10ec2b",
"timestamp": "",
"source": "github",
"line_count": 1032,
"max_line_length": 107,
"avg_line_length": 23.563953488372093,
"alnum_prop": 0.592565178057406,
"repo_name": "lewdon/srs",
"id": "f0502738a8ca79df8cbefcd8916760a898874f63",
"size": "25405",... |
using System.Net;
using System.Net.Http;
using FluentAssertions;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Timers;
using Microsoft.Extensions.Logging;
using Moq;
using Xunit;
using Yarm.FunctionApp.Tests.Fixtures;
using Yarm.Functions;
namespace Yarm.FunctionApp.Tests
{
/// <sum... | {
"content_hash": "4880dc3f26dd05f2a16dc219f32eecc9",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 121,
"avg_line_length": 35.333333333333336,
"alnum_prop": 0.6939203354297694,
"repo_name": "aliencube/yarm",
"id": "323b8ca9462f9937eab9511b9c760e151b710893",
"size": "1910... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>FST - Jack Robinson</title>
<meta name="description" content="Keep track of the statistics from Jack Robinso... | {
"content_hash": "d1e2650a19391d4c7ab1f4df1252f0ba",
"timestamp": "",
"source": "github",
"line_count": 296,
"max_line_length": 295,
"avg_line_length": 40.13175675675676,
"alnum_prop": 0.6248842495159526,
"repo_name": "chicofilho/fst",
"id": "c887b1e43c4e62aa180194405fbd19d1223f61c9",
"size": "1187... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="http://yui.yahooapis.com/3.8.0/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
<link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
... | {
"content_hash": "8b8e65f18332fec8019848624ec48957",
"timestamp": "",
"source": "github",
"line_count": 963,
"max_line_length": 192,
"avg_line_length": 26.995846313603323,
"alnum_prop": 0.4315497942070239,
"repo_name": "Koava/Shtacker",
"id": "e4756abdc258e3805d4fb13b172cf54840717268",
"size": "259... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_36) on Mon Jan 04 20:30:30 CST 2016 -->
<title>SerializerResolver$</title>
<meta name="date" content="2016-01-04">
<link rel="styleshee... | {
"content_hash": "082ab4631b9d793dd4fcb2053818fa94",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 187,
"avg_line_length": 33.88301886792453,
"alnum_prop": 0.6342577124401381,
"repo_name": "gearpump/gearpump.github.io",
"id": "b19eff401fc538d842b170746b7ef00fae773d43",
... |
/**
* Created by yangyang on 2017/9/21.
*/
import {Map, List, Record} from 'immutable'
import {createAction} from 'redux-actions'
import { call, put, takeLatest } from 'redux-saga/effects'
/**** Model ****/
const AppState = Record({
isRehydrated: undefined, // 是否已完成持久化数据恢复
}, 'AppState')
/**** Constant ***... | {
"content_hash": "5b1dd24fabd07ed47c3db5e23f8cf95a",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 69,
"avg_line_length": 21.44927536231884,
"alnum_prop": 0.7027027027027027,
"repo_name": "simors/yjbAdmin",
"id": "125e5b6b4c0fa3847dc27e1e83ff93f926356adf",
"size": "1504"... |
"use strict";
var tap = require("tap"),
test = tap.test,
plan = tap.plan,
path = require("path"),
_ = require("underscore");
var argv = {
platform: "android",
buildType: "dev"
};
var linter = require("../lib/fileset-linter").argv(argv),
nodeModules = require("../lib/node-modules... | {
"content_hash": "17b4276dd9611b60d1ce67a0d205785a",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 75,
"avg_line_length": 23.272727272727273,
"alnum_prop": 0.58251953125,
"repo_name": "KirinJS/kirin-build",
"id": "a716c4ad80ae7d652d897ec2acbd3152b9994b71",
"size": "2048"... |
using System;
using System.Diagnostics;
using Alachisoft.NCache.Common.Stats;
using System.Threading;
using Alachisoft.NCache.Common.Util;
using Alachisoft.NCache.Common.Logger;
using System.Collections.Generic;
using Alachisoft.NCache.Common.Enum;
using Alachisoft.NCache.Common.Collections;
using Alachisoft.NCache.Com... | {
"content_hash": "818bcf33c09859f8241cba41d994e2f5",
"timestamp": "",
"source": "github",
"line_count": 1058,
"max_line_length": 145,
"avg_line_length": 40.55198487712666,
"alnum_prop": 0.5506246503822487,
"repo_name": "Alachisoft/NCache",
"id": "07187f9dfc8e072feda6bbd752c5e4d3797e37d1",
"size": "... |
package solr
import (
"errors"
"fmt"
"net/url"
"time"
)
type SolrHttpRetrier struct {
solrCli SolrHTTP
retries int
exponentialBackoff time.Duration
readTimeout time.Duration
updateTimeout time.Duration
}
func NewSolrHttpRetrier(solrHttp SolrHTTP, retries int, exponentialBac... | {
"content_hash": "75386997bc45e4c5a1a3d1c7250e4392",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 122,
"avg_line_length": 29.855555555555554,
"alnum_prop": 0.6899888351321176,
"repo_name": "sendgrid/go-solr",
"id": "7a4edbc7e76c3e20a9b3c2141f9855c6c8860534",
"size": "26... |
output = [$.app, 'use', $.passport.initialize()]
| {
"content_hash": "b15d18e08522c8cefbe0af124ff8d18a",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 48,
"avg_line_length": 49,
"alnum_prop": 0.6122448979591837,
"repo_name": "nodule/passport",
"id": "0cf71756fbceebbfaaa8ed3ad23ca50c9336ee7c",
"size": "49",
"binary": fals... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.maintenance;
import com.yahoo.config.provision.ApplicationId;
import com.yahoo.config.provision.NodeType;
import com.yahoo.config.provision.zone.ZoneId;
import com.yahoo.v... | {
"content_hash": "0f31b9bdb8be86d38c1ffb4162901641",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 125,
"avg_line_length": 46.91489361702128,
"alnum_prop": 0.6645124716553288,
"repo_name": "vespa-engine/vespa",
"id": "084fd2437691484e3a15b6c2cd13234cf0507707",
"size": "... |
"""
Single Server M/M/1 and M/G/1
"""
from __future__ import print_function
from __future__ import division
from RndUtil import Random
from pdb import set_trace
from MscUtil import Params, Customer
from numpy.random import shuffle
from numpy import argsort, mean
rand = Random()
rand.set_seed(seed_val=1729)
from time i... | {
"content_hash": "b30dfc36df4b2f395bf89e94323de200",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 74,
"avg_line_length": 29.3,
"alnum_prop": 0.5935153583617747,
"repo_name": "rahlk/CSC579__Computer_Performance_Modeling",
"id": "d2556245dd95578e0b2b3830f21292c9b1dc8dc8",
... |
<?php
namespace Notadd\Foundation\Member;
use InvalidArgumentException;
use Notadd\Foundation\Member\Abstracts\Manager;
use Notadd\Foundation\Routing\Traits\Helpers;
/**
* Class MemberManagement.
*/
class MemberManagement
{
use Helpers;
/**
* @var array
*/
protected $drivers = [];
/**
... | {
"content_hash": "cc8bded57b67607b88711d4fc9a2fc97",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 108,
"avg_line_length": 21.081481481481482,
"alnum_prop": 0.5520028109627547,
"repo_name": "notadd/framework",
"id": "1523bb1ca9e7ae62339059efe70e9e28becf0f4e",
"size": "2... |
package org.hibernate.test.annotations.embeddables.nested;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Embeddable;
/**
* @author Thomas Vanstals
* @author Steve Ebersole
*/
@Embeddable
public class Investment {
private MonetaryAmount amount;
private String description;
priv... | {
"content_hash": "e858d05d025a7dae00e7b516f619b444",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 58,
"avg_line_length": 17.714285714285715,
"alnum_prop": 0.739247311827957,
"repo_name": "HerrB92/obp",
"id": "32d25ee3d521f54c13cd5fee86522b6ab4226482",
"size": "1785",
... |
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Test test test</title>
<meta charset="utf-8">
<style type="text/css">
body {
background-color: #000000;
margin: 0px;
overflow: hidden;
}
</style>
</head>
<body>
<div align="center">
<canvas id="theCanvas"></canvas>
</div>
<audio aut... | {
"content_hash": "50dc39d4615fac45647338cd452920f1",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 81,
"avg_line_length": 18.433333333333334,
"alnum_prop": 0.6075949367088608,
"repo_name": "BitSavage/experiments",
"id": "48621b6386b753c39a8ba3df69e9936f25781362",
"size":... |
package uk.gov.phe.erdst.sc.awag.upload.reason; | {
"content_hash": "f8904935208679db89e4d04e73babbb7",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 47,
"avg_line_length": 47,
"alnum_prop": 0.8085106382978723,
"repo_name": "PublicHealthEngland/animal-welfare-assessment-grid",
"id": "04540067450f1a94df65811ded7c83a9aef6026d... |
/* eslint-disable */
/// <reference path="jqwidgets.d.ts" />
import '../jqwidgets/jqxcore.js';
import '../jqwidgets/jqxdraw.js';
import '../jqwidgets/jqxgauge.js';
import { Component, Input, Output, EventEmitter, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
declare let JQXLite: any;
@Component({
... | {
"content_hash": "4541fceea73af98ceec6b42620fceadf",
"timestamp": "",
"source": "github",
"line_count": 384,
"max_line_length": 277,
"avg_line_length": 28.908854166666668,
"alnum_prop": 0.5767948833438429,
"repo_name": "cdnjs/cdnjs",
"id": "50ce142bc60a9204bc16be4234d0eb608072006d",
"size": "11213"... |
<?xml version="1.0" encoding="UTF-8"?>
<!-- http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
law or agreed to in writing, software distributed under the License is distributed
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express or implied. See the License ... | {
"content_hash": "f84cf9f423fa26b9ebdbc4a1af02709b",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 201,
"avg_line_length": 40.017341040462426,
"alnum_prop": 0.5854398382204247,
"repo_name": "OpenDDRmobi/openddr-examples",
"id": "e35815ee6a8eb2140189f07277c7f06f094e68e1",
... |
package org.openfact.exportimport.singlefile;
import org.openfact.Config;
import org.openfact.exportimport.ExportImportConfig;
import org.openfact.exportimport.ImportProvider;
import org.openfact.exportimport.ImportProviderFactory;
import org.openfact.models.OpenfactSession;
import org.openfact.models.OpenfactSessio... | {
"content_hash": "f8a6544c3e08cf661d36e3eea321196a",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 79,
"avg_line_length": 24.11904761904762,
"alnum_prop": 0.7443237907206318,
"repo_name": "openfact/openfact-temp",
"id": "4f4671ace31152a1871d6a2174250e89a1a73a15",
"size":... |
using System;
using System.Collections.Generic;
using UnityEngine;
public class BlackBoard
{
private Dictionary<string, bool> boolDictionary;
private Dictionary<string, int> intDictionary;
private Dictionary<string, Vector3> vector3Dictionary;
private Dictionary<string, GameObject> gameObjectDictionar... | {
"content_hash": "3cfff2572b75a8de63bf676b1787692e",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 81,
"avg_line_length": 24.48314606741573,
"alnum_prop": 0.6117485084901331,
"repo_name": "houshuai/BattleGround",
"id": "a712e95a9464005a2e400c46485a1da21647f0a6",
"size": ... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_TW" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Trenchcoin</source>
<translation>關於莱特幣</translation>
</messag... | {
"content_hash": "aa070ec698badd3b9331530598d0a80f",
"timestamp": "",
"source": "github",
"line_count": 2955,
"max_line_length": 395,
"avg_line_length": 34.62707275803722,
"alnum_prop": 0.6046734360798648,
"repo_name": "safaricoin/trenchcoin",
"id": "917e7bfb05f00f0c282c348957174785d96a7719",
"size... |
package com.bootdo.oa.service;
import java.util.List;
public interface WorkService {
List listTodoWork();
}
| {
"content_hash": "335bbb6afa637139617359b766ff2019",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 30,
"avg_line_length": 16.285714285714285,
"alnum_prop": 0.7456140350877193,
"repo_name": "lcg0124/bootdo",
"id": "f661ae83fcae9d96d39b34e10259047e8d388305",
"size": "114",
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... | {
"content_hash": "aa19559300f8cb650411d63629307c51",
"timestamp": "",
"source": "github",
"line_count": 501,
"max_line_length": 83,
"avg_line_length": 34.96207584830339,
"alnum_prop": 0.540819821877141,
"repo_name": "4uva4ek/shop.my",
"id": "21b9ab58139dbb0998d67c9f67f2c5c9bd6a9bcb",
"size": "17516... |
catstack
========
| {
"content_hash": "18f51f1904e5f0d20fe9317623f11996",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 8,
"avg_line_length": 9,
"alnum_prop": 0.4444444444444444,
"repo_name": "mattzee/catstack",
"id": "5ae7d3be15023438aac074326a83dd0759c7a402",
"size": "18",
"binary": false... |
Rails.application.config.assets.precompile += %w(payments.js)
| {
"content_hash": "b80953bfc5325ca97155dd117d9af067",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 61,
"avg_line_length": 62,
"alnum_prop": 0.7903225806451613,
"repo_name": "laszpio/planner",
"id": "0a3366aaed8136f9f6c9185746ac818aebd1531c",
"size": "62",
"binary": fals... |
package org.apache.solr.client.solrj.util;
import org.apache.solr.SolrTestCase;
/**
* @since solr 1.3
*/
public class ClientUtilsTest extends SolrTestCase {
public void testEscapeQuery() {
assertEquals("nochange", ClientUtils.escapeQueryChars("nochange"));
assertEquals("12345", ClientUtils.escapeQueryCh... | {
"content_hash": "78ea6368aee55655312abd7c986614df",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 77,
"avg_line_length": 31.055555555555557,
"alnum_prop": 0.7119856887298748,
"repo_name": "apache/solr",
"id": "d5997f5d85e0dac59c2217569650793436f9867b",
"size": "1360",
... |
<?php
namespace Plab\GlsUniboxDelivery\Api\Resource;
use Plab\GlsUniboxDelivery\Api\Api;
use Plab\GlsUniboxDelivery\Gls\Provider\Provider;
/**
* Class Resource
* @package Plab\GlsUniboxDelivery\Api\Resource
*/
abstract class Resource
{
/**
* @var Provider
*/
protected $provider;
protected $b... | {
"content_hash": "fbf9fb12a27921e956bcfb31fec25ba4",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 68,
"avg_line_length": 21.028985507246375,
"alnum_prop": 0.5678842177808407,
"repo_name": "Power-LAB/gls-unibox-delivery",
"id": "92e8ef32c08bcd3530c8689becc36f5ffbe80392",
... |
from django.conf.urls import url
from awx.api.views import (
CredentialList,
CredentialActivityStreamList,
CredentialDetail,
CredentialAccessList,
CredentialObjectRolesList,
CredentialOwnerUsersList,
CredentialOwnerTeamsList,
CredentialCopy,
)
urls = [
url(r'^$', CredentialList.as... | {
"content_hash": "4fc29db737822c0b0c7021c958b74960",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 126,
"avg_line_length": 43.38461538461539,
"alnum_prop": 0.6737588652482269,
"repo_name": "wwitzel3/awx",
"id": "c444da90907dc1a868a426b8579d6a168cf5fc98",
"size": "1187",
... |
from pyface.qt import QtCore, QtGui
# Enthought library imports.
from traits.api import Instance, List
# Local imports.
from dock_pane import AREA_MAP, INVERSE_AREA_MAP
from main_window_layout import MainWindowLayout
from pyface.tasks.i_task_window_backend import MTaskWindowBackend
from pyface.tasks.task_layout impor... | {
"content_hash": "8de3b67e44361e621f5f38afbd85deaf",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 80,
"avg_line_length": 39.21195652173913,
"alnum_prop": 0.5503811503811504,
"repo_name": "brett-patterson/pyface",
"id": "01a1b0e16b6ecae93eac87e157c075553216cd59",
"size"... |
package org.gedcomx.common;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
public class TextValueTest {
@Test
public void testDefaultCtor() throws Exception {
TextValue literal = new TextValue();
literal.setLang("en-US");
literal.setValue("value");
assertEquals(literal.g... | {
"content_hash": "dcd2523bdab226189cb13665d3b2a0cd",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 59,
"avg_line_length": 28.75,
"alnum_prop": 0.7028985507246377,
"repo_name": "brenthale/gedcomx-java",
"id": "7f67b583e72d184cb2261b6319467e2b28148e85",
"size": "1380",
"... |
/**
* @fileoverview Prevent direct mutation of this.state
* @author David Petersen
*/
'use strict';
// ------------------------------------------------------------------------------
// Requirements
// ------------------------------------------------------------------------------
const RuleTester = require('eslint... | {
"content_hash": "37be6b21ab47711258622ccd8aeddeb0",
"timestamp": "",
"source": "github",
"line_count": 282,
"max_line_length": 81,
"avg_line_length": 22.617021276595743,
"alnum_prop": 0.41643148322358103,
"repo_name": "yannickcr/eslint-plugin-react",
"id": "fa9f7311887318c69c2eedd94dd0d8e71720dac3",... |
package com.yue.demo.desktop;
import java.util.Random;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.os.Handler;
import android.service.wallpaper.WallpaperService;
import android.view.MotionEvent;
import android.vie... | {
"content_hash": "951c1fbe6655fd28edb4a85e81498e15",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 79,
"avg_line_length": 30.14375,
"alnum_prop": 0.4909807173958117,
"repo_name": "moon2012/Android",
"id": "025312dfe583f0a4485f0b9efb1955e102b4c567",
"size": "5209",
"bi... |
<?php
/**
* @author OnTheGo Systems
*/
class WPML_Canonicals {
const CANONICAL_FOR_DUPLICATED_POST = 'duplicate';
const CANONICAL_FOR_NON_TRANSLATABLE_POST = 'non-translatable';
/** @var SitePress */
private $sitepress;
/** @var WPML_Translations */
private $wpml_translations;
/**
* WPML_Canonicals c... | {
"content_hash": "c026aa8a070609c7b79ad9b809346e32",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 150,
"avg_line_length": 28.329787234042552,
"alnum_prop": 0.6385655276004506,
"repo_name": "Kilbourne/biosphaera",
"id": "35e68a8a00447d9125093293a1e32202a1c313f2",
"size"... |
@interface SampleViewController : UIViewController {
@private
}
@end
| {
"content_hash": "5d95295aef3a9ed763f7d7cbccf3eeb0",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 52,
"avg_line_length": 12.5,
"alnum_prop": 0.7333333333333333,
"repo_name": "OliverLetterer/UIImage-UITabBarStyle",
"id": "6c9ca2f96d78a8232790c018e95cd43a4eb3ca9b",
"size":... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.query;
import java.util.Iterator;
import java.util.List;
/**
* Helper functions for Item
*
* @author Arne Bergene Fossaa
*/
public class ItemHelper {
/** Traverse the query tree ... | {
"content_hash": "96558c687f9287cc77d7fb5581c932d4",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 104,
"avg_line_length": 31.06122448979592,
"alnum_prop": 0.588042049934297,
"repo_name": "vespa-engine/vespa",
"id": "3c50a87cbe6d273b608e6f1d34eb4894edfaf680",
"size": "15... |
#include "hooks/hooks.H"
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include "libdft_api.h"
#include "tagmap.h"
#include "pin.H"
#include "provlog.H"
#include "dtracker.H"
#include "osutils.H"
/* tracks whether path existed before the execution of syscall */
static struct {
std::string pathname;
in... | {
"content_hash": "d4f9b8d1e10b3f00f240bd680b3fd85a",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 77,
"avg_line_length": 26.59433962264151,
"alnum_prop": 0.6491663710535651,
"repo_name": "m000/dtracker",
"id": "9d3e8faaefd83067c6dc2a4bacb409635cd0ab21",
"size": "2819",... |
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("Po... | {
"content_hash": "90654a9e1dcd530a1a60eb2f9a5ca6f6",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.52777777777778,
"alnum_prop": 0.7433309300648883,
"repo_name": "YaneYosifov/TelerikAcademy",
"id": "2dfa7411d19175ba1f15c1e83cca71d2f0c20ca4",
"si... |
import { isFn, isArr } from './types'
import { instOf } from './instanceof'
import { BigData } from './big-data'
const isArray = isArr
const keyList = Object.keys
const hasProp = Object.prototype.hasOwnProperty
type Filter = (comparies: { a: any; b: any }, key: string) => boolean
/* eslint-disable */
function equal(a... | {
"content_hash": "8d14b378fd6ca9b45f7e9ef58c5754a2",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 86,
"avg_line_length": 27.01923076923077,
"alnum_prop": 0.5537366548042705,
"repo_name": "leomYili/my-learning-notes",
"id": "3f5adbd1c26763fe62d3844b877b1b5c13fc5960",
"s... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<name>CELAR DB</name>
<artifactId>celar-db</artifactId>
... | {
"content_hash": "9fddd3b9627a0212e0fe85d80a2f8671",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 108,
"avg_line_length": 37.09722222222222,
"alnum_prop": 0.4876450767502808,
"repo_name": "CELAR/celar-server",
"id": "2832a8de0d1195522ed30a6c5fab64551132570d",
"size": "... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "cb734091c19094f7c1be21e6675f1d95",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "9a9e4cb573330216bc4ae5fab330db37941f12e4",
"size": "178... |
package multiverse.msgsys;
class MessageTypes
{
public static MessageType MSG_TYPE_AGENT_HELLO = MessageType.intern("msgsys.AGENT_HELLO");
public static MessageType MSG_TYPE_HELLO_RESPONSE = MessageType.intern("msgsys.HELLO_RESPONSE");
public static MessageType MSG_TYPE_ALLOC_NAME = MessageType.intern("m... | {
"content_hash": "c5b4c5db67b8c4f6cd52cdca65b022c5",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 118,
"avg_line_length": 51.65714285714286,
"alnum_prop": 0.7428097345132744,
"repo_name": "longde123/MultiversePlatform",
"id": "a452db506f83dae3edde0d3c48056e7715037fcf",
... |
package com.spotify.netty4.handler.codec.zmtp;
import com.spotify.netty4.handler.codec.zmtp.VerifyingDecoder.ExpectedOutput;
import org.junit.experimental.theories.DataPoints;
import org.junit.experimental.theories.FromDataPoints;
import org.junit.experimental.theories.Theories;
import org.junit.experimental.theori... | {
"content_hash": "a80ed53c09276b45425c3febc2c69912",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 97,
"avg_line_length": 37.7,
"alnum_prop": 0.7053291536050157,
"repo_name": "spotify/netty-zmtp",
"id": "cf98a34af1332c387db6702f0ba88ca83338e9c9",
"size": "4745",
"bina... |
package chatty;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
* @author tduva
*/
public class IrcTest {
Irc irc;
public IrcTest() {
}
@BeforeClass
public ... | {
"content_hash": "1cbc3b1ba6844d2e72788bb09dff56f7",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 109,
"avg_line_length": 36.77777777777778,
"alnum_prop": 0.5538141993957704,
"repo_name": "partouf/Chatty-Twitch-Client",
"id": "3c18e529b396eee3fb8c00e40e1a8ebb076362f7",
... |
MEDIUM=$(/usr/sbin/system_profiler SPSerialATADataType | /usr/bin/awk '/Medium\ Type/ { print $3,$4 }')
/bin/echo "<result>$MEDIUM</result>"
| {
"content_hash": "5c8bded54fac21aa7e851fa04dd7ec02",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 103,
"avg_line_length": 47.333333333333336,
"alnum_prop": 0.6830985915492958,
"repo_name": "laurendc/scripts",
"id": "9b5af9d066d3eaa3da6a884bbb93b0ae071584b3",
"size": "321... |
// Copyright 2005, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | {
"content_hash": "db64ec3735584282719fb2c862c10519",
"timestamp": "",
"source": "github",
"line_count": 971,
"max_line_length": 80,
"avg_line_length": 34.25643666323378,
"alnum_prop": 0.6879716201184499,
"repo_name": "sergecodd/FireFox-OS",
"id": "c3d34f6cf27d8660c10c6a70f9892c12837edf36",
"size": ... |
package com.asakusafw.dag.compiler.codegen;
import static com.asakusafw.lang.compiler.model.description.Descriptions.*;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
import java.math.BigDecimal;
import org.junit.Test;
import com.asakusafw.dag.api.common.ValueSerDe;
import com.asakusafw.d... | {
"content_hash": "615d7bc424852f5956b4085723c1342d",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 96,
"avg_line_length": 34.44285714285714,
"alnum_prop": 0.6735794276233927,
"repo_name": "asakusafw/asakusafw-compiler",
"id": "f78a32b4d9e6ebb0d8174a202351f5a3dab00dd0",
"... |
"""
Functions for creating temporary LMDBs
Used in test_views
"""
from __future__ import absolute_import
import argparse
import os
import sys
import time
# Find the best implementation available
try:
from cStringIO import StringIO
except ImportError:
from StringIO import StringIO
import lmdb
import numpy as ... | {
"content_hash": "0511f9e6051f38ac87360c3039c51313",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 84,
"avg_line_length": 30.033492822966508,
"alnum_prop": 0.563167118050024,
"repo_name": "ethantang95/DIGITS",
"id": "09f6385244b79bbc7836f945e260fad0546d7027",
"size": "6... |
Cython based wrapper for [libhdfs3](https://github.com/PivotalRD/libhdfs3).
## Install
Requirements are basically [`libhdfs3`](https://github.com/PivotalRD/libhdfs3)
and [`cyavro`](https://github.com/PivotalRD/libhdfs3) both are available as conda
packages: `conda install -c https://conda.anaconda.org/blaze https://c... | {
"content_hash": "41cd7c1be5a9e37e83b02be956a15495",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 108,
"avg_line_length": 26.692307692307693,
"alnum_prop": 0.7096541786743515,
"repo_name": "danielfrg/libhdfs3.py",
"id": "7eb3a35956bc2c5affd2050d9ad5f6c1ec9c27d4",
"size"... |
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>TimeOfDayWord - biomedicus-core</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">biomedicus-core</a> / <a href="../index.html">edu.umn.biomedicus.time</a> / <a href="./index.html">TimeOfDayWord</a><br/>
<b... | {
"content_hash": "f153aa232da872fd81d1ff9eab7a8689",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 705,
"avg_line_length": 53.644444444444446,
"alnum_prop": 0.6901408450704225,
"repo_name": "NLPIE/BioMedICUS",
"id": "99a45edfeb7237c71ac5dba1392b64ff469b94f7",
"size": "24... |
package com.interviews.ds.graph;
// A Java program for Dijkstra's single source shortest path algorithm.
// The program is for adjacency matrix representation of the graph
class ShortestPath {
// A utility function to find the vertex with minimum distance value,
// from the set of vertices not yet included in... | {
"content_hash": "5292143e34a648dfb0b1484350700ecb",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 73,
"avg_line_length": 36.97872340425532,
"alnum_prop": 0.516398158803222,
"repo_name": "harishraj/epicode",
"id": "bb809e038e43a0b5b58280035576c3989495c8d3",
"size": "3476... |
@interface CustomImagePickerController () <ImageFitlerProcessDelegate>
@end
@implementation CustomImagePickerController
@synthesize customDelegate = _customDelegate;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
... | {
"content_hash": "07d1837f0bebc4a4b778cf06570b5294",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 159,
"avg_line_length": 37.50609756097561,
"alnum_prop": 0.7779222890586897,
"repo_name": "abcxo/XJoin",
"id": "76bed712285646822724dad952e29a1f6f32e8b3",
"size": "6438",
... |
DOUBTFUL
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "f908b933ccd47a9ad57911be08c5c58f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "2d1eb1a65ef35ed8665bff5a798ef757a60bd5a0",
"size": "18... |
import {NDArrayMath} from '../math/math';
import {NDArray} from '../math/ndarray';
import * as util from '../util';
/**
* The interface for input providers.
*/
export interface InputProvider {
/**
* Get the next input as a copy. This is important because the data might
* get uploaded to the GPU and modify ... | {
"content_hash": "a2ebe6d044731f17e6d1d4ac32d95cc3",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 78,
"avg_line_length": 28.128205128205128,
"alnum_prop": 0.6820875113947129,
"repo_name": "mnottheone/deeplearnjs",
"id": "708b419adf8f53a209f5909f85dde6ca606f0097",
"size... |
import React, { PropTypes, Component } from 'react'
import classes from './ContextMenu.scss'
export default class ContextMenu extends Component {
static propTypes = {
event: PropTypes.object,
position: PropTypes.shape({
x: PropTypes.number,
y: PropTypes.number
}),
path: PropTypes.string,... | {
"content_hash": "752f90b4c906cfb63138f6e3e26d9dc9",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 90,
"avg_line_length": 21.788235294117648,
"alnum_prop": 0.5750539956803455,
"repo_name": "prescottprue/devshare-site",
"id": "78f1774d3edbec2dc9e4b2a65831854473bfd193",
"s... |
title: "Generated Code"
layout: docs
---
# Generated Code
This page describes the code generated by ScalaPB and how to use it.
## Default Package Structure
The generator will create a Scala file for each top-level message and enum
in your proto file. Using multiple files results in a better incremental
compilation ... | {
"content_hash": "a263ac035b22a1d2f1ec04af7f3bcbae",
"timestamp": "",
"source": "github",
"line_count": 422,
"max_line_length": 154,
"avg_line_length": 28.540284360189574,
"alnum_prop": 0.7211889737628695,
"repo_name": "dotty-staging/ScalaPB",
"id": "ffd6c73603dd8e50ff33d28100f23b5b2e9b7b25",
"size... |
layout: post
title: Alternate approach for Bundler
cover: false
date: 2016-02-04 10:18:00
tags: bundler
subclass: 'post tag-bundler'
categories: 'madki'
navigation: True
logo: 'assets/images/ghost.png'
disqus: 'xyz.madki.alternate-approach-bundler'
---
## Problems with Bundler
* global fields with package level vis... | {
"content_hash": "2044cf238f32bf1314131f14663c2cb0",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 438,
"avg_line_length": 39.333333333333336,
"alnum_prop": 0.7650231124807396,
"repo_name": "madki/blog",
"id": "8b8839855d37b2097db9df01b24ce84c05737ba8",
"size": "2600",
... |
(function (){
angular.module('aanZeeDirectives.inputStepper', [])
.directive('inputStepper', ['options', function (options) {
return {
restrict: 'AE',
require: ['ngModel', '?^ngDisabled'],
replace: true,
templateUrl: options.viewPath + 'input-stepper/input... | {
"content_hash": "abe7d8ec2f4e238c1138c12539707fd7",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 92,
"avg_line_length": 36.717948717948715,
"alnum_prop": 0.37011173184357543,
"repo_name": "AanZee/directives",
"id": "92a30bc07b1e14ec94c02b650b47f7470cc465c3",
"size": "... |
currentMenu: getting_started
---
# Getting started
## Installation
Using [Composer](https://getcomposer.org/):
```bash
composer require simple-bus/symfony-bridge
```
Now enable the [CommandBusBundle](command_bus_bundle.md), the [EventBusBundle](event_bus_bundle) and/or the
[DoctrineORMBridgeBundle](doctrine_orm_br... | {
"content_hash": "11a93235898bfa27d3190617e87dcdb8",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 107,
"avg_line_length": 22.466666666666665,
"alnum_prop": 0.7626112759643917,
"repo_name": "xabbuh/SymfonyBridge",
"id": "162fe2df71f5d82e5305a7e84b428c7237e9f0bf",
"size":... |
#include <aws/application-autoscaling/model/DescribeScalingActivitiesRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::ApplicationAutoScaling::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
DescribeScalingActivitiesRequest::DescribeScalingActi... | {
"content_hash": "8d695ae6cd75ce12b3f3f9f37e7e9395",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 118,
"avg_line_length": 24.130434782608695,
"alnum_prop": 0.772972972972973,
"repo_name": "chiaming0914/awe-cpp-sdk",
"id": "076d9f4e7f7e12623644a06b2d20667073dd6c1d",
"siz... |
require 'test_helper'
class EventsControllerTest < ActionDispatch::IntegrationTest
before do
@user = create :user
sign_in @user
choose_line 'dc'
end
describe 'index method' do
before do
get events_path
end
it 'should return success' do
assert_response :success
end
end
... | {
"content_hash": "d244d55ff3dc1ccca2d50e854af8b1bf",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 60,
"avg_line_length": 17.05263157894737,
"alnum_prop": 0.6666666666666666,
"repo_name": "lomky/dcaf_case_management",
"id": "91e64407976dfa1449bd14826e5139178049a842",
"si... |
import React from 'react';
import {render} from 'react-dom';
import {hot} from 'react-hot-loader';
import Root from './Root';
const App = hot(module)(Root);
render(
<App />,
document.getElementById('content'),
);
| {
"content_hash": "15728cbbfd09bae925afa4139c832211",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 39,
"avg_line_length": 18.666666666666668,
"alnum_prop": 0.6607142857142857,
"repo_name": "tomvej/redux-starter",
"id": "94c017cb9d704dfcc1e73d75356724ca0433e512",
"size": ... |
module Kookie
module PureFTPD
class Interface < Sinatra::Base
get '/' do
log_lines = File.readlines(ENV['LOG_PATH']).reverse[0, ENV['TAIL_LINES'].to_i].to_a
@logs = LogParser.new(log_lines).parse
haml :index
end
post '/users/create' do
begin
User.cre... | {
"content_hash": "9502662de9bdf4b9df6c550b76c3c5cb",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 110,
"avg_line_length": 30.91111111111111,
"alnum_prop": 0.5201294033069734,
"repo_name": "MrTin/pure-ftpd_interface",
"id": "b56fc06d740fb07905e32284fd7e63becb27a3ec",
"si... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="de_DE">
<context>
<name>EnttecWing</name>
<message>
<location filename="enttecwing.cpp" line="113"/>
<source>This plugin provides input support for Enttec Playback and Enttec Shortcut Wings.</source>
<transl... | {
"content_hash": "bf6d385ec38c552f80c8301fc00ec47d",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 124,
"avg_line_length": 32.3728813559322,
"alnum_prop": 0.6335078534031413,
"repo_name": "bjlupo/rcva_qlcplus",
"id": "3ee3740789e0c8a37c0257cb942f70068b0e4cc4",
"size": "1... |
class OrganizationsController < ApplicationController
load_and_authorize_resource :organization
def index
@organizations = Organization.all
end
def conferences
@current = @organization.conferences.upcoming.reorder(start_date: :asc)
@antiquated = @organization.conferences.past
render '/conferen... | {
"content_hash": "ecd75f72703bf5749181f488dcff948e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 75,
"avg_line_length": 26.23076923076923,
"alnum_prop": 0.7624633431085044,
"repo_name": "kormoc/osem",
"id": "2ebbdeeb608079c10e83ead9f7fbb58aaabb6da2",
"size": "341",
"... |
"""Pyclewn 付属の Simple class(simple.py) を Node.js debugger 対応にしたもの.
"""
import os
import sys
import traceback
import threading
import functools
import queue
from . import (misc, debugger)
try:
from collections import OrderedDict
except ImportError:
from .misc import OrderedDict
from .nodeclient import NodeC... | {
"content_hash": "64b5cc25d3249d5b267accdb3d74815c",
"timestamp": "",
"source": "github",
"line_count": 1019,
"max_line_length": 94,
"avg_line_length": 32.77526987242395,
"alnum_prop": 0.4685310497634589,
"repo_name": "hankei6km/pyclewn-nodedbg",
"id": "f1efb73c67d65eb5d4c66b5073a91ebebeda14f7",
"s... |
<!--
Copyright 2019 the original author or authors. Licensed under the Apache
License, Version 2.0 (the "License"); you may not use this file except
in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
law or... | {
"content_hash": "b2fd25d35bf47237a61e9c14b740991a",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 106,
"avg_line_length": 43.75,
"alnum_prop": 0.6718367346938775,
"repo_name": "oehf/ipf",
"id": "5ff7eed27a31b8c543ef624e4abf5add929189c1",
"size": "1225",
"binary": fals... |
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com... | {
"content_hash": "297ee471d78be7993064f0cc9bdba516",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 100,
"avg_line_length": 32,
"alnum_prop": 0.600635593220339,
"repo_name": "nssales/Strata",
"id": "43d7bc1411763eceedd9b941a8bd00de84299ad5",
"size": "1888",
"binary": fa... |
package com.amazonaws.services.importexport.model;
import javax.annotation.Generated;
/**
* The JOBID was missing, not found, or not associated with the AWS account.
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class InvalidJobIdException extends com.amazonaws.services.importexport.model.Amazo... | {
"content_hash": "269c0494fbfb16f6a6a5aa0515e3f7aa",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 114,
"avg_line_length": 28.47826086956522,
"alnum_prop": 0.7236641221374046,
"repo_name": "aws/aws-sdk-java",
"id": "e3bf687d7c22f69b35bbbbb86bf32f96eb6dcec2",
"size": "123... |
package org.artifactory.addon.plugin;
import java.util.HashMap;
import java.util.Map;
public class ResponseCtx extends ResourceStreamCtx {
public final static int UNSET_STATUS = -1;
private int status = UNSET_STATUS;
private String message;
private Map<String, String> headers = new HashMap<>();
... | {
"content_hash": "f46b17025186cc47d8727943f3fd1929",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 58,
"avg_line_length": 19.45,
"alnum_prop": 0.6401028277634961,
"repo_name": "alancnet/artifactory",
"id": "3b81a31bb80f3698c6f1250e8fec1ea7ea0d6c24",
"size": "1533",
"bi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.