text
stringlengths
2
1.04M
meta
dict
const express = require("express"); const path = require("path"); const favicon = require("serve-favicon"); const logger = require("morgan"); const cookieParser = require("cookie-parser"); const bodyParser = require("body-parser"); const routes = require("./routes/index"); const getLocale = require("./routes/get-local...
{ "content_hash": "85057ccd7fea7e695b3b1ae70af7284b", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 68, "avg_line_length": 25.596774193548388, "alnum_prop": 0.6717076244486453, "repo_name": "bxyoung89/dota2picker", "id": "53179abcf38dcbe6cc63ff6ee01501d46c8e35ca", "size":...
namespace { typedef HRESULT (STDAPICALLTYPE* RegisterApplicationRestartProc)( const wchar_t* command_line, DWORD flags); void InitializeWindowProcExceptions() { // Get the breakpad pointer from chrome.exe base::win::WinProcExceptionFilter exception_filter = reinterpret_cast<base::win::WinProcExcepti...
{ "content_hash": "2e6030f0e1b0a0da70beafa8ff6f66a9", "timestamp": "", "source": "github", "line_count": 336, "max_line_length": 80, "avg_line_length": 39.13095238095238, "alnum_prop": 0.6930331609370246, "repo_name": "windyuuy/opera", "id": "9fdfc4b7bbaf7afc73dda9363794186d8af56105", "size": "15259...
package org.apache.flink.runtime.dispatcher; import org.apache.flink.api.common.JobID; import org.apache.flink.api.common.time.Time; import org.apache.flink.configuration.BlobServerOptions; import org.apache.flink.configuration.Configuration; import org.apache.flink.core.testutils.OneShotLatch; import org.apache.fli...
{ "content_hash": "8a7385a701a26cb07d8af07b06fca63e", "timestamp": "", "source": "github", "line_count": 801, "max_line_length": 379, "avg_line_length": 37.96754057428215, "alnum_prop": 0.8095488622912008, "repo_name": "ueshin/apache-flink", "id": "889160cbc85cd5c94a748102eec2192ba90b8efe", "size": ...
Tests which exercise or span multiple project components of Red5
{ "content_hash": "57068b3de3302b100e61a9685847068c", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 64, "avg_line_length": 65, "alnum_prop": 0.8461538461538461, "repo_name": "Red5/red5-tests", "id": "cba2e1b81254e0f68068de7096b65d0ace6eb7a6", "size": "78", "binary": fals...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_20) on Tue Jul 19 23:14:44 CEST 2011 --> <TITLE> ResSharingScopeType </TITLE> <META NAME="date" CONTENT="2011-07-19"> <LINK REL ="stylesheet" TYPE=...
{ "content_hash": "04c3a4274fee0cfa128bebb3c5741b51", "timestamp": "", "source": "github", "line_count": 389, "max_line_length": 278, "avg_line_length": 43.99228791773779, "alnum_prop": 0.6527785893764974, "repo_name": "shrinkwrap/descriptors", "id": "55d11a44d971b1a3211526b72a8f10c38f770481", "size...
#include "Row.h" /* constructor init() is called once for each row, to set scanner's uC strobePin to output. */ Row::Row(ScannerInterface& refScanner, const uint8_t strobePin, Key* const ptrsKeys[], const uint8_t keyCount) : refScanner(refScanner), strobePin(strobePin), ptrsKeys(ptrsKeys), k...
{ "content_hash": "109682502ab8e46234fc03dd18eccf75", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 97, "avg_line_length": 35.317460317460316, "alnum_prop": 0.6175280898876404, "repo_name": "wolfv6/keybrd", "id": "953ed9485c936357e9f5ae4db8c748a6c0939707", "size": "2225",...
namespace graphics { namespace { std::vector<window_manager>& get_windows() { static std::vector<window_manager> res; return res; } } window_manager::window_manager() : window_(nullptr), renderer_(nullptr), width_(1024), height_(768) { } void window_manager::create_window(const std::stri...
{ "content_hash": "fa806e1a184d8106690a67ecff308732", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 103, "avg_line_length": 25.449152542372882, "alnum_prop": 0.6323676323676324, "repo_name": "sweetkristas/hexes", "id": "c723bbdd122d4ae4dfbf3bff1972b271e5ecc0c9", "size": ...
<?php namespace Phinx\Migration; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Phinx\Config\ConfigInterface; use Phinx\Migration\Manager\Environment; use Phinx\Seed\AbstractSeed; use Phinx\Seed\SeedInterface; use Phinx\Util\Util; class Manager { /**...
{ "content_hash": "3a77ade013d236a656a8e4a2be5f3738", "timestamp": "", "source": "github", "line_count": 857, "max_line_length": 193, "avg_line_length": 33.8144690781797, "alnum_prop": 0.5188239759826081, "repo_name": "0neiroi/ExplorAction", "id": "7dc833e1aef37f231630758360aea500c19f1471", "size": ...
package org.jetbrains.plugins.scala package lang.rearranger import com.intellij.application.options.codeStyle.arrangement.ArrangementSettingsPanel import com.intellij.psi.codeStyle.CodeStyleSettings /** * @author Roman.Shein * Date: 15.07.13 */ class ScalaArrangementPanel(settings: CodeStyleSettings) extends Arran...
{ "content_hash": "4468940fcf12027bb89ca0fe9d788ef6", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 125, "avg_line_length": 29.526315789473685, "alnum_prop": 0.8092691622103387, "repo_name": "triplequote/intellij-scala", "id": "8db7c08d5745eddf5965f4baa0031a9c762d6248", "...
/** * @author Bart Whiteley * @author Dan Nuffer */ #ifndef OW_SELECTABLEIFC_HPP_INCLUDE_GUARD_ #define OW_SELECTABLEIFC_HPP_INCLUDE_GUARD_ #include "OW_config.h" #include "OW_Types.hpp" #include "OW_IfcsFwd.hpp" #include "OW_IntrusiveCountableBase.hpp" namespace OW_NAMESPACE { class OW_COMMON_API SelectableIFC...
{ "content_hash": "a934be948a1f6482e9f6f979b15f6c68", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 65, "avg_line_length": 17.85185185185185, "alnum_prop": 0.7344398340248963, "repo_name": "kkaempf/openwbem", "id": "dcb4e81acc1b47a517389cb7144efad20ee73d92", "size": "2187...
<!doctype html> <html class="theme-next "> <head> <meta charset="UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> <meta http-equiv="Cache-Control" content="no-transform" /> <meta http-equiv="Cache-Contro...
{ "content_hash": "172139ca33d65ffb99055021d1098164", "timestamp": "", "source": "github", "line_count": 447, "max_line_length": 165, "avg_line_length": 24.624161073825505, "alnum_prop": 0.5322067775052239, "repo_name": "wuxu92/wuxu92.github.io", "id": "036ffddeb15550e30a4f255861fdd2dc9861ee7d", "si...
wp_theme_hello_world ==================== Hello World of Wordpress Theme
{ "content_hash": "5ba4dadba907669b8c3c111f6f691360", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 30, "avg_line_length": 18.5, "alnum_prop": 0.581081081081081, "repo_name": "hekai/wp_theme_hello_world", "id": "a5b52baa580eea67c09167686a8e33f377d70d6f", "size": "74", "b...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Web; using Orchard.ContentManagement; using Orchard.FileSystems.Media; using Orchard.Forms.Services; using Orchard.Logging; using Orchard.MediaProcessing.Descriptors.Filter; us...
{ "content_hash": "f830b0c1d958f23b55d69afb8873e377", "timestamp": "", "source": "github", "line_count": 207, "max_line_length": 194, "avg_line_length": 43.7487922705314, "alnum_prop": 0.5715547703180212, "repo_name": "innovatorygroup/MainSite", "id": "f77c777793fac8a27331f4123b46fa0518458e4a", "siz...
(function(){ 'use strict'; angular.module('App.Config') .factory('PageSettings', pageSettings); function pageSettings(){ var data = {}; data.PageTitle = "Page Startup Title"; data.PageDescription = "Page description for test"; data.PageLang = "pl"; data.ForceHttps = false; return data; } }())...
{ "content_hash": "684c8e8c25b2ebe657fdfd122d597cc3", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 53, "avg_line_length": 16.05, "alnum_prop": 0.6542056074766355, "repo_name": "team-codetown/CT-Builder", "id": "595c07209df017589943f61b6cb4ac1c71d00cc7", "size": "321", ...
<html> <head> <title>Mozilla/5.0 (SAMSUNG; SAMSUNG-GT-S7250-BOUYGUES/S7250AGLG2; U; Bada/2.0; xx) AppleWebKit/534.20 (KHTML, like Gecko) Dolfin/3.0 Mobile HVGA SMM-MMS/1.2.0 OPN-B</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> ...
{ "content_hash": "bd7fbec62b1a7508f78a8d4354ef08bb", "timestamp": "", "source": "github", "line_count": 954, "max_line_length": 551, "avg_line_length": 40.237945492662476, "alnum_prop": 0.5207752624586448, "repo_name": "ThaDafinser/UserAgentParserComparison", "id": "6178cd9de86a1978f1cd21033139d5e06e...
import * as spaceActions from 'gModules/spaces/actions' import e from 'gEngine/engine' // TODO(matthew): Doing fact/metric translations here means that systems that rely on guesstimate idenity comparisons // (e.g. action triggering qualifiers) will break. export function changeGuesstimate(metricId, newGuesstimate, sh...
{ "content_hash": "395df7c84d9a1cf40a043c8788cfe038", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 132, "avg_line_length": 47.241379310344826, "alnum_prop": 0.7197080291970803, "repo_name": "getguesstimate/guesstimate-app", "id": "65e18acbb27f27658db045f5027343cdb01f2dbd",...
<?php /** * @namespace */ namespace ZendTest\GData\Spreadsheets; use Zend\GData\Spreadsheets; use Zend\GData\Spreadsheets\Extension; use Zend\GData\App; /** * @category Zend * @package Zend_GData_Spreadsheets * @subpackage UnitTests * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://...
{ "content_hash": "241e30447034ebdc1ae1d2e2bbff3b11", "timestamp": "", "source": "github", "line_count": 211, "max_line_length": 87, "avg_line_length": 37.6303317535545, "alnum_prop": 0.5909319899244333, "repo_name": "0x20h/zf2", "id": "21e3e6ffc14379d5a5b2bb0a80262d011ec53fa3", "size": "8670", "b...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "1ab2d267e112388992bcb6ebeb0880b2", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "4475205f95c0c0812084bcb87b28256490d8add6", "size": "19...
package hudson.model; import hudson.views.ListViewColumn; import hudson.views.ListViewColumnDescriptor; import hudson.views.ViewJobFilter; import jenkins.model.Jenkins; import org.kohsuke.stapler.QueryParameter; import java.util.List; /** * {@link Descriptor} for {@link View}. * * @author Kohsuke Kawaguchi * @s...
{ "content_hash": "bdc428dd36aa6c435cbf98a00eecc42d", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 103, "avg_line_length": 28.602272727272727, "alnum_prop": 0.6110448947159317, "repo_name": "aheritier/jenkins", "id": "afe3a5f828f6fa4d2ae4d883bfde4c8e3cb8ecd4", "size": "3...
<?xml version="1.0" encoding="UTF-8"?> <MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xm...
{ "content_hash": "eac8b871bf1ea8e113728eab7145ae3d", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 853, "avg_line_length": 67.56521739130434, "alnum_prop": 0.7168597168597168, "repo_name": "stop-time/pm_ut11", "id": "8c29315883a31da9d5d12914e42ede6343b82947", "size": "16...
import uuid from oslo_log import log as logging from oslo_serialization import jsonutils from oslo_service import service from oslo_utils import timeutils import requests import six from six.moves.urllib import parse as urlparse from conveyor.conveyorheat.common import crypt from conveyor.conveyorheat.common import e...
{ "content_hash": "65bb6f8c53dc3e88b4636e6150296f44", "timestamp": "", "source": "github", "line_count": 344, "max_line_length": 79, "avg_line_length": 41.43604651162791, "alnum_prop": 0.5952013469903185, "repo_name": "Hybrid-Cloud/conveyor", "id": "5edfbb1d9f8de024e5851845ab29551c80c2eb31", "size":...
<?php namespace Sp\PaisBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; /** * This is the class that validates and merges configuration from your app/config files * * To learn more see {@link http://symfony.com...
{ "content_hash": "cbc6659ff4144e65a4e7bbb71823c36d", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 131, "avg_line_length": 29.862068965517242, "alnum_prop": 0.7136258660508084, "repo_name": "pedrosas/basesym", "id": "80cbbeae7e62a0b9388bb461ab9583710cef9b79", "size": "86...
angular.module('myApp.admin.fields', [ 'myApp.common.services', 'ui.bootstrap' ]). config(['$routeProvider', 'securityAuthorizationProvider', function ($routeProvider, securityAuthorizationProvider) { $routeProvider.when('/admin/fields', { title: 'Manage Fields', templateUrl: 'app/admin/fields/list.tpl.html', ...
{ "content_hash": "5a6d5c0232e943ebd7648fefaaa1656a", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 125, "avg_line_length": 30.95098039215686, "alnum_prop": 0.6499841621792841, "repo_name": "bign8/purchasing-system", "id": "c6f2f4081e79f56611d99a1017414e1ca4bf0f0e", "siz...
<?php /** * @namespace */ namespace ZendTest\Test\PHPUnit\Db; use Zend\Test\PHPUnit\Db; /** * @category Zend * @package Zend_Test * @subpackage UnitTests * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New ...
{ "content_hash": "23a694edc291eb0e091ed0a6a566bd49", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 95, "avg_line_length": 32.6031746031746, "alnum_prop": 0.6212268743914313, "repo_name": "Techlightenment/zf2", "id": "17e5fa7822bb5929f18a252b0bc12726f7d1f1f3", "size": "27...
package com.fsck.k9.activity; import android.app.FragmentManager; import android.app.LoaderManager; import android.app.LoaderManager.LoaderCallbacks; import android.content.Context; import android.content.Intent; import android.content.IntentSender; import android.content.Loader; import android.os.Bundle; import andr...
{ "content_hash": "32c3163be720a718b658351535aaa8d8", "timestamp": "", "source": "github", "line_count": 475, "max_line_length": 120, "avg_line_length": 38.15157894736842, "alnum_prop": 0.6908177905308465, "repo_name": "jca02266/k-9", "id": "954cf620898a158312750abe4e72a243a543dab2", "size": "18122"...
import {Expression, ExternalExpr, WrappedNodeExpr} from '@angular/compiler'; import {ExternalReference} from '@angular/compiler/src/compiler'; import * as ts from 'typescript'; import {LogicalFileSystem, LogicalProjectPath} from '../../path'; import {getSourceFile, isDeclaration, nodeNameForError, resolveModuleName}...
{ "content_hash": "bce900b9bff7ff8552965a3108d3fc62", "timestamp": "", "source": "github", "line_count": 265, "max_line_length": 153, "avg_line_length": 40.905660377358494, "alnum_prop": 0.7168819188191882, "repo_name": "mlaval/angular", "id": "fcfb24edcd872fcd63fd20d644f7c957f9f1bcfb", "size": "110...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in Fl. Brit. W. I. 417. 1862 #### Original name null ### Remarks null
{ "content_hash": "6f5e4d84076d0bbf6527133d4b5dc197", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 11.846153846153847, "alnum_prop": 0.6688311688311688, "repo_name": "mdoering/backbone", "id": "d5daae28b32b5abb710812828d08b3000065a179", "size": "20...
import redis from ast import literal_eval from . import RoundRobinDb, range_func class RedisRoundRobinDb(RoundRobinDb): def __init__(self, redis_db): server,port=redis_db.split(":") port = int(port) self.db = redis.StrictRedis(host=server, port=port, db=0) self._init_db() s...
{ "content_hash": "82b2460936770871b25aa0c8c1c73343", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 89, "avg_line_length": 37.017391304347825, "alnum_prop": 0.5759924829692271, "repo_name": "adeadman/rrd-tool", "id": "65d67b022f49d48324b45a771d03859ed682b051", "size": "4...
from . import AWSObject from . import AWSProperty class Target(AWSProperty): props = { 'TargetAddress': (basestring, False), 'TargetType': (basestring, False), } class NotificationRule(AWSObject): resource_type = "AWS::CodeStarNotifications::NotificationRule" props = { 'Deta...
{ "content_hash": "38e7c553d4e3c9103c8336fccb54d1e7", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 66, "avg_line_length": 25.391304347826086, "alnum_prop": 0.5958904109589042, "repo_name": "ikben/troposphere", "id": "a1e27ca4d59e223d01a146ae0ef7b69e88739db5", "size": "79...
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" > <translate android:duration="500" android:fromXDelta="-30" android:toXDelta="0" /> <alpha android:duration="500" android:fromAlpha="0.0" android:toAlpha="1.0...
{ "content_hash": "18770d6a016a669c9558a123ea85362d", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 65, "avg_line_length": 23.785714285714285, "alnum_prop": 0.5855855855855856, "repo_name": "LeonardoCardoso/Unshorten-It", "id": "38ca2cc0fc248936a8a9f004eaaf0709731e098b", ...
$(document).ready( function() { $('#submit').click(function(e) { $('#submit').addClass('disabled'); var date = $('#date').val().replace(/\-/g, '/'); var memo = $('#memo').val(); chrome.runtime.getBackgroundPage(function(bp) { chrome.runtime.sendMessage({ t...
{ "content_hash": "f3fe8b2615a945b799bb32f960145f80", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 77, "avg_line_length": 33.84615384615385, "alnum_prop": 0.4492424242424242, "repo_name": "loudlyapps/ReSendMeLater", "id": "a13b8d644c2c696ebc5aec69a54eb00d0a44f8ae", "size...
<?php namespace App\Repositories; use App\User; class UserRepository { /** * @var User */ private $user; public function __construct(User $user) { $this->user = $user; } /** * @param string $username * * @return User|null */ public function retrieve...
{ "content_hash": "307dcc7443960d1959b5d7b00640a24c", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 50, "avg_line_length": 15.916666666666666, "alnum_prop": 0.468586387434555, "repo_name": "itmayziii/blog-api", "id": "4137aa54acca04a070ba9668ff63c07ffd726da0", "size": "76...
package org.zaproxy.zap.extension.selenium.internal; import org.openqa.selenium.WebDriver; import org.zaproxy.zap.extension.selenium.Browser; import org.zaproxy.zap.extension.selenium.ExtensionSelenium; import org.zaproxy.zap.extension.selenium.ProvidedBrowser; import org.zaproxy.zap.extension.selenium.SingleWebDrive...
{ "content_hash": "944d9e7ec9de588a3b6e5d11a04d0df3", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 90, "avg_line_length": 27.90909090909091, "alnum_prop": 0.6689739413680782, "repo_name": "psiinon/zap-extensions", "id": "a64290a6145b60d6b7b23340f9630b89755a2394", "size":...
/* * Created on Jan 31, 2007 */ package org.griphyn.vdl.karajan.monitor.monitors.ansi.tui; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class Container extends Component { protected List<Component> components; protected Component focused...
{ "content_hash": "831fb7f23e281d59dbd5e63b7b9388fd", "timestamp": "", "source": "github", "line_count": 176, "max_line_length": 69, "avg_line_length": 23.414772727272727, "alnum_prop": 0.484348459111866, "repo_name": "swift-lang/swift-k", "id": "d67f6c1155aeb383946752f55083fd38a4adf84f", "size": "4...
function initNPCHLC() all_npcs = {} unsynced_npcs = {} last_update = {} initNPCControl() end addEventHandler("onResourceStart",resourceRoot,initNPCHLC) function addNPCToUnsyncedListOnStopSync() addNPCToUnsyncedList(source) end function removeNPCFromUnsyncedListOnStartSync() removeNPCFromUnSyncedList(source) end...
{ "content_hash": "889c00ecb01ab8e60d8ddd282e5d1f8c", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 58, "avg_line_length": 19.448979591836736, "alnum_prop": 0.7859391395592865, "repo_name": "404rq/GTW-RPG", "id": "7ac66dc2efb6de758f9aaad93c8d78f3b720d5b8", "size": "953", ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>http://www.w3.org/2001/DOM-Test-Suite/level1/core/nodenotationnodeattribu...
{ "content_hash": "bc97bf5b89bb13fb62d2b2d8ac72e99c", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 165, "avg_line_length": 30.051470588235293, "alnum_prop": 0.6865671641791045, "repo_name": "sergecodd/FireFox-OS", "id": "b570ac2217f2e270e15aea920ea83cd947317200", "size"...
package usbong.android.builder.utils; import android.util.Log; import java.io.*; import java.util.*; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; import java.util.zip.ZipOutputStream; /** * Created by Rocky Camacho on 7/7/2014. */ public class FileUtils { private static final String TAG = File...
{ "content_hash": "39cd56102b322513bfa7bf3f241a6840", "timestamp": "", "source": "github", "line_count": 190, "max_line_length": 137, "avg_line_length": 38.49473684210526, "alnum_prop": 0.5302160240634399, "repo_name": "cereblanco/usbong-builder", "id": "196608cd0e30cf6a6bf2bc4594d48709c9d7545c", "s...
<!-- Safe sample input : get the field userData from the variable $_GET via an object, which store it in a array sanitize : cast via + = 0 File : use of untrusted data in a simple quote attribute --> <!--Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use...
{ "content_hash": "eb549708130bd32e4cd89c14ad0ab604", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 95, "avg_line_length": 22.3943661971831, "alnum_prop": 0.7150943396226415, "repo_name": "stivalet/PHP-Vulnerability-test-suite", "id": "8b2663c5ff5faa1ee80947cd8da2799ba12371...
package org.teavm.backend.lowlevel.analyze; import org.teavm.model.MethodReference; import org.teavm.model.lowlevel.Characteristics; import org.teavm.model.optimization.InliningFilter; import org.teavm.model.optimization.InliningFilterFactory; public class LowLevelInliningFilterFactory implements InliningFilterFacto...
{ "content_hash": "61ad9061d50d2530b27894aa30c2721f", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 100, "avg_line_length": 34.95, "alnum_prop": 0.804005722460658, "repo_name": "konsoletyper/teavm", "id": "3fbf170b42be4aced8e6f74f141b97add0db4b86", "size": "1308", "bina...
package server.player; import java.io.BufferedWriter; import java.io.IOException; import java.io.OutputStreamWriter; import server.MusicTrack; import utilities.IO; import utilities.ProcessCommunicator; public class OMXPlayer implements MusicPlayer { private Process playerProcess; private boolean playing = true; ...
{ "content_hash": "44e6287ffdb2e303be1c3f30c668fa7f", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 86, "avg_line_length": 21.68421052631579, "alnum_prop": 0.7160194174757282, "repo_name": "Haeldeus/JukePi", "id": "0bee7a17450139ec3dd9ac11a6769b97fa42831d", "size": "1648"...
// <copyright file="TelecommunicationProviderMySqlDbContext.cs" company="Krypton"> // MIT License // </copyright> // <author>Aleksandra92, DragnevaPavlina, alexizvely, The.Bager, pepinho24, grukov</author> namespace TelecommunicationProvider.MySqlDb { using System.Data.Entity; using Models; using Tele...
{ "content_hash": "f700d15f8ca8582508bb3f748fedbeec", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 91, "avg_line_length": 32.47222222222222, "alnum_prop": 0.7005988023952096, "repo_name": "Krypton-Database/TelecommunicationProviderDatabase", "id": "0a093b0daf3af644c3f6fd7e...
package org.bitcoins.node.networking.peer import akka.actor.ActorRefFactory import org.bitcoins.chain.api.ChainApi import org.bitcoins.chain.blockchain.ChainHandler import org.bitcoins.chain.config.ChainAppConfig import org.bitcoins.chain.models.{ BlockHeaderDAO, CompactFilterDAO, CompactFilterHeaderDAO } import...
{ "content_hash": "06089f73da3626f6b9134cf07dd52b94", "timestamp": "", "source": "github", "line_count": 295, "max_line_length": 114, "avg_line_length": 33.31525423728814, "alnum_prop": 0.6736874236874237, "repo_name": "bitcoin-s/bitcoin-s-core", "id": "7f78a86fe811743d1875ff0d8308b7c795fad5ad", "si...
package resources // Copyright (c) Microsoft and contributors. All rights reserved. // // 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 // // U...
{ "content_hash": "f28b89275573e3892cc2c71592c2dc5d", "timestamp": "", "source": "github", "line_count": 703, "max_line_length": 178, "avg_line_length": 41.17638691322902, "alnum_prop": 0.7591114796006495, "repo_name": "dobbymoodge/origin", "id": "e29796e8b910c4deaf89360f49a890ba338cdbee", "size": "...
bt_response_buffer_t * bt_serialize_scrape_response(bt_scrape_resp_t *response_data) { int num_entries = bt_list_length(response_data->scrape_entries); /* Creates the object where the serialized information will be written to. */ size_t resp_length = 8 + num_entries * 12; bt_response_buffer_t *resp_buffer = ...
{ "content_hash": "ba7f1fb30aaf01d5f464fd92998baa15", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 79, "avg_line_length": 30.226190476190474, "alnum_prop": 0.67073651043718, "repo_name": "danielfm/bttracker", "id": "2c02db1352ecc20c2b942e7db7d4ddfce8a252ee", "size": "411...
package com.suscipio_solutions.consecro_mud.MOBS; import com.suscipio_solutions.consecro_mud.Abilities.interfaces.Ability; import com.suscipio_solutions.consecro_mud.Common.interfaces.CharStats; import com.suscipio_solutions.consecro_mud.Common.interfaces.Faction; import com.suscipio_solutions.consecro_mud.Items.interf...
{ "content_hash": "80890291d74202b6937097ec41691ae0", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 94, "avg_line_length": 31.21875, "alnum_prop": 0.7457457457457457, "repo_name": "ConsecroMUD/ConsecroMUD", "id": "1076f5bb14e1bf61bcac529545e381a242f4c076", "size": "1998",...
<?php /** * @file * Contains \Drupal\contact\MailHandler. */ namespace Drupal\contact; use Drupal\Core\Entity\EntityManagerInterface; use Drupal\Core\Language\LanguageManagerInterface; use Drupal\Core\Mail\MailManagerInterface; use Drupal\Core\Session\AccountInterface; use Drupal\Core\StringTranslation\StringTran...
{ "content_hash": "80e68d45bf3bbd39ed5b03140b0fd0dc", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 218, "avg_line_length": 36.006711409395976, "alnum_prop": 0.6730661696178938, "repo_name": "komejo/d8demo-dev", "id": "308acf588678851a99f8064edd83f0fb1a7a1758", "size": "...
<!DOCTYPE html> <html lang="en" > <head> <meta charset="utf-8"> <title>Whitespace and line break transformation</title> <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'> <link rel='help' href='https://drafts.csswg.org/css-text-3/#line-break-transform'> <meta name="assert" content="All spaces and t...
{ "content_hash": "2828d0fcd848754769b4aa285c4b7cbc", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 200, "avg_line_length": 42.79032258064516, "alnum_prop": 0.7218243497926875, "repo_name": "scheib/chromium", "id": "cb7b0f30b566320c1022f61fde44bc09695badb1", "size": "2653...
using System; using System.Collections.Generic; using System.Text; namespace OpenArrow.Reporting { /// <summary> /// Provides an interface to a Progress Reporters, which is a type that allows a caller /// to track the results of a method call. This feature requires that the method call /// accept a Pro...
{ "content_hash": "53e7f6b157d5387a688178bb410341a7", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 143, "avg_line_length": 41.10144927536232, "alnum_prop": 0.5825105782792666, "repo_name": "andywiddess/Hydra", "id": "60b1b0b610ad88651cc3d139e70ed88de6490497", "size": "40...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in A. P. de Candolle, Prodr. 4:15. 1830 #### Original name null ### Remarks null
{ "content_hash": "01fbb2a71648e7d1892ab4af734a2ce6", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 12.76923076923077, "alnum_prop": 0.6807228915662651, "repo_name": "mdoering/backbone", "id": "3b44ae72a5f5ba0ebfcb3f694bd013c819e3e464", "size": "225...
// Copyright (c) Microsoft Technologies, Inc. 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.ObjectModel; using System.Diagnostics; using System.IO; usin...
{ "content_hash": "bdec3463cf483c9abbd1715d211de3b8", "timestamp": "", "source": "github", "line_count": 609, "max_line_length": 174, "avg_line_length": 33.29228243021346, "alnum_prop": 0.5080641183723797, "repo_name": "webhost/Azure-Websites-Migration-Tool", "id": "8498b4d486e21c2eb16e0ffee84112e08ea...
The purpose of this page is to collect information about issues that arise when users either have an existing cabal project or another nonstandard setup such as a private hackage database. ## Using a Cabal File New users may be confused by the fact that you must add dependencies to the package's cabal file, even in th...
{ "content_hash": "57245b1ccedfbd4ded5f342266868b9c", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 441, "avg_line_length": 48.64, "alnum_prop": 0.7709703947368421, "repo_name": "rvion/stack", "id": "674806f60d6902807cd532b488555fd7b8d55017", "size": "4919", "binary": ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>tlc: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="...
{ "content_hash": "b5679240acdcea2929ff5bb3f418c51c", "timestamp": "", "source": "github", "line_count": 170, "max_line_length": 157, "avg_line_length": 38.95882352941177, "alnum_prop": 0.5290653782273894, "repo_name": "coq-bench/coq-bench.github.io", "id": "6191c35f8ace75e125a9e30b50cb199f21aaa00e", ...
.class public abstract Landroid/view/accessibility/IAccessibilityManagerClient$Stub; .super Landroid/os/Binder; .source "IAccessibilityManagerClient.java" # interfaces .implements Landroid/view/accessibility/IAccessibilityManagerClient; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = ...
{ "content_hash": "ce8fc0866851ca408d6cf824235f5396", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 155, "avg_line_length": 25.061728395061728, "alnum_prop": 0.7029556650246306, "repo_name": "Liberations/Flyme5_devices_base_cm", "id": "ef7569bf1cd994aeab18f841b52f56c4c5cfd...
package org.dasein.cloud.aws.compute; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; import org.apache.log4j.Logger; import org.dasein.cloud.CloudException; import org.dasein.cloud.InternalException; import org.dasein.cloud.OperationNotSupportedException; import org.dasein.c...
{ "content_hash": "b7e45b0cd381c47625924c091fb93065", "timestamp": "", "source": "github", "line_count": 708, "max_line_length": 201, "avg_line_length": 37.67655367231639, "alnum_prop": 0.560037488284911, "repo_name": "TheWeatherCompany/dasein-cloud-aws", "id": "a38c828fb9c1f69fecefc25048128971dc0c7a7...
/* * Tests EasyAutocomplete - response json * * @author Łukasz Pawełczak */ QUnit.test('JSON - Simple list response', function (assert) { // given var completerOne = new EasyAutocomplete.main($('#inputOne'), { url: 'resources/colors_string.json', ajaxCallback: function () { // then assertList(); } })...
{ "content_hash": "248f7b3530db3d1cda7f9a6e4327289d", "timestamp": "", "source": "github", "line_count": 592, "max_line_length": 131, "avg_line_length": 18.50506756756757, "alnum_prop": 0.6137836604290279, "repo_name": "pawelczak/EasyAutocomplete", "id": "4c5ada0dcca46f2f24744e299d45d8d3140f4f8c", "...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Test</title> <link rel="stylesheet" href="../../../node_modules/qunit/qunit/qunit.c...
{ "content_hash": "df69e09bd659f4e2055fe9c8d2d9c2da", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 171, "avg_line_length": 42.81481481481482, "alnum_prop": 0.5657439446366782, "repo_name": "twbs/bootlint", "id": "cfaf4a1d83eb8f010a38d4c8ab6485bf13a8eafc", "size": "1156",...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>elementAt method - DomStringList class - polymer_app_layout.behaviors library - Dart API</title> <!-- requi...
{ "content_hash": "79b4f18269d00c10d1e89fa0fcfd8b44", "timestamp": "", "source": "github", "line_count": 252, "max_line_length": 156, "avg_line_length": 31.325396825396826, "alnum_prop": 0.601849505953889, "repo_name": "lejard-h/polymer_app_layout_templates", "id": "ec2de6dffde59a9c6d14adf162b1a09c057...
package com.example.helloworld.configure; import javax.validation.Valid; import javax.validation.constraints.NotNull; import com.fasterxml.jackson.annotation.JsonProperty; import io.dropwizard.Configuration; import io.dropwizard.db.DataSourceFactory; public class HelloHibernateConfiguration extends Configuration { ...
{ "content_hash": "d9d86ae498f3b481466901120bd6427e", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 64, "avg_line_length": 23.185185185185187, "alnum_prop": 0.8115015974440895, "repo_name": "yuweijun/learning-programming", "id": "f08d91e9f111235d591ffc9d7ec1f480023e05db", ...
try { module.exports = require('./build/Release/inotify'); } catch(e) { module.exports = require('./build/Debug/inotify'); }
{ "content_hash": "a20e100f0e72e49dbfea0c61d9d0b5cb", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 56, "avg_line_length": 26.6, "alnum_prop": 0.6390977443609023, "repo_name": "dcorns/AlongTheWayII", "id": "c7b665de3cf4c1f3fb4d6081cdbb50509e61f624", "size": "133", "binar...
<?php namespace Contato; use Contato\Model\Contato; use Contato\Model\ContatoTable; use Zend\Db\ResultSet\ResultSet; use Zend\Db\TableGateway\TableGateway; class Module { public function getConfig() { return include __DIR__ . '/config/module.config.php'; } public function getAutoloaderConfig(...
{ "content_hash": "e9b8632a940e6bd94cec9fd331e71f82", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 132, "avg_line_length": 32.47142857142857, "alnum_prop": 0.5032996040475143, "repo_name": "ghizzoni/tutorial-zf2", "id": "c15181c78292407ede57df403b45969e85d7929e", "size":...
var _ = require('lodash'); var through = require('through2'); var concat = require('concat-stream'); var streamFile = require('./stream-file'); var arrayAsStream = require('./utils/array-as-stream'); module.exports = function injectTree (injectors) { return function (tree, callback) { var injectionStrea...
{ "content_hash": "a2f1d13f4fc7aedbfa2a6e986426586e", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 67, "avg_line_length": 24.235294117647058, "alnum_prop": 0.5493527508090615, "repo_name": "divshot/deposit", "id": "6ddbb469fc5f1df1696dd832ca89ae22f6e0f947", "size": "1236...
<?php final class PhabricatorBadgesEditor extends PhabricatorApplicationTransactionEditor { public function getEditorApplicationClass() { return 'PhabricatorBadgesApplication'; } public function getEditorObjectsDescription() { return pht('Badges'); } public function getTransactionTypes() { $...
{ "content_hash": "bed17ce1444838570f37510b64afa1ec", "timestamp": "", "source": "github", "line_count": 212, "max_line_length": 78, "avg_line_length": 30.721698113207548, "alnum_prop": 0.686012590204207, "repo_name": "cjxgm/p.cjprods.org", "id": "fd0b14ad46c3d71b53eaf5111a0034cc626c0b07", "size": "...
namespace csStaticPluginInit { static char const metainfo_entitymode[] = "<?xml version=\"1.0\"?>" "<!-- entitymode.csplugin -->" "<plugin>" " <scf>" " <classes>" " <class>" " <name>ares.editor.modes.entity</name>" " <implementation>EntityMode</implementation>" " <description>AresEd Entity...
{ "content_hash": "e6709452f1d111577903461d97ac7655", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 63, "avg_line_length": 24.17142857142857, "alnum_prop": 0.6867612293144209, "repo_name": "google-code/ares", "id": "20c0fc60a45490fccd4d6b7bb60f7696378436ab", "size": "1370...
dojo.provide("dojox.wire._base"); dojox.wire._defaultWireClass = "dojox.wire.Wire"; dojox.wire._wireClasses = { "attribute": "dojox.wire.DataWire", "path": "dojox.wire.XmlWire", "children": "dojox.wire.CompositeWire", "columns": "dojox.wire.TableAdapter", "nodes": "dojox.wire.TreeAdapter", "segments": "dojox.wi...
{ "content_hash": "cdc14f935105286cc619685875048237", "timestamp": "", "source": "github", "line_count": 191, "max_line_length": 137, "avg_line_length": 30.026178010471206, "alnum_prop": 0.6843940714908456, "repo_name": "henry-gobiernoabierto/geomoose", "id": "6f1aecabd9280a7448ff353e31379a7faac3c681"...
#include <geode/ExpirationAttributes.hpp> using namespace apache::geode::client; ExpirationAttributes::ExpirationAttributes() : m_action(ExpirationAction::INVALIDATE), m_timeout(0) {} ExpirationAttributes::ExpirationAttributes( const std::chrono::seconds& expirationTime, const ExpirationAction::Action e...
{ "content_hash": "42cc414d8df8acd49718b10764755525", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 78, "avg_line_length": 30.73076923076923, "alnum_prop": 0.7709637046307884, "repo_name": "mhansonp/geode-native", "id": "4bc3436bcef23267f5cde1d5763f47f7aaf77ce7", "size": ...
using System; namespace BrightstarDB.EntityFramework.Tests.ContextObjects { [Entity("Company")] public interface ICompany { [Identifier] string Id { get; } [PropertyType("dc:title")] string Name { get; set; } [PropertyType("ticker")] string Ticker...
{ "content_hash": "115edff2f52235a1b9093f30d0ef084e", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 59, "avg_line_length": 25.46808510638298, "alnum_prop": 0.5472013366750209, "repo_name": "kentcb/BrightstarDB", "id": "c8a026c7121cf1fe13838ba3014b9e31686f2450", "size": "2...
<?php namespace TonicForHealth\ReportAggregator\Report\JUnit; /** * Class JUnitReportInvalidXml */ class JUnitReportInvalidXml extends JUnitReportException { public static function invalidJUnitXml($reportPath) { return new self(sprintf('Invalid xml JUnit file %s', $reportPath)); } }
{ "content_hash": "f42db0cb3d1eeadc8d2e9d224bbb62bf", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 75, "avg_line_length": 22, "alnum_prop": 0.737012987012987, "repo_name": "tonicforhealth/testrail-report-aggregator", "id": "b4b80e8617b034fb3be40019cd01eaadebb3c81a", "siz...
<?php /* SonataPageBundle:Page:redirect.html.twig */ class __TwigTemplate_2e8de97b1ddad0a2245776174949efd4990710b87e62b83cb82434f44483d303 extends Sonata\CacheBundle\Twig\TwigTemplate14 { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->blocks = array( ...
{ "content_hash": "e5928f57cb4821db71e6e574a5f16b80", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 323, "avg_line_length": 33.67164179104478, "alnum_prop": 0.5939716312056738, "repo_name": "wieloming/GPI", "id": "52e297b2e8f0faede1349dcf06569d5c48506316", "size": "2256",...
package vidada.server.services.impl; import vidada.model.user.User; import vidada.server.services.IUserService; import javax.inject.Singleton; /** * Implementation of {@link vidada.server.services.IUserService} * TODO Implement User-service */ @Singleton public class UserService implements IUserService { /**...
{ "content_hash": "feeaea12efdee48656ba4874ab87cc7f", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 79, "avg_line_length": 21.464285714285715, "alnum_prop": 0.6988352745424293, "repo_name": "Vidada-Project/Vidada", "id": "feff9ab2874c525113f0a7165edddc4232c11874", "size":...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (C) 2015 Twitter, 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...
{ "content_hash": "8dec3692c3699956f02b432ea31d139c", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 126, "avg_line_length": 46.592592592592595, "alnum_prop": 0.678060413354531, "repo_name": "afeiluo/twitter-kit-android", "id": "3c215d80289307e02f1772ad429e03a5fe4ed722", "...
using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Management.Automation.Internal; using System.Management.Automation.Internal.Host; using System.Management.Automation.Tracing; #if !UNIX using System.Security.Principal; #endif using System.Threading; using Microsoft.Pow...
{ "content_hash": "bae1a021324a25428447526146dcea93", "timestamp": "", "source": "github", "line_count": 1443, "max_line_length": 161, "avg_line_length": 37.995148995148995, "alnum_prop": 0.5115362868659602, "repo_name": "Cowmonaut/PowerShell", "id": "9753530cc274b2fd2a3538c817f3f670beaea984", "size...
package integration_test import ( "path/filepath" "github.com/cloudfoundry/libbuildpack/cutlass" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" ) var _ = Describe("CF NodeJS Buildpack", func() { var app *cutlass.App AfterEach(func() { if app != nil { app.Destroy() } app = nil }) Context("de...
{ "content_hash": "5cf2f73936a075a78b92d11c63e2ef18", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 95, "avg_line_length": 23.70967741935484, "alnum_prop": 0.6843537414965987, "repo_name": "oocl-ncc-itm/nodejs-buildpack", "id": "e7e54f8c99e674c1f89a67cf116a0d80220b02c6", ...
using JustRemember.HardCoded; using JustRemember.ViewModels.Matches; using MemoCore; using MemoCore.Utilities; using Newtonsoft.Json; using System.Collections.Generic; using System.Collections.ObjectModel; using Windows.UI; using Windows.UI.Xaml; using Windows.UI.Xaml.Media; namespace JustRemember.Models { public cl...
{ "content_hash": "0dc61a58a24d156e4bd6b6b27335c897", "timestamp": "", "source": "github", "line_count": 397, "max_line_length": 118, "avg_line_length": 24.229219143576827, "alnum_prop": 0.6560973074124129, "repo_name": "ray1997/JustRememberUWP", "id": "ca6c00ba36c6e43d465e929306788125aff93d76", "si...
using OleksiiOnSoftware.Services.Blog.Domain.Commands; using OleksiiOnSoftware.Services.Blog.Domain.Events; using OleksiiOnSoftware.Services.Blog.Domain.Exceptions; using OleksiiOnSoftware.Services.Common; using System; using System.Collections.Generic; using System.Linq; namespace OleksiiOnSoftware.Services....
{ "content_hash": "4cd6ebdab784e0c4f3d065a3adca6c4b", "timestamp": "", "source": "github", "line_count": 446, "max_line_length": 168, "avg_line_length": 37.16816143497758, "alnum_prop": 0.5557700428304277, "repo_name": "boades/PpmSystem", "id": "2a315c25bd108e5071926f422a75475c150313a5", "size": "16...
require File.dirname(__FILE__) + '/../test_helper' class SectionTest < Test::Unit::TestCase fixtures :sections # Replace this with your real tests. def test_truth assert true end end
{ "content_hash": "0f1d28d9e5af187a07f181688a1dba82", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 50, "avg_line_length": 19.7, "alnum_prop": 0.6903553299492385, "repo_name": "WholeCoder/RubensPortfolio", "id": "ba2f80fb8b8d4fcb1a65cf68ceb84bf9229eb70e", "size": "197", ...
dock_others = Array.new dock_apps = Array.new action :add do if(node['dock']['regenerate']) app = Dock::DockApp.new user = Dock::MacUser.new app.path = new_resource.name generate_dock_plist(dock_apps, dock_others) convert_dock_plist_to_binary("/tmp/com.apple.dock.temp.plist") if ...
{ "content_hash": "b91edb6db1f968f3a592e087d1cc5ac4", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 105, "avg_line_length": 28.06741573033708, "alnum_prop": 0.6088871096877502, "repo_name": "wesleyan/chef-cookbooks", "id": "e0230ea68f16e014fda285935d938f93f2cd0c42", "size...
// // LJInventoryTableViewCell.m // xianchufang // // Created by zhenglong duan on 20/02/2017. // Copyright © 2017 zhenglong duan. All rights reserved. // #import "LJInventoryTableViewCell.h" @implementation LJInventoryTableViewCell - (void)awakeFromNib { [super awakeFromNib]; } - (instancetype)initWithStyl...
{ "content_hash": "eae9ce899bd0c922d760056c4c55a08b", "timestamp": "", "source": "github", "line_count": 158, "max_line_length": 200, "avg_line_length": 46.278481012658226, "alnum_prop": 0.7264770240700219, "repo_name": "duanzhenglong/xianchufang", "id": "1958a731303a0668ebca873e628d5f89bd2ac150", "...
package quickfix.field; import quickfix.StringField; public class RegistRejReasonText extends StringField { static final long serialVersionUID = 20050617; public static final int FIELD = 496; public RegistRejReasonText() { super(496); } public RegistRejReasonText(String data) { ...
{ "content_hash": "4cb8bf9edc19518b879e44da6f582a12", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 53, "avg_line_length": 13.692307692307692, "alnum_prop": 0.6741573033707865, "repo_name": "BostonTechnologies/quickfixj", "id": "e6adc65f3a1a1544fb6e95e99a230541b26bfce5", ...
/* This file is auto-generated */ #include "test/core/end2end/end2end_tests.h" #include <stdbool.h> #include <string.h> #include <grpc/support/log.h> static bool g_pre_init_called = false; extern void authority_not_supported(grpc_end2end_test_config config); extern void authority_not_supported_pre_init(void); ...
{ "content_hash": "b772252c4489c9dab7b5e0e100554de5", "timestamp": "", "source": "github", "line_count": 652, "max_line_length": 110, "avg_line_length": 36.24079754601227, "alnum_prop": 0.6911422404672225, "repo_name": "muxi/grpc", "id": "e01e6ad0104c74aad88a3bee56a2173add8c9f29", "size": "24231", ...
package org.apache.harmony.nio.internal; import java.io.IOException; import java.nio.channels.ClosedChannelException; import java.nio.channels.FileChannel; import java.nio.channels.FileLock; /** * The concrete implementation of an NIO file lock object. */ final class FileLockImpl extends FileLock { // Rememb...
{ "content_hash": "fb875b48d20b18e6de60f36f418c6e38", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 88, "avg_line_length": 28.467741935483872, "alnum_prop": 0.6186968838526912, "repo_name": "kepler0/In-the-Box-Fork", "id": "d3d26353f4ce95e6719268480a51cca8044d78e7", "size...
/** * @file mip-yesky-video 组件 * @author */ define(function (require) { var $ = require('zepto'); var customElement = require('customElement').create(); customElement.prototype.firstInviewCallback = function () { var element = this.element; $(element).find('#video_btn video').on('play', f...
{ "content_hash": "a5937a25426c5985861fa7fe9fcf73da", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 68, "avg_line_length": 27.4, "alnum_prop": 0.5742092457420924, "repo_name": "mipengine/mip-extensions-platform", "id": "ce85884bebdf0f83282f60eded7c0a8e79ad59fc", "size": "...
package com.github.ltsopensource.store.jdbc.datasource; import com.github.ltsopensource.core.cluster.Config; import com.github.ltsopensource.core.commons.utils.StringUtils; import com.github.ltsopensource.core.constant.ExtConfig; import org.h2.jdbcx.JdbcDataSource; import javax.sql.DataSource; import java.util.concur...
{ "content_hash": "f579205b2dd3c4e161a13fc940d3b736", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 125, "avg_line_length": 35.22222222222222, "alnum_prop": 0.6538981523208652, "repo_name": "qq254963746/light-task-scheduler", "id": "bbb4485a42521007a3196b247e741cbd9143922f"...
/* jshint esnext: true, asi: true */ const _ = require('lodash'); const jshint = require('gulp-jshint'); const gulp = require('gulp'); const rename = require('gulp-rename'); const livereload = require('gulp-livereload'); const sourcemaps = require('gulp-sourcemaps'); const gulpWebpack = require('gulp-webpack'); const w...
{ "content_hash": "40ca6f57247da3741b42e94cd8e8d1ea", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 99, "avg_line_length": 28.49122807017544, "alnum_prop": 0.6551724137931034, "repo_name": "MM-Group/ngMagicStream", "id": "dadc9c01e77dc6b25bb0a0f3c0169d7bfc8f88d4", "size":...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MudDesigner.MudEngine.Actors; using MudDesigner.MudEngine.MessageBrokering; namespace MudDesigner.MudEngine.Commanding { public class CommandManager : AdapterBase<ICommanding...
{ "content_hash": "8cc74abdf1c546572dab7a5ae2e66f4f", "timestamp": "", "source": "github", "line_count": 169, "max_line_length": 205, "avg_line_length": 43.082840236686394, "alnum_prop": 0.6291718170580964, "repo_name": "MudDesigner/MudDesigner", "id": "0fefa3551ea3bd436b53f982aa1f3927fa79471b", "si...
@interface QRCScanner() <AVCaptureMetadataOutputObjectsDelegate,UIImagePickerControllerDelegate> @property (nonatomic,strong)NSTimer *scanLineTimer; @property (nonatomic,strong)LineView *scanLine; @property (nonatomic,strong)UIButton *lightButton; @property (nonatomic,assign)CGRect clearDrawRect; @property (nonatomic...
{ "content_hash": "fa001598c49f96d0a6acb9cabec496b7", "timestamp": "", "source": "github", "line_count": 339, "max_line_length": 209, "avg_line_length": 40.69911504424779, "alnum_prop": 0.688555483076031, "repo_name": "AresPan/react-native-smart-barcode", "id": "fac9856e9b440b4808ea06c8ed97c7976f35e7f...
package jp.ne.yohira; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.context.web.WebAppConfiguration; @RunWith(SpringJUnit4ClassRunner.c...
{ "content_hash": "655ff6e35fb8915e55b22a4f9d9c12e7", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 72, "avg_line_length": 28.105263157894736, "alnum_prop": 0.8295880149812734, "repo_name": "yohira0616/aloneTwitter", "id": "82f74563370dd5210136885e72f25329eff7c419", "size...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/datastore/v1/datastore.proto namespace Google\Cloud\Datastore\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * The request for [Datastore.Rollback][googl...
{ "content_hash": "dedd89205be9647f032debc69f6ec1ac", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 114, "avg_line_length": 31.685714285714287, "alnum_prop": 0.6405169822663059, "repo_name": "chingor13/google-cloud-php", "id": "6bde6adad15cb51ac6acc42da197fafbbc7d8492", ...
<!DOCTYPE html> <!-- DO NOT EDIT! This test has been generated by tools/gentest.py. --> <title>Canvas test: 2d.path.arc.empty</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/common/canvas-tests.js"></script> <link rel="stylesheet" href="/co...
{ "content_hash": "349150086b4c820bcfc3b340642796b4", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 131, "avg_line_length": 34.88235294117647, "alnum_prop": 0.6871838111298483, "repo_name": "youtube/cobalt_sandbox", "id": "fa59b66f50fafbcf36679522e1e44f520f5fef35", "size"...
#include <boost/test/included/unit_test.hpp> #include <boost/mpl/list.hpp> BOOST_TEST_CASE_TEMPLATE_FUNCTION(my_test, T) { BOOST_TEST(sizeof(T) == 4U); } boost::unit_test::test_suite* init_unit_test_suite(int /*argc*/, char* /*argv*/[]) { typedef boost::mpl::list<int, long, float> test_types; boost::unit_...
{ "content_hash": "1eb680e20648e1e0d729dfff2d21e9a5", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 82, "avg_line_length": 29, "alnum_prop": 0.6620689655172414, "repo_name": "ordinary-developer/education", "id": "6fa0628681d72555336ff919af28553517d988b6", "size": "435", ...
'use strict'; var util = require('util'), FrameBase = require('./frame'); /** * Heartbeat frames are under-specified in the AMQP Specification as "an empty frame". In practice, this * seems to be interpreted as a an empty header with a type of 0 (or 0x0000 0008 0200 0000). * * @constructor */ function Heart...
{ "content_hash": "68b43e1594122acdc0acf9c040d7d9c9", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 105, "avg_line_length": 25.772727272727273, "alnum_prop": 0.7195767195767195, "repo_name": "lcarli/NodeRedIoTHub", "id": "cdc9d31a283dd5c24bd4f6866eb7eb9853aac59e", "size":...
FROM alpine:3.2 LABEL io.resin.architecture="amd64" RUN apk add --update \ bash \ ca-certificates \ dbus \ findutils \ openrc \ tar \ udev \ tini \ && rm -rf /var/cache/apk/* COPY resin-xbuild /usr/bin/ RUN ln -s resin-xbuild /usr/bin/cross-build-start \ && ln -s resin-xbuild /usr/bin/cross-build-...
{ "content_hash": "91d2bc75d0cf919fd7800dfe2bd886fd", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 59, "avg_line_length": 20.523809523809526, "alnum_prop": 0.6751740139211136, "repo_name": "resin-io-playground/base-img-generator", "id": "a19d630ac04b6c1ad318c617d11e13f7184...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "10909ef0d7b08ee7e6876526605096e4", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 333, "avg_line_length": 53.78378378378378, "alnum_prop": 0.6542713567839196, "repo_name": "v8-dox/v8-dox.github.io", "id": "c909d2dcb33b77a5b5f0974c3d7f933444cdcc38", "siz...
''' Created on May 17, 2013 Example for creating LCIO events and filling them with MCParticles and SimTrackerHits. @author: <a href="mailto:christian.grefe@cern.ch">Christian Grefe</a> ''' from __future__ import absolute_import, unicode_literals from __future__ import print_function, division from pyLCIO import EVEN...
{ "content_hash": "118e6e73f7a41a4e09f2b895ce03f2bf", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 98, "avg_line_length": 36.621212121212125, "alnum_prop": 0.6263963591228796, "repo_name": "petricm/LCIO", "id": "70b0fd3b2ec09801df05873d63feb9f7944b922b", "size": "4834",...
import {Injectable} from "@angular/core"; import {Participant} from "../models/Participant"; import {ParticipantMatch} from "../models/ParticipantMatch"; import {FieldValues, getByeScoring, getGameSystemConfig, getScoreByGameSystem} from "../models/game-systems"; import {Tournament} from "../models/Tournament"; import ...
{ "content_hash": "a972db4ad633df2fdb4b88c03c5d92c6", "timestamp": "", "source": "github", "line_count": 156, "max_line_length": 132, "avg_line_length": 43.41025641025641, "alnum_prop": 0.6875369167158889, "repo_name": "madmadson/otLight", "id": "dd4868d3980d9718428fcb0a833e1535701692ca", "size": "6...
'use strict'; describe('$aria', function() { var scope, $compile, element; beforeEach(module('ngAria')); afterEach(function() { dealoc(element); }); describe('with `ngAriaDisable`', function() { beforeEach(injectScopeAndCompiler); beforeEach(function() { jasmine.addMatchers({ toH...
{ "content_hash": "d1168e51de2b9f765aaf6c13e9bc2617", "timestamp": "", "source": "github", "line_count": 1129, "max_line_length": 175, "avg_line_length": 36.71479185119575, "alnum_prop": 0.6149188198113436, "repo_name": "Narretz/angular.js", "id": "11130b17430e11866cc7cc246d61f91feda222fd", "size": ...
from __future__ import unicode_literals from django.apps import AppConfig class PedidosConfig(AppConfig): name = 'pedidos'
{ "content_hash": "4da4c0178e2af6b5cc8237702a92291c", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 39, "avg_line_length": 18.571428571428573, "alnum_prop": 0.7538461538461538, "repo_name": "vallemrv/tpvB3", "id": "acc2041c333d009c6e2880319956dcf323279ab4", "size": "130", ...
class dximagetransform_microsoft_icmfilter { constructor() { // string ColorSpace () {get} {set} this.ColorSpace = undefined; // short Intent () {get} {set} this.Intent = undefined; } } module.exports = dximagetransform_microsoft_icmfilter;
{ "content_hash": "3334307f8ebc212e08c425360b8538a4", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 54, "avg_line_length": 20.428571428571427, "alnum_prop": 0.6223776223776224, "repo_name": "mrpapercut/wscript", "id": "43b1965bcae59f2efa884c7aa1afb56412e00fa2", "size": "2...
<!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_162) on Sat Feb 02 18:57:43 CET 2019 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class com.communote...
{ "content_hash": "2ebc62ae4c4f1f027406b9da771e98a0", "timestamp": "", "source": "github", "line_count": 189, "max_line_length": 674, "avg_line_length": 57.32804232804233, "alnum_prop": 0.6555606829718504, "repo_name": "Communote/communote.github.io", "id": "60821f6ba4bdadbf027a963ce823994ef6bf9f4f", ...
using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Localisation; using osu.Game.Graphics.UserInterfaceV2; namespace osu.Game.Screens.Edit.Setup { internal class ColoursSection : SetupSection { public override LocalisableString Title => "Colours"; private Labelled...
{ "content_hash": "4e8b3f676d9b511a03d252e845896a37", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 78, "avg_line_length": 28.451612903225808, "alnum_prop": 0.5861678004535147, "repo_name": "NeoAdonis/osu", "id": "05d9855a2481e97d17da399c2d865a08fc0c06ae", "size": "1032",...
cask 'tagspaces' do version '2.3.0' sha256 '1b4823fc7ddae593df58c65f8269563569e57b2edc043861fc574c66e43d9c35' # github.com/tagspaces/tagspaces was verified as official when first introduced to the cask url "https://github.com/tagspaces/tagspaces/releases/download/v#{version}/tagspaces-#{version}-osx64.zip" a...
{ "content_hash": "3fd9b173dae793851b6e8debf468ec3f", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 107, "avg_line_length": 41, "alnum_prop": 0.7839721254355401, "repo_name": "skatsuta/homebrew-cask", "id": "c6f1769d8c10edcb498adeb432529a858700f6c0", "size": "574", "bin...