text stringlengths 2 1.04M | meta dict |
|---|---|
package com.twotoasters.jazzylistview;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.View;
import android.view.animation.AccelerateDecelerateInterpolator;
import android.widget.AbsListView;
import com.nineoldandroids.view.ViewPropertyAnimat... | {
"content_hash": "be18d80d961ae78334b52dde9e91da47",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 131,
"avg_line_length": 41.253807106598984,
"alnum_prop": 0.6947212993724622,
"repo_name": "cdeange/QuickLink",
"id": "5dd30272fcb1acca4034a7dcd485f1590c863a5f",
"size": "... |
package com.amazonaws.services.certificatemanager.smoketests;
import javax.annotation.Generated;
import com.google.inject.AbstractModule;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.Stage;
import cucumber.api.guice.CucumberModules;
import cucumber.runtime.java.guice.I... | {
"content_hash": "310b295918684702336b2bb4597843ad",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 115,
"avg_line_length": 31.805555555555557,
"alnum_prop": 0.7930131004366813,
"repo_name": "jentfoo/aws-sdk-java",
"id": "83c232510b688525b972f4fe38c2fe4caa16421e",
"size":... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "cb2a738b2b78e9842b09b389a141273f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "cf5a19ef0a39efd5e836a16e2e0e5766948a4557",
"size": "200... |
from .protected_item import ProtectedItem
class DPMProtectedItem(ProtectedItem):
"""Additional information on Backup engine specific backup item.
:param backup_management_type: Type of backup managemenent for the backed
up item. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM',
'Azur... | {
"content_hash": "56608e9d28f8998cbb402417ae19e123",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 287,
"avg_line_length": 56.445945945945944,
"alnum_prop": 0.6976298779028011,
"repo_name": "lmazuel/azure-sdk-for-python",
"id": "a718e01852e59fe07d1a84ed121d41d77e88b9a0",
... |
package OptimizationTests.ShortMethodsInliningNonVirtualInvokes.InvokeDirectACharThrowNullGet_001;
// The test checks that stack after NullPointerException occurs is correct despite inlining
class Test {
char[] thingiesArray;
char bean = 'a';
int iterr;
public Test (int iter) {
this.thingiesA... | {
"content_hash": "2c0a87a644e93b9980ba9de6153eb136",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 98,
"avg_line_length": 25.27777777777778,
"alnum_prop": 0.5989010989010989,
"repo_name": "android-art-intel/marshmallow",
"id": "f048a61de4234e05ec12f2d41d37de1164cbd237",
... |
.. _default_config:
===================
Default Config File
===================
.. literalinclude:: ../../../libqtile/resources/default_config.py | {
"content_hash": "32eef1b247ba446fcee33661c1135c38",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 65,
"avg_line_length": 21,
"alnum_prop": 0.5170068027210885,
"repo_name": "ramnes/qtile",
"id": "48cd79cceaaf5419b788e0fb4376ee43e44bf21f",
"size": "147",
"binary": false,... |
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/smp.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/atomic.h>
#include <linux/bitops.h>
#include <linux/percpu.h>
#include <linux/notifier.h>
#include <linux/cpu.h>
#include <... | {
"content_hash": "55bf6a907557c1c197bae708206f77c6",
"timestamp": "",
"source": "github",
"line_count": 866,
"max_line_length": 88,
"avg_line_length": 30.96189376443418,
"alnum_prop": 0.7056278670794018,
"repo_name": "KristFoundation/Programs",
"id": "5f748c5a40f0756b2d6c97fa615cde551649db4a",
"siz... |
function __processArg(obj, key) {
var arg = null;
if (obj) {
arg = obj[key] || null;
delete obj[key];
}
return arg;
}
function Controller() {
require("alloy/controllers/BaseController").apply(this, Array.prototype.slice.call(arguments));
this.__controllerPath = "popover_navwin";... | {
"content_hash": "a44ae98afeba7211a28c2a43e4712cd9",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 99,
"avg_line_length": 28.140350877192983,
"alnum_prop": 0.5405236907730673,
"repo_name": "mobilehero/adamantium",
"id": "97e2240f2aba85fb9467112d46d732001b0533ac",
"size":... |
<?php
$mycs=Yii::app()->getClientScript();
if(YII_DEBUG)
$ckeditor_asset=Yii::app()->assetManager->publish(Yii::getPathOfAlias('cms.assets.ckeditor'), false, -1, true);
else
... | {
"content_hash": "7caf321a5a3099bec697c75c13b350be",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 183,
"avg_line_length": 35.45,
"alnum_prop": 0.5018022253565272,
"repo_name": "troikaitsulutions/templeadvisor",
"id": "9dd9a1bc81b6877fc615171c2ee8ec6a483993f6",
"size": ... |
import { Directive } from '@angular/core';
@Directive({
selector: '[appScrollParallaxBg]'
})
export class ScrollParallaxBgDirective {
constructor() { }
}
| {
"content_hash": "a6511b9570b8b56e54f3c6e9e0c719ac",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 42,
"avg_line_length": 16.1,
"alnum_prop": 0.7018633540372671,
"repo_name": "molandim/scroll-ui",
"id": "904df654ce6e526cdd9a4132cb2c620ae057f333",
"size": "161",
"binary... |
package microsofia.framework.distributed.slave;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.google.inject.BindingAnnotation;
@BindingAnnotation
@Target({ ElementType.FIELD, ElementType.PARAM... | {
"content_hash": "72796ee6cdcf2ea458fe636b12b0bce8",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 74,
"avg_line_length": 32.38461538461539,
"alnum_prop": 0.836104513064133,
"repo_name": "microsofia/microsofia-framework",
"id": "0a039cb4560ee6717e19c9b9b663231c7d8d1cb2",
... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
/*
*
* (C) 2003 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#include "mpi.h"
#include <stdio.h>
#include "mpitest.h"
/*
static char MTEST_Descrip[] = "Put with Post/Start/Complete/Wait";
*/
int main( int argc, ch... | {
"content_hash": "ef2e7e206da0613b3edb8cc0dc3f5639",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 71,
"avg_line_length": 27.862385321100916,
"alnum_prop": 0.5966414224563714,
"repo_name": "syftalent/dist-sys-exercises-1",
"id": "fb05df589387255343644f2df96499f4f33dbdfb",... |
package cn.mapway.ui.client.modules.baidu;
import cn.mapway.ui.client.mvc.BaseAbstractModule;
import cn.mapway.ui.client.mvc.IModule;
import cn.mapway.ui.client.mvc.ModuleMarker;
import cn.mapway.ui.client.mvc.ModuleParameter;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Element;
i... | {
"content_hash": "1af1a817381e105749cfa93aaed6e5e1",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 100,
"avg_line_length": 26.152941176470588,
"alnum_prop": 0.6783625730994152,
"repo_name": "mapway/mapway-ui-frame",
"id": "f99f8c5aa4641da9a2ef6684557a89d8fbcfe467",
"size... |
<?php
/**
* @author Marcel Edmund Franke <info@marcel-edmund-franke.de>
*/
namespace AppBundle\Repository;
use Donutloop\RestfulApiWorkflowBundle\Library\DatabaseWorkflowRepositoryInterface;
use Donutloop\RestfulApiWorkflowBundle\Library\Repository;
/**
* Class UserRepository
*
* @package AppBundle\Repository
... | {
"content_hash": "cc2c17ad497e19455eabefad48de51c5",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 86,
"avg_line_length": 22.944444444444443,
"alnum_prop": 0.8135593220338984,
"repo_name": "donutloop/Blog-Restful-api-Symfony-",
"id": "85e28c06e39470a30a2bd092c0637cb44538c8... |
<?php
Class Post extends MY_controller{
function __construct()
{
parent::__construct();
$this->load->model('product_model');
}
function index()
{
$this->load->model('catalog_model');
$input_catalog['where'] = array('parent_id' => 0);
$catalogs = $this->catalog_model->get_list($input_catalog);
fore... | {
"content_hash": "b1a13bdd52eb580daade54deac2a1022",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 99,
"avg_line_length": 28.974789915966387,
"alnum_prop": 0.5756960556844548,
"repo_name": "anhptse03395/emarket",
"id": "8912dd2a562118a01c9614f8a1407460fbb8cbbb",
"size":... |
import {getCompilerFacade} from '../../compiler/compiler_facade';
import {reflectDependencies} from '../../di/jit/util';
import {Type} from '../../interface/type';
import {Pipe} from '../../metadata/directives';
import {NG_PIPE_DEF} from '../fields';
import {renderStringify} from '../util/misc_utils';
import {angula... | {
"content_hash": "be7d9170672785e4696422612acfc3c5",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 78,
"avg_line_length": 33.70967741935484,
"alnum_prop": 0.6095693779904306,
"repo_name": "hansl/angular",
"id": "bf1ea25e920a9fec14a9db4baf871c66175ba70f",
"size": "1247",
... |
package main
import (
"fmt"
"log"
"os"
"strings"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/ec2"
)
// This example will list instances with a filter
//
// Usage:
// filter_ec2_by_tag <name_filter>
func main() {
sess := session.Must(session.NewSe... | {
"content_hash": "4399113e7d7f358e8bc8e5a6caf062ad",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 80,
"avg_line_length": 22.951219512195124,
"alnum_prop": 0.6429330499468651,
"repo_name": "jasdel/aws-sdk-go",
"id": "cb3a7166d07e4e3d6164ebf14bf87e72f38e8307",
"size": "97... |
<?php namespace Bkwld\LaravelHaml;
// Dependencies
use Illuminate\View\Compilers\BladeCompiler;
use Illuminate\View\Compilers\CompilerInterface;
use Illuminate\Filesystem\Filesystem;
use MtHaml\Environment;
class HamlBladeCompiler extends BladeCompiler implements CompilerInterface {
/**
* The MtHaml instance.
*... | {
"content_hash": "b0bb4a5150eb5fac67d9085ff8c89d2c",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 80,
"avg_line_length": 22.433962264150942,
"alnum_prop": 0.6871320437342304,
"repo_name": "Bit22/laravel-haml",
"id": "656dd520c4005fc486ceeceaf86e9c443d91c15a",
"size": "1... |
package org.jfree.util;
import java.util.Enumeration;
import java.util.Iterator;
/**
* A wrapper for the extended configuration interface around a plain configuration.
*
* @author Thomas Morgner
*/
public class ExtendedConfigurationWrapper
implements ExtendedConfiguration
{
/** The base configuration.... | {
"content_hash": "82e00922203c2bd72d4a1df8ebdd68f3",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 90,
"avg_line_length": 27.937106918238992,
"alnum_prop": 0.6828005402971634,
"repo_name": "ibestvina/multithread-centiscape",
"id": "403f67fa344fd3ef4e29a86d39db3fb3ea8c45cd... |
import { Meteor } from 'meteor/meteor';
import { _Bookmark } from '../bookmarks';
import { isAuthRequired } from '../../config/config';
Meteor.publish('bookmarks', function getBookmarks() {
if (!isAuthRequired()) {
this.ready();
}
return _Bookmark.find({});
});
| {
"content_hash": "9f0ad4e85232710e9fadef38b4a2c778",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 53,
"avg_line_length": 27.3,
"alnum_prop": 0.6446886446886447,
"repo_name": "SparkEdUAB/SparkEd",
"id": "ef042347b1a3d71ecd78a82b88ea4e218f33b94c",
"size": "273",
"binary... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>bbv: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | {
"content_hash": "3e52ef2741e31c542d80794b24d3e2b0",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 159,
"avg_line_length": 39.49152542372882,
"alnum_prop": 0.5261802575107296,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "be177bbd27f5038ef35ed757aba90861aebc0f1b",
... |
class SuperTestBaseNoArg {
constructor() {}
}
class SuperTestBaseOneArg {
/**
* @param {number} x
*/
constructor(public x: number) {}
static _tsickle_typeAnnotationsHelper() {
/** @type {number} */
SuperTestBaseOneArg.prototype.x;
}
}
// A ctor with a parameter property.
class SuperTestDerivedParamProps exte... | {
"content_hash": "0f86dc829270280429a0ca278e179573",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 68,
"avg_line_length": 21.095744680851062,
"alnum_prop": 0.7256681795259707,
"repo_name": "hess-g/tsickle",
"id": "0a0ebb4f926ea0aeec58e43089e3cc2a03350f50",
"size": "1983"... |
package org.mercycorps.translationcards.porting;
import android.content.Context;
import android.net.Uri;
import org.mercycorps.translationcards.data.DbManager;
import org.mercycorps.translationcards.data.Deck;
import org.mercycorps.translationcards.data.Dictionary;
import java.io.File;
import java.io.FileInputStream... | {
"content_hash": "c5582e5ff37827061520172b270ade9b",
"timestamp": "",
"source": "github",
"line_count": 365,
"max_line_length": 100,
"avg_line_length": 39.90958904109589,
"alnum_prop": 0.5907187478547402,
"repo_name": "jwishnie/translation-cards",
"id": "bce51a79eeef87a8970da0d7ed4c865c000b92dc",
"... |
package com.maxdemarzi.models;
import lombok.Data;
import java.util.ArrayList;
import java.util.HashMap;
@Data
public class User {
private String username;
private String name;
private String email;
private String password;
private String hash;
private Long time;
private Integer likes;
... | {
"content_hash": "81d12f1b613555362a56bad25f01abd0",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 66,
"avg_line_length": 24.291666666666668,
"alnum_prop": 0.7341337907375644,
"repo_name": "maxdemarzi/grittier_web",
"id": "430d10b998a634bbd92de42fa3fee0a0144ad207",
"size... |
namespace bro {
namespace hilti {
struct SpicyAnalyzerInfo;
class Manager;
}
}
namespace plugin {
namespace Bro_Hilti {
class Plugin : public ::plugin::Plugin {
public:
Plugin();
virtual ~Plugin();
bro::hilti::Manager* Mgr() const;
analyzer::Tag AddAnalyzer(const std::string& name, TransportProto p... | {
"content_hash": "c2b465e161a19496c3f53ac9575cb2c1",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 79,
"avg_line_length": 27.517241379310345,
"alnum_prop": 0.6629072681704261,
"repo_name": "rsmmr/hilti",
"id": "58cef5a7000c4a70ffc9428542b1e0f69feb33aa",
"size": "1845",
... |
import argparse
import json
import logging
import os
from datetime import datetime
import tenacity
import gservices
from risklimits import extract_navs, compute_high_watermark, extract_flows
def from_excel_datetime(excel_date):
return datetime.fromordinal(datetime(1900, 1, 1).toordinal() + int(excel_date) - 2)
... | {
"content_hash": "8646467df46a5ca90405ef0b7531ec51",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 120,
"avg_line_length": 44.043103448275865,
"alnum_prop": 0.6330005871990605,
"repo_name": "chris-ch/lemvi-risk",
"id": "77c373c1794c13d28558b7c42a66080040d434fe",
"size":... |
package com.hunantv.fw.route;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import com.hunantv.fw.ControllerAndAction;
import com.hunantv.fw.exceptions.HttpException;
public class Routes {
/**
* { uri: { httpMethod: Route } }
... | {
"content_hash": "c3703cd898411f9a8376beeefbbb00d5",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 101,
"avg_line_length": 32.02197802197802,
"alnum_prop": 0.547700754975978,
"repo_name": "HunanTV/fw",
"id": "8f96655982254c6270060cef4094ca03d64d0bdc",
"size": "2948",
"... |
package org.tomitribe.crest;
import junit.framework.TestCase;
import org.tomitribe.crest.api.Command;
import org.tomitribe.crest.api.Option;
import org.tomitribe.crest.cmds.Cmd;
import java.util.Map;
public class ImplicitPrimitiveOptionDefaultsTest extends TestCase {
private final Map<String, Cmd> commands = o... | {
"content_hash": "5761428ba4627f1c8468ee5a4b14da52",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 111,
"avg_line_length": 30.508064516129032,
"alnum_prop": 0.6235791699709226,
"repo_name": "tomitribe/crest",
"id": "b6c21c0d93093ee5b8ae89043738cce407ff9426",
"size": "45... |
import * as uuid from "node-uuid";
import { ICollection } from "../ICollection";
import PUL from "../../updates/PUL";
export default class MemoryCollection implements ICollection {
private name: string;
private pul: PUL;
private getId(id: string): string {
return this.name + ":" + id;
}
... | {
"content_hash": "0555e51c7fd06651dcdc345d0be22996",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 97,
"avg_line_length": 30.088607594936708,
"alnum_prop": 0.584350021034918,
"repo_name": "wcandillon/jsoniq",
"id": "169e2593dbd73582f72c8610cfdbba81145cf65f",
"size": "244... |
'''
$ sudo ip link add veth0 type veth peer name veth1
$ sudo ip netns add ns0
$ sudo ip link set dev veth0 netns ns0
$ sudo ip netns exec ns0 bash
# python send.py
'''
import socket
from ryu.lib.packet import packet, ethernet, vlan, ipv6, icmpv6
from ryu.ofproto import ether, inet
sock = socket.socket(socket.AF_PACKE... | {
"content_hash": "e5c8284609e84c699e358951037dcaf4",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 67,
"avg_line_length": 29.666666666666668,
"alnum_prop": 0.7457865168539326,
"repo_name": "ntts-clo/mld-ryu",
"id": "eb584660319f6a8dd176998e374f0164e263fcc3",
"size": "712... |
package com.amazonaws.services.rekognition.model;
import javax.annotation.Generated;
/**
* <p>
* The provided image format is not supported.
* </p>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class InvalidImageFormatException extends com.amazonaws.services.rekognition.model.AmazonRekognitio... | {
"content_hash": "9b6c4169ab9add3fe233bc8109bbf0e5",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 118,
"avg_line_length": 26.2,
"alnum_prop": 0.716030534351145,
"repo_name": "jentfoo/aws-sdk-java",
"id": "1bce361181058060276555ab47bb3c5bb87bbf67",
"size": "1235",
"bin... |
empower-core
================================
[![power-assert][power-assert-banner]][power-assert-url]
[![Build Status][travis-image]][travis-url]
[![NPM package][npm-image]][npm-url]
[![License][license-image]][license-url]
Power Assert feature enhancer for assert function/object.
DESCRIPTION
-------------------... | {
"content_hash": "e529ef4d7c101631e6729b2d2ed97cc8",
"timestamp": "",
"source": "github",
"line_count": 290,
"max_line_length": 472,
"avg_line_length": 38.724137931034484,
"alnum_prop": 0.6837043633125557,
"repo_name": "twada/power-assert-runtime",
"id": "4bdc1bff5127466b5135a92cca208c96ad3b0f08",
... |
package io.quarkus.arc.test.unused;
/**
* Not a bean on its own but has a producer
*/
public class Delta {
private String s;
public Delta(String s) {
this.s = s;
}
public String ping() {
return s;
}
}
| {
"content_hash": "3f41903650a57dc57b90664ac5a68873",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 43,
"avg_line_length": 14.294117647058824,
"alnum_prop": 0.5637860082304527,
"repo_name": "quarkusio/quarkus",
"id": "e256de932ef525d78c61203ace63004d0037b77d",
"size": "24... |
package org.apache.olingo.client.core.communication.request;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PipedOutputStream;
import org.apache.olingo.client.api.communication.request.ODataStreamer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Streamer utility object.
*... | {
"content_hash": "acfb8b47b6ee61c3402f878971d94410",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 91,
"avg_line_length": 21.341176470588234,
"alnum_prop": 0.6714443219404631,
"repo_name": "mtaal/olingo-odata4-jpa",
"id": "efc3c1a824f3b1e5841ccf1afe97bc02b3ca1194",
"size... |
<?php
namespace PHPExiftool\Driver\Tag\Microsoft;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class MediaOriginalChannel extends AbstractTag
{
protected $Id = 'WM/MediaOriginalChannel';
protected $Name = 'MediaOriginalChannel';
... | {
"content_hash": "c201accd3366032c272f7b53931bc8bd",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 54,
"avg_line_length": 17.771428571428572,
"alnum_prop": 0.6881028938906752,
"repo_name": "romainneutron/PHPExiftool",
"id": "7f4a94df4c8f9509db004235a177e1f3a2260e29",
"si... |
package io.sarl.maven.compiler;
import java.io.File;
import java.io.IOException;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.maven.artifact.ArtifactUti... | {
"content_hash": "63611f1b51832cc14d6565794cfc35b3",
"timestamp": "",
"source": "github",
"line_count": 295,
"max_line_length": 119,
"avg_line_length": 34.328813559322036,
"alnum_prop": 0.7375333267502715,
"repo_name": "gallandarakhneorg/sarl",
"id": "1d26f1dbb0c4f07fdb6bdb17f767b2e3e5e49838",
"siz... |
package org.apache.flink.table.planner.delegation
import org.apache.flink.api.common.RuntimeExecutionMode
import org.apache.flink.api.dag.Transformation
import org.apache.flink.configuration.ExecutionOptions
import org.apache.flink.table.api.{ExplainDetail, TableConfig, TableException}
import org.apache.flink.table.... | {
"content_hash": "99fae6b27519fb95177aba35ebc47a87",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 113,
"avg_line_length": 41.35087719298246,
"alnum_prop": 0.7452976948097865,
"repo_name": "clarkyzl/flink",
"id": "c5e96b0d3a95f54f7618dc94aa5a02c92894d4a4",
"size": "7876... |
package exerice.task2_blackBoxInteger;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Scanner;
public class main {
public static void main(String[] args) throws
IllegalAccessExc... | {
"content_hash": "68989c1399938bd85cb0d05417301c2a",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 95,
"avg_line_length": 35.71830985915493,
"alnum_prop": 0.5654574132492114,
"repo_name": "StoyanVitanov/SoftwareUniversity",
"id": "9c8b7e90f6d3a442081a76479c87e961d4be0a27",... |
<!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_60-ea) on Wed Jan 04 17:08:19 EST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly... | {
"content_hash": "bfc3d38ddb5f043315d7f5b40acc3863",
"timestamp": "",
"source": "github",
"line_count": 333,
"max_line_length": 549,
"avg_line_length": 65.76876876876877,
"alnum_prop": 0.6809734715309803,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "b5bb1429ca415518d78a96cd7ce2e022ec18... |
package at.magiun.core.feature
import java.util.regex.Pattern
import at.magiun.core.model.data.Distribution
import com.typesafe.scalalogging.LazyLogging
import org.apache.commons.math3.distribution._
import org.apache.spark.mllib.stat.Statistics
import org.apache.spark.rdd.RDD
import org.apache.spark.sql.execution.st... | {
"content_hash": "8af6e237dc80e393e563720a8f5e52e5",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 123,
"avg_line_length": 34.96103896103896,
"alnum_prop": 0.638558692421991,
"repo_name": "Mihai238/magiun",
"id": "ef692b16e817a3c7805f13278c2c481366e0e9ac",
"size": "5384... |
TF.js deployment of google/imagenet/mobilenet_v1_100_192/feature_vector/3.
<!-- asset-path: legacy -->
<!-- parent-model: google/imagenet/mobilenet_v1_100_192/feature_vector/3 -->
## Origin
This model is based on [google/imagenet/mobilenet_v1_100_192/feature_vector/3](https://tfhub.dev/google/imagenet/mobilenet_v1_1... | {
"content_hash": "397da53722a79dea8c4598d81c3d4859",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 152,
"avg_line_length": 40.8235294117647,
"alnum_prop": 0.7550432276657061,
"repo_name": "tensorflow/tfhub.dev",
"id": "a2bbec63beac988721e6210fcf3f8263c1602b64",
"size": "... |
/****************************************************************************
** Meta object code from reading C++ file 'addressbookpage.h'
**
** Created: Fri Mar 7 11:55:07 2014
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2)
**
** WARNING! All changes made in this file will be lost!
********************... | {
"content_hash": "33cd0a1abecb9bfe8be81d88d7fcff83",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 168,
"avg_line_length": 35.710691823899374,
"alnum_prop": 0.5921098978513561,
"repo_name": "Eggcoin/eggcoin",
"id": "d533738243ac508c8593f27b4937e0a868a6bcdf",
"size": "56... |
<?php
namespace jp3cki\yii2\twitter\widget;
use yii\base\Widget;
use yii\helpers\Html;
class TweetButton extends Widget
{
// See https://dev.twitter.com/web/tweet-button/web-intent
public $text;
public $url;
public $hashtags;
public $via;
public $related;
public $inReplyTo;
// See h... | {
"content_hash": "539c38992d3f3cc55902f513309d0550",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 77,
"avg_line_length": 25.64,
"alnum_prop": 0.45865834633385333,
"repo_name": "fetus-hina/yii2-twitter-widget",
"id": "d23bbcad015f3ee6f69d7b3a8341a99cb506f648",
"size": "2... |
{# Modify this template to change what is displayed in Help Scout #}
<h3>{{ username }}</h3>
| {
"content_hash": "a09e79b90bedcd867c1c5bd8babe3594",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 68,
"avg_line_length": 46.5,
"alnum_prop": 0.6881720430107527,
"repo_name": "carousell/Helpscout-App-Template",
"id": "5d9d17e543b60f83b27f2a0ea59d71a5e0899cbc",
"size": "93... |
package io.fabric8.forge.camel.commands.jolokia;
import javax.inject.Inject;
import org.jboss.forge.addon.ui.context.UIBuilder;
import org.jboss.forge.addon.ui.context.UIContext;
import org.jboss.forge.addon.ui.context.UIExecutionContext;
import org.jboss.forge.addon.ui.input.UIInput;
import org.jboss.forge.addon.ui... | {
"content_hash": "f2c4017695103fb55a5bac9376b4f595",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 152,
"avg_line_length": 40.76271186440678,
"alnum_prop": 0.7251559251559252,
"repo_name": "hekonsek/fabric8",
"id": "b579d8feeb1fdb66fd86b389231e797f45d41222",
"size": "304... |
<section>
<header></header>
<article id="content"> </article>
<footer></footer>
</section> | {
"content_hash": "4b57b42f6b7f9a1749f2019521cf4962",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 34,
"avg_line_length": 18.6,
"alnum_prop": 0.6559139784946236,
"repo_name": "Redmart/os-mobilizer",
"id": "04815273b5200e106239a914ab8860419d463b61",
"size": "93",
"binary... |
package edu.uci.ics.asterix.api.common;
import java.io.File;
import java.util.EnumSet;
import edu.uci.ics.asterix.common.config.GlobalConfig;
import edu.uci.ics.asterix.hyracks.bootstrap.CCApplicationEntryPoint;
import edu.uci.ics.asterix.hyracks.bootstrap.NCApplicationEntryPoint;
import edu.uci.ics.hyracks.api.clie... | {
"content_hash": "cc4d9caf9fec72c56a1c8bd85439c11c",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 114,
"avg_line_length": 35.75352112676056,
"alnum_prop": 0.6029151073468584,
"repo_name": "parshimers/incubator-asterixdb",
"id": "91aa89799c7c327ab3ed34830cc2a56eb7a790d8",... |
class Projects::ForksController < Projects::ApplicationController
include ContinueParams
include RendersMemberAccess
include RendersProjectsList
include Gitlab::Utils::StrongMemoize
# Authorize
before_action :whitelist_query_limiting, only: [:create]
before_action :require_non_empty_project
before_acti... | {
"content_hash": "a5927094df25dcd413035dbc0332a18d",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 148,
"avg_line_length": 31.892857142857142,
"alnum_prop": 0.7040873460246361,
"repo_name": "mmkassem/gitlabhq",
"id": "c6b6b825bb70654e4c96a83f242e3bb0d9bb6149",
"size": "... |
package science.atlarge.graphalytics.granula;
import science.atlarge.granula.archiver.GranulaExecutor;
import science.atlarge.granula.modeller.entity.Execution;
import science.atlarge.granula.modeller.job.JobModel;
import science.atlarge.granula.util.FileUtil;
import science.atlarge.granula.util.json.JsonUtil;
impor... | {
"content_hash": "1710d1c34b81c8476f9e3f41029e8c18",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 122,
"avg_line_length": 37.21875,
"alnum_prop": 0.7397145256087322,
"repo_name": "tudelft-atlarge/graphalytics",
"id": "31f23a120ab5ebcfd5a755c991bcc2ee80208dee",
"size": "... |
package org.api.server;
import java.io.IOException;
import java.util.ArrayList;
import javax.ws.rs.core.MediaType;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.ParseException;
import org.apache.http.client.methods.HttpDelete;
import... | {
"content_hash": "075e9a37dd51e7ab686e46d3357033ba",
"timestamp": "",
"source": "github",
"line_count": 191,
"max_line_length": 112,
"avg_line_length": 38,
"alnum_prop": 0.7518600165334803,
"repo_name": "GluuFederation/oxTrust",
"id": "d7afa6afe3d9846cdb8e6ac3184caca17ac09be3",
"size": "7258",
"b... |
<?php
/*
Safe sample
input : get the field userData from the variable $_GET via an object, which store it in a array
Flushes content of $sanitized if the filter number_float_filter is not applied
construction : interpretation with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, wi... | {
"content_hash": "6dcb4fac047f647ae066a559819ad516",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 95,
"avg_line_length": 22.666666666666668,
"alnum_prop": 0.7316176470588235,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "cb532fa4f6b2875324739c55a9775a9b5617... |
using System.Runtime.CompilerServices;
using System.Text.Encodings.Web;
namespace Fluid
{
// An HTML encoder which passes through all input data. Does no encoding.
public sealed class NullEncoder : TextEncoder
{
private NullEncoder()
{
}
public static NullEncoder Default { ... | {
"content_hash": "dad64ee466d46aaae7aea883de6a7e10",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 144,
"avg_line_length": 29.216216216216218,
"alnum_prop": 0.6586493987049029,
"repo_name": "sebastienros/fluid",
"id": "410385d0dfc1de9956570e8f700f1047ad3d69ed",
"size": "... |
package diagnose
import (
"bytes"
"fmt"
"github.com/apache/servicecomb-service-center/pkg/client/etcd"
"github.com/apache/servicecomb-service-center/pkg/client/sc"
"github.com/apache/servicecomb-service-center/scctl/pkg/cmd"
"github.com/apache/servicecomb-service-center/server/admin/model"
"github.com/coreos/et... | {
"content_hash": "fb17a1c8609fabe6304cf12e13a4d00b",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 117,
"avg_line_length": 23.565217391304348,
"alnum_prop": 0.6694781233526621,
"repo_name": "asifdxtreme/service-center",
"id": "7d501263092b1db6c114c8dda49024403640e72a",
... |
using System;
using NUnit.Framework;
namespace Braintree.Tests
{
[TestFixture]
public class SignatureServiceTest
{
class FakeHasher : Hasher
{
public string HmacHash(string key, string payload)
{
return payload + "-signed-with-" + key;
}
... | {
"content_hash": "9999f7f423a7676ca7260440a3cded15",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 87,
"avg_line_length": 24.413793103448278,
"alnum_prop": 0.5254237288135594,
"repo_name": "scottmeyer/braintree_dotnet",
"id": "1e33378d10eaeadc871a008f5dce35c8f5999dae",
"... |
<?php
namespace Neos\Flow\Tests\Unit\Security\Authorization;
use Neos\Flow\ObjectManagement\ObjectManager;
use Neos\Flow\Tests\UnitTestCase;
use Neos\Flow\Security;
/**
* Testcase for the security interceptor resolver
*/
class InterceptorResolverTest extends UnitTestCase
{
/**
* @test
* @expectedExc... | {
"content_hash": "e540361291d6dd0083e9f74e41c10cae",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 174,
"avg_line_length": 39.47826086956522,
"alnum_prop": 0.723568281938326,
"repo_name": "aertmann/flow-development-collection",
"id": "e728338ca8c7a74f9cb2b972620b30b9862f33... |
// ****************************************************************************************************
// AutoLite v1.0
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// an... | {
"content_hash": "a3edb1696b93b0b5c94de11119da2c0e",
"timestamp": "",
"source": "github",
"line_count": 305,
"max_line_length": 182,
"avg_line_length": 39.62622950819672,
"alnum_prop": 0.5435214297534338,
"repo_name": "adribona/AutoLite",
"id": "ac44b93ee9818d95b5aa5a1b0eb99747bc1d91f0",
"size": "1... |
#ifndef _DEV_ATH_AR5311REG_H_
#define _DEV_ATH_AR5311REG_H_
/*
* Definitions for the Atheros 5311 chipset.
*/
#define AR5311_QDCLKGATE 0x005c /* MAC QCU/DCU clock gating control */
#define AR5311_QDCLKGATE_QCU_M 0x0000FFFF /* QCU clock disable */
#define AR5311_QDCLKGATE_DCU_M 0x07FF0000 /* DCU clock disable */
#d... | {
"content_hash": "60a5961d89ac73cf5ea4e649b2cbf6a6",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 78,
"avg_line_length": 34.878787878787875,
"alnum_prop": 0.7263249348392702,
"repo_name": "execunix/vinos",
"id": "2911309178d312b4429084bf1049ea7d097dcc7b",
"size": "2065"... |
<!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<link href='http://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Marcellus+SC' rel='stylesheet' type='text/css'>
<meta charset="utf-8... | {
"content_hash": "93c79b134c3103218b24aa014c23e956",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 147,
"avg_line_length": 45.733333333333334,
"alnum_prop": 0.6603498542274052,
"repo_name": "Serneum/sern-programming",
"id": "20b1c808ea6c9dc1d2d5a4493e27d6af41840f0c",
"si... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
J. Roy. Hort. Soc. 46:321, fig. 190. 1921
#### Original name
null
### Remarks
null | {
"content_hash": "3a62d55aa831e70cd361190dcce2b3f3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 41,
"avg_line_length": 12.538461538461538,
"alnum_prop": 0.6809815950920245,
"repo_name": "mdoering/backbone",
"id": "341834c00a7920af68c58b9071190785470efb04",
"size": "20... |
---
layout: default
---
<!-- Image to hack wechat -->
<!-- <img src="{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}" width="0" height="0"> -->
<!-- Post Header -->
<style type="text/css">
header.intro-header{
/*background-image: url('{{ site.base... | {
"content_hash": "d53e903326d26ad703da0d27d7141020",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 202,
"avg_line_length": 37.3502538071066,
"alnum_prop": 0.4555585756999185,
"repo_name": "dandanzhou/dandanzhou.github.io",
"id": "084f27758bba9adabcd96839c3be02c5ff722890",... |
using CodeTorch.Core;
using CodeTorch.Core.Commands;
using System;
using System.Linq;
using System.Web;
using System.Web.Security;
namespace CodeTorch.Web.ActionCommands
{
public class LogoutActionCommand : IActionCommandStrategy
{
public Templates.BasePage Page { get; set; }
public Actio... | {
"content_hash": "bfc404db92fe653cc9efb8ae6090c7ea",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 123,
"avg_line_length": 22.650793650793652,
"alnum_prop": 0.5227750525578136,
"repo_name": "EminentTechnology/CodeTorch",
"id": "18958f01c0f8f9f42de68865e9b166b9c9e9eb75",
... |
<head>
<title>JustArrived | CrowdCompass</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon-precomposed" href="./touch-icon-iphone.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="./touch-icon-ipad.png" />
<link rel="apple-touch-icon-pr... | {
"content_hash": "0f082e9a817cef1ad88877ba099e358e",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 132,
"avg_line_length": 27.525714285714287,
"alnum_prop": 0.5582312642723687,
"repo_name": "crowdcompass/JustArrived",
"id": "51ae51c8fd63090eaf30df2c8f44b6a1fb0418c2",
"s... |
<HTML><HEAD>
<TITLE>Review for Saving Private Ryan (1998)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0120815">Saving Private Ryan (1998)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy... | {
"content_hash": "6c73b129d623271a37fec79a91b8378d",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 207,
"avg_line_length": 64.09210526315789,
"alnum_prop": 0.7600082118661465,
"repo_name": "xianjunzhengbackup/code",
"id": "bd36e482aabd6c43569321a100f94a5d74c62b6f",
"size... |
namespace offline_pages {
// Sample resource consumed by the task during execution. In this set of tests
// used to provide the capability to continue the task.
class ConsumedResource {
public:
ConsumedResource();
~ConsumedResource();
void Step(base::OnceClosure step_callback);
void CompleteStep();
bool Ha... | {
"content_hash": "d7b14fbc612882e146a7335caaaf66e4",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 80,
"avg_line_length": 27.32,
"alnum_prop": 0.7335285505124451,
"repo_name": "ric2b/Vivaldi-browser",
"id": "ac450878be2242bd421161be03fffd1ab4d714aa",
"size": "1717",
"b... |
<!DOCTYPE html>
<html>
<head>
<title>RubySpec - Rubinius</title>
<meta content='text/html;charset=utf-8' http-equiv='content-type'>
<meta content='ru' http-equiv='content-language'>
<meta content='Rubinius is an implementation of the Ruby programming language. The Rubinius bytecode virtual machine is ... | {
"content_hash": "d0ba8b29314741ebc26062f28ca963ad",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 338,
"avg_line_length": 31.630208333333332,
"alnum_prop": 0.5410834842746584,
"repo_name": "rkh/rubinius",
"id": "878d32362fd83adef3ce30e815fc92ccc4b58d12",
"size": "6098"... |
<?php
namespace AcMailerTest\ServiceManager;
use Zend\ServiceManager\Exception;
use Zend\ServiceManager\ServiceLocatorInterface;
/**
* Class ServiceManagerMock
* @author Alejandro Celaya Alastrué
* @link http://www.alejandrocelaya.com
*/
class ServiceManagerMock implements ServiceLocatorInterface
{
/**
*... | {
"content_hash": "da2bbe0260a19ddc7c90bf791c40ecec",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 65,
"avg_line_length": 21.138461538461538,
"alnum_prop": 0.574235807860262,
"repo_name": "ocodersolutions/fakhar-e",
"id": "0dcaac2ae22cee104ca59753ca10026a7d03cefd",
"size... |
ROOT = ../../..
DIR = WMIMapper/PegServer
include $(ROOT)/mak/config.mak
# SSL support
ifdef PEGASUS_HAS_SSL
FLAGS += -DPEGASUS_HAS_SSL -DPEGASUS_SSL_RANDOMFILE
SYS_INCLUDES += -I$(OPENSSL_HOME)/include
endif
EXTRA_INCLUDES = $(SYS_INCLUDES)
LOCAL_DEFINES = -DPEGASUS_SERVER_INTERNAL -DPEGASUS_INTERNALONLY
LIB... | {
"content_hash": "0378183f3d3190e7463db830c3274cdf",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 109,
"avg_line_length": 28.579710144927535,
"alnum_prop": 0.7383367139959433,
"repo_name": "ncultra/Pegasus-2.5",
"id": "d287b924acf77b781d003af499a807a4e0311ff4",
"size": ... |
package org.elasticsearch.xpack.security.authc.support.mapper;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.message.ParameterizedMessage;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.delete.DeleteResponse;
import... | {
"content_hash": "9cc52670e8194d2e561e353e0de08f42",
"timestamp": "",
"source": "github",
"line_count": 415,
"max_line_length": 138,
"avg_line_length": 44.86987951807229,
"alnum_prop": 0.6352505236023844,
"repo_name": "GlenRSmith/elasticsearch",
"id": "6e1803ab5152265853d06ba2ba61dbee8dd18893",
"si... |
#pragma once
#include <OgreString.h>
#include "fmod.hpp"
class NBID;
/* Declares NBID* varname and getter function */
#define ID_DECL(varname) \
private:\
NBID* varname;\
public:\
NBID* getID() const { return varname;}
/*
* Abstract class that encapsulates low-level FMOD API's audio source and channels.
* ... | {
"content_hash": "565a97a00920c033a55f3d547c7da94d",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 93,
"avg_line_length": 23.084745762711865,
"alnum_prop": 0.7033773861967695,
"repo_name": "zomeelee/Arcade-Racing",
"id": "eebcf68d87f07302c7484b0ec315be0d9ff7b911",
"size"... |
package org.hive2hive.core.file;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.List;
import org.apache.commons.io.FileUtils;
import org.hive2hive.core.model.Chunk;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class FileChunkUtil {
private stat... | {
"content_hash": "2c938ae70df956b0e58b945c4714e4ba",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 109,
"avg_line_length": 30.282894736842106,
"alnum_prop": 0.6778188138170759,
"repo_name": "albu89/Hive2Hive-dev",
"id": "1ac1fe5c25242cf8ebdb596623d019203fc907be",
"size"... |
namespace v8 {
namespace internal {
inline double JunkStringValue() {
return bit_cast<double, uint64_t>(kQuietNaNMask);
}
inline double SignedZero(bool negative) {
return negative ? uint64_to_double(Double::kSignMask) : 0.0;
}
// The fast double-to-unsigned-int conversion routine does not guarantee
// rounding... | {
"content_hash": "c9e691cc8fcc5ca548ec1c2c2d9f215c",
"timestamp": "",
"source": "github",
"line_count": 739,
"max_line_length": 80,
"avg_line_length": 30.28958051420839,
"alnum_prop": 0.5746962115796997,
"repo_name": "zero-rp/miniblink49",
"id": "c05c0644da5eb675c75b6b6617df29fba418cfe9",
"size": "... |
<?php
namespace Zimbra\Mail\Struct;
/**
* AddressTest struct class
*
* @package Zimbra
* @subpackage Mail
* @category Struct
* @author Nguyen Van Nguyen - nguyennv1981@gmail.com
* @copyright Copyright © 2013 by Nguyen Van Nguyen.
*/
class AddressTest extends FilterTest
{
/**
* Constructor ... | {
"content_hash": "97e6b8b583c2363739150caae3a5a4c1",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 83,
"avg_line_length": 20.884393063583815,
"alnum_prop": 0.5505120398560753,
"repo_name": "zimbra-api/zimbra-api",
"id": "ba5711b2a8ee6e72504159874705d1fa7b4c9a4d",
"size"... |
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("MonadSharp")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly... | {
"content_hash": "08b89a9a494f9caa215fff47bdc73158",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 82,
"avg_line_length": 36.44444444444444,
"alnum_prop": 0.7439024390243902,
"repo_name": "kallanreed/monadsharp",
"id": "113749428ec376e0443e432f99a15e42a5e84b7e",
"size": ... |
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<display-name>Spring-Hib... | {
"content_hash": "07b43df01437f417de8bdd4894477e36",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 113,
"avg_line_length": 33.53623188405797,
"alnum_prop": 0.6335350043215212,
"repo_name": "FieloIncentiveAutomation/fielodeploy",
"id": "6faa337434a6f572b0e627e5a31c4eafd3f55... |
from model_base import ModelBase
class H2ORegressionModel(ModelBase):
def _make_model(self):
return H2ORegressionModel()
def plot(self, timestep="AUTO", metric="AUTO", **kwargs):
"""
Plots training set (and validation set if available) scoring history for an H2ORegressionModel. The timestep and metr... | {
"content_hash": "183b5e03ec119861be4fd056b74cdca2",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 123,
"avg_line_length": 32.3394495412844,
"alnum_prop": 0.6936170212765957,
"repo_name": "madmax983/h2o-3",
"id": "c1ba640c8b518782ba711245de34b7abfa7b444c",
"size": "3525... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eo" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Neutralitycoin</source>
<translation>Pri Neutralitycoin</translation... | {
"content_hash": "132609f37db3b424e9dfaa4072aca868",
"timestamp": "",
"source": "github",
"line_count": 2917,
"max_line_length": 395,
"avg_line_length": 33.88275625642784,
"alnum_prop": 0.5933060828038367,
"repo_name": "neutrality/nucoin",
"id": "520560dbee65752ef0613468b3a4c433b0f397a5",
"size": "... |
#include "io/lab_boost_model_reader.h"
#include <vector>
namespace seeta {
namespace fd {
bool LABBoostModelReader::Read(std::istream* input,
seeta::fd::Classifier* model) {
bool is_read;
seeta::fd::LABBoostedClassifier* lab_boosted_classifier =
dynamic_cast<seeta::fd::LABBoostedClassifier*>(model);
... | {
"content_hash": "2f4ea37ece7b41d8ad6d316489fe05d3",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 78,
"avg_line_length": 29.620689655172413,
"alnum_prop": 0.6746216530849826,
"repo_name": "whlook/eveFace",
"id": "87e5b6e71e7538b59ce86c8252dd5a32ecc8522d",
"size": "2995"... |
package org.auraframework.http;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.*;
import org.auraframework.Aura;
import org.auraframework.service.LoggingService;
import org.auraframework.util.json.JsonReader;
import ... | {
"content_hash": "b23d6baaca228803ae7994c8b92abe3a",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 114,
"avg_line_length": 35.166666666666664,
"alnum_prop": 0.6622145626884963,
"repo_name": "lhong375/aura",
"id": "1097a1afd1dd6f5d7101bc64e0ae768d92df165a",
"size": "2932"... |
package com.zhanggui.uilayouttest;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class RelativeActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.re... | {
"content_hash": "6d0948a13c88304152fa067ebfea56fb",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 57,
"avg_line_length": 26.46153846153846,
"alnum_prop": 0.7645348837209303,
"repo_name": "ScottZg/AndroidTest",
"id": "d43596b2689c170f346b7b82ed02216f95b4338f",
"size": "3... |
import datetime
import json
import logging
from dateutil import parser
from django.utils import timezone
from rest_framework.renderers import JSONRenderer
logger = logging.getLogger('print')
class CompactJSONRenderer(JSONRenderer):
"""Renderer which serializes to JSON using the most compact JSON representation.... | {
"content_hash": "6d4bd104c597f3b8d9b62248593f64d1",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 116,
"avg_line_length": 29.235294117647058,
"alnum_prop": 0.682092555331992,
"repo_name": "thachhoang/log",
"id": "009ca4dadfbb300bd7e6812a8c9078b95b86baf9",
"size": "994",... |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that... | {
"content_hash": "92c4c4ec00bad4eb20d75c03b68a82fc",
"timestamp": "",
"source": "github",
"line_count": 922,
"max_line_length": 100,
"avg_line_length": 27.879609544468547,
"alnum_prop": 0.5984827854503015,
"repo_name": "BaldoAgosta/weka-dev",
"id": "aa58baaf8f50664b9cda6ed81ffe52e374da8da8",
"size"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.1) Opera 7.0 [en]</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.cs... | {
"content_hash": "7e031723c8e07dfca0882ad5e9128538",
"timestamp": "",
"source": "github",
"line_count": 1413,
"max_line_length": 799,
"avg_line_length": 39.481953290870486,
"alnum_prop": 0.5387000788700079,
"repo_name": "ThaDafinser/UserAgentParserComparison",
"id": "7644d51d2da0ebe5487bac69dcfaadf8b... |
<?xml version='1.0' encoding='UTF-8'?>
<resources>
<string name="object_null_title">Ой...</string>
<string name="object_null_message">Кажется здесь ничего нет...</string>
</resources>
| {
"content_hash": "67ae1277ddb2ee36028cb7784715cfa6",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 73,
"avg_line_length": 37.6,
"alnum_prop": 0.6861702127659575,
"repo_name": "oshepherd/Impeller",
"id": "eb7ffa04f4358319d441157fb668f63c7198a38f",
"size": "211",
"binary"... |
interface ConvertOptions {
cap?: boolean;
curry?: boolean;
fixed?: boolean;
immutable?: boolean;
rearg?: boolean;
}
interface Convert {
(func: object, options?: ConvertOptions): any;
(name: string, func: (...args: any[]) => any, options?: ConvertOptions): any;
}
declare const ... | {
"content_hash": "3234775fcb0aa7427f934303607ac2c0",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 81,
"avg_line_length": 23.866666666666667,
"alnum_prop": 0.6201117318435754,
"repo_name": "cripplet/munuc-django",
"id": "39415177123249125c8d2666396774d6a32b649d",
"size":... |
@echo off
set VSCOMNTOOLS=%VS120COMNTOOLS%
@call "%VSCOMNTOOLS%\VsDevCmd.bat"
@call :GetWindowsSdk35ExecutablePath32
@rem Use MIDL to compile IDL to TLB
set DIA2IDL=%VSCOMNTOOLS%\..\..\DIA SDK\idl\dia2.idl
set DIA2INC=%VSCOMNTOOLS%\..\..\DIA SDK\include
midl /tlb dia2lib.tlb /I "%DIA2INC%" "%DIA2IDL%"
@rem Cleanup af... | {
"content_hash": "9a7915af8c458e038af6ab8b4d8434c5",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 156,
"avg_line_length": 36.09803921568628,
"alnum_prop": 0.6854970124932103,
"repo_name": "gimelfarb/ProductionStackTrace",
"id": "727964aa09e32863a05e095d8e29d1a022c03b53",
... |
<!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_151) on Wed Jan 16 10:54:25 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... | {
"content_hash": "37ec8b92159fad4ae670501f14e27507",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 655,
"avg_line_length": 56.01069518716577,
"alnum_prop": 0.6729043345426771,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "fe1d0523461f08fa9a8b32a247250084fbf6... |
#ifndef SPIRE_RENDER_GEOMPROMISE_HPP
#define SPIRE_RENDER_GEOMPROMISE_HPP
#include <es-log/trace-log.h>
#include <cstring>
#include <es-cereal/ComponentSerialize.hpp>
namespace ren {
struct GeomPromise
{
// -- Data --
static const int MaxAssetName = 64;
/// Name of the shader that was promised.
char assetNa... | {
"content_hash": "93225353048c5bb6435bd296ec97ab50",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 101,
"avg_line_length": 23.704918032786885,
"alnum_prop": 0.6666666666666666,
"repo_name": "jcollfont/SCIRun",
"id": "b3d3fdd557abc6eb35eac922d28d0199945c6f7a",
"size": "14... |
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace MvpCommandLine
{
using System;
using Narvalo.Mvp;
public sealed class SamplePresenter : Presenter<ISampleView>
{
public SamplePresenter(ISampleView view)
: bas... | {
"content_hash": "d5adc15aeb7f4bece581a84da0646cd1",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 112,
"avg_line_length": 28.952380952380953,
"alnum_prop": 0.6414473684210527,
"repo_name": "chtoucas/Narvalo.NET",
"id": "bd910f98ac1b875f7048b0b4a2bdbf29469ff787",
"size":... |
namespace OldAlbums
{
using System;
using System.Xml;
public class OldAlbums
{
public static void Main(string[] args)
{
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load("../../../files/catalog.xml");
string xPathQuery = "/catalog/album[year<=2010... | {
"content_hash": "0df31c2611ee89f3ea1386d1eac3b80c",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 110,
"avg_line_length": 27.09090909090909,
"alnum_prop": 0.5419463087248322,
"repo_name": "danisio/Databases-Homeworks",
"id": "8927218d350a613253b0543b893781b28225f34a",
"... |
<?php
class Sabre_CalDAV_Property_SupportedCalendarData extends Sabre_DAV_Property {
/**
* Serializes the property in a DOMDocument
*
* @param Sabre_DAV_Server $server
* @param DOMElement $node
* @return void
*/
public function serialize(Sabre_DAV_Server $server,DOMElement $node... | {
"content_hash": "29c4497cffcff68f57ea1dd251b41841",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 141,
"avg_line_length": 28.26923076923077,
"alnum_prop": 0.6421768707482993,
"repo_name": "ArcherCraftStore/ArcherVMPeridot",
"id": "2cf3c7b6aa8de53c6f1fb5edcc23c4a57210f183"... |
package org.jboss.resteasy.test.cdi.modules;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.resteasy... | {
"content_hash": "ddac4fe41c9c229046e6894e889b0409",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 131,
"avg_line_length": 43.44303797468354,
"alnum_prop": 0.7441724941724942,
"repo_name": "awhitford/Resteasy",
"id": "08b288a9cf162ad0e1f7a3cbd80b1f25617bfb1c",
"size": "3... |
'use strict';
/**
* Our first store. This is what is going to
* hold the application state and logic. In
* general Stores manage the state of many
* objects, and not a particular instance of it.
* It will manage app state for a DOMAIN (Todo
* stuff) within the application.
*
* TodoStore will register itself wi... | {
"content_hash": "534d6743ad93c6ced198e9c859e8c468",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 75,
"avg_line_length": 26.291666666666668,
"alnum_prop": 0.6658742736397253,
"repo_name": "cirocosta/react-samples",
"id": "277756447576276d84d6c2664cda97142636c9f1",
"siz... |
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
const mongoError = require('./MongoHelper');
const MatchData = require('./MatchData')
mongoose.Promise = global.Promise;
var TeamSchema = new Schema({
number: Number,
pitData: { type: Schema.ObjectId, ref: 'PitData' }
});
TeamSchema.sta... | {
"content_hash": "0f5ecdb3dab68ff8cb1badca38fad519",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 96,
"avg_line_length": 30.754716981132077,
"alnum_prop": 0.658282208588957,
"repo_name": "frcteam188/frc-team188-website",
"id": "ab7b3d6b808763c54725bbbcf2f1bb8084f39441",
... |
@interface VICacheSessionManager : NSObject
@property (nonatomic, strong, readonly) NSOperationQueue *downloadQueue;
@property (nonatomic, assign) BOOL allowsCellularAccess;
@property (nonatomic, copy) NSString *referer;
+ (instancetype)shared;
@end
| {
"content_hash": "7dfe6694e78d79d44434c5c58f881ca4",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 72,
"avg_line_length": 28.11111111111111,
"alnum_prop": 0.7984189723320159,
"repo_name": "smhjsw/VIMediaCache",
"id": "0ac29d2e9a989377246e3abaf9b93f4696620ad2",
"size": "42... |
ES5Harness.registerTest( {
id: "15.4.4.21-8-c-2",
path: "TestCases/chapter15/15.4/15.4.4/15.4.4.21/15.4.4.21-8-c-2.js",
description: "Array.prototype.reduce throws TypeError when elements assigned values are deleted by reducing array length and initialValue is not present",
test: function testcase() {
... | {
"content_hash": "35da8c365f57a636d70ae110e278f614",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 154,
"avg_line_length": 21.225806451612904,
"alnum_prop": 0.6337386018237082,
"repo_name": "lordmos/blink",
"id": "87af7d08f18007519f70c0b0c677422dc110599f",
"size": "2236"... |
import * as React from 'react'
import classNames from 'classnames'
import { ComputedAction } from '../../models/computed-action'
import { assertNever } from '../../lib/fatal-error'
import { Octicon, OcticonSymbol } from '../octicons'
interface IActionStatusIconProps {
/** The status to display to the user */
read... | {
"content_hash": "0fd6e1d2380fb4438a0df3f6fe653d42",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 80,
"avg_line_length": 30.55223880597015,
"alnum_prop": 0.6868588177821202,
"repo_name": "kactus-io/kactus",
"id": "b301c48d5febef5d8c8819c605775f8775d31141",
"size": "2047... |
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from fwissr.version import VERSION
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
readme = open('README.rst').read()
history = open('HISTORY.rst').read().r... | {
"content_hash": "057369385ed972ab6fe3dad2d415b097",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 71,
"avg_line_length": 25.632653061224488,
"alnum_prop": 0.6146496815286624,
"repo_name": "fotonauts/fwissr-python",
"id": "b90e6b99ab3b26ee62a29d95600357eae080715f",
"size... |
package org.wso2.carbon.ml.core.spark.algorithms;
import static water.util.FrameUtils.generateNumKeys;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.spark.api.java.JavaPairRDD;
i... | {
"content_hash": "23b62b99409c1176f28c5d4a8fa99cde",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 130,
"avg_line_length": 46.10683760683761,
"alnum_prop": 0.6154416535360089,
"repo_name": "wso2/carbon-ml",
"id": "352b06f21c08037d54c65ea732c32abd5d4cb708",
"size": "1145... |
/**
* Automatically generated file. Please do not edit.
* @author Highcharts Config Generator by Karasiq
* @see [[http://api.highcharts.com/highstock]]
*/
package com.highstock.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScript... | {
"content_hash": "a826fa997faff80f19213a19387389e6",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 181,
"avg_line_length": 36.982142857142854,
"alnum_prop": 0.7001448575567358,
"repo_name": "Karasiq/scalajs-highcharts",
"id": "97b0ad990ef21e585fe4ace639ac35bbac5eb4db",
"... |
from django.conf import settings
from django.views import generic
from openstack_dashboard.api.rest import urls
from openstack_dashboard.api.rest import utils as rest_utils
# settings that we allow to be retrieved via REST API
# these settings are available to the client and are not secured.
# *** THEY SH... | {
"content_hash": "a152ce896e67abce19c8a36cfa034a3a",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 75,
"avg_line_length": 33.2,
"alnum_prop": 0.7198795180722891,
"repo_name": "zhaogaolong/oneFinger",
"id": "f906fc259f824245c0331c0fad3aad6ddc71882e",
"size": "1640",
"bi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.