text stringlengths 2 1.04M | meta dict |
|---|---|
import numpy as np
import copy
from sklearn.base import BaseEstimator
from scipy.ndimage import rotate
def load_images(filenames):
'''Expects filenames to be a list of .fits file locations'''
from astropy.io.fits import getdata
return [ normalized_positive_image(getdata(filename)) for filename in filenam... | {
"content_hash": "b2fcf1d0627103798e26eef9ce06b20a",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 100,
"avg_line_length": 31.079646017699115,
"alnum_prop": 0.6007972665148064,
"repo_name": "cavestruz/StrongCNN",
"id": "e172035a5423479f6478ab697d8605f08795f7cc",
"size":... |
#include <srs_utest_reload.hpp>
using namespace std;
#include <srs_kernel_error.hpp>
MockReloadHandler::MockReloadHandler()
{
reset();
}
MockReloadHandler::~MockReloadHandler()
{
}
void MockReloadHandler::reset()
{
listen_reloaded = false;
pid_reloaded = false;
log_tank_reloaded = false;
log_... | {
"content_hash": "b62cc69d713194c9e531768e67acdae3",
"timestamp": "",
"source": "github",
"line_count": 908,
"max_line_length": 119,
"avg_line_length": 31.935022026431717,
"alnum_prop": 0.6703107217988068,
"repo_name": "drunknbass/srs",
"id": "ab912c81e9ba894bc3d30a218ef243d96ef1420c",
"size": "300... |
package com.example.chinamobile.chinamobile.view.activity;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Color;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.C... | {
"content_hash": "e6b576dc675ca34a61f4f37ef34fc9f1",
"timestamp": "",
"source": "github",
"line_count": 310,
"max_line_length": 154,
"avg_line_length": 34.651612903225804,
"alnum_prop": 0.6121765034444238,
"repo_name": "gengGjy/ChinaMobile",
"id": "009f24bfb99f3197a751ec1d95aab8a41e0ef44d",
"size":... |
package org.apache.geode.internal.cache.extension.mock;
import static org.apache.geode.internal.cache.extension.mock.MockExtensionXmlParser.ELEMENT_CACHE;
import static org.apache.geode.internal.cache.extension.mock.MockExtensionXmlParser.NAMESPACE;
import static org.apache.geode.internal.cache.extension.mock.MockEx... | {
"content_hash": "adc0554710e8ce46d7dc22a08394816c",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 98,
"avg_line_length": 33.88505747126437,
"alnum_prop": 0.771370420624152,
"repo_name": "davinash/geode",
"id": "48149d0fd1a6f0ba2ffe5be7448862414f2bb1d1",
"size": "3737",
... |
//
// UMSocialShareUIConfig.h
// UMSocialSDK
//
// Created by 张军华 on 16/11/7.
// Copyright © 2016年 UMeng. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <UMSocialCore/UMSocialCore.h>
#import "UMSocialUIUtility.h"
@class UMSocialSharePageGroupViewConfig;
@class UMSocialSh... | {
"content_hash": "97aefc60353cd1f29f84ad11b98d9825",
"timestamp": "",
"source": "github",
"line_count": 258,
"max_line_length": 181,
"avg_line_length": 41.36046511627907,
"alnum_prop": 0.8473432667978633,
"repo_name": "LTLyaoni/LTL-musicPlayer",
"id": "75af87649de224725e5e39b5c34af8d3600277e6",
"si... |
"use strict"
import jwt from 'jsonwebtoken';
import httpStatus from 'http-status';
import APIError from '../helpers/APIError';
import config from '../../config/config';
import User from '../models/user.model';
import Device from '../models/device.model'
// sample user, used for authentication
const user = {
usernam... | {
"content_hash": "58f12a49b8d536000f60df53089f60df",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 96,
"avg_line_length": 25.735294117647058,
"alnum_prop": 0.6622857142857143,
"repo_name": "wen911119/my-node-api",
"id": "a21e56b1a33d541527280beaf93eda6f1ac37607",
"size":... |
<?php
declare(strict_types=1);
namespace Vonage\Entity\Filter;
interface FilterInterface
{
public function getQuery();
}
| {
"content_hash": "fdbdd2079bef751e684d63778f44ce0e",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 31,
"avg_line_length": 10.833333333333334,
"alnum_prop": 0.7307692307692307,
"repo_name": "Nexmo/nexmo-php",
"id": "819a35011917e322e9d0a9e3590286b65179af73",
"size": "345"... |
require 'bundler/setup'
require 'coveralls'
Coveralls.wear!
require 'sibilant'
| {
"content_hash": "f2d720d600dcb2d289a31fd185432332",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 23,
"avg_line_length": 11.714285714285714,
"alnum_prop": 0.7682926829268293,
"repo_name": "jbr/sibilant-gem",
"id": "d332c25d572b67184947dc552ed613a08bc1699a",
"size": "82",... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.mskcc.shenkers.control.track.bigwig;
import com.google.common.collect.Range;
import com.google.common.collect.RangeMap;
im... | {
"content_hash": "3c788cef3a764f67dde03d7127022d62",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 134,
"avg_line_length": 31.94890510948905,
"alnum_prop": 0.6255426090929861,
"repo_name": "shenkers/ComparativeBrowser",
"id": "7c91f89aa9e453e5fc5fa16ba716f412a1124433",
... |
<div class="pageContent">
<form method="post" action="{{$smarty.const.__URL__&a=add|url}}" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
<div class="pageFormContent" layoutH="56">
<p>
<label>账号:</label>
<input name="username" class="required" type="te... | {
"content_hash": "4556a04507ca7d5b11569383991ec067",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 159,
"avg_line_length": 33.92857142857143,
"alnum_prop": 0.5873684210526315,
"repo_name": "maojian/EaglePHP",
"id": "5702c7413d22eea879361bc3cd2596c195c41a4e",
"size": "148... |
using System;
using System.Collections.Generic;
using System.Text;
using Aurora.ScriptEngine.AuroraDotNetEngine;
namespace Aurora.ScriptEngine.AuroraDotNetEngine.MiniModule
{
interface IPersistence
{
T Get<T>(Guid storageID);
T Get<T>();
/// <summary>
/// Store... | {
"content_hash": "07856b08af14181d301ed176e9ef1a1d",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 59,
"avg_line_length": 28.46875,
"alnum_prop": 0.566410537870472,
"repo_name": "TechplexEngineer/Aurora-Sim",
"id": "6487b4be94bd037b312f9f496b0763571293c63e",
"size": "254... |
#import <Cocoa/Cocoa.h>
@interface DummyNibOwner : NSObject
/* View bindings go here */
@property IBOutlet NSTextField *textMisSpelling;
@property IBOutlet NSComboBox *replaceComboBox;
//@property IBOutlet NSButton *btnSkip;
@property IBOutlet NSButton *btnReplace;
@property IBOutlet NSButton *btnIgnoreAll;
@propert... | {
"content_hash": "285ff0f6fad9edfb8580825116ec444b",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 48,
"avg_line_length": 25.181818181818183,
"alnum_prop": 0.796028880866426,
"repo_name": "ethology-co/sketch-spellcheck-all-layers",
"id": "3b8ff8afe98471c265d67f43306637ac86... |
'use babel'
describe('EventWatch', function () {
let EventWatch
beforeEach(function () {
const workspaceElement = atom.views.getView(atom.workspace)
jasmine.attachToDOM(workspaceElement)
let statusBar
waitsForPromise(() => atom.packages.activatePackage('status-bar').then(function (pack) {
s... | {
"content_hash": "8da15b82f1889d654a3d6804e22331f8",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 93,
"avg_line_length": 38.03174603174603,
"alnum_prop": 0.6585976627712855,
"repo_name": "lexicalunit/event-watch",
"id": "00dd5f5871a559ecb987e534c9b95e130ae48b18",
"size"... |
package io.weba.eventor.accesslog.matcher;
import com.google.common.hash.HashFunction;
import com.google.common.hash.Hashing;
import io.weba.eventor.accesslog.AccessLog;
import io.weba.eventor.accesslog.device.features.Recognizer;
import io.weba.eventor.accesslog.parameters.Output;
import io.weba.eventor.core.enrich... | {
"content_hash": "9e00a2ac81bcc3ee1cba9b5179821eb0",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 100,
"avg_line_length": 35.89473684210526,
"alnum_prop": 0.718475073313783,
"repo_name": "webaio/processor",
"id": "83100fa1104ee46b90b98854d36444492cea187e",
"size": "2302... |
cask 'psi-plus' do
version '1.4.670-macOS10.12'
sha256 'b5d279e99689ea4eac8f37c82bef6e15598482e37a5381d458435d856fe7c1b1'
# downloads.sourceforge.net/psiplus was verified as official when first introduced to the cask
url "https://downloads.sourceforge.net/psiplus/Psi+-#{version}-x86_64.dmg"
appcast 'https://... | {
"content_hash": "b281c688762fa1fa01b8ed04634437fa",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 96,
"avg_line_length": 33.15,
"alnum_prop": 0.6757164404223228,
"repo_name": "mattrobenolt/homebrew-cask",
"id": "0c130dafe84464ea841f0a373d8101dd206c3694",
"size": "663",
... |
require 'test_helper'
class FedExTest < Test::Unit::TestCase
def setup
@packages = TestFixtures.packages
@locations = TestFixtures.locations
@carrier = FedEx.new(:key => '1111', :password => '2222', :account => '3333', :login => '4444')
end
def test_initia... | {
"content_hash": "86c271c91e472a3bdb2cbce09f6326a9",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 151,
"avg_line_length": 47.528169014084504,
"alnum_prop": 0.6719514002074382,
"repo_name": "Digi-Cazter/omniship",
"id": "81ceb32b60ddfd135a9d4cc837cee4ee1dd99daf",
"size"... |
%NOTEST
warning('off','Drake:RigidBodyManipulator:UnsupportedContactPoints')
warning('off','Drake:RigidBodyManipulator:UnsupportedJointLimits')
r = OHValkyrie();
r = removeCollisionGroupsExcept(r,{'heel','toe'});
r = compile(r);
footstep_request = drc.footstep_plan_request_t();
footstep_request.utime = 0;
fixed_pt =... | {
"content_hash": "be0283f1119a12f3595efe02a5a96248",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 84,
"avg_line_length": 39.44186046511628,
"alnum_prop": 0.7547169811320755,
"repo_name": "openhumanoids/oh-distro",
"id": "f692ccf9338892689edbcab69fb0f90b5966da03",
"size"... |
package java.nio.charset;
/**
* @since 1.4
*/
public class CoderMalfunctionError extends Error
{
private static final long serialVersionUID = - 1151412348057794301L;
/**
* Creates the error
*/
public CoderMalfunctionError(Exception cause)
{
super (cause);
}
}
| {
"content_hash": "d7dda7ca558873d1287d4581c30f9fed",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 70,
"avg_line_length": 15.052631578947368,
"alnum_prop": 0.6853146853146853,
"repo_name": "nmldiegues/jvm-stm",
"id": "5770aded628648fa3d85f5266a167721704e88d8",
"size": "2... |
package org.apache.lucene.search.spans;
import org.apache.lucene.index.AtomicReaderContext;
import org.apache.lucene.index.IndexReader;
import org.apache.lucene.index.Term;
import org.apache.lucene.index.TermContext;
import org.apache.lucene.search.Query;
import org.apache.lucene.util.Bits;
import org.apache.lucene.... | {
"content_hash": "44fdcc87236dbd17a96a0c63161ef77b",
"timestamp": "",
"source": "github",
"line_count": 236,
"max_line_length": 144,
"avg_line_length": 34.432203389830505,
"alnum_prop": 0.6155550086143244,
"repo_name": "pengzong1111/solr4",
"id": "055ced6b14bf2753735724002efd10b05b1d9881",
"size": ... |
@implementation AUUCase05ViewController
- (void)viewDidLoad {
[super viewDidLoad];
UILabel *label1 = [UILabel generateWithTtile:@"我的优先级为100,我的优先级为100"];
UILabel *label2 = [UILabel generateWithTtile:@"我的优先级为200,我的优先级为200"];
UILabel *label3 = [UILabel generateWithTtile:@"我的优先级为200,我的优先级为200"];
U... | {
"content_hash": "9de318cfa579762d520800ffa37b3999",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 151,
"avg_line_length": 42.53086419753087,
"alnum_prop": 0.6269956458635704,
"repo_name": "JyHu/VFLFactory",
"id": "19a411151185e1f4061239bf84ab667d1d402da2",
"size": "3677... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
If 1 <= s < 1e21 or -1e21 s < -1 and s has a fractional
component, return the string consisting of the most significant n digits of
the decimal representation of... | {
"content_hash": "d50afd35fe582ce8d6092d70c23d50b0",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 85,
"avg_line_length": 34.541666666666664,
"alnum_prop": 0.6586248492159228,
"repo_name": "PiotrDabkowski/Js2Py",
"id": "f993e1cc82409760b486b10908630c5dfd9bc642",
"size": ... |
package com.google.common.collect.testing.testers;
import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
import static com.google.common.collect.testing.features.CollectionSize.ZERO;
import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT;
import com.google... | {
"content_hash": "9649fc30b8711d4cb355cfdefe96a40b",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 97,
"avg_line_length": 33.80357142857143,
"alnum_prop": 0.6516111991547807,
"repo_name": "mosoft521/guava",
"id": "eb37a6013521c9739a80a97ef6ef34fc0dabce8a",
"size": "4386... |
html {
padding: 1em;
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dddddd), color-stop(100%, #ffffff)) no-repeat;
background: -webkit-linear-gradient(#dddddd, #ffffff) no-repeat;
background: -moz-linear-gradient(#dddddd, #ffffff) no-repeat;
background: -o-linear-gradient(#dd... | {
"content_hash": "91ce29db51d938afd60763cb9bd45b93",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 121,
"avg_line_length": 30.5,
"alnum_prop": 0.6561807709348693,
"repo_name": "arkhitech/redmine_sencha_app",
"id": "5a023794987eb71c7b8b558f5301d50a1f111d0b",
"size": "2257... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Bootstrap Pagination Example</title>
<link rel="stylesheet" href="vendor/css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="src/css/bootstrap.pagination.css" type="text/css" />
<script src="vendor/js/jquery-1.9.1.min.js"></sc... | {
"content_hash": "e59340a58f7118d3b706b76acec611fa",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 95,
"avg_line_length": 18.125,
"alnum_prop": 0.580564263322884,
"repo_name": "danenania/bootstrap-pagination",
"id": "17307f964b1983942847c679980162e6fa64822e",
"size": "15... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About IPcoin</source>
<translation>About IPcoin</translation>
</message>
<message>
... | {
"content_hash": "29ae917c259023f44d625e033b717480",
"timestamp": "",
"source": "github",
"line_count": 3340,
"max_line_length": 405,
"avg_line_length": 37.0811377245509,
"alnum_prop": 0.6154088380392568,
"repo_name": "ipteam/ipcoin",
"id": "2d1ef9671dcdd6cdfc9031f2e4a07cc704118bc4",
"size": "12385... |
{% extends "layout.html" %} {% block pageTitle %} GOV.UK prototyping kit {% endblock %} {% block content %} {% import "pip23/macros/elements.html" as elements %} {% for page in data %} {% for question in page.declaration %}
<main id="content" role="main" class="pip23">
<div class="grid-row">
<div class="column-two-... | {
"content_hash": "4c4a4d5bdabee9e35c7cb578bf9c1d81",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 280,
"avg_line_length": 50.66129032258065,
"alnum_prop": 0.6660299267749125,
"repo_name": "gup-dwp/pip-prototype-v2",
"id": "b77ecbd5b28a0cde9043e4228006edd9503da9f2",
"siz... |
<!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_29) on Sat Mar 17 18:06:11 MSK 2012 -->
<TITLE>
Uses of Class org.apache.poi.xssf.model.CalculationChain (POI API Documentation)
</TITLE>
<META NAME... | {
"content_hash": "8bc58a7ff2a9abb825b396505e6e31a5",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 316,
"avg_line_length": 44.82513661202186,
"alnum_prop": 0.6234304522735584,
"repo_name": "Stephania16/ProductDesignGame",
"id": "557a0bf5826bd5c88c37583486f763e75bc82864",
... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | {
"content_hash": "75d5ee7f4f88e4f2399bfbe17dc320c7",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 128,
"avg_line_length": 31.274725274725274,
"alnum_prop": 0.6978215038650738,
"repo_name": "arhimondr/presto",
"id": "8f76e71cb3e43018b10b404f0d5b384303b75675",
"size": "28... |
$(function() {
function initToolbarBootstrapBindings() {
var fonts = ['Serif', 'Sans', 'Arial', 'Arial Black', 'Courier',
'Courier New', 'Comic Sans MS', 'Helvetica', 'Impact', 'Lucida Grande', 'Lucida Sans', 'Tahoma', 'Times',
'Times New Roman', 'Verdana'],
fontTarg... | {
"content_hash": "163220765b0f292652ae2591f9dfee9f",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 148,
"avg_line_length": 41.193548387096776,
"alnum_prop": 0.5199686765857479,
"repo_name": "newset/theme",
"id": "795e60c5028b46ff7b931284be17be36672c6536",
"size": "1277",... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
#if WINDOWSAZURE
using Microsoft.WindowsAzure.Storage.Table;
#else
using Microsoft.Azure.Cosmos.Table;
#endif
using WindowsAzure.Table.EntityC... | {
"content_hash": "c98152c6c9eb46bd60368e5871eec439",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 119,
"avg_line_length": 34.2520325203252,
"alnum_prop": 0.6112034179919298,
"repo_name": "dtretyakov/WindowsAzure",
"id": "0c0711ab0e89dc80f16ca695b8ecb1f1b2c77dfb",
"size... |
<!doctype html>
<html>
<head>
<script src="closure/goog/base.js"></script>
<script src="./deps.js"></script>
<script src="?camli.mode=config&var=CAMLISTORE_CONFIG"></script>
<!-- Begin non-Closure cheating; but depended on by server_connection.js -->
<script type="text/javascript" src="base64.js"... | {
"content_hash": "a5fe0ee37e004e1c2455ddb36d30b6e3",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 80,
"avg_line_length": 39.12903225806452,
"alnum_prop": 0.6521022258862325,
"repo_name": "jhuckabee/camlistore",
"id": "ff2dbcfc1b16f057e314d033d5db7bd7ebf1dc1a",
"size": "... |
@interface BaseTableView : UITableView
@end
| {
"content_hash": "f55edeab528d44f1d70ac9e57ff73ef0",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 38,
"avg_line_length": 15,
"alnum_prop": 0.8,
"repo_name": "2016Flyme/LYZChat",
"id": "98d8a516b93167588673738b6225a9cdc834df6d",
"size": "208",
"binary": false,
"copies... |
package validation.constraints;
public abstract class AbstractConstraint implements ConstraintInterface {
protected String message;
public AbstractConstraint() {
this.message = "Incorrect value.";
}
public AbstractConstraint(String message) {
this.message = message;
}
... | {
"content_hash": "82d0aaa821e296a13a24ebb1d2033360",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 73,
"avg_line_length": 19.95,
"alnum_prop": 0.6516290726817042,
"repo_name": "JimmyTournemaine/MyMenuManager",
"id": "9e7aee4aa0a8fa88a8db1e2f1a12eb2fa4373fcb",
"size": "39... |
namespace _02.MaxHeap
{
using System;
using System.Collections.Generic;
public class MaxHeap<T> : IAbstractHeap<T>
where T : IComparable<T>
{
private List<T> _elements;
public MaxHeap()
=> this._elements = new List<T>();
public int Size => this._el... | {
"content_hash": "191b696076b02c844d5ae785156c3c9b",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 85,
"avg_line_length": 26.507246376811594,
"alnum_prop": 0.5292509568069984,
"repo_name": "zrusev/SoftwareUniversity2016",
"id": "48ba3d9823f6fef626de55c9a0484be3bd7586e2",
... |
using System;
using System.Collections.Generic;
using Anotar.Catel;
#pragma warning disable 1998
public class ClassWithCompilerGeneratedClasses
{
public async void AsyncMethod()
{
LogTo.Debug();
}
public IEnumerable<int> EnumeratorMethod()
{
yield return 1;
LogTo.Debug();
... | {
"content_hash": "b06e1326aa58e0b6774d31405a142126",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 61,
"avg_line_length": 19.571428571428573,
"alnum_prop": 0.5571776155717761,
"repo_name": "mstyura/Anotar",
"id": "499af53367b2d3a72f7d41828b404661878613af",
"size": "822",... |
function XiuaiLSystem(axiom, r) {
this.sentence = axiom; // The sentence (a String)
this.ruleset = r; // The ruleset (an array of Rule objects)
this.generation = 0; // Keeping track of the generation #
// Generate the next generation
this.generate = function() {
// An empty StringBuffer that we... | {
"content_hash": "7cd2517dc81eabe6d5d6ba7adc85c425",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 75,
"avg_line_length": 29.59090909090909,
"alnum_prop": 0.5960061443932412,
"repo_name": "zanemountcastle/decoding-nature",
"id": "b8b63933d089585dccd4d25bdea9f58071d10263",
... |
package edu.fudan.eservice.common.actions;
import java.io.IOException;
import org.apache.struts2.ServletActionContext;
import org.apache.struts2.convention.annotation.InterceptorRef;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;
import o... | {
"content_hash": "b7ece6d556c6ce97c6969b9adad2554c",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 68,
"avg_line_length": 26.096153846153847,
"alnum_prop": 0.7184966838614592,
"repo_name": "fuhongliang/fudanweixin",
"id": "967e126359a210d1100cd9b45e9d66427835150f",
"size... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>posix::basic_descriptor::cancel (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../.... | {
"content_hash": "96ac93944abaec878c2c64afd8411f46",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 347,
"avg_line_length": 63.903225806451616,
"alnum_prop": 0.6388187783947501,
"repo_name": "tcye/heptapod",
"id": "f1a95e0c9f075af8d94d9a839943f9ba1d0c180c",
"size": "3962"... |
namespace android {
namespace {
void BackupPrefsChanged(
const base::android::ScopedJavaGlobalRef<jobject>& java_watcher) {
Java_ChromeBackupWatcher_onBackupPrefsChanged(
base::android::AttachCurrentThread(), java_watcher);
}
}
ChromeBackupWatcher::ChromeBackupWatcher(Profile* profile) {
JNIEnv* env = ... | {
"content_hash": "0ebb494da4e33309e32acf0bec55bc6a",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 79,
"avg_line_length": 32.592592592592595,
"alnum_prop": 0.7465909090909091,
"repo_name": "endlessm/chromium-browser",
"id": "8ce2225a00af938a1e9a24d4954216f2306810ff",
"si... |
/* eslint react/prop-types: 0, padded-blocks: 0 */
import 'react-native';
import React from 'react';
import renderer from 'react-test-renderer';
import PropTypes from 'prop-types';
class Context extends React.Component {
getChildContext() {
return {
actionSheet: () => {},
getLocale: () => 'en',
... | {
"content_hash": "d2bdc866ba0cc9a23cb26ec2c658cbe5",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 62,
"avg_line_length": 21.375,
"alnum_prop": 0.6871345029239766,
"repo_name": "FaridSafi/react-native-gifted-messenger",
"id": "d54641bfb8f69cd87504dfb76618f217d82e23f3",
"... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Alectoria jubata f. alpina Hav.
### Remarks
null | {
"content_hash": "4989ccdeaa5af7dd96c88fc4a1781c66",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 10.461538461538462,
"alnum_prop": 0.6985294117647058,
"repo_name": "mdoering/backbone",
"id": "4ab3be2914a215c3494cd7805287867726cb3082",
"size": "18... |
require(["jquery", "avalon", "editor", "uploader", "bsAlert", "csrfToken", "tagEditor", "validator", "jqueryUI"],
function ($, avalon, editor, uploader, bsAlert, csrfTokenHeader) {
avalon.ready(function () {
$("#edit-problem-form").validator()
.on('submit', function (e) {
... | {
"content_hash": "bb17db7b2785ec4d79fe9773a6b08203",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 124,
"avg_line_length": 44.78817733990148,
"alnum_prop": 0.351847778266608,
"repo_name": "uestcxl/OnlineJudge",
"id": "51a668d110771fa0dea5ca6d723a6863dcf36605",
"size": "... |
package org.apache.druid.segment.data;
import org.apache.druid.java.util.common.io.Closer;
import org.apache.druid.java.util.common.io.smoosh.FileSmoosher;
import org.apache.druid.segment.CompressedPools;
import org.apache.druid.segment.serde.MetaSerdeHelper;
import org.apache.druid.segment.writeout.SegmentWriteOutM... | {
"content_hash": "b5beece41c2e5f0290291ec6754eda64",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 110,
"avg_line_length": 29.262626262626263,
"alnum_prop": 0.7397307559544356,
"repo_name": "dkhwangbo/druid",
"id": "8c2db09fefae35c2436ac85596a89c92eef8e008",
"size": "370... |
#pragma once
#include <aws/workspaces/WorkSpaces_EXPORTS.h>
#include <aws/workspaces/WorkSpacesRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace WorkSpaces
{
namespace Model
{
/**
*/
class AWS_WORKSPACES_... | {
"content_hash": "5e7287656d106012008026b27fe10878",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 155,
"avg_line_length": 31.916666666666668,
"alnum_prop": 0.6574887253738428,
"repo_name": "aws/aws-sdk-cpp",
"id": "6133d04096a08a95a6254d5410142c3263995ba8",
"size": "43... |
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
<persistence-unit name="De... | {
"content_hash": "a1fe60e37f40cfa0107eaeea2238ad78",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 250,
"avg_line_length": 59.65,
"alnum_prop": 0.6521374685666387,
"repo_name": "omilke/ta-demo",
"id": "60d57c9c9a3209abd9048ed5a0b626eb5035cd92",
"size": "1193",
"binary"... |
#include "cobalt/browser/memory_settings/pretty_print.h"
#include <algorithm>
#include <map>
#include <sstream>
#include <string>
#include <vector>
#include "base/command_line.h"
#include "cobalt/browser/memory_settings/memory_settings.h"
#include "cobalt/browser/memory_settings/test_common.h"
#include "cobalt/brow... | {
"content_hash": "a1f7b25300caf11a1bf464e99841e8f3",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 124,
"avg_line_length": 39.546875,
"alnum_prop": 0.6189253259581193,
"repo_name": "youtube/cobalt",
"id": "4034bfa647b10e9a789d517c8412cc1e624fe804",
"size": "5685",
"bi... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Zingcoin</source>
<translation>À propos de Zingcoin</translation>
... | {
"content_hash": "1ea32eda7dda90b9a4fac05d95d4d186",
"timestamp": "",
"source": "github",
"line_count": 2938,
"max_line_length": 448,
"avg_line_length": 41.42614023144996,
"alnum_prop": 0.6382877331361433,
"repo_name": "zingcoin/zingcoin",
"id": "f547d09d273f686311f39473ffd5fda6ce76a977",
"size": "... |
<?php
/**
* This file is part of Gush package.
*
* (c) 2013-2014 Luis Cordova <cordoval@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Gush;
use Gush\Adapter\Adapter;
use Gush\Command as Cmd;
use Gush\Event\CommandEvent;
... | {
"content_hash": "856dd6b19623e96b6909a2dbc2e34580",
"timestamp": "",
"source": "github",
"line_count": 377,
"max_line_length": 113,
"avg_line_length": 28.811671087533156,
"alnum_prop": 0.584146566009943,
"repo_name": "cordoval/gush-core",
"id": "9d68f2f6a3b10fa69988513b3af384e8a864baf5",
"size": "... |
package com.github.andr83.parsek.formatter
import java.util.Locale
import com.github.andr83.parsek._
import com.github.nscala_time.time.Imports._
import org.joda.time.format.{DateTimeFormat, DateTimeFormatter}
/**
* @author andr83
*/
@SerialVersionUID(1L)
trait DateFormatter extends Serializable {
def format(dat... | {
"content_hash": "1449c0f495f2192245319663e39e7819",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 118,
"avg_line_length": 35.80392156862745,
"alnum_prop": 0.7261774370208105,
"repo_name": "andr83/parsek",
"id": "7b3547d9befade1285b45569b5f3e212b48d5907",
"size": "1826",... |
<?php
namespace Drupal\views_test_data\Plugin\views\display_extender;
use Drupal\Core\Form\FormStateInterface;
use Drupal\views\Plugin\views\display_extender\DisplayExtenderPluginBase;
/**
* Defines a display extender test plugin.
*
* @ViewsDisplayExtender(
* id = "display_extender_test",
* title = @Transla... | {
"content_hash": "b028795e38bbe0d3ff183d3414f3d748",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 105,
"avg_line_length": 25.264150943396228,
"alnum_prop": 0.6053024645257655,
"repo_name": "aakb/drupalcampaarhus",
"id": "8e3dbd82c1db5a543eec10c73b43b76ae8aacf27",
"size... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ceres: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | {
"content_hash": "3af809deeee6bc540fdfd14f33545512",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 159,
"avg_line_length": 41.09146341463415,
"alnum_prop": 0.5350942276302122,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "0d3cb8a6018691bf5f5c52e2cab5c48df06ec8dc",
... |
<?xml version="1.0" encoding="UTF-8"?>
<fileResource exportedWithPermissions="true" dataFile="bar_thumb.png.data">
<folder>/themes/default/images</folder>
<name>bar_thumb.png</name>
<version>0</version>
<label>bar_thumb.png</label>
<creationDate>2015-05-27T15:05:15.210-07:00</creationDate>
<upda... | {
"content_hash": "19cfb79450dedd4cc433d63e55080c01",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 75,
"avg_line_length": 41.5,
"alnum_prop": 0.7012048192771084,
"repo_name": "ernestoongaro/jrs-extra-samples",
"id": "3841a2ca9fa90dad672f431ab53d2c8f93d31b63",
"size": "41... |
using System.ComponentModel;
namespace LinqAn.Google.Dimensions
{
/// <summary>
/// The name for the requested custom variable.
/// </summary>
[Description("The name for the requested custom variable.")]
public class CustomVarName32: Dimension
{
/// <summary>
/// Instantiates a <seealso cref="CustomVarName... | {
"content_hash": "f85daee548d0677b08938ee992539f47",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 86,
"avg_line_length": 22.5,
"alnum_prop": 0.68,
"repo_name": "kenshinthebattosai/LinqAn.Google",
"id": "16e89708eb9827a18b5d936a7432886257f47e05",
"size": "450",
"binary... |
package com.example.resource;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.... | {
"content_hash": "2e42a09edb6db719df8dd97c387fd7cd",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 88,
"avg_line_length": 25.876033057851238,
"alnum_prop": 0.6275950175662728,
"repo_name": "mike-neck/jvm-langs-til",
"id": "251e52211b26c03b6fd895eba4f0add874144b73",
"siz... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>zsearch-trees: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.m... | {
"content_hash": "400b79b92afd1bc96ebfbb158e1f8aba",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 191,
"avg_line_length": 42.331288343558285,
"alnum_prop": 0.5430434782608695,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "454d32ce9e23f1c331ef2d71ff92a719f265031d",... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "92265d0b9b4b419e8ee91125208f3bc2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "112bb3d201f792c20997bc75e19790fb61ad5c0e",
"size": "177... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>GoogleMap and KendoUI</title>
<link href="http://cdn.kendostatic.com/2012.1.515/styles/kendo.mobile.all.min.css" rel="stylesheet" />
<script src="http://code.jquery.com/jquery... | {
"content_hash": "f3f3cf08939bd4143fc8280fc979e090",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 137,
"avg_line_length": 34.33802816901409,
"alnum_prop": 0.5237899917965545,
"repo_name": "khhodges/on2EntryLevel",
"id": "c861af6951a528fdf5be25cc66db475feaf7c690",
"size"... |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2008,2009 IITP RAS
*
* 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 dis... | {
"content_hash": "15aa2c789c50d4d12866a1833421865a",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 109,
"avg_line_length": 24.448863636363637,
"alnum_prop": 0.6690680920288171,
"repo_name": "Chiru/NVE_Simulation",
"id": "3d472c5153d666d06bbb2a49256e453113c46495",
"size"... |
package com.zaxxer.hikari.util;
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
import java.util.Properties;
import static org.junit.Assert.*;
public class DriverDataSourceTest {
@Test
public void testJdbcUrlLogging() {
List<String> urls = Arrays.asList(
"jdbc:invalid:... | {
"content_hash": "81dcf166280e615fb1dcafb83494a8ed",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 103,
"avg_line_length": 32.888888888888886,
"alnum_prop": 0.6587837837837838,
"repo_name": "brettwooldridge/HikariCP",
"id": "c0bd5b381fe0e4501280050f3580eedeb20d9422",
"si... |
package org.wso2.carbon.esb.mediator.test.payload.factory;
import static org.testng.Assert.assertTrue;
import javax.xml.xpath.XPathExpressionException;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMNamespace;
im... | {
"content_hash": "96f798757358f2fd07f76a799493bdc8",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 153,
"avg_line_length": 39.294117647058826,
"alnum_prop": 0.712874251497006,
"repo_name": "wso2/product-ei",
"id": "f18d2570e7ce5214e95cba13b1be883a81f2cd95",
"size": "3987... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | {
"content_hash": "c8b64aa3efa72a002654a4e6cdc7cb76",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 116,
"avg_line_length": 33.73684210526316,
"alnum_prop": 0.6333853354134166,
"repo_name": "customs-group/customs.clustering",
"id": "657442203962421eea7f86ae5a3306abdd32df45"... |
if [ $# -lt 1 ]; then
>&2 echo "Usage: build.sh <VARIANT>"
fi
export CURDIR=$PWD
export DEPS_PATH=$PWD/staticdeps
export VARIANT=$(echo $1 | tr '[:upper:]' '[:lower:]')
export PLATFORM=$(uname | tr '[:upper:]' '[:lower:]')
if [[ $VARIANT == darwin* ]]; then
export VARIANT="darwin"
fi
NUM_PROC=1
if [[ ! -z $(... | {
"content_hash": "15edf161ae37e3f57be3e45f0967cc4e",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 133,
"avg_line_length": 26.056603773584907,
"alnum_prop": 0.6886314265025344,
"repo_name": "sxjscience/mxnet",
"id": "c8585662bfdd613c0442ee73cadc8ef309b3e896",
"size": "21... |
<div class="video-player">
<div id="player" class="flowplayer playful is-splash">
<div class="fp-prev">Prev</div>
<div class="fp-next">Next</div>
</div>
</div>
| {
"content_hash": "7f35c7cefcc63b7c9f41035a6b5191f4",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 56,
"avg_line_length": 29,
"alnum_prop": 0.6206896551724138,
"repo_name": "jojanper/ng-app",
"id": "61d83d6075f12f65bb1f5a83a35a24a3fa8495b3",
"size": "174",
"binary": fal... |
require 'concurrent/synchronization/object'
module Concurrent
# A simple utility class that executes a callable and returns and array of three elements:
# success - indicating if the callable has been executed without errors
# value - filled by the callable result if it has been executed without errors, nil oth... | {
"content_hash": "bb58b9edf41cdaa54bdce71046bccf99",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 95,
"avg_line_length": 28.555555555555557,
"alnum_prop": 0.6498054474708171,
"repo_name": "deivid-rodriguez/concurrent-ruby",
"id": "fe054a9d904df31d842c65c31324a474f19e35ae"... |
#ifndef GWEN_RENDERERS_DIRECTX9_H
#define GWEN_RENDERERS_DIRECTX9_H
#include "Gwen/Gwen.h"
#include "Gwen/BaseRender.h"
struct VERTEXFORMAT2D
{
FLOAT x, y, z, rhw;
DWORD color;
float u, v;
};
#define D3DFVF_VERTEXFORMAT2D (D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_TEX1)
namespace Gwen
{
namespace Renderer
{
class... | {
"content_hash": "5cb36fcc54438cac3dcdf63487bd374a",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 140,
"avg_line_length": 23.333333333333332,
"alnum_prop": 0.7259740259740259,
"repo_name": "MTASZTAKI/ApertusVR",
"id": "308450a5ebab32fadbac5c25aa4006c768604f3c",
"size": ... |
#ifndef GRPCPP_TEST_DEFAULT_REACTOR_TEST_PEER_H
#define GRPCPP_TEST_DEFAULT_REACTOR_TEST_PEER_H
#include <grpcpp/server_context.h>
#include <grpcpp/support/server_callback.h>
namespace grpc {
namespace testing {
/// A test-only class to monitor the behavior of the ServerContext's
/// DefaultReactor. It is intended... | {
"content_hash": "d2da824eea46270691195eb8013b0970",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 76,
"avg_line_length": 35.15384615384615,
"alnum_prop": 0.7221006564551422,
"repo_name": "muxi/grpc",
"id": "6755c04333347d53a698e0cacf0d142aae02e70a",
"size": "1973",
"b... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Telligent.Evolution.Extensions.OAuthAuthentication.Services
{
internal static class Constants
{
internal const int RefreshMarginMinutes = 3;
internal const int RequestTimeoutMilliseconds = 30000;
interna... | {
"content_hash": "6c921cc9def4734181958a86e7dabde9",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 69,
"avg_line_length": 36.78947368421053,
"alnum_prop": 0.7782546494992847,
"repo_name": "Telligent/Community-Rest-SDK",
"id": "dc7444bd3f113ca454e76cdaa3364e9ebacf8760",
"... |
<!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_272) on Sat Nov 28 17:15:56 PST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.fasterxml... | {
"content_hash": "a67256d66fe9c8884b3a851103b30a09",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 419,
"avg_line_length": 51.32843137254902,
"alnum_prop": 0.6817877948619998,
"repo_name": "FasterXML/jackson-databind",
"id": "07220f01fe2e909466948cddc6f59e7e43fcb632",
"... |
#ifndef __PRINTQUEUE_HPP__
#define __PRINTQUEUE_HPP__
#include "LegacyDevice.hpp"
using namespace System::Windows::Xps;
using namespace System::Windows::Xps::Packaging;
using namespace System::Windows::Xps::Serialization;
using namespace System::Security;
using namespace System::Security::Permissions;
namespace Sy... | {
"content_hash": "107fdb3373d472cefcda4463f0d32bd4",
"timestamp": "",
"source": "github",
"line_count": 2544,
"max_line_length": 141,
"avg_line_length": 33.10770440251572,
"alnum_prop": 0.5187709258423765,
"repo_name": "mind0n/hive",
"id": "96c26e6d9334885b24854c15c5c0265f1c3b812f",
"size": "84515"... |
#include <sys/param.h>
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#elif HAVE_SYS_TERMIOS_H
#include <sys/termios.h>
#endif
#ifdef HAVE_PTY_H
#include <pty.h>
#endif
#define S_CHGWIN 1
#define s_wsiz s_data.winsize
struct schck {
u_short s_type;
union s_data {
struct winsize winsize;
char buf[sizeof(struct w... | {
"content_hash": "180ecb74ef1110b16aa8016f9ed5cc7a",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 35,
"avg_line_length": 15.636363636363637,
"alnum_prop": 0.6947674418604651,
"repo_name": "mm79/sud",
"id": "30ab8d44006d9d2ea54e24645a8fbc6c2dca93d9",
"size": "1836",
"b... |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
namespace Gallio.PowerShellCommands
{
/// <summary>
/// The Gallio.PowerShellCommands namespace contains Powershell cmdlets for Gallio.
/// </summary>
[CompilerGenerated]
class NamespaceDoc
... | {
"content_hash": "8d652b26ece33e318eeb0f59a2e5714c",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 87,
"avg_line_length": 22.066666666666666,
"alnum_prop": 0.7250755287009063,
"repo_name": "citizenmatt/gallio",
"id": "56ecdd60130a55ff517b68940f57885c6d5dd558",
"size": "1... |
from decimal import *
import getpass
import math
import os
import os.path
import platform
import sys
import time
from jsonrpc import ServiceProxy, json
BASE_FEE=Decimal("0.001")
def check_json_precision():
"""Make sure json library being used does not lose precision converting SRI values"""
n = Decimal("20000... | {
"content_hash": "5f46f0de658ca657f717f9571634c0c1",
"timestamp": "",
"source": "github",
"line_count": 252,
"max_line_length": 111,
"avg_line_length": 38.24603174603175,
"alnum_prop": 0.6140278065988795,
"repo_name": "CoinAge-DAO/solari",
"id": "9d803027cde2285be92b41dd25130e6ee8fe3346",
"size": "... |
'use strict';
var semver = require('semver'),
should = require('should'),
request = require('supertest'),
path = require('path');
require(path.resolve('./modules/users/server/models/user.server.model'));
var mongoose = require('mongoose');
var User = mongoose.model('User');
var express = require(path.resolve('... | {
"content_hash": "718cf65318dead05c7e8776703b705a5",
"timestamp": "",
"source": "github",
"line_count": 1034,
"max_line_length": 118,
"avg_line_length": 28.486460348162474,
"alnum_prop": 0.5352571719572229,
"repo_name": "halsn/mean",
"id": "e9df2ed2431ecd17d4f10156bb7a3f29cad6e49a",
"size": "29455"... |
class BLOB_CHOICE_LIST_CLIST;
class BLOCK_LIST;
class CharSamp;
struct OSResults;
class PAGE_RES;
class PAGE_RES_IT;
struct Pix;
class ROW;
class SVMenuNode;
class TBOX;
class TO_BLOCK_LIST;
class WERD;
class WERD_CHOICE;
class WERD_RES;
// Top-level class for all tesseract global instance data.
// This class either ... | {
"content_hash": "718c01a31ca848850f3e2d4465fb627d",
"timestamp": "",
"source": "github",
"line_count": 1175,
"max_line_length": 80,
"avg_line_length": 51.437446808510636,
"alnum_prop": 0.6366915402306458,
"repo_name": "dyxh/helpmenu",
"id": "d488fd30f3356bba2dabdcb11394170c651fdb8e",
"size": "6205... |
import * as R from 'ramda';
import React from 'react';
import { ValueType } from 'tweek-client';
import { useAlerter } from '../../../../contexts/Alerts';
import '../../../../styles/core/core.css';
import { AnyMutator } from '../../../../utils/mutator';
import { ConditionValueType, JpadRules, Partition, Rule } from '..... | {
"content_hash": "b44043b181a0c08e34b9c7330305da52",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 115,
"avg_line_length": 30.51388888888889,
"alnum_prop": 0.6376877560309513,
"repo_name": "Soluto/tweek",
"id": "b4a1cb92a53d6dab149a005f1db41cefc5915082",
"size": "4394",... |
<!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 Wed Jan 16 11:48:20 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.config.jc... | {
"content_hash": "e20fe51506a121efaf9025e5994d0383",
"timestamp": "",
"source": "github",
"line_count": 312,
"max_line_length": 385,
"avg_line_length": 60.2724358974359,
"alnum_prop": 0.6834352565806966,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "10bbb02037563c4f65630bfdf42bfeb0d7fc7... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="cdf60b3b-5ccd-4625-8dff-d4f42d9470f7" name="Default" comment="" />
<ignored path="MCD.iws" />
<ignored path=".idea/workspace.xml" />
<ignored path=".idea/dataSources.local.xml" />... | {
"content_hash": "22e1c8ecec7f8b96dbcde905dcb9d0f4",
"timestamp": "",
"source": "github",
"line_count": 580,
"max_line_length": 328,
"avg_line_length": 53.56206896551724,
"alnum_prop": 0.6371274061675143,
"repo_name": "Dielex/practica_verificacion",
"id": "7089e5c7436987d07d3138eba5612c3a77872d11",
... |
import os
from shutil import rmtree
from urlparse import urlparse
from uuid import uuid4
from django.contrib.auth.models import User
from django.contrib.auth.tokens import default_token_generator
from django.contrib.contenttypes.models import ContentType
from django.core import mail
from django.core.urlresolvers impor... | {
"content_hash": "73f0449681258c7c00a25c3ab13141fe",
"timestamp": "",
"source": "github",
"line_count": 532,
"max_line_length": 79,
"avg_line_length": 42.578947368421055,
"alnum_prop": 0.6130584495850256,
"repo_name": "westinedu/newertrends",
"id": "c8b798cbd49c387aeb0ed3855fd99ec7ce8e6540",
"size"... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "354d823437d8426110154b3ea339fa14",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "61f10c700ae005d5410f4b1e5036797e86c2ad64",
"size": "185... |
module Fayde.Controls {
export class PasswordBox extends TextBoxBase {
static PasswordCharProperty = DependencyProperty.Register("PasswordChar", () => String, PasswordBox, String.fromCharCode(9679));
static PasswordProperty = DependencyProperty.Register("Password", () => String, PasswordBox);
... | {
"content_hash": "c18326fab8d4bdec9310cae6b88e5769",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 136,
"avg_line_length": 43.92307692307692,
"alnum_prop": 0.5950087565674256,
"repo_name": "wsick/Fayde",
"id": "63dc1c770c50f70fb0027d0c381e52b3d47bb883",
"size": "2325",
... |
package jkind.api.ui.counterexample;
import java.util.ArrayList;
import java.util.List;
import jkind.lustre.values.Value;
import jkind.results.Counterexample;
import jkind.results.Signal;
import jkind.results.layout.Layout;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewe... | {
"content_hash": "bd687ba2e789c1663ba2c7099e406173",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 76,
"avg_line_length": 23.53846153846154,
"alnum_prop": 0.7282135076252724,
"repo_name": "agacek/jkind",
"id": "6ec3e76de7bc371d01c9f44f0c2707499b8629fe",
"size": "1836",
... |
<?php
namespace Magento\Cookie\Model\Config\Backend;
/**
* Backend model for domain config value
*/
class Lifetime extends \Magento\Framework\App\Config\Value
{
/** @var \Magento\Framework\Session\Config\Validator\CookieLifetimeValidator */
protected $configValidator;
/**
* @param \Magento\Framew... | {
"content_hash": "0cad35eff513f1a02a3f5e7207c1cd40",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 113,
"avg_line_length": 39.44444444444444,
"alnum_prop": 0.6863849765258216,
"repo_name": "tarikgwa/test",
"id": "9d650159e45016208a00bac18c8a6b36a5f9e7bc",
"size": "2228",... |
/**
* This software is released as part of the Pumpernickel project.
*
* All com.pump resources in the Pumpernickel project are distributed under the
* MIT License:
* https://github.com/mickleness/pumpernickel/raw/master/License.txt
*
* More information about the Pumpernickel project is available here:
* http... | {
"content_hash": "2bf810aaa8f93a617b9b7761bcbfeff7",
"timestamp": "",
"source": "github",
"line_count": 307,
"max_line_length": 79,
"avg_line_length": 29.9185667752443,
"alnum_prop": 0.6663037561241154,
"repo_name": "mickleness/pumpernickel",
"id": "571df6bdc7dfee72cfaf12a6bc775c5475bef481",
"size"... |
+++
Title = "Program"
Type = "program"
Description = "Program for DevOpsDays Natal 2019"
+++
<div class = "row">
<div class = "col">
<hr />
If Open Space is new to you, you may be interested in <a href="/pages/open-space-format">more details about Open Space</a>.
<hr />
</div>
</div>
| {
"content_hash": "23da5494d06fe9410f86540f3fb37631",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 127,
"avg_line_length": 23.23076923076923,
"alnum_prop": 0.6192052980132451,
"repo_name": "gomex/devopsdays-web",
"id": "cf6289a1929305d9e19c4f55e6bd2d0518227583",
"size": ... |
# encoding: utf-8
require 'rubygems'
require 'albacore'
require 'rake/clean'
require 'rexml/document'
NANCY_VERSION = ""
OUTPUT = "build"
CONFIGURATION = 'Release'
SHARED_ASSEMBLY_INFO = 'dependencies/Nancy/src/SharedAssemblyInfo.cs'
SOLUTION_FILE = 'src/Nancy.Bootstrappers.Ninject.sln'
Albacore.configure do |config|... | {
"content_hash": "10cc189d9ef3f2f41a36c88b2b78db14",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 229,
"avg_line_length": 36.263803680981596,
"alnum_prop": 0.6846557266114025,
"repo_name": "khellang/Nancy.Bootstrappers.Ninject",
"id": "18fb0b1b92671c1c68a94b0b5c5a52e91fd... |
// Copyright 2014 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | {
"content_hash": "c70335354404acf8abcd36fa976f3313",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 75,
"avg_line_length": 33.03333333333333,
"alnum_prop": 0.7628657921291625,
"repo_name": "haveal/aw-reporting",
"id": "504ffd5f08ee08fa09cc0a83da8dd62ab95ecf40",
"size": "9... |
package org.apache.helix.model.builder;
import java.util.HashMap;
import java.util.Map;
import org.apache.helix.model.ConfigScope;
import org.apache.helix.model.HelixConfigScope.ConfigScopeProperty;
import org.apache.helix.util.StringTemplate;
import org.apache.log4j.Logger;
/**
* @deprecated replaced by {@link H... | {
"content_hash": "5e43f78acfa56dc4c90dd2af90fe8650",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 96,
"avg_line_length": 28.672727272727272,
"alnum_prop": 0.6975269499048827,
"repo_name": "kongweihan/helix",
"id": "a8ce83521ddae9328aa892ecd8bc4ed2b0809279",
"size": "39... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Niqiu.Core.Helpers
{
public enum ValidataType
{
Email, Domain, Phone, Mobile, Url, Money, Number, Zip, Ip, QQ, Integer, Double, English, Chinese, Enandcn
}
}
| {
"content_hash": "a55bef46f3245d59d97ccb7a553cb685",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 113,
"avg_line_length": 21.384615384615383,
"alnum_prop": 0.697841726618705,
"repo_name": "stoneniqiu/Portal.MVC",
"id": "bce0b79b8bbcf17741d814628a0e853bddfa13a4",
"size":... |
<!doctype html>
<!-- This file is generated by build.py. -->
<title>Reference for img wide.jpg; overflow:visible; -o-object-fit:fill; -o-object-position:left center</title>
<link rel="stylesheet" href="../../support/reftests.css">
<style>
.helper { overflow:visible }
.helper > * { left:0; top:0.0px; width:200px; heig... | {
"content_hash": "b691654143da7b7a01a5458c8e699cb9",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 111,
"avg_line_length": 38.72727272727273,
"alnum_prop": 0.6666666666666666,
"repo_name": "operasoftware/presto-testo",
"id": "d297b9626fdbee1510d772964d9663e85954f56b",
"s... |
<!DOCTYPE html>
<html lang="es-AR">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:image" content="https://alberro.xyz/images/2015/07/git.jpg"/>
<... | {
"content_hash": "cec268329d89c10655130335e6494a2f",
"timestamp": "",
"source": "github",
"line_count": 413,
"max_line_length": 582,
"avg_line_length": 36.19370460048426,
"alnum_prop": 0.6195477655873696,
"repo_name": "juan-manuel-alberro/alberro.xyz",
"id": "11ac4e9c21ffad38622270d7f6e4f935cea1eea8"... |
from enum import Enum, unique
from django.db import models
from django.utils.translation import ugettext_lazy as _
@unique
class Fields(Enum):
ENERGY = 1
MARITIME_FISHERIES = 2
HEALTH = 3
DEFENSE = 4
ENVIRONMENT = 5
SOCIAL = 6
EDUCATION = 7
TECHNOLOGY = 8
CULTURE_AND_LANGUAGE = 9
... | {
"content_hash": "435a4eeec90886868351e821ea34c2b2",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 110,
"avg_line_length": 36.11290322580645,
"alnum_prop": 0.6158999553372041,
"repo_name": "SeiryuZ/magnet",
"id": "cbc3f20f02939c0f5cd8f3f415e559180ed7509a",
"size": "2239"... |
namespace YAF.Utilities
{
#region Using
using YAF.Classes;
using YAF.Core;
using YAF.Types;
using YAF.Types.Extensions;
using YAF.Types.Interfaces;
using YAF.Utils;
#endregion
/// <summary>
/// Contains the Java Script Blocks
/// </summary>
public static class JavaScr... | {
"content_hash": "10876bfa6b5d66f691da07ff979967d1",
"timestamp": "",
"source": "github",
"line_count": 941,
"max_line_length": 271,
"avg_line_length": 39.67375132837407,
"alnum_prop": 0.4858436236037822,
"repo_name": "unstab1e/sitecoreyaf8",
"id": "041204b89dc90b110b0955d849f05a2d476fc9d9",
"size"... |
package com.giusilvano.blurry;
import javax.activation.MimetypesFileTypeMap;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
public class PathsProcessor {
/**
* R... | {
"content_hash": "7b9416dd4a2c80fe15deaab87f2832ac",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 150,
"avg_line_length": 37.56551724137931,
"alnum_prop": 0.5940884890765559,
"repo_name": "giusilvano/blurry",
"id": "ec22b4948a19a00c9b4fbfa330a5752ab3b7f7db",
"size": "5... |
/* @flow */
import { DIRECTION, PRIORITY } from '../../../../../library/StartEnd/constants';
import joinQuoted from '../../../utils/joinQuoted';
import type { ComponentPropDocs } from '../../../pages/ComponentDoc/types';
const stringOrArrayOfStringsType = (constant) => {
const strings = joinQuoted(Object.values(con... | {
"content_hash": "b82ed6cf648e00454e0dfa0974efa937",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 132,
"avg_line_length": 30.61111111111111,
"alnum_prop": 0.6678765880217786,
"repo_name": "mineral-ui/mineral-ui",
"id": "df52841da9c0b78c92c382e3744ca9d4eb4c997b",
"size":... |
package br.com.softplan.security.zap.api.exception;
import static org.testng.Assert.assertEquals;
import org.testng.annotations.Test;
public class ZapClientExceptionTest {
@Test
public void testMessageConstructor() {
String message = "message";
try {
throw new ZapClientException(message);
} catch (ZapCli... | {
"content_hash": "231f6b13db38129e23db9c04f438d80b",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 57,
"avg_line_length": 23.70731707317073,
"alnum_prop": 0.7283950617283951,
"repo_name": "pdsoftplan/zap-maven-plugin",
"id": "0d7c35be11e99801fbe81d1ee8f29bb19ac1547e",
"s... |
#ifndef TENSORFLOW_COMPILER_TF2XLA_XLA_COMPILED_CPU_FUNCTION_H_
#define TENSORFLOW_COMPILER_TF2XLA_XLA_COMPILED_CPU_FUNCTION_H_
#include <cassert>
#include <string>
#include "tensorflow/compiler/tf2xla/cpu_function_runtime.h"
#include "tensorflow/compiler/xla/executable_run_options.h"
#include "tensorflow/core/plat... | {
"content_hash": "d7f596747463fad4d73e7d0b47f375fe",
"timestamp": "",
"source": "github",
"line_count": 345,
"max_line_length": 80,
"avg_line_length": 39.77391304347826,
"alnum_prop": 0.6914443958606618,
"repo_name": "jendap/tensorflow",
"id": "de2e485a47c18ae8e58a06aba408dbb61a30d00a",
"size": "14... |
package org.jfree.data.time;
import java.io.Serializable;
import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;
/**
* Represents a minute. This class is immutable, which is a requirement for
* all {@link RegularTimePeriod} subclasses.
*/
public class Minute extends RegularTimePeriod impl... | {
"content_hash": "b1bfc8fa8fad2cb941bf2eb2a98a839e",
"timestamp": "",
"source": "github",
"line_count": 430,
"max_line_length": 79,
"avg_line_length": 28.272093023255813,
"alnum_prop": 0.5419922678292342,
"repo_name": "ibestvina/multithread-centiscape",
"id": "25fa9be3394e7fdf0b0f5ca2c22b9e7d361f2a2e... |
require "tty-markdown"
require_relative "../lib/tty-pager"
pager = TTY::Pager.new
file = File.join(__dir__, "../README.md")
text = TTY::Markdown.parse_file(file)
pager.page(text)
| {
"content_hash": "d89f4e1677c753dd36cfbf5f38c210df",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 41,
"avg_line_length": 25.714285714285715,
"alnum_prop": 0.6888888888888889,
"repo_name": "peter-murach/tty-pager",
"id": "cc940123ed0dac4c5923dbd89b318d816d4bd0b3",
"size":... |
FOUNDATION_EXPORT double Pods_SuperCrack_VersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_SuperCrack_VersionString[];
| {
"content_hash": "65bb46e176486c121f080ebb3df40278",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 70,
"avg_line_length": 42.666666666666664,
"alnum_prop": 0.8515625,
"repo_name": "DaveChambers/SuperCrack",
"id": "6abeb781a31f2ff6992fcf069f1680ad7b3a19ec",
"size": "324",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width initial-scale=1 user-scalable=no" />
<title>Victory</title>
<link href="https://fonts.googleapis.com/css?family=Karla:400,700,400italic" rel="stylesheet" type="text/css">
<link rel="style... | {
"content_hash": "652bc0c35eb06a049600d5c0646f7389",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 134,
"avg_line_length": 63.75,
"alnum_prop": 0.7026143790849673,
"repo_name": "FormidableLabs/deck-victory",
"id": "8db71a546096472cea089451c20f385e73a97e03",
"size": "1530... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.