text stringlengths 2 1.04M | meta dict |
|---|---|
'use strict';
jest.autoMockOff();
var number = require('../number');
var pFalse = function() {
throw new Error('Promise must be rejected');
};
describe('validators / number / is()', function() {
pit('success with number (string)', function() {
var is = number.is();
return is('1234');
})... | {
"content_hash": "62cc68a810b95b4eb670c69479880226",
"timestamp": "",
"source": "github",
"line_count": 202,
"max_line_length": 60,
"avg_line_length": 25.584158415841586,
"alnum_prop": 0.5272832817337462,
"repo_name": "tsunammis/react-form-validator",
"id": "c87716c972f8c1ccb230b8822bb0ee95f866c03d",... |
FROM ubuntu:latest
MAINTAINER nealhardesty@yahoo.com
RUN apt-get update -y && apt-get install -y build-essential ruby ruby-dev libncurses5-dev && rm -rf /var/lib/apt/lists/*
ADD . /redsnow
WORKDIR /redsnow
RUN gem install bundler
RUN bundle install
CMD ./redsnow.rb
| {
"content_hash": "f2a658d2d77af03fb58a23bc2d7b69f3",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 120,
"avg_line_length": 29.666666666666668,
"alnum_prop": 0.7677902621722846,
"repo_name": "nealhardesty/redsnow",
"id": "f59424e65ad4a73e56d22929ae4cb02811b46b27",
"size": ... |
using namespace std;
QList<qint64> CoinControlDialog::payAmounts;
CCoinControl* CoinControlDialog::coinControl = new CCoinControl();
CoinControlDialog::CoinControlDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::CoinControlDialog),
model(0)
{
ui->setupUi(this);
// context menu actions
QAc... | {
"content_hash": "2ac765217051ed521a6207ae233e115e",
"timestamp": "",
"source": "github",
"line_count": 770,
"max_line_length": 210,
"avg_line_length": 41.66233766233766,
"alnum_prop": 0.6401496259351621,
"repo_name": "universalmol/universalmol",
"id": "79ea198974599590ab481fb8a68944ddfc113a64",
"s... |
import urllib
from urllib import request
import json
import itertools
from multiprocessing.pool import ThreadPool
def get_html(url, retry=10):
try:
proxy = {'http': '60.167.135.146:808'}
proxy_support = request.ProxyHandler(proxy)
opener = request.build_opener(proxy_support)
opener... | {
"content_hash": "b8d1c2c79b31f6cfe1306c09efb87c83",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 147,
"avg_line_length": 29.98611111111111,
"alnum_prop": 0.5919407132931913,
"repo_name": "winxos/python",
"id": "69821074a53fb5655e253405c6a4b41e6dd2d094",
"size": "2237",... |
angular.module('modal.controllers')
.controller('ConceptsModalController', ['$scope', '$modalInstance', '$modal', 'Core',
function($scope, $modalInstance, $modal, Core) {
$scope.term = "";
$scope.ok = function () {
var newConcept = Core.postConceptByUserId(1, $scope.term);
if (newConcept) ... | {
"content_hash": "d8a8bd3b367b72fa060eb6a09e38f385",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 88,
"avg_line_length": 26,
"alnum_prop": 0.5961538461538461,
"repo_name": "tacitia/ThoughtFlow",
"id": "676d8d7e3aca32d26b6a03330ed3286faeecb6a8",
"size": "468",
"binary"... |
(function (o) {
"use strict";
var self = {},
_caf,
_lastTime = 0,
_prefixes = o.support.prefixes,
_raf;
if (window.requestAnimationFrame) {
_raf = window.requestAnimationFrame;
} else {
for(var i = 0; i < _prefixes.length && !self.requestAnimationFrame; i += 1) {
_raf ... | {
"content_hash": "e62a757eb61607a662068f3b73c48f91",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 81,
"avg_line_length": 23.5625,
"alnum_prop": 0.5526083112290009,
"repo_name": "wieden-kennedy/oak-support",
"id": "b33a19e0a21aebe557e2d61376bc322194d1ce8f",
"size": "1131... |
namespace Google.Cloud.Dialogflow.V2.Snippets
{
// [START dialogflow_v2_generated_Agents_DeleteAgent_async_flattened]
using Google.Cloud.Dialogflow.V2;
using System.Threading.Tasks;
public sealed partial class GeneratedAgentsClientSnippets
{
/// <summary>Snippet for DeleteAgentAsync</summar... | {
"content_hash": "a265b7697580f50276e737ff5d8dfe9a",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 89,
"avg_line_length": 38.44,
"alnum_prop": 0.6534859521331946,
"repo_name": "jskeet/gcloud-dotnet",
"id": "c0cf9318c836e96624ea3e3153024c69a0193b44",
"size": "1583",
"bi... |
package com.jcwhatever.nucleus.internal.managed.scoreboards;
import com.jcwhatever.nucleus.managed.scoreboards.IScoreboard;
import com.jcwhatever.nucleus.managed.scoreboards.ITeam;
import com.jcwhatever.nucleus.utils.PreCon;
import com.jcwhatever.nucleus.utils.text.TextUtils;
import org.bukkit.OfflinePlayer;
import... | {
"content_hash": "c9aed8148bee0452fa170feccfca0c41",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 77,
"avg_line_length": 23.125,
"alnum_prop": 0.6533169533169533,
"repo_name": "JCThePants/NucleusFramework",
"id": "8c668b7aac67103490ee3f234fd69470b68884e6",
"size": "529... |
package com.searchbox.framework.repository;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;
import com.searchbox.framework.model.UserEntity;
public interface UserRepository extends CrudRepository<UserEntity, Lon... | {
"content_hash": "3119f5249dae94f5260e5ad18f2c6787",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 74,
"avg_line_length": 26.38888888888889,
"alnum_prop": 0.8252631578947368,
"repo_name": "eSCT/oppfin",
"id": "62a888e954fb2ace890fc38add14ed3ccfebf443",
"size": "1242",
... |
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualShaderNode" inherits="Resource" category="Core" version="3.2">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="get_input_port_default_value" qualifiers="const">
<return type="Var... | {
"content_hash": "a3333f2ff297dc92bfa7c7e8e0aee7b2",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 157,
"avg_line_length": 28.209302325581394,
"alnum_prop": 0.6619950535861501,
"repo_name": "neikeq/godot",
"id": "19495a88599eafeab833fc99f8dbdc2fd131f63b",
"size": "1213",... |
import java.util.*;
public class NEpaths {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.print("Enter rows apart: ");
int rows = sc.nextInt();
System.out.print("Enter columns apart: ");
int cols = sc.nextInt();
String path = "";
System.out.println("Number o... | {
"content_hash": "1b57cab1bcc138079fb00d28bebcd183",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 87,
"avg_line_length": 25.514285714285716,
"alnum_prop": 0.58006718924972,
"repo_name": "wentjun/Data-Structures-and-Algorithms-I-CS1020",
"id": "98b290adfd4bdd845704ddd27098... |
import { LoggerageObject } from '../loggerage-object';
import { Storage } from '../storage-interface';
import { Query } from './query';
export declare class WrapLocalStorage implements Storage {
private _storage;
constructor(localStorage: any);
getItem(app: string, query?: Query): LoggerageObject[];
set... | {
"content_hash": "90b221085eedc7c7173a9b46123b713d",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 59,
"avg_line_length": 39,
"alnum_prop": 0.7025641025641025,
"repo_name": "lmfresneda/LogStorage.js",
"id": "f1eb24bf4439a928925c6b18e97a3c85bf457756",
"size": "390",
"bi... |
package com.google.apphosting.utils.config;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Parsed queue.xml file.
*
* Any additions to this class should also be made to the YAML
* version in QueueYamlReade... | {
"content_hash": "db3ae386b71d948d36f36b24c907638b",
"timestamp": "",
"source": "github",
"line_count": 648,
"max_line_length": 100,
"avg_line_length": 32.141975308641975,
"alnum_prop": 0.620318801613213,
"repo_name": "GoogleCloudPlatform/appengine-java-standard",
"id": "61c9dd55cc92098f2b1d32651198c... |
import synapse.common as s_common
import synapse.lib.stormtypes as s_stormtypes
@s_stormtypes.registry.registerLib
class BackupLib(s_stormtypes.Lib):
'''
A Storm Library for interacting with the backup APIs in the Cortex.
'''
_storm_locals = (
{'name': 'run', 'desc': 'Run a Cortex backup.',
... | {
"content_hash": "8fd71b8fd5c8c4edf51dda3319eb2b22",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 127,
"avg_line_length": 44.907407407407405,
"alnum_prop": 0.5360824742268041,
"repo_name": "vertexproject/synapse",
"id": "dad9ed94ab5b9c974c8c3c935e2055d027703f32",
"size"... |
title: 'Startup Summits'
media_order: 23675013_1952128548337604_915895118384903538_o.jpg
---
Our annual startup summit, Converge, brings together creators, innovators and entrepreneurs at the frontline of our global technology, startups and creative ecosystems to offer key insights, big ideas and collaborate.
The Su... | {
"content_hash": "b47fee07c0b1e42f0463e0afad9fa6a0",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 218,
"avg_line_length": 64.42857142857143,
"alnum_prop": 0.8203991130820399,
"repo_name": "elixirlabsinc/next-gen",
"id": "638cf45c4c0a9ad652afe029b4373806f247a7cb",
"size":... |
namespace ph
{
std::shared_ptr<Geometry> LightSource::genGeometry(CookingContext& context) const
{
return nullptr;
}
std::shared_ptr<Material> LightSource::genMaterial(CookingContext& context) const
{
const Vector3R linearSrgbAlbedo(0.5_r);
return std::make_shared<MatteOpaque>(linearSrgbAlbedo);
}
// command inte... | {
"content_hash": "b6f33ca21992b411371b3b471fb45cf6",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 81,
"avg_line_length": 21.444444444444443,
"alnum_prop": 0.7772020725388601,
"repo_name": "TzuChieh/Photon-v2",
"id": "1c6381210004a6e1ebd2ccd9721891e0e64b34dc",
"size": "7... |
<?php
namespace Wetcat\Fortie\Providers\Currencies;
use Wetcat\Fortie\AbstractFortieResource;
class Resource extends AbstractFortieResource
{
protected $wrapper = 'Currencies';
}
| {
"content_hash": "422470e71b1be5fe9f092efea4187479",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 45,
"avg_line_length": 18.6,
"alnum_prop": 0.7956989247311828,
"repo_name": "wetcat-studios/fortie",
"id": "6a0d326fc569928b235bb66566119aecb210d756",
"size": "186",
"bin... |
#include "RLEEncodeDecodeII.h"
RLEEncodeDecodeII::RLEEncodeDecodeII()
{}
RLEEncodeDecodeII::~RLEEncodeDecodeII()
{}
bool RLEEncodeDecodeII::run(Globals* g, const vector<string>& args) {
using namespace std;
bool success=true;
cout << "*** RLE Encoding and Decoding simple test ***" << endl;
cout << "--- Encodi... | {
"content_hash": "776252ae147469f334da90af7c3aa3f4",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 103,
"avg_line_length": 31.435714285714287,
"alnum_prop": 0.6066802999318337,
"repo_name": "ibrarahmad/cstore",
"id": "84224104ce4d51a362bd094e749c9ffe8e1f8a5c",
"size": "... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace AppControl
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
... | {
"content_hash": "f3f32265c3c7c2eb204546e2610f782a",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 42,
"avg_line_length": 19.058823529411764,
"alnum_prop": 0.7037037037037037,
"repo_name": "razsilev/TelerikAcademy_Homework",
"id": "de78767034f78e3761fef045fe43171c1fb92197"... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=calendar-access.interface.js.map | {
"content_hash": "1073b4d63023e4d04d7889f022dc5d8c",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 62,
"avg_line_length": 43.333333333333336,
"alnum_prop": 0.7461538461538462,
"repo_name": "jdonenine/disney-parks-calendar",
"id": "756fa8e2b013b7fca4645a8b40da97ab18a8c794",
... |
(function(app) {
// #enddocregion appimport
// #docregion ng2import
var provide =
ng.core.provide;
var bootstrap =
ng.platformBrowserDynamic.bootstrap;
var LocationStrategy =
ng.common.LocationStrategy;
var HashLocationStrategy =
ng.common.HashLocationStrategy;
// #enddocregion ng2import
... | {
"content_hash": "0b62a3dd11a482d5f7aa830084be16e9",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 60,
"avg_line_length": 30.743589743589745,
"alnum_prop": 0.7222685571309424,
"repo_name": "luisvt/angular.io",
"id": "ed92d6f823414083e0693e67ebb79f7bb56b7c6a",
"size": "12... |
<!-- markdownlint-disable MD033 -->
## Prerequisites
Follow all steps from [common.md](./common.md).
## Configure node type specific parameters (local machine)
### 1. Set node type
[`deployment/ansible/inventory/group_vars/all.yml`]
```yaml
type_name: "Priv-SN"
...
```
### 2. Specify target instance address
... | {
"content_hash": "382d7860a08a1c2dde1b73e6f9e71c91",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 195,
"avg_line_length": 25.09027777777778,
"alnum_prop": 0.6944367561583172,
"repo_name": "zigbee-alliance/distributed-compliance-ledger",
"id": "e2563b79afbeaee7767977ddd5c... |
<?php
namespace AmidaMVC\Module;
class Emitter extends AModule implements IfModule
{
/**
* @var \AmidaMVC\Tools\Emit
*/
var $_emitClass = '\AmidaMVC\Tools\Emit';
/**
* @var array list of supported commands.
*/
var $commands = array( '_view', '_src', '_raw', '_bare' );
// +---... | {
"content_hash": "d5f99318bdadf5eac6a8f7d7d674843e",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 85,
"avg_line_length": 36.75,
"alnum_prop": 0.4754927612070469,
"repo_name": "asaokamei/AmidaMVC",
"id": "380c2a3712c06ec2e87ffab90a2ee11b745e4f91",
"size": "5733",
"bin... |
//package org.jasig.cas.services;
//import org.springframework.orm.jpa.support.JpaDaoSupport;
//import java.util.List;
/**
* Implementation of the ServiceRegistryDao based on JPA.
*
* @author Scott Battaglia
* @version $Revision$ $Date$
* @since 3.1
*/
public class JpaServiceRegistryDaoImpl : ... | {
"content_hash": "c6fd51c2be4b821a5ef67b9ea874e9ef",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 82,
"avg_line_length": 28.386363636363637,
"alnum_prop": 0.6413130504403523,
"repo_name": "zbw911/CasServer",
"id": "9bc1ce2ef41291d1970c9470526a9c8ea1469812",
"size": "206... |
package com.signalcollect.dcop.vertices.id
class VariableId(num : Int) extends MaxSumId{
//Variable nodes have ids of the form V1, V2, ....
val id = "V" + num
} | {
"content_hash": "883ed30a2dd37d2335a273e651ff2146",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 51,
"avg_line_length": 18.666666666666668,
"alnum_prop": 0.6845238095238095,
"repo_name": "gmazlami/dcop-maxsum",
"id": "847bd161741c9706e84c79c0f98750c5a21f92ea",
"size": "... |
export * from './intern';
export const environments = [
{ browserName: 'internet explorer', version: ['9.0', '10.0', '11.0'], platform: 'Windows 7' },
{ browserName: 'MicrosoftEdge', platform: 'Windows 10' },
{ browserName: 'firefox', platform: 'Windows 10' },
{ browserName: 'chrome', platform: 'Windows 10' },
{ ... | {
"content_hash": "6c0486c3cd19568a8718238e4479951c",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 95,
"avg_line_length": 42.5,
"alnum_prop": 0.6588235294117647,
"repo_name": "kitsonk/widgets",
"id": "0fedf2117511798859f73152c4b79d9aa428f80e",
"size": "765",
"binary": ... |
{
"General": {
"Buttons": {
"Add": "Hinzufügen",
"Cancel": "Abbrechen",
"Copy": "Kopieren",
"Delete": "Löschen",
"Edit": "Bearbeiten",
"ForceDelete": "zwangs-löschen",
"NotSave": "Nicht speichern",
"Permissions": "Berechtigungen",
"Refresh": "Aktualisieren",
"Rename": "Umbenennen",
"... | {
"content_hash": "6857049d9126fd78a8733cbe39fed62d",
"timestamp": "",
"source": "github",
"line_count": 316,
"max_line_length": 348,
"avg_line_length": 32.25632911392405,
"alnum_prop": 0.6101245953105072,
"repo_name": "2sic/2sxc-eav-languages",
"id": "e5a699df32833a9d56efee86d0fc449eb5405d3e",
"siz... |
CREATE TABLE `webcore_page_photos` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned DEFAULT NULL,
`site_id` int(10) unsigned DEFAULT NULL,
`caption` text,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
/*
`crop_x` int(10) unsigned DEFAULT NULL,
`crop... | {
"content_hash": "b7c4e11ef655a73e852142639d647e47",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 48,
"avg_line_length": 31.2,
"alnum_prop": 0.6794871794871795,
"repo_name": "tmaly1980/webcore",
"id": "124c69e2572b77abe3383629d1fbd035ca11cd0e",
"size": "468",
"binary"... |
<?php
namespace Core\Auth;
use Core\Database\Database;
class DBAuth
{
private $db;
public function __construct(Database $db)
{
$this->db = $db;
}
public function getUserId(){
if($this->logged()){
return $_SESSION['auth'];
}
return false;
}
//... | {
"content_hash": "7ed5c22502ab582f8832d8d3215ed164",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 102,
"avg_line_length": 22.493333333333332,
"alnum_prop": 0.5168938944872555,
"repo_name": "Mickey3d/bloogy",
"id": "dd0500ee428cdaafa1c1f6684d7188c6ea885637",
"size": "168... |
package com.facebook.buck.jvm.java;
import static java.nio.charset.StandardCharsets.UTF_8;
import static java.util.jar.Attributes.Name.IMPLEMENTATION_VERSION;
import static java.util.jar.Attributes.Name.MANIFEST_VERSION;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.hasItem... | {
"content_hash": "d0ce9760458a7357be348aceb7723bd7",
"timestamp": "",
"source": "github",
"line_count": 605,
"max_line_length": 100,
"avg_line_length": 39.10413223140496,
"alnum_prop": 0.6822216586355567,
"repo_name": "clonetwin26/buck",
"id": "d8d3dc18f92f367efe1266c66bd5792786e579a2",
"size": "24... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>free-groups: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | {
"content_hash": "fb24260cb12768fef68bb9ca57d59b6b",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 225,
"avg_line_length": 41.50588235294118,
"alnum_prop": 0.5457766439909297,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "670b01908d1a9a0cb7802cf75c25ec1c8ce5bea9",
... |
* qc.Point getTilePosition(number x, number y)
## Paramters
| Paramter | Type | Description |
| --------- | --------- | --------- |
| x | number | index in axis x |
| y | number | index in axis y |
## Description
Get tile position.
| {
"content_hash": "9dae9899fe591d538ebbeb4cd315ea07",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 46,
"avg_line_length": 23.4,
"alnum_prop": 0.5641025641025641,
"repo_name": "qiciengine/qiciengine-documentation",
"id": "6f058bbf6c48527df78f1a72637d563371091500",
"size":... |
package miyagi389.android.apps.tr.presentation.ui;
import android.content.Context;
import android.content.Intent;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.FragmentManager;
import miyagi389.android.apps.tr.presentatio... | {
"content_hash": "f34b3f94063b86989f567e47398e67b9",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 101,
"avg_line_length": 32.45945945945946,
"alnum_prop": 0.6994171523730225,
"repo_name": "miyagi389/mtimerec-android",
"id": "88922fdf8866c9a4dc4d4f12992bd34e8467a223",
"s... |
/* Bluetooth: Mesh Generic OnOff, Generic Level, Lighting & Vendor Models
*
* Copyright (c) 2018 Vikrant More
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "console/console.h"
#include "hal/hal_gpio.h"
#include "mesh/mesh.h"
#include "app_gpio.h"
#include "storage.h"
#include "ble_mesh.h"
#include "devi... | {
"content_hash": "05296e58edba85e157355d34d7ccf3f6",
"timestamp": "",
"source": "github",
"line_count": 2846,
"max_line_length": 79,
"avg_line_length": 27.089248067463107,
"alnum_prop": 0.6590225173809277,
"repo_name": "apache/mynewt-nimble",
"id": "40ede501261196051ede4c04b77856a75304013a",
"size"... |
<?php
namespace thinker_g\IshtarGate;
use Yii;
use yii\web\AssetBundle;
use yii\web\View;
use yii\helpers\Html;
/**
* Asset bundle of jquery plugin "Inews ticker".
* @author Thinker_g
* @see https://github.com/progpars/inewsticker
*
*/
class INewsTickerAsset extends AssetBundle
{
/**
* @var string over... | {
"content_hash": "6e1569d3cc46cada5a9085f127b964ab",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 86,
"avg_line_length": 26.126666666666665,
"alnum_prop": 0.5394233222760908,
"repo_name": "thinker-g/yii2-ishtar-gate",
"id": "1da6b883cf271626e71b66878375d49cdacd6a20",
"... |
* Basic OAuth stubbing works
* Forked from `emmerge:google-fake`
| {
"content_hash": "529b637b653217bbe197fbd95cd5008e",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 35,
"avg_line_length": 32.5,
"alnum_prop": 0.7692307692307693,
"repo_name": "ryepdx/meteor-linkedin-fake",
"id": "99b5e1c05159b5258e664c016909178ef67b13d4",
"size": "73",
... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b1a29df88e53e3d1dcaf284ddb78c547",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 18,
"avg_line_length": 8.384615384615385,
"alnum_prop": 0.6788990825688074,
"repo_name": "mdoering/backbone",
"id": "bd2ec09759065eee54cb11295a9ad40077be7a24",
"size": "172... |
import Component from "vue-class-component";
import AuthComponent from "../../components/authComponent/authComponent";
import RegisterButton from "../../controls/registerButton/registerButton.vue";
import AuthButton from "../../controls/authButton/authButton.vue";
import AuthListTile from "../../controls/authListTile/a... | {
"content_hash": "b0bb7eb6b21f0d24f4cc56503d79054b",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 84,
"avg_line_length": 29.214285714285715,
"alnum_prop": 0.6931540342298288,
"repo_name": "Divergic/techmentorweb",
"id": "ac701f3fd30d9332123fee1daf3ca9e25e23102e",
"size"... |
title: Sample Sequencer
name: sample-sequencer
type: page
date: "Mon, 17 Nov 2008 20:31:18 +0000"
author: niels
category: uncategorized
---
Its easy to sequence Samples with Reloaded - and to record the sequence to a new sample.This is how the Sequencer looks like:[caption id="attachment_200" align="aligncenter" width=... | {
"content_hash": "afabfe94bac6461e2e0a1e118cd0e7c8",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 631,
"avg_line_length": 97.9,
"alnum_prop": 0.7732379979570991,
"repo_name": "mvhenten/veejayhq",
"id": "445c658793ca06e6ab5dc99f91e2a4348d42e367",
"size": "983",
"binary... |
//
// Sprite.m
// Final-Project-Refactored
//
// Sprite class for touch management adapted from. Subclass of CCSprite
// http://lethain.com/entry/2008/oct/20/touch-detection-in-cocos2d-iphone/
//
#import "Sprite.h"
@implementation Sprite
static NSMutableArray * sprites = nil;
/*
*sprites returns the synchroni... | {
"content_hash": "f0d5111bac61ba43f5ee46b847ba72db",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 77,
"avg_line_length": 22.903614457831324,
"alnum_prop": 0.6796422935297212,
"repo_name": "dhenke/CollegeNostalgia-Shooter",
"id": "bf06709c02c8817f1b44c374d2e684af07e97f9f",... |
local api, cmd, g, opt, o = vim.api, vim.cmd, vim.g, vim.opt, vim.o
---------------------------------------------------------------------------
-- Global Config
---------------------------------------------------------------------------
-- Disable python2 and perl support
g.loaded_python_provider = 0
g.loaded_perl_p... | {
"content_hash": "1aef260493572e63c932fe28cf68fd01",
"timestamp": "",
"source": "github",
"line_count": 309,
"max_line_length": 126,
"avg_line_length": 32.45307443365696,
"alnum_prop": 0.5110690067810132,
"repo_name": "igalarzab/dotfiles",
"id": "3c888a65904b163fc9e28a02895f458ef702f577",
"size": "... |
package com.hotels.plunger;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import java.io.IOException;
import java.util.List;
import java.util.Properties;
import org.junit.Before;
import org.jun... | {
"content_hash": "ad286de27e91129b7389d5c5973a2f95",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 88,
"avg_line_length": 31.96268656716418,
"alnum_prop": 0.7235582535605883,
"repo_name": "patduin/plunger",
"id": "303408b68622b2a25933fb6a8cbc8dab9cb1e003",
"size": "4879... |
package com.github.hburgmeier.jerseyoauth2.rs.impl.base;
import javax.ws.rs.core.Response;
public class OAuth2FilterException extends Exception {
/**
*
*/
private static final long serialVersionUID = 1L;
private Response errorResponse;
public OAuth2FilterException() {
super();
}
public... | {
"content_hash": "25277060d7e308b99fa0170a631cef09",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 61,
"avg_line_length": 19.806451612903224,
"alnum_prop": 0.7166123778501629,
"repo_name": "hburgmeier/jerseyoauth2",
"id": "e1ce042fe6c25eb53e5ad62dd7ce37f94c70a270",
"size... |
package org.apache.geode.codeAnalysis;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.geode.codeAnalysis.decode.CompiledClass;
import org.apache.geode.codeAnalysis.decode.CompiledField;
/... | {
"content_hash": "78786d0dc70b1df54644253603fe3d68",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 85,
"avg_line_length": 29.47252747252747,
"alnum_prop": 0.6905294556301268,
"repo_name": "smgoller/geode",
"id": "7a9794afbeec114f65c7e3501869b0c1f2b498cd",
"size": "3471",... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "cd01d418084cf2e1123bcb3b09e0761a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "e262fc95ecf0671ff41e4b83ace17f369fab7b50",
"size": "182... |
package org.pentaho.di.ui.trans.steps.sftpput;
import java.net.InetAddress;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CCombo;
import org.eclipse.swt.custom.CTabFolder;
import org.eclipse.swt.custom.CTabItem;
import org.eclipse.swt.events.FocusListener;
import org.eclipse.swt.events.ModifyEvent;
impo... | {
"content_hash": "d631143b47dbe1455904889832786e22",
"timestamp": "",
"source": "github",
"line_count": 1202,
"max_line_length": 115,
"avg_line_length": 41.80116472545757,
"alnum_prop": 0.6993332669917405,
"repo_name": "ma459006574/pentaho-kettle",
"id": "4c181b89204a0fa92f0afe99d160bf77c0483dee",
... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="10dip">
... | {
"content_hash": "0263afcf22b9448441ad6f1848aeefed",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 72,
"avg_line_length": 39.340425531914896,
"alnum_prop": 0.6722552731206057,
"repo_name": "wseemann/RoMote",
"id": "b220ba9d0e9557c8927f91d2fb26cad82182afb4",
"size": "1849... |
using System;
using System.IO;
using Signum.Utilities;
using System.Linq.Expressions;
using Signum.Services;
namespace Signum.Entities.Files
{
[Serializable, EntityKind(EntityKind.SharedPart, EntityData.Transactional)]
public class FilePathEntity : Entity, IFile, IFilePath
{
public stati... | {
"content_hash": "81de0fdb4169f193bd46f052aebc10d3",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 123,
"avg_line_length": 29.46551724137931,
"alnum_prop": 0.5521747610688512,
"repo_name": "signumsoftware/extensions",
"id": "3ea9281128371ba5e834b420562e3a66c0a8b189",
"s... |
ace.define("ace/ext/whitespace", ["require", "exports", "module", "ace/lib/lang"], function(require, exports, module) {
"use strict";
var lang = require("../lib/lang");
exports.$detectIndentation = function(lines, fallback) {
var stats = [];
var changes = [];
var tabIndents = 0;
var prevSpaces = ... | {
"content_hash": "cf42df5a77f1bc4e19790c157c254786",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 119,
"avg_line_length": 27.27777777777778,
"alnum_prop": 0.5404981983393389,
"repo_name": "TeamSPoon/logicmoo_workspace",
"id": "6d9d965365c8b3dbeec55c95fec2f9d46f120f2e",
... |
// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.
// source: demo/demo_service.proto
/*
Package demo is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
*/
package demo
import (
"io"
"net/http"
"github.com/golang/protobuf/proto"
"github.com/grpc-ecosystem/grpc-gateway/runtime"
"github.com/g... | {
"content_hash": "a0e215a440a7e5635402be7c81341783",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 207,
"avg_line_length": 35.3,
"alnum_prop": 0.7253791034827529,
"repo_name": "niasand/how_to_go",
"id": "7b31a3e7c53c55db19c3873efed64c65586741d6",
"size": "6001",
"bina... |
<a href='https://github.com/angular/angular.js/edit/v1.4.x/src/ng/directive/form.js?message=docs(ngForm)%3A%20describe%20your%20change...#L286' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<a href='https://github.com/angular/angular.js/tree/v1.4.0-rc.0/src/n... | {
"content_hash": "df0456427851974fde872541a1872f93",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 247,
"avg_line_length": 24.75,
"alnum_prop": 0.5947940947940948,
"repo_name": "dolymood/angular-packages",
"id": "281ded35ca8f3e4450903481f8189dc1136e36b7",
"size": "2574"... |
"""
Cass storage backend
"""
import pycassa
from matra.openstack.common import log
from matra.openstack.common import network_utils
from matra.storage import base
LOG = log.getLogger(__name__)
class CassStorage(base.StorageEngine):
'''
Put data into cassandra
'''
@staticmethod
def get_connectio... | {
"content_hash": "d4a97ba19db31cd105e02ebcf45d521d",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 103,
"avg_line_length": 23.768115942028984,
"alnum_prop": 0.6085365853658536,
"repo_name": "lakshmi-kannan/matra",
"id": "49293d7bbe67cd9edca8e923db4d58b3c370a50a",
"size":... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!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" xml:lang="en" lang="en">
<head>
<title>File: model.rb</title>
<meta http-equiv="Content-Type" c... | {
"content_hash": "d32e376aef39d34afb84b4202a08b869",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 102,
"avg_line_length": 20.175925925925927,
"alnum_prop": 0.5842129417163837,
"repo_name": "edgecase/authorize_me",
"id": "3274a77682804d76e21b311995e1a8396a0efa15",
"size... |
package sbahjsic.util;
/** Math utilities.*/
public final class MathUtils {
private MathUtils() {}
/** Calculates the int factorial of some number.
* @param n the number
* @return n!*/
public static int fact(int n) {
int result = 1;
for(int i = 1; i <= n; i++)
result *= i;
return result;
}
/** ... | {
"content_hash": "b975beb31caf935271d30c9b13ec31a6",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 64,
"avg_line_length": 23.015873015873016,
"alnum_prop": 0.596551724137931,
"repo_name": "expositionrabbit/Sbahjsic-runtime",
"id": "252470d622149e2ceb41042a3aaf736c766dd7a5"... |
from __future__ import with_statement
import os.path
import time
import urllib
import re
import threading
import datetime
import random
import locale
from Cheetah.Template import Template
import cherrypy.lib
import sickbeard
from sickbeard import config, sab
from sickbeard import clients
from sickbeard import his... | {
"content_hash": "5be9870a15847e379879c4f531847a58",
"timestamp": "",
"source": "github",
"line_count": 4025,
"max_line_length": 565,
"avg_line_length": 38.46608695652174,
"alnum_prop": 0.5864389701988039,
"repo_name": "Branlala/docker-sickbeardfr",
"id": "c11bf938b14614a77ff0293e6be3bc0d034596a4",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Thu Dec 05 05:02:11 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... | {
"content_hash": "776c5382ea98f5d00f285aa327fb1f83",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 155,
"avg_line_length": 37.9765625,
"alnum_prop": 0.619214153466365,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "c33f0cd2dabe70a35984811be9a528cc0efaf9eb",
... |
<?php
/**
* ScenarioRepository.php
* 2013 Petr Dvorak, petr-dvorak.cz / 10.4.13 22:52
*/
namespace ITILSimulator\Repositories\Training;
use ITILSimulator\Repositories\BaseRepository;
/**
* Scenario repository.
* @package ITILSimulator\Repositories\Training
*/
class ScenarioRepository extends BaseRepository
{
... | {
"content_hash": "2efa55ac6507385d2441d5388c86c5f7",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 51,
"avg_line_length": 16.94736842105263,
"alnum_prop": 0.7608695652173914,
"repo_name": "petrolep/itilsimulator",
"id": "a9976f55fbbdaf7a24bafe395f91f0ee345e158f",
"size":... |
gem 'minitest'
require 'redis'
require 'redisabel'
require 'minitest/autorun'
path = File.dirname(__FILE__)
Dir.open(path).select{ |f| f =~ /spec/ }.each do |f|
load path + '/' + f.to_s
end
| {
"content_hash": "0b75b22308bddae16da5183cfe4271a5",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 52,
"avg_line_length": 19.4,
"alnum_prop": 0.6443298969072165,
"repo_name": "matthias-geier/redisabel",
"id": "1baae2d716779bf5ee19d7a8dfce5ee7705cc40d",
"size": "194",
"... |
package com.netflix.curator.framework.imps;
import com.netflix.curator.framework.api.CuratorWatcher;
import org.apache.zookeeper.WatchedEvent;
import org.apache.zookeeper.Watcher;
class NamespaceWatcher implements Watcher
{
private final CuratorFrameworkImpl client;
private final Watcher actualWatcher;
... | {
"content_hash": "efd640952389ab62ab2c89ea0d9f1c3f",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 81,
"avg_line_length": 26.6875,
"alnum_prop": 0.6362217017954723,
"repo_name": "box/curator",
"id": "3f1752fdf0011d87ab987635bde2d5a12a916bdb",
"size": "1920",
"binary": ... |
package org.apache.ignite.internal.processors.cache;
import org.apache.ignite.IgniteCheckedException;
import org.apache.ignite.IgniteException;
import org.apache.ignite.binary.BinaryObject;
import org.apache.ignite.cache.affinity.AffinityFunction;
import org.apache.ignite.cache.affinity.AffinityKeyMapper;
import org... | {
"content_hash": "7dba3a6077d5821662594cadc86de352",
"timestamp": "",
"source": "github",
"line_count": 459,
"max_line_length": 121,
"avg_line_length": 31.296296296296298,
"alnum_prop": 0.6515837104072398,
"repo_name": "vldpyatkov/ignite",
"id": "d85e76e2bbd82ad1812f1dfb13410825a175bbae",
"size": "... |
/*
* Spanning tree protocol; timer-related code
* Linux ethernet bridge
*
* Authors:
* Lennert Buytenhek <buytenh@gnu.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either vers... | {
"content_hash": "e8573275388c446851f27678010fd8cb",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 71,
"avg_line_length": 26.45977011494253,
"alnum_prop": 0.6681146828844483,
"repo_name": "endplay/omniplay",
"id": "acc63a4d91884bedc8b87970a7dfc43754d8acb1",
"size": "460... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "ba7525031da2c04b1d99ff1c7359f2ef",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "60f0ff2e212708dd2020aee3f1c6a779481b0e0f",
"size": "173... |
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/detail/xml_parser_error.hpp>
#include <boost/property_tree/detail/xml_parser_flags.hpp>
#include <boost/property_tree/detail/xml_parser_utils.hpp>
#include <boost/property_tree/detail/rapidxml.hpp>
#include <vector>
namespace boost { names... | {
"content_hash": "3fb0999bb2f81d5fb0215d9d1caf831a",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 79,
"avg_line_length": 37.32330827067669,
"alnum_prop": 0.4425866236905721,
"repo_name": "miho/iNumerics",
"id": "d4997aecf0882220e7430445fd4a6f4e50e51bfd",
"size": "5528"... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | {
"content_hash": "87b137a883528c5fb1d1f75239a87ee1",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 115,
"avg_line_length": 29.17269076305221,
"alnum_prop": 0.5931993392070485,
"repo_name": "dilawar/moodle",
"id": "f1cbc111361f0ded7ec93ad4be8500f0be19c677",
"size": "7264... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ImageViewer
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
... | {
"content_hash": "c7a54291f0c014343f6c893dfa780625",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 65,
"avg_line_length": 24.90909090909091,
"alnum_prop": 0.5948905109489051,
"repo_name": "i-e-b/ImageTools",
"id": "04f42d21330d5f7122568903d0db6beeb4058cd7",
"size": "550"... |
using FluentAssertions;
using MvcBootstrapTable.Builders;
using MvcBootstrapTable.Config;
using Xunit;
namespace Test.Builders
{
public class UpdateBuilderTest
{
private readonly UpdateBuilder _builder;
private readonly UpdateConfig _config;
public UpdateBuilderTest()
{
... | {
"content_hash": "7d6ee37a69149db780aec95d5fe78cb3",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 77,
"avg_line_length": 25.686746987951807,
"alnum_prop": 0.5389305816135085,
"repo_name": "Robelind/MvcBootstrapTable",
"id": "1534a04f64edae86e48c36c0ae61b1737ee8e32c",
"s... |
import { SymbolGroup } from '../../entities/symbol-group';
import { BaseApiService } from './base-api.service';
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
import { EnvironmentProvider } from '.... | {
"content_hash": "61cfe6b82714c1c4a4ac41e5f5866b03",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 128,
"avg_line_length": 31.743589743589745,
"alnum_prop": 0.6639741518578353,
"repo_name": "LearnLib/alex",
"id": "41a01dd60a0f6135004ed5e24a5bae852e65e43e",
"size": "3077"... |
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2014 HackPascal <hackpascal@gmail.com>
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.apa... | {
"content_hash": "fe39862dcdc9ccafd9c10223913591fa",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 143,
"avg_line_length": 30.484848484848484,
"alnum_prop": 0.6401590457256461,
"repo_name": "mumuqz/luci",
"id": "ec9b506e13670b5e0f905b7a582cc90105d95283",
"size": "3023",
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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" co... | {
"content_hash": "9fe4d1b7c1b9ac45e2452ca6d0cde3d7",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 362,
"avg_line_length": 45.28125,
"alnum_prop": 0.6535541752933057,
"repo_name": "kumakoko/KumaGL",
"id": "62ced6651da7b96debf30af6551057056fd5830b",
"size": "7245",
"bi... |
import json
import os
import sys, logging
if __name__ == "__main__":
logging.basicConfig(level=logging.DEBUG)
with open(sys.argv[1]) as fhd:
lines = fhd.readlines()
while lines:
line = lines.pop(0)
if "Plugin Components:" in line.strip():
logging.debug("Found start: %s... | {
"content_hash": "f43f1ba57d7b5e2da3b33850f2a250ad",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 102,
"avg_line_length": 31.40909090909091,
"alnum_prop": 0.5506512301013025,
"repo_name": "undera/jmeter-plugins-manager",
"id": "dfcfad2f73602ba9e048285ce7d2edc6747740f6",
... |
function [output] = F_beamforming_gainTDOA(input_layer, curr_layer)
input = input_layer.a;
[D,T,N] = size(input);
gain = curr_layer.W; % W is a 2*nCh x nBin matrix. The first half store the real parts, the second half store the imaginary parts
TDOA = curr_layer.b;
[nCh,nBin] = size(gain);
freqBin = curr_layer.... | {
"content_hash": "f4aa2173244947f411eedbfa409016ca",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 131,
"avg_line_length": 29.19047619047619,
"alnum_prop": 0.6867862969004894,
"repo_name": "singaxiong/SignalGraph",
"id": "3371b3640e61a30a9d6c35c727c95f5da7e1106f",
"size"... |
package com.facebook.buck.android.toolchain.ndk.impl;
import com.facebook.buck.android.AndroidBuckConfig;
import com.facebook.buck.android.toolchain.ndk.AndroidNdk;
import com.facebook.buck.android.toolchain.ndk.AndroidNdkConstants;
import com.facebook.buck.android.toolchain.ndk.NdkCompilerType;
import com.facebook.... | {
"content_hash": "71f247e7e15716c0ec0846b06deb2c9b",
"timestamp": "",
"source": "github",
"line_count": 1055,
"max_line_length": 100,
"avg_line_length": 39.28625592417062,
"alnum_prop": 0.6673824402248655,
"repo_name": "clonetwin26/buck",
"id": "d2e26eb689d4fd411bfab93897788915b0959842",
"size": "4... |
import Prelude hiding (catch); no = catch | {
"content_hash": "44c4d206b494692bd606481759ccd6e5",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 41,
"avg_line_length": 41,
"alnum_prop": 0.7560975609756098,
"repo_name": "mpickering/hlint-refactor",
"id": "c3c551b722bcbf19cf04ec80078641cc628c68ed",
"size": "41",
"bin... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| T... | {
"content_hash": "36a4b38215b5fa1db80131cb1aa28592",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 75,
"avg_line_length": 31.843373493975903,
"alnum_prop": 0.6193719258418464,
"repo_name": "chilieu/cbsh",
"id": "664b548abf0e9d69b3760f48ae9657e1b8cbadee",
"size": "2643",
... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed><tipo>Rua</tipo><logradouro>B13</logradouro><bairro>Santa Maria</bairro><cidade>Aracaju</cidade><uf>SE</uf><cep>49044298</cep></feed>
| {
"content_hash": "03b67ca860729aa68a29f96656d09463",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 139,
"avg_line_length": 98,
"alnum_prop": 0.7142857142857143,
"repo_name": "chesarex/webservice-cep",
"id": "05070552acdb74c81f45360de80b3f07c369a27b",
"size": "196",
"bin... |
import {
GraphQLInputObjectType,
GraphQLObjectType,
GraphQLNonNull,
GraphQLList,
GraphQLString,
GraphQLInt,
GraphQLID
} from 'graphql';
import { RelationInput, EdgeInput, MetaInput } from './subdocuments';
export default new GraphQLInputObjectType({
name: 'ConstellationInput',
fields: {
_id: {
... | {
"content_hash": "756ee0cea5c09af53610e659e38df7a6",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 69,
"avg_line_length": 18.319148936170212,
"alnum_prop": 0.5923344947735192,
"repo_name": "GetGee/G",
"id": "9c5c1849fcfd64bc043413e6a0a098ca50d2845a",
"size": "861",
"bi... |
{% extends 'layout.html' %}
{% block title %}Login{% endblock %}
{% block body %}
<h1>You have successfully signed up.</h1>
<p>
An email has been sent to the account you signed up with.
Once you verify your email from the link provided in that
email you will be able to login.
</p>
{%... | {
"content_hash": "e717ffbc92e8a483d2d369529278b0fc",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 65,
"avg_line_length": 33.3,
"alnum_prop": 0.6216216216216216,
"repo_name": "BaySchoolCS2/ProjectRepo",
"id": "43226bd8d72c2b073f720b0cee9fc34b99dd14ae",
"size": "333",
"... |
var _ = require('underscore');
var keystone = require('keystone');
var browserify = require('browserify-middleware');
var babelify = require('babelify');
var middleware = require('./middleware');
var importRoutes = keystone.importer(__dirname);
var clientConfig = require('../client/config');
// Common Middleware
keyst... | {
"content_hash": "7ed8437c0b34c5fd56b5a2b78e34f830",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 82,
"avg_line_length": 33.80916030534351,
"alnum_prop": 0.6730638970422217,
"repo_name": "s-vp/site",
"id": "3e3e1acf567ab61f7318508cc120d4e47b89f71c",
"size": "4429",
"... |
package com.inman.model.response;
public enum ResponseType {
ADD,CHANGE,DELETE,QUERY
}
| {
"content_hash": "655af3b0b683cfe797bd6c56a05c415b",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 33,
"avg_line_length": 18.4,
"alnum_prop": 0.7608695652173914,
"repo_name": "PirateBag/Inman",
"id": "064262b510c0f3a0dd916f213bdf8459a2c99439",
"size": "92",
"binary": fa... |
package com.hazelcast.internal.util.collection;
import com.hazelcast.internal.util.QuickMath;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.util.AbstractCollection;
import java.util.AbstractSet;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import java.uti... | {
"content_hash": "d11b6493b87023f0c3ae395e0c46b455",
"timestamp": "",
"source": "github",
"line_count": 589,
"max_line_length": 107,
"avg_line_length": 29.500848896434636,
"alnum_prop": 0.5412638121546961,
"repo_name": "emre-aydin/hazelcast",
"id": "bd2fb9469a33f100afc63116c00d4bf7b40f0c97",
"size"... |
package liquibase.database.core;
import static java.util.Arrays.asList;
import static org.easymock.EasyMock.anyObject;
import static org.easymock.EasyMock.createNiceMock;
import static org.easymock.EasyMock.expect;
import static org.easymock.EasyMock.replay;
import static org.junit.Assert.assertEquals;
import static o... | {
"content_hash": "915d90463a25671f9773f59c36570454",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 127,
"avg_line_length": 36.49593495934959,
"alnum_prop": 0.784361773223435,
"repo_name": "AlisonSouza/liquibase",
"id": "9e2533cec39584993216c1133fbedab62b3ee9d3",
"size":... |
package org.drools.eclipse.flow.ruleflow.view.property.constraint;
import java.util.List;
import java.util.Map;
import org.drools.eclipse.editors.DRLSourceViewerConfig;
import org.drools.eclipse.editors.scanners.DRLPartionScanner;
import org.drools.eclipse.flow.common.view.property.EditBeanDialog;
import org.eclips... | {
"content_hash": "1d05c7ef00b3e69c336eeee1eaa68b65",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 107,
"avg_line_length": 37.255102040816325,
"alnum_prop": 0.6454396055875102,
"repo_name": "psiroky/droolsjbpm-tools",
"id": "7b2796f0613b694581c2cd0fe46bfb4ebaed868b",
"s... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.CodeAnalysis.Shared
{
internal i... | {
"content_hash": "74fe8ef29fbc638b9d0789e7f787ac6a",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 161,
"avg_line_length": 33,
"alnum_prop": 0.7192982456140351,
"repo_name": "nguerrera/roslyn",
"id": "0423494f6cd7a188f450b5b5ce2f02986fdebd62",
"size": "1256",
"binary":... |
:block(Popup)
{
position: absolute;
}
| {
"content_hash": "630183449d12a329e7de325bcd8c6a91",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 23,
"avg_line_length": 10.5,
"alnum_prop": 0.6190476190476191,
"repo_name": "dfilatov/vidom-ui",
"id": "bfede151e95a298dcfb02f09a321f347df7d745f",
"size": "42",
"binary": ... |
/* PP - Post Processing for THREE.js
* @author rdad / http://www.whiteflashwhitehit.com
* @link three.js https://github.com/mrdoob/three.js
*/
/*
* @todo : affectation d'un nom perso pour les shaders (permet d'utiliser plusieur fois le même shader)
**/
var PP = PP || {
enabled: true,
list: ... | {
"content_hash": "87d3b0daeeb1fc924810083799a503d6",
"timestamp": "",
"source": "github",
"line_count": 261,
"max_line_length": 138,
"avg_line_length": 29.796934865900383,
"alnum_prop": 0.4756332776134756,
"repo_name": "rdad/PP.js",
"id": "8dc5e5a4ab1b52ccaa4206f98e08055e75a4150e",
"size": "7779",
... |
use vut::project::Vut;
use crate::error::*;
use crate::ui::StderrUiHandler;
pub fn generate() -> Result<(), CliError> {
let mut ui = StderrUiHandler::new();
let vut = Vut::from_current_dir(&mut ui)?;
eprint!("Generating output... ");
vut.generate_output(&mut ui)?;
eprintln!("Done.");
Ok((... | {
"content_hash": "f47f17575774abc4d0fafd81ee164e11",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 46,
"avg_line_length": 18.055555555555557,
"alnum_prop": 0.5938461538461538,
"repo_name": "forbjok/vut",
"id": "181594722b5ecaceedc6619a0f33aca14f26777b",
"size": "325",
... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/mendeley_red"
android:orientation="vertical" >
<ImageView
android:id="@+id/im... | {
"content_hash": "a5518c7331698484de9d313634fbf0a4",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 79,
"avg_line_length": 39.955882352941174,
"alnum_prop": 0.6194331983805668,
"repo_name": "thirdiron/mendeley-android-sdk",
"id": "85b4828c1511f4db133807c7e8baf195b0b5c9aa",
... |
using namespace lldb;
using namespace lldb_private;
NativeRegisterContext::NativeRegisterContext(NativeThreadProtocol &thread)
: m_thread(thread) {}
// Destructor
NativeRegisterContext::~NativeRegisterContext() {}
// FIXME revisit invalidation, process stop ids, etc. Right now we don't
// support caching in Nat... | {
"content_hash": "34ad928ab3fe2a918c308f7ea205cb5d",
"timestamp": "",
"source": "github",
"line_count": 405,
"max_line_length": 80,
"avg_line_length": 33.901234567901234,
"alnum_prop": 0.6396941005098324,
"repo_name": "llvm-mirror/lldb",
"id": "fe40073eb59de3e67d906c8c2272440d9d919306",
"size": "14... |
package scriptella;
import scriptella.execution.EtlExecutor;
import scriptella.execution.EtlExecutorException;
import scriptella.util.RepeatingInputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
... | {
"content_hash": "e894d8712356ca779281cdbda8878cae",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 100,
"avg_line_length": 31.107142857142858,
"alnum_prop": 0.5880597014925373,
"repo_name": "scriptella/scriptella-etl",
"id": "bda053eabc642ba99f5930be35ef30b9f65307d9",
"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "e5da2ad756955daefc03dc522a60c601",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "f0a35e96666d5de901c4288d56c59df6c3fba622",
"size": "174... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Verifying a signature with additional restrictions.</title>
<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.79">
<link rel="HOME" title="XML Security Library Reference Manual" href="index.html">
<link... | {
"content_hash": "ddaa5d71de8ce2b9e1e516bbab565fe5",
"timestamp": "",
"source": "github",
"line_count": 680,
"max_line_length": 283,
"avg_line_length": 44.83529411764706,
"alnum_prop": 0.7065074783521386,
"repo_name": "SoteriousIdaofevil/xmlstar",
"id": "86116c825994a9a47399dd2b18877a325a9a4d35",
"... |
<?php
namespace backend\service;
use backend\models\User;
class UserService
{
public static function show()
{
return User::find()->asArray()->all();
}
/**
* 按id查询用户
*/
public static function selId($id)
{
return User::findOne($id);
}
/**
* 更新到数据库
*/
... | {
"content_hash": "5be9e4fd9ecb62cd5370ff2b64f22516",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 46,
"avg_line_length": 16.725,
"alnum_prop": 0.4992526158445441,
"repo_name": "nihao5/huanglong",
"id": "500ea6a8a5bc96f845028532be25824432964760",
"size": "699",
"binary... |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer_private;
import org.chromium.components.digital_asset_links.VerificationResultStore;
import java.util.Collections;
import ... | {
"content_hash": "46e47fdd30129aa81c85eccb074d4466",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 88,
"avg_line_length": 30.135135135135137,
"alnum_prop": 0.757847533632287,
"repo_name": "chromium/chromium",
"id": "fc799333001460cb91cdb8f6fba39f2f10d5e017",
"size": "111... |
/* #### Generated By: http://www.cufonfonts.com #### */
@font-face {
font-family: 'Avenir LT Std 95 Black';
font-style: normal;
font-weight: normal;
src: local('Avenir LT Std 95 Black'), url('AvenirLTStd-Black.woff') format('woff');
}
@font-face {
font-family: 'Avenir LT Std 45 Book';
font-style: normal;
font-weight... | {
"content_hash": "e16ea4eef04416cd75043f6ee761e03d",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 100,
"avg_line_length": 22.371900826446282,
"alnum_prop": 0.7000369412633912,
"repo_name": "sbeltran10/proyecto-final-web",
"id": "bea8002d1b5af0ff053fcace331ea82d72e2c06b",... |
package io.codearte.jFairyOnline.services;
import java.util.HashMap;
import java.util.Map;
import java.util.function.BiFunction;
import io.codearte.jFairyOnline.config.JFOProperties;
import io.codearte.jFairyOnline.services.fairy.FairyProvider;
import io.codearte.jFairyOnline.services.validation.CountProvider;
import... | {
"content_hash": "a7b50c30cded491cc53334afc5fc2ee5",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 108,
"avg_line_length": 32.9,
"alnum_prop": 0.7825578676642506,
"repo_name": "Codearte/jfairy-online",
"id": "77d6f6e8fb87a41f95e706ad1b76a4ce152e357c",
"size": "4277",
... |
/**
* MLLib tree loss module
* @module eclairjs/mllib/tree/loss
*/
module.exports = function(kernelP) {
return {
Loss: require('./Loss.js')(kernelP)
};
}; | {
"content_hash": "023d9ab538d88f0a7cd4265487d309ab",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 39,
"avg_line_length": 15.181818181818182,
"alnum_prop": 0.6227544910179641,
"repo_name": "EclairJS/eclairjs-node",
"id": "2131240edc967393cae039129c56d171b6718b5a",
"size"... |
#ifndef JMEM_ALLOCATOR_INTERNAL_H
#define JMEM_ALLOCATOR_INTERNAL_H
#ifndef JMEM_ALLOCATOR_INTERNAL
# error "The header is for internal routines of memory allocator component. Please, don't use the routines directly."
#endif /* !JMEM_ALLOCATOR_INTERNAL */
/** \addtogroup mem Memory allocation
* @{
*/
/**
* @{
... | {
"content_hash": "e58b16e0c66992aae999bd3977d400f3",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 117,
"avg_line_length": 29.066666666666666,
"alnum_prop": 0.6954128440366972,
"repo_name": "zherczeg/jerryscript",
"id": "a3bc57ee9d439069d3b330b71de30515b618e257",
"size":... |
package edu.psu.compbio.seqcode.gse.tools.fragdist;
import edu.psu.compbio.seqcode.gse.datasets.chipchip.*;
import edu.psu.compbio.seqcode.gse.tools.utils.Args;
import edu.psu.compbio.seqcode.gse.utils.database.*;
public class DumpFragDist {
public static void main(String args[]) throws Exception {
Strin... | {
"content_hash": "7797832952f7c92692fa1e22455a04a2",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 120,
"avg_line_length": 41.375,
"alnum_prop": 0.6374622356495468,
"repo_name": "shaunmahony/seqcode",
"id": "10e3d9d1eaa41934cfe54c5de44bd8f8b52d76bf",
"size": "993",
"bi... |
package org.jetbrains.plugins.gradle.ui;
import com.intellij.icons.AllIcons;
import com.intellij.openapi.actionSystem.ActionToolbarPosition;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.externalSystem.ExternalSystemUiAware;
import com.intellij.openapi.externalSystem.util.Externa... | {
"content_hash": "312afc3ed0e1a9f2c6b23b541e99721d",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 140,
"avg_line_length": 36.851190476190474,
"alnum_prop": 0.7554514617993862,
"repo_name": "idea4bsd/idea4bsd",
"id": "71370cecd4729b10240c158a4d616f69b8e98c79",
"size": "... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Revue Mycol. , Paris 11: 66 (1946)
#### Original name
Leptosphaeria grignonnensis A.L. Guyot
### Remarks
null | {
"content_hash": "9307ac82eb37fc5b61e950daa0e096e8",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 38,
"avg_line_length": 13.307692307692308,
"alnum_prop": 0.7052023121387283,
"repo_name": "mdoering/backbone",
"id": "6daf07c7bf7ffd299d884c2fb793aa87c3f9c13a",
"size": "23... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.