text stringlengths 2 1.04M | meta dict |
|---|---|
package org.robolectric.shadows;
import android.app.SearchManager;
import android.app.SearchableInfo;
import android.content.ComponentName;
import org.robolectric.annotation.Implements;
import org.robolectric.annotation.Implementation;
@Implements(SearchManager.class)
public class ShadowSearchManager {
@Implementa... | {
"content_hash": "50c8d00f478ff9498836e8617f0495b4",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 72,
"avg_line_length": 27.58823529411765,
"alnum_prop": 0.8208955223880597,
"repo_name": "qx/FullRobolectricTestSample",
"id": "cd1ba759ba66b7419e63e96415b3c9d1c96e0754",
"... |
@interface IBAInputStreamLineReaderTests : GHTestCase {
}
@end
| {
"content_hash": "6cf0a0c07b192de0f5007caba579db04",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 55,
"avg_line_length": 16,
"alnum_prop": 0.796875,
"repo_name": "ittybittyapps/ittybittybits",
"id": "ec9da8ec5b9f5ca83cab9189f6aeac5a4abefa56",
"size": "833",
"binary": f... |
package com.greencatsoft.d3.event
import scala.scalajs.js
import scala.scalajs.js.UndefOr
import org.scalajs.dom.Node
import com.greencatsoft.d3.selection.{ ElementIterator, Selection }
@js.native
trait EventSource[A <: Node, B <: Selection[A, B]] extends js.Object {
def on(event: String): UndefOr[js.ThisFunctio... | {
"content_hash": "b6fcc83a1dd4c028bd3acefc26f603b6",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 92,
"avg_line_length": 26.181818181818183,
"alnum_prop": 0.7204861111111112,
"repo_name": "greencatsoft/scalajs-d3",
"id": "ba87e1fdd6f6825632af41ffbaad4b51b0ddd27d",
"size... |
#include <string.h> /* for memset */
#include "GUI.h"
#include "BUTTON.h"
#include "FRAMEWIN.h"
#include "TEXT.h"
#include "DIALOG.h"
#if GUI_WINSUPPORT
/*********************************************************************
*
* Defaults
*
******************************************... | {
"content_hash": "d1813fb70fda0be1ef98b3f96d073308",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 121,
"avg_line_length": 39.131736526946106,
"alnum_prop": 0.5112471308339709,
"repo_name": "byxob/calendar",
"id": "40941694a3a2f3cb137d05d44ae0cb570005bae5",
"size": "749... |
<?php
/**
* This file is part of the Minty templating library.
* (c) Dániel Buga <daniel@bugadani.hu>
*
* For licensing information see the LICENSE file.
*/
namespace Minty\Compiler\Operators\ArithmeticOperators;
use Minty\Compiler\Operators\SimpleBinaryOperator;
class RemainderOperator extends SimpleBinaryOpe... | {
"content_hash": "916ce44156096eebd17c45e6eccd331e",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 55,
"avg_line_length": 18,
"alnum_prop": 0.6816239316239316,
"repo_name": "bugadani/Minty",
"id": "5acc6ecdee0a2c7060531e8a33424093bebc4438",
"size": "469",
"binary": fal... |
<div id="myCarousel" class="carousel slide carousel-fade hidden-xs-up mb-3" data-ride="carousel">
<div class="carousel-inner">
@foreach ($slideshow->slides as $slide)
@if ($loop->first)
<div class="carousel-item active">
@else
<div class="carousel-item">
@endif
<img src="{{... | {
"content_hash": "e7f2da984c4efd7c1978fc23dfc19374",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 97,
"avg_line_length": 30,
"alnum_prop": 0.5578947368421052,
"repo_name": "bishopm/base",
"id": "615f294604aa3d9b5a9129ef310fbf66fc166566",
"size": "570",
"binary": false... |
import {parseAndGetExpression} from '../../../utils';
import {expect} from 'chai';
describe('ArrayPattern', () => {
it('should return correct type', () => {
expect(parseAndGetExpression('[x] = [1]').left.type).to.equal('ArrayPattern');
});
it('should accept empty pattern', () => {
var assi... | {
"content_hash": "abe301cec446d4ad04c10f460d8b9a9b",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 86,
"avg_line_length": 41.378787878787875,
"alnum_prop": 0.6012449652142072,
"repo_name": "markelog/cst",
"id": "b8fe8a954a63c36f3ee31ca2e882c11e70fc179e",
"size": "2731",
... |
package virthandler
import (
"fmt"
"net/http"
"strings"
"github.com/jeevatkm/go-model"
"k8s.io/client-go/kubernetes"
kubeapi "k8s.io/client-go/pkg/api"
"k8s.io/client-go/pkg/api/errors"
kubev1 "k8s.io/client-go/pkg/api/v1"
"k8s.io/client-go/pkg/util/workqueue"
"k8s.io/client-go/rest"
"k8s.io/client-go/tool... | {
"content_hash": "d83b9073c31ee359a101716aae447c6b",
"timestamp": "",
"source": "github",
"line_count": 212,
"max_line_length": 257,
"avg_line_length": 34.37735849056604,
"alnum_prop": 0.7041712403951701,
"repo_name": "sungwonh/kubevirt",
"id": "6243a9b362a85017933c5986d2e47df481c888b6",
"size": "7... |
require 'spec_helper'
require 'examples/auto_option'
RSpec.describe 'auto_option.rb' do
suppress_puts
it { expect(AutoOptionCommand.parse('-e Lorem').params).to eq(echo: 'Lorem') }
it { expect(AutoOptionCommand.parse('--eko Lorem').params).to eq(echo: 'Lorem') }
it { expect(AutoOptionCommand.parse('--eko="Lore... | {
"content_hash": "5f342ecd679b2d662810458ad6f8e199",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 98,
"avg_line_length": 42.90909090909091,
"alnum_prop": 0.7055084745762712,
"repo_name": "timcolonel/clin",
"id": "ae6073c1144c762b7feccf63c52c927593d19a2f",
"size": "472",... |
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message ... | {
"content_hash": "5a9384845c522312643861d36159e444",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 76,
"avg_line_length": 35.714285714285715,
"alnum_prop": 0.68,
"repo_name": "LeonidLyalin/vova",
"id": "e215721948366b8dc5b58c586da61921ce98c7fb",
"size": "1088",
"binary... |
<?php
namespace Proxies\__CG__\CMS\Entity;
/**
* DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR
*/
class Article extends \CMS\Entity\Article implements \Doctrine\ORM\Proxy\Proxy
{
/**
* @var \Closure the callback responsible for loading properties in the proxy object. This callback is... | {
"content_hash": "f7d26db1207b7bd9b68abeb0dc1d008e",
"timestamp": "",
"source": "github",
"line_count": 411,
"max_line_length": 583,
"avg_line_length": 25.287104622871045,
"alnum_prop": 0.5280477244299048,
"repo_name": "MyRayTech/CMSFul",
"id": "b1d9e6d6c1011459c876527a0239d2e998e8a38d",
"size": "1... |
* Allow user to remove featured image (#186)
* Use featured image for social sharing thumbnail if there is one ([#192](https://github.com/Differential/meteor-blog/issues/192))
* Add config to suppress loading CDN font-awesome ([#189](https://github.com/Differential/meteor-blog/issues/189))
* Fix crash caused by empty b... | {
"content_hash": "2b4392ac3c0d515cc88606757f15afa8",
"timestamp": "",
"source": "github",
"line_count": 219,
"max_line_length": 266,
"avg_line_length": 43.76255707762557,
"alnum_prop": 0.7303839732888147,
"repo_name": "dj0nes/meteor-blog",
"id": "3284d8bae12b57a8a59edc0b261b17db57217d17",
"size": "... |
title: "Hyperband"
sub_link: "optimization-engine/hyperband"
code_link: " core/polyaxon/polyflow/matrix/hyperband.py"
meta_title: "Polyaxon Optimization Engine - Hyperband Specification - Polyaxon References"
meta_description: "Hyperband is a relatively new method for tuning iterative algorithms. It performs random sam... | {
"content_hash": "13d49e2b3d9f63dc1ec117303419b4ad",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 334,
"avg_line_length": 44.2,
"alnum_prop": 0.7895927601809954,
"repo_name": "polyaxon/polyaxon",
"id": "14b55baccf91868180ddfed10c41d67c08441f38",
"size": "888",
"binary... |
package com.example.template4fx.control.dialog;
import com.example.template4fx.Keys;
import com.example.template4fx.fx.DialogEvent;
import com.example.template4fx.skin.ValuePickerSkin;
import javafx.application.Platform;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleObjectProperty;
im... | {
"content_hash": "0ed66e2278d2db9d9b62a401bedb94b8",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 116,
"avg_line_length": 23.27027027027027,
"alnum_prop": 0.6251451800232288,
"repo_name": "oscar-ahlen/template4fx",
"id": "940fb62e6f22bf6ede51af6180204673f05a637c",
"siz... |
<?php
declare(strict_types=1);
namespace spec\Sylius\Component\Core\Provider;
use Doctrine\Common\Collections\ArrayCollection;
use PhpSpec\ObjectBehavior;
use Sylius\Component\Core\Calculator\ProductVariantPriceCalculatorInterface;
use Sylius\Component\Core\Model\ChannelInterface;
use Sylius\Component\Core\Model\P... | {
"content_hash": "272166598b254914540316fbb200c0ca",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 112,
"avg_line_length": 39.86538461538461,
"alnum_prop": 0.6452001929570671,
"repo_name": "ylastapis/Sylius",
"id": "1004fe002a592d145dfc30d68eac8213f452ae02",
"size": "43... |
package redis.seek;
import java.util.List;
public class Result {
private long count;
private List<String> ids;
private double time;
public double getTime() {
return time;
}
public long getTotalCount() {
return count;
}
public List<String> getIds() {
return id... | {
"content_hash": "38744a54c4040cf4b520dcac4482f17b",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 62,
"avg_line_length": 17.678571428571427,
"alnum_prop": 0.5717171717171717,
"repo_name": "xetorthio/seek",
"id": "036c56735449b0b4dc05b68470f792ed955fd33e",
"size": "495",... |
import abc
import time
import copy
import re
import cwbot.util.DebugThreading as threading
from cwbot.util.tryRequest import tryRequest
from cwbot.kolextra.request.ClanRaidLogRequest import ClanRaidLogRequest
from cwbot.managers.MultiChannelManager import MultiChannelManager
from cwbot.database import database
... | {
"content_hash": "264ee568d581b97ab8248d45fccbf5b0",
"timestamp": "",
"source": "github",
"line_count": 269,
"max_line_length": 79,
"avg_line_length": 38.2639405204461,
"alnum_prop": 0.5080151559312154,
"repo_name": "ijzer/cwbot-ndy",
"id": "e79b6d2385c3a0c67607674bbe2a32565e1c8512",
"size": "10293... |
<?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": "2d7c698254d70b1da5c1a16c02ae4c22",
"timestamp": "",
"source": "github",
"line_count": 762,
"max_line_length": 867,
"avg_line_length": 34.4514435695538,
"alnum_prop": 0.6675300929452994,
"repo_name": "oleynikova/final_task",
"id": "10425ef15bdf26783e2844cd5440d0b1c958a1a3",
"size":... |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2006 INRIA
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed... | {
"content_hash": "8f46dd5e5163718c574d86c97a012a03",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 76,
"avg_line_length": 24.133333333333333,
"alnum_prop": 0.6716653512233622,
"repo_name": "Chiru/NVE_Simulation",
"id": "2df7045246ff0bd0e35d41ab8b831813f41948cb",
"size":... |
import path from 'path';
import { parseStackTraceLine } from '../utilsBundle';
import { isUnderTest } from './';
export function rewriteErrorMessage<E extends Error>(e: E, newMessage: string): E {
const lines: string[] = (e.stack?.split('\n') || []).filter(l => l.startsWith(' at '));
e.message = newMessage;
... | {
"content_hash": "fa60d5c5cfdb3ce75e0540120ee888aa",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 122,
"avg_line_length": 31.525925925925925,
"alnum_prop": 0.6482612781954887,
"repo_name": "microsoft/playwright",
"id": "f8b60663cc1049d6537f1180bad900f0ba476a60",
"size"... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context_base::no_tlsv1_1</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.... | {
"content_hash": "90951c7c3b39c7a43bd2154c697356d6",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 433,
"avg_line_length": 62.07843137254902,
"alnum_prop": 0.6174984207201516,
"repo_name": "davehorton/drachtio-server",
"id": "eada798184c4a5a95adba8dc43673d0f752dab67",
"s... |
var tree = {
'/': {
'index.html': '<html><body><h1>Hi!</h1></body></html>',
'README.md': 'Test readme.',
'assets': {
'app.js': '// app.js content',
'app.css': '/* app.css content */'
}
}
};
var fs = new FileTree(tree);
var arrayContains = function(arrayA, arrayB) {
for(var b=0; b<arr... | {
"content_hash": "25ac5eec4ac059668fc6e5d26ca241be",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 97,
"avg_line_length": 29.4375,
"alnum_prop": 0.607926397735315,
"repo_name": "AVGP/filetree.js",
"id": "6ecdb705cb0aa32436d0fbd0a676fa7c28f79431",
"size": "1413",
"binar... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Reactive.Linq;
using Microsoft.Extensions.Logging;
using RoyalRoad.Core.Common;
using RoyalRoad.Core.Entities;
var races = globalCache.CategoryByType<Category>("Race");
var classes = globalCache.CategoryByType<Class>("Class");
var areaId =... | {
"content_hash": "88c5a1cfabc7494c8703e0ee4d5aea52",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 94,
"avg_line_length": 32.88235294117647,
"alnum_prop": 0.738819320214669,
"repo_name": "huytrongnguyen/royal-road",
"id": "b625e7b90e93458558b37cb29721567724e4153d",
"size... |
'use strict';
var util = require('util'),
shelljs = require('shelljs'),
generators = require('yeoman-generator'),
chalk = require('chalk'),
jhiCore = require('jhipster-core'),
scriptBase = require('../generator-base');
var JDLGenerator = generators.Base.extend({});
util.inherits(JDLGenerator, scri... | {
"content_hash": "fc8a832a829b0c5c3d264d9c9e3baaf8",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 115,
"avg_line_length": 33.38461538461539,
"alnum_prop": 0.5052666227781435,
"repo_name": "axel-halin/Thesis-JHipster",
"id": "5f58d067d1657c09ed7275bcbeffbace3136c01d",
"s... |
<?php
/**
* Skeleton subclass for representing a row from the 'fooditems' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package propel.generator... | {
"content_hash": "5934292e7ac293b4df03ca7320483869",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 71,
"avg_line_length": 20.72222222222222,
"alnum_prop": 0.7211796246648794,
"repo_name": "royrusso/fishbase",
"id": "b82765fdd01b16eeedc419363a17179c65d1a068",
"size": "373... |
"""
Support for local control of entities by emulating the Phillips Hue bridge.
For more details about this component, please refer to the documentation at
https://home-assistant.io/components/emulated_hue/
"""
import logging
from aiohttp import web
import voluptuous as vol
from homeassistant import util
from homeas... | {
"content_hash": "bd407d3ab3bb91a42488aa09bb07d369",
"timestamp": "",
"source": "github",
"line_count": 296,
"max_line_length": 79,
"avg_line_length": 35.604729729729726,
"alnum_prop": 0.6494923617041465,
"repo_name": "PetePriority/home-assistant",
"id": "07ecb9d265a98d42bd04250ed0822b8cc341f6d7",
... |
#pragma once
#include <boost/test/included/unit_test.hpp>
using boost::unit_test_framework::test_suite;
#ifdef XML_BACKEND
#include "XMLDocument.h"
using namespace Oak;
void test_OpenXMLDoc()
{
XML::Document document1;
BOOST_CHECK(document1.isNull());
BOOST_REQUIRE(document1.load(std::string(RESOURCE... | {
"content_hash": "e0bdaa1abb89e483d53d7e69891e9e53",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 77,
"avg_line_length": 17.904761904761905,
"alnum_prop": 0.6848404255319149,
"repo_name": "MNL82/oakmodelview",
"id": "c39621a0d99a1f794e0808da212ce5fe979b30ac",
"size": "1... |
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<objectAnimator
android:duration="550"
android:propertyName="pathData"
android:valueFrom="@string/nine_path"
android:valueTo="@string/eight_path"
android:valueType="pathTyp... | {
"content_hash": "cf0d0b41552ab2bc077193b93f7bd58a",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 64,
"avg_line_length": 36.77777777777778,
"alnum_prop": 0.6586102719033232,
"repo_name": "BorislavKamenov/morpher",
"id": "1937ee7638c89702d89cbd2e4a77fabcae7f47ea",
"size":... |
<?php
namespace Task;
class TaskSearchHelperNEW
{
private $taskSearchHelperDA;
/**
* Master array holds:
* - tag This is the tag seen in the task comments
* - task This is the tag title
* - user This is the user name
* - page This is the page to search for (where to start looking in the dat... | {
"content_hash": "d46134000d2646aa86c3d892c3fd6cec",
"timestamp": "",
"source": "github",
"line_count": 387,
"max_line_length": 106,
"avg_line_length": 21.356589147286822,
"alnum_prop": 0.6465819721718088,
"repo_name": "HexagonSystems/website",
"id": "8fee8056e36418fc08b8580c5970efc34123c6a9",
"siz... |
/* tslint:disable */
require('reflect-metadata');
import http = require("http");
import express = require("express");
var bodyParser = require("body-parser");
var passport = require('passport');
var LocalStrategy = require('passport-local').Strategy;
import * as config from './config';
import * as securityConfig from ... | {
"content_hash": "bdbbdb06dca9d0f2fff5cf29c76e7f8b",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 116,
"avg_line_length": 38.026315789473685,
"alnum_prop": 0.7038062283737024,
"repo_name": "asishsahoo/Node-Data",
"id": "faba9eecfb01c0cb0e043743cdcab6037918b8c0",
"size":... |
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
// required to lint *.wpy files
plugins: [
'html'... | {
"content_hash": "33f04e56d40b1f0f69c408f02d58f00c",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 86,
"avg_line_length": 25.484848484848484,
"alnum_prop": 0.5707491082045184,
"repo_name": "bbxyard/bbxyard",
"id": "1f9b5eca85ffcdc262d006fe10373c862942c7dc",
"size": "841"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "934e56d5da2bd6e3b4c0bcaf39398569",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "edee9745caeb84178b391165b923b0254142c61c",
"size": "176... |
Working With Entities
#####################
CodeIgniter supports Entity classes as a first-class citizen in it's database layer, while keeping
them completely optional to use. They are commonly used as part of the Repository pattern, but can
be used directly with the :doc:`Model </database/model>` if that fits your ne... | {
"content_hash": "4e26065f0ecb10f13499fe80740cbf80",
"timestamp": "",
"source": "github",
"line_count": 361,
"max_line_length": 122,
"avg_line_length": 37.46260387811634,
"alnum_prop": 0.678645371191955,
"repo_name": "JakeAi/MinnichRW",
"id": "b85eb8cae809ff21e4e4bbf4716052f8aeb9eff3",
"size": "135... |
<?php
/**
* Model
*
* Extension of the Model class with DB access methods.
*/
namespace AFX\DbFilter;
use Base\App;
use Base\MVC\Model\DbModel;
class Model extends DbModel
{
// Overload $db
// Overload $table
// Primary key
protected $primaryKey;
// Field order
protected $order = null;
... | {
"content_hash": "4e15540cbebce22e9423185372e595bc",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 144,
"avg_line_length": 21.448453608247423,
"alnum_prop": 0.5337659216534487,
"repo_name": "todd-x86/appframelite",
"id": "f3ec7d22a012f0ededc314a43dd3eb416241b365",
"size... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "67fb4942ae1cc375d99870ff6bbe016f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "d2e8bf16ef3956d9533c024a61146d78675ba75c",
"size": "171... |
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)applicat... | {
"content_hash": "f0cef57f17a92101aae52edde541ecbc",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 281,
"avg_line_length": 53.48571428571429,
"alnum_prop": 0.7863247863247863,
"repo_name": "muccy/MUKPullToRevealControl",
"id": "1251fae38054651712efd9bf02afe378556078d7",
... |
#ifndef Foundation_StreamChannel_INCLUDED
#define Foundation_StreamChannel_INCLUDED
#include "Poco/Foundation.h"
#include "Poco/Channel.h"
#include "Poco/Mutex.h"
#include <ostream>
namespace Poco {
class Foundation_API StreamChannel: public Channel
/// A channel that writes to an ostream.
//... | {
"content_hash": "498b620434c8b30b669b0775af6c108e",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 56,
"avg_line_length": 19.511111111111113,
"alnum_prop": 0.6765375854214123,
"repo_name": "Patrick-Bay/SocialCastr",
"id": "97614e5afa7ccd106b9154e5117e7f8f042b457a",
"size... |
#include "gtest/gtest.h"
#include <string>
#include "protocol_handler/protocol_handler.h"
#include "protocol_handler/protocol_handler_impl.h"
#include "protocol/bson_object_keys.h"
#include "protocol/common.h"
#include "protocol_handler/control_message_matcher.h"
#include "protocol_handler/mock_protocol_handler.h"
#in... | {
"content_hash": "5a372cd1678d8492a0984a447bb3dc2b",
"timestamp": "",
"source": "github",
"line_count": 2222,
"max_line_length": 83,
"avg_line_length": 37.5040504050405,
"alnum_prop": 0.59656322749418,
"repo_name": "APCVSRepo/sdl_core",
"id": "77de1705dabbbb5e008805f462e0b1d881c5c9ee",
"size": "849... |
package com.amazonaws.services.iotevents.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;
/**
* <p>
* Information about the configuration of an input.
* </p>
*
* @see <a href="http://docs.aws.a... | {
"content_hash": "f2aad8385cea9af371800045f81e51b5",
"timestamp": "",
"source": "github",
"line_count": 409,
"max_line_length": 137,
"avg_line_length": 26.9119804400978,
"alnum_prop": 0.5725447442536568,
"repo_name": "jentfoo/aws-sdk-java",
"id": "0406b01ccfd5f66c0311c6b10496a5bf7aace61d",
"size": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace minNum
{
class minNum
{
static void Main(string[] args)
{
var n = int.Parse(Console.ReadLine());
var min = int.MaxValue;
for (int ... | {
"content_hash": "d676bd3a579e9f3d69fccd9fd3c84b5b",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 56,
"avg_line_length": 20.5,
"alnum_prop": 0.4564459930313589,
"repo_name": "delian1986/SoftUni-C-Sharp-repo",
"id": "2ee68197a5002f089f7bea1053b1e81f6eda53a9",
"size": "57... |
namespace base {
template <typename T>
struct DefaultSingletonTraits;
} // namespace base
namespace content {
class BrowserContext;
} // namespace content
namespace views {
class AXAuraObjWrapper;
class View;
} // namespace views
using AuraAXTreeSerializer =
ui::AXTreeSerializer<views::AXAuraObjWrapper*,
... | {
"content_hash": "c73feaf74577ffb8fd77340ffc87cc18",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 80,
"avg_line_length": 30.54320987654321,
"alnum_prop": 0.7029102667744543,
"repo_name": "Workday/OpenFrame",
"id": "503252c1617e6467de9602d12f6ce367a50baadc",
"size": "305... |
package edu.wustl.catissuecore.bizlogic.magetab;
import uk.ac.ebi.arrayexpress2.magetab.datamodel.sdrf.node.AbstractSDRFNode;
import uk.ac.ebi.arrayexpress2.magetab.datamodel.sdrf.node.SourceNode;
import uk.ac.ebi.arrayexpress2.magetab.datamodel.sdrf.node.attribute.ProviderAttribute;
import edu.wustl.catissue... | {
"content_hash": "89c571be3279f011bbe2c3819440a9f8",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 88,
"avg_line_length": 40.88461538461539,
"alnum_prop": 0.6373471307619943,
"repo_name": "NCIP/catissue-core",
"id": "061ade1f9ecc1810ce3dfc195a677bc26120a44a",
"size": "24... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_60) on Wed Mar 30 11:39:23 CEST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class play.libs.F.T... | {
"content_hash": "582edbf7c7ddeea129f59513c040f618",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 310,
"avg_line_length": 42.21134020618557,
"alnum_prop": 0.6351202833068751,
"repo_name": "play1-maven-plugin/play1-maven-plugin.github.io",
"id": "1ef53e12da79793940049b927... |
<?php
// Set up the global CI functions in their most minimal core representation
if ( ! function_exists('get_instance'))
{
function &get_instance()
{
$test = CI_TestCase::instance();
$test = $test->ci_instance();
return $test;
}
}
// --------------------------------------------------------------------
if ... | {
"content_hash": "d81747910e23972cd66c637026f7aae4",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 92,
"avg_line_length": 20.04663212435233,
"alnum_prop": 0.5606099767381753,
"repo_name": "FreKil/Kmom03",
"id": "0ccfe1ea4b9a57cb730b01955a054ad6561b6c42",
"size": "3869",... |
{% extends "layout.html" %}
{% block body %}
<legend>{{ app.i18n.nav.about }}</legend>
<p style="padding: 20px;">
<strong>switchIt v0.9.3</strong><br />
by Christian schilling
</p>
{% endblock %} | {
"content_hash": "79c2397815729e0235da1519e515046e",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 41,
"avg_line_length": 16.833333333333332,
"alnum_prop": 0.6188118811881188,
"repo_name": "cschilling/switchIt",
"id": "8f30e096557a52775fd2f62f726fc13b9a5740e4",
"size": "... |
<?php
namespace Dan\Services\ShortLinks;
use Dan\Contracts\ShortLinkContract;
use Dan\Support\Web;
class Links implements ShortLinkContract
{
/**
* Create the short link.
*
* @param $link
*
* @return mixed
*/
public function create($link)
{
$data = Web::post('https:/... | {
"content_hash": "d588db1c6f59272ebab1bd51f46a9a94",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 68,
"avg_line_length": 17.363636363636363,
"alnum_prop": 0.5095986038394416,
"repo_name": "UclCommander/Dan",
"id": "e474b6c8aa58cc6e31f3e3b00f8589bc175cbeca",
"size": "573... |
<?php
/**
* Editor class for creating and adjusting users. This class guarantees data
* integrity and writes logs when user information changes.
*
* @task config Configuration
* @task edit Creating and Editing Users
* @task role Editing Roles
* @task email Adding, Removing and Changing Emai... | {
"content_hash": "6985937b3e9805544b9f63299bbb5048",
"timestamp": "",
"source": "github",
"line_count": 606,
"max_line_length": 80,
"avg_line_length": 24.902640264026402,
"alnum_prop": 0.5759724339010006,
"repo_name": "coursera/phabricator",
"id": "5c3ff67a6c13c27aafffc93e22efa17463a3e2c8",
"size":... |
using System;
using Newtonsoft.Json.Linq;
using Naveego.Live;
namespace Naveego
{
public class Connection
{
public Guid Id { get; set; }
public string Name { get; set; }
public string RunAt { get; set; }
public string Type { get; set; }
public stri... | {
"content_hash": "28415c7b48a8912e1fbf412c58e00576",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 63,
"avg_line_length": 22.07894736842105,
"alnum_prop": 0.5637663885578069,
"repo_name": "Naveego/naveego-net",
"id": "94bec841c42b687d3c16744776b8a7cc2ef570ba",
"size": "1... |
#include "Class_Objects.h"
#include "Sales_item.h"
#include "Screen.h"
void Define_Sales_item_Objects(void)
{
Sales_item empty; // use the default constructor
empty.Print_Information();
Sales_item Primer_3rd_Edition("0-201-82470-1");
Primer_3rd_Edition.Print_Information();
Sales_item Primer_4th_Edition(... | {
"content_hash": "bce83a6733415a93a8d6c9fa3878d9f7",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 67,
"avg_line_length": 24.21153846153846,
"alnum_prop": 0.6489277204130263,
"repo_name": "Frederick-Hsu/CPP_Primer",
"id": "7ebcb1389fb7f0eb0305188db1d9908876b98511",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:lang="http://www.springframework.org/schema/lang"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/s... | {
"content_hash": "2440bb93dd3e44f3e12ce66b3e51f9e7",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 152,
"avg_line_length": 49.458333333333336,
"alnum_prop": 0.7337826453243471,
"repo_name": "consulo/consulo-spring",
"id": "3cb77c517439739b4489d641f3806e449c1737ed",
"size... |
@interface IDEPreferencePaneToolbarItem : NSToolbarItem
{
}
- (BOOL)validateMenuItem:(id)arg1;
@end
| {
"content_hash": "c1e19e0b82b3758cf8bdb83f103681af",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 55,
"avg_line_length": 12.875,
"alnum_prop": 0.7669902912621359,
"repo_name": "XVimProject/XVim2",
"id": "2c82bff51206c6dd913d34827b29fc4f0d31c7f9",
"size": "280",
"binary... |
namespace gvisor {
namespace testing {
// Opens the replica end of the passed master as R/W and nonblocking. It does
// not set the replica as the controlling TTY.
PosixErrorOr<FileDescriptor> OpenReplica(const FileDescriptor& master);
// Identical to the above OpenReplica, but flags are all specified by the
// calle... | {
"content_hash": "992f51d6b4dfbf1ffca48a86a8f75eae",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 77,
"avg_line_length": 34.10526315789474,
"alnum_prop": 0.7191358024691358,
"repo_name": "google/gvisor",
"id": "0cca2182c82b67ebc1affcfad89757af4a9022f6",
"size": "1395",
... |
/**
*
*
* Authors:
* - Alexandros Lemesios
*/
"use strict";
const chai = require("chai");
const should = chai.should();
const fs = require("fs");
const printer = require("./../../printer")();
describe("Printer tests", () => {
it("should create a report with 3 rows and 4 headers and compare it with a master... | {
"content_hash": "b5ddfa47bcc48e3f8c50a5caa14c9d07",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 141,
"avg_line_length": 29.06741573033708,
"alnum_prop": 0.5833011209895632,
"repo_name": "A1exLemesios/knex-training",
"id": "5210e8ebb3b117368e52961ba4f057b43b328bf2",
"s... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.document;
import com.yahoo.text.Utf8Array;
import com.yahoo.text.Utf8String;
/**
* A full document type name. The name is case sensitive. This is a <i>value object</i>.
*
* @author bratseth
*... | {
"content_hash": "75cd110ddf1d437a91e73bfd5b352a5e",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 104,
"avg_line_length": 27.914893617021278,
"alnum_prop": 0.6646341463414634,
"repo_name": "vespa-engine/vespa",
"id": "ef9ddd2b21dd798723cbcf15e532c30a221a0bd4",
"size": "... |
package com.easternedgerobotics.rov.io.joystick;
import com.easternedgerobotics.rov.value.MotionValue;
import net.java.games.input.Component;
import net.java.games.input.Event;
import rx.Observable;
import java.util.List;
public class LogitechExtremeJoystick implements Joystick {
public static final int AXIS_IN... | {
"content_hash": "104573494690bf73c2272a6bbb220296",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 89,
"avg_line_length": 30.21518987341772,
"alnum_prop": 0.6581483033095936,
"repo_name": "EasternEdgeRobotics/2016",
"id": "912f47c316dd6e5d6a22f04b6a4e62caea19a54a",
"size... |
package org.elasticsearch.indices.warmer;
import org.elasticsearch.cluster.ClusterService;
import org.elasticsearch.cluster.metadata.IndexMetaData;
import org.elasticsearch.common.component.AbstractComponent;
import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.common.settings.Settings;
import org... | {
"content_hash": "ceaa209fe1c43f1bbab3c7801401a5f3",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 138,
"avg_line_length": 37.19191919191919,
"alnum_prop": 0.6409560021727322,
"repo_name": "chanil1218/elasticsearch",
"id": "8bee5ea33aa3f33c0d8faa3a9ac30570341a8579",
"siz... |
set -x
composer self-update
originalDirectory=$(pwd)
cd ..
wget https://github.com/wikimedia/mediawiki/archive/$MW.tar.gz
tar -zxf $MW.tar.gz
mv mediawiki-$MW phase3
cd phase3
if [ "$MW" != "1.21.0" ]
then
composer require 'phpunit/phpunit=3.7.*' --prefer-source
fi
if [ "$DB" == "postgres" ]
then
psql -c 'crea... | {
"content_hash": "b95034f3332f95f25ed96f09cf34bb1c",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 147,
"avg_line_length": 26.019607843137255,
"alnum_prop": 0.7121326299924642,
"repo_name": "stuartbman/mediawiki-vagrant",
"id": "c7b97b01b2bae49884aca82724bc17c4a94eea8b",
... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/analytics/admin/v1beta/resources.proto
namespace Google\Analytics\Admin\V1beta;
use UnexpectedValueException;
/**
* The category selected for this property, used for industry benchmarking.
*
* Protobuf type <code>google.analytics.ad... | {
"content_hash": "f864d694c7d16725f722300360e3b30b",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 85,
"avg_line_length": 27.528384279475983,
"alnum_prop": 0.5704314720812182,
"repo_name": "googleapis/google-cloud-php",
"id": "887b34452f65284fdb1ef408cdc17b6d393080cf",
... |
'use strict';
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var User = new Schema({
github: {
id: String,
displayName: String,
username: String,
publicRepos: Number
},
nbrClicks: {
clicks: Number
},
testObj:{thing:Number},
totalMins:Number
});
module.exports =... | {
"content_hash": "5caaeadb28341783ed09c9e981e2bb3d",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 47,
"avg_line_length": 13.037037037037036,
"alnum_prop": 0.6363636363636364,
"repo_name": "calicode/Dailyprogress",
"id": "922211c4677b3f470d23e79aca346603f23ecd4f",
"size"... |
package com.querydsl.sql.spatial;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
import org.geolatte.geom.codec.db.sqlserver.Decoders;
import org.geolatte.geom.codec.db.sqlserver.Encoders;
import org.jetbrains.annotations.Nullable;
import org.geola... | {
"content_hash": "cdcebc025471250299c7ed549c0621bf",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 100,
"avg_line_length": 28.05,
"alnum_prop": 0.6660724896019014,
"repo_name": "lpandzic/querydsl",
"id": "67f33ebf845b61226b1af21da350e239f56e1aab",
"size": "2305",
"bina... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<title>Importing data from EEG devices — MNE 1.0.3 documentation</title>
<!-- ... | {
"content_hash": "0b0fce45390f3f39335ee62593f175a5",
"timestamp": "",
"source": "github",
"line_count": 1894,
"max_line_length": 524,
"avg_line_length": 43.04065469904963,
"alnum_prop": 0.6440707074424368,
"repo_name": "mne-tools/mne-tools.github.io",
"id": "46654fe3e054499f47116ee5a614e450d3b1f086",... |
var APP_TITLE = 'brekkie';
var requestFailed = function(jqxhr, textStatus, error)
{
var err = textStatus + ", " + error;
console.log( "Request Failed: " + err );
}
var finishTitleFadeout = function()
{
mainMenu.transitionIn();
}
var finishMenuFadeout = function(recipeFileName)
{
recipeStepper.loadRecipe(reci... | {
"content_hash": "c7aff62bf56c5f41f84f4f6819426575",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 110,
"avg_line_length": 25.25925925925926,
"alnum_prop": 0.6994134897360704,
"repo_name": "danbolt/brekkie",
"id": "027e4f522b04412e0925c4df1213f8d2883b66e3",
"size": "682"... |
package hr.openbracketdelware;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import java.util.Set;
/**
* @author debmalyajash
*
*/
public class SpecialPathInStrangeTree {
/**
* @param args
*/
public sta... | {
"content_hash": "5192ce6e9266576c048aed8cc8243c2e",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 128,
"avg_line_length": 27.694444444444443,
"alnum_prop": 0.6183550651955868,
"repo_name": "debmalya/symmetrical-eureka",
"id": "886a23e40e3af17c28ca1442c2ce4abc1a81d8a2",
... |
from django.conf import settings
from django.core.cache import cache
from django.db import models
from django.utils.functional import classproperty
from taggit.managers import TaggableManager
from translator.util import get_key
class TranslationBase(models.Model):
key = models.CharField(max_length=255, unique=Tr... | {
"content_hash": "aa4743cac8627cbe34c81c5a40eb23e2",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 102,
"avg_line_length": 31.8,
"alnum_prop": 0.7026055705300989,
"repo_name": "dreipol/django-translator",
"id": "c146b3661759a2059b813bcf1bc41239820ee034",
"size": "1128",
... |
jQuery.noConflict();
// only use Zepto if it's supported
Zepto = '__proto__' in {} ? Zepto : undefined;
// Initialize Foundation
(function($){
$(function(){ $(document).foundation(); });
})(jQuery);
| {
"content_hash": "8f78e2a02872afb51cf971665c30e490",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 46,
"avg_line_length": 28.714285714285715,
"alnum_prop": 0.6368159203980099,
"repo_name": "KitchnSink/Project-Spatula",
"id": "41dac0b86f8188b7ff1c116b1ee3a04ede327b60",
"si... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6a85fde5d3f7dc4bb8389745fe1b3cc8",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "48654719e7e0cc0358b1e8be6a666718f6c6ec79",
"size": "19... |
layout: default
title: "Women In Sport"
---
{% include interests/women-in-sport.md %}
### Who is interested in Women In Sport?
* [Barbara Keeley]({{ site.baseurl }}/members/barbara-keeley.html)
| {
"content_hash": "a73e0bfd1c374153548f3b96a5951ac4",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 66,
"avg_line_length": 18.09090909090909,
"alnum_prop": 0.6884422110552764,
"repo_name": "JeniT/childs-guide-to-parliament",
"id": "9d21ce170291098ac358cb987f208a09dcf5f863",... |
@implementation UIViewController (QMUI)
void qmui_loadViewIfNeeded (id current_self, SEL current_cmd) {
// 主动调用 self.view,从而触发 loadView,以模拟 iOS 9.0 以下的系统 loadViewIfNeeded 行为
QMUILog(@"%@", ((UIViewController *)current_self).view);
}
+ (void)load {
static dispatch_once_t onceToken;
dispatch_once(&onceT... | {
"content_hash": "e133b4202c6edc5c198973c0119eba7c",
"timestamp": "",
"source": "github",
"line_count": 325,
"max_line_length": 366,
"avg_line_length": 46.09538461538462,
"alnum_prop": 0.7233829517388692,
"repo_name": "boai/BAWeChat",
"id": "f7037a4586586d60f000204cfe297795bc321247",
"size": "15727... |
namespace Dike.Core.Mail.Smtp
{
/// <summary>
/// Implement this interface to store the SMTP sender configuration
/// </summary>
/// <seealso cref="Dike.Core.Mail.IEmailSenderConfiguration" />
public interface ISmtpEmailSenderConfiguration
: IEmailSenderConfiguration
{
#region P... | {
"content_hash": "b11b286688af85acd1dd8f1220e4b750",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 95,
"avg_line_length": 26,
"alnum_prop": 0.4985014985014985,
"repo_name": "IngbertPalm/project.dike",
"id": "dbdb3a25859adcc1056de69c8f35d800afcc770b",
"size": "2004",
"b... |
<?php
namespace OAuth2\Storage;
class PdoTest extends BaseTest
{
public function testCreatePdoStorageUsingPdoClass()
{
$pdo = new \PDO(sprintf('sqlite://%s', Bootstrap::getInstance()->getSqliteDir()));
$storage = new Pdo($pdo);
$this->assertNotNull($storage->getClientDetails('oauth_te... | {
"content_hash": "9172f398195ec1521c5695f2f12829ec",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 99,
"avg_line_length": 29.2972972972973,
"alnum_prop": 0.6365313653136532,
"repo_name": "Onidca/Cloudika",
"id": "d09435112925b96369fbfac9fe5c2a40509205b7",
"size": "1084",... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jsast: 13 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="styleshe... | {
"content_hash": "0fd2b77f600155f6a9a5242d0be4b4f8",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 157,
"avg_line_length": 42.42458100558659,
"alnum_prop": 0.5431919936792204,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "5a901155c71877317d89235b74cd838b581d3a9d",
... |
<!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_151) on Thu Dec 05 05:02:11 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... | {
"content_hash": "37f9e4d884f3e1b96ffcaccea2ef4214",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 503,
"avg_line_length": 49.44642857142857,
"alnum_prop": 0.6685927530997954,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "dce0d2fbeeb22d4b03a307fcdd952e3b7e68... |
<?php
namespace dstuecken\Notify;
use dstuecken\Notify\Handler\NullHandler;
use dstuecken\Notify\Interfaces\HandlerInterface;
use dstuecken\Notify\Interfaces\NotificationInterface;
use dstuecken\Notify\Type\DetailedNotification;
use Psr\Log\LoggerInterface;
/**
* Class NotificationCenter
*
* @package dstuecken\Not... | {
"content_hash": "c0fe816c01d4cd3860292aadabe024bd",
"timestamp": "",
"source": "github",
"line_count": 323,
"max_line_length": 119,
"avg_line_length": 23.238390092879257,
"alnum_prop": 0.5544897415401012,
"repo_name": "dstuecken/notify",
"id": "f7632723ea0327567bd09cdbb920b0e4ff0744fd",
"size": "7... |
'use strict';
describe('Service: MedBatch', function () {
// load the service's module
beforeEach(module('tdpharmaClientApp'));
// instantiate service
var MedBatch;
beforeEach(inject(function (_MedBatch_) {
MedBatch = _MedBatch_;
}));
it('should do something', function () {
expect(!!MedBatch).... | {
"content_hash": "100afcfa527c494bc2b2327b5786fdf9",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 43,
"avg_line_length": 19.055555555555557,
"alnum_prop": 0.641399416909621,
"repo_name": "tdang2/tdpharma-client",
"id": "8371e67db7c8e3d386c3de5a2b7105e8cfdd97ad",
"size":... |
// ----------------------------------------------------------------------------
// Copyright 2007-2015, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... | {
"content_hash": "f6a7694c1b78e535e9255ace1af5757a",
"timestamp": "",
"source": "github",
"line_count": 2226,
"max_line_length": 118,
"avg_line_length": 31.96271338724169,
"alnum_prop": 0.42394130627275156,
"repo_name": "shafqatali404/OpenGTS_2.6.0",
"id": "16fba3fafa68d3e8e5707c665994540681bd20fc",
... |
package listeners;
import commands.chat.WarframeAlerts;
import core.SSSS;
import core.StartArgumentHandler;
import core.UpdateClient;
import core.UpdateClient;
import net.dv8tion.jda.core.entities.Guild;
import net.dv8tion.jda.core.events.ReadyEvent;
import net.dv8tion.jda.core.hooks.ListenerAdapter;
import utils.Logg... | {
"content_hash": "e38823fe4cdc1c6bdef8176870b3a415",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 232,
"avg_line_length": 37.49107142857143,
"alnum_prop": 0.4724934508216242,
"repo_name": "zekroTJA/DiscordBot",
"id": "1e55bc42517af9b099aace0e7107fa9109e7392a",
"size": ... |
<!-- HTML header for doxygen 1.8.8-->
<!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="X-UA-Compatible" content="IE=edge">
<!-- For Mobile Devices -->
... | {
"content_hash": "baa29e9dcb6190958d158354de29d00b",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 340,
"avg_line_length": 49.29,
"alnum_prop": 0.6402921485088253,
"repo_name": "utilForever/CubbyFlow",
"id": "5689f69f648b8f3fa2664b94d5a63f0690083605",
"size": "4929",
... |
// o2zcdisc -- zeroconf/bonjour discovery for O2
//
// Roger B. Dannenberg
// Feb 2021
// This file is divided into sections:
// 0. Heading: #include's
// 1. Bonjour API implementation
// 2. avahi-client API implementation
// 3. Common functions
#ifndef O2_NO_ZEROCONF
/****************************/
/* SE... | {
"content_hash": "958b2ef2820dcf07b73eb980e123e2be",
"timestamp": "",
"source": "github",
"line_count": 952,
"max_line_length": 81,
"avg_line_length": 38.24894957983193,
"alnum_prop": 0.5657320187845001,
"repo_name": "rbdannenberg/o2",
"id": "b2389e5d3a80da0f42bb4fe57655378feaaf70d5",
"size": "3641... |
package org.springframework.xd.demo.gemfire;
import java.util.Map;
import java.util.Map.Entry;
import javax.annotation.Resource;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Component;
import o... | {
"content_hash": "9f1f0501e680abb00722dbe7bd431bf3",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 102,
"avg_line_length": 27.12987012987013,
"alnum_prop": 0.7290569650550502,
"repo_name": "dturanski/SpringOne2013",
"id": "451784ea3b7bec640aff445815188ab596000069",
"size... |
using Microsoft.Extensions.Hosting;
using System;
using Microsoft.AspNetCore.Builder;
namespace LionFire.Hosting
{
public static class WebApplicationBuilderExtensions
{
public static IHostBuilder LionFire(this WebApplicationBuilder webApplicationBuilder, Action<LionFireHostBuilder>? action = null, boo... | {
"content_hash": "3692e77114fdb0b3b7f0723c6382385e",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 163,
"avg_line_length": 35.333333333333336,
"alnum_prop": 0.7712264150943396,
"repo_name": "lionfire/Core",
"id": "a69dd318fcbcf53cf531f95cef867fa34c1d2305",
"size": "426",... |
module JacintheManagement
module Core
# command : interface between scripts and GUI
class Command
RLD_HELP = <<END_RLD_HELP
Cette commande permet de restaurer le schéma
de la base et toutes ses données, en les
reconstruisant à partir du dernier dump.
END_RLD_HELP
# @return [Command] total reset c... | {
"content_hash": "a3b7ca2cd617369ee0566b9c6bb30010",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 53,
"avg_line_length": 29.102564102564102,
"alnum_prop": 0.5973568281938326,
"repo_name": "badal/jacman-core",
"id": "62b85a7568da2172776e4a49dcefa0421f8fcab1",
"size": "24... |
"""
WSGI config for InStoKiloGram project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANG... | {
"content_hash": "758396cf6b68a29f99cd57972491a9dd",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 78,
"avg_line_length": 25.25,
"alnum_prop": 0.7772277227722773,
"repo_name": "neewy/InStoKiloGram",
"id": "0bfbdf4ca17fe0221917e81a91e5443613da690f",
"size": "404",
"bina... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/monitoring/v3/metric_service.proto
package com.google.monitoring.v3;
public interface CreateMetricDescriptorRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.monitoring.v3.CreateMetricDescriptorRequest)
c... | {
"content_hash": "5b6dd20885b8c5faeddda1b3f186d5f0",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 101,
"avg_line_length": 27.56140350877193,
"alnum_prop": 0.6645448758752387,
"repo_name": "landrito/api-client-staging",
"id": "9726fb34faf58b65e782c08dd75234fe2c7f5079",
"... |
using System;
using UnityEngine;
using UnityEditor;
namespace UnityToolbag
{
[CustomEditor(typeof(SortingLayerExposed))]
public class SortingLayerExposedEditor : Editor
{
public override void OnInspectorGUI()
{
// Get the renderer from the target object
var rendere... | {
"content_hash": "36f5df5b2436a40db744e633f480e0e9",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 134,
"avg_line_length": 45.87671232876713,
"alnum_prop": 0.6109286354135562,
"repo_name": "Banbury/UnitySpritesAndBones",
"id": "725b89d2af24ef4e7b50ead3503ad7c507481af2",
... |
var Student = Object.create({
init: function (firstName, lastName) {
this.firstName = firstName;
this.lastName = lastName;
this.fullname = function () {
return this.firstName + ' ' + this.lastName;
};
return this;
}
});
var students = [
Object.create(... | {
"content_hash": "43ae5f1daa2ac6a452b2eb83307cfc2b",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 88,
"avg_line_length": 28.05263157894737,
"alnum_prop": 0.5472170106316447,
"repo_name": "kaizer04/Telerik-Academy-2013-2014",
"id": "d5ad5bd9c4df902bb9f6444c31955a0b17b3c040... |
package ivansteklow.vanillaex.client.gui;
import java.util.ArrayList;
import java.util.List;
import ivansteklow.vanillaex.client.gui.ProgressBar.ProgressBarDirection;
import ivansteklow.vanillaex.container.ContainerBlockBreaker;
import ivansteklow.vanillaex.init.Refs;
import ivansteklow.vanillaex.network.PacketGetWo... | {
"content_hash": "b9ca03765016186e5d18c67fe5965288",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 107,
"avg_line_length": 34.42424242424242,
"alnum_prop": 0.7588028169014085,
"repo_name": "IvanSteklow/VanillaExtras",
"id": "a8f272e83c11ce132b91255bda449c615f130b4f",
"si... |
<html>
<head>
<title>Demo</title>
<link rel="stylesheet" href="portfoliobox.css">
<head>
<body>
<div id="portfoliobox" style="width:400px;height:400px;">
<div class="row">
<div id="tile1" class="tile tile-dark anim anim1">
<div class="tile-logo">
... | {
"content_hash": "d39bf558a0df2f32e1e0bde4893c043f",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 147,
"avg_line_length": 46.95575221238938,
"alnum_prop": 0.42046739540143235,
"repo_name": "nikrich/infobox",
"id": "765fa207d4edb0f08b05e925b157fc5931eea786",
"size": "53... |
import java.util.LinkedList;
// Only 10 instances of stocks should be here. Each stock has an arraylist of StockNodes that is an instance of time for that stock
class Stock {
public String ticker;
private int maxLinkedListSize;
public LinkedList<StockNode> stockTimes = new LinkedList<StockNode>();
p... | {
"content_hash": "b02056eb1f701133a02a68d1ecfc5ef7",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 135,
"avg_line_length": 29.633663366336634,
"alnum_prop": 0.6501837621115937,
"repo_name": "aseber/TradingVisualization",
"id": "80f33867517863df7f585569e34f4426f7967be6",
... |
'use strict';
const url = require('url');
const Path = require('path');
const retry = require('retry-as-promised');
const clsBluebird = require('cls-bluebird');
const Utils = require('./utils');
const Model = require('./model');
const DataTypes = require('./data-types');
const Deferrable = require('./deferrable');
con... | {
"content_hash": "8c5a520542caf24aec8f9cf2e331b85a",
"timestamp": "",
"source": "github",
"line_count": 1234,
"max_line_length": 531,
"avg_line_length": 39.60940032414911,
"alnum_prop": 0.6653709235238757,
"repo_name": "nemisj/sequelize",
"id": "662d599dfcc83d7f2916eced255eaabb44aa5410",
"size": "4... |
/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.contracts.paymentservice;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties... | {
"content_hash": "654714e8696282f2ddb1bb291f71b194",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 348,
"avg_line_length": 30.291666666666668,
"alnum_prop": 0.7248968363136176,
"repo_name": "sanjaymandadi/mozu-java",
"id": "8bc116f026d3d2ba610eecdf6f4dcfb5a7269e0e",
"siz... |
"""Tests the bob.ip.base.Wiener filter
"""
import os
import numpy
import tempfile
import nose.tools
import bob.sp
import bob.io.base
import bob.ip.base
def test_initialization():
# Getters/Setters
m = bob.ip.base.Wiener((5,4),0.5)
nose.tools.eq_(m.size, (5,4))
m.size = (5,6)
nose.tools.eq_(m.size, (5,6))
... | {
"content_hash": "29e504ab5e718d40ebf4656c02d731c9",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 82,
"avg_line_length": 27.440298507462686,
"alnum_prop": 0.6769105248844166,
"repo_name": "tiagofrepereira2012/bob.ip.base",
"id": "082525057318188a1af452543eae4a4bcc57924b"... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Moq;
using Azure.Storage.Queues.Models;
using Microsoft.Azure.WebJobs.Extensions.Storage.Common;
using NUnit.Framework;
using Azure.Stor... | {
"content_hash": "5c2eb60c32509c175b00f18691f56a14",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 117,
"avg_line_length": 36.14358974358974,
"alnum_prop": 0.608683314415437,
"repo_name": "markcowl/azure-sdk-for-net",
"id": "07f970ae811867045b31d8962eaab44f8eaee90a",
"s... |
.class Lcom/nineoldandroids/animation/AnimatorSet$1;
.super Lcom/nineoldandroids/animation/AnimatorListenerAdapter;
.source "AnimatorSet.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/nineoldandroids/animation/AnimatorSet;->start()V
.end annotation
.annotation s... | {
"content_hash": "859d3fc1b981c70e8fde10a0b76f0ea5",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 145,
"avg_line_length": 30.330645161290324,
"alnum_prop": 0.7085881414517415,
"repo_name": "x5y/SparkNZ-Xposed",
"id": "4dea22fb30ffdc1be8a7355af46dafa959eef3ab",
"size": ... |
'''
Hartree-Fock for periodic systems at a single k-point
See Also:
pyscf.pbc.scf.khf.py : Hartree-Fock for periodic systems with k-point sampling
'''
import sys
import numpy as np
import h5py
from pyscf.scf import hf as mol_hf
from pyscf import lib
from pyscf.lib import logger
from pyscf.data import nist
from p... | {
"content_hash": "e7779d7963dad2dec75f17ccdd97e7de",
"timestamp": "",
"source": "github",
"line_count": 865,
"max_line_length": 101,
"avg_line_length": 37.15491329479769,
"alnum_prop": 0.5701795326550297,
"repo_name": "sunqm/pyscf",
"id": "e18a753a76826bc697a12e76e25b7d8dee531c53",
"size": "32922",... |
from unittest import TestCase
from sworkflow.tasks import Task, PythonTask
from sworkflow.tasks.workflow import Workflow, walk, ExitWorkflow
class TaskTestCase(TestCase):
def test_required_attributes(self):
task = Task()
self.assertEqual(task.deps, ())
class WalkTestCase(TestCase):
def test... | {
"content_hash": "bb0059aed8204f2ab3e6e6e1003f9ab5",
"timestamp": "",
"source": "github",
"line_count": 239,
"max_line_length": 89,
"avg_line_length": 33.55230125523013,
"alnum_prop": 0.5827409901483975,
"repo_name": "mydeco-dev-team/sworkflow",
"id": "7328da760217158e359853a527b794389ba6c0ad",
"si... |
'use strict';
describe('battlrApp.version module', function() {
beforeEach(module('battlrApp.version'));
describe('interpolate filter', function() {
beforeEach(module(function($provide) {
$provide.value('version', 'TEST_VER');
}));
it('should replace VERSION', inject(function(interpolateFilter)... | {
"content_hash": "c7f08ccf84d2dfa646852e678459685b",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 91,
"avg_line_length": 28.933333333333334,
"alnum_prop": 0.663594470046083,
"repo_name": "JorgeRuiz/angular-template",
"id": "c00b9a308d3dbe9f954c358ac26f955d0f60cb3d",
"si... |
<?php
namespace empire\framework\storage;
use empire\framework\storageengine\StorageEngine;
use empire\framework\util\Result;
use empire\framework\util\ArrayResult;
/**
* Provides a simple key value storage.
*
* Depending on the <code>$useTimestamps</code> argument to the constructor, timestamps will be
* stored ... | {
"content_hash": "f996dd9a34824fe587312aefa07679fc",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 95,
"avg_line_length": 21.436708860759495,
"alnum_prop": 0.6465899025686448,
"repo_name": "thornberger/empire",
"id": "406cf4fc40eb54b67f5655f468f7a43679e2689e",
"size": "... |
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
| {
"content_hash": "1a1d102d56e3753e6ecd248f34dae5a7",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 90,
"avg_line_length": 31.6,
"alnum_prop": 0.6582278481012658,
"repo_name": "wangzhong1986/wangzhong",
"id": "1abce9c6e8dd45c69b15c8946e21b1823dfc57d2",
"size": "347",
"bi... |
import sys
import PyQt4
from PyQt4 import QtCore, QtGui
import argparse
import decimal
from decimal import Decimal
import traderthread
import mainwindow
import tradeapi
app = QtGui.QApplication(sys.argv)
tradeApi = None
exchangeName = ''
parser = argparse.ArgumentParser()
parser.add_argument("--exchange", choices=[... | {
"content_hash": "4f23ea0f9ab46eaa3278ad947802c34f",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 121,
"avg_line_length": 42.1764705882353,
"alnum_prop": 0.7503486750348675,
"repo_name": "victorshch/pytrader",
"id": "2833072fa80e7ddfc300cbf42c0815577d250cdd",
"size": "2... |
using std::cerr;
using std::cin;
using std::cout;
using std::endl;
using std::fstream;
using std::max;
using std::string;
using std::vector;
// map reads so we can access reads with mapped[read_id]
void map_reads(vector<Read*>* mapped, vector<Read*>& reads) {
int max_id = -1;
for (auto r: reads) {
max_id = max... | {
"content_hash": "78deb076210170da4d3e6fa0a6b55b64",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 117,
"avg_line_length": 25.96,
"alnum_prop": 0.6255778120184899,
"repo_name": "mariokostelac/assembly-tools",
"id": "834c723cf3389ab53fa5e09fdb9481a4b01b2067",
"size": "213... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.