text stringlengths 2 1.04M | meta dict |
|---|---|
package griffon.plugins.rmi;
import griffon.annotations.core.Nonnull;
import griffon.annotations.core.Nullable;
import griffon.core.artifact.GriffonService;
import griffon.exceptions.GriffonException;
import griffon.plugins.rmi.exceptions.RmiException;
import griffon.util.CollectionUtils;
import org.codehaus.griffon.... | {
"content_hash": "b39fa8d09dbd1c9205e24abd3f00450c",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 122,
"avg_line_length": 38.642857142857146,
"alnum_prop": 0.6210720887245841,
"repo_name": "griffon-plugins/griffon-rmi-plugin",
"id": "56aada1a8ce84f9ddf227021a346249f78f369... |
using AppBrix.Events.Contracts;
using AppBrix.Events.Schedule.Configuration;
using AppBrix.Events.Schedule.Contracts;
using AppBrix.Events.Schedule.Services;
using AppBrix.Lifecycle;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace AppBrix.Events.Schedule.Impl;
internal sealed class Sched... | {
"content_hash": "75feca9c612701c583e6c84f4c4e15b4",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 120,
"avg_line_length": 30.388349514563107,
"alnum_prop": 0.6194888178913738,
"repo_name": "MarinAtanasov/AppBrix",
"id": "105660ae2c341c60dd2d097e004c38e16218234e",
"size... |
from preggy import expect
from tests.base import FilterTestCase
class QualityFilterTestCase(FilterTestCase):
def test_quality_filter(self):
image = self.get_filtered('source.jpg', 'thumbor.filters.quality', 'quality(10)')
expected = self.get_fixture('quality-10%.jpg')
expect(self.context... | {
"content_hash": "49c01966416f39c5f6ee0082de578943",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 89,
"avg_line_length": 34.07692307692308,
"alnum_prop": 0.6952595936794582,
"repo_name": "Bladrak/thumbor",
"id": "565b4d9b39909895a90b94f4ff61b507b78190eb",
"size": "695",... |
package org.drools.examples.conway;
import java.io.Serializable;
/**
* <code>CellState</code> enumerates all of the valid states that a Cell may
* be in.
*
* @see Cell
* @see CellGridImpl
*/
public class CellState implements Serializable {
public static final CellState LIVE = new CellState( "LIVE" );
... | {
"content_hash": "fe10991893cc5ff34e5bb156f9713713",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 76,
"avg_line_length": 20.821428571428573,
"alnum_prop": 0.6518010291595198,
"repo_name": "murador/droolsjbpm-integration",
"id": "0d06df29a9bb4015d0abd4c0d2d02c84efae5564",
... |
window.jQuery = require('jquery');
require('./spinner');
require('./editor');
require('./uploads');
require('./big-header'); | {
"content_hash": "77e83adac625436c7805b06b67047d75",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 34,
"avg_line_length": 20.833333333333332,
"alnum_prop": 0.656,
"repo_name": "cpdt/codenetwork",
"id": "50fdc6c8c9cd989686f67e4f1d18784c8e02a9f1",
"size": "125",
"binary":... |
package com.digitalpebble.stormcrawler.parse.filter;
import java.io.IOException;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import javax.xml.namespace.QName;
import javax.xml... | {
"content_hash": "465e2d50c3182c86ef2fcab37dc1c7c3",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 88,
"avg_line_length": 36.41013824884793,
"alnum_prop": 0.5556258701430199,
"repo_name": "foromer4/storm-crawler",
"id": "43054cb632b846e5550090076d4573d61f59681a",
"size"... |
package org.testng;
import org.testng.collections.Lists;
import org.testng.xml.XmlClass;
import org.testng.xml.XmlInclude;
import org.testng.xml.XmlSuite;
import org.testng.xml.XmlTest;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class IDEARemoteTestNG extends TestNG {
... | {
"content_hash": "b135f94748cfb1ad3c1ef098620c5f94",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 132,
"avg_line_length": 33.15555555555556,
"alnum_prop": 0.6558310991957105,
"repo_name": "msebire/intellij-community",
"id": "33306531c912b920e5872b13e50b6526371b53d6",
"s... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>continuations: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | {
"content_hash": "39407c6fa62bd3d3a9a6742c2860666c",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 157,
"avg_line_length": 41.19101123595506,
"alnum_prop": 0.5596017457719585,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "950def32756b34623bcd7f86e552c68bed6c640c",
... |
'use strict';
const shardUUID = require('./build/Release/shard-uuid.node');
const Long = require('long');
const is = require('is_js');
/**
* UUID (64bits) = timestamp (32 bits) | shardId (22 bits) | localId (10 bits)
*/
/**
* Convert buffer to Long
* @param buffer
* @returns {Long|undefined}
*/
function buffer... | {
"content_hash": "5cc9ab13e33924656b63c9359667f9eb",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 93,
"avg_line_length": 27.235294117647058,
"alnum_prop": 0.49352051835853133,
"repo_name": "nanom1t/shard-uuid",
"id": "09f941f9259f7080216173d5d33dbe9738c777c8",
"size": ... |
package operationexecutor
import (
"fmt"
"time"
"github.com/golang/glog"
"k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
"k8s.io/client-go/tools/record"
"k8s.io/kubernetes/pkg/api/v1"
"k8s.io/kubernetes/pkg/client/clientset_generated/client... | {
"content_hash": "9dd671c25c2e5bcb4870e779cccb41dd",
"timestamp": "",
"source": "github",
"line_count": 701,
"max_line_length": 194,
"avg_line_length": 39.00713266761769,
"alnum_prop": 0.7706260971328263,
"repo_name": "bobveznat/kubernetes",
"id": "20059b527ace52bbdbca069fb32f91c91ab4cdf9",
"size":... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace BGE
{
class Lazer:MonoBehaviour
{
public void Update()
{
float speed = 5.0f;
float width = 500;
float height = 500;
if ((transform.posit... | {
"content_hash": "6103a960dadc53e597a9573781cacc2b",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 235,
"avg_line_length": 31.08,
"alnum_prop": 0.5817245817245817,
"repo_name": "PaulKennedyDIT/Unity_SpaceBattle_Assignment_2",
"id": "16ed7a0eef7608a317535fb3041c26eef554d935... |
namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Threading;
/// <summary>
/// The type WorkbookChartSetPositionRequest.
/// </summary>
public partial class WorkbookChartSetPositionRequest : BaseRequest, ... | {
"content_hash": "98b6abe77f7b86283ef8e906e4d5d480",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 108,
"avg_line_length": 32.532467532467535,
"alnum_prop": 0.5892215568862276,
"repo_name": "garethj-msft/msgraph-sdk-dotnet",
"id": "e598a6d341f4412d0e1ca33383e7f0ddd5b2879f"... |
'''@file multi_target_dummy_processor.py
contains the MultiTargetDummyProcessor class'''
import os
import subprocess
import StringIO
import scipy.io.wavfile as wav
import numpy as np
import processor
from nabu.processing.feature_computers import feature_computer_factory
import pdb
class MultiTargetDummyProcessor(pro... | {
"content_hash": "bf51043f67c4f7d895617809678687da",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 94,
"avg_line_length": 31.025,
"alnum_prop": 0.6226161697555734,
"repo_name": "JeroenZegers/Nabu-MSSS",
"id": "4b030cbdbdc318395ea67fe3015391f3981f0673",
"size": "3723",
... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="5b21e2ff-84bc-455d-9e49-58d639886e46" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/public/js/app.js" afterPath="$PROJECT_DIR$/public/js/app.js" />
... | {
"content_hash": "89c152f4ca19f5b771f552a7149dea62",
"timestamp": "",
"source": "github",
"line_count": 827,
"max_line_length": 228,
"avg_line_length": 51.67956469165659,
"alnum_prop": 0.6210252930578628,
"repo_name": "Albametr/gifs",
"id": "f58f2a43bcbc4731ee5a47aa2ca0e66d1a544a95",
"size": "42739... |
ALTER TABLE gistic_genomic_region_reporter ADD COLUMN GENOMIC_DESCRIPTOR VARCHAR(100) AFTER ID; | {
"content_hash": "960eb393cc90f8ae5196229d3dbc4d08",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 95,
"avg_line_length": 95,
"alnum_prop": 0.8421052631578947,
"repo_name": "NCIP/caintegrator",
"id": "ffb9f097ef2ced9704f1c1fe935edb6f83896e48",
"size": "95",
"binary": fa... |
(function(addon) {
var component;
if (jQuery && jQuery.UIkit) {
component = addon(jQuery, jQuery.UIkit);
}
if (typeof define == "function" && define.amd) {
define("uikit-autocomplete", ["uikit"], function(){
return component || addon(jQuery, jQuery.UIkit);
});
... | {
"content_hash": "b86fc938d42d7827ef9e753cc699ec9d",
"timestamp": "",
"source": "github",
"line_count": 304,
"max_line_length": 172,
"avg_line_length": 29.49671052631579,
"alnum_prop": 0.39600758336121333,
"repo_name": "depapp/tambut",
"id": "dd4532cd445583987da0750f4807beebbf5c5d0a",
"size": "8967... |
/**
* @Author: KingZhao
*/
package com.jcommerce.core.service;
import java.util.List;
import com.jcommerce.core.model.AutoManage;
import com.jcommerce.core.service.Criteria;
public interface AutoManageManager extends Manager {
public AutoManage initialize(AutoManage obj);
public List<AutoManage> getAutoMana... | {
"content_hash": "4446482b0789a546f4f14612cb02852c",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 91,
"avg_line_length": 26.24137931034483,
"alnum_prop": 0.7726675427069645,
"repo_name": "jbosschina/jcommerce",
"id": "3ac7aabd46ff198fa397663d48450f9d5e7db189",
"size": "... |
angular.module('quick-survey').directive('questionDetails', function () {
return {
restrict: 'A',
scope: {
question: '=',
questionTypes: '=',
index: '=',
// TODO: figure out a way to not pass survey through here, just
// the save() method on survey.
questions: '=',
sa... | {
"content_hash": "f6998cdcdee88598cfbfec9eac554672",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 80,
"avg_line_length": 26.930232558139537,
"alnum_prop": 0.5578583765112263,
"repo_name": "simonv3/quick-survey",
"id": "4da46d800ea728f6c622eafb9e745418757c15f2",
"size": ... |
package com._4dconcept.springframework.data.marklogic.repository.query;
import com._4dconcept.springframework.data.marklogic.core.MarklogicOperations;
import com._4dconcept.springframework.data.marklogic.core.query.Query;
import org.springframework.data.repository.query.ParameterAccessor;
import org.springframework.d... | {
"content_hash": "b9cbeba912de5e30bbdef17fc48f9829",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 128,
"avg_line_length": 36.791044776119406,
"alnum_prop": 0.7233265720081136,
"repo_name": "stoussaint/spring-data-marklogic",
"id": "7fb1386354debbfef5710e757be4211c3f8183e1... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d2497a56becda3308d598e6f5a6a1349",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "8a32c9dd395e62dfa15a19366d000ca77efc8928",
"size": "193... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
namespace Sakuno.IO
{
public sealed class RecyclableMemoryStream : Stream
{
BufferPool r_BufferPool;
volatile int r_DisposeState;
bool IsOpen => r_DisposeState == 0;
int r_Length;
... | {
"content_hash": "04dda6f1fb7576d4daac3130b8254f2a",
"timestamp": "",
"source": "github",
"line_count": 279,
"max_line_length": 131,
"avg_line_length": 30.096774193548388,
"alnum_prop": 0.5100631177801596,
"repo_name": "KodamaSakuno/Library",
"id": "6f33f6c3da5cbe58a50734f082603241dde6a673",
"size"... |
<?php
namespace Oro\Bundle\WorkflowBundle\Tests\Functional\Entity\Repository;
use Doctrine\ORM\EntityManager;
use Oro\Bundle\WorkflowBundle\Entity\ProcessDefinition;
use Oro\Bundle\WorkflowBundle\Entity\ProcessTrigger;
use Oro\Bundle\WorkflowBundle\Entity\Repository\ProcessTriggerRepository;
use Oro\Bundle\TestFrame... | {
"content_hash": "7a4f0484623ce2e86b2bad834e7d31e4",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 119,
"avg_line_length": 39.546052631578945,
"alnum_prop": 0.6777574446847446,
"repo_name": "Djamy/platform",
"id": "17c1906cc29c01c19899c17f0c2a21a5fbd0624b",
"size": "601... |
package org.hisp.dhis.webapi.controller.metadata.version;
import org.apache.commons.lang.StringUtils;
import org.hisp.dhis.common.cache.CacheStrategy;
import org.hisp.dhis.dxf2.metadata.version.exception.MetadataVersionServiceException;
import org.hisp.dhis.metadata.version.MetadataVersion;
import org.hisp.dhis.meta... | {
"content_hash": "ca792f7eaae5e387c807b01b8b151ce5",
"timestamp": "",
"source": "github",
"line_count": 292,
"max_line_length": 187,
"avg_line_length": 39.78767123287671,
"alnum_prop": 0.6403856085384748,
"repo_name": "HRHR-project/palestine",
"id": "2780b2cb9c6f0d11c9ec10bf981abd3166b399be",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<servlet>
<servlet-name>proxy</servle... | {
"content_hash": "f16076ba56b23e38195d998a1d49d086",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 109,
"avg_line_length": 31.571428571428573,
"alnum_prop": 0.7390648567119156,
"repo_name": "deleolajide/ofmeet-openfire-plugin",
"id": "3ec8603ec0f530bb470002ffa58c108203e2ae... |
#ifndef _OPENSIM_HOPPERDEVICE_H_
#define _OPENSIM_HOPPERDEVICE_H_
#include "osimExampleComponentsDLL.h"
#include <OpenSim/Simulation/Model/PathActuator.h>
#include <OpenSim/Simulation/Model/Actuator.h>
#include <OpenSim/Simulation/Model/ModelComponent.h>
#include <OpenSim/Simulation/Model/Model.h>
namespace OpenSim ... | {
"content_hash": "1e6e3d79ebd1cc1dd872bf7867caf019",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 80,
"avg_line_length": 42.49438202247191,
"alnum_prop": 0.674246430460074,
"repo_name": "opensim-org/opensim-core",
"id": "d63c6f6aa11dacc3f0ea9100479880be46c2b868",
"size"... |
#include <aws/email/model/GetCustomVerificationEmailTemplateRequest.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
using namespace Aws::SES::Model;
using namespace Aws::Utils;
GetCustomVerificationEmailTemplateRequest::GetCustomVerificationEmailTemplateRequest() :... | {
"content_hash": "06a369a17e6dd0d2ecd59c219ca55c58",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 90,
"avg_line_length": 26.15625,
"alnum_prop": 0.7610513739545998,
"repo_name": "jt70471/aws-sdk-cpp",
"id": "a5b7dbc787c5e913dafd6e4d7788b2a7508d7f6e",
"size": "956",
"b... |
<section class="row" data-ng-controller="AuthenticationController">
<h3 class="col-md-12 text-center">SIGN IN</h3>
<div class="col-xs-offset-2 col-xs-8 col-md-offset-5 col-md-2">
<form data-ng-submit="signin()" class="signin form-horizontal" autocomplete="off">
<fieldset>
<div class="form-group">
<label... | {
"content_hash": "7016f28f9ae331d26bdf0912c55b690f",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 139,
"avg_line_length": 44.77777777777778,
"alnum_prop": 0.6592224979321754,
"repo_name": "th30retical/project_ration",
"id": "d46194f02265fe0b39c8075ab3f43de01b6f0763",
"s... |
namespace TheXDS.MCART.Attributes;
using TheXDS.MCART.Resources;
/// <summary>
/// Define una serie de miembros a implementar por un tipo que obtenga
/// licencias a partir del valor de un atributo.
/// </summary>
public abstract class LicenseAttributeBase : TextAttribute
{
/// <summary>
/// Inicializa una ... | {
"content_hash": "bfed70e259af813e1b3a4271d45bbbdb",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 70,
"avg_line_length": 27.38235294117647,
"alnum_prop": 0.635875402792696,
"repo_name": "TheXDS/MCART",
"id": "fadb86a0f237c4b802102a46b4a84f0a09fbdc21",
"size": "2197",
... |
package org.lbzip2;
public class ManberMyersBWTTest
extends AbstractBWTTest
{
public ManberMyersBWTTest()
{
super( new ManberMyersBWT() );
}
}
| {
"content_hash": "6eeef1a9e1be88ee61e0659270f9fabb",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 38,
"avg_line_length": 15.363636363636363,
"alnum_prop": 0.6686390532544378,
"repo_name": "kjn/lbzip2-java",
"id": "badb1c8e46519126370535248d77bfabc85e5bff",
"size": "773"... |
package slack
// @NOTE: Blocks are in beta and subject to change.
// More Information: https://api.slack.com/block-kit
// MessageBlockType defines a named string type to define each block type
// as a constant for use within the package.
type MessageBlockType string
const (
MBTSection MessageBlockType = "section"
... | {
"content_hash": "fd1dbeb3ddf7c40f71544427a3367781",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 89,
"avg_line_length": 36.63013698630137,
"alnum_prop": 0.675018698578908,
"repo_name": "178inaba/slack",
"id": "32ff260cc395acfd008a7e543626d82574042f6d",
"size": "2674",
... |
#ifndef __XFS_SUPPORT_RADIX_TREE_H__
#define __XFS_SUPPORT_RADIX_TREE_H__
#define RADIX_TREE_TAGS
struct radix_tree_root {
unsigned int height;
struct radix_tree_node *rnode;
};
#define RADIX_TREE_INIT(mask) { \
.height = 0, \
.rnode = NULL, \
}
#define RADIX_TREE(name, mask) \
struct radix_t... | {
"content_hash": "2621e0ebbde2fcb29e725b4e1a4112c5",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 73,
"avg_line_length": 31.084745762711865,
"alnum_prop": 0.7082878953107961,
"repo_name": "calee0219/Course",
"id": "e16e08d5ff33650088bebf80563d12d6609772e5",
"size": "261... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S14_D6_T2;
* @section: 14;
* @assertion: Function declaration may be inside of while block ;
*/
/////////////////////////////////////////////////////////////////////////////... | {
"content_hash": "d022befcdefb0372468b486afab127c7",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 78,
"avg_line_length": 28.193548387096776,
"alnum_prop": 0.41762013729977115,
"repo_name": "luboid/ES5.Script",
"id": "e6e9b8a5efa1546f3e758b02165496911f3170e5",
"size": "8... |
package org.nirvanarico.devtest;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
} | {
"content_hash": "fd077e013849662d9c372c8c3c852fa5",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 68,
"avg_line_length": 25.583333333333332,
"alnum_prop": 0.7882736156351792,
"repo_name": "nirvanarico/devtest",
"id": "94cd4d19644e69ae75185f40964a92a618fbb5bd",
"size": "... |
package com.amazonaws.services.mq.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListUsers" target="_top">AWS API Documentation</a>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class ListUsersR... | {
"content_hash": "0cc63ded2442eeec1136c813810c8b0f",
"timestamp": "",
"source": "github",
"line_count": 318,
"max_line_length": 142,
"avg_line_length": 33.216981132075475,
"alnum_prop": 0.6049417779040045,
"repo_name": "aws/aws-sdk-java",
"id": "00f51aa0089ed4140abdc4c3db1f526ba3ed0051",
"size": "1... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title></title>
<link rel="Stylesheet" href="../css/analysis.css" />
<script type="text/javascript">
function init() {
if (window.location.hash) {
var parentDiv, nodes, ... | {
"content_hash": "34baab62a658712f5e9fa934c8cee3b9",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 933,
"avg_line_length": 69.10655737704919,
"alnum_prop": 0.6336140434112205,
"repo_name": "darklilium/Factigis_2",
"id": "0e7e3e07c1a60bf21068a01b2f8ff028e3ac8089",
"size"... |
package com.daviancorp.android.ui.detail;
import java.io.IOException;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.os.Bundle;... | {
"content_hash": "717dfd8b0612643360f82c71d92872f5",
"timestamp": "",
"source": "github",
"line_count": 456,
"max_line_length": 123,
"avg_line_length": 38.99780701754386,
"alnum_prop": 0.5977056739582748,
"repo_name": "zachdayz/MonsterHunter4UDatabase",
"id": "ae33166e92d500c464799cc8c51432b482886b87... |
package com.example.android.basicimmersivemode;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.MenuItem;
import android.view.View;
import com.example.android.common.logger.Log;
public class BasicImmersiveModeFragment extends Fragment {
public static final String TAG = "Ba... | {
"content_hash": "ed6ca5f071ba7c8ae2eca52e201c410f",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 98,
"avg_line_length": 39.12162162162162,
"alnum_prop": 0.6459412780656304,
"repo_name": "blois/AndroidSDKCloneMin",
"id": "a675e05bed7ba0900ba98e5e933b302a8a1f931a",
"size... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;
using LowercaseRoutesMVC4;
namespace Framework.Web
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
... | {
"content_hash": "5682a240454b6945a005a1aaa10a7486",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 99,
"avg_line_length": 27.193548387096776,
"alnum_prop": 0.5776986951364176,
"repo_name": "sagroskin/Playground",
"id": "14be95edc58c86019301bff9613788f0d24b29d4",
"size": ... |
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Observation.send'
db.add_column('notification_observation', 'send',
self.gf('django.db.models.... | {
"content_hash": "138c7c3721bed5e83b416b306c19626e",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 182,
"avg_line_length": 67.79591836734694,
"alnum_prop": 0.5552378085490668,
"repo_name": "arctelix/django-notification-automated",
"id": "c6692ba46cdb9f13fa36d0e69095a9a9e6a... |
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
#ifndef DCFMTSYM_H
#define DCFMTSYM_H
#include "unicode/utypes.h"
#include "unicode/uchar.h"
#if !UCONFIG_NO_FORMATTING
#include "unicode/uobject.h"
#include "unicode/locid.h"
#include "unicode/numsys.h"... | {
"content_hash": "3eec16337aeaa8877e966616ac53783a",
"timestamp": "",
"source": "github",
"line_count": 564,
"max_line_length": 125,
"avg_line_length": 34.551418439716315,
"alnum_prop": 0.6302663314004208,
"repo_name": "wiltonlazary/arangodb",
"id": "55e3d8a6b3b5ec8436d5f4f3488b493dfe481af5",
"size... |
/**
* @class strange.extensions.mediation.impl.Mediator
*
* Base class for all Mediators.
*
* @see strange.extensions.mediation.api.IMediationBinder
*/
using strange.extensions.context.api;
using strange.extensions.mediation.api;
using UnityEngine;
namespace strange.extensions.mediation.impl
{
public class... | {
"content_hash": "c9c49e939fac29a7bcf7731247988247",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 57,
"avg_line_length": 15.835820895522389,
"alnum_prop": 0.6606974552309143,
"repo_name": "miccl/VisualiseR",
"id": "7ee9c6ebaa6e9ef7b5b128bad72e13516a95ecc1",
"size": "166... |
#include "LinkedListAPI.h"
#include "testharness.h"
#include "testcases.h"
#include <string.h>
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <errno.h>
#include <sys/wait.h>
//data management functions for string data
void testDestroy(void *data){
... | {
"content_hash": "67f3ee27017cadf16ce3aadc161ac981",
"timestamp": "",
"source": "github",
"line_count": 1046,
"max_line_length": 130,
"avg_line_length": 29.496175908221797,
"alnum_prop": 0.5905422487278384,
"repo_name": "dominickhera/PosaRepo",
"id": "f98804da0d7c0c18514b8963022bb825d3b653b0",
"siz... |
module Ebay # :nodoc:
module Types # :nodoc:
# == Attributes
# text_node :charity_name, 'CharityName', :optional => true
# numeric_node :charity_number, 'CharityNumber', :optional => true
# numeric_node :donation_percent, 'DonationPercent', :optional => true
# text_node :charity_id, 'CharityID... | {
"content_hash": "0e1564ad39dad266cede1fac7705e27a",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 90,
"avg_line_length": 44.57142857142857,
"alnum_prop": 0.6434294871794872,
"repo_name": "joshm1/ebay",
"id": "e64527330d439d24613495fe4a4a8f832d855171",
"size": "1249",
... |
.class final Lcom/android/server/appwidget/AppWidgetServiceImpl$BackupRestoreController;
.super Ljava/lang/Object;
.source "AppWidgetServiceImpl.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/server/appwidget/AppWidgetServiceImpl;
.end annotation
.annotation system... | {
"content_hash": "1615d834e04545117a86a21892bc6fe7",
"timestamp": "",
"source": "github",
"line_count": 3701,
"max_line_length": 315,
"avg_line_length": 31.58389624425831,
"alnum_prop": 0.7153269684837286,
"repo_name": "libnijunior/patchrom_bullhead",
"id": "840a34967ab02df8fab13ba12bf8d46dc6400e10",... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Payrolls extends CI_Model {
public function __construct()
{
parent::__construct();
$this->load->database();
}
public function get_search($limit, $start,$search_term)
{
$this->db->limit($limit, $start);
$this ->db->select('*'... | {
"content_hash": "18095ed1f990f891f76542c9b5f531ff",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 63,
"avg_line_length": 20.65573770491803,
"alnum_prop": 0.569047619047619,
"repo_name": "marjomlg/AdminTool",
"id": "3b276e6e7367007afa9d29510037532f699c53b4",
"size": "126... |
<?php
namespace app\modules\main\widgets\review;
use common\components\AssetBundle;
/**
* Class ReviewAsset
* Ассет для добавления отзыва
* @package app\modules\main\widgets\review
* @author Chernyavsky Denis <panopticum87@gmail.com>
*/
class ReviewAsset extends AssetBundle
{
/**
* @inheritdoc
*/
public $... | {
"content_hash": "fe8e762629a9857c9af9cee425259f7f",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 53,
"avg_line_length": 14.022727272727273,
"alnum_prop": 0.6191247974068071,
"repo_name": "webadmin87/rzwebsys7",
"id": "fa5c3a71b22e3ba9f64d6ff4c0969bd33c6cbaef",
"size": ... |
template "/opt/local/etc/dhcp/dhcpd.conf" do
source "dhcpd.conf.erb"
user "root"
group "root"
mode 0644
end
manifest = "/opt/local/share/smf/isc-dhcpd/manifest.xml"
template manifest do
source "manifest.xml.erb"
user "root"
group "root"
mode 0644
notifies :run, "execute[dhcpd_manifest]"
end
execute... | {
"content_hash": "886875f30f6da6d90e57bdfb2252f660",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 62,
"avg_line_length": 20.571428571428573,
"alnum_prop": 0.6979166666666666,
"repo_name": "AlainODea-cookbooks/hackish-dhcp",
"id": "82410fe9c85f43e559fbb37a0fa6dacff08e7b29"... |
package io.cdap.plugin.sfmc.source;
import com.exacttarget.fuelsdk.ETSdkException;
import com.google.common.annotations.VisibleForTesting;
import io.cdap.cdap.api.annotation.Description;
import io.cdap.cdap.api.annotation.Macro;
import io.cdap.cdap.api.annotation.Name;
import io.cdap.cdap.api.plugin.PluginConfig;
im... | {
"content_hash": "3b1287d1cb9bf49ca6463e4631f0f0eb",
"timestamp": "",
"source": "github",
"line_count": 462,
"max_line_length": 119,
"avg_line_length": 37.55194805194805,
"alnum_prop": 0.7183699348665629,
"repo_name": "data-integrations/salesforce-marketing",
"id": "804de77d66a148bbcff685ba57998020b0... |
namespace Nancy.Tests.Unit.Diagnostics
{
using System;
using System.Collections.Generic;
using System.Linq;
using Nancy.Bootstrapper;
using Nancy.Configuration;
using Nancy.Cryptography;
using Nancy.Culture;
using Nancy.Diagnostics;
using Nancy.Helpers;
using Nancy.... | {
"content_hash": "3cf80a20bc4cabd27e1913d3e54ce287",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 124,
"avg_line_length": 40.8855421686747,
"alnum_prop": 0.5949609547664653,
"repo_name": "wtilton/Nancy",
"id": "123850e68d76011099069be686eff1a9c6534232",
"size": "6789",... |
..
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
... | {
"content_hash": "ea561d1b3510a73807dd8784358e06f2",
"timestamp": "",
"source": "github",
"line_count": 937,
"max_line_length": 108,
"avg_line_length": 41.02668089647812,
"alnum_prop": 0.752302169502107,
"repo_name": "phenoxim/nova",
"id": "0141b042162211d1f91089b2446de92cfceca909",
"size": "38442"... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.Code... | {
"content_hash": "0756da28e148076a99b56aca0fac174b",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 141,
"avg_line_length": 49.212765957446805,
"alnum_prop": 0.764375270211846,
"repo_name": "AlekseyTs/roslyn",
"id": "9326e2018065b62f832fb69c8d175757cdc7b491",
"size": "231... |
'use strict';
const _ = require('lodash');
module.exports = (roles) => {
if (!_.isArray(roles)) {
throw new Error('roles must be an array');
}
return function*(next) {
if (!this.state || !this.state.user) {
return yield next;
}
if (!_.includes(roles, this.state.user.role)) {
this.t... | {
"content_hash": "6ce130f373597f770430a07cd694fbf6",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 51,
"avg_line_length": 17.19047619047619,
"alnum_prop": 0.554016620498615,
"repo_name": "kofe-i-knigi/kik-server",
"id": "f07fcb9f27f03edce73d73ee65462cb0e4cc735a",
"size":... |
import { generateUtilityClass, generateUtilityClasses } from '@material-ui/unstyled';
export function getTreeViewUtilityClass(slot) {
return generateUtilityClass('MuiTreeView', slot);
}
const treeViewClasses = generateUtilityClasses('MuiTreeView', ['root']);
export default treeViewClasses;
| {
"content_hash": "d1a23eec3d85496aa9deab959622dce9",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 85,
"avg_line_length": 32.888888888888886,
"alnum_prop": 0.8006756756756757,
"repo_name": "callemall/material-ui",
"id": "a3c93a3b5d54506771d648818a806582978fd879",
"size": ... |
package org.apache.camel.component.http;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import org.apache.camel.Converter;
import org.apache.camel.Exchange;
import org.apache.camel.util.ExchangeHelper;
import org.apache.camel.util.GZIPHelper;
import org.apache.commons.ht... | {
"content_hash": "b33bc240430e7c0efeba1d56a00198a6",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 125,
"avg_line_length": 38.72727272727273,
"alnum_prop": 0.6753856472166331,
"repo_name": "aaronwalker/camel",
"id": "9c49a2fcf1fddc570adb0122f43be6b122aaebdb",
"size": "37... |
package stainless
package genc
import extraction.throwing.trees._
import collection.mutable.{ Set => MutableSet }
private[genc] object ExtraOps {
// copied from AdtSpecialization
def root(id: Identifier)(using symbols: Symbols): Identifier = {
symbols.getClass(id).parents.map(ct => root(ct.id)).headOption.... | {
"content_hash": "7a52de5c546f16fb2aa20f3409cca56a",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 121,
"avg_line_length": 36.23566878980892,
"alnum_prop": 0.6428194761821058,
"repo_name": "epfl-lara/stainless",
"id": "8ac13211ed49d7ab8b767e5b77c43965d2b82ec4",
"size": ... |
package fr.javatronic.blog.massive.annotation2;
import fr.javatronic.blog.processor.Annotation_002;
@Annotation_002
public class Class_334 {
}
| {
"content_hash": "c120023eaacaafb53dd343083081090c",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 51,
"avg_line_length": 20.714285714285715,
"alnum_prop": 0.8068965517241379,
"repo_name": "lesaint/experimenting-annotation-processing",
"id": "37d94878d8e3e1c9bb7bf7c68c61df2... |
USING_NS_CC;
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
// create the application instance
... | {
"content_hash": "035b584f29f6e25e6f3b63c3aa2cd1e4",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 55,
"avg_line_length": 31.41176470588235,
"alnum_prop": 0.6367041198501873,
"repo_name": "MiaoMiaosha/Cocos",
"id": "bf4f1c8cea60a33bb91344d0f203839e6dc20471",
"size": "601... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>input (NChurn)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link re... | {
"content_hash": "6790fab414167b19b87d17d785c2ec44",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 127,
"avg_line_length": 47.111111111111114,
"alnum_prop": 0.6556603773584906,
"repo_name": "michaelsync/Giles",
"id": "0655590246a92af7e7ba8ca9533d360b118b6cda",
"size": "8... |
<?php
namespace Ds\Component\Parameter\Command\Parameter;
use Ds\Component\Parameter\Service\ParameterService;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Output\OutputInterface;
/*... | {
"content_hash": "ffe1b457627d0bb685268a7e59e17f9f",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 81,
"avg_line_length": 26.410714285714285,
"alnum_prop": 0.6470588235294118,
"repo_name": "DigitalState/Core",
"id": "36dc8ae10b378197ecf6aebd7c1fc972cfea096d",
"size": "14... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... | {
"content_hash": "1736463150e89d145fc908741ea53643",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 150,
"avg_line_length": 57.3,
"alnum_prop": 0.6631762652705061,
"repo_name": "gabrieldamaso7/innocircle",
"id": "f25d6efc5ad47f2c4e25adda7989f66e335e6c80",
"size": "1719",
... |
{{<layout}}
{{$pageTitle}} Choose a vehicle to register {{/pageTitle}}
{{$head}}
{{>includes/head}}
{{>includes/scripts}}
<script src="/public/javascripts/sorttable.js"></script>
<script src="/public/javascripts/Autocomplete/jquery-1.11.1.min.js"></script>
<script src="/public/java... | {
"content_hash": "0c7508f057ff7af3eb47599871d78bbc",
"timestamp": "",
"source": "github",
"line_count": 559,
"max_line_length": 219,
"avg_line_length": 37.924865831842574,
"alnum_prop": 0.5511320754716981,
"repo_name": "dudelmeister/rave",
"id": "365268f71820e29903eb9788fe95505572b60fe4",
"size": "... |
'use strict';
(function() {
// Faculties Controller Spec
describe('Faculties Controller Tests', function() {
// Initialize global variables
var FacultiesController,
scope,
$httpBackend,
$stateParams,
$location;
// The $resource service augments the response object with methods for updating and deletin... | {
"content_hash": "db9631def91ad2987a0d4da208b60196",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 161,
"avg_line_length": 31.496932515337424,
"alnum_prop": 0.6959485781067394,
"repo_name": "PongPi/admissions",
"id": "39636c9b462bbf032f4555d1af89539fe62bade8",
"size": "... |
/**
* Returns an error to be thrown when attempting to find an unexisting column.
* @param id Id whose lookup failed.
* @docs-private
*/
export function getTableUnknownColumnError(id: string) {
return Error(`Could not find column with id "${id}".`);
}
/**
* Returns an error to be thrown when two column defini... | {
"content_hash": "3312777690b2244861f2486205dc8444",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 98,
"avg_line_length": 31.596153846153847,
"alnum_prop": 0.7321972002434571,
"repo_name": "amcdnl/material2",
"id": "25eab4434651339ae6c9a09166e6d2cf75718908",
"size": "184... |
!defined(CHROME_MULTIPLE_DLL_BROWSER))
#include "pdf/pdf.h"
#endif
#if !defined(CHROME_MULTIPLE_DLL_CHILD)
#include "components/startup_metric_utils/browser/startup_metric_utils.h"
#endif
#if !defined(CHROME_MULTIPLE_DLL_BROWSER)
#include "chrome/child/pdf_child_init.h"
base::LazyInstance<ChromeContentRendererCl... | {
"content_hash": "52e515dbd6effd28b5a906a812a9db58",
"timestamp": "",
"source": "github",
"line_count": 893,
"max_line_length": 80,
"avg_line_length": 36.359462486002236,
"alnum_prop": 0.7134805506791093,
"repo_name": "js0701/chromium-crosswalk",
"id": "e4fa69afd1d1bb9270ed1a9bc6beca0c7797c2a7",
"s... |
#define FMX_USE_UNIQUE_PTR 1
#include <FMWrapper/FMXBinaryData.h>
#include <FMWrapper/FMXCalcEngine.h>
#include <FMWrapper/FMXClient.h>
#include <FMWrapper/FMXData.h>
#include <FMWrapper/FMXDateTime.h>
#include <FMWrapper/FMXExtern.h>
#include <FMWrapper/FMXFixPt.h>
#include <FMWrapper/FMXText.h>
#include <FMWrapp... | {
"content_hash": "1cd3f23601402269a81a0c8ff95c5c9f",
"timestamp": "",
"source": "github",
"line_count": 481,
"max_line_length": 139,
"avg_line_length": 24.295218295218294,
"alnum_prop": 0.6571966455587883,
"repo_name": "minstral/SimplePlugin",
"id": "c4cd6c9c24e498474a1625e5a8a1f20f94063bbf",
"size... |
import pickle
from django.conf import settings
from django_redis.serializers.pickle import PickleSerializer
from testil import eq
def test_highest_protocol():
assert pickle.HIGHEST_PROTOCOL <= 5, """
The highest pickle procol supported by Python at time of writing
this test is 5. Support for newe... | {
"content_hash": "8120429fb06d8f7e0df611ca0a7eae5e",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 75,
"avg_line_length": 37.225,
"alnum_prop": 0.7118871725990598,
"repo_name": "dimagi/commcare-hq",
"id": "ff72f8866bbe887c5eae3e97ab5df7c953dd58ef",
"size": "1489",
"bin... |
package org.apache.ignite.internal;
import java.io.Externalizable;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InvalidObjectException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import java.io.ObjectStreamException;
import java.io.Serializable;
import jav... | {
"content_hash": "509cf7c93c772b5806c2746e0c5a3aff",
"timestamp": "",
"source": "github",
"line_count": 3234,
"max_line_length": 128,
"avg_line_length": 33.72974644403216,
"alnum_prop": 0.5765112484186209,
"repo_name": "adeelmahmood/ignite",
"id": "9b615b116b419f1e21938099e1630394949e5cac",
"size":... |
package com.tod.eclipse.servoy.console.hyperlinks;
import java.util.HashMap;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.Path;
import o... | {
"content_hash": "a3545bf01048e7de55399bc119f9bf83",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 109,
"avg_line_length": 28.95689655172414,
"alnum_prop": 0.6951473652872879,
"repo_name": "TheOrangeDots/ServoyConsoleHyperlinks",
"id": "326fb1be71fe83b1589c1c780e28722edcf... |
package academy.learnprogramming.challenge2;
public class Main {
public static void main(String[] args) {
Integer one = 1;
Integer two = 2;
Integer three = 3;
Integer four = 4;
IntegerLinkedList list = new IntegerLinkedList();
list.insertSorted(three);
lis... | {
"content_hash": "592d30542d59b9de562449bece72728e",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 57,
"avg_line_length": 23.545454545454547,
"alnum_prop": 0.5868725868725869,
"repo_name": "abhishekajain/questions",
"id": "4661d53938dc00647684c6c7a6299a5b1bb26f2e",
"size... |
class HTTParty::CookieHash < Hash #:nodoc:
CLIENT_COOKIES = %w{path expires domain path secure httponly}
def add_cookies(value)
case value
when Hash
merge!(value)
when String
value.split('; ').each do |cookie|
array = cookie.split('=',2)
self[array[0].to_sym] = array[1]
... | {
"content_hash": "b0977d31db97a94a79b2ea99e82f28cf",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 107,
"avg_line_length": 24.90909090909091,
"alnum_prop": 0.5967153284671532,
"repo_name": "rubygem/website",
"id": "674696edf9d19ab62ba76b5002c85483351d9b17",
"size": "548"... |
<?php
namespace App\Models\Entities;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Support\Facades\Storage;
use Spatie\Permission\Traits\HasRoles;
class User extends Authenticatable
{
use HasRoles;
/**
* The attributes that are mass assignable.
*
* @var array
*/
... | {
"content_hash": "dc0a9c1b5ba7ed88758b49b3eaa9b47c",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 134,
"avg_line_length": 24.369230769230768,
"alnum_prop": 0.5896464646464646,
"repo_name": "DGoodrich/laravel-socialize",
"id": "53ea2e3bc75bb1d252dc433f975d8b4751b49839",
... |
'use strict';
// Resolve URLs using the application environment
const vcap = require('cf-abacus-vcapenv');
const urienv = require('..');
describe('cf-abacus-urienv', () => {
it('resolves URIs to the first application URI', () => {
// Return VCAP env like when running in a Bluemix app instance
vca... | {
"content_hash": "7059bce41fb77ea967b14bb20042dfd7",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 103,
"avg_line_length": 37.58,
"alnum_prop": 0.6024481106971793,
"repo_name": "stefanschneider/cf-abacus",
"id": "9f4acff6d640ece571abf6cfdf9e8df82eef9f7e",
"size": "1879",... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="search.css"/>
<script type="text/javascript" src="variab... | {
"content_hash": "203d83780a59ed68a4c9a947574d201c",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 121,
"avg_line_length": 39.08,
"alnum_prop": 0.7093142272262026,
"repo_name": "lnawrot/traffic-simulator",
"id": "9594027e1bf844ee58eab5b73d95da6e1cd95f19",
"size": "978",
... |
#include <aws/opsworks/model/CreateLayerResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <utility>
using namespace Aws::OpsWorks::Model;
using namespace Aws::Utils::J... | {
"content_hash": "da0df54567cc2ded2d493a3352eef532",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 97,
"avg_line_length": 21.54054054054054,
"alnum_prop": 0.7628607277289837,
"repo_name": "chiaming0914/awe-cpp-sdk",
"id": "1dcb4ad9c913f6c3487c0ab08597c5c560afc5d5",
"size... |
import os
from setuptools import setup, find_packages
long_description = open(
os.path.join(
os.path.dirname(__file__),
'README.rst'
)
).read()
setup(
name='prompt_toolkit',
author='Jonathan Slenders',
version='0.52',
license='LICENSE.txt',
url='https://github.com/jonatha... | {
"content_hash": "9e6a875a4153c5f6e3bf60d0485f1302",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 84,
"avg_line_length": 22.444444444444443,
"alnum_prop": 0.6287128712871287,
"repo_name": "ddalex/python-prompt-toolkit",
"id": "c3640d7386867d870ff2bd64ab59cad535d2f91c",
... |
import os,uuid,sys
import requests,subprocess,shutil
from pprint import pprint
from KBaseReport.KBaseReportClient import KBaseReport
from biokbase.workspace.client import Workspace as workspaceService
from ReadsUtils.ReadsUtilsClient import ReadsUtils
#END_HEADER
class kb_fastqc:
'''
Module Name:
kb_fastq... | {
"content_hash": "75df2c0f6d888073ac700fbd06bf1bca",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 125,
"avg_line_length": 44.723958333333336,
"alnum_prop": 0.5384884127168976,
"repo_name": "samseaver/kb_fastqc",
"id": "52298809c282be58f5e5c9a38102648d53cd9532",
"size":... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="LOCAL" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option n... | {
"content_hash": "144c7b34d563cd0650b56d3ab6599922",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 87,
"avg_line_length": 35.666666666666664,
"alnum_prop": 0.5887850467289719,
"repo_name": "SimoneCasagranda/android-wear-tutorial",
"id": "83bfdd37b01d1aa6be6142c153ceea86196... |
<?xml version="1.0"?>
<!--
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See LICENSE.txt in the project root for license information.
-->
<doc>
<assembly>
<name>Microsoft.Graphics.Canvas</name>
</assembly>
<members>
<member name="T:Microsoft.Graphics.Canvas.... | {
"content_hash": "a24f6798c5191e0c71b368818733e17e",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 175,
"avg_line_length": 48.3134328358209,
"alnum_prop": 0.7126969416126042,
"repo_name": "ChrisBriggsy/Win2D",
"id": "5194baa7ff3358f15e526fce76cb57a8124172e7",
"size": "32... |
<readable><title>246041128_bedb09ed74</title><content>
A girl with blonde hair and a black shirt .
A woman sits at an outdoor cafe table with really big blond hair .
A woman who is wearing red lipstick and has curly hair sits at a table .
A woman with bright red lipstick and big blonde hair sitting at an outside cafe
A... | {
"content_hash": "26377b46cc25a5fab0f52506665a5cd5",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 79,
"avg_line_length": 57.57142857142857,
"alnum_prop": 0.7791563275434243,
"repo_name": "kevint2u/audio-collector",
"id": "580e1569acac8ef27035cdb044c506c0d831911b",
"size"... |
package org.eclipse.ceylon.cmr.spi;
import java.io.InputStream;
/**
* An InputStream holder which may know its size
*/
public class SizedInputStream {
private final InputStream inputStream;
private final long size;
public SizedInputStream(InputStream inputStream, long size){
this.inp... | {
"content_hash": "3240946d6c574a342acad0d9a5cfdfad",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 64,
"avg_line_length": 19,
"alnum_prop": 0.6333333333333333,
"repo_name": "ceylon/ceylon",
"id": "0baf112e8aef86f796798f1a79a323f22e4f9143",
"size": "1042",
"binary": fal... |
all:
g++ -o test VocabGen.cpp Word2Vec.cpp HashMap.cpp embedding.cpp FileReader.cpp RandomGen.cpp ExpTable.cpp -lpthread -lm -O3 -Wall -funroll-loops -Wno-unused-result | {
"content_hash": "b630a1666e8e9106399cd2f112675ded",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 164,
"avg_line_length": 84.5,
"alnum_prop": 0.7810650887573964,
"repo_name": "largelymfs/MTMSWord2Vec",
"id": "9cc3890c13312fb37905cc5a4a784c501a491d63",
"size": "169",
"b... |
module.controller('ResourceServerCtrl', function($scope, realm, ResourceServer) {
$scope.realm = realm;
ResourceServer.query({realm : realm.realm}, function (data) {
$scope.servers = data;
});
});
module.controller('ResourceServerDetailCtrl', function($scope, $http, $route, $location, $upload, $mo... | {
"content_hash": "a12415c0a0d03f0d97bab5126e7506ca",
"timestamp": "",
"source": "github",
"line_count": 1454,
"max_line_length": 202,
"avg_line_length": 35.38445667125172,
"alnum_prop": 0.48755077844078604,
"repo_name": "openfact/openfact-temp",
"id": "ec37854c9cca90a309d1d4b4e8c6d296fc46c2dc",
"si... |
<component name="libraryTable">
<library name="appcompat-v7-25.0.0">
<ANNOTATIONS>
<root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/25.0.0/annotations.zip!/" />
<root url="jar://$PROJECT_DIR$/mvp/build/intermediates/exploded-aar/com.android.support/a... | {
"content_hash": "cd113ced786c9d70cc7e0475e639f637",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 143,
"avg_line_length": 60.411764705882355,
"alnum_prop": 0.6932814021421616,
"repo_name": "weiwenqiang/GitHub",
"id": "03273aea2d7686b510bb4b3e5a1bd609abe2cc9d",
"size": "... |
background:#f0f0f0 url(images/bodybg-black2.jpg) repeat-x;
}
a {
color:#4E4E4E;
}
#leftside ul.box li a {
color:#4E4E4E;
}
#mainmenu a {
color: #4E4E4E;
}
#mainmenu a:hover {
background: url(images/menuhover-black.jpg) center left repeat-x;
}
#mainmenu li.current a, #mainmenu li.current_page_item a {
backgro... | {
"content_hash": "c166e46dfb4eab2d8228d55dc6d3db8b",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 66,
"avg_line_length": 18.5,
"alnum_prop": 0.7214137214137214,
"repo_name": "NewWorldOrderly/portfolio",
"id": "1d5b9483404d12456c5dca5f1c9102b2ac0c7a7a",
"size": "495",
... |
"use strict";
let should = require("should");
let sinon = require("sinon");
let eslint = require("../");
let fs = require("fs");
let path = require("path");
let Metalsmith = require("metalsmith");
describe("metalsmith-eslint", function() {
let sandbox = null;
beforeEach(function() {
sandbox = sinon.createSand... | {
"content_hash": "9eff0e99831519b0bba7a3ecbe204a15",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 495,
"avg_line_length": 42.04761904761905,
"alnum_prop": 0.6515666289165722,
"repo_name": "ubenzer/metalsmith-eslint",
"id": "221dc0968207e8b372e5d87e569293bf334e55f6",
"si... |
package org.sakaiproject.portal.render.portlet.services;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import javax.portlet.PortalContext;
import javax.portlet.PortletMode;
import javax.portlet.WindowState;
import org.sakaiproje... | {
"content_hash": "2722bec06c004a6724166c3e0aad19e3",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 81,
"avg_line_length": 18.50980392156863,
"alnum_prop": 0.7409957627118644,
"repo_name": "eemirtekin/Sakai-10.6-TR",
"id": "b8bcf58cb4eae0b24c8b44c8975fe107abb6cda2",
"siz... |
package org.gestern.gringotts.event;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import org.gestern.gringotts.Language;
import org.gestern.gringotts.accountholder.AccountHolder;
/**
* Event that is thrown after Gringotts detects a vault creation.
* When thrown, it includes the type of the va... | {
"content_hash": "ccb669cc2db366c462e0615f4b8129ef",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 102,
"avg_line_length": 26.438095238095237,
"alnum_prop": 0.646613832853026,
"repo_name": "usevalue/Gringotts",
"id": "eb4ea006db9581e4cbd4d29785f3d2516a79a54c",
"size": "... |
<?php
class Google_Service_CertificateAuthorityService_GoogleApiServicecontrolV1QuotaProperties extends Google_Model
{
public $quotaMode;
public function setQuotaMode($quotaMode)
{
$this->quotaMode = $quotaMode;
}
public function getQuotaMode()
{
return $this->quotaMode;
}
}
| {
"content_hash": "b8a855efe99ad615c46bbf745194c1cb",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 110,
"avg_line_length": 18.8125,
"alnum_prop": 0.7408637873754153,
"repo_name": "bshaffer/google-api-php-client-services",
"id": "2a83c4d025bd60b02a11e81ab7bb3ed931372b3b",
... |
namespace SADFM.Data
{
using System;
using System.Collections.Generic;
public partial class ScaleItemHeader
{
public System.Guid ScaleItemHeaderId { get; set; }
public System.Guid ScaleItemId { get; set; }
public string Name { get; set; }
public virtual ListItem... | {
"content_hash": "b4f8cc7fabdcfbef6d87a55a057001f6",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 58,
"avg_line_length": 25.214285714285715,
"alnum_prop": 0.6260623229461756,
"repo_name": "developersworkspace/EPONS",
"id": "e28348fa62a5b7d38b2cbabe9061bea1ee3e88fd",
"si... |
@interface CDVAlipay : CDVPlugin
@property(nonatomic,strong)NSString *partner;
@property(nonatomic,strong)NSString *rsa_private;
@property(nonatomic,strong)NSString *rsa_public;
@property(nonatomic,strong)NSString *currentCallbackId;
- (void)pay:(CDVInvokedUrlCommand*)command;
@end
| {
"content_hash": "0609c06f1dd910b5c87a8cc25bb94a0c",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 55,
"avg_line_length": 28.6,
"alnum_prop": 0.8076923076923077,
"repo_name": "Diaosir/WeX5",
"id": "d3429388eb7f335c6b861e4ad05fce5c28dcd358",
"size": "446",
"binary": fal... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hammer-tactics: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... | {
"content_hash": "beb34be58fc4ea5a9045d0af10847522",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 159,
"avg_line_length": 39.92696629213483,
"alnum_prop": 0.5535387645982833,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "e423d754fb4daadb4625682ffabc125f0379bc56",
... |
var Hapi = require('hapi');
var Joi = require('joi');
var Boom = require('boom');
var IdeaService = require('../services/ideaService.js');
var TagService = require('../services/tagService.js');
var SkillService = require('../services/skillService.js');
var TechnologyService = require('../services/technologyService.js')... | {
"content_hash": "e8275751cd2d224e2f739dc599f0099f",
"timestamp": "",
"source": "github",
"line_count": 212,
"max_line_length": 133,
"avg_line_length": 39.39622641509434,
"alnum_prop": 0.3703304597701149,
"repo_name": "davelaursen/idealogue",
"id": "c84ae7b731500234f70812dd6609e24f71c614db",
"size"... |
package org.jbpm.compiler.xml.processes;
import java.util.HashSet;
import org.drools.core.xml.BaseAbstractHandler;
import org.drools.core.xml.ExtensibleXmlParser;
import org.drools.core.xml.Handler;
import org.jbpm.workflow.core.Constraint;
import org.jbpm.workflow.core.impl.ConnectionRef;
import org.jbpm.workflow.... | {
"content_hash": "6a395f49cbf630fc1c9baf90c2c1c87a",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 79,
"avg_line_length": 34.91208791208791,
"alnum_prop": 0.6216556499842619,
"repo_name": "xingguang2013/jbpm-1",
"id": "3ac23110a1882915fcc13f24f5f4da7f2244073c",
"size": "... |
<?php
namespace Sender;
use Zend\Stdlib\Parameters;
use Zend\Http\Request,
Zend\Http\Client;
/**
* Description of Sender
*
* @author seyfer
*/
class Sender {
/**
*
* @var Client
*/
private $client;
private $url;
public function __construct()
{
$this->client = new ... | {
"content_hash": "ee40bc9dd3395b9bd765e17796e91a5d",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 85,
"avg_line_length": 22,
"alnum_prop": 0.5321969696969697,
"repo_name": "seyfer/zend2-tutorial.me",
"id": "006511e8fbe714bf2791c3fe850ad945d55e9088",
"size": "1597",
"b... |
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment vari... | {
"content_hash": "6b0abc72ec18bc96727bb828438f54f1",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 343,
"avg_line_length": 38.5606936416185,
"alnum_prop": 0.706490780992355,
"repo_name": "skyportsystems/gollum",
"id": "6aebeb8ee31a5e165aa59d4dd76e2655c98f5f0c",
"size": ... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "0856dabc3943d2746b2b5d95766a4a17",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "cdf79790c08e1cd6460e8a20654f44f678d5b6eb",
"size": "178... |
package com.netflix.hollow.core.read.missing;
import com.netflix.hollow.api.objects.HollowRecord;
import com.netflix.hollow.api.objects.delegate.HollowRecordDelegate;
import com.netflix.hollow.core.read.dataaccess.HollowTypeDataAccess;
import com.netflix.hollow.core.schema.HollowSchema;
public class FakeMissingHollo... | {
"content_hash": "9185a14b50cda4d9983a5e6781f49f78",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 82,
"avg_line_length": 26.157894736842106,
"alnum_prop": 0.7303822937625755,
"repo_name": "Netflix/hollow",
"id": "f744a859d93af0b6ead1b94b32568324802f5fae",
"size": "1635"... |
/*eslint no-console:0 */
define(
'tinymce.themes.modern.demo.NotificationDemo',
[
'ephox.katamari.api.Arr',
'global!console',
'global!document',
'global!setTimeout',
'tinymce.core.EditorManager',
'tinymce.themes.modern.Theme'
],
function (Arr, console, document, setTimeout, EditorMana... | {
"content_hash": "f934996b35309e9e5bbc35b7158a7926",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 95,
"avg_line_length": 29.868852459016395,
"alnum_prop": 0.6029088913282108,
"repo_name": "wael-Fadlallah/overflow",
"id": "91719146e766c79dc1b4e789bc21aa1854209c8d",
"siz... |
if is_osx; then
export MAKEFLAGS=-j1
export CFLAGS=-I$MP_PREFIX/include/
export LIBS=$MP_PREFIX/lib/libiconv.a
export LDFLAGS="-L${HB_PREFIX}/opt/openssl/lib"
export CPPFLAGS=-I${HB_PREFIX}/opt/openssl/include
export PKG_CONFIG_PATH=${HB_PREFIX}/opt/openssl/lib/pkgconfig
fi
### Download and com... | {
"content_hash": "dd634d3efd1c302aac506cab303b7199",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 65,
"avg_line_length": 27.214285714285715,
"alnum_prop": 0.6351706036745407,
"repo_name": "viklund/dotfiles",
"id": "06b44bbbd774a5a5802dea96cb4fa52e0bdff015",
"size": "783... |
class ArtefactsController < ApplicationController
before_filter :find_artefact, :except => %i(index new)
helper_method :sort_column, :sort_direction
respond_to :html
ITEMS_PER_PAGE = 100
def index
@filters = params.slice(:kind, :state, :search, :owned_by)
scope = artefact_scope.without(:actions)
... | {
"content_hash": "76cf9a376f3475f7356941e18d552c1d",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 93,
"avg_line_length": 25.066666666666666,
"alnum_prop": 0.6631205673758865,
"repo_name": "alphagov/panopticon",
"id": "91fe689cb172cc137ac352c0291b58938c66dbe7",
"size": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.