text stringlengths 2 1.04M | meta dict |
|---|---|
#pragma once
#include <cub/cub.cuh>
#include <mgpuhost.cuh>
#include <moderngpu.cuh>
#include <nvbio/strings/string_set.h>
#include <nvbio/basic/thrust_view.h>
#include <nvbio/basic/cuda/sort.h>
#include <nvbio/basic/cuda/timer.h>
#include <nvbio/basic/cuda/ldg.h>
#include <nvbio/basic/cuda/primitives.h>
#include <t... | {
"content_hash": "bba3fb2158221f039fa2af87800b9d8f",
"timestamp": "",
"source": "github",
"line_count": 2264,
"max_line_length": 184,
"avg_line_length": 36.68330388692579,
"alnum_prop": 0.579354854246186,
"repo_name": "kimrutherford/nvbio",
"id": "3d5a076cedbfb9715e23ca2fdccd151d24d4e6ac",
"size": ... |
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Chaos.Models
{
/// <summary> The information of the experiment run. </summary>
internal partial class ExperimentExecutionDetailsPropertiesRunInformation
{
/// <summary> Initializes a new instance of ExperimentExecut... | {
"content_hash": "b720c9f62a95ad258e7ddb6a89e14c8f",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 114,
"avg_line_length": 39.4,
"alnum_prop": 0.6994923857868021,
"repo_name": "Azure/azure-sdk-for-net",
"id": "7523e41058d9cec6a34216e43b58f91904a60355",
"size": "1123",
... |
package com.gemstone.gemfire.internal.tools.gfsh.app.command.task;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import com.gemstone.gemfire.cache.Cache;
import com.gemstone.gemfire.cache.CacheFactory;
import com.gemstone.gemfire.cache.Region;
import com.gemstone.gemfire.internal.t... | {
"content_hash": "d2be5889fc30a4c70a57e5a62447e7ac",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 107,
"avg_line_length": 28.286624203821656,
"alnum_prop": 0.7333933798693988,
"repo_name": "SnappyDataInc/snappy-store",
"id": "ba3ffd6d760fabed1297f8941005592975ca5f65",
... |
using System.Collections.Generic;
using CefSharp;
using TweetImpl.CefSharp.Adapters;
using TweetImpl.CefSharp.Dialogs;
using TweetLib.Browser.CEF.Dialogs;
using TweetLib.Browser.CEF.Logic;
using static TweetLib.Browser.CEF.Dialogs.FileDialogType;
namespace TweetImpl.CefSharp.Handlers {
sealed class CefFileDialogHandl... | {
"content_hash": "d55f88fa7ba5dfe3f849d18d94424c59",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 198,
"avg_line_length": 38.41379310344828,
"alnum_prop": 0.77737881508079,
"repo_name": "chylex/TweetDuck",
"id": "f496892c86119896eb224be53bf60bf2cd36112f",
"size": "1114"... |
<div class="row-fluid">
<div class="col-md-offset-3 col-md-6">
<h3>Registro de Usuário</h3>
<form (submit)="save()" *ngIf="user">
<div class="form-group">
<label class="label-control" for="firstname">Nome</label>
<input class="form-control"
type="text"
id="... | {
"content_hash": "fbd9967696ad8c873fee342cf534633a",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 82,
"avg_line_length": 33.854838709677416,
"alnum_prop": 0.5021438780371605,
"repo_name": "rodrigopmatias/kanban-task",
"id": "3766a378502d90ccb4ccb0e4130f10253b7ca7ec",
"s... |
from MAT.PluginMgr import PluginTaskDescriptor, \
PluginError, FindPluginClass, PluginStep, TagStep, WholeZoneStep
from MAT.PluginDocInstaller import PluginDocInstaller
from ReplacementEngine import PIIReplacementEngine, DOC_CACHE_SCOPE, \
BATCH_CACHE_SCOPE, NO_CACHE_SCOPE
from ClearReplacementStrategy import... | {
"content_hash": "5fc5e33186e96da331192f7411b7afcb",
"timestamp": "",
"source": "github",
"line_count": 1347,
"max_line_length": 357,
"avg_line_length": 44.18634001484781,
"alnum_prop": 0.6065626102589089,
"repo_name": "VHAINNOVATIONS/DmD",
"id": "c1b4afe06b10a1f4f73064ab188d6ae80a75b6fe",
"size": ... |
import logging
import requests
import unittest
from unittest.mock import MagicMock, patch, PropertyMock
from pyhik.hikvision import HikCamera
from pyhik.constants import (CONNECT_TIMEOUT)
XML = """<MotionDetection xmlns="http://www.hikvision.com/ver20/XMLSchema" version="2.0">
<enabled>{}</enabled>
<enableHig... | {
"content_hash": "358d4af3878a64a064c54e2161a5516d",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 107,
"avg_line_length": 37.464285714285715,
"alnum_prop": 0.6835081029551954,
"repo_name": "mezz64/pyHik",
"id": "21d4687b07961a50ceb170d54a3a559f78f7a9fb",
"size": "3171",... |
<?php
/**
* ActionDesc element class
*
* Heirarchy:
* (%pcd-model; | %phrase-level; | committee-name | cosponsor | sponsor | nonsponsor)*
*
* @todo A list of assumptions ( which are don't account for the true spec detailed above ):
* * We will have only one sponsor
* * NOTE: Right now we only account for one commit... | {
"content_hash": "cc89d01e42c7f72512285f4b14e5549f",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 91,
"avg_line_length": 22.6375,
"alnum_prop": 0.6272777471010491,
"repo_name": "opengovfoundation/USLM",
"id": "e8b56beb9e5c587bf8d310c256a5b93847b664e6",
"size": "1811",
... |
const stats = {
compilation: {
warnings: []
},
hasErrors: () => false
}
const webpack = jest.fn((_, fn) => {
fn(null, stats)
})
export default webpack
| {
"content_hash": "00b97fdeb990395628fd5a3e4dc276f1",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 36,
"avg_line_length": 16.3,
"alnum_prop": 0.5766871165644172,
"repo_name": "railsware/bozon",
"id": "7ee8053ddf5c000973d22f5011c8255056ff8699",
"size": "163",
"binary": ... |
<?php
namespace League\OAuth2\Client\Provider;
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
use League\OAuth2\Client\Token\AccessToken;
use Psr\Http\Message\ResponseInterface;
class Moves extends AbstractProvider
{
/**
* @var string
*/
const BASE_MOVES_URL = 'https://moves... | {
"content_hash": "55ea38852ba78d6cb4ef3a2ea95ac50c",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 111,
"avg_line_length": 28.022900763358777,
"alnum_prop": 0.6014709888313811,
"repo_name": "Edwin-Luijten/oauth2-moves",
"id": "d3c4ebfa31085723b760585d38caf7f8e8a68990",
... |
<?php
namespace Vidal\MainBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
... | {
"content_hash": "b77e2d97a9e6d14c31c1b2ccf8a583d3",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 62,
"avg_line_length": 29.757575757575758,
"alnum_prop": 0.7443991853360489,
"repo_name": "Vidal-ru/Vidal",
"id": "8c4aa69d7d8d53f8031ef0b2d1fead9316cf48f2",
"size": "982",... |
casper.notebook_test(function () {
var messages = [];
this.on('remote.alert', function (msg) {
messages.push(msg);
});
this.evaluate(function () {
var cell = IPython.notebook.get_cell(0);
var json = cell.toJSON();
json.prompt_number = "<script> alert('hello from inpu... | {
"content_hash": "89b92a733458ae1390b6ca548775d0aa",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 99,
"avg_line_length": 30.764705882352942,
"alnum_prop": 0.5774378585086042,
"repo_name": "Lightmatter/django-inlineformfield",
"id": "4f72a36598690772d344c241077482a3d42e891... |
require 'spec_helper'
describe SelectedPhoto do
it "should respond to #title" do
SelectedPhoto.new.should respond_to(:title)
end
it "should respond to #title=" do
SelectedPhoto.new.should respond_to(:title=)
end
describe "#photo=" do
it "should assign the photo" do
s = SelectedPhoto.new
... | {
"content_hash": "cb48562e1db5113742a2e7a09c765bbe",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 100,
"avg_line_length": 27.975609756097562,
"alnum_prop": 0.6338273757628596,
"repo_name": "ganeshganga/angularjs_rails_demo",
"id": "4a9a93e3c0ef0d9f6ea139f5980181ba7430c92c... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<context>
<name>MainPage</name>
<message>
<location filename="../qml/pages/MainPage.qml" line="41"/>
<source>Copy to clipboard</source>
<translation type="unfinished"></translation>
</message>
<message>
... | {
"content_hash": "878b74ea1169648f8962e95b601f2dc9",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 67,
"avg_line_length": 34.81395348837209,
"alnum_prop": 0.6032064128256514,
"repo_name": "ilpianista/harbour-Base64",
"id": "0241e55157f532da6235924cace9f9355c782724",
"siz... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Patellina italichroma var. italichroma Speg.
### Remarks
null | {
"content_hash": "611afedec4ed87322fc9576b7e4f30fa",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 44,
"avg_line_length": 11.461538461538462,
"alnum_prop": 0.7248322147651006,
"repo_name": "mdoering/backbone",
"id": "280ff808c1f37eca4ece04fe4c86d11e8ee528c5",
"size": "21... |
class FormBase
include ActiveModel::Model
include Virtus.model
def save
if valid?
persist!
true
else
false
end
end
end
| {
"content_hash": "1e3122c48aa635b0ef3af7fb160dce20",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 28,
"avg_line_length": 12.153846153846153,
"alnum_prop": 0.6139240506329114,
"repo_name": "NeilBetham/automaton",
"id": "9c66ee9b0cde2db5bd8ea6f13e2b981cc273c97c",
"size": ... |
<?php
namespace PHPCfg\Op\Expr;
use PHPCfg\Assertion as Assert;
use PHPCfg\Op\Expr;
use PHPCfg\Operand;
class Assertion extends Expr {
public $read;
public $assertion;
public function __construct(Operand $read, Operand $write, Assert $assertion, array $attributes = []) {
parent::__construct($... | {
"content_hash": "976aa985c6aad38c8f30cebcfa066506",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 107,
"avg_line_length": 22.384615384615383,
"alnum_prop": 0.6357388316151202,
"repo_name": "RustJason/php-cfg",
"id": "32ef59a060fad30507e33ce7726bc222bfc18521",
"size": "7... |
module Cms::Addon
module PageSearchInfo
extend ActiveSupport::Concern
extend SS::Translation
def brief_search_condition
info = [
:search_name_info, :search_filename_info, :search_category_ids_info, :search_group_ids_info,
:search_node_ids_info, :search_routes_info, :search_released_... | {
"content_hash": "178a4682f7692a0cdb3c5d2ccb6bf6d8",
"timestamp": "",
"source": "github",
"line_count": 296,
"max_line_length": 126,
"avg_line_length": 34.070945945945944,
"alnum_prop": 0.5789786812097174,
"repo_name": "bee01/shirasagi",
"id": "da134204104e38cb250e48b7897d28a0c4e531a9",
"size": "10... |
// Copyright 2012 Cloudera Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... | {
"content_hash": "d0a94cdd661f1be51576313989170a56",
"timestamp": "",
"source": "github",
"line_count": 334,
"max_line_length": 89,
"avg_line_length": 40.81137724550898,
"alnum_prop": 0.7048639131391681,
"repo_name": "rampage644/impala-cut",
"id": "89818f72eb443928231f8e07b8a5d51479949236",
"size":... |
.saveErrorPopupSocial .modal-logo {
position: absolute;
top: -20px;
left: -20px;
width: 48px;
height: 48px;
background: url(../_resources/icons/warning-icon.png);
background-size: 42px 42px;
background-repeat: no-repeat;
border: 4px solid #FFF;
border-radius: 24px;
}
.saveErrorPopupSocial .toolt... | {
"content_hash": "79650d73d27120473ac4ac4552dbda63",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 55,
"avg_line_length": 18.79591836734694,
"alnum_prop": 0.6807817589576547,
"repo_name": "anarosner/storymap-shortlist-case-studies",
"id": "84945dc3b1c0faa482ee9c67618435e62... |
<?php
declare(strict_types=1);
namespace Money\PHPUnit;
use Money\Currencies\AggregateCurrencies;
use Money\Currencies\BitcoinCurrencies;
use Money\Currencies\ISOCurrencies;
use Money\Formatter\IntlMoneyFormatter;
use Money\Money;
use NumberFormatter;
use SebastianBergmann\Comparator\ComparisonFailure;
use function... | {
"content_hash": "5a772653a3a9db8bb309cd08225dbfa3",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 193,
"avg_line_length": 29.984848484848484,
"alnum_prop": 0.686710459828196,
"repo_name": "moneyphp/money",
"id": "28a5d4ea0f93237822e27c311635f39172ed042f",
"size": "1979"... |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative p... | {
"content_hash": "0fb13c11ddf9ffdc11277ea954c871fc",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 103,
"avg_line_length": 38.175438596491226,
"alnum_prop": 0.6911764705882353,
"repo_name": "MFAnderson/gocd",
"id": "c24070f1aba3bbb1b38cbcfd011480abcfb1e528",
"size": "277... |
include ../../Library/GNU.mk
Title= SDL
Name= sdl
Version= 1.2.15
Site= http://www.libsdl.org/
Source= http://www.libsdl.org/release/SDL-$(Version).tar.gz
License= LGPL
UncompressedName = sdl-$(Version) # Just in case
GnuConfigureExtra += --disable-video-x11
define test_hook
$(BinDir)/sdl-config --version
endef... | {
"content_hash": "d4313498a9b45f14a4ea0cd5019e7f3f",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 60,
"avg_line_length": 20.0625,
"alnum_prop": 0.7133956386292835,
"repo_name": "rudix-mac/rudix",
"id": "3ba10d672e2758788affa111b186091ea08c726f",
"size": "321",
"binary... |
package com.jetbrains.python.psi;
/**
* @author yole
*/
public interface PyBoolLiteralExpression extends PyLiteralExpression {
boolean getValue();
}
| {
"content_hash": "f34c645ef6fc0bcffec0e5e1e8c8e8ed",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 70,
"avg_line_length": 15.6,
"alnum_prop": 0.75,
"repo_name": "consulo/consulo-python",
"id": "32ffda1b1714f4df499d20f74227869eca123e9d",
"size": "756",
"binary": false,
... |
var assert = require('assert');
var adapter = require('../index.js');
var config = require('./support/config.js');
var makeSlowQuery = require('./support/makeSlowQuery.js');
var ConnectionPool = false;
try {
ConnectionPool = require('any-db-pool');
}
catch (e) {
ConnectionPool = false;
}
var delaySeconds = 2;
var ... | {
"content_hash": "87a66085168474f8b5397e00dab6addb",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 104,
"avg_line_length": 22.245283018867923,
"alnum_prop": 0.6485722363584959,
"repo_name": "Hypermediaisobar-admin/node-any-db-mssql",
"id": "bd148ffcd09cd22776e5b5c883309e7... |
#ifndef __USB100_H
#define __USB100_H
#if __GNUC__ >=3
#pragma GCC system_header
#endif
#ifdef __cplusplus
extern "C" {
#endif
#include "ntddk.h"
#define MAXIMUM_USB_STRING_LENGTH 255
#define USB_DEVICE_CLASS_RESERVED 0x00
#define USB_DEVICE_CLASS_AUDIO 0x01
#define USB_DEVICE_CLAS... | {
"content_hash": "71eb0fe2f6518d71729c85939af2fdfc",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 79,
"avg_line_length": 30.442396313364057,
"alnum_prop": 0.7216167120799274,
"repo_name": "waterhui/MinGW",
"id": "53b774ba296aed5ff489adfb3a7679812b2b5fd3",
"size": "7196... |
package jkind.lustre;
import java.util.List;
import jkind.lustre.visitors.ExprVisitor;
import jkind.util.Util;
public class ArrayExpr extends Expr {
public final List<Expr> elements;
public ArrayExpr(Location loc, List<Expr> elements) {
super(loc);
this.elements = Util.safeList(elements);
}
public ArrayExp... | {
"content_hash": "1fc7595206317c63c956249954f5cee3",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 54,
"avg_line_length": 19.791666666666668,
"alnum_prop": 0.7347368421052631,
"repo_name": "agacek/jkind",
"id": "4c976bff243e54dd6ffdf386fcc4e61771720fb1",
"size": "475",
... |
=========
lib/flags
=========
.. automodule :: lib.flags
:members: | {
"content_hash": "cc50fcccadd8c959b5654c43525c855d",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 26,
"avg_line_length": 11.833333333333334,
"alnum_prop": 0.4647887323943662,
"repo_name": "postfix/https-ids",
"id": "8478208d3f1886a0a2d71ee30956e277c5d21cff",
"size": "71"... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/analytics/admin/v1beta/analytics_admin.proto
package com.google.analytics.admin.v1beta;
/**
*
*
* <pre>
* Request message for CreateGoogleAdsLink RPC
* </pre>
*
* Protobuf type {@code google.analytics.admin.v1beta.CreateGoogleAdsLin... | {
"content_hash": "995a6d7442fbc6a4676372e90af3c288",
"timestamp": "",
"source": "github",
"line_count": 911,
"max_line_length": 114,
"avg_line_length": 32.26125137211855,
"alnum_prop": 0.6599183395712828,
"repo_name": "googleapis/java-analytics-admin",
"id": "6010356e663597c053331177e12b1faf1db64617"... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
... | {
"content_hash": "a8211be558bd9d4ffefdb1e45a193255",
"timestamp": "",
"source": "github",
"line_count": 344,
"max_line_length": 161,
"avg_line_length": 46.44767441860465,
"alnum_prop": 0.5625860558267618,
"repo_name": "zooba/roslyn",
"id": "dbeea2dae62dcdb50291bd559b8578ffd614b811",
"size": "15980"... |
title: Contributing
layout: contribute.hbs
---
# Contributing
Thank you for your interest in contributing to Node.js, there are multiple ways and places you can contribute and we're here to help facilitate that.
## Reporting an Issue
If you have found what you believe to be an issue with Node.js please do not hesit... | {
"content_hash": "602d8d6ee2a462fb844904abf88ecaa8",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 447,
"avg_line_length": 77.78125,
"alnum_prop": 0.795098433105665,
"repo_name": "marocchino/new.nodejs.org",
"id": "85dd85c648ee4115675b003369c16d2bb96d7825",
"size": "2493... |
layout: default
title: Global Day of Coderetreat Registration
---
{% include_relative README.md %}
| {
"content_hash": "37b11b5f743216e27fb1317346147950",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 45,
"avg_line_length": 14.571428571428571,
"alnum_prop": 0.7352941176470589,
"repo_name": "coderetreat/coderetreat.github.io",
"id": "fc151e327e5063ed00cfb424088705b3e5daae2e"... |
using namespace seqan;
using namespace std;
bool myVergleich (GMatch<int> const & i,GMatch<int> const & j) {
return (i.score >= j.score);
}
int sortiereMatches (String<GMatch<int> > & unsortetResults) {
std::sort (begin(unsortetResults), end(unsortetResults), myVergleich);
return 0;
}
template<typename TScore>
in... | {
"content_hash": "281d8534984f568319b17efa8c836fd0",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 71,
"avg_line_length": 25.571428571428573,
"alnum_prop": 0.7430167597765364,
"repo_name": "bkahlert/seqan-research",
"id": "218e763645d8a723349a197e2db79e79674bdd7d",
"size... |
<?php
/**
* Class WC_Log_Handler_DB file.
*
* @package WooCommerce\Log Handlers
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Handles log entries by writing to database.
*
* @class WC_Log_Handler_DB
* @version 1.0.0
* @package WooCommerce/Classes/Log_H... | {
"content_hash": "7f1c163819c0d72c69579dfdf2c56f63",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 137,
"avg_line_length": 25.52910052910053,
"alnum_prop": 0.6238341968911917,
"repo_name": "cimocimocimo/staydrysystems.com",
"id": "e654eb92b808cbe54257d6d5694da4ce34aef451"... |
package com.dihanov.musiq.di.modules;
import com.dihanov.musiq.di.annotations.PerActivity;
import com.dihanov.musiq.ui.settings.profile.userlovedtracks.UserLovedTracksContract;
import com.dihanov.musiq.ui.settings.profile.userlovedtracks.UserLovedTracksPresenter;
import com.dihanov.musiq.ui.settings.profile.userlovedt... | {
"content_hash": "b5c58a8eb5faf8726859b1039d8de1b8",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 112,
"avg_line_length": 35.55,
"alnum_prop": 0.8382559774964838,
"repo_name": "DDihanov/musiQ",
"id": "ba3f9ef1a0754d0de2337da1d39022f7ab4b814c",
"size": "711",
"binary":... |
import os
from django.conf import settings
from django.core.management.base import BaseCommand
from django.utils import translation
from openbudgets.apps.transport.incoming.importers.initial import InitImporter
class Command(BaseCommand):
help = 'Loads initial data for the instance from formatted CSV files.'
... | {
"content_hash": "7ccf010683400b97264e6e50d958d3ea",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 96,
"avg_line_length": 39.55555555555556,
"alnum_prop": 0.6867977528089888,
"repo_name": "shaib/openbudgets",
"id": "615f10dad115c68f123031565541a7408c977fc1",
"size": "142... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
else if(typeof define === 'function' && define.amd)
define(["react"], factory);
else if(typeof exports === 'object')
exports["ReactRouter"] = fac... | {
"content_hash": "4b8c75994ed48f06e81757faf9da9982",
"timestamp": "",
"source": "github",
"line_count": 7346,
"max_line_length": 433,
"avg_line_length": 31.418050639803976,
"alnum_prop": 0.634423324393298,
"repo_name": "sufuf3/cdnjs",
"id": "4fc5df1a9fae2b432b195c7674d6ad5966b118b3",
"size": "23079... |
A text-based ruby game simulating the process of running a retail clothing brand.
The player will get to run through all five phases of retail:
1. Design
1. Manufacture
1. Shipment
1. Marketing
1. Sales
| {
"content_hash": "cc9d65dd1d527a487c13564143938e73",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 81,
"avg_line_length": 22.77777777777778,
"alnum_prop": 0.7804878048780488,
"repo_name": "KylaBendrik/Retail-Tycoon",
"id": "f6b93141844f10a91f2b2d3b261170f86427359b",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Qt 4.8: b... | {
"content_hash": "a8dab44d40eea9fbfab54b1a6acf7955",
"timestamp": "",
"source": "github",
"line_count": 401,
"max_line_length": 221,
"avg_line_length": 41.86533665835412,
"alnum_prop": 0.568858708601382,
"repo_name": "stephaneAG/PengPod700",
"id": "747a2777a30b8799bf5979356dad63246f2321dd",
"size":... |
package main
import (
"bufio"
"os/exec"
"strings"
"testing"
"time"
"github.com/docker/docker/pkg/stringid"
"github.com/kr/pty"
)
// #9860
func TestAttachClosedOnContainerStop(t *testing.T) {
defer deleteAllContainers()
cmd := exec.Command(dockerBinary, "run", "-dti", "busybox", "sleep", "2")
out, _, err :... | {
"content_hash": "dd44cdb0c10fedb53b81fdbb0bf7f474",
"timestamp": "",
"source": "github",
"line_count": 286,
"max_line_length": 94,
"avg_line_length": 20.594405594405593,
"alnum_prop": 0.6164685908319185,
"repo_name": "bleuchtang/docker",
"id": "ebc3804e3e8a71c11f466f4aaadd09c37688d23d",
"size": "5... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_05) on Wed Oct 29 15:05:24 CET 2014 -->
<title>ModuleController</title>
<meta name="date" content="2014-10-29">
<link rel="stylesheet" type="te... | {
"content_hash": "9876620b7efcbc79fbc1185230c2b0e1",
"timestamp": "",
"source": "github",
"line_count": 391,
"max_line_length": 389,
"avg_line_length": 40.34271099744245,
"alnum_prop": 0.6723722581463167,
"repo_name": "pericles-project/pet",
"id": "2f671936f99066772c8b814fb877be3e50bad4db",
"size":... |
package com.google.cloud.storage.contrib.nio;
import static com.google.common.truth.Truth.assertThat;
import com.google.cloud.storage.contrib.nio.testing.LocalStorageHelper;
import com.google.common.collect.Iterables;
import com.google.common.testing.EqualsTester;
import com.google.common.testing.NullPointerTester;... | {
"content_hash": "e3bc2dd2228c9ea16ab1cad25318877c",
"timestamp": "",
"source": "github",
"line_count": 500,
"max_line_length": 115,
"avg_line_length": 41.258,
"alnum_prop": 0.6941684037035242,
"repo_name": "rborer/google-cloud-java",
"id": "8fd5ba626f170df1fff834520180190aba5f17e8",
"size": "21254... |
<?php
namespace yiiunit\framework\db\oci;
use yiiunit\data\ar\DefaultPk;
use yiiunit\data\ar\DefaultMultiplePk;
use yiiunit\data\ar\Type;
/**
* @group db
* @group oci
*/
class ActiveRecordTest extends \yiiunit\framework\db\ActiveRecordTest
{
protected $driverName = 'oci';
public function testCastValues(... | {
"content_hash": "69f781ff45882f00bcbbe7d79978c4f0",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 81,
"avg_line_length": 34.53030303030303,
"alnum_prop": 0.573716542343133,
"repo_name": "vchenin/yii2",
"id": "5935c8996445f1a6406b16e5a0e92fa5ae4b5755",
"size": "4702",
... |
/*
* Auxiliary file for QualifiedThisAndSuper_1.java, et. al.
*/
package p1;
public class BS {
protected String u = "bsu";
protected String o() { return "bso"; }
}
| {
"content_hash": "06bd5845490cdbb74c1695739a9d94ad",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 59,
"avg_line_length": 14.833333333333334,
"alnum_prop": 0.6292134831460674,
"repo_name": "rokn/Count_Words_2015",
"id": "f6a44879aee37e5246c0577f55927f0692e2e355",
"size":... |
<!DOCTYPE html>
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec content-security-policy/` -->
<html>
<head>
<meta charset="utf-8">
<meta name="timeout" content="long">
<meta http-equiv="Content-Security-Policy" content="script-src * 'unsafe-inline'">
<script src="/res... | {
"content_hash": "48c32a965dcd28f9c99fdcc6d0a54153",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 162,
"avg_line_length": 42.975903614457835,
"alnum_prop": 0.5634987384356602,
"repo_name": "nwjs/chromium.src",
"id": "9f2b25ea2b5b56fdf69b08e81325bd9f3eea11d1",
"size": "3... |
package com.blm.orc;
import org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch;
import org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpressionWriter;
import org.apache.hadoop.hive.ql.exec.vector.expressions.VectorExpressionWriterFactory;
import org.apache.hadoop.hive.ql.metadata.HiveException;
import... | {
"content_hash": "68e8607f651d467cb4c97081b5c168e0",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 94,
"avg_line_length": 34.69444444444444,
"alnum_prop": 0.6717373899119295,
"repo_name": "DamianZhou/ThingsOfHadoop",
"id": "89a3ba65748bf99070956cde7b32167e869a7930",
"siz... |
/**
* Get a list of all `dt-tag tr` nodes in the table which are not currently
* visible (useful for building forms).
*
* This function is marked as deprecated as using the `dt-api rows()` method in
* DataTables 1.10+ is preferred to this approach.
*
* @name fnGetHiddenNodes
* @summary Get the `dt-tag tr` ele... | {
"content_hash": "ffdd15fab28cb20cac81641c9dd1218b",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 79,
"avg_line_length": 28.333333333333332,
"alnum_prop": 0.6109243697478992,
"repo_name": "jakub-tucek/simple-spring-borrow-system",
"id": "661c4874e58a1201e41bbb2af6793d501c... |
package org.esupportail.publisher.config.bean;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.validation.annotation.Validated;
@Data
@Validated
public class ServiceProperties {
@N... | {
"content_hash": "0f5a604b9ff3bd6f52b23d2292488158",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 96,
"avg_line_length": 29.50769230769231,
"alnum_prop": 0.5375391032325338,
"repo_name": "EsupPortail/esup-publisher",
"id": "30e83a0ef523d4bce7bed3846a50798cbfba35b6",
"si... |
template< typename T, class TimeSource = GenericTimeSource< SimMSTimer > >
class InterpolatedChangeProperty
{
public:
enum
{
/// Default time (in milliseconds) to go from one value
/// to a new one.
DEFAULT_TRANSITION_TIME = 2000
};
typedef TimeSource TimeSourceTy... | {
"content_hash": "40d24d2c4fc481cc583799b45173f566",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 82,
"avg_line_length": 28.156462585034014,
"alnum_prop": 0.6151244261899009,
"repo_name": "Bloodknight/Torque3D",
"id": "120563c9e5f786b0a4ea6877d16b41b62fca9c8c",
"size":... |
namespace sync_preferences {
class TestingPrefServiceSyncable;
}
#endif
namespace content {
class WebContents;
}
namespace payments {
class ContentPaymentRequestDelegate;
struct AppDescription {
std::string label;
std::string sublabel;
std::string total;
};
// Observe states or actions taken by the PaymentRe... | {
"content_hash": "2bd3e402c246644553d694d9e20cfa1a",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 80,
"avg_line_length": 31.661971830985916,
"alnum_prop": 0.7548932384341637,
"repo_name": "chromium/chromium",
"id": "7b81c150522e5e877e42b260cacecee5c85f456d",
"size": "4... |
require 'time'
require 'thread'
require 'optparse'
require 'rubygems'
require 'aerospike'
include Aerospike
@options = {
:port => 3000,
:namespace => 'test',
:set => 'benchmark',
:key_count => 100000,
:bin_def => 'I',
:concurrency => 4,
:workload_def => 'I:100',
:throughput => 0,
:timeout => 0,
:... | {
"content_hash": "4c26c9ddca8c27c25d24e8c7620ddb3f",
"timestamp": "",
"source": "github",
"line_count": 375,
"max_line_length": 226,
"avg_line_length": 27.208,
"alnum_prop": 0.6333431343722434,
"repo_name": "aerospike/aerospike-client-ruby",
"id": "338dbdcbe90e5dff9a267f05f771d66d58120671",
"size":... |
// Copyright (c) 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | {
"content_hash": "7fa6d8feec2045dad239d87459c8ff36",
"timestamp": "",
"source": "github",
"line_count": 998,
"max_line_length": 80,
"avg_line_length": 34.14829659318637,
"alnum_prop": 0.6274354460093897,
"repo_name": "emoon/bgfx",
"id": "8adca7b9aeae5346b4ed89b787ba3ffb91b3305c",
"size": "34080",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="/assets/jquery/jquery-1.11.2.js"></script>
<script src="/assets/jquery/jq... | {
"content_hash": "609ef444ad9b428ce72b08cb34bdb422",
"timestamp": "",
"source": "github",
"line_count": 330,
"max_line_length": 198,
"avg_line_length": 27.76060606060606,
"alnum_prop": 0.6079030673507259,
"repo_name": "lucywyman/recipes-website",
"id": "05cf57fa2aa10662f71b6af8166cc1564a57a87e",
"s... |
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
import jakarta.xml.bind.Marshaller;
import org.glassfish.jaxb.runtime.CycleRecoverable;
public class Main {
public static void main(String[] args) throws JAXBException {
// let's create an obvious cycle
Person p = new Pe... | {
"content_hash": "6a4d6f9fbe58b3c860f0d1ee6b2a01df",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 68,
"avg_line_length": 28.227272727272727,
"alnum_prop": 0.6682769726247987,
"repo_name": "eclipse-ee4j/jaxb-ri",
"id": "e2bcb1b2dbc10e898d5bba9477df25697fabbd85",
"size": ... |
module Trax
module Core
module Definitions
def self.extended(base)
base.extend(Trax::Core::Fields)
end
def enum(klass_name, **options, &block)
attribute_klass = if options.key?(:extends)
_klass_prototype = options[:extends].constantize.clone
::Trax::Core::Nam... | {
"content_hash": "92d6c1780d28e07164b2cb66d01ac168",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 134,
"avg_line_length": 35.903225806451616,
"alnum_prop": 0.6001796945193172,
"repo_name": "vyrak/trax_core",
"id": "4f7069817279d113e3018dfab1565ccc8a365934",
"size": "111... |
var Board = require("../lib/board.js"),
events = require("events"),
util = require("util"),
Sensor = require("../lib/sensor.js");
var priv = new Map();
var Devices = {
NONDIRECTIONAL: {
pins: {
get: function() {
return {
pwm: this.opts.pin
};
}
},
dir: {
... | {
"content_hash": "df877cbc391e9f5912447ed33d61a84a",
"timestamp": "",
"source": "github",
"line_count": 475,
"max_line_length": 87,
"avg_line_length": 21.073684210526316,
"alnum_prop": 0.5451548451548451,
"repo_name": "rbrazileiro/tamarino",
"id": "0cbc92a0246138cefb28251857e2dc75e90d9fe2",
"size":... |
package gang.com.screencontrol;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void... | {
"content_hash": "bdb53016e75c50e17e71bb9a3495a11e",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 81,
"avg_line_length": 23.529411764705884,
"alnum_prop": 0.6925,
"repo_name": "xiaoganggang/ScreenControl",
"id": "b6f896c3e844c84c299214f6902ca49b08f06091",
"size": "400",... |
package containerd
import (
"context"
"fmt"
"io"
"net/http"
"runtime"
"strconv"
"time"
containersapi "github.com/containerd/containerd/api/services/containers/v1"
contentapi "github.com/containerd/containerd/api/services/content/v1"
diffapi "github.com/containerd/containerd/api/services/diff/v1"
eventsap... | {
"content_hash": "9db49e03a8fcea52e603fc53928c036f",
"timestamp": "",
"source": "github",
"line_count": 586,
"max_line_length": 139,
"avg_line_length": 28.585324232081913,
"alnum_prop": 0.7179272879231091,
"repo_name": "tophj-ibm/docker",
"id": "2ac256dd9d6f226841ac73a226758c5d08162ff6",
"size": "1... |
On device unit tests
====================
This test app runs a set of unit tests, to help confirm that the
python-for-android build is actually working properly.
Also it's dynamic, because it will run one app or another depending on the
supplied recipes at build time.
It currently supports three app `modes`:
- `ki... | {
"content_hash": "8921b1452e2dad75130af0f576988a6f",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 98,
"avg_line_length": 37.84313725490196,
"alnum_prop": 0.7196891191709844,
"repo_name": "rnixx/python-for-android",
"id": "6c0eb9626eeb033495124df872f41dbdc5751419",
"size... |
class User {
name: string = "Bob";
sayHello(): void {
//console.log("Hello, " + this.name);
}
}
class RegisteredUser extends User {
name: string = "Frank";
constructor() {
super();
// super call in a constructor
super.sayHello();
// super call in a lambda i... | {
"content_hash": "29900c646a5d602af38f736daba75e2b",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 126,
"avg_line_length": 32.81456953642384,
"alnum_prop": 0.551765893037336,
"repo_name": "jeremyepling/TypeScript",
"id": "73ca53c3b5cb9eb9c6df03e9bc38df725257bdd3",
"size... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.storage.implementation;
import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.ExpectedResponses;
import c... | {
"content_hash": "ef967dc76c1b07403a16850e71360d62",
"timestamp": "",
"source": "github",
"line_count": 608,
"max_line_length": 119,
"avg_line_length": 54.72861842105263,
"alnum_prop": 0.67618332081142,
"repo_name": "Azure/azure-sdk-for-java",
"id": "759b710f9a57be54b168eadad3c4de4234c284bd",
"size... |
/**
The modal for selecting an avatar
@class AvatarSelectorController
@extends Discourse.Controller
@namespace Discourse
@uses Discourse.ModalFunctionality
@module Discourse
**/
Discourse.AvatarSelectorController = Discourse.Controller.extend(Discourse.ModalFunctionality, {
actions: {
useUploadedAva... | {
"content_hash": "987909a7d4bb2bf5ae535b1cc78fa02e",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 114,
"avg_line_length": 33.04761904761905,
"alnum_prop": 0.7305475504322767,
"repo_name": "tadp/learnswift",
"id": "6c3d6d9ab65c08bacf1db5d4b3ae3effdd6cdb08",
"size": "694"... |
using System;
using System.Globalization;
using System.Windows.Data;
namespace Ropufu.LeytePond.Converters
{
public class EqualityConverter : IValueConverter, IMultiValueConverter
{
/// <summary>
/// Checks if <paramref name="value"/> equals <paramref name="parameter"/>.
/// </summary>... | {
"content_hash": "11f4f9286aaded6dbe0ec03bacd6c04c",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 146,
"avg_line_length": 38.595238095238095,
"alnum_prop": 0.6169031462060457,
"repo_name": "ropufu/settlers_online",
"id": "f39b74878daf8ca46fec9ac9f5cbf4a6ed7ed30e",
"size... |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(['exports', './betamax-utils', './media-apis/html-video-api', './media-apis/html-video-hls-api', './media-apis/html-audio-api'], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require('./betamax-u... | {
"content_hash": "cd39c07d378ca7adc9a9b20fa9ea94db",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 173,
"avg_line_length": 32.56164383561644,
"alnum_prop": 0.6495582667227597,
"repo_name": "antoinegrant/betamax-core",
"id": "47a134b51acbaf594a6ec41b6bdbe76e56b5f35f",
"si... |
module.exports = juice;
/**
* Module dependencies.
*/
var utils = require('./utils')
, Selector = require('./selector')
, Property = require('./property')
, packageJson = require('../package')
, fs = require('fs')
, Batch = require('batch')
, url = require('url')
, superagent = require('superagent'... | {
"content_hash": "5cd4881bf14e62087cf27f0ada03ad60",
"timestamp": "",
"source": "github",
"line_count": 310,
"max_line_length": 93,
"avg_line_length": 27.096774193548388,
"alnum_prop": 0.6305952380952381,
"repo_name": "Code4Maine/modeify",
"id": "c879d0f4b5cc89b86b43cbed1452d4f35e70c8c4",
"size": "... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace DaoUtilsCore.log
{
public class LogManager
{
private static ILogManager _logManager;
public static void RegisterLogManagerAdaptor(ILogManager logManager)
{
_logManager = l... | {
"content_hash": "f1b31f064abf7475a4867679617e2894",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 124,
"avg_line_length": 25.774193548387096,
"alnum_prop": 0.6345431789737171,
"repo_name": "KenMiles/DaoUtils",
"id": "bcc791926489dcd14717904ea8279891d679440d",
"size": "8... |
package com.alibaba.jstorm.task.master.ctrlevent;
import java.util.Map;
import backtype.storm.task.TopologyContext;
import com.alibaba.jstorm.client.ConfigExtension;
import com.alibaba.jstorm.cluster.StormClusterState;
import com.alibaba.jstorm.task.error.ErrorConstants;
import org.slf4j.Logger;
import org.slf4j.L... | {
"content_hash": "7842f47d1a3423dac78c844e5753415b",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 127,
"avg_line_length": 34.81944444444444,
"alnum_prop": 0.6940566414040686,
"repo_name": "alibaba/jstorm",
"id": "a5712873a3a514ffc43f18a0751453fef8bb0949",
"size": "3309"... |
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<layout class="ch.qos.logback.classic.PatternLayout">
<Pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</Pattern>
</layout>
</appender>
<l... | {
"content_hash": "4dbcca988035a469d0dec005ccb8f07d",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 87,
"avg_line_length": 30.647058823529413,
"alnum_prop": 0.6065259117082533,
"repo_name": "redbarn-io/redbarn",
"id": "3464b94b0575236023db0060997a942649e60c96",
"size": "5... |
It's important to inform the contest role-takers and contestants about the rules of the contest so that a speech contest can be effectively and professionally conducted. The contest briefing is booked for this purpose and usually is held half a week before the actual contest. Contest chair is the responsible person to ... | {
"content_hash": "6cd2a00633a066d95ea9a01a24628f25",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 338,
"avg_line_length": 62,
"alnum_prop": 0.7861602497398543,
"repo_name": "eshtmc/eshtmc",
"id": "d8da71813bb65caccce801485bb30fefe8f115ac",
"size": "1942",
"binary": fa... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | {
"content_hash": "5ef9b30acc7ddfa3f665be63cc7d257c",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 85,
"avg_line_length": 37.44117647058823,
"alnum_prop": 0.7666928515318147,
"repo_name": "treasure-data/presto",
"id": "4ea05e14f9437a266c09bdb8028f351124f0ec9f",
"size": "... |
"""Support for ANEL PwrCtrl switches."""
from datetime import timedelta
import logging
from anel_pwrctrl import DeviceMaster
import voluptuous as vol
from homeassistant.components.switch import PLATFORM_SCHEMA, SwitchEntity
from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME
import homeassistant.h... | {
"content_hash": "a020d6178cee7095be6eb956aa482a71",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 87,
"avg_line_length": 28.08411214953271,
"alnum_prop": 0.6369384359400998,
"repo_name": "sdague/home-assistant",
"id": "0669a3bb6c6a4fa79dfa225f47b60cd25a68711c",
"size":... |
// Version: $Id$
//
//
// Commentary:
//
//
// Change Log:
//
//
// Code:
#include "dtkAbstractTrimLoopData.h"
#include "dtkContinuousGeometry.h"
/*!
\class dtkAbstractTrimLoopData
\inmodule dtkContinuousGeometry
\brief dtkAbstractTrimLoopData is the data container for trim loop
It cannot be instanciate... | {
"content_hash": "ada52704f4dce6ee17d53c8d68b630ab",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 204,
"avg_line_length": 38.27058823529412,
"alnum_prop": 0.7433138641254227,
"repo_name": "d-tk/dtk-continuous-geometry",
"id": "97e11e59e3862659acc9fa23a8947470dfb55b58",
... |
@implementation UAEC2GetConsoleOutputResponse
@synthesize instanceID=_instanceID, timestamp=_timestamp, output=_output;
- (id)init
{
if (self = [super init])
{
[self UA_addDecodeBase64AdditionalAccessorForSelector:@selector(decodedOutput) propertyName:@"output"];
[self UA_addEncodeBase64AdditionalAccessor... | {
"content_hash": "ffcd022f5c2ba3b1ff6fdf798c5c7344",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 109,
"avg_line_length": 24.435897435897434,
"alnum_prop": 0.7061909758656874,
"repo_name": "unsignedapps/ua-aws-sdk-ios",
"id": "31c2a1c07c1eee0a05524301d881ded578d3d13b",
... |
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ui.win;
import com.intellij.ide.RecentProjectListActionProvider;
import com.intellij.ide.ReopenProjectAction;
import com.intellij.openapi.a... | {
"content_hash": "1b7e029076e0cb6c28a96f035e7624a5",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 158,
"avg_line_length": 35.62820512820513,
"alnum_prop": 0.6928751349406261,
"repo_name": "GunoH/intellij-community",
"id": "17f0d612673abd0ee72d4f8f26017bda1c851453",
"si... |
package org.apache.hadoop.mapreduce.lib.map;
import org.apache.hadoop.util.ReflectionUtils;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.mapreduce.Counter;
import org.apache.hadoop.mapreduce.InputSplit;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.JobContext;
im... | {
"content_hash": "8360267389e08c7852b2bd1493cbca1a",
"timestamp": "",
"source": "github",
"line_count": 259,
"max_line_length": 81,
"avg_line_length": 31.212355212355213,
"alnum_prop": 0.6275358733300347,
"repo_name": "baishuo/hadoop-2.6.0-cdh5.4.7_baishuo",
"id": "47f138e2578162d9fca5b88591c9bcc20cc... |
To enable strict mode, simply pass in `strict: true` when creating a Vuex store:
``` js
const store = new Vuex.Store({
// ...
strict: true
})
```
In strict mode, whenever Vuex state is mutated outside of mutation handlers, an error will be thrown. This ensures that all state mutations can be explicitly tracked by... | {
"content_hash": "2e4922a6631edcde5801891f6aba4822",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 315,
"avg_line_length": 37,
"alnum_prop": 0.7403055229142186,
"repo_name": "feng00001/teamProject",
"id": "f75fb6decab1ad18d2bd1c52805ba3a8f2e89ac7",
"size": "866",
"bina... |
package openblocks.common.item;
import javax.annotation.Nullable;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.IItemPropertyGetter;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ActionResult;
im... | {
"content_hash": "7ba84fbdf7af319fbd5df58503974d97",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 120,
"avg_line_length": 33.83606557377049,
"alnum_prop": 0.7834302325581395,
"repo_name": "TheSilkMiner/OpenBlocks",
"id": "b50131d3f8028e64c82b3bd4c458c3b93e0cd33a",
"size... |
import IronCheckedElementBehavior from './iron-checked-element-behavior';
import layout from '../templates/components/paper-toggle-button';
export default IronCheckedElementBehavior.extend({
layout,
tagName: 'paper-toggle-button'
});
| {
"content_hash": "992d4ce3ffa19615cd55eedb6500e78e",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 73,
"avg_line_length": 34.142857142857146,
"alnum_prop": 0.7907949790794979,
"repo_name": "dunnkers/ember-polymer-paper",
"id": "d67b9afad51afbd71730804d0edd0d1f35189552",
"... |
#import "EC2GroupIdentifier.h"
@implementation EC2GroupIdentifier
@synthesize groupName;
@synthesize groupId;
-(id)init
{
if (self = [super init]) {
groupName = nil;
groupId = nil;
}
return self;
}
-(NSString *)description
{
NSMutableString *buffer = [[NSMutableString alloc]... | {
"content_hash": "06d768e77b2d1cfd7f6cc021cac740d8",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 103,
"avg_line_length": 16.5625,
"alnum_prop": 0.6515723270440251,
"repo_name": "wallisch/aws-sdk-ios-v1",
"id": "eabb62f1283851655d6b0602405540feb4708478",
"size": "1379",... |
#include <aws/directconnect/model/LoaContentType.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Utils;
namespace Aws
{
namespace DirectConnect
{
namespace Model
{
namespace LoaContentTypeMapper
... | {
"content_hash": "462ae53c7525c05920ad1437cf64d4b2",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 92,
"avg_line_length": 27.949152542372882,
"alnum_prop": 0.6228016979987872,
"repo_name": "ambasta/aws-sdk-cpp",
"id": "1f125e6727fa55e407628e161b90d507f5533a41",
"size": "... |
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236
namespace Trippit.Controls
{
public sealed partial class MovableAppBarToggleButton : AppBarToggleButton, ISortableAppBarButton
{
public static readon... | {
"content_hash": "955639aac892eb82e7d1e9955f6d389e",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 138,
"avg_line_length": 41.529411764705884,
"alnum_prop": 0.6218130311614731,
"repo_name": "pingzing/digi-transit-10",
"id": "89020721210d67fe2330260bb49ac5554ca982b0",
"si... |
import { CanActivate, ChangeDetectionStrategy, Component } from "../core";
@Component({
template: require("./search-parameters-list.component.html"),
styles: [require("./search-parameters-list.component.css")],
selector: "search-parameters-list",
inputs: ['entities','edit','remove'],
changeDetection: ... | {
"content_hash": "dad1693b38a19d1575b6a6aa32253e4a",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 74,
"avg_line_length": 35.666666666666664,
"alnum_prop": 0.7149532710280374,
"repo_name": "QuinntyneBrown/azure-search-getting-started",
"id": "77c4a0797a33dfec6d49f631a1dc01... |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer_private;
import android.app.NotificationManager;
import android.content.Context;
import android.content.Intent;
import andr... | {
"content_hash": "51c8655fad227ce0b3da514599490cf6",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 99,
"avg_line_length": 40.57831325301205,
"alnum_prop": 0.683095803642122,
"repo_name": "endlessm/chromium-browser",
"id": "446af44ea47fb71ecb11112e6778bc1352193467",
"siz... |
#define C_LUCY_POLYQUERY
#define C_LUCY_POLYCOMPILER
#include "Lucy/Util/ToolSet.h"
#include "Lucy/Search/PolyQuery.h"
#include "Lucy/Index/DocVector.h"
#include "Lucy/Index/Similarity.h"
#include "Lucy/Plan/Schema.h"
#include "Lucy/Search/Searcher.h"
#include "Lucy/Search/Span.h"
#include "Lucy/Store/InStream.h"
#i... | {
"content_hash": "4a64416367baac4b66e1783718cb96a6",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 78,
"avg_line_length": 34.76190476190476,
"alnum_prop": 0.6573972602739726,
"repo_name": "rectang/lucy",
"id": "2bc5daa03209813f0ffe06e87d8a80d0bdc06369",
"size": "8098",
... |
<?xml version="1.0" encoding="UTF-8"?>
<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>
<group... | {
"content_hash": "1937b6662d2d39cf6ffa5533551e1059",
"timestamp": "",
"source": "github",
"line_count": 499,
"max_line_length": 155,
"avg_line_length": 40.83567134268537,
"alnum_prop": 0.5052264808362369,
"repo_name": "danielgrycman/jbake",
"id": "ffaffc1cf43cf4680b3156c8ea92d63f5c6f54e3",
"size": ... |
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>GoAtThrottleUp - Cameras</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, maximum-scale=1">
<... | {
"content_hash": "bd4f9aab51899b0a19e27ea34d22cf09",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 142,
"avg_line_length": 48.8018018018018,
"alnum_prop": 0.611962340779029,
"repo_name": "RacerXx/GoAtThrottleUp",
"id": "8e4aee8d8140fc1ac9bece3ec7d13d2e486c26a5",
"size":... |
package org.kie.workbench.common.dmn.client.editors.expressions.types.relation;
import org.kie.soup.commons.validation.PortablePreconditions;
import org.kie.workbench.common.dmn.client.editors.expressions.types.context.ExpressionCellValue;
import org.kie.workbench.common.dmn.client.widgets.grid.columns.factory.TextA... | {
"content_hash": "4a38af9f9f41c5d934c560981a6dab83",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 111,
"avg_line_length": 43.60550458715596,
"alnum_prop": 0.6581106669471912,
"repo_name": "ederign/kie-wb-common",
"id": "38036969998b2947a290c89ddace8c3b3db56485",
"size"... |
package eu.leads.processor.core.net;
/**
* Created by vagvaz on 7/8/14.
*/
public class ComUtils {
public static int DEFAULT_RETRIES = 3;
public static long DEFAULT_TIMEOUT = 60000;
public static final java.lang.String P2P = "P2P";
public static final java.lang.String GROUP = "GROUP";
public static final... | {
"content_hash": "9df354455eb47e9662354218810808fb",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 61,
"avg_line_length": 25.928571428571427,
"alnum_prop": 0.7162534435261708,
"repo_name": "leads-project/multicloud-mr",
"id": "23e30ba453ef6f63f761e2582f2a79a6722cd7b2",
"... |
package de.terrestris.shogun2.importer.communication;
import de.terrestris.shogun2.importer.communication.AbstractRESTEntity;
/**
* A data is the description of the source data of a import (overall) or a
* task. In case the import has a global data definition, this normally refers
* to an aggregate store such as a... | {
"content_hash": "f38958ecad389677c12c4628ff67cb8c",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 78,
"avg_line_length": 20.037735849056602,
"alnum_prop": 0.5870998116760828,
"repo_name": "marcjansen/shogun2",
"id": "4a60bb0ecb12e5a1b46770c8d1f16ace4cc6bd28",
"size": "... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang='en'>
<head>
<meta name="generator" content="AWStats 6.7 (build 1.892) from config file awstats.2818332.conf (http://awstats.sourceforge.net)">
<meta name="robots" content="noindex,nofollow">
<meta http-equiv="content-type" content="text/html; c... | {
"content_hash": "f9bb0324e3f26eb0dbfbaa40efa8a6e8",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 382,
"avg_line_length": 72.80681818181819,
"alnum_prop": 0.6858123926954893,
"repo_name": "zparnold/cd-risc",
"id": "a3b21b2739785e9e3f6dbcd045a2f4c437c02d90",
"size": "640... |
<html>
<head>
<title></title>
<script type="text/javascript" src="../../lib/scenejs.js"></script>
<link href="../web/style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="container">
<div id="header">
<div id="header-nav">
</div>
<div id="header-inner">
... | {
"content_hash": "4a7b26bd22cf805fd0f5dd8afe4b416b",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 117,
"avg_line_length": 38.11940298507463,
"alnum_prop": 0.5497259201252936,
"repo_name": "fridek/scenejs-physics",
"id": "8e54e12209b3105611e7c514b366d43c9c1f9553",
"size"... |
namespace Gringo { namespace Input { namespace Test {
TEST_CASE("input-nongroundlexer", "[input]") {
Gringo::Test::TestGringoModule module;
std::ostringstream oss;
Potassco::TheoryData td;
Output::OutputBase out(td, {}, oss);
Program prg;
Defines defs;
Gringo::Test::TestContext context;
... | {
"content_hash": "1639ffc06ebed33a83a6158a2bd34293",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 97,
"avg_line_length": 40.84126984126984,
"alnum_prop": 0.6148464827050136,
"repo_name": "peschue/clingo",
"id": "370ffb9c42c402fca33017b51b0706a2ee3e39a2",
"size": "3961",... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
Since when call is used for Function constructor themself new function instance creates
and then first argument(thisArg) should be ignored
es5id: 15.3_A3_T3
descript... | {
"content_hash": "3187cb838db11d7831def63af2efc8fe",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 91,
"avg_line_length": 19.414634146341463,
"alnum_prop": 0.6256281407035176,
"repo_name": "m0ppers/arangodb",
"id": "e5970dbd6a06013e96c7296fa75f2e6b3da7bdca",
"size": "796... |
package br.edu.ufcg.splab.designmetrics.mocks.cbo2;
public class ClassFive {
private Integer id;
private String name;
private ClassTwo two;
public ClassFive() {
this.id = 5;
this.name = "Five";
this.two = new ClassTwo();
}
public Integer getId() {
return id;... | {
"content_hash": "2103f0cc5aaa73c4f6001aefb66cec6f",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 51,
"avg_line_length": 17.638297872340427,
"alnum_prop": 0.5428226779252111,
"repo_name": "tacianosilva/designmetrics",
"id": "1a12e81462555d1667f8041207b634d8f274e445",
"s... |
const NavigationCallExp = require("./NavigationCallExp");
const codeGenMixin = require("../CodeGenMixins/AssociationClassCallExp");
class AssociationClassCallExp extends codeGenMixin(NavigationCallExp) {
constructor() {
super();
}
}//end AssociationClassCallExp
module.exports = AssociationClassCallExp;
| {
"content_hash": "6ce4716dd9a8d4aa5cd10eacb3147aff",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 73,
"avg_line_length": 17.77777777777778,
"alnum_prop": 0.775,
"repo_name": "evonox/NodeMDA-OCL-to-JavaScript-compiler",
"id": "148638cd52c6982e9b330114fb02f015a8e340b5",
"... |
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('organization', '0014_auto_20160619_1837'),
]
operations = [
migrations.AlterField(
model_name='organization',
name='verified... | {
"content_hash": "45b79bc4208488e6c68c809f0b2373bc",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 139,
"avg_line_length": 26.666666666666668,
"alnum_prop": 0.6416666666666667,
"repo_name": "sakset/getyourdata",
"id": "159033cdd60bdcd91b41d54b7069963f002ffbb3",
"size": "... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="authorGroupDAO">
<resultMap id="authorGroup" type="egovframework.com.sec.rgm.service.AuthorGroupVO">
<result property="userId" column="USER... | {
"content_hash": "4e93be35ff6f517ff34a5baacb80a27d",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 127,
"avg_line_length": 41.41463414634146,
"alnum_prop": 0.4933254809579898,
"repo_name": "dasomel/egovframework",
"id": "784393a41c5d53a97adb83309f2ae826c86d8ac2",
"size"... |
class CreateVotes < ActiveRecord::Migration
def change
create_table :votes do |t|
t.belongs_to :user, index: true
t.belongs_to :post, index: true
t.integer :weight, null: false
t.timestamps null: false
end
add_foreign_key :votes, :users
add_foreign_key :votes, :posts
end
end... | {
"content_hash": "6e2373e6b9d44ac63c08fafe1c88c8a2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 43,
"avg_line_length": 24.692307692307693,
"alnum_prop": 0.6510903426791277,
"repo_name": "GUC-SE-2015/redditRails",
"id": "194582abd8ec01585d5fbffef648af9e72283b84",
"size... |
import Controller from '@ember/controller';
import { computed } from '@ember/object';
export default Controller.extend({
modes: computed(function() {
return ['tree', 'view', 'form', 'code', 'text'];
}),
mode: 'tree',
name: 'JSONEditor'
});
| {
"content_hash": "29273aa6bc7f0d12917c3d57f233b94d",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 52,
"avg_line_length": 25.3,
"alnum_prop": 0.6403162055335968,
"repo_name": "Glavin001/ember-jsoneditor",
"id": "cce8bfdd2348b3a2a1632d813cd0a731ec1064e5",
"size": "253",
... |
'use strict';
/**
* Module dependencies.
*/
var should = require('should'),
mongoose = require('mongoose'),
User = mongoose.model('User'),
House = mongoose.model('House');
/**
* Globals
*/
var user, house;
/**
* Unit tests
*/
describe('House Model Unit Tests:', function() {
beforeEach(function(done) {
us... | {
"content_hash": "6a301fac05346b2f37eca401712b5ad8",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 87,
"avg_line_length": 17.1875,
"alnum_prop": 0.5890909090909091,
"repo_name": "lodgefy/lfy-api",
"id": "284d378cb5676b6f9988489ad522adad00dfeb2d",
"size": "1100",
"binar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.