text stringlengths 2 1.04M | meta dict |
|---|---|
package org.zstack.sdk;
public class QueryIdentityZoneFromLocalResult {
public java.util.List inventories;
public void setInventories(java.util.List inventories) {
this.inventories = inventories;
}
public java.util.List getInventories() {
return this.inventories;
}
public jav... | {
"content_hash": "9f6c0f386b99dc6a32a20837e228d65f",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 60,
"avg_line_length": 22.59090909090909,
"alnum_prop": 0.6639839034205232,
"repo_name": "zstackorg/zstack",
"id": "4a8f3d71f6a2ec712027a0aea952c323a2faacbc",
"size": "497"... |
package io.gatling.recorder.util
import java.util.Locale
import io.netty.handler.codec.http.HttpHeaderValues._
object HttpUtils {
val SupportedEncodings = Set(GZIP.toString, DEFLATE.toString)
def filterSupportedEncodings(acceptEncodingHeaderValue: String): String =
acceptEncodingHeaderValue
.split("... | {
"content_hash": "8bf9fe3668c993bfbd75c0b605059ea5",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 92,
"avg_line_length": 25.88235294117647,
"alnum_prop": 0.7545454545454545,
"repo_name": "wiacekm/gatling",
"id": "506633efcbaf82d24d0f26836f31071bcd22e4eb",
"size": "1056"... |
indoblaxican
============
A revolution in the food industry.
| {
"content_hash": "af18ff6aa253b4371a92fd61d57932f5",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 34,
"avg_line_length": 15.5,
"alnum_prop": 0.6451612903225806,
"repo_name": "ankitr/indoblaxican",
"id": "38d67d4a1902ed98f6fd8573bdb0999319a5dc1a",
"size": "62",
"binary"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
Uses of Package org.apache.poi.hssf.eventusermodel (POI API Documentation)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="S... | {
"content_hash": "9d2dd6982d2e7010053f26c8b35a48c5",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 270,
"avg_line_length": 43.69189189189189,
"alnum_prop": 0.6220462699492763,
"repo_name": "jakebooyah/athena",
"id": "ed6118864dac1c1b554f69897261aadb46c6c04d",
"size": "8... |
require 'bricolage/parameters'
require 'bricolage/script'
require 'bricolage/sqlstatement'
require 'bricolage/exception'
require 'pathname'
module Bricolage
class JobClass
CLASSES = {}
def JobClass.define(id, &block)
id = id.to_s
raise FatalError, "duplicated job class: #{@id.inspect}" if CLASS... | {
"content_hash": "0212a4402a8bd65abe46fa605b597208",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 118,
"avg_line_length": 22.6875,
"alnum_prop": 0.6092089728453365,
"repo_name": "inohiro/bricolage",
"id": "b315f2c5ff859337176d35b55aa1b66c033d84b1",
"size": "2541",
"b... |
package com.flat502.rox.client;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.ServerSocket;
import java.net.Socket;
import com.flat502.rox.log.Log;
import com.flat502.rox.log.LogFactory;
import com.flat502.rox.utils.Utils;
// A server that will eithe... | {
"content_hash": "169200dc3fe63bed9d7b410588ad2c08",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 109,
"avg_line_length": 30.615384615384617,
"alnum_prop": 0.5418760469011725,
"repo_name": "lukehutch/gribbit-rox",
"id": "598d9cff66bf5c704026485d9be25b35b95bc4e9",
"size"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>angles: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | {
"content_hash": "c6853c2df8b35d86cc9a96acba4ba1e1",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 157,
"avg_line_length": 41,
"alnum_prop": 0.5604365988411265,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "e1b90cad8dc45a9fcea2992541029e7f1fb62e25",
"size": "7425... |
Exceptions are a form of error handling.
They are called exceptions, as they normally appear when dealing with some unexpected event.
At any point in our code, we can "raise" an exception.
We do this using the `raise` method, passing in an object - normally an Exception object, although we can also use basic strings.... | {
"content_hash": "dc5a3edcacd5b952adad99e7e83f11fd",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 310,
"avg_line_length": 32.69072164948454,
"alnum_prop": 0.7637969094922737,
"repo_name": "NeimadTL/ruby",
"id": "ac41fc3cb6703e6c620863cc9236d869a2b96dbc",
"size": "3180",... |
{% extends 'base.html' %}
{% block head %}
{{super()}}
{% endblock %}
{% block scripts %}
{{ super() }}
{% endblock %}
{% block header %}
<link rel="stylesheet" href="/static/css/login.css">
<script type="text/javascript" src="/static/js/src/controllers/signin_controller.js"></script>
{% endblock %}... | {
"content_hash": "6995caf26aa5cd55b6d0bb7db50f69bb",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 123,
"avg_line_length": 48.4125,
"alnum_prop": 0.4314484895429899,
"repo_name": "jcemelanda/pygame-site",
"id": "9aed5f6baa2ed7bda4ac5535e52a9a6714f1ba6d",
"size": "3875",
... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "satuanbrg_m".
*
* @property integer $satuanbrg_id
* @property string $satuanbrg_nama
*
* @property BarangM[] $barangMs
*/
class SatuanbrgM extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function ... | {
"content_hash": "b003ac581920ac703cbb17b601270e1c",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 88,
"avg_line_length": 18.09259259259259,
"alnum_prop": 0.5220061412487206,
"repo_name": "taufikmaul/si-hct",
"id": "e89d5913421beef7ddd5578cc5291b9e3b4a2d0c",
"size": "977... |
package java.util
import java.lang.Cloneable
import java.{util => ju}
/* This implementation allows `null` keys and values, although the JavaDoc
* specifies that operations should throw `NullPointerException`s if `null`
* keys or values are used. This makes the implementation easier, notably by
* allowing to reu... | {
"content_hash": "8c94f45f994d1e65f6c3dedd5b45a1df",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 83,
"avg_line_length": 23.9390243902439,
"alnum_prop": 0.6551197147223637,
"repo_name": "gzm0/scala-js",
"id": "9667c74811f50d25fbbe392b7a1956c92ad45134",
"size": "2235",
... |
<!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.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Phing API Documentation » \SvnCommitTask</title>
<meta name="author" conten... | {
"content_hash": "e871e192f1b811b23996484c96869b3b",
"timestamp": "",
"source": "github",
"line_count": 1287,
"max_line_length": 489,
"avg_line_length": 49.28360528360528,
"alnum_prop": 0.7120829917386643,
"repo_name": "theghostbel/pimcore",
"id": "04fda9e6f3378cb3a9e9974cf3a6346c14102420",
"size":... |
<?php
$tempUsername=$_POST['form-username'];
$tempPassword=$_POST['form-password'];
$exists=checkUser($tempUsername);
if (!$exists) {
if ($_POST['form-password']==$_POST['form-password1']&&
$_POST['form-password']!="") {
//successfull input
$conn=connection();
$inputSql="INSERT INTO users (`username`,... | {
"content_hash": "cb06c9e1124474bd5d82d4e7813800f2",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 78,
"avg_line_length": 24.75,
"alnum_prop": 0.6565656565656566,
"repo_name": "aleksandarmileski/schedule",
"id": "6479397145dde688e620d8e1bc18019a6b6052ea",
"size": "594",
... |
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'],
'supported_by': 'community'}
DOCUMENTATION = r'''
---
module: win_toast
version_added: "2.4"
short_description: Sends Toast windows notification to logged in users on Windows 10 or later hosts
description:
... | {
"content_hash": "afe5b92546e3705bcc025e6b8c5bc9da",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 137,
"avg_line_length": 33.95180722891566,
"alnum_prop": 0.7026259758694109,
"repo_name": "e-gob/plataforma-kioscos-autoatencion",
"id": "c56c32f0a15268765991189d8272b711f1d0... |
cask 'sidneys-pb' do
version '7.0.0'
sha256 '35ea8c3f03ddea43999dc68a6a3fb026d43037f9c4aa534fd8db4fd6a9e68416'
url "https://github.com/sidneys/pb-for-desktop/releases/download/v#{version}/pb-for-desktop-#{version}.dmg"
appcast 'https://github.com/sidneys/pb-for-desktop/releases.atom',
checkpoint: '4b... | {
"content_hash": "a9e36b3fae83baef49a44b0d39d8e2aa",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 109,
"avg_line_length": 44.666666666666664,
"alnum_prop": 0.6780383795309168,
"repo_name": "Ngrd/homebrew-cask",
"id": "cba4b06480100f74f66539b600cc6587ba4fe900",
"size": "... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="../dist/sibgif.min.js"></script>
<script type="text/javascript" src="./js/async.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-sc... | {
"content_hash": "2fef3a751ed335bdfee41f73254eab1c",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 122,
"avg_line_length": 34.83720930232558,
"alnum_prop": 0.609479305740988,
"repo_name": "sibnerian/sibgif",
"id": "dc4e3d951f963c7a7fed7da5630e0783795ea1c8",
"size": "1498... |
import dateparser
import re
import os
import sys
import requests
from pyquery import PyQuery as pq
sys.path.insert(1, os.path.join(sys.path[0], '..'))
from models import trackingStatus, trackingEvent
NAME = "UPS"
ID = __name__[10:]
POPULARITY = 4
def guess(number):
return number.startswith('1Z')
def track(numb... | {
"content_hash": "3d077f639b94854f280e57ab0a97cbf6",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 109,
"avg_line_length": 28.70909090909091,
"alnum_prop": 0.5332488917036099,
"repo_name": "krzynio/pl-packagetrack",
"id": "dea39c2e7d745f7bb008656e08ab19dc1ae946c1",
"size... |
class AudioContext {
public:
AudioContext();
~AudioContext() {} /// need to finish
GainNode* createGain();
OscillatorNode* createOscillator();
AudioDestinationNode* destination();
int sample_rate();
private:
AudioDestinationNode* destination_ptr;
std::vector<AudioNode*> _nodes;
}; | {
"content_hash": "9ce332739174611695ff93fc36f836dc",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 39,
"avg_line_length": 15.578947368421053,
"alnum_prop": 0.7263513513513513,
"repo_name": "VSIONHAIRIES/CFOO",
"id": "46681191d4cffb8944ce79713aa7a8206c26176e",
"size": "55... |
require_relative '../../spec_helper'
require_relative 'shared/equal'
describe "Float#==" do
it_behaves_like :float_equal, :==
end
| {
"content_hash": "306df6a39b498036fae79e07e8d7875d",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 36,
"avg_line_length": 22.166666666666668,
"alnum_prop": 0.6917293233082706,
"repo_name": "nobu/rubyspec",
"id": "03eea5108e450ab6d0ba4294048a864ea601646a",
"size": "133",
... |
module Mutest
# Zombifier namespace
class Zombifier
include Anima.new(
:includes,
:load_path,
:kernel,
:namespace,
:pathname,
:require_highjack,
:root_require
)
private(*anima.attribute_names)
include AST::Sexp
LoadError = Class.new(::LoadError)
... | {
"content_hash": "ff53b03bcfe18c43d4f3010a5d348b9e",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 81,
"avg_line_length": 21.433333333333334,
"alnum_prop": 0.5890357698289269,
"repo_name": "backus/mutest",
"id": "aa0bf8362f4e09fa42637ca3046b4c084b8f4f94",
"size": "2572"... |
namespace tadpole {
void register_builtins(VM& vm) {
// fn help() -> nil
vm.define_native("help", [](sz_t, Value*) -> Value {
std::cout
<< colorful::fg::green << "Welcome to Tadpole! This is the help utility."
<< colorful::reset << std::endl << std::endl;
std::cout << "print(..... | {
"content_hash": "637276a997f42bd47e8f14986bdce5a9",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 104,
"avg_line_length": 34.157303370786515,
"alnum_prop": 0.5519736842105263,
"repo_name": "ASMlover/study",
"id": "5ac086bea2bc8b6b70ce99b0800301a62192151d",
"size": "4773... |
package org.apereo.cas.configuration.model.support.pac4j;
/**
* This is {@link Pac4jProperties}.
*
* @author Misagh Moayyed
* @since 5.0.0
*/
public class Pac4jProperties {
private boolean typedIdUsed;
private Facebook facebook = new Facebook();
private Twitter twitter = new Twitter();
private ... | {
"content_hash": "b80fc280c52e459c3012f848a07e5a48",
"timestamp": "",
"source": "github",
"line_count": 488,
"max_line_length": 98,
"avg_line_length": 23.725409836065573,
"alnum_prop": 0.5796337882190361,
"repo_name": "zhoffice/cas",
"id": "e7b8c405c85c40ccada6bd8e24b2b1497b407dba",
"size": "11578"... |
require 'spec_helper'
describe Huia::Core::String do
subject { described_class.huia_send('createFromValue:', "hello world") }
it_behaves_like :huia_literal
it { should respond_to :to_str }
it { should respond_to :to_s }
its(:value) { should eq "hello world" }
describe 'Huia methods' do
describe 'con... | {
"content_hash": "52c929bf88eba14e28d164d98fa9ea02",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 82,
"avg_line_length": 28.3,
"alnum_prop": 0.6148409893992933,
"repo_name": "jamesotron/Huia",
"id": "6460a3accec3b88bbf3ab71f5ec4b2684ae2d9fa",
"size": "1415",
"binary":... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
*** GENERATED FROM project.xml - DO NOT EDIT ***
*** EDIT ../build.xml INSTEAD ***
For the purpose of easier reading the script
is divided into following sections:
- initialization
- compilation
- jar
- execution
- debugging
- javad... | {
"content_hash": "79adbc7c913ad2ccf604f757df6b9265",
"timestamp": "",
"source": "github",
"line_count": 1420,
"max_line_length": 496,
"avg_line_length": 56.017605633802816,
"alnum_prop": 0.5584889056508895,
"repo_name": "ashkanent/GP_FitnessSharing",
"id": "b920dbef25db121bf6b064ca3241eb1a073d69b8",
... |
classdef Equation_PhreeqcRM_v1 < Equation
properties
end
methods
function this = Equation_PhreeqcRM_v1 (Parameters)
this=this@Equation (@PhreeqcRM_v1, Parameters);
end
function C_n1 = Time_Stepping (this, parm)
%
end
end
end | {
"content_hash": "e07cee75d8e7b45c7bcc6f3689049317",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 59,
"avg_line_length": 24.23076923076923,
"alnum_prop": 0.5587301587301587,
"repo_name": "TReacLab/TReacLab",
"id": "10fb61a2efc0490c2ca022988f69f52ee70d9741",
"size": "315... |
@charset "UTF-8";
.intake24-as-served-image-chooser {
}
.intake24-as-served-image-container {
position: relative;
}
.intake24-as-served-thumbs-container {
margin-top:10px;
}
.intake24-as-served-image {
width: 100%;
height: auto;
}
.intake24-as-served-image-overlay {
position: absolute;
left:0;
top:0;
r... | {
"content_hash": "3706cdd08c51906ad9df56159508d32a",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 74,
"avg_line_length": 17.74404761904762,
"alnum_prop": 0.6957396846695739,
"repo_name": "digitalinteraction/intake24-survey-frontend",
"id": "50f0cc318f4605bab731a1d0ca61cd... |
template class ShareLogWriterT<ShareBytom>;
| {
"content_hash": "0a312ea0c3eb49bffa25b44df568f17c",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 43,
"avg_line_length": 44,
"alnum_prop": 0.8636363636363636,
"repo_name": "btccom/btcpool",
"id": "445d2fc6778ea88d42a32a2e39ecf404589451c7",
"size": "75",
"binary": false... |
$(document).ready(function(){
$('#pppanel').click(function() {
$(location).attr('href',redUrl);
});
}); | {
"content_hash": "7cf0219ebebbf5940fe39719102b0d00",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 39,
"avg_line_length": 20.833333333333332,
"alnum_prop": 0.504,
"repo_name": "Polaris1123322/HIT-Survey",
"id": "292335b3a0a290f58ade85ed3ebd17c5dcb4a167",
"size": "125",
... |
package org.apache.maven.plugins.war.stub;
import java.io.File;
import java.util.HashSet;
import java.util.Properties;
import java.util.Set;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.model.Build;
import org.apache.maven.model.Organization;
import org.apache.maven.project.MavenProject;
/**
... | {
"content_hash": "af5f0f96e87cad5ec3fd02e030d61039",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 90,
"avg_line_length": 18.97345132743363,
"alnum_prop": 0.5984141791044776,
"repo_name": "apache/maven-plugins",
"id": "020760e01324c6d73d5311bf61f4a95f53187e01",
"size": ... |
<!DOCTYPE html>
<html>
<head>
<title>zoom</title>
<!--
For production (minified) code, use:
<script type="text/javascript" src="dygraph-combined.js"></script>
-->
<script type="text/javascript" src="../dist/dygraph.js"></script>
<script type="text/javascript" src="data.js"></script>
</h... | {
"content_hash": "9813bc906a4ed1d135fbdadd5d6f9e01",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 108,
"avg_line_length": 37.1551724137931,
"alnum_prop": 0.5955916473317865,
"repo_name": "Akiyah/dygraphs",
"id": "afc39a3a0851f6e32bd0d8728cc9f8f5919081a6",
"size": "4310... |
<?php
namespace Infuse\Billing\Console;
use Infuse\HasApp;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class ExtendTrialCommand extends Command
{
use H... | {
"content_hash": "d71682ac8c3414b031b397455b040fa0",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 86,
"avg_line_length": 25.887096774193548,
"alnum_prop": 0.557632398753894,
"repo_name": "infusephp/billing",
"id": "f84cb15e77442f904332eaa34b4fe48f34595c89",
"size": "173... |
#ifndef JPETOPTIONSTYPEHANDLER_H
#define JPETOPTIONSTYPEHANDLER_H
#include <map>
#include <string>
#include <boost/any.hpp>
/**
* @brief Class handling the type of option provided by the user.
*
*/
class JPetOptionsTypeHandler
{
public:
static std::map<std::string, std::string> anyMapToStringMap(const std::map... | {
"content_hash": "8066197f3438217a0a439a656c863285",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 115,
"avg_line_length": 26.04,
"alnum_prop": 0.7419354838709677,
"repo_name": "alexkernphysiker/j-pet-framework",
"id": "c2c0ac43e00c17f4e4c23abcc91b7b02a7c39897",
"size": ... |
//META{"name":"kawaiiemotes"}*//
/*@cc_on
@if (@_jscript)
// Offer to self-install for clueless users that try to run this directly.
var shell = WScript.CreateObject("WScript.Shell");
var fs = new ActiveXObject("Scripting.FileSystemObject");
var pathPlugins = shell.ExpandEnvironmentStrings("%APPDATA%\\... | {
"content_hash": "d926e16edca702e41ecda52f77bd9ec7",
"timestamp": "",
"source": "github",
"line_count": 1500,
"max_line_length": 200,
"avg_line_length": 38.07333333333333,
"alnum_prop": 0.5210821222202766,
"repo_name": "Brettm12345/dotfiles",
"id": "2b46136a1734ac370777b143e9aea9a18a5dd377",
"size"... |
/*--------------------------------------------------------------------------*
*
* footerFixed.js
*
* MIT-style license.
*
* 2007 Kazuma Nishihata [to-R]
* http://blog.webcreativepark.net
*
*--------------------------------------------------------------------------*/
new function(){
var footerI... | {
"content_hash": "de59d0be114c8285d12b362c406a6eba",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 83,
"avg_line_length": 25.210526315789473,
"alnum_prop": 0.6351774530271399,
"repo_name": "KarasawaTakahiro/BizTech",
"id": "32ee211b98c7232cad26adbb15361343558c70ce",
"siz... |
$(function () {
module("bootstrap-buttons")
test("should be defined on jquery object", function () {
ok($(document.body).button, 'button method is defined')
})
test("should return element", function () {
ok($(document.body).button()[0] == document.body, 'document.body returned')... | {
"content_hash": "d6271fdbb0f91933f6525786fbda1b76",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 83,
"avg_line_length": 35.46296296296296,
"alnum_prop": 0.5472584856396867,
"repo_name": "oceatoon/yii-bootstrap",
"id": "8aed857e11acaff6c248336bd20ecca8ec28315e",
"size":... |
<!DOCTYPE html>
<html dir="ltr" lang="en" style="overflow: hidden;padding: 0;margin: 0;">
<head>
<title>RecordRTC Extension</title>
</head>
<body style="padding: 0;margin: 0;overflow: hidden; text-align: center;">
<video style="height: 100%;margin: 0; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;" a... | {
"content_hash": "50a3831fed417b2fc7e75615d52f1b19",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 196,
"avg_line_length": 54.54545454545455,
"alnum_prop": 0.7066666666666667,
"repo_name": "muaz-khan/Chrome-Extensions",
"id": "5e7ad5cea95738f273451b863c77e131e8134b9b",
"... |
#ifndef itkVotingBinaryIterativeHoleFillingImageFilter_h
#define itkVotingBinaryIterativeHoleFillingImageFilter_h
#include "itkVotingBinaryHoleFillingImageFilter.h"
namespace itk
{
/**
* \class VotingBinaryIterativeHoleFillingImageFilter
* \brief Fills in holes and cavities by iteratively applying a voting operati... | {
"content_hash": "e04d7ee1df8e4a9178b0e987a52d50a7",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 113,
"avg_line_length": 40.08,
"alnum_prop": 0.7796074517631404,
"repo_name": "richardbeare/ITK",
"id": "92bb2a506732c4930616e6643fc013606ebb6e1b",
"size": "6769",
"bina... |
<?xml version="1.0" encoding="UTF-8"?>
<CustomFieldTranslation xmlns="http://soap.sforce.com/2006/04/metadata">
<label>Estä kurssin poistaminen</label>
<name>Prevent_Course_Deletion__c</name>
</CustomFieldTranslation>
| {
"content_hash": "6a914c0a830d89c064115873dea9a399",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 72,
"avg_line_length": 45.2,
"alnum_prop": 0.7345132743362832,
"repo_name": "SalesforceFoundation/HEDAP",
"id": "79f536c85e0d9270cd81b82da92a52b5a1e948ca",
"size": "227",
... |
namespace base {
namespace subtle {
// Memory barriers on ARM are funky, but the kernel is here to help:
//
// * ARMv5 didn't support SMP, there is no memory barrier instruction at
// all on this architecture, or when targeting its machine code.
//
// * Some ARMv6 CPUs support SMP. A full memory barrier can be produ... | {
"content_hash": "9ee12bc08976547b3157679aa1d1f12d",
"timestamp": "",
"source": "github",
"line_count": 279,
"max_line_length": 79,
"avg_line_length": 35.89964157706093,
"alnum_prop": 0.6051317891373802,
"repo_name": "kuscsik/chromiumembedded",
"id": "e187beebed15a62e240f174aa5fecc32a71dd695",
"siz... |
#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
#error "Only <gdk/gdk.h> can be included directly."
#endif
#ifndef __GDK_PANGO_H__
#define __GDK_PANGO_H__
#include <gdk/gdktypes.h>
G_BEGIN_DECLS
/* Pango interaction */
typedef struct _GdkPangoRenderer ... | {
"content_hash": "9d97400eb585f06de87e1ae346481933",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 126,
"avg_line_length": 36.395973154362416,
"alnum_prop": 0.6494560206527752,
"repo_name": "brucelane/Cinder-GStreamer",
"id": "39df0ef4d14f7479e5eccaa28fa2ff27727435a1",
... |
package com.ee.imperator.test.map;
import java.util.Arrays;
import java.util.List;
import com.ee.imperator.map.Map;
import com.ee.imperator.map.MapProvider;
public class MemoryMapProvider implements MapProvider {
private static final Map INSTANCE = new SimpleMap();
@Override
public List<Map> getMaps(... | {
"content_hash": "17263a7d96407bed957e550f421744d7",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 55,
"avg_line_length": 19.75,
"alnum_prop": 0.689873417721519,
"repo_name": "Assumeru/Imperator4J",
"id": "8013cb58bd4a6a6901467d1a8d275b0347e29ba4",
"size": "474",
"bina... |
package org.pentaho.big.data.kettle.plugins.kafka;
import org.apache.kafka.clients.producer.Producer;
import org.pentaho.di.trans.step.BaseStepData;
import org.pentaho.di.trans.step.StepDataInterface;
public class KafkaProducerOutputData extends BaseStepData implements StepDataInterface {
Producer<Object, Object>... | {
"content_hash": "a11eac4dec8246ca5e243bb82af53dcf",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 88,
"avg_line_length": 25.823529411764707,
"alnum_prop": 0.7995444191343963,
"repo_name": "mkambol/big-data-plugin",
"id": "48272c831acb16078868211f9ef0708cc6a9aa64",
"size... |
/* *
*
* Exporting module
*
* (c) 2010-2020 Torstein Honsi
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import Chart from '../parts/Chart.js';
import chartNavigationMixin from '../mixins/navigation.js';
import H f... | {
"content_hash": "a1755a9ade3652728fda5c95da316f8d",
"timestamp": "",
"source": "github",
"line_count": 1996,
"max_line_length": 302,
"avg_line_length": 35.69839679358717,
"alnum_prop": 0.5471692817245347,
"repo_name": "cdnjs/cdnjs",
"id": "fbeea759d9a98fc696d2ee958c92ba29920a9598",
"size": "71254"... |
package remote_test
import (
. "github.com/cloudfoundry/bosh-utils/internal/github.com/onsi/ginkgo"
. "github.com/cloudfoundry/bosh-utils/internal/github.com/onsi/ginkgo/internal/remote"
. "github.com/cloudfoundry/bosh-utils/internal/github.com/onsi/gomega"
"github.com/cloudfoundry/bosh-utils/internal/github.com/... | {
"content_hash": "74cfa7a0e1af051093f679e456bcea45",
"timestamp": "",
"source": "github",
"line_count": 269,
"max_line_length": 113,
"avg_line_length": 28.903345724907062,
"alnum_prop": 0.6834726688102893,
"repo_name": "voelzmo/bosh-release-info-workspace",
"id": "2918771cd1302e7c026d0c0c278033d467f3... |
function escapeStr(str) {
return str
.replace(/\"/g, '\\"')
.replace(/\n/g, '\\n');
}
var renderItem = function(data) {
var lines = [
'### ' + data.title,
];
if (data.description !== undefined) {
lines.push(data.description);
}
lines = lines.concat(['```sh',
data.tip,
'```\n',
]... | {
"content_hash": "c6b8a35383153c93511c2e20cc49d486",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 59,
"avg_line_length": 17.34090909090909,
"alnum_prop": 0.5570117955439057,
"repo_name": "Imangazaliev/git-tips",
"id": "8b4808bc262f9cc0d88c82b5214570994969799d",
"size": ... |
package middleware;
public class UnifyingMiddleware {
private static QueryHandler queryHandler;
public synchronized static QueryHandler getQueryHandler() {
if (queryHandler == null) {
Configurator.init();
queryHandler = new QueryHandler();
}
return queryHandler;
}
}
| {
"content_hash": "dfc5029cb5516a40498eb3e43d50e9ce",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 60,
"avg_line_length": 19.2,
"alnum_prop": 0.7395833333333334,
"repo_name": "Junkern/UnifyingColumnStoreAccessor",
"id": "91e153f4171d0d6f6a5f479bfc5360e8ec757fa8",
"size":... |
@interface SortView : UIView
-(void) setupView: (NSString *)title type: (int) option_type value: (int) value;
@property int value;
@property int option_type;
@property BOOL selected;
-(void) setSelectedWithoutKvo;
@end
| {
"content_hash": "a95a9fe6e39ffed941fd70077025a413",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 84,
"avg_line_length": 34.142857142857146,
"alnum_prop": 0.6861924686192469,
"repo_name": "ptolts/dishgo_ios",
"id": "a98f439ca82ff92275868d7f25f62ad5766bcc23",
"size": "400... |
/****************************************************************************/
/* */
/* The Mondo Libraries */
/* */
/* Namespace: M... | {
"content_hash": "c72327d094125f3a5edf72b4c95b1809",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 149,
"avg_line_length": 40.56603773584906,
"alnum_prop": 0.37627906976744185,
"repo_name": "jim-lightfoot/mondo",
"id": "ee50f3db9c3e75386f15f1ff17178d628ecb039b",
"size":... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IvmpDotNet.Imports;
namespace IvmpDotNet.Wrappings {
public class Player : IvmpDotNet.SDK.IPlayer {
public ushort PlayerId {
get;
set;
}
public... | {
"content_hash": "890b75e4cc2d28ff401f18faba9a719d",
"timestamp": "",
"source": "github",
"line_count": 385,
"max_line_length": 126,
"avg_line_length": 30.166233766233766,
"alnum_prop": 0.5752540037885311,
"repo_name": "purm/IvmpDotNet",
"id": "73a78c7491ffac7062620e5a421eaebaac63f292",
"size": "11... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>History and What's New</title>
<link rel="stylesheet" href="../math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../index.html" title="Math Toolkit 2.4.0">
<link ... | {
"content_hash": "db07e0a1ff89cd27b6854ed096034c97",
"timestamp": "",
"source": "github",
"line_count": 1006,
"max_line_length": 697,
"avg_line_length": 57.312127236580515,
"alnum_prop": 0.6553350908838629,
"repo_name": "yinchunlong/abelkhan-1",
"id": "7e44e31992924ab5578028e6c12d099a71ae4394",
"si... |
#ifndef SkNoSaveLayerCanvas_DEFINED
#define SkNoSaveLayerCanvas_DEFINED
#include "SkCanvas.h"
#include "SkRRect.h"
// The NoSaveLayerCanvas is used to play back SkPictures when the saveLayer
// functionality isn't required (e.g., during analysis of the draw calls).
// It also simplifies the clipping calls to only u... | {
"content_hash": "3565c48f1dcada61aac43a90c404a5d9",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 87,
"avg_line_length": 36.32727272727273,
"alnum_prop": 0.6086086086086087,
"repo_name": "trevorlinton/skia",
"id": "58d28b40b13ed2a2e322951831db827346a1b841",
"size": "214... |
package im.actor.server.session
import akka.contrib.pattern.DistributedPubSubExtension
import scala.concurrent.{ Promise, Future, Await, blocking }
import scala.concurrent.duration._
import scala.util.{ Success, Random }
import akka.actor._
import akka.stream.ActorMaterializer
import akka.testkit.TestProbe
import or... | {
"content_hash": "e62bea31bcb84bc1d21492f679fea645",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 187,
"avg_line_length": 39.80882352941177,
"alnum_prop": 0.7214628740302919,
"repo_name": "JamesWatling/actor-platform",
"id": "95953172f4ecdf5ac8fe1a06383ba17f573544e5",
... |
package org.unitedinternet.cosmo.service.interceptors;
import java.util.Set;
import org.unitedinternet.cosmo.model.CollectionItem;
import org.unitedinternet.cosmo.model.Item;
/**
* Interface for event remove handler.
* @author ccoman
*
*/
public interface EventRemoveHandler {
/**
* Intercepter exe... | {
"content_hash": "594e95c6dc91af1b74a47f280fedde7a",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 70,
"avg_line_length": 24.741935483870968,
"alnum_prop": 0.7014341590612777,
"repo_name": "1and1/cosmo",
"id": "4bc427c579b407cc350f198fe33cb54f64121ba1",
"size": "889",
... |
BODY {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
color:000000;
text-align:left;
font-weight:normal;
background:#ffffff;
margin: 0px;
}
.bundlename {
font-weight:normal;
}
.iconcmd {
vertical-align:text-top;
}
.bundledescription {
font-weight:normal;
color: #888888;
}
form {
ma... | {
"content_hash": "c7e923cd3db1621aadb46d2438f6e27e",
"timestamp": "",
"source": "github",
"line_count": 302,
"max_line_length": 54,
"avg_line_length": 14.973509933774835,
"alnum_prop": 0.6727111897390535,
"repo_name": "knopflerfish/knopflerfish.org",
"id": "d26ad535922a64ae953c6cdf4262ee4c0723d3a6",
... |
package org.tensorflow.lite.task.core;
import com.google.auto.value.AutoValue;
/** Options to configure how to accelerate the model inference using dedicated delegates. */
@AutoValue
public abstract class ComputeSettings {
/** TFLite accelerator delegate options. */
public enum Delegate {
NONE(0),
... | {
"content_hash": "ce220caae37528f2fa6bf508a374bc23",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 92,
"avg_line_length": 24.214285714285715,
"alnum_prop": 0.6499508357915438,
"repo_name": "chromium/chromium",
"id": "0c2d04283594df611bd5354a0f47bff776e8cb93",
"size": "16... |
// This file was automatically generated. Do not modify.
'use strict';
goog.provide('Blockly.Msg.dty');
goog.require('Blockly.Msg');
/** @export */ Blockly.Msg.ADD_COMMENT = "टिप्पणी थप्दे";
/** @export */ Blockly.Msg.CANNOT_DELETE_VARIABLE_PROCEDURE = "Can't delete the variable '%1' because it's part of the defin... | {
"content_hash": "9d9454c9cdf0fe3156f29489bbc7bb45",
"timestamp": "",
"source": "github",
"line_count": 430,
"max_line_length": 260,
"avg_line_length": 98.12325581395349,
"alnum_prop": 0.6860379683833812,
"repo_name": "jstnhuang/blockly",
"id": "29fd97287f80054da7a53d801cb42e0a55d3d8ff",
"size": "4... |
<?php
namespace Application\GlobalBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* JobRoles
* @ORM\MappedSuperclass
*/
class ChangeScope
{
/**
* @var string
* @ORM\Column(type="string", length=60)
*/
protected $name;
public function setName($name)
{
$this->name = $name... | {
"content_hash": "1bfae91cb3a617c82a3fe5a8412b7b00",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 76,
"avg_line_length": 15.54054054054054,
"alnum_prop": 0.5095652173913043,
"repo_name": "RhaLabs/WebPortal",
"id": "3da14bee68e2b842d0a371ea279e0b9faec1d50e",
"size": "115... |
package com.google.android.exoplayer2.source.hls.playlist;
import android.net.Uri;
import com.google.android.exoplayer2.C;
import com.google.android.exoplayer2.Format;
import com.google.android.exoplayer2.ParserException;
import com.google.android.exoplayer2.source.UnrecognizedInputFormatException;
import com.google.... | {
"content_hash": "ac40ac2c0ce48784b9a52eabad977a0c",
"timestamp": "",
"source": "github",
"line_count": 461,
"max_line_length": 100,
"avg_line_length": 43.19522776572668,
"alnum_prop": 0.6654949028272987,
"repo_name": "jeoliva/ExoPlayer",
"id": "c64b98b5f354a9191cdb41958d62f65aba4a90e1",
"size": "2... |
#import "NSObject.h"
#import "PBXProjectIndexStatusObserving-Protocol.h"
#import "PBXTrackableTask-Protocol.h"
@class NSString, PBXProjectDocument;
@interface XCIndexerProxy : NSObject <PBXTrackableTask, PBXProjectIndexStatusObserving>
{
PBXProjectDocument *_owningProjectDocument;
float _percentComplete;
... | {
"content_hash": "2ff74699c72462ebe91f7e4afd3e6a78",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 99,
"avg_line_length": 26.31578947368421,
"alnum_prop": 0.772,
"repo_name": "liyong03/YLCleaner",
"id": "041af9a3108d4e1aec6ce1dcfab3a23d1f11656f",
"size": "1140",
"binar... |
import os
import train
import argparse
def launch_training(model_name, **kwargs):
# Launch training
train.train(model_name, **d_params)
if __name__ == "__main__":
parser = argparse.ArgumentParser(description='Experiments for Eve')
parser.add_argument('list_experiments', type=str, nargs='+',
... | {
"content_hash": "eb7c0aa0ea88dc84bb25d61e750208c0",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 127,
"avg_line_length": 36.170212765957444,
"alnum_prop": 0.5682352941176471,
"repo_name": "ChampionZP/DeepLearningImplementations",
"id": "4c0e660a1eb46c2712e2b00efe49743d58... |
package com.ayo.robot.action;
/**
* Created by Administrator on 2016/12/13.
*/
public interface OnActionCallback {
void action(String actionName);
}
| {
"content_hash": "66ae292c68e1193d5557fa955e29ef5b",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 42,
"avg_line_length": 17.444444444444443,
"alnum_prop": 0.7197452229299363,
"repo_name": "cowthan/UI-Robot",
"id": "984d4f39b45a4c24e3ebb66879e8e60fc282c63c",
"size": "157"... |
FROM balenalib/imx8m-var-dart-ubuntu:bionic-run
ENV GO_VERSION 1.17.7
# gcc for cgo
RUN apt-get update && apt-get install -y --no-install-recommends \
g++ \
gcc \
libc6-dev \
make \
pkg-config \
git \
&& rm -rf /var/lib/apt/lists/*
RUN set -x \
&& fetchDeps=' \
curl \
' \
&& apt-get update && apt-g... | {
"content_hash": "2d04517fce247fe89ef35e0355c2ab23",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 672,
"avg_line_length": 50.17391304347826,
"alnum_prop": 0.7049393414211439,
"repo_name": "resin-io-library/base-images",
"id": "52dbdc6bf854b19d4e9b44c5b7881f0e6cd95188",
... |
<?php
namespace Bugs\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* @var array
*/
protected $middleware = [
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class... | {
"content_hash": "f93dbff59dc28aeedefa57f00e1cad34",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 85,
"avg_line_length": 29.848484848484848,
"alnum_prop": 0.6741116751269035,
"repo_name": "maveius/bugs",
"id": "053b4c0b28837519d89a647e13f93fe9be606afd",
"size": "985",
... |
from decimal import Decimal as D
import logging
from django.views.generic import RedirectView as DjangoRedirectView
from django.views.generic import View
from django.conf import settings
from django.http import HttpResponse
from django.shortcuts import get_object_or_404
from django.contrib import messages
from django.... | {
"content_hash": "a3e8c65bd2d004d3eda037868b20a6e9",
"timestamp": "",
"source": "github",
"line_count": 546,
"max_line_length": 110,
"avg_line_length": 38.97435897435897,
"alnum_prop": 0.6113721804511278,
"repo_name": "britco/django-oscar-paypal",
"id": "e115f63304621ecd14aa0abf14cfb965844df1e3",
"... |
/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */
'use strict';
var msRestAzure = require('ms-rest-azure');
exports.BaseResource = msRestAzure.BaseResource;
exports.CloudError = msRestAzure.CloudError;
exports.Sku = require('./sku');
exports.JobMaxRecurrence = require('./jobMaxRecurren... | {
"content_hash": "a4e3a4d214251735e9978bb43c2a52de",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 101,
"avg_line_length": 50.84,
"alnum_prop": 0.8040912667191188,
"repo_name": "amarzavery/azure-sdk-for-node",
"id": "5f8a792ad83a703e8191b45d84c6ab66f7a5ac00",
"size": "28... |
CKEDITOR.plugins.setLang( 'codemirror', 'lt', {
toolbar: 'Šaltinis',
autoFormat: 'Format Selection',
commentSelectedRange: 'Comment Selection',
uncommentSelectedRange: 'Uncomment Selection'
});
| {
"content_hash": "fa6da496f4438ac7b9ac83b0a23d5fd9",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 47,
"avg_line_length": 28.571428571428573,
"alnum_prop": 0.75,
"repo_name": "sfarmar/Orchard",
"id": "d0aec6a444135a257d4323a024de6a748febdcfa",
"size": "347",
"binary": f... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "2c9d9607def47b5e4781d535a59acae6",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 154,
"avg_line_length": 40.77297297297297,
"alnum_prop": 0.70648283176455,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "a776d7b0e5e6ea9082dfa4f71b1111219bb65ab5",
"size"... |
namespace CPF
{
namespace StandardTetris
{
class STOpenGLFont
{
public: static unsigned char Courier10FontBitmap[2048];
public: static GLuint gFontTextureName;
public: static void FontMakeTexture();
public: static void FontPrint( float x, float y, const char *format, ... );
};
}
}
#... | {
"content_hash": "109e07d2fae68cce89413b91d5c6b856",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 79,
"avg_line_length": 9.764705882352942,
"alnum_prop": 0.6656626506024096,
"repo_name": "misakamm/StandardTetris",
"id": "66ea4238f4e9cb2fa7f4a8ed191290775c567e40",
"size"... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "2a634a0202c8d91271917abfe8a244ed",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 409,
"avg_line_length": 88.68503937007874,
"alnum_prop": 0.669448637130427,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "000610cf4cef6fa4035b4d2b108b8ea319389db5",
"size... |
package com.wut.support.networking;
public class MacAddressHelper {
public static String getHostMacAddress() {
StringBuilder sb = new StringBuilder();
sb.append("1.1.1.1");
return sb.toString();
}
public static void main(String[] args) {
String macAddr = MacAddressHelper.getHostMacAddress();
System.out... | {
"content_hash": "02f7e95fca0c7253c57169e8ca7954bc",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 56,
"avg_line_length": 22.352941176470587,
"alnum_prop": 0.7210526315789474,
"repo_name": "WebUtilityKit/api-server",
"id": "c2fdb153dcb7e516af31f1f833c824c909d83042",
"siz... |
class CreateEntries < ActiveRecord::Migration
def change
create_table :entries do |t|
t.integer "event_id"
t.integer "customer_id"
t.datetime "order_date_time"
t.timestamps null: false
end
add_index :entries, [:event_id, :customer_id], unique: true
end
end
| {
"content_hash": "66dbadc5174fea9c6f55da64b6867989",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 63,
"avg_line_length": 24.833333333333332,
"alnum_prop": 0.6543624161073825,
"repo_name": "leminhtuan2015/test_temona",
"id": "a02fa9cd56a39d20ee1767362564fff2832029af",
"s... |
namespace memory_pressure {
namespace test {
FakeMemoryPressureMonitor::FakeMemoryPressureMonitor() = default;
FakeMemoryPressureMonitor::~FakeMemoryPressureMonitor() = default;
void FakeMemoryPressureMonitor::SetAndNotifyMemoryPressure(
MemoryPressureLevel level) {
memory_pressure_level_ = level;
base::Memo... | {
"content_hash": "9f7b8b2ec902669f3fe964c1bdfa9062",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 68,
"avg_line_length": 29.64,
"alnum_prop": 0.8083670715249662,
"repo_name": "scheib/chromium",
"id": "c5759849401b7a87bda8c0ee97aaa4f0ab8194a9",
"size": "1003",
"binary"... |
/*
* User: anna
* Date: 05-Apr-2007
*/
package com.intellij.ide.favoritesTreeView;
import com.intellij.ide.projectView.impl.GroupByTypeComparator;
import com.intellij.ide.util.treeView.NodeDescriptor;
/**
* @author Konstantin Bulenkov
*/
final class FavoriteComparator extends GroupByTypeComparator {
public Fa... | {
"content_hash": "cdc6a4afa492d7d72a528f981840dffa",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 97,
"avg_line_length": 26.88888888888889,
"alnum_prop": 0.743801652892562,
"repo_name": "consulo/consulo",
"id": "9e567b48819c6718cb4ef08a535c4df979438fe0",
"size": "726",
... |
title: Qbservable.Return<TResult>(IQbservableProvider, TResult)
---
# Qbservable.Return\<TResult\> Method (IQbservableProvider, TResult)
Returns a queryable observable sequence that contains a single element with a specified value.
**Namespace:** [System.Reactive.Linq](System.Reactive.Linq/System.Reactive.Linq)
**... | {
"content_hash": "8d2f8b34b4e6a837655a4d36dfe8c2bb",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 378,
"avg_line_length": 26.09090909090909,
"alnum_prop": 0.7513834802213568,
"repo_name": "reactiveui/website",
"id": "d596244e12364b8433b0d9a866be4d459bc5faa3",
"size": "... |
export LSCOLORS="exfxcxdxbxegedabagacad"
export CLICOLOR=true
fpath=($DOTFILES/functions $fpath)
autoload -U $DOTFILES/functions/*(:t)
HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt NO_BG_NICE # don't nice background tasks
setopt NO_HUP
setopt NO_LIST_BEEP
setopt LOCAL_OPTIONS # allow functions to hav... | {
"content_hash": "e8e9cabedc1e718661271d3790b6a679",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 98,
"avg_line_length": 27.428571428571427,
"alnum_prop": 0.7717013888888888,
"repo_name": "chitacan/dotfiles",
"id": "324a626f253480d2f63b5959a10cecbdd94ac04e",
"size": "11... |
require 'spec_helper'
describe Projects::ErrorTrackingHelper do
include Gitlab::Routing.url_helpers
set(:project) { create(:project) }
describe '#error_tracking_data' do
let(:setting_path) { project_settings_operations_path(project) }
let(:index_path) do
project_error_tracking_index_path(project... | {
"content_hash": "037fc7d8b4913524a9096b2d70c4d20e",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 76,
"avg_line_length": 27.321428571428573,
"alnum_prop": 0.6124183006535948,
"repo_name": "axilleas/gitlabhq",
"id": "7516a636c93de5fffa2faed2f4a1c97770825f23",
"size": "15... |
// Copyright 2007-2010 Baptiste Lepilleur
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef CPPTL_JSON_FEATURES_H_INCLUDED
#define CPPTL_JSON_FEATURES_H_INCLUDED
#if !defined(JS... | {
"content_hash": "cd97e594a5d92ef3adcd787ba92e0dc7",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 80,
"avg_line_length": 29.71186440677966,
"alnum_prop": 0.7124928693667998,
"repo_name": "hooligan520/rocketmq-client4cpp-linux",
"id": "d109790330b944c14b0bea5394ad3ca966715... |
local Setup = require 'Setup'
local Master = require 'Master'
local AsyncMaster = require 'async/AsyncMaster'
local AsyncEvaluation = require 'async/AsyncEvaluation'
-- Parse options and perform setup
local setup = Setup(arg)
local opt = setup.opt
-- Start master experiment runner
if opt.async then
if opt.mode == '... | {
"content_hash": "9331f3328e35e622dd764e017e7987e6",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 55,
"avg_line_length": 23.444444444444443,
"alnum_prop": 0.7030015797788309,
"repo_name": "DanielTea/Unity_AI",
"id": "c6533778a895558ab1f54971d71b229f04edde2c",
"size": "6... |
<!-- Top -->
# AudioPlayr
[](https://prettier.io)

[](http://badge.fury.io/js/audioplayr)... | {
"content_hash": "e6b9d446230a8fb9601cd2fa168217c1",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 258,
"avg_line_length": 26.080952380952382,
"alnum_prop": 0.6958188789483294,
"repo_name": "FullScreenShenanigans/GameStartr",
"id": "fd9d932ad7a274e425270fe7a97586c0d020ac9... |
/**
* Example code to start the runtime.
*/
const { WASI } = require('wasi');
const path = require("path");
const fs = require("fs");
const tvmjs = require("../../dist");
const wasmPath = tvmjs.wasmPath();
const wasmSource = fs.readFileSync(path.join(wasmPath, "tvmjs_runtime.wasm"));
const wasi = new WASI({ args: ... | {
"content_hash": "4b91ccdc14c74e5cdf7c7cb3c2f53ad3",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 78,
"avg_line_length": 35.1578947368421,
"alnum_prop": 0.7200598802395209,
"repo_name": "dmlc/tvm",
"id": "95ec2e0b1d07586a0579b701e4515b8e3f526e08",
"size": "1475",
"bin... |
module Jekyll::Minibundle::Test
module Assertions
def assert_contains_only(collection, expected_elements)
assert_respond_to collection, :size
collection_size = collection.size
expected_elements_size = expected_elements.size
assert_equal(expected_elements_size, collection_size, lambda do
... | {
"content_hash": "f10c98ff49e963bd520e3506af25bb68",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 108,
"avg_line_length": 32,
"alnum_prop": 0.6744791666666666,
"repo_name": "ckcastro/ckcastro.github.io",
"id": "9596396288e99ca9dbf33c846f4bd43ffbee1dfc",
"size": "768",
... |
<?php
namespace Neos\FluidAdaptor\Tests\Unit\ViewHelpers\Form;
use TYPO3Fluid\Fluid\Core\ViewHelper\TagBuilder;
require_once(__DIR__ . '/Fixtures/EmptySyntaxTreeNode.php');
require_once(__DIR__ . '/Fixtures/Fixture_UserDomainClass.php');
require_once(__DIR__ . '/FormFieldViewHelperBaseTestcase.php');
/**
* Test f... | {
"content_hash": "96e2e8ba193e94889939226fb0f1909b",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 192,
"avg_line_length": 40.40594059405941,
"alnum_prop": 0.6544964469492771,
"repo_name": "gerhard-boden/flow-development-collection",
"id": "d30b2c4aeb508f98465c7175d3c2bea... |
import unittest
from dce_lti_py import LaunchParams, DEFAULT_LTI_VERSION, InvalidLTIConfigError
from dce_lti_py.launch_params import InvalidLaunchParamError
class TestLaunchParams(unittest.TestCase):
def test_constructor(self):
lp = LaunchParams()
self.assertTrue(lp['lti_version'], DEFAULT_LTI_VE... | {
"content_hash": "3a1f743f94dbfbdbd1b8b703c6de201c",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 79,
"avg_line_length": 30.317073170731707,
"alnum_prop": 0.5619469026548672,
"repo_name": "brainheart/dce_lti_py",
"id": "c40d97b3c176de5fea283f14d9bd1fccb25f0a40",
"size":... |
#ifndef SkFontMgr_android_parser_DEFINED
#define SkFontMgr_android_parser_DEFINED
#include "SkString.h"
#include "SkTDArray.h"
#include <climits>
#include <limits>
/** \class SkLanguage
The SkLanguage class represents a human written language, and is used by
text draw operations to determine which glyph t... | {
"content_hash": "bf36d4afc1929bff86913d02e7997f6d",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 93,
"avg_line_length": 31.085714285714285,
"alnum_prop": 0.5848651960784313,
"repo_name": "pcwalton/skia",
"id": "d2a430513f6f7cc55b8fc8e19b89f9be6aa1429a",
"size": "6691"... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cy" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Capricoin</source>
<translation type="unfinished"/>
</message>
<message>
<location line... | {
"content_hash": "207fd8ef546f89df129c774dadfb3c49",
"timestamp": "",
"source": "github",
"line_count": 3285,
"max_line_length": 395,
"avg_line_length": 33.5607305936073,
"alnum_prop": 0.589884532005406,
"repo_name": "Capricoinofficial/Capricoin",
"id": "2c549e0f1900e8665ff54505f566cb66cf48be45",
"... |
declare namespace Jymfony.Component.HttpFoundation.Session {
import SessionStorageInterface = Jymfony.Component.HttpFoundation.Session.Storage.SessionStorageInterface;
import FlashBagInterface = Jymfony.Component.HttpFoundation.Session.Flash.FlashBagInterface;
export class Session extends implementationOf(... | {
"content_hash": "f94dc442f5ba433ff7a99da95b4bcaed",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 128,
"avg_line_length": 23.0188679245283,
"alnum_prop": 0.5168032786885246,
"repo_name": "massimilianobraglia/jymfony",
"id": "50edf637d95d5d4288b4fe3d867e5c8a7efb9823",
"... |
using System;
using System.Linq;
using Bool = System.Int16;
using Softopoulos.Crestron.Core;
namespace Softopoulos.Crestron.PhilipsHue
{
public class LightBulbProperties
{
public LightBulbProperties()
{
TransitionTimeToUse = -1;
}
internal LightBulbProperties(LightBulb lightBulbFromWhichT... | {
"content_hash": "37e3f0e95bd3dd9ce49eb8ae758d623d",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 74,
"avg_line_length": 34.41538461538462,
"alnum_prop": 0.7223960661600357,
"repo_name": "Softopoulos/Crestron",
"id": "414d9e1564d244b054b429974e40c662f60cdaab",
"size": "... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Fleer : Vehicle {
//store the target
public GameObject target;
//private obstacles array
private GameObject[] obstacles;
//get a reference to the GameManager
private GameManager gm;
//weights for steering forces
pu... | {
"content_hash": "a22524c1e2bfc6d2491a5dad13a27d69",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 94,
"avg_line_length": 22.126506024096386,
"alnum_prop": 0.6724748162265178,
"repo_name": "Sasha-Shum/The-End-of-the-World-",
"id": "d07de2696c7baccffa8b197ce421e1b5c6aa737f... |
<?php
namespace Scribe\MantleBundle\Doctrine\Base\Model\Locale;
use Scribe\MantleBundle\Doctrine\Entity\Locale\Locale;
/**
* Class HasLocale.
*/
trait HasLocale
{
/**
* @var Locale
*/
protected $locale;
/**
* @return $this
*/
public function initializeLocale()
{
$... | {
"content_hash": "97e3e9a2eb05ec7893104b0b208214f0",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 57,
"avg_line_length": 14.227272727272727,
"alnum_prop": 0.5069222577209798,
"repo_name": "scr-be/mantle-bundle",
"id": "98e4f3edf5a244995789e3a3413cc236e5f5b509",
"size": ... |
Runtime
===========
Projects for Runtime
1 RuntimeStudy
2 BundleTest&DynamicClassBundle
| {
"content_hash": "764fba533a29f892caa84b7acbfc614c",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 31,
"avg_line_length": 14.833333333333334,
"alnum_prop": 0.7528089887640449,
"repo_name": "scorpiozj/iOSTreasure",
"id": "2929b4799bc25aedd07e20ad354a739edc34ecf7",
"size": ... |
(function(buster, define) {
var assert, fail, sentinel;
assert = buster.assert;
fail = buster.assertions.fail;
sentinel = {};
function noop() {}
define('when/unfold/list-test', function (require) {
var list;
list = require('when/unfold/list');
buster.testCase('when/unfold/list', {
'should produce an empty... | {
"content_hash": "f0d2a5b14d45eab91a2fa6228470cd65",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 117,
"avg_line_length": 21.415384615384614,
"alnum_prop": 0.6257183908045977,
"repo_name": "mighdoll/sparkle",
"id": "a04eda347ca72f3cb9c41bc51e250c9ebd45d7ed",
"size": "13... |
package org.gradle.plugins.ide.eclipse.model.internal;
import com.google.common.base.Function;
import com.google.common.base.Joiner;
import com.google.common.collect.Collections2;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.LinkedHashMultimap;
import com.google.common.collect.List... | {
"content_hash": "8285e7bc2726536cd923a28c55d99c34",
"timestamp": "",
"source": "github",
"line_count": 317,
"max_line_length": 173,
"avg_line_length": 48.201892744479494,
"alnum_prop": 0.6825916230366492,
"repo_name": "robinverduijn/gradle",
"id": "05d70ed4995d8220a2418b7d88262510536a79b2",
"size"... |
<?php
class PlanScheduleController extends BaseController {
/**
* Display a listing of the resource.
* GET /planschedule
*
* @return Response
*/
public function index()
{
//
}
/**
* Show the form for creating a new resource.
* GET /planschedule/create
*
* @return Response
*/
public functi... | {
"content_hash": "89bc0555dca03ec4c95cbed154e18912",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 92,
"avg_line_length": 21.61764705882353,
"alnum_prop": 0.6084353741496599,
"repo_name": "PlusTechnologies/league-production",
"id": "d7863a6dc212152546323323677764b95be9432... |
from .vnsgitmd import MdApi
from .vnsgittd import TdApi
from .sgit_constant import * | {
"content_hash": "45ddcffca1f6bc8bc354ea4bef266894",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 28,
"avg_line_length": 28,
"alnum_prop": 0.8095238095238095,
"repo_name": "msincenselee/vnpy",
"id": "ccec073e3ffa5e2ac7cf9d2edbf2710c47acfb04",
"size": "84",
"binary": fa... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>pylab_examples example code: print_stdout.py —... | {
"content_hash": "f6958663893996882ccc1b51c0eb4f76",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 213,
"avg_line_length": 47.111111111111114,
"alnum_prop": 0.5843507214206437,
"repo_name": "leesavide/pythonista-docs",
"id": "ce2f1edf0e8293d9e479f03e0a07ff5a588e4226",
"... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MerchantOrderCancellationStrategy.cs" company="Sitecore Corporation">
// Copyright (c) Sitecore Corporation 1999-2015
// </copyright>
// <summary>
// Defines the Merchant... | {
"content_hash": "cdf8da3b1458e1686e9a8637306b8a37",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 144,
"avg_line_length": 42.48684210526316,
"alnum_prop": 0.617218953236296,
"repo_name": "Sitecore/SES-7.5",
"id": "676795a7139c36163db774bf3aca0bbcd09c01cb",
"size": "3231... |
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([RAAppDelegate class]));
}
}
| {
"content_hash": "7e8f13eced1349e9579891f74394b72e",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 90,
"avg_line_length": 25.5,
"alnum_prop": 0.6928104575163399,
"repo_name": "benzhipeng/RATreeView",
"id": "5e7315773f2a0eb70bbea159a48059e0e8cd7007",
"size": "352",
"bina... |
from __future__ import unicode_literals
import datetime
from django.contrib.admin import ModelAdmin, TabularInline
from django.contrib.admin.helpers import InlineAdminForm
from django.contrib.admin.tests import AdminSeleniumWebDriverTestCase
from django.contrib.auth.models import Permission, User
from django.contrib.... | {
"content_hash": "f43aead75026a0822f9ea2a868c28a94",
"timestamp": "",
"source": "github",
"line_count": 902,
"max_line_length": 112,
"avg_line_length": 49.90022172949002,
"alnum_prop": 0.6464341257498334,
"repo_name": "benjaminjkraft/django",
"id": "f59f87e6deef62d3905713a58fcc4fecf5f5138c",
"size"... |
import Model from 'ember-data/model';
import { belongsTo } from 'ember-data/relationships';
export default Model.extend({
task: belongsTo('task', { async: true }),
skill: belongsTo('skill', { async: true })
});
| {
"content_hash": "f12b6f082a38d2f6eca4fa738d668242",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 53,
"avg_line_length": 30.857142857142858,
"alnum_prop": 0.6851851851851852,
"repo_name": "jderr-mx/code-corps-ember",
"id": "fdbf9401a8171ea69f1704affe8af9ae6bea52f0",
"siz... |
fn with_closure_expecting_fn_with_free_region<F>(_: F)
where
F: for<'a> FnOnce(fn(&'a u32), &i32),
{
}
fn with_closure_expecting_fn_with_bound_region<F>(_: F)
where
F: FnOnce(fn(&u32), &i32),
{
}
fn expect_free_supply_free_from_fn<'x>(x: &'x u32) {
// Here, the type given for `'x` "obscures" a region from... | {
"content_hash": "1cc730ce5a74b67f8a9be12fcb9242fe",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 80,
"avg_line_length": 34.28333333333333,
"alnum_prop": 0.6310160427807486,
"repo_name": "aidancully/rust",
"id": "c81c40c18b45b2f4f8ac9322a50a55536de567a8",
"size": "2057"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.