text stringlengths 2 1.04M | meta dict |
|---|---|
package com.example.appengine;
import com.google.appengine.api.datastore.DatastoreService;
import com.google.appengine.api.datastore.Entity;
import com.google.appengine.api.datastore.FetchOptions;
import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.KeyFactory;
import com.google.ap... | {
"content_hash": "2d8d905c40aad0a8986e66b759eeede4",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 75,
"avg_line_length": 31.741935483870968,
"alnum_prop": 0.7439024390243902,
"repo_name": "tswast/java-docs-samples",
"id": "99a40b5fe49686bc817bd3d33be58e42ee7da22b",
"siz... |
/* TODO(dzhioev): support RTL. http://crbug.com/423354 */
:host {
display: block;
overflow: auto;
}
core-selector {
display: block;
}
:host([connecting]) {
pointer-events: none;
}
paper-icon-item {
padding-bottom: 18px;
padding-top: 18px;
}
/* Items separator. */
paper-icon-item:not(:last-of-type)::a... | {
"content_hash": "ece8ee451a5611e8a95e73767d022987",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 74,
"avg_line_length": 15.087719298245615,
"alnum_prop": 0.6465116279069767,
"repo_name": "hujiajie/chromium-crosswalk",
"id": "eb2c72573d626086917bfbab8b98459f204c6d3a",
"... |
{-# LANGUAGE QuasiQuotes #-}
module LLVM.General.Quote.Test.Metadata where
import Test.Tasty
import Test.Tasty.HUnit
import Test.HUnit
import LLVM.General.Quote.LLVM
import LLVM.General.AST as A
import qualified LLVM.General.AST.Linkage as L
import qualified LLVM.General.AST.Visibility as V
import qualified LLVM.Ge... | {
"content_hash": "505882a504b1bf7b7ad19d6973a975e9",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 100,
"avg_line_length": 32.36129032258064,
"alnum_prop": 0.4958133971291866,
"repo_name": "tvh/llvm-general-quote",
"id": "9d2ae488fe9342f0cbbef25708bd5a86ffd470d8",
"size... |
GLFrustum viewFrustum;
GLBatch starsBatch;
GLuint starFieldShader; // The point sprite shader
GLint locMVP; // The location of the ModelViewProjection matrix uniform
GLint locTimeStamp; // The location of the time stamp
GLint locTexture; // The location of the texture uniform
GLuin... | {
"content_hash": "5e48eabeeef8ccf4385d260ec645e74c",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 125,
"avg_line_length": 27.1,
"alnum_prop": 0.6529315293152932,
"repo_name": "wjingzhe/OpenGL_SB5_static",
"id": "ac26d0f19d54bc89b6c207157c444fb3374f0126",
"size": "5263"... |
package com.jivesoftware.os.filer.queue.store;
import com.jivesoftware.os.mlogger.core.MetricLogger;
import com.jivesoftware.os.mlogger.core.MetricLoggerFactory;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.atomic.AtomicLong;
import org.apache.commons.lang.mutable.MutableLong;
publi... | {
"content_hash": "17ed5facfe9a65756fd6d950667f4764",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 147,
"avg_line_length": 35.34814814814815,
"alnum_prop": 0.5561609388097234,
"repo_name": "jivesoftware/filer",
"id": "bb33722a57324c344fada2a2fc9c201450919985",
"size": "... |
package org.olat.presentation.framework.core.components.form.flexible.elements;
/* TODO: ORID-1007 'File' */
import java.io.File;
import java.io.InputStream;
import java.util.Set;
import org.olat.data.commons.vfs.VFSContainer;
import org.olat.data.commons.vfs.VFSLeaf;
import org.olat.presentation.framework.core.com... | {
"content_hash": "9f078c0f1987d0dda5d4225b1688033e",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 168,
"avg_line_length": 32.61224489795919,
"alnum_prop": 0.6608260325406758,
"repo_name": "huihoo/olat",
"id": "690cb0a46eb6535888967cdde8720aefe1effefa",
"size": "5539",
... |
const int kPlayerStartX = 10;
const int kPlayerStartY = 10;
// These are the images for our game characters in the game
const char kPlayerImage[] = "Npcs\\Player.bmp";
const char kTrendorImage[] = "Npcs\\Trendor.bmp";
// This is the direction constants that we use for moving the character
enum eDirections
{
kUp = ... | {
"content_hash": "85d34177c99b98de065c231562224e4a",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 94,
"avg_line_length": 31.733727810650887,
"alnum_prop": 0.6628752563863509,
"repo_name": "Ockin/tutorials",
"id": "84eef4d45c120fce9e8f755bddfe9fd76f03aa50",
"size": "551... |
MAKEFLAGS=-r
# The source directory tree.
srcdir := ..
abs_srcdir := $(abspath $(srcdir))
# The name of the builddir.
builddir_name ?= .
# The V=1 flag on command line makes us verbosely print command lines.
ifdef V
quiet=
else
quiet=quiet_
endif
# Specify BUILDTYPE=Release on the command line for a release bui... | {
"content_hash": "74e1f3d75301a77d6cfc0f1b4d757f80",
"timestamp": "",
"source": "github",
"line_count": 344,
"max_line_length": 770,
"avg_line_length": 39.15988372093023,
"alnum_prop": 0.6542944102145349,
"repo_name": "evanhughes3/tutorials",
"id": "a432c5565c6d02459a7331bd274da76ba6829acd",
"size"... |
#ifndef nsContentDLF_h__
#define nsContentDLF_h__
#include "nsIDocumentLoaderFactory.h"
#include "nsIDocumentViewer.h"
#include "nsIDocument.h"
#include "nsMimeTypes.h"
class nsIChannel;
class nsIContentViewer;
class nsIDocumentViewer;
class nsIFile;
class nsIInputStream;
class nsILoadGroup;
class nsIStreamListener... | {
"content_hash": "8e8e76ef35d953448eebfb62f4011f28",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 109,
"avg_line_length": 39.84403669724771,
"alnum_prop": 0.6916877734285056,
"repo_name": "akiellor/selenium",
"id": "98c938aa7f460d35227d23bb24a4e50c368e80c9",
"size": "6... |
#pragma once
#include "interface/AFIPlugin.hpp"
#include "interface/AFIModule.hpp"
#include "base/AFPluginManager.hpp"
namespace ark {
ARK_DECLARE_PLUGIN(Sample4Plugin)
} // namespace ark
| {
"content_hash": "580ce9bbc802cb5005f79509643764a5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 35,
"avg_line_length": 14.923076923076923,
"alnum_prop": 0.7628865979381443,
"repo_name": "ArkGame/ArkGameFrame",
"id": "d6b9afcfc2a3acbfc132a4e3f4a473d48246957d",
"size": ... |
<?php
namespace Polymath\Conversions\Volume\Test;
use PHPUnit_Framework_TestCase;
class Volume extends PHPUnit_Framework_TestCase
{
/**
* @dataProvider getTestLiters2GallonsData
**/
public function testLiters2Gallons($liters, $expected)
{
$volume = new \Polymath\Conversions\Volume\Volum... | {
"content_hash": "c3c6ead582a8f52bc30584fb7553f5d5",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 78,
"avg_line_length": 25.282608695652176,
"alnum_prop": 0.5967325881341359,
"repo_name": "sanderblue/polymath",
"id": "ac65072e60b3ce1c83b2f2fd524fa2de4e83f2c1",
"size": "... |
function isBundleCheckRequired($injector) {
try {
const $staticConfig = $injector.resolve('$staticConfig')
const version = $staticConfig && $staticConfig.version
const majorVersion = (version || '').split('.')[0]
// If the major version is not available, probably we are in some new version of CLI, whe... | {
"content_hash": "b60546b29e611ff6569df49d4694d707",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 129,
"avg_line_length": 39.642857142857146,
"alnum_prop": 0.7117117117117117,
"repo_name": "rigor789/nativescript-vue",
"id": "b5b4a2d155c8c1ad12ad6b669823c313b4d68052",
"s... |
using Anycmd.Xacml.Interfaces;
// ReSharper disable once CheckNamespace
namespace Anycmd.Xacml.Runtime.Functions
{
/// <summary>
/// Function implementation, in order to check the function behavior use the value of the Id
/// property to search the function in the specification document.
/// </summary>
public cla... | {
"content_hash": "02fd3125d5365e7870937ed7030a845c",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 93,
"avg_line_length": 25.375,
"alnum_prop": 0.7216748768472906,
"repo_name": "anycmd/anycmd",
"id": "e7c0504c1e922c1f1c20a571da4de7007fcf26e4",
"size": "812",
"binary": ... |
// Copyright (c) 2021 Alachisoft
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | {
"content_hash": "fb0180376b4e3377c5e06989f991e300",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 112,
"avg_line_length": 37.69230769230769,
"alnum_prop": 0.7224489795918367,
"repo_name": "Alachisoft/NCache",
"id": "163998fceeaf93cb54a44f8aa2164119b88db203",
"size": "98... |
from datetime import timedelta
from mock import patch
import re
from django.test import TestCase
from django.test.utils import override_settings
from django.utils.timezone import now
import requests
from .factories import ProxyGrantingTicketFactory
from .factories import ProxyTicketFactory
from .factories import Ser... | {
"content_hash": "b7225acafbfbf108379c3ece73f5880d",
"timestamp": "",
"source": "github",
"line_count": 552,
"max_line_length": 116,
"avg_line_length": 38.68840579710145,
"alnum_prop": 0.6234313541861772,
"repo_name": "orbitvu/django-mama-cas",
"id": "3d7cb6d447adc83f5b3a853c244d869f14d85c79",
"siz... |
<!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"/>
<title>cnf: src/semicnftagger.h Source File</title>
<link href="tabs.css" rel=... | {
"content_hash": "2178ddb65aff15bc73ff159b4426e656",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 689,
"avg_line_length": 94.16279069767442,
"alnum_prop": 0.6656581872067177,
"repo_name": "jiangfeng1124/cnf",
"id": "3e8d84ebf372f133243c57d2c69d1bcd9f9250a1",
"size": "1... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.techhounds.commands.driving;
import com.techhounds.commands.CommandBase;
import com.techhounds.subsystems.DriveSub... | {
"content_hash": "eb6db0384cab5afa419401615b5c2d67",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 79,
"avg_line_length": 25.636363636363637,
"alnum_prop": 0.6375886524822695,
"repo_name": "frc868/2014-robot-iri",
"id": "e61520db265d6b83e99e5b015f1a2bc8e841e917",
"size":... |
val* core__flat___CString___to_s_unsafe(char* self, val* p0, val* p1, val* p2, val* p3);
short int core___core__BufferedReader___Reader__eof(val* self);
val* NEW_core__FlatBuffer(const struct type* type);
extern const struct type type_core__FlatBuffer;
#define COLOR_core___core__FlatBuffer___core__kernel__Object__init ... | {
"content_hash": "06ada355306a3035b9fa472abe0fbce3",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 104,
"avg_line_length": 61.404761904761905,
"alnum_prop": 0.7223730127956572,
"repo_name": "jcbrinfo/nit",
"id": "494a06125aec6c0fc21f8a3c5473e482a5a8b677",
"size": "2700",... |
require "singleton"
module EmberCLI
class Configuration
include Singleton
def app(name, options={})
apps.store name, App.new(name, options)
end
def apps
@apps ||= HashWithIndifferentAccess.new
end
def tee_path
return @tee_path if defined?(@tee_path)
@tee_path = Help... | {
"content_hash": "0507291d87e70497feb34a11dbf8cc78",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 48,
"avg_line_length": 17.65714285714286,
"alnum_prop": 0.6148867313915858,
"repo_name": "KeenRegard/ember-cli-rails",
"id": "19fa9238350f9312fbe9a1a837d01143da192714",
"si... |
package org.ehcache.impl.internal.store.offheap;
import org.ehcache.Cache;
import org.ehcache.config.EvictionAdvisor;
import org.ehcache.config.builders.ExpiryPolicyBuilder;
import org.ehcache.config.units.MemoryUnit;
import org.ehcache.event.EventType;
import org.ehcache.spi.resilience.StoreAccessException;
import ... | {
"content_hash": "f04680bdf6c3ba974fd3ac79b09d76e8",
"timestamp": "",
"source": "github",
"line_count": 634,
"max_line_length": 230,
"avg_line_length": 36.16876971608833,
"alnum_prop": 0.7250883084034713,
"repo_name": "lorban/ehcache3",
"id": "c7a62d5751aad5a3740dd4005fa468470f4f70a3",
"size": "235... |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* vim: sw=2 ts=8 et :
*/
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef mo... | {
"content_hash": "23175a2998099d17c64102f40144f66e",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 76,
"avg_line_length": 23.441860465116278,
"alnum_prop": 0.7301587301587301,
"repo_name": "sergecodd/FireFox-OS",
"id": "e81747488e59546e82bfecaf7234ed0f72b780e9",
"size": ... |
package org.apache.spark.sql.catalyst.expressions
import java.lang.{Boolean => JavaBoolean}
import java.lang.{Byte => JavaByte}
import java.lang.{Character => JavaChar}
import java.lang.{Double => JavaDouble}
import java.lang.{Float => JavaFloat}
import java.lang.{Integer => JavaInteger}
import java.lang.{Long => Ja... | {
"content_hash": "fb73aba40bfa2aa4f4f09041ec8f8daa",
"timestamp": "",
"source": "github",
"line_count": 474,
"max_line_length": 142,
"avg_line_length": 40.34177215189873,
"alnum_prop": 0.6718962451626399,
"repo_name": "chuckchen/spark",
"id": "cc207e51f85c48fd00bdfb3193b97c99ef03b6c8",
"size": "199... |
LDNS module documentation
================================
Here you can find the documentation of pyLDNS extension module. This module consists of several classes and a couple of functions.
.. toctree::
:maxdepth: 1
:glob:
ldns_resolver
ldns_pkt
ldns_rr
ldns_rdf
ldns_dname
ldns_rr_list
ldns_zone
ldns_key
... | {
"content_hash": "279f8314551eaa77f423fba8be82eab5",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 157,
"avg_line_length": 26.825,
"alnum_prop": 0.7157502329916123,
"repo_name": "steakknife/ldns",
"id": "2c5e7b2455d6f602bdbfbb243cf66ea709bbce30",
"size": "1073",
"binar... |
<div class="panel panel-default">
<div class="panel-heading">
Surgery Center
<span class="pull-right btn-group">
<a href="" class="btn btn-xs btn-success" ui-sref="^.add()">
<i class="fa fa-plus"></i>
</a>
</span>
</div>
<div class='list-group'>
<div ng-repeat="item in ctrl.center... | {
"content_hash": "afaa6376972c0acb45de506604dd80b8",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 110,
"avg_line_length": 32.083333333333336,
"alnum_prop": 0.5558441558441558,
"repo_name": "rsvasanth/Advancednurosurgery",
"id": "a958c5c1aeb9cf8db815f7f3af4a04a702b6fa9a",
... |
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" tools:context=".JokeActivity">
<item android:id="@+id/action_settings" android:title="@string/action_settings"
android:orderInCategory="... | {
"content_hash": "8d4fb71fc408466958eb0a07f558ce49",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 83,
"avg_line_length": 60.166666666666664,
"alnum_prop": 0.7174515235457064,
"repo_name": "Wertros/GradleTutorial",
"id": "aa1b8a6b765f390f9a64c3ddf204be5f6dea5c74",
"size":... |
'''
This checks if all command line args are documented.
Return value is 0 to indicate no error.
Author: @MarcoFalke
'''
from subprocess import check_output
import re
import sys
FOLDER_GREP = 'src'
FOLDER_TEST = 'src/test/'
REGEX_ARG = '(?:ForceSet|SoftSet|Get|Is)(?:Bool)?Args?(?:Set)?\("(-[^"]+)"'
REGEX_DOC = 'AddA... | {
"content_hash": "7cb0347823dc688cf6ab08cd09aa8d58",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 112,
"avg_line_length": 38.06382978723404,
"alnum_prop": 0.6467300167691448,
"repo_name": "droark/bitcoin",
"id": "3b05d5055cf1da072017458e0a698a487da1dafe",
"size": "2004"... |
package net.winterly.dropwizard.hk2bundle;
import net.winterly.dropwizard.hk2bundle.health.ExampleHealthCheck;
import net.winterly.dropwizard.hk2bundle.metric.ExampleGauge;
import net.winterly.dropwizard.hk2bundle.spi.DropwizardBinder;
public class ExampleAppBinder extends DropwizardBinder {
@Override
protec... | {
"content_hash": "0a28527684689f13a3d28ec0edc22783",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 67,
"avg_line_length": 31,
"alnum_prop": 0.7903225806451613,
"repo_name": "alex-shpak/dropwizard-hk2bundle",
"id": "f8c016871d0b4f5a02d6ff8db60f7ef22aa556b8",
"size": "434"... |
if ( typeof bbop == "undefined" ){ var bbop = {}; }
if ( typeof bbop.widget == "undefined" ){ bbop.widget = {}; }
if ( typeof bbop.widget.phylo_tree == "undefined" ){ bbop.widget.phylo_tree = {}; }
(function() {
bbop.widget.phylo_tree.renderer = renderer;
// if there is more than one phylo tree on the page, this cou... | {
"content_hash": "90f082f114f917534bab5ca7fd6d4166",
"timestamp": "",
"source": "github",
"line_count": 885,
"max_line_length": 83,
"avg_line_length": 33.289265536723164,
"alnum_prop": 0.5946166117918604,
"repo_name": "berkeleybop/bbop-js",
"id": "3ac6a2ed32a1a511d81a54513d9e1ab509bb4482",
"size": ... |
layout: post
title: "The End"
subtitle: "Walking was the easy part."
date: "2017-09-12 23:42:38"
author: "Randall"
header-img: "img/The-EndHeader.JPG"
mile: "2650"
---
I tried to sleep in today, but it felt like Christmas. All night long I thought about finishing the trail. When morning final... | {
"content_hash": "d76f15892bfdbb6cdf927478960f5b3b",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 322,
"avg_line_length": 75.96551724137932,
"alnum_prop": 0.7494325919201089,
"repo_name": "blladnar/blladnar.github.io",
"id": "d83ad5d34294e49df76db52bdc95529508718216",
"... |
export default {
log() {
// Change this after the server is started to test
console.log('First log...');
}
};
| {
"content_hash": "6d4f8ab55f11575b65d72eda7f045d5e",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 54,
"avg_line_length": 20.333333333333332,
"alnum_prop": 0.5983606557377049,
"repo_name": "TheDutchCoder/webpack-guides-code-examples",
"id": "2e773ce323256d3221f97b6ce1456f04... |
namespace Microsoft.Azure.Management.NotificationHubs
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
/// <summary>
/// NotificationHubsOperations oper... | {
"content_hash": "b124ea923dc9d3e9df70f6e9a040bd34",
"timestamp": "",
"source": "github",
"line_count": 419,
"max_line_length": 422,
"avg_line_length": 49.21002386634845,
"alnum_prop": 0.6254910519423832,
"repo_name": "pilor/azure-sdk-for-net",
"id": "e6e7b808df441601d92149801ca5d5a53c690b55",
"siz... |
namespace FluentExample
{
public partial class Coffee
{
public int RawOunces { get; private set; }
public string Ounces { get { return RawOunces + " oz"; } }
public Coffee WithOuncesToServe(int ounces)
{
RawOunces = ounces;
return this;
}
}
}
| {
"content_hash": "f2afef0d92b86c44c8f97da8d6d7b088",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 60,
"avg_line_length": 16.625,
"alnum_prop": 0.6691729323308271,
"repo_name": "kenwilcox/FluentExample",
"id": "afed117c1da727894e17ab02aa7150ad6214bf4e",
"size": "268",
... |
package main
import (
"github.com/stretchr/testify/assert"
"testing"
)
func Test_ToStringWithoutKeys(t *testing.T) {
env := Environment{Name: "production"}
assert.Equal(t, env.ToString(), "")
}
func Test_ToStringWithKeys(t *testing.T) {
env := Environment{
Name: "production",
Keys: []Key{
Key{Name: "foo"... | {
"content_hash": "5bdd1926332ca1e6c3f4c638b23bcacc",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 86,
"avg_line_length": 24.617021276595743,
"alnum_prop": 0.6525496974935178,
"repo_name": "sosedoff/envd",
"id": "afd3199a0a7e84fab16c617026d439e135296e37",
"size": "1157",... |
<html>
<head>
<title>Complex Layout</title>
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
<style type="text/css">
html, body {
font:normal 12px verdana;
margin:0;
padding:0;
border:0 none;
overflow:hidden;
... | {
"content_hash": "10d9d42010fb1ddf36890e0d60dd04fe",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 784,
"avg_line_length": 78.75531914893617,
"alnum_prop": 0.6364311765500473,
"repo_name": "kenglishhi/mest",
"id": "efb19d59abcc913fdb8477d8d160b55651776045",
"size": "148... |
package org.opensextant.extractors.test;
import static org.junit.Assert.assertEquals;
import org.apache.commons.text.similarity.LevenshteinDistance;
import org.junit.Test;
public class TestNameScoreUtils {
@Test
public void test() {
String a = "who dat";
String b = "me too";
int edit... | {
"content_hash": "90353bc8d2a841ab1d421e5281725b85",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 76,
"avg_line_length": 28,
"alnum_prop": 0.6741071428571429,
"repo_name": "OpenSextant/Xponents",
"id": "a191a157a7e0bb6fdaf553107cd2c6538ad0d05f",
"size": "672",
"binary... |
package com.scipionyx.butterflyeffect.frontend.core.ui.view.panel.bottom;
import com.vaadin.ui.Alignment;
import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.Label;
/**
*
* @author Renato Mendes
*
*/
public class BottomPanel extends HorizontalLayout {
/**
*
*/
private static final long serialVers... | {
"content_hash": "94fbb948247aa8dad81033a944e2b3cc",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 73,
"avg_line_length": 17.52777777777778,
"alnum_prop": 0.7083993660855784,
"repo_name": "scipionyx/ButterflyEffect",
"id": "fd9add341e0407d1e3361290e98abac9309ee641",
"siz... |
Provides a method to convert json markup into actual views.
### builder.build(markup)
Converts `markup` into views and returns `Collection` containing those views.
build({ view: 'Button', label: 'Hello World' });
`build` is extremely simple and strait-forward: it will create a view object
based on `view` proper... | {
"content_hash": "f1a238dcde55a21484f4757b59391e38",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 78,
"avg_line_length": 34.19512195121951,
"alnum_prop": 0.7368045649072753,
"repo_name": "GunioRobot/uki",
"id": "d143509fd8c50a601cb85e74edadac6b24bdec36",
"size": "1414",... |
package com.graphhopper.storage;
/**
* Manages in-memory DataAccess objects.
* <p/>
* @see RAMDataAccess
* @see RAMIntDataAccess
* @author Peter Karich
*/
public class RAMDirectory extends GHDirectory
{
public RAMDirectory()
{
this("", false);
}
public RAMDirectory( String location )
... | {
"content_hash": "a6c8a40f30ebd3e69072c243a1d6e936",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 98,
"avg_line_length": 21.096774193548388,
"alnum_prop": 0.6314984709480123,
"repo_name": "engaric/graphhopper",
"id": "8bc65dde6822160bce93ffd4c545b113ba109c55",
"size": "... |
import Feature from './feature';
import * as Constants from '../constants';
import hat from 'hat';
import MultiPoint from './point';
import MultiLineString from './line_string';
import MultiPolygon from './polygon';
const models = {
MultiPoint,
MultiLineString,
MultiPolygon
};
const takeAction = (features, act... | {
"content_hash": "342c9908bc5417b2569a09f572d8c2ba",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 100,
"avg_line_length": 28.352941176470587,
"alnum_prop": 0.7091286307053942,
"repo_name": "mapbox/gl-draw",
"id": "4e9f9f38aca5496d8aa7394b497f19bb01b670dc",
"size": "2410... |
package com.palomamobile.android.sdk.user;
import android.support.annotation.Nullable;
import com.palomamobile.android.sdk.auth.IUserCredentialsProvider;
import com.palomamobile.android.sdk.core.IServiceManager;
import com.palomamobile.android.sdk.core.qos.BaseRetryPolicyAwareJob;
/**
* Methods in this interface pro... | {
"content_hash": "fdfb060f93ec4a9e71d6e2dc3a23d29a",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 118,
"avg_line_length": 36,
"alnum_prop": 0.7580645161290323,
"repo_name": "PalomaMobile/paloma-android-sdk",
"id": "dc0c9a193ccb5901d9ce93cfdbc5ec70d6e0fd31",
"size": "111... |
package com.yeungeek.mvvm.sample;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Chronometer;
import com.yeungeek.mvvm.sample.mvvm.glass.GlassActivity;
import com.yeungeek.mvvm.samp... | {
"content_hash": "f4ee8d8bcb1399a0a6f23a9e8703cf17",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 85,
"avg_line_length": 28.782608695652176,
"alnum_prop": 0.6722054380664653,
"repo_name": "yeungeek/AndroidRoad",
"id": "2edeebe71c447fbf8df5316442133612f53d0cd1",
"size": ... |
if RUBY_ENGINE == 'ruby' && RUBY_VERSION >= '2.2.3'
if ENV['CI']
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start
else
require 'simplecov'
end
begin
require 'pry-byebug'
rescue LoadError
puts 'Pry unavailable'
end
end
require 'rspec'
require 'rspec/its'
begin
requ... | {
"content_hash": "2030db944c65390cf46b443a296645bc",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 88,
"avg_line_length": 27.88,
"alnum_prop": 0.7216642754662841,
"repo_name": "antek-drzewiecki/sidekiq-unique-jobs",
"id": "5c0fb4866fc509b4ff1ebae1033d38dd9d9493f0",
"size... |
package org.springframework.richclient.application.support;
import java.io.IOException;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factor... | {
"content_hash": "cb255fd977c6532d37566b56f0754389",
"timestamp": "",
"source": "github",
"line_count": 1044,
"max_line_length": 160,
"avg_line_length": 42.07854406130268,
"alnum_prop": 0.7095606646938311,
"repo_name": "springrichclient/springrcp",
"id": "52bb451b08bdbf30a1b674f721d76075842bc21f",
... |
package org.apache.shiro.authz.permission;
import org.apache.shiro.authz.Permission;
/**
* <tt>PermissionResolver</tt> implementation that returns a new {@link WildcardPermission WildcardPermission}
* based on the input string.
*
* @since 0.9
*/
public class WildcardPermissionResolver implements PermissionReso... | {
"content_hash": "8ac4a657baa84fcd7d077fda96fd0b1e",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 110,
"avg_line_length": 33.45,
"alnum_prop": 0.7065271549576483,
"repo_name": "apache/shiro",
"id": "0adffada7c5f190c11514d52b0a45877fc024bdd",
"size": "2816",
"binary": ... |
template <typename M, typename Ms>
constexpr bool testConstexpr()
{
M m1{1};
if (static_cast<unsigned>(m1 += Ms{ 1}) != 2) return false;
if (static_cast<unsigned>(m1 += Ms{ 2}) != 4) return false;
if (static_cast<unsigned>(m1 += Ms{ 8}) != 12) return false;
if (static_cast<unsigned>(m1 -= Ms{ 1}) ... | {
"content_hash": "75fbf12b0583e81616a7005636941fb7",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 90,
"avg_line_length": 35.1063829787234,
"alnum_prop": 0.5581818181818182,
"repo_name": "llvm-mirror/libcxx",
"id": "a792072afa26dba73c641b95499d20189040fa99",
"size": "230... |
title: Post an expense report workflow action
layout: reference
---
## Description
Posts a workflow action for the supplied expense report. The workflow action moves the expense report through the workflow process.
### Workflow actions
The available actions are:
* **Approve**: The report successfully completes the ... | {
"content_hash": "2d77382dd15a11166d5d63799b1b6ae8",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 650,
"avg_line_length": 52.40650406504065,
"alnum_prop": 0.7595408004964319,
"repo_name": "bhague1281/developer.concur.com",
"id": "74afa92043836a675ea98372a1070fe0bee616a6"... |
from utils.codegen import format_type, get_detailed_extern_callinfos
from utils.extern import extern_has_tuple_params
from compiler_common import generate_var_name
from more_itertools import unique_everseen
#[ #include "dpdk_lib.h"
#[ #include "util_debug.h"
detailed_callinfos = get_detailed_extern_callinfos(hlir)
... | {
"content_hash": "2318f1b7de6278a913a1b7829b0aefcc",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 238,
"avg_line_length": 47.325581395348834,
"alnum_prop": 0.6845208845208846,
"repo_name": "P4ELTE/t4p4s",
"id": "6e0c6aeb50bf5d1bedef1213804d82d4cde5ddae",
"size": "2135",... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _lodash = require('lodash');
var _lodash2 = _interopRequireDefault(_lodash);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var schema = [{
enum: ['always', 'never'],
type: 'strin... | {
"content_hash": "9457f66110b1e6c6b6eded7cbae573f3",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 179,
"avg_line_length": 24.78358208955224,
"alnum_prop": 0.5624811803673593,
"repo_name": "BigBoss424/portfolio",
"id": "acf204a9a6c934b60eafaecda5e6faa2d7ca998e",
"size":... |
[](https://packagist.org/packages/bigpaulie/yii2-social-share) [](https://packagist.org/packages/bigpaulie/yii2-social-share) [
{
// TODO: Implement this.
return 0;
}
//========================================================================
// Get joystick axis positions
//========================================================================
int _glfwPlatformGetJoystickPos( i... | {
"content_hash": "2ccd07d3c03b46c6326fb105a6a3f9ee",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 86,
"avg_line_length": 27.615384615384617,
"alnum_prop": 0.4011142061281337,
"repo_name": "d909b/GADEL-Snake",
"id": "bd3ea640128b10d6632a0219298583505b96ac31",
"size": "24... |
html {
font-size: 14px;
}
.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
margin: 0.75rem 0;
}
h4 {
font-size: 1.25rem;
}
a,
a:not([href]) {
color: #0088cc;
text-decoration: none;
}
a:hover,
a:not([href]):hover {
color: #005580;
text-decoration:underline
}
.btn-spark {
... | {
"content_hash": "1322b5419cd9c78f906f97bac62dfd5d",
"timestamp": "",
"source": "github",
"line_count": 399,
"max_line_length": 121,
"avg_line_length": 18.849624060150376,
"alnum_prop": 0.679962770908124,
"repo_name": "zuotingbing/spark",
"id": "f7f8a0e0e9061d29c2aefa98fb729f11c96de2c1",
"size": "8... |
// NOTE: This file was generated by the ServiceGenerator.
// ----------------------------------------------------------------------------
// API:
// Google+ Domains API (plusDomains/v1)
// Description:
// Builds on top of the Google+ platform for Google Apps Domains.
// Documentation:
// https://developers.googl... | {
"content_hash": "ec0263ca9dbea0a0bb6a59b0e93ec9f9",
"timestamp": "",
"source": "github",
"line_count": 1027,
"max_line_length": 126,
"avg_line_length": 30.41869522882181,
"alnum_prop": 0.7124199743918054,
"repo_name": "googlecreativelab/Sprayscape",
"id": "e56a51130134efaebb42d11599691bae14bf6a27",
... |
angular.module('MapBiomas.workmap').factory('WorkspaceLayers', ['AppConfig', '$filter', "$injector",
function(AppConfig, $filter, $injector) {
return {
imgsref: function(wgis) {
var mapfilepath = AppConfig.MAPSERVER.mapfilepath;
var mapfilehost = AppConfig.MAPSER... | {
"content_hash": "c6e4911e2260610fb3cdc29e0a974916",
"timestamp": "",
"source": "github",
"line_count": 1510,
"max_line_length": 249,
"avg_line_length": 47.274172185430466,
"alnum_prop": 0.43789924913145806,
"repo_name": "TerrasAppSolutions/seeg-mapbiomas-workspace",
"id": "0516e2adc0322e20a5df14d572... |
/*
* $Id$
*/
// ---------------------------------------------------------------------------
// Includes
// ---------------------------------------------------------------------------
#include <xercesc/util/BinMemInputStream.hpp>
#include <xercesc/framework/MemoryManager.hpp>
#include <string.h>
XERCES_CPP_NAMES... | {
"content_hash": "bef2fe27a86377427648d7c277143899",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 96,
"avg_line_length": 31.120481927710845,
"alnum_prop": 0.49554781262098335,
"repo_name": "ctapmex/xerces-c",
"id": "5ebdf9936ead343590b242466f5a99f8ea1bb28c",
"size": "33... |
'use strict';
define(['app'], function(app) {
app.config(['$stateProvider', function($stateProvider) {
$stateProvider
.state("products", {
url: "/:locale/products/",
templateUrl: '/app/Aisel/Product/views/product.html',
controller: 'ProductCtrl'... | {
"content_hash": "bb43a2c891a62fbd5da13a43e3969050",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 77,
"avg_line_length": 36.93103448275862,
"alnum_prop": 0.5228758169934641,
"repo_name": "kamilkisiela/Aisel",
"id": "1af3ddfde8c86220a8525d83beac8fba8a60abe2",
"size": "13... |
#ifndef __ATOMIC_H__
#define __ATOMIC_H__
/*
* Warning: These are not really atomic at all. They are wrappers around the
* kernel atomic variable interface. If we do need these variables to be atomic
* (due to multithreading of the code that uses them) we need to add some
* pthreads magic here.
*/
typedef int32_... | {
"content_hash": "90854878069d97c184f613450dce5dd6",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 79,
"avg_line_length": 25.61904761904762,
"alnum_prop": 0.671003717472119,
"repo_name": "calee0219/Course",
"id": "151c5bf71c3d2236acace0b83aadb9cc9da37ab7",
"size": "1244"... |
@class JavaUtilHashMap;
@protocol AMLocaleProvider < NSObject, JavaObject >
- (JavaUtilHashMap *)loadLocale;
- (jboolean)is24Hours;
@end
J2OBJC_EMPTY_STATIC_INIT(AMLocaleProvider)
J2OBJC_TYPE_LITERAL_HEADER(AMLocaleProvider)
#define ImActorModelLocaleProvider AMLocaleProvider
#endif // _AMLocaleProvider_H_
| {
"content_hash": "444e47cd77c53080969c6f6be8feac74",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 51,
"avg_line_length": 18.58823529411765,
"alnum_prop": 0.8006329113924051,
"repo_name": "TimurTarasenko/actor-platform",
"id": "b05e525c3e4b6e05f4ad07631d240c01d8de3a45",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
namespace IconEntrySample
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage = new IconEntrySample.MainPage();
}
... | {
"content_hash": "dd7b7f015c2625c8d7770c13f6448bdd",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 54,
"avg_line_length": 19.029411764705884,
"alnum_prop": 0.5564142194744977,
"repo_name": "Li-Yanzhi/IconEntry",
"id": "c700aaa196ba7ce376d7e47523a1da6860f2fda0",
"size": "... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.genmod.generalized_estimating_equations.GEEResults.resid — statsmodels v0.10.1 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="s... | {
"content_hash": "02ab7c522361468c27c90207d49519aa",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 482,
"avg_line_length": 48.78787878787879,
"alnum_prop": 0.6611180124223602,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "bbea6220f7c715f710564209ebb76d29127ae84... |
package cn.lhfei.airqa.service;
import java.util.List;
import cn.lhfei.airqa.entity.Region;
public interface IRegionService {
List<Region> findRegion(int level,int pid);
}
| {
"content_hash": "b32926bde0e1422e33e62b0a3b691ff6",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 44,
"avg_line_length": 18.7,
"alnum_prop": 0.732620320855615,
"repo_name": "lhfei/air-qa-back-end",
"id": "8259170ea9eb5c5c32b629ed867440df4f1fbe45",
"size": "187",
"bina... |
package org.apache.hadoop.hbase.master;
import org.apache.hadoop.hbase.HBaseClassTestRule;
import org.apache.hadoop.hbase.testclassification.MasterTests;
import org.apache.hadoop.hbase.testclassification.MediumTests;
import org.junit.ClassRule;
import org.junit.experimental.categories.Category;
@Category({ MasterTes... | {
"content_hash": "bfac3ee9b20c76fc301d3f5367516181",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 87,
"avg_line_length": 31.772727272727273,
"alnum_prop": 0.8311874105865522,
"repo_name": "HubSpot/hbase",
"id": "8ea7aa3bcb49552d212f45013161a27a8f5e4e73",
"size": "1504",... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="81e28fcf-1ca2-4a17-a68b-588ca64dc21f" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
<change ty... | {
"content_hash": "195a3e08989805d8c03c181a9c095b68",
"timestamp": "",
"source": "github",
"line_count": 289,
"max_line_length": 222,
"avg_line_length": 54.68512110726643,
"alnum_prop": 0.6473677549987344,
"repo_name": "alank64/json-schema-filter",
"id": "18a7c8d8bf933f03ff6f116a07744c99d94e9eda",
"... |
(function(){
UEDITOR_CONFIG = window.UEDITOR_CONFIG || {};
var baidu = window.baidu || {};
window.baidu = baidu;
window.UE = baidu.editor = {};
UE.plugins = {};
UE.commands = {};
UE.instants = {};
UE.I18N = {};
UE.version = "1.2.6.1";
var dom = UE.dom = {};/**
* @file
* @name UE.browser
* @short Browser
... | {
"content_hash": "1dee92cee172b69b04179517f1546f91",
"timestamp": "",
"source": "github",
"line_count": 14890,
"max_line_length": 744,
"avg_line_length": 38.26447280053727,
"alnum_prop": 0.4411329020391113,
"repo_name": "cyrilzhao/qa-ueditor",
"id": "673d320cc8f8b169eacc42caa70fcf487f8dc38f",
"size... |
using System;
using Microsoft.Protocols.TestTools.StackSdk;
namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Cifs
{
/// <summary>
/// Packets for SmbNoAndxCommand Request
/// </summary>
public class SmbNoAndxCommandRequestPacket : SmbSingleRequestPacket
{
#region Fields
... | {
"content_hash": "e0b8187fe7198d1a77f00e9b22c185bb",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 105,
"avg_line_length": 22.714285714285715,
"alnum_prop": 0.5434702182759896,
"repo_name": "JessieF/WindowsProtocolTestSuites",
"id": "bcc27afe73d788047fcfcb3ad53c7af91c924c... |
package org.apache.calcite.rex;
import org.apache.calcite.avatica.util.DateTimeUtils;
import org.apache.calcite.avatica.util.TimeUnit;
import org.apache.calcite.avatica.util.TimeUnitRange;
import org.apache.calcite.rel.metadata.NullSentinel;
import org.apache.calcite.sql.SqlKind;
import org.apache.calcite.util.NlsStr... | {
"content_hash": "3d917bd324389c4a208bf2b5818cbde3",
"timestamp": "",
"source": "github",
"line_count": 369,
"max_line_length": 88,
"avg_line_length": 28.585365853658537,
"alnum_prop": 0.6403109594235874,
"repo_name": "vlsi/calcite",
"id": "11d91ae2764f61098cb739a848995cec0c5fee33",
"size": "11345"... |
package org.keycloak.saml.processing.core.saml.v2.writers;
import org.keycloak.saml.common.constants.JBossSAMLConstants;
import org.keycloak.saml.common.exceptions.ProcessingException;
import org.keycloak.saml.common.util.StaxUtil;
import org.keycloak.saml.common.util.StringUtil;
import org.keycloak.dom.saml.v2.asser... | {
"content_hash": "82c1366fbfb0aa602d0ff073cdba7baa",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 149,
"avg_line_length": 38.44758064516129,
"alnum_prop": 0.6842160461457787,
"repo_name": "eugene-chow/keycloak",
"id": "1c4d3a605e5cd27b6540f491864c30fb6c220806",
"size":... |
using System;
using System.IO;
namespace DiscUtils.Common
{
public class CommandLineSwitch
{
private string[] _shortSwitches;
private string _fullSwitch;
private string _paramName;
private string _description;
private bool _isPresent;
private string... | {
"content_hash": "5b0f66d9f678eee5e899c8bf4d318db3",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 127,
"avg_line_length": 28.730263157894736,
"alnum_prop": 0.4762995191206778,
"repo_name": "bplu4t2f/EzIso",
"id": "8eb5b7dcfee88d8c448134c1e50eedf0f28f126d",
"size": "551... |
FactoryBot.define do
factory :user do
end
end
| {
"content_hash": "3e24651d555fd0616bbe9651cee0a2eb",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 20,
"avg_line_length": 12.5,
"alnum_prop": 0.74,
"repo_name": "hiveer/daily_plan",
"id": "94432bf9ed0420a552faf4261ae4389e5ac43c75",
"size": "120",
"binary": false,
"cop... |
% get root of current file
root = fullfile(fileparts(mfilename('fullpath')),'../');
p_generated = genpath([root '/Core']);
addpath(p_generated);
addpath([root '/IO']);
addpath([root '/Data']);
addpath([root '/Scripts']);
p_generated = genpath([root '/ThirdParty/tetgen1.4.3/bin']);
addpath(p_generated);
p_generated =... | {
"content_hash": "81c97ff9b6a3f45fd28b2fd533c3a5bf",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 60,
"avg_line_length": 25.3125,
"alnum_prop": 0.6864197530864198,
"repo_name": "siavashk/GMM-FEM",
"id": "96770015495e84e120342582ab8d07c142dba254",
"size": "405",
"binar... |
<?xml version="1.0" encoding="utf-8"?>
<strings xml:lang="ms-my"> <!-- Malay -->
<!-- various labels (not author controlled) -->
<str name="Figure">Rajah</str>
<str name="Table">Jadual</str>
<str name="Next topic">Tajuk seterusnya</str>
<str name="Previous topic">Tajuk sebelumnya</str>
<str name="Parent topic">... | {
"content_hash": "b29bb4bec58fe844bc7b05971883d8b5",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 73,
"avg_line_length": 35.478873239436616,
"alnum_prop": 0.7062326319968242,
"repo_name": "jelovirt/muuntaja",
"id": "0ff9af90b73414618e564d2dd4f24be9bb21f8d7",
"size": "25... |
extern crate clap;
extern crate time;
extern crate clog;
extern crate semver;
#[cfg(feature = "color")]
extern crate ansi_term;
use clap::{App, Arg, ArgGroup, ArgMatches};
use clog::{LinkStyle, Clog};
use clog::fmt::ChangelogFormat;
#[macro_use]
mod macros;
mod error;
mod fmt;
use error::CliError;
pub type CliResu... | {
"content_hash": "23a56068f016c9b5103390cea7c4bf85",
"timestamp": "",
"source": "github",
"line_count": 252,
"max_line_length": 124,
"avg_line_length": 44.07142857142857,
"alnum_prop": 0.48199171618944714,
"repo_name": "clog-tool/clog-cli",
"id": "67070ba1cad5f38abb5f0ae3342b6315976a0d31",
"size": ... |
package org.apache.camel.impl.validator;
import org.apache.camel.CamelExecutionException;
import org.apache.camel.ContextTestSupport;
import org.apache.camel.ValidationException;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.junit.Test;
public class Val... | {
"content_hash": "e035710718d9a566d9e5f63e3fe0b87b",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 96,
"avg_line_length": 29.77777777777778,
"alnum_prop": 0.6560945273631841,
"repo_name": "ullgren/camel",
"id": "de7621ca1ae39dd68f8e91b629787a3cadfef040",
"size": "2410",
... |
myApp.controller('contactDetail', function ($scope, contact) {
$scope.contact = contact.data;
});
| {
"content_hash": "7c739d3e7ebd9481d1f8fccf191a96e4",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 62,
"avg_line_length": 33.333333333333336,
"alnum_prop": 0.71,
"repo_name": "caio000/project_angular",
"id": "361536161fa62c5226d9cd6a751fcf3e981d4904",
"size": "100",
"bi... |
[](https://godoc.org/github.com/miekg/coredns)
[](https://travis-ci.org/miekg/coredns)
CoreDNS is a DNS server that started as a fork ... | {
"content_hash": "e713c566f8ae0bd65937b97b562916b3",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 136,
"avg_line_length": 32.35195530726257,
"alnum_prop": 0.7299257468485582,
"repo_name": "abutcher/origin",
"id": "761e59061744336f42172074f73a753ffc9ca7d7",
"size": "580... |
package utils
import (
"fmt"
"strings"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("Utils", func() {
Describe("FormatChainName", func() {
It("must format a short name", func() {
chain := FormatChainName("test", "1234")
Expect(len(chain)).To(Equal(maxChainLength))
Expect(c... | {
"content_hash": "f6941675a589cd5bb8c8246af5266f44",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 98,
"avg_line_length": 34.37748344370861,
"alnum_prop": 0.6852244268926989,
"repo_name": "containernetworking/plugins",
"id": "0182c6d41ee695761a95a9fefdfc99fba5dd0dab",
"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `Sample` trait in crate `rand`.">
<meta name="keywords" con... | {
"content_hash": "b05ec9fac64d0d4d4c59ca10d7f14cae",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 450,
"avg_line_length": 68.14285714285714,
"alnum_prop": 0.610062893081761,
"repo_name": "pegasos1/numbers",
"id": "ddce6697d928f6ffd8a1197cfd7b94acc8127d0c",
"size": "907... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>4096</title>
<link href="style/main.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="favicon.ico">
<link rel="apple-touch-icon" href="meta/apple-touch-icon.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<me... | {
"content_hash": "dea9183aa500188a67faf7dd152df95b",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 310,
"avg_line_length": 35.47191011235955,
"alnum_prop": 0.5885334178017105,
"repo_name": "lolotobg/4096",
"id": "7506ea67fd3e82b72a4d9df6090a1d89135ccd46",
"size": "3157",... |
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/jbd2.h>
#include <linux/time.h>
#include <linux/fcntl.h>
#include <linux/stat.h>
#include <linux/string.h>
#include <linux/quotaops.h>
#include <linux/buffer_head.h>
#include <linux/bio.h>
#include "ext4.h"
#include "ext4_jbd2.h"
#include "xattr.h"
#in... | {
"content_hash": "37a02a45f589ebfd24859f5e8a23a76c",
"timestamp": "",
"source": "github",
"line_count": 3165,
"max_line_length": 95,
"avg_line_length": 27.146603475513427,
"alnum_prop": 0.6406266367159766,
"repo_name": "Ant-Droid/android_kernel_moto_shamu_OLD",
"id": "ab2f6dc44b3abf88b62902433f48a1aa... |
package com.gilesc.web.registration;
import com.gilesc.service.registration.RegistrationException;
import com.gilesc.service.registration.RegistrationService;
import org.hibernate.exception.ConstraintViolationException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotyp... | {
"content_hash": "55102049d8b7c034590e668012025f25",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 141,
"avg_line_length": 36.707692307692305,
"alnum_prop": 0.7460184409052808,
"repo_name": "CraigGiles/springmvc",
"id": "80b3296d17ae03dff37ef0937a9438a22202331d",
"size":... |
(function(lecture) {
lecture.on('activate', function(e) {
lecture.dispatch('progress', {
progress: ((e.index) / (lecture.deck.length - 1)) * 100
});
});
}(lecture)); | {
"content_hash": "6b182824521766f659a340ebde21083e",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 58,
"avg_line_length": 24.857142857142858,
"alnum_prop": 0.6091954022988506,
"repo_name": "msavela/lecture.js-plugins",
"id": "92fa7d003e99bd9f7a361270ba06e43f8a3f2841",
"si... |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>gittigidiyor.jsonbuilder.JSONBuilder</title>
<link rel="stylesheet" href="epydoc.css" type=... | {
"content_hash": "5be6cc5dfacd1ec6bba460a5cd130163",
"timestamp": "",
"source": "github",
"line_count": 266,
"max_line_length": 208,
"avg_line_length": 37.25187969924812,
"alnum_prop": 0.5765465738217782,
"repo_name": "Annelutfen/gittigidiyor-python",
"id": "6c011eafea27dfa01d8892314b509d9d454ec920",... |
(function EitherUses(){
var println = console.log;
function Either(e,a){
if(!(this instanceof Either)) return new Either(e,a);
this.left = e;
this.right = a;
}
function Left(value){
if(!(this instanceof Left)) return new Left(value);
this.either = new Either(value,null);
this.toString = func... | {
"content_hash": "4d8467df449b43eedf4622c755bf15e3",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 75,
"avg_line_length": 25.265486725663717,
"alnum_prop": 0.6084063047285464,
"repo_name": "phatak-dev/fpinjs",
"id": "64dfb97dd870ca8fdba1e7f0768a4b613875eb88",
"size": "2... |
#include "ins.h"
#include "binproc.h"
#include "cinproc.h"
#include "../../inproc.h"
#include <string.h>
/* nn_transport interface. */
static void nn_inproc_init (void);
static void nn_inproc_term (void);
static int nn_inproc_bind (struct nn_ep *);
static int nn_inproc_connect (struct nn_ep *);
struct nn_transpo... | {
"content_hash": "6ffeb72a7b3496589182c3539262b3db",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 47,
"avg_line_length": 16.733333333333334,
"alnum_prop": 0.6440903054448871,
"repo_name": "thisco-de/nanomsg",
"id": "b69fdd8d7fc56700b6f473ec7f3feea05aed1f8f",
"size": "20... |
#import <UIKit/UIKit.h>
FOUNDATION_EXPORT NSString *const kAPCSwitchCellIdentifier;
@protocol APCSwitchTableViewCellDelegate;
@interface APCSwitchTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *textLabel;
@property (nonatomic, weak) IBOutlet UISwitch *cellSwitch;
@property (nonatom... | {
"content_hash": "ff25d0c796e7fa2dc3e0e9ae351d9b09",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 87,
"avg_line_length": 24.09090909090909,
"alnum_prop": 0.8150943396226416,
"repo_name": "Erin-Mounts/AppCore",
"id": "3bc25ae5a6cd1e103452deb04816553811667308",
"size": "2... |
<!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_02) on Mon Jan 14 20:52:50 GST 2008 -->
<TITLE>
I-Index
</TITLE>
<META NAME="date" CONTENT="2008-01-14">
<LINK REL ="stylesheet" TYPE="t... | {
"content_hash": "c0260e3a3552faf9f732889260620eb1",
"timestamp": "",
"source": "github",
"line_count": 312,
"max_line_length": 655,
"avg_line_length": 55.89102564102564,
"alnum_prop": 0.6418740681270788,
"repo_name": "chesterbr/minitruco-j2me",
"id": "3841860b34bc2f6b8ae0a613e454ccf716b8402d",
"si... |
<!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": "22620a297147dcd9a97f4f8f59db79d3",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 230,
"avg_line_length": 46.85,
"alnum_prop": 0.6606189967982924,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "ef004da1f2cd9b388786e56491ef8b28299d9181",
"size": "5622",
... |
using System.IO;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace TrixonSystems.PTemplater
{
internal static class RazorHelper
{
#region Public methods
public static string RenderView(string pathToView, object model, ControllerContext controllerContext)
{
... | {
"content_hash": "d2c78a27e68d45d1f5101b32999257e1",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 133,
"avg_line_length": 34.36734693877551,
"alnum_prop": 0.6567695961995249,
"repo_name": "TrixonSystems/PTemplater",
"id": "08c4cc0504d4c24216c7a858c39958c972dff710",
"siz... |
from __future__ import (absolute_import, print_function, division)
import copy
import os
from netlib import tcp, certutils
from .. import stateobject, utils
class ClientConnection(tcp.BaseHandler, stateobject.StateObject):
def __init__(self, client_connection, address, server):
# Eventually, this object... | {
"content_hash": "dee8d02230b6eb97f6750d4f9cb0db30",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 105,
"avg_line_length": 30.95360824742268,
"alnum_prop": 0.5866777685262281,
"repo_name": "scriptmediala/mitmproxy",
"id": "f1e10de9f68ea3c020acd89d986293f5f6a15ba6",
"siz... |
package org.apache.jackrabbit.oak.plugins.index.search.util;
import static org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.EMPTY_NODE;
import static org.junit.Assert.assertEquals;
import java.util.Arrays;
import org.apache.jackrabbit.oak.api.Type;
import org.apache.jackrabbit.oak.plugins.memory.ArrayBasedBl... | {
"content_hash": "02a9fbea07110b6edebf56812bc70331",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 120,
"avg_line_length": 46.05820105820106,
"alnum_prop": 0.5515221137277426,
"repo_name": "amit-jain/jackrabbit-oak",
"id": "e01f89f0eb1f404c29979acdadda332e33250329",
"si... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "f826dd80a75aaab1f3c23373636503f7",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "ea214b8f0cbffcb30656e697c2f85535bf8b06d5",
"size": "171... |
<!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 (1.8.0_73) on Mon Sep 19 13:35:21 PDT 2016 -->
<title>GraphWalkIteratorProvider</title>
<meta name="date" content="2016-09-19">
<link rel="stylesheet"... | {
"content_hash": "b64e1de74029f09a9cd9ba8a1fd048bd",
"timestamp": "",
"source": "github",
"line_count": 233,
"max_line_length": 427,
"avg_line_length": 39.82832618025751,
"alnum_prop": 0.6585129310344827,
"repo_name": "YeewenTan/YeewenTan.github.io",
"id": "0570986c9fab9f2430ab642e5115712616f2bb4d",
... |
/** Maximum supported key kength */
#define MAX_AES_KEY_LENGTH 256
/* TODO: remove in a future version */
/* Guard against using an old export control restriction #define */
#ifdef AES_USE_KEY_BITS
#error AES_USE_KEY_BITS not supported
#endif
extern uint *my_aes_opmode_key_sizes;
void my_aes_create_key(const uns... | {
"content_hash": "2df4ebc80e16cc6f6517b55fb8096b95",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 67,
"avg_line_length": 23.27777777777778,
"alnum_prop": 0.6921241050119332,
"repo_name": "fjz13/Medusa",
"id": "2e18b2ea0ef5eae79600dc6d4807495a992304e5",
"size": "1126",
... |
/******************************************************************
Theme Name: The Return of Minimalistic Me
Theme URI: https://github.com/aniketpant/return-of-minimalistic-me
Description: The second stable WordPress theme for my blog
Author: Aniket Pant
Author URI: http://www.aniketpant.com
Version: 2.0
Tags: ... | {
"content_hash": "a7f19b18123e7a30f9f10abee0455749",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 93,
"avg_line_length": 36.77215189873418,
"alnum_prop": 0.680895008605852,
"repo_name": "aniketpant/return-of-minimalistic-me",
"id": "0f49b2e42ca8baaee9d076ecf01773156c35c99... |
package org.apache.geode.internal.cache.tier.sockets.command;
import java.io.IOException;
import java.nio.ByteBuffer;
import org.jetbrains.annotations.NotNull;
import org.apache.geode.annotations.Immutable;
import org.apache.geode.internal.InternalDataSerializer;
import org.apache.geode.internal.cache.EventID;
impo... | {
"content_hash": "ad33a39a993dadc98613f722c54d1aee",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 95,
"avg_line_length": 38.77477477477478,
"alnum_prop": 0.7279275092936803,
"repo_name": "jdeppe-pivotal/geode",
"id": "81f2804bd9a8cd5c88fbbc63edc6b73a883e8ea9",
"size": ... |
<?xml version="1.0" encoding="UTF-8" ?>
<!--
~ 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 ... | {
"content_hash": "4c9c7bc9716dd4e1b19bfb3d64ecdb85",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 161,
"avg_line_length": 42.93630573248408,
"alnum_prop": 0.6714137368342976,
"repo_name": "motorina0/flowable-engine",
"id": "412b7a914c784895de20c47878730eac9ad03594",
"s... |
date: "2019-10-06T08:00:00+05:00"
title: "Usage: Git LFS setup"
slug: "git-lfs-setup"
weight: 12
toc: true
draft: false
menu:
sidebar:
parent: "usage"
name: "Git LFS setup"
weight: 12
identifier: "git-lfs-setup"
---
# Git Large File Storage setup
To use Gitea's built-in LFS support, you must update ... | {
"content_hash": "55ba1f8cf3e1575ad627634afccb09ab",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 72,
"avg_line_length": 21.44,
"alnum_prop": 0.6884328358208955,
"repo_name": "typeless/gitea",
"id": "2d5fab3cb3829935ea09d8c9d4affcc852b5569b",
"size": "540",
"binary": ... |
import { VisibleCardData } from "./VisibleCardData";
import { SeatMoneyData } from "./SeatMoneyData";
import { BetsMoneyData } from "./BetsMoneyData";
import { AbstractData } from "../../core/data/AbstractData";
export class SrvTUShowDownData extends AbstractData {
public seatID:number;
public notify:boolean;
... | {
"content_hash": "0d5e48eb7dc9e1eecb9ae2eefba6f8aa",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 60,
"avg_line_length": 24.454545454545453,
"alnum_prop": 0.741635687732342,
"repo_name": "gesh123/MyLibrary",
"id": "0b8033c94f32ab107f407bc2c6c3a7014ab1ea6a",
"size": "539... |
module Downlow
class Git < Fetcher
handles(/^git\:\/\//)
def fetch
self.destination = destination.dirname + destination.stem
git_clone
rm_dot_git unless options[:keep_git]
@local_path = destination
end
def git_clone
system "`which git` clone #{url} #{destin... | {
"content_hash": "5eeb28fced099ab5dabe5255cb3274bd",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 66,
"avg_line_length": 19.90909090909091,
"alnum_prop": 0.58675799086758,
"repo_name": "quirkey/downlow",
"id": "0bd80be4da06b8e30489ce43d86faaffcc16e777",
"size": "438",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.