text stringlengths 2 1.04M | meta dict |
|---|---|
module Azure::Consumption::Mgmt::V2019_05_01
module Models
#
# Error response indicates that the service is not able to process the
# incoming request. The reason is provided in the error message.
#
class ErrorResponse
include MsRestAzure
# @return [ErrorDetails] The details of the e... | {
"content_hash": "d707b88a260d95183bb08187fe9cf7ca",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 74,
"avg_line_length": 25.58139534883721,
"alnum_prop": 0.5181818181818182,
"repo_name": "Azure/azure-sdk-for-ruby",
"id": "459686e1eab5c3fbadbbf4333fc268c1a59d104d",
"size... |
Run `gcli` binary and check its output.
```bash
$ cd $GOPATH/src/github.com/tcnksm/gcli
$ make tests
```
You can also run it on docker container,
```bash
$ cd $GOPATH/src/github.com/tcnksm/gcli
$ ./test-docker.sh
```
| {
"content_hash": "7aa486c47d8a304ff6952fea2529290c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 40,
"avg_line_length": 17,
"alnum_prop": 0.6832579185520362,
"repo_name": "tacahilo/gcli",
"id": "d9ddcf0500799cd5dc025e394ba5443ae4347400",
"size": "230",
"binary": fals... |
<?php
//Auto-generated by ArtaxServiceBuilder - https://github.com/Danack/ArtaxServiceBuilder
//
//Do not be surprised when any changes to this file are over-written.
//
namespace GithubService\Operation;
class searchCode implements \ArtaxServiceBuilder\Operation {
/**
* @var \GithubService\GithubArtaxServi... | {
"content_hash": "4adf1693065c1692024c209f9d9cd3d7",
"timestamp": "",
"source": "github",
"line_count": 264,
"max_line_length": 92,
"avg_line_length": 28.553030303030305,
"alnum_prop": 0.623109578137437,
"repo_name": "Danack/GithubArtaxService",
"id": "12f209d773be0add627bfbbdeff58719be173e87",
"si... |
var GenericRouter = function(config) {
config = config || {};
GenericRouter.superclass.constructor.call(this, config);
};
Ext.extend(GenericRouter, Ext.Component, {
page: {}
,window: {}
,grid: {}
,tree: {}
,panel: {}
,combo: {}
,config: {}
});
Ext.reg('genericrouter', GenericRouter);... | {
"content_hash": "3300b600e663a8dd9eb8b6328666cae5",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 60,
"avg_line_length": 22.4375,
"alnum_prop": 0.6100278551532033,
"repo_name": "OptimusCrime/modx-generic-router",
"id": "f24d13de6308fadd588f629854e9f97dddce159e",
"size":... |
dojo.provide("dojo.tests.store.Cache");
dojo.require("dojo.store.Memory");
dojo.require("dojo.store.Cache");
(function(){
var masterStore = new dojo.store.Memory({
data: [
{id: 1, name: "one", prime: false},
{id: 2, name: "two", even: true, prime: true},
{id: 3, name: "three", prime: true},
{id: 4, name:... | {
"content_hash": "de2f05f7e9ba0467e342f721ba9265a0",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 80,
"avg_line_length": 26.739583333333332,
"alnum_prop": 0.5808336579664979,
"repo_name": "amdharness/AmdHarness-amd-xml-test-Intern",
"id": "2c2217ea6545a5634a4d0c92bcea446e... |
<!DOCTYPE html>
<html lang="en" class="js">
<head>
<title>Popovers - eMAG Apps UI KIT</title>
<link rel="stylesheet" href="../dist/plugins/css3spinners/css3-spinners.1.2.2.min.css">
<!-- PLUGIN: jqGrid: Added in demo for boostrap tabs. Is not necessary for boostrap tabs.-->
<link rel="stylesheet" href... | {
"content_hash": "e12c7924ab6f539a39a8a38d915e58d5",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 329,
"avg_line_length": 59.4126213592233,
"alnum_prop": 0.4899093063158755,
"repo_name": "eMAGTechLabs/emag-apps-ui-kit",
"id": "036894128e2b73a7e345ff81f04aeba33f6a97ea",
... |
package com.orange.clara.cloud.servicedbdumper.utiltest;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.runner.Description;
import org.junit.runner.Result;
import org.junit.runner.notification.RunListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.... | {
"content_hash": "1d12fe93bd7167080ead7828105a7d59",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 188,
"avg_line_length": 46.54545454545455,
"alnum_prop": 0.6845703125,
"repo_name": "orange-cloudfoundry/db-dumper-service",
"id": "c21de28b9dfb0919fab4fe9cbf0c9bdb56745773",... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Fl. mycol. (Paris) 33 (1888)
#### Original name
Cyphella muscicola Fr., 1822
### Remarks
null | {
"content_hash": "e27afc4afdba2123c8c8f6340b23e76b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 13.923076923076923,
"alnum_prop": 0.6906077348066298,
"repo_name": "mdoering/backbone",
"id": "03b3afc77b0e94abfc4b7fe7f745868b3786c72b",
"size": "24... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ka... | {
"content_hash": "48acf7cd983dca24618706b83a054ac1",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.75,
"alnum_prop": 0.7484276729559748,
"repo_name": "kaleylab/KaleyLab",
"id": "495f763b183b2912ff8120213eb009073e9e49c1",
"size": "1434",
"binar... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "2d155059802140120d45cd44dc6c7031",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "0d60343951d0aa40b59fe8a83fc5caed336a2818",
"size": "194... |
module Firstfm
class Event
attr_accessor :id, :title, :url, :venue, :tag, :description, :attendance, :website, :start_date, :reviews, :artists, :headliner, :tags, :images
def self.init_events_from_hash(hash)
return [] unless hash["events"] && hash["events"]["event"]
return [init_event... | {
"content_hash": "b7b7576e208d0fd402840305d06c951e",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 147,
"avg_line_length": 33.64102564102564,
"alnum_prop": 0.5945121951219512,
"repo_name": "egze/firstfm",
"id": "cab23f486a5093bbf1f3c63dedf3a713d71bc311",
"size": "1312",
... |
package iaas.uni.stuttgart.de.prosit.graph.processtree;
import java.util.ArrayList;
import java.util.List;
import org.jgrapht.Graph;
import org.jgrapht.experimental.dag.DirectedAcyclicGraph;
import org.jgrapht.graph.DefaultEdge;
import org.jgrapht.graph.SimpleGraph;
import org.w3c.dom.Document;
import org.w3c.dom.Ele... | {
"content_hash": "cbaad4d2374d1d60e41ae4ec416a4922",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 110,
"avg_line_length": 33.990990990990994,
"alnum_prop": 0.7235621521335807,
"repo_name": "nyuuyn/ProSit",
"id": "c954cd268997d9c7a742e2670fa61f4e609dc557",
"size": "3773... |
<?php
/**
* Sage includes
*
* The $sage_includes array determines the code library included in your theme.
* Add or remove files to the array as needed. Supports child theme overrides.
*
* Please note that missing files will produce a fatal error.
*
* @link https://github.com/roots/sage/pull/1042
*/
$sage_incl... | {
"content_hash": "bdcb76469b7cbc886acb5477d70cc231",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 95,
"avg_line_length": 27.896551724137932,
"alnum_prop": 0.6736711990111248,
"repo_name": "drala/kcm-theme",
"id": "7775db6010cbca383ff2c20e982ea8a746177f41",
"size": "809"... |
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class Test
</title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class Test
">
<meta name="generator"... | {
"content_hash": "2461efd96e5387de66f74e36c33efe16",
"timestamp": "",
"source": "github",
"line_count": 766,
"max_line_length": 568,
"avg_line_length": 50.50391644908616,
"alnum_prop": 0.5117872098433541,
"repo_name": "vain0/EnumerableTest",
"id": "1314086ca4cf2b5a2ae2141d15985885f7ca8f99",
"size":... |
World(FactoryBot::Syntax::Methods)
| {
"content_hash": "80984b616ef349c6ec3ccc35b74e8012",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 34,
"avg_line_length": 35,
"alnum_prop": 0.8,
"repo_name": "tip4commit/tip4commit",
"id": "814501a588653e7a4d8f21047e2e4a930c71c407",
"size": "66",
"binary": false,
"cop... |
**Lighthouse** is a simple service-discovery tool for Akka.Cluster, designed to make it easier to play nice with PaaS deployments like Azure / Elastic Beanstalk / AppHarbor.
The way it works: Lighthouse runs on a static address and _is not updated during deployments of your other Akka.Cluster services_. You don't trea... | {
"content_hash": "1aedddd8b2bbae91cdeb224d9b5f9e84",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 501,
"avg_line_length": 63.54054054054054,
"alnum_prop": 0.7833546008790585,
"repo_name": "petabridge/lighthouse",
"id": "c557d29683e2d8e9c937b5daf8e5ddea37a18232",
"size"... |
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
# Create one-input, one-output, no-fee transaction:
class MempoolCoinbaseTest(BitcoinTestFramework):
def __init__(self):
super().__init__()
self.num_nodes = 1
self.setup_clean_wall = False
... | {
"content_hash": "a11e3dc326d8dbfedffa1698c2c4cc27",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 105,
"avg_line_length": 40.38028169014085,
"alnum_prop": 0.6236484129752354,
"repo_name": "magacoin/magacoin",
"id": "138d6a2232365fb43b3adf2e56508ee43f8f5117",
"size": "31... |
<?php
/**
* Description of FlyerArtRequestModel
*
* @author Nikesh Hajari
*/
namespace ArtRequest\Model;
use \AppCore\Exception\ModelException;
use \ArtRequest\Service\Entity\ArtRequestServiceEntity;
class FlyerArtRequestModel
{
/**
* Create New Flyer Art Request
*
* @param integer $artReque... | {
"content_hash": "533e69476be8131e73353f8775795f7a",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 77,
"avg_line_length": 23.266666666666666,
"alnum_prop": 0.5883476599808978,
"repo_name": "tomtuner/app",
"id": "a178a85e6293954ee16a0696dd4813923bc48f02",
"size": "1047",
... |
package gcpkms_test
import (
"context"
"log"
"gocloud.dev/secrets"
"gocloud.dev/secrets/gcpkms"
)
func ExampleOpenKeeper() {
// PRAGMA: This example is used on gocloud.dev; PRAGMA comments adjust how it is shown and can be ignored.
// PRAGMA: On gocloud.dev, hide lines until the next blank line.
ctx := contex... | {
"content_hash": "d4cdd7816a17bcb9961e34a8f59017a2",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 107,
"avg_line_length": 26.48,
"alnum_prop": 0.7001510574018127,
"repo_name": "google/go-cloud",
"id": "9faaab2f084c2f1a26bdedbc95121dbd7e03ba61",
"size": "1939",
"binary... |
<div class="subtotal">
<span class="label">SUBTOTAL</span>
<!-- ko foreach: elems -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</div>
| {
"content_hash": "50cd63a6b96f2128772350c629f22881",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 55,
"avg_line_length": 22,
"alnum_prop": 0.4772727272727273,
"repo_name": "letunhatkong/tradebanner",
"id": "a00e3ad1f01839e42e5232cb806bcea9ba276c71",
"size": "177",
"bin... |
class EducatorSummary
def initialize(options = {})
if options[:school_scope].present?
school = School.find_by_local_id!(options[:school_scope])
@educators = school.educators
else
@educators = Educator
report
end
end
def report
puts; puts "=== EDUCATOR REPORT ==="
p... | {
"content_hash": "0f587c9b428af9727c45d1a803efed97",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 99,
"avg_line_length": 33.87323943661972,
"alnum_prop": 0.6170478170478171,
"repo_name": "erose/studentinsights",
"id": "258e882094772555c349883982034d13d0bc2466",
"size": ... |
package strings;
public class Information {
public static final String SERVER_STARTED = "\nServer started.\nWaiting for response from client...\n";
public static final String CLIENT_CONNECTED = "Client connected.";
public static final String CLIENT_NOT_CONNECTED = "Client sent invalid connection command: "... | {
"content_hash": "edafceef1fe4835fc401c4020b72ac9b",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 128,
"avg_line_length": 81.8,
"alnum_prop": 0.7471882640586797,
"repo_name": "SilverThings/silverknife",
"id": "0ed36a48dc75e7d5de38be6972b83f91674e0380",
"size": "2045",
... |
@implementation Owner
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
if ([key isEqualToString:@"id"]) {
self.ID = value;
}
}
- (NSString *)description{
return [NSString stringWithFormat:@"%@",_name];
}
@end
| {
"content_hash": "37c9cc164d25b6b7e0b73b5f86b81c39",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 59,
"avg_line_length": 18.692307692307693,
"alnum_prop": 0.6296296296296297,
"repo_name": "GuoHaiL/0834class",
"id": "c249a89a05c0ee91b582aa6d81dbb41b3a31930c",
"size": "39... |
<% layout("/common/layout.html"){ %>
<script type="text/javascript">
$(document).ready(function(){
$('.jlsp01').each(function(){
$(this).error(function(){
if (this.src != 'http://www.dongmark.com/images/default.png') {
this.src = 'http://www.dongmark.com/images/default.png';
var width = $(thi... | {
"content_hash": "468a5dbf6e507a49db04cc55af279794",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 664,
"avg_line_length": 41.60550458715596,
"alnum_prop": 0.4901874310915105,
"repo_name": "zhengjiabin/domeke",
"id": "90e357a21980496d972ecde8400bdb1f44edb0a9",
"size": "... |
<com.tle.beans.mime.MimeEntry>
<id>772421</id>
<institution>
<id>772306</id>
<uniqueId>0</uniqueId>
<enabled>true</enabled>
</institution>
<extensions class="list">
<string>mrw</string>
</extensions>
<type>image/x-minolta-mrw</type>
<description>Image</description>
<attributes>
<entr... | {
"content_hash": "65e185581e81ab2e7c1bfaeb34db38cf",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 72,
"avg_line_length": 25.91304347826087,
"alnum_prop": 0.6476510067114094,
"repo_name": "equella/Equella",
"id": "f4110f4821eea71fd96d1ecec26a1533f5f83e6b",
"size": "596",... |
package algnhsa
import (
"context"
"github.com/aws/aws-lambda-go/events"
)
type contextKey int
const (
proxyRequestContextKey contextKey = iota
albRequestContextKey
)
func newProxyRequestContext(ctx context.Context, event events.APIGatewayProxyRequest) context.Context {
return context.WithValue(ctx, proxyRequ... | {
"content_hash": "76e1ed9ec26f952f7fc3dc81f14389fa",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 108,
"avg_line_length": 29.095238095238095,
"alnum_prop": 0.7995090016366612,
"repo_name": "whosonfirst/go-webhookd",
"id": "0483180301852e7d7ae78255db5734ae39529f54",
"siz... |
const path = require('path');
const _ = require('lodash');
const chalk = require('chalk');
const constants = require('../generator-constants');
const { OptionNames } = require('../../jdl/jhipster/application-options');
const { GRADLE, MAVEN } = require('../../jdl/jhipster/build-tool-types');
const { GATEWAY, MICROSER... | {
"content_hash": "6569d564fa2cb37433fd966f2a36aea0",
"timestamp": "",
"source": "github",
"line_count": 191,
"max_line_length": 170,
"avg_line_length": 42.09947643979058,
"alnum_prop": 0.6422086805123741,
"repo_name": "pascalgrimaud/generator-jhipster",
"id": "ad90a333cbaea6ba4fedc524cac859be22935caf... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "175ac7cb49ccf112928c50930c6f6b21",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "d6322b125854d060b4c0af9ab71825f6e845e44e",
"size": "187... |
- Mesos + Marathon + ZooKeeper + Chronos (orchestration components)
- Consul (K/V store, monitoring, service directory and registry) + Registrator (automating register/ deregister)
- HAproxy + consul-template (load balancer with dynamic config generation)
##### Combination of daemons startup
| Component | Maste... | {
"content_hash": "71f39d45caf0ea5de30a71d1ff232072",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 192,
"avg_line_length": 37.03225806451613,
"alnum_prop": 0.649390243902439,
"repo_name": "CloudNil/Toots",
"id": "1eb20265b7c1ec730a2cf0aeaee3a4acb5245610",
"size": "4669"... |
package internet
import (
"testing"
"github.com/sacloud/libsacloud/v2/helper/cleanup"
"github.com/sacloud/libsacloud/v2/sacloud"
"github.com/sacloud/libsacloud/v2/sacloud/testutil"
"github.com/sacloud/libsacloud/v2/sacloud/types"
)
func TestBuilder_Build(t *testing.T) {
var testZone = testutil.TestZone()
tes... | {
"content_hash": "ae6fef236422cb38d794149cced4a8a5",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 97,
"avg_line_length": 36.38532110091743,
"alnum_prop": 0.6724659606656581,
"repo_name": "sacloud/libsacloud",
"id": "df9e8460bfa6cc5691f3d09fe5c01b58752905d5",
"size": "4... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "juniper_dfw_query_item.h"
#include <vespa/searchlib/fef/properties.h>
namespace juniper { class IQueryVisitor; }
namespace search::docsummary {
/*
* Visitor used by juniper query adapter... | {
"content_hash": "5f4edfb9b522e22e0e725fb66ae2f709",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 110,
"avg_line_length": 26.448275862068964,
"alnum_prop": 0.7288135593220338,
"repo_name": "vespa-engine/vespa",
"id": "4b8b3dd8e7b51ccb56344eaa80f352b13a57810d",
"size": "... |
from traductor.translators.base import BaseTranslator
class Cpuset(BaseTranslator):
"""
"""
def translate(self, value):
"""
:param value:
:return:
"""
if not value:
return ""
return "--cpuset-cpus=%s" % value | {
"content_hash": "c358a1cd826bbda362c71328d65c31aa",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 53,
"avg_line_length": 18.866666666666667,
"alnum_prop": 0.5229681978798587,
"repo_name": "the0rem/traductor",
"id": "cf25b0193f72c7f0891918a0ecad99f2e4a3ddb4",
"size": "28... |
REQUIRED_SETTINGS = ["use_environments",
"api_server",
"configure_server"]
| {
"content_hash": "d7b2ba2e0d5461045ddc2c632857beb6",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 40,
"avg_line_length": 39,
"alnum_prop": 0.4700854700854701,
"repo_name": "sensu/sensu-admin",
"id": "d3a95008866a95e5763f2b7fed4b38df42739cba",
"size": "117",
"binary": f... |
using FlockBuddy.Interfaces;
using FlockBuddy.SteeringBehaviors;
using Microsoft.Xna.Framework;
using System;
namespace FlockBuddy
{
/// <summary>
/// This is the base class for all behaviors
/// </summary>
public abstract class BaseBehavior : IBehavior
{
#region Properties
/// <summary>
/// The type... | {
"content_hash": "90e7044199a5ed911c377dce25085050",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 112,
"avg_line_length": 33.904761904761905,
"alnum_prop": 0.6878511235955056,
"repo_name": "dmanning23/FlockBuddy",
"id": "b28bfb539f7b0f59494bfb5356b851cd75bbd975",
"size"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using E2Print.Domain.Entities;
namespace E2Print.BL.Interfaces
{
public interface IProduct
{
List<Product> GetAll();
List<Product> GetProducts(int startIndex, int pageSize);
... | {
"content_hash": "2ef88d44fe07d19f4e76871fe9135c9e",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 104,
"avg_line_length": 28,
"alnum_prop": 0.7019230769230769,
"repo_name": "kma14/HB",
"id": "9ab6535eb6f6663b8cbf419f5a8797bd7b7712f0",
"size": "730",
"binary": false,
... |
{-# LANGUAGE
FlexibleContexts
, FlexibleInstances
, LambdaCase
, MultiParamTypeClasses
, OverloadedStrings
, PatternGuards
, RecordWildCards
#-}
-- | Memoized packrat parsing, inspired by Edward Kmett\'s
-- \"A Parsec Full of Rats\".
module Language.Bash.Parse.Internal
( -- * Packrat parsing
... | {
"content_hash": "6707c8fda506f4835aab96d96de83ad2",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 82,
"avg_line_length": 30.11764705882353,
"alnum_prop": 0.5635516826923077,
"repo_name": "jfoutz/language-bash",
"id": "666b7d1f512b9cb64b98447ab012b00a02610c0f",
"size": ... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "04cb21d809d7c2aa70e6d3f12a865054",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "29368fda5399c9987736a4da2f415f57634fd043",
"size": "19... |
<?xml version="1.0" encoding="utf-8" ?>
<extension xmlns="urn:newrelic-extension">
<instrumentation>
<tracerFactory>
<match assemblyName="System.Web.Mvc" className="System.Web.Mvc.ControllerActionInvoker">
<exactMethodMatcher methodName="InvokeAction" />
</match>
</tracerFactory>
<tracerFactory>
... | {
"content_hash": "26b29bf99564b19b1ffbe38a4ef5729f",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 102,
"avg_line_length": 31.9,
"alnum_prop": 0.7429467084639498,
"repo_name": "chris-han/FaceRecognization",
"id": "d34338e628f5b62f4e735288b1285075b72c953e",
"size": "959",... |
using System;
using System.Web.Http;
using System.Web.Mvc;
using StacksOfWax.OwinApi.Areas.HelpPage.ModelDescriptions;
using StacksOfWax.OwinApi.Areas.HelpPage.Models;
namespace StacksOfWax.OwinApi.Areas.HelpPage.Controllers
{
/// <summary>
/// The controller that will handle requests for the help page.
//... | {
"content_hash": "a586cbb91011bf90cead53236b4379b6",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 115,
"avg_line_length": 30.41269841269841,
"alnum_prop": 0.6012526096033403,
"repo_name": "jamieide/webapi-presentation",
"id": "7085b26277b44183ff09185c6688736a0689bd3d",
... |
<?php
declare(strict_types=1);
namespace Doctrine\Bundle\MongoDBBundle\Tests\Fixtures\DataCollector;
use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
use MongoDB\BSON\ObjectId;
/** @ODM\Document */
class Category
{
/**
* @ODM\Id
*
* @var ObjectId|null
*/
protected $id;
/**
... | {
"content_hash": "883704332674ab9af443635d9754af72",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 69,
"avg_line_length": 15.806451612903226,
"alnum_prop": 0.5857142857142857,
"repo_name": "doctrine/DoctrineMongoDBBundle",
"id": "18dc32a7d6abc3855c3901b5bf98976f0cd12148",
... |
package com.bitdubai.fermat_cbp_api.layer.cbp_sub_app_module.crypto_customer_community.exceptions;
import com.bitdubai.fermat_api.FermatException;
/**
* Created by eze on 2015.07.30..
*/
public class CantStartRequestException extends FermatException {
/**
* This is the constructor that every inherited Ferm... | {
"content_hash": "8f08dfaf9c8ae1b42e9702dbf2cb3a19",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 175,
"avg_line_length": 55.25,
"alnum_prop": 0.746606334841629,
"repo_name": "fvasquezjatar/fermat-unused",
"id": "89d6f9a5c07f42908f13fcacf18e5e49216f38f8",
"size": "1105"... |
/**
* A simple custom row expander that does not add a "+" / "-" column.
*/
Ext.define('ExecDashboard.ux.plugin.RowExpander', {
extend: 'Ext.grid.plugin.RowExpander',
alias: 'plugin.ux-rowexpander',
rowBodyTpl: [
'<div class="text-wrapper">',
'<div class="news-data">',
... | {
"content_hash": "9423061655f413b2039420abbaea9703",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 201,
"avg_line_length": 34.292682926829265,
"alnum_prop": 0.5839260312944523,
"repo_name": "ralscha/extdirectspring-demo",
"id": "37024e5bb022671dcdaff7954f911359cbec2c0f",
... |
//
// SDLHapticManager.h
// SmartDeviceLink-iOS
//
// Copyright © 2017 smartdevicelink. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "SDLFocusableItemLocatorType.h"
#import "SDLFocusableItemHitTester.h"
NS_ASSUME_NONNULL_BEGIN
@interface SDLFocusableItemLocator : NSObject <SDLFocusableItemLocatorType,... | {
"content_hash": "7ab7423c4b028a30d7c14fc69f5d2d33",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 102,
"avg_line_length": 21.483870967741936,
"alnum_prop": 0.7747747747747747,
"repo_name": "smartdevicelink/sdl_ios",
"id": "02afcb5941129a290505fdd466ff888917ca7dac",
"siz... |
using System.Linq;
namespace Muyou.LinqToWindows.Extensions
{
public static class CharExtensions
{
public static bool IsInRange(this char @char, char lower, char upper)
{
return @char >= lower && @char <= upper;
}
public static bool IsOneOf(this char @char, params char[] chars)
{
return chars.Any(@c... | {
"content_hash": "b4a6bfb8c16b2084447fb21eeaf61c37",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 71,
"avg_line_length": 20.058823529411764,
"alnum_prop": 0.6920821114369502,
"repo_name": "Eskat0n/linqtowindows",
"id": "baf30943ea22457b54efa041a91341c0686784a4",
"size":... |
package com.deleidos.rtws.master.core.exception;
public class StatisticsCollectorException extends Exception {
private static final long serialVersionUID = 7526471155622956523L;
public StatisticsCollectorException(String message) {
super(message);
}
public StatisticsCollectorException(String message, Th... | {
"content_hash": "c886dfce341b04bbb852cf0b94285949",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 71,
"avg_line_length": 20.555555555555557,
"alnum_prop": 0.7864864864864864,
"repo_name": "deleidos/digitaledge-platform",
"id": "acc385384bad0084de2d69765e2744118c27f299",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>idxassoc: 16 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="st... | {
"content_hash": "5ea54bcca04ca189f543f94c1a0c3fc5",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 214,
"avg_line_length": 45.9367816091954,
"alnum_prop": 0.5631177280120105,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "4b02a58532a498ce9067f1d0f13fb7711fc5234b",
... |
@interface WPHTTPAuthenticationAlertView : UIAlertView
- (id)initWithChallenge:(NSURLAuthenticationChallenge *)challenge;
@end
| {
"content_hash": "289802dc2bc34dd15e50c1cf256096ea",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 66,
"avg_line_length": 42.333333333333336,
"alnum_prop": 0.8503937007874016,
"repo_name": "WuXueqian/WordPressKit",
"id": "5ad7344e050166303f6d743831ca82356a8cefca",
"size":... |
{% extends "layout.html" %}
{% block page_title %}
Check MOT history
{% endblock %}
{% block content %}
<main id="content" role="main">
<a class="link-back" href="enter-reg">Back</a>
<div class="banner advice">
<h2 class="heading-medium">
The MOT of this vehicle is expiring soon on 9 February 2018
</h2>... | {
"content_hash": "7f912cba9debfc222ea7ce10c4850099",
"timestamp": "",
"source": "github",
"line_count": 682,
"max_line_length": 149,
"avg_line_length": 28.13782991202346,
"alnum_prop": 0.572902553413236,
"repo_name": "chrisisk/dvsa-check-mot-history",
"id": "71dd3bfe8b7b185e5dc8a927a86c24622439036d",... |
import * as T from './type-helpers';
import { createCustomAction } from './create-custom-action';
// @dts-jest:group toString() method return a type
{
const actionCreator = createCustomAction('CREATE_CUSTOM_ACTION');
// @dts-jest:pass:snap
actionCreator.toString(); // => 'CREATE_CUSTOM_ACTION'
}
// @dts-jest:gr... | {
"content_hash": "8ed5c39513f712792eceeb5e4630278e",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 111,
"avg_line_length": 27.91304347826087,
"alnum_prop": 0.6448598130841121,
"repo_name": "piotrwitek/typesafe-actions",
"id": "c1d5a9ac72214253773c59d8f6c2b4ddd37ff5b2",
"... |
<?php
namespace ONGR\FilterManagerBundle\Filters\ViewData;
use ONGR\FilterManagerBundle\Filters\ViewData;
/**
* This class holds extra data for range and date_range filters.
*/
class RangeAwareViewData extends ViewData
{
/**
* @var float|\DateTime
*/
private $minBounds;
/**
* @var flo... | {
"content_hash": "3b9c602a673ceade746e07fe2d93e8eb",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 64,
"avg_line_length": 17.91304347826087,
"alnum_prop": 0.5679611650485437,
"repo_name": "murnieza/FilterManagerBundle",
"id": "278dc437f85f7f855856dee13aeab80ae6f56d4e",
"... |
'use strict';
// MAIN //
// Define the bundle:
var BUNDLE = {
'name': 'bundle',
'standalone': 'stdlib_datasets_exclude',
'namespace': 'tree',
'raw': false,
'minified': true,
'include': [
// WARNING: this list is fragile, as we must manually update the list of what to include as the namespace changes.
// ... | {
"content_hash": "63dc8c5c4b1ef0ceb042311374418aa4",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 244,
"avg_line_length": 36.35,
"alnum_prop": 0.7267308574048602,
"repo_name": "stdlib-js/stdlib",
"id": "cfb4d11e5a45a77b0a5a7dc3b1beb657a4ebd493",
"size": "2797",
"binar... |
using System;
using UnityEngine;
using Zenject;
namespace Zenject.SpaceFighter
{
public enum BulletTypes
{
FromEnemy,
FromPlayer,
}
public class Bullet : MonoBehaviour
{
float _startTime;
BulletTypes _type;
float _speed;
float _lifeTime;
[S... | {
"content_hash": "85b7839740aab03310cf82e63d3c0671",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 98,
"avg_line_length": 22.205479452054796,
"alnum_prop": 0.5231338679827268,
"repo_name": "matt123miller/Grid-System",
"id": "fa7d92013b9f137d8f6dd5d4a756d7d6205a8739",
"si... |
#ifndef SPAWNINGVEHICLESRUNNABLE_H
#define SPAWNINGVEHICLESRUNNABLE_H
class Simulator;
#include "Types.h"
#include <QtCore>
#include <QRunnable>
#include <vector>
/**
* @brief
* Klasa obsługujaca powstawanie pojazdów na planszy w odpowiednich punktach Spawn
*/
class SpawningVehiclesRunnable : public QRunnable {
... | {
"content_hash": "6ab04ef528f78dae5d557b3a367af501",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 82,
"avg_line_length": 22.366666666666667,
"alnum_prop": 0.7302533532041728,
"repo_name": "mbychawski/traffic-simulator",
"id": "6a7fb400bfaa114d3594ccb575a9d74f4168af21",
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Version 4.4.0.0 www.ComponentFactory.com
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | {
"content_hash": "b31a0516e805d1b488fa8e9c91bab22d",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 151,
"avg_line_length": 41.73076923076923,
"alnum_prop": 0.5889400921658986,
"repo_name": "Cocotteseb/Krypton",
"id": "5f0196e9d4ac9e72b05509d38f600ac139efe8ff",
"size": "1... |
{{ "<!-- ENTERING partial socialsharing.html -->" | safeHTML }}
<div class="social-sharing socialicons h3 p2 bg-darken-1">
Please share this post:
<span class="r-Tooltip r-Tooltip--top r-Tooltip--nowrap" data-r-tooltip="Tweet this on Twitter">
<a onClick="return popupShare(this.href);" href="http://twitter.com/shar... | {
"content_hash": "3b756dcd7cf46441c95db0f340d2864a",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 266,
"avg_line_length": 71.88,
"alnum_prop": 0.6839176405119644,
"repo_name": "RickCogley/RCC-Hugo2015",
"id": "ff2d43c7adacc1ef7a5b923d5578bc5be322c54b",
"size": "1797",
... |
using System;
public interface IExecutionScope : IDisposable
#if NATIVE_ASYNC
, IAsyncDisposable
#endif
{
}
| {
"content_hash": "dba4eb24c8b66c72fb0856faf979ff42",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 46,
"avg_line_length": 13.875,
"alnum_prop": 0.7747747747747747,
"repo_name": "linq2db/linq2db",
"id": "8fe6042321283fe54eb99b53ef62ef9ba0ca4fb8",
"size": "113",
"binary":... |
package net.sf.jabref.gui.autocompleter;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.FocusAdapter;
import java.awt.event.FocusEvent;
import java.awt.event.KeyEvent;
import java.util.List;
import javax.swing.Abstrac... | {
"content_hash": "b2062577ae6eed6d8adf744ff74bc423",
"timestamp": "",
"source": "github",
"line_count": 291,
"max_line_length": 152,
"avg_line_length": 37,
"alnum_prop": 0.6503204235162998,
"repo_name": "mredaelli/jabref",
"id": "59e941578c0aefd44673ab1a1860549bd04df09b",
"size": "10767",
"binary... |
mutable struct Review <: GitHubType
pr::Union{PullRequest, Nothing}
id::Union{Int, Nothing}
user::Union{Owner, Nothing}
body::Union{String, Nothing}
state::Union{String, Nothing}
end
function Review(pr::PullRequest, data::Dict)
rev = json2github(Review, data)
rev.pr = pr
rev
end
namefi... | {
"content_hash": "6d6864bc60bbfce429e0d446fb22b4df",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 93,
"avg_line_length": 34.39473684210526,
"alnum_prop": 0.6595256312165264,
"repo_name": "WestleyArgentum/GitHub.jl",
"id": "c39c8e92b290bd9a019e225e3f7b662e3ef4e243",
"siz... |
package org.wso2.siddhi.query.api.execution.query.output.stream;
public abstract class OutputStream {
public enum OutputEventType {
EXPIRED_EVENTS, CURRENT_EVENTS, ALL_EVENTS, ALL_RAW_EVENTS, EXPIRED_RAW_EVENTS
}
protected String id;
protected OutputEventType outputEventType;
public Str... | {
"content_hash": "e8b44efb1e3454b0e7d0aaececa7d05e",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 86,
"avg_line_length": 25.375,
"alnum_prop": 0.6002814919071077,
"repo_name": "keizer619/siddhi",
"id": "4c939532957aa3a5f6b01f6b456e39564655b2c9",
"size": "2061",
"binar... |
#include "../../Precompiled.h"
#include "../../Graphics/Camera.h"
#include "../../Graphics/Graphics.h"
#include "../../Graphics/GraphicsImpl.h"
#include "../../Graphics/Renderer.h"
#include "../../Graphics/RenderSurface.h"
#include "../../Graphics/Texture.h"
#include "../../DebugNew.h"
namespace Atomic
... | {
"content_hash": "7df0f1bd72fae13d710ee39bf7fa0a17",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 131,
"avg_line_length": 22.32089552238806,
"alnum_prop": 0.5937813440320963,
"repo_name": "rsredsq/AtomicGameEngine",
"id": "276af40e23dc53b3aa4f62d4ca6f829a87080185",
"si... |
parse-js
========
Custom patches and updates to make Parse's JS SDK more robust for usage.
ShoppinPal is not affliated/associated/partnered with Parse. We are just a customer who subscribes to their service. At times, we find it easier to patch their latest source-code for the javascript client sdk by ourselves rathe... | {
"content_hash": "f3f2fbb2cacd75fb8eeb3dd048393b7a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 253,
"avg_line_length": 56.07692307692308,
"alnum_prop": 0.7818930041152263,
"repo_name": "ShoppinPal/parse-js",
"id": "058fcfdb481d1c4313b0d1694c959153688bd250",
"size": "... |
// Copyright 2012 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | {
"content_hash": "8debe8f861c92f49b22702010602a3a6",
"timestamp": "",
"source": "github",
"line_count": 623,
"max_line_length": 80,
"avg_line_length": 36.99357945425361,
"alnum_prop": 0.6371328155508309,
"repo_name": "jaeh/runtime",
"id": "3b25480a4aa784687daacb44cdc7ea90bbd74d0e",
"size": "23047",... |
package org.culturegraph.mf.stream.source;
import org.culturegraph.mf.util.ResourceUtil;
import org.culturegraph.mf.util.reflection.ObjectFactory;
/**
* Builds {@link Opener}s
*
* @author Markus Michael Geipel
*
*/
public final class OpenerFactory extends ObjectFactory<Opener> {
public static final String POP... | {
"content_hash": "9cbf77a2e10cd3f21dbb93a8b83a01ec",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 84,
"avg_line_length": 24.95,
"alnum_prop": 0.7715430861723447,
"repo_name": "schaeferd/metafacture-core",
"id": "750d0b6bfd794a7a78907698d3efa8809184ff66",
"size": "1123",... |
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>React Checkbox Tree</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#3498db">
<meta name="description" content="Rea... | {
"content_hash": "80cad4865781d2f6b4d7a06fdbe3b556",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 169,
"avg_line_length": 45.142857142857146,
"alnum_prop": 0.6570411392405063,
"repo_name": "jakezatecky/react-checkbox-tree",
"id": "a1098e83925a0bee2ea1a778c7b476f4e4dd35c1... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "5544e0f9886ffaf1fc3aa41f2f521d84",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "99e91d4205630930ceb59aeb3a5a7b5666dd6c69",
"size": "171... |
<?php
namespace kartik\widgets;
/**
* Base asset bundle for all widgets
*
* @author Kartik Visweswaran <kartikv2@gmail.com>
* @since 1.0
*/
class AssetBundle extends \kartik\base\AssetBundle
{
}
| {
"content_hash": "f9427e2d31cfce8d1c5d225098eedfd8",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 50,
"avg_line_length": 13.6,
"alnum_prop": 0.7009803921568627,
"repo_name": "cmbis/cmbis",
"id": "d84b4f7072c657ee5c2fcc960d751dafed794a3c",
"size": "322",
"binary": fals... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout android:id="@+id/linearLayout0"
android:layout_height="wrap_conte... | {
"content_hash": "880352913c96482c2f492eb4818d4076",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 72,
"avg_line_length": 30.476190476190474,
"alnum_prop": 0.5979166666666667,
"repo_name": "claudiordgz/android_playground",
"id": "fc1460da5f4f6ef2584f39a2e2f96c863ceeb9c5",
... |
<?php
namespace Behat\Behat\DependencyInjection\Configuration;
use Symfony\Component\Config\Definition\Builder\NodeBuilder,
Symfony\Component\Config\Definition\Builder\TreeBuilder,
Symfony\Component\Config\Definition\NodeInterface,
Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
use Beha... | {
"content_hash": "52e732f4d697457eaf3a488f767e6028",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 108,
"avg_line_length": 35.53020134228188,
"alnum_prop": 0.41877597279939555,
"repo_name": "KalaiselvanKarppusamy/test-everything-new",
"id": "04a3a043d821dca2402725b49d893c... |
package devices
import (
"errors"
"io/ioutil"
"os"
"path/filepath"
"golang.org/x/sys/unix"
)
// ErrNotADevice denotes that a file is not a valid linux device.
var ErrNotADevice = errors.New("not a device node")
// Testing dependencies
var (
unixLstat = unix.Lstat
ioutilReadDir = ioutil.ReadDir
)
func mk... | {
"content_hash": "9b0729325d46c0f2c7fa434d30ed5e4e",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 84,
"avg_line_length": 23.923728813559322,
"alnum_prop": 0.651080410910379,
"repo_name": "rhatdan/runc",
"id": "e2af4ff2cce3fecc373d3f8145f9f6deb7daaa88",
"size": "2863",
... |
'use strict';
var Library = require('./API/Library');
// ==============================
// CLIENT CODE
// ==============================
// We get the iterator (catalog) from the iterable object (library)
var library = new Library(["Foo", "Bar"]),
catalog = library.list();
while (catalog.hasNext()) {
consol... | {
"content_hash": "5e3723ef19878b751ed19bab749e368b",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 67,
"avg_line_length": 23,
"alnum_prop": 0.5246376811594203,
"repo_name": "Badacadabra/PatternifyJS",
"id": "2a9bb279f892c5cf0b9816c1b73c71765008d8b9",
"size": "345",
"bi... |
package org.osgi.service.coordinator;
/**
* Unchecked exception which may be thrown by a Coordinator implementation.
*
* @author $Id$
*/
public class CoordinationException extends RuntimeException {
private static final long serialVersionUID = 1L;
/**
* Unknown reason for this exception.
*/
public final... | {
"content_hash": "7ab2f14732f407b7d2bb4d62569c38fc",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 101,
"avg_line_length": 26.98611111111111,
"alnum_prop": 0.6819351518270715,
"repo_name": "osgi/osgi",
"id": "bc2c9ee0a66da53156fb97d5f87194b3d22ad310",
"size": "4705",
... |
"""Implements commands for running blink web tests."""
import os
import subprocess
from argparse import Namespace
from typing import Optional
from common import DIR_SRC_ROOT
from test_runner import TestRunner
_BLINK_TEST_SCRIPT = os.path.join(DIR_SRC_ROOT, 'third_party', 'blink',
'... | {
"content_hash": "77e0fe9927d48bbc2b39cda64dce351d",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 78,
"avg_line_length": 30.454545454545453,
"alnum_prop": 0.6348258706467662,
"repo_name": "chromium/chromium",
"id": "44ffc5f45b1ac86a08492b261f2138fd32570660",
"size": "11... |
/**
* Created by cdimonaco on 27/05/2017.
*/
import React from "react"
import Auth from "../common/auth.js"
import ProjectRow from "./rows/projectRow.js"
import Errors from "../common/errors.js"
import {getProjectAdmin} from "../common/connection.js"
import PropTypes from "prop-types"
export default class GetProjec... | {
"content_hash": "86137d5d68172c5e2c25336e3a33736c",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 105,
"avg_line_length": 30.69047619047619,
"alnum_prop": 0.4759503491078355,
"repo_name": "CDimonaco/andra-fe",
"id": "779ef21716fbab864fb8fe3325ed62640946a2f0",
"size": "2... |
package org.apache.reef.runtime.hdinsight.client.sslhacks;
import javax.inject.Inject;
import javax.net.ssl.X509TrustManager;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
/**
* A TrustManager that trusts all certificates. Basically the "GOTO FAIL" bug implemented in Jav... | {
"content_hash": "2dc8ff9d6216b109effb07685f5f8c93",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 120,
"avg_line_length": 27.0625,
"alnum_prop": 0.7748267898383372,
"repo_name": "DifferentSC/incubator-reef",
"id": "b1bd56fe37af7bd1560c2100d65d786fd24f5739",
"size": "167... |
/*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: org.apache.http.client.protocol.ClientContext
================================================================================*/
#ifndef ... | {
"content_hash": "7cc14de68d34a03a412c17e3e4d16bba",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 142,
"avg_line_length": 46.80681818181818,
"alnum_prop": 0.7160718621024521,
"repo_name": "kakashidinho/HQEngine",
"id": "887d2c69bdabb0c03155f6fbcbb7721f243045fb",
"size"... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="pt-br" xml:lang="pt-br">
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NO... | {
"content_hash": "35f38f72b42f415410d33a6f0a83f5de",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 261,
"avg_line_length": 50.225352112676056,
"alnum_prop": 0.7229388670779585,
"repo_name": "mminella/jsr-352-ri-tck",
"id": "0a1fd131d1bd5e6cbe3706e3341a2ac4cbdde12e",
"siz... |
using namespace std;
#include "process.h"
// tabulate the contributions
// from form factor files found in the current directory
void makeDeltaE2 (ostream& outfile, const REAL delta, const int number_sites, const int left_number_down)
{
const char* here = "calculateDeltaE2";
const int max_base_size=CUTOFF_TYPES;
... | {
"content_hash": "70e9a0884f21e828cf1da76a573e4a47",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 173,
"avg_line_length": 37.59493670886076,
"alnum_prop": 0.6797979797979798,
"repo_name": "robhagemans/bethe-solver",
"id": "81b6c10daa85bf700a236e9f8ad26314424edfe3",
"siz... |
#include "build.h"
#include "codeGeneratorMSVC.h"
#include "codePrinter.h"
#include "internalUtils.h"
#include "zlib\zlib.h"
#include "decodingEnvironment.h"
#if defined(_WIN64) || defined(_WIN32)
#include <Windows.h>
namespace code
{
namespace msvc
{
//----------------------------------------------------------... | {
"content_hash": "4b68603e99861d9249e310c4b9c207b8",
"timestamp": "",
"source": "github",
"line_count": 716,
"max_line_length": 232,
"avg_line_length": 36.32960893854749,
"alnum_prop": 0.662117484238044,
"repo_name": "rexdex/recompiler",
"id": "de2939b90dcafba949ed6a8f4ee6ecfbbaab12dc",
"size": "26... |
package org.dasein.cloud.util.requester.streamprocessors;
import javax.annotation.Nullable;
import java.io.IOException;
import java.io.InputStream;
/**
* @author Vlad Munthiu
*/
public interface StreamProcessor<T> {
@Nullable T read(InputStream inputStream, Class<T> classType) throws IOException;
@Nullab... | {
"content_hash": "568064421eccfe457fd496cbcf45ea78",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 85,
"avg_line_length": 23.266666666666666,
"alnum_prop": 0.7621776504297995,
"repo_name": "daniellemayne/dasein-cloud-core_old",
"id": "87de11831f39cd7e05b810a89a7744068b39c6... |
//////////////////////////////////////////////////////////
// QCADesigner //
// Copyright 2002 Konrad Walus //
// All Rights Reserved //
// Author: Konrad Walus //
// Email: qcadesigner@gma... | {
"content_hash": "40245d193d9659c703542db8a23bf4f3",
"timestamp": "",
"source": "github",
"line_count": 583,
"max_line_length": 192,
"avg_line_length": 46.5728987993139,
"alnum_prop": 0.6246317030053035,
"repo_name": "jjenki11/blaze-chem-rendering",
"id": "a76412d3812ef3660929d3196a316d2086286bf7",
... |
A CHIP-8 emulator in rust
## License
Licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
| {
"content_hash": "b20c55435af3daf95d3546144188450f",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 112,
"avg_line_length": 27.7,
"alnum_prop": 0.7328519855595668,
"repo_name": "tompko/emulators",
"id": "97ef5ae672912c1825c20d5a4f406264ded54b84",
"size": "285",
"binary"... |
license: Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2... | {
"content_hash": "f19bd410c3ee26114c18349351c2f670",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 87,
"avg_line_length": 27.782608695652176,
"alnum_prop": 0.5993740219092332,
"repo_name": "monaca/cordova-docs",
"id": "4f94ce30bfd5340a3e4b778afd988c6a8b46c9e8",
"size": "... |
package org.kuali.rice.kew.engine.node.dao.impl;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.sql.DataSource;
import org.apache.ojb.broker.query.Crite... | {
"content_hash": "b8e08c4625f5496db908f4e66542fb08",
"timestamp": "",
"source": "github",
"line_count": 300,
"max_line_length": 180,
"avg_line_length": 43.47,
"alnum_prop": 0.7083045778697953,
"repo_name": "ua-eas/ksd-kc5.2.1-rice2.3.6-ua",
"id": "265810773723ea829951e9d905b1318d10fe6b72",
"size": ... |
<?php
namespace Zf2FileUploader\Resource\Handler\Remover;
use Doctrine\ORM\EntityManager;
use Zf2FileUploader\Entity\ResourceInterface;
class DatabaseRemover implements RemoverInterface
{
/**
* @var EntityManager
*/
protected $entityManager;
public function __construct(EntityManager $entityMana... | {
"content_hash": "d6a31611e197af77dd06f21633a017d4",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 63,
"avg_line_length": 23.103448275862068,
"alnum_prop": 0.6746268656716418,
"repo_name": "spalax/zf2-file-uploader",
"id": "804f2267989e1c24bf0c4fc7a30e6e1c123b46eb",
"siz... |
import React from 'react';
import { mount } from 'enzyme';
import SideNavIcon from '../SideNavIcon';
describe('SideNavIcon', () => {
let mockProps;
beforeEach(() => {
mockProps = {
className: 'custom-classname',
children: <span>foo</span>,
small: false,
};
});
it('should render', ... | {
"content_hash": "dd7e6b334072aeeb063c20a283fc03a3",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 62,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.5988805970149254,
"repo_name": "carbon-design-system/carbon-components",
"id": "f9242421e2b396f3ac4d49d52186864b748... |
namespace xwalk {
const char kXWalkDBusServiceName[] = "org.crosswalkproject";
} // namespace xwalk
| {
"content_hash": "22d612070ed25dc8233a83b3e05d7e53",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 60,
"avg_line_length": 20.6,
"alnum_prop": 0.7475728155339806,
"repo_name": "wuhengzhi/crosswalk",
"id": "35a2389496af6c055d4f1862c02250263d7049f0",
"size": "314",
"binary... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Security.Authentication;
using System.Security.Claims;
using System.Security.Policy;
using System.Web.Http;
using Common.Auth.Hashing;
using Common.Auth.Models;
using ... | {
"content_hash": "4c6f7c385e6966564bb831ffa2c468b7",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 133,
"avg_line_length": 37.164021164021165,
"alnum_prop": 0.6107630979498861,
"repo_name": "theoinglis/.net-common.auth",
"id": "f3b6e60aaece2028f36a73bfd042e0cbea407dd2",
... |
import path from 'path'
import parseArgs from 'minimist'
import cosmiconfig from 'cosmiconfig'
import createRelease, { NO_PREVIOUS_RELEASE } from './index'
const isTruthy = value =>
Boolean(value && !['false', '0', 'off', 'no'].includes(value.toLowerCase()))
const run = async () => {
const [, , ...argv] = process... | {
"content_hash": "1ff50d49359b4410f2ffc9ec1c36b3ea",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 133,
"avg_line_length": 27.682539682539684,
"alnum_prop": 0.595756880733945,
"repo_name": "mmiller42/create-github-release",
"id": "d855ddf9f01ce2734be3561b2d57c3b39ef50273",... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.polydeucesys</groupId>
<artifactId>elasticsearch-lo... | {
"content_hash": "04cb648a4386998d2ba22a8b8c54714a",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 104,
"avg_line_length": 29.183673469387756,
"alnum_prop": 0.6884615384615385,
"repo_name": "poldeuce-sys/elasticsearch-logging",
"id": "6f30e80128875bba9437ad46dcf2ed9a2a22bf... |
package Google::Ads::GoogleAds::V11::Enums::ResponseContentTypeEnum;
use strict;
use warnings;
use Const::Exporter enums => [
UNSPECIFIED => "UNSPECIFIED",
RESOURCE_NAME_ONLY => "RESOURCE_NAME_ONLY",
MUTABLE_RESOURCE => "MUTABLE_RESOURCE"
];
1;
| {
"content_hash": "1df09d0c070ae6b7b262de2b1b92bd70",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 68,
"avg_line_length": 21.916666666666668,
"alnum_prop": 0.6920152091254753,
"repo_name": "googleads/google-ads-perl",
"id": "8a8c6d01cf0dbc0b4204c361ffc93190fe841ef5",
"si... |
package main
import (
"bufio"
"bytes"
"fmt"
"io"
"io/ioutil"
"log"
"os"
"os/user"
"path/filepath"
"regexp"
"strings"
"time"
)
type commitInfo struct {
hash string
commitDate time.Time
gover bool
logPath string
count, fails int
buildFailed bool
}
// getCommits returns the comm... | {
"content_hash": "88c4775ae1187e0435344cced8ab7096",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 109,
"avg_line_length": 26.1871921182266,
"alnum_prop": 0.6442814145974417,
"repo_name": "aclements/go-misc",
"id": "99af544db7e110e00d8d9419ce905cbf3169b9d2",
"size": "54... |
namespace safe_browsing {
inline std::ostream& operator<<(std::ostream& os, const ThreatMetadata& meta) {
os << "{threat_pattern_type=" << static_cast<int>(meta.threat_pattern_type)
<< ", api_permissions=[";
for (auto p : meta.api_permissions)
os << p << ",";
return os << "], population_id=" << meta.pop... | {
"content_hash": "f603748baa0f6f56dfeee648d276f7df",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 79,
"avg_line_length": 32.92307692307692,
"alnum_prop": 0.6401869158878505,
"repo_name": "ssaroha/node-webrtc",
"id": "8447162681c2ce3ca5529e66358c0b83cd0df637",
"size": "8... |
package alec_wam.CrystalMod.items.tools.backpack.upgrade;
import javax.annotation.Nullable;
import alec_wam.CrystalMod.CrystalMod;
import alec_wam.CrystalMod.handler.GuiHandler;
import alec_wam.CrystalMod.items.tools.backpack.BackpackUtil;
import alec_wam.CrystalMod.items.tools.backpack.IBackpack;
import alec... | {
"content_hash": "4590ec4d4d7d52f467dbc011442912ae",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 129,
"avg_line_length": 36.56617647058823,
"alnum_prop": 0.6233661773577317,
"repo_name": "Alec-WAM/CrystalMod",
"id": "459787acd76cf0ac17a521cc998fd855b2491ce1",
"size": ... |
define("storage",
["jquery",
"categoryCollection",
"currenciesCollection",
"changesCollection",
"userModel"],
function(
$,
CategoriesCollection,
CurrenciesCollection,
ChangesCollection,
UserModel) {
// Properties
var user = new UserModel();
var categories = new CategoriesCollection();
... | {
"content_hash": "276d96c20fe08921c8266c1768f378bd",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 49,
"avg_line_length": 19.670886075949365,
"alnum_prop": 0.5727155727155727,
"repo_name": "Natim/723e",
"id": "bf3da5c47950e34ea5b5256dfd49c229a89da31c",
"size": "1554",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>tlc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | {
"content_hash": "fef7befff6c604f356f40dbe9aa07ac7",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 159,
"avg_line_length": 39.51204819277108,
"alnum_prop": 0.5301112974538802,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "f68a273c6d164663dae6263466076c840710b082",
... |
<?php
/**
* @package framework
* @subpackage model
*/
/**
* Represents an multi-select enumeration field.
* @package framework
* @subpackage model
*/
class MultiEnum extends Enum {
public function __construct($name, $enum = NULL, $default = NULL) {
// MultiEnum needs to take care of its own defaults
paren... | {
"content_hash": "66646bb76c849a3c0fcaa68a5b2f7529",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 101,
"avg_line_length": 23.939393939393938,
"alnum_prop": 0.6151898734177215,
"repo_name": "harrymule/nairobi-webportal",
"id": "0ddb4bf57b60869484087f1858ee0ce966d6e428",
... |
@protocol PIRLoginViewDelegate;
@interface PIRLoginView : UIView
@property (nonatomic, weak) id<PIRLoginViewDelegate> delegate;
@property (nonatomic, strong) PIRUser *currentUser;
@end
@protocol PIRLoginViewDelegate <NSObject>
-(void)loginView:(PIRLoginView*)view didSignIn:(NSString*)userName passcode:(NSString*)p... | {
"content_hash": "495bfa108cd971f4c7872b77269c0956",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 96,
"avg_line_length": 23.857142857142858,
"alnum_prop": 0.7994011976047904,
"repo_name": "kenshin03/pier_ios",
"id": "ffa71d8159f6305117845d4642bce5f711d80b42",
"size": "4... |
"use strict";
const Text = require('../../orm/attribute/text');
/**
* Define a Role attribute type for use by entities and the ORM system.
* @class
* @extends Defiant.Plugin.Orm.Text
* @memberOf Defiant.Plugin.Account
*/
class Role extends Text {
/**
* This function is called when the attribute needs to be ... | {
"content_hash": "4fd3cfe8f9111e2af66593da77406283",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 115,
"avg_line_length": 32.9375,
"alnum_prop": 0.6660341555977229,
"repo_name": "coreyp1/defiant",
"id": "fad5b3b172b7f6ee4f91ad81a2d5785f91de94fa",
"size": "3162",
"bina... |
module Mongoid
module Extensions
module Range
# Get the range as arguments for a find.
#
# @example Get the range as find args.
# range.__find_args__
#
# @return [ Array ] The range as an array.
#
# @since 3.0.0
def __find_args__
to_a
end
... | {
"content_hash": "81f858635178cbbfd64d4a2e836c60e9",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 94,
"avg_line_length": 25.976470588235294,
"alnum_prop": 0.519927536231884,
"repo_name": "jonhyman/mongoid",
"id": "3ba6c9e81ba28c0f3aa059bee8f0e9cfb92219e0",
"size": "2256... |
package com.vaadin.v7.client.widget.escalator.events;
import com.google.gwt.event.shared.GwtEvent;
/**
* Event fired when the row height changed in the Escalator's header, body or
* footer.
*
* @since 7.7
* @author Vaadin Ltd
*/
public class RowHeightChangedEvent extends GwtEvent<RowHeightChangedHandler> {
... | {
"content_hash": "5f26bdffa34826b8992aa9150b6a47b4",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 97,
"avg_line_length": 22.970588235294116,
"alnum_prop": 0.6991037131882202,
"repo_name": "asashour/framework",
"id": "99b26bb9de24ef4ce5b802b91ce28bda02063882",
"size": "1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.