text stringlengths 2 1.04M | meta dict |
|---|---|
package org.apache.hadoop.hive.ql.udf.generic;
import junit.framework.TestCase;
import org.apache.hadoop.hive.ql.exec.UDFArgumentLengthException;
import org.apache.hadoop.hive.ql.exec.UDFArgumentTypeException;
import org.apache.hadoop.hive.ql.metadata.HiveException;
import org.apache.hadoop.hive.ql.udf.generic.Gener... | {
"content_hash": "44f78e50e91bd6dd56476f41c49218e1",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 98,
"avg_line_length": 39.49382716049383,
"alnum_prop": 0.7336667708658956,
"repo_name": "vergilchiu/hive",
"id": "0bac2f4652a8eaca3f4e996199e6aff9596c788e",
"size": "4005"... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a6615c3c044eed680636eb953ed7a48c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "8e235f221d9565138216fc39a9d596024153c468",
"size": "18... |
package org.apache.kerby.asn1.type;
import org.apache.kerby.asn1.UniversalTag;
public class Asn1NumericsString extends Asn1String {
public Asn1NumericsString() {
this(null);
}
public Asn1NumericsString(String value) {
super(UniversalTag.NUMERIC_STRING, value);
if (value != null &... | {
"content_hash": "5144c4fac86ef9820b6ab3c0a603617c",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 74,
"avg_line_length": 26.22222222222222,
"alnum_prop": 0.5423728813559322,
"repo_name": "drankye/directory-kerby",
"id": "3ef4ae1122ad9f2ba91bede79569f5f03a109471",
"size"... |
using ClosedXML.Excel.Drawings;
using ClosedXML.Utils;
using System;
using System.IO;
namespace ClosedXML.Graphics
{
/// <summary>
/// A reader for baseline TIFF.
/// Specification: https://www.itu.int/itudoc/itu-t/com16/tiff-fx/docs/tiff6.pdf
/// </summary>
internal class TiffInfoReader : ImageIn... | {
"content_hash": "4e4e59d248fbc873c19d0fcc4c28fd5b",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 134,
"avg_line_length": 36.1156462585034,
"alnum_prop": 0.5473723865134676,
"repo_name": "ClosedXML/ClosedXML",
"id": "613ed00ee36d093ae8f87dc639e19236187e9c6f",
"size": "... |
#import <Foundation/Foundation.h>
#import <JMessage/JMSGConstants.h>
#import <JMessage/JMSGUser.h>
@class JMSGUser;
@interface JMSGUserManager : NSObject
/**
* 用户登录接口
*
* @param username 用户登录用户名
* @param password 用户登录密码
* @param handler 用户登录回调接口
*/
+ (void)loginWithUsername:(NSString *)username
... | {
"content_hash": "14de5e3cb71a93e6bed43a6a0741b08c",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 92,
"avg_line_length": 23.77906976744186,
"alnum_prop": 0.6552567237163814,
"repo_name": "Guanjingfen/jchat-ios",
"id": "b598d4fa99eb483b9fa912eae4aa4a6ea005a6bb",
"size": ... |
ENV["RAILS_ENV"] ||= 'test'
require 'spec_helper'
require File.expand_path("../dummy/config/environment", __FILE__)
require 'rspec/rails'
require 'factory_girl_rails'
require 'capybara/rspec'
require 'capybara/rails'
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
ActiveRecord::Migration.maint... | {
"content_hash": "c2c87668899af0d05a31e74784df4896",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 71,
"avg_line_length": 31.15,
"alnum_prop": 0.7447833065810594,
"repo_name": "FlyoverWorks/flyover_comments",
"id": "ea15fe9ea42ddb15733b96adc969cc9896e5fa8a",
"size": "623... |
usuario=$(./app/utils/UsuarioLogado.sh)
Docker() {
sudo apt-get remove docker docker-engine docker.io -y
sudo apt-get update
sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual -y
InstalacaoTrusty() {
wget -qO- https://get.docker.com/ | sh
sudo usermod -aG docker $usuario
sudo a... | {
"content_hash": "5a5b8ba42bcc97338006ecdddd278833",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 114,
"avg_line_length": 19.796610169491526,
"alnum_prop": 0.711472602739726,
"repo_name": "matheus-souza/backpack",
"id": "61a2e325f7230e8aaa97bbfa886e49db2d3ae031",
"size"... |
<?php
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Debug\Debug;
// If you don't want to setup permissions the proper way, just uncomment the following PHP line
// read http://symfony.com/doc/current/book/installation.html#checking-symfony-application-configuration-and-setup
// for more i... | {
"content_hash": "019a3379ebeace7714824f9a7a2710cb",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 118,
"avg_line_length": 40.16129032258065,
"alnum_prop": 0.6843373493975904,
"repo_name": "julienthomas/synek",
"id": "3aa5598cac23fc82ee741858c9a95db5a9385284",
"size": "1... |
from django.contrib import admin
from .models import Escuela, Colegiatura
admin.site.register(Escuela)
admin.site.register(Colegiatura)
| {
"content_hash": "c3f67ea86a4ec2dd98929c20693bb9e3",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 40,
"avg_line_length": 27.4,
"alnum_prop": 0.8321167883211679,
"repo_name": "erikiado/jp2_online",
"id": "a3084327b1117b955da7544ac4d2f2a437799785",
"size": "137",
"binary... |
package org.apereo.cas;
import org.apereo.cas.impl.token.JpaPasswordlessTokenRepositoryTests;
import org.apereo.cas.impl.token.MySQLJpaPasswordlessTokenRepositoryTests;
import org.junit.platform.runner.JUnitPlatform;
import org.junit.platform.suite.api.SelectClasses;
import org.junit.runner.RunWith;
/**
* This is {... | {
"content_hash": "a5095b97924941b58cda82d414fcfdcd",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 74,
"avg_line_length": 26.09090909090909,
"alnum_prop": 0.7996515679442509,
"repo_name": "leleuj/cas",
"id": "24494b57037985f35a361759a95ff015066dfa3c",
"size": "574",
"b... |
package main
import (
"context"
compute "cloud.google.com/go/compute/apiv1"
computepb "google.golang.org/genproto/googleapis/cloud/compute/v1"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modific... | {
"content_hash": "3acd1bb4f7920c7c3e5eef00eba486a7",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 104,
"avg_line_length": 28.583333333333332,
"alnum_prop": 0.717201166180758,
"repo_name": "googleapis/google-cloud-go",
"id": "8f4af3827759c45d1d2cf4495a7e3e6911b768c8",
"s... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-ssreflect: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootst... | {
"content_hash": "ef80fb41920524a98395cc01115bc300",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 554,
"avg_line_length": 47.46987951807229,
"alnum_prop": 0.5681472081218274,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "519be0c6af09d6cb2da44908b00e1fa0367a3a62",
... |
<!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_45) on Mon Jun 24 22:25:08 UTC 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.h... | {
"content_hash": "59dcfdf1bc190459323bf1540716a280",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 235,
"avg_line_length": 43.186206896551724,
"alnum_prop": 0.6168955605237944,
"repo_name": "zqxjjj/NobidaBase",
"id": "b0fd684778f49a37a02d41d6814827714760038a",
"size": "... |
package com.ait.toolkit.titanium.mobile.client.ui;
import com.ait.toolkit.core.client.Color;
import com.ait.toolkit.core.client.JsObject;
import com.ait.toolkit.titanium.mobile.client.ui.style.Font;
import com.ait.toolkit.titanium.mobile.client.ui.style.Position;
import com.ait.toolkit.titanium.mobile.client.ui.style... | {
"content_hash": "6863ae633c96e03d2d53227c2eb8d08d",
"timestamp": "",
"source": "github",
"line_count": 341,
"max_line_length": 136,
"avg_line_length": 29.19941348973607,
"alnum_prop": 0.6831374912122126,
"repo_name": "alpapad/ahome-titanium",
"id": "769cdeeb131c6cd9aaac4c53d62f822101fdaf65",
"size... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using BASeCamp.BASeBlock.WeaponTurrets;
namespace BASeCamp.BASeBlock.PaddleBehaviours
{
public class AttachedTurretBehaviour : BaseTerminatorBehaviour,ITurretOwner
{
//implementation currently a... | {
"content_hash": "9d601f5dd8170d47033380f3ebb62d19",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 125,
"avg_line_length": 35.10377358490566,
"alnum_prop": 0.6079011018543402,
"repo_name": "BCProgramming/BASeBlock",
"id": "d0c20d8822226a8284f8a4bf07a9ab4070f562c5",
"siz... |
/* */
'use strict';
Object.defineProperty(exports, "__esModule", {value: true});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin');
var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMixi... | {
"content_hash": "da0fe6b07acd6833d6615083be85af0a",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 134,
"avg_line_length": 43.38095238095238,
"alnum_prop": 0.7398463227222832,
"repo_name": "nayashooter/ES6_React-Bootstrap",
"id": "8a8aa77ad3109458463839df17522c4aa662532b",... |
local wv_util = {}
local debug_checks = working_villages.setting_enabled("debug_checks",true)
function wv_util.get_euclidean_neighbors()
local base = vector.new()
local neigh = {}
for _,v in pairs({"x","y","z"}) do
local pos, neg = vector.new(base),vector.new(base)
pos[v] = 1
neg[v] = -1
neigh["... | {
"content_hash": "ce2451042f81af44a8347616190db082",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 108,
"avg_line_length": 29.353846153846153,
"alnum_prop": 0.5828092243186582,
"repo_name": "theFox6/working_villages",
"id": "4ee9ac6691b8ca11ec81f8abcf8c140ce85d4953",
"si... |
@interface ARTStatsMessageCount : NSObject
@property (readonly, assign, nonatomic) double count;
@property (readonly, assign, nonatomic) double data;
- (instancetype)init UNAVAILABLE_ATTRIBUTE;
- (instancetype)initWithCount:(double)count data:(double)data;
@end
@interface ARTStatsMessageTypes : NSObject
@property ... | {
"content_hash": "8e8785681576a9800390dfe15b15777f",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 380,
"avg_line_length": 44.214285714285715,
"alnum_prop": 0.8128702207862143,
"repo_name": "thevixac/ably-ios",
"id": "b8c1a141be387ed825e7f8f051caaf4dfbcbda70",
"size": "3... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Parser — Hybrid for FuelPHP Documentation</title>
<link href="../assets/css/bootstrap.min.css" media="screen" rel="stylesheet" />
<link href="../assets/css/main.css" media="screen" rel="stylesheet" />
<script type="text/javascript" src="../assets/js... | {
"content_hash": "6f4ae0956e6eee2a647ae9ba8a812fa9",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 133,
"avg_line_length": 23.339712918660286,
"alnum_prop": 0.5760557605576055,
"repo_name": "codenitive/fuel-hybrid",
"id": "622d9ca4aae5d7dc1b05ed5bbd94780b1a5addc8",
"siz... |
newsletter_date: 2021-10-01T00:00:00.000-07:00
newsletter: true
title: October 2021 Newsletter
date: 2021-10-01T00:00:00.000-07:00
description: There are many exciting things coming up at ISV this fall!
image: "/uploads/benches-560435_1920.jpg"
---
## Principal's Message
Dear Island View Families:
Fall is my favorit... | {
"content_hash": "e729bcf8954b3637c4068afea1c4b391",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 504,
"avg_line_length": 49.76712328767123,
"alnum_prop": 0.7510322047894302,
"repo_name": "IslandViewPTA/islandview-pta-site",
"id": "94121bf844b4a63084d25260411c59226451757... |
<?xml version="1.0" encoding="UTF-8"?>
<sem:triples uri="http://www.lds.org/vrl/locations/specific-locations/church-related-locations/thomas-l-kane-memorial-chapel-kane-pennsylvania-usa" xmlns:sem="http://marklogic.com/semantics">
<sem:triple>
<sem:subject>http://www.lds.org/vrl/locations/specific-locations/churc... | {
"content_hash": "e5aa41c7ea6a50c00be30997333d9bc0",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 191,
"avg_line_length": 74.16666666666667,
"alnum_prop": 0.746816479400749,
"repo_name": "freshie/ml-taxonomies",
"id": "595054ab32033d476ed764bc7cfb7799f0bc16f8",
"size": ... |
module AWS
class IAM
# A login profile is a user name and password that enables a user
# to log in to the {http://aws.amazon.com/console AWS Management
# Console}. Without a login profile, a user cannot access the
# console. (For information about accessing and using the AWS
# Management Console,... | {
"content_hash": "86c334f268f68359e531fd978d5262ea",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 86,
"avg_line_length": 32.39795918367347,
"alnum_prop": 0.6481889763779528,
"repo_name": "rosberglinhares/IISLogMonitor",
"id": "8c65a80eb1925f6b02720d4b2549c1fa0811a1c8",
... |
layout: docwithnav
title: "Security Contexts"
---
<!-- BEGIN MUNGE: UNVERSIONED_WARNING -->
<!-- END MUNGE: UNVERSIONED_WARNING -->
# Security Contexts
A security context defines the operating system security settings (uid, gid, capabilities, SELinux role, etc..) applied to a container. See [security context design... | {
"content_hash": "1a6ad3d5247d8864ab0d1c6ce09634d0",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 216,
"avg_line_length": 30.545454545454547,
"alnum_prop": 0.7098214285714286,
"repo_name": "caesarxuchao/caesarxuchao.github.io",
"id": "3bc5ef56f546c6b705a721b78c851d3db837e... |
'''
Created on May 30, 2015
@author: isdal
'''
import ConfigParser
import logging
import time
from discretepid import PID
from fancontroller.filters import MedianFilter
from fancontroller.fan_gpio import FanGpio
from math import ceil
import urllib
import httplib
import os
import sys
import requests
import json
STATE_... | {
"content_hash": "a7472d13486c359df6db9e207c8fdbd6",
"timestamp": "",
"source": "github",
"line_count": 267,
"max_line_length": 113,
"avg_line_length": 35.30337078651685,
"alnum_prop": 0.5664120517716953,
"repo_name": "isdal/raspberrypi-fan-controller",
"id": "f223aff26cd68a446eba7b336215ad94cf2d4284... |
@interface JTRedEnveEntryVC : UIViewController
@end
| {
"content_hash": "b1c99f706d86a07b60f24edeb26080b3",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 46,
"avg_line_length": 17.666666666666668,
"alnum_prop": 0.8301886792452831,
"repo_name": "JLGTTeam/JLGT",
"id": "ad10d21c35217de5bc8f0d2dc176fe24ef0c3628",
"size": "203",
... |
package ml.wolfe.term
import scala.collection.mutable
/**
* @author riedel
*/
trait Composed[+D <: Dom] extends Term[D] with NAry {
self =>
lazy val size = arguments.length
lazy val vars = arguments.flatMap(_.vars).toSeq.distinct
//lazy val isStatic = arguments forall (_.isStatic)
abstract class Comp... | {
"content_hash": "38ebea9d73d8c71a793433e355686966",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 153,
"avg_line_length": 26.46875,
"alnum_prop": 0.645021645021645,
"repo_name": "wolfe-pack/wolfe",
"id": "8920b0e689830c28fb6f1f76f8faf8d75996fa17",
"size": "5082",
"bi... |
START_ATF_NAMESPACE
struct tagENUMLOGFONTW
{
tagLOGFONTW elfLogFont;
wchar_t elfFullName[64];
wchar_t elfStyle[32];
};
END_ATF_NAMESPACE
| {
"content_hash": "045064130d7166042c534918d395f619",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 32,
"avg_line_length": 21.625,
"alnum_prop": 0.630057803468208,
"repo_name": "goodwinxp/Yorozuya",
"id": "d55b9c51dbcf9ca205237493e67b139ac9653d5a",
"size": "353",
"binary... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Capstone.Areas.HelpPage.ModelDescriptions
{
public class ParameterDescription
{
public ParameterDescription()
{
Annotations = new Collection<ParameterAnnotation>();
}
public Collection... | {
"content_hash": "98da0bcba631322dfc2b14858ea9ad2e",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 80,
"avg_line_length": 25.666666666666668,
"alnum_prop": 0.6753246753246753,
"repo_name": "Hinaka/-FPT-CAPSTONE-PGSS",
"id": "cd3b211e89c1a32fad6dd424279c486f0220846b",
"si... |
<?php
declare(strict_types=1);
namespace SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed;
use SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Property\CanBeEnabledInterface;
use SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Property\CanBeEnabledProperty;
use SerendipityHQ\Bundle\FeaturesBundle\M... | {
"content_hash": "bb0aaa59c2c16faa75ee8aea645754cf",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 166,
"avg_line_length": 35.08163265306123,
"alnum_prop": 0.7190226876090751,
"repo_name": "Aerendir/bundle-features",
"id": "4cb9f72ed1af46ae8a2bef703b3d4dedcd4cd967",
"siz... |
using UnityEngine;
using UnityEditor;
[CanEditMultipleObjects]
[CustomEditor(typeof(UICamera))]
public class UICameraEditor : Editor
{
public override void OnInspectorGUI ()
{
UICamera cam = target as UICamera;
GUILayout.Space(3f);
serializedObject.Update();
if (UICamera.eventHandler != cam)
{
EditorG... | {
"content_hash": "a95ce165c8aeb1ecb02e72dcc9f117e4",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 143,
"avg_line_length": 41.753846153846155,
"alnum_prop": 0.7577376565954311,
"repo_name": "Snogar/Imbo",
"id": "19fc8d264fa24ab13a4cbfb153490441b8caae81",
"size": "5612",... |
title: Installing AppFactory -Developer mode
date: 2015-05-13 19:55:16
categories: WSO2 AppFactory
---
It makes developers life easy to have a separate puppetmaster, since it gives flexibility to alter the puppetmaster and test new features. Also having a puppetmaster in the same host virtualbox will help to avoid netw... | {
"content_hash": "3bb458aa3815f6fc0aff5bd8a64a8645",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 419,
"avg_line_length": 41.26108374384236,
"alnum_prop": 0.7566857688634193,
"repo_name": "apremalal/apremalal.github.io",
"id": "4d2d64190261b45d4a9faeb2ad3cdb0cff476f0f",
... |
var gulp = require("gulp"),
uglify = require("gulp-uglifyjs"),
jshint = require("gulp-jshint"),
stylish = require("jshint-stylish"),
size = require("gulp-size"),
concat = require("gulp-concat"),
minifyCSS = require("gulp-minify-css"),
_ = require("lodash"),
karma = require("karma").serve... | {
"content_hash": "7c79be20b5547c5d2d45deb1e8c95719",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 70,
"avg_line_length": 24.778947368421054,
"alnum_prop": 0.5441801189464741,
"repo_name": "bradberger/easyslider",
"id": "1bf80c51837310c87a8331fb9879cd88eef81359",
"size":... |
import React from 'react';
import { Diff } from 'shared/models/Versioning/Blob/Diff';
import * as CommitComponentLocationHelpers from 'shared/models/Versioning/CommitComponentLocation';
import matchBy from 'shared/utils/matchBy';
import Breadcrumbs from 'shared/view/domain/Versioning/Breadcrumbs/Breadcrumbs';
import ... | {
"content_hash": "21bece1fe812826f2240245eb2f607af",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 99,
"avg_line_length": 33.3859649122807,
"alnum_prop": 0.6442459274829218,
"repo_name": "mitdbg/modeldb",
"id": "b56105386df53073434dc79235974079ae4f32fe",
"size": "1903",
... |
package com.yw.fastviewlibrary.viewgroup;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.GridView;
/**
* 重写GridView,解决多重ScrollView互相嵌套显示不全的问题
*
* @author 王晓明
*/
public class MyGridView extends GridView {
public MyGridView(Context context) {
super(context);
... | {
"content_hash": "648c9b010a83d55397d2104acd41bbad",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 76,
"avg_line_length": 25.3125,
"alnum_prop": 0.6987654320987654,
"repo_name": "heinigger/utils",
"id": "35781bf9998a577a64b167f9657acbb428271441",
"size": "852",
"binary... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Mycologia 90(2): 231 (1998)
#### Original name
Parepichloë J.F. White & P.V. Reddy
### Remarks
null | {
"content_hash": "450c824248f4c7ed165c7fef9c17eeab",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 14.461538461538462,
"alnum_prop": 0.6861702127659575,
"repo_name": "mdoering/backbone",
"id": "96cfcd936518987fff6590464f0c9cd0fca95ec9",
"size": "24... |
<?php
/**
* The reCAPTCHA form field with validation logic.
* @see https://github.com/google/recaptcha
* @see https://developers.google.com/recaptcha/docs/verify#error-code-reference
* Class RecaptchaField
*/
class RecaptchaField extends FormField {
/**
* JavaScript options array in the following form:
... | {
"content_hash": "6597a69155233a0f037d78804c685afe",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 172,
"avg_line_length": 35.67857142857143,
"alnum_prop": 0.5613613613613614,
"repo_name": "Level51/silverstripe-recaptcha",
"id": "7d1d567aacbe7e37471c78176b2fb773d7e8ae80",... |
package com.google.j2cl.tools.minifier;
import static com.google.common.base.Preconditions.checkState;
import static com.google.common.collect.Iterables.getLast;
import static java.nio.charset.StandardCharsets.UTF_8;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.collect.HashMultise... | {
"content_hash": "9285d158922638301514261bbda9c986",
"timestamp": "",
"source": "github",
"line_count": 681,
"max_line_length": 100,
"avg_line_length": 39.590308370044056,
"alnum_prop": 0.7089128741515522,
"repo_name": "google/j2cl",
"id": "c0e44e58111e27b9d09aa942b2a87f6fe91aab8b",
"size": "27545"... |
<?php
// Check if we are in SimplaForm
if (!defined('IN_SIMPLAFORM')) {
die('Not much I can do when called directly...');
}
/**
* SimplaForm Label
* @package SimplaForm
* @author Jeremy Simkins <jpsimkins@gmail.com>
* @link http://www.w3schools.com/tags/tag_label.asp
*/
class SimplaFormLabel extends SimplaFor... | {
"content_hash": "0939f5c5b6bcf23e963d0d212e3fc102",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 97,
"avg_line_length": 21.670731707317074,
"alnum_prop": 0.5554305008441193,
"repo_name": "jpSimkins/SimplaForm",
"id": "94778e13c4400bf6c2651c41997f7d499b6e359c",
"size": ... |
//
// This path was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this path will be lost upon recompilation of the source schema.
// Generated on: 2012.05.... | {
"content_hash": "deb44107c7120871710fbce61a0aa8ee",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 123,
"avg_line_length": 28.413793103448278,
"alnum_prop": 0.6565533980582524,
"repo_name": "kalyanreddyemani/java-common-libs",
"id": "1e07e27c8df3e3f4c54f22609eee7eadaf240ed... |
homera.controller('modal_addComponent_deviceCtrl', function ($scope, $feathers, $modalInstance, $http, newService, rfxcom_compatibleDevice_brand, rfxcom_compatibleDevice_category, rfxcom_compatibleDevice) {
$scope.sensorDevices = [];
$scope.myNewService = {};
$scope.brands = rfxcom_compatibleDevice_brand.... | {
"content_hash": "ae8c3e0d0fa97832c29ab7feb4fdf0e1",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 206,
"avg_line_length": 30.83076923076923,
"alnum_prop": 0.6332335329341318,
"repo_name": "datarc/aurora",
"id": "c3fa019eee340fd0e2330262a665f1e517229580",
"size": "2004",... |
package org.onosproject.rest;
import java.util.Set;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import org.onosproject.net.DeviceId;
import org.onosproject.net.ElementId;
import org.o... | {
"content_hash": "cd2fb7940eb8b91a39756b51b87ff830",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 80,
"avg_line_length": 30.2,
"alnum_prop": 0.6291390728476821,
"repo_name": "kuangrewawa/onos",
"id": "063f6e5ef96501584dd9d764e19eedec2ebde8ef",
"size": "3176",
"binary"... |
from twisted.plugin import IPlugin
from txircd.module_interface import IModuleData, ModuleData
from zope.interface import implementer
from typing import Callable, List, Optional, Tuple
@implementer(IPlugin, IModuleData)
class ServerTime(ModuleData):
name = "ServerTime"
def actions(self) -> List[Tuple[str, int, Cal... | {
"content_hash": "4ccc9cec746f60c37454bc4ac73ba965",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 70,
"avg_line_length": 33.806451612903224,
"alnum_prop": 0.7337786259541985,
"repo_name": "Heufneutje/txircd",
"id": "9b13d05f314ee5647f186035fb60f3ca688a61ac",
"size": "10... |
// Copyright 2015 The Bazel Authors. 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 appl... | {
"content_hash": "d0c1547aa0063a6dcf27ed00b3b153d5",
"timestamp": "",
"source": "github",
"line_count": 481,
"max_line_length": 80,
"avg_line_length": 35.23908523908524,
"alnum_prop": 0.6332153392330383,
"repo_name": "safarmer/bazel",
"id": "1e51291d3e13d343005848bee4322d8767a955dd",
"size": "16950... |
Impact of ipfw/pf/ipf on forwarding performance
- SuperMicro SuperServer 5018A-FTN4 (8 cores Atom C2758 at 2.4GHz)
- Quad port Chelsio 10-Gigabit T540-CR and OPT SFP (SFP-10G-LR)
- FreeBSD 11.1 with Yandex (AFDATA and RADIX lock) patches
- 2000 flows of smallest UDP packets
- 2 static routes
- Traffic load ... | {
"content_hash": "ef693accb737db5ede40b6110be23811",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 84,
"avg_line_length": 50.84615384615385,
"alnum_prop": 0.7239031770045385,
"repo_name": "ocochard/netbenchs",
"id": "81938f2ddf565774fc9bc19acc87d9365627c897",
"size": "13... |
// MIT License
//
// Copyright (c) 2016 Caring Labs, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, mo... | {
"content_hash": "fabe346efae69a1bbfe8ca6579602a6d",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 115,
"avg_line_length": 38.2463768115942,
"alnum_prop": 0.7273588480485033,
"repo_name": "CaringLabs/MediaFramework",
"id": "69c038407ccc088bf6625afefcfb9557c5078589",
"si... |
const castCompactArray = require('./cast-compact-array')
const { EXPORT_INTEREST_STATUS_VALUES } = require('../apps/constants')
module.exports = (body) => {
const data = []
EXPORT_INTEREST_STATUS_VALUES.forEach((status) => {
const countryIds = castCompactArray(body[status])
if (countryIds.length) {
... | {
"content_hash": "1df1357c342c27d87cf69bbf6721d94a",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 72,
"avg_line_length": 25.764705882352942,
"alnum_prop": 0.6506849315068494,
"repo_name": "uktrade/data-hub-fe-beta2",
"id": "0c44e5e3dab434e6234681e75b6a3efd170783ef",
"si... |
<?php
namespace App\Core\Contracts;
interface ProductReviewSystemContract extends BaseLogicContract
{
/**
* @param $id
* @param array $data
*
* @return mixed
*/
public function replyProductReview($id, array $data);
/**
* @param $id
* @param array $data
*
* @re... | {
"content_hash": "19d983c8087330d0f70ed2c3ef95e7f0",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 68,
"avg_line_length": 18.886363636363637,
"alnum_prop": 0.5535499398315282,
"repo_name": "storecamp/storecamp",
"id": "e396a02001966ca94992213e127f6d08a1cacdb9",
"size": "... |
package spark.webserver.jetty;
import java.util.concurrent.TimeUnit;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.ServerConnector;
import org.eclipse.jetty.util.ssl.SslContextFactory;
import spark.utils.Assert;
import spark.ssl.SslStores;
/**
* Creates socket connectors.
*/
public clas... | {
"content_hash": "b645468eff6041923d9cc41f11a951b6",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 95,
"avg_line_length": 33.9390243902439,
"alnum_prop": 0.6313330937836866,
"repo_name": "gutobortolozzo/spark",
"id": "3f26021255c24ef2cc33ff1bf66c30862dac355c",
"size": "3... |
package com.amazonaws.eclipse.cloudformation.preferences;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.text.TextAttribute;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graph... | {
"content_hash": "c129d2d05d6597e3ffa942a809fa3712",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 128,
"avg_line_length": 30.625615763546797,
"alnum_prop": 0.5991635837220525,
"repo_name": "zhangzhx/aws-toolkit-eclipse",
"id": "c2c21c404f35f679b1a3a2579cf337dd182f2c25",
... |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/login/saml/password_expiry_notification.h"
#include <memory>
#include <string>
#include <vector>
#include "ash/constants/notifier_catalogs.h"
#in... | {
"content_hash": "11e5203b1bc587bebaaae16048b3b44c",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 86,
"avg_line_length": 38.28813559322034,
"alnum_prop": 0.7683340711229157,
"repo_name": "chromium/chromium",
"id": "ff88127b0351da4a2ff5fbc7c4f475dd02977aab",
"size": "67... |
package com.bignerdranch.android.criminalintent.database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import com.bignerdranch.android.criminalintent.database.CrimeDbSchema.CrimeTable;
public class CrimeBaseHelper extends SQLiteOpenH... | {
"content_hash": "cd24e7ec93b05de1958344f8379648b0",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 121,
"avg_line_length": 33.09375,
"alnum_prop": 0.663833805476865,
"repo_name": "hermantai/samples",
"id": "d40467a5af442108de921d724bb7786be8ffe356",
"size": "1059",
"bi... |
package org.apache.ignite.internal.processors.odbc.escape;
import org.apache.ignite.internal.util.typedef.internal.S;
/**
* ODBC escape sequence token.
*/
public class OdbcEscapeToken {
/** Escape sequence type. */
private final OdbcEscapeType type;
/** Token length. */
private final int len;
... | {
"content_hash": "77d8ce84a7e06d9d97d626381e58465c",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 58,
"avg_line_length": 19.434782608695652,
"alnum_prop": 0.587248322147651,
"repo_name": "rfqu/ignite",
"id": "6bb4f814872a9ee03d4da449cb100b9f11b4c2f0",
"size": "1696",
... |
////////////////////////////// Sign in Page //////////////////////////
/**
* Handles the sign in button press.
*/
function toggleSignIn() {
if (firebase.auth().currentUser) {
// [START signout]
firebase.auth().signOut();
// [END signout]
} else {
var email ... | {
"content_hash": "59fcd286479810a274504438e2e2bd8e",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 101,
"avg_line_length": 35.53164556962025,
"alnum_prop": 0.5632347702173138,
"repo_name": "knohyou/ExRx.net",
"id": "9bcefd7b4f6f98dcb1f7094a2e357215a38bb770",
"size": "280... |
#pragma once
#include <aws/codepipeline/CodePipeline_EXPORTS.h>
#include <aws/codepipeline/CodePipelineRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/codepipeline/model/StageTransitionType.h>
namespace Aws
{
namespace CodePipeline
{
namespace Model
{
/**
* <p>Represents the input of ... | {
"content_hash": "d722dc6167032afa3be6265a10069887",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 136,
"avg_line_length": 41.693251533742334,
"alnum_prop": 0.6948204826368451,
"repo_name": "ambasta/aws-sdk-cpp",
"id": "018c8992b3569a8d96d553485f064d32b7a97949",
"size":... |
function [MITprofSub]=MITprof_subset(MITprof,varargin);
% [MITprofSub]=MITprof_subset(MITprof,'PropertyName',PropertyValue,...)
% load a subset of profiles from MITprof into MITprofSub
%
% if PropertyName = 'list' : PropertyValue contains the list of profiles
% otherwise PropertyName = 'field' : selection on MITp... | {
"content_hash": "a37afb7e8f73d6d75f49de354fc682a5",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 88,
"avg_line_length": 41.68852459016394,
"alnum_prop": 0.6185607550137633,
"repo_name": "gaelforget/MITprof",
"id": "979fa1e91c11da8283241831d9acf9641be823d6",
"size": "25... |
<?php
/**
* Original code modified for this project.
*
* @copyright 2021 Google LLC
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
*/
declare(strict_types = 1);
namespace Google\Web_Stories\Infrastructure;
use ArrayAccess;
use Countable;
use Google\Web_Stories\Exception\InvalidSer... | {
"content_hash": "795d5df56adc51be92474fdda342b758",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 79,
"avg_line_length": 24.83582089552239,
"alnum_prop": 0.6844951923076923,
"repo_name": "GoogleForCreators/web-stories-wp",
"id": "d4de60c87a55b1916bec0aea2aabb458a0ffb475",... |
package com.xplus.commons.mvn.impl;
import javax.annotation.Resource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import com.xplus.commons.mvn.api.FileMaker;
import com.xplus.commons.mvn... | {
"content_hash": "dba0bb3b18915e823b7de1de05d1c6dd",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 86,
"avg_line_length": 28.47826086956522,
"alnum_prop": 0.716030534351145,
"repo_name": "hunny/xplus",
"id": "e69a7767a1617f07c6d9f83c8a40d20eb838c7fd",
"size": "1324",
"... |
import unittest
from hwt.simulator.simTestCase import SimTestCase
from hwtSimApi.constants import CLK_PERIOD
from hwtLib.examples.arithmetic.privateSignals import PrivateSignalsOfStructType
class PrivateSignalsOfStructTypeTC(SimTestCase):
@classmethod
def setUpClass(cls):
cls.u = PrivateSignalsOfStr... | {
"content_hash": "9a72f8ad6d0647f7850450bd5ef8648c",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 80,
"avg_line_length": 29.96875,
"alnum_prop": 0.6809176225234619,
"repo_name": "Nic30/hwtLib",
"id": "a088c5978c3145ea377c475c7731900b2282d821",
"size": "1007",
"binary"... |
\documentclass{article}
\usepackage[left=0.05in, right=0.05in, top=0.05in, bottom=0.05in]{geometry}
% \usepackage{fullpage}
\usepackage{graphicx}
\usepackage{subfigure}
\begin{document}
\begin{center}
\Huge Uniform node interpolation
\end{center}
\begin{figure}[!htbp]
\begin{center}
\subfigure[$5$ nodes]{
... | {
"content_hash": "5f319b5735890badd7fd076b90092683",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 75,
"avg_line_length": 25.149253731343283,
"alnum_prop": 0.6902077151335312,
"repo_name": "sivaramambikasaran/CAT_2017",
"id": "bf67652bbbac1a91a0c2273703f5aef7cb6e488c",
"... |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.support_lib_boundary;
import android.content.ContentProvider;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import and... | {
"content_hash": "55829f29d0ad5b2ca5fbf4964389d329",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 93,
"avg_line_length": 38.84848484848485,
"alnum_prop": 0.7753510140405616,
"repo_name": "chromium/chromium",
"id": "9e694a279685382806dd77bcc33d0655cdd93a61",
"size": "128... |
package io.buoyant.config
import com.fasterxml.jackson.databind.jsontype.NamedType
import java.net.InetSocketAddress
import scala.util.control.NoStackTrace
trait ConfigError extends NoStackTrace
object NoRoutersSpecified extends ConfigError {
def message = "At least one router must be specified in the configuratio... | {
"content_hash": "c1454581346493486559892ccda89fc2",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 82,
"avg_line_length": 29.153846153846153,
"alnum_prop": 0.7915567282321899,
"repo_name": "hhtpcd/linkerd",
"id": "293133c55e4e9ceae1b7d4e2c364626838926f26",
"size": "758",... |
"""
Copyright (c) 2011, 2012, Regents of the University of California
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
notice, thi... | {
"content_hash": "432eb34d89f00e128898c4a1e9fafd67",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 106,
"avg_line_length": 39.340425531914896,
"alnum_prop": 0.599242833964305,
"repo_name": "jf87/smap",
"id": "f85491c08c90350a9904411cb62e370bb7962dd2",
"size": "5547",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "5b042ec08c804c8a6f4ea116bc6e5a01",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "a58ffdeb0a3659c2f8de8dee44f69c535eb6271f",
"size": "18... |
Use PYMC3 and Theano to train a Bayesian Neural Network. In this context it acts in the same way you'd expect any neural net
to behave, except now we can look at standard deviation of the posterior predictive
to get a sense for the uncertainty in our predictions. The uncertainty can be visualized by running:
```
model... | {
"content_hash": "39746e8fec5dee524eff6b8bac487154",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 124,
"avg_line_length": 42.625,
"alnum_prop": 0.7859237536656891,
"repo_name": "guilherme-pombo/Bayesian-Deep-Learning",
"id": "b9f59bd6a8abfc16cbdcbc6b4dcb1f62fb369552",
"s... |
#include <aws/appstream/model/Stack.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace AppStream
{
namespace Model
{
Stack::Stack() :
m_arnHasBeenSet(false),
m_nameHasBeenSet(false),
m_descript... | {
"content_hash": "76af388fc4961c03989eb483758697d8",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 134,
"avg_line_length": 23.559006211180126,
"alnum_prop": 0.7242288426047984,
"repo_name": "chiaming0914/awe-cpp-sdk",
"id": "a6b1ce235f50dfa136670398d2bbb83e7dd38e77",
"s... |
package com.facebook.buck.apple;
import com.facebook.buck.shell.ShellStep;
import com.facebook.buck.step.ExecutionContext;
import com.google.common.base.Functions;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Iterables;
import java.nio.file.Path;
import java.util.List;
import jav... | {
"content_hash": "30a817dc3ce56357057ac39c7ed04db8",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 98,
"avg_line_length": 29.307692307692307,
"alnum_prop": 0.7123359580052493,
"repo_name": "siddhartharay007/buck",
"id": "954a047a99b92138ed9936d4f354fb9e52a6fba3",
"size":... |
package com.buyi.wechatmoney.state;
/**
* Created by buyi on 15/12/9.
*/
import android.accessibilityservice.AccessibilityService;
import android.content.Context;
import android.view.accessibility.AccessibilityEvent;
/**
* 对应状态迁移的方法 对于微信红包而言基本只有点击和回退
*/
public interface State {
void click(AccessibilityServi... | {
"content_hash": "0237ff446a0549df0cee01ab1985491a",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 94,
"avg_line_length": 23.157894736842106,
"alnum_prop": 0.7840909090909091,
"repo_name": "buyi/WeChatMoney",
"id": "44ce6c2bd202b8358ef6c9e833194b2199f459fb",
"size": "492... |
'''
Test Cases for Document Class for Word Cloud Project
Daniel Klein
Computer-Based Honors Program
The University of Alabama
9.12.2013
'''
import unittest
import pickle
from src.core.python.Metadata import Metadata
from src.core.python.Document import Document
import os, os.path
class DocumentTest(unittest.TestCase... | {
"content_hash": "0d86026ffd04542a17b23199ec0ff7ad",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 91,
"avg_line_length": 35.056179775280896,
"alnum_prop": 0.6076923076923076,
"repo_name": "dmarklein/WordCloud",
"id": "3297d030f76812043624f6b4a501f9fdde8b673a",
"size": "... |
using System;
using UnityEngine;
namespace InControl
{
public class UnityMouseAxisSource : InputControlSource
{
string mouseAxisQuery;
public UnityMouseAxisSource( string axis )
{
this.mouseAxisQuery = "mouse " + axis;
}
public override float GetValue( InputDevice inputDevice )
{
return In... | {
"content_hash": "1fbe0522ed60038607a248b3a93c17eb",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 64,
"avg_line_length": 16.733333333333334,
"alnum_prop": 0.7071713147410359,
"repo_name": "jonmann20/WizardSurvival",
"id": "704d77b2dc1f03c995a8f3898402a7fe68d6b804",
"siz... |
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:rabbit="http://www.springframework.org/schema/rabbit"
xsi:schemaLocation="http://www.springframework.org/schema/rabbit
http://www.springframework.org/sch... | {
"content_hash": "a2539017862bfbf524643ae1603eb1cf",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 114,
"avg_line_length": 44.93478260869565,
"alnum_prop": 0.6923076923076923,
"repo_name": "jripault/resthub-amqp",
"id": "78b7a0ad2096d4287ae710a58cdf36ac2b20f638",
"size":... |
HttpCacheServiceProvider
========================
The *HttpCacheProvider* provides support for the Symfony2 Reverse Proxy.
Parameters
----------
* **http_cache.cache_dir**: The cache directory to store the HTTP cache data.
* **http_cache.options** (optional): An array of options for the `HttpCache
<http://api.sym... | {
"content_hash": "99841fd33b318eb232d8d1bb1230b22e",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 90,
"avg_line_length": 26.323529411764707,
"alnum_prop": 0.638733705772812,
"repo_name": "lyrixx/Silex",
"id": "37fb64cd85479726fcf3b773d1cc2f9635d56d56",
"size": "2685",
... |
#ifndef _SkyX_VCloudsManager_H_
#define _SkyX_VCloudsManager_H_
#include "Prerequisites.h"
#include "VClouds/VClouds.h"
#include "ColorGradient.h"
namespace SkyX
{
class SkyX;
class DllExport VCloudsManager
{
public:
/** Constructor
@param s Parent SkyX pointer
*/
VCloudsManager(SkyX *s);
... | {
"content_hash": "e7e85bb028e9924572d1e2b9d83877c6",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 105,
"avg_line_length": 20.947674418604652,
"alnum_prop": 0.6736053288925895,
"repo_name": "ZelconGames/Ogitor-Facade",
"id": "747f6ea8abc0e3a529f094f9faa2a667909992c0",
"... |
package framian
import scala.reflect.ClassTag
import scala.collection.mutable.{ ArrayBuilder, Builder }
import spire.syntax.cfor._
sealed abstract class Merge(val outer: Boolean)
object Merge {
case object Inner extends Merge(false) // intersection
case object Outer extends Merge(true) // union
}
/**
* This... | {
"content_hash": "567e6eaa2d6a06a42582e81ec21a85b4",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 97,
"avg_line_length": 30.215384615384615,
"alnum_prop": 0.6084521384928717,
"repo_name": "tixxit/framian",
"id": "8cdb2fb86cc7eb46db02c6c1efb0455d3d46bb1f",
"size": "2768"... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Trans. Br. mycol. Soc. 88(1): 47 (1987)
#### Original name
Hymenoscyphus malawiensis P.J. Fisher & Spooner
### Remarks
null | {
"content_hash": "b4c0a698017b0a824d4dffce6a3c90cf",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 14.384615384615385,
"alnum_prop": 0.6898395721925134,
"repo_name": "mdoering/backbone",
"id": "6aeb7d0e92122e7df5e3193933a8c626f01c5eba",
"size": "25... |
import * as ol from 'openlayers';
export default ol.Kinetic;
| {
"content_hash": "ee83dbb20829454a5894ab6610ead09c",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 33,
"avg_line_length": 20.666666666666668,
"alnum_prop": 0.7419354838709677,
"repo_name": "aaronryden/DefinitelyTyped",
"id": "ba283fca6868f72d636beacec4dcba88249758b6",
"si... |
void Atx_fan_mf_cpu_new(float *x,float *Y,float SO,float OD,float scale,int nx,int ny,float *sd_phi,int nd,float *y_det,float dy_det,float y_os,
int nt,int *id_Y,int *Nv,int tmp_size,int nv,float *cos_phi,float *sin_phi,float *cos_det,float *sin_det);
extern "C" void Atx_fan_mf_gpu_new(float *x,float *Y,float SO,fl... | {
"content_hash": "0b97adaa338f09a35ebc356ffd36ca9b",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 155,
"avg_line_length": 87.29411764705883,
"alnum_prop": 0.7196765498652291,
"repo_name": "nhenscheid/FrameLab",
"id": "afa952010578558ef30ae6b3f80bbaf889ac1cf0",
"size": "... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "1fa44aa7fa0d23cd6e8147bd78264c99",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "160d7f0c56ba62b8e6b13f426c149818c0f3bcef",
"size": "179... |
package com.github.simy4.xpath;
import com.github.simy4.xpath.helpers.SerializationHelper;
import com.github.simy4.xpath.helpers.SimpleNamespaceContext;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import javax.xml.xpath.XPathExpressionException;
import java.io.IOException;
import s... | {
"content_hash": "8f114537633b86c7edad56cdce22bd3a",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 95,
"avg_line_length": 32.59375,
"alnum_prop": 0.7200383509108341,
"repo_name": "SimY4/xpath-to-xml",
"id": "5e6fcc22954bb24b8eb0e79dd48f2f803797f3cd",
"size": "2685",
"b... |
"""
Server API
Reference for Server API (REST/Json)
OpenAPI spec version: 2.0.21
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import os
import sys
import unittest
import kinow_client
from kinow_client.rest import ApiException
from... | {
"content_hash": "29504e65cc9d153b271b1839b6a7f039",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 72,
"avg_line_length": 19.075,
"alnum_prop": 0.6736566186107471,
"repo_name": "kinow-io/kinow-python-sdk",
"id": "bdb56c38249d6259a3cab3f532cab711ae183a0b",
"size": "780",
... |
/* #define _WIN32_WINNT 0x0500 */
#include "tclWinInt.h"
#include "tclFileSystem.h"
#include <winioctl.h>
#include <sys/stat.h>
#include <shlobj.h>
#include <lmaccess.h> /* For TclpGetUserHome(). */
/*
* The number of 100-ns intervals between the Windows system epoch (1601-01-01
* on the proleptic Gregorian cale... | {
"content_hash": "48d56a3e4fb390cb8a223431e19817af",
"timestamp": "",
"source": "github",
"line_count": 3367,
"max_line_length": 79,
"avg_line_length": 24.84051084051084,
"alnum_prop": 0.601269757765609,
"repo_name": "impedimentToProgress/UCI-BlueChip",
"id": "66ecdf8d987070c945bac07f2d75d60f8971ec9f... |
<fieldset class="b_clearfix">
<legend>$r.translate("qf.edit")</legend>
#if(!$isEmptyQuota)
<div class="b_float_right">$r.render("qf.del")</div>
#end
$r.render("quotaform")
</fieldset>
#else
<fieldset class="b_clearfix">
<legend>$r.translate("qf.new")</legend>
#if($r.available("qf.new"))
<div class="... | {
"content_hash": "8185e6dda12a91c5a7bf7539c7ce8103",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 124,
"avg_line_length": 40.36842105263158,
"alnum_prop": 0.635593220338983,
"repo_name": "stevenhva/InfoLearn_OpenOLAT",
"id": "69bf9b43302d9f82f2090b34c1dec47a081d37b6",
"... |
package main
import (
"flag"
"github.com/kayac/parallel-benchmark/benchmark"
"io/ioutil"
"log"
"net/http"
"time"
)
type myWorker struct {
URL string
client *http.Client
}
func (w *myWorker) Setup() {
w.client = &http.Client{}
}
func (w *myWorker) Teardown() {
}
func (w *myWorker) Process() (subscore in... | {
"content_hash": "289d469b0f2358e25b813b6c7f800fc7",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 60,
"avg_line_length": 17.923076923076923,
"alnum_prop": 0.628755364806867,
"repo_name": "kayac/parallel-benchmark",
"id": "e5ee7e4de32347cc064d706f3471a4bb35c1765f",
"size... |
import logging
import numpy as np
import dill
from collections import defaultdict
from skipthought import utils
class Batch:
def __init__(self, data, pad_value, go_value, eos_value):
"""Class which creates batch from data and could be passed into
SkipthoughtModel._fill_feed_dict_* methods.
... | {
"content_hash": "cdcf896d7d2bf8356c30d66ba97be12d",
"timestamp": "",
"source": "github",
"line_count": 354,
"max_line_length": 115,
"avg_line_length": 36.48870056497175,
"alnum_prop": 0.5841913757064334,
"repo_name": "persiyanov/skip-thought-tf",
"id": "bc8d06d9805a3c69f1c0728bf336d4ec6fcc02b8",
"... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Iot.Tenant.WebSer... | {
"content_hash": "d0ed678d64aa5a8b9f01d8e8cc7d49f5",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 99,
"avg_line_length": 30.363636363636363,
"alnum_prop": 0.5224550898203593,
"repo_name": "Azure-Samples/service-fabric-dotnet-iot",
"id": "189cc0d11eb07398d1b3c99c0b9b949372... |
from __future__ import absolute_import
from .fastq_screen_module import MultiqcModule | {
"content_hash": "1a87cee4d11394e93eee2eba3b648d58",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 46,
"avg_line_length": 28.666666666666668,
"alnum_prop": 0.813953488372093,
"repo_name": "moonso/MultiQC",
"id": "e95b17cf94c9b714a8c4fe9712c2036762bbddc8",
"size": "86",
... |
// ***********************************************************************
// Assembly : EveLib.EveCrest
// Author : Lars Kristian
// Created : 12-16-2014
//
// Last Modified By : Lars Kristian
// Last Modified On : 12-17-2014
// **************************************************************... | {
"content_hash": "c429867d9d1eec9665edf8594a8aa900",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 114,
"avg_line_length": 41.63013698630137,
"alnum_prop": 0.5608752879236591,
"repo_name": "stiez/evelib",
"id": "4aef3d261c435bdfc252de92d61cf63167981ead",
"size": "6080",... |
SERVER=server
CLIENT=client
# Builds the project
build:
go build -o ${SERVER} rpc_server.go
go build -o ${CLIENT} rpc_client.go
# Installs our project: copies binaries
install:
go install
# Cleans our project: deletes binaries
clean:
if [ -f ${SERVER} ] ; then rm ${SERVER} ; fi
if [ -f ${CLIENT} ] ; th... | {
"content_hash": "2c4317ce8999060bc98aa0da0bb74ea5",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 45,
"avg_line_length": 20.27777777777778,
"alnum_prop": 0.663013698630137,
"repo_name": "fercamp09/elastic-transcoder",
"id": "ac987fe880592f36b9419f1776f46e5687da6d3d",
"s... |
require 'ostruct'
module TyphoeusHydraSpecHelper
class FakeTyphoeusHydraTimeoutError < StandardError; end
class FakeTyphoeusHydraConnectError < StandardError; end
def http_request(method, uri, options = {}, &block)
uri.gsub!(" ", "%20") #typhoeus doesn't like spaces in the uri
request = Typhoeus::Reque... | {
"content_hash": "50add7a5929756a2c723f2ede3aadb02",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 101,
"avg_line_length": 24.553571428571427,
"alnum_prop": 0.6523636363636364,
"repo_name": "spookandpuff/spooky-core",
"id": "c20962f24ebef0eef416b66757b6fed8f1d80d87",
"si... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.wso2.carbon</groupId>
<artifactId>... | {
"content_hash": "bcfa5a345ccadae1e847f07904ff35cb",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 204,
"avg_line_length": 45.24203821656051,
"alnum_prop": 0.411657046318457,
"repo_name": "Niranjan-K/carbon-kernel",
"id": "f65c653fee3df1ac7c2df38755b9d85010e3c167",
"siz... |
module Azure::Batch::Mgmt::V2019_04_01
module Models
#
# Defines values for AllocationState
#
module AllocationState
Steady = "Steady"
Resizing = "Resizing"
Stopping = "Stopping"
end
end
end
| {
"content_hash": "d1d933aafea5cf7726b9f934b75800d9",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 40,
"avg_line_length": 19.416666666666668,
"alnum_prop": 0.6266094420600858,
"repo_name": "Azure/azure-sdk-for-ruby",
"id": "9c0ca19b19e1d78dc894d513c26e9a50425a54da",
"siz... |
<resources>
<string name="app_name">Theme Manager</string>
</resources>
| {
"content_hash": "967f4e36bf191a1939ec721a44fed2e0",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 50,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.6973684210526315,
"repo_name": "SalmanTKhan/MyAnimeViewer",
"id": "15004d0f2832fd6c1b4497e9080d30b37a111656",
"siz... |
class AddMaxAttendeesToEvents < ActiveRecord::Migration
def change
add_column :events, :max_attendees, :integer
end
end
| {
"content_hash": "c261852cb8e02a981be16f235dc95105",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 55,
"avg_line_length": 25.6,
"alnum_prop": 0.765625,
"repo_name": "BelieveC/osem",
"id": "a5a0d41559fd8e4510a2f7ab34845f06d14c4801",
"size": "128",
"binary": false,
"cop... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_65) on Wed Dec 10 00:36:13 EST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Inter... | {
"content_hash": "a109b8e3a8725765daeb71f375fbfbc8",
"timestamp": "",
"source": "github",
"line_count": 1332,
"max_line_length": 427,
"avg_line_length": 65.32582582582583,
"alnum_prop": 0.6922564185073666,
"repo_name": "shubhanshu-gupta/Apache-Solr",
"id": "110c913d7cf69e5b93fe3b8a3ebdabda07144b1e",
... |
#include "tensorflow/compiler/xla/service/hlo_domain_map.h"
#include <algorithm>
#include <string>
#include <utility>
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "absl/memory/memory.h"
#include "tensorflow/compiler/xla/map_util.h"
#include "tensorflow/compiler/xla/se... | {
"content_hash": "03f7445286c5ee5f5de2b06a48f192b0",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 80,
"avg_line_length": 38.45851528384279,
"alnum_prop": 0.673328034517997,
"repo_name": "gautam1858/tensorflow",
"id": "35c0d2b203dfd1998d9821bb2e02be0f00ff4346",
"size": ... |
wxUSE_DIRPICKERCTRL || \
wxUSE_FILEPICKERCTRL || \
wxUSE_FONTPICKERCTRL
#include "wx/pickerbase.h"
#include "wx/tooltip.h"
#ifndef WX_PRECOMP
#include "wx/textctrl.h"
#endif
// ============================================================================
// implementation
// ====================... | {
"content_hash": "0d855fcfa2ab87e78c932c9738d7c5fe",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 91,
"avg_line_length": 32.53488372093023,
"alnum_prop": 0.5764832022873481,
"repo_name": "ric2b/Vivaldi-browser",
"id": "8905d8d0ce112ef0e7078c4710a78f824aef1471",
"size":... |
'use strict';
// from http://en.wikipedia.org/wiki/Reservoir_sampling
function Reservoir(limit) {
this.limit = limit || 10;
this.seen = 0;
this._data = []
}
Reservoir.prototype.overflow = function overflow() {
var diff = this.seen - this.limit;
return diff >= 0 ? diff : 0
};
Reservoir.prototype.add = func... | {
"content_hash": "020c6598c3a956a80b8e4171fe4e25ee",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 64,
"avg_line_length": 22.57894736842105,
"alnum_prop": 0.6398601398601399,
"repo_name": "kmcroft13/cloud-templates",
"id": "71887981eabe0a60250c7f585afc6a6f3af1da6a",
"siz... |
Litecoin Core integration/staging tree
=====================================
https://litecoin.org
What is Litecoin?
----------------
Litecoin is an experimental new digital currency that enables instant payments to
anyone, anywhere in the world. Litecoin uses peer-to-peer technology to operate
with no central author... | {
"content_hash": "101effdf482a94c0a1804c4f07457a82",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 139,
"avg_line_length": 41.13461538461539,
"alnum_prop": 0.7690509583917718,
"repo_name": "Kenwhite23/litecoin",
"id": "b1587d04cb752cae8433a487e641215b57370b13",
"size": ... |
import tempfile
import unittest
from pyspark.ml import Estimator, Model
from pyspark.ml.classification import LogisticRegression, LogisticRegressionModel, OneVsRest
from pyspark.ml.evaluation import BinaryClassificationEvaluator, \
MulticlassClassificationEvaluator, RegressionEvaluator
from pyspark.ml.linalg impor... | {
"content_hash": "b1e49308dfbfa7bce605f4bd4460acc7",
"timestamp": "",
"source": "github",
"line_count": 527,
"max_line_length": 95,
"avg_line_length": 42.42125237191651,
"alnum_prop": 0.6199677938808373,
"repo_name": "mdespriee/spark",
"id": "39bb921aaf43dc0f5208cfd6bb1148129eecb740",
"size": "2314... |
package com.amazonaws.services.honeycode.model.transform;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.honeycode.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.core.JsonToken;
import stati... | {
"content_hash": "87323db25840f59d6a1a9735dae78199",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 154,
"avg_line_length": 36.73529411764706,
"alnum_prop": 0.6361088871096877,
"repo_name": "aws/aws-sdk-java",
"id": "47cb4e0104c74aae02d1ae8f5119e073f9c51bfd",
"size": "307... |
include(${PROJECT_SOURCE_DIR}/cmake/pcl_utils.cmake)
###############################################################################
# Add an option to build a subsystem or not.
# _var The name of the variable to store the option in.
# _name The name of the option's target subsystem.
# _desc The description of the sub... | {
"content_hash": "04b5c96c1e500c7af87dc0fc480c6d9f",
"timestamp": "",
"source": "github",
"line_count": 907,
"max_line_length": 158,
"avg_line_length": 44.32083792723264,
"alnum_prop": 0.604816040200005,
"repo_name": "zavataafnan/pcl-truck",
"id": "50be42b617c0d7143873fc7b25ca3f76528b74a4",
"size":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.