text stringlengths 2 1.04M | meta dict |
|---|---|
namespace arrow {
class TestDefaultMemoryPool : public ::arrow::test::TestMemoryPoolBase {
public:
::arrow::MemoryPool* memory_pool() override { return ::arrow::default_memory_pool(); }
};
TEST_F(TestDefaultMemoryPool, MemoryTracking) {
this->TestMemoryTracking();
}
TEST_F(TestDefaultMemoryPool, OOM) {
#ifndef ... | {
"content_hash": "4ab99d14f92323cc0b482f00c49ccba9",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 88,
"avg_line_length": 21.63157894736842,
"alnum_prop": 0.6916058394160584,
"repo_name": "StevenMPhillips/arrow",
"id": "8a185abca71cc16de9a1f1fdb82877402bf8fa80",
"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.6.0_38) on Thu Oct 10 15:31:46 MDT 2013 -->
<TITLE>
MesgIndexTest
</TITLE>
<META NAME="date" CONTENT="2013-10-10">
<LINK REL ="stylesheet" T... | {
"content_hash": "cd2dfc9f70dff632350f91b7bc55c837",
"timestamp": "",
"source": "github",
"line_count": 278,
"max_line_length": 300,
"avg_line_length": 41.02517985611511,
"alnum_prop": 0.6029811486190267,
"repo_name": "manuelhartl/opensaft",
"id": "572aef44619e4b379e3b58f9035f7bce127e829f",
"size":... |
package language.parser.nodes;
import language.parser.Symbols;
import language.parser.Visitor;
import language.parser.framework.Symbol;
import language.parser.framework.Token;
/**
* This class was generated by the LRPaGe parser generator v1.0 using the com.sun.codemodel library.
*
* <P>LRPaGe is available from ... | {
"content_hash": "7c4071a596590b418fe7975b4644a370",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 100,
"avg_line_length": 20.355555555555554,
"alnum_prop": 0.6670305676855895,
"repo_name": "tbepler/programming-language",
"id": "d4831a2932cca9191b40c1c1de3ad4a61e157e3e",
... |
<!DOCTYPE html>
<html>
<head>
<meta charset='utf8'>
<title>Justified Grid</title>
<style>
html, body {
margin: 0;
padding: 0;
}
#gallery {
top: 100px;
position: relative;
}
#gallery.working img {
display: none;
}
#gallery img {
box-sizing: border-box;
padding: 4px;
}
... | {
"content_hash": "6d66d60fdda56386e678c8e8c4eb54c8",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 163,
"avg_line_length": 43.72189349112426,
"alnum_prop": 0.6285018270401949,
"repo_name": "publicclass/justified-grid",
"id": "3dd2b6bfcd6a10324ad5c1495b02f738e8ad5403",
"... |
@interface UIView (utitlities)
+ (instancetype) loadFromXibNamed:(NSString *) xibName;
+ (instancetype) loadFromXib;
- (void) forEachButtonDoBlock:(void (^)(UIButton *button))block;
- (void) forEachSubviewOfClass:(Class)viewClass doBlock:(void (^)(UIView *view))block;
@end
| {
"content_hash": "678225b51e53223ad84fe75d613b4144",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 86,
"avg_line_length": 30.77777777777778,
"alnum_prop": 0.7436823104693141,
"repo_name": "PitchLabsAsh/PLTableViewController",
"id": "fd68547017494aa8284c1fe4b66b25c74802c83d"... |
module DelayedPaperclip
module Jobs
autoload :DelayedJob, 'delayed_paperclip/jobs/delayed_job'
autoload :Resque, 'delayed_paperclip/jobs/resque'
end
end
| {
"content_hash": "7c22e40a464996242557a83e78c1ba7c",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 62,
"avg_line_length": 27.5,
"alnum_prop": 0.7636363636363637,
"repo_name": "jonathanleone/delayed_paperclip",
"id": "df2501916be923edc7516acf63751552ca798e7e",
"size": "165... |
package org.kuali.mobility.security.authn.util;
public class AuthenticationConstants {
public static final String KME_USER_KEY = "kme.user";
public static final String PUBLIC_USER = "public_";
public static final String AUTH_PATH_PREFIX = "authPath";
public static final String DEVICE_ID = "DEVICE_ID";
public s... | {
"content_hash": "12816295c05607616d819611faef7e9e",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 58,
"avg_line_length": 30.833333333333332,
"alnum_prop": 0.7513513513513513,
"repo_name": "tamerman/mobile-starting-framework",
"id": "06402a48b18a14e9d9b3707710d929580838c7b... |
drop database if exists `policies`;
create database `policies`;
use `policies`;
grant usage on policies.* to policies@localhost identified by '@policies#';
grant select, insert, update, delete, drop, alter, create temporary tables on policies.* to policies@localhost;
flush privileges;
drop table if exists `policies`... | {
"content_hash": "809a8216b82ec83be303b21db1e5c39d",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 111,
"avg_line_length": 36.78082191780822,
"alnum_prop": 0.7217877094972067,
"repo_name": "ambagasdowa/kml",
"id": "6ad6a1694a45448db727e241a1e5c60e1e4310aa",
"size": "2685... |
layout: post
title: "How to configure Postman API tests in Azure DevOps"
subtitle: "This post is configuring Postman API tests in Azure DevOps. Postman makes API development easy. Postman platform offers the tools to simplify each step of the API building process and streamlines collaboration so you can create better A... | {
"content_hash": "79b96b24faafc518f1fa108161651ec5",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 620,
"avg_line_length": 60.85526315789474,
"alnum_prop": 0.764972972972973,
"repo_name": "dotnetthoughts/dotnetthoughts.github.io",
"id": "cf0f771f0d52dde77d430fe2833a4220230... |
package com.wq.android.lightannotation.annotations;
/**
* Created by qwang on 2016/7/13.
*/
import android.view.KeyEvent;
import android.view.View;
import android.widget.TextView;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lan... | {
"content_hash": "73e0bc606cd2ae01bfebd5936b382946",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 119,
"avg_line_length": 23.08108108108108,
"alnum_prop": 0.7482435597189696,
"repo_name": "kim-wang-bj/LightAndroidAnnotation",
"id": "6660fb1d9ab43c3a7d52212f27ca2a699fc3b4d... |
"""
User assisted updating redirect links on disambiguation pages.
Usage:
python pwb.py disambredir [start]
If no starting name is provided, the bot starts at '!'.
"""
#
# (C) André Engels, 2006-2009
# (C) Pywikibot team, 2006-2015
#
# Distributed under the terms of the MIT license.
#
from __future__ import abs... | {
"content_hash": "b7b9d100fbff9656fd230d44c256578b",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 85,
"avg_line_length": 28.886363636363637,
"alnum_prop": 0.6538158929976396,
"repo_name": "jayvdb/pywikibot-core",
"id": "246055194ac536d95d4d574bb37c414c456da7f9",
"size":... |
from allennlp.common import Params
from allennlp.common.testing import AllenNlpTestCase
class TestParams(AllenNlpTestCase):
def test_load_from_file(self):
filename = 'tests/fixtures/bidaf/experiment.json'
params = Params.from_file(filename)
assert "dataset_reader" in params
asser... | {
"content_hash": "57609401781a76f7e34a668120ef8d65",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 78,
"avg_line_length": 32.26136363636363,
"alnum_prop": 0.4874955970412117,
"repo_name": "nafitzgerald/allennlp",
"id": "69458e46bebfcea9a5147d0c3852948dfd74af66",
"size": ... |
#ifndef SINGA_CORE_SCHEDULER_H_
#define SINGA_CORE_SCHEDULER_H_
#include <condition_variable>
#include <functional>
#include <mutex>
#include <thread>
#include <unordered_map>
#include <vector>
#include "singa/core/common.h"
#include "singa/utils/safe_queue.h"
using std::function;
using std::unordered_map;
using s... | {
"content_hash": "ee4dd473daec141a31fab81b90ebb755",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 76,
"avg_line_length": 23.85792349726776,
"alnum_prop": 0.6546037562986715,
"repo_name": "nudles/incubator-singa",
"id": "8055f7b22d48aeff60634986cc272bc44fffd2ca",
"size"... |
'use strict';
/**
const exampleReport = {
'Properties1 (Raw)': '<Buffer a1>',
Properties1: {
'Scale bit 2': true,
'Meter Type': 'Electric meter',
'Rate Type': 'Import',
'Meter Type (Parsed)': { value: 'Electric meter' },
'Rate Type (Parsed)': { value: 'Import' },
},
'Properties2 (Raw)': '<Buffer 34>',
... | {
"content_hash": "f2de0ef92fc35ecb2bba6c6f725e82fe",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 103,
"avg_line_length": 27.346153846153847,
"alnum_prop": 0.6169714017815283,
"repo_name": "timkouters/nl.timkouters.domitech",
"id": "2cc4cfd32b39fec62bd1ff50db06a425096bc73... |
set(CTEST_CMAKE_GENERATOR "Visual Studio 16 2019")
set(CTEST_CMAKE_GENERATOR_PLATFORM x64)
set(CTEST_CMAKE_GENERATOR_TOOLSET ClangCL)
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}")
include(${CMAKE_CURRENT_LIST_DIR}/windows-common.cmake)
| {
"content_hash": "2a99705a4c690b02e40682ad4e357dc5",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 66,
"avg_line_length": 43,
"alnum_prop": 0.7906976744186046,
"repo_name": "ornladios/ADIOS2",
"id": "f562eccdfa0628016d72f1c3612c7e70c611d010",
"size": "305",
"binary": fa... |
package com.lianyu.tech.backoffice.web.request;
import com.lianyu.tech.core.platform.web.form.Form;
import com.lianyu.tech.core.platform.web.form.FormParam;
import javax.validation.constraints.NotNull;
/**
* @author bowen
*/
@Form
public class DescriptionItemRequest {
@FormParam("id")
private Integer id;
... | {
"content_hash": "41104a6f0cc22798f11494519711efcc",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 57,
"avg_line_length": 20.323529411764707,
"alnum_prop": 0.6548480463096961,
"repo_name": "howbigbobo/com.lianyu.tech",
"id": "52c7f6b24680d20d2bc15889e5496e9f22655dce",
"s... |
/**
* @file base_session.h
*
* Base class for MQTT sessions. This class add facilities for persistence and resumption of session state. The MQTT
* standard requires that the client and server both maintain session state while connected. The server is also
* required to resume the state when a client re-connects ... | {
"content_hash": "52d0d17899f0c36b6bea67788cd29690",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 119,
"avg_line_length": 33.943661971830984,
"alnum_prop": 0.680359612724758,
"repo_name": "inyotech/mqtt_broker",
"id": "fa17d4ae69fb7f591fca5103077af671cc34e2c1",
"size":... |
/**
* AdGroupBidModifierService.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.adwords.axis.v201402.cm;
public interface AdGroupBidModifierService extends javax.xml.rpc.Service {
public java.lang.String get... | {
"content_hash": "e7763c66c47a1d98bf5c1544d81f1d2d",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 195,
"avg_line_length": 46.3125,
"alnum_prop": 0.8178137651821862,
"repo_name": "nafae/developer",
"id": "c472ef730a1dbd86019e59478c41ecb1945fbe66",
"size": "741",
"binar... |
/*
* login.jsp页面请勿调用这个JS文件
*/
function setMainBodyHeight(){
function f(){
var h = $(window).height() - $('#header').outerHeight();
if($('#main_body').outerHeight() < h){
$('#main_body').css({'min-height': h});
}
}
$(window).on('resize', f);
f();
}
function bindSideMenu(){
$('#side_menu d... | {
"content_hash": "45448b90b28b3f62db274722806016f3",
"timestamp": "",
"source": "github",
"line_count": 466,
"max_line_length": 261,
"avg_line_length": 32.68025751072961,
"alnum_prop": 0.5079125352945039,
"repo_name": "ChristYoung/Home2Work",
"id": "ce7291c6466fd067edd9c57b4924f053f69ff1ab",
"size"... |
package org.txt2xml.cli;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.net.URL;
import java.nio.CharBuffer;
import java.nio.MappedByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;
... | {
"content_hash": "4c0e29264bb54e91db8fb4f5cbcdf2d1",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 122,
"avg_line_length": 38.31645569620253,
"alnum_prop": 0.6336306574165841,
"repo_name": "JOverseer/joverseer",
"id": "99a784102e0d782f12d7f96a82598d7d508984fe",
"size": "... |
<!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/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "1cf2c4f537d0a5a9a8676c07477f36b9",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 341,
"avg_line_length": 63.891752577319586,
"alnum_prop": 0.6939088342073416,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "c43b8a32c8bfc7037143a3aea62b35007ad9f767",
"si... |
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for All files</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="prettify.css" />
<link rel="stylesheet" href="base.css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type='text/css'>
... | {
"content_hash": "f40120948fe74c970fb4285ab2222dd9",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 180,
"avg_line_length": 39.15094339622642,
"alnum_prop": 0.6139759036144579,
"repo_name": "PansFortress/complete-intro-to-react",
"id": "42eca537301d1572116b0687b79406976172... |
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'],
'supported_by': 'network'}
DOCUMENTATION = '''
---
module: nxos_snmp_community
extends_documentation_fragment: nxos
version_added: "2.2"
short_description: Manages SNMP community configs.
description:
- M... | {
"content_hash": "21ebc661a823c3723501fadabbbf0da4",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 85,
"avg_line_length": 26.94090909090909,
"alnum_prop": 0.5979416230808166,
"repo_name": "e-gob/plataforma-kioscos-autoatencion",
"id": "341fb8aa34b4151445dcf21bd7e13fac383c... |
<include file="Common:header"/>
<include file="Common:nav"/>
<div class="main">
<div style="padding-top: 20px;width: 900px;height: 300px;">
<div class="list-group">
<a href="#" class="list-group-item active">
资料下载
</a>
<foreach name="file" item="v">
... | {
"content_hash": "17a3818fef98590ad6338f803eddf3aa",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 114,
"avg_line_length": 32.588235294117645,
"alnum_prop": 0.5018050541516246,
"repo_name": "CodeBall/SDUTXSH",
"id": "bcc993b58f60917d9178d83ce52ab9aedbf361c2",
"size": "56... |
package org.shipwheel.service.user;
import org.shipwheel.vo.user.User;
import java.util.Collection;
import java.util.Map;
/**
* Created by wx on 2017/4/29.
*/
public interface IUserService {
Collection<User> getUsers();
User getUserByName(String name);
Map<String, Object> modUser(String name, String ol... | {
"content_hash": "cb9b7839e77bbdbe975e278f92edf366",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 92,
"avg_line_length": 25.823529411764707,
"alnum_prop": 0.7312072892938497,
"repo_name": "kuun/dataship",
"id": "9316ef48c3dac35d8655fafc778ab9d50b9af15b",
"size": "439",
... |
This app demonstrates how to use the mobilehtml5app framework to generate
a rich HTML5 based user interface on mobile for a Go Language webapp backend.
It also demonstrates how to use the private app storage space on Android
to persist data and how to link up all the build all components using Gradle.
<img src="https:... | {
"content_hash": "307a80f82b4e36e67f6812959bcf0941",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 108,
"avg_line_length": 47.53846153846154,
"alnum_prop": 0.7775080906148867,
"repo_name": "srinathh/mobilehtml5app",
"id": "a48a7c66988fa37fc1cfb7e7f0bafdb062630ff2",
"size... |
import React, { PropTypes } from 'react';
import CSSModules from 'react-css-modules';
// Components
import Tooltip from '../../utils/Tooltip';
// Styles
import styles from './index.scss';
const propTypes = {
toggleMarkerVisibility: PropTypes.func.isRequired,
archiveCurrentCrisis: PropTypes.func.isRequired,
con... | {
"content_hash": "62f3a2dcaf77e06f210f1f117e76a84e",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 71,
"avg_line_length": 28.20754716981132,
"alnum_prop": 0.6822742474916388,
"repo_name": "Temzasse/ntu-crysis",
"id": "f8b94fc5733ebb9013ac5071fc0192e3b49c40d4",
"size": "1... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b1cc41b501a17f1994df10df56089b64",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "afc7e786e727b0b63f78b79b1256998bbe981240",
"size": "177... |
import Format from "./Format";
export { Format };
| {
"content_hash": "4d267dbbf49102b474d88fc7a5232dc8",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 30,
"avg_line_length": 17,
"alnum_prop": 0.6666666666666666,
"repo_name": "laurentChin/movie-manager-pwa",
"id": "e2f88386f935fb9624df1539b1f1aaca16b5178b",
"size": "51",
... |
package com.medal.framework.mybatis.config;
import lombok.Data;
import org.apache.ibatis.session.Configuration;
import org.apache.ibatis.session.ExecutorType;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.io.Resource;
import org.springframework.core.io.supp... | {
"content_hash": "771801a69ace16d327de3f466660f853",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 183,
"avg_line_length": 28.862745098039216,
"alnum_prop": 0.6811594202898551,
"repo_name": "xhujinjun/driver-school",
"id": "c478628eaa4dc93efb87fd055c5347a6c0c6493b",
"si... |
.. currio_coming_soon documentation master file, created by
sphinx-quickstart on Sun Feb 17 11:46:20 2013.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to currio_coming_soon's documentation!
============================================... | {
"content_hash": "e703d523da390c94b50d78137f21717b",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 76,
"avg_line_length": 20.4,
"alnum_prop": 0.5901960784313726,
"repo_name": "equinoxel/currio_coming_soon",
"id": "455e009f2bf3c5bcbceec4d436d5c99e14cbd82b",
"size": "510",... |
package org.assertj.core.internal.maps;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static org.assertj.core.data.MapEntry.entry;
import static org.assertj.core.error.ShouldContainValue.shouldContainValue;
import static org.assertj.core.test.Maps.mapOf;
import static org.assertj.cor... | {
"content_hash": "bd9401c9adfd1384fa26f9e2a4998d47",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 120,
"avg_line_length": 31.119402985074625,
"alnum_prop": 0.7266187050359713,
"repo_name": "xasx/assertj-core",
"id": "76b5ae80a156aad05b84768dbb94382d429ac899",
"size": "2... |
.PHONY: all build clean install uninstall test
bin:
mkdir -p bin
all: build test
test: build
setenv(PATH, bin:$(concat ":", PATH))
rspec
.DEFAULT: all
.SUBDIRS: lexer parser | {
"content_hash": "4e2f85bb4fa3d3286afbb02515fbec0b",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 46,
"avg_line_length": 13.142857142857142,
"alnum_prop": 0.6902173913043478,
"repo_name": "pasberth/parsef",
"id": "bbeb7cdff355f552208fee2e9a437c6638cefcac",
"size": "184"... |
package models
import (
"time"
)
type Review struct {
Id int64 `json:"id"`
Code string `json:"code"`
CompanyCode string `json:"company-code"`
Type string `json:"review-type"`
BodyHtml string `json:"body_html"`
Body string `j... | {
"content_hash": "38971b27c88e130f501d834e9323e12c",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 53,
"avg_line_length": 31.96,
"alnum_prop": 0.5331664580725908,
"repo_name": "hustbill/contact-service-go",
"id": "f97cac3aa45d90340200c347666849af4dfe27c2",
"size": "799",... |
// Copyright (c) 2022 Egon Willighagen
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | {
"content_hash": "6ce502961021f92a14748acfb7a90fc2",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 75,
"avg_line_length": 29.333333333333332,
"alnum_prop": 0.7303719008264463,
"repo_name": "egonw/BridgeDb",
"id": "30d14c7598653bd0de92aad8da20a80592333ea1",
"size": "968",... |
<?php
namespace MissTheRaid\CharacterBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class MissTheRaidCharacterBundle extends Bundle
{
}
| {
"content_hash": "20fea56f17fdfd5561a1f38ac3d4740f",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 47,
"avg_line_length": 16.444444444444443,
"alnum_prop": 0.831081081081081,
"repo_name": "cjcodes/MissTheRaid",
"id": "4d93695d76bafcf0a19ce8a82ba80f07cabfa725",
"size": "14... |
<?php
namespace pendalf89\filemanager\behaviors;
use yii;
use yii\base\Behavior;
use yii\db\ActiveRecord;
use pendalf89\filemanager\models\Mediafile;
use pendalf89\filemanager\models\Owners;
class MediafileBehavior extends Behavior
{
/**
* @var string owner name
*/
public $name = '';
/**
*... | {
"content_hash": "c3fbca8fe8e6903228e957d5b29f9f77",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 88,
"avg_line_length": 27.76851851851852,
"alnum_prop": 0.5521840613537846,
"repo_name": "PendalF89/yii2-filemanager",
"id": "700bdd9cfebf1b41e0f4fce5b809bdfa2e0f4284",
"s... |
extern "C" {
#endif
int cpuusage();
int getcpuload();
#ifdef __cplusplus
}
#endif | {
"content_hash": "f616a51c09beee4df5aa49d7b5e301ab",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 18,
"avg_line_length": 7.166666666666667,
"alnum_prop": 0.6395348837209303,
"repo_name": "oliveagle/go-collectors",
"id": "ae9e34d905ec71aec482d5c404cc8c8bbf374df5",
"size"... |
package at.ac.univie.isc.asio.brood;
import at.ac.univie.isc.asio.ConfigStore;
import at.ac.univie.isc.asio.Container;
import at.ac.univie.isc.asio.Id;
import at.ac.univie.isc.asio.flock.FlockAssembler;
import at.ac.univie.isc.asio.io.Payload;
import at.ac.univie.isc.asio.nest.D2rqNestAssembler;
import at.ac.univie.i... | {
"content_hash": "a7c26713744b342e803b613a7e9821cd",
"timestamp": "",
"source": "github",
"line_count": 318,
"max_line_length": 94,
"avg_line_length": 37.35849056603774,
"alnum_prop": 0.6753367003367003,
"repo_name": "pyranja/asio",
"id": "dba830a890e28c3af67c8afe4d51c56cd1df80f9",
"size": "12572",... |
<!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" />
<title>The tex2jax Preprocessor — MathJax v1.1 docume... | {
"content_hash": "00a08338cb087a4a55e6609d69efdc14",
"timestamp": "",
"source": "github",
"line_count": 239,
"max_line_length": 461,
"avg_line_length": 55.99581589958159,
"alnum_prop": 0.6593439438093103,
"repo_name": "manusajith/mathjax_rails",
"id": "ec7a48f780d5fe38a101da272bc373b94ab37ccf",
"si... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>generic-environments: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... | {
"content_hash": "c6238b38c35d11eab4ca83248c766df8",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 458,
"avg_line_length": 45.053892215568865,
"alnum_prop": 0.56632110579479,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "bce1da87bb09e7d7a5acd1b44d40fe0491ee6f15",
... |
const BaseRouter = require('../');
const expect = require('chai').expect;
describe('Router', function () {
describe('::extend', function () {
it('should allow default routes to be overridden and custom routes to be added', function () {
var customRoutes = {
get: {
'/:id': true, // overri... | {
"content_hash": "da96ba2536e8f12b035fb36c2153b3ab",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 98,
"avg_line_length": 29.8,
"alnum_prop": 0.5704697986577181,
"repo_name": "iros/router",
"id": "6b4746fb8dccd14b7fbb2bfe780f220e8ff214f0",
"size": "894",
"binary": fals... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
public class TXTReader : Singleton<TXTReader> {
// Use this for initialization
void Start () {
LevelData.Instance.data_Level = new List<Level> ();
InitLevel ();
}
public void InitLevel()
{
TextAsset data = Resou... | {
"content_hash": "e31ebf16437718a0c9952875b8489687",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 104,
"avg_line_length": 22.71153846153846,
"alnum_prop": 0.65961049957663,
"repo_name": "deadlove01/dracula",
"id": "ec31c2537f7d02477f5ae03d9425fdb24d67d0e9",
"size": "118... |
We made thousands of pre-made source code pieces for easy implementation in your own programming projects. Want to make unsearchable pdf with pdf extractor sdk in your VBScript app? ByteScout Premium Suite is designed for it. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout includi... | {
"content_hash": "c659edaaa3423d799c429f4a13c36a88",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 408,
"avg_line_length": 48.81666666666667,
"alnum_prop": 0.7907135541140321,
"repo_name": "bytescout/ByteScout-SDK-SourceCode",
"id": "c0e62addd737e5987e8a8674beb81ecfc671007... |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/rootLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:... | {
"content_hash": "0f1a006140e2cd3bf3e18b3fd936ef68",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 74,
"avg_line_length": 34.89473684210526,
"alnum_prop": 0.6435394670688789,
"repo_name": "Mariovc/kinballwc2015",
"id": "3d74eab5e059a7253d7a161e51bc9970c669e8bc",
"size": ... |
package io.janusproject.kernel.bic;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
import com.google.inject.Inject;
import io.janusproject.services.contextspace.ContextSpaceService;
import io.sarl.core.InnerContextAccess;
import io.sarl.lang.core.Address;
import io.sarl.lang.core.Agent;
im... | {
"content_hash": "58e8149d66c37a010254247ea87e5194",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 128,
"avg_line_length": 30.96078431372549,
"alnum_prop": 0.7454084863837872,
"repo_name": "jgfoster/sarl",
"id": "0876bd08ce3fb1232f78e6fa5d51bab03b411e36",
"size": "7051"... |
import rdkit
from rdkit.Chem import AllChem
from rdkit import DataStructs
__license__ = "X11"
METADATA = {
"id": "method_rdkit_ecfp6_1024_tanimoto",
"representation": "ecfp6_1024",
"similarity": "tanimoto"
}
def _compute_fingerprint(molecule):
return AllChem.GetMorganFingerprintAsBitVect(molecule, 3... | {
"content_hash": "c5e06923b87320bc8304202f969fbf7a",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 73,
"avg_line_length": 26.98,
"alnum_prop": 0.6471460340993328,
"repo_name": "skodapetr/lbvs-environment",
"id": "7866692b9cdec258933eadfea495d6f58a90d101",
"size": "1396",... |
/* Controller */
var pollNewController = function($scope, $routeParams, poll) {
/* Model Initialization */
$scope.init = function(){
$scope.newQuestion = "";
$scope.newQuestionPlaceholder = "Who will win the NBA championship this year?";
$scope.newChoices = [];
$scope... | {
"content_hash": "450730f002ed62ceab00633d645948ae",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 106,
"avg_line_length": 30.11111111111111,
"alnum_prop": 0.5556141275698471,
"repo_name": "diegoingaramo/all-voting",
"id": "1011ce1e3fc41ddeea1657e172fb7542899b2e18",
"siz... |
from sklearn import datasets, metrics, cross_validation
import tensorflow as tf
from tensorflow.contrib import skflow
iris = datasets.load_iris()
X_train, X_test, y_train, y_test = cross_validation.train_test_split(iris.data, iris.target,
test_size=0.2, random_state=42)
def my_model(X, y):
"""
This is DNN... | {
"content_hash": "854df4fd2b9f8f274f8735ee1daf1edc",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 92,
"avg_line_length": 38.75,
"alnum_prop": 0.7075268817204301,
"repo_name": "panmari/tensorflow",
"id": "457e39caca902600c938d763a92b2f9979cdb8e1",
"size": "1551",
"bina... |
function fillNullFilter() {
return function(data) {
return (data == null || data == '') ? '-' : data;
}
}
angular.module('TheHub').filter('fillNull', fillNullFilter); | {
"content_hash": "4c44fe4038c44e8ddf1fc411e1d91c06",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 60,
"avg_line_length": 26.142857142857142,
"alnum_prop": 0.5956284153005464,
"repo_name": "pavan496/the-hub",
"id": "5a955fce47d81b841a6de20c51124699087e7010",
"size": "183"... |
using System;
using System.Runtime.InteropServices;
namespace Alachisoft.NCache.Common.Util
{
#if NETCORE
[StructLayout(LayoutKind.Sequential)]
internal class ProcessInformation
{
public IntPtr hProcess = IntPtr.Zero;
public IntPtr hThread = IntPtr.Zero;
public int dwProcessId;
... | {
"content_hash": "a3ccb3d6edb9e12beb9ad8326c831239",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 45,
"avg_line_length": 22.6875,
"alnum_prop": 0.699724517906336,
"repo_name": "Alachisoft/NCache",
"id": "533c78388f6a74d76e83b80e6e0afb14a0d187b2",
"size": "365",
"binar... |
module DistributorsHelper
end
| {
"content_hash": "cdab296ede4d0cc2d00ea0777ee2502c",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 25,
"avg_line_length": 15,
"alnum_prop": 0.9,
"repo_name": "cliffroot/amc",
"id": "0206363d5728081fb556dce523d84fefc6ee7166",
"size": "30",
"binary": false,
"copies": "5... |
package com.java110.api.components.ownerRepair;
import com.java110.core.context.IPageData;
import com.java110.api.smo.ownerRepair.ICloseRepairDispatchSMO;
import com.java110.api.smo.ownerRepair.IListOwnerRepairsSMO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.Response... | {
"content_hash": "b462a117343817b081490c3950ff61bf",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 99,
"avg_line_length": 27.825396825396826,
"alnum_prop": 0.7507130633200229,
"repo_name": "java110/MicroCommunity",
"id": "8def88dd38e791b43ef7c2ebf1f88afec75948ea",
"size"... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>native-image-samples-client-library</artifact... | {
"content_hash": "edd80b0a4f16c8140ae5eaae667113f8",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 101,
"avg_line_length": 29.938271604938272,
"alnum_prop": 0.5789690721649484,
"repo_name": "GoogleCloudPlatform/native-image-support-java",
"id": "9c5861025d8d326a52786365d5a... |
/* https://leetcode.com/problems/path-sum/#/description
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below binary tree and sum = 22,
5
/ \
4 8
... | {
"content_hash": "5367e9ccd0b07066b727cc3cc08d7008",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 148,
"avg_line_length": 26.24137931034483,
"alnum_prop": 0.5939553219448095,
"repo_name": "TTWShell/algorithms",
"id": "8ef8239ec60d334241105c78de6db7ce6939b5ef",
"size": "... |
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (nonatomic, retain)UIImageView *splashView;
@end
| {
"content_hash": "87bcdf6fd9361a6f9109c610be8f8bdd",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 60,
"avg_line_length": 24.428571428571427,
"alnum_prop": 0.7953216374269005,
"repo_name": "blighli/iPhone2015",
"id": "ee3dd83ae1b150ff296fa5416add79cee6f819a0",
"size": "32... |
"""Automatic replacement of imported Python modules.
The hotswap module watches the source files of imported modules which are
replaced by its new version when the respective source files change.
The need for a program restart during development of long-running programs
like GUI applications for example is redu... | {
"content_hash": "e18d52dae5bfa53331a7776ba2b863a7",
"timestamp": "",
"source": "github",
"line_count": 364,
"max_line_length": 85,
"avg_line_length": 37.11813186813187,
"alnum_prop": 0.5326030641699356,
"repo_name": "zindy/Imaris",
"id": "aca906c629df7f586295d0fe14647a6d63f3a200",
"size": "13534",... |
package com.twitter.finagle.tracing
import com.twitter.conversions.time._
import com.twitter.io.Buf
import com.twitter.util.Time
import com.twitter.util.{Return, Throw}
import org.junit.runner.RunWith
import org.mockito.Matchers.any
import org.mockito.Mockito.{never, times, verify, when, atLeast}
import org.scalatest.... | {
"content_hash": "6c3fc43d1ca0c37da309de6d46f055fb",
"timestamp": "",
"source": "github",
"line_count": 412,
"max_line_length": 117,
"avg_line_length": 32.46601941747573,
"alnum_prop": 0.6155053827751196,
"repo_name": "mkhq/finagle",
"id": "f3da99b8f2da2de51fd31fdb2df2987ea0296727",
"size": "13376"... |
package com.github.mkopylec.webbackend.jersey.exceptions;
import static javax.ws.rs.core.Response.Status.INTERNAL_SERVER_ERROR;
public class ServerException extends ApplicationException {
public ServerException(String errorCode, String message) {
super(errorCode, message, INTERNAL_SERVER_ERROR);
}
}
| {
"content_hash": "1887fa9bf13b207b0fb922a863ba9520",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 69,
"avg_line_length": 32,
"alnum_prop": 0.78125,
"repo_name": "mkopylec/web-spring-boot-starters",
"id": "95c3f6f590712c26f13aaf0b405a9e25cee22192",
"size": "320",
"bina... |
require "active_support/core_ext/module/redefine_method"
require "action_controller"
require "action_controller/test_case"
require "action_view"
require "rails-dom-testing"
module ActionView
# = Action View Test Case
class TestCase < ActiveSupport::TestCase
class TestController < ActionController::Base
... | {
"content_hash": "6d974cb7958215eeb84b8bef5aefa421",
"timestamp": "",
"source": "github",
"line_count": 290,
"max_line_length": 113,
"avg_line_length": 28.655172413793103,
"alnum_prop": 0.5797833935018051,
"repo_name": "rafaelfranca/omg-rails",
"id": "c93cf64d6e23c7025874f782d60f0de8f97a8e03",
"siz... |
package org.languagetool;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import java.util.List;
import org.junit.Test;
import org.languagetool.language.GermanyGerman;
import org.languagetool.rules.RuleMatch;
public class JLanguageToolTest {
@Test
public void testGerman() throws IOExc... | {
"content_hash": "08052c30ab38386f0f7b4e1a7602f829",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 148,
"avg_line_length": 41.436619718309856,
"alnum_prop": 0.7182188987083616,
"repo_name": "EMResearch/EMB",
"id": "11525147a37f48f5c0c324e92f595f53dcbe6449",
"size": "3821... |
namespace peloton {
namespace brain {
#define DEFAULT_SAMPLE_WEIGHT 1.0
#define DEFAULT_COLUMN_VALUE 0.5
#define DEFAULT_METRIC_VALUE 0
enum SampleType {
SAMPLE_TYPE_INVALID = 0,
SAMPLE_TYPE_ACCESS = 1, // accessed attributes
SAMPLE_TYPE_UPDATE = 2 // updated attributes
};
//===----------------------------... | {
"content_hash": "3882ce54490247f71cc692248a56e425",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 80,
"avg_line_length": 27.214953271028037,
"alnum_prop": 0.6088598901098901,
"repo_name": "prashasthip/peloton",
"id": "5e5ce7eb644dd15ec30c47c2e663e2575230f99d",
"size": ... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "0cd3f28b83e3497948a04b024ed72be7",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "32fea64179b151260374a15e3ade69346eed73c9",
"size": "18... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf8"/>
<title>flickrPickr example</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.3.0/pure-min.css">
<link rel="stylesheet" href="deps/modal.css"/>
<link rel="stylesheet" href="deps/typeahead.css"/>
</head>
<body>
... | {
"content_hash": "1aa49971b6f3ff8b1602dbf7c5374674",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 94,
"avg_line_length": 38.7037037037037,
"alnum_prop": 0.6162679425837321,
"repo_name": "blackchair/flickrPickr",
"id": "846832f9cadbe7e31d387a8e47d8ceca6c4b2da2",
"size": ... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "dad9edd76c35cb08d75a9d810cd0f7e9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "a7f36a298e7e5671348876824ace9372f6dd2a3f",
"size": "19... |
require 'optparse'
class KablameOptions
def opts
OptionParser.new do |opts|
opts.banner = "Usage: #{@type}-kablame [options] <directories>"
opts.on("-f", "--formats xml,html", Array, "List of file formats to #{@type}-kablame") do |list|
@formats = list
end
opts.on_tail("... | {
"content_hash": "354db7e812bac73bf34b5347c5869c0e",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 102,
"avg_line_length": 19.419354838709676,
"alnum_prop": 0.5813953488372093,
"repo_name": "jdunphy/kablame-gem",
"id": "5f7dd2776a5d628ce1a6d7c5dd4a136d26dbfa0f",
"size": ... |
package hudson.plugins.warnings;
import hudson.plugins.analysis.core.AbstractHealthDescriptor;
import hudson.plugins.analysis.core.HealthDescriptor;
import hudson.plugins.analysis.util.model.AnnotationProvider;
import org.jvnet.localizer.Localizable;
/**
* A health descriptor for warnings build results.
*
* @auth... | {
"content_hash": "c6e5753a941fb11c5411ea5b57558f76",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 109,
"avg_line_length": 33.4390243902439,
"alnum_prop": 0.7184536834427425,
"repo_name": "hudson3-plugins/warnings-plugin",
"id": "23e6945c89b28a6bfc636bafb7b22f70306436fe",
... |
Syntax:
<strong>`lognand`</strong> <em>parameters</em> => <em>return-type</em>
Documentation of parameters and return-results.
Examples (not from CLHS...):
```lisp
CL-USER> (example-code 'a 'b 'c)
'return-result
```
| {
"content_hash": "c5bc3885ae7ebc97286d5a9a171040d8",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 70,
"avg_line_length": 17,
"alnum_prop": 0.6742081447963801,
"repo_name": "agreco/llthw",
"id": "6334c67c8d8167d168a28751fd98207698f185e5",
"size": "271",
"binary": false... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | {
"content_hash": "0c4bb6d798c4c8961c4f567e1c139827",
"timestamp": "",
"source": "github",
"line_count": 750,
"max_line_length": 130,
"avg_line_length": 36.397333333333336,
"alnum_prop": 0.740017583705766,
"repo_name": "WizeCommerce/hecuba",
"id": "d80fcc7174278b84089b6291e92f27b6a10ecce2",
"size": ... |
<?php
namespace App\Http\Controllers\Admin;
use App\Category;
use App\Http\Controllers\ViewController;
use App\Setting;
use Exception;
use Illuminate\Http\Request;
class AdminController extends AdminItemController
{
use ViewController;
protected $SuperUserUAL;
protected $AdminUserUAL;
protected $P... | {
"content_hash": "44c3487de80f9fb6730fac53c9432a3e",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 191,
"avg_line_length": 38.84090909090909,
"alnum_prop": 0.6050321825629023,
"repo_name": "gingzai/Laravel-CMF",
"id": "72ede2ad96f50e8d747c8499dac28f920d416b99",
"size": ... |
import * as React from "react";
import {
GoogleViz,
GoogleChartWrapper,
ReactGoogleChartPropsWithDefaults,
GoogleChartControlProp,
GoogleChartControl,
GoogleChartDashboard,
GoogleChartEditor
} from "../types";
import { generateUniqueID } from "../generate-unique-id";
import { GoogleChartDataTable } from "... | {
"content_hash": "2df414bfd0a8a362e9e3cad6de1854f0",
"timestamp": "",
"source": "github",
"line_count": 302,
"max_line_length": 77,
"avg_line_length": 29.211920529801326,
"alnum_prop": 0.5966900929494445,
"repo_name": "RakanNimer/react-google-charts",
"id": "b58e008b2c4017a02c3e704ee9a217e7af93ea63",... |
require 'spec_helper'
describe Auth0::Api::V2::Guardian do
before :all do
dummy_instance = DummyClass.new
dummy_instance.extend(Auth0::Api::V2::Guardian)
@instance = dummy_instance
end
context '.guardian_factors' do
it 'is expected to respond to a guardian_factors method' do
expect(@instanc... | {
"content_hash": "c11d870bd8b969a9924acc61ea53c7b9",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 113,
"avg_line_length": 38.54545454545455,
"alnum_prop": 0.7053571428571429,
"repo_name": "auth0/ruby-auth0",
"id": "99e53cb350fca5fe063065d9d0b8f317cd0a5a56",
"size": "59... |
import React from "react"
import styled from "styled-components"
const Div = styled.div`
background: ${({ theme }) => theme.navBar.background};
box-sizing: border-box;
max-height: ${({ collapse }) => (collapse ? 0 : "90vh")};
transition: max-height 0.3s ease-in-out;
overflow: hidden;
width: 100%;
@media... | {
"content_hash": "bbaad506eccd90a68bd52255ffd20750",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 59,
"avg_line_length": 24.434782608695652,
"alnum_prop": 0.6227758007117438,
"repo_name": "mike360/textiles",
"id": "211d14a5a53677556860007695410f80565e78bb",
"size": "562... |
package quasar.sql
import slamdata.Predef._
import quasar.{NonTerminal, RenderTree, RenderedTree, SemanticError, Terminal, VarName},
RenderTree.ops._,
SemanticError._
import quasar.contrib.pathy.prettyPrint
import scala.AnyRef
import matryoshka._
import matryoshka.data.Fix
import matryoshka.implicits._
import ... | {
"content_hash": "393e1c77dcb6c225c056294911b20e3d",
"timestamp": "",
"source": "github",
"line_count": 376,
"max_line_length": 114,
"avg_line_length": 40.41489361702128,
"alnum_prop": 0.6051592524348512,
"repo_name": "drostron/quasar",
"id": "e38d2d3732a041a465f3fc987267cf4e5ef907dd",
"size": "158... |
angular.module('izenda.common.ui').controller('IzendaShareController', [
'$scope',
'$izendaLocale',
'$izendaShareService',
izendaShareController]);
/**
* Share controller
*/
function izendaShareController(
$scope,
$izendaLocale,
$izendaShareService) {
'use strict';
$scope.$izendaShareService ... | {
"content_hash": "da0204538576ce9cee9e4a2d1233ba8e",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 132,
"avg_line_length": 25.666666666666668,
"alnum_prop": 0.6409090909090909,
"repo_name": "smoussavi/IzendaHours",
"id": "dbbe6f92fa17da923945f6680dfa46f4dc136fbd",
"size... |
#pragma once
#include <butter/butter.h>
#if ( \
defined(BUTTER_FUNCTION_OVERRIDE_INCLUDE) && \
defined(BUTTER_FUNCTION_OVERRIDE))
#include BUTTER_FUNCTION_OVERRIDE_INCLUDE
#elif defined(BUTTER_USE_FOLLY_CONTAINERS)
#include <folly/Function.h>
#else
#include <f... | {
"content_hash": "73662b7f8f434e9ebb03b9fd13024702",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 50,
"avg_line_length": 18.23913043478261,
"alnum_prop": 0.6376638855780691,
"repo_name": "facebook/react-native",
"id": "724752498f88787bae1c1943ab1390bfbebea7d4",
"size": ... |
function [ scale, dataReal, thresh1, thresh2, dataBool ] = getRealFeature15( mot )
scale = true;
humerus_length = sqrt(sum((mot.jointTrajectories{trajectoryID(mot,'relbow')}(:,1) - mot.jointTrajectories{trajectoryID(mot,'rshoulder')}(:,1)).^2));
thresh1 = 0;
thresh2 = 0.375*humerus_length;
p1 = trajectoryID(mot,'roo... | {
"content_hash": "d8d3407107b27470fe18fdf462596149",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 148,
"avg_line_length": 32.82608695652174,
"alnum_prop": 0.7152317880794702,
"repo_name": "iqbalu/3D_Pose_Estimation_CVPR2016",
"id": "f69068bcfcfbca5d51c44ecb364e1465bc3273d... |
#ifndef SUB_H
#define SUB_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_BITYPES_H
#include <sys/bitypes.h>
#endif
#include <sys/socket.h>
#include <net/if.h>
#ifdef PACKAGE
#define NAME PACKAGE
#else
#define NAME "sipcalc"
#endif
#if defined(... | {
"content_hash": "5f5403987033a461a57f6ef4182673e6",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 81,
"avg_line_length": 23.988,
"alnum_prop": 0.7136901784225446,
"repo_name": "sii/sipcalc",
"id": "4fb9a862b38d5121cb8ba9dac94857db7de61a5f",
"size": "6147",
"binary": ... |
using EFCoreExtend;
using EFCoreExtend.Commons;
using EFCoreExtend.Test;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore;
using MySql.Data.MySqlClient;
using Newtonsoft.Json;
using Npgsql;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
... | {
"content_hash": "7c1529f33aacf79b6012ac1f77a5fb0a",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 157,
"avg_line_length": 35.94814814814815,
"alnum_prop": 0.6064290129816609,
"repo_name": "skigs/EFCoreExtend",
"id": "55e2d9c9db7689f0498c9c05001fe589923c55cd",
"size": "... |
//
// MBEvents.h
// Mockingbird Toolbox
//
// Created by Jesse Boyes on 7/13/09.
// Copyright (c) 2009 Gilt Groupe. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "MBAvailability.h"
/******************************************************************************/
#pragma mark -
#pragma mark MBEv... | {
"content_hash": "1959aeddf802e4898180dabb78b00c18",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 91,
"avg_line_length": 34.64102564102564,
"alnum_prop": 0.5738958795953615,
"repo_name": "emaloney/MBToolbox",
"id": "d78fe02a8593fd58e72a88b34f26e65debd3418e",
"size": "4... |
(function(env) {
env.ddg_spice_thesaurus = function(api_result) {
"use strict";
if (!api_result || api_result.error) {
return Spice.failed("thesaurus");
}
// Check if user want to find antonym only
var searchAntonymOnly = (DDG.get_query().indexOf('antonym') > -1... | {
"content_hash": "537a7d21c777cbf03ea652eb54e2506b",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 116,
"avg_line_length": 37.01851851851852,
"alnum_prop": 0.4947473736868434,
"repo_name": "P71/zeroclickinfo-spice",
"id": "044db81170cc0ee0b976a25e40d57f7fa3bc7971",
"siz... |
#ifndef _PEI_MAIN_H_
#define _PEI_MAIN_H_
#include <PiPei.h>
#include <Ppi/DxeIpl.h>
#include <Ppi/MemoryDiscovered.h>
#include <Ppi/StatusCode.h>
#include <Ppi/Reset.h>
#include <Ppi/FirmwareVolume.h>
#include <Ppi/FirmwareVolumeInfo.h>
#include <Ppi/Decompress.h>
#include <Ppi/GuidedSectionExtraction.h>
#include <... | {
"content_hash": "145ed3b8e4ffb33ad312caa70c5da2c4",
"timestamp": "",
"source": "github",
"line_count": 1619,
"max_line_length": 121,
"avg_line_length": 33.203829524397776,
"alnum_prop": 0.6437487210967874,
"repo_name": "egraba/vbox_openbsd",
"id": "40b0ac27afad1c4cad8f22036838daab4b7b7c6c",
"size"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d60a9fe9cb644a6443ca186bbb0cee85",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "8a3419af16bf891999fd44c36127eb5038c79de3",
"size": "183... |
package net.tomp2p.nat;
import java.io.IOException;
import java.net.InetAddress;
import javax.xml.parsers.ParserConfigurationException;
import net.tomp2p.natpmp.Gateway;
import net.tomp2p.natpmp.MapRequestMessage;
import net.tomp2p.natpmp.NatPmpDevice;
import net.tomp2p.natpmp.NatPmpException;
import net.tomp2p.na... | {
"content_hash": "ca11290330cc2b8feda35c8a3f039940",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 110,
"avg_line_length": 30.455,
"alnum_prop": 0.7002134296503038,
"repo_name": "tomp2p/TomP2P",
"id": "71f7e461070dc42c81dd658a857119799e111959",
"size": "6682",
"binary... |
/****************************************************************************
** Meta object code from reading C++ file 'bitcoinamountfield.h'
**
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "qt/bitcoinamountfield.h"
... | {
"content_hash": "1656905fd24c6365daa0a2dc51a39360",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 102,
"avg_line_length": 31.08823529411765,
"alnum_prop": 0.5765373699148534,
"repo_name": "dkcoinus/dkcoin_src",
"id": "253b13d06f4452fdf18d53e7c4848cbcacf98f54",
"size": ... |
#include "Type.h"
class TechParameter;
class AmpUnit
{
public:
enum AmpModel
{
NO_MODEL = 0,
GENERIC_AMP
};
public:
AmpUnit(
const string& amp_model_str_,
const TechParameter* tech_param_ptr_
);
~AmpUnit();
public:
double get_e_access(... | {
"content_hash": "c99d81a33c88d14c9be9813ac56ad5c0",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 54,
"avg_line_length": 14.194444444444445,
"alnum_prop": 0.547945205479452,
"repo_name": "mit-carbon/Graphite-Cycle-Level",
"id": "0abee5721e22fdf99db25a66d6fbccde2c60d9e8",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>zchinese: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | {
"content_hash": "21ec1c4f2eb65d077e68a3207c1688c8",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 292,
"avg_line_length": 42.25609756097561,
"alnum_prop": 0.5455988455988456,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "723f0a947e6b85c15ce38943b8616cfc5105f2fd",
... |
.wrapper{ /*width:954px;*/ }
.ui-btn, .ui-btn-prev, .ui-btn-next { margin-right:10px; }
.bills{ position:relative; float:left; width:1002px; background:#FFFFFF; border:1px solid #CFCFCF; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); padding: 10px 20px 10px 20px; }
.con-header { padding: 10px; }
.con-header dd { float: left... | {
"content_hash": "d27606cc0e8c20e9174cd962f52beed3",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 172,
"avg_line_length": 54.142857142857146,
"alnum_prop": 0.6961301671064204,
"repo_name": "smart-vole/competition",
"id": "9efc2a4692990c2a3444f8c9faa844c806790ff5",
"size... |
package edu.terryp.ee632.blackjack;
// Jackserver.java
import java.io.*;
import java.net.*;
import java.util.*;
public class Jackserver
{
public Jackserver (int port) throws IOException {
ServerSocket server = new ServerSocket (port);
while (true) {
Socket player = server.accept();
JackHandler j = new JackH... | {
"content_hash": "9089d811ec29274b9e44603f2974ac39",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 102,
"avg_line_length": 27.37037037037037,
"alnum_prop": 0.6955345060893099,
"repo_name": "pitpitman/GraduateWork",
"id": "ae69ded2668e9cc5b54b8d25d430f936b028d17d",
"size"... |
from lib.common import helpers
class Module:
def __init__(self, mainMenu, params=[]):
self.info = {
'Name': 'Get-IndexedItem ',
'Author': ['@James O\'Neill'],
'Description': ('Gets files which have been indexed by Windows desktop search.'),
'Background' ... | {
"content_hash": "13122ba9db53c695a8d8298aedd77cb0",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 166,
"avg_line_length": 32.71910112359551,
"alnum_prop": 0.4989697802197802,
"repo_name": "Hackplayers/Empire-mod-Hpys-tests",
"id": "25039924a02171ef5be2d0647ed64f6cd8014f90... |
package org.apache.hadoop.hbase.io.hfile;
import org.apache.hadoop.hbase.io.HeapSize;
import org.apache.yetus.audience.InterfaceAudience;
/**
* In-memory BlockCache that may be backed by secondary layer(s).
*/
@InterfaceAudience.Private
public interface FirstLevelBlockCache extends ResizableBlockCache, HeapSize {
... | {
"content_hash": "98aa9ea59ed51c928fb43c6488c39be1",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 90,
"avg_line_length": 30.379310344827587,
"alnum_prop": 0.7502837684449489,
"repo_name": "ChinmaySKulkarni/hbase",
"id": "a0c34c9fe3ef834c61055093c3f40b15aca158d9",
"size"... |
class CreateProjectImages < ActiveRecord::Migration
def change
create_table :project_images do |t|
t.string :image
t.string :caption
t.references :project, index: true
t.timestamps
end
end
end
| {
"content_hash": "8bebe5c9c152fa029f6a15958a4e97d5",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 51,
"avg_line_length": 20.90909090909091,
"alnum_prop": 0.6695652173913044,
"repo_name": "engageis/juntos.com.vc",
"id": "05246230d0da4216bce4bd54e1a2b5f9a96a1399",
"size":... |
@interface ABI44_0_0RNSVGPattern : ABI44_0_0RNSVGGroup
@property (nonatomic, strong) ABI44_0_0RNSVGLength *x;
@property (nonatomic, strong) ABI44_0_0RNSVGLength *y;
@property (nonatomic, strong) ABI44_0_0RNSVGLength *patternwidth;
@property (nonatomic, strong) ABI44_0_0RNSVGLength *patternheight;
@property (nonatomic,... | {
"content_hash": "ee4c59a04f4b2f8efcadcea401801ec3",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 70,
"avg_line_length": 44.44444444444444,
"alnum_prop": 0.795,
"repo_name": "exponentjs/exponent",
"id": "63a6746aebe347878b0bf37091184a25e1250008",
"size": "867",
"binar... |
package mx.nic.rdap.sql.objects;
import java.sql.ResultSet;
import java.sql.SQLException;
import mx.nic.rdap.core.db.Variant;
/**
* Data access class for the {@link Variant} object.
*
*/
public class VariantDbObj extends Variant implements DatabaseObject {
/**
* Default constructor
*/
public VariantDbObj(... | {
"content_hash": "509bdce88c4b8d08594cdca333e8d39c",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 77,
"avg_line_length": 20.25581395348837,
"alnum_prop": 0.7072330654420207,
"repo_name": "NICMx/rdap-sql-provider",
"id": "3ade914376ad978e6aa4bc8f61edd2ad553aba45",
"size"... |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta chars... | {
"content_hash": "6a35f4d36416905201b10ee40477c542",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 279,
"avg_line_length": 48.44186046511628,
"alnum_prop": 0.57177148343735,
"repo_name": "jmadden85/accidentTracker",
"id": "210cf43fcf81821eb2a45cd5de70f9d135c68912",
"size... |
package eml.studio.client.ui.widget.shape;
import eml.studio.client.ui.connection.Connection;
import com.orange.links.client.shapes.Drawable;
/**
* Interface to represent a point, widget or mouse as a rectangle
*/
public interface Shape extends Drawable {
/**
*
* @return left margin
*/
int getLeft();
... | {
"content_hash": "0a64b820288940cd6705d678d98b943c",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 65,
"avg_line_length": 15.48076923076923,
"alnum_prop": 0.6608695652173913,
"repo_name": "ICT-BDA/EasyML",
"id": "f3b260fbe832363a35e8ec25f51c6bee45483dd4",
"size": "1006",... |
technical debt paid
| {
"content_hash": "9167a3cc327999cde979336de55fb797",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 19,
"avg_line_length": 20,
"alnum_prop": 0.85,
"repo_name": "louise-r-blue/sprint-2",
"id": "e6e5b8edc08f471502476b2219c7d1567fc07322",
"size": "31",
"binary": false,
"c... |
:man_page: bson_init_from_json
bson_init_from_json()
=====================
Synopsis
--------
.. code-block:: c
bool
bson_init_from_json (bson_t *bson,
const char *data,
ssize_t len,
bson_error_t *error);
Parameters
----------
* ``bson``: A :... | {
"content_hash": "26fa4ea73305209828f0d4b299f2e3aa",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 208,
"avg_line_length": 26.155555555555555,
"alnum_prop": 0.6074766355140186,
"repo_name": "rcsanchez97/libbson",
"id": "c7b451f6d46d4063f4e22f5b021bdd8062f33b0c",
"size": ... |
package Paws::SNS::GetPlatformApplicationAttributesResponse;
use Moose;
has Attributes => (is => 'ro', isa => 'Paws::SNS::MapStringToString');
has _request_id => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::SNS::GetPlatformApplicationAttributesResponse
=head1 ATTRIBUT... | {
"content_hash": "8c9416c98e1dc9b243020ade7235865a",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 72,
"avg_line_length": 18.884615384615383,
"alnum_prop": 0.7464358452138493,
"repo_name": "ioanrogers/aws-sdk-perl",
"id": "e99329c7644e74ab3fe27c3adee39975c2470266",
"size... |
exports.up = (knex, Promise) => {
return knex.schema.createTable('users', (table) => {
table.increments();
table.string('email').unique().notNullable();
table.string('password').notNullable();
table.boolean('admin').notNullable().defaultTo(false);
table.timestamp('created_at').notNullable().defaul... | {
"content_hash": "098920989a58cac0e54b83a6bdaad3d0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 77,
"avg_line_length": 33.38461538461539,
"alnum_prop": 0.6497695852534562,
"repo_name": "mjhea0/node-stripe-charge",
"id": "b8bf48361a008f2b803c84d22dd954bd25ef5b92",
"siz... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.