text stringlengths 2 1.04M | meta dict |
|---|---|
<?php
/**
* @namespace
*/
namespace ZendTest\Feed\PubSubHubbub;
/**
* Note that $this->_baseuri must point to a directory on a web server
* containing all the files under the _files directory. You should symlink
* or copy these files and set '_baseuri' properly using the constant in
* TestConfiguration.php (ba... | {
"content_hash": "694a6aeab01998d9fa6a251ceff0b55c",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 102,
"avg_line_length": 39.016806722689076,
"alnum_prop": 0.606289037260392,
"repo_name": "heiglandreas/zf2",
"id": "a792c2f642771c1a34a8a62d315ff776555cef3d",
"size": "53... |
package com.parse.ui;
import android.app.Activity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import and... | {
"content_hash": "e74fa8ed421aae02904405d9841c75a0",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 97,
"avg_line_length": 33.030534351145036,
"alnum_prop": 0.6609660272706263,
"repo_name": "samwong1990/Peid",
"id": "42186c3c5be852c61b00bfc1abfd512e3f7d5ffe",
"size": "54... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Fungi hungarici no. 206 (1883)
#### Original name
Entyloma winteri Linh.
### Remarks
null | {
"content_hash": "c26d92562c597eb844ecc50c05cb60b0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 30,
"avg_line_length": 11.76923076923077,
"alnum_prop": 0.7058823529411765,
"repo_name": "mdoering/backbone",
"id": "030292a64ae96f64a5a03a76fb68a4d8450bd251",
"size": "199... |
<?php
/**
* This file is automatically @generated by {@link BuildMetadataPHPFromXml}.
* Please don't modify it directly.
*/
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '[01]\\d{1,2}',
'PossibleNumberPattern' => '\\d{2,3}',
),
'fixedLine' =>
array (
'NationalNumberPatt... | {
"content_hash": "be619886bd412aa6af4c2e752a36d0b5",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 76,
"avg_line_length": 21.51818181818182,
"alnum_prop": 0.5555555555555556,
"repo_name": "Xephi/libphonenumber-for-php",
"id": "d60af664044a943f0a08620343ab90a78015f93b",
... |
A javascript halfedge datastructure for your 3d models.
# Usage with Three.js
```html
...
<script type="text/javascript" src="Halfedge.js"></script>
<script>
...
var geometry;
var heData;
geometry = new THREE.BoxGeometry( 1, 1, 1 );
heData = new HE_Datastructure( geometry.vertices, geometry.faces )... | {
"content_hash": "cebd128a002c99ac6162d435ba1578bc",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 69,
"avg_line_length": 18.451612903225808,
"alnum_prop": 0.6223776223776224,
"repo_name": "Subimago/Halfedge.js",
"id": "acd7c66895788b7c42c9a0ea433f69d569d3716b",
"size": ... |
import json
import os
import shutil
from datetime import date, timedelta
import mock
from django.conf import settings
from django.core import management
from olympia import amo
from olympia.amo.tests import TestCase
from olympia.addons.models import Addon, Persona
from olympia.stats.management.commands import (
s... | {
"content_hash": "467adb1116ae6bb7d08c6c9d2d2b27ca",
"timestamp": "",
"source": "github",
"line_count": 358,
"max_line_length": 95,
"avg_line_length": 44.13966480446928,
"alnum_prop": 0.5801797240855587,
"repo_name": "jpetto/olympia",
"id": "cddc3e435062bc2c9ebad09ba2b998fde8b69f57",
"size": "15802... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package pl.almatron.subfun;
import java.sql.SQLException;
import org.testng.annotations.Test;
/**
*
* @author macvek
*/
public cla... | {
"content_hash": "77d05becac25cb32327d1baedf40ef56",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 89,
"avg_line_length": 24.565217391304348,
"alnum_prop": 0.7132743362831858,
"repo_name": "macvek/springfun",
"id": "48e662fb376fc8a20d6b96922dccaa4d886a678f",
"size": "565... |
from __future__ import print_function
import json
import unittest
import bleach
import doctest
import mock
import multiprocessing
import os
import re
import signal
import sqlalchemy
import subprocess
import tempfile
import warnings
from datetime import timedelta
from dateutil.relativedelta import relativedelta
from e... | {
"content_hash": "aea6cde9003fa4a1cdb298bb432f0c9a",
"timestamp": "",
"source": "github",
"line_count": 2506,
"max_line_length": 109,
"avg_line_length": 39.89385474860335,
"alnum_prop": 0.5872526856982816,
"repo_name": "RealImpactAnalytics/airflow",
"id": "ce32482d04f2a45c9d8f5a4364310cf508aca4f2",
... |
<?php
namespace Magento\Braintree\Block\Customer\PayPal;
use Magento\Braintree\Gateway\Config\PayPal\Config;
use Magento\Braintree\Model\Ui\PayPal\ConfigProvider;
use Magento\Framework\View\Element\Template;
use Magento\Vault\Api\Data\PaymentTokenInterface;
use Magento\Vault\Block\AbstractTokenRenderer;
/**
* Class... | {
"content_hash": "eb2ab086808db0cc3adcd3debe1ff509",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 78,
"avg_line_length": 21.027397260273972,
"alnum_prop": 0.6104234527687297,
"repo_name": "j-froehlich/magento2_wk",
"id": "33458b399e7956b2ca77f0e192ee701b9945d0bd",
"size... |
cask "backblaze" do
version "8.0.1.588"
sha256 :no_check
url "https://secure.backblaze.com/mac/install_backblaze.dmg"
name "Backblaze"
desc "Data backup and storage service"
homepage "https://backblaze.com/"
livecheck do
url "https://secure.backblaze.com/api/clientversion.xml"
regex(/mac[._-]ver... | {
"content_hash": "7bbd7287cf7172c30d1ec71f6fea190f",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 136,
"avg_line_length": 29.285714285714285,
"alnum_prop": 0.6585365853658537,
"repo_name": "a1russell/homebrew-cask",
"id": "eaa464d0c4da389c0f0d910a79880eb81d8b64ca",
"siz... |
let CopyWebpackPlugin = require('copy-webpack-plugin')
let path = require('path')
module.exports = {
entry: ['babel-polyfill', './src/entryPoint.js'],
output: {
path: './dist',
filename: 'bundle.js'
},
module: {
loaders: [
{
test: /\.css$/,
loader: 'style!css'
... | {
"content_hash": "9ff3ce2c9994406f49ed39ba83f9cbea",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 119,
"avg_line_length": 33.0625,
"alnum_prop": 0.5364839319470699,
"repo_name": "EliasCole3/game-723",
"id": "458254db4ec589a2ec454f74d7aa63410e3a5ea9",
"size": "2645",
"... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.sandbox.stats.multicomp.MultiComparison.allpairtest — statsmodels v0.10.1 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="styles... | {
"content_hash": "f8bfedfb43f7580119747c2f5dd0d1fa",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 637,
"avg_line_length": 49.19170984455958,
"alnum_prop": 0.6642089740888982,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "222e55b1bb2751f9668588e1255410affa14d05... |
#include <zephyr.h>
#include <flash.h>
#include <device.h>
#include <stdio.h>
/* Offset between pages */
#define FLASH_TEST_OFFSET 0x40000
#define FLASH_PAGE_SIZE 4096
#define TEST_DATA_WORD_0 0x1122
#define TEST_DATA_WORD_1 0xaabb
#define TEST_DATA_WORD_2 0xabcd
#define TEST_DATA_WORD_3 0x1234
void main(void... | {
"content_hash": "3a5033909109133e746af5680dc05ec0",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 71,
"avg_line_length": 31.158273381294965,
"alnum_prop": 0.6157931193719696,
"repo_name": "tidyjiang8/zephyr-doc",
"id": "e956eec54b72383ebd2cfce3bd1b026295b7d681",
"size"... |
<?php
/*TODO: Check the usage of call-now component, or we are using #55 from features.php #2652*/
add_action('amp_call_button','amp_call_button_html_output');
function amp_call_button_html_output(){
global $redux_builder_amp;
if ( $redux_builder_amp['ampforwp-callnow-button'] ) { ?>
<div class="amp-phone">
<a h... | {
"content_hash": "6151b6fcf5da3d608b0f9ccb528819dd",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 371,
"avg_line_length": 60.35294117647059,
"alnum_prop": 0.6988304093567251,
"repo_name": "nicholasgriffintn/Accelerated-Mobile-Pages",
"id": "5f87858a624a40c9e42718615110263... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE401_Memory_Leak__int64_t_malloc_63a.c
Label Definition File: CWE401_Memory_Leak.c.label.xml
Template File: sources-sinks-63a.tmpl.c
*/
/*
* @description
* CWE: 401 Memory Leak
* BadSource: malloc Allocate data using malloc()
* GoodSource: Allocate data on th... | {
"content_hash": "379e7a1e49d94de7ba95e156fd78f87d",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 108,
"avg_line_length": 28.205607476635514,
"alnum_prop": 0.6454605699138503,
"repo_name": "JianpingZeng/xcc",
"id": "ac28c0e7e115616ad8e2efdfb81c8836769bf6f7",
"size": "3... |
FROM balenalib/raspberry-pi-alpine:3.12-run
ENV NODE_VERSION 17.6.0
ENV YARN_VERSION 1.22.4
# Install dependencies
RUN apk add --no-cache libgcc libstdc++ libuv \
&& apk add --no-cache libssl1.0 || apk add --no-cache libssl1.1
RUN buildDeps='curl' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD2... | {
"content_hash": "39c00db9ab52c03d89326ade24e9cf0d",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 696,
"avg_line_length": 62.458333333333336,
"alnum_prop": 0.7068045363575717,
"repo_name": "resin-io-library/base-images",
"id": "3bb13e744ce0c6e3ffbd607f219105c87ff6dc4d",
... |
#include <UtH/Platform/Android/FileManager.hpp>
#elif defined(UTH_SYSTEM_WINDOWS) || defined(UTH_SYSTEM_LINUX)
#include <UtH/Platform/Common/FileManager.hpp>
#else
#error No filereader for such platform
#endif | {
"content_hash": "1e859a90a0025b99c3b8f05fbf53fadf",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 62,
"avg_line_length": 35.333333333333336,
"alnum_prop": 0.7830188679245284,
"repo_name": "TeamZilla/Destroyer",
"id": "634354cb5762e3f1a25a06bf7cd4b8c03489a433",
"size": "2... |
/**
* @ignore
* generate proxy drag object,
* @author yiminghe@gmail.com
*/
var DD = require('dd'),
Base = require('base');
var DDM = DD.DDM,
PROXY_EVENT = '.-ks-proxy' + (+new Date());
/**
* @extends KISSY.Base
* @class KISSY.DD.Plugin.Proxy
* Proxy plugin to provide abilities for draggable tp create... | {
"content_hash": "4df96427475af83050aeedde25810c23",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 79,
"avg_line_length": 24.77952755905512,
"alnum_prop": 0.4534477279949158,
"repo_name": "eaglesjava/kissy",
"id": "07967ff1fa97153ccb83c0e5860830fdf6486eeb",
"size": "314... |
from __future__ import absolute_import, print_function, unicode_literals
from builtins import dict, str
import logging
from indra.sources.cwms.processor import CWMSProcessor
from indra.sources.cwms.rdf_processor import CWMSRDFProcessor
from indra.sources.trips import client
logger = logging.getLogger(__name__)
def p... | {
"content_hash": "5711357b391cde73cbfd17cab65ded7d",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 75,
"avg_line_length": 28.091836734693878,
"alnum_prop": 0.6465673810388667,
"repo_name": "pvtodorov/indra",
"id": "0fb3e0a9f9dfc6f14a98f2ac13c717572cc63868",
"size": "2753... |
package com.amazonaws.services.cloudsearchv2.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.Request;
import com.amazonaws.DefaultRequest;
import com.amazonaws.http.HttpMethodName;
import com.amazonaws.services.cloudsearchv2.model.*;
import com.amazon... | {
"content_hash": "89ef79acb90b15520c43343593157d26",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 154,
"avg_line_length": 41.27272727272727,
"alnum_prop": 0.7352422907488987,
"repo_name": "aws/aws-sdk-java",
"id": "2d6e647cebf03123ed84989ec88b506b5a7ca28c",
"size": "285... |
(function( $ ) {
$.fn.hasScrollBar = function() {
return this.get(0).scrollHeight > this.height();
};
$.fn.lionbars = function(options) {
options = options || {};
autohide = options.autohide;
// Flags
var timeout,
HDragging=false,
VDragging=false,
activeScroll=0,
activeWrap=0,
... | {
"content_hash": "6d5b64f28a9b37fe3a2c96bd475963be",
"timestamp": "",
"source": "github",
"line_count": 417,
"max_line_length": 153,
"avg_line_length": 30.314148681055155,
"alnum_prop": 0.596313582786172,
"repo_name": "rip-projects/judge",
"id": "125ee4f628df0e1daf43ef4baa15c6648215ed1d",
"size": "... |
using System.Diagnostics;
namespace System.Linq.Parallel
{
/// <summary>
/// This enumerator merges multiple input channels into a single output stream. The merging process just
/// goes from left-to-right, enumerating each channel in succession in its entirety.
/// Assumptions:
/// Before enum... | {
"content_hash": "e77edbba53b435fc1cd697ac68cecca3",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 119,
"avg_line_length": 37.75,
"alnum_prop": 0.5155374426897605,
"repo_name": "ViktorHofer/corefx",
"id": "ba2f1c2ee6e8eb5cfecba65d5b54bbfaf348779d",
"size": "4357",
"bi... |
class Vote < ActiveRecord::Base
validates :user, :story, :value, presence: true
validates :user, uniqueness: { scope: :story }
belongs_to :user
belongs_to :story
end
| {
"content_hash": "66c0a0bcf82afbee71da5fa410c1dc64",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 49,
"avg_line_length": 25,
"alnum_prop": 0.7028571428571428,
"repo_name": "przemekszyszka/news",
"id": "302b7213643156d5e77271628f4b99197272aa88",
"size": "175",
"binary":... |
using Microsoft.Practices.Unity;
using Prism.Unity;
using Modules.Views;
using System.Windows;
using Prism.Modularity;
namespace Modules
{
class Bootstrapper : UnityBootstrapper
{
protected override DependencyObject CreateShell()
{
return Container.Resolve<MainWindow>();
}
... | {
"content_hash": "ee0fb260c31de50be752b463a349c1a5",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 63,
"avg_line_length": 22.615384615384617,
"alnum_prop": 0.641156462585034,
"repo_name": "jurajvt/Prism-Samples-Wpf",
"id": "7b58ca32255b9e9fd97fff1bb3777f0463d9d7c0",
"siz... |
namespace blink {
class Element;
class TimingFunction;
class QualifiedName;
class CORE_EXPORT AnimationInputHelpers {
STATIC_ONLY(AnimationInputHelpers);
public:
static CSSPropertyID keyframeAttributeToCSSProperty(const String&, const Document&);
static CSSPropertyID keyframeAttributeToPresentationAttribu... | {
"content_hash": "a8e5b62e4ec605d92cf50444e34b98ad",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 97,
"avg_line_length": 32.77777777777778,
"alnum_prop": 0.8016949152542373,
"repo_name": "was4444/chromium.src",
"id": "7237abc32df5ab6f20d90e6943d02d2368f66a5f",
"size": "... |
import os
import sys
import knowledgebase
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = knowledgebase.__version__
if sys.argv[-1] == 'publish':
try:
import wheel
except ImportError:
print('Wheel library missing. Please run "pip insta... | {
"content_hash": "edbd85d5c2542468469d0fe233fa2852",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 70,
"avg_line_length": 28.88235294117647,
"alnum_prop": 0.6186354378818737,
"repo_name": "bazzite/django-knowledgebase",
"id": "376ae219d7658a8d874ecd840a6c7d2b2b93c805",
"... |
/**
* @author mrdoob / http://mrdoob.com/
*/
THREE.MaterialExporter = function () {};
THREE.MaterialExporter.prototype = {
constructor: THREE.MaterialExporter,
parse: function ( material ) {
var output = {
metadata: {
version: 4.0,
type: 'material',
generator: 'MaterialExporter'
}
};
i... | {
"content_hash": "7231d52a8bf9f00de1613d8b1fb7b6e8",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 63,
"avg_line_length": 26.82191780821918,
"alnum_prop": 0.7114402451481103,
"repo_name": "1974kpkpkp/three.js",
"id": "ec89e3d33b8c19deb4be8872a1389b12f12e442c",
"size": "1... |
import sys
import os.path
import unittest
sys.path.append(
os.path.abspath(os.path.join(os.path.dirname(__file__), "../../")))
import configgen.utils.videoMode as videoMode
class VideoModeUtilTest(unittest.TestCase):
pass
#def test_createSimpleFillValues(self):
# self.assertEquals(videoMode.createV... | {
"content_hash": "ed37058ccfc23a8bb1223e687919ce35",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 100,
"avg_line_length": 33.38095238095238,
"alnum_prop": 0.7061340941512125,
"repo_name": "digitalLumberjack/recalbox-configgen",
"id": "779b36513025df2566bebe4b6f3c13977678c... |
"""
Representation Tutorial for RLPy
================================
Assumes you have created the IncrTabularTut.py agent according to the tutorial and
placed it in the Representations/ directory.
Tests the Representation on the GridWorld domain usin SARSA
"""
__author__ = "Robert H. Klein"
from rlpy.Domains import G... | {
"content_hash": "d59b27f5cf6809d0eb7f0897737f3e76",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 82,
"avg_line_length": 33.74576271186441,
"alnum_prop": 0.6790557508789553,
"repo_name": "imanolarrieta/RL",
"id": "8ecaca2f7278ccbe40fad3e89ea4dcf9ee6f9de9",
"size": "2013... |
package com.alibaba.simpleimage.analyze.testbed;
import java.io.IOException;
import com.alibaba.simpleimage.analyze.ModifiableConst;
/**
* 类TestSurf.java的实现描述:TODO 类实现描述
*
* @author axman 2013-5-23 上午11:37:12
*/
public class TestSurf extends Thread {
static {
System.setProperty(ModifiableConst._TOW... | {
"content_hash": "8a29a1e1fa6abacdbc941cea42802f6d",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 79,
"avg_line_length": 24.92452830188679,
"alnum_prop": 0.5927327781983346,
"repo_name": "alibaba/simpleimage",
"id": "077e9a59cb1f6f81008f638ada6fd469e7b9997f",
"size": "1... |
class GURL;
namespace base {
class DictionaryValue;
}
// Helper consts and methods for both cloud print and chrome browser.
namespace cloud_print {
// A map representing printer tags.
typedef std::map<std::string, std::string> PrinterTags;
// Appends a relative path to the url making sure to append a '/' if the
// ... | {
"content_hash": "076735c4cbe00a6af096551fbf33724c",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 80,
"avg_line_length": 45.5679012345679,
"alnum_prop": 0.6710918450284475,
"repo_name": "codenote/chromium-test",
"id": "71bd9b6446ecccdcb4a5b55909299c571f68a5f7",
"size": ... |
std::size_t Service::determine_min_fetch_size_for_new_stream() {
// TODO:
// We should probably figure out an initial min_fetch_size based on how many streams
// are currently active and have a global budget that for all of them. For now, start with a relatively low constant fetch size
/... | {
"content_hash": "4f99dc014e86b8d818a0648a575721c2",
"timestamp": "",
"source": "github",
"line_count": 449,
"max_line_length": 229,
"avg_line_length": 43.40311804008909,
"alnum_prop": 0.5083641215106732,
"repo_name": "phaistos-networks/TANK",
"id": "9cee3abbf6c75e18802a21687ad89d920673999f",
"size... |
module AmazonFlexPay::API
class Error < StandardError
attr_accessor :request, :request_id, :code, :message
def initialize(code, message, request_id, request)
@request_id, @request, @code, @message = request_id, request, code, message
end
def to_s
message
end
end
# generated from... | {
"content_hash": "1ec8a629c983d7f15dcc775cab3ed1a3",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 109,
"avg_line_length": 25.623529411764707,
"alnum_prop": 0.7690541781450873,
"repo_name": "selfstar/amazon_flex_pay",
"id": "ec306a81138e7207382e1187251fcc8c29c328cf",
"si... |
<?php
class attempt extends master {
public $attempt_id;
public $user_id;
public $score;
public $timestamp;
public $status = 0;
public $outOf = 0;
function __constuct() {
parent::__construct();
}
public function getFromDB($attempt_id) {
$attempt_id = $this -> mysqli -> escape_string($attempt_id);
$que... | {
"content_hash": "29d156f38f751d64209e95e9bb50a739",
"timestamp": "",
"source": "github",
"line_count": 212,
"max_line_length": 189,
"avg_line_length": 27.87735849056604,
"alnum_prop": 0.5774957698815567,
"repo_name": "evanlouie/exam",
"id": "eb098550f21324999c30e4ad6bc70f98fb7e1de4",
"size": "5910... |
package sq.squ1rr.mcc4.layout;
import android.content.Context;
import android.view.View;
/**
* Minecraft Select Button.
* Acts like a list in a button, selects next element when the button is
* clicked.
* @author Aleksandr Belkin
*/
public class McSelector extends McButton {
/** labels to show */
privat... | {
"content_hash": "e0ac210a507b98c2564cc6c888743b59",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 83,
"avg_line_length": 22.365671641791046,
"alnum_prop": 0.5455455455455456,
"repo_name": "sQu1rr/minecraft-connect-4",
"id": "5b14032e4b0b21ef17553279af64eb764f5e32c0",
"... |
<?php
namespace Flowcode\FinancialBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* This is the class that loads and... | {
"content_hash": "feb0bf0908a4e1fac375726464ab3772",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 105,
"avg_line_length": 31.214285714285715,
"alnum_prop": 0.7311212814645309,
"repo_name": "flowcode/financial-bundle",
"id": "893cf855ec34a346bde854c89113544123dd5855",
"s... |
package com.beecavegames.bjc.handlers;
import lombok.NoArgsConstructor;
import java.util.HashMap;
import java.util.Map;
import com.beecavegames.Game;
import com.beecavegames.GameResponse;
import com.beecavegames.GameSession;
import com.beecavegames.entities.PlayerGrant.GrantType;
import com.beecavegames.util.MoneyAm... | {
"content_hash": "543f2dbd56933d73c17379f5bb932aa3",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 107,
"avg_line_length": 25.515151515151516,
"alnum_prop": 0.7826603325415677,
"repo_name": "sgmiller/galeforce",
"id": "e1226c7b05f68b923949212be00c590afaf967cf",
"size": "... |
using ClosedXML.Excel;
using DocumentFormat.OpenXml;
using NUnit.Framework;
using System;
namespace ClosedXML.Tests.Excel
{
[TestFixture]
public class ExtensionsTests
{
[Test]
public void FixNewLines()
{
Assert.AreEqual("\n".FixNewLines(), Environment.NewLine);
... | {
"content_hash": "0ba05efee80768707875981da3d4c792",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 95,
"avg_line_length": 40.55952380952381,
"alnum_prop": 0.5600234810683886,
"repo_name": "ClosedXML/ClosedXML",
"id": "56df75c47f83c9fd7e80d635ccfd973744cd8765",
"size": "3... |
import { onRenderBody } from "../gatsby-ssr"
describe(`gatsby-plugin-fullstory`, () => {
describe(`onRenderBody`, () => {
describe(`in development mode`, () => {
it(`does not set any head components`, () => {
const setHeadComponents = jest.fn()
onRenderBody({ setHeadComponents }, {})
... | {
"content_hash": "e97c89118acb8094912dbc417f876ea5",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 62,
"avg_line_length": 25.054054054054053,
"alnum_prop": 0.5652642934196332,
"repo_name": "gatsbyjs/gatsby",
"id": "2e76d3374c06bc86653a82545a1ecb4856132ee5",
"size": "927"... |
ACCEPTED
#### According to
Euro+Med Plantbase
#### Published in
null
#### Original name
Hieracium incisum subsp. ciliatifolium Zahn
### Remarks
null | {
"content_hash": "bd6ab6381ee5799c86993ac9b66ab367",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 43,
"avg_line_length": 11.692307692307692,
"alnum_prop": 0.7302631578947368,
"repo_name": "mdoering/backbone",
"id": "4afa5b0cbb3c7adca1cbd8d221bd9c74f28c765c",
"size": "23... |
layout: organization
category: national
title: Iwate Yuicco
impact_area: Disaster Relief
keywords:
location_services:
location_offices:
website: http://eng.yuicco.com/
description:
mission: |
To support recovery and relief efforts in the wake of the March 2011 earthquake that took place in Japan.
cash_grants: ... | {
"content_hash": "ee6d8b50927394bcad37317d6289e69d",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 107,
"avg_line_length": 14.829268292682928,
"alnum_prop": 0.7351973684210527,
"repo_name": "flipside-org/penny-harvest",
"id": "103ea5012909ff550fd3763bd0a115165f3ab384",
"... |
use futures_sink::Sink;
use pin_project_lite::pin_project;
use std::io;
use std::pin::Pin;
use std::task::{Context, Poll};
use tokio::io::AsyncWrite;
pin_project! {
/// Convert a [`Sink`] of byte chunks into an [`AsyncWrite`].
///
/// Whenever you write to this [`SinkWriter`], the supplied bytes are
/... | {
"content_hash": "9dab2801d1454cae513d360fd4b6a091",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 97,
"avg_line_length": 32.49193548387097,
"alnum_prop": 0.5266815586994291,
"repo_name": "tokio-rs/tokio",
"id": "5d1acc499cc7c6a3b2e92ebc0a94df668c8be222",
"size": "4029"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3cccdbaaecc9564a64814f567bdb8f7d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "31abbb1b35d143fe57a826cbc44a8fbe1a964933",
"size": "178... |
module Excon
class PrettyPrinter
def self.pp(io, datum, indent=0)
datum = datum.dup
# reduce duplication/noise of output
unless datum.is_a?(Excon::Headers)
datum.delete(:connection)
datum.delete(:stack)
if datum.has_key?(:headers) && datum[:headers].has_key?('Authorizat... | {
"content_hash": "5a0a7dfd6c2bd96d2e1af6481694d27d",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 80,
"avg_line_length": 27.177777777777777,
"alnum_prop": 0.5134914145543745,
"repo_name": "kamillamagna/NMF_Tool",
"id": "0ba2e2b1ec1f1c06179da28aa81f1cd3ac7af0e7",
"size":... |
package main
import (
"encoding/json"
"errors"
"flag"
"fmt"
"os/exec"
"strings"
"time"
"github.com/golang/glog"
"github.com/kubernetes-incubator/external-storage/lib/controller"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
"k8s.io/apimachinery/pkg/util/uuid"
"k8s.io/api... | {
"content_hash": "55f10d6a7847aa333be2cd2b57f469c9",
"timestamp": "",
"source": "github",
"line_count": 295,
"max_line_length": 238,
"avg_line_length": 29.63050847457627,
"alnum_prop": 0.6796705182473401,
"repo_name": "clarkhale/external-storage",
"id": "8f02a4d9a1f341381c5f78f91e8803fe81e4cba3",
"... |
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| {
"content_hash": "22742ca724ada7df1d301f0b5091922e",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 60,
"avg_line_length": 16.857142857142858,
"alnum_prop": 0.7796610169491526,
"repo_name": "twototwoto/WW_Normal",
"id": "a33bff8a9e3fe8d02bce565a5ba83a89e9b9b271",
"size": "... |
package groovy.lang;
import org.codehaus.groovy.GroovyBugError;
import org.codehaus.groovy.ast.ClassNode;
import org.codehaus.groovy.classgen.asm.BytecodeHelper;
import org.codehaus.groovy.control.CompilationUnit;
import org.codehaus.groovy.control.Phases;
import org.codehaus.groovy.reflection.CachedClass;
import org... | {
"content_hash": "5cba00781777793e71335fc3972320c7",
"timestamp": "",
"source": "github",
"line_count": 3889,
"max_line_length": 171,
"avg_line_length": 42.65723836461815,
"alnum_prop": 0.578447683460523,
"repo_name": "paplorinc/incubator-groovy",
"id": "f0c8fe5a1d22d5eb0c0b38f24b9cb582ae7adb26",
"... |
package org.apache.skywalking.e2e.base;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.concurrent.TimeUnit;
import org.apache.skywalking.e2e.SkyWa... | {
"content_hash": "81fbdfde2ab50a02db9ea8f4be4a4795",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 111,
"avg_line_length": 32,
"alnum_prop": 0.8125,
"repo_name": "ascrutae/sky-walking",
"id": "cfedd20b893ef59d3a6f00806a2ef2a70026b946",
"size": "1636",
"binary": false,
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("2.... | {
"content_hash": "10fb2806cbc9bba72796768cd2c6a876",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.47222222222222,
"alnum_prop": 0.745249824067558,
"repo_name": "DGochew/ProgrammingFundamentals",
"id": "61a9d7a9c13c465170545aea594ac8bee327a559",
... |
<?php
namespace Swoopaholic\Bundle\FrameworkBundle\Navigation\Provider;
use Swoopaholic\Component\Navigation\NavigationInterface;
use Swoopaholic\Component\Navigation\ProviderInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
* Class ContainerAwareProvider
* @package Swoopaholic\Bundle\Fr... | {
"content_hash": "275d48a19f6b2375b59a41a9a59e96aa",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 100,
"avg_line_length": 25.233333333333334,
"alnum_prop": 0.6505944517833554,
"repo_name": "swoopaholic/FrameworkBundle",
"id": "882368bab9e13f8579590858e7c45f659c5f1bbb",
... |
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [3.1.1](https://github.com/sonata-project/SonataDoctrineMongoDBAdminBundle/compare/3.1.0...3.1.1) - 2018-02-08
### Changed
- All templates references are updated to twig namespaced... | {
"content_hash": "0ef3d2423570aacb5c6db4d1d3269eb5",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 113,
"avg_line_length": 40.425,
"alnum_prop": 0.7699443413729128,
"repo_name": "yedey/SonataDoctrineMongoDBAdminBundle",
"id": "663838f15bd8d90ab15b6267ba0c292b3e5bde1d",
"... |
import os, re
import pytest
from pytest import raises
from jenkinsflow.flow import parallel, FailedChildJobsException
from .framework import api_select
from .framework.utils import assert_lines_in
from .framework.abort_job import abort
from .cfg import ApiType
here = os.path.abspath(os.path.dirname(__file__))
@p... | {
"content_hash": "bb3fdf7b017f8fcb111d90466bef5375",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 135,
"avg_line_length": 36.275,
"alnum_prop": 0.656788421778084,
"repo_name": "lechat/jenkinsflow",
"id": "da5160310159cedee040c071769b0c8276b66e99",
"size": "1589",
"bin... |
An app for creating and managing your front-end pattern library.
1. Create patterns in Markdown files
2. Create structure by creating folders
3. Browseable interface
### Built with Gulp, Angular and Markdown/YAML
## 3 Seperate Sub-Modules
* Mural Patterns (this Read Me)
* Mural API (<a href="../api/Readme.md" target... | {
"content_hash": "3ab7c8f254c7c658ffec9a6fde6135c0",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 130,
"avg_line_length": 33.61904761904762,
"alnum_prop": 0.6931067044381491,
"repo_name": "stephenst/mural",
"id": "07ed56d1a99cfa8fa8d15bf42eb1ef32a9a9bace",
"size": "2169... |
<!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": "29e7da13ecad5c78517bbcbecf9a385a",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 401,
"avg_line_length": 69.04464285714286,
"alnum_prop": 0.657312815207552,
"repo_name": "bounswe/bounswe2016group5",
"id": "58f3cd19c291ee54a5b015ddd273064dbec04249",
"si... |
namespace DefiningClassesPartOne
{
using System;
public class GSMTest
{
public static void Main()
{
var phones = new GSM[]
{
new GSM("Lumia550", "Microsoft", 120.80m, "Pesho Petrov", new Battery("KP1250", 500, 150, BatteryType.LiIon), new Display("12... | {
"content_hash": "9ee940cabf40ea29bcca4d6f625db293",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 158,
"avg_line_length": 34.5921052631579,
"alnum_prop": 0.39596804868771396,
"repo_name": "jorosoft/Telerik-Academy",
"id": "80901429e9c4a10bf46deec5038afc38b2445c9f",
"siz... |
<!DOCTYPE html>
<html>
<head>
<title>Curriculum vitae</title>
<link rel="stylesheet" type="text/css" href="../css/cvcss.css" media="screen and (min-width: 661px) and (max-width:2800px)">
<link rel="stylesheet" type="text/css" href="../css/cvcss1.css" media="screen and (max-width: 660px)">
</head>
<body>
<header>
... | {
"content_hash": "8c49884868507b559bea3843875d605a",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 125,
"avg_line_length": 32.19565217391305,
"alnum_prop": 0.6522619851451722,
"repo_name": "MarthaZFQ/MarthaZFQ.github.io",
"id": "e4307221d6793a2c0fd22fe05700707565965039",
... |
// private
// This is a support class used internally by the Grid components
Ext.grid.SplitDragZone = function(grid, hd, hd2){
this.grid = grid;
this.view = grid.getView();
this.proxy = this.view.resizeProxy;
Ext.grid.SplitDragZone.superclass.constructor.call(this, hd,
"gridSplitters" + this... | {
"content_hash": "870307ac0b24bc443f49eec863ef4d9f",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 101,
"avg_line_length": 34.12068965517241,
"alnum_prop": 0.617988883274381,
"repo_name": "jywarren/cartagen",
"id": "513b9b50d1aa15ffe174363d7c57098831d17886",
"size": "210... |
package org.elasticsearch.transport.nio.channel;
import org.elasticsearch.transport.nio.NetworkBytesReference;
import org.elasticsearch.transport.nio.ESSelector;
import org.elasticsearch.transport.nio.SocketSelector;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import j... | {
"content_hash": "bb12ba1916fd50ea61dfd1cf5a1a97c1",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 110,
"avg_line_length": 31.83139534883721,
"alnum_prop": 0.6546118721461187,
"repo_name": "LeoYao/elasticsearch",
"id": "62404403de0282086ae5aecb5aa353f3dbdd5ab4",
"size":... |
package com.hs.mail.imap.message.request.ext;
import com.hs.mail.imap.ImapSession;
import com.hs.mail.imap.ImapSession.State;
import com.hs.mail.imap.message.request.ImapRequest;
/**
*
* @author Won Chul Doh
* @since Apr 19, 2010
*
*/
public class GetQuotaRequest extends ImapRequest {
private... | {
"content_hash": "c572bc0310e756c5bfa50462105c22d1",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 91,
"avg_line_length": 21.78125,
"alnum_prop": 0.7015781922525107,
"repo_name": "svn2github/hwmail-mirror",
"id": "636ad76afb91b05c47d36788fc48f05551df93b2",
"size": "1335"... |
@interface HLTabBarController ()
@end
@implementation HLTabBarController
- (void)viewDidLoad {
[super viewDidLoad];
UITabBar *tabBar = self.tabBar;
tabBar.tintColor = [UIColor orangeColor];
UIImage *image = [UIImage imageNamed:@"NavBar"];
CGFloat width = image.size.width * 0.5;
CGFloat height... | {
"content_hash": "f4fcfc622df4a41d4ce61d0d29767b17",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 152,
"avg_line_length": 35.72727272727273,
"alnum_prop": 0.7531806615776081,
"repo_name": "HanKKK1515/NewsApp",
"id": "c889a1314878f7cad595884612fb8b45cb62db49",
"size": "9... |
assert(type(file) == 'nil')
assert(type(describe) == 'function')
assert(type(context) == 'function')
assert(type(it) == 'function')
assert(type(spec) == 'function')
assert(type(test) == 'function')
assert(type(before_each) == 'function')
assert(type(after_each) == 'function')
assert(type(spy) == 'table')
assert(type(st... | {
"content_hash": "fe7c0da74b883ef0b8afe20b1d128537",
"timestamp": "",
"source": "github",
"line_count": 537,
"max_line_length": 101,
"avg_line_length": 25.8268156424581,
"alnum_prop": 0.6655851178888168,
"repo_name": "istr/busted",
"id": "a726740877d20602bfe13be34feb74205a99d548",
"size": "13900",
... |
"""The tests for the Sun component."""
from datetime import datetime, timedelta
from unittest.mock import patch
from pytest import mark
import homeassistant.components.sun as sun
from homeassistant.const import EVENT_STATE_CHANGED
import homeassistant.core as ha
from homeassistant.setup import async_setup_component
i... | {
"content_hash": "f48f239a88d617fa6a63ebbac28db5bb",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 87,
"avg_line_length": 30.630208333333332,
"alnum_prop": 0.6340758374426118,
"repo_name": "leppa/home-assistant",
"id": "e04de7e2578ff514811d6dcbf0b466a912bfaf79",
"size":... |
<?php
namespace Illuminate\Mail\Transport;
use Swift_Transport;
use Swift_Mime_Message;
use Swift_Events_EventListener;
use GuzzleHttp\ClientInterface;
class MandrillTransport implements Swift_Transport
{
/**
* Guzzle client instance.
*
* @var \GuzzleHttp\ClientInterface
*/
protected $cli... | {
"content_hash": "75c10997eda6c1fd05be8c4b640e8fbd",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 103,
"avg_line_length": 20.381294964028775,
"alnum_prop": 0.5139428168019767,
"repo_name": "jack-webster/framework",
"id": "b730478f9c8ea6197ed6fb9ef2d5dc72c03b79d8",
"siz... |
"""
create_group(parent::Union{File,Group}, path::AbstractString; properties...)
Create a new `Group` at `path` under the `parent` object. Optional keyword
arguments include any keywords that that belong to
[`LinkCreateProperties`](@ref) or [`GroupCreateProperties`](@ref).
"""
function create_group(
parent::Un... | {
"content_hash": "350d36e76ead2a3bb91d7efc31e7c230",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 128,
"avg_line_length": 31.318181818181817,
"alnum_prop": 0.6649129172714079,
"repo_name": "JuliaIO/HDF5.jl",
"id": "c5a480bd4b94dc44ed066adcb4497b7c6e6411e0",
"size": "55... |
using System.Linq;
using NSubstitute.Core.Arguments;
using NSubstitute.Specs.Infrastructure;
using NUnit.Framework;
namespace NSubstitute.Specs.Arguments
{
public class ArrayContentsArgumentMatcherSpecs : ConcernFor<ArrayContentsArgumentMatcher>
{
private IArgumentSpecification[] _argumentSpecificatio... | {
"content_hash": "33e2569af8739e4fdf5cfc7f3108dfec",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 112,
"avg_line_length": 37.89795918367347,
"alnum_prop": 0.6060850834679591,
"repo_name": "mrinaldi/NSubstitute",
"id": "b4a6f1cf60a42af98f929185690a73e6f23a27d1",
"size": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coinductive-reals: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... | {
"content_hash": "8184f3f8b5da18a2962ec05d5c6c3abd",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 159,
"avg_line_length": 41.6271186440678,
"alnum_prop": 0.5503528773072747,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "748522a8d431227799a9d8dadb455bab53ac72e9",
... |
<?php
/**
* Created by PhpStorm.
* User: breiti
* Date: 14/06/16
* Time: 21:32
*/
namespace BreiteSeite\IP\IPv6;
class Address
{
/**
* @var \GMP
*/
private $gmpAddress;
/**
* Address constructor.
* @param \GMP $gmpAddress
*/
private function __construct(\GMP $gmpAddress... | {
"content_hash": "9cb15eeecfa8727a8afb17ccf46b3f15",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 104,
"avg_line_length": 21.547619047619047,
"alnum_prop": 0.6033149171270719,
"repo_name": "BreiteSeite/ip",
"id": "1f577bd7b696ad58d82b9e4a3a2fa9ed313869df",
"size": "905"... |
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { Hero } from '../model/hero';
import { HeroDetailService } from './hero-detail.service';
@Component({
selector: 'app-hero-detail',
templateUrl: './hero-detail.component.html',
styleUrls: ['./her... | {
"content_hash": "7db43ff59db1a93873c493516469b98d",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 117,
"avg_line_length": 23.86,
"alnum_prop": 0.6261525565800503,
"repo_name": "thymikee/jest-preset-angular",
"id": "e9c0420ecae02aaad8625e8d9b453635c375614f",
"size": "119... |
package command
import (
"github.com/codegangsta/cli"
"github.com/denkhaus/cloudia/engine"
)
//kill will call docker kill on all containers, or the specified one(s).
func (c *Commander) NewKillCommand() {
c.Register(cli.Command{
Name: "kill",
Usage: "Kill the containers",
Action: func(ctx *cli.Context) {
... | {
"content_hash": "8c0a15c03b0891e0d4715f2e1c9918dd",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 72,
"avg_line_length": 21.42105263157895,
"alnum_prop": 0.6781326781326781,
"repo_name": "denkhaus/cloudia",
"id": "f8bd6b43911b25ac34e70b7f9a8c187d446b3d6a",
"size": "407"... |
FROM balenalib/artik10-fedora:30-build
ENV NODE_VERSION 15.14.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ha.pool.sks-keyservers.net --... | {
"content_hash": "c97d69cbe8afd64803b840ec341438f3",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 691,
"avg_line_length": 66.65853658536585,
"alnum_prop": 0.7087449688986461,
"repo_name": "nghiant2710/base-images",
"id": "ac44ea37466ad832e50a91fcb31203c3fa4b39d8",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='zeus_platform'>
<inherits name='com.sencha.gxt.ui.GXT' />
<inherits name="org.moxieapps.gwt.highcharts.Highcharts"/>
<inherits name='com.google.gwt.place.Place' />
<replace-with class="com.taobao.zeus.web.platform.client.theme.shortcut.ShortcutCellDefaul... | {
"content_hash": "cc81f36120e08883f6ab9e8a6e281ac8",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 107,
"avg_line_length": 43.666666666666664,
"alnum_prop": 0.6946564885496184,
"repo_name": "wwzhe/dataworks-zeus",
"id": "301325e25fe1ddaba39f349898f83afb17e25a19",
"size":... |
package org.simpleflatmapper.jdbc;
import org.simpleflatmapper.util.CheckedConsumer;
import java.lang.reflect.Type;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Collection;
/**
*
* @param <T> the target type
* @param <K> the key type
*/
public class ConnectedCrud<T, K> {
priva... | {
"content_hash": "0ce689e7b98ffbb9d9e8e2a90c9a350d",
"timestamp": "",
"source": "github",
"line_count": 296,
"max_line_length": 140,
"avg_line_length": 34.7195945945946,
"alnum_prop": 0.5844117933249002,
"repo_name": "arnaudroger/SimpleFlatMapper",
"id": "05b105c3fd8ba11ed911122c26a84b23a0441771",
... |
package org.mrgeo.mapalgebra.parser;
public class ParserVariableNode extends ParserNode
{
private Object value;
public Object getValue()
{
return value;
}
public void setValue(Object value)
{
this.value = value;
}
}
| {
"content_hash": "18f2aae9524def6fe9d4884d1e18f10a",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 50,
"avg_line_length": 13.722222222222221,
"alnum_prop": 0.6842105263157895,
"repo_name": "akarmas/mrgeo",
"id": "be445cbd0a6ac7d500683505843c5f0865436a8b",
"size": "849",
... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.spotify</groupId>
<artifactId>foss-root</arti... | {
"content_hash": "b5e08a5055f71c56125e0c488466274a",
"timestamp": "",
"source": "github",
"line_count": 426,
"max_line_length": 204,
"avg_line_length": 32.44600938967136,
"alnum_prop": 0.6003472724641875,
"repo_name": "rgrunber/docker-client",
"id": "1ef24341fd6fd1c5c6a18a9542fae75de9656d84",
"size... |
package com.mangopay.entities;
import com.google.gson.annotations.SerializedName;
import com.mangopay.core.Address;
import com.mangopay.core.EntityBase;
import com.mangopay.core.PlatformCategorization;
import java.util.ArrayList;
/**
* Client entity.
*/
public class Client extends EntityBase {
/**
* Clie... | {
"content_hash": "212b6380902355bebc8fa9982329e10e",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 103,
"avg_line_length": 24.665178571428573,
"alnum_prop": 0.6743891402714932,
"repo_name": "Mangopay/mangopay2-java-sdk",
"id": "a481657863ddbbc676c0bc6aa1e0d2a5d6cc258c",
... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/* FIXME: gdk_cairo_create() is deprecated nowadays */
#define GDK_DISABLE_DEPRECATION_WARNINGS
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <gdk/gdkx.h>
#include <gtk/gtk.h>
#include <gst/gst.h>
#include <gst/video/videooverlay.h>
static GtkW... | {
"content_hash": "0e76eb9c75d56398daf857c91b5838f7",
"timestamp": "",
"source": "github",
"line_count": 251,
"max_line_length": 89,
"avg_line_length": 27.294820717131476,
"alnum_prop": 0.6523135308714056,
"repo_name": "google/aistreams",
"id": "12b7732ee50362b9aedba316fe57bdcacf9a266e",
"size": "77... |
package org.karivar.utils;
import com.google.common.base.Splitter;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Map;
import java.u... | {
"content_hash": "a9927c16c7197312a94219f855c5d7b2",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 114,
"avg_line_length": 31.094736842105263,
"alnum_prop": 0.6475964793500338,
"repo_name": "pgjerlow/git-jira-hook",
"id": "202620fe0172da691d933bf7d02963d25460cffc",
"size... |
import { Component, OnInit, OnDestroy } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { JhiEventManager } from 'ng-jhipster';
import { Engine } from './engine.model';
import { EnginePopupService } from './engine-popup.servic... | {
"content_hash": "4c88f83adc264576e77dec064533e16a",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 78,
"avg_line_length": 26.078125,
"alnum_prop": 0.6351108448172559,
"repo_name": "iMartinezMateu/gamecraft",
"id": "f3f1acf6b29977e20b0e5e733cfa4dc2b36b6ab0",
"size": "1669... |
package com.microsoft.azure.management.compute.v2019_11_01;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The instance view of a virtual machine extension.
*/
public class VirtualMachineExtensionInstanceView {
/**
* The virtual machine extension name.
*/
@Jso... | {
"content_hash": "70c57d097c62168740febdd90523617f",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 102,
"avg_line_length": 25.867132867132867,
"alnum_prop": 0.6496350364963503,
"repo_name": "selvasingh/azure-sdk-for-java",
"id": "22aded80a8b7d76772e8011d775d4481fb73f084",... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "556740075dd3ec3cbaa2f8add28f9e28",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "30c679e1eff044530154602feb3e7b60fd9d7536",
"size": "18... |
#include "SGLQueue.hpp"
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
SGLQueue::SGLQueue(){
q = new std::list<int32_t>();
lk.store(-1,std::memory_order::memory_order_release);
}
SGLQueue::~SGLQueue(){}
int32_t SGLQueue::dequeue(int tid){
lockAcquire(tid);
int32_t v=0;
if(!q->em... | {
"content_hash": "038fc9aaa6ce530e1419207385f5f8f5",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 87,
"avg_line_length": 21.5,
"alnum_prop": 0.6370431893687708,
"repo_name": "13ofClubs/parHarness",
"id": "6624a4e4d7160799ff44e31838519ec012a3032f",
"size": "1788",
"bin... |
//$Id: Dog.java 14760 2008-06-11 07:33:15Z hardy.ferentschik $
package org.hibernate.test.annotations.id.sequences.entities;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persis... | {
"content_hash": "dd5e2e0e5c167c1a878c3719fd1520bf",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 82,
"avg_line_length": 24.902439024390244,
"alnum_prop": 0.7384916748285995,
"repo_name": "HerrB92/obp",
"id": "0530828eb6bb3b99395b344d62248016b5aff850",
"size": "1021",
... |
namespace content {
class RenderViewHost;
}
class Profile;
namespace chromeos {
enum AccessibilityNotificationType {
ACCESSIBILITY_MANAGER_SHUTDOWN,
ACCESSIBILITY_TOGGLE_HIGH_CONTRAST_MODE,
ACCESSIBILITY_TOGGLE_LARGE_CURSOR,
ACCESSIBILITY_TOGGLE_SCREEN_MAGNIFIER,
ACCESSIBILITY_TOGGLE_SPOKEN_FEEDBACK,
ACC... | {
"content_hash": "f1f4bcdd6549b930c1b86753b69b2478",
"timestamp": "",
"source": "github",
"line_count": 316,
"max_line_length": 80,
"avg_line_length": 35.04746835443038,
"alnum_prop": 0.7601805869074492,
"repo_name": "ds-hwang/chromium-crosswalk",
"id": "50121fb757843bcbc5202c8b783ce18088aa5ff6",
"... |
namespace v8 {
namespace internal {
// CPU Registers.
//
// 1) We would prefer to use an enum, but enum values are assignment-
// compatible with int, which has caused code-generation bugs.
//
// 2) We would prefer to use a class instead of a struct but we don't like
// the register initialization to depend on the par... | {
"content_hash": "8aadb4daf6aa443661ed11b149cf89f1",
"timestamp": "",
"source": "github",
"line_count": 1363,
"max_line_length": 80,
"avg_line_length": 34.69479090242113,
"alnum_prop": 0.680729133625156,
"repo_name": "shelsonjava/TeaJS",
"id": "b913f7afc8e2af773ea019e5ab81ac22b0ca4e14",
"size": "49... |
@interface BoxSerialAPIQueueManagerTests : XCTestCase
@end
| {
"content_hash": "a104f7da427d2b3f84191c98fb54a71a",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 53,
"avg_line_length": 20,
"alnum_prop": 0.85,
"repo_name": "CleanShavenApps/box-ios-sdk-v2",
"id": "0fc217bf0c43b13eaf77f79aa4f145f218c7a67c",
"size": "216",
"binary": fa... |
import os
# Setup config name.
config.name = 'GWP-ASan' + config.name_suffix
# Setup source root.
config.test_source_root = os.path.dirname(__file__)
# Test suffixes.
config.suffixes = ['.c', '.cpp', '.test']
# C & CXX flags.
c_flags = ([config.target_cflags])
# Android doesn't want -lrt.
if not config.android:
... | {
"content_hash": "423b5bfed721787d9e49d887b94f2847",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 97,
"avg_line_length": 33.55813953488372,
"alnum_prop": 0.6812196812196812,
"repo_name": "endlessm/chromium-browser",
"id": "a1b2551c2f9daf9372c3b7a9f197e1dfa41e5c92",
"siz... |
/*************************************************************************/
/* transform.h */
/*************************************************************************/
/* This file is part of: */
/* ... | {
"content_hash": "990bc8ebefa62f2dd7361a786f0e3160",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 197,
"avg_line_length": 47.98198198198198,
"alnum_prop": 0.6389410439354112,
"repo_name": "Paulloz/godot",
"id": "bc51438b17601fabf94b53363f7ec0040be7f626",
"size": "5326"... |
// ======================================================================
/*!
* \file NFmiProducer.h
* \brief Implementation of class NFmiProducer
*/
// ======================================================================
/*!
* \class NFmiProducer
*
* Undocumented
*
*/
// =====================================... | {
"content_hash": "053a2a925a26570e028c831e1b45740a",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 99,
"avg_line_length": 27.36190476190476,
"alnum_prop": 0.4263835711799513,
"repo_name": "fmidev/smartmet-library-newbase",
"id": "f5eea45e34667a35e4ee15d250ec72ebbb499703",... |
my $this_genome_db = $genome_db_adaptor->fetch_by_name_assembly("Homo sapiens", "NCBI36");
| {
"content_hash": "46dd57c94586780386043805dc71e15a",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 90,
"avg_line_length": 91,
"alnum_prop": 0.7142857142857143,
"repo_name": "dbolser-ebi/ensembl-compara",
"id": "fd2900196e57f4dfda15177e73301931ee955f38",
"size": "745",
"... |
package org.apache.camel.component.jetty.rest;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.apache.camel.Exchange;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.jetty.BaseJettyTest;
import org.apache.camel.component.mock.Moc... | {
"content_hash": "8941ed943c65795c915726539069d9a8",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 151,
"avg_line_length": 40.111111111111114,
"alnum_prop": 0.6026469682979378,
"repo_name": "Fabryprog/camel",
"id": "ea1dd70fb229e3d26335462b810bd3f74ce554cc",
"size": "405... |
<?php
namespace Oro\Bundle\WorkflowBundle\Tests\Unit\Helper;
use Oro\Bundle\ActionBundle\Model\Attribute;
use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
use Oro\Bundle\SecurityBundle\Acl\Group\AclGroupProviderInterface;
use Oro\Bundle\WorkflowBundle\Acl\AclManager;
use Oro\Bundle\WorkflowBundle\Entity\WorkflowDefini... | {
"content_hash": "7e61d4fa37f760a81d4f5a6942207f64",
"timestamp": "",
"source": "github",
"line_count": 406,
"max_line_length": 116,
"avg_line_length": 37.522167487684726,
"alnum_prop": 0.47210187737954573,
"repo_name": "orocrm/platform",
"id": "4f44ac5aa1167d0188a33a5dd8e51819f5ef53eb",
"size": "1... |
import sys
import os
import subprocess
import time
import getpass
DEBUG=False
VERBOSE=False
cookies = "--insecure --cookie-jar .cookies.txt --cookie .cookies.txt"
PREFIX=os.path.dirname(os.path.realpath(__file__))
def cmd_exists(cmd):
""" Returns: bool, True if 'cmd' is in PATH, False otherwise."""
return sub... | {
"content_hash": "9e00399999aadf89ee69fad1c06a4da7",
"timestamp": "",
"source": "github",
"line_count": 485,
"max_line_length": 81,
"avg_line_length": 35.30103092783505,
"alnum_prop": 0.5614158051515683,
"repo_name": "nkinkade/operator",
"id": "eca9d2ac147160b57a2dfe20ac1256614a3b7968",
"size": "17... |
FROM balenalib/imx8m-var-dart-debian:bullseye-run
ENV NODE_VERSION 14.15.4
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.c... | {
"content_hash": "3ebc0bf5a1033ee1f637e8fa88d816e5",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 694,
"avg_line_length": 65,
"alnum_prop": 0.7042735042735043,
"repo_name": "nghiant2710/base-images",
"id": "d095de823281422212e1b4411bdf7f4a6dbbe3f9",
"size": "2946",
"b... |
import theano.tensor as T
class Operation():
def __init__(self, input, op_name):
self.input = input
self.operate = self.get_operation(op_name)
self.output = self.operate(input, axis=1)
def get_operation(self, op_name):
if op_name == 'sum':
return T.sum
elif op_name == 'mean':
return T.mean
elif ... | {
"content_hash": "b5994888496fcd4eca7f25680292fd44",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 54,
"avg_line_length": 23.166666666666668,
"alnum_prop": 0.6474820143884892,
"repo_name": "nusnlp/corelm",
"id": "9612f394a9628642182d1ce81d0a0f9d6bb3ca73",
"size": "417",
... |
"""ttsa.py: Traveling Tournament Problem Using Simulated Annealing"""
__author__ = "Colin Burgin"
__copyright__ = "Copyright 2017, Virginia Tech"
__credits__ = [""]
__license__ = "MIT"
__version__ = "1.0"
__maintainer__ = "Colin Burgin"
__email__ = "cburgin@vt.edu"
__status__ = "in progress"
# Standard Python Librari... | {
"content_hash": "6e2a25277ff2f8b124f96e3d47fc0860",
"timestamp": "",
"source": "github",
"line_count": 478,
"max_line_length": 250,
"avg_line_length": 38.77405857740586,
"alnum_prop": 0.5336678536743282,
"repo_name": "cburgin/TPP-SA",
"id": "065f6bf3cf0bd224638c34864f6b296e9c693d4f",
"size": "1855... |
package main
//go:generate go-bindata -pkg "logbuddy" -o ../logbuddy_bindata.go ../static/...
import "github.com/jnprautomate/logbuddy"
func main() {
testServer := "localhost:8080"
ws := &logbuddy.WebServer{Address: testServer}
ws.Listen()
defer ws.Close()
}
| {
"content_hash": "832944b0d0b99b1984b33659f0b11108",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 80,
"avg_line_length": 22.166666666666668,
"alnum_prop": 0.7030075187969925,
"repo_name": "JNPRAutomate/LogBuddy",
"id": "a2d1be6fe938017d340f915ea31ba90bc97300af",
"size":... |
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=441782
-->
<head>
<title>Test for Bug 441782</title>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
<link rel="stylesheet" type="text/css" h... | {
"content_hash": "503f5ebcfc4081dd8a80e04e8925d31d",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 100,
"avg_line_length": 27.678571428571427,
"alnum_prop": 0.6696774193548387,
"repo_name": "sergecodd/FireFox-OS",
"id": "595477da27377b06b11bb349cdb949bf1ed410f6",
"size":... |
static inline bool isWhiteSpace(int c)
{
return ( c == ' ') || (c == '\t');
}
///////////////////////////////////////////////////////////////////////////////
static inline bool isWhiteSpaceAndNewline(int c)
{
return ( c == ' ') || (c == '\t') || (c == '\n') || (c == '\r') ;
}
/////////////////////////////////////... | {
"content_hash": "42545c92e7073d56f8d7825b5985f4ce",
"timestamp": "",
"source": "github",
"line_count": 642,
"max_line_length": 109,
"avg_line_length": 21.833333333333332,
"alnum_prop": 0.5302846543482913,
"repo_name": "jjuiddong/PhysXPractice",
"id": "62e979454fbf5cedaf67c21e27f322f0d5cf48b7",
"si... |
require "spec_helper"
describe IoMerchant::Order do
before {
# @user = FactoryGirl.create(:user)
@user = User.create(:name => 'a', :kind => 'a', :email => 'a')
@order = FactoryGirl.create(:order, :buyer => @user)
}
it 'order' do
p IoMerchant::Order.generate_unique_id
expect(@order.code).to e... | {
"content_hash": "07a8846a4cdc63f99e817fb58c5d74c7",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 66,
"avg_line_length": 21,
"alnum_prop": 0.623015873015873,
"repo_name": "iobuild/io_merchant",
"id": "188d3da87878483a0e118eff7f1d3b2b4cf1d623",
"size": "504",
"binary":... |
<!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="author" content="Open Knowledge">
<meta name="description" content="The Global Open Data Index assesse... | {
"content_hash": "1531031e381295056d271d7703e6a52f",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 132,
"avg_line_length": 45.34444444444444,
"alnum_prop": 0.4583435432492036,
"repo_name": "okfn/opendataindex-2015",
"id": "a069a373acf46c13947a5ecc6e8d3c45bffa66db",
"siz... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.