text stringlengths 2 1.04M | meta dict |
|---|---|
ACCEPTED
#### According to
Index Fungorum
#### Published in
Mitt. bot. Inst. tech. Hochsch. Wien 6: 24 (1929)
#### Original name
Cryptosporium amygdalinum Sacc.
### Remarks
null | {
"content_hash": "4a688f1048a6b424618f98c69a438f9a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 49,
"avg_line_length": 13.923076923076923,
"alnum_prop": 0.7016574585635359,
"repo_name": "mdoering/backbone",
"id": "b911d0dcf97bc4b658fdf891f3656724e7f9aaee",
"size": "24... |
http://www.beecrowd.com.br/judge/problems/view/1073
# Even Square
Read an integer N. Print the square of each one of the even values from 1 to
$N$ including N if is the case.
## Input
The input contain an integer $N (5 \lt N \lt 2000)$.
## Output
Print the square of each one of the even values from 1 to N, as the... | {
"content_hash": "521b58167655b4718b7bc7f82f336636",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 76,
"avg_line_length": 22.4,
"alnum_prop": 0.7172619047619048,
"repo_name": "deniscostadsc/playground",
"id": "3e423994d20bb67d3edd8a4cd9910ae40487e7f3",
"size": "336",
"... |
package executor
import (
"context"
"fmt"
"sync"
"sync/atomic"
"unsafe"
"github.com/pingcap/errors"
"github.com/pingcap/parser/terror"
"github.com/pingcap/tidb/expression"
plannercore "github.com/pingcap/tidb/planner/core"
"github.com/pingcap/tidb/types"
"github.com/pingcap/tidb/util"
"github.com/pingcap/... | {
"content_hash": "db444357a36a337dc4e614ec3136065f",
"timestamp": "",
"source": "github",
"line_count": 735,
"max_line_length": 129,
"avg_line_length": 27.639455782312925,
"alnum_prop": 0.703765690376569,
"repo_name": "cosmtrek/tidb",
"id": "2b3eae1d5d06e6fcb0e423b04a34cfbb96e054c5",
"size": "20830... |
<?php
namespace Putr\Cli\RtvSloParserBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class PutrCliRtvSloParserBundle extends Bundle
{
}
| {
"content_hash": "0ca87fe7183c6ccdc2c8f0289058c884",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 47,
"avg_line_length": 16.333333333333332,
"alnum_prop": 0.8231292517006803,
"repo_name": "Putr/RtvParser",
"id": "ffbd53443e0025cf71243490ef56d2a1784ddc7f",
"size": "147",
... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cy" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About NUD</source>
<translation type="unfinished"/>
</message>
<me... | {
"content_hash": "70c880c578a49ac8d83b13779d461dcc",
"timestamp": "",
"source": "github",
"line_count": 2917,
"max_line_length": 395,
"avg_line_length": 33.997600274254374,
"alnum_prop": 0.5921287473152433,
"repo_name": "nudnud/nud-unofficial",
"id": "604e88b7d7d69b3a54e0113423b4f73a7caa6833",
"siz... |
"""add_embedded_reports_table
Revision ID: ce386162d9f4
Revises: 7d4af180fcf6
Create Date: 2020-04-05 20:42:37.613661
"""
# revision identifiers, used by Alembic.
revision = 'ce386162d9f4'
down_revision = '7d4af180fcf6'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upgr... | {
"content_hash": "87daa720f0b63740f1b979e2cbb0710d",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 66,
"avg_line_length": 27.11764705882353,
"alnum_prop": 0.6811279826464208,
"repo_name": "hasadna/anyway",
"id": "65663abd7e4c0029e83b013cecdde7596d31c6dc",
"size": "922",
... |
from django.db import models
from django.utils import timezone
from django.contrib.contenttypes.models import ContentType
from django.contrib.contenttypes.generic import GenericForeignKey
class GeoLocation(models.Model):
latitude = models.FloatField()
longitude = models.FloatField()
elevation = models.Floa... | {
"content_hash": "ca60a32a21ecc7e95a6bd41e91de9551",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 79,
"avg_line_length": 39.395833333333336,
"alnum_prop": 0.6718667371760974,
"repo_name": "ResEnv/chain-api",
"id": "fd81c79b58b290dc57e3e1ed833794d57c0f931b",
"size": "75... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
XWPFSDTContent (POI API Documentation)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascr... | {
"content_hash": "89ce437a3f854f22209a276069a9f4d2",
"timestamp": "",
"source": "github",
"line_count": 312,
"max_line_length": 391,
"avg_line_length": 46.87820512820513,
"alnum_prop": 0.6256666210857377,
"repo_name": "xiwan/xlsEditor",
"id": "65cdf67cd03e89b7f80828b6b366572c7952118a",
"size": "146... |
from sqlobject.dbconnection import DBAPI
import re
from sqlobject import col
from sqlobject import sqlbuilder
from sqlobject.converters import registerConverter
from sqlobject.dberrors import *
class ErrorMessage(str):
def __new__(cls, e):
obj = str.__new__(cls, e[0])
obj.code = None
obj.mo... | {
"content_hash": "6f265523aed1389f2ed546ac58eb723e",
"timestamp": "",
"source": "github",
"line_count": 405,
"max_line_length": 120,
"avg_line_length": 37.925925925925924,
"alnum_prop": 0.5376302083333333,
"repo_name": "lightcode/SeriesWatcher",
"id": "6178b1751cbf2f519765184c598e3686be629674",
"si... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c2e8f39d4c85be2c20efe1c30b7a0b51",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "bf250c321d3d688f9689583ba8172623d96fbf7b",
"size": "20... |
/* eslint-disable import/no-unresolved, import/extensions */
import { StyleSheet, Text, View } from 'react-native';
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
/* eslint-enable import/no-unresolved, import/extensions */
import IconToggle from '../IconToggle';
import RippleFeedback ... | {
"content_hash": "2f6ccd24feb100bfccd6d5ed4ef2a64a",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 84,
"avg_line_length": 26.48780487804878,
"alnum_prop": 0.5678330263965623,
"repo_name": "kenma9123/react-native-material-ui",
"id": "100a8cb336c7b0fc3151bcd42d785961e3c8cc0... |
package solution
import "strings"
/*
func wordBreak(s string, wordDict []string) []string {
sentencesAt := [][]string{{""}}
for i := 1; i <= len(s); i++ {
sentences := []string{}
for _, word := range wordDict {
n := len(word)
if i < n || s[i-n:i] != word {
continue
}
for _, sentence := range sen... | {
"content_hash": "ee3aa117cd880dadc8d4037ceb6a8ea1",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 78,
"avg_line_length": 20.102040816326532,
"alnum_prop": 0.5791878172588832,
"repo_name": "mmcloughlin/interviews",
"id": "c7e09549c10c52986db8cd9629aa02f994177a1d",
"size"... |
package itunes
import (
"github.com/trimmer-io/go-xmp/xmp"
// "howett.net/plist"
)
type MovieInfo struct {
AssetInfo *AssetInfo `plist:"asset-info" xmp:"iTunes:AssetInfo,attr"`
Studio string `plist:"studio" xmp:"iTunes:Studio,attr"`
Cast PersonArray `plist:"cast" xmp:... | {
"content_hash": "28e6b03c5ebbde9ea23838e49ff9d0af",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 87,
"avg_line_length": 35.2,
"alnum_prop": 0.69375,
"repo_name": "echa/go-xmp",
"id": "90dca48ea41b706398ad23fe1e4805f5e8e388f8",
"size": "2365",
"binary": false,
"copi... |
package com.zwgg.treeviewer;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void ad... | {
"content_hash": "8cf11a394356ea84701b89f05dd19719",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 81,
"avg_line_length": 21.529411764705884,
"alnum_prop": 0.7076502732240437,
"repo_name": "zwgg/TreeViewer",
"id": "e5b504216bf42099416f8bbed1125f1d70074f2e",
"size": "366"... |
import {expect, mockTabris, restore, spy, stub} from '../../test';
import ClientMock from '../ClientMock';
import Composite from '../../../src/tabris/widgets/Composite';
import Button from '../../../src/tabris/widgets/Button';
import CheckBox from '../../../src/tabris/widgets/CheckBox';
import ImageView from '../../../... | {
"content_hash": "6951193e4c9335714443df3e87bee28f",
"timestamp": "",
"source": "github",
"line_count": 470,
"max_line_length": 101,
"avg_line_length": 32.18936170212766,
"alnum_prop": 0.6401612796615771,
"repo_name": "eclipsesource/tabris-js",
"id": "47861b1bf837ae33bf83ac9b2ac1d898ab0870a8",
"siz... |
namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;
/// <summary>
/// The interface IWorkbookFunctionsSkew_pRequestBuilder.
/// </summary>
public partial interface IWorkbookFunctionsSkew_pRequestBuilder
{
/// <summary>
/// Builds ... | {
"content_hash": "9810327c6a07e139e3ebc9da87941a2c",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 87,
"avg_line_length": 30.894736842105264,
"alnum_prop": 0.6473594548551959,
"repo_name": "ginach/msgraph-sdk-dotnet",
"id": "4393fe13e2fdb8b68867ef1f92ea923d40d2b0df",
"si... |
static const char UNUSED *bitcoin_strings[] = {
QT_TRANSLATE_NOOP("bitcoin-core", ""
"%s, you must set a rpcpassword in the configuration file:\n"
"%s\n"
"It is recommended you use the following random password:\n"
"rpcuser=peercoinrpc\n"
"rpcpassword=%s\n"
"(you do not need to remember this password)\n"
"The username ... | {
"content_hash": "aae1379bbd2ac83f51f126b599ed101f",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 108,
"avg_line_length": 66.78155339805825,
"alnum_prop": 0.7388238714836084,
"repo_name": "glv2/peerunity",
"id": "1e7950af0d1681e0199cc5e1167092e199fc1b7c",
"size": "1390... |
package com.google.gerrit.server.git;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import com.google.comm... | {
"content_hash": "040d1d5e15d46852d27911ce895d03d4",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 86,
"avg_line_length": 39.851590106007066,
"alnum_prop": 0.6384997339953893,
"repo_name": "Overruler/gerrit",
"id": "cc4a9e35429c4488ec4ede5bc3d68aa020c7626b",
"size": "11... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="e5e67120-5dc9-413b-a91a-9dc987ea3fe6" name="Default" comment="">
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/uiDesigner.xml" />
<change type="MOVED" beforePath... | {
"content_hash": "e819e1e86a87f6a37601d1e522b29e61",
"timestamp": "",
"source": "github",
"line_count": 851,
"max_line_length": 248,
"avg_line_length": 62.13396004700353,
"alnum_prop": 0.6228723806641955,
"repo_name": "DariaChurkina/java_pft_new",
"id": "00d647941c56e955bfab7c398f4f1006777f620e",
"... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2018 Citrus-CAF Project
~ 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... | {
"content_hash": "e039bc925f2fe062f72e157ef5bb46f6",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 105,
"avg_line_length": 39.61290322580645,
"alnum_prop": 0.7052117263843648,
"repo_name": "Citrus-CAF/packages_apps_Margarita",
"id": "63ff8a373064866efcc3e322fc74a8f0399f748... |
/*
* function rand , 产生随机整数 。
*/
function rand( minDit , maxDit ) {
return Math.floor(Math.random() * (maxDit - minDit + 1)) + minDit;
};
/*
* function getViewSize ,获取屏幕可视范围的尺寸。
*/
function getViewSize(){
var de=document.documentElement;
var db=document.body;
var viewW=de.clientWidth==0 ? db.clientWidth : de.clie... | {
"content_hash": "952f16f41f365948c3a1e48d4f01df5c",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 67,
"avg_line_length": 25.176470588235293,
"alnum_prop": 0.7009345794392523,
"repo_name": "demon7452/demon7452.github.io",
"id": "85af593c4cf9bf244d840f5e219701d914ae30cf",
... |
package org.redhelix.core.computer.system.power.metric;
import org.redhelix.core.computer.system.power.RedHxPowerWatts;
/**
*
*
*
* @since RedHelix Version 0.1
* @author Hank Bruning
*
*/
public interface RedHxPowerMinimumConsumedWatts extends RedHxPowerWatts {
}
| {
"content_hash": "4200acc41af7e5279ff9ec9f5e8e0365",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 73,
"avg_line_length": 18.266666666666666,
"alnum_prop": 0.7591240875912408,
"repo_name": "RedHelixOrg/RedHelix-1",
"id": "72ed53a5c62b78f705d8f329f1af9eb3a91cca77",
"size"... |
export { PartlyCloudy20 as default } from "../../";
| {
"content_hash": "c2d032fe16fccf35cc1c5a3055da1fca",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 51,
"avg_line_length": 52,
"alnum_prop": 0.6346153846153846,
"repo_name": "markogresak/DefinitelyTyped",
"id": "7dd5a97a53c84f7774e73c70a4ced6e90247aa2c",
"size": "52",
"b... |
package org.apache.activemq.broker.ft;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import javax.jms.Connection;
import javax.jms.Destination;
import javax.jms.ExceptionListener;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageProducer;
import java... | {
"content_hash": "649f14e91c8997b9cf79f6df0e13e12f",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 132,
"avg_line_length": 38.0979020979021,
"alnum_prop": 0.6349118942731278,
"repo_name": "ryanemerson/activemq-artemis",
"id": "9b21c441ea6916757ca337d061dd868b2c3d6e6d",
... |
package org.gradle.api.artifacts.resolution;
import org.gradle.api.Incubating;
import java.util.Set;
/**
* Software component representing a JVM library.
*
* @since 1.12
*/
@Incubating
public interface JvmLibrary extends SoftwareComponent {
Set<JvmLibrarySourcesArtifact> getSourcesArtifacts();
Set<JvmLi... | {
"content_hash": "bf0d5185f8c798f14a0bb15b072e498c",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 57,
"avg_line_length": 21.58823529411765,
"alnum_prop": 0.773841961852861,
"repo_name": "Pushjet/Pushjet-Android",
"id": "007c2830f6dca6698f9bd3ecfb18f6a114206f2e",
"size":... |
/* rsa-verify.c
*
*/
/* nettle, low-level cryptographics library
*
* Copyright (C) 2002 Niels Möller
*
* The nettle library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 ... | {
"content_hash": "6ab832e3e73c3aad3d20682c673f6ef1",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 79,
"avg_line_length": 21.676470588235293,
"alnum_prop": 0.6413387607417458,
"repo_name": "GaloisInc/hacrypto",
"id": "375e18320af5cdc4f9bba3c7782ad7bfa7ab7801",
"size": "... |
<?php
namespace Caribbean\TourismBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class GaleriaType extends AbstractType
{
/**
* @param FormBuilderInterface $builder
* @param array $opt... | {
"content_hash": "bdec21ac7447e9e1f7d121b068808548",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 76,
"avg_line_length": 22.615384615384617,
"alnum_prop": 0.645124716553288,
"repo_name": "dundivet/codespring",
"id": "21f0f8bb4a1d85645c0fc59875cb4b250f22fab0",
"size": "8... |
@interface HistoryTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *dateLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *scoreLabel;
@property (nonatomic) NSInteger indexNu... | {
"content_hash": "6bb218aae9b6b23df36ec0ef0e78b7ad",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 57,
"avg_line_length": 31.75,
"alnum_prop": 0.7979002624671916,
"repo_name": "xiaowei19891014/hospitalbible",
"id": "022161a91b9f3ba0802f7e80ec141392b1504bc9",
"size": "552... |
//go:generate go-bindata -o bindata/bindata.go -pkg bindata images/ html/ js/
package main
import (
"bytes"
"crypto/sha1"
"encoding/json"
"flag"
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
"net/url"
"os"
"path/filepath"
"regexp"
"strings"
"sync/atomic"
"text/template"
"time"
"github.com/google-research... | {
"content_hash": "fc2a0faa43e08569e7da45b34e0830a1",
"timestamp": "",
"source": "github",
"line_count": 280,
"max_line_length": 211,
"avg_line_length": 32.339285714285715,
"alnum_prop": 0.6573163997791276,
"repo_name": "google-research/korvapuusti",
"id": "c4e867911137f54dd44332a8652ce19e13c95069",
... |
require 'active_support/concern'
require 'http_router'
# This is Spinal::App
module Spinal::App
extend ActiveSupport::Concern
def initialize
end
def call(env = {})
router.call(env)
resource = env['router.response'].route.dest
resource.do_get(self, env)
end
def url(*args)
router.url(*args... | {
"content_hash": "2f318f0674b2582373b87f065f9774c1",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 54,
"avg_line_length": 15.717948717948717,
"alnum_prop": 0.6508972267536705,
"repo_name": "paul/spinal",
"id": "b4a54fe1f8824876403feda4158bbe93db921f81",
"size": "614",
... |
var assert = require('assert');
var gonzales = require('../../');
describe('Node#contains()', function() {
it('should return true for existing child node', function() {
var ast = gonzales.parse('a{}');
assert.equal(ast.contains('ruleset'), true);
});
it('should return false for nonexisting... | {
"content_hash": "9e90bf0a8b6ef213ac960396d474a1cf",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 69,
"avg_line_length": 32.214285714285715,
"alnum_prop": 0.5942350332594235,
"repo_name": "brendanlacroix/gonzales-pe",
"id": "52476d85f61abf76982e738d5d9369580d919d92",
"s... |
package epizza.order.checkout;
import java.net.URI;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;
@Data
public class LineItemPayload {
@NotNull
private URI pizza;
@NotNull
@Min(1)
private Integer quantity;
}
| {
"content_hash": "0fe0b9a02ed9a4ceda7de56c58e92767",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 44,
"avg_line_length": 15.473684210526315,
"alnum_prop": 0.7380952380952381,
"repo_name": "ePages-de/rnd-microservices-handson",
"id": "329428a692c9bcf42e408f9c93494872a4bd8d... |
./gradlew build
| {
"content_hash": "874d479c24bd7d4a8d29c0eabf9fbb7a",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 15,
"avg_line_length": 16,
"alnum_prop": 0.75,
"repo_name": "RCRS-ADF/core",
"id": "b402ba6ba0819fe7104e95ef68eb3e32d0030fe8",
"size": "27",
"binary": false,
"copies": "... |
"""Test for input data (TIMIT corpus)."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import sys
import unittest
sys.path.append('../../')
from timit.path import Path
from timit.input_data import read_audio
from utils.measure_time_func import measure_t... | {
"content_hash": "190eedb05cc3d1d9f951cea8b311481f",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 118,
"avg_line_length": 31.565217391304348,
"alnum_prop": 0.5547520661157025,
"repo_name": "hirofumi0810/asr_preprocessing",
"id": "c99542b7d7e76eac6347955c018ccf8926583170",... |
var io = require('socket.io')
, encode = require('socket.io/utils').encode
, decode = require('socket.io/utils').decode
, port = 7200
, Listener = io.Listener
, Client = require('socket.io/client')
, WebSocket = require('./../support/node-websocket-client/lib/websocket').WebSocket;
function server(){
ret... | {
"content_hash": "4606dd4521136ad7c19590a0b9e73d4c",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 99,
"avg_line_length": 27.261224489795918,
"alnum_prop": 0.5050157209163049,
"repo_name": "paulcuth/wirebug",
"id": "0496eb81fd1c4b435db8263232324e1bab7ff108",
"size": "66... |
VillageModelController::VillageModelController()
{
population = 400;
maxpopulation = 400;
}
VillageModelController::VillageModelController(TransformGroup* group) : ModelController(group)
{
population = 400;
maxpopulation = 400;
}
void VillageModelController::setPopulation(unsigned int n)
{
population = n;
}... | {
"content_hash": "50ee789d5087796818bd15bc31f8b8e0",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 94,
"avg_line_length": 17.914285714285715,
"alnum_prop": 0.7799043062200957,
"repo_name": "hyperiris/praetoriansmapeditor",
"id": "d504480123165b00a430fc3494d3c43620842db9",
... |
package net.bytebuddy.implementation.bytecode.assign.primitive;
import net.bytebuddy.description.type.TypeDescription;
import net.bytebuddy.implementation.bytecode.StackManipulation;
import net.bytebuddy.implementation.bytecode.assign.Assigner;
import net.bytebuddy.test.utility.MockitoRule;
import org.junit.Before;
im... | {
"content_hash": "32b0fda902af6e1abe80439932715ac2",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 144,
"avg_line_length": 39.59,
"alnum_prop": 0.6814852235412983,
"repo_name": "DALDEI/byte-buddy",
"id": "0d638d97cb9ac211cce87302db3c5aa3dde84880",
"size": "3959",
"bin... |
package com.rhizospherejs.gwt.client.handlers;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.event.shared.HasHandlers;
/**
* Interface to track listeners on visualization {@link ReadyEvent} events.
*
* @author battlehorse@google.com (Riccardo Govoni)
*/
public interface HasReadyHa... | {
"content_hash": "23841ef757c85b7851793f2d7ed11313",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 75,
"avg_line_length": 26,
"alnum_prop": 0.7527472527472527,
"repo_name": "battlehorse/rhizosphere",
"id": "a432cc8af738a9bf311f290e462cdf37985f8e68",
"size": "1157",
"bi... |
class Scrap::NotifyDailyWorker
include Sidekiq::Worker
include Sidetiq::Schedulable
recurrence backfill: true do
daily.hour_of_day(6)
end
def perform
Scrap::NotifyDailyContext.delay.perform
end
end
| {
"content_hash": "6612702f281b620da7a460e9c6420a13",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 43,
"avg_line_length": 19.90909090909091,
"alnum_prop": 0.7534246575342466,
"repo_name": "JRF-tw/sunshine.jrf.org.tw",
"id": "e0ae1f02f30472107dfb8739636382b39a0ef3fa",
"si... |
/*
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 or agreed to in writing, software
distribu... | {
"content_hash": "c414366db22c348df85aac13ffbc663d",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 85,
"avg_line_length": 28.688995215311003,
"alnum_prop": 0.5977318212141428,
"repo_name": "hoangleduc90/Android-TextLink",
"id": "e134009f3670ab44fdfc5386a96feb4f24ede1f3",
... |
package gachon.mobile.programming.android.finalproject;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
... | {
"content_hash": "41e481cfeb39d2192a0a88ab4d9fa336",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 81,
"avg_line_length": 24.941176470588236,
"alnum_prop": 0.7051886792452831,
"repo_name": "jung2929/communitier",
"id": "2f14718db2cbe4471478a6c72c13301b036684ec",
"size": ... |
package de.epiceric.shopchest.listeners;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.codemc.worldguardwrapper.WorldGuardWrapper;
import org.codemc.worldguardwrapper.region.IWrappedRegion;
import de.epiceric.shopchest.ShopChest;
import de.epiceric.shopchest.config.Config;
import ... | {
"content_hash": "ef5c035486e601ba42fceb14537193f7",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 104,
"avg_line_length": 34.768115942028984,
"alnum_prop": 0.701125468945394,
"repo_name": "EpicEricEE/ShopChest",
"id": "e431b156b00de5363408b6e8a884d123328b97b6",
"size": ... |
=begin
ActiveSalesforce
Copyright 2006 Doug Chasman
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... | {
"content_hash": "67ba18726bc79adaea60ab998e7fd80e",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 148,
"avg_line_length": 39.52777777777778,
"alnum_prop": 0.7259311314125088,
"repo_name": "developerforce/Force.com-Toolkit-for-Ruby",
"id": "5f4722634658f3524b4cabe1ddb50fe6... |
<?php
/**
* Отображение для Default/_image_add:
*
* @category YupeView
* @package yupe
* @author Yupe Team <team@yupe.ru>
* @license https://github.com/yupe/yupe/blob/master/LICENSE BSD
* @link http://yupe.ru
**/
$form = $this->beginWidget(
'bootstrap.widgets.TbActiveForm', array(
... | {
"content_hash": "333529a9ecdd7a048183375694587211",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 225,
"avg_line_length": 37.619565217391305,
"alnum_prop": 0.5379947991909853,
"repo_name": "slivas/hoztovarchik1",
"id": "8a2e5fe092e6efda0031c3b2af1873b5f8c6523c",
"size":... |
/**
* @license AngularJS v1.0.7
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
var directive = {};
directive.dropdownToggle =
['$document', '$location', '$window',
function ($document, $location, $window) {
var openElem... | {
"content_hash": "5be5b32facdfca19f2923d167f44d3d9",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 125,
"avg_line_length": 27.251428571428573,
"alnum_prop": 0.5063954707485846,
"repo_name": "craz99/NovelToPDF",
"id": "4a63bd3908fedf0de12133319e8a0dfbf6b8d957",
"size": "... |
package github.users.eirikma.iteratorgenerators;
import java.io.IOException;
import java.util.NoSuchElementException;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
/**
* Not thread sa... | {
"content_hash": "5eaf5369365bf402a2f5d5d262460e93",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 75,
"avg_line_length": 28.88,
"alnum_prop": 0.4795706371191136,
"repo_name": "eirikma/iterator-generators",
"id": "b6648f05b031aa09c7485997891f12e023d7050f",
"size": "2888... |
package org.spongepowered.common.event.damage;
import static com.google.common.base.Preconditions.checkState;
import org.spongepowered.api.entity.Entity;
import org.spongepowered.api.event.cause.entity.damage.source.IndirectEntityDamageSource;
import org.spongepowered.api.event.cause.entity.damage.source.common.Abst... | {
"content_hash": "66a1436892e55f180cd0f07f822de0d2",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 152,
"avg_line_length": 36.6125,
"alnum_prop": 0.6869238648002731,
"repo_name": "SpongePowered/SpongeCommon",
"id": "f387412f0ee9894ed00af25470bc7e9ecac4ccff",
"size": "417... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<group... | {
"content_hash": "d016f1771f749e657c70715576605c80",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 108,
"avg_line_length": 34.53333333333333,
"alnum_prop": 0.583011583011583,
"repo_name": "dkanellis/FiKey",
"id": "35057cbe5c7b0a18e7cd0ac8a567359a28e24068",
"size": "1554"... |
using System.Collections.Generic;
using System.Linq;
namespace Treenumerable.Linq.TreeWalkers
{
internal class DepthTreeWalker<T> : ITreeWalker<DepthNode<T>>
{
public DepthTreeWalker(ITreeWalker<T> walker)
{
this._Walker = walker;
}
private readonly ITreeWalker<T> ... | {
"content_hash": "ded6e2025ed16d73c3e3f19cf49b1df9",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 75,
"avg_line_length": 26.848484848484848,
"alnum_prop": 0.5270880361173815,
"repo_name": "jasonmcboyd/Treenumerable.Linq",
"id": "c98a923e9e172b82f99d09aee1abb07a6e6c3cfa",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "4d527ea5bc024fbd3a19baf2066157fa",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "7576732064e291fcc6074f1a71b14c48337b4184",
"size": "18... |
hud::hud(status &blah):stat(blah) {
hud_topTexture.loadFromFile("Data/hud_top.png");
hud_topImage.setTexture(hud_topTexture);
hud_topImage.setPosition(sf::Vector2f(0, 0));
hud_bottomTexture.loadFromFile("Data/hud_bottom.png");
hud_bottomImage.setTexture(hud_bottomTexture);
hud_bottomImage.setPosition(sf... | {
"content_hash": "56802a449a3dabdb7552933b5787f3d9",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 73,
"avg_line_length": 30.097560975609756,
"alnum_prop": 0.7115072933549432,
"repo_name": "olijf/Gerald-BeyondEvil",
"id": "e1426f8a82cbde4abc39681e0f0bda951c3d2279",
"size... |
#ifndef OSMIUM_AREA_MULTIPOLYGON_MANAGER_LEGACY_HPP
#define OSMIUM_AREA_MULTIPOLYGON_MANAGER_LEGACY_HPP
#include <osmium/area/stats.hpp>
#include <osmium/handler.hpp>
#include <osmium/handler/check_order.hpp>
#include <osmium/memory/buffer.hpp>
#include <osmium/memory/callback_buffer.hpp>
#include <osmium/osm/item_t... | {
"content_hash": "80cb1859ff0b28ad60e8b72d60df4b4a",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 145,
"avg_line_length": 36.906666666666666,
"alnum_prop": 0.540643063583815,
"repo_name": "yuryleb/osrm-backend",
"id": "06f39d22c3a8e0fb60b7abfe764c4c8527308e56",
"size":... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<aida.entityAnnotation>
<document docName="239036newsML.txt">
<annotation>
<mention>JAPAN</mention>
<wikiName>Japan national football team</wikiName>
<offset>7</offset>
<length>5</length>
</annotation>
<annotation>
<mention>CHINA</mention>
... | {
"content_hash": "34350a47d0b93be503a1243775247424",
"timestamp": "",
"source": "github",
"line_count": 34225,
"max_line_length": 75,
"avg_line_length": 24.29744338933528,
"alnum_prop": 0.6680223189590899,
"repo_name": "kermitt2/nerd",
"id": "d46f8f121572cf6346687876955a301f762b1031",
"size": "8317... |
/**
* @license AngularJS v1.1.5
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, document, undefined) {
'use strict';
////////////////////////////////////
/**
* @ngdoc function
* @name angular.lowercase
* @function
*
* @description Converts the specified string to lowerca... | {
"content_hash": "a095307cbbf26ec020b75d685a21cef0",
"timestamp": "",
"source": "github",
"line_count": 16876,
"max_line_length": 212,
"avg_line_length": 33.98601564351742,
"alnum_prop": 0.5936678359962898,
"repo_name": "Treefunder/peatio.next",
"id": "d261c0e1101ea37a0920901327d04ec15612604c",
"si... |
namespace views {
class Label;
class Widget;
} // namespace views
namespace ui {
namespace ime {
class UI_CHROMEOS_EXPORT ModeIndicatorView : public views::BubbleDelegateView {
public:
ModeIndicatorView(gfx::NativeView parent,
const gfx::Rect& cursor_bounds,
const base::str... | {
"content_hash": "4d1dc0679d1a2747cc03683b5fa8fb64",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 79,
"avg_line_length": 24.857142857142858,
"alnum_prop": 0.7097701149425287,
"repo_name": "Workday/OpenFrame",
"id": "d9c824bf58e93715d046edbd3bf12d53e8b4bccd",
"size": "15... |
package ca.openlanguage.pdftoaudiobook.ui;
import java.io.FileDescriptor;
import java.io.FileNotFoundException;
import java.util.Locale;
import java.util.StringTokenizer;
import ca.openlanguage.pdftoaudiobook.R;
import ca.openlanguage.pdftoaudiobook.provider.AudioBookLibraryDatabase.AudiobookColumns;
import ca.open... | {
"content_hash": "db52d3b51e1aaa0bb5291b53f82f3475",
"timestamp": "",
"source": "github",
"line_count": 713,
"max_line_length": 141,
"avg_line_length": 41.669004207573636,
"alnum_prop": 0.6385392123864019,
"repo_name": "cesine/PDFtoAudioBook",
"id": "65ece1c6d1a16dd0400cf597120aca6928a0d6b0",
"size... |
class Solution(object):
def twoSum(self, numbers, target):
n = len(numbers)
def binarySearch(left, right, value):
while left <= right:
mid = left + (right - left) / 2
if numbers[mid] == value:
return mid
elif numbers[mi... | {
"content_hash": "477913cdf365a29913402afcdd425f98",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 72,
"avg_line_length": 35.15,
"alnum_prop": 0.4352773826458037,
"repo_name": "luosch/leetcode",
"id": "351207731d0f18a6506c4d00df682d6ca13c82e2",
"size": "703",
"binary":... |
<?php
namespace RbacUserDoctrineOrm\Mapper;
use Doctrine\ORM\EntityManager;
use RbacUserDoctrineOrm\Options\RoleMapperOptions;
class Role {
/**
* @var EntityManager
*/
protected $em;
/**
* @var RoleMapperOptions
*/
protected $options;
public function __construct(EntityM... | {
"content_hash": "cbcfd85ef2792da6fdb1bf84d3162590",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 78,
"avg_line_length": 16.742857142857144,
"alnum_prop": 0.6006825938566553,
"repo_name": "dartalla/Dartalla",
"id": "c18226d8724321c297b393315dc996ebb2ea665f",
"size": "88... |
// For an introduction to the Search Contract template, see the following documentation:
// http://go.microsoft.com/fwlink/?LinkId=232512
// TODO: Add the following script tag to the start page's head to
// subscribe to search contract events.
//
// <script src="/pages/searchResults/searchResults.js"></script>
//
/... | {
"content_hash": "c680677f1498e2933096be111961ef4c",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 125,
"avg_line_length": 40.42857142857143,
"alnum_prop": 0.6769308430085815,
"repo_name": "IcefyreTeam/TVProgram",
"id": "75581ade1db24b650de65cd63bbd437662d17e6c",
"size":... |
import { Injectable } from "@angular/core";
let localStorage = require("nativescript-localstorage");
export class BackendService {
static apiUrl = "https://api.everlive.com/v1/GWfRtXi1Lwt4jcqK/";
// static apiUrl = "http://10.0.2.2:5000/";
// static apiUrl: string = "http://api-web-woolnet.azurewebsites.n... | {
"content_hash": "4e8529cf87711957af8ec0201fc25755",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 75,
"avg_line_length": 26.708333333333332,
"alnum_prop": 0.6583463338533542,
"repo_name": "AmilaRukshan/Nativescript-Ng2-Jwt-Login",
"id": "e2fe7395c3b1b42a9d9aa335e523ad2c11... |
package com.google.litecoin.core;
import java.util.List;
/**
* Default no-op implementation of {@link BlockChainListener}.
*/
public class AbstractBlockChainListener implements BlockChainListener {
public void notifyNewBestBlock(StoredBlock block) throws VerificationException {
}
public void reorgani... | {
"content_hash": "c526e6a2987f5fdf6baae1df786fb487",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 146,
"avg_line_length": 32.69230769230769,
"alnum_prop": 0.7823529411764706,
"repo_name": "Qw0kka/creditsj",
"id": "cb2750ed4f56ebc7d38978a906c046a21ff5735e",
"size": "1444... |
const getBaseType = require('./_getBaseType')
/**
*
* @param {Object} obj
*/
const isFunction = value =>
getBaseType('Function')(value)
module.exports = isFunction | {
"content_hash": "87d785aaa00f52ce6d4eff579f7ae90d",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 45,
"avg_line_length": 19.22222222222222,
"alnum_prop": 0.6647398843930635,
"repo_name": "bobojiayou/fpb",
"id": "ab097afdbf2f99c4b332086c026b7d16b1375743",
"size": "173",
... |
using Yggdrasil.Logging.Targets;
namespace Yggdrasil.Logging
{
/// <summary>
/// Logs messages to command line and file.
/// </summary>
public static class Log
{
private static Logger _logger = Logger.Get();
static Log()
{
_logger.AddTarget(new ConsoleTarget());
_logger.AddTarget(new FileTarget("log... | {
"content_hash": "418397ccd6041036630af735abfb72cb",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 100,
"avg_line_length": 27.104,
"alnum_prop": 0.6100944510035419,
"repo_name": "aura-project/Yggdrasil",
"id": "99b6d0e7de1e6bcebe6b222b74bb01aed5c0a1c8",
"size": "3390",
... |
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.4.0] - 2021-05-26
### Changed
Switched to use MiniScaffold. Built agains... | {
"content_hash": "4a5a9774c31b8156f9198f3a4999a28b",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 87,
"avg_line_length": 25.09375,
"alnum_prop": 0.701120797011208,
"repo_name": "enovales/LANGIDMappings",
"id": "39179b2b0eea0251589c120ec2535478dc0d8cb0",
"size": "816",
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | {
"content_hash": "6d1760f73e755e3d240cd8ba7647f742",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 151,
"avg_line_length": 39.87096774193548,
"alnum_prop": 0.5792880258899676,
"repo_name": "MatkovIvan/azure-mobile-apps-net-client",
"id": "981a3960cd6c9b337d6fb3790cf7912e40... |
package org.apache.shardingsphere.elasticjob.error.handler.general;
import org.apache.shardingsphere.elasticjob.error.handler.JobErrorHandler;
import java.util.Properties;
/**
* Job error handler for ignore exception.
*/
public final class IgnoreJobErrorHandler implements JobErrorHandler {
@Override
... | {
"content_hash": "046f7e532f0483b2d32441b08e60da2d",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 78,
"avg_line_length": 21.384615384615383,
"alnum_prop": 0.710431654676259,
"repo_name": "elasticjob/elastic-job",
"id": "d6d9521087240f438366a495f0670b87d4487f04",
"size":... |
/* eslint-disable jest/no-disabled-tests */
import { render, screen } from '@testing-library/react'
import * as React from 'react'
import Subscribe from '../subscribe'
test.skip('subscribe renders first name and email', () => {
render(<Subscribe />)
expect(screen.getByLabelText(/first name/i)).toBeDefined()
exp... | {
"content_hash": "865c93045802c67fc255f232e901a02d",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 60,
"avg_line_length": 34,
"alnum_prop": 0.7192513368983957,
"repo_name": "Oluwasetemi/Oluwasetemi.github.io",
"id": "1035aaaa1b1a1923967c15d242e99f56aacd0474",
"size": "37... |
simpleOSM is a tool that downloads and renders a map from OpenStreetMaps. It can accept either a bounding box of latitudes and longitudes, or a plain-english search query.
**Usage**
*Search*
To render a map of an area without coordinates, like a city, landmark, or college campus, use the "search" function:
python... | {
"content_hash": "27a1f8384af80a5ca649efc15e16756b",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 171,
"avg_line_length": 29.181818181818183,
"alnum_prop": 0.7611630321910696,
"repo_name": "benkroop/simpleOSM",
"id": "56afd5436893d281bd1d712e76a46956e8afc4e0",
"size": "... |
from itertools import izip
from django.db.backends.util import truncate_name, typecast_timestamp
from django.db.models.sql import compiler
from django.db.models.sql.constants import TABLE_NAME, MULTI
from django.db.models.sql.query import get_proxied_model
SQLCompiler = compiler.SQLCompiler
class GeoSQLCompiler(compi... | {
"content_hash": "401a826073ac11f226c4c1fb04b9f20b",
"timestamp": "",
"source": "github",
"line_count": 294,
"max_line_length": 106,
"avg_line_length": 44.9421768707483,
"alnum_prop": 0.5757965639900099,
"repo_name": "mixman/djangodev",
"id": "9a4ea6a942d2a2c122633b6564e8e7224e393246",
"size": "132... |
#include "ThresholdFunction.hpp"
#include <cmath>
#include <vector>
using namespace gdx;
ThresholdFunction::ptr ThresholdFunction::calculate (std::vector< float >& spectralFlux) {
ThresholdFunction::ptr thresholds(new std::vector< float > (spectralFlux.size()));
for (int i = 0; i < spectralFlux.size(); i+... | {
"content_hash": "1f2e536c164ca8b4a4bf88181f7cd3ec",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 90,
"avg_line_length": 26.296296296296298,
"alnum_prop": 0.5859154929577465,
"repo_name": "aevum/libgdx-cpp",
"id": "0e60897e46ae18767a97dd86c26045b5061eff30",
"size": "145... |
package NCE::Component::System;
use warnings;
use strict;
use Moose;
extends 'NCE::Component';
with 'NCE::Log';
use Moose::Util::TypeConstraints;
has 'Hostname' => (
is => 'rw',
isa => 'Str',
predicate => 'has_Hostname',
traits => [ qw( Meta Help ) ],
help => 'System hostname',
frien... | {
"content_hash": "d025242f7a4f8e6f129472a307ac6316",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 35,
"avg_line_length": 19.466666666666665,
"alnum_prop": 0.5513698630136986,
"repo_name": "diddi-/nce",
"id": "6af71d0545675ecbd9a8f6424b172defdd07d19b",
"size": "584",
"... |
* initial release
| {
"content_hash": "bb414c91243ed6e6832ebe232cd18897",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 17,
"avg_line_length": 18,
"alnum_prop": 0.7777777777777778,
"repo_name": "JasonYCHuang/e_invoice",
"id": "b6cf6c684ddc203bec354c81f348e5972d46f9d0",
"size": "29",
"binary... |
OpenDKIM Cookbook
=================
[](http://www.rubydoc.info/github/zuazo/opendkim-cookbook)
[](https://github.com/zuazo/opendkim-cookbook)
[![Licen... | {
"content_hash": "8932cd98103cb56d0e6ac0ea7f253f44",
"timestamp": "",
"source": "github",
"line_count": 311,
"max_line_length": 216,
"avg_line_length": 35.47266881028939,
"alnum_prop": 0.6770304568527918,
"repo_name": "onddo/opendkim-cookbook",
"id": "8891d156a324d54e88abeb14955eaf628228ab91",
"siz... |
using System;
namespace Enigma.Serialization
{
[Flags]
public enum LevelType
{
Value = 1,
Single = 2,
Root = 4,
Collection = 8,
CollectionItem = 16,
Dictionary = 32,
DictionaryKey = 64,
DictionaryValue = 128,
CollectionInCollection = ... | {
"content_hash": "0335fd619193b8fbe2ff19494dc7f86c",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 73,
"avg_line_length": 26.94871794871795,
"alnum_prop": 0.6346336822074216,
"repo_name": "jaygumji/EnigmaDb",
"id": "191bcba07981bc60c4829f07276a9a61ca31b6e9",
"size": "105... |
#import "ijkplayer_ios.h"
#import "ijksdl/ios/ijksdl_ios.h"
#include <stdio.h>
#include <assert.h>
#include "ijkplayer/ff_fferror.h"
#include "ijkplayer/ff_ffplay.h"
#include "ijkplayer/ijkplayer_internal.h"
IjkMediaPlayer *ijkmp_ios_create(int (*msg_loop)(void*), int custom_max_buffer_size)
{
IjkMediaPlayer *... | {
"content_hash": "e7642c37d4fb7ab7c338f9f54216c0b3",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 84,
"avg_line_length": 24.53846153846154,
"alnum_prop": 0.6559561128526645,
"repo_name": "xpemail/ijkplayer",
"id": "66a9cab0b527ed403c8247be3c6342cadf36d6eb",
"size": "212... |
'-------------------------------------------------------------------------------------------'
' Inicio del codigo
'-------------------------------------------------------------------------------------------'
'-------------------------------------------------------------------------------------------'
' Inicio de clas... | {
"content_hash": "92078fb511ef8772313263d760f3a896",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 186,
"avg_line_length": 73.67757009345794,
"alnum_prop": 0.6042366968985856,
"repo_name": "kodeitsolutions/ef-reports",
"id": "b8a1bf43065ce5f9a1bcc394f0fe0114b4159262",
"... |
<!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"/>
<title>Aqua_Weather_Statio... | {
"content_hash": "83aee90acc761a94d52740acb11e43c9",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 275,
"avg_line_length": 41.898305084745765,
"alnum_prop": 0.6638349514563107,
"repo_name": "lighthill/Aqua_weather_station",
"id": "2ea503015f7b706daf2afd1feb5394fce0a6307f",... |
require 'spec_helper'
describe 'Log entries', type: :feature do
stub_authorization!
let!(:payment) { create(:payment) }
context 'with a successful log entry' do
before do
response = ActiveMerchant::Billing::Response.new(
true,
'Transaction successful',
transid: 'ABCD1234'
... | {
"content_hash": "9a8c4da21764e2fa2bcb46772e5eb71a",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 62,
"avg_line_length": 24.272727272727273,
"alnum_prop": 0.6172284644194757,
"repo_name": "vinayvinsol/spree",
"id": "a5fff01830c591eb6b5470d85b1ae359fef5413f",
"size": "13... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace GitHubWebHookExample.Pages
{
public class PrivacyModel : PageModel
{
private readonl... | {
"content_hash": "4abe40f62d22acc02f24cf0878f3b863",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 57,
"avg_line_length": 21.625,
"alnum_prop": 0.6763005780346821,
"repo_name": "jaredpar/random",
"id": "3e96eb82cd0cd9c4c7c302ca22902fc80c3ae6b0",
"size": "521",
"binary"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>functions-in-zfc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstra... | {
"content_hash": "e7f0a1de7cb11997034951b5e30092cb",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 159,
"avg_line_length": 41.44,
"alnum_prop": 0.551296194153337,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "dc8a74817789c811e2d9d0036ffac9624724af95",
"size": "72... |
<?php
use Bouda\Php7Backport\PatchFactory;
class PatchFactoryTest extends PHPUnit_Framework_TestCase
{
private $factory;
public function setUp()
{
$tokens = $this->getMockBuilder('Bouda\Php7Backport\Tokens')
->disableOriginalConstructor()->getMock();
$this->factory = new Pat... | {
"content_hash": "df00618f82a6b7e03a853d4a5af8bbf2",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 88,
"avg_line_length": 26.387755102040817,
"alnum_prop": 0.6388244392884764,
"repo_name": "ondrejbouda/php7backport",
"id": "eef2341b41883d99faf2b901d7abc083dbf3a3a4",
"siz... |
<mbean name="dcm4chee.archive:service=dfcmd">
<attribute name="DFCommand"/>
<attribute name="DFCommandOption"/>
<attribute name="State"/>
</mbean>
| {
"content_hash": "e6381a32167c96de28c6f82b98618f3f",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 45,
"avg_line_length": 29.4,
"alnum_prop": 0.7414965986394558,
"repo_name": "medicayun/medicayundicom",
"id": "cc1cdb5aea9729167fc7061cde638bc1edc539e5",
"size": "147",
"b... |
browserify v2 plugin for coffee-script
mix and match `.coffee` and `.js` files in the same project
**important: when using require('path/to/file.coffee') remember to use .coffee extension**
[](http://travis-ci.org/substack/coffeeify)
# example
giv... | {
"content_hash": "c7126bb40e5ab43f0384e2833cae602b",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 111,
"avg_line_length": 17.05,
"alnum_prop": 0.6940371456500489,
"repo_name": "substack/coffeeify",
"id": "bc768f9f1cd6cba750bce98eef312a46cf8ed7a6",
"size": "1207",
"bin... |
module TumblrUploadr
VERSION = '0.1.1'
LOG = 'tumblr_log'
PAUSE = 1
PRODUCT = 'tumblr_uploadr'
PRODUCT_DESCRIPTION = 'batch uploading to tumblr (drafts)'
PRODUCT_URL = 'https://github.com/dkhamsing/tumblr_uploadr'
end
| {
"content_hash": "ad33a4b47d5f1c30c1ba142d53e64e7b",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 61,
"avg_line_length": 23.2,
"alnum_prop": 0.6982758620689655,
"repo_name": "dkhamsing/tumblr_uploadr",
"id": "327821badbe73fe0740952dbe92f83bbd7dfa64a",
"size": "251",
"... |
"""
Agregates small, atomic shifts as longer shifts, based on the allowed shift lengths.
This function outputs a list of tuples, containing the following information about each shift:
* the beginning of the shift (DateTime)
* the duration of the shift (Hour)
* the number of teams required for the shift (Int)
... | {
"content_hash": "51a814241c06e10d95787aaef587e622",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 153,
"avg_line_length": 46.1,
"alnum_prop": 0.6736907344282616,
"repo_name": "dourouc05/IndustrialProcessFlexibilisation.jl",
"id": "f27d764ee4d4ded8e530324a6b252b30098dd97b"... |
module Admin::ModuleHelper
end
| {
"content_hash": "a2365c1dcc4cba38208afe594fc4eb74",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 26,
"avg_line_length": 15.5,
"alnum_prop": 0.8387096774193549,
"repo_name": "agileblaze/RFP",
"id": "212ba3163865d59aae75fc54bbf0a96e5dcfe6ba",
"size": "31",
"binary": fal... |
package hudson;
import hudson.console.ConsoleAnnotationDescriptor;
import hudson.console.ConsoleAnnotatorFactory;
import hudson.model.AbstractProject;
import hudson.model.Action;
import hudson.model.Describable;
import hudson.model.Descriptor;
import hudson.model.DescriptorVisibilityFilter;
import hudson.model.Hudson... | {
"content_hash": "eeb560f886bcb8933a2f91d138331f4c",
"timestamp": "",
"source": "github",
"line_count": 1283,
"max_line_length": 153,
"avg_line_length": 34.87217459080281,
"alnum_prop": 0.6050602355781051,
"repo_name": "stefanbrausch/hudson-main",
"id": "5a32244e9b813c71534444dcd20f087fe7d40cc9",
"... |
void Test_Compatibility_AMService(struct am_device *apple, SDMMD_AMDeviceRef sdm);
void Test_Functionality_AMService(struct am_device *apple, SDMMD_AMDeviceRef sdm);
SDM_MD_TestResponse SDM_MD_Test_AMDeviceStartService(struct am_device *apple, SDMMD_AMDeviceRef sdm, char *type);
SDM_MD_TestResponse SDM_MD_Test_AMDevic... | {
"content_hash": "8cb0e07b956fac2e7e4211abbe68a72a",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 119,
"avg_line_length": 66.125,
"alnum_prop": 0.8109640831758034,
"repo_name": "king3g/SDMMobileDevice-master",
"id": "712b3d37ae77923ccd78637605c44a0210a6a5a0",
"size": "77... |
/**
* System configuration for Angular samples
* Adjust as necessary for your application needs.
*/
(function (global) {
System.config({
paths: {
// paths serve as alias
'npm:': 'node_modules/'
},
// map tells the System loader where to look for things
... | {
"content_hash": "a6a2deadee58c856c812f147f57cad0c",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 129,
"avg_line_length": 42.234042553191486,
"alnum_prop": 0.5536523929471032,
"repo_name": "GipsyDevs/ttl3",
"id": "c09e3cdba9c759de2404c8d1a212ac9888dd812e",
"size": "1985... |
<component name="libraryTable">
<library name="ShareSDK-Facebook-2.6.2">
<CLASSES>
<root url="jar://$PROJECT_DIR$/translation/libs/ShareSDK-Facebook-2.6.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component> | {
"content_hash": "7ee81e43499e9ebf6ce50c2516e8f09c",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 87,
"avg_line_length": 27.666666666666668,
"alnum_prop": 0.6265060240963856,
"repo_name": "Chenantao/Translation",
"id": "48f82b4c5d77bafdef16a9df1e2746c75bbc305e",
"size": ... |
class TestJob < ActiveRecord::Base
# The smaller this number is, the less new runs will be needed to "balance"
# the avg_worker_command_run_seconds.
NUMBER_OF_SIGNIFICANT_RUNS = 3
# For redis_live_update_resource_key
include Models::RedisLiveUpdates
belongs_to :test_run, inverse_of: :test_jobs
validates... | {
"content_hash": "2d414fbf3a0bc2329563ea7a76d348b7",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 94,
"avg_line_length": 36.59477124183007,
"alnum_prop": 0.6945883193427398,
"repo_name": "testributor/katana",
"id": "dcb6da8265a7ee696d87fd95b3b7ea55339e9c2f",
"size": "6... |
package biz.paluch.logging.jboss.extension;
/**
* @author <a href="mailto:mpaluch@paluch.biz">Mark Paluch</a>
* @since 29.07.14 21:05
*/
public interface ModelConstants {
/**
* The name of our subsystem within the model.
*/
public static final String SUBSYSTEM_NAME = "logstash-gelf-subsystem";
... | {
"content_hash": "78467a70883dc2455b91f261d796e6a7",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 74,
"avg_line_length": 30.36842105263158,
"alnum_prop": 0.6863084922010398,
"repo_name": "mp911de/logstash-gelf-subsystem",
"id": "12201fc173abe0fd3db86370ebe879d6892aa5d2",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>qarith-stern-brocot: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boots... | {
"content_hash": "ff817e1dfcc5ab120c716e4da28aa283",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 350,
"avg_line_length": 44.62874251497006,
"alnum_prop": 0.5596404132564068,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "9c2a23c99cf4e58ec0a4703ea34c0f110d400235",
... |
package org.skfiy.typhon;
import com.alibaba.fastjson.JSON;
import java.util.HashMap;
import java.util.Map;
/**
*
* @author Kevin Zou <kevinz@skfiy.org>
*/
public class Test {
public static void main(String[] args) {
Map<Integer, Integer> map = new HashMap<>();
map.put(1, 2);
map.put(... | {
"content_hash": "dc3861c40346e6c7a00690c9345701d2",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 52,
"avg_line_length": 18.857142857142858,
"alnum_prop": 0.6085858585858586,
"repo_name": "weghst/typhon",
"id": "eb7f2471539739ecded703373bb7e0fbe8d0e4b3",
"size": "1007",... |
var Mustache = require('mustache');
function StringTemplate() {
this.functions = {};
this.setFunction('reldate', function(text) {
var
now = new Date(),
ref = Date.parse(text),
day = 60*60*24*1000,
diff, days;
if (isNaN(ref)) {
return '<invalid date: "' + text + '">';
}
diff = now - ref;
... | {
"content_hash": "e7c96253d759dbe6a96d1aa8d2daf9e5",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 83,
"avg_line_length": 21.5,
"alnum_prop": 0.627906976744186,
"repo_name": "sgt-kabukiman/kabukibot-legacy",
"id": "abd063266c9de762d0b0c1c8ad0e4a39acb2d0a7",
"size": "1867... |
"""Tests for `tf.data.experimental.dense_to_sparse_batch()."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
from tensorflow.python.data.experimental.ops import batching
from tensorflow.python.data.kernel_tests import test_base
from ten... | {
"content_hash": "bbf690410040b5c6147b1022e78e7175",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 79,
"avg_line_length": 39.84070796460177,
"alnum_prop": 0.6390493114171479,
"repo_name": "asimshankar/tensorflow",
"id": "22e057a2848fd154de0ad356f2238fb2028cd647",
"size"... |
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Udacity Responsive Images course project" />
<meta name="author" content="//samdutton.com">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
<meta charset="utf-8">
<meta itemprop="name"... | {
"content_hash": "0303d413f913171563e0f7e9ef405a4b",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 505,
"avg_line_length": 63.37096774193548,
"alnum_prop": 0.7485365232883685,
"repo_name": "udacity/responsive-images",
"id": "c351e3ea9c1c3b57ea79c984392c4271fa7ecf9c",
"s... |
class AddFacilityOrder < ActiveRecord::Migration[4.2]
def self.up
change_table :orders do |t|
t.references :facility
end
add_foreign_key :orders, :facilities
end
def self.down
remove_foreign_key :orders, :facilities
change_table :orders do |t|
t.remove :facility_id
end
end
... | {
"content_hash": "841b938f2cd26213c1000df6a4f302f1",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 53,
"avg_line_length": 19.11764705882353,
"alnum_prop": 0.6646153846153846,
"repo_name": "tablexi/nucore-open",
"id": "be642dab6756416246fb888cce99f36162657813",
"size": "3... |
package org.ferris.tweial.console.email;
import javax.inject.Inject;
import org.ferris.tweial.console.configuration.ConfigurationDirectory;
import org.ferris.tweial.console.io.AbstractPropertiesFile;
/**
* This is a hard coded {@link AbstractPropertiesFile} object to "{@link ConfigurationDirectory}/email.prop... | {
"content_hash": "52e3fda3220cf6d9a531948a0bb7ea27",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 114,
"avg_line_length": 34.16,
"alnum_prop": 0.7330210772833724,
"repo_name": "mjremijan/ferris-tweial",
"id": "500e97c08531e69ea71faffb78a68c26773b6f1a",
"size": "854",
... |
ALAssetsLibrary-CustomPhotoAlbum (v1.3.0)
=========================================
A nice ALAssetsLibrary category for saving images into custom photo album by @MarinTodorov.
# Usage
// |image|: The target image to be saved
// |albumName|: Custom album name
// |completion|: Block to be executed wh... | {
"content_hash": "b36333f028b57fd3810e5f3309f5d4fc",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 221,
"avg_line_length": 42.458333333333336,
"alnum_prop": 0.6830225711481845,
"repo_name": "y3774513/Repository",
"id": "fcbb6a4e51d2e24a58a895b188bdebfce9c79315",
"size": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.