text stringlengths 2 1.04M | meta dict |
|---|---|
package com.scavi.brainsqueeze.career;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
public class Robot {
private final Map<Character, Integer> _alphabet;
public Robot(final Map<Character, Integer> alphabet) {
_alphabet = alphabet;
}
public List<String> moveRobot(... | {
"content_hash": "1f244ab5bdc8667f02340a6a03868358",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 82,
"avg_line_length": 27.21276595744681,
"alnum_prop": 0.5480844409695075,
"repo_name": "Scavi/BrainSqueeze",
"id": "9ce95d2142f1992149a88f1b9a43551e6771eca2",
"size": "12... |
/*
* Copyleft 2015
* and other contributors as indicated by the @author tags.
*
* 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
*
* ... | {
"content_hash": "7b7db20a0d86a9b53472c472becb9f88",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 123,
"avg_line_length": 36.32203389830509,
"alnum_prop": 0.6817545496966869,
"repo_name": "panossot/jam-metrics",
"id": "8bddbdca86f26aeb27597b63f074371008426713",
"size":... |
tycho-p2-example
================
Example for a p2 repository built using [Tycho](http://www.eclipse.org/tycho/).
It has an empty feature and just the bare minimum of configuration to get a p2
repository.
| {
"content_hash": "093507cdf42cca9a3a71bdeb18ba2164",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 79,
"avg_line_length": 34.333333333333336,
"alnum_prop": 0.7135922330097088,
"repo_name": "robinst/tycho-p2-example",
"id": "69a0aff558b807baff3bd3b232292896f5a9db91",
"size... |
<?xml version= "1.0" encoding ="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/pay_logo_mes_hover" android:state_checked="true"></item>
<item android:drawable="@drawable/pay_logo_mes" android:state_checked="false"></item>
</selector> | {
"content_hash": "0835c10712a7fef6459d2594ddc3cfb3",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 94,
"avg_line_length": 45,
"alnum_prop": 0.6984126984126984,
"repo_name": "l1fan/GameAne",
"id": "d04df9b4f3dab42994821e698eb012c5c2cb33dd",
"size": "315",
"binary": false... |
<meta charset="utf-8" />
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'/>
<meta name="msvalidate.01" content="C41371E1ABEAE7BCC0EE15AF51B82D47" />
... | {
"content_hash": "714992f6368b62215d6c4cb558cb15fb",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 80,
"avg_line_length": 38.5,
"alnum_prop": 0.5785123966942148,
"repo_name": "horoscopo/horoscopo.github.io",
"id": "6025568225457750c68bb4f4c682f04b9a8b970d",
"size": "2541... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System.Diagnostics.CodeAnalysis;
using Microsoft.VisualStudio.Editor;
using Microsoft.Visua... | {
"content_hash": "d70261f5821086983a8a8916687e9d8f",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 153,
"avg_line_length": 40.54237288135593,
"alnum_prop": 0.6906354515050167,
"repo_name": "genlu/roslyn",
"id": "4f384590d576087a4852c7090c21e7a84b2afd1e",
"size": "2394",
... |
<!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"/>
<title>VSTGUI: New Stuff in VSTGUI 3.6 and earlier</title>
<link href="tabs.cs... | {
"content_hash": "ec85bd60a185d5fceba21b4c7d68af84",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 298,
"avg_line_length": 58.96666666666667,
"alnum_prop": 0.705935556811758,
"repo_name": "rcgilbert/csc344-wi14",
"id": "463788cde805aff7e292faec8240af2718b431ff",
"size":... |
package graphql;
import com.intellij.extapi.psi.PsiFileBase;
import com.intellij.lang.Language;
import com.intellij.openapi.fileTypes.FileType;
import com.intellij.psi.FileViewProvider;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import javax.swing.*;
public class GraphQLFile... | {
"content_hash": "1926e8f47457a2cb337c9d4a3eefd3f9",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 68,
"avg_line_length": 23.235294117647058,
"alnum_prop": 0.7278481012658228,
"repo_name": "Gregoor/graphql-intellij-plugin",
"id": "4123bfb271369532ba2aa1696a872b774ab44965",... |
'use strict';
const fs = require('fs');
const http = require('http');
const path = require('path');
const env = require('../../modules/environment');
describe('browser/index.html', function desc() {
this.timeout(10000);
const config = {
version: 1,
teams: [{
name: 'example_1',
url: env.matte... | {
"content_hash": "1218952a635362e9a55aaf3ffde3c10b",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 99,
"avg_line_length": 31.640625,
"alnum_prop": 0.5881481481481482,
"repo_name": "jnugh/desktop",
"id": "6d760d57811e5ead817e41a347f4e0d98978bfcc",
"size": "6075",
"bina... |
var menudata={children:[
{text:"Main Page",url:"index.html"},
{text:"Namespaces",url:"namespaces.html",children:[
{text:"Namespace List",url:"namespaces.html"},
{text:"Namespace Members",url:"namespacemembers.html",children:[
{text:"All",url:"namespacemembers.html"},
{text:"Functions",url:"namespacemembers_func.html"}... | {
"content_hash": "7ed8358fbf59b2d9fa2920cd907b304d",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 64,
"avg_line_length": 40.8,
"alnum_prop": 0.7107843137254902,
"repo_name": "kartikkumar/cppbase",
"id": "049388caa6f45563b1c9750250ffb80a50a8062e",
"size": "1701",
"bina... |
package com.github.alexfalappa.nbspringboot.projects.initializr;
import java.util.Objects;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.collections4.ComparatorUtils;
import org.springframework.util.comparator.Comparators;
/**
* Represents an artifact version of the form ... | {
"content_hash": "2bae28dd62e4377c29949d2850dfc6b6",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 124,
"avg_line_length": 30.7007299270073,
"alnum_prop": 0.5582501188777936,
"repo_name": "AlexFalappa/nb-springboot",
"id": "e79058880d75f6e851bfddab7e7c25fdad5018d6",
"si... |
module SpreeMadmimi
module Generators
class InstallGenerator < Rails::Generators::Base
class_option :auto_run_migrations, :type => :boolean, :default => false
def add_javascripts
append_file 'vendor/assets/javascripts/spree/frontend/all.js', "//= require spree/frontend/spree_madmimi\n"
... | {
"content_hash": "226de7d42fdf5d7021acdd6d5759815c",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 158,
"avg_line_length": 40.645161290322584,
"alnum_prop": 0.6507936507936508,
"repo_name": "godaddy/spree_madmimi",
"id": "6a5655baacfde7fd94dc95b1de69670458a6172f",
"size"... |
<?xml version="1.0" encoding="utf-8"?>
<MotionScene xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:motion="http://schemas.android.com/apk/res-auto">
<!--motion:interpolator="@interpolator/foo"-->
<!--motion:interpolator="@anim/bar"-->
<Transition
motion:constraintSetStart="@+i... | {
"content_hash": "70f37ae062346eb8bf11c076394902da",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 71,
"avg_line_length": 37.62149532710281,
"alnum_prop": 0.5887467395354614,
"repo_name": "androidx/constraintlayout",
"id": "227983f6a12f460308c6c9f418a26e8b3ec88f6c",
"si... |
from django_schemata.management.commands.sync_schemata import BaseSchemataCommand
# Uses the twin command base code for the actual iteration.
class Command(BaseSchemataCommand):
COMMAND_NAME = 'migrate'
| {
"content_hash": "18788c13c5f199ab65f2e4a939f563b4",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 81,
"avg_line_length": 34.833333333333336,
"alnum_prop": 0.8086124401913876,
"repo_name": "tuttle/django-schemata",
"id": "cc4b852dc3dfd09696445a339ce9bc347dd2d0e7",
"size":... |
<h3>Contact Requests</h3>
<ul class="list-group">
@if($requests->isEmpty())
<li class="list-group-item">
<h4>There are no contact requests.</h4>
</li>
@else
@foreach($requests as $request)
<li class="list-group-item">
<h4>
<a hr... | {
"content_hash": "6c703423945848ec1f7d957175613945",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 138,
"avg_line_length": 39.333333333333336,
"alnum_prop": 0.4449152542372881,
"repo_name": "mlechler/Bewerbungscoaching",
"id": "c32e657d1cde845466d35a2cba6e086adf44d08f",
... |
rm PAPI_FAQ.html
rm release_procedure.txt
rm doc/DataRange.html
rm doc/PAPI-C.html
rm doc/README
rm src/buildbot_configure_with_components.sh
rm -rf .git
rm delete_before_release.sh
| {
"content_hash": "5d77e1e302574319c69b6fbc565fded9",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 44,
"avg_line_length": 22.75,
"alnum_prop": 0.7967032967032966,
"repo_name": "pyrovski/papi-rapl",
"id": "ed2b0c5df58c4e532d3c49b61884669da41bd081",
"size": "192",
"binary... |
import {__PERFORMANCE_PROFILE__} from './constants';
const supportsUserTiming =
typeof performance !== 'undefined' &&
// $FlowFixMe[method-unbinding]
typeof performance.mark === 'function' &&
// $FlowFixMe[method-unbinding]
typeof performance.clearMarks === 'function';
const supportsPerformanceNow =
// ... | {
"content_hash": "62117bf2300d52bd5aaa8c2a778c086e",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 78,
"avg_line_length": 21.961904761904762,
"alnum_prop": 0.6435385949696444,
"repo_name": "facebook/react",
"id": "68741a899261fdd3e1f8dc213057780fa5c1bde1",
"size": "2521... |
/***********************************************************************
created: Sun Feb 1 2009
author: Paul D Turner
*************************************************************************/
/***************************************************************************
* Copyright (C) 2004 - 2009 Pau... | {
"content_hash": "88868a853a4f7b23a762349cc679d0c4",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 82,
"avg_line_length": 36.08411214953271,
"alnum_prop": 0.6702926702926703,
"repo_name": "cbeck88/cegui-mirror-two",
"id": "a05d3aa56537b11ab701d75272bcb6ab51f9e826",
"siz... |
// ========================================================================
// Copyright (c) 2009-2009 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of th... | {
"content_hash": "760509803d8113e3de2d72adb536e60a",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 111,
"avg_line_length": 30.17829457364341,
"alnum_prop": 0.6337015155407141,
"repo_name": "jetty-project/jetty-plugin-support",
"id": "a35f09f3e23d3675f68b7be8d49ed9d10a5b15... |
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)applica... | {
"content_hash": "341a979f2f5900eaf24487f6a1370efd",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 281,
"avg_line_length": 45.853658536585364,
"alnum_prop": 0.7851063829787234,
"repo_name": "ZYJJerry/UIBezierStar",
"id": "79c9de775092cc771dc2c0aac8090a70cd05c279",
"size"... |
/*global html,isHostObjectProperty,isHostMethod */
/*
Description:
Cutting edge where possible, wide support
*/
/*
Author:
Adam Silver
*/
var hasClass;
if (html && isHostObjectProperty(html, "classList") && isHostMethod(html.classList, "contains") ) {
hasClass = function(el, className) {
return el.classList.cont... | {
"content_hash": "da15939d9a0c79c4f5ff157597fc72e0",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 99,
"avg_line_length": 22.47826086956522,
"alnum_prop": 0.6789168278529981,
"repo_name": "david-mark/jessie",
"id": "a5935bfa1f04044376b9dd35ad123c1257972c5a",
"size": "517... |
package rabbit.io;
import lombok.extern.slf4j.Slf4j;
import java.io.Closeable;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.nio.channels.SocketChannel;
import java.util.concurrent.atomic.AtomicInteger;
import rabbit.rnio.ConnectHandler;
import rabbit.rnio.N... | {
"content_hash": "c0ac9335031292b9c10b8167885dd9af",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 85,
"avg_line_length": 31.553299492385786,
"alnum_prop": 0.5931467181467182,
"repo_name": "toonetown/rabbit-maven",
"id": "05729ec70165b9064e91594c339d2effcdd4cb0f",
"size... |
'use strict';
var gulp = require('gulp');
var sass = require('gulp-sass');
var postcss = require('gulp-postcss');
var autoprefixer = require('autoprefixer');
var cssnano = require('cssnano');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
gulp.task('compile-sass', function () {
var plu... | {
"content_hash": "f5563da77275ea000dec132eda2395ec",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 132,
"avg_line_length": 30.25,
"alnum_prop": 0.6051423324150597,
"repo_name": "3xMMM/my-sound-grid",
"id": "3bb9c21e3ae7b9824aa7cd05f68ac58cf97a4c0e",
"size": "1089",
"bi... |
FROM alpine:latest
MAINTAINER Philip O'Toole <philip.otoole@yahoo.com>
ENV RQLITE_VERSION=7.11.0
RUN apk update && \
apk --no-cache add curl tar && \
curl -L https://github.com/rqlite/rqlite/releases/download/v${RQLITE_VERSION}/rqlite-v${RQLITE_VERSION}-linux-amd64-musl.tar.gz -o rqlite-v${RQLITE_VERSION}-lin... | {
"content_hash": "6ff1a288245f9dedcf40b5d9daf1f5db",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 189,
"avg_line_length": 35.416666666666664,
"alnum_prop": 0.7129411764705882,
"repo_name": "rqlite/rqlite-docker",
"id": "5c392fbaf2f45e1da1b44e9d711b6f9760689ede",
"size":... |
package org.nem.ncc.controller.requests;
import net.minidev.json.JSONObject;
import org.hamcrest.core.*;
import org.junit.*;
import org.nem.core.model.Address;
import org.nem.core.serialization.JsonDeserializer;
import org.nem.core.time.*;
import org.nem.ncc.test.Utils;
public class AccountTimeStampRequestTest {
pri... | {
"content_hash": "95ae3fe57fc6d646866b64a0c8226b9e",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 124,
"avg_line_length": 31.047619047619047,
"alnum_prop": 0.7691717791411042,
"repo_name": "filchef/NemCommunityClient",
"id": "506c918712aa123a03110095aa62f72828a7fafc",
"... |
namespace PCAP {
ICMPPackage::ICMPPackage(const uchar *p, uint l, bool modify)
: IPPackage{p, l, modify} {
m_icmp = (struct snifficmp *)(m_package + sizeof(sniffethernet) +
sizeof(sniffip));
m_data = (m_package + sizeof(sniffethernet) + sizeof(sniffip) +
size... | {
"content_hash": "8ce803e380e960cb637918343baa0905",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 69,
"avg_line_length": 31.708333333333332,
"alnum_prop": 0.6366622864651774,
"repo_name": "jef42/pcapwrapper",
"id": "1aef629056f3ad631847044f2dcc6f59e7be93e6",
"size": "16... |
document.getElementById("slidermain").innerHTML = for (i = 0; i < 5; i++) {i};
| {
"content_hash": "7cc4bb49ec7e87828edf2cc355172803",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 82,
"avg_line_length": 83,
"alnum_prop": 0.6024096385542169,
"repo_name": "miguelesquirol/Miguel-Portfolio",
"id": "86069479b639979d8a802ea1ee3f8a3ce4ab80a9",
"size": "84",
... |
'use strict';
jest.unmock('keyMirror');
var keyMirror = require('keyMirror');
describe('keyMirror', function() {
it('should create an object with values matching keys provided', function() {
var mirror = keyMirror({
foo: null,
bar: true,
"baz": {some: "object"},
qux: undefined
});... | {
"content_hash": "0126cdc978712aef23c8f369dc5e6eae",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 80,
"avg_line_length": 27.555555555555557,
"alnum_prop": 0.6216397849462365,
"repo_name": "chicoxyzzy/fbjs",
"id": "b65ce0aa41b2d1564170a4edbaa6d7b83f0d674f",
"size": "1821... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. -->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string-... | {
"content_hash": "9705c72e0aaf12a1209eec29c47af77c",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 222,
"avg_line_length": 48.05555555555556,
"alnum_prop": 0.7410404624277457,
"repo_name": "xorware/android_frameworks_base",
"id": "592190d25983bdd3ef2f92b00df5a824209be062",... |
package com.orientechnologies.orient.core.sql.functions.graph;
/**
* Heuristic formula enum.
*
* @author Saeed Tabrizi (saeed a_t nowcando.com)
*/
public enum HeuristicFormula {
MANHATAN,
MAXAXIS,
DIAGONAL,
EUCLIDEAN,
EUCLIDEANNOSQR,
CUSTOM
}
| {
"content_hash": "035322bac6509a38e7b7d8538365cc5f",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 62,
"avg_line_length": 16.3125,
"alnum_prop": 0.7203065134099617,
"repo_name": "orientechnologies/orientdb",
"id": "d1614dd3aff837be7c2838f328e3d29ed3af5b27",
"size": "993"... |
package game.geography.geography;
public class LandName {
private final String name;
public LandName(String name) {
this.name = name;
}
@Override
public boolean equals(Object other) {
if (other == null || getClass() != other.getClass()) {
return false;
}
... | {
"content_hash": "514d1b23b1e8ba001105cf9d7e749a56",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 62,
"avg_line_length": 20.071428571428573,
"alnum_prop": 0.5711743772241993,
"repo_name": "Hans-and-Peter/game-geography",
"id": "15ece2fcf8563a20005b5a20542bb6cfdc2ab9f0",
... |
namespace net {
class URLRequest;
}
namespace webkit {
struct WebPluginInfo;
}
namespace content {
class ResourceDispatcherHostImpl;
// Used to buffer a request until enough data has been received.
class BufferedResourceHandler
: public LayeredResourceHandler,
public ResourceController {
public:
Buffere... | {
"content_hash": "2d6dd1316db5b8e8f97fad37a9de88ce",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 79,
"avg_line_length": 32.85294117647059,
"alnum_prop": 0.6890480453595942,
"repo_name": "leighpauls/k2cro4",
"id": "0d85c6d586a7d2b42c12865e56857199b69f3f0f",
"size": "38... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Linq;
using System.Web;
namespace afung.MangaWeb3.Server
{
public class Config
{
private static NameValueCollection __section = null;
private static NameValueCollecti... | {
"content_hash": "b1dc70ed3b544906c17f874dde615242",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 100,
"avg_line_length": 23.855555555555554,
"alnum_prop": 0.4918490917559385,
"repo_name": "a-fung/MangaWeb3",
"id": "15404fe06792bfd9f763b1a6a69ec8dcf0c38fc0",
"size": "21... |
struct Foo<const N: usize, 'a, T = u32>(&'a (), T);
//~^ Error lifetime parameters must be declared prior to const parameters
struct Bar<const N: usize, T = u32, 'a>(&'a (), T);
//~^ Error lifetime parameters must be declared prior to type parameters
fn main() {}
| {
"content_hash": "d81f6747d53775102b4926ab3b2b21ac",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 73,
"avg_line_length": 38,
"alnum_prop": 0.6654135338345865,
"repo_name": "graydon/rust",
"id": "cc215ab0c2517e1269f570ce38b040536c56c159",
"size": "401",
"binary": false,... |
influxdb-ios
============
This is a placeholder. We encourage you to submit a pull request if you have a contribution. If you make a PR please explicitly call @beckettsean to get eyes on your PR.
| {
"content_hash": "aff79ae2574356b40dbf56b38344ec9e",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 169,
"avg_line_length": 49.25,
"alnum_prop": 0.7360406091370558,
"repo_name": "influxdb/influxdb-ios",
"id": "bda572032062188a83c217511401d77755028daf",
"size": "197",
"bi... |
export const isBrowserSupported = true;
export const isIOS = false;
export const isAndroidChrome = false;
| {
"content_hash": "27cfaa3d6ea38100bd8248f8d613f3ab",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 39,
"avg_line_length": 35.333333333333336,
"alnum_prop": 0.8018867924528302,
"repo_name": "nusmodifications/nusmods",
"id": "ffc81602a2e3ad392236ae2f5906963e508ce49a",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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/li... | {
"content_hash": "676f2c395556c118c781de1573c4c948",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 207,
"avg_line_length": 62.03846153846154,
"alnum_prop": 0.7383756974581525,
"repo_name": "josmas/app-inventor",
"id": "0fe006f45c4c760c79c98b40fdea801f7b914ee7",
"size": "... |
<?php namespace App\Http\Controllers;
use Illuminate\Routing\Controller;
class VRConnectionsRolesPermissionsController extends Controller {
/**
* Display a listing of the resource.
* GET /vrconnectionsrolespermissions
*
* @return Response
*/
public function index()
{
//
}
/**
* Show the form for ... | {
"content_hash": "d285bf7b64ae1f4de06c4b499a07d7f4",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 66,
"avg_line_length": 15.590909090909092,
"alnum_prop": 0.6450437317784257,
"repo_name": "RamintaRam/atrask_vr",
"id": "95b61bfab05b4fd4b4c3ccf204013499c1406d38",
"size": ... |
/*
* TRYING TO OPTIMIZE LayoutCache
* SEE http://stackoverflow.com/questions/21112208/how-to-avoid-key-copying-when-using-boost-bimap
*/
#pragma once
#include <string>
#include <iostream>
#include <boost/bimap.hpp>
#include <boost/bimap/list_of.hpp>
#include <boost/bimap/set_of.hpp>
class Test
{
public:
stru... | {
"content_hash": "dda216255c53f0bb8986f7989074880c",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 98,
"avg_line_length": 25.104477611940297,
"alnum_prop": 0.5368608799048752,
"repo_name": "SlateScience/Unicode",
"id": "312ea11f561e0b40273455d0280e309828f947cd",
"size": ... |
package walkingdevs.bytes;
import java.util.Arrays;
class BytesImpl implements Bytes {
public byte[] get() {
return bytes;
}
public byte[] copy() {
return Arrays.copyOf(bytes, length());
}
public int length() {
return bytes.length;
}
public boolean isEmpty() {
... | {
"content_hash": "714273932d7c606faea88e68d3995ad3",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 59,
"avg_line_length": 20.96969696969697,
"alnum_prop": 0.4725433526011561,
"repo_name": "walkingdevs/sdk",
"id": "69395d7b87052ee6f38c1a4ddb48821c2b079f57",
"size": "1384"... |
<?xml version="1.0" encoding="UTF-8" ?>
<module>
<name>statsequipment</name>
<displayName><![CDATA[Browsers and operating systems]]></displayName>
<version><![CDATA[1.2.3]]></version>
<description><![CDATA[Adds a tab containing graphs about web browser and operating system usage to the Stats dashboard.]]></descript... | {
"content_hash": "94662515f0d4bbab27645d6abb301278",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 137,
"avg_line_length": 44,
"alnum_prop": 0.7196969696969697,
"repo_name": "lotosbin/prestashop-docker-compose",
"id": "57055c63d0c1d498f907ff5367a71bdb9eb699a1",
"size": "... |
package org.trifort.rootbeer.testcases.rootbeertest.kerneltemplate;
import org.trifort.rootbeer.runtime.Kernel;
import org.trifort.rootbeer.runtime.RootbeerGpu;
public class MultiDimThreadIdxKernelTemplateRunOnGpu implements Kernel {
private int[] results;
public MultiDimThreadIdxKernelTemplateRunOnGpu(int[] ... | {
"content_hash": "e51c5384fef64e02e9558c0306ac66fb",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 72,
"avg_line_length": 23.733333333333334,
"alnum_prop": 0.6783707865168539,
"repo_name": "yarenty/rootbeer1",
"id": "0c2cca525ad9fc31de1171ab2eb4a76af85c47ca",
"size": "71... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_file_w32_spawnlp_81_bad.cpp
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-81_bad.tmpl.cpp
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: file Read input from a fi... | {
"content_hash": "61389f1cbda02ecee2f606535ec56d69",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 104,
"avg_line_length": 34.457142857142856,
"alnum_prop": 0.7205638474295191,
"repo_name": "maurer/tiamat",
"id": "48b0833983149d52a1e840cd7a0e17a74a5cb79f",
"size": "1206"... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<mx.citydevs.hackcdmx.views.CustomTextView
android:id="... | {
"content_hash": "e2da9190f7a735eb138b0962dc6d7c17",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 74,
"avg_line_length": 42.33783783783784,
"alnum_prop": 0.6415576125119694,
"repo_name": "zace3d/HackCDMX",
"id": "3ba4d1bf17f4d6a35ebe0e14c0bfbb7ef26f4117",
"size": "3133"... |
<!doctype html>
<html>
<head>
<meta http-equiv="X-WebKit-CSP" content="script-src 'self' chrome-extension: https://ssl.google-analytics.com; img-src 'self' chrome-extension: http://www.google-analytics.com"/>
<script type="text/javascript" src="https://ssl.google-analytics.com/ga.js"></script>
<script typ... | {
"content_hash": "3206c6fef407146481765d4d223e0fe8",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 182,
"avg_line_length": 40.8,
"alnum_prop": 0.678921568627451,
"repo_name": "AlexTatiyants/platen",
"id": "98f2fb27d5e206a9101e24940203c32ce65d95ef",
"size": "408",
"bina... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="dd9ebb22-ab8f-4488-80bd-f13640cfe85c" name="Default" comment="">
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/core/server/wxauthorize.py" />
<change type="MODIFICATIO... | {
"content_hash": "4114dfd5db82c6aec244222c301168cf",
"timestamp": "",
"source": "github",
"line_count": 514,
"max_line_length": 247,
"avg_line_length": 54.5,
"alnum_prop": 0.6244957698211545,
"repo_name": "Maru-zhang/FilmHub-Tornado",
"id": "240a9526c13c5438b646f72f32dfa9b5519d96a9",
"size": "28013... |
//
// $Id$
package MyInterfaceTest;
import org.junit.Test;
import org.ductilej.tests.helper.one.*;
import org.ductilej.tests.helper.two.*;
/**
* Demonstrates similar compiler bug as StaticMethodResolutionTest.java: this
* time the ambiguity results from the two identically named interfaces (from
* different pack... | {
"content_hash": "417b139c72f21321057e9da097bfe5ba",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 77,
"avg_line_length": 29.870967741935484,
"alnum_prop": 0.7116630669546437,
"repo_name": "scaladyno/ductilej",
"id": "45272a0c8e32ee49810f5f7deee9aaac70a143f8",
"size": "9... |
Pop PHP Framework
=================
Documentation : File
--------------------
Home
La composante fichier fournit une API utile pour gérer et manipuler des
fichiers sur le disque. Il fournit également la fonctionnalité de gérer
facilement les téléchargements de fichiers.
use Pop\File\File;
// Create a new f... | {
"content_hash": "22e3204bc8286e778beaf6de3287405a",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 111,
"avg_line_length": 27.05128205128205,
"alnum_prop": 0.6388625592417062,
"repo_name": "nicksagona/PopPHP",
"id": "f96b01dff166c8630f7d3dc25f3482018804bc93",
"size": "10... |
/**
*
*/
package cern.accsoft.steering.aloha.plugin.kickresp.meas;
import cern.accsoft.steering.aloha.meas.BuiltinMeasurementType;
import cern.accsoft.steering.aloha.meas.GenericMeasurementImpl;
import cern.accsoft.steering.aloha.meas.MeasurementType;
import cern.accsoft.steering.aloha.model.ModelDelegate;
import c... | {
"content_hash": "1b56e6358861551711e48118a328f213",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 173,
"avg_line_length": 33.1125,
"alnum_prop": 0.8003020007550019,
"repo_name": "jmad/aloha",
"id": "b3df471116f2ccf31a8b93325e3bd8f1b50705ae",
"size": "2649",
"binary": ... |
FROM balenalib/nitrogen8mm-ubuntu:xenial-run
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python dependencies
RUN apt-get ... | {
"content_hash": "52f21362726d77dc6577674a6595dd23",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 709,
"avg_line_length": 51.88461538461539,
"alnum_prop": 0.708178897949098,
"repo_name": "resin-io-library/base-images",
"id": "944654c69819398da5cdd5bf769d7634e85ab0e4",
"... |
module.exports = function(config) {
"use strict";
const gulp = require('gulp'),
browserSync = require('browser-sync').create('syncBrowser');
gulp.task('browser-sync', () => {
browserSync.init(config.browsersync);
});
gulp.task('watch', () => {
gulp.watch(config.watchpaths.st... | {
"content_hash": "d104e9c641b996be39a66b6ba985aba4",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 88,
"avg_line_length": 28.555555555555557,
"alnum_prop": 0.6284046692607004,
"repo_name": "SleepingInsomniac/chug",
"id": "b0695124187a04d2e5ea16f50fb3d3a9269c2da2",
"size"... |
char* gVideoFileName = 0;
char* gPngFileName = 0;
int main(int argc, char* argv[])
{
b3CommandLineArgs myArgs(argc,argv);
SimpleOpenGL3App* app = new SimpleOpenGL3App("SimpleOpenGL3App",1024,768,true);
app->m_instancingRenderer->getActiveCamera()->setCameraDistance(13);
app->m_instancingRenderer->getActiveCam... | {
"content_hash": "3ed4d81b16e6171d81a38e7ebeffc277",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 80,
"avg_line_length": 25.5,
"alnum_prop": 0.6831372549019608,
"repo_name": "leyyin/university",
"id": "68dc00366d3bb150981f7730eac7003606cafc74",
"size": "1480",
"binary... |
package kubecli
import (
k8smetav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes/scheme"
"k8s.io/client-go/rest"
"k8s.io/apimachinery/pkg/types"
"kubevirt.io/kubevirt/pkg/api/v1"
)
func (k *kubevirt) VMPreset(namespace string) VMPresetInterface {
return &vmPresets{k.restClient, namespa... | {
"content_hash": "5d33f54dcc232b9900e8dc6686f2a4cc",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 142,
"avg_line_length": 25.303030303030305,
"alnum_prop": 0.7373253493013973,
"repo_name": "fabiand/kubevirt",
"id": "a253061330067bdbe9946f3f7881570ad25784eb",
"size": "31... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "7a1dd44ee0c71962c35d16ca6dce50a0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "64b02de8e30dced597d4836904e371946c5f1f09",
"size": "192... |
<html>
<head>
<title>Anthony Horowitz's panel show appearances</title>
<script type="text/javascript" src="../common.js"></script>
<link rel="stylesheet" media="all" href="../style.css" type="text/css"/>
<script type="text/javascript" src="../people.js"></script>
<!--#include virtual="head.txt" -->
</head>
<body>
<... | {
"content_hash": "66e109a40975f7a7870c0391bcc37e0e",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 360,
"avg_line_length": 43.1875,
"alnum_prop": 0.6700434153400868,
"repo_name": "slowe/panelshows",
"id": "dc8b78620612d129c56643368db67fb950b8ae88",
"size": "1382",
"bin... |
a{
font-family: tahoma;
font-size: 12px;
border: 0px;
text-decoration:none;
}
body{
width: 450px;
}
.semerrar{
font-family: tahoma;
font-size: 22px;
color: #6489af;
margin-bottom: 5px;
display: block;
padding: 4px;
border: solid 1px #85b1de;
width: inherit;
background-image: u... | {
"content_hash": "5f2272775e4352aca817d2a46f157b79",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 50,
"avg_line_length": 18.84,
"alnum_prop": 0.6613588110403397,
"repo_name": "Oyatsumi/TypeRunningGame",
"id": "292177f9b456076875375f473475508f61f2fc21",
"size": "1884",
... |
/**
* Created by akash on 22/7/15.
*/
var gulp = require('gulp');
var child = require('child_process');
var util = require('gulp-util');
var notifier = require('node-notifier');
var reload = require('gulp-livereload');
var sync = require('gulp-sync')(gulp).sync;
var server = null;
var GulpSSH = require('gulp-ssh');
... | {
"content_hash": "594aec1878b0890816825c4be4ed6d5b",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 135,
"avg_line_length": 25.349775784753362,
"alnum_prop": 0.5528038209800106,
"repo_name": "shakdwipeea/the-exam",
"id": "f9134b76f25cbc1f500a428562b1af86224596db",
"size"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Interop;
namespace TimeTracker.util
{
/// <summary>
/// Utility class to help with getting and setting a window's... | {
"content_hash": "7ed532fb56eb734fa07cd397cfe0ebab",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 130,
"avg_line_length": 32.7,
"alnum_prop": 0.6036697247706422,
"repo_name": "tvdv/TimeTracker",
"id": "c37fbe826d76625f70272660393c849e4c662ef7",
"size": "3272",
"binar... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.hito.rvpractice">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"... | {
"content_hash": "10142b241f78b5479c3a772753925d24",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 75,
"avg_line_length": 33.15,
"alnum_prop": 0.6093514328808446,
"repo_name": "Hitooooo/RVPractice",
"id": "b27db288ca2fce4f6da3956a32812a4c11965b17",
"size": "663",
"bina... |
//***********************************************************************
// MQ ongoing task management header
//***********************************************************************
#include "gop/gop_visibility.h"
#include "opque.h"
#include "mq_portal.h"
#ifndef _MQ_ONGOING_H_
#define _MQ_ONGOING_H_
#ifdef __c... | {
"content_hash": "86379f1460c196dea88351fd9f683a46",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 163,
"avg_line_length": 27.107526881720432,
"alnum_prop": 0.6235620785402618,
"repo_name": "PerilousApricot/lstore",
"id": "00c528331576d03d5d3f5ecf837ab5904742c7f7",
"size... |
FROM tensorflow/magenta:0.1.9
# IPython
EXPOSE 8888
ADD container /workshop/
# /workshop/shared should be mapped to the host on startup.
RUN chmod +x /workshop/scripts/* && mkdir /workshop/shared
WORKDIR /workshop/scripts
CMD ["/bin/bash"] | {
"content_hash": "d829d72286212d00a6c04e1d8c7efc38",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 59,
"avg_line_length": 20.25,
"alnum_prop": 0.7489711934156379,
"repo_name": "random-forests/WTM",
"id": "42236f40f3972433dfa71edda9ade763898cea7f",
"size": "243",
"binar... |
<HTML>
<!-- This file was generated by tohtml from topol.tex -->
<TITLE>Introduction</TITLE>
<BODY BGCOLOR="#FFFFFF">
<HR><H1><A NAME="Node128">6.1. Introduction</a></H1>
<A HREF="node127.html#Node127"><IMG SRC="previous.gif"></A><A HREF="node127.html#Node127"><IMG SRC="up.gif"></A><A HREF="node129.html#Node129"><IMG S... | {
"content_hash": "54561e5c2590db581fa64adaf36a4a09",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 171,
"avg_line_length": 53.2962962962963,
"alnum_prop": 0.7433402826036599,
"repo_name": "mpi-forum/mpi-forum.github.io",
"id": "6c92ff09ad353d53361b7218302dd9e6d6a82da0",
... |
<?php
/**
* include the wikirenderer class
*/
require_once(LIB_PATH.'wikirenderer/WikiRenderer.lib.php');
/**
* transform a wiki text into a document (html or else)
* @package jelix
* @subpackage utils
* @link http://wikirenderer.berlios.de/
* @since 1.0b1
*/
class jWiki extends WikiRenderer {
funct... | {
"content_hash": "5f64506353f5dbc304ddb61fd6c5d49b",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 96,
"avg_line_length": 30.897959183673468,
"alnum_prop": 0.535667107001321,
"repo_name": "yvestan/sendui",
"id": "e4297593603a0561f4381ee297436f6bdd44072a",
"size": "1790",... |
package com.jfreestock.data.feed;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.List;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import yahoofinance.Stock;
import yahoofinance.YahooFinance;
import yahoofinance.histquotes.HistoricalQuote;
import yahoofin... | {
"content_hash": "3ced9d0234114f1969c9a513fe1f0473",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 88,
"avg_line_length": 27.193548387096776,
"alnum_prop": 0.741399762752076,
"repo_name": "joshpassenger/jfreestock",
"id": "5c6e327e0053bf4e7fe963654e1caa72c717aa6e",
"size... |
package de.hub.clickwatch.analysis.results.provider;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItem... | {
"content_hash": "21da562486db0bbdef377e89739da934",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 108,
"avg_line_length": 28.75925925925926,
"alnum_prop": 0.7256922086284611,
"repo_name": "markus1978/clickwatch",
"id": "162044b6e39421683307023ed83fe2d551cb9862",
"size"... |
import logging
import coloredlogs
import datetime
import json
import sys
import traceback
class TangoLogger(object):
"""
5GTAGNO logger that allows to switch to "JSON mode" to creat
JSON log messages in the 5GTANGO format.
see:
Two modes:
- log_json = False: Normal colored logging in text ... | {
"content_hash": "e1db1f1df139eba64bcd1251b7648634",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 75,
"avg_line_length": 35.4485294117647,
"alnum_prop": 0.5783032565857706,
"repo_name": "tsoenen/son-mano-framework",
"id": "83496cf258595e0d0e15dc0ec5001fbd7f936eab",
"si... |
<!DOCTYPE html>
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec referrer-policy/` -->
<html>
<head>
<meta charset="utf-8">
<meta name="timeout" content="long">
<meta name="referrer" content="unsafe-url">
<script src="/resources/testharness.js"></script>
<script sr... | {
"content_hash": "d4e6b2d7b6fbabd9de2da47317dc2931",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 157,
"avg_line_length": 34.8,
"alnum_prop": 0.4876215738284704,
"repo_name": "ric2b/Vivaldi-browser",
"id": "b09570e831a1f4b20b9e85563aebc66f2fdf7e9f",
"size": "2262",
"b... |
/* A Bison parser, made by GNU Bison 2.6.4. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publishe... | {
"content_hash": "3a5cc90f8b489f9686212b6d33dfeeca",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 77,
"avg_line_length": 26.69918699186992,
"alnum_prop": 0.6690012180267966,
"repo_name": "mezohe/glekitufa",
"id": "f35fcb9d129b9bd745fa53db1e6db04076203de6",
"size": "328... |
package org.apache.xmlbeans;
import java.math.BigDecimal;
/**
* Represents an XML Schema-compatible duration.
* <p>
* Both the immutable GDuration and the mutable GDurationBuilder are
* GDurationSpecifications. Use this interface where you want to
* allow callers to pass any implementation of a GDuration.
*
... | {
"content_hash": "699c7ccf0813c98926a684c85b8b1936",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 78,
"avg_line_length": 21.75609756097561,
"alnum_prop": 0.6031390134529148,
"repo_name": "apache/xmlbeans",
"id": "a63822fe90a7a0337fa0cdede35204a45cf79e62",
"size": "2413"... |
// Copyright (c) 2011 David H. Hovemeyer <david.hovemeyer@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to ... | {
"content_hash": "67455309674b6b2ec3178aea0dff0729",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 80,
"avg_line_length": 44.12820512820513,
"alnum_prop": 0.7542126670540383,
"repo_name": "porcelli/playground",
"id": "bc5d70c393371cbd176ccac6af9bb9a1da16b360",
"size": "1... |
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track-piece {
background: whitesmoke;
}
::-webkit-scrollbar-thumb:vertical {
border: 1px solid #DDD;
background: #CCC;
}
::-webkit-scrollbar-thumb:hover {
background: #666;
} | {
"content_hash": "28779d471819ad0dc8967ec82e7f97ea",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 36,
"avg_line_length": 14.875,
"alnum_prop": 0.6890756302521008,
"repo_name": "onedot/XWorkFramework",
"id": "fa550a2a07db7060debb128f7f5c4104c4bf8ce8",
"size": "238",
"b... |
package io.agrest.converter.jsonvalue;
import com.fasterxml.jackson.databind.JsonNode;
/**
* @since 5.0
*/
public class JsonNodeConverter implements JsonValueConverter<JsonNode> {
private static final JsonNodeConverter instance = new JsonNodeConverter();
public static JsonNodeConverter converter() {
... | {
"content_hash": "a91bb256224756f7468942ee46a5be1a",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 78,
"avg_line_length": 21.65,
"alnum_prop": 0.7136258660508084,
"repo_name": "nhl/link-rest",
"id": "6c8da4008c2d2d20d2dda806d25093a483200cad",
"size": "433",
"binary": f... |
require_relative 'factories/path_dataset_loader_factory'
require_relative 'factories/path_adapter_dataset_loader_factory'
require_relative 'factories/stream_dataset_loader_factory'
module CitySDK
class Dataset
def self.load_path(path, format = nil)
self.load_dataset(PathAdapterDatasetLoaderFactory, path, f... | {
"content_hash": "94353b53a6e67f8d22e373be6022754b",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 70,
"avg_line_length": 28.73076923076923,
"alnum_prop": 0.7336010709504686,
"repo_name": "foxdog-studios/citysdk-client",
"id": "6e5bfb879122e32807f53b474cd90d285eb64896",
... |
package com.sc2geeks.replayUtility.crawler;
import com.sc2geeks.replay.dao.ReplayDAO;
import com.sc2geeks.replay.model.GameEntity;
import com.sc2geeks.replayUtility.MutableNamespaceContext;
import com.sc2geeks.replayUtility.UserInfo;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.ap... | {
"content_hash": "865237394f626d46deaaed198c21a896",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 111,
"avg_line_length": 26.15962441314554,
"alnum_prop": 0.7293610911701364,
"repo_name": "RobertTheNerd/sc2geeks",
"id": "61a93748d0f33edcdb1093ccab1ed7531d6066be",
"size... |
'use strict';
var query = require('../config.js').query;
/**
* Opens new upload session
* @param {WixWidget} instance
* @param {Function} callback
* @return {Error}
* @return {number} session id
*/
module.exports.open = function (instance, callback) {
var q = 'INSERT INTO session (instance_id, component... | {
"content_hash": "a2b4bb5c3d7f72b8dd2ffff5c516793b",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 69,
"avg_line_length": 24.612903225806452,
"alnum_prop": 0.5919615552643076,
"repo_name": "donataswix/send-files-tpa",
"id": "4634f167a36be57298ce3fdfdf63771254d7e211",
"si... |
import os
import nomen
def get_path(file_name):
current_dir = os.path.dirname(os.path.abspath(__file__))
return os.path.join(current_dir, file_name)
| {
"content_hash": "f68bdfc4d30bac3ec4b5c76348817ff9",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 58,
"avg_line_length": 22.142857142857142,
"alnum_prop": 0.7161290322580646,
"repo_name": "altosaar/nomen",
"id": "b317bfc0a7d0414fe558d50f528dc3c24eff1d48",
"size": "155",
... |
package com.cenkgun.android.RadRoid;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + ... | {
"content_hash": "d3cf81aeadbeb578601950caa864ef20",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 78,
"avg_line_length": 22.066666666666666,
"alnum_prop": 0.7069486404833837,
"repo_name": "CnkGn/RadRoid",
"id": "416b26f1a6a992cb8aa3fe9d0e335f4e7c034c1f",
"size": "331",
... |
"""Tests for serialization functions."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import json
from tensorflow.python.framework import constant_op
from tensorflow.python.framework import tensor_shape
from tensorflow.python.framework import test_util
... | {
"content_hash": "b85bc01fd9dcc8692883ba3b149545e0",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 87,
"avg_line_length": 36.75257731958763,
"alnum_prop": 0.6875175315568023,
"repo_name": "renyi533/tensorflow",
"id": "2f4b5d55b032f5d6e908f154df4af984de284574",
"size": "4... |
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<preference for="Swarming\SubscribePro\Api\SubscriptionManagementInterface" type="Swarming\SubscribePro\Service\SubscriptionManagement" />
<pref... | {
"content_hash": "22682a26024c87683f0484b13fac1d9d",
"timestamp": "",
"source": "github",
"line_count": 570,
"max_line_length": 172,
"avg_line_length": 56.040350877192985,
"alnum_prop": 0.6892276868171431,
"repo_name": "subscribepro/subscribepro-magento2-ext",
"id": "11cf959de1528deb53552dc578eaf6e07... |
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.string :provider
t.string :uid
t.string :name
t.string :oauth_token
t.datetime :oauth_expires_at
t.timestamps
end
end
end
| {
"content_hash": "ef6a9342c67e8b57957af30401a650ad",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 43,
"avg_line_length": 19.46153846153846,
"alnum_prop": 0.6363636363636364,
"repo_name": "matif84/inly-",
"id": "457ae469f65fb75e9914b0c73beef45cf81e240f",
"size": "253",
... |
SPEC_BEGIN(UAASDescribeAccountLimitsRequestSpec)
describe(@"UAASDescribeAccountLimitsRequest", ^
{
});
SPEC_END | {
"content_hash": "625c60aafcd4adb07be5fd27e7637f99",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 48,
"avg_line_length": 11.6,
"alnum_prop": 0.7931034482758621,
"repo_name": "unsignedapps/ua-aws-sdk-ios",
"id": "1e2b61192b40711fcdc7ae1aa1d1fc7b10c766e3",
"size": "394",
... |
using namespace DVLib::UnitTests;
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
void ComponentUnitTests::testGetDisplayName()
{
CmdComponent component1;
component1.display_name = L"display_name";
Assert::IsTrue(component1.GetDisplayName() == component1.display_name.GetValue());
... | {
"content_hash": "9098b15c2e088015c44ba8d46b4eb746",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 96,
"avg_line_length": 48.3125,
"alnum_prop": 0.7477360931435963,
"repo_name": "icnocop/dotnetinstaller",
"id": "9eefc91743846d208ad2ea1bd5be00be592ccd01",
"size": "827",
... |
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
QMetaObject, QObject, QPoint, QRect,
QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
QFont, QFontDatabase, QGradient, QIcon,
QImage, QKeySequence, QLinearGradient, QPainter,
QPalett... | {
"content_hash": "2a6a5a130ee3936b542b1b135e5caa8c",
"timestamp": "",
"source": "github",
"line_count": 276,
"max_line_length": 413,
"avg_line_length": 52.09057971014493,
"alnum_prop": 0.7248382833692704,
"repo_name": "Aeolitus/Sephrasto",
"id": "c56c14646a4b382c75a6c88837e951a421cd1722",
"size": "... |
import asyncio
import asyncio.subprocess
import signal
import functools
from .cli import get_parser
from .renderers import StatusRenderer # noqa
from aioutils import Group, Pool
def broadcast(args):
loop = asyncio.get_event_loop()
for signame in ('SIGINT', 'SIGTERM'):
loop.add_signal_handler(getattr(... | {
"content_hash": "e11de06d911ba611b0ed36a2b6f03b62",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 75,
"avg_line_length": 24.173076923076923,
"alnum_prop": 0.6308671439936356,
"repo_name": "johnnoone/cooperate",
"id": "abd66f6a8f552cb0b6a9e959455184d468bdaf49",
"size": "... |
SYNONYM
#### According to
GRIN Taxonomy for Plants
#### Published in
Z. Gesamm. Brauw. 5:127, 206. 1882
#### Original name
null
### Remarks
null | {
"content_hash": "9c5ba2a3666c809e8e8d0f8523765e9a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 34,
"avg_line_length": 11.384615384615385,
"alnum_prop": 0.6756756756756757,
"repo_name": "mdoering/backbone",
"id": "3e801d7513a5ec13149b61ae8ec0e68aebad4769",
"size": "20... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-Equiv="Cache-Control" Content="no-cache">
<meta http-Equiv="Pragma" Content="no-cache">
<meta http-Equiv="Expires" Content="0">
<title>Brunel Output</title>
<!--
D3 Copyright © 2012, Michael Bostock
jQuery Copyright © 2010 by The jQuery... | {
"content_hash": "a787488908cebdac28fa910c4cb78568",
"timestamp": "",
"source": "github",
"line_count": 321,
"max_line_length": 202,
"avg_line_length": 51.308411214953274,
"alnum_prop": 0.5435336976320583,
"repo_name": "Brunel-Visualization/Brunel",
"id": "728d7e53d141017fa2a3fa9614b1e558d197ac7a",
... |
package com.squarespace.template;
import java.util.List;
import com.fasterxml.jackson.databind.JsonNode;
import com.squarespace.cldrengine.CLDR;
import com.squarespace.cldrengine.api.Bundle;
import com.squarespace.cldrengine.api.CalendarDate;
import com.squarespace.cldrengine.api.CurrencyFormatOptions;
import com.s... | {
"content_hash": "980081cab82191a657d698a1cf87584b",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 115,
"avg_line_length": 30.811965811965813,
"alnum_prop": 0.6409153952843273,
"repo_name": "Squarespace/template-compiler",
"id": "83118fd4183c9f8d074708f4a8246b5cd640cf46",... |
package com.navercorp.pinpoint.profiler.plugin;
import java.util.List;
/**
* @author Woonduk Kang(emeroad)
*/
public class ClassNameFilterChain implements ClassNameFilter {
private final ClassNameFilter[] filterChain;
public ClassNameFilterChain(List<ClassNameFilter> filterChain) {
if (filterCha... | {
"content_hash": "ba3d1c7c1d3b1f257e23c877af2bbe61",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 75,
"avg_line_length": 24.741935483870968,
"alnum_prop": 0.651890482398957,
"repo_name": "barneykim/pinpoint",
"id": "a56d7f1f5b7d2499be7d979dd15981114107539f",
"size": "13... |
/*!
* \file init_op.cc
* \brief CPU Implementation of init op
*/
#include "./init_op.h"
#include "./elemwise_unary_op.h"
namespace mxnet {
namespace op {
DMLC_REGISTER_PARAMETER(InitOpParam);
DMLC_REGISTER_PARAMETER(RangeParam);
NNVM_REGISTER_OP(_zeros)
.describe("fill target with zeros")
.set_num_inputs(0)
.s... | {
"content_hash": "d5937f9e74012f1661df2dd757be81db",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 82,
"avg_line_length": 31.73076923076923,
"alnum_prop": 0.6896969696969697,
"repo_name": "ZihengJiang/mxnet",
"id": "e6a0c9b9f93093ce2fca221f2bc15724d729b93c",
"size": "41... |
Página web del proyecto.
| {
"content_hash": "c63eebdb8aceb954fd6561efadada94b",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 25,
"avg_line_length": 26,
"alnum_prop": 0.7692307692307693,
"repo_name": "Chococoin/bit-nibs-web",
"id": "3c14ef63c347634c67ffb4e71100aa52f06632da",
"size": "42",
"binary... |
using namespace CGAL::parameters;
// Domain
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef K::Point_3 Point;
typedef K::FT FT;
typedef FT (*Function)(const Point&);
typedef CGAL::Implicit_multi_domain_to_labeling_function_wrapper<Function>
... | {
"content_hash": "bbfb9e7093887570c5efe888134cf34a",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 82,
"avg_line_length": 27.342105263157894,
"alnum_prop": 0.6323387872954764,
"repo_name": "hlzz/dotfiles",
"id": "3b9da29830e58b3be3b2f39e2fa78b14078c5bd8",
"size": "2674",... |
**AutoHideInput** is a simple [jQuery](http://jquery.com) and [Zepto](http://zeptojs.com) plugin for hiding and showing secure fields.
When a HTML-designer sets the password field as `type="password"`, thus not letting the user see what’s written inside the form field. This plugin helps the user to see what he input i... | {
"content_hash": "bf580edfa4b6c27fbc4395b8ba7862f0",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 330,
"avg_line_length": 32.826388888888886,
"alnum_prop": 0.7330230590226359,
"repo_name": "xvoland/jquery-plugin-autohideinput",
"id": "d80f83cd20a96d52d33958f5db708a336945... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "7df0d73f181005e0c06975c3a1c1d351",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "43dc31fd64f2af2b28688e5f65b13adb1b403f22",
"size": "18... |
package _99Problems.WorkingWithLists
/**
* Created by dan.dixey on 27/06/2017.
*/
object P28 {
/**
* Sorting a list of lists according to length of sublists.
*/
def lsort[T](xa: List[List[T]]): List[List[T]] =
xa.sortWith((l1, l2) => l1.length - l2.length < 0)
/**
* Again, we suppose that a... | {
"content_hash": "2b091c29eb95d12bb8943211c72d32d9",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 108,
"avg_line_length": 32.148148148148145,
"alnum_prop": 0.631336405529954,
"repo_name": "dandxy89/LearningScala",
"id": "b535b3f390229cca5a428b1253775312f337657f",
"size"... |
declare var NaN: number;
declare var Infinity: number;
/**
* Evaluates JavaScript code and executes it.
* @param x A String value that contains valid JavaScript code.
*/
declare function eval(x: string): any;
/**
* Converts A string to an integer.
* @param s A string to convert into a number.
* @param rad... | {
"content_hash": "380ef9d0a417c17499295a6eb1861b03",
"timestamp": "",
"source": "github",
"line_count": 1145,
"max_line_length": 243,
"avg_line_length": 42.05589519650655,
"alnum_prop": 0.6809195497777962,
"repo_name": "unknownexception/flow-declarations",
"id": "8fc9c25d389cb4bb8e86f79fe85b80a1a0ffc... |
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://syriaca.org/documentation/syriaca-tei-main.rnc" type="application/relax-ng-compact-syntax"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0"
xmlns:tei="http://www.tei-c.org/ns/1.0"
xmlns:srophe="https://srophe.app"
xmlns:saxon="http://saxon.sf.net/... | {
"content_hash": "87e6c01abb71647cee3a9799a9a8827a",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 411,
"avg_line_length": 59.2463768115942,
"alnum_prop": 0.5569960861056752,
"repo_name": "ScholarNET/ScholarNET-data",
"id": "51230097eaa601a3da9708bc36118c1bc5b45472",
"s... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-fingroup: 2 m 12 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | {
"content_hash": "e292266e3d5ef51345901c275589249e",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 554,
"avg_line_length": 58.655913978494624,
"alnum_prop": 0.585884509624198,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "6f33474296fab470a8e8a04cadfe2ebf7cc494ff",
... |
<!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.7.0_95) on Sat Apr 09 08:38:38 CEST 2016 -->
<title>org.apache.tools.ant.taskdefs.optional.native2ascii (Apache Ant API)</title>
<meta name... | {
"content_hash": "25a3771169fd7fbb2bfbe3b04f58326a",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 240,
"avg_line_length": 40.99411764705882,
"alnum_prop": 0.647151671688908,
"repo_name": "jstrassburg/solr-jenkins-cicd",
"id": "08a57f7fb50caac32204895fd6508f43ab307b6c",
... |
class Unit < ActiveRecord::Base
belongs_to :course
has_many :proficiencies
has_many :users, through: :proficiencies
has_many :assignments
end
| {
"content_hash": "47217d5bfcb3d88e6d5cb91d9ce368df",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 42,
"avg_line_length": 25,
"alnum_prop": 0.7533333333333333,
"repo_name": "weronica/asdfStuck",
"id": "4d9592576d053be57aa1e6dd6cb330ef020a2dc6",
"size": "150",
"binary": ... |
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<!-- By default, only the Clean and Build commands use this build script. -->
<!-- ... | {
"content_hash": "24823c89b690616e8d737477418a29f0",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 86,
"avg_line_length": 49.66216216216216,
"alnum_prop": 0.6614965986394558,
"repo_name": "Danmarjim/mwm-2014-2015",
"id": "441872cd6899c8557df6e434e48feaacb9bc2fc6",
"size"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.