text stringlengths 2 1.04M | meta dict |
|---|---|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>icharate: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | {
"content_hash": "1c33d3a4f5fe5cccc761abbd70332c26",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 159,
"avg_line_length": 41.2752808988764,
"alnum_prop": 0.5624064243909078,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "f9100932f4c97642b248369ca5b7aa65113116e5",
... |
<?php
/**
* log-to-file
*
* @file: Decorator.php
* @author Ashterix <ashterix69@gmail.com>
*
* Class - Decorator
* @description
*
* Created by JetBrains PhpStorm.
* Date: 18.03.2015
* Time: 13:57
*/
namespace LogToFile;
class Decorator {
const FORMAT_DATE = "Y-m-d";
const FORMAT_TIME = "H:s:i";
... | {
"content_hash": "1e3508cfd652e0665e5c8730b15e5ad5",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 73,
"avg_line_length": 16.766355140186917,
"alnum_prop": 0.5228539576365663,
"repo_name": "Ashterix/log-to-file",
"id": "b9459d7f29bda9019b989abaf4f55792d67706a5",
"size":... |
var ShowDateModule = Module.Base.extend({
prototype: {
_ready: function _ready() {
this.element.innerHTML = [
'<div class="module-body">',
'<p>Like a long, lost love, I\'ve been waiting for you. *sniff*</p>',
'<p>Finally you arrived!</p>',
'</div>'
].join("");
}
}
});
| {
"content_hash": "2713afa735133272e000bbd390b63f98",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 74,
"avg_line_length": 18.9375,
"alnum_prop": 0.5544554455445545,
"repo_name": "gburghardt/foundry",
"id": "b5ce2f2bea25767c6254c0c2737e2a9026a7405d",
"size": "303",
"bin... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a9db3ddbfbca3c9953f4c91a5053882d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "3120a784472fe95071d379bd56eec2dda0863852",
"size": "184... |
<dom-module id="polyclinic-display">
<style>
.polyclinic {
margin-left: 58px;
min-height: 50px;
cursor: pointer;
}
.name {
font-weight: bold;
}
.desc {
color: #333;
}
</style>
... | {
"content_hash": "198a158f2c5627c38d9b17242ab5c7d9",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 149,
"avg_line_length": 29.529411764705884,
"alnum_prop": 0.4168326693227092,
"repo_name": "kahkhang/hyde",
"id": "982bc0d48b10801103285cfcb1fcbe7ffb165ead",
"size": "2008"... |
using Abot.Util;
using NUnit.Framework;
using System;
using System.Threading;
namespace Abot.Tests.Unit.Util
{
[TestFixture]
public abstract class ThreadManagerTest
{
IThreadManager _unitUnderTest;
const int MAXTHREADS = 10;
protected abstract IThreadManager GetInstance(int maxThre... | {
"content_hash": "0b50e4aeac8539dbb67aba72ddb6bc26",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 128,
"avg_line_length": 29.630573248407643,
"alnum_prop": 0.5382631126397248,
"repo_name": "coveo/abot",
"id": "abb35a6e0e06b7691a3783f9f3e2c3267d887e5b",
"size": "4654",
... |
import unittest
from sql import For, Table
class TestFor(unittest.TestCase):
def test_for(self):
for_ = For('UPDATE', Table('t1'), Table('t2'), nowait=True)
self.assertEqual(str(for_), 'FOR UPDATE OF "t1", "t2" NOWAIT')
| {
"content_hash": "81ba9f6e2d50d336edfe6840fda871c3",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 70,
"avg_line_length": 27,
"alnum_prop": 0.6378600823045267,
"repo_name": "shnergle/ShnergleServer",
"id": "cf0b940206e6dea8a27195030978dfcf4d44b154",
"size": "1853",
"bin... |
import React, { memo } from 'react';
import Link from 'next/link';
import { Spinner } from 'reactstrap';
import { APP_TITLE } from 'lib/config';
import {
ReaderControlsContainer,
ReaderControlsWrapper,
ReaderControlsInfo,
ReaderControlsActions,
ReaderControlsLogo,
ReaderControlsChapterInfo,
ReaderControl... | {
"content_hash": "f68cf26fb0be884001bb1919194537a1",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 69,
"avg_line_length": 25.98076923076923,
"alnum_prop": 0.5692079940784603,
"repo_name": "dvaJi/ReaderFront",
"id": "27ff51438adc31beb7b7d061270987f5abd8cafa",
"size": "135... |
import os
import csv
from person import Person
import urllib2
class Members:
members = {}
def add(self, person):
self.members[person.name] = person
def parse_tsv(self, string):
lines = iter(string.splitlines())
r = csv.DictReader(lines, delimiter='\t')
for row in r:
... | {
"content_hash": "3a8bf8f7bf6717c4142737a1834b8868",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 108,
"avg_line_length": 29.517241379310345,
"alnum_prop": 0.5794392523364486,
"repo_name": "LandRegistry/team-dashboard",
"id": "c67c6cb06ad6d9bec3924a40493a869f38c65cc3",
... |
function [D]=chooseDistance(aln)
%Display a quest dialog for choosing a genetic distance
% Molecular Biology & Evolution Toolbox, (C) 2004,
if (isempty(aln))
error('Need aln.');
end
switch (aln.seqtype)
case (3)
ButtonName=questdlg('What genetic distance do you want to use?', ...
'Select genetic distan... | {
"content_hash": "639bad47dfa36758574ada31e2f18062",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 69,
"avg_line_length": 26.869565217391305,
"alnum_prop": 0.5849514563106796,
"repo_name": "RiboZones/RiboLab",
"id": "3bdf27f202822029286a2530050566d4d3ef4759",
"size": "12... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Search</title>
<link rel="stylesheet" href="_static/basic.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/cs... | {
"content_hash": "f1a3ba8ead6602a222765ea32f32f1c8",
"timestamp": "",
"source": "github",
"line_count": 230,
"max_line_length": 182,
"avg_line_length": 40.41304347826087,
"alnum_prop": 0.6358257127487896,
"repo_name": "nagordon/mechpy",
"id": "a4ec25212cd697b3dcc05c9da00bd3b716c5345a",
"size": "929... |
from huxley.api.tests import (DestroyAPITestCase, ListAPITestCase,
PartialUpdateAPITestCase, RetrieveAPITestCase)
from huxley.core.models import School
from huxley.utils.test import TestSchools, TestUsers
class SchoolDetailGetTestCase(RetrieveAPITestCase):
url_name = 'api:school_deta... | {
"content_hash": "70c50a2bb9ff4a638907a2b7f7905817",
"timestamp": "",
"source": "github",
"line_count": 226,
"max_line_length": 76,
"avg_line_length": 41.80530973451327,
"alnum_prop": 0.6436282811176969,
"repo_name": "ctmunwebmaster/huxley",
"id": "a4d3d780b0f9688df842cda599cc6feb58a73ab7",
"size":... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using Microsoft.CodeAnalysis;... | {
"content_hash": "1bb8e5e31dde62687a385a09a2fb5878",
"timestamp": "",
"source": "github",
"line_count": 258,
"max_line_length": 137,
"avg_line_length": 39.86821705426357,
"alnum_prop": 0.643787672564651,
"repo_name": "abock/roslyn",
"id": "d3a763cd63195233887c0d21406a80f42c278d51",
"size": "10288",... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c892e21b82e0a18ee2b791e26bc31a88",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "65c6fa81f0750f1bdb70eb21781c839660cc06b7",
"size": "171... |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="40dp"
android:height="40dp"
android:viewportWidth="40"
android:viewportHeight="40"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M9,25.125 L20,8... | {
"content_hash": "6e5d2f185ba1624f056e75e51e8afdff",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 88,
"avg_line_length": 38,
"alnum_prop": 0.7052631578947368,
"repo_name": "google/material-design-icons",
"id": "10071ef445fa3b2e7cef10045e1f1f0960c550a6",
"size": "380",
... |
package com.frameworkset.commons.pool;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Timer;
import java.util.TimerTask;
/**
* This class consists exclusively of static methods that opera... | {
"content_hash": "d3b881031b2451a69ee76d70180c6ced",
"timestamp": "",
"source": "github",
"line_count": 1092,
"max_line_length": 163,
"avg_line_length": 39.92490842490842,
"alnum_prop": 0.603972659296298,
"repo_name": "bbossgroups/bboss",
"id": "64569bfc1e7523032272813cfc2199c877120510",
"size": "4... |
#ifndef __LINUX_USB_SERIAL_VISOR_H
#define __LINUX_USB_SERIAL_VISOR_H
#define HANDSPRING_VENDOR_ID 0x082d
#define HANDSPRING_VISOR_ID 0x0100
#define HANDSPRING_TREO_ID 0x0200
#define HANDSPRING_TREO600_ID 0x0300
#define PALM_VENDOR_ID 0x0830
#define PALM_M500_ID 0x0001
#define PALM_M505_ID 0x0002
#define... | {
"content_hash": "8e705eb421ca10aa6725ddd4f688e9b1",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 99,
"avg_line_length": 35.12244897959184,
"alnum_prop": 0.6178578345922913,
"repo_name": "lokeshjindal15/pd-gem5",
"id": "4c456dd69ce54c5df0ba791770a239984aa4a52d",
"size"... |
<?php
if($_POST) {
$serverrootpath = $_SERVER['DOCUMENT_ROOT'];
$includepath = $_SERVER['DOCUMENT_ROOT'] . "/portal/includes";
$rootpath = "/portal";
include("$serverrootpath/includes/db.inc.php");
include("$includepath/common.php");
page_protect();
$user_id = $_SESSION['user_id'];
$id = str_re... | {
"content_hash": "20fcf954278ed05e92deb10e703a59a3",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 100,
"avg_line_length": 30.483870967741936,
"alnum_prop": 0.6232804232804233,
"repo_name": "frodesigns/helbreath-player-portal",
"id": "823c28671794b4b92879eda24d09e40dd1c4d9... |
package org.apache.jmeter.testbeans.gui;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.beans.PropertyEditorSupport;
import javax.swing.JPasswordField;
/**
* This cla... | {
"content_hash": "749dca087170d2f44f6017122808427f",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 100,
"avg_line_length": 22.5,
"alnum_prop": 0.5934865900383142,
"repo_name": "yuyupapa/OpenSource",
"id": "e69ba21705fd84fe35733558cb2e7a53fe8d8531",
"size": "3424",
"bi... |
// Copyright (C) 2009 The Android Open Source Project
//
// 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 ... | {
"content_hash": "79b4dfa54a4d92af85ed8baaebb21a08",
"timestamp": "",
"source": "github",
"line_count": 621,
"max_line_length": 83,
"avg_line_length": 32.966183574879224,
"alnum_prop": 0.6161098085189527,
"repo_name": "bpollack/gerrit",
"id": "ef87395b0320159ab5d2b8de45539611c52c6d92",
"size": "204... |
<?php
/**
* Adds geospatial search to SolrSearch
*
* @author <marcus@silverstripe.com.au>
* @license BSD License http://www.silverstripe.org/bsd-license
*/
class SolrGeoExtension extends DataExtension{
public static $db = array(
// geo spatial options
'GeoRestrictionField' => 'Varchar(64)',
'GeoCentre' ... | {
"content_hash": "ba1b0ff550d2f305d90703c9d08a3f37",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 144,
"avg_line_length": 33.40860215053763,
"alnum_prop": 0.6598004505954297,
"repo_name": "nyeholt/silverstripe-solr",
"id": "fe9b4e97f4b10ec03aadf51323ac051aa37e4d65",
"si... |
using System;
namespace ClipperLib
{
public enum Intersection
{
None,
Colinear,
Intersect
}
public static class IntPointExtensions
{
public static bool CalcIntersection(IntPoint a1,
IntPoint a2,
IntPoint b1,
IntPoint b2,
... | {
"content_hash": "2e57097320b4017f1c31729e51b49b79",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 114,
"avg_line_length": 33.15813953488372,
"alnum_prop": 0.5371019778370038,
"repo_name": "larsbrubaker/agg-sharp",
"id": "611e819c0ebd7e5fccd080d0396ad3868055ceaa",
"size... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `XKB_KEY_Hangul_J_Phieuf` constant in crate `wayland_kbd`.">
... | {
"content_hash": "01e6975f5567ab2fceb899cf7d86e184",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 260,
"avg_line_length": 38.32673267326733,
"alnum_prop": 0.5329372255231206,
"repo_name": "mcanders/bevy",
"id": "223d144d46dadcd646599d3f820ae393af21c347",
"size": "3871"... |
FROM balenalib/jetson-tx1-fedora:35-build
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
RUN dnf install -y \
python3-pip \
python3-dbus \
&& dnf clean all
# install "virtualenv", since the vast major... | {
"content_hash": "445ea9ec73e2457c6a30f4d7d8655aa3",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 708,
"avg_line_length": 77.96774193548387,
"alnum_prop": 0.7335539925527513,
"repo_name": "resin-io-library/base-images",
"id": "447dc0a93c075f4b6918c8606f8faaac101a24c1",
... |
class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :null_session
respond_to :json
before_action :configure_permitted_parameters, if: :devise_controller?
def angular
rend... | {
"content_hash": "ef5939089b006d92a8616ce81e6a91ed",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 80,
"avg_line_length": 24.916666666666668,
"alnum_prop": 0.7341137123745819,
"repo_name": "chmen/scharwerk",
"id": "588ad38d249f7a4e16ab1585c74a8329a9b9f8ab",
"size": "634"... |
package gin.edit.modifynode;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import com.github.javaparser.ast.CompilationUnit;
import com.github.javaparser.ast.Node;
import com.github.javaparser.ast.expr.UnaryExpr;
import com.github.javapa... | {
"content_hash": "c83ff4d1cf1e04c9c9ac6f3483395680",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 146,
"avg_line_length": 42.0875,
"alnum_prop": 0.7650727650727651,
"repo_name": "drdrwhite/gin",
"id": "f0672ed6b5858154a78b9f5f857f681f82b2630b",
"size": "3367",
"binary... |
package dto.staticdata.item;
import java.util.List;
public class ItemTree {
private String header;
private List<String> tags;
public String getHeader() {
return header;
}
public List<String> getTags() {
return tags;
}
}
| {
"content_hash": "a288b7e6ab5b8a3e9c16339d118282e0",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 35,
"avg_line_length": 14.052631578947368,
"alnum_prop": 0.6254681647940075,
"repo_name": "a64adam/ulti",
"id": "2f9414e83cf1d8d775a9a73cd6ff793e68f27ad4",
"size": "1402",
... |
#ifndef MITKIMAGEREADACCESSOR_H
#define MITKIMAGEREADACCESSOR_H
#include "mitkImageAccessorBase.h"
namespace mitk {
class Image;
class ImageDataItem;
/**
* @brief ImageReadAccessor class to get locked read access for a particular image part
* @ingroup Data
*/
class MITK_CORE_EXPORT ImageReadAccessor : public ... | {
"content_hash": "345c75ffd5a96fd54605c8aa93746131",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 158,
"avg_line_length": 26.397260273972602,
"alnum_prop": 0.7509081473793461,
"repo_name": "danielknorr/MITK",
"id": "3555550852c733e6d09c6ae75fa2d96c1cab6b80",
"size": "24... |
Wallet Tools
---------------------
### [BitRPC](/contrib/bitrpc) ###
Allows for sending of all standard Moneta commands via RPC rather than as command line args.
### [SpendFrom](/contrib/spendfrom) ###
Use the raw transactions API to send coins received on a particular
address (or addresses).
Repository Tools
-----... | {
"content_hash": "2d7a1338fbe368081acebf70651141c7",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 293,
"avg_line_length": 37.07142857142857,
"alnum_prop": 0.7249518304431599,
"repo_name": "moneta-develop/moneta",
"id": "c0de61d163e091802703bcc2deb710f83d4ea1da",
"size":... |
using System.Collections.Generic;
using System.Diagnostics;
namespace MGR.CommandLineParser.Command.Lambda
{
[DebuggerDisplay("Dictionary value assigner (currently {Values.Count} values)")]
internal class LambdaBasedCommandOptionDictionaryValueAssigner : ILambdaBasedCommandOptionValueAssigner
{
in... | {
"content_hash": "53fe5251d7493039685e913a60aab92b",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 107,
"avg_line_length": 34.888888888888886,
"alnum_prop": 0.6926751592356688,
"repo_name": "mgrosperrin/commandlineparser",
"id": "84c77d06bddb5446f2d120d11d1fa391359f236b",
... |
package org.elasticsearch.xpack.core.ml.inference.trainedmodel.metadata;
import org.elasticsearch.Version;
import org.elasticsearch.common.io.stream.Writeable;
import org.elasticsearch.common.xcontent.XContentParser;
import org.elasticsearch.test.ESTestCase;
import org.elasticsearch.xpack.core.ml.AbstractBWCSerializa... | {
"content_hash": "c457a6aba0ac9b1d2c07a51df5276953",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 127,
"avg_line_length": 32.44444444444444,
"alnum_prop": 0.7059075342465754,
"repo_name": "robin13/elasticsearch",
"id": "5e9925891ac822aff0fedac479c024d0d82033eb",
"size":... |
///////////////////////////////////////////////////////////
// The Henge3D Physics Engine //
// Found at https://github.com/bretternst/Henge3D //
////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Micros... | {
"content_hash": "047368cffa57bf05e1aa17197b56940e",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 124,
"avg_line_length": 26.176470588235293,
"alnum_prop": 0.5865168539325842,
"repo_name": "ASzot/Wumpus-XNA-Game-Engine",
"id": "599862cbb2a0fc9608098ca24246569a6440a915",
... |
<?php
namespace Acme\Mypkg\Command;
/**
* MockBCommandController Fixture
*/
class MockBCommandController extends \TYPO3\CMS\Extbase\Mvc\Controller\CommandController
{
/**
* funcBCommand
*/
public function funcBCommand()
{
}
}
| {
"content_hash": "d6743b5efac93daefeb20f46d5cdc731",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 88,
"avg_line_length": 15.117647058823529,
"alnum_prop": 0.6770428015564203,
"repo_name": "ahmedRguei/blogTypo",
"id": "43503c292c09e01dcc5170d173e5db2a29c6350c",
"size": "... |
/*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: org.apache.http.impl.cookie.RFC2965DiscardAttributeHandler
================================================================================*/
... | {
"content_hash": "bbbba13aac6b2b7c66475443a62f21b3",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 201,
"avg_line_length": 44.227586206896554,
"alnum_prop": 0.725557461406518,
"repo_name": "hyEvans/ph-open",
"id": "ec50140f5c51b18d67d7d52744b8498f263fe02d",
"size": "641... |
package dev.jeka.core.api.depmanagement;
import dev.jeka.core.api.depmanagement.publication.JkMavenMetadata;
import org.junit.Assert;
import org.junit.Test;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.UnsupportedEncodingException;
@SuppressWarnings("javadoc")
public clas... | {
"content_hash": "8afee231a5fd54c76a4e1628a1df0fe7",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 100,
"avg_line_length": 45.92307692307692,
"alnum_prop": 0.7206030150753768,
"repo_name": "jerkar/jerkar",
"id": "0e393e23d120ac80d0f0eb421522fb39bec76af1",
"size": "2985",... |
@interface ZXAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| {
"content_hash": "e3ad00695db73067786fbb77bb099a46",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 62,
"avg_line_length": 23.6,
"alnum_prop": 0.7966101694915254,
"repo_name": "urmyfaith/roadofios",
"id": "6efd2bb9bdd9e50a158ea67e8a4871ffd091661e",
"size": "266",
"binary... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ops4j.pax.exam</groupId>
<artifact... | {
"content_hash": "0de9a4f8dff75ba7c213e1673c2812a9",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 204,
"avg_line_length": 35.906976744186046,
"alnum_prop": 0.5297927461139896,
"repo_name": "bimargulies/org.ops4j.pax.exam2",
"id": "2c442d4d671329f6d4c063d35c7b8d5468ea317f"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `router` mod in crate `tokio_http2`.">
<meta name="keywords... | {
"content_hash": "ad2b08055c029b7db6714eae649a4ee6",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 205,
"avg_line_length": 42.152866242038215,
"alnum_prop": 0.44620731338773045,
"repo_name": "lambdastackio/tokio-http2",
"id": "9b71432054c8e15c281ac6bacdc4c5f2547ece21",
... |
#ifndef TENSORFLOW_CORE_COMMON_RUNTIME_BASE_COLLECTIVE_EXECUTOR_H_
#define TENSORFLOW_CORE_COMMON_RUNTIME_BASE_COLLECTIVE_EXECUTOR_H_
#include <memory>
#include <string>
#include "tensorflow/core/common_runtime/buf_rendezvous.h"
#include "tensorflow/core/framework/collective.h"
#include "tensorflow/core/framework/de... | {
"content_hash": "eba019b17b94747856842ea38f736099",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 80,
"avg_line_length": 39.43076923076923,
"alnum_prop": 0.6896215372610223,
"repo_name": "girving/tensorflow",
"id": "360ce4db7bdab16d38872722540f2fe08a1b143f",
"size": "5... |
module Interface.LpSolve where
-- standard modules
-- local modules
import Helpful.Process
--import Data.Time.Clock (diffUTCTime, getCurrentTime)
--import Debug.Trace
zeroObjective :: String -> Maybe Bool
zeroObjective p = case head answer of
"This problem is infeasible" -> Nothing
"This problem is unbounde... | {
"content_hash": "16605b4a8907b13b5d9e73aeeba6e7f6",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 77,
"avg_line_length": 36.83018867924528,
"alnum_prop": 0.5712090163934426,
"repo_name": "spatial-reasoning/zeno",
"id": "4a2c6d5722e8903afa8d2465a13e934d1dc6884e",
"size":... |
module.exports = {
Soldier: require("./lib/Soldier.js")
} | {
"content_hash": "eafd7c9cdec49f7fa68c80c53fe840eb",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 40,
"avg_line_length": 20.333333333333332,
"alnum_prop": 0.639344262295082,
"repo_name": "nherment/node-infantry",
"id": "f016aa42a018706878bbec27c9cad15d216b38d1",
"size": ... |
import u2f from "@ledgerhq/hw-transport-u2f";
export declare type TransportCreator = {
create: () => Promise<u2f.Transport>;
};
export declare const transports: {
[name: string]: TransportCreator;
};
//# sourceMappingURL=ledger-transport.d.ts.map | {
"content_hash": "935488466cf59231fcff9f8423ef7876",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 46,
"avg_line_length": 31.75,
"alnum_prop": 0.7244094488188977,
"repo_name": "ethers-io/ethers.js",
"id": "e4b0fcaa717dbc6446fb7ca7e7372ef9f9cecf22",
"size": "254",
"binar... |
<?php
$_SERVER['SCRIPT_FILENAME'] = FRONTEND_ENTRY_FILE;
$_SERVER['SCRIPT_NAME'] = FRONTEND_ENTRY_URL;
/**
* Application configuration for frontend functional tests
*/
return yii\helpers\ArrayHelper::merge(
require(YII_APP_BASE_PATH . '/_application/common/config/main.php'),
require(YII_APP_BASE_PATH . '/_ap... | {
"content_hash": "bc1e61321ac97f2b2fa4f76cedaf6317",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 80,
"avg_line_length": 37.166666666666664,
"alnum_prop": 0.6681614349775785,
"repo_name": "uran1980/yii2-advanced-template-custom",
"id": "bedd0e9d940512af7c80a7fdb9293ca3a76... |
// All HloInstruction subclasses are put in this file.
#ifndef TENSORFLOW_COMPILER_XLA_SERVICE_HLO_INSTRUCTIONS_H_
#define TENSORFLOW_COMPILER_XLA_SERVICE_HLO_INSTRUCTIONS_H_
#include "absl/memory/memory.h"
#include "tensorflow/compiler/xla/service/hlo_instruction.h"
namespace xla {
class HloBatchNormInstruction ... | {
"content_hash": "79de1580b83e3c12c06d615e51e979df",
"timestamp": "",
"source": "github",
"line_count": 1462,
"max_line_length": 80,
"avg_line_length": 42.9781121751026,
"alnum_prop": 0.7259445523124423,
"repo_name": "apark263/tensorflow",
"id": "1b4a94753cda8aba8d50836b9d51b7c3fd5807f6",
"size": "... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="LOCAL" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option n... | {
"content_hash": "2fc617af782c0fe68846154812b6a0b5",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 91,
"avg_line_length": 37.26315789473684,
"alnum_prop": 0.6087570621468926,
"repo_name": "zengerdev/homeweather",
"id": "fe234dcf4b7050d2b80c472a1eef27230e9a5bcc",
"size": ... |
package com.github.davidmoten.rx.jdbc;
import static com.github.davidmoten.rx.Functions.constant;
import static com.github.davidmoten.rx.RxUtil.log;
import static com.github.davidmoten.rx.RxUtil.toEmpty;
import static com.github.davidmoten.rx.jdbc.DatabaseCreator.connectionProvider;
import static com.github.davidmoten... | {
"content_hash": "3b21f9b4df21bffc4aaafdabda73fd70",
"timestamp": "",
"source": "github",
"line_count": 1866,
"max_line_length": 106,
"avg_line_length": 37.40943193997856,
"alnum_prop": 0.5693493395983154,
"repo_name": "vtsyryuk/rxjava-jdbc",
"id": "90b8b9d76ae639d18e3bf772a0fde969d7393259",
"size"... |
FROM nginx:1.7
MAINTAINER Levi Bostian <levi@curiosityio.com>
# NginX Configuration
ADD nginx.conf /etc/nginx/nginx.conf
ADD mime.types /etc/nginx/mime.types
ADD web-http.conf /etc/nginx/web-http.conf
ADD web-https.conf /etc/nginx/web-https.conf
# forward request and error logs to docker log collector
RUN ln -sf /de... | {
"content_hash": "8a43d228859911704645ae4fedad41a8",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 62,
"avg_line_length": 28.53846153846154,
"alnum_prop": 0.7654986522911051,
"repo_name": "curiosityio/taiga-docker",
"id": "2222718aaf22771531d769ad29fc3c75bbc100c5",
"size... |
#include <propagate_const.h>
#else
#include <experimental/propagate_const>
#endif
namespace utils {
template <typename T>
using PropagateConst = std::experimental::propagate_const<T>;
} // namespace utils
| {
"content_hash": "a1a4fd5ad795920dcb657cf8469c4c94",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 61,
"avg_line_length": 23.333333333333332,
"alnum_prop": 0.7523809523809524,
"repo_name": "antaljanosbenjamin/miscellaneous",
"id": "96f908f8c02065a37f522f17a199ee417d6456a4",... |
using namespace oclgrind;
using namespace std;
THREAD_LOCAL RaceDetector::WorkerState RaceDetector::m_state = {NULL};
#define STATE(workgroup) (m_state.groups->at(workgroup))
// Use a bank of mutexes to reduce unnecessary synchronisation
#define NUM_GLOBAL_MUTEXES 4096 // Must be power of two
#define GLOBAL_MUTEX(bu... | {
"content_hash": "25cacfdd03ebaf3f596bc9bd87508a53",
"timestamp": "",
"source": "github",
"line_count": 508,
"max_line_length": 80,
"avg_line_length": 28.559055118110237,
"alnum_prop": 0.6211745244003308,
"repo_name": "bitfusionio/Oclgrind",
"id": "812fa3dd7a16fb57a4d8a65c56617b9f75a5d1ff",
"size":... |
package com.zhouyuanchao.android.draganddraw;
import android.graphics.Point;
import android.graphics.PointF;
public class Box {
private PointF mOrigin;
private PointF mCurrent;
public Box(PointF origin) {
mOrigin = origin;
}
public void setCurrent(PointF current) {
mCurrent = current;
}
public Point... | {
"content_hash": "5470c9bb2efe13e1d7a1966f01141ea7",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 45,
"avg_line_length": 15.37037037037037,
"alnum_prop": 0.7228915662650602,
"repo_name": "yjwx0017/LearnAndroid",
"id": "0bca3ed22ed9e5ed20bc2590930303810da3c9f8",
"size": ... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "82961a6488716cf2e6104574c561a4dc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "6e1d8fc82391ad6af734f53e03a62518a514cf10",
"size": "201... |
This R script plots the relationships between an author of a tweet and the retweeters.
The nodes represent the author and the retweeters, whereas the directed edges represent possible paths the tweet can "take" to reach a certain user.
## Requirements
RtGraph was written and tested using R 3.4.1 (Single Candle). Th... | {
"content_hash": "3badb09735f1526f8d91952864db8334",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 212,
"avg_line_length": 39.16279069767442,
"alnum_prop": 0.7719714964370546,
"repo_name": "velaco/rtgraph",
"id": "9153b7adee92035ce8021fedb6839d385871b60f",
"size": "1695"... |
require 'dfp_api'
require 'dfp_api_statement'
API_VERSION = :v201505
def set_line_item_custom_field_value()
# Get DfpApi instance and load configuration from ~/dfp_api.yml.
dfp = DfpApi::Api.new
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
# the configuration file or provide yo... | {
"content_hash": "331abfc04bc179e48feca61e2828cc5f",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 80,
"avg_line_length": 34.12903225806452,
"alnum_prop": 0.6372400756143667,
"repo_name": "t9nf/google-api-ads-ruby",
"id": "aca95f8d315860e36aeab41abc62ec74ab61f5be",
"siz... |
'use strict';
import nodefn from 'when/node';
import { reach } from 'origami';
import rest from '../lib/rest-client';
function requestAccessToken (options, callback) {
const settings = {
method: 'POST',
path: 'https://api.cronofy.com/oauth/token',
entity: options
};
const result = rest(settings).fol... | {
"content_hash": "af85e31dbbff5e43cc4d5220fa48e9b9",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 54,
"avg_line_length": 23.72222222222222,
"alnum_prop": 0.6978922716627635,
"repo_name": "nbdaaron/CalendarMerge",
"id": "e2aeeb39c1b38c97b7eec9ed061cef6b79333d91",
"size":... |
package org.jge.render;
import org.jge.Disposable;
public class TextureAtlas implements Disposable
{
private Texture texture;
private int tileWidth;
private int tileHeight;
private int xSpacing;
private int ySpacing;
/**
* [Column][Row]
*/
private TextureRegion[][] tiles;
private... | {
"content_hash": "18d075304bd646b7f56dfc27bfe55840",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 104,
"avg_line_length": 18.401869158878505,
"alnum_prop": 0.6368715083798883,
"repo_name": "jglrxavpok/jglrEngine",
"id": "e8c4144fbbba38c79efd45988ddcecd186907110",
"size... |
'use strict';
/**
* @ngdoc function
* @name testReporterApp.controller:ViewsCtrl
* @description
* # ViewsCtrl
* Controller of the testReporterApp
*/
angular.module('testReporterApp')
.controller('ViewCtrl', [
'$scope', 'jenkins', 'NgTableParams', 'FileSaver', 'Blob', '$rootScope', '$filter', '$stateParams'... | {
"content_hash": "6c39e895e3598bb27a80197f2738e3c8",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 139,
"avg_line_length": 32.58783783783784,
"alnum_prop": 0.4945054945054945,
"repo_name": "sponte/jenkins-test-statistics",
"id": "f2f0d03ae845983424806ea1190ff28f8c46c388",... |
package org.ektorp.http;
import org.apache.http.params.HttpParams;
import org.junit.Test;
import java.util.concurrent.atomic.AtomicBoolean;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
public class StdHttpClientBuilderTest {
/**
* This test documents that the configur... | {
"content_hash": "829b2d13e12d79c6eb03596003104e4d",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 94,
"avg_line_length": 25.906976744186046,
"alnum_prop": 0.7630161579892281,
"repo_name": "maoueh/Ektorp",
"id": "34fce24bbba1c0973f8dcea086a6aa52740d3012",
"size": "1114",... |
! { dg-do compile }
! This tests that the fix for PR25391 also fixes PR20244. If
! the USE mod1 in subroutine foo were deleted, the code would
! compile fine. With the USE statement, the compiler would
! make new TYPEs for T1 and T2 and bomb out in fold-convert.
! This is a slightly more elaborate test than
! used_dum... | {
"content_hash": "01e5ec0e8e4e6a5b616c217bf98e3149",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 61,
"avg_line_length": 24.647058823529413,
"alnum_prop": 0.6610978520286396,
"repo_name": "shaotuanchen/sunflower_exp",
"id": "a47cabc430c439378940ae2a5336ee5e4f84e653",
"s... |
<!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_22) on Fri Feb 11 22:06:27 PST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.fasterxml.aalto... | {
"content_hash": "5a29416493f6a34aaa6b4f378f6a88b4",
"timestamp": "",
"source": "github",
"line_count": 222,
"max_line_length": 292,
"avg_line_length": 42.067567567567565,
"alnum_prop": 0.6357211692900738,
"repo_name": "FasterXML/aalto-xml",
"id": "e62ea9471ce1f5c461f16ca883f7ef18ad7a4ec3",
"size":... |
"""Tasks related to format"""
import os
import subprocess
from artman.tasks import task_base
from artman.tasks.requirements import go_requirements
from artman.tasks.requirements import php_requirements
from artman.utils import task_utils
from artman.utils.logger import logger
# TODO: Store both intermediate and fin... | {
"content_hash": "236ce617b436ac1b0059fb70415948d1",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 79,
"avg_line_length": 37.53763440860215,
"alnum_prop": 0.6299054712116872,
"repo_name": "shinfan/artman",
"id": "a4c6e5f765c7851cfba24137e51bf824ee928a2d",
"size": "4084",... |
using NUnit.Framework;
using RefactoringEssentials.CSharp.Diagnostics;
namespace RefactoringEssentials.Tests.CSharp.Diagnostics
{
[TestFixture]
[Ignore("TODO: Issue not ported yet")]
public class CS0126ReturnMustBeFollowedByAnyExpressionTests : CSharpDiagnosticTestBase
{
static void Test(string... | {
"content_hash": "336f57376773da01f71f05f8fe243dd2",
"timestamp": "",
"source": "github",
"line_count": 311,
"max_line_length": 90,
"avg_line_length": 16.7491961414791,
"alnum_prop": 0.5703589940487618,
"repo_name": "olathunberg/RefactoringEssentials",
"id": "7bcba77ae2efea1a5783821ca8c33c39d2b2fb47"... |
<!DOCTYPE html>
<html>
<head>
<title>Adding Mapzen Search geocoding to a basic Leaflet map.</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
<!-- Load Leaflet from CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudfla... | {
"content_hash": "df3af41a34633e35e9ed462f6af214eb",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 105,
"avg_line_length": 36.935483870967744,
"alnum_prop": 0.6655021834061136,
"repo_name": "okstate-maps/okmaps-search",
"id": "6dccc27cd03ebfe8b83998e33ddad1ef7a0c067d",
"... |
update sqlview set type='VIEW' where type is null;
update sqlview set cachestrategy='RESPECT_SYSTEM_SETTING' where cachestrategy is null;
alter table sqlview alter column type set not null;
alter table sqlview alter column cachestrategy set not null; | {
"content_hash": "26f40b59ac94c6288bf4d034af4caf07",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 86,
"avg_line_length": 50.2,
"alnum_prop": 0.8167330677290837,
"repo_name": "msf-oca-his/dhis2-core",
"id": "e3b97691e4b110da70a14b7068fb2e34d94be0a1",
"size": "251",
"bin... |
//
// ALPHAScreenItem.h
// Alpha
//
// Created by Dal Rupnik on 20/05/15.
// Copyright © 2015 Unified Sense. All rights reserved.
//
@import UIKit;
#import "ALPHASerializableItem.h"
#import "ALPHARequest.h"
typedef NSInteger ALPHAScreenItemPriority;
@interface ALPHAScreenItem : NSObject <ALPHASerializableItem>
... | {
"content_hash": "05030f7c87990145ad6ae159183a548a",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 105,
"avg_line_length": 24.942857142857143,
"alnum_prop": 0.7485681557846506,
"repo_name": "Legoless/Alpha",
"id": "84a3f2b6bbc83826b35bcba40485ceda28fe3696",
"size": "1747... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.loadtestservice.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.loadtestservice.models.... | {
"content_hash": "5933a6279f88e120f55d5f494dbaffb1",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 103,
"avg_line_length": 29.25,
"alnum_prop": 0.6863247863247863,
"repo_name": "Azure/azure-sdk-for-java",
"id": "cfc0f5f17ad298f54672c9700d2b1fa25f26cace",
"size": "2340",
... |
/*
This file was generated by Dashcode and is covered by the
license.txt included in the project. You may edit this file,
however it is recommended to first turn off the Dashcode
code generator otherwise the changes will be lost.
*/
var dashcodePartSpecs = {
'helloText': { view: 'DC.Text', text: "Hello, W... | {
"content_hash": "77fbbcc0227f554c5b679ac450d49049",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 145,
"avg_line_length": 51.90909090909091,
"alnum_prop": 0.702276707530648,
"repo_name": "daluu/textbelt-clients",
"id": "d9ca82b21dd8af0dbf16bf82fd63c5c981fa7a04",
"size":... |
from language import pluralize
import termcolor
def colored(msg, color):
if color == 'term':
return msg
return termcolor.colored(msg, color)
class OutputWriter(object):
def __init__(self, stream, language, should_be_colored=True):
self._stream = stream
self._language = language
... | {
"content_hash": "5e29ed33650358c2149a39486266752b",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 77,
"avg_line_length": 45.795698924731184,
"alnum_prop": 0.45550598732096736,
"repo_name": "hltbra/pyhistorian",
"id": "30d38202b693e1b5d7d55618e83583c450389368",
"size": "... |
package org.apache.ibatis.submitted.constructor_automapping;
import static org.junit.jupiter.api.Assertions.*;
import java.io.Reader;
import java.util.List;
import org.apache.ibatis.BaseDataTest;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.Sql... | {
"content_hash": "d536a86390a3cdff900838ac2448d8fd",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 105,
"avg_line_length": 34.104166666666664,
"alnum_prop": 0.7532070861331704,
"repo_name": "langlan/mybatis-3",
"id": "5c9ae96da045da9396eb93eb6a1020d2e995335d",
"size": "2... |
bool AssertFunction( bool test, char* desc, int line, char* file )
{
static char outputbuffer[2048];
if (!test)
{
sprintf(outputbuffer, "%s line:[%d] file: %s", desc, line, file);
OutputDebugStringA(outputbuffer);
}
return !test;
} | {
"content_hash": "100c3ee94c5ac10b5379cb85684d598b",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 73,
"avg_line_length": 24.363636363636363,
"alnum_prop": 0.6082089552238806,
"repo_name": "Nuclearfossil/IntroToCPPGraphics",
"id": "e705a970b2ab1aa2c3d2154c9318a38e9c8e5287"... |
package org.apache.hadoop.hbase.client;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.util.Arrays;
import java.util.ConcurrentModificationException;
import org.apache.hadoop.hbase.Cell;
import org.apache.hadoop.hbase.CellScanner;
impor... | {
"content_hash": "2c729e3883762743062b000b7292f155",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 90,
"avg_line_length": 35.0709219858156,
"alnum_prop": 0.6717896865520728,
"repo_name": "Eshcar/hbase",
"id": "b55835875ced5d965b6a12719b05e074d2225add",
"size": "5751",
... |
require_relative 'rexml_test_utils'
require "rexml/document"
require "rexml/xpath"
# Harness to test REXML's capabilities against the test suite from Jaxen
# ryan.a.cox@gmail.com
module REXMLTests
class JaxenTester < Test::Unit::TestCase
include REXMLTestUtils
include REXML
def test_axis ; test("axis"... | {
"content_hash": "9766fb76a1c8212e4511560dce23bd85",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 146,
"avg_line_length": 39.10852713178294,
"alnum_prop": 0.6442021803766105,
"repo_name": "rokn/Count_Words_2015",
"id": "aa9e2998abdc25aec0c3b131ec776289a0c4559f",
"size"... |
export default (nodelist, callback) => {
let i = -1
const l = nodelist.length
while (++i < l)
callback({ el: nodelist.item(i), index: i })
} | {
"content_hash": "f00efec60cb40a8acd7caaec9fe753be",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 52,
"avg_line_length": 21,
"alnum_prop": 0.5357142857142857,
"repo_name": "mikehwagz/jennifer-heintz",
"id": "48ff650ac8663d7bc0cfa5df3bf274da4ae855a3",
"size": "168",
"bi... |
#ifndef FREERDP_SERVER_WIN_WASAPI_H
#define FREERDP_SERVER_WIN_WASAPI_H
#include <freerdp/server/rdpsnd.h>
#include "wf_interface.h"
int wf_rdpsnd_set_latest_peer(wfPeerContext* peer);
int wf_wasapi_activate(RdpsndServerContext* context);
int wf_wasapi_get_device_string(LPWSTR pattern, LPWSTR * deviceStr);
DWORD W... | {
"content_hash": "443430a420be76d9e1ccf451ec4a18cc",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 68,
"avg_line_length": 27.266666666666666,
"alnum_prop": 0.7726161369193154,
"repo_name": "ilammy/FreeRDP",
"id": "303b4f9b22b1568ac48b3f590b710e4a533f228b",
"size": "409",... |
import * as ma from 'azure-pipelines-task-lib/mock-answer';
import * as tmrm from 'azure-pipelines-task-lib/mock-run';
import path = require('path');
let taskPath = path.join(__dirname, '..', 'gradletask.js');
let tr: tmrm.TaskMockRunner = new tmrm.TaskMockRunner(taskPath);
tr.setInput('wrapperScript', 'gradlew');
tr... | {
"content_hash": "ed5f0811a77eaf5be2ad555536e58cc2",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 68,
"avg_line_length": 28.36842105263158,
"alnum_prop": 0.6094619666048238,
"repo_name": "Microsoft/vsts-tasks",
"id": "62443f3bf7cdeb4af92958fec67aff8b60d52da1",
"size": "... |
import React, {ChangeEvent, FC, useEffect, useRef} from "react"
import ReactMarkdown from 'react-markdown'
type EntityProps = {
name: string,
value: string,
label: string,
isEditMode: boolean,
onChangeFunc: (event: ChangeEvent<HTMLTextAreaElement>) => void,
}
const EditableEntryV2: FC<EntityProps>... | {
"content_hash": "e78b6eaad75bfb702dbbe9333009db05",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 77,
"avg_line_length": 30.02173913043478,
"alnum_prop": 0.5372918175235337,
"repo_name": "serzhshakur/quest-application-reactjs",
"id": "750ccc421a28675a7e7a5993b30c671e526f7... |
/*
* 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": "f0614167686e65dea109768619365074",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 94,
"avg_line_length": 36.80952380952381,
"alnum_prop": 0.7419146183699871,
"repo_name": "ptkool/presto",
"id": "1468dd4df6e7ffda4dec0b3b8480c83aa456413e",
"size": "1546",
... |
/* * * * *
* A simple JSON Parser / builder
* ------------------------------
*
* It mainly has been written as a simple JSON parser. It can build a JSON string
* from the node-tree, or generate a node tree from any valid JSON string.
*
* If you want to use compression when saving to file / stream / B64 you h... | {
"content_hash": "4470cd7d849b804e0c6ef862f815a04a",
"timestamp": "",
"source": "github",
"line_count": 1317,
"max_line_length": 150,
"avg_line_length": 28.63401670463174,
"alnum_prop": 0.4261090928376336,
"repo_name": "akoaybobo/PlayHomeTrialVR",
"id": "12541c2ae9e9cba00d9c1764930c0737a73a9a62",
"... |
var db = require('../lib/jsonfs.js');
db.connect('db', ['articles']);
var article = {
title : 'jsonfs works',
published : 'today',
rating : '5 stars'
}
var savedArticle = db.articles.save(article);
var query = {
title : 'jsonfs works'
};
var dataToBeUpdate = {
title : 'jsonfs works again!',
};
var opt... | {
"content_hash": "81b8d0a015874b5cbf7a8192c574d257",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 65,
"avg_line_length": 18.814814814814813,
"alnum_prop": 0.6377952755905512,
"repo_name": "mcmartins/jsonfs",
"id": "e43ec5c18ee8f4e8d2c0e3dc93b6a5c63d358b8a",
"size": "508... |
/*
* AbstractDescribableScriptPlugin.java
*
* User: Greg Schueler <a href="mailto:greg@dtosolutions.com">greg@dtosolutions.com</a>
* Created: 8/10/11 2:55 PM
*
*/
package com.dtolabs.rundeck.core.plugins;
import com.dtolabs.rundeck.core.common.Framework;
import com.dtolabs.rundeck.core.common.INodeEntry;
import co... | {
"content_hash": "1c6b26298fb15eaf92ad36a686708a16",
"timestamp": "",
"source": "github",
"line_count": 543,
"max_line_length": 132,
"avg_line_length": 41.125230202578265,
"alnum_prop": 0.5738211454928127,
"repo_name": "rophy/rundeck",
"id": "bfa78d20569c2fca74e1f90f6538b632a2a152e4",
"size": "2295... |
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.meyersj.mobilesurveyor.app.MainControllor" >
<item android:id="@+id/action_settings"
android:title="@string/actio... | {
"content_hash": "d4c8116c81b80755e64f1c21ea81e027",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 67,
"avg_line_length": 46,
"alnum_prop": 0.6956521739130435,
"repo_name": "TransitSurveyor/MobileSurveyor",
"id": "d1368abb7662fe2ad45b82880da431e095ef5992",
"size": "414",
... |
/// <reference path="lib.core.d.ts" />
/////////////////////////////
/// IE10 ECMAScript Extensions
/////////////////////////////
/**
* Represents a raw buffer of binary data, which is used to store data for the
* different typed arrays. ArrayBuffers cannot be read from or written to directly,
* ... | {
"content_hash": "ef6f9f0605b04897ec73191c1f079f06",
"timestamp": "",
"source": "github",
"line_count": 1634,
"max_line_length": 407,
"avg_line_length": 35.48837209302326,
"alnum_prop": 0.651755535628061,
"repo_name": "RReverser/TSX",
"id": "02485d2602afe5ec0985dfccf2045d94c05e235b",
"size": "58818... |
"""PT: PyTorch frontend."""
import itertools
import logging
import sys
import numpy as np
import tvm
from tvm.topi.util import get_const_tuple
from .. import analysis as _analysis
from .. import expr as _expr
from .. import op as _op
from ..ty import TupleType, TensorType, Any
from ..loops import while_loop
from .. ... | {
"content_hash": "9950fb45c27ab5c3ceefe271cac16072",
"timestamp": "",
"source": "github",
"line_count": 3360,
"max_line_length": 100,
"avg_line_length": 31.205952380952382,
"alnum_prop": 0.5607522984778545,
"repo_name": "sxjscience/tvm",
"id": "8e626f52d528202550b08d5209f9461bc65c3421",
"size": "10... |
using System;
using System.ComponentModel;
namespace Azure.Search.Documents.Indexes.Models
{
/// <summary> A string indicating what entity categories to return. </summary>
public readonly partial struct EntityCategory : IEquatable<EntityCategory>
{
private readonly string _value;
/// <summ... | {
"content_hash": "df6b7bab6064e9c32b02445a27d9f83f",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 133,
"avg_line_length": 56.220338983050844,
"alnum_prop": 0.6750075369309617,
"repo_name": "Azure/azure-sdk-for-net",
"id": "88684f5b52f37274a7fb044fa39ca8e718228713",
"siz... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "2bddb04b6f65bdb89ed12860d7c834e9",
"timestamp": "",
"source": "github",
"line_count": 321,
"max_line_length": 429,
"avg_line_length": 46.47040498442367,
"alnum_prop": 0.6564322584970168,
"repo_name": "GeodesicCarbon/protopaja-sick",
"id": "5eb6504314b30ac18b45a657885ebac220ef9577",
... |
cask "sequel-ace" do
version "3.4.1,3041"
sha256 "99c337ff24561b7161c056604b8ee1c91bd85d0dc371e2a26690e8d0b7069382"
url "https://github.com/Sequel-Ace/Sequel-Ace/releases/download/production/#{version.before_comma}-#{version.after_comma}/Sequel-Ace-#{version.before_comma}.zip"
name "Sequel Ace"
desc "MySQL/M... | {
"content_hash": "1ad2584bd0bf11282d1dde24943115d5",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 163,
"avg_line_length": 32.285714285714285,
"alnum_prop": 0.6836283185840708,
"repo_name": "caskroom/homebrew-cask",
"id": "ccb028c2f3490b4eb626bb004ce7f4dc8bfb5ad4",
"size... |
[See all contributors on GitHub](https://github.com/maliceio/malice/graphs/contributors).
Please update the [CHANGELOG.md](https://github.com/maliceio/malice/blob/master/CHANGELOG.md) and submit a [Pull Request on GitHub](https://help.github.com/articles/using-pull-requests/).
| {
"content_hash": "8a07f0a45847154eb38ad82ae6b75ac7",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 187,
"avg_line_length": 93,
"alnum_prop": 0.7849462365591398,
"repo_name": "blacktop/go-malice",
"id": "f5468f6c7a27ee966bb1acb9eca8e673fd3d9028",
"size": "295",
"binary":... |
<?php
namespace PDepend\Source\AST;
/**
* This class represents a compound expression node.
*
* <code>
* // -----
* Foo::${BAR}();
* // -----
*
* // -----
* Foo::$${BAR}();
* // -----
*
* // -----
* $foo->{BAR}();
* // -----
* </code>
*
* @copyright 2008-2013 Manuel Pichler. All ... | {
"content_hash": "15d10e76996c568f6d6286f5e6a20701",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 90,
"avg_line_length": 23.6046511627907,
"alnum_prop": 0.5605911330049261,
"repo_name": "sustmi/pdepend",
"id": "980bc6352318e16a5fa6b563e3be648fe3e4bec5",
"size": "2857",
... |
package cache
import (
"io/ioutil"
"os"
"path"
)
// FSCache is an implementation of Cache that stores information in the
// filesystem
type FSCache struct {
Root string
}
// NewFSCache returns a FileSystemcache with defaults set, and makes
// sure that the FSCache has a directory to store info in.
func NewFSCach... | {
"content_hash": "916c1a8bc505020286b38b414d562ce2",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 71,
"avg_line_length": 20.36,
"alnum_prop": 0.6856581532416502,
"repo_name": "asteris-llc/hammer",
"id": "55bf90a3cd96b107ba63a2111c9f924d3218d0bd",
"size": "1527",
"bina... |
import datetime
import dateutil.tz
from dateutil.parser import parse as parse_date
class AssetState:
"""AssetState is used instead of primitive state values (like ``2``, ``"a"``
or ``True``) when publishing data with a custom timestamp, i.e. not the
current timestamp at the time of publishing."""
def... | {
"content_hash": "e22e2d5f886298557e5f11af379b90cc",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 104,
"avg_line_length": 32.6,
"alnum_prop": 0.6108676599474145,
"repo_name": "allthingstalk/python-sdk",
"id": "5f686e143a32bae57f369806ca8d5856ee7c8707",
"size": "2040",
... |
'use strict';
/**
* Post link tag
*
* Syntax:
* {% post_link slug [title] %}
*/
module.exports = function(ctx){
var Post = ctx.model('Post');
return function postLinkTag(args){
var slug = args.shift();
if (!slug) return;
var post = Post.findOne({slug: slug});
if (!post) ret... | {
"content_hash": "45dfba8e4ba0fa6d2272774a883b40ea",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 99,
"avg_line_length": 21.695652173913043,
"alnum_prop": 0.5290581162324649,
"repo_name": "hejiheji001/HexoBlog",
"id": "1cde2cb17ef5682c036195b83cca56d15b7352fa",
"size": ... |
<!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_37) on Mon Mar 25 00:16:18 EDT 2013 -->
<TITLE>
OpacityPropertyTest
</TITLE>
<META NAME="date" CONTENT="2013-03-25">
<LINK REL ="stylesheet" TYPE="... | {
"content_hash": "be2d43f87d68fb3698b4881392c4eced",
"timestamp": "",
"source": "github",
"line_count": 252,
"max_line_length": 212,
"avg_line_length": 41.34920634920635,
"alnum_prop": 0.6212092130518234,
"repo_name": "Ccook/Stonewall",
"id": "784db5765afb186884957a5b2a8163281e02f865",
"size": "104... |
<?php
namespace Symfony\Component\Validator\Mapping;
use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\Constraints\GroupSequence;
use Symfony\Component\Validator\Constraints\Traverse;
use Symfony\Component\Validator\Constraints\Valid;
use Symfony\Component\Validator\Exception\ConstraintDef... | {
"content_hash": "518c52bc96e7d5e835f265a1687a54fb",
"timestamp": "",
"source": "github",
"line_count": 497,
"max_line_length": 135,
"avg_line_length": 29.613682092555333,
"alnum_prop": 0.5898219866829733,
"repo_name": "iltar/symfony",
"id": "d7773861445fb5d9b253f1f11e3d52cb6aa74ad4",
"size": "1494... |
package org.gradoop.storage.config;
import org.apache.commons.lang.StringUtils;
import org.apache.hadoop.hbase.TableName;
import org.gradoop.common.model.impl.pojo.EdgeFactory;
import org.gradoop.common.model.impl.pojo.GraphHeadFactory;
import org.gradoop.common.model.impl.pojo.VertexFactory;
import org.gradoop.stora... | {
"content_hash": "2f879087df56d1399641c474f629fa8d",
"timestamp": "",
"source": "github",
"line_count": 251,
"max_line_length": 100,
"avg_line_length": 30.609561752988046,
"alnum_prop": 0.7249772224391514,
"repo_name": "rostam/gradoop",
"id": "39834e16b6b04a67798826e204769b09682d4a1a",
"size": "832... |
cask 'freemind' do
version '1.0.1'
sha256 '0bd93317567f947e7fa3b3e8d2e0d908300642edc5e07f1929157469ffd14ea3'
# downloads.sourceforge.net/freemind/ was verified as official when first introduced to the cask
url "https://downloads.sourceforge.net/freemind/freemind/#{version}/FreeMind_#{version}.dmg"
appcast 'h... | {
"content_hash": "0ad7905b03b7c7928b734d75a55ccef4",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 98,
"avg_line_length": 41.25,
"alnum_prop": 0.7797979797979798,
"repo_name": "morganestes/homebrew-cask",
"id": "e88783d1c9e7cf8ebde63e41e4e18f869fa437ae",
"size": "495",
... |
package cmdex
import (
"errors"
"os"
"os/exec"
"strings"
"syscall"
)
// RunCommandInDir ...
func RunCommandInDir(dir, name string, args ...string) error {
cmd := exec.Command(name, args...)
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
if dir != "" {
cmd.Dir = dir
}
return cmd.Run()... | {
"content_hash": "c3e075d2fa30e2ce9d9df313c0cf3c10",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 104,
"avg_line_length": 24.146067415730336,
"alnum_prop": 0.6854350860865519,
"repo_name": "mistydemeo/bitrise",
"id": "437adc8f39d1605818c49fdc7b214c8395cdf651",
"size": "... |
fieldset {
padding: 0;
margin: 0;
border: 0;
min-width: 0;
}
legend {
display: block;
width: 100%;
padding: 0;
margin-bottom: 20px;
font-size: 21px;
line-height: inherit;
color: #333333;
border: 0;
border-bottom: 1px solid #e5e5e5;
}
label {
display: inline-block;
max-width: 100%;
margin... | {
"content_hash": "83987651b5bf732568d39e9b9b8f4e42",
"timestamp": "",
"source": "github",
"line_count": 5000,
"max_line_length": 406,
"avg_line_length": 24.5706,
"alnum_prop": 0.6695725786102089,
"repo_name": "blackmiaool/kexie_game",
"id": "3840b45aafe0e9476fe6eaa24d43b6b13626816e",
"size": "12288... |
* Added the [-g] option to output an animated gif
## [0.2.3]
### Changes
* Removed the [-n] option
* Bundle the and dependencies into **build/ffbetool.js** so the can be run without requiring `npm install`
* Refactored for maintainability
* Use ES6
## [0.2.2]
### New Features
* Added [-n] option to use the out fi... | {
"content_hash": "c2cf20bc4433ef784294b29214d3c2ff",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 106,
"avg_line_length": 20.5,
"alnum_prop": 0.7082551594746717,
"repo_name": "dsxragnarok/FFBE-sprite-sheet-assembler",
"id": "c42e5540084b1a1b15853f40d69c50be4f644822",
"s... |
/**
* @param {Object} $ - Global jQuery object
* @param {Object} bolt - The Bolt module
*/
(function ($, bolt) {
'use strict';
/**
* BUIC listing widget.
*
* @license http://opensource.org/licenses/mit-license.php MIT License
* @author rarila
*
* @class buicListing
* @m... | {
"content_hash": "ddd8b2eb74d1c8ce66c8c57edd71dd4c",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 108,
"avg_line_length": 41.666666666666664,
"alnum_prop": 0.3850909090909091,
"repo_name": "nantunes/bolt",
"id": "acc0082caa1a6f77cb8d1305aa9a8979761446ae",
"size": "5500... |
"""Utilities for Backward differentiation formula (BDF) solver."""
import collections
import numpy as np
import tensorflow.compat.v1 as tf1
import tensorflow.compat.v2 as tf
from tensorflow_probability.python.internal import dtype_util
from tensorflow_probability.python.internal import prefer_static as ps
from tensorf... | {
"content_hash": "c6c4a13e4615f204d971e3c89bd0179e",
"timestamp": "",
"source": "github",
"line_count": 239,
"max_line_length": 80,
"avg_line_length": 40.55648535564853,
"alnum_prop": 0.6673888373052719,
"repo_name": "tensorflow/probability",
"id": "349456b2bba4e2d931682e759fc2dc90ae7800cd",
"size"... |
var unit = requireUnit(module.filename)
exports['is correctly constructed'] = function(test) {
test.ok(unit)
test.equals(unit.verbose, false)
test.ok(unit.testGroup)
test.done()
} | {
"content_hash": "11318897052996f745a4c74bd38bfd6f",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 54,
"avg_line_length": 24.5,
"alnum_prop": 0.6938775510204082,
"repo_name": "devpaul/node-testutil",
"id": "95720b1273f01cfb29f4bcbb18df3c14536da958",
"size": "196",
"bina... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.