text stringlengths 2 1.04M | meta dict |
|---|---|
package org.apache.geode.management.internal.cli.functions;
import org.apache.commons.lang3.StringUtils;
import org.apache.geode.cache.execute.FunctionContext;
import org.apache.geode.distributed.DistributedMember;
import org.apache.geode.distributed.internal.InternalLocator;
import org.apache.geode.internal.cache.I... | {
"content_hash": "003cf3f2c96492e945b98fe547418cf7",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 98,
"avg_line_length": 38.125,
"alnum_prop": 0.7934426229508197,
"repo_name": "jdeppe-pivotal/geode",
"id": "c7518122b7ca4f03f5a3dcc3788391d16bebf646",
"size": "2314",
"b... |
package com.welyab.jcpa.classfile.attribute;
public interface SourceFileAttribute extends Attribute {
}
| {
"content_hash": "c815ba59c55b26c757b8f8b1b14934b8",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 56,
"avg_line_length": 17.833333333333332,
"alnum_prop": 0.822429906542056,
"repo_name": "ayszu/ayszu",
"id": "31181682d1065b07a506bea29262d57995bb0469",
"size": "107",
"b... |
"use strict";
module.exports = function(Promise,
PromiseArray,
apiRejection,
tryConvertToPromise,
INTERNAL,
debug) {
var util = require("./util");
var tryCatch = util.tryCatch;
function Red... | {
"content_hash": "5353e725c39b44fc9cb153db47a41405",
"timestamp": "",
"source": "github",
"line_count": 191,
"max_line_length": 80,
"avg_line_length": 29.26178010471204,
"alnum_prop": 0.6002862766147791,
"repo_name": "petkaantonov/bluebird",
"id": "51f86aab9d781e4e511b015a32757b5d5c75d2ba",
"size":... |
package org.wildfly.camel.test.file;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.nio.file.Paths;
import org.apache.camel.CamelContext;
import org.apache.camel.ProducerTemplate;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.impl.DefaultCam... | {
"content_hash": "6075ee853779aae7b11e8cbb7225f44e",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 110,
"avg_line_length": 33.89655172413793,
"alnum_prop": 0.6846388606307223,
"repo_name": "myfear/wildfly-camel",
"id": "b927c25e745fb31ecfd8ed625d56f55c62a96669",
"size": ... |
package edu.umn.amicus.aligners;
import edu.umn.amicus.util.AlignedTuple;
import edu.umn.amicus.AmicusException;
import edu.umn.amicus.util.AnalysisPiece;
import edu.umn.amicus.util.ANA;
import java.util.Iterator;
import java.util.List;
/**
* Align tuples from all systems to get an iterator over aligned tuples (a t... | {
"content_hash": "d752d9960f11fe6765ab606ee00394d4",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 105,
"avg_line_length": 31,
"alnum_prop": 0.7535483870967742,
"repo_name": "gpfinley/ensembles",
"id": "43a1e158e741ceadba0afd195eced7540876c783",
"size": "775",
"binary"... |
package io.noties.markwon.core.suite;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
import io.noties.markwon.test.TestSpan.Document;
import static io.noties.markwon.test.TestSpan.args;
import static io.noties.markwon.te... | {
"content_hash": "129f140fdf8ec45eeebe4b23610b12bc",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 55,
"avg_line_length": 26.571428571428573,
"alnum_prop": 0.7580645161290323,
"repo_name": "noties/Markwon",
"id": "a3e6f2af9c0beaed81e454c8ed954badab2e00c6",
"size": "744",... |
package org.netbeans.modules.plantumlnb.lexer;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.netbeans.modules.plantumlnb.pumllexer.PUMLParserConstants;
import org.netbeans.spi.lexer.LanguageHierarchy;
import org.netbeans.spi.lex... | {
"content_hash": "5fd910000ecaa0dc86d15720c86b2f80",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 152,
"avg_line_length": 62.03867403314917,
"alnum_prop": 0.6423546175082376,
"repo_name": "esamson/plantumlnb",
"id": "67ff297ed8bf4086c8e41663106fc093686e3662",
"size": "... |
<DWPBody xsi:schemaLocation="http://www.govtalk.gov.uk/dwp/carers-allowance file:/future/0.24/schema/ca/CarersAllowance_Schema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.govtalk.gov.uk/dwp/carers-allowance">
<Version>0.24</Version>
... | {
"content_hash": "bcac138385f32135457848cbfa3fdef1",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 364,
"avg_line_length": 73.47863247863248,
"alnum_prop": 0.6829126439455624,
"repo_name": "Department-for-Work-and-Pensions/RenderingService",
"id": "16b5c7e236978a87b83c6e3... |
package org.drools.core.fluent.impl;
import org.drools.core.command.NewKieSessionCommand;
import org.kie.api.runtime.builder.ExecutableBuilder;
import org.kie.api.runtime.builder.KieContainerFluent;
import org.kie.api.runtime.builder.KieSessionFluent;
public class KieContainerFluentImpl extends BaseBatchFluent<Exec... | {
"content_hash": "d0eabf35ce05de8fbbf0e91b23ec1b52",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 129,
"avg_line_length": 27.516129032258064,
"alnum_prop": 0.7456037514654161,
"repo_name": "sutaakar/drools",
"id": "06335592922f53b1f1af66276caa9e5da35fb1cc",
"size": "147... |
import argparse
import re
# Taken from http://genomewiki.ucsc.edu/index.php/Hg19_Genome_size_statistics
HG19_NON_N_GENOME_SIZE = 2897310462
def scrape_bamstat(statsfile, threshold=7):
proper_exp = re.compile(r'Proper pairs\s*(\d+)')
insert_exp = re.compile(r'Actual FR median insert size:\s*(\d+)')
dev_ex... | {
"content_hash": "1ba2426dc979bc6a8b5e3349965a31c2",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 77,
"avg_line_length": 40.32727272727273,
"alnum_prop": 0.6172227231740307,
"repo_name": "talkowski-lab/Holmes",
"id": "66fc230f5ca571dc561970ea569b6b9185cbec8d",
"size": "... |
package org.xdi.oxauth.model.uma;
import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.annotate.JsonPropertyOrder;
import org.jboss.resteasy.annotations.providers.jaxb.IgnoreMediaTypes;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import jav... | {
"content_hash": "f1d943cc463085e2632887a71fd54be4",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 140,
"avg_line_length": 27.04268292682927,
"alnum_prop": 0.6324689966178129,
"repo_name": "nixu-corp/oxAuth",
"id": "022f4ae192b4dffdc3d9aace0d705c94452717c5",
"size": "45... |
{% extends "shop/base.html" %}
{% load staticfiles mezzanine_tags shop_tags rating_tags i18n %}
{% block meta_title %}{{ product.meta_title }}{% endblock %}
{% block body_id %}category{% endblock %}
{% block meta_keywords %}{% metablock %}
{% for keyword in product.keywords.all %}
{% if not forloop.first %}, {% e... | {
"content_hash": "32de31423002c70fcf251be0379843c7",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 148,
"avg_line_length": 31.61006289308176,
"alnum_prop": 0.5543175487465181,
"repo_name": "Parisson/cartridge",
"id": "4ef715d0f3439a31714861f69efc9bc8f30582a5",
"size": "... |
package com.wavesplatform.it.sync
import com.typesafe.config.{Config, ConfigFactory}
import com.wavesplatform.it.BaseFunSuite
import com.wavesplatform.it.api.State
import com.wavesplatform.it.api.SyncHttpApi._
import com.wavesplatform.test._
import scala.concurrent.duration._
class MinerStateTestSuite extends BaseFu... | {
"content_hash": "10befa7f3140b30470d824069008e034",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 123,
"avg_line_length": 35.49411764705882,
"alnum_prop": 0.731852833941001,
"repo_name": "wavesplatform/Waves",
"id": "0aedbddacb2aa3b55f55ce1e76ce7681bd62a65f",
"size": "3... |
class AISEntry : public QWidget
{
Q_OBJECT
public:
AISEntry(QWidget *parent = 0);
~AISEntry();
signals:
void buttonClickedEvent(QMouseEvent *event);
public slots:
void showServerInfo();
void incomeMessage(const QString &from, const QString &message);
void newConnection(const QString &part... | {
"content_hash": "5dd9390a0623cc5216510456f766d60d",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 71,
"avg_line_length": 21.47222222222222,
"alnum_prop": 0.7102199223803364,
"repo_name": "jink2005/AISEntry",
"id": "802560b088e6f7211d10ae9601c81ba2bfccc694",
"size": "857... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | {
"content_hash": "1a6378739d9144deeaeaba974a091a72",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 297,
"avg_line_length": 43.92822966507177,
"alnum_prop": 0.5097483934211959,
"repo_name": "dcarda/aba.route.validator",
"id": "0c75da8c565c4c75d1ecb69e820b5715754367ea",
"... |
#ifndef USB_DEVICE_VCP_HPP
#define USB_DEVICE_VCP_HPP
#include "types.h"
#include "usb_device.hpp"
#include "iokit_types.hpp"
#include <CoreFoundation/CoreFoundation.h>
#include <IOKit/IOKitLib.h>
//////////////////////////////////////////////////////////////////////////////////
// Public Definitions
/////////////... | {
"content_hash": "0b43d0ac64ed5da5f89be6a9ce83655f",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 152,
"avg_line_length": 30.670886075949365,
"alnum_prop": 0.6269087907552621,
"repo_name": "corbamico/ANT-Library",
"id": "b6fd0441815e5060be41033a2b149900ff7e28b1",
"size"... |
"""
pyinotify
@author: Sebastien Martini
@license: MIT License
@contact: seb@dbzteam.org
"""
class PyinotifyError(Exception):
"""Indicates exceptions raised by a Pyinotify class."""
pass
class UnsupportedPythonVersionError(PyinotifyError):
"""
Raised on unsupported Python versions.
"""
def _... | {
"content_hash": "7f75902de17ff3886c320b8903e4b434",
"timestamp": "",
"source": "github",
"line_count": 2108,
"max_line_length": 80,
"avg_line_length": 37.28795066413662,
"alnum_prop": 0.5553477602636032,
"repo_name": "dunkfordyce/pyinotify",
"id": "467a5217664794b280ea8b059c8243fe9295018e",
"size"... |
<!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_77) on Mon May 23 19:36:14 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Uses of Class org.apache.luc... | {
"content_hash": "d177ff1a0a9f57c7b371f5e0d44bfdb5",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 143,
"avg_line_length": 36.24285714285714,
"alnum_prop": 0.5896728419392984,
"repo_name": "YorkUIRLab/irlab",
"id": "dff41ca7d8c45b3b3d65050ad09d555fe7449af0",
"size": "50... |
package com.taskadapter.redmineapi.bean;
public class IssueRelation implements Identifiable {
public enum TYPE {
precedes
}
/*
GET /relations/1819.xml
Response:
<?xml version="1.0" encoding="UTF-8"?>
<relation>
<id>1819</id>
<issue_id>8470</issue_id>
<issu... | {
"content_hash": "a1bb22cdf3c4bef84b0cf96e2f8eb790",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 102,
"avg_line_length": 26.127450980392158,
"alnum_prop": 0.5958724202626642,
"repo_name": "redminenb/redmine-java-api",
"id": "cf791d758c84b777244ba6a48c65cb4e6c61726b",
... |
using namespace BrainCloud;
class TestBCVirtualCurrency: public TestFixtureBase
{
};
#endif
| {
"content_hash": "d727412aa522da7baecd8598a2adc5c9",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 51,
"avg_line_length": 13.428571428571429,
"alnum_prop": 0.8085106382978723,
"repo_name": "getbraincloud/braincloud-cpp",
"id": "bf15f15eb7d7ca266145549eb743f5895ca7c1fc",
"... |
import * as types from 'frontend/actions/types'
import type { Action } from 'frontend/actions/types'
export type CurrentUserState = {
id: ?string
}
const initialState = {
id: null
}
export default function reducer(
state: CurrentUserState = initialState,
action: Action
) {
switch (action.type) {
case t... | {
"content_hash": "51b797f31131d7fe03a341907b7d4a09",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 52,
"avg_line_length": 20.208333333333332,
"alnum_prop": 0.6659793814432989,
"repo_name": "jsonnull/aleamancer",
"id": "448923dec06f72d9b5c76a2b44d16061bad79a4b",
"size": "... |
import "./setup";
import {expect} from "chai";
import {insertHTML} from "./utils";
import BtrzFilter from "../src/btrz-filter";
import BtrzFilterRow from "../src/btrz-filter-row";
import BtrzFilterCol from "../src/btrz-filter-col";
import BtrzField from "../src/btrz-field";
describe("BtrzFilter", () => {
it("Should... | {
"content_hash": "e6a7a9af9d67e23d0d1c80eef1d90d07",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 130,
"avg_line_length": 45.92063492063492,
"alnum_prop": 0.4858278603525752,
"repo_name": "Betterez/btrz-vue-components",
"id": "0328a108407563db53276c2358851c1f8217bd10",
... |
package org.apereo.cas.ticket.registry;
import com.mongodb.BasicDBObject;
import com.mongodb.DBCollection;
import com.mongodb.WriteResult;
import org.apache.commons.lang3.StringUtils;
import org.apereo.cas.ticket.BaseTicketSerializers;
import org.apereo.cas.ticket.Ticket;
import org.apereo.cas.ticket.TicketCatalog;
im... | {
"content_hash": "8f788016b8dc2db33906ad2fe5354770",
"timestamp": "",
"source": "github",
"line_count": 259,
"max_line_length": 136,
"avg_line_length": 46.02316602316602,
"alnum_prop": 0.6525167785234899,
"repo_name": "pmarasse/cas",
"id": "a59dcf86fe6e0e2014de2cc43153bde62594b772",
"size": "11920"... |
@interface DataSource : NSObject <UITableViewDataSource>
- (instancetype)initWithCellIdentifier:(NSString *)cellIdentifier;
- (void)requestData:(void(^)(void))complete;
@end
| {
"content_hash": "93a830b70639edafff7143f74253cdf5",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 66,
"avg_line_length": 29.333333333333332,
"alnum_prop": 0.7840909090909091,
"repo_name": "paulja/PullToRefresh",
"id": "9f28e96cbde87446d27aa23b2e8fe7fa41710c2b",
"size": "... |
package test.web.controller;
public class FormBean {
private String value = "";
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}
| {
"content_hash": "e33a0c3f7991aa5c828b46cdc3ca6358",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 37,
"avg_line_length": 13.2,
"alnum_prop": 0.6818181818181818,
"repo_name": "ufoscout/java-sample-projects",
"id": "008b91cb16db564c7956f871eaf01d8601747bd0",
"size": "198"... |
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"github.com/go-openapi/errors"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
)
// IPAMStatus Status of IP address management
//
// +k8s:deepcop... | {
"content_hash": "080c9429008f2b612c0a9e5034387a58",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 84,
"avg_line_length": 20.243589743589745,
"alnum_prop": 0.6985433818872704,
"repo_name": "tklauser/cilium",
"id": "6473f317dc1da6f51d761916f3258f60e01335a6",
"size": "1707... |
package ro.pub.cs.aipi.lab07.entities;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@StaticMetamodel(Writer.class)
public class Writer_ {
public static volatile SingularAttribute<Writer, Long> id;
public static volatile SingularAttribute<Writer, String> f... | {
"content_hash": "4673d80640d3357b62dfeb4e87da18d7",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 68,
"avg_line_length": 39.083333333333336,
"alnum_prop": 0.8315565031982942,
"repo_name": "aipi2015/Laborator07",
"id": "09edf4abcd0b3c1c782ce236d8fbbc7017841290",
"size": ... |
import BaseStore from "#SRC/js/stores/BaseStore";
import List from "#SRC/js/structs/List";
import {
REQUEST_ACL_DIRECTORIES_SUCCESS,
REQUEST_ACL_DIRECTORIES_ERROR,
REQUEST_ACL_DIRECTORY_ADD_SUCCESS,
REQUEST_ACL_DIRECTORY_ADD_ERROR,
REQUEST_ACL_DIRECTORY_DELETE_SUCCESS,
REQUEST_ACL_DIRECTORY_DELETE_ERROR,
... | {
"content_hash": "d9de6ca98fe66c7dc8b5ad33cc343ee2",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 80,
"avg_line_length": 28.785123966942148,
"alnum_prop": 0.6617858168245765,
"repo_name": "dcos/dcos-ui",
"id": "586cc8750946e46a730f8de0f93b9842d4ec6eeb",
"size": "3483",... |
<?php
namespace modules\cms\models;
use wanhunet\db\ActiveRecord;
/**
* This is the model class for table "{{%cms_category}}".
*
* @property integer $id
* @property string $title
* @property integer $parent
* @property integer $status
* @property integer $created_at
* @property integer $updated_at
*/
class ... | {
"content_hash": "89dbc82466c0cc9b9f3903e3fab41e01",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 93,
"avg_line_length": 24.725,
"alnum_prop": 0.46006066734074824,
"repo_name": "wuwenhan/p2p",
"id": "8032faca5d970f08f2768db756d35e14815345d3",
"size": "3007",
"binary"... |
package com.amazonaws.services.wellarchitected.model.transform;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.wellarchitected.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.core.JsonToken;
... | {
"content_hash": "81ee650d584231c92781c41e6d962620",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 150,
"avg_line_length": 39.67567567567568,
"alnum_prop": 0.6502043596730245,
"repo_name": "aws/aws-sdk-java",
"id": "cca92e65efb3f1c53872ea299b44f41d05bf617d",
"size": "351... |
<?xml version="1.0" encoding="UTF-8"?>
<!-- Encoding Hint: 雀の往来 -->
<project>
<property name="jnlp.title" value="JST クリックした位置にジャンプ" />
<property name="jnlp.Name" value="JumpToClickedPositionSlider" />
<property name="jnlp.name" value="jumptoclickedpositionslider" />
<property name="jnlp.codebase" value="... | {
"content_hash": "6da1f35141d9ca60fef716830dcf81f8",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 88,
"avg_line_length": 51.77777777777778,
"alnum_prop": 0.6909871244635193,
"repo_name": "aoguren/java-swing-tips",
"id": "867c8f00e9c63f6faae537165789c38d0e4ee1e5",
"size":... |
package org.neo4j.kernel.impl.transaction.log.pruning;
import org.junit.Test;
import org.mockito.Mockito;
import org.neo4j.io.fs.FileSystemAbstraction;
import static org.hamcrest.Matchers.instanceOf;
import static org.junit.Assert.assertThat;
public class LogPruneStrategyFactoryTest
{
@Test
public void te... | {
"content_hash": "196d4b14e07eb37f8608ec0d550b23d7",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 120,
"avg_line_length": 40.516129032258064,
"alnum_prop": 0.7197452229299363,
"repo_name": "HuangLS/neo4j",
"id": "77b05d9865153471317fb907fa00852dd331209a",
"size": "2051"... |
/* This is the main program for the shared library test. */
#include <stdio.h>
int mainvar = 1;
int overriddenvar = 2;
extern int shlibvar1;
extern int shlib_mainvar ();
extern int shlib_overriddenvar ();
extern int shlib_shlibvar1 ();
extern int shlib_shlibvar2 ();
extern int shlib_shlibcall ();
extern int shlib_m... | {
"content_hash": "b3eebcd693dc11f3c180628d1ac95de6",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 68,
"avg_line_length": 24.11111111111111,
"alnum_prop": 0.619815668202765,
"repo_name": "hoangt/goblin-core",
"id": "0817d2730a80a29a3ee29d1d32284fed6c837abf",
"size": "217... |
package org.zstack.core.db;
import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.dao.EmptyResultDataAccessException;
import org.springframework.tran... | {
"content_hash": "b1829df6bb6edecdc600ed2527bd136a",
"timestamp": "",
"source": "github",
"line_count": 358,
"max_line_length": 242,
"avg_line_length": 39.97206703910614,
"alnum_prop": 0.5721174004192872,
"repo_name": "newbiet/zstack",
"id": "376df4d0e7af659d6e2469d49d06fc69826a863c",
"size": "1431... |
/**
* @fileoverview Provides the UI elements to generate a new PGP key.
*/
goog.provide('e2e.ext.ui.panels.GenerateKey');
goog.require('e2e.ext.constants.CssClass');
goog.require('e2e.ext.constants.ElementId');
goog.require('e2e.ext.constants.Keyserver');
//@yahoo added 2 requires
goog.require('e2e.ext.keyserver.... | {
"content_hash": "82f16ea009e3bd19fcc84366c4c38810",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 80,
"avg_line_length": 30.35496183206107,
"alnum_prop": 0.6727021249842826,
"repo_name": "yahoo/end-to-end",
"id": "5d5cd07d58265bca439933252b5c5864ec3576e3",
"size": "857... |
namespace llvm {
class MachineModuleInfo;
class Mangler;
class MCAsmInfo;
class MCExpr;
class MCSection;
class MCSectionMachO;
class MCSymbol;
class MCContext;
class GlobalValue;
class TargetMachine;
class TargetLoweringObjectFileELF : public TargetLoweringObjectFile {
bool UseInitArray;
mutab... | {
"content_hash": "88ee2ddf50d33e6db772e5129602d48a",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 80,
"avg_line_length": 42.40816326530612,
"alnum_prop": 0.6153352582611485,
"repo_name": "mirams/opencor",
"id": "2f1379131cbdc51440f32f4cb9bd45509aab7f39",
"size": "6984"... |
from __future__ import division
# Local RGZ modules
import rgz
import consensus
from load_contours import get_contours,make_pathdict
# Default packages
import json
import cStringIO
import urllib
import time
import random
import os
from ast import literal_eval
from collections import Counter
# Other packages
impor... | {
"content_hash": "09fca722b8fc4017b1d631bbef9edc06",
"timestamp": "",
"source": "github",
"line_count": 1288,
"max_line_length": 176,
"avg_line_length": 34.34549689440994,
"alnum_prop": 0.5834030336596062,
"repo_name": "willettk/rgz-analysis",
"id": "3ea925c2f64b73425edc6066e63356d8e728dd80",
"size... |
package test.service.impl.segmenteffortservice;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.fail;
import org.junit.Test;
import javastrava.auth.model.Token;
import javastrava.service.SegmentEffor... | {
"content_hash": "8487fbb95756e31ff0ca5da9aad4aa3c",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 183,
"avg_line_length": 32.210144927536234,
"alnum_prop": 0.7372328458942632,
"repo_name": "danshannon/javastrava-test",
"id": "1501fb4cb8462f60f7977f11bc59db7de552fe2c",
... |
/**
* Created by gturnquist on 11/11/14.
*/
console.log('If you can see this, then the app was properly loaded by Rave'); | {
"content_hash": "68611afce79208de46e3f1712856caee",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 77,
"avg_line_length": 24.8,
"alnum_prop": 0.6854838709677419,
"repo_name": "gregturn/rave-relative-url-bug",
"id": "923c41dce3cd9f8c665dafc3e2dcaccb0b9f2d4f",
"size": "124"... |
package org.motechproject.scheduletracking.domain.search;
import org.junit.Test;
import org.motechproject.scheduletracking.domain.Enrollment;
import org.motechproject.scheduletracking.domain.EnrollmentBuilder;
import org.motechproject.scheduletracking.domain.Schedule;
import org.motechproject.scheduletracking.reposito... | {
"content_hash": "53adb8b66fc1e68d2c795eda19c391ac",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 261,
"avg_line_length": 55.91379310344828,
"alnum_prop": 0.761640456367561,
"repo_name": "justin-hayes/modules",
"id": "e48670b1ea1a9a8e519dec10e9fbd148757a7850",
"size": "... |
using NUnit.Framework;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Moq;
namespace Cassandra.Tests
{
[TestFixture]
public class RowSetUnitTests
{
[Test]
... | {
"content_hash": "c2fe464e45bb779d71d368c3bdddf691",
"timestamp": "",
"source": "github",
"line_count": 398,
"max_line_length": 193,
"avg_line_length": 38.47487437185929,
"alnum_prop": 0.5176647293149611,
"repo_name": "oguimbal/csharp-driver",
"id": "19b591cbc4d6f8c7339cd3b2527986c3be32f438",
"size... |
XlsxWriter
==========
**XlsxWriter** is a Python module for writing files in the Excel 2007+ XLSX
file format.
XlsxWriter can be used to write text, numbers, formulas and hyperlinks to
multiple worksheets and it supports features such as formatting and many more,
including:
* 100% compatible Excel XLSX files.
* Full... | {
"content_hash": "0d154043bb1095a21085e125dcaf8ab1",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 94,
"avg_line_length": 25.606060606060606,
"alnum_prop": 0.7171597633136094,
"repo_name": "jvrsantacruz/XlsxWriter",
"id": "bd8d8ea28942c2d7dd0063ea95fdddbe431fef5d",
"size... |
TEST_DIR = File.expand_path(File.dirname(__FILE__))
TOP_SRC_DIR = File.join(TEST_DIR, '..')
require File.join(TOP_SRC_DIR, 'lib', 'tracelines19.rb')
def dump_file(file, opts)
puts file
begin
fp = File.open(file, 'r')
rescue Errno::ENOENT
puts "File #{file} is not readable."
return
end
lines = fp.... | {
"content_hash": "6dd6263b6b1bddc6adb695e50754b2a0",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 77,
"avg_line_length": 29.056,
"alnum_prop": 0.5696585903083701,
"repo_name": "khrtz/rails_vote_ranking",
"id": "2c63d2a273c94f2b7a9089d141a29297d201992e",
"size": "3653",... |
TODO:
- add input for organization
- add input for date
- add autosort | {
"content_hash": "34686b01ca48f200dc9d9a2df84f7d7d",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 28,
"avg_line_length": 17.5,
"alnum_prop": 0.7571428571428571,
"repo_name": "bricejlin/deleterboard",
"id": "c1a4a01fd33c2adb9c3005e27c2f4d7a56c9a047",
"size": "70",
"bina... |
"""Tests for classes and methods relating to user rights."""
from core.domain import collection_services
from core.domain import exp_domain
from core.domain import exp_services
from core.domain import rights_manager
from core.domain import user_services
from core.tests import test_utils
class ExplorationRightsTests(... | {
"content_hash": "30b2cbc4319a99a3e82049d4822e3b63",
"timestamp": "",
"source": "github",
"line_count": 860,
"max_line_length": 78,
"avg_line_length": 45.78139534883721,
"alnum_prop": 0.6604947678553287,
"repo_name": "AllanYangZhou/oppia",
"id": "6983dcd2540be7c55340e31dd64c73ddf32ef6a8",
"size": "... |
Ein einfacher Einstieg in das JavaScript Web-Framework sammy.js
*Author:* Julian Metzger
*Version:* 1.0
*Last update:* 09/2012
##Libraries
jQuery
Sammy.js
mustache.js
Twitter Bootstrap
| {
"content_hash": "8f26cd72ce0bd8c264a2db121472a845",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 66,
"avg_line_length": 17.25,
"alnum_prop": 0.7053140096618358,
"repo_name": "mrjm/sammy-js-tutorial",
"id": "9633714fce796257aa169194b96081c998b84cad",
"size": "228",
"b... |
__author__ = "Fabio Tea <ft2011@gmail.com>"
import feedparser
from urllib.request import urlopen
from sopel.tools import SopelMemory, SopelMemoryWithDefault
from sopel.module import commands, example, NOLIMIT, require_privilege, OP, require_admin
from sopel.config.types import (StaticSection, ValidatedAttribute,... | {
"content_hash": "549494610b8cd6496aed2fac4c4d895f",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 89,
"avg_line_length": 30.42063492063492,
"alnum_prop": 0.6146621445343073,
"repo_name": "f4bio/sopel-rss",
"id": "5623a88f64b146f7f85e15a1de23ef1c4490ffdc",
"size": "3833... |
package com.palantir.atlasdb.spi;
import com.palantir.atlasdb.keyvalue.api.KeyValueService;
import com.palantir.timestamp.TimestampService;
public interface AtlasDbFactory {
String getType();
KeyValueService createRawKeyValueService(KeyValueServiceConfig config);
TimestampService createTimestampService... | {
"content_hash": "2d3dde0c903c632339b029160d30fc72",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 75,
"avg_line_length": 24.928571428571427,
"alnum_prop": 0.8223495702005731,
"repo_name": "andy2palantir/atlasdb",
"id": "06748663765bb314ae4da2d9ea8928472bd03bc7",
"size":... |
> **NOTE:**
> For any released features, please see notes in [release notes](RELEASENOTE.md).
You may have noticed that the team is working on DocFX v3 right now. Yes, v3 is the long-term plan for DocFX to be the end-to-end "docs" tool to support
> **NOTE:**
> Roadmap for v3 is tracked [here](https://github.com/dotne... | {
"content_hash": "a75458df1d216617bc302bcd709ebb91",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 365,
"avg_line_length": 53.53,
"alnum_prop": 0.7573323370072856,
"repo_name": "dotnet/docfx",
"id": "8feb94a867c87d65413096489e4855df6e425556",
"size": "5365",
"binary":... |
.. _2016_02_29_fdioandhoneycomb:
.. toctree:
===================
FD.io and Honeycomb
===================
Event
-----
This presentation was held during the OpenDaylight Design Forum on March 1st, 2016.
Speakers
--------
Ed Warnicke
Slideshow
---------
`Presentation Powerpoint <https://wiki.fd.io/images/8/84/Hone... | {
"content_hash": "6d97591ffecb4dc6598460f801a68ba0",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 83,
"avg_line_length": 15.714285714285714,
"alnum_prop": 0.6363636363636364,
"repo_name": "vpp-dev/vpp",
"id": "f589b7a4349fd24971de0aeb7c63f3f0cd092f24",
"size": "440",
... |
.class final Landroid/graphics/drawable/AnimatedRotateDrawable$AnimatedRotateState;
.super Landroid/graphics/drawable/DrawableWrapper$DrawableWrapperState;
.source "AnimatedRotateDrawable.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/graphics/drawable/AnimatedRotateDra... | {
"content_hash": "68ab675227b66e13efb35a29c2acf505",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 248,
"avg_line_length": 32.7563025210084,
"alnum_prop": 0.779887121600821,
"repo_name": "ddki/my_study_project",
"id": "04587dd0e6d264fc98d06a2953ca62e2386a9d6e",
"size": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http... | {
"content_hash": "658f6b06c623208c7aa59f70c97f212a",
"timestamp": "",
"source": "github",
"line_count": 447,
"max_line_length": 999,
"avg_line_length": 39.55257270693512,
"alnum_prop": 0.6015271493212669,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "d34c20c7aa1e2ad44574d6d03852fbaf26674b6... |
import errno
import logging
import os
from ceph_deploy import hosts, exc
from ceph_deploy.lib import remoto
LOG = logging.getLogger(__name__)
def distro_is_supported(distro_name):
"""
An enforcer of supported distros that can differ from what ceph-deploy
supports.
"""
supported = ['centos', 'red... | {
"content_hash": "8228d6ec6d5dfc6301c4b636cf4a267f",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 95,
"avg_line_length": 29.055555555555557,
"alnum_prop": 0.5984703632887189,
"repo_name": "codenrhoden/ceph-deploy",
"id": "9bbea65ce29d1a6edec9c41d5141d7a83b58cdea",
"siz... |
'use strict';
var data = require('sdk/self').data;
var disable = {
firefox: {{json disable.firefox}}
};
{{#if extend_ff_index}}
{{> extend_ff_index }}
{{/if}}
{{#unless disable.firefox.page_action}}
{{#if page_action}}
require('sdk/ui/button/action').ActionButton({
{{#if page_action.id}}id: "{{page_action.id}... | {
"content_hash": "9d1739c0448eb4456ea06dda5269a5f4",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 88,
"avg_line_length": 23.340425531914892,
"alnum_prop": 0.5724703737465816,
"repo_name": "Tuguusl/grunt-browser-extension",
"id": "f65203cfe19265f39e0ed90dc8b40071d5722c34",... |
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/io.hummer.eclipse.jarSearch.feature_1.0.1.jar" id="io.hummer.eclipse.jarSearch.feature" version="1.0.1">
<category name="jarSearch"/>
</feature>
<category-def name="jarSearch" label="Eclipse JAR Search"/>
</site>
| {
"content_hash": "c12002f15e3d42e4c1cc2c386f74dfdd",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 130,
"avg_line_length": 42.42857142857143,
"alnum_prop": 0.6835016835016835,
"repo_name": "whummer/eclipseJarSearch",
"id": "ea7fd8875b624806a2b4630defefcc4e38e17fdd",
"size... |
package org.jivesoftware.smackx.jingleold.listeners;
import org.jivesoftware.smack.SmackException.NotConnectedException;
import org.jivesoftware.smackx.jingleold.media.PayloadType;
/**
* Interface for listening to jmf events.
* @author Thiago Camargo
*/
public interface JingleMediaListener extends JingleListener... | {
"content_hash": "b599f5f7925716a22a6d82891a278cbe",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 78,
"avg_line_length": 28.22222222222222,
"alnum_prop": 0.7296587926509186,
"repo_name": "TTalkIM/Smack",
"id": "49ec6d64ec67cff5bac892c0ddbc9ce3b2f0abcd",
"size": "1368",
... |
import { useNetInfo } from '@react-native-community/netinfo';
import {
cacheDirectory,
deleteAsync,
documentDirectory,
getInfoAsync,
makeDirectoryAsync,
moveAsync,
readAsStringAsync,
readDirectoryAsync,
writeAsStringAsync,
} from 'expo-file-system';
import * as Notifications from 'expo-notifications';... | {
"content_hash": "0e66a488423acc119387f323544f4992",
"timestamp": "",
"source": "github",
"line_count": 291,
"max_line_length": 111,
"avg_line_length": 31.030927835051546,
"alnum_prop": 0.6681063122923588,
"repo_name": "agrc/roadkill-mobile",
"id": "30f0edb9f7e3204709d494c4d253266b8b375d6a",
"size"... |
<!DOCTYPE html>
<html>
<head>
<title>TDI.Tools - QUnit Test suite</title>
<link rel="stylesheet" href="http://code.jquery.com/qunit/qunit-1.19.0.css">
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script src="http://code.jquery.com/qunit/qunit-1.19.0.js"></script>
<script src="http://code... | {
"content_hash": "40223f6cc1ae1021903648841601137d",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 77,
"avg_line_length": 28.058823529411764,
"alnum_prop": 0.6582809224318659,
"repo_name": "twinstone/tdi",
"id": "00938289d64fa4cd88770e01ef0a0375e31147ad",
"size": "477",
... |
#include <boost/filesystem.hpp>
#include <application/Logger.h>
#include "ArchiveFileSystem.h"
bool ros::ArchiveFileSystem::addArchive(ArchiveFilePtr archive) {
const fs::path& path = archive->getPath();
for (ArchiveFilesList::const_iterator iter = archives.begin(); iter != archives.end(); ++iter) {
i... | {
"content_hash": "44ee20d5b8175c642d2249419626b320",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 120,
"avg_line_length": 35.566265060240966,
"alnum_prop": 0.6239837398373984,
"repo_name": "lechkulina/RealmsOfSteel",
"id": "f2b60f22ec230359dc58788566182271e3473a74",
"si... |
package com.netflix.kayenta.config;
import static com.netflix.kayenta.graphite.E2EIntegrationTest.CANARY_WINDOW_IN_MINUTES;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.UnknownHostException;
import java.time.Instant;
import java.util.co... | {
"content_hash": "6c9e598c6c3e8aee999600717a6a6ee4",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 100,
"avg_line_length": 36.544642857142854,
"alnum_prop": 0.7068165160029318,
"repo_name": "spinnaker/kayenta",
"id": "a43b7cc01930a1cb03b709d64bd067f79da12fc4",
"size": "... |
export namespace crypto {
class BN { }
namespace ECDSA {
function sign(message: Buffer, key: PrivateKey): Signature;
function verify(hashbuf: Buffer, sig: Signature, pubkey: PublicKey, endian?: 'little'): boolean;
}
namespace Hash {
function sha1(buffer: Buffer): Buffer;
... | {
"content_hash": "0ac0e7ec9504713994447f45c722cc1c",
"timestamp": "",
"source": "github",
"line_count": 301,
"max_line_length": 119,
"avg_line_length": 26.93687707641196,
"alnum_prop": 0.6647755303404045,
"repo_name": "markogresak/DefinitelyTyped",
"id": "ec49f3043d32596e68e713e10b10687717f72828",
... |
class Story;
class Character;
namespace Ui {
class characterDialog;
}
class characterDialog : public QDialog
{
Q_OBJECT
public:
explicit characterDialog(QWidget *parent = 0);
characterDialog(Character* new_char, QWidget* parent = 0);
~characterDialog();
signals:
void newCharacter();
private slots:
void... | {
"content_hash": "385a077dc52dd3e162ce91438d662a87",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 60,
"avg_line_length": 15.516129032258064,
"alnum_prop": 0.7234927234927235,
"repo_name": "ROLL-E/roll-e",
"id": "e22c3aaca0aa4586051f641775b7a0f7a6453fcd",
"size": "555",
... |
'use strict';
var ono = require('ono');
var assign = require('../../util/assign');
var __internal = require('../../util/internal');
var validatePlugins = require('./validatePlugins');
var callSyncPlugin = require('./callSyncPlugin');
var callAsyncPlugin = require('./callAsyncPlugin');
module.exports = PluginHelper;
... | {
"content_hash": "072378d689a10201f576502a4e9e257d",
"timestamp": "",
"source": "github",
"line_count": 191,
"max_line_length": 107,
"avg_line_length": 28.287958115183248,
"alnum_prop": 0.6453821950768092,
"repo_name": "BigstickCarpet/json-schema-lib",
"id": "e74f81593901841d44f66f1902832f51d7c44965"... |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { AngularMultiSelectModule } from 'angular2-multiselect-dropdown/angular2-multiselect-dropdown';
... | {
"content_hash": "fef66b11fe5e1c1f6f7e87002d602eca",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 103,
"avg_line_length": 25.7,
"alnum_prop": 0.6945525291828794,
"repo_name": "CuppaLabs/cuppalabs.github.io",
"id": "fe6ede416ac4276fcf6dc61c6c0e49f7e0ca1bec",
"size": "514... |
module Cognizant
module Util
module DSLProxyMethodsHandler
attr_accessor :attributes
def initialize(entity, &dsl_block)
@attributes = Hash.new
end
def method_missing(name, *args, &block)
if args.size == 1 and name.to_s =~ /^(.*)=$/
@attributes[$1.to_sym] = args.... | {
"content_hash": "b997f8ac567405b477363b7d9738bd42",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 59,
"avg_line_length": 26.52,
"alnum_prop": 0.55052790346908,
"repo_name": "Gurpartap/cognizant",
"id": "4a385cf3bf885e8733e68568ce3289d842a5d3a2",
"size": "663",
"binary... |
package eu.henkelmann.actuarius
import org.scalatest.FlatSpec
import org.scalatest.Matchers
import org.junit.runner.RunWith
import org.scalatest.junit.JUnitRunner
/**
* Tests Inline Parsing, i.e. emphasis , strong text, links, escapes etc.
*/
@RunWith(classOf[JUnitRunner])
class InlineParsersTest extends FlatSpec w... | {
"content_hash": "d69a0b7e282e1b3d8f5b89d54076bae6",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 130,
"avg_line_length": 43.092369477911646,
"alnum_prop": 0.5211556383970177,
"repo_name": "KimStebel/actuarius",
"id": "4e2fc4cdc26c4cc9050bc37e4148c418ba6dcf62",
"size":... |
<?php
namespace Quartet\BaseApi\Api;
class Users extends AbstractApi
{
/**
* @return \Quartet\BaseApi\Entity\User
*/
public function me()
{
$data = $this->client->request('get', '/1/users/me');
return $this->entityManager->getEntity('User', $data['user']);
}
}
| {
"content_hash": "b4da156254f03484007ae331293cd91d",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 70,
"avg_line_length": 20.333333333333332,
"alnum_prop": 0.5868852459016394,
"repo_name": "quartetcom/base-api-php-client",
"id": "6295297dd2efec3d7535d724c7bcba42ca2a9028",
... |
<?php
namespace SimpleMvc;
/**
* View Class
*/
class View
{
protected $settings;
public function __construct($settings)
{
$this->settings = $settings;
}
public function rendering($file, $viewData, $header = null, $footer = null)
{
$eval_header = null;
$eval_foo... | {
"content_hash": "3740a8591cfec2f98daab4dffdd41671",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 98,
"avg_line_length": 27.919540229885058,
"alnum_prop": 0.522848909016056,
"repo_name": "Jamie-Kim/SimpleMvc",
"id": "a3a55450691739357116bd2a57f8769c2d7d53c3",
"size": "2... |
//
// SoundEngine.h
// SoA
//
// Created by John Doe on 2/5/16.
// Copyright © 2016 John Doe. All rights reserved.
//
#ifndef SoundEngine_h
#define SoundEngine_h
#import <AVFoundation/AVFoundation.h>
@interface SoundEngine : NSObject
@property (strong, nonatomic) AVAudioPlayer* player;
- (id) init;
- (void) p... | {
"content_hash": "426c924491e0edfe18d81674c7d16cd4",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 59,
"avg_line_length": 16.23076923076923,
"alnum_prop": 0.6800947867298578,
"repo_name": "nelfurion/IOS-Project",
"id": "d9e16a6ee3c251607d1a4e820360c4f2a310a673",
"size": ... |
id: test-runners
title: "Test Runners"
---
With a few lines of code, you can hook up Playwright to your favorite Java test runner.
Playwright and Browser instances can be reused between tests for better performance. We
recommend running each test case in a new BrowserContext, this way browser state will be
isolated b... | {
"content_hash": "98b10bef7284ad12591109a4301dd228",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 212,
"avg_line_length": 32.22994652406417,
"alnum_prop": 0.7192633150821304,
"repo_name": "microsoft/playwright",
"id": "9daf09cf0fd1e70fd3d0aeda2c3afe66e91487c1",
"size":... |
"""
Common functions
Marco Lui, January 2013
"""
from itertools import islice
import marshal
class Enumerator(object):
"""
Enumerator object. Returns a larger number each call.
Can be used with defaultdict to enumerate a sequence of items.
"""
def __init__(self, start=0):
self.n = start
def __call_... | {
"content_hash": "cfca8098af0a19ebce260945e4d1f69b",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 97,
"avg_line_length": 24.25,
"alnum_prop": 0.655081001472754,
"repo_name": "plamenbbn/XDATA",
"id": "e7b2d18fb5b70865966d23fe7e62eba8fd88b6ce",
"size": "3395",
"binary"... |
package TabServer2
//
// R E S T s e r v e r - Server Component (TabServer2)
//
// Copyright (C) Philip Schlump, 2012-2017 -- All rights reserved.
//
// Do not remove the following lines - used in auto-update.
// Version: 1.1.0
// BuildNo: 0391
// FileId: 0005
// File: TabServer2/crud.go
//
import (
"fmt"
"net/http... | {
"content_hash": "58709a373a96ca8ba6d077e547cddbb3",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 247,
"avg_line_length": 28.313725490196077,
"alnum_prop": 0.6772853185595568,
"repo_name": "pschlump/Go-FTL",
"id": "d4129d204f7e1d87619043b4f5bdf10cc3cd6cb3",
"size": "144... |
package io.opensec.oval.model.unix;
import io.opensec.oval.model.ComponentType;
import io.opensec.oval.model.Family;
import io.opensec.oval.model.common.CheckEnumeration;
import io.opensec.oval.model.definitions.StateRefType;
import io.opensec.oval.model.definitions.SystemObjectRefType;
import io.opensec.oval.model.d... | {
"content_hash": "8b90f0cc13a3634d63bf8187fb8c1280",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 94,
"avg_line_length": 22.75,
"alnum_prop": 0.5164835164835165,
"repo_name": "nakamura5akihito/opensec-oval",
"id": "0df88504cdb57d17d94b01da8f52218e8d9a57dc",
"size": "30... |
"""
Django settings for rbe project.
Generated by 'django-admin startproject' using Django 1.8.
For more information on this file, see
https://docs.djangoproject.com/en/1.8/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.8/ref/settings/
"""
# Build paths insi... | {
"content_hash": "899b7d40d5d651c7d8a7455433117b72",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 71,
"avg_line_length": 25.634615384615383,
"alnum_prop": 0.6864216054013503,
"repo_name": "install-logos/RiceBE",
"id": "2284cc3f337cba60db061c0f05b751838237b684",
"size":... |
Experimenting with building and pushing to docker scratch golang containers.
| {
"content_hash": "ea0686ea2901830685c40da03bad1bd0",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 76,
"avg_line_length": 77,
"alnum_prop": 0.8571428571428571,
"repo_name": "zet4/go-travis-docker-test",
"id": "5565240e65651da4ea150326409ed5f71cf9d0bf",
"size": "101",
"b... |
package com.ssp.web;
import org.avaje.agentloader.AgentLoader;
import org.junit.BeforeClass;
/**
* @author shailesh.patel
*/
public abstract class AppTestSupport {
/**
* This is needed to be done once to enhance all the entity objects for Ebean ORM.
*/
@BeforeClass
public static void runOnce(... | {
"content_hash": "4a05ffba324c6de7f286e75c279f09bb",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 86,
"avg_line_length": 22.833333333333332,
"alnum_prop": 0.6885644768856448,
"repo_name": "shailesh17/spring-boot-ebean-starter",
"id": "55f8d7a02121ea8085b7c1cb5890162b1b314... |
'use strict';
(function () {
var engine = require('./dom-wrapper.js');
require('./plugins/add.js')(engine);
require('./plugins/attr.js')(engine);
require('./plugins/class.js')(engine);
require('./plugins/remove.js')(engine);
require('./plugins/events.js')(engine);
require('./plugins/style.js')(engine);
requir... | {
"content_hash": "5b23e0cd6f2b4da496d45b27f745ebb3",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 53,
"avg_line_length": 27.91304347826087,
"alnum_prop": 0.6542056074766355,
"repo_name": "DavidBM/dom-wrapper",
"id": "cfc24822d1928b5c8271e29e0ff3fbcffdbfb6f4",
"size": "6... |
function clear(n)
% CLEAR Delete the C++ ReactorNet object.
% clear(n)
% :param n:
% Instance of class :mat:func:`ReactorNet`
%
reactornetmethods(1, n.index);
| {
"content_hash": "c0f6d3763d540eebbfcb7c8592669ece",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 46,
"avg_line_length": 20.625,
"alnum_prop": 0.6848484848484848,
"repo_name": "Heathckliff/cantera",
"id": "a043a977316fd269f2110c1826c28c7d17eb6e6a",
"size": "165",
"bina... |
<?php
namespace Blogger\ShopBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/hello/Fabien');
$this->ass... | {
"content_hash": "b484da0144cf5ff04a606f17fafc1fb2",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 90,
"avg_line_length": 23.58823529411765,
"alnum_prop": 0.6758104738154613,
"repo_name": "Pappa/symblog",
"id": "669913e604592be61296545f75739967e0d443c0",
"size": "401",
... |
package org.n52.sir.IT;
public class ServiceReferenceIT {
// TODO add integration tests for adding and removing service references
}
| {
"content_hash": "01a092c9eee121691e8153e98f5fb1dd",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 76,
"avg_line_length": 15.777777777777779,
"alnum_prop": 0.7535211267605634,
"repo_name": "52North/OpenSensorSearch",
"id": "b7a1cef6e6289ab94c4f6d763594b17fd1398eca",
"size... |
package com.haniokasai.mc.TinyMistress.playground;
import com.haniokasai.mc.TinyMistress.srv.OutputLogger;
import com.haniokasai.mc.TinyMistress.tools.TinyLogger;
import com.haniokasai.mc.TinyMistress.tools.config;
import java.io.*;
import java.lang.reflect.Field;
/**
* Created by hani on 2017/03/16.
*/
class ma... | {
"content_hash": "bf10211976df50cbc44eabb0e88cf6c3",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 55,
"avg_line_length": 19.294117647058822,
"alnum_prop": 0.774390243902439,
"repo_name": "haniokasai/TinyMistress",
"id": "9b806eedcd0d81ae6fc6ce2868d85ac900799b48",
"size"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0) on Thu Apr 28 12:34:54 CEST 2005 -->
<TITLE>
Dbase
</TITLE>
<META NAME="keywords" CONTENT="Dbase class">
<LINK REL ="stylesheet" TYPE="text/css" H... | {
"content_hash": "6554ac225bb0599ac597d8bf3cb02b90",
"timestamp": "",
"source": "github",
"line_count": 260,
"max_line_length": 217,
"avg_line_length": 36.82692307692308,
"alnum_prop": 0.6383289817232376,
"repo_name": "TeamSPoon/logicmoo_workspace",
"id": "85a6b7568b9c344473de56b8cabe74a4a60bf491",
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="GENERATOR" content="VSdocman - documentation generator; htt... | {
"content_hash": "263bfb2aed349f0e4dd51ddbdcb81679",
"timestamp": "",
"source": "github",
"line_count": 391,
"max_line_length": 472,
"avg_line_length": 30.191815856777495,
"alnum_prop": 0.6332909783989835,
"repo_name": "asiboro/asiboro.github.io",
"id": "7809be72728237322a9cc968d95b184496ec75b3",
"... |
/* -------------------------------------------------------------------------- */
/* Copyright 2002-2015, OpenNebula Project (OpenNebula.org), C12G Labs */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | {
"content_hash": "450e1c7dc06647983cbba8efe3a3af50",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 80,
"avg_line_length": 26.050279329608937,
"alnum_prop": 0.47716062620630495,
"repo_name": "Terradue/one",
"id": "68c4f863e60f1ff1df0a5f61a4d2fcfdd54b8385",
"size": "4663"... |
To use this extension, install it aside of Webmake:
$ npm install webmake-sass
If you use global installation of Webmake, then extension also needs to be installed globally:
$ npm install -g webmake-sass
When running Webmake, ask webmake to use it:
$ webmake --ext=sass program.js bundle.js
Same way wh... | {
"content_hash": "0483aba886cdab3606515c1a70b970b4",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 99,
"avg_line_length": 28.304347826086957,
"alnum_prop": 0.7296466973886329,
"repo_name": "acdaniel/webmake-sass",
"id": "53ce1795a8200fffc0c7be2f296099dea7a8320e",
"size":... |
![XCGLogger][xcglogger-logo]
[![badge-language]][swift.org]
[![badge-platforms]][swift.org]
[![badge-license]][license]
[![badge-travis]][travis]
[![badge-swiftpm]][swiftpm]
[![badge-cocoapods]][cocoapods-xcglogger]
[![badge-carthage]][carthage]
[![badge-mastodon]][mastodon-davewoodx]
[![badge-twitter]][twitter-dave... | {
"content_hash": "ebf8a0fd67f4679743f1ffea24a65cbd",
"timestamp": "",
"source": "github",
"line_count": 596,
"max_line_length": 688,
"avg_line_length": 51.00335570469799,
"alnum_prop": 0.7634712810053293,
"repo_name": "adonoho/XCGLogger",
"id": "ef38e96ad5afb0d5ec4d0149a2560110e760cba5",
"size": "3... |
<html lang="en">
<head>
<title>Fast enumeration protocol - Using the GNU Compiler Collection (GCC)</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using the GNU Compiler Collection (GCC)">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="... | {
"content_hash": "ef22d45c1f506ca3855a3fc3ce8c692f",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 138,
"avg_line_length": 48.6,
"alnum_prop": 0.72599451303155,
"repo_name": "teaguejt/xinu-rwb",
"id": "a5c12151428b4ad93d7ac35bf0ac43a3663d244e",
"size": "5832",
"binary... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using... | {
"content_hash": "4983b451130febba13b8bfbe2f09003d",
"timestamp": "",
"source": "github",
"line_count": 1647,
"max_line_length": 231,
"avg_line_length": 51.387978142076506,
"alnum_prop": 0.5700293019518881,
"repo_name": "abock/roslyn",
"id": "8c1fe47eb58b163e0d944fcb418b1b40f8ab9b84",
"size": "8464... |
<?php
declare(strict_types=1);
namespace Parsemd\Parsemd\Parsers\Parsemd\Abstractions\Inlines;
use Parsemd\Parsemd\Elements\InlineElement;
use Parsemd\Parsemd\Lines\Line;
use Parsemd\Parsemd\Parsers\Inline;
use Parsemd\Parsemd\InlineData;
use Parsemd\Parsemd\Parsers\Core\Inlines\AbstractInline;
use RuntimeException... | {
"content_hash": "13e2e6277e88c6936dded7c9d7488c9e",
"timestamp": "",
"source": "github",
"line_count": 519,
"max_line_length": 100,
"avg_line_length": 27.11175337186898,
"alnum_prop": 0.46229834411200343,
"repo_name": "Parsemd/Parsemd",
"id": "0bd64b8293f4d8ed32ede8a176367eef2a6e76f6",
"size": "14... |
import os
import shutil
import snapcraft
class WafPlugin(snapcraft.BasePlugin):
@classmethod
def schema(cls):
schema = super().schema()
schema['properties']['configflags'] = {
'type': 'array',
'minitems': 1,
'uniqueItems': True,
'items': {
... | {
"content_hash": "bc36d7f0d3673b74ec59236558b739b4",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 85,
"avg_line_length": 34.13157894736842,
"alnum_prop": 0.5169622205088666,
"repo_name": "Zap123/snappy-playpen",
"id": "01771c957103ca618daa4c8a5cb62f9b0e8d1078",
"size": ... |
layout: home
title: Contribute
sidebar: contribute
lang: en
---
<div class="page-header">
<h1>How to contribute ?</h1>
</div>
Thelia project is host on [GitHub](https://github.com/thelia/thelia). For contributing you just have to fork the project
and submit [Pull Request](https://help.github.com/articles/using-pul... | {
"content_hash": "02738e8e1d2124ec1aaef9fe8752818b",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 316,
"avg_line_length": 56.06542056074766,
"alnum_prop": 0.743790631771962,
"repo_name": "Mertiozys/thelia.github.io",
"id": "dd2aeee864986ae20e1bf7307cfe5a34221269b9",
"s... |
export type FlatMatrix = number[]
export type DeepMatrix = number[][]
export type Matrix = FlatMatrix | DeepMatrix
function isDeepMatrix(matrix: Matrix): matrix is DeepMatrix {
return Array.isArray(matrix[0])
}
export function ensureFlatMatrix(matrix: Matrix): FlatMatrix {
if (!matrix.length) {
throw new Erro... | {
"content_hash": "b3a1e7046e092edf7f7595d2a5ed2f5d",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 75,
"avg_line_length": 27.44,
"alnum_prop": 0.7084548104956269,
"repo_name": "ouranos-oss/js-image",
"id": "4cb2995efe648045ceb30012b24a97d427d6a7df",
"size": "686",
"bin... |
package org.redisson.client.codec;
import java.io.IOException;
import org.redisson.client.handler.State;
import org.redisson.client.protocol.Decoder;
import org.redisson.client.protocol.Encoder;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufAllocator;
/**
*
* @author Nikita Koksharov
*
*/
publ... | {
"content_hash": "2f1aa090bbdece91f23652db33b83113",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 74,
"avg_line_length": 24.019607843137255,
"alnum_prop": 0.6440816326530612,
"repo_name": "jackygurui/redisson",
"id": "9c9c0c7746dd52400b821efbbf40c97ff7393489",
"size": "... |
var handlebars = require('handlebars');
var swag = require('swag');
var fs = require('fs');
//test firebase json
var test = require('../firebase.json').apps["watch-coffee"];
swag.registerHelpers(handlebars);
var persitantDataSize = 0;
handlebars.registerHelper('cvarname', function(items, options){... | {
"content_hash": "f99e4a84a03a8f727014ec7a2604e435",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 129,
"avg_line_length": 25.855072463768117,
"alnum_prop": 0.6995515695067265,
"repo_name": "RapidCollective/watch-settings-server",
"id": "04a27520a546fa6499d0b1c233b7336a063... |
/* ==========================================================================
jQuery plugin settings and other scripts
========================================================================== */
$(document).ready(function(){
// Sticky footer
var bumpIt = function() {
$('body').css('margin-bottom', $... | {
"content_hash": "c6b1086ddca1e51f0de8039106ddca55",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 127,
"avg_line_length": 30.024390243902438,
"alnum_prop": 0.5491470349309504,
"repo_name": "opening-pathways/website",
"id": "d77b336a2dd295201d3f819d2ca99a4ed206b257",
"si... |
using Cassette.IO;
namespace Cassette
{
public class CompileContext
{
/// <summary>
/// The application relative path of the file being compiled.
/// </summary>
public string SourceFilePath { get; set; }
/// <summary>
/// The root directory of the appl... | {
"content_hash": "04c64fc147428101f5969409a1be5462",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 69,
"avg_line_length": 26.0625,
"alnum_prop": 0.5563549160671463,
"repo_name": "mhoyer/cassette",
"id": "19fffda900e6895f488d561e0eced9e3f3a3145d",
"size": "417",
"binary... |
'use strict';
const Sequelize = require('sequelize');
const db = require('APP/db');
const Order = db.define('order', {
isResolved: Sequelize.BOOLEAN,
deliveredAt: Sequelize.DATE,
}, {
getterMethods: {
getFormatedDate: function (){
let formattedDate;
return this.deliveredAt;
}
},
insta... | {
"content_hash": "fa7e0dfaab9301df3f64325e5f9e8698",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 39,
"avg_line_length": 19.423076923076923,
"alnum_prop": 0.6316831683168317,
"repo_name": "pdelac01/ComicShopper",
"id": "8797307f06c95e523b5c8a9a9e08ec748f663798",
"size":... |
namespace llvm {
/// @brief Lazy-emitting IR layer.
///
/// This layer accepts sets of LLVM IR Modules (via addModuleSet), but does
/// not immediately emit them the layer below. Instead, emissing to the base
/// layer is deferred until some symbol in the module set is requested via
/// getSymbolAddress.
template <t... | {
"content_hash": "fd88fa305393db2f694d7a5866b23af5",
"timestamp": "",
"source": "github",
"line_count": 236,
"max_line_length": 80,
"avg_line_length": 38.00847457627118,
"alnum_prop": 0.6638795986622074,
"repo_name": "impedimentToProgress/Ratchet",
"id": "c9463e4071af7292d050f101ae1b744792466c46",
... |
from setuptools import setup, find_packages
# Get the long description from the relevant file
# with codecs_open('README.rst', encoding='utf-8') as f:
# long_description = f.read()
setup(name='mica',
version='0.0.1',
description=u"Matplotlib Improved Color Abbreviations",
#long_description=lon... | {
"content_hash": "ab89848cec3f45b4f6c4efabc60f0fbb",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 72,
"avg_line_length": 28.806451612903224,
"alnum_prop": 0.6136618141097424,
"repo_name": "julianirwin/mica",
"id": "fe49d3b079b6661b4e72caa469d3545b551e756b",
"size": "934... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var LS_ACCESS_TOKEN_KEY = exports.LS_ACCESS_TOKEN_KEY = 'gitment-comments-token';
var LS_USER_KEY = exports.LS_USER_KEY = 'gitment-user-info';
var NOT_INITIALIZED_ERROR = exports.NOT_INITIALIZED_ERROR = new Error('Comments Not Initialized'... | {
"content_hash": "093edca76b5767e54e228fc1d142a763",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 98,
"avg_line_length": 36,
"alnum_prop": 0.7388888888888889,
"repo_name": "tanwubin/tanwubin.github.io",
"id": "89c7517f1bc673592c98765240df4d680b285a5d",
"size": "360",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.