text stringlengths 2 1.04M | meta dict |
|---|---|
package com.izforge.izpack;
import com.izforge.izpack.util.OsConstraint;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.List;
import java.util.Map;
/**
* Extends the packfile by the information at which file position an entry is stored
*
* @author Dennis Reil, <Dennis.Reil@reddot.de>... | {
"content_hash": "c00aeb52648b2a71c8458bf4aabdf323",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 117,
"avg_line_length": 26.47887323943662,
"alnum_prop": 0.6707446808510639,
"repo_name": "awilhelm/izpack-with-ips",
"id": "6dc5f9f4f41b47289af8f1fdd1aa9181acb7ba61",
"siz... |
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<!--
<parameters>
<parameter key="dj_blog.... | {
"content_hash": "90b1f12ade4b0a9db7af8fffd44f0d55",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 120,
"avg_line_length": 34.05,
"alnum_prop": 0.631424375917768,
"repo_name": "biomechanoid/project-TRVL",
"id": "2a736b7d4172ebebbcb82ab3452c97a2b41f8734",
"size": "681",
... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit92b5a0e34775bc72bc82d97b9614e6aa::getLoader();
| {
"content_hash": "a675f4ad44112ad80096aedc9daeb287",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 75,
"avg_line_length": 26.142857142857142,
"alnum_prop": 0.7595628415300546,
"repo_name": "albertogcatalan/product-hunt-clone",
"id": "c403c842939255911358e71339a29af63a3b9831... |
<!--
Description: feed link rel='self'
Expect: not bozo and feed['links'][0]['rel'] == 'self'
-->
<feed xmlns="http://www.w3.org/2005/Atom">
<link rel="self" type="application/atom+xml" href="http://www.example.com/"/>
</feed>
| {
"content_hash": "b959f26f2db1c3962ffb07b701ce0d99",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 79,
"avg_line_length": 33.42857142857143,
"alnum_prop": 0.6239316239316239,
"repo_name": "simplepie/simplepie-ng",
"id": "2dd731f834394c4a2395da1a0a8fe045adcddfa7",
"size": ... |
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
class C {
// Output should not use `_initialiseProps`
constructor(T) {
_defineProperty(this, "x", voi... | {
"content_hash": "7b71acb4918fa977a30cb996f54097ca",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 209,
"avg_line_length": 33.54545454545455,
"alnum_prop": 0.6504065040650406,
"repo_name": "samwgoldman/babel",
"id": "e6d715c07a9a21d860de0875bc5b438441eba9c9",
"size": "36... |
package org.jpmml.evaluator;
import java.util.*;
import org.dmg.pmml.*;
import com.google.common.collect.*;
abstract
public class EvaluationContext {
private Map<FieldName, FieldValue> fields = Maps.newLinkedHashMap();
private List<String> warnings = Lists.newArrayList();
abstract
public DerivedField resol... | {
"content_hash": "617e2a2681c4578a795014e9efc908f2",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 119,
"avg_line_length": 21.693877551020407,
"alnum_prop": 0.7234242709313264,
"repo_name": "jpmml/jpmml",
"id": "c12177a7f76b95fa898db601220f30de00a049be",
"size": "2169",
... |
#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_MOBILE_ON_HMI_STATUS_NOTIFICATION_H_
#define SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_MOBILE_ON_HMI_STATUS_NOTIFICATION_H_
#include "application_manager/commands/command_notification_impl.h"
#include "utils... | {
"content_hash": "ac831e88e0b657f7c31299ba54e9ee77",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 119,
"avg_line_length": 27.348837209302324,
"alnum_prop": 0.7517006802721088,
"repo_name": "LuxoftAKutsan/sdl_core",
"id": "58659cbc4bb36ae6d3c3033b989dce9094a482bc",
"size... |
<?xml version="1.0" encoding="utf-8"?><!--
Copyright (C) 2014 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/lic... | {
"content_hash": "339ee206bb8163bfb3f55ab4cd837076",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 77,
"avg_line_length": 42.774647887323944,
"alnum_prop": 0.6437273625288114,
"repo_name": "googlearchive/android-SliceViewer",
"id": "68284802cb44e6e267b93bc8822a865005638532... |
@class DBTEAMLOGTeamBrandingPolicy;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `TeamBrandingPolicy` union.
///
/// Policy for controlling team access to setting up branding feature
///
/// This class implements the `DBSerializable` protocol (serialize and
/// deserialize instance methods), which i... | {
"content_hash": "408c1cb53d93cfc75055ec613b94b015",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 93,
"avg_line_length": 25.642276422764226,
"alnum_prop": 0.7336715282181357,
"repo_name": "dropbox/dropbox-sdk-obj-c",
"id": "57c7b954ecb72589c54983a1a30ded6c623398eb",
"s... |
<?php
require_once 'Tree/tests/copy_tree.php';
/**
* @package TreeDatabaseTiein
* @subpackage Tests
*/
class ezcTreeDbCopyTest extends ezcTreeCopyTest
{
protected $tables = array( 'materialized_path', 'nested_set', 'parent_child', 'data', 'datam' );
protected function setUp()
{
static $i = 0... | {
"content_hash": "10d83c7d84b038bc7d1f9fb161ced897",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 107,
"avg_line_length": 33.16438356164384,
"alnum_prop": 0.590871540685667,
"repo_name": "evp/ezcomponents",
"id": "fdaddc9ac67f652d22cc0f1085586151494286ec",
"size": "506... |
using GalaSoft.MvvmLight;
namespace RealEstateInspector.ViewModel
{
/// <summary>
/// This class contains properties that the main View can data bind to.
/// <para>
/// Use the <strong>mvvminpc</strong> snippet to add bindable properties to this ViewModel.
/// </para>
/// <para>
/// You can... | {
"content_hash": "2d6a0e17fd5699535191fe82c4d2ff64",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 95,
"avg_line_length": 27.852941176470587,
"alnum_prop": 0.5068637803590285,
"repo_name": "nickrandolph/realestateinspector",
"id": "9304e0d6a1b63940c981f45c0910143802d053aa"... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="th_TH" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Digitalgold</source>
<translation>เกี่ยวกับ บิตคอย์น</translation... | {
"content_hash": "d22e074eb8c3ae767f57ce1b1e310915",
"timestamp": "",
"source": "github",
"line_count": 2917,
"max_line_length": 395,
"avg_line_length": 33.19814878299623,
"alnum_prop": 0.5860965107033324,
"repo_name": "Userperson321/DigitalGold",
"id": "a022dbeead1e9a1eae45547ca9d97a38b2f7a87b",
"... |
<?php namespace Codelint\Laravel\Database;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
/**
* MetaTableOperator:
* @date 15/11/15
* @time 01:07
* @author Ray.Zhang <codelint@foxmail.com>
**/
class MetaTableOperator extends DBOperator {
func... | {
"content_hash": "3bd942420af2f0ae360d32ee7b09b006",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 99,
"avg_line_length": 27.402439024390244,
"alnum_prop": 0.511793502447708,
"repo_name": "codelint/laravel-tool",
"id": "349f6012aaba5827409f91ee32f8c4130064b56c",
"size":... |
<?php
/**
* PHPExcel_Comment
*
* @category PHPExcel
* @package PHPExcel
* @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
*/
class PHPExcel_Comment implements PHPExcel_IComparable {
/**
* Author
*
* @var string
*/
private $_author;
/**
* Rich text comment
... | {
"content_hash": "afda280d38eb043d5fb8a3adef6f286e",
"timestamp": "",
"source": "github",
"line_count": 310,
"max_line_length": 228,
"avg_line_length": 16.37741935483871,
"alnum_prop": 0.5924758715777033,
"repo_name": "slayerhover/yaf-cms-backoffice",
"id": "b2a9c9b2bd4563d1199959f953c63ea51a01c48f",... |
package com.netflix.spectator.tdigest;
import com.netflix.spectator.api.Registry;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
/**
* Write measurements to a file. This class is mostly used for testing.
*/
public class FileTDigestWriter extends StreamTDigestWriter {
... | {
"content_hash": "5e2bd1becb30e2c3630494494f07d76a",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 78,
"avg_line_length": 26.55,
"alnum_prop": 0.768361581920904,
"repo_name": "rspieldenner/spectator",
"id": "bd8263d5db08fc98ec5fc2144d31027936e6212b",
"size": "1128",
"b... |
<html>
<head>
<title>pcrepartial specification</title>
</head>
<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
<h1>pcrepartial man page</h1>
<p>
Return to the <a href="index.html">PCRE index page</a>.
</p>
<p>
This page is part of the PCRE HTML documentation. It was generated auto... | {
"content_hash": "bd1dbdb112815533b8f8cc9f4092ab96",
"timestamp": "",
"source": "github",
"line_count": 400,
"max_line_length": 86,
"avg_line_length": 45.3225,
"alnum_prop": 0.7489105852501516,
"repo_name": "ericmckean/syzygy",
"id": "040ac88f30a684e90b0166f7f35fc209d22a0af3",
"size": "18129",
"b... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_wchar_t_rand_84_goodB2G.cpp
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml
Template File: sources-sinks-84_goodB2G.tmpl.cpp
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: r... | {
"content_hash": "3fb625de88626259798abf2c8e5e6e4b",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 146,
"avg_line_length": 39.72727272727273,
"alnum_prop": 0.6704805491990846,
"repo_name": "maurer/tiamat",
"id": "3d528f25eabba535aa69031186c88bc16c3e7da9",
"size": "2185",... |
package collector
import (
"errors"
"fmt"
"os"
"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/procfs"
)
const (
sockStatSubsystem = "sockstat"
)
// Used for calculating the total memory bytes on TCP and UDP.
var pageSize ... | {
"content_hash": "b6f1501deae51b214287465dae7df29e",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 101,
"avg_line_length": 21.37278106508876,
"alnum_prop": 0.6389811738648948,
"repo_name": "siavashs/node_exporter",
"id": "8f5a99fab1f27251bb2305f7063359b3638ff71e",
"size... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><div> with no role; global state or property "" value of "true"</title>
</head>
<body>
<div aria-atomic="true">
Placeholder content
</div>
<di... | {
"content_hash": "ef853651046359d0252641725c3585f6",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 90,
"avg_line_length": 26.2,
"alnum_prop": 0.544529262086514,
"repo_name": "youtube/cobalt",
"id": "84faaeb86e4b61ac0d6fb6e198d827cc0503a17b",
"size": "393",
"binary": fa... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_43) on Wed May 22 21:49:17 UTC 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
CacheableDeserializer (HBase 0.94... | {
"content_hash": "490a6bab8a13d60bd7eb1d8db59d09e0",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 312,
"avg_line_length": 46.027522935779814,
"alnum_prop": 0.6295594977077935,
"repo_name": "algarecu/hbase-0.94.8-qod",
"id": "33587d7e6c9a76284137fea579e00134a4bacb0c",
"... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*!
* jQuery blockUI plugin
* Version 2.42 (11-MAY-2012)
* @requires jQuery v1.2.3 or later
*
* Examples at: http://malsup.com/jquery/block/
* Copyright (c) 2007-2010 M. Alsup
* Dual licensed under the MIT and G... | {
"content_hash": "86772114d525d8c48687f57a57dbf78d",
"timestamp": "",
"source": "github",
"line_count": 531,
"max_line_length": 257,
"avg_line_length": 33.13747645951036,
"alnum_prop": 0.6229256649238464,
"repo_name": "RooseveltJavier/Proyecto",
"id": "6898b31f313188ed8fbfa70c4047a704aad066a0",
"si... |
Imports System.ComponentModel
Imports System.Drawing.Design
Imports System.Drawing.Imaging
Imports System.Globalization
Imports System.Management
Imports System.Runtime.InteropServices
Imports System.Text
Imports System.Text.RegularExpressions
Imports System.Threading
Imports System.Windows.Forms.VisualStyles
Imports M... | {
"content_hash": "ce725e1d377a920b2ee385a341bdaba0",
"timestamp": "",
"source": "github",
"line_count": 5136,
"max_line_length": 346,
"avg_line_length": 32.28621495327103,
"alnum_prop": 0.5920686036834678,
"repo_name": "amccool/staxrip",
"id": "2bbeb2a8f5c28d8922fda4ecf1836f4c857771b3",
"size": "16... |
var ioc = require('./ioc');
// ## Components
//
// * [scenario.js](scenario.js.html) - the class used to define data population or testing scenarios;
// * [scenario.ext.client.js](scenario.ext.client.js.html) - scenario extensions to make HTTP calls;
// * [client.js](client.js.html) - a promise-based HTTP client aroun... | {
"content_hash": "8473d3146c690d9e4a4793f9ab986839",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 127,
"avg_line_length": 48.84,
"alnum_prop": 0.6961506961506961,
"repo_name": "AlphaHydrae/api-copilot",
"id": "2d0fa66d1d46d487fac86d36ee28fe8f5a4dc9c5",
"size": "1667",
... |
#ifndef TIMER_TEST_H
#define TIMER_TEST_H
/* Setup the high frequency timer interrupt. */
void vSetupTimerTest( unsigned short usFrequencyHz );
#endif /* TIMER_TEST_H */
| {
"content_hash": "5ab1304afe2aab5239705d7929873413",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 53,
"avg_line_length": 15.75,
"alnum_prop": 0.671957671957672,
"repo_name": "openthread/ot-rtos",
"id": "bdf782c225590dae2890f280d1d5c33611db4196",
"size": "1488",
"binar... |
<?xml version="1.0" encoding="UTF-8"?>
<recipeml version="0.5">
<recipe>
<head>
<title>Banana and Pomegranate Salad</title>
<categories>
<cat>Salads</cat></categories>
<yield>6</yield></head>
<ingredients>
<ing>
<amt>
<qty/>
<unit/></am... | {
"content_hash": "9233f1142d82697c5e73c2f60556ea6a",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 84,
"avg_line_length": 31.85483870967742,
"alnum_prop": 0.5868354430379746,
"repo_name": "coogle/coogle-recipes",
"id": "3bba265ed881efdcec35e904cae8e18954745a18",
"size": ... |
package org.cdlib.xtf.util;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.charset.Charset;
import java.util.Timer;
import jav... | {
"content_hash": "ea17572c3cae9413619c16d781ac7592",
"timestamp": "",
"source": "github",
"line_count": 335,
"max_line_length": 84,
"avg_line_length": 28.659701492537312,
"alnum_prop": 0.6018123112175815,
"repo_name": "CDLUC3/datashare",
"id": "d03d1e61b448513e3caf6ec7f9e525e379691054",
"size": "11... |
FROM node
ENV NODE_PATH="/usr/local/lib/node_modules"
RUN npm install juice -g
ENTRYPOINT [""]
| {
"content_hash": "8241bcadb330eda6cde8cfbc98191c8c",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 43,
"avg_line_length": 14,
"alnum_prop": 0.7142857142857143,
"repo_name": "prometheus/alertmanager",
"id": "19d4be51a91f67aadd4cb4323d17e053c2b0c31e",
"size": "98",
"binar... |
package com.ericsson.eiffel.semantics.events;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Issuer {
@SerializedName("name")
@Expose
private String name;
@SerializedName("email")
@Expose
private String email;
@Ser... | {
"content_hash": "dfe047a044b844427f0cb3bc65aaa901",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 50,
"avg_line_length": 18.574074074074073,
"alnum_prop": 0.5702891326021934,
"repo_name": "xdurvak/eiffel-remrem-semantics",
"id": "8a67f1ffcee89ab4f2dacb5572ccb2a9acf78268",... |
package org.apereo.portal.portlet.registry;
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
/**
* JUnit test class for {@link PortletWindowIdStringUtilsTest}
*
* @author Gary Roybal
* @version $Revision$
*/
public class PortletWindowIdStringUtilsTest {
... | {
"content_hash": "725ff6ec1aa1eaf550ebd4ce839891d5",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 147,
"avg_line_length": 35.695238095238096,
"alnum_prop": 0.678495197438634,
"repo_name": "jhelmer-unicon/uPortal",
"id": "5602aed5b8173dc87ea20dbb5f376e9964ce47f8",
"size... |
In general, the google-cloud-phishing_protection library uses
[Service Account](https://cloud.google.com/iam/docs/creating-managing-service-accounts)
credentials to connect to Google Cloud services. When running within
[Google Cloud Platform environments](#google-cloud-platform-environments) the
credentials will be dis... | {
"content_hash": "b2329948262a91f82c266eb8c0f96ccb",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 88,
"avg_line_length": 39.308724832214764,
"alnum_prop": 0.7857264811336861,
"repo_name": "googleapis/google-cloud-ruby",
"id": "a74e295430e0afddb6add0228fb6bb2c293ccf6e",
... |
'use strict'
var vows = require('vows')
var assert = require('assert')
var inherits = require('inherits')
var ltx = require('..')
var Element = ltx.Element
vows.describe('Element').addBatch({
'new element': {
"doesn't reference original attrs object": function () {
var o = { foo: 'bar' }
var e = new... | {
"content_hash": "3c447342cbf4db94ed848297e9a478f5",
"timestamp": "",
"source": "github",
"line_count": 293,
"max_line_length": 92,
"avg_line_length": 33.208191126279864,
"alnum_prop": 0.5521068859198356,
"repo_name": "samuelagm/ltx",
"id": "b33db9202cced27748bfa946636f8f664577f255",
"size": "9730"... |
namespace anki {
/// @addtogroup collision
/// @{
/// The type of the collision temporary allocator
template<typename T>
using CollisionTempAllocator = StackAllocator<T, false>;
/// A temporary vector
template<typename T>
using CollisionTempVector = Vector<T, CollisionTempAllocator<T>>;
/// @}
} // end namespace a... | {
"content_hash": "566d22cd1da5fb4bcae3c78ccc81bba7",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 65,
"avg_line_length": 17.526315789473685,
"alnum_prop": 0.7297297297297297,
"repo_name": "svn2github/anki-3d-engine",
"id": "bffb9438680984990b9d9dae4c68e2f74d26dadd",
"si... |
require 'spec_helper'
describe "default datapoint json templates" do
before(:each) do
@datapoint = PachubeDataFormats::Datapoint.new(datapoint_as_(:hash))
end
it "should represent Pachube datapoints (only used by API v2)" do
json = @datapoint.generate_json
json[:value].should == @datapoint.value
... | {
"content_hash": "a8a37001b469a7a04b79ab760401d2c9",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 72,
"avg_line_length": 26.928571428571427,
"alnum_prop": 0.7082228116710876,
"repo_name": "smulube/pachube_data_formats",
"id": "8c6359e23fcea7897d7bca2f69bc7f649eaa7eb6",
... |
LeaseSpec is a specification of a Lease.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**acquire_time** | **datetime** | acquireTime is a time when the current lease was acquired. | [optional]
**holder_identity** | **str** | holderIdentity contains the ide... | {
"content_hash": "6bebabc129cd2e9d03b7c03590e8d45b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 206,
"avg_line_length": 76.6923076923077,
"alnum_prop": 0.6800401203610833,
"repo_name": "kubernetes-client/python",
"id": "20f562702f6d5196160e0f5364b588cd21c4d20f",
"size... |
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:background="@drawable/no_face_poly">
<... | {
"content_hash": "c77219484a0c79cf6e0146906b76621f",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 62,
"avg_line_length": 40.58024691358025,
"alnum_prop": 0.61971402494676,
"repo_name": "bhm/Cthulhator",
"id": "c97728f79b0a1c7f34c6eac2ebc894064f63939f",
"size": "3287",
... |
"""Unit tests for rbtools.diffs.tools.base.diff_file_result.DiffFileResult.
Version Added:
4.0
"""
import inspect
import io
from rbtools.testing import TestCase
from rbtools.diffs.tools.base.diff_file_result import DiffFileResult
class DiffFileResultTests(TestCase):
"""Unit tests for DiffFileResult."""
... | {
"content_hash": "cbb831a7f082b8f1c5d2bc62a960ef5f",
"timestamp": "",
"source": "github",
"line_count": 1052,
"max_line_length": 79,
"avg_line_length": 33.39923954372624,
"alnum_prop": 0.484375,
"repo_name": "reviewboard/rbtools",
"id": "67dce89edbc82bb5d40ed019fdb0c56c37a9feb1",
"size": "35136",
... |
<?php if (!defined('IDIR')) { die; }
/**
* jForum API module
*
* @package ImpEx.jForum
*
*/
class jForum_000 extends ImpExModule
{
/**
* Class version
*
* This is the version of the source system that is supported
*
* @var string
*/
var $_version = '2.1.5';
var $_tier = '2';
/**
* Module string
*
* ... | {
"content_hash": "fda10614bec2b5cfec1ad8b8035ef236",
"timestamp": "",
"source": "github",
"line_count": 399,
"max_line_length": 182,
"avg_line_length": 27.090225563909776,
"alnum_prop": 0.6380793782958646,
"repo_name": "internetbrands/vbimpex",
"id": "28e1d71540eda1db2ad25c0b956e4ab887455a3f",
"siz... |
using System;
using Com.Ericmas001.Windows.Enums;
namespace Com.Ericmas001.Windows.Attributes
{
public class TextLengthAttribute : Attribute
{
public TextLengthEnum Length { get; private set; }
public TextLengthAttribute(TextLengthEnum length)
{
Length = length;
}
... | {
"content_hash": "adfca03adfd022310ee6528afd1b8af1",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 58,
"avg_line_length": 21.866666666666667,
"alnum_prop": 0.6554878048780488,
"repo_name": "Com-Ericmas001/Windows",
"id": "3631bbfa9740f9f999df60476a2297c8fa047c31",
"size"... |
.headerbox { /* Kmail header box with to and from address in it. */
color: #D6E589
background-color: #2F331E
}
.Bu { /* Gmail: Email view */
background-image: none !important;
background-color: black !important;
color: #EEFF99 !important;
}
.G3.G2 { /* Gmail: Email view */
background-image: none !important;
... | {
"content_hash": "c88e3a2d17a4721e444c47b85578b23d",
"timestamp": "",
"source": "github",
"line_count": 2166,
"max_line_length": 237,
"avg_line_length": 24.238227146814406,
"alnum_prop": 0.7101714285714286,
"repo_name": "ksandom/colouredWeb",
"id": "3cff01a63c603e277417e75ffc90cedc9b1bb105",
"size"... |
<?php
declare(strict_types=1);
namespace WoohooLabs\Zen\Tests\Fixture\DependencyGraph\EntryPoint;
class EntryPointC1
{
}
class EntryPointC2
{
}
| {
"content_hash": "e4f54e2ff2939a54d6043b1ea4564a4f",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 66,
"avg_line_length": 10.642857142857142,
"alnum_prop": 0.7718120805369127,
"repo_name": "woohoolabs/zen",
"id": "2501a9f0e5acdf80e35e40e3b104dc513cc13cda",
"size": "149",... |
/*global tinymce:true */
tinymce.PluginManager.add('fullscreen', function(editor) {
var fullscreenState = false, DOM = tinymce.DOM, iframeWidth, iframeHeight, resizeHandler;
var containerWidth, containerHeight;
if (editor.settings.inline) {
return;
}
function getWindowSize() {
var w, h, win =... | {
"content_hash": "258d60a48dc4936a7c8248e252c08c7e",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 108,
"avg_line_length": 25.1015625,
"alnum_prop": 0.668222844693433,
"repo_name": "RAPOS/baron-nt",
"id": "2fbfe4be4b08174184265bce6ef5855cc9418402",
"size": "3434",
"bi... |
import { Component } from '@angular/core';
import { UserService } from './shared';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
constructor (
private userService: UserService
) {}
ngOnInit() {
this.userService.p... | {
"content_hash": "5b46d2eb6cf9a78c8ef78f9fac6aac9f",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 42,
"avg_line_length": 18.666666666666668,
"alnum_prop": 0.6726190476190477,
"repo_name": "briankostar/ng2UserDiaries",
"id": "e3f4bc080ceade62e0279a4518cd75e601c11ff3",
"s... |
package com.coolweather.android.gson;
/**
* Created by Administrator on 2017/8/31.
*/
public class AQI {
public AQICity city;
public class AQICity {
public String aqi;
public String pm25;
}
}
| {
"content_hash": "1e9ad906e2f4b1347e28dc6cd1b2a85f",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 41,
"avg_line_length": 15.066666666666666,
"alnum_prop": 0.6327433628318584,
"repo_name": "zzhuazi/coolweather",
"id": "b74c5977a806d3c31500a1d8bbe650a1650c8ae1",
"size": "... |
/* eslint-disable global-require */
'use strict';
const assert = require('assertthat');
const mockery = require('mockery');
const nodeenv = require('nodeenv');
suite('inCloud', () => {
setup(async () => {
mockery.enable({
useCleanCache: true,
warnOnUnregistered: false
});
});
teardown(async... | {
"content_hash": "0a2ed6efe0dc17add6fe682a7db75144",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 105,
"avg_line_length": 26.12121212121212,
"alnum_prop": 0.6102088167053364,
"repo_name": "sealsystems/seal-consul",
"id": "d14701756517ad9931159fec012f9ea732c6bb30",
"size... |
**NPM**
`npm install function-tree`
## Description
Function-tree is the what Cerebral extends to create its signal implementation. You can use this library on the server, or standalone in the client as a replacement for Cerebral. Basically a function-tree allows you to execute a tree of functions. You can use the Cer... | {
"content_hash": "5950254455f60073cb5bb73765474d68",
"timestamp": "",
"source": "github",
"line_count": 388,
"max_line_length": 554,
"avg_line_length": 27.219072164948454,
"alnum_prop": 0.7241738471735631,
"repo_name": "garth/cerebral",
"id": "974b60d1b215addfea5373e003d08ba976d7ead2",
"size": "105... |
%ISROT2 Test if SO(2) rotation matrix
%
% ISROT2(R) is true (1) if the argument is of dimension 2x2 or 2x2xN, else false (0).
%
% ISROT2(R, 'valid') as above, but also checks the validity of the rotation
% matrix.
%
% Notes::
% - A valid rotation matrix has determinant of 1.
%
% See also ISHOMOG2, ISVEC.
% Copyright... | {
"content_hash": "e0689ff97a4368ed6be3e9d1d2bab823",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 85,
"avg_line_length": 28.88888888888889,
"alnum_prop": 0.6707692307692308,
"repo_name": "sgabello1/calibration",
"id": "c415f0e7a8eb337c14cb65fc5e0dd763269c9b0b",
"size": ... |
package io.buoyant.router
import com.twitter.finagle.{param => _, _}
import com.twitter.finagle.buoyant.Dst
import com.twitter.finagle.naming.buoyant.DstBindingFactory
import com.twitter.finagle.tracing.Trace
import com.twitter.logging.HasLogLevel
import com.twitter.util.{Future, Return, Throw, Time}
import scala.util... | {
"content_hash": "629ec635a67477ac3065dc6902742042",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 102,
"avg_line_length": 35.04736842105263,
"alnum_prop": 0.6757771437152725,
"repo_name": "linkerd/linkerd",
"id": "1ab353a46db953c2e7fd64a55937bdc7044c6d35",
"size": "665... |
module AzureMediaService
class Config
UPLOAD_LIMIT_SIZE = 4194304 # 4MB
READ_BUFFER_SIZE = 4000000
API_VERSION = "2.9"
end
end
| {
"content_hash": "d2f07417a45fc608c55855014391db4c",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 37,
"avg_line_length": 18.75,
"alnum_prop": 0.6533333333333333,
"repo_name": "murayama/azure_media_service_ruby",
"id": "146c90c5508e5447ba6ce99596e6a067aab820b2",
"size": "... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Phoria - Dev test page 3</title>
<script src="scripts/gl-matrix.js"></script>
<script src="scripts/phoria-util.js"></script>
<script src="scripts/phoria-entity.js"></script>
<script src="scripts/phoria-scene.js"><... | {
"content_hash": "731f10c0ccfc8a735e8143c2e645e31a",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 109,
"avg_line_length": 34.346820809248555,
"alnum_prop": 0.5828004039044092,
"repo_name": "kevinroast/phoria.js",
"id": "64bad386950f33f74175fec1744688cfc01304ed",
"size"... |
package com.amazonaws.services.simpleworkflow.model;
import java.io.Serializable;
/**
* <p>
* Provides details of the <code>ChildWorkflowExecutionFailed</code>
* event.
* </p>
*/
public class ChildWorkflowExecutionFailedEventAttributes implements Serializable, Cloneable {
/**
* The child workflow exec... | {
"content_hash": "941914eb785a319b963a80fe8006f84d",
"timestamp": "",
"source": "github",
"line_count": 389,
"max_line_length": 141,
"avg_line_length": 38.66323907455013,
"alnum_prop": 0.6397606382978723,
"repo_name": "galaxynut/aws-sdk-java",
"id": "f14ef2870c72181d56da69a81ac2684a799e4b45",
"size... |
package com.amazonaws.services.gamelift.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.gamelift.model.*;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* PlayerSessionMarshaller
*/
@Generated("com.am... | {
"content_hash": "91a6adce6288a4c9520f52486135ae39",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 159,
"avg_line_length": 59.57746478873239,
"alnum_prop": 0.7626477541371158,
"repo_name": "jentfoo/aws-sdk-java",
"id": "7ca81fc30fca18919ece992a698548f300969e15",
"size": ... |
import os
import sys
if __name__ == "__main__":
os.environ.setdefault(
"DJANGO_SETTINGS_MODULE",
"config.settings.development")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| {
"content_hash": "12ab43368bb2c3ea18322bea21af5c6e",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 64,
"avg_line_length": 23.272727272727273,
"alnum_prop": 0.671875,
"repo_name": "Alexx-G/django-project-template",
"id": "1881c3618b81330318e2b1e8f840a01d656b2cf9",
"size":... |
<?php
// +-------------------------------------------------------------------------
// | Copyright (C) 2016 Yunify, Inc.
// +-------------------------------------------------------------------------
// | Licensed under the Apache License, Version 2.0 (the "License");
// | you may not use this work except in compliance ... | {
"content_hash": "f05bce9903747f1373c52f0573260e00",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 101,
"avg_line_length": 39.3235294117647,
"alnum_prop": 0.5602094240837696,
"repo_name": "yunify/qingstor-sdk-php",
"id": "4815b9181510443aa5c5bcc8750382e5cc302cbc",
"size"... |
const axios = require('../libs/ajax');
const _ = require('lodash');
/**
* API for local config
*/
var Api = {
getRecords: function(url, startPosition, maxRecords, filter) {
return new Promise((resolve) => {
require.ensure(['../utils/ogc/CSW', '../utils/ogc/Filter'], () => {
... | {
"content_hash": "fb2eca608c3c4241f957534107adf07e",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 170,
"avg_line_length": 59.7593984962406,
"alnum_prop": 0.3223452440865627,
"repo_name": "nmco/MapStore2",
"id": "c6f6c1b76d06b61c6627d12eb679d72be69ea246",
"size": "8151"... |
namespace ROCKSDB_NAMESPACE {
// The helper function to assert the move from dynamic_cast<> to
// static_cast<> is correct. This function is to deal with legacy code.
// It is not recommanded to add new code to issue class casting. The preferred
// solution is to implement the functionality without a need of casting.
t... | {
"content_hash": "86d7e7fe0f11f1736570dab0fb7fc232",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 78,
"avg_line_length": 42.285714285714285,
"alnum_prop": 0.75,
"repo_name": "graetzer/arangodb",
"id": "d7d9a9e9c2dcbe7eb1d60a77800b098b5f91d83c",
"size": "869",
"binary"... |
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
national... | {
"content_hash": "cc435888de0d56a5db6a0aaaf1e95c9a",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 87,
"avg_line_length": 45.114285714285714,
"alnum_prop": 0.8214059531348955,
"repo_name": "jlusthaus/applican-",
"id": "7f8d618df261728ce7dde88943c76f27230987e5",
"size": "... |
$packageName = 'sandboxie.beta'
$installerType = 'EXE'
$url = 'http://www.sandboxie.com/SandboxieInstall32-413-3.exe'
$url64 = 'http://www.sandboxie.com/SandboxieInstall64-413-3.exe'
$silentArgs = '/install /S /D=C:\Program Files\Sandboxie'
Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$ur... | {
"content_hash": "bca3e2bdad4eb1a53f33cbd75b49df23",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 87,
"avg_line_length": 47.285714285714285,
"alnum_prop": 0.7341389728096677,
"repo_name": "dtgm/chocolatey-packages",
"id": "a841bab669c63b0dadc008c9aa6894f964a4c0d2",
"size... |
package com.ctrip.xpipe.redis.keeper.handler.keeper;
import com.ctrip.xpipe.redis.core.protocal.CAPA;
import com.ctrip.xpipe.redis.core.protocal.cmd.DefaultPsync;
import com.ctrip.xpipe.redis.core.protocal.protocal.SimpleStringParser;
import com.ctrip.xpipe.redis.core.store.ReplicationStore;
import com.ctrip.xpipe.red... | {
"content_hash": "67a43ea365e3db8e21fd6efc476f39e0",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 179,
"avg_line_length": 42.62837837837838,
"alnum_prop": 0.7574893009985735,
"repo_name": "ctripcorp/x-pipe",
"id": "268d1062e3ead41ca21e835023e231fa4785cc5b",
"size": "63... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Web;
namespace Pinata
{
public static class StringExtension
{
private ... | {
"content_hash": "e30e630c195219b27cc93abdef98b8fc",
"timestamp": "",
"source": "github",
"line_count": 382,
"max_line_length": 258,
"avg_line_length": 30.70418848167539,
"alnum_prop": 0.4971438315286896,
"repo_name": "rmattos/Pinata",
"id": "468336e27d3765bf1563d23403dc9280eeb1f31e",
"size": "1174... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-m-rel-xr-w32-bld/build/embedding/browser/webBrowser/nsITooltipListener.idl
*/
#ifndef __gen_nsITooltipListener_h__
#define __gen_nsITooltipListener_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't ... | {
"content_hash": "109e295269fd052fabd73793771e3bac",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 198,
"avg_line_length": 32.36893203883495,
"alnum_prop": 0.7489502099580084,
"repo_name": "bwp/SeleniumWebDriver",
"id": "477f3383e9b4f0e9fc2e3c437635a1f9d617aff8",
"size"... |
package org.algo.matrix.task.iterative;
import static org.algo.constant.PrimitiveMath.*;
import java.util.List;
import org.algo.RecoverableCondition;
import org.algo.access.Access2D;
import org.algo.access.Structure1D;
import org.algo.function.PrimitiveFunction;
import org.algo.matrix.store.MatrixStore;
import org.... | {
"content_hash": "cb55b0d5022fc2ea897033c1172e20f4",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 155,
"avg_line_length": 36.365269461077844,
"alnum_prop": 0.6515725341676272,
"repo_name": "saurabhse/hybo",
"id": "858dcba75c332140fcdf6399d951d8a30363fab8",
"size": "720... |
package io.opencensus.contrib.http.util;
import io.opencensus.trace.propagation.TextFormat;
/**
* Utility class to get all supported {@link TextFormat}.
*
* @since 0.11.0
*/
public class HttpPropagationUtil {
private HttpPropagationUtil() {}
/**
* Returns the Stack Driver format implementation. The hea... | {
"content_hash": "a2aade36daf286e5a220294821de0b1b",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 98,
"avg_line_length": 26.037037037037038,
"alnum_prop": 0.6941678520625889,
"repo_name": "sebright/opencensus-java",
"id": "779be8d84f998d40c5f5c1531b43c6dcf095cfb8",
"siz... |
<?xml version="1.0" encoding="UTF-8"?>
<sem:triples xmlns:sem="http://marklogic.com/semantics">
<sem:triple>
<sem:subject>http://www.lds.org/concept/gs/united-order</sem:subject>
<sem:predicate>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</sem:predicate>
<sem:object datatype="sem:iri">http://www.w3.org... | {
"content_hash": "517296c4385cc98d1e2b757c42abd18b",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 302,
"avg_line_length": 56.716981132075475,
"alnum_prop": 0.7105788423153693,
"repo_name": "freshie/ml-taxonomies",
"id": "0175f66bcfee01b7ed4f9b63bcf02bb5fb7018e8",
"size"... |
<!DOCTYPE html>
<html lang="en">
<head>
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/calendar.css" />
<link href="css/nonzeroday.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>Non Zer... | {
"content_hash": "4af78619cb54490b00abbb52756e34a5",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 120,
"avg_line_length": 35.94285714285714,
"alnum_prop": 0.6021462639109698,
"repo_name": "wyegelwel/nonzeroday",
"id": "7d4ce49678915f967b000e242364004a5cb6dcf5",
"size": ... |
package org.mifos.application.servicefacade;
import java.math.BigDecimal;
import org.mifos.accounts.util.helpers.AccountState;
import org.mifos.framework.util.helpers.Constants;
/**
*
*/
public class CollectionSheetCustomerLoanDto {
private Integer customerId;
private Integer accountId;
private Short... | {
"content_hash": "02b32c91158d70cc0ad891c8f5950d28",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 110,
"avg_line_length": 29.61025641025641,
"alnum_prop": 0.6723242119847592,
"repo_name": "vorburger/mifos-head",
"id": "46e6e071cc6136fda8fc9c97d3641a2f1d163b1f",
"size":... |
module.exports = function() {
StructureLink.prototype.transfer = function() {
if (this.is_export() && this.energy > 0 && this.cooldown == 0) {
var targets = this.room.find(FIND_STRUCTURES, { filter: (structure) => structure.is_link() && structure.is_import() });
if (targets.length >... | {
"content_hash": "aff43326b25f7ef1bd269617234dea26",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 131,
"avg_line_length": 34.083333333333336,
"alnum_prop": 0.5427872860635696,
"repo_name": "rwampler/screeps",
"id": "3da1bf7156f5f78a081f7c3c5ce44ee1c8f11ea3",
"size": "41... |
package main
import (
"errors"
"flag"
"fmt"
"go/build"
"os"
"os/exec"
"path/filepath"
"strings"
"gopkg.in/reform.v1"
"gopkg.in/reform.v1/dialects/mssql" //nolint:staticcheck
"gopkg.in/reform.v1/dialects/mysql"
"gopkg.in/reform.v1/dialects/postgresql"
"gopkg.in/reform.v1/dialects/sqlite3"
"gopkg.in/refor... | {
"content_hash": "63ea1f40e194f6919cdf02485d0384ad",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 110,
"avg_line_length": 29.97107438016529,
"alnum_prop": 0.6810974769061078,
"repo_name": "go-reform/reform",
"id": "c20853dfcfbc5e9432b4373b90d624661fde3917",
"size": "72... |
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d... | {
"content_hash": "b6aa0bd05e4c812c515390d406c28dc1",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 150,
"avg_line_length": 44.9,
"alnum_prop": 0.570898292501856,
"repo_name": "verbedr/ux",
"id": "bd6a873f6d73fc952bfe07c35e7a27a2c400962e",
"size": "1347",
"binary": fals... |
using System;
using Android.App;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Xamarin.Forms.Platform.Android;
namespace BoxViewClock.Droid
{
[Activity(Label = "BoxViewClock", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSi... | {
"content_hash": "d928330433722704f8e03afa70fee2e7",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 136,
"avg_line_length": 22.925925925925927,
"alnum_prop": 0.7092084006462036,
"repo_name": "conceptdev/xamarin-forms-windows-preview",
"id": "72bbb889fc1f82b43d7b79ae5b57a0ba... |
from test_framework import MonetaTestFramework
from monetarpc.authproxy import AuthServiceProxy, JSONRPCException
from util import *
def get_sub_array_from_array(object_array, to_match):
'''
Finds and returns a sub array from an array of arrays.
to_match should be a unique idetifier of a sub array... | {
"content_hash": "a4f8de15890769217d0aed97151bf60c",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 139,
"avg_line_length": 44.71875,
"alnum_prop": 0.610062893081761,
"repo_name": "habibmasuro/moneta-0.10.0",
"id": "7e4a6002c3e9c3d86e40aa60ef5e897cad08f959",
"size": "740... |
JS learning place, especially for jQuery.
## 学习 js 之技术路径
- Introduction to javascript
- jQuery learning center
- ExtJS
- Node.js
__代码示例__
```javascript
var str = "Hello, 好啊。";
alert(str);
```
---
* END *
| {
"content_hash": "1884dae6cb3006e0ebf071584294c145",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 41,
"avg_line_length": 14.4,
"alnum_prop": 0.6296296296296297,
"repo_name": "lampjian/front_endjs",
"id": "f165d9c92c8bc56ce4cc20ba7cd18a692721b744",
"size": "258",
"bina... |
#import <AppKit/AppKit.h>
@interface NSComboBoxView : NSView {
NSSize _cellSize;
NSArray *_objects;
NSFont *_font;
int _selectedIndex;
int _keyboardUIState;
}
-initWithFrame:(NSRect)frame;
-(void)setObjectArray:(NSArray *)objects;
-(void)setFont:(NSFont *)font;
-(NSSize)sizeForContents... | {
"content_hash": "093e72e4e6e9ce8c80485a45af749003",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 44,
"avg_line_length": 17,
"alnum_prop": 0.6844919786096256,
"repo_name": "uptime-services/development-arts",
"id": "de670a5a3dc40deee3110d62cbc1800a7e346d3e",
"size": "145... |
package de.naoth.rc.dialogsFx.multiagentconfiguration.components;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import javafx.collections.ListChangeListener;
import javafx.scene.control.CheckBoxTreeItem;
import javafx.scene.control.TreeItem;
/**
* @author Philipp Strobel <philippstrobe... | {
"content_hash": "adb0ffd0bad3792608ee79b72732a6f7",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 102,
"avg_line_length": 31.529411764705884,
"alnum_prop": 0.5360696517412935,
"repo_name": "BerlinUnited/NaoTH",
"id": "b7a0a25ca5310934b94ac132c746f78021c5635a",
"size": ... |
package org.apache.spark.sql.execution.window
import scala.collection.mutable
import scala.collection.mutable.ArrayBuffer
import org.apache.spark.sql.catalyst.InternalRow
import org.apache.spark.sql.catalyst.expressions._
import org.apache.spark.sql.catalyst.expressions.aggregate.AggregateExpression
import org.apac... | {
"content_hash": "fd94e3d23db1fc8a527599e678334abd",
"timestamp": "",
"source": "github",
"line_count": 267,
"max_line_length": 138,
"avg_line_length": 43.61048689138577,
"alnum_prop": 0.6334592923394022,
"repo_name": "wangmiao1981/spark",
"id": "2aa0b02974e2313ec5bead244b4fc76e5d7c5a10",
"size": "... |
package com.hazelcast.simulator.worker;
import com.hazelcast.core.Cluster;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.Member;
import com.hazelcast.simulator.common.messaging.DummyRunnableMessage;
import com.hazelcast.simulator.common.messaging.Message;
import com.hazelcast.simulator.common.... | {
"content_hash": "1a84a1777dc1871052b29474dad772c3",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 126,
"avg_line_length": 41.66321243523316,
"alnum_prop": 0.7405795299092153,
"repo_name": "eminn/hazelcast-simulator",
"id": "fece8b12259d0c6d6fb8b505beac2f589dd5adfa",
"s... |
var Loader = (function () {
function Loader(scene) {
this.assetManager = new BABYLON.AssetsManager(scene);
this.namesToMeshes = {};
this.namesToSounds = {};
this.namesToMeshTasks = {};
this.namesToSoundTasks = {};
}
Loader.prototype.addSound = function (pathFile) {
... | {
"content_hash": "c58e31e2a236f7f4647f7f346cf951d7",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 140,
"avg_line_length": 41.56296296296296,
"alnum_prop": 0.5638923543040456,
"repo_name": "BabylonJS/Samples",
"id": "129a6778129ca21cda6831ec61ad529099472c50",
"size": "5... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_03) on Fri Jun 10 16:39:30 GMT+05:00 2011 -->
<TITLE>
Uses of Interface com.google.code.linkedinapi.schema.Patents
</TITLE>
<META NAME="dat... | {
"content_hash": "5d2579f6b18c99625f1a35d383f98ee4",
"timestamp": "",
"source": "github",
"line_count": 326,
"max_line_length": 352,
"avg_line_length": 55.331288343558285,
"alnum_prop": 0.6376538418893447,
"repo_name": "shisoft/LinkedIn-J",
"id": "161145af439695397981a9c1d2cbbff751547b80",
"size": ... |
namespace IncrementalLoading.PCL.Models
{
public class User
{
public int id { get; set; }
public string username { get; set; }
public string firstname { get; set; }
public string lastname { get; set; }
public string city { get; set; }
public string country { get;... | {
"content_hash": "42a2c4f68c7843563c81db49a9650091",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 48,
"avg_line_length": 33.411764705882355,
"alnum_prop": 0.579225352112676,
"repo_name": "KevinHu-au/Blog",
"id": "836375e65cf78cfd6b1653516f5662c40860ea8a",
"size": "570",... |
package camelinaction;
import org.apache.camel.builder.RouteBuilder;
public class OrderRoute extends RouteBuilder {
@Override
public void configure() throws Exception {
from("restlet:http://0.0.0.0:8080/orders?restletMethods=POST")
.bean("orderService", "createOrder");
from("rest... | {
"content_hash": "540717d9a2473cb20f9319a083ff0873",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 77,
"avg_line_length": 33.80952380952381,
"alnum_prop": 0.6394366197183099,
"repo_name": "camelinaction/camelinaction2",
"id": "0e589aabd130f4825fec5865b26606c5712fd264",
"... |
package gex.newsml.nitf;
import lombok.ToString;
import java.util.HashMap;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.ann... | {
"content_hash": "18be16ae297441a4c71808cffe17d861",
"timestamp": "",
"source": "github",
"line_count": 244,
"max_line_length": 119,
"avg_line_length": 25.885245901639344,
"alnum_prop": 0.6899936668777708,
"repo_name": "gextech/iptc-newsml",
"id": "25827f348eb756e8b1a6be59769b7b9708a35d96",
"size":... |
import { IParticles } from "../../../Interfaces/Options/Particles/IParticles";
import { IParticlesColor } from "../../../Interfaces/Options/Particles/IParticlesColor";
import { ILineLinked } from "../../../Interfaces/Options/Particles/ILineLinked";
import { IMove } from "../../../Interfaces/Options/Particles/IMove";
im... | {
"content_hash": "737e63eabf72b423a5bb7acea527ef45",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 90,
"avg_line_length": 41.78787878787879,
"alnum_prop": 0.678027556200145,
"repo_name": "cdnjs/cdnjs",
"id": "39f51f9d0d341278882145dea4ed03d18b23bf50",
"size": "1379",
"... |
package com.redshape.io.net.adapters.socket;
import java.io.IOException;
import java.net.Socket;
import com.redshape.io.net.adapters.socket.client.ISocketAdapter;
import com.redshape.io.net.adapters.socket.client.SocketAdapter;
import com.redshape.io.net.adapters.socket.server.IServerSocketAdapter;
import... | {
"content_hash": "0e8a3d3dc2cf71a252f71ebdb320eec5",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 106,
"avg_line_length": 34.44117647058823,
"alnum_prop": 0.7455166524338173,
"repo_name": "nikelin/Redshape-AS",
"id": "a12b029449e12eb9cf999a16a03d21fdf4344088",
"size": "... |
var assert = require('assert');
var nodeEditorial = require('../lib/index.js').NodeEditorial();
describe('node-editorial', function () {
//var arr;
beforeEach(function () {
//arr = [1, 2, 3];
});
describe('config', function () {
//console.log("the nodeEditorial:" + nodeEditorial);
... | {
"content_hash": "eb0575901c50d5a50348c7ef965e315b",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 63,
"avg_line_length": 23.3,
"alnum_prop": 0.5622317596566524,
"repo_name": "aofry/node-editorial",
"id": "6a229a0fb9af4900607e44f3cb39fde7ca4d0da9",
"size": "466",
"bina... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.lacv.marketplatform.controllers.view;
import com.lacv.marketplatform.dtos.MailDto;
import com.lacv.marketplatfor... | {
"content_hash": "e7b9de03ed0efed1acb3d9f2d3a725c2",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 86,
"avg_line_length": 31.984126984126984,
"alnum_prop": 0.7215880893300248,
"repo_name": "lacastrillov/marketplatform",
"id": "835776afb7ab6e2efe9abca19509ee4de31367b3",
"... |
package constant
| {
"content_hash": "8576f40798a916679a055dc0b886ccb9",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 16,
"avg_line_length": 17,
"alnum_prop": 0.8823529411764706,
"repo_name": "orange-cloudfoundry/terraform-provider-cloudfoundry",
"id": "fd0648153c5f206c72bcf48721ef214644993a9... |
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>ProgressIndicator - sap.m</title>
<script src="shared-config.js"></script>
<script src="../../../resources/sap-ui-core.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.m">
</script>
<script>
var app = new ... | {
"content_hash": "f2ce0dce2d578272bb1cf27597507cb1",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 86,
"avg_line_length": 22.483720930232558,
"alnum_prop": 0.6086057095573024,
"repo_name": "nzamani/openui5",
"id": "ea8389affe9544bb9433256f8fa2c7944644ab64",
"size": "483... |
.profile-compare-header,
.profile-compare-monsters-ajax
{
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.ph-10{
padding-left: 10px;
padding-right: 10px;
}
.comparison-winner-cell{
background-color: lightgreen;
}
.comparison-table td{
text-align: left;... | {
"content_hash": "e1962451705bb6f147954186ce24407c",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 43,
"avg_line_length": 13.478260869565217,
"alnum_prop": 0.6387096774193548,
"repo_name": "PeteAndersen/swarfarm",
"id": "5b189180228a18ab4afc87b732e4ec54ea149422",
"size":... |
<?php
class Becklyn_Sniffs_NamingConventions_ValidClassNameSniff implements PHP_CodeSniffer_Sniff
{
/**
* A list of tokenizers this sniff supports.
*
* @var array
*/
public $supportedTokenizers = array(
'PHP',
);
/**
* Returns an array of tokens this test wants to list... | {
"content_hash": "eae88bb6d6952abe5c4601a79bae7573",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 130,
"avg_line_length": 32.586776859504134,
"alnum_prop": 0.4346943951306112,
"repo_name": "Becklyn/PHP_CodeSniffer_Extensions",
"id": "e28cbafb4c758aad1896b7281d65bab716970... |
using System;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Common.Logging;
using HealthMonitoring.SelfHost.Handlers;
using Moq;
using Xunit;
namespace HealthMonitoring.Api.UnitTests.Handlers
{
public class MessageLoggingHandlerTests
{
priv... | {
"content_hash": "e27816ce472f671a0f581728ad9214cf",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 156,
"avg_line_length": 36.93846153846154,
"alnum_prop": 0.6207830070803831,
"repo_name": "andronz/HealthMonitoring",
"id": "bd617771fda1c57e4081de471621111c475cc718",
"si... |
#ifndef _LINUX_NET_H_
#define _LINUX_NET_H_
#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
static inline int
sock_create_kern(int family, int type, int proto, struct socket **res)
{
return -socreate(family, res, type, proto, curthread->td_ucred,
curthread);
}
static inline int
so... | {
"content_hash": "ba0e58c6503b7adcf84912e242cb9ada",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 73,
"avg_line_length": 19.23404255319149,
"alnum_prop": 0.6548672566371682,
"repo_name": "dcui/FreeBSD-9.3_kernel",
"id": "f47acf938fe70afb9690bdcf547d35dcca69ea92",
"size"... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.3.0 (/usr/local/bin/python3.3m)" project-jdk-type="Python SDK" />
</project>
| {
"content_hash": "8911ceb94cb734cc6fe7122f8f6b3164",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 143,
"avg_line_length": 43.4,
"alnum_prop": 0.695852534562212,
"repo_name": "LookThisCode/DeveloperBus",
"id": "ecd7172c52457e8616612e4cf76fb522a21351cf",
"size": "217",
"... |
JNIEXPORT jlong JNICALL Java_org_dmlc_mxnet_Predictor_createPredictor
(JNIEnv *env, jclass, jbyteArray jsymbol, jbyteArray jparams, jint devType, jint devId, jobjectArray jkeys, jobjectArray jshapes)
{
jbyte* symbol = env->GetByteArrayElements(jsymbol, 0);
jbyte* params = env->GetByteArrayElements(jparams, 0)... | {
"content_hash": "795ae3c38ec8faa2b0482013591bc0ce",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 169,
"avg_line_length": 36.93333333333333,
"alnum_prop": 0.667354306343476,
"repo_name": "hesseltuinhof/mxnet",
"id": "b6cc9370b1f9cd048e65b26487c8934f75c787e6",
"size": "... |
package rocks.xmpp.core.stream.model.errors;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* The implementation of the {@code <unsupported-version/>} stream error.
* <blockquote>
* <p><cite><a href="http://xmpp.org/rfcs/rfc6120.html#streams-error-conditi... | {
"content_hash": "edf845a118dbe5d40a3fcf53290de8a9",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 153,
"avg_line_length": 33.035714285714285,
"alnum_prop": 0.7113513513513513,
"repo_name": "jeozey/XmppServerTester",
"id": "930a99b526bec6d06e96861efddbca6cdb139740",
"siz... |
@interface NewsCell : UITableViewCell
@property (strong, nonatomic) IBOutlet UIImageView *newsImage;
@property (strong, nonatomic) IBOutlet UILabel *titleLabel;
@property (strong, nonatomic) IBOutlet UILabel *commentLabel;
@property (nonatomic, retain) NewsHeadline *news;
@end
| {
"content_hash": "ca5905c1a94463c009cba0e1091cc3d3",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 62,
"avg_line_length": 39.857142857142854,
"alnum_prop": 0.7992831541218638,
"repo_name": "YvanSwen/ProjectA_MyNews",
"id": "5fd76cf8c58569509c461b71077f1890ea2bd1e7",
"size... |
var App = angular.module('app', ['ngRoute', 'monospaced.qrcode'])
.config(['$routeProvider', '$locationProvider',
($routeProvider, $locationProvider: ng.ILocationProvider) => {
$locationProvider.html5Mode({
enabled: true,
requireBase: false
});
... | {
"content_hash": "2af222aa62353c568414c661b3b9d740",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 72,
"avg_line_length": 35.78260869565217,
"alnum_prop": 0.44471445929526127,
"repo_name": "epernice/guesswork-game",
"id": "2244d23c48931c3176dc85a83c924ac67ed16297",
"size... |
<?php
namespace ChrisKonnertz\StringCalc\Symbols\Concrete\Functions;
use ChrisKonnertz\StringCalc\Exceptions\NumberOfArgumentsException;
use ChrisKonnertz\StringCalc\Symbols\AbstractFunction;
/**
* PHP ceil() function aka round fractions up.
* Expects one parameter.
* @see http://php.net/manual/en/ref.math.php
*... | {
"content_hash": "5e3ee5aa9f84bff1afc197da1c636428",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 106,
"avg_line_length": 21.714285714285715,
"alnum_prop": 0.656578947368421,
"repo_name": "chriskonnertz/string-calc",
"id": "efda36248255cc777e1464450298807b4fc50207",
"si... |
package org.kie.server.client;
import java.util.List;
import org.kie.server.api.model.instance.DocumentInstance;
public interface DocumentServicesClient {
String getDocumentLink(String identifier);
DocumentInstance getDocument(String identifier);
String createDocument(DocumentInstance documentInstan... | {
"content_hash": "496d8180cf4244245b318d2aaf177e43",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 73,
"avg_line_length": 23.09090909090909,
"alnum_prop": 0.797244094488189,
"repo_name": "ibek/droolsjbpm-integration",
"id": "5d1d54aa5752b4b5f89d32c8f0e7eb49164c4434",
"si... |
package com.boundary.plugin.sdk;
public interface PluginConfiguration {
public static final String PLUGIN_PARAMETER_FILENAME = "param.json";
}
| {
"content_hash": "492d40ac3649a6190103f916d24e9a09",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 69,
"avg_line_length": 21,
"alnum_prop": 0.7891156462585034,
"repo_name": "jdgwartney/meter-plugin-sdk-java",
"id": "9d812d134b22da07bf2668feeef95aed0f5a3fa9",
"size": "744"... |
<!doctype html>
<!--
Copyright (c) 2014, Jari Hämäläinen, Carita Kiili and Julie Coiro
All rights reserved.
See LICENSE for full license text.
@author Jari Hämäläinen
-->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" hr... | {
"content_hash": "a05d03134583fb8d69749ec01970494c",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 177,
"avg_line_length": 29.17142857142857,
"alnum_prop": 0.693437806072478,
"repo_name": "jhama/onlineinquirytool",
"id": "3a435396e6751eab1782d0a9f77408cd6b9d3dbe",
"size"... |
<?php
/////////////////////////////////////////////////////////////////////////////////////
// xbtit - Bittorrent tracker/frontend
//
// Copyright (C) 2004 - 2015 Btiteam
//
// This file is part of xbtit.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitte... | {
"content_hash": "aa04fb4ae215780fefb72ac37db4a3b8",
"timestamp": "",
"source": "github",
"line_count": 278,
"max_line_length": 241,
"avg_line_length": 55.07553956834533,
"alnum_prop": 0.6744170857553393,
"repo_name": "cybyd/cybyd",
"id": "f49e6c05f20605f82d3d7d9fb09de1f6eb395e83",
"size": "15311",... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.