text stringlengths 2 1.04M | meta dict |
|---|---|
package com.google.errorprone.refaster.testdata.template;
import com.google.errorprone.refaster.annotation.AfterTemplate;
import com.google.errorprone.refaster.annotation.BeforeTemplate;
import com.google.errorprone.refaster.annotation.Repeated;
/**
* Example Refaster rule matching varargs.
*
* @author juanch@g... | {
"content_hash": "05583af528ba6f0af0b36b8f6c9ab308",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 64,
"avg_line_length": 25.22222222222222,
"alnum_prop": 0.7415565345080763,
"repo_name": "Anish2/error-prone",
"id": "b52b057e4dc60671f29d52aa0493e3feb8d80a7f",
"size": "12... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CyPhy = ISIS.GME.Dsml.CyPhyML.Interfaces;
using CyPhyClasses = ISIS.GME.Dsml.CyPhyML.Classes;
using GmeCommon = ISIS.GME.Common;
using GME.CSharp;
namespace CyPhy2CAD_CSharp.DataRep
{
public class Struct... | {
"content_hash": "d6a33d819b7295bab785d1acb328dabe",
"timestamp": "",
"source": "github",
"line_count": 554,
"max_line_length": 352,
"avg_line_length": 46.67870036101083,
"alnum_prop": 0.4969450889404486,
"repo_name": "pombredanne/metamorphosys-desktop",
"id": "3170e22d0f23fdb2b3d5266e988130e8f686a90... |
#ifndef __H_VHWD_INDEXER_MAP__
#define __H_VHWD_INDEXER_MAP__
#include "vhwd/collection/detail/indexer_container.h"
VHWD_ENTER
template<typename K,typename V,typename A=def_allocator,typename P=indexer_trait<K,V,int> >
class indexer_map : public indexer_container<P,A>
{
protected:
typedef indexer_c... | {
"content_hash": "18f70e6d7bc397ae106fbe6e1738e6e2",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 91,
"avg_line_length": 24.07843137254902,
"alnum_prop": 0.6970684039087948,
"repo_name": "xiongqiangcs/vhwd_base",
"id": "d9a9208a754942eb68465b7feccae4f75a3e3a15",
"size":... |
package io.crnk.example.jersey.domain.repository;
import io.crnk.core.queryspec.QuerySpec;
import io.crnk.core.repository.ResourceRepositoryBase;
import io.crnk.example.jersey.domain.model.Project;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.conc... | {
"content_hash": "087432d803dcdff309c0cba9fb567112",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 111,
"avg_line_length": 28.07547169811321,
"alnum_prop": 0.7466397849462365,
"repo_name": "crnk-project/crnk-framework",
"id": "085a22a6ca893f1bc76d7ccb17a9ccbc05ae006d",
"... |
package com.meizhuo.etips.db;
import java.util.ArrayList;
import java.util.List;
import android.content.ContentValues;
import android.content.Context;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import com.meizhuo.etips.activitie... | {
"content_hash": "a1524990e1d30f4442e28d1c26ebac40",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 116,
"avg_line_length": 25.01123595505618,
"alnum_prop": 0.6199460916442049,
"repo_name": "Jayin/ETips",
"id": "ced6591a1abc2305e63778ccf49e2cd4af832999",
"size": "4624",
... |
package com.twosigma.beaker.table.serializer;
import com.twosigma.beaker.table.highlight.HeatmapHighlighter;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.Serialize... | {
"content_hash": "b5c4da05177aaba28e38fbc7ed74e1ce",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 99,
"avg_line_length": 33.714285714285715,
"alnum_prop": 0.711864406779661,
"repo_name": "ScottPJones/beaker-notebook",
"id": "96e30a91a61f68b9c3e1f52b8dc70d9e6b129816",
"s... |
from sqlalchemy import (Column, ForeignKey, MetaData, PrimaryKeyConstraint,
Table, UniqueConstraint)
from sqlalchemy.ext.associationproxy import association_proxy
from sqlalchemy.types import *
from sqlalchemy.orm import backref, relationship
from pokedex.db import tables as dex_tables
from pok... | {
"content_hash": "7ee576e3ce7a43d692a1de55de6c8ac3",
"timestamp": "",
"source": "github",
"line_count": 478,
"max_line_length": 92,
"avg_line_length": 38.91004184100419,
"alnum_prop": 0.6775633098553686,
"repo_name": "encukou/ptcgdex",
"id": "4ce2d74847bb4efd228583e374529fffdfb05649",
"size": "1862... |
/*
* global.h
*
* Created on: Apr 5, 2013
* Authors: vgomez, Sep Thijssen
*/
#ifndef GLOBAL_H_
#define GLOBAL_H_
#include <vector>
#include <math.h>
#include <iostream>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <ctime>
#include <hal_quadrotor/State.h>
#define SIZE_MSG 5
using name... | {
"content_hash": "39d5975e7377bb57f6c845be73dd6dad",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 59,
"avg_line_length": 17.980392156862745,
"alnum_prop": 0.6673936750272628,
"repo_name": "jiangchenzhu/crates_zhejiang",
"id": "aa993eaf1353cac23080f88901a097233979ab3c",
... |
package com.github.tomtung.latex2unicode.helper
object Style {
val alias = Map(
"\\bf" -> "\\textbf",
"\\cal" -> "\\textcal",
"\\it" -> "\\textit",
"\\tt" -> "\\texttt"
)
val names: Set[String] = alias.keySet
def translate(command: String, text: String): String = {
if (!names.contains(com... | {
"content_hash": "3137b9a1dfc709946f23565228b38c34",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 70,
"avg_line_length": 22.75,
"alnum_prop": 0.6,
"repo_name": "tomtung/latex2unicode",
"id": "d61ee2947ca223085ab5da81fc49cf6ec6531dbe",
"size": "455",
"binary": false,
... |
<?php
namespace Redmine\Api;
/**
* Listing issues, searching, editing and closing your projects issues.
*
* @link http://www.redmine.org/projects/redmine/wiki/Rest_Issues
* @author Kevin Saliou <kevin at saliou dot name>
*/
class Issue extends AbstractApi
{
const PRIO_LOW = 1;
const PRIO_NORMAL ... | {
"content_hash": "0a1ea7ff26377faa4838bdbff97acd0e",
"timestamp": "",
"source": "github",
"line_count": 281,
"max_line_length": 135,
"avg_line_length": 34.188612099644125,
"alnum_prop": 0.5150411158530238,
"repo_name": "BertaOctech/php-redmine-api",
"id": "fd962f282e16ae843d8f96f12a0d4d06fa960a3e",
... |
#import <objc/runtime.h>
#if ! __has_feature(objc_arc)
#warning This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#endif
@implementation XMPPMessage
+ (void)initialize
{
// We use the object_setClass method below to dynamically change the class from a standard NSXML... | {
"content_hash": "a26640c35c38b3dd6eb98cbc1b10dd1d",
"timestamp": "",
"source": "github",
"line_count": 208,
"max_line_length": 131,
"avg_line_length": 27.552884615384617,
"alnum_prop": 0.6932472517885185,
"repo_name": "supertalent1982/lyphy",
"id": "5c5263fef49d2fbeb8da4cf3450806b195647a37",
"size... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cat.calidos.morfeu</groupId>
<artifactId>morfeu-webapp</artifactId>
... | {
"content_hash": "d00ba5b3398435c9f0d0f8fdd16dc1d7",
"timestamp": "",
"source": "github",
"line_count": 598,
"max_line_length": 204,
"avg_line_length": 33.30769230769231,
"alnum_prop": 0.6689928707701577,
"repo_name": "danigiri/morfeu",
"id": "a5f674694d0a036935fed2f45f3da72978de7f3e",
"size": "199... |
package com.gauravbytes.singleton.perclassloader;
/**
*
* @author Mazra, Gaurav Rai
*
*/
public enum Singleton {
INSTANCE;
public void doStuff() {
//
}
}
| {
"content_hash": "8fff042200c15c12c103c43665f6517e",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 49,
"avg_line_length": 12.928571428571429,
"alnum_prop": 0.5966850828729282,
"repo_name": "gauravrmazra/gauravbytes",
"id": "fb9a899d67949708d5597c5a1f771a768c530226",
"siz... |
function Z = projectData(X, U, K)
Z = zeros(size(X, 1), K);
% ====================== YOUR CODE HERE ======================
% Instructions: Compute the projection of the data using only the top K
% eigenvectors in U (first K columns).
% For the i-th example X(i,:), the projection on to the ... | {
"content_hash": "08dd1f8d992d0fc44a8b7dc56c16a1f6",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 75,
"avg_line_length": 43.53846153846154,
"alnum_prop": 0.42402826855123676,
"repo_name": "lirenjie95/DataMining",
"id": "36c58c16cdd52a85dbb42ef0ee1e637541961870",
"size":... |
var webpack = require('webpack');
var htmlWebpackPlugin = require('html-webpack-plugin')
var ExtractTextPlugin = require('extract-text-webpack-plugin');
module.exports = {
entry: './src/main.ts',
output: {
path: './dist',
filename: 'app.bundle.js',
},
module: {
loaders: [
... | {
"content_hash": "86424b7a4ed9b8ef33971227439e7b6b",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 81,
"avg_line_length": 29.24390243902439,
"alnum_prop": 0.48040033361134277,
"repo_name": "tariknz/wallofcolours",
"id": "b28cb5d0b676459a6c1cfaac031cec3e04ca8114",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>AppcastItem - FAKE - F# Make</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Steffen Forkmann, Mauricio Scheffer, Colin Bull... | {
"content_hash": "98da65b91345c647984ea5ff2b31e6cc",
"timestamp": "",
"source": "github",
"line_count": 291,
"max_line_length": 209,
"avg_line_length": 45.04810996563574,
"alnum_prop": 0.5478678770310473,
"repo_name": "et1975/FsStorm",
"id": "24184d6d92f736a1b613f95280c1d4d59add0f7f",
"size": "1310... |
<?php
namespace lukisongroup\purchasing\controllers;
use yii;
use yii\web\Request;
use yii\db\Query;
//use yii\data\ActiveDataProvider;
use yii\data\ArrayDataProvider;
use yii\helpers\ArrayHelper;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\Json;
use yii\helpe... | {
"content_hash": "516e53be8431124918755993b9ece19f",
"timestamp": "",
"source": "github",
"line_count": 830,
"max_line_length": 154,
"avg_line_length": 29.002409638554216,
"alnum_prop": 0.5599867065470255,
"repo_name": "adem-team/advanced",
"id": "d8993a57ead361292760daf1223256002a92b2cb",
"size": ... |
package org.apache.hadoop.examples.priorityiteration;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.StringTokenizer;
import org.apache.hadoop.fs.FSDataInputStream;
import org.apache.hadoop.fs.FileSys... | {
"content_hash": "4efc2b46c9d2116b9edf2d15b4e84763",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 167,
"avg_line_length": 31.089385474860336,
"alnum_prop": 0.6799640610961366,
"repo_name": "IMCG/priter",
"id": "e1d257dad944fb9a6cba346f97030ce58defffd2",
"size": "5565",... |
This site uses [Jekyll Uptrend](http://jekyll-uptrend.org/).
| {
"content_hash": "f4cb08e421b131b4fac77adc4aafacb5",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 60,
"avg_line_length": 61,
"alnum_prop": 0.7377049180327869,
"repo_name": "baus/jekyll-uptrend",
"id": "e5f05c075b865d7608fd4c9490f3c04bf9213785",
"size": "61",
"binary": ... |
package com.timgroup.karg.reference;
public interface Lens<O, T> extends Getter<O, T>, Setter<O, T> { }
| {
"content_hash": "40ab4787534e691ad983cdd5a8d19e75",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 66,
"avg_line_length": 35,
"alnum_prop": 0.7142857142857143,
"repo_name": "tim-group/karg",
"id": "12a0f378d78d44cf8f2c7954b211b618f089bfa1",
"size": "105",
"binary": fals... |
@interface MDImageZoomAnimationController : NSObject <UIViewControllerAnimatedTransitioning>
// The image view that will be used as the source (zoom in) or destination
// (zoom out) of the transition.
@property (nonatomic, weak, readonly) UIImageView *referenceImageView;
@property (nonatomic, assign) BOOL hideReferen... | {
"content_hash": "5631fdeb1befaef698a55ab6a84d453e",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 310,
"avg_line_length": 46.44117647058823,
"alnum_prop": 0.8537048765041165,
"repo_name": "Modool/MDTransitioning",
"id": "74e3313732f868203ea6d670a7a3dd2645c5a98d",
"size"... |
using namespace llvm;
#define DEBUG_TYPE "si-optimize-exec-masking"
namespace {
class SIOptimizeExecMasking : public MachineFunctionPass {
public:
static char ID;
public:
SIOptimizeExecMasking() : MachineFunctionPass(ID) {
initializeSIOptimizeExecMaskingPass(*PassRegistry::getPassRegistry());
}
bool ru... | {
"content_hash": "afd875b7e998c23d4464e52f17c4de21",
"timestamp": "",
"source": "github",
"line_count": 405,
"max_line_length": 80,
"avg_line_length": 30.674074074074074,
"alnum_prop": 0.6427593978910087,
"repo_name": "llvm-mirror/llvm",
"id": "cc9b46a755823b7be8d838893fff472bc879873f",
"size": "13... |
function val = normProduct(Ms, xs, g)
val = innerprodProduct(Ms, xs, g, g);
val = sqrt(val);
end | {
"content_hash": "dd823ebb6b8108d89d1c50df503f2876",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 41,
"avg_line_length": 26,
"alnum_prop": 0.625,
"repo_name": "losangle/bfgsManopt",
"id": "5572db57fe9bc6e3c994646cd358acd319ccc899",
"size": "104",
"binary": false,
"co... |
require "docker/api/entity"
module Docker
module Api
class Service < Entity
def inspect_service
client.service_inspect(id, self)
end
def remove
client.service_remove(id)
end
def update(config, params = {})
client.service_update(id, config, params)
end... | {
"content_hash": "8dd7dfad5fdf71051fd1b21a9c3b5282",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 49,
"avg_line_length": 17.789473684210527,
"alnum_prop": 0.6094674556213018,
"repo_name": "Vince300/docker-swarm-compose",
"id": "09409a78a8f71e223a1cffe39b95fe49db0449c7",
... |
package armeventhub
import (
"encoding/json"
"fmt"
"github.com/Azure/azure-sdk-for-go/sdk/azcore"
"reflect"
)
// MarshalJSON implements the json.Marshaller interface for type ApplicationGroupProperties.
func (a ApplicationGroupProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
... | {
"content_hash": "f369a6f6c97af3125d63e43b8b4a8ee8",
"timestamp": "",
"source": "github",
"line_count": 500,
"max_line_length": 120,
"avg_line_length": 37.3,
"alnum_prop": 0.7440214477211796,
"repo_name": "Azure/azure-sdk-for-go",
"id": "ef09a0cf86534446f3a605c23255ab74d33e9a14",
"size": "18989",
... |
import os
import subprocess
import sys
HERE = os.path.abspath(__file__)
frag = os.path.splitext(sys.argv[1])[0] + ".frag"
print(frag)
cmd = os.path.join(os.path.dirname(HERE), "fake_compiler") + " " + frag
p = subprocess.run(
cmd,
shell=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
unive... | {
"content_hash": "9150dea9976710ae980a37f9816cbc23",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 71,
"avg_line_length": 18.4,
"alnum_prop": 0.6630434782608695,
"repo_name": "google/graphicsfuzz",
"id": "a5bab7c54a5eb38b3e73dce91347768a30eaa386",
"size": "1078",
"bina... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "5cdbcd5fd387c35562e2599752d8b990",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "8e72924cf4d85b7e1c4d3824d517bb60f3e335e4",
"size": "177... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "232e8c3a57b946cebaf2dbd90ac6b89c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "367345ef907b56738fbd302a135fc505eb9f2cc5",
"size": "178... |
from collections import OrderedDict
from ..framework import Program
__all__ = ['op_freq_statistic']
def op_freq_statistic(program):
"""
Statistics of Op frequency.
Args:
program(Program): The current Program.
Returns:
uni_op_freq(dict): the single op frequency.
adj_2_op_fre... | {
"content_hash": "6429d295bd61f6a31ece751fbfc2c3ec",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 73,
"avg_line_length": 30.96842105263158,
"alnum_prop": 0.5129163834126444,
"repo_name": "luotao1/Paddle",
"id": "ee435ac657af3ed7421312073cef537cde6fd9f3",
"size": "3554",... |
@interface ZXRGBLuminanceSourceTestCase : XCTestCase
@end
| {
"content_hash": "b6b0e6baa998f36fd00692ff4c5de4bf",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 52,
"avg_line_length": 12.2,
"alnum_prop": 0.819672131147541,
"repo_name": "TheLevelUp/ZXingObjC",
"id": "fc30b9a081a35a76490445ce737ad7ac4c157218",
"size": "658",
"binary... |
<label [attr.for]="inputId" class="mc-checkbox-layout" #label>
<div class="mc-checkbox-inner-container"
[class.mc-checkbox-inner-container-no-side-margin]="!checkboxLabel.textContent || !checkboxLabel.textContent.trim()">
<input #input
type="checkbox"
class="mc-checkbo... | {
"content_hash": "91199333ffd426c6c15121d63ce0d801",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 126,
"avg_line_length": 42.89655172413793,
"alnum_prop": 0.5554662379421221,
"repo_name": "positive-js/mosaic",
"id": "11f5334dbcd97bff92313d71a39cd1e2005cd415",
"size": "1... |
Rails.application.routes.draw do
resources :delayed_jobs do
end
resources :genomes do
resources :scaffolds do
resources :features
end
resources :features
end
# You can have the root of your site routed with "root"
root 'welcome#index'
end
| {
"content_hash": "e5fcdbf3b3a823a8f812f1d7cc9a0f77",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 57,
"avg_line_length": 18.133333333333333,
"alnum_prop": 0.7022058823529411,
"repo_name": "audy/genome-explorer",
"id": "c41719a89300f3d0aa74f2addff0e18d86ab1cf9",
"size": ... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="15dp"
android:background="#8000">
<!--舒适度、洗车指数和运动建议布局-->
... | {
"content_hash": "41860cf603fba04729dec1ac897edcd0",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 62,
"avg_line_length": 30.75609756097561,
"alnum_prop": 0.6352101506740682,
"repo_name": "zhfdzh/coolweather",
"id": "fe270360129bb6cbc844e6b73b2e95a513345840",
"size": "12... |
package org.apache.helix.filestore;
import java.io.File;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.io.FileUtils;
import org.apache.helix.HelixDataAccessor;
import org.apache.helix.HelixManager;
import org.apache.helix.PropertyKey.B... | {
"content_hash": "628e4c844002e26ec014c3aa3e0c530c",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 99,
"avg_line_length": 40.14364640883978,
"alnum_prop": 0.6663914120561519,
"repo_name": "lei-xia/helix",
"id": "bafa163d5e6fe32f78350d65d6bc1b01d5f4f58e",
"size": "8073",... |
using DKEngine;
using DKEngine.Core;
using DKEngine.Core.Components;
using DKEngine.Core.UI;
namespace MarIO.Assets.Scripts
{
public class GUIUpdateScript : Script
{
private TextBlock Time;
private TextBlock Coins;
private TextBlock World;
private TextBlock Lives;
priva... | {
"content_hash": "6d46ca7bec61c85f9b4080d51b5f4027",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 94,
"avg_line_length": 36.44444444444444,
"alnum_prop": 0.6207317073170732,
"repo_name": "meowside/DKEngine",
"id": "0e857a5b24f402d0efc0a07424219205d82f9d24",
"size": "164... |
class RemoveLikesFromImages < ActiveRecord::Migration
def up
remove_column :images, :likes
end
def down
add_column :images, :likes, :integer
end
end
| {
"content_hash": "59f296b1bd45bdf69667552dae2033ac",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 53,
"avg_line_length": 18.444444444444443,
"alnum_prop": 0.7108433734939759,
"repo_name": "yangli85/pandora",
"id": "6aee9fbe364271c5548c487017f444ea830b77a5",
"size": "166"... |
package java.io;
import com.jtransc.JTranscArrays;
import java.util.Arrays;
/**
* Wraps an existing {@link InputStream} and adds functionality to "push back"
* bytes that have been read, so that they can be read again. Parsers may find
* this useful. The number of bytes which may be pushed back can be specified... | {
"content_hash": "86b0a7e78e7a80c79a6f14ec99e9b066",
"timestamp": "",
"source": "github",
"line_count": 320,
"max_line_length": 97,
"avg_line_length": 36.00625,
"alnum_prop": 0.5923450789793439,
"repo_name": "intrigus/jtransc",
"id": "a271d83828993ad64e9be09b1fc37be54b8dc84f",
"size": "12334",
"b... |
package com.learn_textinput;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript.
* This is used to schedule rendering of the component.
*/
@Override
protected String getMainCompo... | {
"content_hash": "672b1f52f16f0bd62199c935ae01834e",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 73,
"avg_line_length": 25,
"alnum_prop": 0.704,
"repo_name": "renxlWin/React-Native_Demo",
"id": "0587c23916e3b48c15b36bc2399381049b4e21e7",
"size": "375",
"binary": fals... |
import sys
import re
import logging
import simplejson as json
from cgi import escape
from datetime import datetime
from datetime import timedelta
from time import mktime
from time import sleep
from string import Template
from htmlentitydefs import name2codepoint
from os import environ
from google.appengine.ext impor... | {
"content_hash": "1376a5e77658245f4c617ad224ec7b4f",
"timestamp": "",
"source": "github",
"line_count": 401,
"max_line_length": 212,
"avg_line_length": 26.129675810473817,
"alnum_prop": 0.5736781828593243,
"repo_name": "jamesward/plusfeed",
"id": "713faead8c6024759b3783756baa8b8565e3e9c2",
"size": ... |
<?php
namespace CP\Bundle\TermsBundle\Propel\Behavior\Tos;
use Behavior;
use ForeignKey;
class TosBehavior extends Behavior
{
protected $objectBuilderModifier;
protected $queryBuilderModifier;
public function getObjectBuilderModifier()
{
if (is_null($this->objectBuilderModifier)) {
... | {
"content_hash": "e5b53dbc3b81bbffe2f4793b19e63254",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 92,
"avg_line_length": 26.06,
"alnum_prop": 0.6615502686108979,
"repo_name": "coopers-peele/CPTermsBundle",
"id": "e31629bc44d3958237f58e6e94c77be321947fde",
"size": "1303"... |
package org.apache.uima.caseditor.ide;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectNature;
import org.eclipse.core.runtime.CoreException;
public final class NlpProject implements IProjectNature {
private IProject project;
@Override
public void configure() throws Cor... | {
"content_hash": "8ce21c68775047b4d8ee2aa180904b91",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 57,
"avg_line_length": 18.9,
"alnum_prop": 0.7477954144620811,
"repo_name": "apache/uima-uimaj",
"id": "ca6b0e19d3729593c354b2f7e9dc7c06b7ddced9",
"size": "1374",
"binary... |
import {Component, Input, OnDestroy, OnInit} from '@angular/core';
import {ParamMap, ActivatedRoute} from "@angular/router";
import {UsersRemoteService} from "./users-remote-service";
/**
* This class represents the lazy loaded HomeComponent.
*/
@Component({
moduleId: module.id,
selector: 'user-info',
templat... | {
"content_hash": "2955ea7f8b8c552ce186658293012f06",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 89,
"avg_line_length": 22.19047619047619,
"alnum_prop": 0.6723891273247496,
"repo_name": "zedany7/omroqha-admin",
"id": "970a24308f8e16b701897706d8d4f39dd9a213e5",
"size": ... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a0b605acc042edd5a5c7b8e5bafa848c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "45389cf51b1b3bd4a2a4e41a8dc1cf3c6e34d58e",
"size": "176... |
package examples.todolist.persistence.runtime
import cats.Monad
import doobie.implicits._
import doobie.util.transactor.Transactor
import examples.todolist.model.AppModel
import examples.todolist.persistence.AppRepository
class AppRepositoryHandler[F[_]: Monad](implicit T: Transactor[F])
extends AppRepository.H... | {
"content_hash": "b9b0f4079a2cdfdb6453da323044bfa2",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 67,
"avg_line_length": 26.166666666666668,
"alnum_prop": 0.7940552016985138,
"repo_name": "frees-io/freestyle",
"id": "c5700a69aeb8823bf9bd87f0653c5efb48552c05",
"size": "1... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/tv_demo1"
and... | {
"content_hash": "4b65c8b8906620d91378fa8e127e8d7b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 72,
"avg_line_length": 34.23076923076923,
"alnum_prop": 0.6292134831460674,
"repo_name": "SethWen/LearningDemo",
"id": "4ce73eaebb90e64ac7c1cb92a7f605d7152ef552",
"size": "... |
package com.kekexun.soochat.smack;
import java.io.IOException;
import org.jivesoftware.smack.SmackException;
import org.jivesoftware.smack.provider.IQProvider;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
public class CustomIQProvider extends IQProvider<CustomIQ> {
... | {
"content_hash": "272a4b454d61396508e11ca9ab922c1a",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 123,
"avg_line_length": 25.217391304347824,
"alnum_prop": 0.7724137931034483,
"repo_name": "Soo000/SooChat",
"id": "6a2c2cf0dce76dc23cdafd30fa0788e10e86c575",
"size": "580"... |
package com.googlesource.gerrit.plugins.importer;
import static com.google.gerrit.httpd.restapi.RestApiServlet.JSON_MAGIC;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import org.apache.http.client.methods.CloseableHttpResponse;
public class RestResponse extends HttpResponse {... | {
"content_hash": "8ba4a6be063e35117c5220783c46065c",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 72,
"avg_line_length": 28.375,
"alnum_prop": 0.7547723935389133,
"repo_name": "GerritCodeReview/plugins_importer",
"id": "27ca57068ec946b9120d9410a897d6e4abb5f3d0",
"size":... |
namespace INMOST {
class SolverSUPERLU : public SolverInterface {
private:
#if defined(USE_SOLVER_SUPERLU_DIST)
dLUstruct_t LUstruct;
dSOLVEstruct_t SOLVEstruct;
dScalePermstruct_t ScalePermstruct;
gridinfo_t grid;
superlu_dist_options_t options_;
SuperLUStat_t stat_;
int g_size;
#else //USE_SOLV... | {
"content_hash": "428d49989b392dca4af011998fd2c008",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 96,
"avg_line_length": 25.383333333333333,
"alnum_prop": 0.659881812212738,
"repo_name": "INMOST-DEV/INMOST",
"id": "801008d9f1e7f978ea7a35323d3deff6301a46e2",
"size": "173... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cryptany.Core.Router.Data;
using System.Diagnostics;
using System.Threading;
using Cryptany.Common.Utils;
using Cryptany.Core.Monitoring;
namespace Cryptany.Core.Router.Data
{
partial class ServiceBlock
{
//pu... | {
"content_hash": "c7067ed0c6ef61693fcc3f277a61135a",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 166,
"avg_line_length": 38.151785714285715,
"alnum_prop": 0.5134565878773695,
"repo_name": "erupakov/legacy",
"id": "304bc3c7e64f362f4aa411f7a30d5e21452fbb03",
"size": "10... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddHotNewRecommendArticle extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('articles'... | {
"content_hash": "6a6173c829681e60e4c3c79716c670cc",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 72,
"avg_line_length": 24.41176470588235,
"alnum_prop": 0.5710843373493976,
"repo_name": "moore0903/laravel-shop",
"id": "7285763b73c0262cf1a390a10beda719fcbc54cf",
"size":... |
package sagan.site.projects;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
@Repository
public interface ReleaseRepository extends JpaRepositor... | {
"content_hash": "f879a52f020797850034fe1efc519643",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 109,
"avg_line_length": 45.25,
"alnum_prop": 0.7969613259668509,
"repo_name": "spring-io/sagan",
"id": "491dd0baf90a86a4ea07121255164cb17eaefde5",
"size": "724",
"binary"... |
<?php
/* This document is meant to follow PSR-1 and PSR-2 php-fig standards
http://www.php-fig.org/psr/psr-1/
http://www.php-fig.org/psr/psr-2/ */
/**
* The Event System Aware Interface
*
* This file contains the AwareInterface. Objects that are 'aware'
* of the Universal Event (library) have a tracker in... | {
"content_hash": "02ddc37f3189460ac6ba54a1911f4f96",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 86,
"avg_line_length": 29.36231884057971,
"alnum_prop": 0.6535044422507403,
"repo_name": "asherwunk/primus2",
"id": "00075016efbb41c85e46c248f83e04a3506f8aec",
"size": "202... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "9e0ffed54f8d51699b8dcf9b7cf4bc8b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "e70b1149ab70953f5574f1610dada92831e5cb06",
"size": "20... |
package org.apache.ignite.internal.processors.cache.distributed.dht;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import org.apache.ignite.Ignite;
import ... | {
"content_hash": "37541c11d0e3fa3f9f099dc6b310ab3c",
"timestamp": "",
"source": "github",
"line_count": 612,
"max_line_length": 130,
"avg_line_length": 32.55065359477124,
"alnum_prop": 0.5895286381205763,
"repo_name": "amirakhmedov/ignite",
"id": "23ba4b31b4e0aa2d776a8ae16fd2ca094ebdf11c",
"size": ... |
"""
Dependencies register functions.
---
type:
python_module
validation_level:
v00_minimum
protection:
k00_public
copyright:
"Copyright 2016 High Integrity Artificial Intelligence Systems"
license:
"Licensed under the Apache License, Version 2.0 (the License);
you may not use this file exce... | {
"content_hash": "0f509e4eec052288408b660d2b738556",
"timestamp": "",
"source": "github",
"line_count": 502,
"max_line_length": 79,
"avg_line_length": 34.23107569721115,
"alnum_prop": 0.47794459962756053,
"repo_name": "wtpayne/hiai",
"id": "ce9091bf02face3ce4c8eb9e4258808356d8c0ca",
"size": "17208"... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#fff">
<RelativeLayout
android:layout_width="match_pare... | {
"content_hash": "111ff403991d860ae37827587855adc7",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 72,
"avg_line_length": 33.57142857142857,
"alnum_prop": 0.6204255319148936,
"repo_name": "hln0408/coolweather",
"id": "4a30b49c9c392bd48056506f22bc98a4230e97cb",
"size": "1... |
import express from 'express'
import consign from 'consign'
import bodyParser from 'body-parser'
import expressValidator from 'express-validator'
module.exports = () => {
const app = express()
app.set('port', process.env.PORT || 3000)
app.use(bodyParser.json())
app.use(bodyParser.urlencoded({extended: true}))
... | {
"content_hash": "b66b54b735532f67eff5e470744f5201",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 49,
"avg_line_length": 20.636363636363637,
"alnum_prop": 0.7136563876651982,
"repo_name": "RafaelPaulo/payfast",
"id": "0715429e285683e87e3a3b5f85ec9de3e53a8343",
"size": "... |
package uk.ac.ebi.quickgo.rest.search.query;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
impor... | {
"content_hash": "cb9b6bbccda4a14d5213c892077cdc1f",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 69,
"avg_line_length": 28.958333333333332,
"alnum_prop": 0.6820143884892086,
"repo_name": "ebi-uniprot/QuickGOBE",
"id": "3ae26cc8c87bc901d86af9f06cccd4611589097f",
"size":... |
<?php
namespace Webmozart\Expression\Comparison;
use Webmozart\Expression\Expression;
use Webmozart\Expression\Logic\Literal;
use Webmozart\Expression\Util\StringUtil;
/**
* Checks that a value has a given suffix.
*
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
final class EndsWith ext... | {
"content_hash": "f251fbb8bac08a3ad309df1376ef3aba",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 90,
"avg_line_length": 20.47826086956522,
"alnum_prop": 0.6086341118188252,
"repo_name": "tgalopin/expression",
"id": "10dbcaa3f82d15944f1134f56f211ad7e18d9468",
"size": "1... |
ActiveRecord::Schema.define(version: 20141112070817) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
create_table "blockqueues", force: true do |t|
t.integer "task"
t.integer "user_id"
t.datetime "created_at"
t.datetime "updated_at"
... | {
"content_hash": "fabdd9b585e5eade9049c1aab31a8a34",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 127,
"avg_line_length": 34.63529411764706,
"alnum_prop": 0.6005434782608695,
"repo_name": "gyardley/knowntroll",
"id": "aa905e45598c3737f9396ef09b9cd1f35e4d77d4",
"size": "... |
// Copyright 2010-2015, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | {
"content_hash": "f48f9a1c10bd1fa20bbe3379eb8552d3",
"timestamp": "",
"source": "github",
"line_count": 228,
"max_line_length": 97,
"avg_line_length": 36.5921052631579,
"alnum_prop": 0.6974709337168884,
"repo_name": "takahashikenichi/mozc",
"id": "28f9bccf4bdc1cacaef6b8f365c37b3b9a0ced37",
"size": ... |
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<!-- Used for accessibility to describe the button on the payment sheet list of options to add a new payment method. -->
<string name="add_new_payment_method">Agregar un nuevo método de pago</string>
<!-- Description of a saved bank account. E.g. 'Bank account en... | {
"content_hash": "c4fd1f1d92718876befdbbc82428cf5e",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 212,
"avg_line_length": 96.21052631578948,
"alnum_prop": 0.7489059080962801,
"repo_name": "stripe/stripe-android",
"id": "37394dbc8aa33f6bf02779773ae16290a1770f45",
"size":... |
<!DOCTYPE html>
<html ng-app='WillowWay'>
<head>
<meta charset='utf-8'>
<script src='/vendor/angular/angular.min.js'></script>
<script src='/vendor/angular/angular-route.min.js'></script>
<script src='/vendor/clipboard/clipboard.min.js'></script>
<script src='/vendor/hsimp/hsimp.min.js'></script>
<script src='/... | {
"content_hash": "5431bc75fd7ae9719e87bca7e33bb756",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 127,
"avg_line_length": 29.99047619047619,
"alnum_prop": 0.5646236900603366,
"repo_name": "TravisIngram/WillowWayPoint",
"id": "0e8869cabeb602630debfcfe16fc53e03a060767",
... |
<?php
namespace Heyday\Beam\DeploymentProvider;
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.0 on 2013-05-15 at 11:01:03.
*/
class DeploymentTest extends \PHPUnit_Framework_TestCase
{
/**
* @var Deployment
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network c... | {
"content_hash": "3f5b8c2f49448474a3f2ed35e93b5686",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 74,
"avg_line_length": 24,
"alnum_prop": 0.6190476190476191,
"repo_name": "stevie-mayhew/beam",
"id": "43dcdb8483a49bce5a1f0aeffd5883c7d7ff92c2",
"size": "1008",
"binary"... |
namespace kj {
// =======================================================================================
TopLevelProcessContext::TopLevelProcessContext(StringPtr programName)
: programName(programName),
cleanShutdown(getenv("KJ_CLEAN_SHUTDOWN") != nullptr) {}
StringPtr TopLevelProcessContext::getProgramNa... | {
"content_hash": "e308d4f0e76b0f5dc9d2f55801e4f9cf",
"timestamp": "",
"source": "github",
"line_count": 690,
"max_line_length": 100,
"avg_line_length": 31.48840579710145,
"alnum_prop": 0.5806139826022921,
"repo_name": "191919/capnproto",
"id": "20aa02a0112ba3ee800288a0cf8c6072299f6b2e",
"size": "23... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DNK.PriceListImport.AlaskaLoader
{
public class Room
{
private string name;
public string Name { get { return name; } }
private Dictionary<int, decimal> prices;... | {
"content_hash": "8adfb74a96475826191984503ea6a3b7",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 73,
"avg_line_length": 26.86842105263158,
"alnum_prop": 0.4789422135161606,
"repo_name": "sdimons/Danko2015",
"id": "fef2a065ffdccd6bd7aa065a67c0ff22efe1438a",
"size": "102... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
class ChartsController extends Controller
{
public function charts(){
return View('charts.chart');
}
}
| {
"content_hash": "3bc0968d100cd6d9fbb50b79d33a4594",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 41,
"avg_line_length": 15.214285714285714,
"alnum_prop": 0.7089201877934272,
"repo_name": "oasis1992/reto-emprendedor-hackaton-laravel",
"id": "a5c3f670bd5da119a5d28af585866f... |
<?php
class Google_Service_DeploymentManager_ManifestsListResponse extends Google_Collection
{
protected $collection_key = 'manifests';
protected $manifestsType = 'Google_Service_DeploymentManager_Manifest';
protected $manifestsDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_Deplo... | {
"content_hash": "bf77ba62410d4b73f4ea48653f4d975e",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 86,
"avg_line_length": 22.939393939393938,
"alnum_prop": 0.7107001321003963,
"repo_name": "bshaffer/google-api-php-client-services",
"id": "39744063b3d57a86e4c84e0910d5c8d8bc... |
using System;
using System.Linq;
using SharpTools.Collections;
namespace SharpTools.Diagnostics.Logging
{
public class InMemoryLogger : ILogger
{
// Max 10mb used for storing the in memory logs
private const int MAX_MEMORY_USAGE = 10*1024*1024;
// An array of all the log levels for eas... | {
"content_hash": "5e543cd3744d8d7e760c5b99e8e3b2d0",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 119,
"avg_line_length": 33.54736842105263,
"alnum_prop": 0.5428302478820207,
"repo_name": "bitwalker/SharpTools",
"id": "34ebb46be1f5230a500b93ff146f08549373a801",
"size": ... |
<section class="player-bar" ng-controller="PlayerBarCtrl as playerBar">
<div class="container">
<div class="control-group main-controls">
<a class="previous" ng-click="playerBar.songPlayer.previous()">
<span class="ion-skip-backward"></span>
</a>
<a class=... | {
"content_hash": "1559566f1de63c3f3fec0ba929c5d8fd",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 75,
"avg_line_length": 39,
"alnum_prop": 0.4609421586165772,
"repo_name": "teckjon/bloc-jams-angular",
"id": "e9dfbb819ccd6a9d6e979d742f741d02653ff7b2",
"size": "1677",
"... |
import { generateUtilityClass, generateUtilityClasses } from '@mui/base';
export interface SwitchBaseClasses {
root: string;
checked: string;
disabled: string;
input: string;
edgeStart: string;
edgeEnd: string;
}
export type SwitchBaseClassKey = keyof SwitchBaseClasses;
export function getSwitchBaseUtili... | {
"content_hash": "6df7e405d09ccada13ee0fb541960100",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 90,
"avg_line_length": 22.925925925925927,
"alnum_prop": 0.7544426494345718,
"repo_name": "rscnt/material-ui",
"id": "5b667461486dfaef8701f4c79d9f3af43c4fc7ac",
"size": "61... |
<?php
namespace JasonRoman\NbaApi\Request\Stats\Stats\Homepage;
use JasonRoman\NbaApi\Constraints as ApiAssert;
use JasonRoman\NbaApi\Params\LeagueIdParam;
use JasonRoman\NbaApi\Params\SeasonParam;
use JasonRoman\NbaApi\Params\Stats\GameScopeParam;
use JasonRoman\NbaApi\Params\Stats\PlayerOrTeamParam;
use JasonRoman\... | {
"content_hash": "22f0391fb974fa456d514ac44da00558",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 68,
"avg_line_length": 23.573170731707318,
"alnum_prop": 0.6487325400931195,
"repo_name": "jasonroman/nba-api",
"id": "3ce87f213c6fba674e66cb9d8d829e49781bdfb0",
"size": "1... |
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('banish', '0002_auto_20170826_1311'),
]
operations = [
migrations.AlterModelOptions(
name='banishment',
options={'permissions': (('ca... | {
"content_hash": "cf740e7ae5fc6fbab06090bfbeece5f0",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 173,
"avg_line_length": 33.857142857142854,
"alnum_prop": 0.6230661040787623,
"repo_name": "intelligenia/django-banish-plus",
"id": "0bba58573f5641da011566006548d26fe5e35ce4"... |
using System.Collections.Generic;
namespace Kentico.Kontent.Delivery.Abstractions
{
/// <summary>
/// Represents a response from Kentico Kontent Delivery API that contains a content item.
/// </summary>
/// <typeparam name="T">The type of a content item in the response.</typeparam>
public interfac... | {
"content_hash": "604ad46bcb2edcac0a993d278fa9452e",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 93,
"avg_line_length": 30,
"alnum_prop": 0.6333333333333333,
"repo_name": "Kentico/Deliver-.NET-SDK",
"id": "b3b3042a052cb3061f607e203f0980134b9a439e",
"size": "482",
"bi... |
from tempest.api.compute import base
from tempest import test
class ServerMetadataV3Test(base.BaseV3ComputeTest):
@classmethod
def setUpClass(cls):
super(ServerMetadataV3Test, cls).setUpClass()
cls.client = cls.servers_client
cls.quotas = cls.quotas_client
resp, server = cls.c... | {
"content_hash": "2098fffcf3e1a6e0c245e4d11576b4f6",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 78,
"avg_line_length": 44.22,
"alnum_prop": 0.6087743102668476,
"repo_name": "cloudbase/lis-tempest",
"id": "c5443ee4adb68bcd086514e552bd7adec6ec6e36",
"size": "5058",
"... |
package com.suwonsmartapp.studyexam.chat.server;
import java.io.DataOutput;
public class ClientInfo {
private String nickName;
private String ip;
private DataOutput output;
public ClientInfo(String nickName, String ip, DataOutput output) {
this.nickName = nickName;
this.output = output;
}
public String ge... | {
"content_hash": "8628cef02453068b17b8eafe2098cc12",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 67,
"avg_line_length": 19.696969696969695,
"alnum_prop": 0.7230769230769231,
"repo_name": "suwonsmartapp/study-examples",
"id": "db34b7306966dbfd22d2e65ff3841773c42ca86d",
... |
package org.example.fogbeam.blackboard;
import java.util.ArrayList;
import java.util.List;
import java.util.Observable;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
public class Blackboard extends Observable
{
private BlockingQueue<Conversation> blackboardQueue = new Li... | {
"content_hash": "622d0713e7b2736b30f3decd899e3707",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 96,
"avg_line_length": 22.46153846153846,
"alnum_prop": 0.7280821917808219,
"repo_name": "mindcrime/AISandbox",
"id": "23e0e970ad3c3fb5d70876ccf1c21ac0b2855fc3",
"size": "1... |
package com.opengamma.analytics.financial.model.option.definition;
import com.opengamma.analytics.financial.interestrate.YieldCurveBundle;
import com.opengamma.analytics.financial.model.volatility.curve.BlackForexTermStructureParameters;
import com.opengamma.util.money.Currency;
import com.opengamma.util.tuple.Pair;
... | {
"content_hash": "d9fd00d6a62cd65e2b2b39823ee5d696",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 199,
"avg_line_length": 48.63265306122449,
"alnum_prop": 0.824171212757029,
"repo_name": "jerome79/OG-Platform",
"id": "54695ac20e06df727f60aa218f914839c45f7b95",
"size": "... |
#ifndef OMPLEXT_BOOST_NUMERIC_ODEINT_INTEGRATE_NULL_OBSERVER_HPP_INCLUDED
#define OMPLEXT_BOOST_NUMERIC_ODEINT_INTEGRATE_NULL_OBSERVER_HPP_INCLUDED
namespace boost {
namespace numeric {
namespace omplext_odeint {
struct null_observer
{
template< class State , class Time >
void operator()( const State& /* x... | {
"content_hash": "6de72ac8fcea1112d469322f4ef64f81",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 73,
"avg_line_length": 21.125,
"alnum_prop": 0.7159763313609467,
"repo_name": "mpomarlan/ompl_slprm",
"id": "d525107c1d39d4dbb502d95b4599e71825fa71ee",
"size": "861",
"bi... |
function MulitcastResult() {
this.success = undefined;
this.failure = undefined;
this.canonicalIds = undefined;
this.multicastId = undefined;
this.results = [];
this.retryMulticastIds = [];
}
MulitcastResult.prototype.addResult = function (result) {
this.results.push(result);
};
Mulitcas... | {
"content_hash": "d2730670ec1fed6ec170d7d8ba6ba638",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 57,
"avg_line_length": 22.05,
"alnum_prop": 0.6984126984126984,
"repo_name": "ericsaboia/gcm-push",
"id": "9d5515fbf5c9f08dee0d59d60eed6943c46d9a36",
"size": "529",
"bina... |
require "spec_helper"
describe Chef::Provider::Git do
before(:each) do
allow(STDOUT).to receive(:tty?).and_return(true)
@original_log_level = Chef::Log.level
Chef::Log.level = :info
@current_resource = Chef::Resource::Git.new("web2.0 app")
@current_resource.revision("d35af14d41ae22b19da05d7d03a0... | {
"content_hash": "d9382821c884159e3772ca8d595bf809",
"timestamp": "",
"source": "github",
"line_count": 764,
"max_line_length": 212,
"avg_line_length": 52.84424083769633,
"alnum_prop": 0.631164392044188,
"repo_name": "tomdoherty/chef",
"id": "4a6266b58aabfc5368b251f1f269eb69506ef2e4",
"size": "4106... |
import { test, moduleFor } from 'ember-qunit';
moduleFor('route:player', 'PlayerRoute', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
test('it exists', function() {
var route = this.subject();
ok(route);
});
| {
"content_hash": "f33dc8d89624887fa55f72d308141c1f",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 61,
"avg_line_length": 24.272727272727273,
"alnum_prop": 0.651685393258427,
"repo_name": "aequitas/munerator",
"id": "079ae97e4c9786caa7cef14df7997ee2d4dd1c32",
"size": "26... |
package io.trivium.dep.com.google.common.util.concurrent;
import java.util.concurrent.Callable;
import java.util.concurrent.Executor;
import java.util.concurrent.FutureTask;
import javax.annotation.Nullable;
/**
* A {@link FutureTask} that also implements the {@link ListenableFuture}
* interface. Unlike {@code ... | {
"content_hash": "d41594483fcc48c8ff80850a935beb44",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 83,
"avg_line_length": 30.72151898734177,
"alnum_prop": 0.7124021425628347,
"repo_name": "trivium-io/trivium-core",
"id": "18d13c2bad04b223b763d802bb811ce131625eab",
"size"... |
package edu.usu.sdl.openstorefront.service.io.parser;
import au.com.bytecode.opencsv.CSVReader;
import edu.usu.sdl.openstorefront.common.exception.OpenStorefrontRuntimeException;
import edu.usu.sdl.openstorefront.core.entity.AttributeCode;
import edu.usu.sdl.openstorefront.core.entity.AttributeType;
import java.io.IO... | {
"content_hash": "209bbdd1b953a96cde3a6b9dabcd4c09",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 82,
"avg_line_length": 24.904761904761905,
"alnum_prop": 0.7724665391969407,
"repo_name": "Razaltan/openstorefront",
"id": "4074aebbdda634b09f9fce7816739df34e240549",
"size... |
/** \file
*
*
* \brief Master header file for all routines in SLsimLib. Should be the only header file that needs to be included.
*
* assert() statements can be removed here.
*
* slsimlib.h
*
* Created on: Oct 25, 2011
* Author: bmetcalf
*/
#ifndef _SLSIMLIB_DECLARE_
#define _SLSIMLIB_DECLARE_
#inc... | {
"content_hash": "8121ebb7b873ae9aa8f83a5cdd13306a",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 117,
"avg_line_length": 18.285714285714285,
"alnum_prop": 0.6897321428571429,
"repo_name": "glenco/SLsimLib",
"id": "1c2346fc9e973b4c9efe752b4017191df469b12e",
"size": "896... |
<?php
namespace Concrete\Controller\Panel\Page;
use Concrete\Controller\Backend\UserInterface\Page as BackendUIPageController;
use Concrete\Core\Page\Collection\Version\Version;
use Concrete\Core\Page\Type\Type;
use Permissions;
use PageTemplate;
use PageTheme;
use Request;
use PageEditResponse;
use Loader;
use Respon... | {
"content_hash": "316ee7ec709fb5c6c3b1d40b2cbda0df",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 127,
"avg_line_length": 34.89047619047619,
"alnum_prop": 0.4866930530913061,
"repo_name": "a3020/concrete5",
"id": "2ae9f68490b2eb0a93342d23e5d66442cf530c07",
"size": "732... |
FOUNDATION_EXPORT double HiddenVersionNumber;
FOUNDATION_EXPORT const unsigned char HiddenVersionString[];
| {
"content_hash": "4af0ca2d993618ac15b13ce4a253b4b7",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 60,
"avg_line_length": 36,
"alnum_prop": 0.8611111111111112,
"repo_name": "buribae/Hidden",
"id": "40201b4954cf3843c95add58460816121288fec1",
"size": "304",
"binary": fals... |
try:
from unittest.mock import patch
except ImportError:
# for python 2.7
from mock import patch
| {
"content_hash": "d2875b35864111412f8557ad47970ee2",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 35,
"avg_line_length": 21.8,
"alnum_prop": 0.7064220183486238,
"repo_name": "william-richard/moto",
"id": "4af2156f76b18d6d5a42cdd2f177cc7879e22741",
"size": "109",
"binar... |
<Record>
<Term>Optimine</Term>
<SemanticType>Pharmacologic Substance</SemanticType>
<SemanticType>Organic Chemical</SemanticType>
<PrimarySemanticType>Pharmacologic Substance</PrimarySemanticType>
<Synonym>Azatadine</Synonym>
<Synonym>Azatadine maleate</Synonym>
<Source>FDA Registry</Source>
</Record>
| {
"content_hash": "d2b1b8327fc8eedae70d07455aff549a",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 66,
"avg_line_length": 34.666666666666664,
"alnum_prop": 0.7980769230769231,
"repo_name": "detnavillus/modular-informatic-designs",
"id": "b5984020e54c815ec189c61059c15ff553c8... |
/*
* Copyright 2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | {
"content_hash": "dd34905de54718ee9a5079213cbcc671",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 93,
"avg_line_length": 41.48148148148148,
"alnum_prop": 0.7181547619047619,
"repo_name": "itgeeker/jdk",
"id": "25a12d027e9f0f4ecdca899384b9a36e7eef0f4e",
"size": "3515",
... |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>ResultOfAWordToSymbolApplication - ScalaTest 2.1.1 - org.scalatest.words.ResultOfAWordToSymbolApplication</title>
<meta name="descript... | {
"content_hash": "f7ac9f98d925301b4abaf5c706e118b1",
"timestamp": "",
"source": "github",
"line_count": 479,
"max_line_length": 335,
"avg_line_length": 50.592901878914404,
"alnum_prop": 0.5919369480894611,
"repo_name": "scalatest/scalatest-website",
"id": "5b85dcc78ee8ae9a2bc9e3ca384cb9ec9e3f4086",
... |
FROM nginx
ARG SERVER_NAME
ARG WEBAPP_PORT
ARG API_PORT
ARG API_HOST
ENV SERVER_NAME=$SERVER_NAME
ENV API_HOST=$API_HOST
ENV API_PORT=$API_PORT
ENV WEBAPP_PORT=$WEBAPP_PORT
ENV NGINX_CERT_DIR=/etc/nginx/cert
RUN apt-get update; apt-get install -y \
openssl
RUN echo "api Host: $API_HOST"
RUN echo "api Port: $API_POR... | {
"content_hash": "7e75a13805a45c74966db5d72521cc68",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 117,
"avg_line_length": 28.217391304347824,
"alnum_prop": 0.7473035439137135,
"repo_name": "castlemilk/nutry-web",
"id": "d94fd467adcc6a0f4944f4de8461aafd128bb9cd",
"size":... |
#define BOOST_TEST_MODULE KernelGenerator
#include <boost/test/unit_test.hpp>
#include <boost/phoenix/phoenix.hpp>
#include <vexcl/vector.hpp>
#include <vexcl/generator.hpp>
#include <vexcl/tagged_terminal.hpp>
#include "context_setup.hpp"
template <class state_type>
state_type sys_func(const state_type &x) {
retu... | {
"content_hash": "72fbc4267e8d49e0bba72af6445a64bb",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 90,
"avg_line_length": 25.388429752066116,
"alnum_prop": 0.5758463541666666,
"repo_name": "ddemidov/vexcl",
"id": "127ae8318c1ab22cb0db0e1a8bc98103ad252093",
"size": "6144... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c5a80ccde7da5137b4be4fdecbe7bb81",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "0c488c6a64d1725e146efb05433e00bfc531da17",
"size": "191... |
int main(int argc, char * argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([YCHAppDelegate class]));
}
}
| {
"content_hash": "8989ba178cb161561eb8a8ee4f22fb3a",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 93,
"avg_line_length": 26.833333333333332,
"alnum_prop": 0.6645962732919255,
"repo_name": "Neirys/YCHActionSheet",
"id": "508a304a881d2db2cdbb912d7ca4bcb125947461",
"size": ... |
/*
Colorbox Core Style:
The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper {
position: absolute;
top: 0;
left: 0;
z-index: 9999;
overflow: hidden;
}
#cboxOverlay {
position: fixed;
width: 100%;
... | {
"content_hash": "b199ee38be5687acdb6094df5a58294a",
"timestamp": "",
"source": "github",
"line_count": 247,
"max_line_length": 130,
"avg_line_length": 20.554655870445345,
"alnum_prop": 0.6334449478038211,
"repo_name": "fixbugs/tips",
"id": "765582d49b247072cd0411c1887aadf613d0fc07",
"size": "5077"... |
(function () {
'use strict';
angular
.module('magicitems')
.factory('MagicitemsService', MagicitemsService);
MagicitemsService.$inject = ['$resource'];
function MagicitemsService($resource) {
return $resource('api/magicitems/:magicitemId', {
magicitemId: '@_id'
}, {
update: {
... | {
"content_hash": "37ef961d425de37e59452793b41e8fc7",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 53,
"avg_line_length": 19.157894736842106,
"alnum_prop": 0.5796703296703297,
"repo_name": "atadsp/d20cp",
"id": "2e96f49e327a25e43791f73c74c0a51471177ef8",
"size": "432",
... |
import os, sys
import numpy
from itertools import permutations
import tokenize
import normalize
import labelselect
import statsify
import wordselection
import dictizer
import split_dataset
from Token import Token
from parse_args import parse_args
from train import maxent_classifier
from train import maxent_classifier_... | {
"content_hash": "16e587a765574832d44a21d874065e7c",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 91,
"avg_line_length": 32.79194630872483,
"alnum_prop": 0.6426524764633648,
"repo_name": "hockeybuggy/twitter-sentiment",
"id": "9465a54221f32f6a81441f031376b37e2048647d",
... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Herb. Fr. Champ. (Paris), Histoire des Champignons 1(1): 449 (1793)
#### Original name
Agaricus conocephalus Bull., 1793
### Remarks
null | {
"content_hash": "e714a1b2e77ff5c1d7815e5a5c877ce7",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 67,
"avg_line_length": 17.307692307692307,
"alnum_prop": 0.7066666666666667,
"repo_name": "mdoering/backbone",
"id": "3d133efc741b78636da801143695c857aae7fcee",
"size": "28... |
package org.usergrid.query.validator;
import org.apache.commons.lang.StringUtils;
import org.codehaus.jackson.JsonNode;
import org.springframework.http.HttpMethod;
import org.springframework.stereotype.Component;
import org.usergrid.java.client.response.ApiResponse;
import org.usergrid.persistence.Entity;
import jav... | {
"content_hash": "8b8e3029c51a77d2dc3710a310aad1a6",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 130,
"avg_line_length": 33.515151515151516,
"alnum_prop": 0.6146775165762508,
"repo_name": "pgorla/usergrid",
"id": "b7c573950a2729823b42173636067e1f13f17df7",
"size": "73... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.