text stringlengths 2 1.04M | meta dict |
|---|---|
package com.example.weather.adapter;
import java.util.List;
import com.example.weather.R;
import com.example.weather.utils.ViewHolder;
import com.exmple.weather.entity.Weather;
import android.content.Context;
import android.graphics.Color;
import android.view.LayoutInflater;
import android.view.View;
import android.... | {
"content_hash": "684926f16ecc4bdcc03da98aed35ab9e",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 78,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.7560307017543859,
"repo_name": "rocrocflying/WeatherShow",
"id": "6db00c891c7010bf132cb9a40006defe7d65bf2d",
"siz... |
println("Running tests for Jags-j0.5-v1.0.2:")
using Jags
using Base.Test
old = pwd()
using Base.Test
code_tests = ["test_cmd.jl";]
println("Run execution_tests only if Jags is available")
execution_tests = [
"test_line1.jl",
"test_line2.jl",
"test_rats.jl",
"test_bones1.jl",
"test_bones2.jl",
"te... | {
"content_hash": "29336ac23f172ae32c154a82e848d505",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 96,
"avg_line_length": 19.386363636363637,
"alnum_prop": 0.6330597889800703,
"repo_name": "JuliaPackageMirrors/Jags.jl",
"id": "04907c6cfec65fb039856283673ab29f29a49c9b",
"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_92) on Mon Jul 05 14:32:28 BST 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.github.rve... | {
"content_hash": "ab2b72f6b317bc62fcedaeaea7cd4cd8",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 157,
"avg_line_length": 37.30952380952381,
"alnum_prop": 0.6234843650287173,
"repo_name": "rvesse/airline",
"id": "e86a9b7325c41b79cae0420ef1216e8340e88145",
"size": "4701... |
var pkg = require("./package.json");
/* node modules */
var debug = require("debug");
var fs = require("fs");
var path = require("path");
var util = require("util");
/* imported modules */
var _ = require("lodash");
var async = require("async");
var Exif = require("exif").ExifImage;
var GetOptions = require("node-get... | {
"content_hash": "c370f1f17b780407aeebbac50e239172",
"timestamp": "",
"source": "github",
"line_count": 236,
"max_line_length": 135,
"avg_line_length": 30.084745762711865,
"alnum_prop": 0.530281690140845,
"repo_name": "ryexley/river-birch",
"id": "09d54773f0379cc0386fcaf33d21e485bb7bca52",
"size": ... |
FactoryGirl.define do
factory :tweet do
user_id 1
content "MyString"
time "MyString"
end
end
| {
"content_hash": "e212a7575e8dcbad4753286cacf77e6d",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 22,
"avg_line_length": 15.571428571428571,
"alnum_prop": 0.6697247706422018,
"repo_name": "jbarrieault/swear-jar",
"id": "5af471b560c0ba76745ff9e6b817783564b18a0a",
"size": ... |
class RelatedTaskSearchForm < Form
field :from
field :to
field :projects
field :payable
field :developers
end | {
"content_hash": "4f8ccfdae6045a56c0ff758138a998f1",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 34,
"avg_line_length": 17,
"alnum_prop": 0.7478991596638656,
"repo_name": "RacoonsGroup/ttng",
"id": "c61a603a06664320d75e0ce105739503ce9e042e",
"size": "119",
"binary": f... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
/*++
Module Name:
init/pal.cpp
Abstract:
Implementation of PAL exported functions not part of the Win32 API.
--*/
#include "pal/thread.hpp"
#in... | {
"content_hash": "0081e7f9e7be5ae755fe9ca2c1cd8562",
"timestamp": "",
"source": "github",
"line_count": 1572,
"max_line_length": 110,
"avg_line_length": 27.770992366412212,
"alnum_prop": 0.5818215136521898,
"repo_name": "fieryorc/coreclr",
"id": "e7bd4d3b48e09955349754ced3d1f3e4bb4c352d",
"size": "... |
using System;
using Elasticsearch.Net;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.MockData;
using Xunit;
namespace Tests.Search.SearchShards
{
public class SearchShardsApiTests : ApiIntegrationTestBase<ReadOnlyClust... | {
"content_hash": "822e8e1b056ba4d2e59809599e7a4d83",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 184,
"avg_line_length": 37.885714285714286,
"alnum_prop": 0.7767722473604827,
"repo_name": "adam-mccoy/elasticsearch-net",
"id": "3c9cacdf3c0a56806dece0fe27ebef9e7871d5dd",
... |
/***
* Inferno Engine v4 2015-2017
* Written by Tomasz "Rex Dex" Jonarski
*
* [#filter: resource\serialization\metadata #]
***/
#include "base/serialization/include/rttiMetadata.h"
namespace base
{
//------
// Defines loader that should be used for loading the object
// NOTE: this is used only if the obj... | {
"content_hash": "a5564ab771059ecd962c1eac6b8d5359",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 102,
"avg_line_length": 29.220588235294116,
"alnum_prop": 0.6436839456467036,
"repo_name": "InfernoEngine/engine",
"id": "4245a2e6d24dcd877e623fe3281f224e4138936d",
"size":... |
export {Component} from './decorators/component';
export {Input, InputString, Output, EventBinding, EventEmitter} from './decorators/binding';
export {Config} from './decorators/config';
export {Directive} from './decorators/directive';
export {Filter} from './decorators/filter';
export {Inject} from './decorators/inje... | {
"content_hash": "52028d89ddaafb113eb01a534e41da13",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 92,
"avg_line_length": 46.81818181818182,
"alnum_prop": 0.7456310679611651,
"repo_name": "interfacewerk/ng1-decorators",
"id": "d135a446eae38b2eeddc124ae151ba896d3e136c",
"... |
<?php
namespace WL\AppBundle\Controller;
use Nokaut\ApiKit\ClientApi\Rest\Exception\NotFoundException;
use Nokaut\ApiKit\Collection\Products;
use Nokaut\ApiKit\Entity\Category;
use Nokaut\ApiKit\Ext\Data;
use Nokaut\ApiKit\Repository\CategoriesRepository;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use ... | {
"content_hash": "cfcd7f758f40a36aafdd64b2d0d4b2db",
"timestamp": "",
"source": "github",
"line_count": 346,
"max_line_length": 146,
"avg_line_length": 35.97976878612717,
"alnum_prop": 0.6384448550084344,
"repo_name": "nokaut/white-label-demo",
"id": "a0a7234c4ad9ed411b58b1905166dbc929c3d6b9",
"siz... |
package com.ztools.http;
import java.util.Hashtable;
import java.util.ResourceBundle;
import javax.servlet.ServletInputStream;
import javax.servlet.http.HttpServletRequest;
public abstract class HttpUtil
{
private static final String LSTRING_FILE = "javax.servlet.http.LocalStrings";
private static ResourceBundle... | {
"content_hash": "a4c235ab845b056870c6f348aa1e62f1",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 79,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.8119402985074626,
"repo_name": "wyelite/mtools",
"id": "cc4c6acee2bc50461a82a5aa3c5fe2a77d942080",
"size": "335",... |
/**
* This code was auto-generated by a tool.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.test.framework.datafactory;
import java.util.List;
import java.util.ArrayList;
import com.mozu.api.ApiException;
import ... | {
"content_hash": "8677eec368e5af8e338039d8e1c536c7",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 353,
"avg_line_length": 51.76258992805755,
"alnum_prop": 0.7799861014593468,
"repo_name": "eileenzhuang1/mozu-java",
"id": "92691cc6a5abac7b32626602f3ea197580ee5c23",
"siz... |
package org.apache.camel.util;
import java.util.EventObject;
import java.util.List;
import org.apache.camel.CamelContext;
import org.apache.camel.Endpoint;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.Route;
import org.apache.camel.StatefulService;
import org.apache.ca... | {
"content_hash": "55f9fbb310cf33b56d10224644e3999f",
"timestamp": "",
"source": "github",
"line_count": 762,
"max_line_length": 119,
"avg_line_length": 32.034120734908136,
"alnum_prop": 0.557476444080295,
"repo_name": "logzio/camel",
"id": "f80983abe916f2e5a2be012ad5588de9d4448b98",
"size": "25213"... |
<?php
namespace Doctrine\DBAL\Driver\SQLSrv;
use Doctrine\DBAL\Driver\Exception;
use Doctrine\DBAL\Driver\Result as ResultInterface;
use Doctrine\DBAL\Driver\SQLSrv\Exception\Error;
use Doctrine\DBAL\Driver\Statement as StatementInterface;
use Doctrine\DBAL\ParameterType;
use Doctrine\Deprecations\Deprecation;
use f... | {
"content_hash": "37f6fe9c4d387ea273311bf4983b57bc",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 109,
"avg_line_length": 26.72645739910314,
"alnum_prop": 0.5067114093959731,
"repo_name": "doctrine/dbal",
"id": "1244ba51a4a272f6bbb94e8bd2d311ca8b466954",
"size": "5960"... |
// Copyright 2010 Google Inc. All Rights Reserved.
package com.crawljax.core.exception;
import com.crawljax.core.state.CrawlPath;
/**
* This exception wraps a CrawlPath into a Throwable. Basically providing a StackTrace of the Path
* taken to reach an Exception point.
*
* @version $Id$
* @author slenselink@goo... | {
"content_hash": "49d0c0758f0cd7579f7a96323596463c",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 98,
"avg_line_length": 26.840579710144926,
"alnum_prop": 0.6781857451403888,
"repo_name": "shauvik/crawljax-old",
"id": "c4d67092547668ffbcd76d8931dd6177d5141a80",
"size": ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Jury extends MY_Controller
{
//CONSTRUCT
public function __construct()
{
parent::__construct();
}
//VIEW MARATHON LIST
public function Marathon()
{
if($this->process->CheckAdminUser())
{
... | {
"content_hash": "188ce6816068300205d499d37f52e113",
"timestamp": "",
"source": "github",
"line_count": 641,
"max_line_length": 195,
"avg_line_length": 42.458658346333856,
"alnum_prop": 0.4383818342151676,
"repo_name": "hecto932/OJplus",
"id": "1578bfceac58e7d89d40e60882261a8e02f83de4",
"size": "27... |
package com.androidformenhancer.sample.demos;
/**
* @author Soichiro Kashima
*/
public class ResumeNextActivity extends DefaultFragmentActivity {
}
| {
"content_hash": "e2c28722aa671ec72428f093bad9e6cc",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 65,
"avg_line_length": 15.4,
"alnum_prop": 0.7792207792207793,
"repo_name": "ksoichiro/AndroidFormEnhancer",
"id": "008db59157d2c4175ae36152a7ca280cfc2806bb",
"size": "753"... |
This directory contains helper scripts for rendering runtime wiki pages as HTML.
```shell
# Run webserver for development.
$ runtime/tools/wiki/build/build.py
# Build wiki for deployment
$ runtime/tools/wiki/build/build.py --deploy
```
# Markdown extensions
## Asides
Paragraphs wrapped into `<aside>...</aside>` wi... | {
"content_hash": "0fecd25614d83ffead70e920d9ee63f4",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 91,
"avg_line_length": 31.095238095238095,
"alnum_prop": 0.7366003062787136,
"repo_name": "dart-lang/sdk",
"id": "2606ac8a4f2672efcdbf60f6bea0e70046398f59",
"size": "1306",... |
const transitionEndEvent = 'webkitTransition' in document.head.style ? 'webkitTransitionEnd' : 'transitionend';
const supportTransition = 'webkitTransition' in document.head.style || 'transition' in document.head.style;
const transitionDuration = 'webkitTransition' in document.head.style ? 'webkitTransitionDuration'... | {
"content_hash": "78195fe9fb19b590aef6cb624a79fb8b",
"timestamp": "",
"source": "github",
"line_count": 3558,
"max_line_length": 164,
"avg_line_length": 29.297920179876336,
"alnum_prop": 0.6666410851672071,
"repo_name": "cdnjs/cdnjs",
"id": "cad788b0da3ac9eacf0414cf0d403f81ecde18e4",
"size": "10446... |
package org.duracloud.account.app.model;
import java.util.Set;
public class User implements Comparable<User> {
public User(
Long id, String username, String firstName, String lastName,
String email, String allowableIPAddressRange, Set<Account> accounts, boolean root) {
super();
... | {
"content_hash": "5587aee0b6ed4c71e44d6ccbfec002ea",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 96,
"avg_line_length": 22.52238805970149,
"alnum_prop": 0.6262425447316103,
"repo_name": "duracloud/management-console",
"id": "e30cc92ec031d241c2f0b5a89a2d2610ecc95b3d",
"... |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>log4net.Layout</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.css" />
</... | {
"content_hash": "0cfd8a350392e4634c6ab56ba743629e",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 150,
"avg_line_length": 38.42758620689655,
"alnum_prop": 0.5148959081119885,
"repo_name": "npruehs/slash-framework",
"id": "b6b0ae7a04700d055269887c4e9180fe085280d6",
"siz... |
<?php @include_once 'menu.php';
//header('Content-type: text/html; charset=UTF-8');
if($_SESSION['materia']===1){
echo "<div style=\"width:100%;color:green;text-align:center;font-weight:bold;border-style:solid;border-width:2px;border-color:green;background-color:#81F79F;\">Modifica effettuata correttamente</div>";
$_... | {
"content_hash": "bcca5727b39d9a15678e37e2f831b24c",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 202,
"avg_line_length": 41.852348993288594,
"alnum_prop": 0.5750481077613855,
"repo_name": "dynastes/progetto_accademia",
"id": "577f131a68275edf3547e158db910ccc8ed6aa02",
... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.pitt.apollo.brokerservicerestfrontend.methods;
import edu.pitt.apollo.brokerservicerestfrontend.utils.ResponseMessageBuild... | {
"content_hash": "9a0e3a8492cfd88f44abc96861cb86ba",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 158,
"avg_line_length": 41.59090909090909,
"alnum_prop": 0.8258652094717669,
"repo_name": "jvd10/apollo",
"id": "776f6fdb7297f9e2ed09b3afb187ec63c596b3aa",
"size": "2745",
... |
package com.commonsware.empublite;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.StrictMode;
import android.support.v4.view.ViewPager;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
im... | {
"content_hash": "0187c0c64dfed1c8196631ac1982c19d",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 74,
"avg_line_length": 26.43312101910828,
"alnum_prop": 0.6645783132530121,
"repo_name": "0359xiaodong/cw-omnibus",
"id": "dbf59c38b4945b05b63fa2c32d2f3c12dc436996",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/LearnComponents.iml" filepath="$PROJECT_DIR$/LearnComponents.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.i... | {
"content_hash": "92cbd2b09602e92218baac4b5de6af5a",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 112,
"avg_line_length": 40.77777777777778,
"alnum_prop": 0.670299727520436,
"repo_name": "whWZH/practice",
"id": "6c2d8e21ae9d0005e79f4d36fb8269b1a8cbfa80",
"size": "367",
... |
<?php
/*
* Created on Setp 8, 2007
*
*/
// Page requirements
define('LOGIN_REQUIRED', false);
define('PAGE_ACCESS_LEVEL', 0);
define('PAGE_TYPE', 'PUBLIC');
// Set for every page
require ('engine/common.php');
$smarty->assign('page_name', 'Season Registrations');
setup_seasonregistrations_list();
// Build the page
re... | {
"content_hash": "cca69e4720119b46a4672d5834853008",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 131,
"avg_line_length": 40.755102040816325,
"alnum_prop": 0.514271407110666,
"repo_name": "klangrud/tcshl",
"id": "fd13e09c82d51308a2fcee78c755da76519eeeeb",
"size": "1997"... |
package com.significantfiles.android.sqlite;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.net.Uri;
import android.util.Log;
import com.significantfiles.android.sqlite.query.Q... | {
"content_hash": "3a2f27bda6c5764b1a5e6f3a94185b4f",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 115,
"avg_line_length": 24.51923076923077,
"alnum_prop": 0.735686274509804,
"repo_name": "drdrej/android-webview-example",
"id": "efa473c7e6bd20c1d4a23d42792f4012b921cccb",
... |
using System;
using System.Collections.Generic;
using System.Html;
namespace wwtlib
{
public class Class1
{
}
}
| {
"content_hash": "ea9978a478e78402c12208cf843aa73b",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 33,
"avg_line_length": 11.454545454545455,
"alnum_prop": 0.6904761904761905,
"repo_name": "juoni/wwt-web-client",
"id": "10af54ed5e309e075bd9befcbb3bf24ec6a77fdc",
"size": ... |
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>Video</title>
<script type="text/javascript" src="js/jquery-2.0.3.min.js"></script>
</head>
<body>
<h3>Video</h3>
<!--<input type="file" accept="video/*" capture="camera" id="camera">-->
<video src="" width='400' height='300' autoplay id=... | {
"content_hash": "ca5c9240403d0f252fc0b02139ecd8d6",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 73,
"avg_line_length": 30.476190476190474,
"alnum_prop": 0.6296875,
"repo_name": "taikiken/sankaku.js",
"id": "a95622053d1d5b1bd5941f98276990dda3e226f6",
"size": "640",
"... |
<?php
require_once('contacts.class.php');
$obj = new Contacts();
switch($_SERVER['REQUEST_METHOD']) {
case 'POST':
$d = json_decode(file_get_contents("php://input"), true);
$result = $obj->send($d);
echo json_encode($result);
break;
};
return;
| {
"content_hash": "df52b15260517782d4b4176479067f77",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 65,
"avg_line_length": 16.61111111111111,
"alnum_prop": 0.5351170568561873,
"repo_name": "Fabio-Gambacorta/aniem-abruzzo",
"id": "262befcbf1e7ce6fdc3465c7e06557f42a424414",
... |
//
// KFTicketHttpTool.h
// SampleSDKApp
//
// Created by admin on 15/2/3.
// Copyright (c) 2015年 admin. All rights reserved.
//
#import "KFBaseHttpTool.h"
@class KFTicketHttpTool;
@protocol KFTicketHttpToolDelegate <NSObject>
@required
/**
* 请求成功的代理方法
*/
- (void)ticketHttpTool:(KFTicketHttpTool *)ticketHttpT... | {
"content_hash": "6cef8f034daa5af6d02ea0f4c15e1730",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 251,
"avg_line_length": 27.610738255033556,
"alnum_prop": 0.7034516285853184,
"repo_name": "KF5/KF5SDK-iOS",
"id": "6a2d3138afb286aeb14b59f2a96f6febcbf9a20f",
"size": "484... |
"""
An extension of scipy.stats.stats to support masked arrays
"""
# Original author (2007): Pierre GF Gerard-Marchant
# TODO : f_value_wilks_lambda looks botched... what are dfnum & dfden for ?
# TODO : ttest_rel looks botched: what are x1,x2,v1,v2 for ?
# TODO : reimplement ksonesamp
__all__ = ['argstoarray',
... | {
"content_hash": "ef81b9031c0c864b0cdbf9e15012f3ab",
"timestamp": "",
"source": "github",
"line_count": 3021,
"max_line_length": 119,
"avg_line_length": 32,
"alnum_prop": 0.5779025984773254,
"repo_name": "person142/scipy",
"id": "e2f502590eda5d6b6c6199a68d41f1681d5d296d",
"size": "96672",
"binary... |
def main():
from datetime import date
thisyear = date.today().year
print("Please provide your name and age you have turned in " + str(thisyear) + ".\n")
name = input("name: ")
age = input("age: ")
print("Please enter another number. \n")
secondnumber = input("number: ")
year100 = thi... | {
"content_hash": "0759ee87c99e7471560b04eaa091b5ef",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 93,
"avg_line_length": 25.846153846153847,
"alnum_prop": 0.5238095238095238,
"repo_name": "dmshelton/dmshelton",
"id": "3c9a44fb673a883261fd63531136e0246f8fe39f",
"size": "... |
import requests
import json
# Steps for Jokes Delivery
# 1. Retrieve page access token from https://developers.facebook.com/tools/explorer/666615676843865?method=GET&path=667782319960906%2Fconversations%20&version=v2.9
# 2. Read all the conversations
# 3. Register all conversations in database,
# 4. If Jokes not del... | {
"content_hash": "603326129d4ef0183f8f2827bb4a9345",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 248,
"avg_line_length": 42.23529411764706,
"alnum_prop": 0.8245125348189415,
"repo_name": "bhanduroshan/fbstats-docker",
"id": "efba69c9ce45de3992ddc760f6146a95108cd243",
"... |
using Microsoft.Build.Construction;
using Microsoft.DotNet.Cli;
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.DotNet.ProjectJsonMigration;
using Microsoft.Build.Evaluation;
namespace Microsoft.DotNet.Tools.Migrate
{
internal class TemporaryDotnetNewTemplateProject
{
... | {
"content_hash": "228ebc5dec0dcc5608c08aef3a9cf801",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 107,
"avg_line_length": 31.25,
"alnum_prop": 0.5996190476190476,
"repo_name": "weshaggard/cli",
"id": "3c4b2d39a073e7337458efdaeeca9261ea195204",
"size": "2627",
"binary"... |
BOOST_AUTO_TEST_SUITE(FirstSuite)
BOOST_AUTO_TEST_CASE( default_constructor )
{
JPetTSlot test;
BOOST_REQUIRE(test.size() == 0);
BOOST_REQUIRE(test.getNumberOfSigCh() == 0);
BOOST_REQUIRE(test.getSigChVect().size() == 0);
}
BOOST_AUTO_TEST_CASE( some_channels )
{
JPetTSlot test;
JPetSigCh ch_test(JPetSig... | {
"content_hash": "480b1c53f7b8695e519702f0670ceda8",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 114,
"avg_line_length": 31.057142857142857,
"alnum_prop": 0.6826126954921803,
"repo_name": "wictus/PhDFramework",
"id": "3067ca5c8c78aaf26845e1d0ff5e86d29b3f2cde",
"size": ... |
#ifndef _MYLIB
#define _MYLIB
#include <stdlib.h>
#include <stdio.h>
#define NUM_THREADS 8 // number of simultaneously executing threads you can have on
// your machine (not the number of threads you can spawn).
// Typically this equals the number of cores... | {
"content_hash": "deee0628e02125659fae3317e50f2cac",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 98,
"avg_line_length": 31.483606557377048,
"alnum_prop": 0.617807862535798,
"repo_name": "tingzhao/branchtest",
"id": "8c219b0c8983d1bb744dc9076eba122f4fd5ecb5",
"size": "... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6b350bced7e346a14b94044d195683d1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "ab6ede069ee0acdfaa4e902e51428b632f9a11eb",
"size": "185... |
<!DOCTYPE html>
<html lang="en" ng-app="simple">
<head>
<meta charset="UTF-8">
<title>Reselect by alexcheuk</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<li... | {
"content_hash": "654bcd2fc61c18d8cdde3caeb7b3d2ed",
"timestamp": "",
"source": "github",
"line_count": 291,
"max_line_length": 273,
"avg_line_length": 52.618556701030926,
"alnum_prop": 0.38727795193312436,
"repo_name": "alexcheuk/Reselect",
"id": "0fcddb6e05db24110bf4a9aeb4e3ee9f7b0886f3",
"size":... |
module Fluent
class MqttInput < Input
Plugin.register_input('mqtt', self)
include Fluent::SetTagKeyMixin
config_set_default :include_tag_key, false
include Fluent::SetTimeKeyMixin
config_set_default :include_time_key, true
config_param :port, :integer, :default => 1883
config_param :bin... | {
"content_hash": "d66e1dc4ea89a69f910e5ecf398c45da",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 107,
"avg_line_length": 26.294117647058822,
"alnum_prop": 0.5782997762863534,
"repo_name": "tk-hamaguchi/fluent-plugin-mqtt",
"id": "0ee75cd39bdbd44d1dc0e7020fef83cd8f958b2d"... |
class CNIControl
{
public:
CNIControl();
virtual ~CNIControl();
public:
int SetNIControl();
int StartControl();
int EndControl();
};
extern CNIControl g_NIControl;
extern float g_SlavePos;
#endif // !defined(AFX_NICONTROL_H__CC19FDE5_6F2C_49D3_A3DC_B13CE9889CB6__INCLUDED_)
| {
"content_hash": "8fda3161f0a2af91bde52f46d8e59aef",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 84,
"avg_line_length": 16.764705882352942,
"alnum_prop": 0.7298245614035088,
"repo_name": "tapomayukh/projects_in_c_cpp",
"id": "ff7a488a50744d1fd020f953f4e001e177e24f91",
... |
/*
* This is the main execution point of the application.
*/
// Import all the other classes that have been created.
var pCLI = require('./playercli');
var fCLI = require('./framecli');
var sBoard = require('./scoreboard');
// Constant defining how many frames there are in the application.
var LAST_FRAME_NUMBER... | {
"content_hash": "2826269f3465e4b3c9b5f8b6f95b00b8",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 91,
"avg_line_length": 27.622222222222224,
"alnum_prop": 0.6991150442477876,
"repo_name": "XeTK/BBC-Bowling",
"id": "7790665dfae834ac6bd363fd8540ac9f1b71a067",
"size": "124... |
#ifndef CDLGCALIBWIZARDONLINE_H
#define CDLGCALIBWIZARDONLINE_H
//(*Headers(CDlgCalibWizardOnline)
#include <mrpt/gui/WxUtils.h>
#include <wx/button.h>
#include <wx/checkbox.h>
#include <wx/choice.h>
#include <wx/dialog.h>
#include <wx/radiobox.h>
#include <wx/sizer.h>
#include <wx/spinctrl.h>
#include <wx/stattext.... | {
"content_hash": "40bf5d06e052e9c8471acf2c38ae1e79",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 64,
"avg_line_length": 26.943089430894307,
"alnum_prop": 0.7658418829209415,
"repo_name": "MRPT/mrpt",
"id": "3b038526924001e4d4714890ab957d5c84386ef8",
"size": "3940",
... |
package com.helger.scope.singleton;
import javax.annotation.Nonnull;
import com.helger.commons.annotation.UsedViaReflection;
import com.helger.commons.hashcode.HashCodeGenerator;
/**
* Mock implementation of {@link AbstractSessionSingleton}.
*
* @author Philip Helger
*/
public final class MockSessionSingleton e... | {
"content_hash": "6b6cf5eef5b05718a0d2fe947a487a2a",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 72,
"avg_line_length": 18.818181818181817,
"alnum_prop": 0.6830917874396135,
"repo_name": "phax/ph-commons",
"id": "8b07d63def9ad6fe34f186acd13ef17c50ff7758",
"size": "1689... |
"use strict";
var React = require('react');
var Grid = require('react-bootstrap').Grid;
var Col = require('react-bootstrap').Col;
var Row = require('react-bootstrap').Row;
var Modal = require('react-bootstrap').Modal;
var Input = require('react-bootstrap').Input;
var Button = require('react-bootstrap').Button;
var Fo... | {
"content_hash": "713ba42aaca0fdce843938637fd5055f",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 140,
"avg_line_length": 46.41242937853107,
"alnum_prop": 0.45100426049908704,
"repo_name": "todbot/Blink1Control2",
"id": "c66e30a654a1946b2ab43b512dd4603a99771e75",
"size... |
<?php
namespace SC\UsersBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* This is the class that loads and manages y... | {
"content_hash": "921ba267f5d49bbb6c83fc22710c7741",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 104,
"avg_line_length": 31.142857142857142,
"alnum_prop": 0.7247706422018348,
"repo_name": "diegogd/fosuser-fpopenid",
"id": "d1c3b5712686fa343c62bd61a004c6d5d7485c0a",
"si... |
old_string = "Ruby is cool"
new_string = old_string.reverse.upcase
#ß
# RSpec Tests. They are included in this file because the local variables you are creating are not accessible across files. If we try to run these files as a separate file per normal operation, the local variable checks will return nil.
describe... | {
"content_hash": "1bd242f936ee8c9834784234f401e09b",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 236,
"avg_line_length": 27.035714285714285,
"alnum_prop": 0.714663143989432,
"repo_name": "anfjord/phase-0",
"id": "31ed4c7a637af470cda8071c7a2a333445ed8002",
"size": "775"... |
This folder has a bunch of different dependency management
tools. You probably only want to include one of these.
| {
"content_hash": "6875abf493d8e3e455f32740f179e094",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 58,
"avg_line_length": 57.5,
"alnum_prop": 0.808695652173913,
"repo_name": "go-make/make",
"id": "1208da7f99435266abed098562fd5adf71da228c",
"size": "115",
"binary": false... |
package ru.atott.combiq.data.commands;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.shell.core.CommandMarker;
import org.springframework.shell.core.ExitShellRequest;
import ... | {
"content_hash": "083c0927157f00ae9674507260770788",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 152,
"avg_line_length": 40.432432432432435,
"alnum_prop": 0.7640374331550802,
"repo_name": "atott/combiq",
"id": "19417a6db58012c10170d9484bc59c065e61f690",
"size": "1496",... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gpu/command_buffer/service/gles2_cmd_decoder.h"
#include <stdio.h>
#include <algorithm>
#include <list>
#include <map>
#include <stack>
#i... | {
"content_hash": "68dac2f0b133038e3b4a15b3d4268228",
"timestamp": "",
"source": "github",
"line_count": 12144,
"max_line_length": 80,
"avg_line_length": 35.06464097496706,
"alnum_prop": 0.6589725826337111,
"repo_name": "CTSRD-SOAAP/chromium-42.0.2311.135",
"id": "2fa44fba8c317d46fab5669737dde955284f7... |
(function() {
var module = QUnit.module;
var test = QUnit.test;
var Crafty2 = global.craftyFactory();
module("Instances");
test("Separate crafty instances do not share property", function(_) {
Crafty2.__SOME_PROPERTY__ = '__SOME_PROPERTY__';
_.strictEqual(Crafty2.__SOME_PROPERTY__, '__SOME_PROPERT... | {
"content_hash": "fa0fdfea7f77de618e91356ff01c3ba3",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 100,
"avg_line_length": 32.89473684210526,
"alnum_prop": 0.664,
"repo_name": "mucaho/Crafty",
"id": "fac211a6a92ec5d5f58b9fa54401b9ebb223370d",
"size": "625",
"binary": f... |
title: Supported File Types
nav_sort: 5
nav_groups:
- primary
nav_category: true
---
| {
"content_hash": "2882d537401e08a1fd04c183c5a3ab9d",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 27,
"avg_line_length": 14.5,
"alnum_prop": 0.7126436781609196,
"repo_name": "oysteinsigholt/docs-scaffold",
"id": "fd028ab6c462b805436de0388ff48b43ce44efaf",
"size": "91",
... |
<?xml version="1.0" encoding="UTF-8"?>
<rootTag>
<Award>
<AwardTitle>Innovation in an Aging Society</AwardTitle>
<AwardEffectiveDate>09/01/2013</AwardEffectiveDate>
<AwardExpirationDate>08/31/2014</AwardExpirationDate>
<AwardAmount>600000</AwardAmount>
<AwardInstrument>
<Value>Interagency A... | {
"content_hash": "62b34b04cfeb9592fb0e25776c542a19",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 73,
"avg_line_length": 32.911764705882355,
"alnum_prop": 0.6747095621090259,
"repo_name": "jallen2/Research-Trend",
"id": "f44d6a4040583df926678ecb3e3aed1d751a77b1",
"size"... |
<?php
class Google_Service_Apigee_GoogleCloudApigeeV1Properties extends Google_Collection
{
protected $collection_key = 'property';
protected $propertyType = 'Google_Service_Apigee_GoogleCloudApigeeV1Property';
protected $propertyDataType = 'array';
/**
* @param Google_Service_Apigee_GoogleCloudApigeeV1Pr... | {
"content_hash": "2f185e6729b392cbe32230c267859704",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 83,
"avg_line_length": 23.333333333333332,
"alnum_prop": 0.7232142857142857,
"repo_name": "phil-davis/core",
"id": "eb8e8b75ef879fc0d58d32fbc10dc40027cb0b2e",
"size": "1150... |
using System;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Windows.Web.Http;
using Windows.Web.Http.Headers;
namespace Template10.Services.Web
{
public class WebApiHelper
{
const string applicationJson = "application/json";
private HttpClient Client()
{
var h... | {
"content_hash": "eee5d5f4e4a3d261030203566f558770",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 124,
"avg_line_length": 32.43076923076923,
"alnum_prop": 0.5692599620493358,
"repo_name": "callummoffat/Template10",
"id": "5a32d8a940b884ce87f4a33bdf41a456fbee051f",
"size... |
package org.intellij.lang.xpath.context;
import com.intellij.openapi.util.Key;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile;
import com.intellij.psi.util.PsiTreeUtil;
import com.intellij.psi.xml.XmlElement;
import org.intellij.lang.xpath.XPathFile;
import org.intellij.lang.xpath.context.functio... | {
"content_hash": "f690992981ea5ec48efd92f9548b5dcb",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 136,
"avg_line_length": 33.33990147783251,
"alnum_prop": 0.6631205673758865,
"repo_name": "joewalnes/idea-community",
"id": "5bf774c000f6da8b6e2e8f75d477740a6ac7672e",
"si... |
<!DOCTYPE HTML>
<html>
<head>
<title>Phaser - Bomber</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1, IE=9">
<meta name="format-detection" content="telephone=no">
<meta name="HandheldFriendly" content="true" />
<meta name="apple-mobile-web-app-capable" content... | {
"content_hash": "f175bd7986621c81b8875383cd4f6699",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 97,
"avg_line_length": 42.46031746031746,
"alnum_prop": 0.6583177570093458,
"repo_name": "gerardogrimaldi/gerardogrimaldi.github.io",
"id": "cedd4ecd6b4906b5113e0cb41b8184c91... |
package com.spotify.scio.io.dynamic.syntax
import com.google.protobuf.Message
import com.spotify.scio.io.{ClosedTap, EmptyTap}
import com.spotify.scio.coders.{AvroBytesUtil, Coder, CoderMaterializer}
import com.spotify.scio.util.{Functions, ProtobufUtil}
import com.spotify.scio.values.SCollection
import org.apache.a... | {
"content_hash": "8e84bdf91bf90a649ee7aa2cb11b07ed",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 100,
"avg_line_length": 31.936363636363637,
"alnum_prop": 0.6920011386279533,
"repo_name": "regadas/scio",
"id": "94411dc4fcefc4089335c5192ed16e96e0fb8639",
"size": "7624"... |
{% extends "base.html" %}
{% block content %}
{{content}}
<div class="Posts Posts--index">
{% include "partials/nav_siblings.html" %}
</div>
{% endblock %} | {
"content_hash": "c4afd2f5db7b88ef2621b90f96af94e0",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 44,
"avg_line_length": 18,
"alnum_prop": 0.6049382716049383,
"repo_name": "vieron/wwwrite",
"id": "47e87bbe4c05cc8cce969ed8f4fcbd0253b5a757",
"size": "162",
"binary": fals... |
<?php
declare(strict_types=1);
namespace Keystone\Multitenancy\Bundle\DependencyInjection;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
use Symfony\Component\DependencyInjection\Reference;
use Sy... | {
"content_hash": "54c979e015a33813357c3a826bec2c97",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 121,
"avg_line_length": 40.39393939393939,
"alnum_prop": 0.741185296324081,
"repo_name": "keystonephp/multitenancy",
"id": "bae3e8be4f852b7c1242af433f30a5caab99e0f0",
"size... |
Developing, untested.
| {
"content_hash": "b0564ad546726a40779122568908677f",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 21,
"avg_line_length": 22,
"alnum_prop": 0.8181818181818182,
"repo_name": "ximsfei/Android-theme-support",
"id": "c6b9b8f1e0157f6485accb9512b7eb409be791a7",
"size": "47",
... |
import { CategoricalColorNamespace } from '.';
import { FeatureFlag, isFeatureEnabled, makeSingleton } from '../utils';
import { getAnalogousColors } from './utils';
export class SharedLabelColor {
sliceLabelColorMap: Record<number, Record<string, string | undefined>>;
constructor() {
// { sliceId1: { label... | {
"content_hash": "aa1766a5a0553ca9505e018e8d7b8c95",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 74,
"avg_line_length": 28.103448275862068,
"alnum_prop": 0.5662576687116564,
"repo_name": "zhouyao1994/incubator-superset",
"id": "10a14df0759102353ab99d3031dee324b98839d1",... |
<?php
namespace Doctrine\Tests\ORM\Functional\Ticket;
use Doctrine\Tests\ORM\Functional\DatabaseDriverTestCase;
use Doctrine\ORM\Mapping\ClassMetadataInfo;
class DDC2387Test extends DatabaseDriverTestCase
{
/**
* @group DDC-2387
*/
public function testCompositeAssociationKeyDetection()
... | {
"content_hash": "9e708117876c34139c82cc967c44c001",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 115,
"avg_line_length": 40.43333333333333,
"alnum_prop": 0.6793075020610058,
"repo_name": "javieralfaya/tuitty",
"id": "c75ead31848d5eab0e3acbd2c17ca94a37fa058a",
"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">
<modelVersion>4.0.0</modelVersion>
<parent>
... | {
"content_hash": "56180bcd53fe18f6d307eb034a338238",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 108,
"avg_line_length": 35.54761904761905,
"alnum_prop": 0.6208975217682519,
"repo_name": "vladimir-bukhtoyarov/bucket4j",
"id": "0f290bf46db2ee9e79546239e94dfec67451c24d",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>GPKGTileTable Class Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer></script>
... | {
"content_hash": "d849d7391c7e2d93d4b3a7e343d619d2",
"timestamp": "",
"source": "github",
"line_count": 5459,
"max_line_length": 637,
"avg_line_length": 52.40117237589302,
"alnum_prop": 0.4880898279369918,
"repo_name": "ngageoint/geopackage-ios",
"id": "735af7931126ba9c51b61b87a3d83765d9c24cda",
"s... |
package ez.dork.stock.domain;
public class StockKey {
/**
* This field was generated by MyBatis Generator. This field corresponds to the database column stock.code
* @mbggenerated Fri Dec 06 23:23:50 CST 2013
*/
private String code;
/**
* This field was generated by MyBatis Generator. This field corresp... | {
"content_hash": "2f084698019d98b098faf2025585d976",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 115,
"avg_line_length": 26.551724137931036,
"alnum_prop": 0.6666666666666666,
"repo_name": "ezdork/a1-pom",
"id": "6488feed58cad40d7b3824f8d29609647b2e02be",
"size": "2310"... |
"""
ERP+
"""
__author__ = 'António Anacleto'
__credits__ = []
__version__ = "1.0"
__maintainer__ = "António Anacleto"
__status__ = "Development"
__model_name__ = 'linha_anexo_cliente_dpr.LinhaAnexoClienteDPR'
import auth, base_models
from orm import *
from form import *
class LinhaAnexoClienteDPR(Model, View):
def... | {
"content_hash": "77b0a085673cccbe048eef303e9c35b6",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 197,
"avg_line_length": 45.59183673469388,
"alnum_prop": 0.6186213070725156,
"repo_name": "IdeaSolutionsOnline/ERP4R",
"id": "1863c64de6e3c33c6090d527d6d86275821fcdff",
"si... |
package com.glaf.ui.web.springmvc;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Lo... | {
"content_hash": "3edacb77694f4f91ad961cb878a87961",
"timestamp": "",
"source": "github",
"line_count": 331,
"max_line_length": 77,
"avg_line_length": 29.68580060422961,
"alnum_prop": 0.6784042336657846,
"repo_name": "jior/glaf",
"id": "30110541677491dd6b2fe324e68760a0e8bfc2dc",
"size": "10631",
... |
#include "frequentlychangedmodel.h"
FrequentlyChangedModel::FrequentlyChangedModel(QObject *parent)
: FileListModel(parent)
{
readData("FrequentlyChanged");
}
| {
"content_hash": "25f93a19de5a4d0e67f8556ccf2ac306",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 63,
"avg_line_length": 18.88888888888889,
"alnum_prop": 0.7705882352941177,
"repo_name": "yatsek/silk",
"id": "41a759e207f68c6cbecc7ac3077300b50997a49e",
"size": "1718",
"... |
module Presto
class App
# initializing new App
#
# app = Presto::App.new
def initialize
@partitions = Array.new
end
# mounting a namespace into a given root and optionally configure mounted partition.
# nodes under given namespace will use here setup beside own internal setup.
... | {
"content_hash": "91ba8424a6e8f61ccd73b2a3df531a03",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 107,
"avg_line_length": 31.435643564356436,
"alnum_prop": 0.5464566929133858,
"repo_name": "libin/presto",
"id": "56f81ca60b621ab8723175b29ed0c50575404a88",
"size": "3175"... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package io;
import genomicregions.CNV;
import genomicregions.GenomicElement;
import genomicregions.GenomicSet;
import java.io.File;
i... | {
"content_hash": "a96761a8e7e5d8017d13290fdda68015",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 96,
"avg_line_length": 29.256637168141594,
"alnum_prop": 0.6228070175438597,
"repo_name": "ibn-salem/position_effect",
"id": "1cc2783b612d3787fb8c4168e6042e6fbe74f137",
"s... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_18) on Thu Dec 18 17:18:40 PST 2014 -->
<title>Uses of Class javax.swing.DefaultRowSorter.ModelWrapper (Java Platform SE 7 )</title>
<m... | {
"content_hash": "6287a6f40eeef746ed7cf1b7815b3c0a",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 596,
"avg_line_length": 47.86187845303867,
"alnum_prop": 0.6763245988687522,
"repo_name": "fbiville/annotation-processing-ftw",
"id": "b8ad8aabd3a665e2eba9d820d71f475d1d0e53... |
namespace MvcEssentials.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class SampleContent : DbMigration
{
public override void Up()
{
this.AddColumn("dbo.NewsArticles", "SampleContent", c => c.String(nullable: false, maxLength: 1000));
... | {
"content_hash": "ce01c4d077a7488707efa8fc64f5038e",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 113,
"avg_line_length": 25.61111111111111,
"alnum_prop": 0.6052060737527115,
"repo_name": "puhabg/EssentialNews",
"id": "316d7e626c9deec43e056904cba6857d84614138",
"size": ... |
<component name="libraryTable">
<library name="avoid node_modules" type="javaScript">
<properties>
<option name="frameworkName" value="node_modules" />
<sourceFilesUrls>
<item url="file://$PROJECT_DIR$/node_modules" />
</sourceFilesUrls>
</properties>
<CLASSES>
<root url="f... | {
"content_hash": "bf0cf3e42e53bb8a05317a504ae3683f",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 58,
"avg_line_length": 28.6,
"alnum_prop": 0.6130536130536131,
"repo_name": "sovaa/avoid",
"id": "71b9f9e8abae5c34d1bf4808c8439ad349380fec",
"size": "429",
"binary": fals... |
<?php
include 'settings.php';
date_default_timezone_set($timezone); // Sets timezone here
$team_key = "frc" . $team;
function teamData(){
global $team_key;
$data = api('https://www.thebluealliance.com/api/v3/team/' . $team_key);
return $data;
}
$city = teamData()['city'];
$state = teamData()['state_pro... | {
"content_hash": "a818a2a621f74f68c04e2ea365bfaa95",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 108,
"avg_line_length": 22.927835051546392,
"alnum_prop": 0.5013489208633094,
"repo_name": "PredatorsRobotics/MeetStatusScreen",
"id": "8874fdcc93172ae6eae7cc2b5044c2eb7a6416... |
/*
utils.h
-----
Role : Utility function
*/
#ifndef H_UTILS
#define H_UTILS
extern char hook[2];
extern char bracket[2];
/**
* List of String
*/
struct Array {
char* value;
Array* next;
};
void toInteger(char*, int&);
int pow(int);
char* addChar(char*, const char*);
char* substr(char*, int, int);... | {
"content_hash": "a4ded4c63cfab2bd9c2a302e75c0f182",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 40,
"avg_line_length": 13.885714285714286,
"alnum_prop": 0.5987654320987654,
"repo_name": "Farrael/Math_Solver",
"id": "b02f133e8e248b5e2742f8fd775ded9249fed731",
"size": "... |
#include <kdb.hpp>
#include <helper/keyhelper.hpp>
#include <kdb.h>
#include <kdbmodule.h>
#include <kdbplugin.h>
#include <kdbprivate.h> // currently needed for plugin handling (struct _Plugin)
#include <plugindatabase.hpp>
#include <algorithm>
#include <set>
#include <plugin.hpp>
// for stdout
#include <stdio.... | {
"content_hash": "1a2b010ae389862f6b5b8a2a31e562a8",
"timestamp": "",
"source": "github",
"line_count": 477,
"max_line_length": 134,
"avg_line_length": 24.945492662473793,
"alnum_prop": 0.6469451214387764,
"repo_name": "BernhardDenner/libelektra",
"id": "6f118817c65a1bd2308d6303ef68c435c110dbef",
"... |
set(NEON_FLAGS)
set(NEON_FOUND)
set(DETECTED_NEON)
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
execute_process(COMMAND ${CMAKE_CXX_COMPILER} "-dumpversion" OUTPUT_VARIABLE GCC_VERSION_STRING)
if(GCC_VERSION_STRING VERSION_GREATER 4.2 AND NOT APPLE AND NOT CMAKE_CROSSCOMPILING)
SET(NEON_FLAGS "${NEO... | {
"content_hash": "5411f9702bb5a3b5c8a58a4af1815415",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 98,
"avg_line_length": 29.846153846153847,
"alnum_prop": 0.6850515463917526,
"repo_name": "Milad-Rakhsha/chrono",
"id": "19aae80ccb3126d493fa54b455382eee36b8dd71",
"size": ... |
"""
ROS node which converts joel world model, osl_world_model, AcousticModemData
msgs into the ones used for the Evologics modem driver
Author: Gordon Frost; email: gwf2@hw.ac.uk
date: 05/02/2015
"""
# TODO: Add Radio Modem switch in here when vehicles known to be on surface
import roslib;roslib.load_manifest("evologi... | {
"content_hash": "8ba6e2df0a1e684ee8f58ef5b023eb13",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 95,
"avg_line_length": 37,
"alnum_prop": 0.7324782409528172,
"repo_name": "oceansystemslab/evologics_driver",
"id": "88afdc8024491b18010962750f9e9121fb041770",
"size": "220... |
define(function(require) {
'use strict';
var rest = require('rest');
var defaultRequest = require('rest/interceptor/defaultRequest');
var mime = require('rest/interceptor/mime');
var errorCode = require('rest/interceptor/errorCode');
var baseRegistry = require('rest/mime/registry');
var re... | {
"content_hash": "df56b9d2f4bb4de7d54946118540973b",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 68,
"avg_line_length": 27.625,
"alnum_prop": 0.6561085972850679,
"repo_name": "awanrky/cinchring",
"id": "9b1ed6e2c0862393a82018d1047149d4c44cee7c",
"size": "443",
"binar... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2013 The Android Open Source Project
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/l... | {
"content_hash": "925dc3c6562d7c09074eb76138ea1e7a",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 120,
"avg_line_length": 61.61290322580645,
"alnum_prop": 0.7230366492146597,
"repo_name": "philliphsu/BottomSheetPickers",
"id": "beac99e54260125d2ba02d85b480e743c779fce1",
... |
using Evol.Fx.EntityFramework.Repository;
using System.Data.Entity;
using Evol.Common.IoC;
using System;
namespace Evol.Fx.EntityFramework.Uow
{
public class EfDbContextProvider : IEfDbContextProvider
{
private IIoCManager _ioCManager;
public EfDbContextProvider(IIoCManager ioCManager)
... | {
"content_hash": "83e6fb8f4ab3ad7a086cb5c7ee810c34",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 72,
"avg_line_length": 26.84,
"alnum_prop": 0.6408345752608048,
"repo_name": "supernebula/evol-core",
"id": "c1a4909f74c023587e3537f8e44aa5dea4da5557",
"size": "673",
"bi... |
package org.apache.ivyde.internal.eclipse.handlers;
import org.apache.ivyde.eclipse.cp.IvyClasspathContainer;
import org.eclipse.core.resources.IProject;
public class ReloadSettingsHandler extends AbstractIvyDEHandler {
public static final String COMMAND_ID = "org.apache.ivyde.commands.reloadsettings";
pro... | {
"content_hash": "0f52321c47f4912a4c0fa51cd82f40ca",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 87,
"avg_line_length": 29.733333333333334,
"alnum_prop": 0.7937219730941704,
"repo_name": "apache/ant-ivyde",
"id": "9db8f4be41cf727b9ccaf84c3f0d1d3655b559c5",
"size": "126... |
<!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_27) on Wed Nov 21 16:03:56 EST 2012 -->
<TITLE>
Uses of Class org.pentaho.di.core.row.SpeedTest
</TITLE>
<META NAME="date" CONTENT="2012-11-21">
<L... | {
"content_hash": "b9534d4f47be2140f5240746c1717157",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 216,
"avg_line_length": 41.145833333333336,
"alnum_prop": 0.6047257383966245,
"repo_name": "ColFusion/PentahoKettle",
"id": "2b4ea252edf487caec890a11d242c5054369fe52",
"si... |
<html>
<body>
The classes in this package represent the set of Validator objects
the Business Layer makes available to the Presentation Layer.
</body>
</html>
| {
"content_hash": "a6e06d76a6a9d701764fb60d27f1a0b3",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 67,
"avg_line_length": 21.25,
"alnum_prop": 0.7294117647058823,
"repo_name": "Will1229/LearnSpring",
"id": "90adeaca58945f89c2b32dc7e0ffe04db8744548",
"size": "170",
"bina... |
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSampleApp
BEGIN_MESSAGE_MAP(CSampleApp, CWinApp)
//{{AFX_MSG_MAP(CSampleApp)
ON_COMMAND(ID_APP_ABOUT, OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
// ... | {
"content_hash": "265440b9d94f7852e88433ace708be76",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 77,
"avg_line_length": 26.714285714285715,
"alnum_prop": 0.6560525036460866,
"repo_name": "sgh/vtk",
"id": "1cde5cb79d1c4a9cb19b5403d4347cf9de8cc22c",
"size": "4368",
"b... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>group-theory: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | {
"content_hash": "83712b14cc81baeeeac97b0107272bcd",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 159,
"avg_line_length": 40.029761904761905,
"alnum_prop": 0.537546468401487,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "8c993b7507104243584faf231440399ce5db720f",
... |
package com.qaprosoft.carina.demo.gui.components;
import org.openqa.selenium.SearchContext;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.FindBy;
import com.qaprosoft.carina.core.foundation.webdriver.decorator.ExtendedWebElement;
import com.qaprosoft.carina.core.gui.AbstractUIObject;
impor... | {
"content_hash": "30a212601e10a10294aab731bcf2f4d9",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 83,
"avg_line_length": 28.64516129032258,
"alnum_prop": 0.7421171171171171,
"repo_name": "qaprosoft/carina-demo",
"id": "27b7e8e36ba0afb91a80d5dea28e1cecb882affd",
"size": ... |
<SkinFrame id="ListCell" skin="chat_liaotiankuang" x="188" y="463" width="497" height="100" alpha="1" enabled="true">
<Button id="Instante3" label="Button" skin="default_button1" x="12" y="37" width="100" height="50" enabled="true" alpha="1"/>
<ImageButton id="Instante4" skin="close" x="447" y="11" enabled="true" a... | {
"content_hash": "3db0d96b40a0153047b0191c5010ea6b",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 147,
"avg_line_length": 98.83333333333333,
"alnum_prop": 0.6677908937605397,
"repo_name": "GameRisker/RookieEditor",
"id": "88b664ac7f510478c0802d961d1e201dc96b0891",
"size"... |
{-
NOTA BENE: Do NOT use ($) anywhere in this module! The type of ($) is
slightly magical (it can return unlifted types), and it is wired in.
But, it is also *defined* in this module, with a non-magical type.
GHC gets terribly confused (and *hangs*) if you try to use ($) in this
module, because it has different types ... | {
"content_hash": "b85d272dda2640bef50bf0212e14eb90",
"timestamp": "",
"source": "github",
"line_count": 1225,
"max_line_length": 123,
"avg_line_length": 34.53877551020408,
"alnum_prop": 0.5639092413141101,
"repo_name": "antalsz/hs-to-coq",
"id": "12f7ea3cac9f04d00d161a8fec524c70bb0b6262",
"size": "... |
declare -A params=$6 # Create an associative array
paramsTXT=""
if [ -n "$6" ]; then
for element in "${!params[@]}"
do
paramsTXT="${paramsTXT}
SetEnv ${element} \"${params[$element]}\""
done
fi
export DEBIAN_FRONTEND=noninteractive
sudo service nginx stop
apt-get update
apt-get install ... | {
"content_hash": "b684b80f463f447d56322efbb60fa998",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 90,
"avg_line_length": 36.85142857142857,
"alnum_prop": 0.6653744766630485,
"repo_name": "shadow-droid/laravel-homestead",
"id": "71099314c7cdc202259da919e44924f3767d3499",
... |
<?php
namespace Application\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration,
Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your need!
*/
class Version20121120134630 extends AbstractMigration
{
public function up(Schema $schema)
{
// this up() migration... | {
"content_hash": "5f94ccab4340a9c484d8f776aa5e29e9",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 92,
"avg_line_length": 36.28125,
"alnum_prop": 0.6761412575366064,
"repo_name": "damedia/culture.ru",
"id": "aae1227b4add209654141fae5f70d3c18cc9cf98",
"size": "1161",
"b... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.appservice.fluent.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import ... | {
"content_hash": "9dbb2626a53b716a01ee42f5066e8f96",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 110,
"avg_line_length": 29.60576923076923,
"alnum_prop": 0.6716466385189996,
"repo_name": "Azure/azure-sdk-for-java",
"id": "bbce265c706e4f96b99b610854ee8307f084367f",
"si... |
#include "zlib.h"
extern int arm_cpu_enable_crc32;
#if defined(STARBOARD)
extern int arm_cpu_enable_neon;
#endif
extern int arm_cpu_enable_pmull;
void arm_check_features(void);
| {
"content_hash": "03888482aef508c4b01d12a78065595d",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 32,
"avg_line_length": 16.454545454545453,
"alnum_prop": 0.7513812154696132,
"repo_name": "youtube/cobalt",
"id": "d10047970a6f980c39bb086eb97886c5b81e4783",
"size": "434",... |
require 'parchment/helpers'
module Parchment
# A "run" of text within a Paragraph. Each run may have its own style
# attributes different from that of the Paragraph. These are iterated
# through to generate a line of formatted output.
#
class TextRun
include Parchment::Helpers
# (Style) ... | {
"content_hash": "ea8a2b324a365784c0773070f335cc79",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 88,
"avg_line_length": 31.94736842105263,
"alnum_prop": 0.6397583745194948,
"repo_name": "apetlock/parchment",
"id": "def04b4d7694fa64540195a5734108440226a5b0",
"size": "18... |
namespace StevenVolckaert
{
using System;
/// <summary>
/// Converts a unit of measurement to an equivalent unit of measurement.
/// </summary>
public static class UnitConvert
{
private const double MillimetersPerInch = 25.4;
private const double MillimetersPerFoot = Millim... | {
"content_hash": "defb212f6683b89ea4c4ff901eb70880",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 102,
"avg_line_length": 39.37837837837838,
"alnum_prop": 0.5854495538778312,
"repo_name": "stevenvolckaert/enterprise-library",
"id": "1bad77d447c9970f13bb21d651d2dff76b9213... |
<?php
class Conekta_PlanTest extends UnitTestCase
{
public function testSuccesfulGetPlan()
{
setApiKey();
$plans = Conekta_Plan::where();
$p = $plans[0];
$plan = Conekta_Plan::find($p->id);
$this->assertTrue(strpos(get_class($plan), "Conekta_Plan") !== false);
}
public function testSuccesfulWhere()
{
... | {
"content_hash": "859560bad5ef90d83b4ff904755b2608",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 142,
"avg_line_length": 27.462962962962962,
"alnum_prop": 0.6163182737693864,
"repo_name": "julianceballos/conekta-php",
"id": "c83163609e873a2d8aea8de564829591ffef840f",
"... |
import os
from distutils.core import setup
from setuptools import find_packages
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
extra_files = ... | {
"content_hash": "6fcf694580a94b681ca7060e0956f806",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 66,
"avg_line_length": 26.58823529411765,
"alnum_prop": 0.6670353982300885,
"repo_name": "rom1504/python-minecraft-data",
"id": "d3976de49fb85ade8e92ad46311ff7dbe73d21a5",
... |
<?php
use kartik\select2\Select2;
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Matapelajaran */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="matapelajaran-form">
<?php $form = ActiveForm::begin([
//'id' => 'search-form',
'method' => 'post',
'a... | {
"content_hash": "69a658f0ef77c76efce48f0a38fee945",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 147,
"avg_line_length": 32.18,
"alnum_prop": 0.5357364822871349,
"repo_name": "cakpepp/spk-penjurusan-ahp",
"id": "b70044484e4a6ebc3b8bf6d0741587258c58a55a",
"size": "1609"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.