text
stringlengths
2
1.04M
meta
dict
set -e # Source libraries. Uncomment if needed/defined #. "${RT_LIB}" . "${RT_PROJECT_ROOT}/_lib/lib.sh" NAME=test-ctr clean_up() { rm -rf ${NAME}-* } trap clean_up EXIT linuxkit build -docker -format kernel+initrd -name "${NAME}" test.yml [ -f "${NAME}-kernel" ] || exit 1 [ -f "${NAME}-initrd.img" ] || exit 1 [ -...
{ "content_hash": "c8d3a398dc2dff9df084e6cee346cc77", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 69, "avg_line_length": 19.42105263157895, "alnum_prop": 0.6124661246612466, "repo_name": "justincormack/linuxkit", "id": "219745694e8d3145df3a167ff5438cf1f9f919ba", "size":...
/** * Function to create query string permalinks of the form: * * [protocol][server][resource]/?[queryVariable]=[queryString] * * The [queryString] portion should be the result of calling JSON.stringify() * on an Object variable. * * @param {string} queryVariable the query string's key name * @param {s...
{ "content_hash": "622a587567854d7a373b075b6eaaa787", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 408, "avg_line_length": 34.103092783505154, "alnum_prop": 0.6266626360338573, "repo_name": "lsissoko/query-permalink", "id": "93f3d0e0f5f8248ccc86050bc65ff3619a852eec", "si...
package com.google.security.zynamics.binnavi.yfileswrap.zygraph.Implementations; import java.util.HashMap; import y.view.Graph2DView; import com.google.common.base.Preconditions; import com.google.security.zynamics.binnavi.CUtilityFunctions; import com.google.security.zynamics.binnavi.Database.Exceptions.CouldntSav...
{ "content_hash": "be526cacce8a772f08bdc4fed69e2e7a", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 99, "avg_line_length": 56.84297520661157, "alnum_prop": 0.7694097121256179, "repo_name": "chubbymaggie/binnavi", "id": "7f5b1f564fec5842c81f93b7e70373d31d15b343", "size": ...
package com.coolweather.app.util; /** * »Øµ÷½Ó¿Ú * @author zhangkcode * @createDate 20170428 * */ public interface HttpCallbackListener { public void onFinish(String response); public void onError(Exception e); }
{ "content_hash": "62e3cc0eaf2880d3e14e49b65bec1443", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 39, "avg_line_length": 20, "alnum_prop": 0.7318181818181818, "repo_name": "zhangkcode/CoolWeather", "id": "ff353d8ae9eef02286d38506a715407909b81513", "size": "220", "bina...
#ifndef FSL_DDR_MAIN_H #define FSL_DDR_MAIN_H #include <fsl_ddrc_version.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> #include <common_timing_params.h> #ifndef CONFIG_SYS_FSL_DDR_MAIN_NUM_CTRLS /* All controllers are for main memory */ #define CONFIG_SYS_FSL_DDR_MAIN_NUM_CTRLS CONFIG_SYS_NUM_DDR_...
{ "content_hash": "5059bff36607c2aab584b9e96abb96fa", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 82, "avg_line_length": 34.44927536231884, "alnum_prop": 0.7103491796381994, "repo_name": "guileschool/beagleboard", "id": "261b94e9845eb926dacb6175addde42b15049844", "size...
function bob(){} function bill(){i=2 function mary(){var currentConstructor=this.constructor,methodName=null}}
{ "content_hash": "a085b372081be38184011ef8bddcdb74", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 73, "avg_line_length": 37, "alnum_prop": 0.7837837837837838, "repo_name": "fgaray/hjsmin", "id": "58c958d1fce7e4e2e192842a8711d568e9133309", "size": "111", "binary": false...
<# .SYNOPSIS Get-PrefetchListingLastWriteTime.ps1 Requires logparser.exe in path Pulls PrefetchListing data sorted by LastWriteTimeUtc Descending on collected Get-PrefetchListing data. This script exepcts files matching the pattern *PrefetchListing.tsv to be in the current working directory .NOTES DATADIR PrefetchLi...
{ "content_hash": "0f67f56ab5c9bff503cf18ed7d4c7467", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 74, "avg_line_length": 23.060606060606062, "alnum_prop": 0.7201051248357424, "repo_name": "vimokumar/Kansa", "id": "f6b473d9e1382a801a6be39abacf2cc025e5151e", "size": "763"...
export const createStore = (state, storeChange) => { const listeners = []; let store = state || {}; const subscribe = (listen) => listeners.push(listen); const dispatch = (action) => { const newStore = storeChange(store, action); listeners.forEach(item => { item(newStore, store); }) store ...
{ "content_hash": "ef599d2e141017eafc2f493c9bb3fc01", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 55, "avg_line_length": 29.153846153846153, "alnum_prop": 0.6226912928759895, "repo_name": "wumouren/react-demo", "id": "b3b3a27eaa134d8623e5e67cfdb9bb1713f6ee2a", "size": "...
<?php namespace Kunstmaan\LeadGenerationBundle\Form\Rule; use Symfony\Component\Form\FormBuilderInterface; class MaxXTimeAdminType extends AbstractRuleAdminType { /** * Builds the form. * * This method is called for each type in the hierarchy starting form the * top most type. Type extensions...
{ "content_hash": "d2d0e4403bd765ad7a2e70e8fe3bb15b", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 77, "avg_line_length": 25.235294117647058, "alnum_prop": 0.6398601398601399, "repo_name": "mennowame/KunstmaanBundlesCMS", "id": "a86b151d97115e0becec6b88b9ce81aa510643dd", ...
module Fencer # Fences out HTML tags and character entities. See {Fencer}. module Html extend self def fence(string) fence_tags(string) end def fence_tags(string) scanner = UnicodeScanner.new(string) tokens = Hash.new { |hsh, k| hsh[k] = [] } until scanner.eos? m...
{ "content_hash": "3a9c41962ff3c156f22324a473d5314c", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 90, "avg_line_length": 25.443181818181817, "alnum_prop": 0.5690040196516302, "repo_name": "square/shuttle", "id": "e47c0cd0dfccbe4f491d9fa219bba52f126f5774", "size": "2842"...
<?php class Google_Service_Dataflow_WorkerLifecycleEvent extends Google_Model { public $containerStartTime; public $event; public $metadata; public function setContainerStartTime($containerStartTime) { $this->containerStartTime = $containerStartTime; } public function getContainerStartTime() { ...
{ "content_hash": "9509f4013b84928673462345cc450229", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 71, "avg_line_length": 18.941176470588236, "alnum_prop": 0.6925465838509317, "repo_name": "phil-davis/core", "id": "c862c6b8b382bfbce1ad8a52495d460bed83cd55", "size": "1234...
/* Commentary: * */ /* Change log: * */ #include "dtkPlotCurve.h" #include "dtkPlotView.h" #include "dtkPlotViewPanner.h" #include "dtkPlotViewPicker.h" #include "dtkPlotViewZoomer.h" #include "dtkPlotViewGrid.h" #include "dtkPlotViewToolBar.h" #include <qwt_plot.h> #include <qwt_plot_canvas.h> #include <qwt_...
{ "content_hash": "f9d6b7698d577a633979704a55c58b7a", "timestamp": "", "source": "github", "line_count": 645, "max_line_length": 113, "avg_line_length": 20.708527131782947, "alnum_prop": 0.6404881335629258, "repo_name": "d-tk/dtk", "id": "05fac437106bbd4e75caae724dfc835036a04177", "size": "13630", ...
<?php namespace Tecnocreaciones\Bundle\ToolsBundle\Model\Intro; /** * * @author Carlos Mendoza <inhack20@gmail.com> */ interface IntroStepInterface { const POSITION_LEFT = 'left'; const POSITION_RIGHT = 'right'; const POSITION_TOP = 'top'; const POSITION_BOTTOM = 'bottom'; public function s...
{ "content_hash": "1084cf60f59e554811a951e19153fc53", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 59, "avg_line_length": 19.36, "alnum_prop": 0.6735537190082644, "repo_name": "Tecnocreaciones/ToolsBundle", "id": "f42af00d269a6aa104b7bf9540417ee3ff163228", "size": "712",...
rangy.createModule("TextCommands", function(api, module) { api.requireModules( ["WrappedSelection", "WrappedRange"] ); var dom = api.dom; var log = log4javascript.getLogger("rangy.textcommands"); var tagName = "span", BOOLEAN = "boolean", UNDEF = "undefined"; function trim(str) { ...
{ "content_hash": "7b4c246219cd38b6bc5915dab6e6fffd", "timestamp": "", "source": "github", "line_count": 566, "max_line_length": 191, "avg_line_length": 37.65017667844523, "alnum_prop": 0.5076959174096668, "repo_name": "jackcviers/Rangy", "id": "d20e425ca6df852633b4c9e99f173d3b9cf462f8", "size": "21...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StingCore { public class SqlPlaceModel { public int Id { get; set; } public string Name { get; set; } public string Description { get; set; } public int...
{ "content_hash": "5f9d4753a5474517a874b923bcd8beb1", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 58, "avg_line_length": 26.586206896551722, "alnum_prop": 0.5953307392996109, "repo_name": "theAppleist/Sting", "id": "af779aa32644a04b1d1e34aa2f6900eddb89ea48", "size": "77...
''' Test Cases for DocumentConverter Class for WordCloud Project Daniel Klein Computer-Based Honors Program The University of Alabama 9.27.2013 ''' import unittest import os, os.path from src.core.python.SupremeCourtOpinionFileConverter import SupremeCourtOpinionFileConverter ##### Here are all the global variables ...
{ "content_hash": "4372e8f01ac83998fff5895ca2a1c2ff", "timestamp": "", "source": "github", "line_count": 371, "max_line_length": 101, "avg_line_length": 50.35309973045822, "alnum_prop": 0.690594721909962, "repo_name": "dmarklein/WordCloud", "id": "87123ba6391e24dd49f979cc6f67422fac8c5782", "size": "...
package mongo import ( "time" "upload-demo/models" "labix.org/v2/mgo" "labix.org/v2/mgo/bson" ) type file struct{ gridFile *mgo.GridFile } func (f *file) Close() error { return f.gridFile.Close() } func (f *file) Read(p []byte) (int, error) { return f.gridFile.Read(p) } func (f *file) Write(p []...
{ "content_hash": "2d701aab097c0eb10e1b29abd4534c65", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 75, "avg_line_length": 29.533333333333335, "alnum_prop": 0.654627539503386, "repo_name": "levicook/upload-demo", "id": "1088c5eae4bc95fa11990ade8f1022cd1556e975", "size": "...
/** * Created by jnevins on 7/24/16. */ import { Component, OnInit } from '@angular/core'; import {AuthService} from '../../app.auth.service'; import { PolymerElement } from '@vaadin/angular2-polymer'; import {IUserModel, IVenue, IOwnership, ISuggestCriteria} from "../../common/interfaces"; import {Venue} from "../.....
{ "content_hash": "16b8e6f993bbb78942d9d588d36b7cf1", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 96, "avg_line_length": 34.075, "alnum_prop": 0.6786500366837858, "repo_name": "PennStateSoftwareTest/FinalProjectPennState", "id": "d7afe8425529a476b92be4ea9225d12b563ae8be",...
/* * HomeConstants * Each action has a corresponding type, which the reducer knows and picks up on. * To avoid weird typos between the reducer and the actions, we save them as * constants here. We prefix them with 'yourproject/YourComponent' so we avoid * reducers accidentally picking up actions they shouldn't. *...
{ "content_hash": "bd3762c5aebb1bfa218abd89a4c7560e", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 88, "avg_line_length": 48.8421052631579, "alnum_prop": 0.7780172413793104, "repo_name": "fascinating2000/productFrontend", "id": "b0a3fa8fafeb2f695fcfea816bcccb42e46d76cc", ...
 #pragma once #include <aws/apigateway/APIGateway_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/apigateway/model/UsagePlanKey.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceResult; namespace Util...
{ "content_hash": "319540be19da25a30a1b800ab416744a", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 124, "avg_line_length": 31.01834862385321, "alnum_prop": 0.6853002070393375, "repo_name": "JoyIfBam5/aws-sdk-cpp", "id": "7f9bdfeb73d14c253c43604e72e9be7f6263e3af", "size"...
import { registerBidder } from '../src/adapters/bidderFactory.js'; import { config } from '../src/config.js'; import { deepAccess, uniques, isArray, getWindowTop, isGptPubadsDefined, isSlotMatchingAdUnitCode, logInfo, logWarn, getWindowSelf, mergeDeep, } from '../src/utils.js'; import { BANNER, VIDE...
{ "content_hash": "fc1b4fcf176427efebc449e40e791802", "timestamp": "", "source": "github", "line_count": 744, "max_line_length": 129, "avg_line_length": 23.83467741935484, "alnum_prop": 0.6406135453673941, "repo_name": "PWyrembak/Prebid.js", "id": "af67bb2bf48727432c3b0518a2c97b7dce80b319", "size": ...
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; namespace OfficeOpenXml.ConditionalFormatting { /// <summary> /// Enum for Conditional Format Type ST_CfType §18.18.12. With some changes. /// </summary> public enum eExcelConditionalFormattingRuleType {...
{ "content_hash": "c1c0c104cd2f4123dd319a0699d7fcfa", "timestamp": "", "source": "github", "line_count": 665, "max_line_length": 95, "avg_line_length": 26.634586466165413, "alnum_prop": 0.6146680216802168, "repo_name": "RH-Code/GAPP", "id": "c7572e0615a9bd48f819cd73ec74b38fac4edacc", "size": "19300"...
package com.tle.core.institution.migration.v64; import com.tle.core.guice.Bind; import com.tle.core.hibernate.impl.HibernateMigrationHelper; import com.tle.core.migration.AbstractHibernateSchemaMigration; import com.tle.core.migration.MigrationInfo; import com.tle.core.migration.MigrationResult; import java.util.Lis...
{ "content_hash": "f365ad0def17dfb08e1945b8b0ac58b9", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 98, "avg_line_length": 27.803030303030305, "alnum_prop": 0.7694822888283379, "repo_name": "equella/Equella", "id": "56f0e4f8b98fbfa24e707c7f6cda2c2725105791", "size": "2638...
LATEX = pdflatex MAINFILE = tut01r-riondato UPLOADHOST = ssh.cs.brown.edu UPLOADURI = public_html/RiondatoUpfal-VCTutorial.pdf .PHONY: all archive check clean osx pdf upload view all : archive $(MAINFILE).aux: *.tex $(wildcard *.eps) $(LATEX) $(MAINFILE).tex $(MAINFILE).bbl: *.tex *.bib -bibtex --mi...
{ "content_hash": "9f7602d8dd4b137ee0dcb2c71feabd53", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 195, "avg_line_length": 28.142857142857142, "alnum_prop": 0.6370558375634517, "repo_name": "rionda/vctutorial", "id": "4f5cd4405b39a867a3a083212195b0a8588c651b", "size": "1...
<?xml version="1.0" encoding="UTF-8"?> <project name="mitre-watchdog" default="wd.show" basedir="."> <!-- ## Targets --> <target name="wd.show" description="Show the latest watchdog errors"> <!--<watchdog save="false" count="100" type="" /> --> <echo msg=" " /> <echo msg="Show the latest ${drush.ws.c...
{ "content_hash": "afdc4b97b17e327502110a02d186100d", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 85, "avg_line_length": 33.55555555555556, "alnum_prop": 0.5562913907284768, "repo_name": "timani/mitre-logger", "id": "0524aeb461c2db3256e752db98f4deaf67cc81bc", "size": "9...
package org.apache.phoenix.queryserver.server; import com.google.common.annotations.VisibleForTesting; import org.apache.calcite.avatica.Meta; import org.apache.calcite.avatica.remote.Driver; import org.apache.calcite.avatica.remote.LocalService; import org.apache.calcite.avatica.remote.Service; import org.apache.cal...
{ "content_hash": "5820f1b2a4e407a01d79963406ae9fac", "timestamp": "", "source": "github", "line_count": 220, "max_line_length": 121, "avg_line_length": 36.7, "alnum_prop": 0.7007678969531831, "repo_name": "rvaleti/phoenix", "id": "106d4224157499259a5a88de876d5e2f5f980194", "size": "8875", "binary...
package errors // Config is a configuration struct meant to be used with // github.com/spacemonkeygo/flagfile/utils.Setup // but can be set independently. var Config = struct { Stacklogsize int `default:"4096" usage:"the max stack trace byte length to log"` }{ Stacklogsize: 4096, }
{ "content_hash": "60430392bc693a1d0902e768bb431dd6", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 81, "avg_line_length": 28.8, "alnum_prop": 0.7465277777777778, "repo_name": "mavenraven/errors", "id": "3a2f2ee03f062047a26f7ffefe0ff56fa4a07580", "size": "886", "binary"...
<?php namespace Ekyna\Bundle\AdminBundle\Dashboard; /** * Class Factory * @package Ekyna\Bundle\AdminBundle\Dashboard * @author Étienne Dauvergne <contact@ekyna.com> */ class Factory { /** * @var Widget\Factory */ protected $widgetFactory; /** * Constructor. * @param Widget\Facto...
{ "content_hash": "c7ca3d129c64786f2b552b4ee5a8c20e", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 89, "avg_line_length": 20.15909090909091, "alnum_prop": 0.5794813979706878, "repo_name": "ekyna/AdminBundle", "id": "f760d4c2a9f59c195a01c3fe9c8adf8521c92984", "size": "888...
import * as React from 'react'; import {SvgIconProps} from '../../SvgIcon'; export default function FormatColorReset(props: SvgIconProps): React.ReactElement<SvgIconProps>;
{ "content_hash": "f9c1092599f387659b8394d44859318d", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 96, "avg_line_length": 43.5, "alnum_prop": 0.7701149425287356, "repo_name": "mattiamanzati/typings-material-ui", "id": "13f9291196d44b5a7006e9d9096b1a188abcf42d", "size": "1...
"""wikisource. Usage: dasem.wikisource get <title> dasem.wikisource list Example: $ python -m dasem.wikisource get Mogens """ from __future__ import print_function import re from bs4 import BeautifulSoup import requests from six import u from .wikidata import query_to_dataframe SPARQL_QUERY = """ SELE...
{ "content_hash": "a6b449a5fd9b5a9dec362b2fa6ab980a", "timestamp": "", "source": "github", "line_count": 142, "max_line_length": 79, "avg_line_length": 24.47887323943662, "alnum_prop": 0.6101841196777905, "repo_name": "fnielsen/dasem", "id": "e33432e08fe82ad7aa2af92e5d86c25d4b605d9a", "size": "3476"...
// Copyright (c) 2018-2019 Intel Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge...
{ "content_hash": "60847d881ed85334ac788c99548d9291", "timestamp": "", "source": "github", "line_count": 315, "max_line_length": 171, "avg_line_length": 36.22857142857143, "alnum_prop": 0.5956887486855941, "repo_name": "Intel-Media-SDK/MediaSDK", "id": "4f7f4414467a559cc9d1d88180cc8ec37d8618f5", "si...
class Browser; namespace favicon_base { struct FaviconImageResult; } namespace content { class NavigationEntry; class WebContents; } /////////////////////////////////////////////////////////////////////////////// // // BackForwardMenuModel // // Interface for the showing of the dropdown menu for the Back/Forward but...
{ "content_hash": "1f9c787b357fdd5247945cadbacb59d3", "timestamp": "", "source": "github", "line_count": 185, "max_line_length": 80, "avg_line_length": 45.42702702702703, "alnum_prop": 0.7386958591147073, "repo_name": "ric2b/Vivaldi-browser", "id": "bf27516896f553613967d9c9b7655631a6e79b90", "size":...
module.exports = { "index": 30, "lineNumber": 1, "column": 31, "description": "Parameter name eval or arguments is not allowed in strict mode" };
{ "content_hash": "fb23e1a1ee61108c922ec358b1af7716", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 83, "avg_line_length": 26.833333333333332, "alnum_prop": 0.6335403726708074, "repo_name": "pze/espree", "id": "de5fb84e6f110ef150ca23a1ca2d19ce5f557819", "size": "161", "b...
import torch import torch.nn as nn import torch.nn.functional as F from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence, PackedSequence from sklearn.metrics import confusion_matrix from utils import create_emb_layer def accuracy(pred, label): correct = [] for i in range(len(pred)): ...
{ "content_hash": "a2eed6f9cfcf94586bea18ce35cd87c7", "timestamp": "", "source": "github", "line_count": 190, "max_line_length": 121, "avg_line_length": 41.84736842105263, "alnum_prop": 0.48132310401207395, "repo_name": "prakhar2b/Weekend-Projects", "id": "134355699b05aacc960f2c1c81e861b80dc292d6", ...
.class public interface abstract Landroid/widget/ExpandableListViewMz$scrollActionOnGroupExpand; .super Ljava/lang/Object; .source "ExpandableListViewMz.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroid/widget/ExpandableListViewMz; .end annotation .annotation system Ldalv...
{ "content_hash": "9a1941244010d771083fbf523901d92f", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 96, "avg_line_length": 26.736842105263158, "alnum_prop": 0.8169291338582677, "repo_name": "hexiaoshuai/Flyme_device_ZTE_A1", "id": "7e049f467d5fd89add7dd7c2d45d783707cd434d",...
class ProfileManagerAndroid : public ProfileManagerObserver { public: ProfileManagerAndroid(); ~ProfileManagerAndroid() override; void OnProfileAdded(Profile* profile) override; void OnProfileMarkedForPermanentDeletion(Profile* profile) override; }; #endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_ANDROID_...
{ "content_hash": "2c7d4608966d480c97e8781e4c9326be", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 70, "avg_line_length": 32.3, "alnum_prop": 0.8018575851393189, "repo_name": "nwjs/chromium.src", "id": "3e2881c0269da0fc7f5ef3971eb4e062360c16e1", "size": "667", "binary"...
using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.Contracts; using System.Globalization; using System.Runtime.Serialization; using System.Security; using System.Text; using System.Threading; using RuntimeTypeCache = System.RuntimeType.RuntimeTypeCache; namespace System.Reflection { ...
{ "content_hash": "ab355a9c884f7007ef0814155795e81a", "timestamp": "", "source": "github", "line_count": 799, "max_line_length": 160, "avg_line_length": 36.81476846057572, "alnum_prop": 0.585721570627231, "repo_name": "James-Ko/coreclr", "id": "b8a2341e4e85f6bb128c60b900fdda5d3567edac", "size": "296...
//======================================================================== //Copyright 2007-2010 David Yu dyuproject@gmail.com //------------------------------------------------------------------------ //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance...
{ "content_hash": "b69fb769bd42acb0bafbab42ff49de87", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 94, "avg_line_length": 38.292682926829265, "alnum_prop": 0.6038216560509554, "repo_name": "waahoo/protostuff", "id": "f86190e5e73a7f82b8736aff87d714970bcecce7", "size": "15...
# socket.io [![Build Status](https://secure.travis-ci.org/socketio/socket.io.svg?branch=master)](https://travis-ci.org/socketio/socket.io) [![Dependency Status](https://david-dm.org/socketio/socket.io.svg)](https://david-dm.org/socketio/socket.io) [![devDependency Status](https://david-dm.org/socketio/socket.io/...
{ "content_hash": "b4a0fa76add806e0ebbc65c5750787f6", "timestamp": "", "source": "github", "line_count": 489, "max_line_length": 204, "avg_line_length": 30.33128834355828, "alnum_prop": 0.6806229773462783, "repo_name": "byxchen/MC2", "id": "2059adf90341393065bfa4d777a964f7105bc458", "size": "14839",...
#ifdef __UNIX__ #include <assert.h> #endif #include "stderr.h" #include "blobbox.h" #include "ccstruct.h" #include "detlinefit.h" #include "statistc.h" #include "drawtord.h" #include "blkocc.h" #include "sortflts.h" #include "ol...
{ "content_hash": "742b3ebd127a41d68d927edb74d5b4a0", "timestamp": "", "source": "github", "line_count": 2683, "max_line_length": 94, "avg_line_length": 37.67275437942602, "alnum_prop": 0.5552653448889944, "repo_name": "BruceWoR/tess-two-master", "id": "6d72b33d09a665b5451349847a235263d583aeac", "si...
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 1997, 2019 Oracle and/or its affiliates. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v. 1.0, which is available at http://www.eclipse.org/org/documents/...
{ "content_hash": "cb8973fb49a38743059324779de23f80", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 79, "avg_line_length": 30.25925925925926, "alnum_prop": 0.6780905752753978, "repo_name": "eclipse-ee4j/metro-jax-ws", "id": "125d9e00ef1e3da02bf025763c688a756f5ae895", "siz...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace MathConversions { public partial class Celsius_To_Fahrenheit : Form { public Celsius_To_Fahrenheit() ...
{ "content_hash": "3aa1e81a37ad43407f66cc393d6d98ee", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 219, "avg_line_length": 34.57575757575758, "alnum_prop": 0.485977212971078, "repo_name": "megatarre/Twitch-Stream-C-Project-Math-Conversions-", "id": "fd4274a5d15f8e27fe2bd5e...
ActiveRecord::Schema.define(version: 20160125013209) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" create_table "cancellations", force: :cascade do |t| t.string "email", null: false t.string "stripe_customer_id", null: false ...
{ "content_hash": "9799e3455c93476022001bb9d5cb9855", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 131, "avg_line_length": 45.285714285714285, "alnum_prop": 0.5688748685594112, "repo_name": "codecation/trailmix", "id": "5c4e9781086e348ea3cf0854054c8c70794c0696", "size": ...
/** * @license Highcharts JS v6.1.0 (2018-04-13) * * (c) 2009-2017 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { module.exports = factory; } else { factory(Highcharts); } }(function (Highcharts) { (function...
{ "content_hash": "3a5b3c53a2fde7ece6457a7a59fdbaee", "timestamp": "", "source": "github", "line_count": 1518, "max_line_length": 103, "avg_line_length": 34.55270092226614, "alnum_prop": 0.4633276772606814, "repo_name": "cdnjs/cdnjs", "id": "48ac61046da7f065ef535d909f0c297031f97656", "size": "52451"...
/* tslint:disable:no-unused-variable */ import { TestBed } from '@angular/core/testing'; import { GeoInputComponent } from './geo-input.component'; import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { TranslatePipe } from '@ngx-translate/core'; import { TranslateService } from '@ngx-translate/core'; import ...
{ "content_hash": "4d1833a247909ccb91b8bd4e658babe9", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 63, "avg_line_length": 33.48148148148148, "alnum_prop": 0.6548672566371682, "repo_name": "aitarget/aitarget-components", "id": "ad06b796b8a02e5d73e122f80aec057fb6fb3b65", "...
package hudson.tasks; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import hudson.Launcher; import hudson.Util; import hudson.XmlFile; import hudson.matrix.Axis; import hudson.matrix.AxisList; import hudson.matrix.MatrixProject; import hudson.model.*; import hudson.uti...
{ "content_hash": "3d92422e746b65ae7d1b5dac176bae4b", "timestamp": "", "source": "github", "line_count": 366, "max_line_length": 143, "avg_line_length": 43.57377049180328, "alnum_prop": 0.708051166290444, "repo_name": "deadmoose/jenkins", "id": "b270c1ca4e4d78047303e3100921179dd9dce432", "size": "17...
<?php if (!CM_Db_Db::existsTable('denkmal_model_userinvite')) { CM_Db_Db::exec(" CREATE TABLE IF NOT EXISTS `denkmal_model_userinvite` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `inviter` int(11) unsigned NOT NULL, `key` varchar(100) NOT NULL, `email` varchar(1...
{ "content_hash": "33557bf8831f74643df44b61f307c04c", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 63, "avg_line_length": 34.8125, "alnum_prop": 0.5727109515260324, "repo_name": "fvovan/denkmal.org", "id": "ea2b2deb6ace5acbdd3ce29e8b0cbb748b19a803", "size": "557", "bin...
Color3D GetAchievementColor(eAchievement achievement) { static Color3D medalColors[kAchievement_Gold-kAchievement_Bronze+1]; medalColors[0] = Color3DMake(0.8f, 0.45f, 0.3f, 1.0f); medalColors[1] = Color3DMake(0.9f, 0.9f, 1.0f, 1.0f); medalColors[2] = Color3DMake(1.0f, 0.7f, 0.05f, 1.0f); r...
{ "content_hash": "cd4ffd5e7dfe8436249239ff13e8c85d", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 77, "avg_line_length": 30.886363636363637, "alnum_prop": 0.6622516556291391, "repo_name": "srr313/PinataSmash-Open", "id": "f83baaa7412570e61434a80e699564a67952e9ac", "size...
<body> <div id="container"> <div class="fixed-alert"> <div class="row"> <div id="alert" class="col-lg-4 col-lg-offset-4"> </div> </div> </div> <div class="row space"></div> <div class="row space"></div> <div class="row no-margin"> <div class="col-lg-4 col-lg-offset-4"> <div class="panel ...
{ "content_hash": "bb539a9db2b072815afd5c646efa01f2", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 92, "avg_line_length": 32.166666666666664, "alnum_prop": 0.5684678016284234, "repo_name": "marc0l92/ArciconfraternitaCarmine_webapp", "id": "e860c5f62334ca96ee7aa728dd48176a5...
package tests; import javax.annotation.processing.Generated; import javax.inject.Inject; import javax.inject.Provider; @Generated( value = "com.google.auto.factory.processor.AutoFactoryProcessor", comments = "https://github.com/google/auto/tree/master/factory" ) class ConstructorAnnotatedNonFinalFactory ...
{ "content_hash": "e6b796f47154372a9aa80c02603ff986", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 94, "avg_line_length": 29.363636363636363, "alnum_prop": 0.7383900928792569, "repo_name": "eamonnmcmanus/auto", "id": "25ec894fbe215d32b4d82db3baaf722943ad6ce3", "size": "1...
<?php namespace enshrined\svgSanitize\data; /** * Class AllowedAttributes * * @package enshrined\svgSanitize\data */ class AllowedAttributes implements AttributeInterface { /** * Returns an array of attributes * * @return array */ public static function getAttributes() { ...
{ "content_hash": "667b69e034b0ad1c04465f5f6d071f41", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 98, "avg_line_length": 53.627906976744185, "alnum_prop": 0.5925845620121423, "repo_name": "Kilbourne/biosphaera", "id": "9ae95becee565b908698ac3370452cb0fb643069", "size": ...
<?xml version="1.0" encoding="utf-8"?> <ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/white_semitransparent_10" />
{ "content_hash": "738666083cdc9a532d22e444d628acb4", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 66, "avg_line_length": 53.333333333333336, "alnum_prop": 0.71875, "repo_name": "pbednarz/TutorialViewPager", "id": "a2f9918be1452eb4bf7550f958923f09394d52e9", "size": "160",...
package org.gradle.internal.reflect; /** * Thrown when a requested method cannot be found. */ public class NoSuchMethodException extends RuntimeException { public NoSuchMethodException(String message) { super(message); } }
{ "content_hash": "2a016ef5bb00bfe80fb6fa08209f3abe", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 61, "avg_line_length": 20.333333333333332, "alnum_prop": 0.7254098360655737, "repo_name": "FinishX/coolweather", "id": "e61a1bbb60210beeb0e67462fc3528537b612889", "size": "...
package mcjty.rftools.blocks.dimletconstruction; import mcjty.entity.GenericTileEntity; import mcjty.rftools.blocks.BlockTools; import mcjty.rftools.items.dimlets.DimletKey; import mcjty.rftools.items.dimlets.DimletObjectMapping; import net.minecraft.nbt.NBTTagCompound; import java.util.Map; import java.util.Random; ...
{ "content_hash": "aee48ca584361df6cb916c6dacebb54e", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 126, "avg_line_length": 31.666666666666668, "alnum_prop": 0.5669473684210526, "repo_name": "Adaptivity/RFTools", "id": "efebebc48186fd3447517d814607f0650e9b6886", "size": ...
package in.twizmwaz.cardinal.command; import com.sk89q.minecraft.util.commands.Command; import com.sk89q.minecraft.util.commands.CommandContext; import com.sk89q.minecraft.util.commands.CommandException; import in.twizmwaz.cardinal.Cardinal; import in.twizmwaz.cardinal.GameHandler; import in.twizmwaz.cardinal.chat.Cha...
{ "content_hash": "3089de882ac5a65065fab4695c46d1f8", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 355, "avg_line_length": 63.13186813186813, "alnum_prop": 0.6052219321148825, "repo_name": "Electroid/ExperimentalPGM", "id": "e8558e610a3c7138cfc57ba12b4f36f39b40b77d", "si...
<?php namespace yiiunit\framework\i18n; use yii\i18n\MessageFormatter; use yiiunit\TestCase; /** * @author Carsten Brandt <mail@cebe.cc> * @since 2.0 * @group i18n */ class FallbackMessageFormatterTest extends TestCase { const N = 'n'; const N_VALUE = 42; const SUBJECT = 'сабж'; const SUBJECT_VALUE = 'Answe...
{ "content_hash": "06db59fd7abe018d34e351179c8adbbc", "timestamp": "", "source": "github", "line_count": 167, "max_line_length": 95, "avg_line_length": 26.49700598802395, "alnum_prop": 0.592090395480226, "repo_name": "ostashevdv/yii2", "id": "a067f70359f862101b710f6ab0e9edb17a86a614", "size": "4573"...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE interactive_environment SYSTEM "../../interactive_environments.dtd"> <interactive_environment name="Paraview"> <data_sources> <data_source> <model_class>HistoryDatasetAssociation</model_class> <test type="isinstance" test_attr="datatyp...
{ "content_hash": "8621415ac847560a4c034b324813406a", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 124, "avg_line_length": 64.6, "alnum_prop": 0.6927244582043344, "repo_name": "BMCV/galaxy-image-analysis", "id": "c756ba9b5486377c65463a3e6e1a4b38a3a6745e", "size": "1292",...
#include "simba.h" #include "romeo.h" /* Analog pin constants. */ #define ANALOG_VOLTAGE_MAX 5.0f #define ANALOG_SAMPLES_MAX 1024 /* Measure over one of three resistors. */ #define VOLTAGE_DIVIDER_GAIN 3.0f /* Battery constants. */ #define BATTERY_VOLTAGE_MAX (VOLTAGE_DIVIDER_GAIN * ANALOG_VOLTAGE_MAX) #define BAT...
{ "content_hash": "e09b219f87001b9b2a972c45cf87839d", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 100, "avg_line_length": 31.210526315789473, "alnum_prop": 0.6531759415401911, "repo_name": "eerimoq/robomower", "id": "f2a24a0561aaf3f9254352b7ef5e6a3dbdc2f03f", "size": "...
from django.conf.urls import patterns, url urlpatterns = patterns( 'wagtail.wagtaildocs.views', url(r'^(\d+)/(.*)$', 'serve.serve', name='wagtaildocs_serve'), )
{ "content_hash": "9283af09bc468161d3b1a67a58894ea9", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 66, "avg_line_length": 28.333333333333332, "alnum_prop": 0.6588235294117647, "repo_name": "h2oloopan/easymerge", "id": "5f8ddaf0398ec4dea20853470e3e8cfea80bc3fb", "size": "1...
// Copyright 2013-2022, University of Colorado Boulder /** * C2H5Cl Molecule * Structure is similar to C2H6, but with Cl replacing one of the H's. * * @author Chris Malley (PixelZoom, Inc.) */ import { combineOptions, EmptySelfOptions } from '../../../phet-core/js/optionize.js'; import Element from '../Element.j...
{ "content_hash": "6fde865035f7d22ba56fed23e95c54d3", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 92, "avg_line_length": 37.92307692307692, "alnum_prop": 0.7168356997971602, "repo_name": "phetsims/nitroglycerin", "id": "4f1bc2f0bc9640cbafe5d56557c5b68c17f89aeb", "size":...
<resources> <string name="app_name">blescanner</string> <string name="action_settings">設定</string> <string name="action_scan_device">掃描裝置</string> <string name="ask_for_disconnect">確定要將此裝置斷線嗎?</string> <string name="available">允許連線裝置</string> <string name="back">返回</string> <string name="bon...
{ "content_hash": "925e6b25dfec240ca77fbb62a02468ec", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 58, "avg_line_length": 43.17857142857143, "alnum_prop": 0.6724565756823822, "repo_name": "ppcrong/blehelper", "id": "32ba67a7e12411f901d1c8d37b3c4d00211f3d86", "size": "141...
Pulls down Guckenheimer's menu for Union Pacific Center and tells me when there's chili. If you're interested in knowing when there's chili in the Union Pacific cafeteria, you can simply add the URL to your calendar. In Google Calendar, just go to Other Calendars and then **Add by URL**. ![Google Calendar - Add Cale...
{ "content_hash": "fbc20c87c3f1ac06bfc762128b7435b8", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 185, "avg_line_length": 49.81818181818182, "alnum_prop": 0.7728102189781022, "repo_name": "bdetweiler/chili-time", "id": "ba46aadd4b0e6d1f95f0b23172c7fb82b146d624", "size":...
<?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_con...
{ "content_hash": "8922c1ab1c13faf15cac66606e046f58", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 78, "avg_line_length": 42.336633663366335, "alnum_prop": 0.6073433115060805, "repo_name": "vickychijwani/quill", "id": "173837085413288c9e00351ae8e9b556cdb8907e", "size": ...
declare namespace javax { namespace tools { interface JavaCompiler extends javax.tools.Tool, javax.tools.OptionChecker { getTask(arg0: java.io.Writer, arg1: javax.tools.JavaFileManager, arg2: javax.tools.DiagnosticListener<unknown> | javax.tools.DiagnosticListener$$lambda<unknown>, arg3: java.lang.Iterable...
{ "content_hash": "d3214ec4646a74a199bcbe956e994789", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 351, "avg_line_length": 71.2, "alnum_prop": 0.7851123595505618, "repo_name": "wizawu/1c", "id": "a6e9c60262f5b97bc578012b755baa7f433fbb39", "size": "712", "binary": false...
NSString *const QLWaterfallFlowLayoutIdentifier = @"QLWaterfallFlowLayoutIdentifier"; @interface ViewController ()<QLWaterfallFlowLayoutDelegate> @property (nonatomic, strong) NSMutableArray *dataSource; @end @implementation ViewController - (NSMutableArray *)dataSource { if (!_dataSource) { _dataSourc...
{ "content_hash": "1bb692ef8eda43d0d668aa452f44a456", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 167, "avg_line_length": 34.547008547008545, "alnum_prop": 0.7236516575952499, "repo_name": "debugly/QLWaterfallCollectionView", "id": "1ce2180eee7cf07ce71d185c83198b8806813a...
RELN_ROOT?= ${.CURDIR}/../../.. DOC?= article FORMATS?= html INSTALL_COMPRESSED?= gz INSTALL_ONLY_COMPRESSED?= JADEFLAGS+= -V %generate-article-toc% # SGML content SRCS+= article.xml SRCS+= proc-alpha.xml SRCS+= ../common/hw.ent SRCS+= ../common/artheader.xml SRCS+= ../common/dev.xml .include "${RELN_ROOT}/share...
{ "content_hash": "367de194ff56e4eec063e0557eb183eb", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 48, "avg_line_length": 21.666666666666668, "alnum_prop": 0.6846153846153846, "repo_name": "dplbsd/zcaplib", "id": "f80fca3e8e9b6cea947afb7cf369716dcc94c4b1", "size": "687",...
TREFLECT_BEGIN(IObject) TREFLECT_FIELD(m_Flag, "Flag") TREFLECT_END(IObject) //------------------------------------------------------------------------------ #endif // FOUNDATION_REFLECTION_DECL_H
{ "content_hash": "2d988d567de8512c5506e46a7e69c9ab", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 80, "avg_line_length": 33, "alnum_prop": 0.45454545454545453, "repo_name": "hilbertdu/TurboEngine", "id": "c4b98dc8e13b5397d311f21b2ef78f2445bd4084", "size": "664", "binar...
package org.hisp.dhis.dxf2.webmessage; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import com.g...
{ "content_hash": "41a80ecd97b4e7c578d96eb20fc07f38", "timestamp": "", "source": "github", "line_count": 195, "max_line_length": 94, "avg_line_length": 24.861538461538462, "alnum_prop": 0.5666254125412541, "repo_name": "msf-oca-his/dhis-core", "id": "59e286c8eb6f7e7197e2814e471d18e12067f984", "size"...
// <copyright file="IAgencyDataAccessor.cs" company="Yojowa, LLC"> // Copyright (c) 2016-2020 All Rights Reserved // </copyright> // <author>Alex Bulankou</author> // <date>01/17/2017</date> namespace Yojowa.WebJobAgency { using System; using System.Collections.Generic; /// <summary> /// Agency data ...
{ "content_hash": "96be807c218f03a752df4b419971939c", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 136, "avg_line_length": 35.78651685393258, "alnum_prop": 0.5905808477237049, "repo_name": "stopbystop/sbs-app", "id": "6f843a0e8d651b66533a9a7939a00826d9492b76", "size": "3...
typedef XID GLXWindow; typedef XID GLXDrawable; typedef struct __GLXFBConfig* GLXFBConfig; typedef struct __GLXcontext* GLXContext; typedef void (*__GLXextproc)(void); typedef int (*PFNGLXGETFBCONFIGATTRIBPROC)(Display*,GLXFBConfig,int,int*); typedef const char* (*PFNGLXGETCLIENTSTRINGPROC)(Display*,int); typedef Bool...
{ "content_hash": "f7be30617ac67b53d65963a01bd6fd83", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 105, "avg_line_length": 43.23893805309734, "alnum_prop": 0.7259516987310684, "repo_name": "IntelRealSense/librealsense", "id": "f767cb1417419141fa90006bdf9b37eff7d96f39", ...
using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace NOF2.Demo.Model { public static partial class Mapper { public static void Map(this EntityTypeBuilder<Sal...
{ "content_hash": "dd5fb161097e31d8010af0d345771a6a", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 113, "avg_line_length": 41.21875, "alnum_prop": 0.6512509476876421, "repo_name": "NakedObjectsGroup/NakedObjectsFramework", "id": "e8d8ba81c568263c54373059d98e43541ba1f443", ...
// Package status defines a few useful functions for our binaries, // mainly to link the status page with a vtctld instance. package status import ( "fmt" "html/template" "net/url" "strings" "github.com/spf13/pflag" "vitess.io/vitess/go/vt/servenv" ) var vtctldAddr string func registerFlags(fs *pflag.FlagS...
{ "content_hash": "0813b7b9e1f63bd9786332c5af6a1b23", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 85, "avg_line_length": 29.234375, "alnum_prop": 0.7252805986103688, "repo_name": "mahak/vitess", "id": "ad11af5050b7a5b6e52ceaff286a340fe00a2bc5", "size": "4307", "binar...
import statsmodels.api as sm from scipy.stats import norm import numpy as np import pytest import scipy import sys import os from respy.python.solve.solve_auxiliary import get_predictions from codes.auxiliary import write_interpolation_grid from codes.random_init import generate_init from respy.python.shared.shared_...
{ "content_hash": "b8d4a9dde1cd3de6590b9105732b15cb", "timestamp": "", "source": "github", "line_count": 539, "max_line_length": 222, "avg_line_length": 40.0556586270872, "alnum_prop": 0.6320055581287634, "repo_name": "restudToolbox/package", "id": "d50fce3896f401d2fcd35f2a8ed61e500e0ab82e", "size":...
@import Foundation; @interface EXProvisioningProfile : NSObject + (instancetype)mainProvisioningProfile; @property (nonatomic, readonly, getter=isDevelopment) BOOL development; @end
{ "content_hash": "01d38447e2f9c93cb7e8c98bb0bc2002", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 71, "avg_line_length": 20.666666666666668, "alnum_prop": 0.8118279569892473, "repo_name": "NewSpring/Apollos", "id": "febdf8d304b9f67a0f6a02a8e23b10a2582be1f6", "size": "250...
package main // Tests of call-graph queries, -format=json. // See go.tools/oracle/oracle_test.go for explanation. // See callgraph-json.golden for expected query results. func A() {} func B() {} // call is not (yet) treated context-sensitively. func call(f func()) { f() } // nop *is* treated contex...
{ "content_hash": "d803bd42ce593cd57ae5fd18c8f6e488", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 56, "avg_line_length": 14.555555555555555, "alnum_prop": 0.5788804071246819, "repo_name": "dolotech/bullfight", "id": "829a4948daf7db9db846734a25898b2396715d9c", "size": "7...
class CreateStarships < ActiveRecord::Migration[5.0] def change create_table :starships do |t| t.string :name t.string :model t.string :starship_class t.string :manufacturer t.float :cost_in_credits t.float :length t.string :crew t.string :passengers t.integer...
{ "content_hash": "2791de8b0c6ff50c6038d7911f16c86f", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 52, "avg_line_length": 23.61904761904762, "alnum_prop": 0.6350806451612904, "repo_name": "GraphQLAcademy/swapi-graphql-ruby", "id": "c73fea925f52b00895c752ba99f86f04ab4770a4"...
package app.coolweather.com.coolweather.activity; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.text.TextUtils; import android.view.View; impo...
{ "content_hash": "4ac511af776f5491bbf82d43777b2535", "timestamp": "", "source": "github", "line_count": 231, "max_line_length": 107, "avg_line_length": 36.064935064935064, "alnum_prop": 0.583723442563918, "repo_name": "chenjie13/coolweather", "id": "585abec0f0597c806112b517aa79fcc6a7badf43", "size"...
PACKAGE_URL=https://github.com/vert-x3/vertx-web.git PACKAGE_VERSION=${1:-3.9.1} #Install required files yum install -y git maven python3 ln -s /usr/bin/python3 /usr/bin/python #Cloning Repo git clone $PACKAGE_URL cd vertx-web/ git checkout $PACKAGE_VERSION #Build test package mvn install echo "Complete!"
{ "content_hash": "1e73896afa390ecf9bda3bbcf1e60002", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 52, "avg_line_length": 19.375, "alnum_prop": 0.7580645161290323, "repo_name": "ppc64le/build-scripts", "id": "92d973b846867fae19022df69a80f1aa8617df04", "size": "1068", "...
local ADDON_NAME, ADDON = ... local bankFrame = {} bankFrame.__index = bankFrame function DJBagsRegisterBankFrame(self, bags) for k, v in pairs(bankFrame) do self[k] = v end ADDON.eventManager:Add('BANKFRAME_OPENED', self) ADDON.eventManager:Add('BANKFRAME_CLOSED', self) table.insert(UI...
{ "content_hash": "d81a44051648dfa5fe980bb7b2cdf561", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 53, "avg_line_length": 24.74468085106383, "alnum_prop": 0.649183147033534, "repo_name": "DarkJaguar91/DJBags", "id": "9ff8f9eb74f863c253c4c01d313429d6f1ff593f", "size": "11...
"use strict"; var AutoFocusMixin = require("./AutoFocusMixin"); var DOMPropertyOperations = require("./DOMPropertyOperations"); var LinkedValueUtils = require("./LinkedValueUtils"); var ReactBrowserComponentMixin = require("./ReactBrowserComponentMixin"); var ReactClass = require("./ReactClass"); var ReactElement = ...
{ "content_hash": "fc7553d74ad9d576b395a0b6705f8ad8", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 208, "avg_line_length": 37.76315789473684, "alnum_prop": 0.6922183507549361, "repo_name": "yomolify/cs-webserver", "id": "c323921c7e4987050e9be4c7341a5c061e80edda", "size"...
<?php namespace Zend\Feed\PubSubHubbub; use DateInterval; use DateTime; use Traversable; use Zend\Feed\Uri; use Zend\Http\Request as HttpRequest; use Zend\Stdlib\ArrayUtils; class Subscriber { /** * An array of URLs for all Hub Servers to subscribe/unsubscribe. * * @var array */ protecte...
{ "content_hash": "e8c6addf181c8cb2c995fe7e400432f8", "timestamp": "", "source": "github", "line_count": 831, "max_line_length": 139, "avg_line_length": 30.842358604091455, "alnum_prop": 0.5629730784237222, "repo_name": "winz-git/zend-2-basic-application-with-doctrine", "id": "14f3cdd128e5261deb3cf8c9...
<?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> <groupId>com.google.cloud</groupId> ...
{ "content_hash": "b628d4ad173907fa76bec50e8d00d945", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 204, "avg_line_length": 32.74015748031496, "alnum_prop": 0.6611351611351611, "repo_name": "googleapis/java-eventarc-publishing", "id": "45a6f3ab42fb6d1860a94df861bab3fa8659c...
<!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_26) on Sun Jan 22 14:18:59 CET 2012 --> <TITLE> Uses of Class soot.toolkits.astmetrics.DataHandlingApplication.ProcessData (Soot API) </TITLE> <META...
{ "content_hash": "5751cc269207ec22758b095d205d6612", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 265, "avg_line_length": 42.68055555555556, "alnum_prop": 0.6282134721770257, "repo_name": "Phortran/SicurezzaInformatica", "id": "3c2630a8a97c0254a10d14760e4843c9491c82e3", ...
<?php namespace Magnetikonline\Automobile; // This is a Racecar class class Racecar { public function sayWhatIAm() { echo("I'm a Racecar - I drive fast!\n"); } }
{ "content_hash": "e3d2c11fc734f54d76b8f30b04ede84a", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 42, "avg_line_length": 14.166666666666666, "alnum_prop": 0.6823529411764706, "repo_name": "magnetikonline/phpnsautoloader", "id": "bce7603dab387908c6c7652af3f303062b0535bc", ...
module Server.Import (module Server.Types ,module Server.Log ,module Control.Concurrent ,module Control.Monad ,module Control.Exception ,module Control.Monad.Trans ,module Network ,io) where import Server.Types import Server.Log import Control.Concurrent import Control.Monad import Control.Exception ...
{ "content_hash": "415eea6616ac53ca6e16f5c8711dfa17", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 45, "avg_line_length": 21.347826086956523, "alnum_prop": 0.7637474541751528, "repo_name": "kini/ghc-server", "id": "9bda8ba60a01ac2af67af6b9c1b44b8e958883b6", "size": "491"...
const { merge } = require('webpack-merge') const common = require('./webpack.common') module.exports = merge(common, { mode: 'development', watch: true, devtool: 'inline-source-map', })
{ "content_hash": "b323ef7b50d4b408084470015ae5b94b", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 42, "avg_line_length": 24.125, "alnum_prop": 0.6735751295336787, "repo_name": "githayu/nicofinder-extension", "id": "d14d84d325cde22b0f742c735613621364482391", "size": "193"...
import os class Config(object): DEBUG = False TESTING = False CSRF_ENABLED = True SECRET_KEY = 'this-really-needs-to-be-changed' SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL'] class DevelopmentConfig(Config): DEVELOPMENT = True DEBUG = True
{ "content_hash": "0079d777bb6d7870bd2763fb33cd7872", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 56, "avg_line_length": 23.083333333333332, "alnum_prop": 0.6859205776173285, "repo_name": "jwestgard/elk", "id": "239459cc146bea6f1127f5bd85bfb9a398897be9", "size": "277", ...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>expm1</title> <link rel="stylesheet" href="../../math.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../index.html" title="Math Toolkit 3.1.0"> <link rel="up" href=...
{ "content_hash": "4607928d62f2a30f5dd5fdd746b805ff", "timestamp": "", "source": "github", "line_count": 176, "max_line_length": 514, "avg_line_length": 59.34090909090909, "alnum_prop": 0.607047108387591, "repo_name": "davehorton/drachtio-server", "id": "0bee6a3de6decfb6b9d9ca5dde00e61390865f2d", "s...
"use strict"; it.suite("it tdd", function (it) { it.test("should not be null", function () { assert.isNotNull(it); }); it.test("should describe", function () { assert.equal(it.description, "it tdd"); }); it.test("should have methods", function () { assert.isFunction(it.be...
{ "content_hash": "dffeb6618b683847e4dd299f41a7ea8e", "timestamp": "", "source": "github", "line_count": 608, "max_line_length": 123, "avg_line_length": 28.192434210526315, "alnum_prop": 0.37955778542675456, "repo_name": "doug-martin/it", "id": "d2aca9ae6175fbdd54d6e1d25e05db8aed999f59", "size": "17...
<?php require __DIR__ . '/../vendor/autoload.php'; require __DIR__ . '/TestCase.php';
{ "content_hash": "b0326d0490a6bc0bd23caae51b9d475f", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 44, "avg_line_length": 28.666666666666668, "alnum_prop": 0.5930232558139535, "repo_name": "basecrm/basecrm-php", "id": "56a9764507d8662d78f1fed22440344bffe6f5ea", "size": "8...
<?php namespace Zend\Http\Header; /** * @throws Exception\InvalidArgumentException * @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.31 */ class MaxForwards implements HeaderDescription { public static function fromString($headerLine) { $header = new static(); list($name...
{ "content_hash": "2cd6953bd7d76c58d69040770614b66d", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 121, "avg_line_length": 22.34090909090909, "alnum_prop": 0.6063072227873856, "repo_name": "Techlightenment/zf2", "id": "8f294b4bfdc4a5bd93b033c8335e962e9d407b57", "size": "...
<div class="app-brandname-logo"> <div class="app-brandname-image"> <img src="{{ page.base_url }}assets/images/logo.png" /> </div> <div class="app-brand-claim"> Verein für Umweltmanagement und<br /> Nachhaltigkeit in Finanzinstituten e.V. </div> </div>
{ "content_hash": "e4f991143af8096023506a2c131e87f3", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 58, "avg_line_length": 30.444444444444443, "alnum_prop": 0.6532846715328468, "repo_name": "a25kk/vfu", "id": "83b5d3348547d65f0128575bf13290003080ce69", "size": "275", "bi...
// Iterator over persisted metrics #include "persistent_iterator-win32.h" namespace stats_report { void PersistentMetricsIteratorWin32::Next() { current_value_.reset(); // Try to open the top-level key if we didn't already. if (NULL == key_.m_hKey) { HKEY parent_key = is_machine_ ? HKEY_LOCAL_MACHINE : ...
{ "content_hash": "d813d62ab7bd8b52fe8a269e36022b10", "timestamp": "", "source": "github", "line_count": 134, "max_line_length": 78, "avg_line_length": 30.417910447761194, "alnum_prop": 0.49975466143277725, "repo_name": "rwatson/chromium-capsicum", "id": "edf687bbfd85bae5d75cc9f8d9f9c17a7c24fefa", "...
package de.taimos.daemon.log4j; import de.taimos.daemon.DaemonProperties; import de.taimos.daemon.DaemonStarter; import de.taimos.daemon.ILoggingConfigurer; import org.apache.logging.log4j.Level; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.core....
{ "content_hash": "ab5ee2123f189d63d340951e6d1f2ebb", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 165, "avg_line_length": 48.87596899224806, "alnum_prop": 0.7359238699444886, "repo_name": "taimos/dvalin", "id": "25996384431ef43525700d9267fd542d6a05bbec", "size": "6968"...
define(function(require) { 'use strict'; var Songs = require('background/collection/songs'); var YouTubeAPIKey = require('background/key/youTubeAPIKey'); var SongType = require('background/enum/songType'); var YouTubeServiceType = require('background/enum/youTubeServiceType'); var Utility = require('commo...
{ "content_hash": "bf6a4f051233f756cf5e47a851c426ab", "timestamp": "", "source": "github", "line_count": 359, "max_line_length": 131, "avg_line_length": 32.43732590529248, "alnum_prop": 0.5575783598110777, "repo_name": "nglinh/StreamusChromeExtension", "id": "e3c281937a68e2a729f9325492b6fa8e66d340fd",...
"""Sort current config.json alphabetically. """ import json import os import re import sys ORIG_CWD = os.getcwd() # Checkout changes cwd def test_infra(*paths): """Return path relative to root of test-infra repo.""" return os.path.join(ORIG_CWD, os.path.dirname(__file__), '..', *paths) def sort(): """S...
{ "content_hash": "439d8a1fa671fdfa74e9c3db8a367009", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 74, "avg_line_length": 32.666666666666664, "alnum_prop": 0.5338345864661654, "repo_name": "dchen1107/test-infra", "id": "7b482a0ba89cb570d751d5a753cc3e09ced3b34d", "size": ...
""" A few bits of helper functions for comment views. """ import textwrap try: from urllib.parse import urlencode except ImportError: # Python 2 from urllib import urlencode from django.http import HttpResponseRedirect from django.shortcuts import render_to_response, resolve_url from django.template import ...
{ "content_hash": "8e1283a96b84654325ce65be32a1560a", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 86, "avg_line_length": 26.894736842105264, "alnum_prop": 0.6056751467710372, "repo_name": "Maplecroft/django-contrib-comments", "id": "32e73def5e1efc7ed74e3106bdbe21972d66be5...
@interface AppDelegate () @end @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; self.window.rootViewController = [[LMJCollectionViewCon...
{ "content_hash": "2b286125432360c30ba79d817ba43aee", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 281, "avg_line_length": 49.292682926829265, "alnum_prop": 0.7778327560613557, "repo_name": "NJHu/FlowLayout", "id": "08ca0c57b7bc1e284fc3328a8564cb42c8a6590d", "size": "223...
from __future__ import absolute_import __metaclass__ = type ANSIBLE_METADATA = {'status': ['preview'], 'supported_by': 'community', 'metadata_version': '1.1'} DOCUMENTATION = ''' --- module: zfs_delegate_admin short_description: Manage ZFS delegated administration (user admin ...
{ "content_hash": "b726ed0997c45ec2208f52eaf493563d", "timestamp": "", "source": "github", "line_count": 243, "max_line_length": 118, "avg_line_length": 36.641975308641975, "alnum_prop": 0.5889487870619946, "repo_name": "galaxyproject/ansible-common-roles", "id": "749dba5b5a178e2d5df6d116a0cb0cfea666f...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>basic_signal_set::remove</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../../boost_asio.ht...
{ "content_hash": "f82c6bfb07f565ce1efb1f601d6d541c", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 449, "avg_line_length": 78.21052631578948, "alnum_prop": 0.6469268730372364, "repo_name": "zjutjsj1004/third", "id": "9c9fce40259787c6295d4fba9427029f06ceb101", "size": "44...