text stringlengths 2 1.04M | meta dict |
|---|---|
const path = require("path");
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: path.resolve('.'),
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jas... | {
"content_hash": "e7413278c8d4452374e15e7e71e1bf83",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 120,
"avg_line_length": 22.483516483516482,
"alnum_prop": 0.5992179863147605,
"repo_name": "LGabAnnell/lazyload-inferno-component",
"id": "549f249618271b2582d8ef1fb32ff485caa... |
package examples
import (
"net/http"
"net/http/httptest"
"testing"
"github.com/gavv/httpexpect/v2"
)
func TestFruits(t *testing.T) {
handler := FruitsHandler()
server := httptest.NewServer(handler)
defer server.Close()
e := httpexpect.Default(t, server.URL)
e.GET("/fruits").
Expect().
Status(http.Sta... | {
"content_hash": "00cd08016f37d702143ef23d08b4fd63",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 70,
"avg_line_length": 21.558823529411764,
"alnum_prop": 0.6596180081855388,
"repo_name": "gavv/httpexpect",
"id": "6e09f1e1d827c4264390c91e27664a371ada3365",
"size": "1466... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>API 文档 [zTree -- jQuery 树插件]</title>
<link rel="stylesheet" href="apiCss/common.css" type="text/css">
<link rel='stylesheet' href='apiCss/zTreeStyleForApi.css' type='text/css'>
<script type="text/javascr... | {
"content_hash": "ed3ff306157b27416de12dd12d660774",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 219,
"avg_line_length": 44.359223300970875,
"alnum_prop": 0.620267016852703,
"repo_name": "ammeyjohn/boss",
"id": "2bd4d1b145c6dbaca24f01e2a6fd9eb788ae8f5e",
"size": "5023... |
package org.apache.accumulo.core.client.lexicoder;
import java.util.Arrays;
import org.apache.accumulo.core.clientImpl.lexicoder.AbstractLexicoderTest;
import org.junit.Test;
public class DoubleLexicoderTest extends AbstractLexicoderTest {
@Test
public void testSortOrder() {
assertSortOrder(new DoubleLexic... | {
"content_hash": "852ee1891d9cd1c6a719f9495d569564",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 100,
"avg_line_length": 38.1875,
"alnum_prop": 0.6898527004909983,
"repo_name": "phrocker/accumulo-1",
"id": "af770a0ffd29208cbf4d9baa21be8f04a32da265",
"size": "2029",
"... |
CONTAINER_NAME=obevo-postgresql-instance
OLD_CONTAINER_ID=$(docker ps -aqf "name=$CONTAINER_NAME")
if [ ! -z "$OLD_CONTAINER_ID" ]
then
echo "Shutting down old container"
docker stop $OLD_CONTAINER_ID
docker rm $OLD_CONTAINER_ID
fi
docker run --name $CONTAINER_NAME -e POSTGRES_PASSWORD=mysecretpassword -d... | {
"content_hash": "a8598f8c4a4e746eeb06d52889400cab",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 96,
"avg_line_length": 31.181818181818183,
"alnum_prop": 0.7346938775510204,
"repo_name": "goldmansachs/obevo",
"id": "7be6f51299b17666ca2279762e19d327d2123bdf",
"size": "9... |
/**
* A helper module for AngularUI Router, which allows you to handle redirect chains
*/
(function() {
'use strict';
angular.module('ui.router.redirect', ['ui.router'])
.provider('$redirect', redirectProvider);
redirectProvider.$inject = ['$urlRouterProvider'];
function redirectProvider($urlRouterProvid... | {
"content_hash": "0f632584397590ce402c63e4dd95559f",
"timestamp": "",
"source": "github",
"line_count": 356,
"max_line_length": 92,
"avg_line_length": 26.837078651685392,
"alnum_prop": 0.48869583420556834,
"repo_name": "leonuh/ui-router.redirect",
"id": "f582bf5fc3ccf5b88ab17e1328574d585c71bc8e",
"... |
/**
* Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.airavata.cloud.aurora.client.sdk;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.Standar... | {
"content_hash": "08aa27b4f1fe853c02477a4e48c022e1",
"timestamp": "",
"source": "github",
"line_count": 399,
"max_line_length": 178,
"avg_line_length": 29.959899749373434,
"alnum_prop": 0.6811109252133177,
"repo_name": "gouravshenoy/airavata",
"id": "5d83590c1f2cce58ad611f6b864c420b42f0be17",
"size... |
#include <dae.h>
#include <dae/daeDom.h>
#include <dom/domTranslate.h>
#include <dae/daeMetaCMPolicy.h>
#include <dae/daeMetaSequence.h>
#include <dae/daeMetaChoice.h>
#include <dae/daeMetaGroup.h>
#include <dae/daeMetaAny.h>
#include <dae/daeMetaElementAttribute.h>
daeElementRef
domTranslate::create(DAE& dae)
{
d... | {
"content_hash": "8e953f26f5ec0d00d9822cec5baa5a49",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 56,
"avg_line_length": 22.137931034482758,
"alnum_prop": 0.7040498442367601,
"repo_name": "veter-team/daeview",
"id": "2d3e0582a16cc4c9d5fc980f27c9b8ab05c8ed0a",
"size": "1... |
/*! Lightning Design System 2.16.0-beta.2 */
@charset "UTF-8";
@media (pointer: coarse) and (hover: none){
body{
font-size:1rem;
}
.slds-button.slds-accordion__summary-action{
line-height:1.875rem;
}
.slds-button{
--sds-c-button-line-height:2.625rem;
font-weight:700;
}
.slds-button_icon... | {
"content_hash": "712cb10893f686b910011526e334d8ab",
"timestamp": "",
"source": "github",
"line_count": 668,
"max_line_length": 492,
"avg_line_length": 29.11676646706587,
"alnum_prop": 0.6773264781491003,
"repo_name": "cdnjs/cdnjs",
"id": "95309b374382127867e5c6dbafa851d7b8895534",
"size": "19450",... |
package org.apache.flink.yarn;
import org.apache.flink.configuration.ConfigConstants;
import org.apache.flink.configuration.Configuration;
import org.apache.flink.configuration.CoreOptions;
import org.apache.flink.core.fs.FileSystem;
import org.apache.flink.core.fs.Path;
import org.apache.flink.runtime.fs.hdfs.Hadoo... | {
"content_hash": "8bd88b7f9eab7dfc7f02fc8eadb62dc8",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 118,
"avg_line_length": 40.83425414364641,
"alnum_prop": 0.6647273711270464,
"repo_name": "xccui/flink",
"id": "de576418d15a6c9d63fc4966c9e60b059949a2f7",
"size": "8196",
... |
from trex_stl_lib.api import *
from trex_stl_lib.utils import parsing_opts, text_tables
import threading
import tempfile
import select
from distutils import spawn
from subprocess import Popen
import subprocess
# defines a generic monitor writer
class CaptureMonitorWriter(object):
def deinit(self):
# by de... | {
"content_hash": "c48845a61d6e4ec1fed27e216c336f4f",
"timestamp": "",
"source": "github",
"line_count": 655,
"max_line_length": 172,
"avg_line_length": 33.966412213740455,
"alnum_prop": 0.5084501977705861,
"repo_name": "kisel/trex-core",
"id": "5673adc74bc83cc7e4371e9db32f2480de2ad902",
"size": "22... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8"/>
<title>Capabilities</title>
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
<!--[if IE 7]>
<link rel="stylesheet" href="font-awesome/css/font-awesom... | {
"content_hash": "64ede9f776be58ba82d12a7351291e6e",
"timestamp": "",
"source": "github",
"line_count": 577,
"max_line_length": 142,
"avg_line_length": 40.487001733102254,
"alnum_prop": 0.4532768289028723,
"repo_name": "EduCaMa/EduCaMa.github.io",
"id": "bff29582b9301995090860158579bd36a0105f70",
"... |
{% load i18n %}
{% load cache %}
{% load pubmantags %}
{% cache settings.CACHE_PERIOD featured_stories request.LANGUAGE_CODE %}
{% if featured_stories %}
<div id="featured-stories" class="featured-content">
{% for featured_story in featured_stories %}
<div class="featured-story featured-content-block"... | {
"content_hash": "1d46b3e2b031dd34d253dfe5804e0afe",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 110,
"avg_line_length": 32.09803921568628,
"alnum_prop": 0.48930971288943187,
"repo_name": "nathangeffen/django-pubman",
"id": "900961810dce3715eab4f49a1e2e7519aefaab67",
"... |
> Note: project not maintained anymore.
This is a symfony2 project to show you how work the Symfony2 admingenerator
https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle
# How to install
Copy and configure your db connections in paramaters.ini
```
cp app/config/parameters.yml.sample app/config/par... | {
"content_hash": "9615d28555ecb8bb5327e2a2f4e74b62",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 89,
"avg_line_length": 21.651515151515152,
"alnum_prop": 0.7410776766969909,
"repo_name": "symfony2admingenerator/AdmingeneratorIpsum",
"id": "826bb76384df474acd9ec8888722eee... |
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
/** Class containing SqlAgent operations. */
export class SqlAgentImpl {
/**
* Initialize a new instance of the class SqlAgent class.
* @param client Referen... | {
"content_hash": "5346da9f6750a8ca363e6ff24b0f41d4",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 159,
"avg_line_length": 40.02564102564103,
"alnum_prop": 0.6941063420884048,
"repo_name": "ealbertos/dotfiles",
"id": "585b4c52e32a6e273ba6e7e41eb24e366cc669e7",
"size": "3... |
import copy
import os
import re
import shutil
import tempfile
import unittest
from functools import partial
from pathlib import Path
import pytest
import requests
import yaml
from huggingface_hub import (
DatasetCard,
DatasetCardData,
EvalResult,
ModelCard,
ModelCardData,
metadata_eval_result,... | {
"content_hash": "9031b42e907a075e4772932245aab29c",
"timestamp": "",
"source": "github",
"line_count": 923,
"max_line_length": 113,
"avg_line_length": 34.360780065005414,
"alnum_prop": 0.5912659624783225,
"repo_name": "huggingface/huggingface_hub",
"id": "f035226811d061b57db526c3117679fa7766505b",
... |
package com.me.diankun.drawdemo;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
/**
* Created by diankun on 2016/3/15.
*/
public class MoveViewActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(s... | {
"content_hash": "6c60462c25f4d49b48d3304c6059d847",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 57,
"avg_line_length": 25,
"alnum_prop": 0.7075,
"repo_name": "qdiankun/androidbase",
"id": "534f146cfc0a6098d968941803e849a4ac64fa10",
"size": "400",
"binary": false,
... |
package javax.swing.undo;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;
/**
* <P>StateEdit is a general edit for objects that change state.
* Objects being edited must conform to the StateEditable interface.</P>
*
* <P>This edit class works by asking an object to store it's ... | {
"content_hash": "ae1a04a58ade6f1f455c66ff6f091e04",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 104,
"avg_line_length": 25.064705882352943,
"alnum_prop": 0.6076038488617695,
"repo_name": "rokn/Count_Words_2015",
"id": "8d01282168f0911450c9a15e05cd504f4e6cf4e4",
"size... |
<section data-ng-controller="BankController as controller" data-ng-init="controller.fnInitLoadChips()">
<div class="row">
<div class="col-md-12">
<div class="page-header">
<h1>Load Chips into Bank</h1>
</div>
</div>
</div>
<div class="row">
<div class="col-md-offset-4 col-md-4">
<fieldset>
<di... | {
"content_hash": "2e46d625c5d5c58f582b8ae54f1ef8c5",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 197,
"avg_line_length": 34.829268292682926,
"alnum_prop": 0.5861344537815126,
"repo_name": "josephrichard7/runestake",
"id": "1279ccdd402430415dfdc1afa658ffa1f41019f6",
"si... |
package org.elasticsearch.action.delete;
import org.elasticsearch.action.ActionRequestValidationException;
import org.elasticsearch.action.support.replication.ShardReplicationOperationRequest;
import org.elasticsearch.common.Nullable;
import org.elasticsearch.common.Required;
import org.elasticsearch.common.io.strea... | {
"content_hash": "17a00a15ef3dee654d6487e94088be02",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 117,
"avg_line_length": 28.214285714285715,
"alnum_prop": 0.6303797468354431,
"repo_name": "lmenezes/elasticsearch",
"id": "6cc6ec20a6fd9298147e4a09362530c5ce62e311",
"siz... |
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ExecutionException;
/**
* This class performs calculation. The connections in hypercube are represents
* as binary tree.
*
* @author Michał Szczygieł <michal.szczygiel@wp.pl>
*
*/
public class Algorit... | {
"content_hash": "919c8251a57cdac9eaf9251a62a85102",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 81,
"avg_line_length": 31.773755656108598,
"alnum_prop": 0.5753346624893193,
"repo_name": "M4GiK/ztp-projects",
"id": "2138328e70bcf36f790bb7529a58811f29b4b062",
"size": "... |
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | {
"content_hash": "b9aa178b100fec914cca08d48b8f9a7f",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 76,
"avg_line_length": 26.852941176470587,
"alnum_prop": 0.7086527929901424,
"repo_name": "danielromlein/dashboard",
"id": "c6be488e378a33ee80d24213e0388288c93333ff",
"size... |
/*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | {
"content_hash": "b5e2fe2dee8f0aff4cc8cd88e4fea4e8",
"timestamp": "",
"source": "github",
"line_count": 1589,
"max_line_length": 283,
"avg_line_length": 51.545626179987416,
"alnum_prop": 0.7137938612555856,
"repo_name": "Treeeater/WebPermission",
"id": "53581bb700a9af73377bb3cfd8adc48a58e4f713",
"s... |
<template>
<nav role="navigation">
<div class="nav-wrapper container">
<a class="brand-logo" href="#">
<i class="mdi-action-home left"></i>
${router.title}
</a>
<a href="#" data-activates="mobile-demo" class="button-collapse"><i class="mdi-navigation-menu"></i></a>
<ul clas... | {
"content_hash": "2e617782008af9aa1a9048cf8bfb9863",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 110,
"avg_line_length": 33.5,
"alnum_prop": 0.5361653272101033,
"repo_name": "pyarmak/aurelia-electron-starter",
"id": "cba50c8449f85f0d937dd9fcd41e32f66256ef4d",
"size": "... |
#pragma once
#include <aws/snowball/Snowball_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/snowball/model/ClusterState.h>
#include <aws/snowball/model/JobType.h>
#include <aws/snowball/model/SnowballType.h>
#include <aws/core/utils/DateTime.h>
#include <aws/snowball/model/JobResource.h>
#... | {
"content_hash": "9a18923d7c66eadaa1601ad780a577d8",
"timestamp": "",
"source": "github",
"line_count": 723,
"max_line_length": 145,
"avg_line_length": 42.8865836791148,
"alnum_prop": 0.672622311091044,
"repo_name": "jt70471/aws-sdk-cpp",
"id": "8b8f7fcbff90aba55c107d6d74a36c890f0a71e9",
"size": "3... |
module Dhfex::Mails::Fedex
class Validator
def initialize(number)
@number = number
end
def valid?
@number.to_s.match(/^[0-9]{34}$/).present?
end
end
end
| {
"content_hash": "ec2db3a33724c9036fcfb31564dbe04e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 48,
"avg_line_length": 14.461538461538462,
"alnum_prop": 0.5904255319148937,
"repo_name": "yuryromanov/dhfex",
"id": "460270ce784d3424ee8faad4cabf402adb3fd14d",
"size": "18... |
<?php
/**
* @namespace
*/
namespace Zend\Locale;
/**
* include needed classes
*/
require_once 'Zend/Locale/Data.php';
/**
* @category Zend
* @package Zend_Locale
* @subpackage Format
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.z... | {
"content_hash": "b9ae10018af6b7d20e26c7abee012fe2",
"timestamp": "",
"source": "github",
"line_count": 1251,
"max_line_length": 167,
"avg_line_length": 41.81774580335731,
"alnum_prop": 0.4645983866651374,
"repo_name": "FbN/Zend-Framework-Namespaced-",
"id": "8f88715c573546db7cbed49690408115635cdbe8"... |
/* @LICENSE(MUSLC_MIT) */
#include <limits.h>
#include <fenv.h>
#include "libm.h"
/*
If the result cannot be represented (overflow, nan), then
lrint raises the invalid exception.
Otherwise if the input was not an integer then the inexact
exception is raised.
C99 is a bit vague about whether inexact exception is
all... | {
"content_hash": "57325ba2aa1a1339346a599ce3329b0d",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 60,
"avg_line_length": 24.21276595744681,
"alnum_prop": 0.7337434094903339,
"repo_name": "gapry/refos",
"id": "2878485fd5f215caf9e9a8220a0a92477115ba62",
"size": "1138",
... |
<a href="http://github.com/angular/angular.js/tree/v1.2.10/src/ng/sce.js#L92" class="view-source btn btn-action"><i class="icon-zoom-in"> </i> View source</a><a href="http://github.com/angular/angular.js/edit/master/src/ng/sce.js" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><... | {
"content_hash": "dee33825ae8776852106c170295d440c",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 465,
"avg_line_length": 89.6923076923077,
"alnum_prop": 0.7349914236706689,
"repo_name": "leika/AD_AggregatedDashboards_Sample",
"id": "4a77762cc8968d1210dbee80db544109a96d3e... |
A valid language code is specified by a valid **ISO 639-2 language code**, optionally followed by a valid **ISO 3166-1 alpha-2 country code**, such as `fr` or `en-US`.
To start you need to specify the languages supported by your application in the `conf/application.conf` file:
```
application.langs="en,en-US,fr"
```
... | {
"content_hash": "242f679131c595c305b4401da0ec8778",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 340,
"avg_line_length": 35.301886792452834,
"alnum_prop": 0.7423837520042758,
"repo_name": "noel-yap/setter-for-catan",
"id": "90d132bdb2f64908462e6b76087734006a459c8c",
"s... |
#include <Base.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Protocol/ArmScmiBaseProtocol.h>
#include <Protocol/ArmScmiClockProtocol.h>
#include <Protocol/ArmScmiPerformanceProtocol.h>
#include "ArmScmiBaseProtocolPrivate.h... | {
"content_hash": "98fa3eec853b1794a9eef846f3c2174b",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 75,
"avg_line_length": 30.31159420289855,
"alnum_prop": 0.6206072196987807,
"repo_name": "MattDevo/edk2",
"id": "0400799b5c521dcfa2ce866b0ffd48530e8cf0d1",
"size": "4859",... |
package com.github.mauricio.async.db.util
import org.specs2.mutable.Specification
import io.netty.util.CharsetUtil
import io.netty.buffer.Unpooled
class ChannelUtilsSpec extends Specification {
val charset = CharsetUtil.UTF_8
"utils" should {
"correctly write and read a string" in {
val content = "... | {
"content_hash": "24018b1357e087bcc0071e6b5585a22b",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 73,
"avg_line_length": 23.714285714285715,
"alnum_prop": 0.6824440619621343,
"repo_name": "dripower/postgresql-async",
"id": "cd0c85e3a5041e049984b5e95b37398922ec141a",
"si... |
* gulp task watches TypeScript file changes.
* gulp tasks sends http request, including all changed file paths, to hotreload server
* hotreload sends websocket request to browser, including all changed file paths.
* System.update(changedPaths) will be called to hotreload the code in the browser without reloading the pa... | {
"content_hash": "f10d848d5e9abd462f5e660e1eccdc2d",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 108,
"avg_line_length": 81.2,
"alnum_prop": 0.8029556650246306,
"repo_name": "roelvanlisdonk/dev",
"id": "4ec7275e136f513e760cb7fd6f63483ed9be3b09",
"size": "427",
"binary... |
# http://pear.php.net/manual/en/guide.users.commandline.channels.php
require 'chef/mixin/shell_out'
require 'chef/mixin/language'
include Chef::Mixin::ShellOut
def whyrun_supported?
true
end
action :discover do
unless exists?
Chef::Log.info("Discovering pear channel #{@new_resource}")
exec... | {
"content_hash": "cfb31a1b7eff5aa43b0e31d8bc569475",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 122,
"avg_line_length": 27.635135135135137,
"alnum_prop": 0.6689486552567238,
"repo_name": "williamCardenas/Ite_teste_PHP",
"id": "78a96ea7611f577e8838ec41edfd4def4633b41a",
... |
package graph_test
import (
"github.com/chrisbbe/GoAnalysis/analyzer/linter/ccomplexity/graph"
"testing"
)
// Letter is the type to store in the graph.
type Letter struct {
letter string
}
// Satisfies the Value interface.
func (l Letter) UID() string {
return l.letter
}
// Letter must satisfies the Value inter... | {
"content_hash": "ffb9af24e81f7652dc2dc7ce8ad2a592",
"timestamp": "",
"source": "github",
"line_count": 342,
"max_line_length": 123,
"avg_line_length": 27.538011695906434,
"alnum_prop": 0.6596942025907836,
"repo_name": "chrisbbe/GoAnalysis",
"id": "2c7154406edb19977edbc57153c15d1fa8e75c1f",
"size":... |
package com.siyeh.ig.bugs;
import com.intellij.codeInsight.daemon.quickFix.LightQuickFixParameterizedTestCase;
import com.intellij.codeInspection.LocalInspectionTool;
import org.jetbrains.annotations.NotNull;
public class EmptyStatementBodyInspectionFixTest extends LightQuickFixParameterizedTestCase {
public void ... | {
"content_hash": "263b647a8b62287da6b82460a78980d2",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 93,
"avg_line_length": 30.476190476190474,
"alnum_prop": 0.80625,
"repo_name": "jk1/intellij-community",
"id": "984b9b85f186005fe9760274a1e2d1a3680ff74e",
"size": "1240",
... |
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using ImageGallery.Models;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Se... | {
"content_hash": "a1e09be02dc0f9355e0a0d7e8eed10a6",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 115,
"avg_line_length": 37.28155339805825,
"alnum_prop": 0.6026041666666667,
"repo_name": "gyuwon/ImageGallery",
"id": "2aa632dc133ccd7fc48db203180ac97f1e0144f3",
"size": ... |
<?php
/**
* CakePHP Debug Level:
*
* Production Mode:
* 0: No error messages, errors, or warnings shown. Flash messages redirect.
*
* Development Mode:
* 1: Errors and warnings shown, model caches refreshed, flash messages halted.
* 2: As in 1, but also with full debug messages and SQL output.
*
* In pro... | {
"content_hash": "bf8ff2c86fe04b9ad9974712bee4b601",
"timestamp": "",
"source": "github",
"line_count": 385,
"max_line_length": 118,
"avg_line_length": 36.753246753246756,
"alnum_prop": 0.6847349823321555,
"repo_name": "maths22/ibl-scheduler",
"id": "5e3acc2cb1f233cbdf0a5e977e94b9ef029df437",
"size... |
var util = require('util');
var events = require('events');
var http = require('http');
var https = require('https');
var Logger = require('./../util/logger');
var format = util.format;
module.exports = (function() {
var Settings = {
selenium_host : 'localhost',
selenium_port : 4444,
default_path ... | {
"content_hash": "bf8294db8ed5197814855c1a4f934cf9",
"timestamp": "",
"source": "github",
"line_count": 325,
"max_line_length": 172,
"avg_line_length": 29.501538461538463,
"alnum_prop": 0.6014810179390905,
"repo_name": "Crunch-io/nightwatch",
"id": "62f576074d9636081b2f1e03f47fd4f877ca0fc0",
"size"... |
package org.apache.drill.exec.store.parquet.columnreaders;
import org.apache.drill.common.exceptions.ExecutionSetupException;
import org.apache.drill.exec.ExecConstants;
import org.apache.drill.exec.vector.BigIntVector;
import org.apache.drill.exec.vector.BitVector;
import org.apache.drill.exec.vector.DateVector;
imp... | {
"content_hash": "9aa52b3e06183f6ecc3a2c72bbbab46a",
"timestamp": "",
"source": "github",
"line_count": 321,
"max_line_length": 205,
"avg_line_length": 61.92211838006231,
"alnum_prop": 0.7134879508980229,
"repo_name": "vdiravka/drill",
"id": "e084c2d0cd513b0001e849e3cf650eb22faa419d",
"size": "2067... |
Freeze table columns in place.
## Requirements
Requires [`jquery-tableslice`][tableslice] and [`jquery-tablesplit`][tablesplit].
## Installing
With [Bower][bower]:
```sh
$ bower install --save jquery-tableslice jquery-tablesplit jquery-columnfreeze
```
## Example
Using default config:
```js
$('.example').column... | {
"content_hash": "d982f450c119e6956aa08208d893af63",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 113,
"avg_line_length": 28.746835443037973,
"alnum_prop": 0.6948480845442536,
"repo_name": "j-/jquery-columnfreeze",
"id": "f745b37150acf06d79d7c7c32fa8b1fddae8173e",
"size... |
<html>
<body>
<table border="1">
<tr>
<td>name</td><td>value</td><td>description</td>
</tr>
<tr>
<td><a name="hadoop.job.history.location">hadoop.job.history.location</a></td><td></td><td> If job tracker is static the history files are stored
in this single well known place. If No value is set here, by default,
it... | {
"content_hash": "c53bfc6041d3e53e861aa717184af756",
"timestamp": "",
"source": "github",
"line_count": 822,
"max_line_length": 221,
"avg_line_length": 50.92457420924574,
"alnum_prop": 0.7224319159101767,
"repo_name": "koven2049/hdfs-cloudera-cdh3u3-production",
"id": "b91a1a5a27b9be3b32948219636f38d... |
/*************************************************************************
** **
** Description **
** **
** The class Param... | {
"content_hash": "5a5cfa5a863a671ab284d431ddf1b2c5",
"timestamp": "",
"source": "github",
"line_count": 606,
"max_line_length": 80,
"avg_line_length": 41.49009900990099,
"alnum_prop": 0.5211788569383129,
"repo_name": "tesch1/GAMMA",
"id": "800ef4ee72ec1f3caa48c16aa239602084170aad",
"size": "25940",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Wed May 26 22:29:58 EDT 2004 -->
<TITLE>
gravity (Gravity Framework (Version 1.0-beta-1))
</TITLE>
<META NAME="keywords" CONTENT="gravity package">
<LINK RE... | {
"content_hash": "c2384630ec38cb672498b8ce9724fb4d",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 105,
"avg_line_length": 29.89873417721519,
"alnum_prop": 0.6998306519898391,
"repo_name": "harishkswamy/gravity",
"id": "a3ac02dda728cc74c37ee3f4fea869f95c143840",
"size": ... |
package au.edu.uq.rcc.nimrod.optim.modules;
import au.edu.uq.rcc.nimrod.optim.IAlgorithmDefinition;
public interface INimrodOKModule {
public String getName();
public Author[] getAuthors();
IAlgorithmDefinition[] getAlgorithms();
}
| {
"content_hash": "b3bb6fd7435dbb539147d30e76d49be2",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 55,
"avg_line_length": 21.083333333333332,
"alnum_prop": 0.7351778656126482,
"repo_name": "UQ-RCC/nimrodok-interface",
"id": "9fd72bd0c7ff3c0c5026da669f860d4650189334",
"si... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "ee8d68a0bc8bedc377efbc61b5f30abb",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "c897e88bbff6996de9fde87298fe69385eb30dec",
"size": "241... |
function Fcn_GUI_INI_TP_Switch_with_without_flame(varargin)
hObject = varargin{1};
handles = guidata(hObject);
global CI
switch CI.CD.isNoFlame
case 1
set(handles.pop_HA_style, 'value',1,'enable','off');
set(handles.edit_TD_Tratio, 'value',1,'enable','off');
otherwise
set(handles.pop_H... | {
"content_hash": "52d6cdff8c9be794d4219eee0aec82a1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 62,
"avg_line_length": 33.15384615384615,
"alnum_prop": 0.6519721577726219,
"repo_name": "MorgansLab/OSCILOS-Long-1-3",
"id": "b74dc8e889711eec751217ce54622156b113ac12",
"s... |
Напишете функция average, която приема като аргумент масив и връща средно аритметично на елементите на масива.
# Task 2
Напишете функция circleShift, която приема като аргументи масив и число N и отмества елементите на масива N пъти надясно.
# Task 3
Напишете функция encode, която приема като аргумент символен ни... | {
"content_hash": "881c87132b6332f662decaaba0a11f7e",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 136,
"avg_line_length": 33.2,
"alnum_prop": 0.8147590361445783,
"repo_name": "Martinski95/FMI_UP_IS_2017_2018",
"id": "17e2290a65280d402a15c929787217684de67cf7",
"size": "1... |
import * as regex from "../../helpers/regex";
import * as t from "../../../types";
export function shouldVisit(node) {
return regex.is(node, "y");
}
export function Literal(node) {
if (!regex.is(node, "y")) return;
return t.newExpression(t.identifier("RegExp"), [
t.literal(node.regex.pattern),
t.literal... | {
"content_hash": "e71276e2f4e29b7478220c80c0e81abf",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 50,
"avg_line_length": 24.785714285714285,
"alnum_prop": 0.6397694524495677,
"repo_name": "casser/asx",
"id": "3227c59635cb1f2eab073856cb71b32b35df9d6c",
"size": "347",
"... |
(function($)
{
'use strict';
if (!Function.prototype.bind)
{
Function.prototype.bind = function(scope)
{
var fn = this;
return function()
{
return fn.apply(scope);
};
};
}
var uuid = 0;
// Plugin
$.fn.redactor = function(options)
{
var val = [];
var args = Array.prototype.slice.ca... | {
"content_hash": "756c27ad809ab9264dc9c6354416e228",
"timestamp": "",
"source": "github",
"line_count": 11168,
"max_line_length": 234,
"avg_line_length": 24.6822170487106,
"alnum_prop": 0.5144113389757338,
"repo_name": "nathanhnew/NLNF",
"id": "778fc7349c9fc2c816a0fe616920aa2053909aaa",
"size": "27... |
#ifndef CRUFT_UTIL_POINTER_HPP
#define CRUFT_UTIL_POINTER_HPP
#include <cstddef>
#include <cstdint>
namespace util {
///////////////////////////////////////////////////////////////////////////
/// round the pointer upwards to satisfy the provided alignment
template <typename T>
constexpr T*
ali... | {
"content_hash": "9259aed8549626039c8da63d5fb81d82",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 80,
"avg_line_length": 27.915254237288135,
"alnum_prop": 0.49848208864602306,
"repo_name": "gim/libgim",
"id": "bd55ccfc85733ad004256cb4502a2c0f7a9dfd30",
"size": "2269",
... |
#ifndef _TCOD_BRESENHAM_H
#define _TCOD_BRESENHAM_H
typedef bool (*TCOD_line_listener_t) (int x, int y);
TCODLIB_API void TCOD_line_init(int xFrom, int yFrom, int xTo, int yTo);
TCODLIB_API bool TCOD_line_step(int *xCur, int *yCur); /* advance one step. returns true if we reach destination */
/* atomic callback fun... | {
"content_hash": "3533cdd19af827de10346340dd96b535",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 130,
"avg_line_length": 32.63333333333333,
"alnum_prop": 0.7242083758937692,
"repo_name": "lantra/vugamedev",
"id": "82883b44f9bd19b3913ecd1a5accb6318a27edea",
"size": "248... |
from django.test import TestCase
from user_contacts.models import (
Person,
Phone)
class PersonTest(TestCase):
def test_unicode(self):
person = Person()
first_name = "fred"
last_name = "smith"
person.first_name = first_name
person.last_name = last_name
expec... | {
"content_hash": "1af9e458ba58f7c4f913d974fcbd55a3",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 53,
"avg_line_length": 24.642857142857142,
"alnum_prop": 0.5942028985507246,
"repo_name": "Victory/realpython-tdd",
"id": "2d1f8fc7c55a92c8d1b8d54e68804548c64e7cfa",
"size"... |
<?php
require_once("inc.php");
checkLogin();
// Parameter auslesen
$id = getArrayElement($_GET, "id");
$secret = getArrayElement($_GET, "secret");
$twick = TwickInfo::fetchById($id);
$user = getUser();
// Sicher ist sicher
if($user->getId() != $twick->getUserId() && !isAdmin() || $secret != $user->getSecr... | {
"content_hash": "c4cf766bbe4174b199749ad2e1e88c03",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 205,
"avg_line_length": 40.69387755102041,
"alnum_prop": 0.6258776328986961,
"repo_name": "derlangemarkus/Twick.it",
"id": "dd2eea65da62c8b70f0c3f706ccdec4a40a8c1ab",
"size... |
package com.google.cloud.compute.v1;
import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.paging.AbstractFixedSizeCollection;
import com.goog... | {
"content_hash": "bb95c23555ad507c7e3edb0d1b52c271",
"timestamp": "",
"source": "github",
"line_count": 849,
"max_line_length": 160,
"avg_line_length": 41.08362779740872,
"alnum_prop": 0.7364105504587156,
"repo_name": "vam-google/google-cloud-java",
"id": "7708ee9c662d9b4b92cea655fd29ffd2f8740628",
... |
package com.facebook.buck.python;
import static org.junit.Assert.assertThat;
import com.facebook.buck.cli.BuildTargetNodeToBuildRuleTransformer;
import com.facebook.buck.cli.FakeBuckConfig;
import com.facebook.buck.cxx.CxxBinaryBuilder;
import com.facebook.buck.cxx.CxxPlatformUtils;
import com.facebook.buck.io.Alwa... | {
"content_hash": "731a5a64a40d06dc12b490bb7153e2d2",
"timestamp": "",
"source": "github",
"line_count": 291,
"max_line_length": 96,
"avg_line_length": 42.243986254295535,
"alnum_prop": 0.6661514683153014,
"repo_name": "mikekap/buck",
"id": "c912aad7e1060ae8704657f62eee7e9cc81f3ce3",
"size": "12898"... |
import arcpy
from arcpy.sa import *
import os
def init(input_shp):
#arcpy.env.workspace = arcpy.env.scratchFolder
arcpy.CheckOutExtension('Spatial')
arcpy.AddMessage(arcpy.CheckExtension('Spatial'))
# adding new shapefile to ArcMap
mxd = arcpy.mapping.MapDocument("CURRENT")
df = a... | {
"content_hash": "32db66aa704362187fdbb88991cd115d",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 79,
"avg_line_length": 32.666666666666664,
"alnum_prop": 0.710204081632653,
"repo_name": "mdragunski/BottleNcr",
"id": "ad101983da039c3d744a32283ad2ebf85aeb8a9d",
"size": "... |
<config>
<maxchars>10000</maxchars>
<maxrows>500</maxrows>
<timeout>5</timeout>
<memory>100</memory>
<permission>admin</permission>
</config> | {
"content_hash": "794547e1f18a87c1678f7ba2d9da2a61",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 32,
"avg_line_length": 22.428571428571427,
"alnum_prop": 0.6687898089171974,
"repo_name": "ksclarke/basex",
"id": "83da3a46dfb8810c081a361da9d6286389423f9d",
"size": "157",
... |
<html>
<head lang="en">
<!-- IE Edge Meta Tag -->
<meta charset="UTF-8">
<!-- Viewport : enables combatibility with display on smaller devices -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<titl... | {
"content_hash": "a498faf38eeb617374b33e53a06504a6",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 185,
"avg_line_length": 43.12883435582822,
"alnum_prop": 0.48236130867709814,
"repo_name": "DefendersOfNemo/SavingNemo",
"id": "64968228ee6722a374545bb490f4db36436ee157",
... |
define(["../compat"],
function (compat) {
function BaseSegmentation(imageData, options) {
if (!(imageData instanceof ImageData))
throw "Invalid ImageData";
this.imageData = compat.createImageData(imageData.width, imageData.height);
this.imageData.data.set(imageData.data);
}
BaseSegmentation.pr... | {
"content_hash": "44b9d84c4476d72acc55498df2d9bac5",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 79,
"avg_line_length": 27.5,
"alnum_prop": 0.7113636363636363,
"repo_name": "kyamagu/js-segment-annotator",
"id": "956485c3be653ee7552556d755c4a4efd9bd18f8",
"size": "532",... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,700' rel='stylesheet' type='text/css'>
<link rel="st... | {
"content_hash": "efdc198d8bbd46c3d3af864ff4265cd2",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 346,
"avg_line_length": 31.936781609195403,
"alnum_prop": 0.5987043368724132,
"repo_name": "ashishkg0022/ashishkg0022.github.io",
"id": "3f7ee444d31d1bfb9613b5a2f3779386dfd0... |
package com.github.sworisbreathing.sfmf4j.api;
import java.io.File;
/**
* Interface for callbacks invoked when a directory's contents have changed.
* Developers are encouraged to extend {@link DirectoryListenerAdapter} if they
* only need to implement a subset of this interface's callbacks.
*
* @author Steven... | {
"content_hash": "6310016b42a7e2363cb1a5598ec80c14",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 79,
"avg_line_length": 26.09090909090909,
"alnum_prop": 0.6782810685249709,
"repo_name": "sworisbreathing/sfmf4j",
"id": "5d2614e9db9406d47680fd21ebcf6515051f8bf6",
"size":... |
"""
SymPy is a Python library for symbolic mathematics. It aims to become a
full-featured computer algebra system (CAS) while keeping the code as
simple as possible in order to be comprehensible and easily extensible.
SymPy is written entirely in Python and does not require any external
libraries, except optionally for... | {
"content_hash": "4a0776defa533d53f256825ce9c90d97",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 75,
"avg_line_length": 30.682539682539684,
"alnum_prop": 0.743921365752716,
"repo_name": "kmacinnis/sympy",
"id": "b81cea2b36ad0ec3e43c67181f9b92d8ebd1257d",
"size": "1933"... |
package org.mybatis.generator.api.dom.java;
import static org.mybatis.generator.api.dom.OutputUtilities.calculateImports;
import static org.mybatis.generator.api.dom.OutputUtilities.javaIndent;
import static org.mybatis.generator.api.dom.OutputUtilities.newLine;
import static org.mybatis.generator.internal.util... | {
"content_hash": "213c885c615686e35fbce7108e14cda1",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 82,
"avg_line_length": 27.710280373831775,
"alnum_prop": 0.5779089376053963,
"repo_name": "ivaneye/pig-template",
"id": "85a9c2d7f101729428dd7dafd62c7ce13d42ad5c",
"size":... |
package conf
import (
"io/ioutil"
"log"
"os"
"github.com/mitchellh/go-homedir"
"gopkg.in/yaml.v2"
)
// Configuration is the struct representing a configuration.
type Configuration struct {
Service string `yaml:"service"`
Token string `yaml:"token"`
}
// C is the exported global configuration variable
var ... | {
"content_hash": "73d4b7a6334906e00d3cf29c6d4d3fe3",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 85,
"avg_line_length": 21.071428571428573,
"alnum_prop": 0.6610169491525424,
"repo_name": "Depado/goploader",
"id": "53f65dc11d2939603945ab7771e057484c072511",
"size": "118... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coalgebras: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | {
"content_hash": "2fcbc2c35ac39a3a1ed4626df35477cb",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 399,
"avg_line_length": 41.95375722543353,
"alnum_prop": 0.5578671810416093,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "4f76610696eab66f5cd9196ee1d554e935798752",
... |
SELECT DISTINCT SOURCE_CODE collate Latin1_General_CS_AS, TARGET_CONCEPT_ID
FROM SOURCE_TO_CONCEPT_MAP
WHERE SOURCE_VOCABULARY_ID IN (11, 900)
AND TARGET_VOCABULARY_ID = 11
AND PRIMARY_MAP = 'Y'
AND (INVALID_REASON IS NULL or INVALID_REASON = '')
AND GETDATE() BETWEEN VALID_START_DATE AND VALID_END_DA... | {
"content_hash": "d0184df1e71c1b90dda4c9ebbd218cb4",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 76,
"avg_line_length": 46,
"alnum_prop": 0.7298136645962733,
"repo_name": "OHDSI/ETL-CDMBuilder",
"id": "1bd6bf6adb477529ce89eb4a7030b855826d5180",
"size": "324",
"binary"... |
@NonNullInternalApi
package org.gradle.internal.fingerprint.impl;
import org.gradle.internal.NonNullInternalApi;
| {
"content_hash": "da658a1022cb097b29e10f78f824f7d8",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 46,
"avg_line_length": 19.333333333333332,
"alnum_prop": 0.8448275862068966,
"repo_name": "robinverduijn/gradle",
"id": "149e7aa0759588699b6a18f509fd2e5baec8c900",
"size": "... |
package com.compositesw.services.system.admin.resource;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for foreignKeyList complex type.
* ... | {
"content_hash": "946e347141a0c0fcfd43bcbcf7ff432f",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 155,
"avg_line_length": 28.761194029850746,
"alnum_prop": 0.621691748832382,
"repo_name": "cisco/PDTool",
"id": "73a55e906a3625e52b553fca4ed474e6041ebcb7",
"size": "1927",
... |
from ..parsers import RegisterParser
def test_parse_register_proper_data(Request):
parser = RegisterParser()
test_data = {
'email': 'test_email',
'password': 'test_password',
}
data = parser.parse_args(req=Request(test_data))
assert data == test_data
def test_parse_register_mis... | {
"content_hash": "2b8de38e0c39a342851d6ab3df68058a",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 71,
"avg_line_length": 29.217391304347824,
"alnum_prop": 0.6488095238095238,
"repo_name": "kszarlej/libkeep",
"id": "44e2e856ce528f54a14c3afdffb07d806c0f1a70",
"size": "672... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6ba4a00b03c09e130396ddf453d57997",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "a431a52be1613349771d170d64d230a75f69ea35",
"size": "166... |
<!doctype html>
<html class="no-js" lang="{% if site.language == nil %}en{% else %}{{ site.language }}{% endif %}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% if page.meta_title %}{{ page.meta_title }}{% elsif page.title %}{{ page.title }}{% els... | {
"content_hash": "4bd211fd6b99f539642d1db7c21d8a26",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 367,
"avg_line_length": 59.21052631578947,
"alnum_prop": 0.6290370370370371,
"repo_name": "cstac/cstac.github.io",
"id": "c55a169e0183292c21e8d664bbfc6aff52423211",
"size":... |
/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
display: none;
}
.ui-helper-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.ui-helper-reset {
margin: 0;
padding: 0;
border: 0;
outlin... | {
"content_hash": "e5c53a3fbccaa997ae54c025bc4c0a0f",
"timestamp": "",
"source": "github",
"line_count": 1171,
"max_line_length": 165,
"avg_line_length": 25.831767719897524,
"alnum_prop": 0.6892789844292373,
"repo_name": "sinisterchipmunk/jax",
"id": "20321e42028a200165994dfd012a171261bc4994",
"size... |
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message ... | {
"content_hash": "ce36557c3ae14c0998b9e10a31b359cd",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 264,
"avg_line_length": 98.8103448275862,
"alnum_prop": 0.648490664805444,
"repo_name": "pranjalcodefire/yiiuserplugin",
"id": "6bb56e0930043e43ba834ddf28c595237b26b6db",
... |
package poussecafe.attribute.entity;
import java.util.Collection;
import poussecafe.domain.Entity;
import poussecafe.domain.EntityAttributes;
public class EntityMapAttributeBuilder<K, E extends Entity<K, ?>> {
EntityMapAttributeBuilder(Class<E> entityClass) {
this.entityClass = entityClass;
}
pr... | {
"content_hash": "c0c7cfd79714b8f07a3393ac0120548b",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 108,
"avg_line_length": 32.86666666666667,
"alnum_prop": 0.7139959432048681,
"repo_name": "pousse-cafe/pousse-cafe",
"id": "e0308fc7f6e17f5d936819b36ba5669bf1411658",
"size... |
package org.apache.calcite.avatica.remote;
import org.apache.http.HttpHost;
import org.apache.http.NoHttpResponseException;
import org.apache.http.auth.AuthSchemeProvider;
import org.apache.http.auth.AuthScope;
import org.apache.http.auth.UsernamePasswordCredentials;
import org.apache.http.client.ClientProtocolExcept... | {
"content_hash": "6112a465cb8bd654cd8e092c9dcf0d47",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 98,
"avg_line_length": 39.790055248618785,
"alnum_prop": 0.7553457372951958,
"repo_name": "yeongwei/incubator-calcite",
"id": "5e8fb5f166d45bb9af50e297e9a828076100cfb0",
"... |
import { mount } from '../../test-helpers/EnzymeHelper';
import browser from 'sinon-chrome';
import React from 'react';
import Watching from '../../src/class/popup/Watching';
window.browser = browser;
const item = {title: `Test`};
const component = mount(
<Watching item={item}/>
);
delete window.browser;
describe... | {
"content_hash": "614b9853de7209142c7750477804222c",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 158,
"avg_line_length": 35.132075471698116,
"alnum_prop": 0.667561761546724,
"repo_name": "MrMamen/traktflix",
"id": "5d04b99120c46de4da14c0a24642b54cdde238c4",
"size": "18... |
// <copyright file="ICompilationManager.cs" company="Microsoft Open Technologies, Inc.">
// Copyright 2011-2013 Microsoft Open Technologies, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may ob... | {
"content_hash": "88d6bee3493aa3a33aad78a5151b471d",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 89,
"avg_line_length": 38.07692307692308,
"alnum_prop": 0.7484848484848485,
"repo_name": "shinyhappyrachy/Katana-Project",
"id": "640909efb27c2193ad5172320de7281cff358a07",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "85d624aeb03fbff67b36cb1847f10406",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "f68eb55db07227155f12459b2f61e552fba337fe",
"size": "19... |
package 'vim'
| {
"content_hash": "fcc3e5c17e09173a8977d1ca9853ed3c",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 13,
"avg_line_length": 7.5,
"alnum_prop": 0.6666666666666666,
"repo_name": "theappleman/cookbooks",
"id": "18945a96528427d5a7dd7110adc2ed94c36908a2",
"size": "15",
"binary... |
package edu.illinois.my.wiki.portlet.http.services;
import com.google.inject.Inject;
import edu.illinois.my.names.Username;
import edu.illinois.my.security.RequestRegistrar;
import edu.illinois.my.security.keys.RequestKey;
import edu.illinois.my.wiki.services.WikiService;
import edu.illinois.my.wiki.services.paramet... | {
"content_hash": "edd82bbc13f8a23dd3c447d4a6e33bc8",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 73,
"avg_line_length": 32.81481481481482,
"alnum_prop": 0.7652370203160271,
"repo_name": "drewwills/confluence-portlet",
"id": "1b514fc0bc87f0da7a7471bbe81ea8e826020f57",
"... |
package org.jayware.e2.component.impl.generation.analyse;
import org.jayware.e2.component.api.Component;
import org.jayware.e2.component.api.MalformedComponentException;
import org.jayware.e2.component.api.generation.analyse.ComponentHierarchyAnalyser;
import org.jayware.e2.component.impl.TestComponents.MalformedComb... | {
"content_hash": "31003564ddb9f1f2d754d29888faea2e",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 144,
"avg_line_length": 33.71153846153846,
"alnum_prop": 0.7655447803764974,
"repo_name": "jayware/entity-essentials",
"id": "839d5a2f0efa6c319ec0dd2a5c9cd5f27a77eb4b",
"si... |
<?php
/*
*---------------------------------------------------------------
* APPLICATION ENVIRONMENT
*---------------------------------------------------------------
*
* You can load different configurations depending on your
* current environment. Setting the environment also influences
* things like logging a... | {
"content_hash": "c9474b5fe207c1812bd0271ccc6c5c00",
"timestamp": "",
"source": "github",
"line_count": 259,
"max_line_length": 158,
"avg_line_length": 31.7027027027027,
"alnum_prop": 0.5605894531725734,
"repo_name": "mwendakith/eid_dashboard",
"id": "17ce71b8dfdce450c15d9835465c9755087528f3",
"siz... |
require 'prologue/cli'
require 'prologue/version'
module Prologue
# Autoloads
autoload :Errors , 'prologue/errors'
autoload :TemplateRunner , 'prologue/template_runner'
end
| {
"content_hash": "9ab56607c43f9942c8926938d9713f23",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 55,
"avg_line_length": 16.636363636363637,
"alnum_prop": 0.7540983606557377,
"repo_name": "codegenome/cg-prologue",
"id": "af3b338e5711b1d2fbdefb590376514c5f74a49c",
"size"... |
.class Lcom/ub/main/account/AccountBindPhone$5;
.super Ljava/lang/Object;
.source "AccountBindPhone.java"
# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/ub/main/account/AccountBindPhone;->HttpR... | {
"content_hash": "d55377d5d07a1c30a8dff72a5100d3a9",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 145,
"avg_line_length": 24.79591836734694,
"alnum_prop": 0.7176954732510288,
"repo_name": "achellies/WaterEveryDay",
"id": "4c1e91bb89eda71779ee137aa9c08313dcc6c23b",
"size... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace SignalR_playground.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
}
} | {
"content_hash": "29f34d8673ee908e0830398188b1a62f",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 44,
"avg_line_length": 18.3125,
"alnum_prop": 0.6518771331058021,
"repo_name": "albinsunnanbo/SignalR-playground",
"id": "3b3eb026ae9c9acc22362a5454e812b11c856d47",
"size":... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Infrastructure;
namespace Microsoft.AspNetCore.Mvc;
public class ActionResultOfTTest
{
[Fact]
public void Constructor_WithValue_ThrowsForInvalidType()
{
// Arrange
var input = new FileStreamResult(Stream.Null, "application/jso... | {
"content_hash": "c0535507c99036304fdb52cf5866c7ed",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 122,
"avg_line_length": 32.609756097560975,
"alnum_prop": 0.6656694091249065,
"repo_name": "aspnet/AspNetCore",
"id": "e6a4c78cac5e8c8cc86cc77de3c3994eaffcf834",
"size": "... |
package net.sf.luciddb.aggdes;
import org.pentaho.aggdes.model.*;
import org.pentaho.aggdes.algorithm.*;
import org.pentaho.aggdes.output.*;
import org.pentaho.aggdes.output.impl.*;
import java.util.*;
import java.io.*;
import java.sql.*;
/**
* LucidDbAggResultHandler implements the ResultHandler interface
* by e... | {
"content_hash": "f614cac86124f11c1e4b088b58d5544b",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 79,
"avg_line_length": 30.693693693693692,
"alnum_prop": 0.5920164367478721,
"repo_name": "julianhyde/luciddb",
"id": "7d9509b78c00b37b896da316df2b6a78d86d3c5c",
"size": "... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "4fcdd40a30c20035bbf83e6cfe1af3ed",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 239,
"avg_line_length": 46.2027972027972,
"alnum_prop": 0.6544573936733767,
"repo_name": "maxhutch/magma",
"id": "04d076da4fbf25d97c56135fe4f2162b7d580690",
"size": "6607"... |
/*!
\file BTree.h
\date Wednesday May 13, 2009
\author Gregory Diamos <gregory.diamos@gatech.edu>
\brief The header file for the BTree class
*/
#ifndef BTREE_H_INCLUDED
#define BTREE_H_INCLUDED
#include <hydrazine/interface/debug.h>
#include <hydrazine/interface/macros.h>
#include <hydrazine/interface/ValueCompar... | {
"content_hash": "201dca54a21106fa85f64d5db1972856",
"timestamp": "",
"source": "github",
"line_count": 1212,
"max_line_length": 76,
"avg_line_length": 23.155115511551156,
"alnum_prop": 0.5441847206385405,
"repo_name": "CPFL/gdev",
"id": "d527c71204e69c01912b44f2099edf4bfa46b916",
"size": "28064",
... |
#include "test_case.h"
#include <stdio.h>
#include <string.h>
#include <qpid/dispatch/ctools.h>
#include <qpid/dispatch/bitmask.h>
#include "alloc.h"
typedef struct item_t {
DEQ_LINKS(struct item_t);
char letter;
} item_t;
DEQ_DECLARE(item_t, item_list_t);
typedef struct multi_item_t {
DEQ_LINKS(struc... | {
"content_hash": "fdaacbd17871c146348a15ade463dc69",
"timestamp": "",
"source": "github",
"line_count": 303,
"max_line_length": 85,
"avg_line_length": 29.382838283828384,
"alnum_prop": 0.5694709648433113,
"repo_name": "adel-boutros/qpid-dispatch",
"id": "4b68edc2850a012a3cf828edad39d95c1f1c2fd0",
"... |
package com.netflix.spinnaker.front50.validator;
import com.netflix.spinnaker.front50.model.application.Application;
import java.util.Optional;
import org.springframework.stereotype.Component;
@Component
public class HasNameValidator implements ApplicationValidator {
@Override
public void validate(Application app... | {
"content_hash": "90e5dd457c4f1836804703084a266e6a",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 95,
"avg_line_length": 37.1875,
"alnum_prop": 0.7747899159663866,
"repo_name": "spinnaker/front50",
"id": "015d106e8272d44ca339d799942d49db1c055502",
"size": "595",
"bina... |
<?
defined('C5_EXECUTE') or die("Access Denied.");
use \Concrete\Core\Permission\Access\Entity\Entity as PermissionAccessEntity;
use \Concrete\Core\Permission\Duration as PermissionDuration;
use \Concrete\Core\Workflow\Workflow as Workflow;
use \Concrete\Core\Tree\Node\Node as TreeNode;
if ($_REQUEST['treeNodeID'] > 0... | {
"content_hash": "26258770cf028235e51f14965f1f1e8c",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 150,
"avg_line_length": 41.40845070422535,
"alnum_prop": 0.6615646258503401,
"repo_name": "baardev/lbtb",
"id": "46d4f7700e973bfa043ac377799d9a101f33634d",
"size": "2940",
... |
//
// AppLovinAd.h
// sdk
//
// Copyright (c) 2013, AppLovin Corporation. All rights reserved.
#import <Foundation/Foundation.h>
#import "ALAnnotations.h"
#import "ALAdSize.h"
#import "ALAdType.h"
AL_ASSUME_NONNULL_BEGIN
/**
* This class represents an ad that has been served from the AppLovin server and
* s... | {
"content_hash": "05d3ff6bb0d7c49b40d73f70419844d2",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 118,
"avg_line_length": 23.057142857142857,
"alnum_prop": 0.7094175960346965,
"repo_name": "soulgame/CocoaPods-TGSDK",
"id": "471c704de3a9693364ce01f0fc6b1449cf15e0d3",
"si... |
require 'rubygems'
require 'rails'
require 'json'
require 'active_support'
require 'action_pack'
require 'action_view'
require 'action_controller'
require 'action_view/template'
require 'active_support/core_ext/hash'
require 'rspec'
require 'social_buttons'
SPEC_DIR = File.dirname(__FILE__)
| {
"content_hash": "12626f979f52e946411eea38e39c8062",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 38,
"avg_line_length": 18.5,
"alnum_prop": 0.7601351351351351,
"repo_name": "HomeStayTravel/social-buttons",
"id": "d18c5584b17d352a3d157a5b5a5e58a48310deaf",
"size": "312"... |
using Aurum.Core.Parser;
using Aurum.SQL.Data;
using filter = System.Func<Aurum.SQL.Data.SqlTableDetail, bool>;
using query = System.Func<Aurum.SQL.Data.SqlTableDetail, string>;
namespace Aurum.SQL.Templates
{
/// <summary> Template that can be applied to a Sql Table or View to produce a default SQL Query </sum... | {
"content_hash": "c9398fd08e2f3615ae00169d74273274",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 118,
"avg_line_length": 36.03125,
"alnum_prop": 0.6582827406764961,
"repo_name": "404htm/Aurum",
"id": "26e54813c32630465be474cfb188a19dd2817483",
"size": "1155",
"binary... |
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include "sol-util-internal.h"
#include "sol-log.h"
#include "sol-macros.h"
#include "sol-log-impl.h"
#include "sol-str-table.h"
/* NOTE: these are not static since we share them with sol-log-impl-*.c
* to make it simpler for those to change and check these... | {
"content_hash": "ce14e0d3191b738b12189d02fe4d38f9",
"timestamp": "",
"source": "github",
"line_count": 468,
"max_line_length": 212,
"avg_line_length": 24.867521367521366,
"alnum_prop": 0.5697714383914761,
"repo_name": "nagineni/soletta",
"id": "d941df73dd89c518dcbed8daf6638f40b5252d65",
"size": "1... |
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Actions;
using Umbraco.Cms.Core.Events;
using Umbraco.Cms.Core.Models.Trees;
using Umbraco.Cms.Core.Services;
us... | {
"content_hash": "1a86d298784500ff41519c1020854310",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 134,
"avg_line_length": 39.242105263157896,
"alnum_prop": 0.6746244635193133,
"repo_name": "KevinJump/Umbraco-CMS",
"id": "8982f2d2f5d61a2ea6d38cd949da490b87c79267",
"size"... |
package org.apache.hadoop.hbase.snapshot;
import java.io.IOException;
import java.util.Collections;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FSDataInputStream;
import org.apache.hadoop.fs.FSDataOutput... | {
"content_hash": "a4d0cefeef1068602c928246cfadfe84",
"timestamp": "",
"source": "github",
"line_count": 317,
"max_line_length": 147,
"avg_line_length": 40.99369085173502,
"alnum_prop": 0.7019622931896884,
"repo_name": "SeekerResource/hbase",
"id": "2fc5d83ff6125ec68776ccd1746679d8d0ad1552",
"size":... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace InventoryExpress.Model
{
/// <summary>
/// Vorlage
/// </summary>
public class Template : ItemTag
{
/// <summary>
/// Liefert oder setzt die Attribute
/// </summary>
publ... | {
"content_hash": "95cc11700d6570fb29e9be4fd409adf2",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 86,
"avg_line_length": 23.576923076923077,
"alnum_prop": 0.5742251223491027,
"repo_name": "ReneSchwarzer/InventoryExpress",
"id": "d6ec5a03a9f758dacedf243f649a0d600051f99a",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.