text stringlengths 2 1.04M | meta dict |
|---|---|
package v1alpha1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
)
// SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = schema.GroupVersion{Group: "poc.autoscaling.k8s.io", Version: "v1alph... | {
"content_hash": "5b312e277bc2ed973dc4b97a8568541a",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 98,
"avg_line_length": 32.214285714285715,
"alnum_prop": 0.7915742793791575,
"repo_name": "KarolKraskiewicz/autoscaler",
"id": "e3ddc65d748c2d9d2911f0530824b3c9e15df1ba",
"... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace FCT.LLC.BusinessService.Entities
{
[Table("tblDocumentProvConfig")]
public partial class tblDocumentProvConfig
{
[Key]
[StringLength(2)]
public string Province { get; set; }
... | {
"content_hash": "ecf84d25455674a0034d02e19f4cb143",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 51,
"avg_line_length": 24.933333333333334,
"alnum_prop": 0.6925133689839572,
"repo_name": "ygrinev/ygrinev",
"id": "2fefdf0041f6a7eec6138db95bc8b004fb4c88bf",
"size": "374"... |
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
*/
ELMO.Views.FormSettingsView = class FormSettingsView extends ELMO.Views.ApplicationView {
get el() { return 'form.form_fo... | {
"content_hash": "410efff535339a31d4e784f188462c1b",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 133,
"avg_line_length": 29.863013698630137,
"alnum_prop": 0.6050458715596331,
"repo_name": "thecartercenter/elmo",
"id": "c1710125e7653016625a1a8eee4cb0785e047c19",
"size":... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Graphis Scripta 19(1): 7 (2007)
#### Original name
Stigmidium leprariae Zhurb., 2007
### Remarks
null | {
"content_hash": "1af87da9c38950463c2e53669258fb8d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 14.615384615384615,
"alnum_prop": 0.7105263157894737,
"repo_name": "mdoering/backbone",
"id": "5e3d4f9a147471f679e90b79d2f46a4e7314bfe2",
"size": "24... |
using System;
using FullSerializer;
using UnityEngine;
using Object = UnityEngine.Object;
namespace SerializableActions.Internal
{
/// <summary>
/// This is a serializable wrapper for an argument. It contains both the value of the argument,
/// and information about the parameter the argument is for.
... | {
"content_hash": "dba27812b6d23caddae0221cf748101e",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 152,
"avg_line_length": 38.777027027027025,
"alnum_prop": 0.5549747342742638,
"repo_name": "Baste-RainGames/SerializableAction_Unity",
"id": "06c0bc8ba67b20f3700c02b8cc0e2c4... |
package com.aqnote.app.barcode.core.oned;
import com.aqnote.app.barcode.core.BarcodeFormat;
import com.aqnote.app.barcode.core.ChecksumException;
import com.aqnote.app.barcode.core.DecodeHintType;
import com.aqnote.app.barcode.core.FormatException;
import com.aqnote.app.barcode.core.NotFoundException;
import com.aqn... | {
"content_hash": "d6b559d2039cbb3e6c540e5fa749ff73",
"timestamp": "",
"source": "github",
"line_count": 389,
"max_line_length": 100,
"avg_line_length": 36.86632390745501,
"alnum_prop": 0.6518373893033959,
"repo_name": "aqnote/AndroidTest",
"id": "eeddf3cffc6be08fa41881fdf6be725ec3c43829",
"size": "... |
@interface GWPlaceholderTextView()
@property (nonatomic, weak) UILabel *placeholderLabel;
@end
@implementation GWPlaceholderTextView
- (UILabel *)placeholderLabel
{
if (!_placeholderLabel) {
// 添加一个用来显示占位文字的label
UILabel *placeholderLabel = [[UILabel alloc] init];
placeholderLabel.numberOf... | {
"content_hash": "d9765e31f8130fcf4f9e41895870187c",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 150,
"avg_line_length": 22.87,
"alnum_prop": 0.6768692610406646,
"repo_name": "gongqiuwei/object-c-projects",
"id": "127232a423fc2f26fc37cbaafe68772515c3a2bb",
"size": "27... |
package hex.genmodel.easy;
import hex.genmodel.GenModel;
import java.util.HashMap;
import java.util.Map;
public class OneHotEncoderDomainMapConstructor extends DomainMapConstructor {
public OneHotEncoderDomainMapConstructor(GenModel m, Map<String, Integer> columnNameToIndex) {
super(m, columnNameToIndex);
}... | {
"content_hash": "353e67d4d40bbcade751185ad49bfa61",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 112,
"avg_line_length": 30.7,
"alnum_prop": 0.7155266015200868,
"repo_name": "h2oai/h2o-3",
"id": "dc9665b90f41346e69455e6729deee651607b7ae",
"size": "921",
"binary": fal... |
layout: projects
---
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="css/default.css" />
<link rel="stylesheet" typ... | {
"content_hash": "596b67d44462c8fe2a93106bfadedd43",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 322,
"avg_line_length": 38.549019607843135,
"alnum_prop": 0.5274669379450662,
"repo_name": "Yitaek/yitaek.github.io",
"id": "59722758a101ca9e7d17b53f755ee93ab6fcc58e",
"siz... |
"use strict";
module.exports = function() {
var makeSelfResolutionError = function () {
return new TypeError("circular promise resolution chain\u000a\u000a See http://goo.gl/MqrFmX\u000a");
};
var reflectHandler = function() {
return new Promise.PromiseInspection(this._target());
};
var apiRejection = functi... | {
"content_hash": "51a0f9f7d0706b86543a196afc001c3a",
"timestamp": "",
"source": "github",
"line_count": 776,
"max_line_length": 128,
"avg_line_length": 33.27577319587629,
"alnum_prop": 0.5948803345984045,
"repo_name": "vamtech/vamtech.github.io",
"id": "eeac47e4769a1c60fef4d52b579c96f9cd2cb249",
"s... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `default` mod in crate `syntax`.">
<meta name="keywords" co... | {
"content_hash": "f61dd8d91c4c5d53299e46766dcef259",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 324,
"avg_line_length": 41.529411764705884,
"alnum_prop": 0.5195939565627951,
"repo_name": "ArcherSys/ArcherSys",
"id": "3ff61467e36920fbcfaf97990fda17c020601c21",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Flavien Auffret - Projet Doodad... | {
"content_hash": "ecd133f77d95acbb7ce1f2361855ad57",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 519,
"avg_line_length": 47.34285714285714,
"alnum_prop": 0.5566686783343392,
"repo_name": "Capemol/capemol.github.io",
"id": "f9d5d046d8dca89f54ed41fa46bb1c0b853ee075",
"s... |
/* $Id: log.h 4584 2013-08-30 04:03:22Z bennylp $ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publish... | {
"content_hash": "5ab32d18a28d7b0135d2778a56bded33",
"timestamp": "",
"source": "github",
"line_count": 453,
"max_line_length": 80,
"avg_line_length": 29.867549668874172,
"alnum_prop": 0.6568366592756837,
"repo_name": "MaximKeegan/swig",
"id": "c9d5c313d581f8a6119504bceb2c0f415733ae48",
"size": "13... |
namespace chromeos {
WizardInProcessBrowserTest::WizardInProcessBrowserTest(const char* screen_name)
: screen_name_(screen_name),
host_(NULL) {
}
void WizardInProcessBrowserTest::SetUpCommandLine(CommandLine* command_line) {
command_line->AppendSwitch(switches::kNoStartupWindow);
}
void WizardInProcessBr... | {
"content_hash": "0e8f10222fe8992d99315cbf8888b4da",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 79,
"avg_line_length": 26.4,
"alnum_prop": 0.7436868686868687,
"repo_name": "robclark/chromium",
"id": "e43244e3089cb7aceea7a9d3f250b57d60eecd76",
"size": "1520",
"binary... |
package org.hibernate.validator.interpolator;
import java.io.Serializable;
import java.lang.annotation.Annotation;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.HashMap;
import java.util.Map;
import java.util.MissingRes... | {
"content_hash": "b2d91636e51b9713b503c00b6f1e0ae2",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 115,
"avg_line_length": 35.14179104477612,
"alnum_prop": 0.6714801444043321,
"repo_name": "emmanuelbernard/hibernate-validator",
"id": "c2a6698da650eb255fa2473712fc4c51ea36a... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Globalization;
#if !(NET20 || NET35 || PORTABLE40 || PORTABLE)
using System.Numerics;
#endif
using Newtonsoft.Json.Serialization;
using Newtonsoft.Json.Utilities;
#if NET20
using Newtonsoft.Json.Utilities.LinqBridge;
#else
using System.Linq;
... | {
"content_hash": "c231f059c4a268f4aa89443fa6c46bde",
"timestamp": "",
"source": "github",
"line_count": 1160,
"max_line_length": 216,
"avg_line_length": 33.14224137931034,
"alnum_prop": 0.4858369098712446,
"repo_name": "pischke/Newtonsoft.Json",
"id": "bae24cff1e9cebbcbdcc037a6557dee4dd6046f5",
"si... |
import gulp from 'gulp';
import gulpif from 'gulp-if';
import plumber from 'gulp-plumber';
import jade from 'gulp-jade';
import inheritance from 'gulp-jade-inheritance';
import cached from 'gulp-cached';
import filter from 'gulp-filter';
import rename from 'gulp-rename';
im... | {
"content_hash": "5d895917d60870b238614c2d58e55b03",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 77,
"avg_line_length": 33.15,
"alnum_prop": 0.5641025641025641,
"repo_name": "dim2k2006/geekon-main",
"id": "92b3d0aab11399b023a4b5a83eaffacb9bd70ac5",
"size": "1326",
"b... |
using System;
using System.Collections.Generic;
using Better.UnsafeGeneric;
namespace Better
{
/// <summary>
/// Provides the factory method of the better EqualityComparers.
/// </summary>
public static class EqualityComparerFactory
{
private static readonly object StringEqu... | {
"content_hash": "7b0ec7b505ad560445b105835fa0370d",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 107,
"avg_line_length": 33,
"alnum_prop": 0.5252525252525253,
"repo_name": "komatus/BetterDictionary",
"id": "c8eba765efa8dd66676145270c591fa47f9a83db",
"size": "2180",
"... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This file documents the BFD library.
Copyright (C) 1991-2016 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documenta... | {
"content_hash": "ccfba42aab44df7ebb2c5681db19c88c",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 420,
"avg_line_length": 51.29365079365079,
"alnum_prop": 0.7355717159213987,
"repo_name": "ATM-HSW/mbed_target",
"id": "b34f82168f956bfc10945dae8954bb7dd05818f5",
"size": ... |
<?php
final class PhabricatorManiphestConfigOptions
extends PhabricatorApplicationConfigOptions {
public function getName() {
return pht('Maniphest');
}
public function getDescription() {
return pht('Configure Maniphest.');
}
public function getFontIcon() {
return 'fa-anchor';
}
public ... | {
"content_hash": "5ab1aef01c3272f9f774f463e12726ca",
"timestamp": "",
"source": "github",
"line_count": 343,
"max_line_length": 80,
"avg_line_length": 37.13411078717201,
"alnum_prop": 0.5842035016094842,
"repo_name": "AceMood/phabricator",
"id": "a6f1cb79bf621321346dbb5d1dc2e0cf94520d45",
"size": "... |
<?php
namespace Symfony\Component\Security\Guard\Firewall;
use Psr\Log\LoggerInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Event\RequestEvent;
use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface;... | {
"content_hash": "de7e4512324e29b7791609d2e04bb778",
"timestamp": "",
"source": "github",
"line_count": 219,
"max_line_length": 264,
"avg_line_length": 43.141552511415526,
"alnum_prop": 0.6399237933954276,
"repo_name": "maidmaid/symfony",
"id": "b9c984f21d3343c6d89ac3319b6d2ab7aca33a1d",
"size": "9... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>ParameterEncoding Protocol Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset="utf-8">
<script src="../js/jquery.min.js" defer></scrip... | {
"content_hash": "f38d2573b78ac83f8e2d68fc8582c0f1",
"timestamp": "",
"source": "github",
"line_count": 605,
"max_line_length": 666,
"avg_line_length": 53.707438016528926,
"alnum_prop": 0.5294371095312836,
"repo_name": "antigp/Alamofire",
"id": "24bb3aa385977d5016aa84825e472460d3a7c070",
"size": "3... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Sql;
using Microsoft.Azure.Management.Sql.Models;
using Microsoft.Azure.Test.HttpRec... | {
"content_hash": "35f5d4e9fd091024db297abdf2cabbc3",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 189,
"avg_line_length": 47.12781954887218,
"alnum_prop": 0.5741863433312061,
"repo_name": "JasonYang-MSFT/azure-sdk-for-net",
"id": "ee8fa1b0164f8dbd5ba062f606d8635072609ffc... |
from yapsy.IPlugin import IPlugin
from logbook.Importer import Plugin
from messages import TimeSeriesData,TimeSeriesMetaData,LogMetaData,UIData,TimeSeries
from sqlalchemy import *
import logging
from tools.profiling import timing
from PyQt5.QtWidgets import QLabel, QFormLayout, QLineEdit
class Swimming(IPlug... | {
"content_hash": "871da583e7ee588996c5c3ddd086829a",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 118,
"avg_line_length": 43.33796296296296,
"alnum_prop": 0.516718299326995,
"repo_name": "romses/FitView",
"id": "b91d249b7244981c0a637c3ad04b0ae685fc7620",
"size": "9361"... |
define :user_ulimit, :filehandle_limit => nil, :process_limit => nil, :memory_limit => nil do
template "/etc/security/limits.d/#{params[:name]}_limits.conf" do
source "ulimit.erb"
cookbook "ulimit"
owner "root"
group "root"
mode 0644
variables(
:ulimit_user => params[:name],
:fileh... | {
"content_hash": "9fdb7682fc25f88ea9de8242bdc86fe0",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 93,
"avg_line_length": 31.4,
"alnum_prop": 0.6305732484076433,
"repo_name": "citrusoft/chef-repo",
"id": "b45731075256c8e1700d122e51a157df2ef626e0",
"size": "643",
"binar... |
using System;
using Mono.Debugging.Client;
namespace Mono.Debugging.Backend
{
public interface IRawValueArray: IDebuggerBackendObject
{
object GetValue (int[] index);
Array GetValues (int[] index, int count);
void SetValue (int[] index, object value);
int[] Dimensions { get; }
Array ToArray ();
}
}
| {
"content_hash": "c8ecb5fc5f564ea99a4cf77744f7955e",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 56,
"avg_line_length": 22.428571428571427,
"alnum_prop": 0.7197452229299363,
"repo_name": "joj/debugger-libs",
"id": "d963e740906225163974f498ae680dc6e8fc7f39",
"size": "15... |
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
return array(
'name' => __( 'Posts Slider', 'js_composer' ),
'base' => 'vc_posts_slider',
'icon' => 'icon-wpb-slideshow',
'category' => __( 'Content', 'js_composer' ),
'description' => __( 'Slider with WP Posts', 'js_composer' ),
'params' => array(
array(
... | {
"content_hash": "6ca9e1d3c1f341161f5953305b01e47b",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 239,
"avg_line_length": 36.70059880239521,
"alnum_prop": 0.5545766030347529,
"repo_name": "chrispydizzle/miklas-alive",
"id": "c7107200394347993d95ca33bee8831bbb413f0b",
"... |
import unittest
from framework import TestCase
from earth.category import Category
class TestCategoryCase(TestCase):
def test_category(self):
# ADD
ctg_name = '社区'
ctg = Category.add(name=ctg_name)
assert ctg.id
assert ctg.name == ctg_name
assert ctg.pid == None
... | {
"content_hash": "11b2e17b688bcbf3baa6e3f335100820",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 57,
"avg_line_length": 22.939393939393938,
"alnum_prop": 0.5772787318361955,
"repo_name": "tottily/terabithia",
"id": "f7a953bf9a4231184e7d491d942a955786ec9db0",
"size": "8... |
// WARNING: this file is generated and will be overwritten
// Generated on Mon May 12 2014 10:36:47 GMT-0700 (PDT)
// if you're checking out this file, you should check us out too.
// http://jobs.appcelerator.com
/**
* JSC implementation for UIKit/UIGestureRecognizer
*/
@import JavaScriptCore;
@import UIKit;
#imp... | {
"content_hash": "e3ed496c3a3146590e43ec4fea1c97b2",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 135,
"avg_line_length": 57.4468085106383,
"alnum_prop": 0.8396296296296296,
"repo_name": "cheekiatng/ti.coremotion",
"id": "179c0b4c6d4ffd7a8d503322c5264825f403394c",
"size... |
package com.google.common.math;
import static com.google.common.base.Preconditions.checkState;
import static com.google.common.primitives.Doubles.isFinite;
import static java.lang.Double.NaN;
import static java.lang.Double.isNaN;
import com.google.common.annotations.Beta;
import com.google.common.annotations.GwtInc... | {
"content_hash": "a73b00b33ceea1d2ed36ed9d30a15e4e",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 100,
"avg_line_length": 40.795918367346935,
"alnum_prop": 0.662631315657829,
"repo_name": "antlr/codebuff",
"id": "9af811a5f370400b212393edb6653eb639404acc",
"size": "1058... |
local assert = assert
local ipairs = ipairs
local pairs = pairs
local rawequal = rawequal
-----------
-- Imports
-----------
local CollectArgsInto = varops.CollectArgsInto
local Weak = table_ex.Weak
----------------------
-- Unique member keys
----------------------
local _forbids = {}
local _is_blacklist = {}
local ... | {
"content_hash": "e24d5ecd6224c4a14804fdbf9fe42d66",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 113,
"avg_line_length": 27.85238095238095,
"alnum_prop": 0.6108736536160028,
"repo_name": "ggcrunchy/Old-Love2D-Demo",
"id": "bf61292404d99a7e95b8f38481210d70b05f9c10",
"s... |
module Azure::CognitiveServices::TextAnalytics::V2_1_preview
module Models
#
# Model object.
#
#
class BatchInput
include MsRestAzure
# @return [Array<Input>]
attr_accessor :documents
#
# Mapper for BatchInput class as Ruby Hash.
# This will be used for seri... | {
"content_hash": "5ebb614383b5e939570ff2ca0bd6f137",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 60,
"avg_line_length": 24.823529411764707,
"alnum_prop": 0.4344391785150079,
"repo_name": "Azure/azure-sdk-for-ruby",
"id": "d777ddd6dfba13604fa8ac61324506a1658df1da",
"siz... |
/* $NetBSD: ypprot_err.c,v 1.6 2012/06/25 22:32:46 abs Exp $ */
/*
* Copyright (c) 1992, 1993 Theo de Raadt <deraadt@fsa.ca>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistr... | {
"content_hash": "0d2a597fc7d9e6e4e3ef7a93420af9c0",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 77,
"avg_line_length": 31.112676056338028,
"alnum_prop": 0.7315527387958353,
"repo_name": "evrom/bsdlibc",
"id": "af42f059dc0bc3d2b29e0e82dc382654ec56508e",
"size": "2209",... |
package com.sen.vov.utils;
import android.animation.Animator;
import android.animation.AnimatorInflater;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.content.Context;
import android.util.Log;
import android.view.View;
import android.view.animation.AccelerateInterpolator... | {
"content_hash": "696dd030e3323770a0a086afdfb8c265",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 123,
"avg_line_length": 39.51162790697674,
"alnum_prop": 0.6265450264861684,
"repo_name": "PengSen/VoV",
"id": "20fd5a5d58d1fd12d1bc1f88f18f7e542d74fb39",
"size": "3508",
... |
<?php
namespace PDepend\Bugs;
/**
* Test case for the parent keyword type hint bug no #87.
*
* http://tracker.pdepend.org/pdepend/issue_tracker/issue/87
*
* @copyright 2008-2017 Manuel Pichler. All rights reserved.
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
*
* @covers \stdClas... | {
"content_hash": "700b50d7eff2b009c9b810e7fc85741e",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 85,
"avg_line_length": 28.217391304347824,
"alnum_prop": 0.6317411402157165,
"repo_name": "pdepend/pdepend",
"id": "1c45a8629545861d9e40a81a97ce378cd7aeca71",
"size": "3766... |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>Neuron.inputWithBiasProp Property</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href... | {
"content_hash": "44921d53823e1501936001b6f3cde9f0",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 224,
"avg_line_length": 40.163636363636364,
"alnum_prop": 0.6075147125396106,
"repo_name": "teichgraf/MuLaPeGASim",
"id": "d5952e0d1d22912e8c4932c54bc938469b8c4dfb",
"size"... |
<?php if (!defined('APPLICATION')) exit(); ?>
<div class="Box BoxDrafts">
<h4><?php echo T('My Drafts'); ?></h4>
<ul class="PanelInfo PanelDiscussions">
<?php foreach ($this->Data->Result() as $Draft) {
$EditUrl = !is_numeric($Draft->DiscussionID) || $Draft->DiscussionID <= 0 ? '/post/editdiscussio... | {
"content_hash": "ea6987ff66d4b22d486e9cadd66b0929",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 168,
"avg_line_length": 42.588235294117645,
"alnum_prop": 0.56353591160221,
"repo_name": "sorrowgrave/NothingToSeeHere",
"id": "2b05a0c6106daa907ec72a3cbe5d111835fb7144",
"... |
void foo() {
}
#if __cplusplus >= 201103L
// expected-note@+2 4 {{declared here}}
#endif
bool foobool(int argc) {
return argc;
}
struct S1; // expected-note {{declared here}}
template <class T, typename S, int N, int ST> // expected-note {{declared here}}
T tmain(T argc, S **argv) { //expected-note 2 {{declared he... | {
"content_hash": "e5eb4b406d740ff4f0e9ab61b2b1573e",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 241,
"avg_line_length": 55.63448275862069,
"alnum_prop": 0.6716251394570473,
"repo_name": "apple/swift-clang",
"id": "4ca7a8ca9adfa6c48ae6cced26f7ac1ab8171a27",
"size": "8... |
package evernote_to_markdown;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import evernote_to_markdown.load.EvernoteExport;
import evernote_to_markdown.load.Note;
import evernote_to_markdown.save.TagspacesSaver;
import nu.xom.Document;
import nu.xom.Node;
import nu.xom.Nodes;
impor... | {
"content_hash": "8f5bd93d67c19a7bc7e150bbdc490fcd",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 163,
"avg_line_length": 31.982142857142858,
"alnum_prop": 0.7303182579564489,
"repo_name": "MathiasRenner/evernote_to_markdown",
"id": "db64c7b5e91a9a4b0e9a85f716f8c870b326ad... |
<?php
if (!defined('FIXTURE_ATTRIBUTE_USER_DEFINED_CUSTOMER_NAME')) {
define('FIXTURE_ATTRIBUTE_USER_DEFINED_CUSTOMER_NAME', 'user_attribute');
define('FIXTURE_ATTRIBUTE_USER_DEFINED_CUSTOMER_FRONTEND_LABEL', 'frontend_label');
}
/** @var Magento\Customer\Model\Attribute $model */
$model = \Magento\TestFrame... | {
"content_hash": "9e36369e465ef83060ccf2b9ff4c29a2",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 113,
"avg_line_length": 24.766666666666666,
"alnum_prop": 0.7200538358008075,
"repo_name": "florentinaa/magento",
"id": "9ddb1b115ac09e1f75c93f3ba19cc9cb61d9196f",
"size": ... |
namespace google {
namespace cloud {
namespace dataproc_internal {
GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
AutoscalingPolicyServiceMetadata::AutoscalingPolicyServiceMetadata(
std::shared_ptr<AutoscalingPolicyServiceStub> child)
: child_(std::move(child)),
api_client_header_(
google::cloud::inte... | {
"content_hash": "b59a6da6688b49668f029ff7e5f57000",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 78,
"avg_line_length": 38.21052631578947,
"alnum_prop": 0.7527548209366391,
"repo_name": "googleapis/google-cloud-cpp",
"id": "a9da090228376ff7f20447bb592b4916ff98d1fa",
"s... |
body,html{background:#f5f5f5;overflow-x:hidden;font-family: "Hiragino Sans GB","Hiragino Sans GB W3","Microsoft YaHei","微软雅黑",tahoma,arial,simsun,"宋体";}
.dr_mod1w{width:1030px;position:relative;}
.swiper-pagination-bullet {width:8px;height: 8px;display: inline-block;border-radius: 100%;background: #000;opacity: .3;}
... | {
"content_hash": "e80181915b992bc2ad18e50592c3c471",
"timestamp": "",
"source": "github",
"line_count": 550,
"max_line_length": 253,
"avg_line_length": 63.99818181818182,
"alnum_prop": 0.7790846330861673,
"repo_name": "IceIceWZ/www.iceicewz.cn",
"id": "807c74dab37927c9eaf3b62d68bb74e967369486",
"si... |
package com.meltmedia.jgroups.aws;
import com.amazonaws.services.ec2.model.Tag;
import org.junit.Test;
import java.util.List;
import static com.meltmedia.jgroups.aws.Mocks.ec2Mock;
import static org.junit.Assert.*;
public class TagUtilsTest {
private static InstanceIdentity instanceIdentity = new InstanceIdentity... | {
"content_hash": "943b5d64032b0d8e0aa1b6254e98987d",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 130,
"avg_line_length": 32.859154929577464,
"alnum_prop": 0.6982426060865838,
"repo_name": "meltmedia/jgroups-aws",
"id": "21bcf597ce31a4a3006fc4bbda9237d17b44bf54",
"size"... |
<?php echo form_open(uri_string(), 'class="crud"') ?>
<div class="exams-form">
<div class="one_full">
<section class="title">
<h4>Exam Information</h4>
</section>
<section class="item">
<label>
<span>Name:</span>
<?php echo form_input('name', '') ?>
</label>
<label>
<span>Version:</span>... | {
"content_hash": "a225733018d3355aac4e824a7042e36e",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 135,
"avg_line_length": 33.976190476190474,
"alnum_prop": 0.6163279607568325,
"repo_name": "KingCountySAR/KCSARA_Exams",
"id": "e525c365ca9999c0b03aa17119152719b3164c09",
"... |
classdef TestRunDisplay < TestRunMonitor
%TestRunDisplay Print test suite execution results.
% TestRunDisplay is a subclass of TestRunMonitor. If a TestRunDisplay
% object is passed to the run method of a TestComponent, such as a
% TestSuite or a TestCase, it will print information to the Command
% Window (or ... | {
"content_hash": "5676f8f435e9c6ceeb16bd2b6bcdc6dd",
"timestamp": "",
"source": "github",
"line_count": 258,
"max_line_length": 111,
"avg_line_length": 37.87596899224806,
"alnum_prop": 0.5788988948014736,
"repo_name": "Heathckliff/cantera",
"id": "57ae200c754860ca858fa9802df141e9c056cab1",
"size": ... |
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "../../include/pdfwindow/PDFWindow.h"
#include "../../include/pdfwind... | {
"content_hash": "632eb9460558e53b936e45135ede38cd",
"timestamp": "",
"source": "github",
"line_count": 505,
"max_line_length": 80,
"avg_line_length": 28.601980198019803,
"alnum_prop": 0.6381888673497647,
"repo_name": "azunite/libpdfium",
"id": "24d2dad5fa9c6b3f5ee6cc7ac96232fac88b162a",
"size": "1... |
package net.liftweb.util
/**
* A simple Read-through cache.
*
* An example of using it with a ProtoUser subclass:
*
* object UserCache extends KeyedCache[Long, User](100, Full(0.75f),
* (id: Long) => User.find(By(User.id, id)))
*
* @param size the size of the cache
* @param loadFactor the optional Load Fa... | {
"content_hash": "1bd133d6ac60b0046950520c7853b05e",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 78,
"avg_line_length": 26.282608695652176,
"alnum_prop": 0.6311000827129859,
"repo_name": "beni55/liftweb",
"id": "5d2342f40b333e650a99a181824cc6a9a23e17f4",
"size": "1811"... |
Created by Melinda Morang, Esri
Copyright 2018 Esri
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 agre... | {
"content_hash": "ad525e9672f61943daecaaef10d649d1",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 536,
"avg_line_length": 78.74725274725274,
"alnum_prop": 0.7652804912084845,
"repo_name": "Esri/public-transit-tools",
"id": "bc92f94681d0fbdae21233bfdd7e1422811a9736",
"si... |
package org.apache.camel.component.aws.ddbstream;
import com.amazonaws.ClientConfiguration;
import com.amazonaws.auth.AWSCredentials;
import com.amazonaws.auth.AWSCredentialsProvider;
import com.amazonaws.auth.AWSStaticCredentialsProvider;
import com.amazonaws.auth.BasicAWSCredentials;
import com.amazonaws.regions.Re... | {
"content_hash": "fa0eb26c5681cc098298ea2b3fb59ea7",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 160,
"avg_line_length": 40.83448275862069,
"alnum_prop": 0.682317176152677,
"repo_name": "zregvart/camel",
"id": "82e9a27d5f5ba80f5799d305ff050ab1996433a3",
"size": "6723"... |
require 'spec_helper'
describe CommitRange do
let(:sha_from) { 'f3f85602' }
let(:sha_to) { 'e86e1013' }
let(:range) { described_class.new("#{sha_from}...#{sha_to}") }
let(:range2) { described_class.new("#{sha_from}..#{sha_to}") }
it 'raises ArgumentError when given an invalid range string' do
expect... | {
"content_hash": "af57a4b63f1bbf052717f1a46a6587f2",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 89,
"avg_line_length": 31.208333333333332,
"alnum_prop": 0.6285714285714286,
"repo_name": "rhels/gitlabhq",
"id": "31ee3e99cad6eccbecb79e94406571944ffcf6b0",
"size": "3745... |
class OpenGLRenderTarget : public RenderTarget
{
public:
OpenGLRenderTarget(int x, int y, int width, int height, Graphics::MULTISAMPLE_TYPE multiSampleType = Graphics::MULTISAMPLE_TYPE::MULTISAMPLE_0X);
virtual ~OpenGLRenderTarget() {destroy();}
virtual void enable();
virtual void disable();
virtual void bind(un... | {
"content_hash": "a4632d1fca17b39a68beee6961f2c7a1",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 146,
"avg_line_length": 30.128205128205128,
"alnum_prop": 0.7880851063829787,
"repo_name": "McKay42/McEngine",
"id": "29e70c930189be9f8bc12bc39cb8d5bfe5845e25",
"size": "16... |
package org.optaplanner.examples.common.swingui;
import java.awt.Desktop;
import java.awt.event.ActionEvent;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import javax.swing.AbstractAction;
import javax.swing.JOptionPane;
public class OpenBrowserAction extends AbstractAction {... | {
"content_hash": "a360e93f3c082c241968491ef6cb2cc6",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 105,
"avg_line_length": 32.11904761904762,
"alnum_prop": 0.6397331356560415,
"repo_name": "oskopek/optaplanner",
"id": "bee6bf4fb23feb78a11d4fc06e228efb09de5347",
"size": "... |
Most routers out there implement the routing mechanism to decide which view to render. But we know that with technologies like React, the state is what dictates what to render.
Also, with a unidirectional data flow like `redux`, we can allow to go back and forth our state via steps, which are triggered via actions.
W... | {
"content_hash": "ad71bae16a9bf63c417982a150ed0d9d",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 351,
"avg_line_length": 58.22727272727273,
"alnum_prop": 0.7582617746552173,
"repo_name": "leoasis/state-router",
"id": "bd8d9d7bc1c2fa92ca321e5689bd788006ec3982",
"size": ... |
using System;
using QuantConnect.Data;
using QuantConnect.Data.UniverseSelection;
using QuantConnect.Interfaces;
using QuantConnect.Packets;
namespace QuantConnect.Lean.Engine.DataFeeds
{
/// <summary>
/// Specifies data channel settings
/// </summary>
public class DataChannelProvider : IDataChannelP... | {
"content_hash": "997f0a87632d2c5b978f41f6be407d3b",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 111,
"avg_line_length": 33.95238095238095,
"alnum_prop": 0.6584852734922861,
"repo_name": "AlexCatarino/Lean",
"id": "09d5a87bd09dfcbaa9fdb0deb35ab682e3a02ea6",
"size": "21... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Mycotaxon 92: 34 (2005)
#### Original name
Kochmania Piatek
### Remarks
null | {
"content_hash": "485666196381703122be732d119a340e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 23,
"avg_line_length": 10.76923076923077,
"alnum_prop": 0.7,
"repo_name": "mdoering/backbone",
"id": "2dd7a6d875b11e9f6116d10c714b32dffe3b2e06",
"size": "178",
"binary": ... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "init.h"
#include "irc.h"
#include "chainparams.h"
#include "db.h"
#inclu... | {
"content_hash": "c99898e09590926ce9b4d685655d1501",
"timestamp": "",
"source": "github",
"line_count": 1979,
"max_line_length": 265,
"avg_line_length": 30.54522486104093,
"alnum_prop": 0.5646081821039223,
"repo_name": "8bit-dev/8bit",
"id": "6599fdbc629e7e9bd5d421e547d0025df298ebd6",
"size": "6044... |
package com.alipay.zxingdemo.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.LayoutRes;
import android.support.v7.app.AppCompatActivity;
import android.view.KeyEvent;
import android.view.View;
import com.alipay.zxingdemo.QrCodeCaptureM... | {
"content_hash": "8b3ea52514d9cf80e8b33968f2e43e41",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 87,
"avg_line_length": 29.171717171717173,
"alnum_prop": 0.6461218836565097,
"repo_name": "arnozhang/android-zxing-demo",
"id": "ac6cba48261fa26849b55030c2faa87ab08559f4",
... |
```sh
bower install silverhold-radio
```
| {
"content_hash": "de4430addca7633aa82e4266d3440234",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 30,
"avg_line_length": 13.666666666666666,
"alnum_prop": 0.7073170731707317,
"repo_name": "LoicGoyet/custom-radio",
"id": "a05c904aba42bf600a8f775875df4e062c642d43",
"size":... |
package com.tierzero.stacksonstacks.core;
import java.io.File;
import net.minecraftforge.common.config.ConfigCategory;
import net.minecraftforge.common.config.Configuration;
public class ConfigHandler {
private static Configuration config;
private static final String CATEGORY_NAME_APPEARANCE = "Appearance";
... | {
"content_hash": "f9b8aef4e82c43ade57152767f1ed24d",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 238,
"avg_line_length": 46.729729729729726,
"alnum_prop": 0.7484094852515906,
"repo_name": "primetoxinz/StacksOnStacks",
"id": "aa7f9474eaa4c05aa50bebfea05d852d405f7215",
"... |
namespace Nop.Core.Domain.Catalog
{
/// <summary>
/// Represents a product specification attribute
/// </summary>
public partial class ProductSpecificationAttribute : BaseEntity
{
/// <summary>
/// Gets or sets the product identifier
/// </summary>
public virtual int ... | {
"content_hash": "0f7bc6af51f1f7a422bef00264b7c9dd",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 94,
"avg_line_length": 31.86046511627907,
"alnum_prop": 0.5846715328467154,
"repo_name": "lewischeng-ms/WebApi",
"id": "d0ee32c45c8b0040c7066879ee9fd74bb4a0dc44",
"size": "... |
const__ char* __bea_callspec__ BeaEngineVersion(void) {
return "5.3";
}
const__ char* __bea_callspec__ BeaEngineRevision(void) {
return "0";
}
| {
"content_hash": "418a8e15fd3f3bef3b1a3738473461a8",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 56,
"avg_line_length": 20.857142857142858,
"alnum_prop": 0.6575342465753424,
"repo_name": "0vercl0k/rp",
"id": "b359b7b800191bcb02a2a0067d076785b1f2098d",
"size": "934",
"... |
let templates = {
get(name) {
let url = `src/templates/${name}.html`;
return requester.get(url);
}
}; | {
"content_hash": "f6f4c0fd39a973132bf17b7cdb603c1a",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 47,
"avg_line_length": 20.833333333333332,
"alnum_prop": 0.528,
"repo_name": "WorkenWithLopaten/MovieDatabaseServer",
"id": "6300e840555563da267529c29b827f03ac0e57bd",
"size... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>windows::basic_object_handle::native_handle</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../... | {
"content_hash": "54514875f9fc32489bc1121bcba848a6",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 450,
"avg_line_length": 63.758620689655174,
"alnum_prop": 0.6373715521903732,
"repo_name": "Franky666/programmiersprachen-raytracer",
"id": "6894f1993b41e7b8c824446a8ff106761... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "1fb0dbe7e67c0b584db2a913c6cf9886",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 154,
"avg_line_length": 46.24183006535948,
"alnum_prop": 0.6333568904593639,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "ce06c778a0df9dc8afb2b9d8031040185a1cb25a",
"siz... |
"""
.. py:currentmodule:: __init__
:synopsis: Init for the package.
.. moduleauthor:: Hendrix Demers <hendrix.demers@mail.mcgill.ca>
Init for the package.
"""
###############################################################################
# Copyright 2007 Hendrix Demers
#
# Licensed under the Apache License, Vers... | {
"content_hash": "3a0c5234e47411646667dc4f8eee2ef2",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 79,
"avg_line_length": 30.264705882352942,
"alnum_prop": 0.6277939747327502,
"repo_name": "drix00/microanalysis_file_format",
"id": "39a1c38adcde014e7223139bc25599a60b273c7d"... |
import { authSecret } from '../common/constants'
if (
process.env.NODE_ENV === 'production' &&
!process.env.hasOwnProperty('JWT_SECRET')
) {
// eslint-disable-next-line no-console
console.warn(
'In production mode you must specify jwt secret key in JWT_SECRET environment variable'
)
}
export default proce... | {
"content_hash": "86bdb07e481e94314af264a29fbd2749",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 91,
"avg_line_length": 32,
"alnum_prop": 0.7159090909090909,
"repo_name": "reimagined/resolve",
"id": "dbe8ff9a476fe40da987888f4032b5a71669a967",
"size": "352",
"binary":... |
namespace arangodb {
struct FlushSubscription;
namespace iresearch {
struct MaintenanceState;
class IResearchFeature;
class IResearchView;
class IResearchLink;
////////////////////////////////////////////////////////////////////////////////
/// @brief IResarchLink handle to use with asynchronous tasks
/////////////... | {
"content_hash": "ced0d0f4257befd28a1aa33f9d3cd3ee",
"timestamp": "",
"source": "github",
"line_count": 389,
"max_line_length": 121,
"avg_line_length": 46.12596401028278,
"alnum_prop": 0.43693919634397815,
"repo_name": "graetzer/arangodb",
"id": "aec5870547999ff7f8dbbdce5b8675c6a69c91a3",
"size": "... |
'use strict';
angular.module("DivinElegy.pages.index", [])
.controller("IndexController", ['$scope', function($scope)
{
$scope.simpleVariable = 'hello';
}]); | {
"content_hash": "a50c3f802e5cb2d616011d49b0300d45",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 58,
"avg_line_length": 20.375,
"alnum_prop": 0.6687116564417178,
"repo_name": "DivinElegy/roll.divinelegy",
"id": "97f6cda90b469f971589e801eb903014dbe55a6d",
"size": "163",
... |
<?php
/**
*/
class PluginDmLockTable extends myDoctrineTable
{
/**
* @return array usernames of current active users on the same page
*/
public function getLocks(array $data)
{
$locks = dmDb::pdo(
sprintf(
'SELECT DISTINCT a.user_name FROM %s a WHERE a.user_id != ? AND a.module = ? AND a... | {
"content_hash": "7e37829d2a9a02a55dbce83e9a07d0bb",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 163,
"avg_line_length": 23.612244897959183,
"alnum_prop": 0.5773552290406223,
"repo_name": "carechimba/diem",
"id": "aef1f33428db28a063097d168533b7d29974d9b3",
"size": "231... |
# -*- coding: utf-8 -*-
import base64
import json
import os
import os.path
import shutil
import sys
import tarfile
import tempfile
import pytest
import six
try:
from ssl import OP_NO_SSLv3, OP_NO_SSLv2, OP_NO_TLSv1
except ImportError:
OP_NO_SSLv2 = 0x1000000
OP_NO_SSLv3 = 0x2000000
OP_NO_TLSv1 = 0x40... | {
"content_hash": "a8d04d9f4001c1a7e5685db3daeb5e7e",
"timestamp": "",
"source": "github",
"line_count": 956,
"max_line_length": 79,
"avg_line_length": 36.13284518828452,
"alnum_prop": 0.5668876472802015,
"repo_name": "mark-adams/docker-py",
"id": "87796d11752aa87ed4de8b7629080ccffce8a6c0",
"size": ... |
'use strict';
var scatterAttrs = require('../scatter/attributes');
var hovertemplateAttrs = require('../../plots/template_attributes').hovertemplateAttrs;
var texttemplateAttrs = require('../../plots/template_attributes').texttemplateAttrs;
var colorScaleAttrs = require('../../components/colorscale/attributes');
var... | {
"content_hash": "8e1a6726f92313e22f0907df92bbf6ab",
"timestamp": "",
"source": "github",
"line_count": 259,
"max_line_length": 105,
"avg_line_length": 29.455598455598455,
"alnum_prop": 0.5586577533097391,
"repo_name": "aburato/plotly.js",
"id": "fd7572d7eef437a1926edc2353b956aee51f20a8",
"size": "... |
using System.Threading.Tasks;
namespace Ma.CustomMapper.Abstract
{
/// <summary>Asynchronous mapper interface with only Target type.</summary>
/// <typeparam name="TTarget">Type of target</typeparam>
public interface IAsyncMapper<TTarget> : IMapperBase
where TTarget : class
{
/// <summary>Map source... | {
"content_hash": "a7c3c53922e3c30d23eb921bdb96bf96",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 95,
"avg_line_length": 37.793103448275865,
"alnum_prop": 0.7025547445255474,
"repo_name": "MammadovAdil/CustomMapper",
"id": "2b176f2beb3d815b0c6a56bb54ce33ec099d5606",
"si... |
package org.kie.workbench.common.screens.datamodeller.client.widgets.editor;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.enterprise.context.Dependent;
import javax.inject.Inject;
import com.google.gwt.cell.client.FieldUpdater;
import com... | {
"content_hash": "7a7defc7c2bfc6c88014c5fe7f26e98e",
"timestamp": "",
"source": "github",
"line_count": 397,
"max_line_length": 157,
"avg_line_length": 35.30982367758186,
"alnum_prop": 0.6417463261520902,
"repo_name": "scandihealth/kie-wb-common",
"id": "f48f7b1eaee1a3fc7fcb52502e564681048bba17",
"... |
package gov.samhsa.consent2share.infrastructure.eventlistener;
import gov.samhsa.acs.audit.AuditService;
import gov.samhsa.consent2share.domain.SecurityEvent;
/**
* The listener interface for receiving securityEvent events. The class that is
* interested in processing a securityEvent event implements this interface... | {
"content_hash": "6240e35d794f3b98d109d4195d59a4b0",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 80,
"avg_line_length": 25.833333333333332,
"alnum_prop": 0.72831541218638,
"repo_name": "OBHITA/Consent2Share",
"id": "f8540962c1cc4d59b659f05cba2eb6478723199d",
"size": "1... |
package redis // import "github.com/gopkg/database/redigo/redis"
| {
"content_hash": "e7c88b044d96b85132fd247540447a18",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 64,
"avg_line_length": 65,
"alnum_prop": 0.7846153846153846,
"repo_name": "gopkg/database",
"id": "0d7f47ce918608a74771cb9c806bf638865e0a2e",
"size": "6294",
"binary": fal... |
package models
import (
"github.com/bboozzoo/q3stats/store"
"github.com/jinzhu/gorm"
"log"
)
type GlobalStats struct {
// total number of frags/kills
Frags uint
// total number of suicides
Suicides uint
// total number of matches
Matches uint
// total number of unique maps
Maps uint
// number of rockets l... | {
"content_hash": "0d632ed291fb2f952a82167e5ac68d6f",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 81,
"avg_line_length": 21.311827956989248,
"alnum_prop": 0.7129162462159435,
"repo_name": "bboozzoo/q3stats",
"id": "ac808a94a1835433de91cd19b6846b7ad2a5a07f",
"size": "311... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version... | {
"content_hash": "0c2c75db1f412b678c422bce2bfef9e6",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 99,
"avg_line_length": 36.62931034482759,
"alnum_prop": 0.5358907978347847,
"repo_name": "Cyan3/oodt",
"id": "d0216db29ef59bc2c10baa53a02381b297cdf580",
"size": "4249",
... |
Lokaverkefni vsh
| {
"content_hash": "7100ad5267a7ce6c60c1fa6a8b4a53c3",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 16,
"avg_line_length": 17,
"alnum_prop": 0.8823529411764706,
"repo_name": "AtliOskarsson/Vsh2_Hopverkefni",
"id": "4f1a891ae3ed2ad031d424bdcb073c9fe1aef3df",
"size": "36",
... |
<!doctype html>
<html>
<head>
<title>Licenses</title>
<meta charset="utf-8">
<style type="text/css">
h1 { font-size: 15pt; }
a, pre { font-size: 10pt; }
ul, li { padding: 0; list-style-type: none; }
</style>
</head>
<body>
<p>This app uses the following components:</p>
<ul>
... | {
"content_hash": "5ae585d6a513525819ef2f0e13108e17",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 91,
"avg_line_length": 39.86335403726708,
"alnum_prop": 0.729354939233406,
"repo_name": "protyposis/Spectaculum",
"id": "0fbbb70df4f59a3fa6652d8564389082b3852a03",
"size":... |
require_relative '../../test_helper'
require_relative 'flow_test_helper'
require "smart_answer_flows/childcare-costs-for-tax-credits"
class ChildcareCostsForTaxCreditsTest < ActiveSupport::TestCase
include FlowTestHelper
setup do
setup_for_testing_flow SmartAnswer::ChildcareCostsForTaxCreditsFlow
end
co... | {
"content_hash": "6e2689ff163fd41e294b630c447c917c",
"timestamp": "",
"source": "github",
"line_count": 350,
"max_line_length": 92,
"avg_line_length": 28.52,
"alnum_prop": 0.6051893408134642,
"repo_name": "stwalsh/smart-answers",
"id": "5b8eac2377110498291fcc62719e2c1714fb7e40",
"size": "9982",
"... |
/*
* 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 distributed under t... | {
"content_hash": "d6c4f0264826ef98026a2cc86889bfa8",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 182,
"avg_line_length": 34.18333333333333,
"alnum_prop": 0.7218430034129693,
"repo_name": "googleapis/google-api-java-client-services",
"id": "5aa4e0e4fd01ab39832daa655f5f0d... |
var path = require('path');
var fileLoader = require('file-loader');
var querystring = require('querystring');
var AssetPathPlugin = require('./AssetPathPlugin');
const types = {jpg: 'jpeg', svg: 'svg+xml'};
const typeExpr = /\.(?:(png|gif|jpe?g|svg)|(woff2?|eot|ttf|otf))$/i;
module.exports = function (content) {
... | {
"content_hash": "826f2a37ebe129ca6aeaf5d19e95ef14",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 84,
"avg_line_length": 28.68421052631579,
"alnum_prop": 0.6403669724770642,
"repo_name": "dante1977/easepack",
"id": "5d5bd555b8afa3bf0c643f99cce0dc165875b4b4",
"size": "16... |
goog.require('goog.Uri');
goog.require('goog.dom');
goog.require('goog.events');
goog.require('goog.math.Coordinate');
goog.require('goog.math.Size');
goog.require('goog.string');
goog.require('goog.userAgent');
goog.require('webdriver.Key');
goog.require('webdriver.WebElement');
goog.require('webdriver.asserts');
goog... | {
"content_hash": "5e4f5351056135d335aee098478a5337",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 68,
"avg_line_length": 30.19672131147541,
"alnum_prop": 0.6905537459283387,
"repo_name": "akiellor/selenium",
"id": "ddb7ce2368a3f8f91b229bca890accbd605af4aa",
"size": "184... |
import { LoadingBlocker } from '../../../components/common/loadingBlocker';
import React from 'react';
import LoadingIndicator from '../../../components/common/loadingIndicator';
import { shallow } from 'enzyme';
import ReactTestUtils from 'react-addons-test-utils';
const shallowRenderer = ReactTestUtils.createRender... | {
"content_hash": "a1b56e0d279908fc6c3c437ee774f747",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 75,
"avg_line_length": 30.068181818181817,
"alnum_prop": 0.6780045351473923,
"repo_name": "joejknowles/Open-Up",
"id": "58338674fcd05296647914016419626f69018fcc",
"size": "... |
import numpy as np
import matplotlib.pyplot as plt
from directionFinder_backend.correlator import Correlator
import scipy.signal
from mpl_toolkits.axes_grid1.inset_locator import zoomed_inset_axes
from mpl_toolkits.axes_grid1.inset_locator import mark_inset
if __name__ == '__main__':
c = Correlator()
c.fetch_t... | {
"content_hash": "c80b50b5e3ea01424cfb835f640b2c02",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 112,
"avg_line_length": 43.17333333333333,
"alnum_prop": 0.6065472513897467,
"repo_name": "jgowans/correlation_plotter",
"id": "5a0011f2e3058d2f6f22a732704f80aa208ca483",
"... |
from __future__ import division, print_function , unicode_literals, absolute_import
import os, sys, subprocess
crow_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
eigen_cflags = ""
try:
has_pkg_eigen = subprocess.call(["pkg-config","--exists","eigen3"]) == 0
except:
has_pkg_eigen = False
if ... | {
"content_hash": "5fbbb3420fc6a45b29e42a08857a4893",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 109,
"avg_line_length": 27.23076923076923,
"alnum_prop": 0.6949152542372882,
"repo_name": "joshua-cogliati-inl/raven",
"id": "86779741a78857a3581a50e6664461c19c447f29",
"si... |
<?php
$header_title = isset($header_title) ? $header_title : '';
$active_modul = isset($active_modul) ? $active_modul : 'none';
$detail = isset($detail) ? $detail : FALSE;
?>
<div class="row">
<div class="col-md-12">
<form enctype="multipart/form-data" method="POST" class="form-horizontal">
<d... | {
"content_hash": "542bad9a4c381f0fe37cb3bb93ca1a05",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 148,
"avg_line_length": 46.36842105263158,
"alnum_prop": 0.4477866061293984,
"repo_name": "lahirwisada/2016madfrct",
"id": "f5c10deeef4e70be26b24c45fe6c8bed020386f9",
"size... |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// TODO actually recognize syntax of TypeScript constructs
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"))... | {
"content_hash": "ddd999d81634d8aedda9fbfa14c42aa1",
"timestamp": "",
"source": "github",
"line_count": 682,
"max_line_length": 139,
"avg_line_length": 37.84310850439883,
"alnum_prop": 0.5940175907629122,
"repo_name": "GitYiheng/reinforcement_learning_test",
"id": "4cabbe8682ee09e528cd8db4641d511fa75... |
class CreateBottles < ActiveRecord::Migration
def change
create_table :bottles do |t|
t.string :name
t.string :varietal
t.timestamps
end
end
end
| {
"content_hash": "a09d56566e6fb20f61ef840690d60808",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 45,
"avg_line_length": 17.6,
"alnum_prop": 0.6534090909090909,
"repo_name": "robmathews/search_steriods",
"id": "93a8d2eab92e2782f162a46d1a933d2edac56019",
"size": "176",
... |
using System.Text.Json;
using Azure.Core;
namespace Azure.Search.Documents.Indexes.Models
{
public partial class TagScoringFunction : IUtf8JsonSerializable
{
void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
{
writer.WriteStartObject();
writer.WritePropertyName("ta... | {
"content_hash": "4b6f44a0f65c6b294d1665e048af0556",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 107,
"avg_line_length": 37.785714285714285,
"alnum_prop": 0.5274102079395085,
"repo_name": "AsrOneSdk/azure-sdk-for-net",
"id": "a5cdb75661e5c717c609ae65ca7edcd9125d60c4",
... |
module Wombat
module Wundler
module Package
class Joey
attr_reader :name, :version, :dependencies
attr_accessor :options
def initialize(name, version, options = {})
@name = name
raise ArgumentError, 'Invalid version string' unless version.match?(/\A(?:[0-9]+\.)*[... | {
"content_hash": "d35fd8b8060451d18ae154c39d5f88ea",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 104,
"avg_line_length": 27.62,
"alnum_prop": 0.5655322230267922,
"repo_name": "wombatapp/wombat.gem",
"id": "4ac92d7f08fc5aeff90390e101679aa81d012d1c",
"size": "1412",
"b... |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CRUDlex\SimpleFilesystemFileProcessor — ... | {
"content_hash": "16de5847284add9fb57bbc8593c261dd",
"timestamp": "",
"source": "github",
"line_count": 371,
"max_line_length": 312,
"avg_line_length": 42.25876010781671,
"alnum_prop": 0.6616915422885572,
"repo_name": "philiplb/CRUDlex",
"id": "480728196cbee80e8a6a9d9625041bcc02cde546",
"size": "15... |
from octopus.core import app
from service import dao
from octopus.lib import dataobj
class ContentLog(dataobj.DataObj, dao.ContentLogDAO):
'''
{
"id" : "<unique persistent account id>",
"created_date" : "<date account created>",
"last_updated" : "<date account last modified>",
... | {
"content_hash": "b778b42f5313b9f441e4b361aadb980e",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 87,
"avg_line_length": 32,
"alnum_prop": 0.6403061224489796,
"repo_name": "JiscPER/jper",
"id": "a659421695ed3209acbfbc67d872174256c7258e",
"size": "1569",
"binary": fals... |
local ffi = require "ffi"
local bit = require "bit"
require "include.headers"
local c = require "include.constants"
local C = ffi.C -- for inet_pton etc, due to be replaced with Lua
local types = {}
local t, pt, s, ctypes = {}, {}, {}, {} -- types, pointer types and sizes tables
types.t, types.pt, types.s, types.c... | {
"content_hash": "ac73eff1a525d12fc2d3f0ce576e3114",
"timestamp": "",
"source": "github",
"line_count": 966,
"max_line_length": 195,
"avg_line_length": 31.21946169772257,
"alnum_prop": 0.6382386099873997,
"repo_name": "lukego/ljsyscall",
"id": "7854460e1dba76a5d3ba54284b430f5d9ff6b7d5",
"size": "30... |
package org.elasticsearch.action.support.broadcast;
import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.NoShardAvailableActionException;
import org.elasticsearch.action.support.ActionFilters;
import org.elasticsearch.action.support.Transpor... | {
"content_hash": "bce29ce120cc48847ea735aeeb745c94",
"timestamp": "",
"source": "github",
"line_count": 325,
"max_line_length": 251,
"avg_line_length": 42.356923076923074,
"alnum_prop": 0.5862269359291007,
"repo_name": "peschlowp/elasticsearch",
"id": "d6c569353365b5317035eaa3576456111f68f117",
"si... |
var RQCommon = require('./rq-common');
describe('LocalTreeTests', function () {
var c;
beforeEach(function () {
c = new RQCommon();
});
it('testCacheInfoExists', function (done) {
c.localTree.cacheInfoExists('/test', function (err, exists) {
expect(err).toBeFalsy();
expect(exists).toBeF... | {
"content_hash": "31d7f701f2df736c69592a60eb7c2300",
"timestamp": "",
"source": "github",
"line_count": 688,
"max_line_length": 116,
"avg_line_length": 37.61773255813954,
"alnum_prop": 0.5210385997449867,
"repo_name": "adobe/node-smb-server",
"id": "564e6cd401a7377ab8873dd7719a8c72372b9922",
"size"... |
require 'selenium-webdriver'
require 'show_me_the_cookies'
Capybara.register_driver :chrome_headless do |app|
Capybara::Selenium::Driver.load_selenium
browser_options = ::Selenium::WebDriver::Chrome::Options.new.tap do |opts|
opts.args << '--headless'
opts.args << '--disable-gpu' if Gem.win_platform?
o... | {
"content_hash": "f5f30c543e4e74abaee51d6528fca14d",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 139,
"avg_line_length": 43.31818181818182,
"alnum_prop": 0.7439664218258132,
"repo_name": "PublicHealthEngland/ndr_dev_support",
"id": "89a074e8ea26ad9225243aef6126213c11e9ae... |
package sgw
//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
//distribut... | {
"content_hash": "45183ea94d5163d036e85a37404dc1f3",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 84,
"avg_line_length": 39.38095238095238,
"alnum_prop": 0.7629987908101572,
"repo_name": "aliyun/alibaba-cloud-sdk-go",
"id": "cf3b1868a13b5c616f38be046e832f79e775de26",
"s... |
<nav [attr.id]="id" class="mv-aside">
<div class="mv-aside__content"
[@contentAnimation]="opened">
<ng-content></ng-content>
</div>
<div class="mv-aside__backdrop"
[@backdropAnimation]="opened"
(click)="close($event)"> </div>
</nav>
| {
"content_hash": "35f9276a066b8dd75577986300b585af",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 37,
"avg_line_length": 27.88888888888889,
"alnum_prop": 0.6175298804780877,
"repo_name": "marcusvy/emeve-ui",
"id": "03ae35c661696978652e791a9e7f6a07daf7bb9b",
"size": "251"... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Arthopyrenia subglobosa Vezda
### Remarks
null | {
"content_hash": "259024c175814d6e5f2ae146828767a3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 29,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.7238805970149254,
"repo_name": "mdoering/backbone",
"id": "78e834303b2ec587f3d99e852cb20145d497cb2d",
"size": "20... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.