text
stringlengths
2
1.04M
meta
dict
module Kaminari # Active Record specific page scope methods implementations module ActiveRecordRelationMethods # Used for page_entry_info def entry_name(options = {}) default = options[:count] == 1 ? model_name.human : model_name.human.pluralize model_name.human(options.reverse_merge(default: de...
{ "content_hash": "fbdd228d7d20d0ba5885cc0c5f338b00", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 160, "avg_line_length": 37.795698924731184, "alnum_prop": 0.6475106685633002, "repo_name": "amatsuda/kaminari", "id": "41337e91188ab475eafb559e5d463666ec0612ca", "size": "3...
/* Linux needs some special initialization, but otherwise uses the generic dynamic linker system interface code. */ #include <string.h> #include <fcntl.h> #include <unistd.h> #include <sys/utsname.h> #include <ldsodefs.h> #include <kernel-features.h> #ifdef SHARED # define DL_SYSDEP_INIT frob_brk () static inl...
{ "content_hash": "a263eb1ecc4ec78a0f291d101d81baa8", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 80, "avg_line_length": 28.036496350364963, "alnum_prop": 0.6040093725592294, "repo_name": "endplay/omniplay", "id": "34e88089286edc2839158c28882268b410ce2fc8", "size": "47...
class CreateStudentIdentifiers < ActiveRecord::Migration def change create_table :student_identifier_types do |t| t.belongs_to :organization, index: true t.string :name, null: false t.string :description, null: false t.integer :content_type, null: false t.datetime :created...
{ "content_hash": "724861acbb3f4af293a0b40f2391a861", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 72, "avg_line_length": 34.964285714285715, "alnum_prop": 0.6629213483146067, "repo_name": "mkcode/classroom", "id": "bf0e751499b4b4fecd5379e1dde3df4a4182dd01", "size": "979...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Bot. Beechey Voy. 362, t. 87. 1839 #### Original name null ### Remarks null
{ "content_hash": "5ecb776333b0b4f51a6ec8aedefdc9e6", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 12.615384615384615, "alnum_prop": 0.6829268292682927, "repo_name": "mdoering/backbone", "id": "bb3927d32ac129f21e2ba492793f0e813ad99d3b", "size": "21...
require 'spec_helper' describe User do before do @random_name = -> { SecureRandom.hex } @valid_attributes = { name: @random_name.call, password: "password", password_confirmation: "password" } end let(:user) { User.create(@valid_attributes) } subject { user } it { should be_valid } it { should re...
{ "content_hash": "150e3292c93de1499c14f409bec6cd94", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 108, "avg_line_length": 24.806451612903224, "alnum_prop": 0.6488946684005201, "repo_name": "stelligent/jonny_test_repo", "id": "45d2c959c0ee01fff56913f5cadc982a0c31c62b", "...
namespace content { class WebContents; } namespace extensions { // Implements the mojo interface of extensions::mojom::LocalFrameHost. // ExtensionWebContentsObserver creates and owns this class and it's destroyed // when WebContents is destroyed. class ExtensionFrameHost : public mojom::LocalFrameHost { public: e...
{ "content_hash": "777c9ab30a285d9c97de1e54c79b92fa", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 79, "avg_line_length": 36.65217391304348, "alnum_prop": 0.7580071174377224, "repo_name": "ric2b/Vivaldi-browser", "id": "9cf2a9466b1b8aef12a96de712a592b606dc203e", "size": ...
"""Defines the base component class from which Landlab components inherit. Base component class methods ++++++++++++++++++++++++++++ .. autosummary:: ~landlab.core.model_component.Component.name ~landlab.core.model_component.Component.from_path ~landlab.core.model_component.Component.unit_agnostic ~l...
{ "content_hash": "f59191ea71ba623fb81cf964de6e8842", "timestamp": "", "source": "github", "line_count": 466, "max_line_length": 148, "avg_line_length": 29.86266094420601, "alnum_prop": 0.541966082207531, "repo_name": "cmshobe/landlab", "id": "d1801b4d8b5fa75b621b43d02a763f92369111f9", "size": "1393...
package com.socrata.soda.external import org.scalatest.{Assertions, FunSuite, MustMatchers} import com.socrata.soql.types._ import com.rojoma.json.v3.ast._ import com.rojoma.json.v3.io.JsonReader import com.vividsolutions.jts.geom._ class JsonColumnRepTest extends FunSuite with MustMatchers with Assertions { test("...
{ "content_hash": "b284bf97c647ba2a386c5877d758ee29", "timestamp": "", "source": "github", "line_count": 196, "max_line_length": 203, "avg_line_length": 46.19387755102041, "alnum_prop": 0.7168102496134305, "repo_name": "socrata-platform/soda-fountain", "id": "ad39c6b32db64a594c9213572c07c1343de4af9c",...
/* $NetBSD: __aeabi_fcmplt.c,v 1.1 2013/04/16 10:37:39 matt Exp $ */ /** @file * * Copyright (c) 2013 - 2014, ARM Limited. All rights reserved. * * This program and the accompanying materials * are licensed and made available under the terms and conditions of the BSD License * which accompanies this distri...
{ "content_hash": "6ee39f0cc4dcb4972fd7911740401950", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 85, "avg_line_length": 28.694444444444443, "alnum_prop": 0.6747337850919651, "repo_name": "MattDevo/edk2", "id": "e5b12cdef2f0195b5fbbe14ff1ef461d0a2103b8", "size": "1033",...
package kube_inventory import ( "context" "time" "github.com/ericchiang/k8s" "github.com/ericchiang/k8s/apis/apps/v1beta1" "github.com/ericchiang/k8s/apis/apps/v1beta2" "github.com/ericchiang/k8s/apis/core/v1" "github.com/influxdata/telegraf/internal/tls" ) type client struct { namespace string timeout t...
{ "content_hash": "951c2117640291553f1c435c5d7f62fb", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 124, "avg_line_length": 29.278350515463917, "alnum_prop": 0.7095070422535211, "repo_name": "Heathland/telegraf", "id": "bf207b0ad46d6ee74be39fee29c4bd6036022be3", "size": "...
bernoulli_django ================
{ "content_hash": "bcb9db33e0cdc3361121ffdf8de14bf0", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 16, "avg_line_length": 17, "alnum_prop": 0.4411764705882353, "repo_name": "bernoulli-metrics/bernoulli_django", "id": "636a3d8f371e1f554346694d2c9f34a3a542c714", "size": "34...
{% extends "wiki/search.html" %} {% block wiki_search_loop %} {% with article.object as article %} {% include "wiki/includes/searchresult.html" %} {% endwith %} {% endblock %}
{ "content_hash": "c738aee858bbd2ff47292b06493e3d33", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 47, "avg_line_length": 22.25, "alnum_prop": 0.651685393258427, "repo_name": "skbly7/serc", "id": "d0f23a8e8c21e8a31679e0b0012356023e905d6c", "size": "178", "binary": false...
#ifndef _EFI_PCI_IO_H #define _EFI_PCI_IO_H // // Global ID for the PCI I/O Protocol // #define EFI_PCI_IO_PROTOCOL_GUID \ { \ 0x4cf5b200, 0x68b8, 0x4ca5, 0x9e, 0xec, 0xb2, 0x3e, 0x3f, 0x50, 0x2, 0x9a \ } EFI_FORWARD_DECLARATION (EFI_PCI_IO_PROTOCOL); // // Prototypes for the PCI I/O Protocol // typedef en...
{ "content_hash": "ddd6ca5c57c2b70e19cdee9fc3651263", "timestamp": "", "source": "github", "line_count": 254, "max_line_length": 177, "avg_line_length": 36.618110236220474, "alnum_prop": 0.5918718417374476, "repo_name": "bitcrystal/edk", "id": "c43f013b12ba4af751dcbdb965d04dddc033a2c6", "size": "101...
import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { AboutComponent } from './index'; @NgModule({ imports: [ RouterModule.forChild([ { path: 'about', component: AboutComponent, }, ]), ], exports: [ RouterModule, ], }) expor...
{ "content_hash": "acc7792aaa48de6efc46f7068ae5f3ff", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 47, "avg_line_length": 17.55, "alnum_prop": 0.5925925925925926, "repo_name": "tarlepp/angular2-firebase-material-demo", "id": "6c29e2b1219409c43321cbee0fd7503893221dc9", "s...
package com.jcwhatever.nucleus.providers.npc.events; import com.jcwhatever.nucleus.providers.npc.INpc; import org.bukkit.event.HandlerList; /** * Called when a new {@link INpc} instance is created. */ public class NpcCreateEvent extends NpcEvent { private static final HandlerList handlers = new HandlerList(...
{ "content_hash": "b6e9268635a85074139a4ecf452af40f", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 66, "avg_line_length": 19.484848484848484, "alnum_prop": 0.656298600311042, "repo_name": "JCThePants/NucleusFramework", "id": "f9bbc0ad7d112b585f57529f9636a0fa85a56fca", "s...
namespace Autofac.Integration.Mvc.Test.Stubs; public abstract class AbstractViewMasterPage : ViewMasterPage { public Dependency Dependency { get; set; } }
{ "content_hash": "096c1138ac069316ae7ebf00722c34b0", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 61, "avg_line_length": 26.666666666666668, "alnum_prop": 0.7875, "repo_name": "autofac/Autofac.Mvc", "id": "cdfb72046ee3464c01008d5c7f1d07401f310954", "size": "308", "bina...
A presentation given at Nature Publishing Group on Nov 13, 2012.
{ "content_hash": "dfe68e9f98e4db3fb368dc4b465b264e", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 64, "avg_line_length": 64, "alnum_prop": 0.8125, "repo_name": "benmiles/clojure-for-rubyists", "id": "af72b774a2f18e0cac7b71613077788991859f82", "size": "88", "binary": fa...
var SaveRelationCommand = function() { this.Extends = SimpleCommand; this.execute = function(note) { //alert("SaveRelationCommand"); try { var mediator = null; //parameter !!! var grid = mediator.grid; var gridView = grid.getGridView(); var originalEntityValues = null; var commandName = Co...
{ "content_hash": "53e1a81b5f36303f08f3ccec1dd20347", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 93, "avg_line_length": 40.04347826086956, "alnum_prop": 0.6264929424538545, "repo_name": "sjamayee/sjamayee", "id": "cd9da5c4272f4107a296282a69262b539287c357", "size": "277...
package com.thoughtworks.go.server.dao; import com.thoughtworks.go.config.GoConfigDao; import com.thoughtworks.go.config.PipelineConfig; import com.thoughtworks.go.domain.*; import com.thoughtworks.go.domain.buildcause.BuildCause; import com.thoughtworks.go.helper.JobInstanceMother; import com.thoughtworks.go.helper...
{ "content_hash": "0366d5556ae54facdc731a98ec03f94e", "timestamp": "", "source": "github", "line_count": 228, "max_line_length": 178, "avg_line_length": 47.473684210526315, "alnum_prop": 0.7363266814486327, "repo_name": "ind9/gocd", "id": "0a3a0f6049dfc37fff3c75d04741027f8c125f63", "size": "11425", ...
<menu 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" tools:context="com.aspose.asposecloudimagingandroid.MainActivity"> <item android:id="@+id/action_settings" android:orderInCa...
{ "content_hash": "4f52a1022bc528c7867c5591ed2ae431", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 70, "avg_line_length": 42.5, "alnum_prop": 0.6894117647058824, "repo_name": "asposeimaging/Aspose_Imaging_Cloud", "id": "f276e2efd3ddfb5176d504e96cb87f2490a71979", "size": ...
package org.mifos.customers.group; import java.util.Date; import org.mifos.customers.CustomerTemplateImpl; import org.mifos.customers.util.helpers.CustomerStatus; /** * use builders instead of templates. */ @Deprecated public class GroupTemplateImpl extends CustomerTemplateImpl implements GroupTemplate { pri...
{ "content_hash": "faa456e1fe7722252e5d1d804bf00cfd", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 90, "avg_line_length": 26.38, "alnum_prop": 0.7179681576952237, "repo_name": "maduhu/head", "id": "cb9df113edf153c1a52204d3160a6a0d427351ad", "size": "2080", "binary": fa...
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <!-- 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...
{ "content_hash": "c30be7f4bf6d6906a6b186054d40e957", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 75, "avg_line_length": 39.48, "alnum_prop": 0.7619047619047619, "repo_name": "zhangdian/solr4.6.0", "id": "5d6252dad937cd435e9abd7ccc28af6779bf96bf", "size": "987", "bina...
var input; var emptyText; function testSettingEmptyStringClearsSubFields(type) { description('Check if input.value="" clears an input with partially-specified value.'); input = document.createElement('input'); input.type = type; document.body.appendChild(input); input.focus(); emptyText = getU...
{ "content_hash": "aaad887170d6dd91eeecc2d250b06197", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 105, "avg_line_length": 36, "alnum_prop": 0.6833333333333333, "repo_name": "Samsung/ChromiumGStreamerBackend", "id": "7db440cd1a92bae553ad8f613ccdb4c1fffaf60c", "size": "72...
#region License // // Copyright Tony Beveridge 2015. All rights reserved. // MIT license applies. // #endregion using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Management; namespace Infra { // Not my creation. // See: http://www.codescratcher.com/windows-f...
{ "content_hash": "d9a3e8a98e36b73061fd6d0d00709b6c", "timestamp": "", "source": "github", "line_count": 407, "max_line_length": 190, "avg_line_length": 35.92137592137592, "alnum_prop": 0.5345417236662107, "repo_name": "afgbeveridge/Quorum", "id": "738e9572874004853b9cb5e0a3a312f12d9167f2", "size": ...
> For quick and/or simple scripts that need _dockerization_ 1. Start with a base image like Debian or Ubuntu. 2. Start a container: `docker run -it -name <name> --hostname <name> debian bash` 3. `apt-get update` 4. `apt-get install <dependencies>` 5. Then run `docker commit` to create an image: e.g. `docker commit <na...
{ "content_hash": "f339200319a395b73d8a25923344f86e", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 93, "avg_line_length": 49, "alnum_prop": 0.7201166180758017, "repo_name": "MichaelMartinez/til", "id": "6b638f889874b0759e3cfb9ba354e619f88d5bc0", "size": "367", "binary":...
function openCancelDialog(node, cancel_url, delete_url, event){ event.stopPropagation(); var btns = {"This":function(){window.location=cancel_url;}, "All":function(){window.location=delete_url}, "Do nothing":function(){$(this).dialog("destroy");}}; dia = $("#delete_dialog").dialog({'buttons':btns, 'modal':true});...
{ "content_hash": "7ffb3bb943bebe335237a94b7bbe2ff5", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 164, "avg_line_length": 38.2962962962963, "alnum_prop": 0.6673114119922631, "repo_name": "michealcarrerweb/LHVent_app", "id": "2f042481042eb7dbfe39f418a3f4077e84ba2bd4", "s...
require "spec_helper" describe Lita::Adapters::Slack::MessageHandler, lita: true do subject { described_class.new(robot, robot_id, data) } before do allow(robot).to receive(:trigger) Lita::Adapters::Slack::RoomCreator.create_room(channel, robot) end let(:robot) { instance_double('Lita::Robot', name: ...
{ "content_hash": "974bd08db2af5f0e761296273e571ea2", "timestamp": "", "source": "github", "line_count": 598, "max_line_length": 120, "avg_line_length": 30.47826086956522, "alnum_prop": 0.4214857895314386, "repo_name": "ajaleelp/lita-slack", "id": "1be64d4e89767dd7b5aee08c90e1ff329c491d15", "size": ...
 #pragma checksum "C:\APPA\Projectos\Proprios\WindowsPhone\WorkOrganizer\WorkOrganizer\WorkOrganizer\WorkOrganizer.Windows\HousesManagementPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "31902D799263541804A96283E3B24A05" //------------------------------------------------------------------------------ // <auto-ge...
{ "content_hash": "196036b600795a3209de2f0a4923dfd8", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 224, "avg_line_length": 57.3, "alnum_prop": 0.6736474694589878, "repo_name": "appa-programming/WorkOrganizer", "id": "bcf2f1856dad05ea5206227be4dc6f4670a78412", "size": "28...
package io.druid.query.extraction; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Sets; import org.junit.Assert; import org.junit.Test; import java.util.Arrays; import java.util.Collections; import java.util.Map; public class MapLookupExtractorTest { private final Map lookupMap ...
{ "content_hash": "bf2c259b2179406a192bbf37712cef08", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 114, "avg_line_length": 36.58441558441559, "alnum_prop": 0.7121050763223287, "repo_name": "taochaoqiang/druid", "id": "870812dcac4b3f22fdce77c61d894d381b12d4dd", "size": "3...
package org.gobiiproject.gobiiclient.dtorequests.dbops.crud; import org.apache.commons.lang.StringUtils; import org.gobiiproject.gobiiapimodel.hateos.Link; import org.gobiiproject.gobiiapimodel.hateos.LinkCollection; import org.gobiiproject.gobiiapimodel.payload.PayloadEnvelope; import org.gobiiproject.gobiiapimodel....
{ "content_hash": "3b45fa913e07943e40a228d7d6f407f6", "timestamp": "", "source": "github", "line_count": 264, "max_line_length": 148, "avg_line_length": 52.13636363636363, "alnum_prop": 0.7467306015693113, "repo_name": "gobiiproject/GOBii-System", "id": "cd0b5f47f72b80268263f23d6b3bb0c1b2464729", "s...
<!DOCTYPE html> <html lang="en-us"> <head> <title> Development &middot; Lee&#39;s Blog </title> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> <meta name="generator" content="Hugo 0.40.1" /> <script s...
{ "content_hash": "c346a5907183d825bd766e22e97c471e", "timestamp": "", "source": "github", "line_count": 134, "max_line_length": 426, "avg_line_length": 36.17164179104478, "alnum_prop": 0.6655663296884671, "repo_name": "phuclb1/phuclb1.github.io", "id": "3b45ed9d3d5e889d5b605b847b7216b791ec0c05", "s...
<?php declare(strict_types=1); namespace Monolog\Formatter; use Monolog\Logger; class LogstashFormatterTest extends \PHPUnit\Framework\TestCase { public function tearDown() { \PHPUnit\Framework\Error\Warning::$enabled = true; return parent::tearDown(); } /** * @covers Monolog...
{ "content_hash": "b9b96ffa336c571d7138e4b400f5dce2", "timestamp": "", "source": "github", "line_count": 180, "max_line_length": 107, "avg_line_length": 34.00555555555555, "alnum_prop": 0.5317758536186897, "repo_name": "localheinz/monolog", "id": "5d0374bc9b028a246887f4fbcc46fd7951251d32", "size": "...
package br.com.six2six.fixturefactory.model; import java.io.Serializable; public class Address implements Serializable { private static final long serialVersionUID = -157590924427802878L; private Long id; private String street; private City city; private String state; private String country; pri...
{ "content_hash": "a37dd85c32a8350474d93d5fba0d4ea3", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 148, "avg_line_length": 21.736842105263158, "alnum_prop": 0.6529459241323649, "repo_name": "six2six/fixture-factory", "id": "ccd964350a2a142f193c19507ddcb0a25a4102d7", "siz...
/** @file * @brief I2S bus (SSP) driver for Intel CAVS. * * Limitations: * - DMA is used in simple single block transfer mode (with linked list * enabled) and "interrupt on full transfer completion" mode. */ #include <errno.h> #include <string.h> #include <misc/__assert.h> #include <kernel.h> #include <devic...
{ "content_hash": "0989d95f4950de8caf7cb6197cf8875f", "timestamp": "", "source": "github", "line_count": 795, "max_line_length": 78, "avg_line_length": 24.81006289308176, "alnum_prop": 0.6577266274589333, "repo_name": "kraj/zephyr", "id": "58b18e1238682ab4bdd69c2015f67069f035132b", "size": "19812", ...
<?php namespace Ecommerce\UserBundle\Controller; use Ecommerce\FrontendBundle\Controller\CustomController; use Ecommerce\UserBundle\Entity\RecoverPassword; use Ecommerce\UserBundle\Entity\User; use Ecommerce\UserBundle\Event\UserEvent; use Ecommerce\UserBundle\Event\UserEvents; use Ecommerce\UserBundle\Form\Type\Reco...
{ "content_hash": "4da63cc810aa94ff283070154c5a7b41", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 221, "avg_line_length": 41.483870967741936, "alnum_prop": 0.6121047174701918, "repo_name": "mancas/cartujano", "id": "aa6e78e42959879853612cfa7c335ad2b4561902", "size": "7...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
{ "content_hash": "834cb027d62bdc33f4a4073a28a700b4", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 151, "avg_line_length": 35.333333333333336, "alnum_prop": 0.5792452830188679, "repo_name": "corytodd/porty", "id": "7de8d17fa1b7f7d9e0514d1c33e153a51f4cd4a2", "size": "1062...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE590_Free_Memory_Not_on_Heap__delete_array_int_alloca_64a.cpp Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete_array.label.xml Template File: sources-sink-64a.tmpl.cpp */ /* * @description * CWE: 590 Free Memory Not on Heap * BadSource: alloca Data...
{ "content_hash": "518ca8644b6f36d93a3b9e45c5ddc34c", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 120, "avg_line_length": 24.844036697247706, "alnum_prop": 0.5915805022156573, "repo_name": "maurer/tiamat", "id": "71f4519dd621ead5db104c5aa626f7e55970ff10", "size": "2708...
<!doctype html> <html class="no-js" lang="en" ng-app> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Welcome to snake</title> <link rel="stylesheet" href="/foundation-5.5.2/css/foundation.css" /> <link rel="stylesheet" href="/founda...
{ "content_hash": "337795b6553e5d6a9defca6fe8105efe", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 76, "avg_line_length": 32.916666666666664, "alnum_prop": 0.6291139240506329, "repo_name": "JohannesSanders/Snake-Angular-Laravel", "id": "dce8890f34533792d773a0328fad1d1eebca...
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
{ "content_hash": "25c26bab41efa7dcd8804b353ed019d2", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 182, "avg_line_length": 51.125, "alnum_prop": 0.7543898644143143, "repo_name": "googleapis/google-api-java-client-services", "id": "79a837de8fddf10fb8be5f36e154a473626874e9",...
package com.opengamma.engine.marketdata; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.opengamma.engine.ComputationTarget; import com.opengamma.engine.Compu...
{ "content_hash": "b8650f0e6f48b4af9b1e05fce65a1014", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 191, "avg_line_length": 42.17355371900826, "alnum_prop": 0.7519106407995297, "repo_name": "nssales/OG-Platform", "id": "b2b817dd4cce7f2ab1e92dfbe68201df3a5edea4", "size": ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "db9ef1e89a1e337d2a907e4a3f11320f", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "3f4a682acb340f3d66f682c88c6a06440c9d532d", "size": "182...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CloudStorageReaderSettingsTest.cs" company="Naos Project"> // Copyright (c) Naos Project 2019. All rights reserved. // </copyright> // -----------------------------------------...
{ "content_hash": "7e3a85e1c101fbe0cb8b8f6217ea7040", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 233, "avg_line_length": 45.64705882352941, "alnum_prop": 0.6623711340206185, "repo_name": "NaosProject/Naos.AWS", "id": "2fbea5be180fa43197531ee4bc155763117ba9e3", "size": ...
BarbaServerConnection::BarbaServerConnection(BarbaServerConfig* config, u_long clientVirtualIp, u_long clientIp) : BarbaConnection(config) { ClientVirtualIp = clientVirtualIp; ClientIp = clientIp; } BarbaServerConnection::~BarbaServerConnection() { } void BarbaServerConnection::ReportNewConnection() { std::tstrin...
{ "content_hash": "b656b6b03c21212e8d9f618fcb45cacc", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 248, "avg_line_length": 48.63636363636363, "alnum_prop": 0.7542056074766356, "repo_name": "BarbaTunnelCoder/BarbaTunnel", "id": "73619f5ed35afa209386917e95b09b5fa439d551", ...
using NMF.Collections.Generic; using NMF.Collections.ObjectModel; using NMF.Expressions; using NMF.Expressions.Linq; using NMF.Models; using NMF.Models.Collections; using NMF.Models.Expressions; using NMF.Models.Meta; using NMF.Models.Repository; using NMF.Serialization; using NMF.Utilities; using System; using System....
{ "content_hash": "a93bdeeab746adcb18e02cb2f20bffbc", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 111, "avg_line_length": 34.31884057971015, "alnum_prop": 0.7369087837837838, "repo_name": "georghinkel/ttc2017smartGrids", "id": "c96a42ac7e9f55385d89961ae1df07d621acfade", ...
package org.gmod.gbol.simpleObject.generated; import org.gmod.gbol.simpleObject.*; /** * StockPublication generated by hbm2java */ public abstract class AbstractStockPublication extends AbstractSimpleObject implements java.io.Serializable { private Integer stockPublicationId; private Publication publ...
{ "content_hash": "c3a203cec7803fbbae826244c5526ae0", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 196, "avg_line_length": 29.493506493506494, "alnum_prop": 0.6613826508146191, "repo_name": "nathandunn/GBOL", "id": "8a27d0a0e21fcf806c0e8ddd81080e763d8d86d5", "size": "227...
/** * Returns a Vows topic function, which will return * a MockWritableStream, a fake Writable Stream. * * Implements writeHead, like a http.ServerResponse. * Only the (status, headers) signature is implemented. * * Verify with these instance variables: * * - $store: Written data, from write * - $status: H...
{ "content_hash": "bb6b90e11690253612f922579f51dd04", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 65, "avg_line_length": 25.46153846153846, "alnum_prop": 0.5324773413897281, "repo_name": "reid/onyx", "id": "f9c484acf8b50146211e274b49846e9deb72c353", "size": "1408", "b...
package zipopenfs import ( "io" "os" "sync" "time" "golang.org/x/tools/godoc/vfs" ) // ReadSeekerAt is a simple wrapper around a ReadSeeker to make it // a ReaderAt. Note that using this canibalizes the seeking behavior of // the underlying io.ReadSeeker, so it should not be used again type ReadSeekerAt struct ...
{ "content_hash": "eeb9d78c06841e5f9959e41386a11289", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 88, "avg_line_length": 25.229007633587788, "alnum_prop": 0.7246596066565809, "repo_name": "allanlw/zipserve", "id": "6c17e7ff3cc64e68b9c6fcc2c0e73996d2a10668", "size": "33...
<?php namespace Admin\Entity; use Doctrine\ORM\Mapping as ORM; /** * TrUsuarioPerfilRecurso * * @ORM\Table(name="tr_usuario_perfil_recurso", indexes={@ORM\Index(name="IDX_E85C0CBE7AC04DB2", columns={"seq_perfil"}), @ORM\Index(name="IDX_E85C0CBE7F8094CC", columns={"seq_recurso"}), @ORM\Index(name="IDX_E85C0CBEEF5E...
{ "content_hash": "4da8d7129b45aa3740d5e76349b7ed11", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 254, "avg_line_length": 22.229357798165136, "alnum_prop": 0.5889393314073462, "repo_name": "darlanmdantas/adesam", "id": "b693261ded19661119a7e0b2abd2665bfda1f3a1", "size"...
package org.onosproject.net.packet; import static com.google.common.base.Preconditions.checkArgument; /** * Abstraction of an inbound packet processor. */ public interface PacketProcessor { int ADVISOR_MAX = Integer.MAX_VALUE / 3; int DIRECTOR_MAX = (Integer.MAX_VALUE / 3) * 2; int OBSERVER_MAX = Inte...
{ "content_hash": "18548779e91ab87f09259d5474bb9dcb", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 106, "avg_line_length": 36.17391304347826, "alnum_prop": 0.6618589743589743, "repo_name": "gkatsikas/onos", "id": "577e7a86bde6a67b9486bbe8dab166f2b185d475", "size": "3113"...
package org.kie.wb.test.rest.security; import org.guvnor.rest.client.Space; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.kie.wb.test.rest.AccessRestTestBase; import org.kie.wb.test.rest.User; @RunWith(Parameterized.class) public class SpaceAccessIntegrat...
{ "content_hash": "9d671317c73f670950a1ebf46b7c110d", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 68, "avg_line_length": 24.3265306122449, "alnum_prop": 0.6703020134228188, "repo_name": "jomarko/kie-wb-distributions", "id": "c1fafb149678ecbb303cd8cbe5dc065c8a3e3f6b", "s...
'use strict'; var webdriver = require('selenium-webdriver'); describe('docs.angularjs.org', function() { beforeEach(function() { // read and clear logs from previous tests browser.manage().logs().get('browser'); }); afterEach(function() { // verify that there were no console errors in the browser...
{ "content_hash": "ba7901b32b9894860fbae064d28c1cb1", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 123, "avg_line_length": 33.51162790697674, "alnum_prop": 0.6401804302567662, "repo_name": "kylewuolle/angular.js", "id": "4bacb00de97ac302fcfd1284477ea08593b58c1d", "size":...
<?xml version="1.0"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.google.firebase.auth.module"> <uses-sdk android:minSdkVersion="9"/> </manifest>
{ "content_hash": "3f2b43dc53e1462e3e38333dc87a1bdc", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 111, "avg_line_length": 37.8, "alnum_prop": 0.7195767195767195, "repo_name": "lucasvss/CallRangers", "id": "246f1cf64fa40f326ddab8c6906b4d5ce859bbd4", "size": "189", "bina...
void xftpclient::SuperControl::Get (Tokenizer & optns) { using std::tr1::shared_ptr; using namespace std; using namespace xftp; using namespace boost::lambda; auto_ptr<string> path; // Select first nonempty string as name of file to be retrieved Tokenizer::iterator i = find_if (optns.begin (), optns.end (...
{ "content_hash": "ad6c2c569640e463ae2bd3d24099e39f", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 77, "avg_line_length": 34.63291139240506, "alnum_prop": 0.6948099415204678, "repo_name": "maciek-27/Rgp", "id": "f2dcf348d3f566416edb39a5726dcd276db9879f", "size": "2981", ...
using namespace std; using namespace boost; using namespace boost::assign; using namespace json_spirit; void ScriptPubKeyToJSON(const CScript& scriptPubKey, Object& out, bool fIncludeHex) { txnouttype type; vector<CTxDestination> addresses; int nRequired; out.push_back(Pair("asm", scriptPubKey.ToStrin...
{ "content_hash": "c8bfc3ee6bb8d5be36fe21f5dca8d84c", "timestamp": "", "source": "github", "line_count": 548, "max_line_length": 143, "avg_line_length": 36.13503649635037, "alnum_prop": 0.6016058983941016, "repo_name": "elco-coin/elcoin-source", "id": "c6da401c60cec947569303959169f552947a3108", "siz...
<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/g_green_btn_pressed" android:state_pressed="true"></item> <item android:drawable="@drawable/register_right_top_btn_disable" android:state_enabled="false"></item> ...
{ "content_hash": "42526b6ad614cb7ef28a48983c610cd3", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 107, "avg_line_length": 51.25, "alnum_prop": 0.7146341463414634, "repo_name": "leiming19877/nim_demo", "id": "ea943e647e25e84e85102e7c89462c03f0fb22b1", "size": "410", "bi...
<!-- Copyright 2005-2014 The Kuali Foundation Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php Unless r...
{ "content_hash": "e5c4aaa4f18440144156570c646cad46", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 283, "avg_line_length": 68.6788990825688, "alnum_prop": 0.7135987176061982, "repo_name": "mztaylor/rice-git", "id": "8900414be246f4143c2dec58c55103ec23d73511", "size": "74...
using pb = global::Google.ProtocolBuffers; using pbc = global::Google.ProtocolBuffers.Collections; using pbd = global::Google.ProtocolBuffers.Descriptors; using scg = global::System.Collections.Generic; namespace Google.ProtocolBuffers.TestProtos { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] publ...
{ "content_hash": "757fc5e1d0caeb3963dfe434d9bcd3b3", "timestamp": "", "source": "github", "line_count": 2258, "max_line_length": 311, "avg_line_length": 40.391939769707704, "alnum_prop": 0.6418069184803464, "repo_name": "igorgatis/protobuf-csharp-port", "id": "8505c8f3c2d1b92def6cee44c06c4a2dd8a5e12c...
var cdb = require('cartodb.js-v3'); var BaseDialog = require('../../views/base_dialog/view'); var ViewFactory = require('../../view_factory'); var randomQuote = require('../../view_helpers/random_quote'); /** * Create a vis from a dataset, required for some contexts to have a vis before be able to carry out next task...
{ "content_hash": "4c21a9daac1eaf4783c00cde24ba37cb", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 110, "avg_line_length": 24.263157894736842, "alnum_prop": 0.591648590021692, "repo_name": "codeandtheory/cartodb", "id": "0faed80b66da8e978bb63c67eb0467230aad3904", "size":...
from toontown.parties import PartyGlobals from toontown.parties.DistributedPartyDanceActivityBase import DistributedPartyDanceActivityBase from toontown.toonbase import TTLocalizer class DistributedPartyValentineDanceActivity(DistributedPartyDanceActivityBase): notify = directNotify.newCategory('DistributedPartyVa...
{ "content_hash": "5b9e607be8c7b8ed2fd96a9f1c898b58", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 197, "avg_line_length": 46.629629629629626, "alnum_prop": 0.727561556791104, "repo_name": "ToontownUprising/src", "id": "d61d5e40f0b8a9954ba1d8295be46bca633ef8da", "size": ...
package com.capitalone.dashboard.datafactory.jira.sdk.connector; import com.capitalone.dashboard.datafactory.jira.sdk.util.SystemInfo; import com.google.api.client.http.GenericUrl; import com.google.api.client.http.HttpHeaders; import com.google.api.client.http.HttpRequest; import com.google.api.client.http.HttpReques...
{ "content_hash": "69f3d6aaee65850b71a5669432b8d2fe", "timestamp": "", "source": "github", "line_count": 191, "max_line_length": 137, "avg_line_length": 35.50785340314136, "alnum_prop": 0.7391624889413152, "repo_name": "jimzucker/hygieia-temp", "id": "0171f7ff797e54c643a075641c1a1c5537312c3a", "size...
"use strict"; var PostsController = require('../../../controllers').PostsController exports.addRoutes = function(app) { app.post( '/v1/posts', PostsController.create) app.get( '/v1/posts/:postId', PostsController.show) app.put( '/v1/posts/:postId', PostsController.update) app...
{ "content_hash": "782f8fedf060bd78276dc960cb7f6d97", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 69, "avg_line_length": 45.642857142857146, "alnum_prop": 0.6635367762128326, "repo_name": "pepyatka/pepyatka-server", "id": "cba996b8575a93d85389b484d85a90933838df04", "siz...
using GenFx.Validation; using System; using System.IO; using System.Runtime.Serialization; using Xunit; namespace GenFx.Tests { /// <summary> /// Contains unit tests for the <see cref="ValidationException"/> class. /// </summary> public class ValidationExceptionTest { /// <summary> ...
{ "content_hash": "06f12974c102215aa6196959a70b7bf7", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 104, "avg_line_length": 33.21568627450981, "alnum_prop": 0.6162927981109799, "repo_name": "mthalman/GenFx", "id": "df6788cfc630e77ddcefdeb323a2dd034538dc59", "size": "1696"...
package com.artificial.cachereader.wrappers.rt4.loaders; import com.artificial.cachereader.fs.Archive; import com.artificial.cachereader.fs.CacheType; import com.artificial.cachereader.fs.FileData; import com.artificial.cachereader.fs.RT4CacheSystem; import com.artificial.cachereader.meta.ArchiveMeta; import com.artif...
{ "content_hash": "26bc389d201404775d99448be846288a", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 102, "avg_line_length": 35.53846153846154, "alnum_prop": 0.6735930735930736, "repo_name": "ArtificialPB/DevelopmentKit", "id": "f39a8d45691fee88a5e1d7702df35d603b6fbb5b", "...
package org.mindinformatics.gwt.domeo.model; import java.util.Date; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.core.client.JsArray; import com.google.gwt.i18n.client.DateTimeFormat; /** * @author Paolo Ciccarese <paolo.ciccarese@gmail.com> */ public class JsoAnnotation extends JavaSc...
{ "content_hash": "3e88de4205d62051688c0597032d8f07", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 88, "avg_line_length": 34.36585365853659, "alnum_prop": 0.7224982256919801, "repo_name": "domeo/DomeoClient", "id": "323777831417b38934e982345506b7ba85d591a4", "size": "140...
namespace aura { namespace client { class AURA_EXPORT DragDropClientObserver { public: // Called when dragging started. virtual void OnDragStarted() = 0; // Called when dragging ended. virtual void OnDragEnded() = 0; #if defined(OS_CHROMEOS) // Called when the set of currently selected drag operation chan...
{ "content_hash": "d95cc567aad4a66eb01d9696c6841ac6", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 80, "avg_line_length": 28.48148148148148, "alnum_prop": 0.7386215864759428, "repo_name": "endlessm/chromium-browser", "id": "aca9bda44bc32e524b7efece67be75d0fc0a4891", "siz...
// // detail/resolve_op.hpp // ~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef ASIO_DETAIL_RESOL...
{ "content_hash": "e18a9c5379d0b1669e7cebd2262a4624", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 79, "avg_line_length": 31.51127819548872, "alnum_prop": 0.6544977332378907, "repo_name": "letitvi/VideoGridPlayer", "id": "0f250b44cf3aba6899bbb8fa034070d03ba876c6", "size...
const { Emitter, CompositeDisposable } = require('atom'); const Unsupported = 'unsupported'; const Idle = 'idle'; const CheckingForUpdate = 'checking'; const DownloadingUpdate = 'downloading'; const UpdateAvailableToInstall = 'update-available'; const UpToDate = 'no-update-available'; const ErrorState = 'error'; let ...
{ "content_hash": "e05e3156b4776e9a6affb9935448e0d6", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 97, "avg_line_length": 25.509933774834437, "alnum_prop": 0.676791277258567, "repo_name": "atom/atom", "id": "eb30ce4d373822e8c1fd5bfc9dae6b7cc26ec048", "size": "3852", "...
""" This module provides a hook which generates a cucumber json result file at the end of the run. """ from getpass import getuser from socket import gethostname from datetime import timedelta import re import json import logging from radish.terrain import world from radish.hookregistry import after from radish.e...
{ "content_hash": "db0dfefc942972482d34fe87cf6ff410", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 117, "avg_line_length": 39.205882352941174, "alnum_prop": 0.5358839709927482, "repo_name": "SamuelYvon/radish", "id": "ccd2b452457831ac935fa9fb440df4dc43a4416a", "size": "...
@interface UIView (BZSize) @property(nonatomic) CGFloat bzLeft; @property(nonatomic) CGFloat bzTop; @property(nonatomic) CGFloat bzRight; @property(nonatomic) CGFloat bzBottom; @property(nonatomic) CGPoint bzOrigin; @end @interface UIView (BZRelativeLayout) typedef NS_ENUM(NSInteger, BZRelativeRule){ //Must s...
{ "content_hash": "6ae63e8a88919cc8209ab25dd27517ee", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 90, "avg_line_length": 25.614035087719298, "alnum_prop": 0.7719178082191781, "repo_name": "CBillZhang/BZRelativeLayout", "id": "0708215d01dd914db2f5d20555d047e70894d338", "...
// Generated by CoffeeScript 1.7.1 /* Sort integers from the command line in a very ridiculous way: leveraging timeouts :P */ (function() { var args, int, sortedCount, system, _i, _len; system = require('system'); if (system.args.length < 2) { console.log("Usage: phantomjs sleepsort.coffee PUT YOUR INTEG...
{ "content_hash": "3ec98ef8d4438d40f357c059856d8d82", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 96, "avg_line_length": 25.09375, "alnum_prop": 0.5691158156911582, "repo_name": "bbuchsbaum/psycloud", "id": "bd888394468f78b32ac1a2c829c233eede4d956e", "size": "803", "b...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>CBError.CBClickError</title> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/ja...
{ "content_hash": "b7c61e936010584ef51dd3e1422eff49", "timestamp": "", "source": "github", "line_count": 459, "max_line_length": 191, "avg_line_length": 50.58605664488017, "alnum_prop": 0.40798484000172275, "repo_name": "morris-james/googleplaylibrary", "id": "c2734fb21c71b7a441a815f301ed03bce644295f"...
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!-- ! @(#)gHMBCAD.xml 1.1 05/28/07 ! --> <template type="basic" name="gHMBCAD" author="chempack" investigator="" time_created="20070528T084437" apptype="Common" application="liquids" scans="gHMBCAD" seqfil="gHMBCAD"> <protocol title="gHMBCAD"...
{ "content_hash": "6ca7585cfabcfdd39151384fb0f76ba0", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 79, "avg_line_length": 38.46153846153846, "alnum_prop": 0.642, "repo_name": "OpenVnmrJ/OpenVnmrJ", "id": "1aae85972cebe4f2272df84d1e2c4798a933e4fb", "size": "500", "binar...
package org.onosproject.net.flow.impl; import com.google.common.collect.ImmutableList; import com.google.common.collect.LinkedListMultimap; import com.google.common.collect.Multimap; import com.google.common.collect.Sets; import org.onosproject.core.ApplicationId; import org.onosproject.mastership.MastershipService...
{ "content_hash": "0bdc7f53596ed283ecb8d76ade7d3b73", "timestamp": "", "source": "github", "line_count": 218, "max_line_length": 113, "avg_line_length": 38.53211009174312, "alnum_prop": 0.6834523809523809, "repo_name": "sdnwiselab/onos", "id": "c4dc8833ad656ca331993732a5cf5b8e66269604", "size": "901...
#include <iostream> #include <string> #include <gazeapi.h> #include<stdlib.h> #include<stdio.h> #include <dos.h> #include <math.h> #include <conio.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include "graphics.h" #define ESC 0x1b /* Define the escape key */ #define TRUE...
{ "content_hash": "b16cf1076b51bbd274160f287a3738f2", "timestamp": "", "source": "github", "line_count": 194, "max_line_length": 151, "avg_line_length": 30.11855670103093, "alnum_prop": 0.5646072223173028, "repo_name": "vijayrajanna/Live_Tracking_Eye_Tribe", "id": "b9ea4ff63ae14d28a9c05a37f2ae9b82b203...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DDay.iCal { public class FreeBusyEntry : Period, IFreeBusyEntry { #region Private Fields FreeBusyStatus _Status; #endregion #region Constructors ...
{ "content_hash": "27a518df9d9175da22ba2a49f2493193", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 76, "avg_line_length": 20.316666666666666, "alnum_prop": 0.49302707136997537, "repo_name": "nachocove/DDay-iCal-Xamarin", "id": "a0bc683e0235ad6bd837453dba236e95274e3fb5", ...
require 'logger' require 'ostruct' require 'socket' require 'pp' require 'tempfile' require 'uri' require 'uuid' require 'diffy' require 'hashie' require 'roadworker/string-ext' require 'roadworker/struct-ext' require 'roadworker/route53-ext' require 'roadworker/version' require 'roadworker/log' require 'roadworker/u...
{ "content_hash": "4367a491af28e6f5815491c5d62e95b9", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 41, "avg_line_length": 23.571428571428573, "alnum_prop": 0.8045454545454546, "repo_name": "winebarrel/roadworker", "id": "e9d7fc4d07e69f066279513e6cb1b39abf6fa69e", "size":...
package com.spun.util; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.PrintStream; public class DualOutputStream extends OutputStream { private FileOutputStream o; private PrintStream display = System.out; /******************************************...
{ "content_hash": "e9eb612d22cb9b99a8c76a70732396cf", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 81, "avg_line_length": 23.581632653061224, "alnum_prop": 0.42016443098225875, "repo_name": "bhagatsingh/ApprovalTests.Java.Maven", "id": "f254e91c179626625a7a84bb3933fdc0f9ff...
namespace swift { class SILDebugScope; class SILBuilder { friend class SILBuilderWithScope; SILFunction &F; /// If this is non-null, the instruction is inserted in the specified /// basic block, at the specified InsertPt. If null, created instructions /// are not auto-inserted. SILBasicBlock *BB; SILB...
{ "content_hash": "86d6b05889bc4f6fecd8f6a16a37432b", "timestamp": "", "source": "github", "line_count": 1484, "max_line_length": 80, "avg_line_length": 43.44137466307278, "alnum_prop": 0.6185180014581103, "repo_name": "dduan/swift", "id": "58c5e6e5f5942624756fd5b5eebc390afa271391", "size": "65224",...
"use strict"; (function (root) { // Global variables var verbose = false; var maxIterations = 0x3FFFFFFF; var testTime = 3000; var preTestIterations = 1000; var checkOptimization = true; // Allow Native Syntax var isOptimized; if (typeof process !== 'undefined' && typeof pr...
{ "content_hash": "86253edbe182a16ec9b72e3fa1ee02c7", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 121, "avg_line_length": 33.10434782608696, "alnum_prop": 0.552140793275545, "repo_name": "todojs/BenchmarkJS", "id": "96fbbb295c0a21d4257510d5896a01f3e7f8e093", "size": "3...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.SqlClient; namespace TransactionalNodeService { public partial class MapTransaction { private interface IQueryBuilder { void AddParameter(string parameterName, object parameterVal...
{ "content_hash": "a633f2cd6e809a1736386a58a36f5a6c", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 75, "avg_line_length": 24.055555555555557, "alnum_prop": 0.6859122401847575, "repo_name": "chris-tomich/Glyma", "id": "2e6a28f9c2c629ad362d4e3ef5c16aefad548651", "size": "4...
<?php namespace AppBundle\Repository; /** * PcRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class PcRepository extends \Doctrine\ORM\EntityRepository { }
{ "content_hash": "ea06ba2fecc0fe08a60544e049a0dd61", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 68, "avg_line_length": 17.46153846153846, "alnum_prop": 0.7444933920704846, "repo_name": "zneel/gestion-materiel", "id": "4753a5c824731b5a4b4347e81427bd03f46c38e1", "size":...
import os import sys _SCRIPT_DIR = os.path.realpath(os.path.dirname(__file__)) _CHROME_SOURCE = os.path.realpath( os.path.join(_SCRIPT_DIR, *[os.path.pardir] * 6)) sys.path.append(os.path.join(_CHROME_SOURCE, 'build/android/gyp')) import argparse import json from util import build_utils def process_emoticon_dat...
{ "content_hash": "1b1e891ceef575c4e9ca881fe67f0f8d", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 68, "avg_line_length": 28.49230769230769, "alnum_prop": 0.5680345572354212, "repo_name": "scheib/chromium", "id": "0848a76f02557185d5c72dabe64f26b8f9badfac", "size": "2015"...
package org.apache.hadoop.yarn.server.resourcemanager.scheduler; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeSet; import java.util.con...
{ "content_hash": "68033de23759038f761cb634c2680cb1", "timestamp": "", "source": "github", "line_count": 461, "max_line_length": 88, "avg_line_length": 35.049891540130155, "alnum_prop": 0.7095556380740191, "repo_name": "mix/hadoop", "id": "22476d8d97ac242b399d28ad7c542f890c1fc782", "size": "16964", ...
EXPORT_SYMBOL_GPL(shmem_truncate_range); EXPORT_SYMBOL_GPL(shmem_truncate_range); EXPORT_SYMBOL_GPL(shmem_file_setup); EXPORT_SYMBOL_GPL(shmem_file_setup_with_mnt); EXPORT_SYMBOL_GPL(shmem_read_mapping_page_gfp); \n static unsigned long shmem_default_max_blocks(void) static unsigned long shmem_default_max_inodes(void) ...
{ "content_hash": "799b611299983a3310209fe1feac8515", "timestamp": "", "source": "github", "line_count": 269, "max_line_length": 191, "avg_line_length": 53.89591078066915, "alnum_prop": 0.7332735549730998, "repo_name": "liker12134/my-kernel-dev-environment", "id": "a5dd71b4a6b4f257ea6775a2e4839d3e41a2...
package com.tests; import java.io.File; import java.io.FileReader; import java.util.ArrayList; import java.util.List; import java.util.Properties; import org.testng.annotations.AfterSuite; import org.testng.annotations.BeforeTest; import com.tests.logic.ApplicationManager; import com.tests.logic1.ApplicationManager1...
{ "content_hash": "26cf6ab75c9d04dab8250977880c4a2c", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 80, "avg_line_length": 25.51851851851852, "alnum_prop": 0.7104499274310595, "repo_name": "makarkina/JavaForTesters", "id": "cdb4844859fca383f916478c991c739f56ebb054", "size...
package com.shejiaomao.weibo.db; import java.util.Date; import java.util.List; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.cattong.commons.ServiceProvider; import com.cattong.commons.util.St...
{ "content_hash": "06be6d9460bdc29a53be9af3015d7358", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 115, "avg_line_length": 33.486338797814206, "alnum_prop": 0.7087140992167101, "repo_name": "cattong/YiBo", "id": "d14696bfae8151ed6f76ce4e22c3fbf8ec7c64fe", "size": "6128"...
package edu.uncc.parsets.data; import java.io.FileOutputStream; import java.io.OutputStreamWriter; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Types; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; ...
{ "content_hash": "e463b0d71b1d60ba8ea1bf303b28c15d", "timestamp": "", "source": "github", "line_count": 228, "max_line_length": 270, "avg_line_length": 37.280701754385966, "alnum_prop": 0.6809411764705883, "repo_name": "dvonpasecky/parsets", "id": "b3cee7ea756e8b3ab99a56f1b55ce5277c8d3548", "size":...
package msgraph // GiphyRatingType undocumented type GiphyRatingType string const ( // GiphyRatingTypeVStrict undocumented GiphyRatingTypeVStrict GiphyRatingType = "strict" // GiphyRatingTypeVModerate undocumented GiphyRatingTypeVModerate GiphyRatingType = "moderate" // GiphyRatingTypeVUnknownFutureValue undocum...
{ "content_hash": "706603bdf39610fa5ab4e71e588d929e", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 89, "avg_line_length": 36.714285714285715, "alnum_prop": 0.8424124513618677, "repo_name": "42wim/matterbridge", "id": "b1a207360df67adac69693cb178c43e3ea419824", "size": "1...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.customerinsights.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.fa...
{ "content_hash": "04e80afd1f5f9824c62511b9c7f2ec9b", "timestamp": "", "source": "github", "line_count": 452, "max_line_length": 119, "avg_line_length": 29.52433628318584, "alnum_prop": 0.6514050206069689, "repo_name": "Azure/azure-sdk-for-java", "id": "4a8407a50cce90390dcd82322d62cd5efa605a7a", "si...
package de.stephanlindauer.criticalmaps.overlays; import org.osmdroid.ResourceProxy; import org.osmdroid.bonuspack.overlays.Marker; import org.osmdroid.views.MapView; public class LocationMarker extends Marker { public LocationMarker(MapView mapView, ResourceProxy resourceProxy) { super(mapView, resource...
{ "content_hash": "74b49d46c95eee0b01ec42a537be3a92", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 73, "avg_line_length": 30.571428571428573, "alnum_prop": 0.7663551401869159, "repo_name": "stephanlindauer/criticalmaps-android", "id": "0c690b4bbdcc8fb17744767f740edaedb56b9...
namespace atom { class WindowStateWatcher : public ui::PlatformEventObserver { public: explicit WindowStateWatcher(NativeWindowViews* window); virtual ~WindowStateWatcher(); protected: // ui::PlatformEventObserver: void WillProcessEvent(const ui::PlatformEvent& event) override; void DidProcessEvent(const ...
{ "content_hash": "01faaefec0d7c19856bc93c331f4a084", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 65, "avg_line_length": 24.666666666666668, "alnum_prop": 0.7612612612612613, "repo_name": "thomsonreuters/electron", "id": "376e028e1a77ecf76506775bd57d700c54402d22", "size...
namespace Serenity.Web { internal static partial class Texts { public static partial class Controls { public static class ColumnPickerDialog { public static LocalText HiddenColumns = "Hidden Columns"; public static LocalText HideH...
{ "content_hash": "9351a48ff80a020cace645f650dac66b", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 77, "avg_line_length": 36.166666666666664, "alnum_prop": 0.5668202764976958, "repo_name": "volkanceylan/Serenity", "id": "6325876db2b1e05238bb67301d1f75e1af0a13aa", "size":...
/* * 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.github.nppes4j.entity; import java.util.Objects; /** * * @author Roberto C. Benitez */ public class Taxon...
{ "content_hash": "e1b50cec88d14a9ca7b50bb268d1a48b", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 154, "avg_line_length": 21.51127819548872, "alnum_prop": 0.5106606081789584, "repo_name": "rbenitez22/nppes4j", "id": "5a599777e25d258c937522937e9723555480379b", "size": "...
package kvledger import ( "fmt" "strconv" "testing" "github.com/hyperledger/fabric/common/ledger/testutil" ledgerpackage "github.com/hyperledger/fabric/core/ledger" "github.com/hyperledger/fabric/core/ledger/ledgerconfig" ledgertestutil "github.com/hyperledger/fabric/core/ledger/testutil" "github.com/hyperl...
{ "content_hash": "930a4fa8308d95b4fb8dbf66038af0c1", "timestamp": "", "source": "github", "line_count": 518, "max_line_length": 289, "avg_line_length": 42.7007722007722, "alnum_prop": 0.7022017270220172, "repo_name": "king3000/fabric", "id": "75ba24e92bf69b501556425d4224aa2d30ddd200", "size": "2269...
import { toTruncFixed } from './common'; // TODO: Should this module depend on this? import Torrent from 'stores/torrent'; const speed_K = 1000; const speed_K_str = 'kB/s'; const speed_M_str = 'MB/s'; const speed_G_str = 'GB/s'; const size_K = 1000; const size_B_str = 'B'; const size_K_str = 'kB'; const size_M_str = ...
{ "content_hash": "dddd55128577bc154c9ef969b9d4f6fb", "timestamp": "", "source": "github", "line_count": 280, "max_line_length": 77, "avg_line_length": 22.09642857142857, "alnum_prop": 0.587360594795539, "repo_name": "fcsonline/react-transmission", "id": "d4b6e871ed3b7e1c6887a60e296567b0bbb09261", "...
@interface SerachViewController : UIViewController @end
{ "content_hash": "c0983b4c0259f0b0a6ea1f9f183970d0", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 50, "avg_line_length": 19, "alnum_prop": 0.8421052631578947, "repo_name": "starLover/CrazyNews", "id": "0a91ca8b491cf931b923991a7d3915ef2e2b357f", "size": "230", "binary":...
require 'gamma_ray/request' module GammaRay class Client def initialize(attrs = {}) @options = attrs @stream_name = attrs[:stream_name] end def track(event, properties={}) fail ArgumentError, 'Must supply and event name as a non-empty string' if event.empty? fail ArgumentError, '...
{ "content_hash": "f520c21f970d7d20326e10da24bd8c8c", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 105, "avg_line_length": 26.833333333333332, "alnum_prop": 0.6285714285714286, "repo_name": "transfixio/gamma_ray", "id": "816120b8b2807936c868fd70e1f97e9e89e49ec4", "size":...
namespace blink { PassRefPtr<SerializedScriptValue> SerializedScriptValueForModulesFactory::create(v8::Isolate* isolate, v8::Local<v8::Value> value, Transferables* transferables, ...
{ "content_hash": "29fbe08433e5ad9c31124ef8e1ab37c7", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 80, "avg_line_length": 50.14545454545455, "alnum_prop": 0.7077592458303118, "repo_name": "google-ar/WebARonARCore", "id": "621e899c68744066cf896cd41cedbf99b92b9c6f", "size"...
package org.keycloak.testsuite.account; import org.jboss.arquillian.graphene.page.Page; import org.junit.AfterClass; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; import org.keycloak.representations.idm.RealmRepresentation; import org.keycloak.testsuite.auth.page.login.V...
{ "content_hash": "49450b863f912db8980b0921248c9209", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 104, "avg_line_length": 34.52777777777778, "alnum_prop": 0.7148028962188254, "repo_name": "gregjones60/keycloak", "id": "2c00ad8cf029747710f451c488c163c67073edfc", "size": ...
package org.openweathermap.api.query.forecast.daily; import lombok.Data; import lombok.EqualsAndHashCode; import org.openweathermap.api.query.QueryRequestPartBuilder; import org.openweathermap.api.query.Type; @EqualsAndHashCode(callSuper = true) @Data public class ByCityName extends AbstractDailyForecastQuery imple...
{ "content_hash": "3d00075261ce465139e6e8c978ce9ae5", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 94, "avg_line_length": 27.08, "alnum_prop": 0.7651403249630724, "repo_name": "xSAVIKx/openweathermap-java-api", "id": "8a86d9af46921efc928211b418f531ce6448f978", "size": "1...