text stringlengths 2 1.04M | meta dict |
|---|---|
package com.networknt.eventuate.customer.command.handler;
import com.networknt.server.Server;
import org.junit.rules.ExternalResource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.concurrent.atomic.AtomicInteger;
import com.networknt.server.Server;
import com.networknt.server.ServerConfig... | {
"content_hash": "4e1a9add2d0d917a8619c05123fec466",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 75,
"avg_line_length": 23.647058823529413,
"alnum_prop": 0.6451077943615257,
"repo_name": "networknt/light-java-example",
"id": "e10b0eb8a1ee011366c8c5f03882b436c49a5f40",
... |
package com.thinkgem.jeesite.modules.mms.vo;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;
import java.util.Date;
/**
* 送检导出清单字段
* Created by jiang on 2017/4/3.
*/
public class InspectionExportProductVo {
private String productNumber; // 产品编号
private String englishName; // 英文名称
... | {
"content_hash": "b4d8d74f9027817f4faac72d6afb6622",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 116,
"avg_line_length": 35.78440366972477,
"alnum_prop": 0.7317010639661582,
"repo_name": "jjeejj/huaxia-messagae-manage",
"id": "e85dc5fae66e2d35e04d6d38400a9245754558ab",
... |
package blobstore
import (
"os"
"path"
bosherr "github.com/cloudfoundry/bosh-utils/errors"
boshsys "github.com/cloudfoundry/bosh-utils/system"
boshuuid "github.com/cloudfoundry/bosh-utils/uuid"
)
const (
blobstorePathPermissions = os.FileMode(0770)
)
type localBlobstore struct {
fs boshsys.FileSystem
u... | {
"content_hash": "6b49d4c45a5a4ab8bb701b6b660f18f5",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 96,
"avg_line_length": 21.742574257425744,
"alnum_prop": 0.7017304189435337,
"repo_name": "forrestsill/bosh-init",
"id": "7530b68cdc37f6f21b3b4dc28f21ea0c63d69941",
"size"... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "0ba68e38ab143895d43989197d09f525",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "4951d191ff45506c60c774083cd2bbfd1fb7b6a6",
"size": "189... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "9e594880bd378c734d67287e815fd46f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "c66200dc32b16f816e4e3cd9b1bd5c3a619cc26e",
"size": "187... |
<img src="https://img.shields.io/badge/build-passing-brightgreen.svg" alt="build-passing">
<img src="https://img.shields.io/badge/issues-1%20open-yellow.svg" alt="issues-1">
<img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="license-mit">
<img src="https://img.shields.io/badge/platform-windows%20%7C%20li... | {
"content_hash": "fedadc4c041dd28f6f3813ed1ad600fd",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 342,
"avg_line_length": 50.35,
"alnum_prop": 0.759682224428997,
"repo_name": "bhatushar/TV-Show-Rename",
"id": "ad24c748d8db212fc8f81fef7f9ca3abc962b326",
"size": "3039",
... |
package com.paypal.selion.reader;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import com.paypal.selion.elements.HtmlSeLionElementSet.HtmlSeLionElement;
import com.paypal.selion.platform.web.GUIElement;
import com.paypal.selion.plat... | {
"content_hash": "8da2051473a73269ee10adb02517cedb",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 118,
"avg_line_length": 42.794871794871796,
"alnum_prop": 0.628220491312163,
"repo_name": "paypal/SeLion",
"id": "6384a888b4d6bce515ff6e6d751d26125a3f177d",
"size": "5017",... |
<div class="container" ng-controller="HeaderController as vm">
<div class="navbar-header">
<button class="navbar-toggle" type="button" ng-click="vm.isCollapsed = !vm.isCollapsed">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<... | {
"content_hash": "540c52f9c303d741e37be17a76d79cab",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 276,
"avg_line_length": 52.98,
"alnum_prop": 0.6096640241600604,
"repo_name": "ninox92/cookiebot-web",
"id": "5ad730ff178a5d314b690c94fbb9f8543fa097b5",
"size": "2649",
"... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>
Week 1: Git
</title>
</head>
<body>
<main>
<h1>Week 1</h1>
<article>
<h2>Git and Version Control</h2>
<h4>Thursday November 12th, 2015</h4>
<p>
What are the benefits of version control?
Before discussing ... | {
"content_hash": "3951e2470d4d2eff803c95faeb5bb76c",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 787,
"avg_line_length": 94.04878048780488,
"alnum_prop": 0.754408713692946,
"repo_name": "cstallings1/phase-0",
"id": "aafd5416a15e67b8253cec132ff7e1ff938cda32",
"size": "3... |
/*
* 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 com.dac2014equipe3.sujet2.model.entity;
import com.dac2014equipe3.sujet2.vo.MemberVo;
import com.dac2014equipe3.sujet2.vo.Mem... | {
"content_hash": "bfa4d7738b468f16b2519589ad7b1cb8",
"timestamp": "",
"source": "github",
"line_count": 308,
"max_line_length": 108,
"avg_line_length": 34.51623376623377,
"alnum_prop": 0.6906217665318408,
"repo_name": "DAC-2014-Equipe-3/sujet-2",
"id": "5f8f6641cf23de31fe0b9f52c7d31c73272925eb",
"s... |
// Copyright 2017 The Kubernetes Dashboard Authors.
//
// 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 applicabl... | {
"content_hash": "8f033fd23bab20321c0338c93d7a8cdd",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 94,
"avg_line_length": 31.61764705882353,
"alnum_prop": 0.7102325581395349,
"repo_name": "vlal/dashboard",
"id": "2698d5827c53f9cbce09957dfd3968cd8d42f1b8",
"size": "2150",... |
<pre>
Tehtävien palautuksen deadline su 3.12. klo 23.59
ohjausta tehtävien tekoon to ja pe klo 14-16 salissa B221
</pre>
## palautetaan GitHubin kautta
* palautusta varten voit käyttää samaa repoa kuin aiemman viikon palautuksissasi
* palautusrepositorion nimi ilmoitetaan tehtävien lopussa olevalla palautuslomakkeel... | {
"content_hash": "3a2bb900c642daa48d990f4925855069",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 346,
"avg_line_length": 49.38265306122449,
"alnum_prop": 0.7968798429589834,
"repo_name": "mluukkai/ohjelmistotuotanto2017",
"id": "01c05b680e05eab3f1167c83a17c94726d4b6ab0"... |
package dao.impl;
import dao.BaseDao;
import dao.PointRecordDao;
import model.pointrecord.PointRecord;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;
import utils.IDGenerator;
import utils.ResponseCode;
import utils.ResultData;
import vo.pointrecord.PointValu... | {
"content_hash": "d3084924817180f904ba99d692707c82",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 102,
"avg_line_length": 32.58139534883721,
"alnum_prop": 0.6331192005710207,
"repo_name": "gitminingOrg/AirDevice",
"id": "711c4cd3f06cc207a0212ccee9e7ab926456b04d",
"size"... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="cen.comp313.student_portal"
android:versionCode="1"
android:versionName="1.0" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-sdk
android:minSdkVe... | {
"content_hash": "f50e6ec95509c1b9b35f9b8b54d70da1",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 97,
"avg_line_length": 45.41818181818182,
"alnum_prop": 0.6493194555644516,
"repo_name": "ssasvathan/gradeforcast",
"id": "05a131cf4cf94a598f323ee28b27eb671e251385",
"size"... |
'''
New Integration Test for Starting Windows VM with Multi Data Volumes.
@author: Mirabel
'''
import zstackwoodpecker.test_util as test_util
import zstackwoodpecker.test_lib as test_lib
import zstackwoodpecker.test_state as test_state
import zstackwoodpecker.operations.resource_operations as res_ops
impo... | {
"content_hash": "858ea2407d523fa274a225438aa924ca",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 99,
"avg_line_length": 37.61904761904762,
"alnum_prop": 0.6453164556962026,
"repo_name": "zstackorg/zstack-woodpecker",
"id": "4c53f224f8004891a9fd7e126faa34fd10939cfa",
"... |
define(
/**
* @class Confirm
* @extends Dialog
* @inheritable
*/
function (require) {
var blend = require('../blend');
var lib = require('../lib');
var Dialog = require('../Dialog');
var Confirm = function (content, title, callbackOk, callbackCancel) {
... | {
"content_hash": "9eabb7571f16c2b762aa74c257a7b399",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 77,
"avg_line_length": 21.75,
"alnum_prop": 0.45141065830721006,
"repo_name": "guotao2000/ecmall",
"id": "abde4a68d042133d5a25e8c4f60fd5b8faa05ba0",
"size": "957",
"binar... |
<?php
namespace EntityManager527a624ed9863_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM;
/**
* CG library enhanced proxy class.
*
* This code was generated automatically by the CG library, manual changes to it
* will be lost upon next generation.
*/
class EntityManager extends \Doctrine\ORM\Entit... | {
"content_hash": "2305877fab4644ab58893c9085cd09c3",
"timestamp": "",
"source": "github",
"line_count": 531,
"max_line_length": 144,
"avg_line_length": 30.173258003766477,
"alnum_prop": 0.6280738983897142,
"repo_name": "sanzodown/symfohetic",
"id": "946417c5eb6368b62a946520e1b19492b13bf9b4",
"size"... |
package info.u250.c2d.engine;
import info.u250.c2d.engine.resources.AliasResourceManager;
/**
* A game must has a {@link EngineDrive} to supply a game logic . You game should begin here.
*
* @author xjjdog
*/
public interface EngineDrive extends com.badlogic.gdx.utils.Disposable {
/**
* setup ... | {
"content_hash": "500a45184073785941c36dd9b45a90ad",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 143,
"avg_line_length": 31.51851851851852,
"alnum_prop": 0.5746180963572268,
"repo_name": "lycying/c2d-engine",
"id": "d9b4e88067171a5ae960d3edc167e29c45bc4849",
"size": "2... |
namespace Google.Cloud.Monitoring.V3.Snippets
{
// [START monitoring_v3_generated_AlertPolicyService_DeleteAlertPolicy_sync]
using Google.Cloud.Monitoring.V3;
public sealed partial class GeneratedAlertPolicyServiceClientSnippets
{
/// <summary>Snippet for DeleteAlertPolicy</summary>
///... | {
"content_hash": "ebe06104a446c05021354215ba87dbd8",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 104,
"avg_line_length": 42.77777777777778,
"alnum_prop": 0.6727272727272727,
"repo_name": "jskeet/google-cloud-dotnet",
"id": "6a08c11075673627520b5c41b6c5a32d55b69df7",
"s... |
package diaryruapi
import (
"crypto/md5"
"encoding/hex"
"github.com/yastrov/charmap"
"net/http"
"net/url"
"strconv"
)
func makeDiaryRuPassword(password string) string {
hash := md5.Sum([]byte(key + password))
return hex.EncodeToString(hash[:])
}
func makeDiaryRuLogin(username string) string {
strcp1251, _ :... | {
"content_hash": "1282449c9852ba07f5de7a957a015ce1",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 63,
"avg_line_length": 21.681818181818183,
"alnum_prop": 0.689727463312369,
"repo_name": "yastrov/diaryrusearchserver",
"id": "42352a71a152ef90025b6cff71ece4fdfbd5062e",
"s... |
package org.deckfour.xes.model.impl;
import java.util.Collections;
import java.util.Set;
import org.deckfour.xes.extension.XExtension;
import org.deckfour.xes.model.XAttributable;
import org.deckfour.xes.model.XAttribute;
import org.deckfour.xes.model.XAttributeCollection;
import org.deckfour.xes.model.XAttributeMap... | {
"content_hash": "84d36ff223b41169f3c50f2db4f54ca7",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 120,
"avg_line_length": 23.070422535211268,
"alnum_prop": 0.6754171754171754,
"repo_name": "nicksi/xestools",
"id": "9ddd04d24acbeea3a6cef9e2ab6756a6102072d4",
"size": "63... |
NS_ASSUME_NONNULL_BEGIN
@interface DWPhraseRepairChildViewController ()
@property (null_resettable, nonatomic, strong) UILabel *titleLabel;
@property (null_resettable, nonatomic, strong) DWProgressView *progressView;
@end
NS_ASSUME_NONNULL_END
@implementation DWPhraseRepairChildViewController
- (NSString *)title ... | {
"content_hash": "3d62f5f6fc5d3bcd9dd77ee953d2c608",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 92,
"avg_line_length": 34.18421052631579,
"alnum_prop": 0.6878367975365666,
"repo_name": "QuantumExplorer/breadwallet",
"id": "670c60a22dacd78e932a77efb3fefac6a5532bf2",
"s... |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | {
"content_hash": "1ac9a64ed239f9a97ae7e371fed8dcd4",
"timestamp": "",
"source": "github",
"line_count": 2584,
"max_line_length": 400,
"avg_line_length": 45.7469040247678,
"alnum_prop": 0.5207427459605787,
"repo_name": "CallumCarmicheal/Keyboard-Tracker",
"id": "7864da5c8748f36da2a624c2c361ce9b30d75f7... |
package sh.isaac.provider.query.lucene.indexers;
import org.junit.Assert;
import org.junit.Test;
/**
* {@link DescriptionIndexerTest}.
*
* @author <a href="mailto:daniel.armbrust.list@gmail.com">Dan Armbrust</a>
*/
public class DescriptionIndexerTest
{
@Test
public void adjustBrackets() throws Exception
{
... | {
"content_hash": "1dfcccb2b6a0692a69089e286e38a842",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 171,
"avg_line_length": 53.146341463414636,
"alnum_prop": 0.6961909132629647,
"repo_name": "OSEHRA/ISAAC",
"id": "92eafd1c1c5a380152991b8ed8c0604e41038be9",
"size": "3570",... |
package org.apache.river.test.spec.security.proxytrust.util;
import java.util.logging.Level;
// java
import java.io.Serializable;
import java.rmi.RemoteException;
// net.jini
import net.jini.security.TrustVerifier;
/**
* Class implementing TrustVerifier interface whose 'isTrustedObject' method
* always returns ... | {
"content_hash": "80c10bb29b991636b1061d8a10ea0e70",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 76,
"avg_line_length": 20.88235294117647,
"alnum_prop": 0.6873239436619718,
"repo_name": "pfirmstone/river-internet",
"id": "e0b5d1e36abe3a3e301b3d85e2cdaaf0390d84a3",
"siz... |
using UniversalGrid.Geometry;
namespace UniversalGrid
{
public interface IGridContainer<T> : IGrid, ISpatialContainer<T>
{
}
} | {
"content_hash": "1c9b8d218567c8c9f2224088d7b7e0a2",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 68,
"avg_line_length": 17.5,
"alnum_prop": 0.7214285714285714,
"repo_name": "roberino/UniversalGrid",
"id": "b770dc2b93f1eb3ce6deaf3cb110d6b74db4a9ae",
"size": "142",
"bin... |
define(['underscore', 'backbone'],
function(_, Backbone){
var MessagingModel = Backbone.Model.extend({
initialize: function(skills) {
this.set("skills", skills);
},
createFinalObj: function(formData){
var formattedData = {};
var matchingInfo = {"matchingInfo": this.get(... | {
"content_hash": "660d794e78887f431151f9d8ee2fa40e",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 65,
"avg_line_length": 31.3,
"alnum_prop": 0.5686900958466453,
"repo_name": "designforsf/brigade-matchmaker",
"id": "203625f203c352e5e04befb6f55e04d25d972ab7",
"size": "627... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "836a7ef8325440b1c1561a1ad9a01c0d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "569b676d5e5f5d0bd629d7245de1d426c03b21d1",
"size": "179... |
@interface BCInstantStoryboardSegue : UIStoryboardSegue
@end
| {
"content_hash": "1597aff9c6b8788e10a9cda77aa78d62",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 55,
"avg_line_length": 20.666666666666668,
"alnum_prop": 0.8548387096774194,
"repo_name": "sethk/BushidoCore",
"id": "336966606a98584714925218fe78cb6ed5021e12",
"size": "244... |
package mobi.inthepocket.android.beacons.ibeaconscanner.utils;
import android.Manifest;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Build;
import android.support.annotation.NonNull;
import java.security.InvalidParameterException;
/*... | {
"content_hash": "7d447b625bac5b4f5674e630d2848445",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 169,
"avg_line_length": 34.41935483870968,
"alnum_prop": 0.7108716026241799,
"repo_name": "inthepocket/ibeacon-scanner-android",
"id": "ea5f04e7a739075b62d10076f2b63c9a67f50c... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.Extensions.Hosting
{
/// <summary>
/// Options for <see cref="IHost"/>
/// </summary>
public class H... | {
"content_hash": "1c6b857045d0ce060cc0a1c6c1a45459",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 111,
"avg_line_length": 31.833333333333332,
"alnum_prop": 0.6527050610820244,
"repo_name": "RabbitTeam/Rabbit-Extensions",
"id": "45fb9a187fe2ca261e5952be42ae299f1496a677",
... |
namespace Urho3D
{
void Texture2D::OnDeviceLost()
{
// No-op on Direct3D11
}
void Texture2D::OnDeviceReset()
{
// No-op on Direct3D11
}
void Texture2D::Release()
{
if (graphics_ && object_.ptr_)
{
for (unsigned i = 0; i < MAX_TEXTURE_UNITS; ++i)
{
if (graphics_->GetTexture... | {
"content_hash": "ffc28d9365dce8a4f85d2724cf03253e",
"timestamp": "",
"source": "github",
"line_count": 475,
"max_line_length": 140,
"avg_line_length": 34.717894736842105,
"alnum_prop": 0.6109999393608635,
"repo_name": "codemon66/Urho3D",
"id": "ce6c6645357e948ccaaa6ce7910eaf009f723bd5",
"size": "1... |
package bigdata.apex.examples;
import org.apache.hadoop.conf.Configuration;
import com.datatorrent.api.annotation.ApplicationAnnotation;
import com.datatorrent.api.StreamingApplication;
import com.datatorrent.api.DAG;
import com.datatorrent.api.DAG.Locality;
import com.datatorrent.lib.io.ConsoleOutputOperat... | {
"content_hash": "0b89b2a464ad788422433f06f864f92c",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 108,
"avg_line_length": 33.37931034482759,
"alnum_prop": 0.7737603305785123,
"repo_name": "PuneetKadian/bigdata-examples",
"id": "8ba849d262f31aba458339db719c868311b0a294",
... |
import { Route, Switch, BrowserRouter } from "react-router-dom";
import * as React from "react";
import { Header } from "../components/header_component";
import { HomePage } from "../pages/home_page";
import { MoviePage } from "../pages/movies_page";
import { ActorPage } from "../pages/actors_page";
import "../stores/m... | {
"content_hash": "322705a2631d45cd1054d7d28c6653eb",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 65,
"avg_line_length": 34.45161290322581,
"alnum_prop": 0.4868913857677903,
"repo_name": "remojansen/LearningTypeScript",
"id": "df2f78dd64220d85df796436482b4296e94a8258",
... |
'''
Created on Oct 29, 2015
@author: ev0l
'''
from handlers import BaseHandler
class LogOutHandler(BaseHandler):
def get(self):
self.clear_all_cookies()
self.redirect("/")
route = [(r"/logout", LogOutHandler), ]
| {
"content_hash": "14e4ffa0ace07a81b490d0f664ffb289",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 39,
"avg_line_length": 16.857142857142858,
"alnum_prop": 0.6440677966101694,
"repo_name": "evolsnow/tornado-web",
"id": "578961f695b1d3e728efe2fd01f3595bdcd4743c",
"size": ... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- Mirrored from bvs.wikidot.com/forum/t-1116880/just-a-piece by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 10 Jul 2022 05:... | {
"content_hash": "1c76906727ad2dff8aca72bdae3fe9f2",
"timestamp": "",
"source": "github",
"line_count": 637,
"max_line_length": 328,
"avg_line_length": 43.95918367346939,
"alnum_prop": 0.5954931790586386,
"repo_name": "tn5421/tn5421.github.io",
"id": "330b3e9871adb7307a608663c1a8cf7931be8a59",
"siz... |
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 97">
<meta name="Template" content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
<meta name="GENERAT... | {
"content_hash": "14bbce10ce2b7f096015e3d0bb12db59",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 128,
"avg_line_length": 48.76973684210526,
"alnum_prop": 0.6813705652232565,
"repo_name": "CSCSI/Triana",
"id": "3ef468b1f490a452c4a0c31b199cb252480c23a6",
"size": "7413",... |
package org.elasticsearch.cluster;
import org.elasticsearch.Version;
import org.elasticsearch.cluster.node.DiscoveryNode;
import org.elasticsearch.cluster.node.DiscoveryNodes;
import org.elasticsearch.common.component.Lifecycle;
import org.elasticsearch.common.component.LifecycleListener;
import org.elasticsearch.co... | {
"content_hash": "7a596c2368c5bf5a8c89345365853ec9",
"timestamp": "",
"source": "github",
"line_count": 247,
"max_line_length": 133,
"avg_line_length": 33.412955465587046,
"alnum_prop": 0.6854477159820671,
"repo_name": "dongjoon-hyun/elasticsearch",
"id": "5bf2bc38c3e9663f73e119a6c4a7454295068f92",
... |
<?php
namespace Magento\Paypal\Test\Unit\Helper;
use Magento\Config\Model\Config;
use Magento\Config\Model\Config\ScopeDefiner;
use Magento\Directory\Helper\Data;
use Magento\Framework\App\Helper\Context;
use Magento\Paypal\Helper\Backend;
use Magento\Paypal\Model\Config\StructurePlugin;
class BackendTest extends \P... | {
"content_hash": "0c1eea8f73abff618dffd923e9f6fd72",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 98,
"avg_line_length": 29.85549132947977,
"alnum_prop": 0.6180058083252662,
"repo_name": "j-froehlich/magento2_wk",
"id": "f8a580a45a10e69105035526b0da74719caf4448",
"size... |
$ETHGOPATH/go-ethereum/build/bin/geth attach
| {
"content_hash": "535770faebc297d8a0c6bc843cdf0980",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 44,
"avg_line_length": 15.666666666666666,
"alnum_prop": 0.7872340425531915,
"repo_name": "zekaf/eth-go-sh",
"id": "ca24ae5d2f526d03d8d040defb075c00ddd8db42",
"size": "96",
... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_AMOUNT_H
#define BITCOIN_AMOUNT_H
#include <serialize.h>
#includ... | {
"content_hash": "bab831ae39e42652b908dbb1d00b416b",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 111,
"avg_line_length": 39.49090909090909,
"alnum_prop": 0.7173112338858195,
"repo_name": "galaxycash/galaxycash",
"id": "d576e6a0897f4ff6444afec1a152262bd6bf7bee",
"size":... |
// Copyright (c) 2011-2013 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 "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include ... | {
"content_hash": "b4318d6ec9f06c6a683c42c19e4dd872",
"timestamp": "",
"source": "github",
"line_count": 289,
"max_line_length": 198,
"avg_line_length": 32.30449826989619,
"alnum_prop": 0.6724507283633248,
"repo_name": "spdcoin/Speedcoin",
"id": "42ad593aab25410481dd41fabf1b510bcceb1a8b",
"size": "9... |
class Program
{
void CookieDefault()
{
var cookie = new System.Web.HttpCookie("cookieName"); // BAD: requireSSL is set to false by default
}
void CookieDirectTrue()
{
var cookie = new System.Web.HttpCookie("cookieName");
cookie.Secure = true; // GOOD
}
void CookieD... | {
"content_hash": "bf267534bdc060030bb0a343a9d8ca74",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 114,
"avg_line_length": 27.032258064516128,
"alnum_prop": 0.6085918854415274,
"repo_name": "github/codeql",
"id": "00922eb2bd419aa71eb77cec1c34df91fb4dce8e",
"size": "962",... |
Number.prototype.round = function(precision) {
var factor = Math.pow(10, precision || 0);
return Math.round(this * factor) / factor;
};
Number.prototype.to_kilometers = function() {
return this / 1000.0;
};
Number.prototype.to_kilometers_per_hour = function() {
return this / 1000.0 * 3600.0;
};
Number.protot... | {
"content_hash": "db6a11afdfb139f3068c1f952a1e946b",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 54,
"avg_line_length": 22.25,
"alnum_prop": 0.6704119850187266,
"repo_name": "sudhirsb2003/tracklog",
"id": "80bef3c48fc541e7bffbe63763bd054da3c571bb",
"size": "534",
"bi... |
require 'set'
require 'active_support/inflector'
require 'sinatra/base'
require 'sinatra/namespace'
require 'sinja/helpers/nested'
require 'sinja/helpers/relationships'
require 'sinja/relationship_routes/has_many'
require 'sinja/relationship_routes/has_one'
require 'sinja/resource_routes'
module Sinja
module Resou... | {
"content_hash": "723c5e57820d03f4fef8d6e293e61eac",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 101,
"avg_line_length": 30.82758620689655,
"alnum_prop": 0.5771812080536913,
"repo_name": "mwpastore/sinja",
"id": "d036a090398b092b40627116ed625c5486babcd2",
"size": "360... |
define(function () {
// Hungarian
return {
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
return 'Túl hosszú. ' + overChars + ' karakterrel több, mint kellene.';
},
inputTooShort: function (args) {
var remainingChars = args.minimum - args.input.len... | {
"content_hash": "38ca89b541a74708e536d43a1c14a23b",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 77,
"avg_line_length": 24.79310344827586,
"alnum_prop": 0.588317107093185,
"repo_name": "N00bface/Real-Dolmen-Stage-Opdrachten",
"id": "b7c0072a8631cc9fbe6574bff778cf39025411... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#ifndef __HOSTFXR_H__
#define __HOSTFXR_H__
#include <stddef.h>
#include <stdint.h>
#if defined(_WIN32)
#defin... | {
"content_hash": "d04512d494c35090d6256ee8e3615ac4",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 117,
"avg_line_length": 33.357142857142854,
"alnum_prop": 0.7177016416845111,
"repo_name": "MichaelSimons/core-setup",
"id": "040b7c78d87b14340f42fb30cf64b9236aaeafaa",
"si... |
package shapeless
package syntax
import scala.collection.{ GenTraversable, GenTraversableLike }
object sized {
implicit def genTraversableSizedConv[CC[X] <: GenTraversable[X], T](cc : CC[T])
(implicit conv : CC[T] => GenTraversableLike[T, CC[T]]) = new SizedConv[T, CC[T]](cc)
implicit def stringSizedConv... | {
"content_hash": "4045ce5f545b0791855c3273e0433b6d",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 89,
"avg_line_length": 28.551724137931036,
"alnum_prop": 0.642512077294686,
"repo_name": "rorygraves/shapeless",
"id": "d65763a76ce846bb29197751dd6cbccc00d88a42",
"size": "... |
package org.springframework.cloud.autoconfigure;
import java.util.LinkedHashMap;
import java.util.Map;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.boot.ac... | {
"content_hash": "a190d349614d328a7a71223fdffcb410",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 95,
"avg_line_length": 33.50684931506849,
"alnum_prop": 0.812142273098937,
"repo_name": "jmnarloch/spring-cloud-commons",
"id": "091c1e3e131df648b81ca8b160c3af23ecaa6472",
... |
import Ember from 'ember';
const { Mixin, on, $, K, run } = Ember;
export default Mixin.create({
_setupResizeListener: on('didInsertElement', function() {
$(window).on(`resize.${this.elementId}`, (event) => {
run.next(this, this.didResize, event);
});
}),
_teardownResizeListener: on('willDestroyE... | {
"content_hash": "e1af6822dbd88e1e01455f0a675342df",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 64,
"avg_line_length": 24.41176470588235,
"alnum_prop": 0.6240963855421687,
"repo_name": "ivanvanderbyl/maximum-plaid",
"id": "778645175a492685979e1211483d0ede05b8055c",
"s... |
<eml xmlns:ns0="eml://ecoinformatics.org/eml-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packageId="kubi.lifemapper.sdm.layers.589" system="kubi.lifemapper" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 https://code.ecoinformatics.org/code/eml/tags/RELEASE_EML_2_1... | {
"content_hash": "2984aae862a060fedbeb09fad46b8cae",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 332,
"avg_line_length": 43.64545454545455,
"alnum_prop": 0.5623828369089773,
"repo_name": "NCEAS/metadig",
"id": "959f63ce3e662a56921a8710c5e848e8398f9d7c",
"size": "4801"... |
FROM balenalib/up-board-alpine:3.10-build
ENV NODE_VERSION 14.16.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 for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp... | {
"content_hash": "231933c5af67ab3243d3b9f971b5ea40",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 714,
"avg_line_length": 65.35555555555555,
"alnum_prop": 0.7099625977558653,
"repo_name": "nghiant2710/base-images",
"id": "e5ce218b91a9b46082100cb68e01c1382b6afe7e",
"size... |
package org.scenarioo.example.e4.ui.removeorder;
import org.eclipse.swtbot.swt.finder.junit.SWTBotJunit4ClassRunner;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTable;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTableItem;
import org.eclipse.swtb... | {
"content_hash": "084ff36ed297bf6f57ece19885992dff",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 134,
"avg_line_length": 30.545454545454547,
"alnum_prop": 0.7979910714285714,
"repo_name": "scenarioo/scenarioo-example-swtbot-e4",
"id": "58a2854b509dc12d13c1fea66bd597c5723... |
.. title: 21 - Configuration
.. slug: 21 - Configuration
.. date: 2016-01-23 06:51:57 UTC-08:00
.. tags: notes, mathjax
.. category:
.. link:
.. description:
.. type: text
==================
21 - Configuration
==================
01 - Preview
------------
Today, we'll talk about configuration. Configuration is ... | {
"content_hash": "283323fdb53182a1ff9f509720348957",
"timestamp": "",
"source": "github",
"line_count": 420,
"max_line_length": 120,
"avg_line_length": 47.84761904761905,
"alnum_prop": 0.7704020700636943,
"repo_name": "orsenthil/coursedocs",
"id": "889668857af29406dca7a9fe85245f0c7b1ae206",
"size":... |
namespace blink {
class WebIDBCursor;
// Handle the indexed db related communication for this context thread - the
// main thread and each worker thread have their own copies.
class MODULES_EXPORT IndexedDBDispatcher {
DISALLOW_NEW();
public:
static void RegisterCursor(WebIDBCursor* cursor);
static void Unregi... | {
"content_hash": "2f72df4f83de3111e7444c13960fb511",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 80,
"avg_line_length": 37.4,
"alnum_prop": 0.7448433919022154,
"repo_name": "chromium/chromium",
"id": "f170bfd0d77fc8074910fb6fec683db55a487a1c",
"size": "2078",
"binary... |
/**
* Input/output package
*/
package kr.jihee.text_toolkit.io;
import java.awt.image.RenderedImage;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.nio.file.Files;
import java.util.Opt... | {
"content_hash": "a0c1b0c509f30bb4857bb5ea6f26d40c",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 110,
"avg_line_length": 28.55045871559633,
"alnum_prop": 0.7249357326478149,
"repo_name": "chrisjihee/text_toolkit",
"id": "5dbd37df55eaecd273a8cdbb0f70beb27e9a631c",
"siz... |
package org.apache.cassandra.hadoop2;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.List;
import org.apache.cassandra.thrift.*;
import org.apache.hadoop.mapreduce.*;
/**
* The <code>ColumnFamilyOutputFormat</code> acts as a Hadoop-specific
* OutputFormat that allows reduce tasks to store... | {
"content_hash": "1f2af40ff8bab1961bf41cbc0f4ad59a",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 194,
"avg_line_length": 38.86,
"alnum_prop": 0.7447246525990736,
"repo_name": "amjadshabani/hive-cassandra",
"id": "5d55c0b8e8ebbc127386da19be166857755a9f19",
"size": "2748... |
package com.google.firebase.messaging;
import static com.google.common.truth.Truth.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import android.app.Application;
import android.content.Intent;
import android.os.PowerManager.W... | {
"content_hash": "b6c570615855af1fd613554d4e78e642",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 98,
"avg_line_length": 36.53977272727273,
"alnum_prop": 0.7614678899082569,
"repo_name": "firebase/firebase-android-sdk",
"id": "3600c6ee8fc71ebac8e87ec95bfff450cb46aa40",
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE401_Memory_Leak__int_malloc_44.c
Label Definition File: CWE401_Memory_Leak.c.label.xml
Template File: sources-sinks-44.tmpl.c
*/
/*
* @description
* CWE: 401 Memory Leak
* BadSource: malloc Allocate data using malloc()
* GoodSource: Allocate data on the stac... | {
"content_hash": "b29db0edcede99275259a43e99702db9",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 151,
"avg_line_length": 25.916666666666668,
"alnum_prop": 0.6270096463022508,
"repo_name": "maurer/tiamat",
"id": "29219cfdc9f0f7ed5e9aabe2dc0905b6be3a7cc6",
"size": "3110... |
package org.pac4j.core.matching;
import org.junit.Test;
import org.pac4j.core.context.MockWebContext;
import org.pac4j.core.exception.TechnicalException;
import org.pac4j.core.util.TestsHelper;
import java.util.regex.PatternSyntaxException;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.a... | {
"content_hash": "a6b2d5a21607031f05c5ca53b2d18709",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 212,
"avg_line_length": 36.796875,
"alnum_prop": 0.6955414012738853,
"repo_name": "topicusonderwijs/pac4j",
"id": "e41127477136550e4190ebca90e8e66203a9528f",
"size": "2355"... |
<rom>
<romid>
<xmlid>88580014</xmlid>
<internalidaddress>f52</internalidaddress>
<internalidhex>88580014</internalidhex>
<make>Mitsubishi</make>
<market>AUSDM</market>
<model>Lancer</model>
<submodel>Evolution IX</submodel>
<transmission>Manual</transm... | {
"content_hash": "612892fd75963244b372ba53c4b07b3c",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 112,
"avg_line_length": 32.47826086956522,
"alnum_prop": 0.6506024096385542,
"repo_name": "ripnet/evo",
"id": "e555af0d420caf9e2b7db9b84a6d4895f005718d",
"size": "747",
"... |
package net.sf.appia.protocols.total.hybrid;
import java.io.Serializable;
import net.sf.appia.core.message.Message;
/**
* Message Header to be added to the protocol events.
*/
public class TotalHybridHeader implements Serializable{
private static final long serialVersionUID = -1164279713630259319L;
private int... | {
"content_hash": "561111264f04b8ddb6931059ecdffeef",
"timestamp": "",
"source": "github",
"line_count": 246,
"max_line_length": 90,
"avg_line_length": 21.32520325203252,
"alnum_prop": 0.6675562333206252,
"repo_name": "wmalik/appia-byzantine",
"id": "11f55031eefdc9a633c628cc73939f4e832a5c58",
"size"... |
module Mongoid
module Extensions
module Array
# Evolve the array into an array of object ids.
#
# @example Evolve the array to object ids.
# [ id ].__evolve_object_id__
#
# @return [ Array<BSON::ObjectId> ] The converted array.
#
# @since 3.0.0
def __evolve... | {
"content_hash": "d2ac8e42f47fa94a38a16ed2567aad6d",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 82,
"avg_line_length": 27.516304347826086,
"alnum_prop": 0.5297254592139048,
"repo_name": "Welovroi/mongoid",
"id": "4d92dfdf034cb8a0b18ae740429bde75341e27fa",
"size": "51... |
import { render } from "@testing-library/react";
import { Footer } from "./Footer";
import { versionService } from "services";
jest.mock("services");
beforeEach(() => {
jest.clearAllMocks();
});
test("renders version data", async () => {
(versionService.getVersion as jest.Mock).mockResolvedValueOnce({ buildDate:... | {
"content_hash": "a747717aa95822d2f0982733a26bc417",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 113,
"avg_line_length": 28.72,
"alnum_prop": 0.7075208913649025,
"repo_name": "softwaremill/bootzooka",
"id": "18267a74fe78b64b2501c0baade0ff36ec067866",
"size": "718",
"... |
class Vote < ActiveRecord::Base
# Remember to create a migration!
belongs_to :user
belongs_to :votable, polymorphic: true
end
| {
"content_hash": "f0e053aadfebbd3b3a72e3ad2b6a7867",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 40,
"avg_line_length": 26.4,
"alnum_prop": 0.7424242424242424,
"repo_name": "hanniedong/DBC_Overflow",
"id": "e3449f56e1edd5c5cf322f1f7e8483a41d6dab40",
"size": "132",
"bi... |
package report;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.List;
import java.util.concurrent.TimeUnit;
import javax.swing.JOptionPane;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefo... | {
"content_hash": "fd1b136bc8d52453682bc6bf7dee47c1",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 89,
"avg_line_length": 31.470588235294116,
"alnum_prop": 0.794392523364486,
"repo_name": "NodeAndroidjs/AndroidUtils",
"id": "8336a7fa620788eafcaa0313b0820ae2b8eba93f",
"si... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Test\PostOrder\Types;
use DTS\eBaySDK\PostOrder\Types\GetCaseRestRequest;
class GetCaseRe... | {
"content_hash": "3624f5869cab41ca9c4128b505ea04d8",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 95,
"avg_line_length": 23.09090909090909,
"alnum_prop": 0.6876640419947506,
"repo_name": "davidtsadler/ebay-sdk-php",
"id": "eddf5bf92ac4bb05cc16790247c890a3a77d3f66",
"siz... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "57cac49cf7459dc910a00b632ed22f63",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "11ce3f3839f40d34aee738a4469402944c033d1b",
"size": "197... |
import unittest
from .test_oauth import UAOauth2ClientTest
def suite():
tests = ['UAOauth2ClientTest']
return unittest.TestSuite(map(WidgetTestCase, tests))
if __name__ == '__main__':
suite()
| {
"content_hash": "a8b5d2a16cb1fb15bc0cb2e7d09da841",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 57,
"avg_line_length": 20.7,
"alnum_prop": 0.6859903381642513,
"repo_name": "igorfala/python-under-armour",
"id": "1f953934f7e77a792a7a271571302e4b3a8a7d11",
"size": "207",... |
using System.Data;
using System.Data.SqlClient;
using Appleseed.Framework.Settings;
namespace Appleseed.Framework.Content.Data
{
/// <summary>
/// Appleseed EnhancedHtml Module
/// Written by: José Viladiu, jviladiu@portalServices.net
/// Class that encapsulates all data logic necessary to add/query/de... | {
"content_hash": "7f572dc3728b57bcf83d1b6d1c546776",
"timestamp": "",
"source": "github",
"line_count": 269,
"max_line_length": 119,
"avg_line_length": 42.37918215613383,
"alnum_prop": 0.6212280701754386,
"repo_name": "Appleseed/portal",
"id": "4e0f3f26b7864a364f95550d019243f91b94d502",
"size": "11... |
require File.expand_path('../../spec_helper.rb', __FILE__)
describe 'Backup::Configuration::Store' do
let(:store) { Backup::Configuration::Store.new }
before do
store.foo = 'one'
store.bar = 'two'
end
it 'should be a subclass of OpenStruct' do
Backup::Configuration::Store.superclass.should == Ope... | {
"content_hash": "4f1d3da7cb08f1676ff2a0777b6e53ad",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 64,
"avg_line_length": 24.45945945945946,
"alnum_prop": 0.6685082872928176,
"repo_name": "bernd/backup",
"id": "189c66a6ab3fcc361d4904d72826acd88cb38398",
"size": "924",
... |
package org.apache.storm.daemon.drpc;
import org.apache.storm.generated.AuthorizationException;
import org.apache.storm.generated.DRPCExecutionException;
import org.apache.storm.generated.DRPCRequest;
import org.apache.storm.generated.DistributedRPC;
import org.apache.storm.generated.DistributedRPCInvocations;
publ... | {
"content_hash": "c5839839bf8e68d014d928a19e5cf2e2",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 98,
"avg_line_length": 30.186046511627907,
"alnum_prop": 0.7419106317411402,
"repo_name": "srdo/storm",
"id": "01d23924a24cce00cbc821127bdb154b126f9f2e",
"size": "2099",
... |
export default class FakeSession {
constructor (runResponse, fakeConnection) {
this._runResponse = runResponse
this._fakeConnection = fakeConnection
this._closed = false
}
static successful (result) {
return new FakeSession(Promise.resolve(result), null)
}
static failed (error) {
retur... | {
"content_hash": "cf38297481c32252007fa07898b49d7b",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 57,
"avg_line_length": 18.896551724137932,
"alnum_prop": 0.6587591240875912,
"repo_name": "neo4j/neo4j-javascript-driver",
"id": "8f37f2aa6c3230a77012cbe9c05031088fbcccbd",
... |
import Controller from '@ember/controller';
import { run } from '@ember/runloop';
export default Controller.extend({
isLoadingcsv: false,
isLoadingpdf: false,
actions: {
export(mode) {
this.set(`isLoading${mode}`, true);
this.get('loader')
.load(`/events/${this.get('model.id')}/export/a... | {
"content_hash": "cfb8c9151b9c14da9c5e83560abd7633",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 101,
"avg_line_length": 33.891304347826086,
"alnum_prop": 0.5458627325208467,
"repo_name": "ritikamotwani/open-event-frontend",
"id": "94d39f3c65a7a3b9ca6c676f87ee1053daef4cc... |
interface IAllianceChatMessage extends IChatMessage {
id_alliance_member: number;
}
class AllianceChatMessage extends ChatMessage implements IAllianceChatMessage {
id_alliance_member: number;
constructor(obj: IAllianceChatMessage){
//default constructor
super({
id: obj.id,
text: obj.text,
timestamp: o... | {
"content_hash": "368b89fe96052f42957f865346ac5c98",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 79,
"avg_line_length": 21.88888888888889,
"alnum_prop": 0.7495769881556683,
"repo_name": "Bergiu/stadt-land-fluss",
"id": "34f7de48a3875b2624287affc0cb910bd985e620",
"size"... |
using Microsoft.Azure.Commands.Common.Authentication.Models;
using Microsoft.Azure.Commands.Sql.Database.Model;
using Microsoft.Azure.Commands.Sql.Database.Services;
using Microsoft.Azure.Commands.Sql.FailoverGroup.Model;
using Microsoft.Azure.Commands.Sql.Server.Adapter;
using Microsoft.Azure.Commands.Sql.Services;
us... | {
"content_hash": "d0bedc2bf845caba3f518f20644bd55d",
"timestamp": "",
"source": "github",
"line_count": 293,
"max_line_length": 183,
"avg_line_length": 48.12627986348123,
"alnum_prop": 0.6511594922345932,
"repo_name": "devigned/azure-powershell",
"id": "eeaf12029d57e0b901cb07867ba32335756472fc",
"s... |
/*************************************************************************************************/
/*!
* \brief ATT client optional read PDU processing functions.
*/
/*************************************************************************************************/
#include <string.h>
#include "wsf_types.h"
#inc... | {
"content_hash": "e840458689cd9ad2c34e17e48cce5ed6",
"timestamp": "",
"source": "github",
"line_count": 331,
"max_line_length": 99,
"avg_line_length": 32.368580060422964,
"alnum_prop": 0.5353742766473772,
"repo_name": "kjbracey-arm/mbed",
"id": "20ad89797d25f391abfc1e1813e9d21952c57913",
"size": "1... |
namespace v8 {
namespace internal {
namespace interpreter {
// Source code position information.
class BytecodeSourceInfo final {
public:
static const int kUninitializedPosition = -1;
BytecodeSourceInfo()
: position_type_(PositionType::kNone),
source_position_(kUninitializedPosition) {}
Bytecode... | {
"content_hash": "250f8ef706fffc0ad8556c91318d0d7e",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 75,
"avg_line_length": 31.95505617977528,
"alnum_prop": 0.6838959212376934,
"repo_name": "weolar/miniblink49",
"id": "790a6b2aa21de1cff4fc6c87c760bc03e4eb6723",
"size": "31... |
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/js-test.js"></script>
</head>
<body>
<p>When an option element became 'disabled' or not-'disabled', distribution should happen.</p>
<p>Since an option element does not create a renderer, we cannot check this using reftest.</p>
<div id="container">
<di... | {
"content_hash": "961d63b1eb65479ef751e2ec39a8c2f2",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 94,
"avg_line_length": 25.517857142857142,
"alnum_prop": 0.6655003498950315,
"repo_name": "jtg-gg/blink",
"id": "da80c9fa9b75427f9f3dda0001e072181ebe7527",
"size": "1429",
... |
namespace RealTime.Web
{
using System.Web.Optimization;
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/jquery... | {
"content_hash": "787609444c52580c0a6d81fd72246241",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 109,
"avg_line_length": 40.26470588235294,
"alnum_prop": 0.6070124178232287,
"repo_name": "acraven/real-time-web",
"id": "2da0d3c55b82d22094a49931af0e96998f839508",
"size":... |
import Helmet from 'react-helmet';
import React, { Component } from 'react';
import { FormattedMessage, defineMessages } from 'react-intl';
const messages = defineMessages({
title: {
defaultMessage: 'Profile',
id: 'me.profilePage.title',
},
});
export default class ProfilePage extends Component {
rende... | {
"content_hash": "6e7b2a6b43844d6fe391bb8bf331f5d3",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 62,
"avg_line_length": 21.620689655172413,
"alnum_prop": 0.5773524720893142,
"repo_name": "abelaska/este",
"id": "692d921ea12be5c7cdafe043eb9166c0b53de4a5",
"size": "627",
... |
{% extends "registration/registration_base.html" %}
{% load i18n %}
{% block title %}{% trans "Reset password" %}{% endblock %}
{% block main %}
<p>
{% blocktrans %}
Forgot your password? Enter your email in the form below and we'll send you instructions for creating a new one.
{% endblocktrans %}
</p>
<... | {
"content_hash": "e22f25ab10e6f020e34914c585659609",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 117,
"avg_line_length": 26.1,
"alnum_prop": 0.6168582375478927,
"repo_name": "gatita/django-imager",
"id": "b71b0ac6022dde04104b2e66f9b33aad787708c9",
"size": "522",
"bin... |
namespace xwalk {
namespace extensions {
class XWalkExtensionInstance;
// This struct is passed to the function handler, usually assigned to the
// signature of a method in JavaScript. The struct can be safely passed around.
class XWalkExtensionFunctionInfo {
public:
typedef base::Callback<void(scoped_ptr<base::Li... | {
"content_hash": "5dd2d6f8244b72a606f28b97825fd01a",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 80,
"avg_line_length": 36.339285714285715,
"alnum_prop": 0.7343980343980344,
"repo_name": "fujunwei/crosswalk",
"id": "75c8a2b403b27d1772994daad511e12915839137",
"size": "... |
using namespace System.Security.Cryptography
using namespace System.Security.Cryptography.X509Certificates
# Use same parameter names as declared in eng/New-TestResources.ps1 (assume validation therein).
[CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = 'Medium')]
param (
# Captures any arguments from ... | {
"content_hash": "9d62c51b7c8a5d3e1a660d3cc7e2d0b9",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 123,
"avg_line_length": 33,
"alnum_prop": 0.6638780442461424,
"repo_name": "AsrOneSdk/azure-sdk-for-net",
"id": "e9b5afa8cd1d8fb3b9e0d96252b2e77cf2b1eef3",
"size": "5643",... |
#include <stdint.h>
#include <sys/queue.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <errno.h>
#include <signal.h>
#include <stdarg.h>
#include <inttypes.h>
#include <getopt.h>
#include <rte_common.h>
#include <rte_log.h>
#include <rte_memory.h>
#include <rte_memcpy.h>
#... | {
"content_hash": "662df85245fce1947fa403bf27c896a4",
"timestamp": "",
"source": "github",
"line_count": 437,
"max_line_length": 87,
"avg_line_length": 25.208237986270024,
"alnum_prop": 0.6333514887436456,
"repo_name": "shakuniji/mtcp",
"id": "c31c2ce68ac70922036580b40a035807141ea7c5",
"size": "1270... |
<?php
namespace Murky\BiblioBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class TagControllerTest extends WebTestCase
{
/*
public function testCompleteScenario()
{
// Create a new client to browse the application
$client = static::createClient();
/... | {
"content_hash": "fb18d0a1597751dcddee4d4c7de8f5ad",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 125,
"avg_line_length": 35.018181818181816,
"alnum_prop": 0.6007268951194185,
"repo_name": "rlbaltha/biblio",
"id": "ffea98374645c95fc6d465319ea2ae3ccb23b7ef",
"size": "192... |
#include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include <QTime>
#include <QThread>
#include <QKeyEvent>
#if QT_VERSION < 0x050000
#include <QUrl>
#endif
#include <QScrollBar>
#include <openssl/crypto.h>
// TODO: add a scrollback limit, as the... | {
"content_hash": "0e8a5b38aa695857741c99024e2e7b72",
"timestamp": "",
"source": "github",
"line_count": 431,
"max_line_length": 121,
"avg_line_length": 33.06264501160093,
"alnum_prop": 0.604701754385965,
"repo_name": "CCPorg/XJO-JouleCoin-Ver-89906-Copy",
"id": "15a5b53bf8aab3607f606100718cdb8d37d164... |
package com.navercorp.pinpoint.profiler.context;
import com.navercorp.pinpoint.bootstrap.context.AsyncContext;
import com.navercorp.pinpoint.bootstrap.context.AsyncState;
import com.navercorp.pinpoint.bootstrap.context.MethodDescriptor;
import com.navercorp.pinpoint.common.util.Assert;
import com.navercorp.pinpoint.... | {
"content_hash": "9f6069c8f1c38d5f7895ddd78a77c82f",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 182,
"avg_line_length": 42.96666666666667,
"alnum_prop": 0.7990690457719162,
"repo_name": "Xylus/pinpoint",
"id": "53eeb3deb252e9356aed4bc5f00f811988805180",
"size": "3168"... |
from msrest.pipeline import ClientRawResponse
from msrestazure.azure_exceptions import CloudError
from msrestazure.azure_operation import AzureOperationPoller
import uuid
from .. import models
class StorageAccountsOperations(object):
"""StorageAccountsOperations operations.
:param client: Client for service... | {
"content_hash": "26e5a681d1ea18101c751b61aec336c8",
"timestamp": "",
"source": "github",
"line_count": 671,
"max_line_length": 154,
"avg_line_length": 46.666169895678095,
"alnum_prop": 0.6528278989557053,
"repo_name": "sharadagarwal/autorest",
"id": "d2583af6ef3d7e11bd00adead7d7ba9dae0d0fe4",
"siz... |
package com.sudoku.data.manager;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import com.sudoku.data.model.Grid;
import com.sudoku.data.model.PlayedGrid;
import com.sudoku.data.model.User;
public class GridManager {
private List<Grid> availableGrids;
private List<Played... | {
"content_hash": "fce30396ae246f4ccfb0cc94800fc862",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 70,
"avg_line_length": 24.186813186813186,
"alnum_prop": 0.692412539754657,
"repo_name": "CelineTo/new-repo",
"id": "c379aa6ade46e3b31c1addda83c439021dffbe40",
"size": "220... |
import { Component } from 'angular2/core';
import {RouteData} from 'angular2/router';
@Component({
selector: 'home',
template: "<h1>Dynamic</h1> <p>I'm data passed from route : {{foo}}</p>"
})
export class DynamicPageComponent {
foo: string;
constructor(data: RouteData) {
console.log('constructor with ... | {
"content_hash": "0c4f0513a74bc545762433d6d519ec8d",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 74,
"avg_line_length": 19.80952380952381,
"alnum_prop": 0.6466346153846154,
"repo_name": "mattimatti/Angular2Exercises",
"id": "7605580ddbc64d2c05cd61220992ad03ad2318ef",
"... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.cdn.generated;
import com.azure.core.util.Context;
import com.azure.resourcemanager.cdn.models.DeliveryRuleResponseHeaderAction;... | {
"content_hash": "6a8c58c0e0b62bd90abafa9927a48327",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 120,
"avg_line_length": 38.645833333333336,
"alnum_prop": 0.5606469002695418,
"repo_name": "Azure/azure-sdk-for-java",
"id": "70f3963614c83f35d8cc70265e9ff94391126b53",
"si... |
export interface RefreshTokenConfig {
clientId: string;
clientSecret: string;
refreshToken: string;
}
export interface AccessTokenConfig {
clientId: string;
clientSecret: string;
accessToken: string;
}
| {
"content_hash": "eb87aa0ecfffaa415ce677d919987773",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 37,
"avg_line_length": 17.615384615384617,
"alnum_prop": 0.7161572052401747,
"repo_name": "alexa/alexa-skills-kit-sdk-for-nodejs",
"id": "e009ee2fb40d9eeeff2e1359119f92a05f06... |
package ClassesBasicas;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import javax.persistence.OneT... | {
"content_hash": "f019745074cbcf5a94473fe8c596a9a5",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 111,
"avg_line_length": 20.38888888888889,
"alnum_prop": 0.7204359673024523,
"repo_name": "vinytufi/Java",
"id": "ca7078d3961d8722190df0dafe7b6463e9891dc1",
"size": "1835",... |
package cn.xlvip.ffmpeg.library.opengl;
import android.opengl.EGL14;
import android.opengl.EGLExt;
import android.opengl.EGLConfig;
import android.opengl.EGLContext;
import android.opengl.EGLDisplay;
import android.opengl.EGLSurface;
import android.util.Log;
import android.view.Surface;
/**
* Created by chenwenfeng... | {
"content_hash": "b08ce7e580e848f617c5a6bfab002ca6",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 94,
"avg_line_length": 36.37671232876713,
"alnum_prop": 0.6125023536057239,
"repo_name": "aopi1125/code_clean_templet",
"id": "4a1313abb6c34926d57164cda228aea1a037e790",
"... |
package prefuse.data.expression;
import java.util.Iterator;
import prefuse.data.Tuple;
/**
* Predicate representing an "or" clause of sub-predicates.
*
* @author <a href="http://jheer.org">jeffrey heer</a>
*/
public class OrPredicate extends CompositePredicate {
/**
* Create an empty OrPredicate. Empt... | {
"content_hash": "ff8df50147919ef065c2529c87cb7efc",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 77,
"avg_line_length": 23.612903225806452,
"alnum_prop": 0.5614754098360656,
"repo_name": "ezegarra/microbrowser",
"id": "58d39c25fda492f33ed00700246bffa3197f1804",
"size":... |
import { NgRedux, select } from '@angular-redux/store';
import { Component, isDevMode, OnInit, ViewChild } from '@angular/core';
import * as L from 'leaflet';
import { Spinkit } from 'ng-http-loader';
import { CarouselConfig, ModalDirective } from 'ngx-bootstrap';
import { Observable, Subject } from 'rxjs';
import { de... | {
"content_hash": "31fc197e7cffedc9cd103ad44eb83684",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 93,
"avg_line_length": 34.23529411764706,
"alnum_prop": 0.6782032400589102,
"repo_name": "dkocich/osm-pt-ngx-leaflet",
"id": "1800d8a394a27311d674d3fcd4667045360f0fd9",
"s... |
import material from 'vue-material/material'
import MdDivider from './MdDivider'
export default Vue => {
material(Vue)
Vue.component(MdDivider.name, MdDivider)
}
| {
"content_hash": "cb9ad705761250f0a1700829c2fae443",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 44,
"avg_line_length": 23.857142857142858,
"alnum_prop": 0.7544910179640718,
"repo_name": "marcosmoura/vue-material",
"id": "804b484fa859cbd5ea9c8be5b5564044ea9b5aa9",
"size... |
from django.conf.urls.defaults import *
from registration.views import activate
from registration.views import register
urlpatterns = patterns('',
url(r'^register/$',
register,
{'backend': 'userprofile.backends.simple.SimpleBackend'},
name='registration_register'),
)
| {
"content_hash": "0b7943a76a2c2a0c31f63feca60aebc2",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 61,
"avg_line_length": 23.916666666666668,
"alnum_prop": 0.7317073170731707,
"repo_name": "praekelt/django-userprofile",
"id": "5bc6865f379e0cab17ae13ca8df88fc37ec147cb",
"... |
/*
Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
without fee, provided that the above copyright notice appear in
all copies and that both that the copyri... | {
"content_hash": "8bd60caf8aefe79e17ecdd175b0ffe23",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 144,
"avg_line_length": 38.25405405405405,
"alnum_prop": 0.6641232160519994,
"repo_name": "eiannone/CANBus-Triple",
"id": "4f53fc6ccf02770516b4f81a6735773ea48fb01f",
"size... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.