text stringlengths 2 1.04M | meta dict |
|---|---|
{
padding: 20,
border: false,
frame: false,
xtype: 'form',
help: '<h3>Enter points:</h3>'+
'<p>Here you have to select or enter the number of points earned in the assignment.</p>'+
'<p>Any grade in Devilry is represented as a number, however this number is mainly for statistical purp... | {
"content_hash": "a8a84f6ef22ec4e768208ea3ea4c06dc",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 153,
"avg_line_length": 29.387596899224807,
"alnum_prop": 0.5555262463729886,
"repo_name": "vegarang/devilry-django",
"id": "e2d8a106a126a9d7ed88713a14c1696ff66979f7",
"si... |
<html>
<head>
<title>OGRE: Ogre::Page::PageRequest Struct Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link type="text/css" rel="stylesheet" href="doxygen.css">
<link type="text/css" rel="stylesheet" href="tabs.css">
</head>
<body>
<!-- Generated by ... | {
"content_hash": "8d4287fb7c8940869175e193a2edaab8",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 481,
"avg_line_length": 53.549019607843135,
"alnum_prop": 0.6507994629561821,
"repo_name": "milram/ogre-1.7.4-osx",
"id": "6baead174d8ed437566d66a888aa58061ab08aaf",
"size... |
Leaflet.StyleEditor
=============
The [Leaflet](http://leafletjs.com/) StyleEditor allows to edit the style of any feature drawn within Leaflet.
After activating the tool, the features can be edited by simply clicking them within the map.
Current Leaflet version is: 0.7.2.
Check out the [Demo](http://dwilhelm89.githu... | {
"content_hash": "1d5511b066ab60f151b71d9fbb3f4c5a",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 161,
"avg_line_length": 26.746268656716417,
"alnum_prop": 0.7287946428571429,
"repo_name": "bukun/maplet",
"id": "1fd4819eab20dc4c4c62604d582bceda5d75e73c",
"size": "1792",... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Testing toggle opacity and display</title>
<script>
var currentPage = 0,
pageColors = ['#800', '#080', '#008'];
function toggle(el, show, complete) {
var opacity;
if (show) {
... | {
"content_hash": "10751f9d158475cfa2f7a47f83caaf4d",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 177,
"avg_line_length": 32.07070707070707,
"alnum_prop": 0.42929133858267715,
"repo_name": "elasthink/xui",
"id": "86e920b798baa9f5e5445b14ab195b6eeaa1e3aa",
"size": "3175"... |
#include "component.h"
#include <GL/glew.h>
#include <glm/glm.hpp>
#include "textureStore.h"
#include "shaderStore.h"
class RenderScreenComponent : public Component
{
private:
static ComponentID ID;
public:
RenderScreenComponent();
virtual ~RenderScreenComponent();
... | {
"content_hash": "0fd7fa1d38b13eb6291a567c24ed57db",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 98,
"avg_line_length": 31.372549019607842,
"alnum_prop": 0.661875,
"repo_name": "Cimera42/Platfo",
"id": "b0f1b831fc924bb389585ef754218eba1cec4178",
"size": "1684",
"bina... |
package ruke.vrj.translator;
public class NotExpression implements Expression {
public final Expression expression;
public NotExpression(final Expression expression) {
this.expression = expression;
}
@Override
public final String toString() {
return "not " + this.expression.toString(... | {
"content_hash": "fe72093e96b14df5a49122f10fce4d3c",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 53,
"avg_line_length": 20.75,
"alnum_prop": 0.6957831325301205,
"repo_name": "Ruk33/vrJASS2",
"id": "8f3624f6a231a569e9f8840ddc0e60b200d8a22c",
"size": "1482",
"binary": ... |
import { Component, Injectable, OnInit } from '@angular/core';
import { FormBuilder } from '@angular/forms';
import { Observable } from 'rxjs';
import { filter, onErrorResumeNext, withLatestFrom } from 'rxjs/operators';
import {
AppContributorDto,
AppsState,
AssignContributorForm,
AutocompleteSource,... | {
"content_hash": "6d7716c16c80d82156c92bbd004b6416",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 132,
"avg_line_length": 30.961904761904762,
"alnum_prop": 0.6321131959397108,
"repo_name": "pushrbx/squidex",
"id": "7a9d42af05c8d701cf2d8c9f2ff4a524397b4258",
"size": "33... |
'use strict'
const express = require('express')
const app = require('express')()
const form = require('multer')()
const bodyParser = require('body-parser')
const UserIncome = require('./abstract/user_income.js')
// const Config = require('./config/Config.js')
// const fs = require('fs')
// const http = require('http')
... | {
"content_hash": "457ce2a368b422259d9113dbbbd6b469",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 91,
"avg_line_length": 37.46376811594203,
"alnum_prop": 0.732688588007737,
"repo_name": "sirhung1993/yoursaving",
"id": "9f5db723a2cf8b323851f4cd6c0d86f2753e1a4b",
"size": ... |
// Copyright 2013 Google Inc. All Rights Reserved.
//
// 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... | {
"content_hash": "074f2d7d39066fb566b4b6c98c2d5538",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 97,
"avg_line_length": 36.26136363636363,
"alnum_prop": 0.72234409276089,
"repo_name": "nafae/developer",
"id": "a84a29a0dd971ddb7f11ce3ec638133566a889cc",
"size": "3191",
... |
#ifndef KERNEL
extern int errno; /* global error number */
#endif
#define EPERM 1 /* Not owner */
#define ENOENT 2 /* No such file or directory */
#define ESRCH 3 /* No such process */
#define EINTR 4 /* Interrupted system call */
#define EIO 5 /* I/O error */
#define ENXIO 6 /* No such device or addre... | {
"content_hash": "7604586be6057b1bc32d7aa8b0621812",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 78,
"avg_line_length": 39.71304347826087,
"alnum_prop": 0.6877600175169696,
"repo_name": "jguillaumes/muxx",
"id": "0f8c998b8c5a05f720338b25017b416c8c578023",
"size": "480... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a66d33659716aade1597969888c3bd05",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "81072ea6a65b47bd34cfefdcb74e29d71eb9cb29",
"size": "175... |
<?php
namespace Sonata\Component\Currency;
use Exception;
use Sonata\Component\Product\ProductInterface;
/**
* Class UnavailableForCurrencyException
*
* @package Sonata\Component\Currency
*
* @author Hugo Briand <briand@ekino.com>
*/
class UnavailableForCurrencyException extends \Exception
{
public functi... | {
"content_hash": "a87a34915a08077c66f5d3e75b4f250b",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 132,
"avg_line_length": 24.454545454545453,
"alnum_prop": 0.7304832713754646,
"repo_name": "Bladrak/ecommerce",
"id": "16ed135e3d941cad59bb6a636c45037900f50a7b",
"size": "7... |
package com.belteshazzar.jquery;
import com.belteshazzar.jquery.functions.IntTweenVoidFunction;
import com.belteshazzar.jquery.functions.PromiseBooleanVoidFunction;
import com.belteshazzar.jquery.functions.PromiseIntIntVoidFunction;
import com.belteshazzar.jquery.functions.PromiseVoidFunction;
import com.beltesh... | {
"content_hash": "0b578053edbc41c92696413fdf183711",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 85,
"avg_line_length": 34.75675675675676,
"alnum_prop": 0.7465007776049767,
"repo_name": "belteshazzar/jQuery4JavaFX",
"id": "44f91635f216efd1e0ac69ff5b7edd6eb5ba2e50",
"si... |
"""Accuracy tests for ICRS transformations, primarily to/from AltAz.
"""
import numpy as np
from astropy import units as u
from astropy.tests.helper import assert_quantity_allclose as assert_allclose
from astropy.time import Time
from astropy.coordinates import (
EarthLocation, ICRS, CIRS, AltAz, HADec, SkyCoord... | {
"content_hash": "d33ba57a01c47f403b38be70c366211f",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 76,
"avg_line_length": 36.77922077922078,
"alnum_prop": 0.695268361581921,
"repo_name": "aleksandr-bakanov/astropy",
"id": "23150b7ca6fba39a983666ff8f89113a6eba4fa4",
"size... |
package com.google.reddcoin.core;
import com.google.reddcoin.core.TransactionConfidence.ConfidenceType;
import com.google.reddcoin.crypto.KeyCrypter;
import com.google.reddcoin.crypto.KeyCrypterException;
import com.google.reddcoin.crypto.KeyCrypterScrypt;
import com.google.reddcoin.script.Script;
import com.google.... | {
"content_hash": "e0a3bf2f41ca281172467bb59b91ad54",
"timestamp": "",
"source": "github",
"line_count": 3819,
"max_line_length": 171,
"avg_line_length": 49.073317622414244,
"alnum_prop": 0.6209827598166596,
"repo_name": "reddcoin-project/reddcoinj-pow",
"id": "5e930366638d750cc62ab989b3e3c7eea0f0357b... |
package com.amazonaws.services.quicksight.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplate" target="_top">AWS API
* Documentation</a>
*/
@Generated("com.amazonaws:aws-java-sdk-code-genera... | {
"content_hash": "01ca600ceed785b49cd6a5e4c329170a",
"timestamp": "",
"source": "github",
"line_count": 399,
"max_line_length": 147,
"avg_line_length": 27.897243107769423,
"alnum_prop": 0.5763183900817537,
"repo_name": "aws/aws-sdk-java",
"id": "bd0b8b279b4a0de28a5695d557facb4cfdb3d4fe",
"size": "1... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>coroutine::is_child</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" t... | {
"content_hash": "83c86ad4fa152c49c69c425bfd284653",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 427,
"avg_line_length": 61.6,
"alnum_prop": 0.6224025974025974,
"repo_name": "alexhenrie/poedit",
"id": "6722a7065e953be71274c8ca1a72d0c0c08e0d59",
"size": "3080",
"binar... |
package org.fastcatsearch.http.action.service.indexing;
import org.fastcatsearch.http.ActionMapping;
import org.fastcatsearch.http.ActionMethod;
/**
* Rest API를 통해 문서를 삭제한다.
*
* */
@ActionMapping(value = "/service/index", method = { ActionMethod.DELETE })
public class DeleteDocumentsAction extends IndexDocumentsAc... | {
"content_hash": "bcef2e5cf54407d2c70b337727a6cfa7",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 74,
"avg_line_length": 24.176470588235293,
"alnum_prop": 0.732360097323601,
"repo_name": "fastcat-co/fastcatsearch3",
"id": "7fa526f6cf4b2e16c19fa77d234f25633c756e0f",
"siz... |
package org.apache.camel.component.mail;
import java.io.InputStream;
import javax.mail.Message;
import javax.mail.Multipart;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel... | {
"content_hash": "3fe7803b1ffa11cbfb0067888bd9dd1f",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 117,
"avg_line_length": 36.16107382550336,
"alnum_prop": 0.6774313288789904,
"repo_name": "nicolaferraro/camel",
"id": "36693c559359c0e3fd4256de8c61654963db147e",
"size": ... |
This directory contains pretrained on Libri-Light, in addition to information on reproducing the results. It contains the following models:
- [TDS models trained with wav2letter](./TDS/README.md)
| {
"content_hash": "6b71f4759b5eba476466505fbd240481",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 139,
"avg_line_length": 98,
"alnum_prop": 0.8061224489795918,
"repo_name": "facebookresearch/libri-light",
"id": "1cc66f8acb03e221ff9bdfce8b39e05aefe4839b",
"size": "206",
... |
namespace PersonClass
{
using System;
public class PersonClassMain
{
/* Create a class Person with two fields – name and age. Age can be left unspecified
(may contain null value. Override ToString() to display the information of a person
and if age is not specified – to say... | {
"content_hash": "5404901ae17b877b410850ae6ded362e",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 95,
"avg_line_length": 27.291666666666668,
"alnum_prop": 0.5893129770992367,
"repo_name": "ilian1902/TelerikAcademy",
"id": "5b341efb30cb88903e8c27f5d0dadae4af540190",
"siz... |
#include "chunk_operation_holder.h"
namespace ndash {
namespace chunk {
ChunkOperationHolder::ChunkOperationHolder()
: queue_size_(0), chunk_(nullptr), end_of_stream_(false) {}
ChunkOperationHolder::~ChunkOperationHolder() {}
void ChunkOperationHolder::SetQueueSize(int32_t queue_size) {
queue_size_ = queue_... | {
"content_hash": "9e1fa192161c71b7589a6cd77336188d",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 73,
"avg_line_length": 22.27027027027027,
"alnum_prop": 0.7111650485436893,
"repo_name": "google/ndash",
"id": "5324671866c6115eaa74aa298dcb0b32d23b260b",
"size": "1419",
... |
/*
* Table Function demo using GPPC-1.1 API
*/
#include <string.h>
#include "gppc.h"
/*
* The error handler. We can call GppcReport with INFO when ERROR, since it's not
* infinite recursion. For test purpose, set 'x' to message when WARNING.
*/
static void
errorcallback(GppcReportInfo info, void *arg)
{
... | {
"content_hash": "3c25b23d21469bbdbd0d099fd6e59293",
"timestamp": "",
"source": "github",
"line_count": 710,
"max_line_length": 105,
"avg_line_length": 36.56056338028169,
"alnum_prop": 0.5745434933353879,
"repo_name": "xuegang/gpdb",
"id": "5afd80e8dd5f10404c8e8bde1e67722377287145",
"size": "25958"... |
@interface PhrzsrTests : XCTestCase
@end
@implementation PhrzsrTests
- (void)setUp
{
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
- (void)tearDown
{
// Put teardown code here. This method is called after the invocation of each tes... | {
"content_hash": "5baefa7e66846b65dcaefdbadb974215",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 107,
"avg_line_length": 19.375,
"alnum_prop": 0.6903225806451613,
"repo_name": "Phrzsr/phrzsr-ios",
"id": "a7074a6603dcdbf0cbf996ca9fd6d834a86c8324",
"size": "628",
"bina... |
using System;
namespace StudentClass
{
public enum Universities
{
RU,
TU,
SU,
NBU
}
}
| {
"content_hash": "4f85cb2123cad03f1c86e9ba5d85a9ba",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 28,
"avg_line_length": 11,
"alnum_prop": 0.4772727272727273,
"repo_name": "Redsart/Telerik-Software-Academy",
"id": "e2146f516c4a56e9850db1fb8d24e31f1d0dc5f7",
"size": "134... |
package java.util;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
/**
* {@code GregorianCalendar} is a concrete subclass of {@link Calendar}
* and provides the standard calendar used by most of the world.
*
* <p>
* The standard (Gregorian) calendar has 2 eras, ... | {
"content_hash": "116077b313a9e0110e709ec5853cb5a2",
"timestamp": "",
"source": "github",
"line_count": 1254,
"max_line_length": 114,
"avg_line_length": 36.311004784689,
"alnum_prop": 0.5265735494355865,
"repo_name": "blois/AndroidSDKCloneMin",
"id": "df6d772d6d4d3436bf6ba56b276b9ab3cd983ab8",
"siz... |
var mockPackage = require('../mocks/mockPackage');
var Dgeni = require('dgeni');
var tagDefFactory = require('./memberof');
describe("memberof tag-def", function() {
var tagDef;
beforeEach(function() {
var dgeni = new Dgeni([mockPackage()]);
var injector = dgeni.configureInjector();
tagDef = injector.... | {
"content_hash": "b896b08be5644e3516e787c7cbfe318d",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 102,
"avg_line_length": 27.444444444444443,
"alnum_prop": 0.5924426450742241,
"repo_name": "ad-uistyleguide/ad-uistyleguide.github.io",
"id": "83577a528c0b3b9d0a2dbf5bf94b068... |
package org.elasticsearch.xpack.core.ssl;
import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.common.Nullable;
import org.elasticsearch.common.settings.SecureString;
import org.elasticsearch.env.Environment;
import org.elasticsearch.xpack.core.ssl.cert.CertificateInfo;
import javax.net.ssl.X509... | {
"content_hash": "de369218d85a3b4e28cf89926a423f37",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 133,
"avg_line_length": 45.22527472527472,
"alnum_prop": 0.676345523022719,
"repo_name": "gfyoung/elasticsearch",
"id": "3337465994c54b2ee119e116634f7b875b30b7e9",
"size":... |
package org.scalaide.debug.internal.extensions
import org.scalaide.util.eclipse.EclipseUtils
import org.scalaide.debug.DebugEventHandler
object EventHandlerMapping {
final val EventHandlerId = "org.scala-ide.sdt.debug.eventHandler"
/**
* Returns all existing event handler extensions mapped to the
* [[Even... | {
"content_hash": "9e7c79c30717d35572c8a21e67a93c6e",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 115,
"avg_line_length": 31.823529411764707,
"alnum_prop": 0.718422674060382,
"repo_name": "dragos/scala-ide",
"id": "385587bba31f100e518f285d2338d38a10c8abc1",
"size": "162... |
package eu.scape_project.planning.model.values;
import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
@Entity
@DiscriminatorValue("R")
public class IntRangeValue extends Value implements INumericValue {
private static final long serialVersionU... | {
"content_hash": "a9f1b031e6d90749aeaa213e2dd39fe5",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 71,
"avg_line_length": 21.512820512820515,
"alnum_prop": 0.6269368295589988,
"repo_name": "openpreserve/plato",
"id": "4cb3ceb3ca1402f92f6a7704df8975586556ea86",
"size": "1... |
package net.tnk_toys.ZipCodeLib.sample;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import javax.sql.DataSource;
import org.a... | {
"content_hash": "941566e2eee2db21ade11a987f60cf29",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 307,
"avg_line_length": 39.925925925925924,
"alnum_prop": 0.6708410636982065,
"repo_name": "tnov/sample",
"id": "eb76c313bf6e15036290def785cffa771953f60d",
"size": "6506",... |
namespace UnlinkMKV_GUI
{
partial class FormApplication
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | {
"content_hash": "0ae5697b9cdff8a498239d95d79824b9",
"timestamp": "",
"source": "github",
"line_count": 233,
"max_line_length": 116,
"avg_line_length": 44.927038626609445,
"alnum_prop": 0.5833970194879633,
"repo_name": "hilts-vaughan/UnlinkMKV-GUI",
"id": "6d46f3930d6dc1fa98fb9ee0ea05848ad2a21439",
... |
package prefuse.action.assignment;
import java.util.logging.Logger;
import prefuse.Constants;
import prefuse.data.tuple.TupleSet;
import prefuse.util.DataLib;
import prefuse.util.MathLib;
import prefuse.util.PrefuseLib;
import prefuse.visual.VisualItem;
/**
* <p>
* Assignment Action that assigns size ... | {
"content_hash": "96fe5e2d4234bfaaf2e13e418940df54",
"timestamp": "",
"source": "github",
"line_count": 367,
"max_line_length": 83,
"avg_line_length": 39.67302452316076,
"alnum_prop": 0.6074862637362637,
"repo_name": "giacomovagni/Prefuse",
"id": "81629c0b87c43bc2c7ea9fc4dd03736c366f8de9",
"size": ... |
<?php
namespace DHCP\Options;
use Psr\Log\LoggerInterface;
/**
* Class DHCPOption50 - Requested IP address
*
* @package DHCP\Options
*/
class DHCPOption50 extends DHCPOption
{
/**
* Option number = 50.
*/
protected static $option = 50;
/**
* {@inheritdoc}
*/
protected static $n... | {
"content_hash": "be731cefcee6d1b0497be76b25b6ba6d",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 72,
"avg_line_length": 19,
"alnum_prop": 0.5592105263157895,
"repo_name": "pbudzon/dhcp-php",
"id": "e3fc9036a3f777fdd53daa72cb47c1067ec7a5f5",
"size": "760",
"binary": f... |
#ifndef SKIN_INCLUDED
#define SKIN_INCLUDED
/*-------------------------------------------------------------------
Includes
-------------------------------------------------------------------*/
#include <math.h>
#include "d3dmain.h"
#include "typedefs.h"
#include "New3D.h"
#include <time.h>
#include "Ships.h"
#incl... | {
"content_hash": "86659303a10f69b28ccd018a8299afe4",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 125,
"avg_line_length": 42.131147540983605,
"alnum_prop": 0.6163424124513619,
"repo_name": "ForsakenW/forsaken",
"id": "09960425e09c0ec2104f21a8923e7810a691b982",
"size": "... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/bubble/bubble_delegate.h"
#include "ui/base/animation/slide_animation.h"
#include "ui/gfx/color_utils.h"
#include "ui/views/bubble... | {
"content_hash": "a5953331dfd228d6bcf5940c8982e961",
"timestamp": "",
"source": "github",
"line_count": 335,
"max_line_length": 80,
"avg_line_length": 32.84477611940299,
"alnum_prop": 0.711442333908934,
"repo_name": "robclark/chromium",
"id": "072f355c5ae5ed8b4d8c3241eb70a6d7ceb3320b",
"size": "110... |
/**
* Provides a strategy for ObjectName creation. Used by MBeanExporter
* to determine the JMX names to use for exported Spring-managed beans.
*/
@NonNullApi
@NonNullFields
package org.springframework.jmx.export.naming;
import org.springframework.lang.NonNullApi;
import org.springframework.lang.NonNullFields;
| {
"content_hash": "452721193e63484167ddfc8bc52c51bc",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 71,
"avg_line_length": 31.6,
"alnum_prop": 0.8069620253164557,
"repo_name": "spring-projects/spring-framework",
"id": "98056c29034f01148ce7c97ff959b33a8be62ab2",
"size": "3... |
/**
* @file Justify commands.
*/
(function()
{
function getState( editor, path )
{
var firstBlock = path.block || path.blockLimit;
if ( !firstBlock || firstBlock.getName() == 'body' )
return CKEDITOR.TRISTATE_OFF;
return ( getAlignment( firstBlock, editor.config.useComputedState ) == th... | {
"content_hash": "3e6fbbdbec5df0c56c2a91ed3bf00b8a",
"timestamp": "",
"source": "github",
"line_count": 236,
"max_line_length": 112,
"avg_line_length": 27.14830508474576,
"alnum_prop": 0.5957546433588263,
"repo_name": "fredd-for/codice.v.1.2",
"id": "8d8c47150172199a976fb127dde9896f1431bbd4",
"size... |
using content::BrowserThread;
using content::SpeechRecognitionManager;
using content::WebContents;
namespace speech {
namespace {
void TabClosedCallbackOnIOThread(int render_process_id, int render_view_id) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
SpeechRecognitionManager* manager = SpeechRecogni... | {
"content_hash": "75a0d917f1199b4205b285f61be13381",
"timestamp": "",
"source": "github",
"line_count": 425,
"max_line_length": 80,
"avg_line_length": 37.51294117647059,
"alnum_prop": 0.7024399422944239,
"repo_name": "ChromiumWebApps/chromium",
"id": "668aae0a9ad7396d301cacd3b572ec5768996021",
"siz... |
<html>
<head>
<link rel="stylesheet" type="text/css" media="screen" href="../dist/w2ui.css" />
<script type="text/javascript" src="../libs/jquery/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="../src/w2utils.js"></script>
<script type="text/javascript" src="../src/w2tabs.js"></script>
<script type="... | {
"content_hash": "f61f4ab4635a67dd5009b5fc32a8b68f",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 141,
"avg_line_length": 44.641975308641975,
"alnum_prop": 0.5508849557522124,
"repo_name": "Connum/w2ui",
"id": "94468588f99712544e79102fdf25b338b1e1db1f",
"size": "3616",
... |
// ZAP: 2012:02/01 Changed getHostPort() to return proper port number even if it
// is not explicitly specified in URI
// ZAP: 2011/08/04 Changed to support Logging
// ZAP: 2011/10/29 Log errors
// ZAP: 2011/11/03 Changed isImage() to prevent a NullPointerException when the path doesn't exist
// ZAP: 2011/12/09... | {
"content_hash": "e3820f3e86e0a88fd9b5ca90dd1d2c1d",
"timestamp": "",
"source": "github",
"line_count": 736,
"max_line_length": 163,
"avg_line_length": 33.31929347826087,
"alnum_prop": 0.5469966969783469,
"repo_name": "Harinus/zaproxy",
"id": "1812ea03d1cd0a17756dfead7cc032e00abea415",
"size": "253... |
package lx.af.utils.ViewPagerTransformer;
import android.support.v4.view.ViewPager;
import android.view.View;
/**
* import from https://github.com/hongyangAndroid/MagicViewPager
*/
public class NonPageTransformer implements ViewPager.PageTransformer
{
@Override
public void transformPage(View page, float pos... | {
"content_hash": "cbe9af4200333921afaa7ce48f3368a3",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 86,
"avg_line_length": 25.944444444444443,
"alnum_prop": 0.7537473233404711,
"repo_name": "liuxu0703/AppFrame",
"id": "37bf30968c14844eabb7e38663a01586f502458e",
"size": "4... |
namespace gapil {
// Ref is a smart pointer implementation that is compatible with the ref
// shared pointers used by the gapil compiler. Several refs may share the same
// object.
template <typename T>
class Ref {
public:
using object_type = T;
// Constructs a new ref that points to nothing.
Ref();
Ref(std:... | {
"content_hash": "56b5beefbc9f1484869359f429417660",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 78,
"avg_line_length": 26.32,
"alnum_prop": 0.6747720364741642,
"repo_name": "Qining/gapid",
"id": "e5280960c35ad0b8fb57fbf199c560f96f8639b2",
"size": "2749",
"binary": f... |
"""autogenerated by genpy from aruco/marker_info.msg. Do not edit."""
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
class marker_info(genpy.Message):
_md5sum = "e5991c0caab369f6cfa37dfa3bc945ad"
_type = "aruco/marker_info"
_has_header = False #flag to mark the pr... | {
"content_hash": "c0e5e9658a5d89bcc412c7368a7f18bb",
"timestamp": "",
"source": "github",
"line_count": 383,
"max_line_length": 153,
"avg_line_length": 33.55613577023499,
"alnum_prop": 0.6022408963585434,
"repo_name": "miguelolivaresmendez/ArUco_ROS-QR-code-detection",
"id": "29d7020c85fab897bfdbac97... |
namespace Microsoft.VisualStudio.LanguageServices.CSharp.Options
{
internal static class AdvancedOptionPageStrings
{
public static string Option_AllowMovingDeclaration
{
get { return CSharpVSResources.Option_AllowMovingDeclaration; }
}
public static string Option_Clo... | {
"content_hash": "25d2655dd878cb0cdc43f5329e3f019d",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 89,
"avg_line_length": 30.438095238095237,
"alnum_prop": 0.6386107634543179,
"repo_name": "jramsay/roslyn",
"id": "9418e22f1ee654a7491734a7d6455d4cbbd981e1",
"size": "3358... |
<?php namespace Illuminate\Database\Schema\Grammars;
use Illuminate\Support\Fluent;
use Illuminate\Database\Connection;
use Illuminate\Database\Schema\Blueprint;
class MySqlGrammar extends Grammar {
/**
* The possible column modifiers.
*
* @var array
*/
protected $modifiers = array('Unsigned', 'Nullable', ... | {
"content_hash": "d2855b3bf6843bab46a8389f23959338",
"timestamp": "",
"source": "github",
"line_count": 595,
"max_line_length": 104,
"avg_line_length": 23.557983193277312,
"alnum_prop": 0.6710423057715631,
"repo_name": "newcxs/Payment",
"id": "6e518d7fd08dd24c3c68c199a42dbc56dae8b6ec",
"size": "140... |
<?xml version="1.0" encoding="utf-8"?>
<!--
$Id: stringresource.xml,v 1.4 2011/05/01 15:28:52 kzmi Exp $
-->
<string-resource>
<record name="AuthenticationFailed">
<en>User authentication failed.</en>
<ja>ユーザ認証に失敗しました。</ja>
</record>
<record name="BrokenKeyFile">
<en>{0} is not valid private key file... | {
"content_hash": "c89102ed9f57d075fd69ede15cb8129f",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 78,
"avg_line_length": 32.9,
"alnum_prop": 0.6843247937472862,
"repo_name": "VirusFree/Poderosa",
"id": "b76b9b69174a7d94caa35722e0e136c4103e0412",
"size": "2841",
"binar... |
TradeTariffBackend::DataMigrator.migration do
name "Populates HiddenGoodsNomenclature with data"
desc "Certain GoodsNomenclatures should be hidden in UK Tariff."
CODES =
["9900000000",
"9905000000",
"9919000000",
"9930000000",
"9930240000",
"9930270000",
"9930990000",
"9931... | {
"content_hash": "d8fa7ff65480102a6efdaec580bc0aea",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 90,
"avg_line_length": 24.46938775510204,
"alnum_prop": 0.6213511259382819,
"repo_name": "leftees/trade-tariff-backend",
"id": "5870a61e2193494702c93581c8b594b0733c974a",
"... |
'use strict'
var api = require('../api/distance')
var unit = 'finger'
var def = require('../definition/distance/finger')
api.augment(unit, def)
module.exports = api[unit]
| {
"content_hash": "243253a309278c0f208db7cae9027c20",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 50,
"avg_line_length": 16,
"alnum_prop": 0.6818181818181818,
"repo_name": "GCheung55/metiri",
"id": "e1e17afdbe328806195482fd238389ad89a49fe1",
"size": "176",
"binary": f... |
/*
* Created by SharpDevelop.
* User: Skrylar
* Date: 10/2/2011
* Time: 5:09 AM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Runtime.InteropServices;
using MouseHandle = System.IntPtr;
using DisplayHandle = System.IntPtr;
using MouseCursorHandl... | {
"content_hash": "2f52a956f4b70b064a676a455e93797e",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 87,
"avg_line_length": 39.33974358974359,
"alnum_prop": 0.7140296561838032,
"repo_name": "Skrylar/Allegro5Net",
"id": "2e921dd04aab5d64bf46b6288c7d5b2df3e20316",
"size": "... |
module RSpec
module Expectations
# @private
module Version
STRING = '3.3.1'
end
end
end
| {
"content_hash": "4677c11d1922551abd02a6bad131f31f",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 22,
"avg_line_length": 13.75,
"alnum_prop": 0.6090909090909091,
"repo_name": "ralzate/Nuevo-Aerosanidad",
"id": "a4f3edd216d068731a393aadfe98b8a2c3adaaad",
"size": "110",
... |
namespace blink {
class InputEvent final : public UIEvent {
DEFINE_WRAPPERTYPEINFO();
public:
static InputEvent* create(const AtomicString& type,
const InputEventInit& initializer) {
return new InputEvent(type, initializer);
}
enum class InputType {
None,
// Insertion... | {
"content_hash": "885cc0c5b88d757b746eb213806a07f3",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 80,
"avg_line_length": 26.261194029850746,
"alnum_prop": 0.6345552713839159,
"repo_name": "ssaroha/node-webrtc",
"id": "8710e90b8c2d1582ec92c5ea89dff6f4ba2b56df",
"size": ... |
require 'socket'
require 'thread'
require 'timeout'
require 'digest/sha1'
require 'xmpp4r/callbacks'
require 'xmpp4r/bytestreams/helper/socks5bytestreams/socks5'
module Jabber
module Bytestreams
##
# SOCKS5 Bytestreams (JEP-0065) implementation
#
# Don't use directly, use SOCKS5BytestreamsInitiator
... | {
"content_hash": "7594081cb82d9074491a47a365d172e3",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 127,
"avg_line_length": 31.2751677852349,
"alnum_prop": 0.6148068669527897,
"repo_name": "nosolosoftware/rhodes",
"id": "8833d3624291db9ce94a2604098821b9ddf652be",
"size":... |
class LibsignalProtocolC < Formula
desc "Signal Protocol C Library"
homepage "https://github.com/signalapp/libsignal-protocol-c"
url "https://github.com/signalapp/libsignal-protocol-c/archive/v2.3.3.tar.gz"
sha256 "c22e7690546e24d46210ca92dd808f17c3102e1344cd2f9a370136a96d22319d"
license "GPL-3.0"
bottle d... | {
"content_hash": "29bd830e542ce15a4c9339e32398cb21",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 123,
"avg_line_length": 40.443396226415096,
"alnum_prop": 0.6256123163051085,
"repo_name": "mfikes/homebrew-core",
"id": "156b03c806332e20f392963706683612ea25189d",
"size"... |
package com.luckystar.advent;
import java.io.IOException;
import java.net.URISyntaxException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
/**
* By: Alexey Matveev
* Date: 23.12.2015
* Time: 13:26
*/
public class Advent6 {
public static void main(... | {
"content_hash": "804485008f002d42d8ad157a32ab95a5",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 132,
"avg_line_length": 27.218487394957982,
"alnum_prop": 0.5044766903365236,
"repo_name": "davidluckystar/adventofcode",
"id": "0d1481bd126ea8d0c18945dcca0c61985ec6dc85",
... |
<?xml version="1.0" encoding="UTF-8"?>
<billStatus>
<bill>
<relatedBills />
<committeeReports />
<billType>HR</billType>
<actions>
<item>
<text>Referred to the Committee on Oversight and Government Reform, and in addition to the Committee on Foreign Affairs, for a period to be subsequent... | {
"content_hash": "eb1e3c4481718d27ce7958e0b684f2cf",
"timestamp": "",
"source": "github",
"line_count": 662,
"max_line_length": 676,
"avg_line_length": 35.68277945619335,
"alnum_prop": 0.5988061976123952,
"repo_name": "peter765/power-polls",
"id": "01685a036dc7b055b7c725c7e6e2a6601ef3ebdc",
"size":... |
<?xml version="1.0" encoding="UTF-8"?>
<!---->
<!--################################################################################ -->
<!--# Redfish Schema: LogService v1.0.3-->
<!--# -->
<!--# For a detailed change log, ... | {
"content_hash": "269605484d52a1bf69ad195d78594a0f",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 497,
"avg_line_length": 65.65492957746478,
"alnum_prop": 0.6628767564088812,
"repo_name": "larry-dean/on-http",
"id": "3a5837dd97339025ec85c7769c36117a8e2e8217",
"size": "... |
Want to contribute? Great! First, read this page (including the small print at the end).
### Before you contribute
Before we can use your code, you must sign the
[Google Individual Contributor License Agreement](https://developers.google.com/open-source/cla/individual?csw=1)
(CLA), which you can do online. The CLA is... | {
"content_hash": "fabc4c0ec159edc0117e380c7903efc6",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 113,
"avg_line_length": 51.7037037037037,
"alnum_prop": 0.7951289398280802,
"repo_name": "samcarecho/cloud-polymer-go",
"id": "ad34bf68f74f6eeaaa2078d68361e0ef575e6f8e",
"s... |
package com.intellij.util.xml.impl;
import com.intellij.psi.PsiClass;
import com.intellij.psi.PsiType;
import com.intellij.util.Function;
import com.intellij.util.xml.*;
import com.intellij.util.xml.converters.values.ClassValueConverter;
import com.intellij.util.xml.converters.values.ClassArrayConverter;
import com.i... | {
"content_hash": "dea1743faa6855405f65ab03a6cbaef7",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 123,
"avg_line_length": 44.787234042553195,
"alnum_prop": 0.7923990498812351,
"repo_name": "joewalnes/idea-community",
"id": "63e5c0bdebd2f132fb18a28a4c546788607cc096",
"si... |
var expect = require('chai').expect;
var should = require('chai').should();
var manifesto = require('../../dist-commonjs/');
var manifests = require('../fixtures/manifests');
var manifest, sequence;
describe('static thumbs', function() {
it('loads successfully', function(done) {
manifesto.loadM... | {
"content_hash": "ec9f354a271543375bb8450ba260ac36",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 116,
"avg_line_length": 30.714285714285715,
"alnum_prop": 0.6069767441860465,
"repo_name": "viewdir/manifesto",
"id": "eb21378de4bbf4914b371b9968c27d8eba4d884b",
"size": "8... |
package org.togethwy;
import org.junit.Test;
import org.togethwy.cheetah.Cheetah;
import org.togethwy.cheetah.CheetahTimer;
import org.togethwy.cheetah.handler.ConsoleHandler;
import org.togethwy.cheetah.handler.RedisHandler;
import org.togethwy.sample.common.ZhihuDemo;
import java.lang.reflect.Constructor;
import ja... | {
"content_hash": "a24042b7c39ee9adb6dea76b718c6303",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 81,
"avg_line_length": 25.094117647058823,
"alnum_prop": 0.6090014064697609,
"repo_name": "togethwy/cheetah",
"id": "869b89e266bf2d20876ab924b855ebebf4ea5534",
"size": "214... |
const CHANGE_AUTOCOMPLETE = 'change_autocomplete'
const CHANGE_DEFAULT_TAB = 'change_default_tab'
const CHANGE_SAVE_RECENT = 'change_save_recent'
const GET_AUTOCOMPLETE = 'get_autocomplete'
const GET_DEFAULT_TAB = 'get_default_tab'
const GET_SAVE_RECENT = 'get_save_recent'
const SET_AUTOCOMPLETE = 'set_autocomplete'
co... | {
"content_hash": "5fe50b0c1f0ba1365111b8afae0bd3c5",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 49,
"avg_line_length": 28.428571428571427,
"alnum_prop": 0.7487437185929648,
"repo_name": "nattatorn-dev/expo-with-realworld",
"id": "4ec356e0e6c4782eb4920667a61392d707736949... |
import Correlator from "./correlator";
import rhea from "rhea";
class ConnectionManager {
constructor(protocol) {
this.rhea = rhea;
this.sender = undefined;
this.receiver = undefined;
this.connection = undefined;
this.version = undefined;
this.errorText = undefined;
this.protocol = prot... | {
"content_hash": "3fb0bfb813883e94ba2623d997f2f56a",
"timestamp": "",
"source": "github",
"line_count": 396,
"max_line_length": 111,
"avg_line_length": 32.05050505050505,
"alnum_prop": 0.6009297195083517,
"repo_name": "bhardesty/qpid-dispatch",
"id": "a5ab3fb7ba30b62cf07e88e79e24771c2b291a00",
"siz... |
class CreateCompanies < ActiveRecord::Migration
def change
create_table :companies do |t|
t.timestamps null: false
end
end
end
| {
"content_hash": "88019c5c9419ec1beae7e9e3675e694b",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 47,
"avg_line_length": 18.25,
"alnum_prop": 0.6986301369863014,
"repo_name": "KevinBongart/valid_attribute",
"id": "72042c685fc7ca8d470b534c39f826d1a58b52f6",
"size": "146",... |
package Paws::EMR::SpotProvisioningSpecification;
use Moose;
has BlockDurationMinutes => (is => 'ro', isa => 'Int');
has TimeoutAction => (is => 'ro', isa => 'Str', required => 1);
has TimeoutDurationMinutes => (is => 'ro', isa => 'Int', required => 1);
1;
### main pod documentation begin ###
=head1 NAME
Paw... | {
"content_hash": "2eddfca3313c1651d03376a467ece8d1",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 111,
"avg_line_length": 34.55681818181818,
"alnum_prop": 0.7714567576455114,
"repo_name": "ioanrogers/aws-sdk-perl",
"id": "6a5e340097d4d6af3996f462ca3352d1f704fd86",
"size... |
<?php
require_once('core/action/Action.php');
require_once('core/action/ActionResponse_Default.php');
require_once('model/entities/MenuEntry.php');
class Action_menu_displayAddMenuEntryForm implements Action
{
public function run(HttpRequest $httpRequest)
{
$actionResponse = new ActionResponse_Default();
$id... | {
"content_hash": "9b18f64dce6df386aaf52a3db606bb69",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 59,
"avg_line_length": 25.838709677419356,
"alnum_prop": 0.6966292134831461,
"repo_name": "fabienInizan/menuPlugin",
"id": "ce10c4d0fdc3ee199d373c76dfc3c038816b2be8",
"size... |
#ifndef DEBUGWIN_H
#define DEBUGWIN_H
#include "host.h"
#include "varable.h"
#ifdef __MAC__
#include <lwindow.h>
#include <lcommander.h>
#endif
//the following define the default position of a debug window
//if not specified at construction
#define DEBUG_WIN_... | {
"content_hash": "a105610e057228916e0d61234b4a890a",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 78,
"avg_line_length": 32.651162790697676,
"alnum_prop": 0.6185897435897436,
"repo_name": "dannnylo/tesseract_bin",
"id": "58e74c660f7d6fe7f489b28b89da67649ffc7852",
"size"... |
from swgpy.object import *
def create(kernel):
result = Tangible()
result.template = "object/tangible/mission/quest_item/shared_sindra_lintikoor_q2_needed.iff"
result.attribute_template_id = -1
result.stfName("loot_rori_n","sindra_lintikoor_q2_needed")
#### BEGIN MODIFICATIONS ####
#### END MODIFICATIONS ... | {
"content_hash": "5dcf12ff75824441279f5f057df63c54",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 93,
"avg_line_length": 26.307692307692307,
"alnum_prop": 0.7105263157894737,
"repo_name": "obi-two/Rebelion",
"id": "b3ddec384c790683510548cc55199e92bef5cc38",
"size": "487... |
package io.github.marioluan.datastructures.symboltable;
/**
* Key-value pair abstraction of a symbol table data structure.
*
* @author marioluan
* @param <Key>
* the class type of the comparable keys
* @param <Value>
* the class type of the values
*/
public interface SymbolTable<Key exte... | {
"content_hash": "c5f609f3439081ebf94360c84e5a36da",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 72,
"avg_line_length": 23.246376811594203,
"alnum_prop": 0.5648379052369077,
"repo_name": "marioluan/java-data-structures",
"id": "13961c03d3b6e18a2462364b825674418f13341d",
... |
<?php
namespace Puli\ComposerPlugin;
use Webmozart\Assert\Assert;
/**
* A Puli package.
*
* This class acts as data transfer object (DTO) for results delivered by the
* "puli package" command.
*
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class PuliPackage
{
/**
* State: ... | {
"content_hash": "1c82bc694b8b054faf200f794465452c",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 101,
"avg_line_length": 22.66025641025641,
"alnum_prop": 0.5623762376237624,
"repo_name": "tgalopin/composer-plugin",
"id": "23dd5dd7b3210f5580474b413eba2507fd2a5146",
"si... |
<?php
namespace kevintweber\KtwDatabaseMenuBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class KtwDatabaseMenuBundle extends Bundle
{
}
| {
"content_hash": "36cfbbbc4d6c22d58a8103fd140951b8",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 47,
"avg_line_length": 13.727272727272727,
"alnum_prop": 0.8211920529801324,
"repo_name": "kevintweber/KtwDatabaseMenuBundle",
"id": "9be30e93b08255657d90071d45b2aa2fbe32f1fa... |
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/)
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apa... | {
"content_hash": "d7b183b89da15ac5706e77494c64c809",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 209,
"avg_line_length": 45.74178403755869,
"alnum_prop": 0.6010469054705943,
"repo_name": "LindaLawton/Google-Dotnet-Samples",
"id": "0ad639075d1c8be2672c7c5b3bdc62ab7a81336... |
<!-- Start Help Area -->
<section class="help-area bg-color2">
<div class="help-wrapper inner-spacing">
<div class="container">
<div class="row">
<div class="col-md-8 col-lg-9">
<div class="help-section white-text">
<h2 class="heading-2">Do you need support? We can help!</h2>
... | {
"content_hash": "5f9065758b3ba922991b5d8d15c052ac",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 115,
"avg_line_length": 43.36842105263158,
"alnum_prop": 0.5776699029126213,
"repo_name": "HospitalRun/hospitalrun.github.io",
"id": "8cb6c0eb44dc209a49bd9b394682afef0dd0a17f... |
// 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.
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Mi... | {
"content_hash": "5119ff993f709060c523741c1b3945a7",
"timestamp": "",
"source": "github",
"line_count": 2313,
"max_line_length": 243,
"avg_line_length": 50.28145265888457,
"alnum_prop": 0.5840620458981436,
"repo_name": "diryboy/roslyn",
"id": "026d61e4866e96510f8f32867b7159368adb449a",
"size": "116... |
<!DOCTYPE html>
<html>
<head>
<script>
function performTest(api)
{
api.Selection.preserveWhileExecuting(function() {
var range = api.Selection.get();
api.Formatting.splitAroundSelection(range);
var outermost = range.getOutermostNodes();
api.Formatting.pushDownInlineProperties(outermo... | {
"content_hash": "984e8ae0c28698383346ac3aa864de0d",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 59,
"avg_line_length": 23.476190476190474,
"alnum_prop": 0.665314401622718,
"repo_name": "corinthia/corinthia-editorlib",
"id": "014350f7285c075240c066a55ce322706edad183",
... |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="resources/ie-test-pre.js"></script>
<script src="TestCases/15.2.3.3-4-13.js"></script>
<script src="resources/ie-test-post.js"></s... | {
"content_hash": "228fb3e3887c8967d3b36100b4ce8db3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 50,
"avg_line_length": 26.384615384615383,
"alnum_prop": 0.6443148688046647,
"repo_name": "lordmos/blink",
"id": "daa8789415d24414924b84ce02db90397bf81208",
"size": "343",
... |
package com.twitter.hraven;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.apache.hadoop.io.ArrayWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.io.Writable;
import org.apache.... | {
"content_hash": "c9e59d8ca44761d36eab0a95d4446581",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 70,
"avg_line_length": 23.5,
"alnum_prop": 0.6792942397509082,
"repo_name": "angadsingh/hraven",
"id": "e940f14f90ea352d982a99ab4104349cdaff194a",
"size": "1927",
"binary... |
module Neo4j
# === Mixin responsible for loading Ruby wrappers for Neo4j Nodes and Relationship.
#
module Load
def wrapper(node) # :nodoc:
return node unless node.property?(:_classname)
to_class(node[:_classname]).load_wrapper(node)
end
def to_class(class_name) # :nodoc:
class_name... | {
"content_hash": "1fe3f4d4640ef3d0de16d4d8beaf748f",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 99,
"avg_line_length": 32.95238095238095,
"alnum_prop": 0.6517341040462428,
"repo_name": "junegunn/neo4j",
"id": "8624d664ee8f183480a4bc901a540257195208f7",
"size": "692",
... |
package cz.metacentrum.perun.webgui.json.attributesManager;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.json.client.JSONNumber;
import com.google.gwt.json.client.JSONObject;
import com.google.gwt.user.client.ui.Label;
import cz.metacentrum.perun.webgui.client.PerunWebSession;
import cz.me... | {
"content_hash": "fcc641df02fae8cc8607da2851fe3596",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 108,
"avg_line_length": 23.925,
"alnum_prop": 0.7213514454893766,
"repo_name": "Simcsa/perun",
"id": "9c181e3e8acfbb5960241843ad735d7b377bc53e",
"size": "2871",
"binary"... |
public class DeprecatedAnnotationDemo {
public static void main(String[] args) {
MyTestClass testObject = new MyTestClass();
testObject.doSomething();
testObject.doSomethingNew("Bowling");
}
}
class MyTestClass {
@Deprecated
public void doSomething() {
}
public void d... | {
"content_hash": "b08a410f9fb4ac22065cba233e33c0ab",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 51,
"avg_line_length": 19.944444444444443,
"alnum_prop": 0.6573816155988857,
"repo_name": "shashanksingh28/code-similarity",
"id": "0afca55f186ec4c1de5e45bab9f67cd18a8165b3",... |
import logging
import queue
import time
logger = logging.getLogger()
def process_queue(q, pool, func):
""" Process a priority queue based on time
The priority within the queue is the time at which the item can execute.
Continually poll the queue, popping an item only when the current time
is greater... | {
"content_hash": "2fea66f373d3bf387d70daaa8470b5be",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 77,
"avg_line_length": 29.70149253731343,
"alnum_prop": 0.550251256281407,
"repo_name": "curtisalexander/fc",
"id": "a4706b6c7dbd302890d095803d3e8e91de57dc64",
"size": "200... |
module.exports = function exclusionFilter(packages) {
return function(packageName) {
if (packages.length === 0) {
return true
}
return (
packages
.map(function(pkg) {
return pkg.name
})
.indexOf(packageName) === -1
)
}
}
| {
"content_hash": "5c14e7400612579a4837fc102d330d3e",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 53,
"avg_line_length": 17,
"alnum_prop": 0.611764705882353,
"repo_name": "brzpegasus/ember-d3",
"id": "87a2d45a191fac13b92896297fd0438f14a7bc9a",
"size": "255",
"binary":... |
package org.apache.syncope.sra.security.cas;
import org.apache.commons.lang3.StringUtils;
import org.jasig.cas.client.validation.Assertion;
import org.springframework.security.authentication.AbstractAuthenticationToken;
public class CASAuthenticationToken extends AbstractAuthenticationToken {
private static fin... | {
"content_hash": "13a54d801849d826e55273dabae13202",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 79,
"avg_line_length": 25.93103448275862,
"alnum_prop": 0.7406914893617021,
"repo_name": "apache/syncope",
"id": "bf5d23cd8bba5773bd06d8274b6f224b8e73dfef",
"size": "1559",... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="msapplication-tap-highlight" content="no">
<meta name="... | {
"content_hash": "ece613cf52c3e2a2e59ab109540d9dd9",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 299,
"avg_line_length": 47.42528735632184,
"alnum_prop": 0.6429956374212312,
"repo_name": "g5search/g5-materialize-style-guide",
"id": "fda6f08c239371d4c8a3bd057b4091baeae579... |
class C {
private static x = 1;
static y = 1;
private static a() { }
static b() { }
private static get c() { return 1; }
static get d() { return 1; }
private static set e(v) { }
static set f(v) { }
}
//// [declFilePrivateStatic.js]
var C = (function () {
function C() {
}... | {
"content_hash": "d795ff12fd347f47bad5e2a57a558b11",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 40,
"avg_line_length": 21.75438596491228,
"alnum_prop": 0.5008064516129033,
"repo_name": "ziacik/TypeScript",
"id": "30cd85444cf7bcc60388121a78eb6d01de89c723",
"size": "127... |
package org.apache.camel.component.chatscript;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ChatScriptBot {
private static final transient Log... | {
"content_hash": "7887fa4f360eaa61278df1f3b094bded",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 105,
"avg_line_length": 25.419847328244273,
"alnum_prop": 0.6270270270270271,
"repo_name": "Fabryprog/camel",
"id": "e4aaa88a688c3ec87fa93d004b40731532b11cc3",
"size": "41... |
<?php
/**
* CMB2 - The core metabox object
*
* @category WordPress_Plugin
* @package CMB2
* @author WebDevStudios
* @license GPL-2.0+
* @link http://webdevstudios.com
*
* @property-read string $cmb_id
* @property-read array $meta_box
* @property-read array $updated
*/
class CMB2 {
/**
* Cur... | {
"content_hash": "a16d678f13ea74025a4e1b5ee5abe71c",
"timestamp": "",
"source": "github",
"line_count": 962,
"max_line_length": 294,
"avg_line_length": 29.516632016632016,
"alnum_prop": 0.5846099665434056,
"repo_name": "ceto/molnarorsolya",
"id": "8f40b2b42c46e46b2e1025ba58dc7e36fe9d3c32",
"size": ... |
package org.apereo.cas.ticket.expiration.builder;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.ticket.ExpirationPolicy;
import org.apereo.cas.ticket.ExpirationPolicyBuilder;
import org.apereo.cas.ticket.TransientSessionTicket;
import org.apereo.cas.ticket.expiration.MultiTimeUs... | {
"content_hash": "10f1a7bae16cf13147aef0d0be7a9757",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 119,
"avg_line_length": 31.35185185185185,
"alnum_prop": 0.7678676904902539,
"repo_name": "Jasig/cas",
"id": "552ae0ea375c453c4b0f976fb5e47903c51536f6",
"size": "1693",
"... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE665_Improper_Initialization__char_ncat_81_goodG2B.cpp
Label Definition File: CWE665_Improper_Initialization.label.xml
Template File: sources-sink-81_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 665 Improper Initialization
* BadSource: Do not initialize data p... | {
"content_hash": "feb738964563076ee4bd8e3c41c32354",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 103,
"avg_line_length": 31.28205128205128,
"alnum_prop": 0.671311475409836,
"repo_name": "maurer/tiamat",
"id": "0805b197c11cdfed100177d1ce66ffac1204cc0a",
"size": "1220",
... |
object Child extends Parent:
def bar = isFoo(foo)
| {
"content_hash": "4e1e4edb549e6eecf11029c410b2da63",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 28,
"avg_line_length": 26,
"alnum_prop": 0.7307692307692307,
"repo_name": "dotty-staging/dotty",
"id": "971338b0b0bd369e1fb49225a7945a2235906c9e",
"size": "52",
"binary": ... |
class PasswordResetsController < ApplicationController
before_action :get_user, only: [:edit, :update]
before_action :valid_user, only: [:edit, :update]
before_action :check_expiration, only: [:edit, :update]
def new
end
def create
@user = User.find_by(email: params[:password_reset][:ema... | {
"content_hash": "b58a2225c10fa1eae82ccfa894c4428c",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 73,
"avg_line_length": 24.03076923076923,
"alnum_prop": 0.6235595390524968,
"repo_name": "asafch/sample_rails_app",
"id": "1b01370c8df1a82f45d8e3f3b965a09af00dc484",
"size"... |
#include <errno.h>
#include "tun.h"
#include "tun_output.h"
#include "../encapsulations/vxlan-gpe.h"
#include "../../fwd_policies/fwd_policy.h"
#include "../../fwd_policies/flow_balancing/fwd_entry_tuple.h"
#include "../../liblisp/liblisp.h"
#include "../../lib/packets.h"
#include "../../lib/sockets.h"
#include "..... | {
"content_hash": "6a885fd98eee3d906305205c76d8ee9f",
"timestamp": "",
"source": "github",
"line_count": 286,
"max_line_length": 128,
"avg_line_length": 35.07342657342657,
"alnum_prop": 0.5787060113647692,
"repo_name": "OpenOverlayRouter/oor",
"id": "5348765d2cc21ab056d90f0dc2e5467ce694571b",
"size"... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Vertigo.Live
{
public static partial class LiveSet
{
public static ILiveList<T> Reverse<T>(this ILiveCollection<T, IListDelta<T>> source)
{
LiveObserver<ICollectionState<T, IListDelta<T>>> observer = null;... | {
"content_hash": "1cfd9d1b2ea17d99a726048ca8595d81",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 122,
"avg_line_length": 46.5,
"alnum_prop": 0.3610421836228288,
"repo_name": "filmackay/live",
"id": "9a8abe270f06afeb46866d7a7b2aaa6c32df77e4",
"size": "2420",
"binary":... |
package com.jme3.system;
import com.jme3.audio.AudioRenderer;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URL;
import java.nio.ByteBuffer;
public class MockJmeSystemDelegate extends JmeSystemDelegate {
@Override
public void writeImageFile(OutputStream outStream, String format, B... | {
"content_hash": "b6d50044f5d8cf2288dfe1f4b4a90ea0",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 135,
"avg_line_length": 24.0625,
"alnum_prop": 0.7168831168831169,
"repo_name": "zzuegg/jmonkeyengine",
"id": "b9beac7f69fd91c4eaaebf84a74bc67071d12e14",
"size": "2732",
... |
import sys
#variables
new_input = sys.argv[1]
counter = 0
#initialize for loop
for i in new_input:
if counter % 2:
fun = int(new_input[counter]) * new_input[counter - 1]
sys.stdout.write(fun)
counter += 1
print("")
| {
"content_hash": "2eeee609377b70030d3f2d4d000a7893",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 56,
"avg_line_length": 17.153846153846153,
"alnum_prop": 0.672645739910314,
"repo_name": "Ca2Patton/PythonStuff",
"id": "f9243ae637c914b0933c220a5173d9e3a7afb4c8",
"size": ... |
module Azure::Batch::Mgmt::V2015_12_01
#
# ApplicationPackageOperations
#
class ApplicationPackageOperations
include MsRestAzure
#
# Creates and initializes a new instance of the ApplicationPackageOperations class.
# @param client service class for accessing basic functionality.
#
def i... | {
"content_hash": "84f5e14deb0660d1d02f3ff6cffd9b83",
"timestamp": "",
"source": "github",
"line_count": 448,
"max_line_length": 200,
"avg_line_length": 52.77455357142857,
"alnum_prop": 0.6862919257285455,
"repo_name": "Azure/azure-sdk-for-ruby",
"id": "2883fabb55b799e2bca375c93c92bb9eb28979e6",
"si... |
require 'spec_helper'
describe HL7::Message::Segment::PRD do
context 'general' do
let (:base) { 'PRD|RP|LastName^FirstName^MiddleInitial^SR^NickName|444 Home Street^Apt B^Ann Arbor^MI^99999^USA|^^^A Wonderful Clinic|^WPN^PH^^^07^5555555|PH|4796^AUSHICPR|20130109163307+1000|20140109163307+1000' }
let (:prd) {... | {
"content_hash": "abd4bfffa1060ca64b431a2a91e9a572",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 218,
"avg_line_length": 35.107142857142854,
"alnum_prop": 0.7060020345879959,
"repo_name": "mitch-lindsay/ruby-hl7",
"id": "b7c829375de0d75713b695ea6ada880ed873e417",
"size... |
FROM balenalib/imx6ul-var-dart-alpine:3.14-run
# remove several traces of python
RUN apk del python*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python dependencies
RUN apk add --no-cache ca-c... | {
"content_hash": "444c141576e177a7897b90a8151ce9b0",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 714,
"avg_line_length": 53.4025974025974,
"alnum_prop": 0.71181906614786,
"repo_name": "resin-io-library/base-images",
"id": "1a1bce0a4bd21f87f742de153e694f35fbca3cbf",
"si... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_31) on Mon Oct 01 06:51:22 PDT 2012 -->
<TITLE>
Uses of Class org.apache.hadoop.mapreduce.lib.partition.InputSampler.IntervalSampler (Hadoop 1.0.3.16... | {
"content_hash": "09880ae3114f376758a644173943ec3b",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 274,
"avg_line_length": 44.59722222222222,
"alnum_prop": 0.6211460604173155,
"repo_name": "Seagate/hadoop-on-lustre",
"id": "ba97de0e78b6f292918123449049bbd5869806bc",
"si... |
package org.apache.commons.httpclient.methods;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* A RequestEntity that contains an InputStream.
*
* @... | {
"content_hash": "fcbdbfef169bc84db71ff629e40b489c",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 98,
"avg_line_length": 31.93491124260355,
"alnum_prop": 0.6014452473596442,
"repo_name": "magneticmoon/httpclient3-ntml",
"id": "77125dde3b545f8e72fba7e7d8d717e9e4ca5035",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.