text stringlengths 2 1.04M | meta dict |
|---|---|
ES5Harness.registerTest({
id: "15.2.3.6-4-88",
path: "TestCases/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-88.js",
description: "Object.defineProperty will not throw TypeError when name.configurable = false, name.writable = false, desc.value and name.value are two numbers with the same value (8.12.9 step 1... | {
"content_hash": "8a72d4ae9a1aba823a3525f99f87b2fc",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 207,
"avg_line_length": 29.96551724137931,
"alnum_prop": 0.5753739930955121,
"repo_name": "xamarin/IronJS",
"id": "4ed437e10f1900090e20427b28bd07f18ef000ce",
"size": "2428"... |
var mathTrig = require('./math-trig');
var text = require('./text');
var jStat = require('jStat').jStat;
var utils = require('./utils');
var error = require('./error');
var misc = require('./miscellaneous');
var SQRT2PI = 2.5066282746310002;
exports.AVEDEV = function() {
var range = utils.parseNumberArray(utils.fla... | {
"content_hash": "03ceb3a3d53cdfb789fcb9869576cfb2",
"timestamp": "",
"source": "github",
"line_count": 1744,
"max_line_length": 161,
"avg_line_length": 24.82855504587156,
"alnum_prop": 0.6005865915336829,
"repo_name": "zp-j/formula.js",
"id": "355d8ce782481069f5ae31b360900cfe87bc9a12",
"size": "43... |
#import <UIKit/UIKit.h>
#import <XCTest/XCTest.h>
#import <React/RCTLog.h>
#import <React/RCTRootView.h>
#define TIMEOUT_SECONDS 600
#define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
@interface movieappTests : XCTestCase
@end
@implementation movieappTests
- (BOOL)findSubviewInView:(UIView *)view matching:(BO... | {
"content_hash": "72743799c9b64a34ef6848e9f37481b1",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 124,
"avg_line_length": 27.857142857142858,
"alnum_prop": 0.7128205128205128,
"repo_name": "JuneDomingo/movieapp",
"id": "b0f85e3604e115aea9d96d08b4f9edd381acb3cb",
"size":... |
package org.apache.camel.component.kubernetes.producer;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import io.fabric8.kubernetes.api.model.PodListBuilder;
import io.fabric8.kubernetes.api.model.Service;
import io.fabric8.kubernetes.api.model.ServiceBuilder;
import io.fabric8.kubernetes.api... | {
"content_hash": "daa4225527e109bca87f7378a75c2c21",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 126,
"avg_line_length": 42.83177570093458,
"alnum_prop": 0.6857953305694959,
"repo_name": "pmoerenhout/camel",
"id": "59b90e546a7f1b79f57064ea188c0874dda8f3d3",
"size": "5... |
[DefectDojo](https://github.com/aaronweaver/django-DefectDojo) is a security defect tool to manage your application security program.
## How to use this image
```
docker run -it -p 8000:8000 aweaver/django-defectdojo bash -c "export LOAD_SAMPLE_DATA=True && bash /django-DefectDojo/docker/docker-startup.bash"
```
## ... | {
"content_hash": "01a303338de070856761df6d6b5c0a8e",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 146,
"avg_line_length": 40.72727272727273,
"alnum_prop": 0.7767857142857143,
"repo_name": "wso2/security-tools",
"id": "8aa64e98558fa94a6b384b30ea76572ef8f63b11",
"size": "... |
<?php
class Kwc_Advanced_VideoPlayer_Form extends Kwc_Abstract_Composite_Form
{
protected $_model = 'Kwc_Advanced_VideoPlayer_Model';
public function __construct($name, $class, $id = null)
{
parent::__construct($name, $class, $id);
$fs = $this->fields->add(new Kwf_Form_Container_FieldSet(tr... | {
"content_hash": "307d571bd490bbef4b71a8cab8583d20",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 86,
"avg_line_length": 44,
"alnum_prop": 0.6083333333333333,
"repo_name": "fraxachun/koala-framework",
"id": "b897f05f807aecaa40d1d906b28c3163348ea1f8",
"size": "1320",
"... |
package org.hyperledger.indy.sdk.anoncreds;
import org.hyperledger.indy.sdk.wallet.WalletItemNotFoundException;
import org.json.JSONObject;
import org.junit.Test;
import java.util.concurrent.ExecutionException;
import static org.hamcrest.CoreMatchers.isA;
import static org.junit.Assert.assertTrue;
import org.hyper... | {
"content_hash": "721ea0c096556d6d6a15bfeef584828d",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 85,
"avg_line_length": 30.382978723404257,
"alnum_prop": 0.7710084033613446,
"repo_name": "anastasia-tarasova/indy-sdk",
"id": "71051f016877cf23baa2c68793e4a0e5009367c1",
"... |
package com.jboss.transaction.txinterop.test;
import java.io.IOException;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.arjuna.webservices.util.... | {
"content_hash": "a058db1cfa5fad795c7e9cd620fcb654",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 119,
"avg_line_length": 31.237113402061855,
"alnum_prop": 0.6128712871287129,
"repo_name": "nmcl/wfswarm-example-arjuna-old",
"id": "4c4f4184f8eabf4f5218ff4312d90001a460a206"... |
package com.kurotkin.automobile;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Date;
import java.util.List;
/**
* Created by Vitaly on 24.07.17.
*/
public class Car {
private String dateOfProduction;
private String typeEngine;
private double maxSpeed;
private double accel... | {
"content_hash": "29af49cc137e359b34baf258bfba2953",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 116,
"avg_line_length": 33.123893805309734,
"alnum_prop": 0.6393267432540742,
"repo_name": "kurotkin/GoJava-homeworks",
"id": "82a69c3541a818a895c0146c62e169b7709f8ea4",
"... |
import os
import dj_database_url
here = lambda * x: os.path.join(os.path.abspath(os.path.dirname(__file__)), *x)
PROJECT_ROOT = here("..")
root = lambda * x: os.path.join(os.path.abspath(PROJECT_ROOT), *x)
DEBUG = False
TEMPLATE_DEBUG = DEBUG
ADMINS = (
('Kim Desrosiers', 'kimdesro@gmail.com'),
)
MANAGERS = ADM... | {
"content_hash": "00c43c6d44d4bf71b84fb2b77b6d5e7b",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 88,
"avg_line_length": 30.69148936170213,
"alnum_prop": 0.6960138648180243,
"repo_name": "kimond/miamm",
"id": "0fc4ecf8654f437f197b0b944ac7739541447d57",
"size": "5813",
... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.laocaixw.coolweather"
android:versionCode="2"
android:versionName="1.0.1" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="23" />
<uses-permissio... | {
"content_hash": "86c875ccc220210340b2bf99e0429dfc",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 97,
"avg_line_length": 44.19298245614035,
"alnum_prop": 0.6578007145692735,
"repo_name": "laocaixw/coolweather",
"id": "e430eae38327b1fe617c527e3f565ec3fe7f17bc",
"size": "... |
#include "dump_file.h"
#include <fstream>
#include <sstream>
using namespace std;
/*!
* \brief Constructs a new `DumpFile` object.
* \param dump_file The filename of the `.dmp` file (as produced by the exporter
* script).
*
* Optionally tries to parse `.dmp.no-return` as well.
*/
DumpFile::DumpFile(const stri... | {
"content_hash": "c88296724ee37d6ffe28ba355ec90363",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 80,
"avg_line_length": 26.232758620689655,
"alnum_prop": 0.5405849490634242,
"repo_name": "RUB-SysSec/Marx",
"id": "96709324eca8128ade6f52bf7e42104f220501c7",
"size": "304... |
<mvc:View
controllerName="sap.tnt.sample.InfoLabel.V"
xmlns:mvc="sap.ui.core.mvc"
xmlns="sap.m"
xmlns:l="sap.ui.layout"
xmlns:f="sap.ui.layout.form"
xmlns:tnt="sap.tnt"
height="100%">
<ScrollContainer vertical="true" height="100%">
<f:Form id="FormDisplay" editable="false">
<f:layout>
<f:ResponsiveGrid... | {
"content_hash": "8287a95a9c826b07bb17642f34bc1957",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 115,
"avg_line_length": 33.425,
"alnum_prop": 0.6050860134629769,
"repo_name": "cschuff/openui5",
"id": "7982e09b473093efaaeab460c96281e1c844a147",
"size": "2674",
"binar... |
/******************************************************************************
* Compilation: javac Stopwatch.java
* Execution: java Stopwatch n
* Dependencies: none
*
* A utility class to measure the running time (wall clock) of a program.
*
* % java8 Stopwatch 100000000
* 6.666667e+11 0.5820 secon... | {
"content_hash": "5adc86daa3c2583d222953195b5ca8b8",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 81,
"avg_line_length": 35.11818181818182,
"alnum_prop": 0.5845198032617137,
"repo_name": "kefu-algorithm/study-practice-src",
"id": "f59530aa84d20b26550d4f5f4ad362dc10102281... |
package com.twitter.hraven;
import org.junit.Test;
import com.twitter.hraven.HdfsStatsKey;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
/**... | {
"content_hash": "9625828be7ab25c5724f1b7bccaa6b57",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 96,
"avg_line_length": 35.31683168316832,
"alnum_prop": 0.7165685449957948,
"repo_name": "twitter/hraven",
"id": "be270d75ed46ddee10e33e4d4a6d93107899c4d9",
"size": "4122"... |
using Squazz.HotCiv;
namespace HotCiv.Tiles
{
public class Ocean : Tile
{
public Ocean(Position position) : base(position, false)
{
}
}
}
| {
"content_hash": "1bb981223c80b773d01243aa4aef2df6",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 63,
"avg_line_length": 16,
"alnum_prop": 0.5738636363636364,
"repo_name": "Ngschumacher/HotCiv",
"id": "e0e3d45cc29eb4b8291ab66f2b2a451050682039",
"size": "178",
"binary"... |
Bitcoin Core 0.11.99
=====================
Setup
---------------------
[Bitcoin Core](http://bitcoin.org/en/download) is the original Bitcoin client and it builds the backbone of the network. However, it downloads and stores the entire history of Bitcoin transactions (which is currently several GBs); depending on the ... | {
"content_hash": "bed2ba29da7cfca3cca675541ec43cc9",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 375,
"avg_line_length": 46.05,
"alnum_prop": 0.737785016286645,
"repo_name": "wastholm/bitcoin",
"id": "08fd724355b6099dd7747b33beadd26ea0ddf667",
"size": "3684",
"binary... |
namespace ExRam.Gremlinq.Core.Projections
{
public sealed class EmptyProjection : Projection
{
public override Projection Lower() => Empty;
}
}
| {
"content_hash": "851703234af45f2c79116cd663b8ee81",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 52,
"avg_line_length": 23.571428571428573,
"alnum_prop": 0.6848484848484848,
"repo_name": "ExRam/ExRam.Gremlinq",
"id": "85f01a5b2be2b0e3afe5eaee00369f9750c50e9c",
"size": "... |
package pl.tomaszdziurko.jvm_bloggers.mailing;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import pl.tomaszdziurko.jvm_bloggers.blog_posts.domain.BlogPost;
import pl.tomaszdziurko.jvm_bloggers.blog_posts.domain.BlogP... | {
"content_hash": "f8547d0c774112ada879312c41b04e6f",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 150,
"avg_line_length": 48.78947368421053,
"alnum_prop": 0.7357065803667745,
"repo_name": "alien11689/jvm-bloggers",
"id": "ba3854c771a61f437fb2ab2bb1a1434106aa03be",
"size... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow_serving/apis/get_model_metadata.proto
package tensorflow.serving;
public final class GetModelMetadata {
private GetModelMetadata() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry... | {
"content_hash": "54fe02e466122b68cd8babb2684ffe59",
"timestamp": "",
"source": "github",
"line_count": 2712,
"max_line_length": 160,
"avg_line_length": 37.780973451327434,
"alnum_prop": 0.6518806972340966,
"repo_name": "nubbel/swift-tensorflow",
"id": "e049ed553370d146112952e0f1ca58c2c49e38d5",
"s... |
import base64
import hashlib
import re
import urllib2
from PyQt4 import QtCore
from urlparse import urlparse
class MessageRenderer(QtCore.QThread):
MESSAGES = {
"alert": u'<div class="alert"><span class="time">[{time}]</span> <span class="author">{user}</span>: {message}</div>',
"image": u'<span ... | {
"content_hash": "d596abb51f9689c08669c69ab5ec5959",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 248,
"avg_line_length": 44.38990825688074,
"alnum_prop": 0.5489304536529916,
"repo_name": "mariano/snakefire",
"id": "6f0918d095cdb7def616ba2fd20d0b14cae4d327",
"size": "9... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Root.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved. Website: http://www.lhotka.net/cslanet
// </copyright>
// <summary>
// The root.
// </summa... | {
"content_hash": "d13ab759d77ef019ea39d9937444f455",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 120,
"avg_line_length": 25.88826815642458,
"alnum_prop": 0.5755287009063444,
"repo_name": "jonnybee/csla",
"id": "cc171724ea79b24a286bbb739d2e93055b149f3e",
"size": "4636"... |
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="col... | {
"content_hash": "1f896b18802595e77ad751b546338d27",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 76,
"avg_line_length": 41.869565217391305,
"alnum_prop": 0.6542056074766355,
"repo_name": "dkzwm/SmoothRefreshLayout",
"id": "25114e7415a80070b2a0ff95d3c6443b6608b0d8",
"si... |
- [Enhancement] Increase rfc compliance (#20)
- Thanks to [@skroczek](https://github.com/skroczek) for the full patch.
## 2.0.3 - 2016-05-23
- [Fix] Exclude development stuff from repository autogenerated ZIP archives (#18)
- Thanks to [@mlocati](https://github.com/mlocati) for the full patch.
## 2.0.2 - 2016-01... | {
"content_hash": "4f7f920cb3c913ac1d55efa9fa84c5d2",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 158,
"avg_line_length": 32.34146341463415,
"alnum_prop": 0.6998491704374057,
"repo_name": "rongeb/anit_cms_for_zf3",
"id": "39b44af1420b25555407088fbcc611afb0d71301",
"size... |
package com.harrys.hyppo.worker.actor.amqp
import javax.inject.Inject
import akka.actor.{Actor, ActorLogging}
import com.harrys.hyppo.config.CoordinatorConfig
import com.harrys.hyppo.util.TimeUtils
import com.harrys.hyppo.worker.api.proto._
import scala.util.{Failure, Success, Try}
/**
* Created by jpetty on 9/16/... | {
"content_hash": "a99ad6b8e0c7e7ef57894d73497a1313",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 181,
"avg_line_length": 37,
"alnum_prop": 0.7201280227596017,
"repo_name": "harrystech/hyppo-worker",
"id": "0e80ab3356bcd7773e4d0d3ce9d34767dc6b49ae",
"size": "2812",
"b... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Multi-toolbox Playground</title>
<script src="../blockly_uncompressed.js"></script>
<script src="../msg/messages.js"></script>
<script src="../blocks/logic.js"></script>
<script src="../blocks/loops.js"></script>
<script src="../blocks/math.js"></script>
<scri... | {
"content_hash": "dde55e42173f21b745ab37392bbb8b3e",
"timestamp": "",
"source": "github",
"line_count": 477,
"max_line_length": 103,
"avg_line_length": 28.937106918238992,
"alnum_prop": 0.5362602332826197,
"repo_name": "picklesrus/blockly",
"id": "f9d2686475d22ff7c9906de8d25cc1359480dd36",
"size": ... |
import {IApplication, IUser} from '../../db/interfaces';
import reply from '../../endpoints/posts/reply';
export default function(
app: IApplication,
user: IUser,
req: any,
res: any
): void {
reply(
app,
user,
req.payload['in-reply-to-post-id'],
req.payload['text'],
req.payload['files']
).then(post => ... | {
"content_hash": "c068fd2cb122dbd5b0c48208d36e4dc2",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 56,
"avg_line_length": 18.714285714285715,
"alnum_prop": 0.6081424936386769,
"repo_name": "sirotama/misskey-api",
"id": "c6cad6c2af1281f03c47d45423bea8a92182b923",
"size": ... |
package org.cybergarage.x3d.field;
import java.io.PrintWriter;
import org.cybergarage.x3d.*;
import org.cybergarage.x3d.util.Debug;
public class MFInt32 extends MField {
public MFInt32() {
setType(FieldType.MFINT32);
}
public MFInt32(MFInt32 values) {
setType(FieldType.MFINT32);
copy(values);
}
public... | {
"content_hash": "93f7d03c510b533f75ad9c2821afaa6b",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 74,
"avg_line_length": 21.29447852760736,
"alnum_prop": 0.5787957360991068,
"repo_name": "cybergarage/cybergarage-x3d",
"id": "149a068450fcd0a506b82ecb1b083ffc776c0dac",
"... |
namespace UMC
{
enum
{
COEFFS_BUFFER_ALIGN_VALUE = 128
};
H264CoeffsBuffer::H264CoeffsBuffer(void)
{
// reset variables
m_pbAllocatedBuffer = 0;
m_lAllocatedBufferSize = 0;
m_pbBuffer = 0;
m_lBufferSize = 0;
m_pbFree = 0;
m_lFreeSize = 0;
m_pBuffers = 0;
m_lItem... | {
"content_hash": "c7369a7ce34d50227f0adce00b86c686",
"timestamp": "",
"source": "github",
"line_count": 302,
"max_line_length": 108,
"avg_line_length": 24.09933774834437,
"alnum_prop": 0.5970046716130805,
"repo_name": "Intel-Media-SDK/MediaSDK",
"id": "53bfbaa45def6de2e3ac4b4ea542de493f4a397f",
"si... |
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" "build\Sprache.proj"
pause | {
"content_hash": "a7e1bd86f4d30533fef345d2050a780d",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 80,
"avg_line_length": 29,
"alnum_prop": 0.7816091954022989,
"repo_name": "mholo65/Sprache",
"id": "ed8e5251f3319a124084d1db11fd83a1092a7304",
"size": "87",
"binary": fals... |
$( document ).ready(function() {
$('#projectModal').on('show.bs.modal', function (event) {
var button = $(event.relatedTarget) // Button that triggered the modal
var project = button.data('whatever').split(',') // Extract info from data-* attributes
var modal = $(this)
modal.find('.modal-message').text('B... | {
"content_hash": "0d8d9b3c33043e2b9dab59142d271be4",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 96,
"avg_line_length": 32.75,
"alnum_prop": 0.6852613035819143,
"repo_name": "titrabui/gtvt_dn",
"id": "e53566073e6552e30fb016cfd0ac5047b3e2193f",
"size": "1717",
"binary... |
@interface __1_7Tests : XCTestCase
@end
@implementation __1_7Tests
- (void)setUp {
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
- (void)tearDown {
// Put teardown code here. This method is called after the invocation of each test ... | {
"content_hash": "d9c9a684fda0bd63c4161b50f311e893",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 107,
"avg_line_length": 25.103448275862068,
"alnum_prop": 0.6840659340659341,
"repo_name": "sahara-ooga/objc-basic",
"id": "24c0e8ab5644b0af09fc6e953d6831f6f1079afc",
"size... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\Content */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="content-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
... | {
"content_hash": "6466806be092a47b1630820642632e37",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 180,
"avg_line_length": 25.44,
"alnum_prop": 0.5770440251572327,
"repo_name": "raynox/bee_cms",
"id": "e98df7e0f5d59f91795452b28f3e802e68a4a214",
"size": "636",
"binary":... |
<?php
/**
* Smarty Internal Plugin Smarty Template Base
*
* This file contains the basic shared methodes for template handling
*
* @package Smarty
* @subpackage Template
* @author Uwe Tews
*/
/**
* Class with shared template methodes
*
* @package Smarty
* @subpackage Template
*/
abstract... | {
"content_hash": "ff9d7d96b194d4224c8db63b8611e48e",
"timestamp": "",
"source": "github",
"line_count": 700,
"max_line_length": 205,
"avg_line_length": 43.13428571428572,
"alnum_prop": 0.5049678744121349,
"repo_name": "swordphp/devtools",
"id": "b7dcdf284f913759b054a6912ecd6eebe46db4c9",
"size": "3... |
function model = train_dnn(model, pos, neg, warp, randneg, iter, ...
negiter, max_num_examples, fg_overlap, ...
num_fp, cont, tag, C)
% Train a model optimizing a WL-SSVM or LSVM.
% model = train(model, pos, neg, warp, randneg, iter,
% negiter, max_num_examples, fg_overlap,
% n... | {
"content_hash": "78bb1f301974389779c561f54d119a27",
"timestamp": "",
"source": "github",
"line_count": 788,
"max_line_length": 114,
"avg_line_length": 38.72715736040609,
"alnum_prop": 0.5371104630206115,
"repo_name": "mathrho/VisualNgrams",
"id": "c8b03d80d54f5dd6a8ae4b886b9c27ab9d9ba994",
"size":... |
/*
Given a string, find the length of the longest substring without repeating characters.
Examples:
Given "abcabcbb", the answer is "abc", which the length is 3.
Given "bbbbb", the answer is "b", with the length of 1.
Given "pwwkew", the answer is "wke", with the length of 3. Note that the answer must be a substrin... | {
"content_hash": "1cdab7a15cd8eecb36de398498a33b11",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 145,
"avg_line_length": 21.41176470588235,
"alnum_prop": 0.6758241758241759,
"repo_name": "astdb/Misc",
"id": "6efd73037c0a15450dc26154fdd0ce495ed6d484",
"size": "1456",
... |
"""Base16, Base32, Base64 (RFC 3548), Base85 and Ascii85 data encodings"""
# Modified 04-Oct-1995 by Jack Jansen to use binascii module
# Modified 30-Dec-2003 by Barry Warsaw to add full RFC 3548 support
# Modified 22-May-2007 by Guido van Rossum to use bytes everywhere
import re
import struct
import binascii
__all... | {
"content_hash": "2faf62f39dda2f45ba1008e536727ddd",
"timestamp": "",
"source": "github",
"line_count": 600,
"max_line_length": 84,
"avg_line_length": 33.57333333333333,
"alnum_prop": 0.6076747418586179,
"repo_name": "Kamik423/uni_plan",
"id": "eede5e8406b1ca60fbbde30a4346465dc188e581",
"size": "20... |
using System;
class AddingPolynomials
{
static void Main()
{
/*• Write a method that adds two polynomials.
• Represent them as arrays of their coefficients.*/
}
}
| {
"content_hash": "02130538fa25bd4f3f23efb3322af216",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 61,
"avg_line_length": 16.416666666666668,
"alnum_prop": 0.6142131979695431,
"repo_name": "krismy/CSharp-Two",
"id": "acbcb143dbe60720bfba963c6b07b27dc6317239",
"size": "20... |
#import <Foundation/Foundation.h>
#import "sqlite3.h"
#import <CORDOVA/CDVPlugin.h>
#import <CORDOVA/CDVJSON.h>
#import "AppDelegate.h"
@interface SQLitePlugin : CDVPlugin {
NSMutableDictionary *openDBs;
}
@property (nonatomic, copy) NSMutableDictionary *openDBs;
@property (nonatomic, retain) NSString *appDoc... | {
"content_hash": "951bcb9a0fd7ea934a0086da1f52d0ce",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 100,
"avg_line_length": 37.3448275862069,
"alnum_prop": 0.7903970452446907,
"repo_name": "pianoBrad/eye-report-app-ios-old",
"id": "2ed22d97e511650e7540c7c23ae0e7e3e0416410",... |
import React, { Component } from 'react'
import { Menu } from 'stardust'
export default class Menus extends Component {
state = {}
handleItemClick = (e, { name }) => this.setState({ activeItem: name })
render() {
const { activeItem } = this.state
return (
<Menu>
<Menu.Item name='browse' ... | {
"content_hash": "89b80861cc6082cae18575c0a5e225ef",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 98,
"avg_line_length": 26.970588235294116,
"alnum_prop": 0.5757906215921483,
"repo_name": "jcarbo/stardust",
"id": "383849414d97d334095a086225c550b84b7ee8d0",
"size": "917"... |
<?php
/*
* Template Name: Fullwidth Page
*/
?>
<?php get_header(); ?>
<div class="row">
<div class="col-md-8 col-md-offset-2">
<main id="content" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="http://schema.org/Blog">
<div class="row">
<div class="col-md-12">
<?php while ( ha... | {
"content_hash": "493d25daed578ca9b3c02fbe76382fb8",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 160,
"avg_line_length": 27.46938775510204,
"alnum_prop": 0.537890044576523,
"repo_name": "sean-xiao-zhao7/piqpass_new",
"id": "86155088139048943a1e9369fc354d1f77741185",
"s... |
package org.fife.rsta.ac.php;
import java.util.HashSet;
import java.util.Set;
import javax.swing.ListCellRenderer;
import org.fife.rsta.ac.AbstractMarkupLanguageSupport;
import org.fife.rsta.ac.html.HtmlCellRenderer;
import org.fife.rsta.ac.html.HtmlLanguageSupport;
import org.fife.ui.autocomplete.AutoComp... | {
"content_hash": "bd6a8bc262431972ed95cd17a4e45ad4",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 76,
"avg_line_length": 21.908256880733944,
"alnum_prop": 0.695142378559464,
"repo_name": "ZenHarbinger/RSTALanguageSupport",
"id": "758108a3b28efea51d56303e8529cfd81e2e27b7"... |
FROM drujensen/crystal:0.23.1
WORKDIR /app/user
ADD . /app/user
RUN crystal deps
CMD ["crystal", "spec"]
| {
"content_hash": "066ac77e273aa84b34a4919df5a6deb2",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 29,
"avg_line_length": 12.11111111111111,
"alnum_prop": 0.6972477064220184,
"repo_name": "TechMagister/kemalyst-generator",
"id": "768ceb84a7f5df5e93e5fac3394f2aad3253d9b1",
... |
package okhttp3;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.nio.charset.Charset;
import okhttp3.internal.Util;
import okio.Buffer;
import okio.BufferedSource;
import static okhttp3.internal.Util.UTF_8;
/**
*... | {
"content_hash": "87828238972187fd6330ff820915b114",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 100,
"avg_line_length": 36.4264705882353,
"alnum_prop": 0.6834880904319741,
"repo_name": "yakatak/okhttp",
"id": "c0d3309b310ce0954d58b70a4f5009c3cebd2260",
"size": "8031"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_12) on Sun Feb 08 17:27:07 PST 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
net.sourceforge.pmd.sourcety... | {
"content_hash": "b6636c818e7a31477053d9822230268b",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 201,
"avg_line_length": 45.320388349514566,
"alnum_prop": 0.6540274207369323,
"repo_name": "deleidos/digitaledge-platform",
"id": "85b69f2e5ef4b4e728f5cbcf711535ddebd9e8f9",... |
// ========================================================================
// Copyright (c) 2004-2009 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms o... | {
"content_hash": "f6accaf9c58d99892972365c0639ee13",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 79,
"avg_line_length": 34.49122807017544,
"alnum_prop": 0.4554933875890132,
"repo_name": "wang88/jetty",
"id": "8e5a5572993f9de22145f6ecafc91fb991c7abf2",
"size": "3932",
... |
@echo off
cd %~dp0
SETLOCAL
SET NUGET_VERSION=latest
SET CACHED_NUGET=%LocalAppData%\NuGet\nuget.%NUGET_VERSION%.exe
SET BUILDCMD_KOREBUILD_VERSION=0.2.1-beta8
SET BUILDCMD_DNX_VERSION=1.0.0-beta8
IF EXIST %CACHED_NUGET% goto copynuget
echo Downloading latest version of NuGet.exe...
IF NOT EXIST %LocalAppData%\NuGet ... | {
"content_hash": "1b79270cc85674e907d47e83058b29a7",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 220,
"avg_line_length": 38.55,
"alnum_prop": 0.7607003891050583,
"repo_name": "saan800/SaanSoft.AspNet.Identity3.MongoDB",
"id": "69470912ae9daf43c56bbde6bb7018ab2ecf2e3e",
... |
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d... | {
"content_hash": "3acb774e08f736af6edba7a998f2f6b8",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 150,
"avg_line_length": 51.857142857142854,
"alnum_prop": 0.6435261707988981,
"repo_name": "kiwikern/expra",
"id": "5f14fa64bd902bea35fbf05986fa43f08ce10935",
"size": "1815... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifndef NOUNCRYPT
#define NOUNCRYPT
#endif
#include "zlib.h"
#include "unzip.h"
#ifdef STDC
# include <stddef.h>
# include <string.h>
# include <stdlib.h>
#endif
#ifdef NO_ERRNO_H
extern int errno;
#else
# include <errno.h>
#endif
#ifnd... | {
"content_hash": "987d382fc73c0fb36dd88a76a480452b",
"timestamp": "",
"source": "github",
"line_count": 2065,
"max_line_length": 173,
"avg_line_length": 32.95302663438257,
"alnum_prop": 0.5730366799905948,
"repo_name": "apache/celix",
"id": "d8a6716689a81e795f3cdba3762c5e5ac61a9840",
"size": "71233... |
layout: page
title: Shepherd 20th Anniversary
date: 2016-05-24
author: Bobby Ritter
tags: weekly links, java
status: published
summary: Nam erat ex, tincidunt ut cursus et, rhoncus sed elit.
banner: images/banner/meeting-01.jpg
booking:
startDate: 01/15/2017
endDate: 01/18/2017
ctyhocn: DENFMHX
groupCode: S2A
p... | {
"content_hash": "ee529751ccd507bb0db37df1780121fc",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 626,
"avg_line_length": 92.46153846153847,
"alnum_prop": 0.8153078202995009,
"repo_name": "KlishGroup/prose-pogs",
"id": "d250355b438ad7f642dde87da508861424183db8",
"size":... |
({
/**
* Test to verify action menu works when interacting with the menu items
* using AURA API
* Disabling test from IE7 and IE8 as sauce labs env issue.
*/
owner:"ronak.shah",
browsers: ["-IE7","-IE8"],
testActionMenu:{
owner:"ctatlah,ronak.shah",
test: [function(cmp) {
actionMenu = cmp.find("a... | {
"content_hash": "3aa6381cfd45dd3d962e5078c42d6d7c",
"timestamp": "",
"source": "github",
"line_count": 331,
"max_line_length": 217,
"avg_line_length": 49.43504531722054,
"alnum_prop": 0.6706594145327874,
"repo_name": "igor-sfdc/aura",
"id": "22119fe73e54e82077652b3f1807d0c303693127",
"size": "1697... |
Require the bundle in your composer.json file:
```
{
"require": {
"egeloen/google-map-bundle": "~2.1",
}
}
```
If you want to use Geocoding stuff, you will need [Geocoder](http://github.com/willdurand/Geocoder):
```
{
"require": {
"willdurand/geocoder": "*"
}
}
```
If you want to use... | {
"content_hash": "1cc7313acb45868d6dd595aa9168ba99",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 136,
"avg_line_length": 19.116788321167885,
"alnum_prop": 0.6533027873234059,
"repo_name": "guillaumeduval64/peinture-et-vitress",
"id": "4f9c3a76e48182a2349e5a081ef10699265... |
.class public Landroid/service/carrier/CarrierIdentifier;
.super Ljava/lang/Object;
.source "CarrierIdentifier.java"
# interfaces
.implements Landroid/os/Parcelable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/service/carrier/CarrierIdentifier$1;,
Landroi... | {
"content_hash": "e8a2158a3c5c02364cc977e75494c920",
"timestamp": "",
"source": "github",
"line_count": 308,
"max_line_length": 144,
"avg_line_length": 29.318181818181817,
"alnum_prop": 0.7307862679955703,
"repo_name": "BatMan-Rom/ModdedFiles",
"id": "42624c504cf7af77a5f516c625b8948828a6ceeb",
"siz... |
Trogdir API Client [](https://travis-ci.org/biola/trogdir-api-client)
==================
Installing
----------
Add `gem 'trogdir_api_client'` to your `Gemfile` and run `bundle`
Configuration
-------------
```ruby
TrogdirAPIClient.confi... | {
"content_hash": "7179879009ce2511dbaaa7e93390150c",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 150,
"avg_line_length": 20.0625,
"alnum_prop": 0.5763239875389408,
"repo_name": "biola/trogdir-api-client",
"id": "2fd3188c903e6f05b4ee5727889bffe1aba8ced5",
"size": "1926"... |
<!doctype html>
<html>
<head>
<style>
body{
margin:0;
overflow:hidden;
}
</style>
</head>
<body>
<audio id="myAudio" src="./music/demo2.mp3"></audio>
<div id ="webGL-container">
</div>
<script src="./script/jquery.js"></script>
<script src="./script/three.js"></script>
<script src="./script/... | {
"content_hash": "9224c0a2188b55e3d8ec3c8b3a00dc60",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 52,
"avg_line_length": 23.428571428571427,
"alnum_prop": 0.6260162601626016,
"repo_name": "TopDogJ/MySuite",
"id": "21d3216ef88f6f6cd47f0bf96036126a665000a5",
"size": "492"... |
```zenscript
import mods.roots.Ritual;
```
#### Methods
```zenscript
void modifyRitual(
string name, // the name of the ritual whose ingredients you wish to modify
IIngredient[] inputs // a list of five ingredients (no more, no less)
);
```
* * *
### 使用例
```zenscript
import mods.roots.Ritual;
// Chang... | {
"content_hash": "2c62d96997f0762833eac550404a1111",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 140,
"avg_line_length": 22.73913043478261,
"alnum_prop": 0.6959847036328872,
"repo_name": "jaredlll08/CraftTweaker-Documentation",
"id": "5d37dfec980ea2429176a7614ee0d7e24579... |
package com.weibo.net;
import java.io.IOException;
import java.net.MalformedURLException;
import android.Manifest;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.text.TextUtils;... | {
"content_hash": "40eb1f5b68973a57fea352aa9be4d327",
"timestamp": "",
"source": "github",
"line_count": 349,
"max_line_length": 118,
"avg_line_length": 38.03438395415473,
"alnum_prop": 0.6207623926472804,
"repo_name": "emop/EmopAndroid",
"id": "402105d5da1031649ca28dff65e2118d508a0148",
"size": "13... |
<?php
namespace BingAds\CustomerManagement;
/**
* Defines a client link object.
*
* @link http://msdn.microsoft.com/en-us/library/dn632189(v=msads.90).aspx ClientLink Data Object
*
* @uses ClientLinkStatus
* @uses KeyValuePairOfstringstring
* @used-by AddClientLinksRequest
* @used-by SearchClientLinksResponse... | {
"content_hash": "ecc9d6ee99b5b27384585c8f238f1081",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 132,
"avg_line_length": 25.243478260869566,
"alnum_prop": 0.6207371684464347,
"repo_name": "rrdial/bing-ads-sdk-v9",
"id": "26372a9f0a5df8f3a472908c5b5bbb7a89738eec",
"siz... |
package org.knowm.xchange.dto.trade;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Objects;
import org.knowm.xchange.currency.Currency;
import org.knowm.xchange.cur... | {
"content_hash": "ed4b9ade1af4e0978d621b9769b0551b",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 86,
"avg_line_length": 27.81566820276498,
"alnum_prop": 0.6620278330019881,
"repo_name": "TSavo/XChange",
"id": "2fc8a7daf4be5908cc4e03519383b7336978ebe0",
"size": "6036",... |
package play.learn.java.concurrent;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ForkJoinPool;
import java.util.concurrent.Future;
import java.util.concurrent.Li... | {
"content_hash": "be5ed043b64cb0f9348ea6afce16e473",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 90,
"avg_line_length": 35.56,
"alnum_prop": 0.7202849643794526,
"repo_name": "jasonwee/videoOnCloud",
"id": "279e55928096ee5835f26be0d584dd4fe3a36fc9",
"size": "2667",
"b... |
CKEDITOR.plugins.setLang( 'find', 'hu', {
find: 'Keresés',
findOptions: 'Find Options',
findWhat: 'Keresett szöveg:',
matchCase: 'kis- és nagybetű megkülönböztetése',
matchCyclic: 'Ciklikus keresés',
matchWord: 'csak ha ez a teljes szó',
notFoundMsg: 'A keresett szöveg nem található.',
replace: 'Csere',
repl... | {
"content_hash": "afb11034d2f2152c60ed5e6a4dab6d5f",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 49,
"avg_line_length": 30.333333333333332,
"alnum_prop": 0.7120879120879121,
"repo_name": "EZWebvietnam/vieclam24h",
"id": "c37c3f1d1e4989ecb54a6ee48b36b858a5c05824",
"size... |
(function (Prism) {
/**
* Replaces all placeholders "<<n>>" of given pattern with the n-th replacement (zero based).
*
* Note: This is a simple text based replacement. Be careful when using backreferences!
*
* @param {string} pattern the given pattern.
* @param {string[]} replacements a list of replacemen... | {
"content_hash": "f4d0f2bc08f680a7146a4b718b40ae88",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 265,
"avg_line_length": 32.378787878787875,
"alnum_prop": 0.5935891436593356,
"repo_name": "cdnjs/cdnjs",
"id": "f8c403559fe870def0d0f2835ecfb16e90faca48",
"size": "4274",... |
package com.sylvanaar.idea.Lua.editor.inspections.metrics;
import com.intellij.codeInspection.LocalQuickFix;
import com.intellij.codeInspection.ProblemsHolder;
import com.sylvanaar.idea.Lua.lang.psi.statements.LuaBlock;
import com.sylvanaar.idea.Lua.lang.psi.statements.LuaFunctionDefinitionStatement;
import com.sylva... | {
"content_hash": "531560f2cc6f94595dd3fd1487b682e1",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 127,
"avg_line_length": 32.246753246753244,
"alnum_prop": 0.6818364881192106,
"repo_name": "internetisalie/lua-for-idea",
"id": "48c2691e81553c036699b4c466d28e77d91b9a3c",
... |
package com.gmail.socraticphoenix.nebula.io.jlsc.value.annotation;
import com.gmail.socraticphoenix.nebula.io.jlsc.metadata.Property;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ElementType.... | {
"content_hash": "df802221be18d75794ff467aa2804e25",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 66,
"avg_line_length": 24.333333333333332,
"alnum_prop": 0.7847358121330724,
"repo_name": "PlutoPowered/Nebula",
"id": "b3d5a7e2b0d3854955fc454862f6b7b4edacc703",
"size": "... |
<?xml version="1.0" encoding="UTF-8" ?>
<XML>
<Content>UPDATE</Content>
<Clip>
<ClipName>NOTIDT20192</ClipName>
<TipoContenido>NOTICIEROS</TipoContenido>
<Contenido><![CDATA[ DT2 15AGO14]]></Contenido>
<OriginalTitle... | {
"content_hash": "3fa82d64d42f36176e1a2b17e7ef7566",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 89,
"avg_line_length": 42.81818181818182,
"alnum_prop": 0.45222929936305734,
"repo_name": "valeraovalles/sait",
"id": "e33c2f3e2872439c54382652957767635d6bf6a3",
"size": "1... |
class CreatePlayersMigration < ActiveRecord::Migration
def self.up
create_table(:players) do |t|
t.timestamps
t.datetime(:deleted_at)
t.integer(:team_id)
t.string(:name, :limit => 100, :null => false)
t.string(:position, :limit => 50)
t.integer(:number, :null => false)
t.... | {
"content_hash": "d969f2a3f4e7deddb55660569d7152cd",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 54,
"avg_line_length": 25.6,
"alnum_prop": 0.6015625,
"repo_name": "merbjedi/merb-admin",
"id": "2f9548af33a5892313e0161025841dce734878c7",
"size": "512",
"binary": false... |
<?php
class EmailTemplate
{
protected $emailContents;
}
| {
"content_hash": "3176d34225fb80ed9a136471878d3163",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 29,
"avg_line_length": 12,
"alnum_prop": 0.7166666666666667,
"repo_name": "geertbongers/els",
"id": "416923aa6c89e6be84a764e0331f9b4c9be7eab7",
"size": "60",
"binary": fal... |
<!DOCTYPE html>
<html class="theme-next pisces use-motion" lang="zh-Hans">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transfo... | {
"content_hash": "2e2656a503074e0953d857e88abd8656",
"timestamp": "",
"source": "github",
"line_count": 574,
"max_line_length": 172,
"avg_line_length": 17.29616724738676,
"alnum_prop": 0.5284045124899275,
"repo_name": "FengZStrong/FengZStrong.github.io",
"id": "e2f94dae1436302f6f6c119be9ee714a78b69fc... |
package org.apache.ode.bpel.compiler.bom;
import java.util.List;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;
/**
* <p>
* Representation of a message-driven event handler. This is used as part of a
* <code>pick</code> activity in both the 1.1 and 2.0 dialects, and this is
* used to represent t... | {
"content_hash": "5c5c1ef68daca3f20a0499a9ad449fd7",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 80,
"avg_line_length": 30.365591397849464,
"alnum_prop": 0.6706798866855525,
"repo_name": "dhanuka84/wso2-ode",
"id": "6a4eb585126a59ed9fb4d00b1d591db31556960d",
"size": "3... |
// ==========================================================================
// SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2016, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and us... | {
"content_hash": "2a400a9ce1e12960bf96804aa20174e3",
"timestamp": "",
"source": "github",
"line_count": 914,
"max_line_length": 162,
"avg_line_length": 32.51312910284464,
"alnum_prop": 0.5375710872564525,
"repo_name": "pmelsted/pizzly",
"id": "15991c58aa8c4d29dd2872f6e2b23b12526f8264",
"size": "297... |
static size_t wrapper_(unsigned char* restrict buffer, size_t size, FILE stream[restrict static 1])
{
size_t hit = stream->avail < size ? stream->avail : size;
size_t missed = size - hit;
memcpy(buffer, stream->cache + sizeof(stream->cache) - stream->avail, hit);
stream->avail -= hit;
return hit + ... | {
"content_hash": "45e5652e21d999251c8328b92dc26ce4",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 99,
"avg_line_length": 38.5,
"alnum_prop": 0.6660482374768089,
"repo_name": "jdh8/metallic",
"id": "6ff3ec832cec00202443a5f7dcae45ebbf1020fe",
"size": "578",
"binary": fa... |
import { NgModule } from '@angular/core';
import { CommonModule, DatePipe } from '@angular/common';
import { HttpClientModule } from '@angular/common/http';
import { NgxChartsModule } from '@swimlane/ngx-charts';
import { SharedModule } from '../../../@stbui/shared';
import { SearchModule } from '../../component/searc... | {
"content_hash": "3cfb794afd9a0c2a9cb772f0073921df",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 61,
"avg_line_length": 32.38461538461539,
"alnum_prop": 0.7161520190023754,
"repo_name": "stbui/angular-material-app",
"id": "a397279baafb1744c914cc34b2b049c7e3e2ade4",
"si... |
using System;
using System.IO;
using NUnit.Framework;
using Projac.RavenDB;
using Raven.Client.Embedded;
using Recipes.Shared;
namespace Recipes.RavenDBIntegration
{
[TestFixture, Explicit]
public class Usage
{
[Test]
public async void Show()
{
using (var store = new Em... | {
"content_hash": "63387382d6a6538c5067439a4a45b735",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 100,
"avg_line_length": 33.91935483870968,
"alnum_prop": 0.4992867332382311,
"repo_name": "alexeyzimarev/Projac",
"id": "6bf1731890f8145785d2833c1a380b344a89c272",
"size": ... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | {
"content_hash": "ae4e07ef3af01b3b783bbf0a5bbedb17",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 81,
"avg_line_length": 36.878787878787875,
"alnum_prop": 0.741988496302383,
"repo_name": "cinderella/incubator-cloudstack",
"id": "f441b1f5de6c71e23fdad1f78f479882ef1b4f5f",
... |
<?php
namespace vendor;
use vendor\simple_html_dom;
use vendor\OpenGraph;
// Yii::import('ext.simple_html_dom');
// Yii::import('ext.OpenGraph');
/*
======================================================================
lastRSS 0.9.1
Simple yet powerfull PHP class to parse RSS files.
by Vojtech Semecky, web... | {
"content_hash": "55c0c1dd6632244d97e97b7a8d2189ef",
"timestamp": "",
"source": "github",
"line_count": 515,
"max_line_length": 153,
"avg_line_length": 33.38834951456311,
"alnum_prop": 0.5052631578947369,
"repo_name": "sabrinalua/yii-advanced",
"id": "a36272d957bdb37f0928c22cf48f2aa815df197a",
"siz... |
import os
import pytest
import pushbullet
from binascii import a2b_base64
API_KEY = os.environ["PUSHBULLET_API_KEY"]
def test_decryption():
pb = pushbullet.Pushbullet(API_KEY, encryption_password="hunter2")
pb._encryption_key = a2b_base64("1sW28zp7CWv5TtGjlQpDHHG4Cbr9v36fG5o4f74LsKg=")
test_data = "MSfJ... | {
"content_hash": "3ef750b695e6758dd578ed1eeb5a348b",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 83,
"avg_line_length": 27.6875,
"alnum_prop": 0.7471783295711061,
"repo_name": "Saturn/pushbullet.py",
"id": "7221dcdcccef4b6acec15560657134c03682d92d",
"size": "443",
"b... |
namespace Discore.WebSocket
{
/// <summary>
/// Types of errors that trigger a <see cref="DiscordWebSocketException"/>.
/// </summary>
public enum DiscordWebSocketError
{
/// <summary>
/// An unexpected error occured while interacting with the Discord WebSocket API.
/// Shou... | {
"content_hash": "ac7fb6703401f5be889b2998cd109f5c",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 93,
"avg_line_length": 32.611111111111114,
"alnum_prop": 0.6132879045996593,
"repo_name": "BundledSticksInkorperated/Discore",
"id": "ad1e1850ab984771f81aa1f3f1af1329c0da269d... |
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('mooc', '0007_lesson_order'),
]
operations = [
migrations.CreateModel(
name='Classification',
... | {
"content_hash": "2eb35640abea22055d96aab92cba3c67",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 149,
"avg_line_length": 31.296296296296298,
"alnum_prop": 0.6011834319526628,
"repo_name": "Zing22/Moogle",
"id": "294cd2383665770fa7c4aa3ae3638960ddd23330",
"size": "915",... |
<?php
namespace SmartAss\Extensions;
/**
* Class Twig
*
* @package SmartAss
* @author Joseph Crawford <jbcrawford@gmail.com>
*/
class Twig extends \Twig_Extension
{
/**
* @var \SmartAss\Collection
*/
private $collection;
/**
* @param \SmartAss\Collection $collection
*/
publi... | {
"content_hash": "6786a2049632ebb72a9120e539c069bc",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 75,
"avg_line_length": 17.31111111111111,
"alnum_prop": 0.558408215661104,
"repo_name": "jbcrawford/smartass",
"id": "71a35c9d8e38427203c3a54131053ed1ae34a1e7",
"size": "77... |
#include <boost/detail/lightweight_test.hpp>
#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/fusion/tuple.hpp>
#include <string>
struct foo_parts
{
boost::optional<std::string> first;
std::string second;
};
namespace boost { namespace spirit ... | {
"content_hash": "190cf674dc0f52ce8ecdc9bc7dffd841",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 77,
"avg_line_length": 26.014492753623188,
"alnum_prop": 0.5671309192200558,
"repo_name": "flingone/frameworks_base_cmds_remoted",
"id": "e27d14ac7f75320f5cd4c05875fab16ae20f... |
'use strict';
angular.module('dictionaryApp')
.factory('MultipleChoiceQuiz', function ($resource) {
return $resource('api/quiz/languages/:fromLanguageId/to/:toLanguageId', {}, {
'query': { method: 'GET', params: {fromLanguageId: '@fromlanguageId', toLanguageId: '@tolanguageId'}}
});
... | {
"content_hash": "fff1addebea630021b0efec8179a20df",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 113,
"avg_line_length": 40.625,
"alnum_prop": 0.6338461538461538,
"repo_name": "eballerini/dictionary",
"id": "03a56ccafe87041a052344e28fe12ef9d16d7972",
"size": "325",
"b... |
@ParametersAreNonnullByDefault
package com.diffplug.common.swt.jface;
import javax.annotation.ParametersAreNonnullByDefault;
| {
"content_hash": "a9aedd0e257a79fe22268118f464b6c7",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 54,
"avg_line_length": 25.4,
"alnum_prop": 0.8740157480314961,
"repo_name": "diffplug/durian-swt",
"id": "f1385445e0cb9072c967f748959b677762afb1bd",
"size": "127",
"binary... |
<?php
/**
* Result consolidator
*
* Consolidates result data in a memory-efficient manner.
*
* @category Scenario
* @package Scenario
* @copyright Copyright (c) 2011-2012 TK Studios. (http://www.tkstudios.com)
* @license http://www.phpscenario.org/license.php New BSD License
*/
class Scenario_Da... | {
"content_hash": "696f7e16e42f281c2f7cb76fbee19063",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 90,
"avg_line_length": 29.16,
"alnum_prop": 0.5882814030962179,
"repo_name": "jsylvanus/phpScenario",
"id": "18379bbc4aedb6dca676de25f16207401c1f0f31",
"size": "5764",
"... |
<?php
/* UserBundle:Resetting:reset.html.twig */
class __TwigTemplate_7210a4f3f89ca4d4a0e9233c09108abeeef88b25a28f810507f88cde020b3d3d extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
try {
$this->parent = $th... | {
"content_hash": "58ca166950dfd7e5ec74a0fede9228f2",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 107,
"avg_line_length": 26.017857142857142,
"alnum_prop": 0.5909402882635553,
"repo_name": "Antione7/Bonnezannonces",
"id": "3e610b8f2a72ae66af74c0c89491ba04d29aeb3c",
"siz... |
__author__ = "Simone Campagna"
__all__ = [
'RubikTestInputOutput',
]
import numpy as np
from rubik.cubes import api as cb
from rubik.shape import Shape
from ...rubik_test_case import RubikTestCase, testmethod
class RubikTestStats(RubikTestCase):
METHOD_NAMES = []
def impl_stats_random... | {
"content_hash": "18d0375910433ab399bb384b7fa5945c",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 106,
"avg_line_length": 40.34117647058824,
"alnum_prop": 0.6259842519685039,
"repo_name": "simone-campagna/rubik",
"id": "4cf5adeefe6ba19c99f10388ce1e42be9476d3e0",
"size"... |
(function () {
'use strict';
angular
.module('courses')
.controller('ToolsCtrl', ToolsCtrl);
ToolsCtrl.$inject = ['$uibModal', '$scope', '$stateParams'];
function ToolsCtrl($uibModal, $scope, $stateParams) {
var vm = this;
vm.courseUrl = $stateParams.courseUrl;
... | {
"content_hash": "a02a435d191de99911b1f69cc80e9883",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 75,
"avg_line_length": 29.24074074074074,
"alnum_prop": 0.40025332488917037,
"repo_name": "THe-LearningSystem/frontend",
"id": "5056b880f1c339b7f18b26dca11d538e2df82202",
"... |
@implementation NSObject (VSDependencyManager)
//- (void)VSDealloc
//{
// [NSObject cancelPreviousPerformRequestsWithTarget:self];
// [[NSNotificationCenter defaultCenter] removeObserver:self];
// [[VSDependencyManager shareInstance] removeObserver:self];
// [self VSDealloc];
//}
- (void)addDependencyObser... | {
"content_hash": "0b85432d2d43065fc87dbcb52b828a47",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 149,
"avg_line_length": 38.205128205128204,
"alnum_prop": 0.7429530201342281,
"repo_name": "chromeu/VDM",
"id": "e8ac5e815d79efb4255ebbc6b1b90ffb1b2a1f76",
"size": "1716",
... |
<?php defined('SYSPATH') or die('No direct script access.');
/**
*
* @author Yuriy Bezgachnyuk
* Class for generation custom response for HTTP 403 Exception in JSON format
*
*/
class HTTP_Exception_403 extends Kohana_HTTP_Exception_403 {
public function get_response()
{
$response = Response::... | {
"content_hash": "3dae861a896539f1928508f71b020513",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 77,
"avg_line_length": 23.318181818181817,
"alnum_prop": 0.645224171539961,
"repo_name": "yurkovskiy/babules_api",
"id": "6b0b7a952f3ddc3c486f1ac79bf281cfdcab98a4",
"size":... |
hero:moveXY(20, 24)
local secretA = hero:findNearestFriend():getSecretA()
local secretB = hero:findNearestFriend():getSecretB()
local secretC = hero:findNearestFriend():getSecretC()
-- If ALL three values are true, take the high path. Otherwise, take the low path.
if secretA and secretB and secretC then
hero:moveX... | {
"content_hash": "9acf1df181cec045c1a0c9a59bdfc914",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 82,
"avg_line_length": 28.8,
"alnum_prop": 0.7291666666666666,
"repo_name": "nikai3d/codecombat-scripts",
"id": "365058403fdf6c8f8752fc9c31629dab7df77e3b",
"size": "771",
... |
import { clone } from './clone';
describe('clone', () => {
let origin: any;
let cloned: any;
beforeEach(() => {
origin = { foo: 'foo', bar: 1, baz: 2 };
});
afterEach(() => {
origin = null;
cloned = null;
});
it('should equal', () => {
cloned = origin;
expect(cloned === origin).t... | {
"content_hash": "8fbc6b8f82d039d8ed31e229fa5dffc4",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 44,
"avg_line_length": 19.565217391304348,
"alnum_prop": 0.5277777777777778,
"repo_name": "UIUXEngineering/ix-material",
"id": "d0812cade2edf26dcba82106dbdac6c1d30c285a",
"... |
<?php
namespace MDB\ModellenBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfon... | {
"content_hash": "e70a8ed045dcfdb5e13b6037f208ed27",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 131,
"avg_line_length": 30.310344827586206,
"alnum_prop": 0.7167235494880546,
"repo_name": "markvdv/MDB",
"id": "f4de90087ec8c6b6c7af77a2f9089eace871d244",
"size": "879",
... |
<?php
namespace Manafx\Api;
class Module
{
public function registerAutoloaders()
{
$loader = new \Phalcon\Loader();
$loader->registerDirs(array(
__DIR__,
__DIR__ . "/controllers",
__DIR__ . "/helpers",
__DIR__ . "/library",
__DIR__ . "/models",
__DIR__ . "/plugins",
));
$loader->regist... | {
"content_hash": "0cf79d75d704e34ba35102a1f9811ecb",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 94,
"avg_line_length": 21.32,
"alnum_prop": 0.5769230769230769,
"repo_name": "manacode/manafx",
"id": "4c7f6762a96e53009ed3270d274ec0afa5f2f039",
"size": "1066",
"binary"... |
package com.navercorp.pinpoint.profiler.sender;
import org.junit.Assert;
import org.junit.Test;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
/**
* @author Taejin Koo
*/
public class RetryMessageTest {
private final Logger logger = LogManager.getLogger(this.getClass());
... | {
"content_hash": "68e7ad37de8df56158af327464279241",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 73,
"avg_line_length": 28.085714285714285,
"alnum_prop": 0.669379450661241,
"repo_name": "naver/pinpoint",
"id": "5806c51c5feeb9d858ee2431047fa972aa16f54e",
"size": "2560",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_25) on Wed Nov 19 08:19:39 EST 2014 -->
<title>SamplePlayer.LoopType</title>
<meta name="date" content="2014-11-19">
<link rel="stylesheet" typ... | {
"content_hash": "9fcb9961bc826b0aa336ae507566dfeb",
"timestamp": "",
"source": "github",
"line_count": 395,
"max_line_length": 389,
"avg_line_length": 39.94177215189873,
"alnum_prop": 0.6678709513849275,
"repo_name": "nhochberger/WavFragmentation",
"id": "dde77a7fbafb8920d3871583fdfbdc3acd013399",
... |
package pl.joegreen.sergeants.framework.user;
import java.util.UUID;
class RandomIdAndNameUserConfiguration extends IdAndNameUserConfiguration {
RandomIdAndNameUserConfiguration() {
super(generateUserId(), generateRandomUsername());
}
private static String generateRandomUsername() {
retu... | {
"content_hash": "f7109ccee8c009cac12ca53a00af6049",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 75,
"avg_line_length": 26.38888888888889,
"alnum_prop": 0.72,
"repo_name": "greenjoe/sergeants",
"id": "8bcca1f53d9252d1b485418574b90e47dbc5556b",
"size": "475",
"binary"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Sun Dec 12 16:57:27 GMT 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.hp.hpl.jena.sha... | {
"content_hash": "078fb18315cae24f3d90ef1b54845eac",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 229,
"avg_line_length": 43.15172413793103,
"alnum_prop": 0.617867987853604,
"repo_name": "wikipathways/wp2lod",
"id": "f6605c78592baaa456cd38f16b3da3228168f11d",
"size": "... |
package checker
import (
"errors"
"restic/backend"
"restic/debug"
"restic/repository"
)
// Repacker extracts still used blobs from packs with unused blobs and creates
// new packs.
type Repacker struct {
unusedBlobs backend.IDSet
repo *repository.Repository
}
// NewRepacker returns a new repacker that ... | {
"content_hash": "cc667f91630a9c048937fa7dfc0b8885",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 129,
"avg_line_length": 26.079754601226995,
"alnum_prop": 0.6866619618913197,
"repo_name": "bchapuis/restic",
"id": "8aedfc0893577bd7afe7da86254adecaeb67afd5",
"size": "42... |
package org.dimigo.oop;
/**
* org.dimigo.oop
* \_ Car2
*
* Second car!
*
* @author chalk
* @version 1.0.0
* @since Mar 24, 2017
*/
public class Car2 {
private String company, model, color;
private int maxSpeed, price;
public Car2(){
// nothing to do
}
public Car2(String newCompany, String newModel,... | {
"content_hash": "3377c7fc63cd4b9dbc33e026c4e9ba1b",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 98,
"avg_line_length": 15.720588235294118,
"alnum_prop": 0.6735266604303087,
"repo_name": "WP152409/JavaPractice",
"id": "5a24588e3bbad67d5d47fb26d3063198f0695a05",
"size":... |
"""Invertible 1x1 Convolution used in GLOW."""
import tensorflow.compat.v2 as tf
from tensorflow_probability.python.bijectors import bijector
from tensorflow_probability.python.internal import assert_util
from tensorflow_probability.python.internal import parameter_properties
from tensorflow_probability.python.intern... | {
"content_hash": "af8b4603268eef7b5b4738e45d044354",
"timestamp": "",
"source": "github",
"line_count": 285,
"max_line_length": 92,
"avg_line_length": 35.83157894736842,
"alnum_prop": 0.6555033294163729,
"repo_name": "tensorflow/probability",
"id": "28f48d2bdff459aead1de6af4f565eeae513f4f9",
"size"... |
package com.orangerhymelabs.helenusdb.rest;
import com.jayway.restassured.RestAssured;
import static com.jayway.restassured.RestAssured.expect;
import static com.jayway.restassured.RestAssured.given;
import com.jayway.restassured.response.Response;
import com.mongodb.util.JSON;
import com.orangerhymelabs.helenus.... | {
"content_hash": "c72ee6ef29f93e449689ebab620598c7",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 112,
"avg_line_length": 32.6243093922652,
"alnum_prop": 0.619813717188823,
"repo_name": "OrangeRhymeLabs/OrangeDB",
"id": "2b7d41db1141f320c024025c4b7b0cbac99952e4",
"size... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.