text stringlengths 2 1.04M | meta dict |
|---|---|
<?php
namespace Rooty\TorrentBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;
use Rooty\TrackerBundle\Entity\Torrent;
class GameFormType extends AbstractType
{
private $mode; //are we creating a new entity or editing existing
public function __construct(... | {
"content_hash": "f7d848d26354f3ae3a6645b03a2761d9",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 95,
"avg_line_length": 32.666666666666664,
"alnum_prop": 0.5438175270108043,
"repo_name": "highway-accident/tracker",
"id": "28f7cc4b85f6e51e2d9715e4255b903aa4114e39",
"siz... |
package org.osgi.service.condpermadmin;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Dictionary;
import java.util.Hashtable;
import org.osgi.framework.Bundle;
import org.osgi.framework.Filter;
import org.osgi.framework.FrameworkUtil;
import org.osgi.framework.Invalid... | {
"content_hash": "15f808e82696d8b2fd2aac3c66d66184",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 103,
"avg_line_length": 36.29203539823009,
"alnum_prop": 0.6861741038771031,
"repo_name": "cnoelle/knopflerfish_framework",
"id": "68a09e7762c9d847e4215e93a978cf7b6e426aec",... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | {
"content_hash": "07878c42b4834e74ea92bc69c6b53b96",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 176,
"avg_line_length": 40.41428571428571,
"alnum_prop": 0.6178861788617886,
"repo_name": "kagamsft/azure-powershell",
"id": "3d91b976620f1e61691ddda3925f832773278420",
"si... |
namespace ParentLoad.DataAccess.ERLevel
{
public partial interface IA05_SubContinent_ReChildDal
{
}
}
| {
"content_hash": "85c2db0f3b807a9818393a28dadedd62",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 57,
"avg_line_length": 20,
"alnum_prop": 0.7,
"repo_name": "CslaGenFork/CslaGenFork",
"id": "d88c8452b8582d01e09880ae8ba69fd32339cfeb",
"size": "120",
"binary": false,
"... |
using System.Collections.Immutable;
namespace Microsoft.CodeAnalysis.Semantics
{
/// <summary>
/// Represents a reference through a pointer.
/// </summary>
/// <remarks>
/// This interface is reserved for implementation by its associated APIs. We reserve the right to
/// change it in the future... | {
"content_hash": "cd45863ae174869912de651424f6e6e2",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 101,
"avg_line_length": 27.5,
"alnum_prop": 0.6363636363636364,
"repo_name": "akrisiun/roslyn",
"id": "5cd6ef58da15b7b1de15098a25a85f7835c8bca8",
"size": "712",
"binary":... |
package com.linkedin.databus2.relay.config;
import java.io.File;
import java.io.FileWriter;
import java.util.ArrayList;
import junit.framework.Assert;
import org.apache.log4j.Level;
import org.testng.annotations.Test;
import com.linkedin.databus2.test.TestUtil;
public class TestDatabusRelaySourcesInFile
{
pub... | {
"content_hash": "77f53c762f2118f690a6e08ed91e4ada",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 104,
"avg_line_length": 31.284671532846716,
"alnum_prop": 0.6945870275314979,
"repo_name": "oeohomos/databus",
"id": "cd16641094143ef1120990a279e6947bacd5fcc7",
"size": "4... |
#pragma once
#include <SDL.h>
#include "../Core/C_Vec2.h"
#include "../Core/C_Texture.h"
/**
@brief A Particle object for use with the Particle System.
@author Jamie Slowgrove
*/
class PS_Particle
{
public:
/**
@brief Constructs the Particle Object.
@param square A pointer to the Texture.
@param scaleValue The sc... | {
"content_hash": "4a2148c6736d6bdf1fe938aa63e953c5",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 98,
"avg_line_length": 23.10655737704918,
"alnum_prop": 0.7162114224902447,
"repo_name": "JSlowgrove/Sky-Zone-Omega-PC",
"id": "fb4fcc7c42e162ff392dd1d8d242ab7dba52729a",
... |
package com.gunshippenguin.jchat.server;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.logging.Logger;
import java.util.logging.Level;
import com.gunshippenguin.jchat.shared.AcceptedToChatRoomEvent;
import com.gunshippenguin.jchat.shared.ChatRoomInfo;
import com.gunshippenguin.jchat.shared.E... | {
"content_hash": "ba18234335f0eea7ea84755f2906815e",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 108,
"avg_line_length": 29.725925925925925,
"alnum_prop": 0.6967356092698729,
"repo_name": "GunshipPenguin/jchat",
"id": "12387083a498d78b59eb6671fd375040559f1948",
"size"... |
package de.nedelosk.modularmachines.common.core;
import de.nedelosk.modularmachines.api.energy.EnergyRegistry;
import de.nedelosk.modularmachines.api.material.EnumMetalMaterials;
import de.nedelosk.modularmachines.api.recipes.OreStack;
import de.nedelosk.modularmachines.api.recipes.RecipeItem;
import de.nedelosk.modul... | {
"content_hash": "5fc5d3c37297cd5f3683b26fc9e721f6",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 241,
"avg_line_length": 68.98233215547704,
"alnum_prop": 0.7309189632209815,
"repo_name": "Nedelosk/Forest-Mods",
"id": "d2a8e81b5644aee5fbb6caa7aaab15f2d9318079",
"size":... |
<?php
/**
* @category Xi_Test
* @package Xi_Acl
* @group Xi_Acl
* @author Eevert Saukkokoski <eevert.saukkokoski@brainalliance.com>
*/
class Xi_Acl_Builder_PrivilegeTest extends PHPUnit_Framework_TestCase
{
public function getPrivilegeMock(array $methods = array())
{
r... | {
"content_hash": "3bbe8df1d8d0116c0a9191efcd54f16c",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 140,
"avg_line_length": 41.18888888888889,
"alnum_prop": 0.5816023738872403,
"repo_name": "Ezku/xi-framework",
"id": "aa306ae1dffc216fd864d1eb8fcd4f12aa24d36a",
"size": "37... |
include_recipe "deploy"
include_recipe "opsworks_sidekiq::service"
node[:deploy].each do |application, deploy|
unless node[:sidekiq][application]
next
end
execute "restart Sidekiq app #{application}" do
cwd deploy[:current_path]
command node[:sidekiq][application][:restart_command]
action :noth... | {
"content_hash": "3fdc0e9674ca1a4b1011f2cca7a9d6ad",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 257,
"avg_line_length": 28.78181818181818,
"alnum_prop": 0.6746683512318383,
"repo_name": "fred/opsworks_sidekiq",
"id": "ac7c53c483f65adf2bbcdfa447eda9b1e4183a3b",
"size":... |
#import "AutoManageViewController.h"
#import "UISelectCell.h"
@interface AutoManageViewController ()
@end
@implementation AutoManageViewController
@synthesize cellDataArray;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nib... | {
"content_hash": "d995b00f4229bc32ce2aa277737b672f",
"timestamp": "",
"source": "github",
"line_count": 263,
"max_line_length": 156,
"avg_line_length": 30.840304182509506,
"alnum_prop": 0.6399950684255948,
"repo_name": "guohaiyang/yuntongxun",
"id": "0193326e2321e756dd8ca2e360d667cfb00a80b4",
"size... |
//BinarySerialiserUtility.cs
//Created by Evgeniya O'Regan Pevchikh, 8/1/2015
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
namespace Projec... | {
"content_hash": "d6e4353a7b13501222e5752e237dfc91",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 102,
"avg_line_length": 30.493506493506494,
"alnum_prop": 0.5404599659284497,
"repo_name": "vanla/SalesRegistryC-",
"id": "8bd1adf9c1b21aff5ab5b4b3882fda6a66f9911f",
"size"... |
package mock_gomock
import (
gomock "github.com/golang/mock/gomock"
reflect "reflect"
)
// MockMatcher is a mock of Matcher interface
type MockMatcher struct {
ctrl *gomock.Controller
recorder *MockMatcherMockRecorder
}
// MockMatcherMockRecorder is the mock recorder for MockMatcher
type MockMatcherMockRecor... | {
"content_hash": "0c1a43c8c1e73ac760876e68dc5c98a6",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 116,
"avg_line_length": 28.07547169811321,
"alnum_prop": 0.7479838709677419,
"repo_name": "ks2software/nodejs-buildpack",
"id": "7e4b4c8a5ef25c486f9cdcde2fb3d01567390296",
... |
namespace SceneEngine { class MaterialOverride; }
namespace Overlays
{
using namespace RenderOverlays;
using namespace RenderOverlays::DebuggingDisplay;
class TestMaterialSettings : public IWidget ///////////////////////////////////////////////////////////
{
public:
TestMaterialSettings(Sc... | {
"content_hash": "dccd3a6e38b8fdcbcca01299edd3e81c",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 126,
"avg_line_length": 32.08695652173913,
"alnum_prop": 0.6666666666666666,
"repo_name": "xlgames-inc/XLE",
"id": "06babc4dc33b556081f0241c426e7d1c09d67e21",
"size": "964"... |
#ifndef __tcode_io_ip_udp_operation_write__
#define __tcode_io_ip_udp_operation_write__
#include <tcode/error.hpp>
#include <tcode/io/operation.hpp>
#include <tcode/io/buffer.hpp>
#include <tcode/io/ip/address.hpp>
namespace tcode { namespace io { namespace ip { namespace udp {
/*!
* @class operation_write_... | {
"content_hash": "91ebbd4052da3537a7aab3f3116e5636",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 66,
"avg_line_length": 27.675324675324674,
"alnum_prop": 0.5279211637728766,
"repo_name": "aoziczero/tcode",
"id": "55b4e054a6797e4e01778adf820eec7f7e6f8c61",
"size": "2131... |
<div class="commune_descr limited">
<p>
La Guerche-sur-l'Aubois est
une commune localisée dans le département de Cher en Centre. Elle totalisait 3 415 habitants en 2008.</p>
<p>La commune propose de multiples équipements, elle propose entre autres un bassin de natation, un centre d'équitation, un ter... | {
"content_hash": "381287505adb29c47960c5baa12c75b9",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 284,
"avg_line_length": 97.21739130434783,
"alnum_prop": 0.751788908765653,
"repo_name": "donaldinou/frontend",
"id": "437857ce8fe7e96f00cc6341f6e6adc95fbe8d0f",
"size": "2... |
using System;
using System.ComponentModel;
using System.Windows;
using System.Windows.Input;
namespace Spect.Net.VsPackage.ToolWindows
{
/// <summary>
/// Interaction logic for CommandPromptControl.xaml
/// </summary>
public partial class CommandPromptControl
{
public static readonly Depen... | {
"content_hash": "db450104cf8f2eacebe4945509f07800",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 118,
"avg_line_length": 33.714285714285715,
"alnum_prop": 0.6052631578947368,
"repo_name": "Dotneteer/spectnetide",
"id": "a7833b14e7091eac98660e5605dd229c2bd56834",
"size... |
#include <avian/heap/heap.h>
#include <avian/system/system.h>
#include "avian/common.h"
#include "avian/arch.h"
#include <avian/util/math.h>
using namespace vm;
using namespace avian::util;
namespace {
namespace local {
const unsigned Top = ~static_cast<unsigned>(0);
const unsigned InitialGen2CapacityInBytes = ... | {
"content_hash": "b0f450783a1ad06174f38fe90089e9d2",
"timestamp": "",
"source": "github",
"line_count": 2112,
"max_line_length": 85,
"avg_line_length": 22.362689393939394,
"alnum_prop": 0.5606605970781283,
"repo_name": "nmcl/scratch",
"id": "fa11086b652cb1d5a3c593f91ceea17da58353be",
"size": "47579... |
import {FS} from '../lib/fs';
type GroupInfo = import('./config-loader').GroupInfo;
export const PLAYER_SYMBOL: GroupSymbol = '\u2606';
export const HOST_SYMBOL: GroupSymbol = '\u2605';
/**
* Auth table - a Map for which users are in which groups.
*
* Notice that auth.get will return the default group symbol if th... | {
"content_hash": "44ccd341e04d005225d5b89e90bbf359",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 100,
"avg_line_length": 28.88372093023256,
"alnum_prop": 0.6619967793880838,
"repo_name": "AustinXII/Pokemon-Showdown",
"id": "a6a9662ca2efb589f8785b1c6389dfc68d75fde2",
"... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.11.29 at 12:35... | {
"content_hash": "67b1b449c7c4d12ba58a40e9ed46ec63",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 111,
"avg_line_length": 27.29268292682927,
"alnum_prop": 0.7167113494191242,
"repo_name": "ryandcarter/hybris-connector",
"id": "c33c16db8bbffbd986030309ef68fd1cd29750b4",
... |
""" Cisco_IOS_XR_aaa_protocol_radius_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR aaa\-protocol\-radius package operational data.
This module contains definitions
for the following management objects\:
radius\: RADIUS operational data
This YANG module augments the
Cisco\-IOS\-XR\... | {
"content_hash": "807e093ce49248a8e468b7eaff86dfd1",
"timestamp": "",
"source": "github",
"line_count": 2190,
"max_line_length": 269,
"avg_line_length": 41.546118721461184,
"alnum_prop": 0.3778493394588178,
"repo_name": "111pontes/ydk-py",
"id": "2975497caad225bb3f147381a6321ddfebbe4ea2",
"size": "... |
/* eslint-env mocha */
'use strict'
const expect = require('chai').expect
const loadFixture = require('aegir/fixtures')
const UnixFS = require('../src')
const raw = loadFixture(__dirname, 'fixtures/raw.unixfs')
const directory = loadFixture(__dirname, 'fixtures/directory.unixfs')
const file = loadFixture(__dirname, ... | {
"content_hash": "7551c7e00953f36d2e3f794fa201c9de",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 122,
"avg_line_length": 35.34074074074074,
"alnum_prop": 0.6730245231607629,
"repo_name": "Project-Oaken/water-meter-acorn",
"id": "8d748cbbbc859f5407a110cfa3095d0891ebfff8"... |
<?php
namespace yiingine\modules\users\controllers;
use \Yii;
use \yiingine\modules\users\models\User;
/**
* Controller for user self registration and activation.
* */
class RegisterController extends \yiingine\modules\media\web\Controller
{
/**
* @inheritdoc
*/
public functi... | {
"content_hash": "992e8391fc747c06d60abcd6c90c42fe",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 157,
"avg_line_length": 45.707317073170735,
"alnum_prop": 0.4610458911419424,
"repo_name": "Arza-Studio/yiingine",
"id": "08d46ae09693c74e5c94c479df01adaebc439351",
"size"... |
<field synchronizeInterval="1000">
<connections>
<connection id="DUMMY" class="ch.hevs.jscada.io.field.dummy.DummyConnection"/>
</connections>
<inputs>
<input connectionRef="DUMMY" pointRef="aBooleanInput" type="BOOLEAN" id="aBoolean">
<wuff/>
</input>
<input con... | {
"content_hash": "fd05fe559efb96cebb823a4ff69771a9",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 97,
"avg_line_length": 41.85,
"alnum_prop": 0.6630824372759857,
"repo_name": "jSCADA/jscada-core",
"id": "5c9dfda20c9828190982d8a8b1b3ea36f48f4227",
"size": "837",
"binar... |
"""Context manager for Cloud Spanner batched writes."""
from google.cloud.spanner_v1.proto.mutation_pb2 import Mutation
from google.cloud.spanner_v1.proto.transaction_pb2 import TransactionOptions
# pylint: disable=ungrouped-imports
from google.cloud._helpers import _pb_timestamp_to_datetime
from google.cloud.spanner... | {
"content_hash": "1408c02824a74669655d236dee986f0b",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 88,
"avg_line_length": 31.632183908045977,
"alnum_prop": 0.6320857558139535,
"repo_name": "tswast/google-cloud-python",
"id": "e62763d7fd7c965fabe531ddbe60ed4f5a5bd0e4",
"... |
<?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/licen... | {
"content_hash": "73a958f76419425e22f952a747213f4d",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 394,
"avg_line_length": 63.04761904761905,
"alnum_prop": 0.7439577039274925,
"repo_name": "wenhuiyao/SyncedListView",
"id": "f455804cfb7ed6f13c6ca654801bc46a398d46f9",
"siz... |
package org.codehaus.httpcache4j.payload;
import org.codehaus.httpcache4j.uri.QueryParam;
import org.junit.Test;
import org.junit.Assert;
import java.util.ArrayList;
import java.util.List;
/**
* @author <a href="mailto:hamnis@codehaus.org">Erlend Hamnaberg</a>
* @version $Revision: $
*/
public class FormDataPay... | {
"content_hash": "ac424cd90206b2c96e201ae03905f163",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 154,
"avg_line_length": 36.2,
"alnum_prop": 0.6783302639656231,
"repo_name": "httpcache4j/httpcache4j",
"id": "c7668d912b468bb82d215f0463b67440795e70ec",
"size": "2262",
... |
export * from './build';
export * from './deployer';
export * from './modelVisitor';
export * from './coreBuildPlugin';
export * from './coreRuntime';
export * from './typescriptTranslate';
| {
"content_hash": "7d90212ef891e558a241be9cd90f3275",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 38,
"avg_line_length": 31.666666666666668,
"alnum_prop": 0.6842105263157895,
"repo_name": "christyharagan/markscript",
"id": "ac9e90c7b29d6cd900d60d68ec6dd6f71126c3ed",
"siz... |
<?php
namespace
{
// note: this will crash if loaded in PHP, as the Traversable interface is already in core
interface Traversable {}
}
namespace BetterReflectionTest\ClassesImplementingIterators
{
class TraversableImplementation implements \Traversable
{
}
class NonTraversableImplementation
... | {
"content_hash": "6f7c0e69a56d30579979deb00fdd061c",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 94,
"avg_line_length": 18.96153846153846,
"alnum_prop": 0.7241379310344828,
"repo_name": "digitalkaoz/BetterReflection",
"id": "a0d85c5f638e55b6c859ef27ab4bda2a9fc7db19",
"... |
package eu.hyvar.context.contextValidity.resource.hyvalidityformula.ui;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.preference.PreferenceConverter... | {
"content_hash": "12e035e9d05d9e9f87635b8645ff2a9d",
"timestamp": "",
"source": "github",
"line_count": 308,
"max_line_length": 381,
"avg_line_length": 39.061688311688314,
"alnum_prop": 0.7832266644501704,
"repo_name": "DarwinSPL/DarwinSPL",
"id": "99a6aa0e07ecefea2c2f822905c45ab348cca021",
"size":... |
import Mirage from 'ember-cli-mirage';
export default Mirage.Factory.extend({
startYear: (i) => 2012 + i,
program: (i) => (i+1),
published: true,
publishedAsTbd: false,
cohort: (i) => (i+1),
archived: false,
});
| {
"content_hash": "64ec92a206c3199a6e2282c99e3c63c7",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 38,
"avg_line_length": 22.5,
"alnum_prop": 0.6266666666666667,
"repo_name": "gboushey/frontend",
"id": "0f1c5424c57eedb5b069838589658d17701f5fa9",
"size": "225",
"binary"... |
package liquibase.util;
import java.sql.Types;
import java.util.Arrays;
import java.util.List;
public class SqlUtil {
public static boolean isNumeric(int dataType) {
List<Integer> numericTypes = Arrays.asList(
Types.BIGINT,
Types.BIT,
Types.INTE... | {
"content_hash": "16fa0b889d8988905eb6d437767d6e71",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 51,
"avg_line_length": 25.23076923076923,
"alnum_prop": 0.5182926829268293,
"repo_name": "liquibase/BACKUP_FROM_SVN",
"id": "9afb52126be77a68d0332057e7bf964b617aef1f",
"siz... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="corner_radius">8dp</dimen>
<dimen name="tab_space_top">4dp</dimen>
<dimen name="tab_space">0dp</dimen>
<dimen name="tab_space_plus1">3dp</dimen>
<dimen name="tab_space_bottom_line">36sp</dimen>
<dimen name="tab_space_unselected_top... | {
"content_hash": "da16e2a300c02fe7c2b8a66ee1377a1f",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 55,
"avg_line_length": 38.77777777777778,
"alnum_prop": 0.6532951289398281,
"repo_name": "cpcs499/Presentation-2",
"id": "bc15100a41c1c46edaad8563c00141095d1a88a3",
"size": ... |
import paddle.static as static
from .meta_optimizer_base import MetaOptimizerBase
from .common import (
CollectiveHelper,
OP_ROLE_KEY,
OP_ROLE_VAR_KEY,
OpRole,
is_backward_op,
is_loss_grad_op,
is_optimizer_op,
)
__all__ = []
class TensorParallelOptimizer(MetaOptimizerBase):
def __init... | {
"content_hash": "03666e5c211379fd48152ef3e12bf752",
"timestamp": "",
"source": "github",
"line_count": 256,
"max_line_length": 79,
"avg_line_length": 33.77734375,
"alnum_prop": 0.5039898230600208,
"repo_name": "PaddlePaddle/Paddle",
"id": "41ef5f6190ebf9d36616e55132110355137c046b",
"size": "9227",... |
package org.springframework.boot.autoconfigure.flyway;
import java.sql.Connection;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import javax.sql.DataSource;
import org.flywaydb.core.Flyway;
import org.flywaydb.core.api.MigrationVersion;
import org.flywaydb.... | {
"content_hash": "0708ae48f8ef6047c863ae10e37c6fc0",
"timestamp": "",
"source": "github",
"line_count": 359,
"max_line_length": 99,
"avg_line_length": 34.30362116991643,
"alnum_prop": 0.7952902963865205,
"repo_name": "shangyi0102/spring-boot",
"id": "6ab718e627c4cd91514e9237a84a3cd253caa12b",
"size... |
package features
import (
"github.com/eriq-augustine/goml/base"
)
// A ManualReducer is initialized with the columns to choose.
// This should mainly be used for testing.
type ManualReducer struct{
features []int
}
func NewManualReducer(selectedFeatures []int) ManualReducer {
if (selectedFeatures == nil) {
... | {
"content_hash": "f4b488ea71e45cb9e37b239f1fe5e65b",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 68,
"avg_line_length": 23.724137931034484,
"alnum_prop": 0.7151162790697675,
"repo_name": "eriq-augustine/goml",
"id": "9cd49eccf3bc3ac5635d25e5ab44ed5ff2a513dc",
"size": "... |
<!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_102) on Thu Sep 29 16:37:39 CEST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class energy... | {
"content_hash": "8ed25c6f06f1b5f92aac5e740bb941fa",
"timestamp": "",
"source": "github",
"line_count": 235,
"max_line_length": 474,
"avg_line_length": 52.46808510638298,
"alnum_prop": 0.6516626115166261,
"repo_name": "FHPproject/FHPUsef",
"id": "ffaea9f5f4bf6e349db7af4942e8d507cc93423a",
"size": "... |
/*
* This class was automatically generated with
* <a href="http://www.castor.org">Castor 1.2</a>, using an XML
* Schema.
* $Id: ConfigurationOpDescriptor.java,v 1.2 2009/05/20 05:29:14 cvsuser3 Exp $
*/
package org.morozko.java.mod.dbsrc.config.xml.descriptors;
//---------------------------------/
... | {
"content_hash": "6693aa915201af93453132e6602aa65e",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 126,
"avg_line_length": 23.88050314465409,
"alnum_prop": 0.5438504082170135,
"repo_name": "fugeritaetas/morozko-lib",
"id": "b84e148d58a59746f07d4c74f3c2f97c8b864114",
"si... |
var VASTTimer = function(config){
if(!config.player)
return alert("No player object passed for registration")
this.player = config.player
this.container = "#" + this.player.id + "_wrapper"
this.box = "#" + this.player.id + "_vast_timer"
this.register()
}
/**
* Properties for configuration
*/
VASTTimer.... | {
"content_hash": "22bbdc91b8a2c292386935265a36b399",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 61,
"avg_line_length": 22.427083333333332,
"alnum_prop": 0.6372503483511379,
"repo_name": "nullivex/node-portal-skeleton",
"id": "3f42f723933c77365ec552fac1f50a8c3b4e13d7",
... |
package org.springframework.cloud.netflix.hystrix.dashboard;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.context.reques... | {
"content_hash": "18246e4206eea150a8cfe96cc48d24e9",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 84,
"avg_line_length": 30.53846153846154,
"alnum_prop": 0.780016792611251,
"repo_name": "sfat/spring-cloud-netflix",
"id": "3d372e9b6fcf50cec858e96a9bace984f5b5aab0",
"size... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-example109-jquery</title>
<script src="../../components/jquery-1.10.2/jquery.js"></script>
<script src="../../../angular.js"></script>
<script src="script.js"></script>
</head>
<body ng-app="eventExample">
<... | {
"content_hash": "75c53576bb2e0de345457a3e7f1ee817",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 79,
"avg_line_length": 27.78787878787879,
"alnum_prop": 0.5670665212649946,
"repo_name": "JSoon/EzineMetroUI",
"id": "be2fceb3492b569787072e7259155ebaeafde8c0",
"size": "91... |
cask 'font-noto-sans-syloti-nagri' do
version :latest
sha256 :no_check
# noto-website.storage.googleapis.com was verified as official when first introduced to the cask
url 'https://noto-website.storage.googleapis.com/pkgs/NotoSansSylotiNagri-unhinted.zip'
name 'Noto Sans Syloti Nagri'
homepage 'https://www... | {
"content_hash": "10fa3c4a61e498fc608a86cf449bedf1",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 98,
"avg_line_length": 36.27272727272727,
"alnum_prop": 0.7694235588972431,
"repo_name": "guerrero/homebrew-fonts",
"id": "f063aaa1bbbee19fee6486617ea59ad3f9258749",
"size"... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache... | {
"content_hash": "3abdc6ad7c456958b10812136a99a73f",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 201,
"avg_line_length": 39.79545454545455,
"alnum_prop": 0.46811345897582335,
"repo_name": "apache/geronimo",
"id": "8fe9a242636c3879ad6b70c08a491d06f84425f2",
"size": "52... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
namespace LiteDbExplorer.Converters
{
public class DoubleToGridLengthConverter : IValueConverter
{
... | {
"content_hash": "9f5458b35ecc58b01c21ec5ef4893e32",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 103,
"avg_line_length": 28.03846153846154,
"alnum_prop": 0.654320987654321,
"repo_name": "JosefNemec/LiteDbExplorer",
"id": "2953bb1453217fbe3af56ff06d761d545001a310",
"siz... |
<?php
defined('C5_EXECUTE') or die("Access Denied.");
use Concrete\Core\Entity\Attribute\Key\Key;
use Concrete\Core\Form\Service\Form;
use Concrete\Core\Form\Service\Widget\ExpressEntrySelector;
use Concrete\Core\Support\Facade\Application;
use Concrete\Core\Entity\Express\Entity;
use Concrete\Core\Entity\Express\Ent... | {
"content_hash": "ab483e5a6aa9c3150480a35b75cdcccb",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 132,
"avg_line_length": 36.865546218487395,
"alnum_prop": 0.5605197173467061,
"repo_name": "olsgreen/concrete5",
"id": "958d0a66dbed6d1b799796b3c96795ccb0935e4a",
"size": ... |
using System;
[AttributeUsage(
AttributeTargets.Struct |
AttributeTargets.Class |
AttributeTargets.Method |
AttributeTargets.Enum
)]
class VersionAttribute : System.Attribute
{
public string Version { get; private set; }
public VersionAttribute(string version)
{
this.Version = version;
}
... | {
"content_hash": "1cbeebee84c93d741d093ed3ef2d9ea5",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 47,
"avg_line_length": 18.09090909090909,
"alnum_prop": 0.6934673366834171,
"repo_name": "TsvetanKT/TelerikHomeworks",
"id": "8c81cc397f83036465c1123ee641ece147214198",
"si... |
#ifndef _MRVL_QOS_H_
#define _MRVL_QOS_H_
#include <rte_common.h>
#include "mrvl_ethdev.h"
/** Code Points per Traffic Class. Equals max(DSCP, PCP). */
#define MRVL_CP_PER_TC (64)
/** Value used as "unknown". */
#define MRVL_UNKNOWN_TC (0xFF)
/* config. */
struct mrvl_cfg {
struct {
struct pp2_parse_udfs prs... | {
"content_hash": "0429d531341db0c4ec7fa231f8cecd8a",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 79,
"avg_line_length": 25.65740740740741,
"alnum_prop": 0.6943341753879466,
"repo_name": "john-mcnamara-intel/dpdk",
"id": "38ea309caa6bfb9a205a8b5a3a198d40930f43e1",
"siz... |
package byoid
import (
"context"
"encoding/json"
"encoding/xml"
"flag"
"fmt"
"io/ioutil"
"log"
"net/http"
"net/http/httptest"
"net/url"
"os"
"testing"
"time"
"golang.org/x/oauth2/google"
"google.golang.org/api/dns/v1"
"google.golang.org/api/idtoken"
"google.golang.org/api/option"
)
const (
envCrede... | {
"content_hash": "2897a72732fa023ec3124b50bc3c914f",
"timestamp": "",
"source": "github",
"line_count": 425,
"max_line_length": 140,
"avg_line_length": 32.287058823529414,
"alnum_prop": 0.6760676286255648,
"repo_name": "google/google-api-go-client",
"id": "da3074c4233ffb92fa38549bdc775b010f2d6beb",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="PortaPlanter" />
<meta name="description" content="PortaPlanter™ makes products that h... | {
"content_hash": "159535cffe887fd3d76f4a90da896ece",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 172,
"avg_line_length": 40.6875,
"alnum_prop": 0.6272401433691757,
"repo_name": "portaplanter/portaplanter.github.io",
"id": "b4dcafda480de74fd7abaa997331c6640454eb8a",
"s... |
import pandas as pd
from itertools import islice
import pickle
import re
from time import time
t0 = time()
df = pd.read_csv('metadata.csv')
print('columns',list(df))
selected = df[['cord_uid','sha','publish_time','journal','url','title']].where(df['sha'].notna())
meta_by_sha = {}
rows = selected.iterrows()
for _,r i... | {
"content_hash": "0e8bf0168b06c88db1b3cf1d7cdacf69",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 97,
"avg_line_length": 26.692307692307693,
"alnum_prop": 0.638328530259366,
"repo_name": "mobarski/sandbox",
"id": "ef9fdddd93593ac9d4aae92fcc03acdebf268a50",
"size": "694"... |
//-----------------------------------------------------------------------
// <copyright file="EndpointRegistrySpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyrig... | {
"content_hash": "152ed3da6a2f5c80a3ef5d6119dc7278",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 138,
"avg_line_length": 43.61926605504587,
"alnum_prop": 0.6370806604269639,
"repo_name": "eloraiby/akka.net",
"id": "8e48d52421693577d63c41b40e68b36dd244085e",
"size": "9... |
import ntpath
import sys
from unittest import TestCase
from exifread import IfdTag
from mock import mock
from pictures.rename import rename
from tests import helpers
def ifd_tag_from(date_time_original):
return IfdTag(None, None, None, date_time_original, None, None)
class MockFile(object):
def __init__(s... | {
"content_hash": "efa2fc4b9447b9b175f0111a5f7b7cd6",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 129,
"avg_line_length": 38.52307692307692,
"alnum_prop": 0.6553514376996805,
"repo_name": "mina-asham/pictures-dedupe-and-rename",
"id": "fe6295126fdb425934c20d5aaf75706fdea9... |
var ServerStacks = require('../../muon/api/server-stacks.js');
var handler = require('../../muon/infrastructure/handler.js');
var assert = require('assert');
describe("serverStacks test:", function () {
it("does the server stack thing", function (done) {
var serverStacks = new ServerStacks('test-server')... | {
"content_hash": "48cf3ad5cfe62f65a5017d83a2ae9ab5",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 140,
"avg_line_length": 34.69620253164557,
"alnum_prop": 0.4968989419919737,
"repo_name": "microserviceux/muon-node",
"id": "e1edb9f992b910670cdbe1e334848a67d8a4709a",
"siz... |
% frate = ASDFGetfrate(asdf)
%
% asdf - {nNeu+2, 1} ASDF format spike data file
%
% Returns:
% frate - (nNeu, 1) Probability of firing at one bin for each neuron.
%==============================================================================
% Copyright (c) 2011, The Trustees of Indiana University
% Al... | {
"content_hash": "8e71e5fb766ffdf45965d8d572b62c2a",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 80,
"avg_line_length": 44.7,
"alnum_prop": 0.6805369127516778,
"repo_name": "Neuroglycerin/hail-seizure",
"id": "a4fa5e5c7ea7678daa02cc34b9bbe13d595ee4c6",
"size": "2235",
... |
#import <MapKit/MKMapSnapshotter.h>
#import <PromiseKit/AnyPromise.h>
/**
To import the `MKMapSnapshotter` category:
use_frameworks!
pod "PromiseKit/MapKit"
And then in your sources:
@import PromiseKit;
*/
@interface MKMapSnapshotter (PromiseKit)
/**
Starts generating the snapshot using the options ... | {
"content_hash": "c67d429d4eb619761e912a68f32f721f",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 75,
"avg_line_length": 20.434782608695652,
"alnum_prop": 0.7382978723404255,
"repo_name": "OneBusAway/onebusaway-iphone",
"id": "13f33e9b5246fdf39985715ba6fba33757fefab4",
... |
LowLevelGraphicsSoftwareRenderer::LowLevelGraphicsSoftwareRenderer (const Image& image)
: RenderingHelpers::StackBasedLowLevelGraphicsContext<RenderingHelpers::SoftwareRendererSavedState>
(new RenderingHelpers::SoftwareRendererSavedState (image, image.getBounds()))
{
}
LowLevelGraphicsSoftwareRen... | {
"content_hash": "987bd1b1d8ab82d21b2b7439fd16094d",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 106,
"avg_line_length": 49.0625,
"alnum_prop": 0.7401273885350318,
"repo_name": "timedata-org/timedata_visualizer",
"id": "535f74e785ee69fccc237c31e011a203783980e3",
"size"... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "dde4601247a61e1f15136fa1660c7cba",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 330,
"avg_line_length": 58.794117647058826,
"alnum_prop": 0.7045189261297315,
"repo_name": "heavywatal/edal",
"id": "a17495fb98468146e33a07c8757515e75c5000da",
"size": "59... |
1. Select the **General** tab on the right.
| {
"content_hash": "5a45b89b66ec7e387c8ec29bded6ec5a",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 43,
"avg_line_length": 44,
"alnum_prop": 0.6818181818181818,
"repo_name": "rht/zulip",
"id": "0b0e325ec6aa2f484df84b902a61f001bbf44977",
"size": "44",
"binary": false,
"... |
<?php
namespace PhpOffice\PhpWord\Writer\HTML\Element;
/**
* TextRun element HTML writer
*
* @since 0.10.0
*/
class TextRun extends Text
{
/**
* Write text run
*
* @return string
*/
public function write()
{
$content = '';
$content .= $this->writeOpening();
... | {
"content_hash": "e3571fe0cf7c8581c5ea3f876f5d0666",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 69,
"avg_line_length": 17.20689655172414,
"alnum_prop": 0.5470941883767535,
"repo_name": "romariick/sf3certif",
"id": "492f7597e3a7d34d52629c41783ba30f837fd932",
"size": "1... |
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/decelerate_interpolator" >
<translate
android:duration="@integer/config_activity_animation_time"
android:fromXDelta="-100.0%"
android:toXDelt... | {
"content_hash": "bc5a2932ab25ed062290396ff08a8eac",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 66,
"avg_line_length": 34,
"alnum_prop": 0.6588235294117647,
"repo_name": "kiwigo/Private-custom",
"id": "96737a9ab46a107a626480a504de572d8d595036",
"size": "340",
"binar... |
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module SurveysV2
#
class FieldMask
include Google::Apis::Core::Hashable
#
... | {
"content_hash": "d77034c06f7fa6a371df1ac55cc04b71",
"timestamp": "",
"source": "github",
"line_count": 780,
"max_line_length": 118,
"avg_line_length": 39.56025641025641,
"alnum_prop": 0.6105583822147325,
"repo_name": "saicheems/google-api-ruby-client",
"id": "dc854a9f900a50b2a352e32844ad9ed8f9f5ff6d... |
package org.codehaus.plexus.archiver.bzip2;
import org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream;
import org.codehaus.plexus.archiver.ArchiverException;
import org.codehaus.plexus.archiver.util.Compressor;
import org.codehaus.plexus.util.IOUtil;
import java.io.IOException;
import static... | {
"content_hash": "44e5f04fe12399b3013653b896013e3f",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 112,
"avg_line_length": 25.97826086956522,
"alnum_prop": 0.6711297071129707,
"repo_name": "sonatype/plexus-archiver",
"id": "628f0e17cb9253022f6aaf126fabc55f29ca6ef0",
"siz... |
package io.cattle.platform.servicediscovery.api.service.impl;
import static io.cattle.platform.core.model.tables.CertificateTable.*;
import static io.cattle.platform.core.model.tables.InstanceTable.*;
import static io.cattle.platform.core.model.tables.ServiceTable.*;
import static io.cattle.platform.core.model.tables.... | {
"content_hash": "f27cc83ab83bedf8d6b8c08a0efb2d7c",
"timestamp": "",
"source": "github",
"line_count": 781,
"max_line_length": 159,
"avg_line_length": 47.9270166453265,
"alnum_prop": 0.6165744970746173,
"repo_name": "wlan0/cattle",
"id": "b6e08e3ff486fe1b796217fae359b500903be1fa",
"size": "37431",... |
package org.joyrest.examples.di.jokeapp.spring;
import org.joyrest.examples.di.jokeapp.JokeController;
import org.joyrest.examples.di.jokeapp.JokeService;
import org.joyrest.examples.di.jokeapp.JokeServiceImpl;
import org.joyrest.gson.GsonReaderWriter;
import org.joyrest.routing.ControllerConfiguration;
import org.sp... | {
"content_hash": "67560877bb881ce167602a9da256489c",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 60,
"avg_line_length": 25.933333333333334,
"alnum_prop": 0.7660668380462725,
"repo_name": "petrbouda/joyrest",
"id": "adef4a2ff50e61a5d0d132a3df47e7fa992f0a61",
"size": "13... |
package blended.streams.testsupport
import akka.util.ByteString
import blended.streams.message.{FlowEnvelope, FlowMessage}
import blended.testsupport.scalatest.LoggingFreeSpec
import org.scalatest.Matchers
class FlowMessageAssertionSpec extends LoggingFreeSpec
with Matchers {
"The FlowMessageAssertions should" -... | {
"content_hash": "7f1620e275169b87dbbdd8624d9c8ed6",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 92,
"avg_line_length": 27.772727272727273,
"alnum_prop": 0.7127659574468085,
"repo_name": "lefou/blended",
"id": "cbcc0fe2b6061c20abeb0f755ca4eb10d7d6174e",
"size": "1222",... |
module PromotionSupport
class << self
def line_item_promotion(order)
promo = FactoryGirl.create(:promotion_with_item_adjustment, code: 'line_item_promotion')
promo.rules << Spree::Promotion::Rules::Product.create!(preferred_match_policy: 'any', product_ids_string: order.line_items.first.product.id.to_... | {
"content_hash": "78e81b20a221a525eb9c47444c87e467",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 152,
"avg_line_length": 36.10344827586207,
"alnum_prop": 0.7039159503342884,
"repo_name": "CandleScience/new_spree_avatax",
"id": "b9ca8c4abb70c6101e1cb05642a71b43353ea16c",
... |
<?php
class Google_Service_CloudHealthcare_DeidentifySummary extends Google_Model
{
}
| {
"content_hash": "891b9537809d91d859d67435c209bf24",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 75,
"avg_line_length": 14.666666666666666,
"alnum_prop": 0.8068181818181818,
"repo_name": "phil-davis/core",
"id": "118a0e6c873571e872a58098ef74e637f3d07cef",
"size": "678",... |
<?php
/**
* @see Zend_Cache_Core
*/
require_once 'Zend/Cache/Core.php';
/**
* @package Zend_Cache
* @subpackage Zend_Cache_Frontend
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Ze... | {
"content_hash": "c903ea866d46624abe817d4a2ea65b40",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 95,
"avg_line_length": 29.125,
"alnum_prop": 0.5591661557326794,
"repo_name": "sitengine/sitengine",
"id": "77dcaa4c1ea5c7aa2bfb0f613611a19f786a1c85",
"size": "7230",
"b... |
title: "{{ replace .Name "-" " " | title }}"
linktitle: "{{ replace .Name "-" " " | title }}"
summary:
date: {{ .Date }}
lastmod: {{ .Date }}
draft: false # Is this a draft? true/false
toc: true # Show table of contents? true/false
type: docs # Do not modify.
# Add menu entry to sidebar.
# - Substitute `example` wi... | {
"content_hash": "651de8e6d4009e9fce548fd55e6542e2",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 75,
"avg_line_length": 30.6,
"alnum_prop": 0.6519607843137255,
"repo_name": "chengjun/mywebsite-hugo",
"id": "fce204c384a25825a544e639020a06f00b279e76",
"size": "691",
"b... |
package com.twitter.finagle
import com.twitter.concurrent.Once
import com.twitter.finagle.exp.FinagleScheduler
import com.twitter.finagle.util.DefaultLogger
import com.twitter.util.NonFatal
import java.util.Properties
import java.util.concurrent.atomic.{AtomicBoolean, AtomicReference}
import java.util.logging.Level
/... | {
"content_hash": "216baf578dcbe37a645a19ebe3b9da58",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 89,
"avg_line_length": 29.617021276595743,
"alnum_prop": 0.7040229885057471,
"repo_name": "Krasnyanskiy/finagle",
"id": "d983a90be8f3d6033ea8e3874d5d2df53c6c6b1d",
"size": ... |
/* $Id: tif_print.c,v 1.37 2011/04/10 17:14:09 drolon Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
* Copyright (c) 1991-1997 Silicon Graphics, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is hereby granted without fee, provided
* that ... | {
"content_hash": "36513a040e97d7c0211f80c728187f00",
"timestamp": "",
"source": "github",
"line_count": 642,
"max_line_length": 78,
"avg_line_length": 29.235202492211837,
"alnum_prop": 0.6032820075656667,
"repo_name": "sekys/Carlos",
"id": "016649d558c9f680968926e0d3880ea38dfd3b5a",
"size": "18769"... |
export class AgreementDiscount {
discount: number;
} | {
"content_hash": "6766a5bcefd741a5243c698af6f92956",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 32,
"avg_line_length": 18.666666666666668,
"alnum_prop": 0.75,
"repo_name": "dotnetprofessional/ABusJS",
"id": "3fa18e8990f62f5b28ad6fb4f8c1634a700814f1",
"size": "56",
"b... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Soft... | {
"content_hash": "93218dea082ca6c7b16d9576bda7f689",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 149,
"avg_line_length": 41.68636363636364,
"alnum_prop": 0.6675389815723476,
"repo_name": "LRMPUT/DiamentowyGrant",
"id": "8f431c2e45cc83c7d1b7c27287298842a3b38315",
"size... |
<?php
namespace Atlantis\FileSystem;
use
Atlantis as Atlantis,
Nether as Nether,
League as League,
Aws as Aws;
class AwsBucket {
protected
String $PubKey;
protected
String $PrivKey;
protected
String $Region;
protected
String $Bucket;
protected
String $ACL;
protected
Aws\S3\S3Client $Client;
/////... | {
"content_hash": "f19214fbe4c85876ff912be5053056c3",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 62,
"avg_line_length": 15.204081632653061,
"alnum_prop": 0.6093959731543624,
"repo_name": "bobmagicii/atlantis",
"id": "fb684209eb04387930f74886a14d62f0fcabb966",
"size": "... |
<html lang="en">
<head>
<title>Downloading GCC</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Downloading GCC">
<meta name="generator" content="makeinfo 4.8">
<link title="Top" rel="top" href="#Top">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" t... | {
"content_hash": "ffece079958d4a09dab8a44eaeea60bf",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 226,
"avg_line_length": 51.955555555555556,
"alnum_prop": 0.6278870829769033,
"repo_name": "shaotuanchen/sunflower_exp",
"id": "962715647941e172ab06d38ea338f3412acf51c3",
"... |
package org.apereo.cas.mfa.simple.web.flow;
import org.apereo.cas.authentication.adaptive.UnauthorizedAuthenticationException;
import org.apereo.cas.configuration.model.support.mfa.CasSimpleMultifactorProperties;
import org.apereo.cas.ticket.TransientSessionTicketFactory;
import org.apereo.cas.ticket.registry.TicketRe... | {
"content_hash": "1fa73a3f93c37f8eb685d3634e973556",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 132,
"avg_line_length": 44.83870967741935,
"alnum_prop": 0.766546762589928,
"repo_name": "philliprower/cas",
"id": "8064c0c738f8a83626eb1dab20c645a1451d51b0",
"size": "2780... |
<?php
//twitterの全ログファイルからベースデータへ
date_default_timezone_set('Asia/Tokyo');
$ini_array = parse_ini_file(dirname(__FILE__) . "/../setting.ini");
$handle = new SQLite3($ini_array['sqlite_file']);
var_dump($argv);
$dh = opendir($argv[1]);
while (false !== ($filename = readdir($dh))) {
$files[] = $filename;
}
foreach ... | {
"content_hash": "9e87472fe5eaa71be333b8597161cc1e",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 84,
"avg_line_length": 25.27777777777778,
"alnum_prop": 0.5904761904761905,
"repo_name": "ayziao/niascape",
"id": "175ac4175e87753d663ab6eecb455d4014622132",
"size": "1399"... |
package etcd
import (
"k8s.io/kubernetes/pkg/api/rest"
"k8s.io/kubernetes/pkg/apis/extensions"
metav1 "k8s.io/kubernetes/pkg/apis/meta/v1"
genericapirequest "k8s.io/kubernetes/pkg/genericapiserver/api/request"
"k8s.io/kubernetes/pkg/registry/extensions/daemonset"
"k8s.io/kubernetes/pkg/registry/generic"
gener... | {
"content_hash": "ac5cc3ef59dfa522dc8b82a444ab4d2d",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 135,
"avg_line_length": 34.640625,
"alnum_prop": 0.7645466847090663,
"repo_name": "emaildanwilson/kubernetes",
"id": "df210cab5efb1d7e78a53068cff6dc62620c83d0",
"size": "27... |
<?php
namespace Commentaires\CommentairesBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class CommentairesBundle extends Bundle
{
}
| {
"content_hash": "9725623bc01ae4a21afa715b341ea9bc",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 47,
"avg_line_length": 16,
"alnum_prop": 0.8263888888888888,
"repo_name": "psykoterro/eCommerce_Symfony_3",
"id": "5bc69a27998a930887075e0cf317dcc07ba398bf",
"size": "144",
... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="21dp"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:la... | {
"content_hash": "fbc3c2759da56ef5523dd2969cbcc270",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 72,
"avg_line_length": 34.254901960784316,
"alnum_prop": 0.6445334859759588,
"repo_name": "yh-kim/gachi-android",
"id": "7ac1fb53a1aed678af6adb5b16e2003f1fa401f4",
"size": ... |
(function($){
//feature detection
var hasPlaceholder = 'placeholder' in document.createElement('input');
//sniffy sniff sniff -- just to give extra left padding for the older
//graphics for type=email and type=url
var isOldOpera = $.browser.opera && $.browser.version < 10.5;
$.fn.placeholder = function(... | {
"content_hash": "3460442e371584ed68ae29884e750d4f",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 99,
"avg_line_length": 33.2183908045977,
"alnum_prop": 0.5961937716262976,
"repo_name": "engineer-itpnu/E-Learning",
"id": "a85fcbb32a5509e269edeb98ae5f8c6de0fe898f",
"size... |
package org.semanticweb.elk.matching.inferences;
import java.util.Collections;
import org.semanticweb.elk.matching.conclusions.ConclusionMatchExpressionFactory;
import org.semanticweb.elk.matching.conclusions.SubClassInclusionComposedMatch1;
import org.semanticweb.elk.matching.conclusions.SubClassInclusionComposedM... | {
"content_hash": "b1ac1a0cd759bfd41f1597cb837f9c08",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 105,
"avg_line_length": 28.151898734177216,
"alnum_prop": 0.8066546762589928,
"repo_name": "live-ontologies/elk-reasoner",
"id": "05200396c219bfb0f6820cfe84675982e0c3649d",
... |
/*
* The following is auto-generated. Do not manually edit. See scripts/loops.js.
*/
#include "stdlib/strided/base/nullary/d_as_b.h"
#include "stdlib/strided/base/nullary/macros.h"
#include <stdint.h>
/**
* Applies a nullary callback and assigns results to elements in a strided output array.
*
* @param arrays arr... | {
"content_hash": "9c56bc1c2d61c8bdaeb2df8796084c5e",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 94,
"avg_line_length": 29.893617021276597,
"alnum_prop": 0.6612099644128114,
"repo_name": "stdlib-js/stdlib",
"id": "65b48197f1f3d22d38f7dd81b0e20943667b28d9",
"size": "202... |
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import os
import json
import pytest
from mock import ANY
from ansible.module_utils.network.fortios.fortios import FortiOSHandler
try:
from ansible.modules.network.fortios import fortios_user_device_group
except ImportError:
... | {
"content_hash": "65c589f78cf64cc46338af3fc10d3078",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 142,
"avg_line_length": 34.02463054187192,
"alnum_prop": 0.6525264224699581,
"repo_name": "thaim/ansible",
"id": "c5f79f6c4c98633e5472e6f21dead9a8f0399c97",
"size": "7603"... |
package cz.metacentrum.perun.core.api;
import org.hibernate.search.annotations.Analyze;
import org.hibernate.search.annotations.Field;
import org.hibernate.search.annotations.Indexed;
import org.hibernate.search.annotations.NumericField;
import java.io.Serializable;
/**
* Holder of an attribute. Represents who does... | {
"content_hash": "9924907395a780007b0efcf1e295ca4a",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 125,
"avg_line_length": 20.155844155844157,
"alnum_prop": 0.6881443298969072,
"repo_name": "stavamichal/perun",
"id": "85ff8a8304257087cff24a4abaa427c4e7483b4c",
"size": "1... |
package boltcluster
import (
"log"
"os"
)
// Logger makes able to set Verbosity using the standard logger
type Logger struct {
logger *log.Logger
Verbosity bool
}
func newLogger() *Logger {
return &Logger{logger: log.New(os.Stderr, "Cluster - ", log.LstdFlags), Verbosity: false}
}
// Printf calls l.Output t... | {
"content_hash": "0ae67560289dab29ac162d778f1157c4",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 90,
"avg_line_length": 23.21311475409836,
"alnum_prop": 0.6680790960451978,
"repo_name": "LxDB/boltcluster",
"id": "84a0186faecbc78dd497ef2910d4408aef9c1894",
"size": "1416... |
Displays a backtrace for each query in Rails' development console and log.
Allows you to track down where queries are executed in your application.
Useful for performance optimizations and for finding where to start when making
changes to a large application.
When enabled, every query will be logged like:
```
D, [20... | {
"content_hash": "1e3fd8e01850259b6b2b5c8d8deafb43",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 129,
"avg_line_length": 34.63125,
"alnum_prop": 0.7255008121277747,
"repo_name": "ruckus/active-record-query-trace",
"id": "dce1e378c5afcfe163be23dacee4a2f8de77c385",
"siz... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="Source to the Rust file `src/utils.rs`.">
<meta name="keywords" content="rust, rustlang, r... | {
"content_hash": "b1a3fb6528e73fbfd99cb17422acee32",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 442,
"avg_line_length": 40.67816091954023,
"alnum_prop": 0.5719129697654705,
"repo_name": "lambdastackio/ceph-rust",
"id": "3ebfdc9d1c2e7f4ad3d53a7cd0e92d682931c29c",
"siz... |
require "rails_ext/multi_tenant"
require "archie/model"
require "archie/otp"
class User < ActiveRecord::Base
include Archie::Model
include Archie::OTP::Model
has_and_belongs_to_many :roles, -> { includes :role_permissions }, :join_table => :users_roles
has_many :user_permissions, -> { includes :permissions }... | {
"content_hash": "36f250466488dd849db30d78709a4fab",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 105,
"avg_line_length": 28.2875,
"alnum_prop": 0.652673442333186,
"repo_name": "chetan/bixby-manager",
"id": "a17d83b0b99176c4d64318bd9fbeac6f1318c061",
"size": "5275",
"... |
import React from 'react';
import ReactDOM from 'react-dom';
import {createStore, combineReducers, applyMiddleware} from 'redux';
import {Provider} from 'react-redux';
import './reset.css';
import '../../geovis.css';
import {App} from '../App';
import {attacks} from '../attacks/reducer';
import {controls} from '../c... | {
"content_hash": "e0f221a4423be8e3820234741d9e086e",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 69,
"avg_line_length": 26.625,
"alnum_prop": 0.6889671361502347,
"repo_name": "nkbt/geovis",
"id": "d22ebd45aa0d9321de816f476e0d3306d5469fc9",
"size": "852",
"binary": fa... |
<form class="form-horizontal" role="form" ng-submit="addBook()">
<div ng-include="'bookApp/partials/static_form_book.html'"></div>
</form> | {
"content_hash": "02a7f2644935ca09c173e26cac560eae",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 69,
"avg_line_length": 47.333333333333336,
"alnum_prop": 0.6901408450704225,
"repo_name": "nady/BookDealerApp",
"id": "77de57bbee3eaf187ba806426fa5277c6a056922",
"size": "14... |
(function () {
'use strict';
/*global angular */
/* Services */
// Demonstrate how to register services
// In this case it is a simple value service.
angular.module('myApp.services', []).
value('version', '0.1');
}()); | {
"content_hash": "bb1554448289e57b4ea82febc1da9d5f",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 49,
"avg_line_length": 21.083333333333332,
"alnum_prop": 0.5652173913043478,
"repo_name": "jutley/jutley-co",
"id": "46f514d02f09b649e6e0925cadf337453317f544",
"size": "253... |
package me.chanjar.weixin.cp.tp.service.impl;
/**
* <pre>
* 默认接口实现类,使用apache httpclient实现
* Created by zhenjun cai.
* </pre>
*
* @author zhenjun cai
*/
public class WxCpTpServiceImpl extends WxCpTpServiceApacheHttpClientImpl {
}
| {
"content_hash": "5dea9ae4ff3f2559214115b3f7911e4e",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 74,
"avg_line_length": 19.833333333333332,
"alnum_prop": 0.726890756302521,
"repo_name": "Wechat-Group/WxJava",
"id": "58fb09cf97982bfb992bc7b9f6b09c5c388fb08d",
"size": "2... |
This directory contains [CasperJS](http://casperjs.org) tests that ensure the
stability of the site.
## Installation
Clone this repository anywhere in your project. Ideally, next to the docroot.
The contents of this repository do not need to be available to a web browser.
### OSX - Homebrew
Homebrew will install the... | {
"content_hash": "e7b3750f63f50fc19754763ed4af038b",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 105,
"avg_line_length": 38.80681818181818,
"alnum_prop": 0.763103953147877,
"repo_name": "xuxingbgi/VoyagerTest_CasperJS",
"id": "ba1cea1f43a5ba259476ead823fdc290add70f08",
... |
"Here is some text\n"
| {
"content_hash": "1edf88db20993f4b866a4ddc4179414d",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 21,
"avg_line_length": 22,
"alnum_prop": 0.6818181818181818,
"repo_name": "corinthia/corinthia-editor",
"id": "15b463ab61a1ad32b354ff39ccbb8f93b50489c0",
"size": "22",
"bi... |
'use strict';
import {IDisposable, disposeAll} from 'vs/base/common/lifecycle';
import * as dom from 'vs/base/browser/dom';
import {IPosition} from 'vs/editor/common/editorCommon';
import {Position} from 'vs/editor/common/core/position';
import {ContentWidgetPositionPreference, ICodeEditor, IContentWidget, IContentWi... | {
"content_hash": "215c2b44f235a42b1365759f1becdb39",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 133,
"avg_line_length": 26.32051282051282,
"alnum_prop": 0.7252800779347297,
"repo_name": "alexandrudima/vscode",
"id": "3ba2942af2086bb0799092c6aee6664b142a50cb",
"size": ... |
{-# OPTIONS_GHC -fno-warn-orphans #-}
-- | See @GHC.LanguageExtensions@ for an explanation
-- on why this is needed
module GHC.ForeignSrcLang
( module GHC.ForeignSrcLang.Type
) where
import Data.Binary
import GHC.ForeignSrcLang.Type
instance Binary ForeignSrcLang
| {
"content_hash": "f2612866a8550979bb457520a95e9073",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 52,
"avg_line_length": 22.583333333333332,
"alnum_prop": 0.7638376383763837,
"repo_name": "shlevy/ghc",
"id": "9ca4f04cf71725a7036e4afab715403cddda546c",
"size": "271",
"... |
import * as React from 'react';
import {SvgIconProps} from '../../SvgIcon';
export default function MovieFilter(props: SvgIconProps): React.ReactElement<SvgIconProps>;
| {
"content_hash": "c6f936c5fc10086047f46889ad8e7c17",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 91,
"avg_line_length": 42.25,
"alnum_prop": 0.7633136094674556,
"repo_name": "mattiamanzati/typings-material-ui",
"id": "7f2377b099dde297c70a94fc15e096f2c56c300c",
"size": "... |
Description
===========
Configures various APT components on Debian-like systems. Also includes a LWRP.
Recipes
=======
default
-------
The default recipe runs apt-get update during the Compile Phase of the Chef run to ensure that the system's package cache is updated with the latest. It is recommended that this r... | {
"content_hash": "918c2f38868a3f28329ca748418a8194",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 377,
"avg_line_length": 35.9746835443038,
"alnum_prop": 0.7392681210415201,
"repo_name": "infochimps-away/cluster_chef",
"id": "e9367ff8cf843f75e6fab09de4415701f70235f0",
"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.