text stringlengths 2 1.04M | meta dict |
|---|---|
namespace cube {
void moveEdgeToBufferTargetSwap(int edge);
void removeEdgeFromBufferTargetSwap(int edge);
void moveEdgeToBufferTargetFlip(int edge);
void removeEdgeFromBufferTargetFlip(int edge);
void moveCornerToBufferTarget(int corner);
void removeCornerFromBufferTarget(int corner);
void rotateFace(int... | {
"content_hash": "d0d27fc4c939665f24bc4bd9769713ce",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 59,
"avg_line_length": 37.7,
"alnum_prop": 0.7652519893899205,
"repo_name": "nic1294/LaughingOctoWookie",
"id": "f6b24340101cd7eaead934639acc10c3aca321c9",
"size": "821",
... |
[](https://travis-ci.org/lfritz/flashcards)
A web-based open-source flashcard system intended for learning vocabulary.
This is very much work in progress right now. I started the project to learn about web development with Go, and to use learni... | {
"content_hash": "d11028d5cd08cdbe7bcd1af67341ec91",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 136,
"avg_line_length": 66.4,
"alnum_prop": 0.7891566265060241,
"repo_name": "lfritz/flashcards",
"id": "1ca36319971b3d2c89cfd7ee964e09be61257d1f",
"size": "346",
"binary"... |
/**
* Created by Alex on 21/05/2015.
*/
///<reference path="../movie.d.ts"/>
export class MetadataViewViewModel {
public metadata: Movie.IMetadata;
constructor(){
}
activate(metadata: Movie.IMetadata){
this.metadata = metadata;
}
}
| {
"content_hash": "5b69ca458fe20b62bf7e232146096348",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 38,
"avg_line_length": 16.733333333333334,
"alnum_prop": 0.6573705179282868,
"repo_name": "avizcoding/OMDB",
"id": "bcd59e40a00832bddf4f859c1a89aba93a50079f",
"size": "251"... |
<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>eu.toolchain.async2</groupId>
<artifactId>tiny-asy... | {
"content_hash": "b8dd4cb6be0c9533b7fdc3c19e8a9d88",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 204,
"avg_line_length": 27.86,
"alnum_prop": 0.6618808327351041,
"repo_name": "udoprog/tiny-async-java",
"id": "f60a022cd93996f91f1808a97eb2592baa010032",
"size": "1393",
... |
import uuid
from keystoneclient import exceptions
from keystoneclient.tests.v3 import utils
from keystoneclient.v3 import endpoints
class EndpointTests(utils.TestCase, utils.CrudTests):
def setUp(self):
super(EndpointTests, self).setUp()
self.key = 'endpoint'
self.collection_key = 'endpoi... | {
"content_hash": "ad7d13376179fed07de1d059a82a74d9",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 79,
"avg_line_length": 38.0126582278481,
"alnum_prop": 0.6513486513486514,
"repo_name": "raildo/python-keystoneclient",
"id": "050a646eca21a6c9071c5d163a778ca2ae0b8f23",
"s... |
<!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... | {
"content_hash": "8b49c5e9b0125d8661e9f0757eda894d",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 582,
"avg_line_length": 95.76146788990826,
"alnum_prop": 0.7163249664686722,
"repo_name": "Glitch0011/OpenCL",
"id": "c891050c87408aca96394c9e04abb6ba37a2f7d9",
"size": "1... |
var apigeetool = require('apigeetool');
var lib = require('../../lib');
var async = require('async');
var lodash = require('lodash');
var mustache = require('mustache');
var request = require('request');
mustache.escape = function (value) {
return value;
};
var sdk = apigeeto... | {
"content_hash": "1fa655af4055cc954a516a1677002b12",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 150,
"avg_line_length": 28.215686274509803,
"alnum_prop": 0.5520037062775075,
"repo_name": "apigee/edge-launchpad",
"id": "bdeaff70f928d30bc13a299686e9a5f2da3cd39c",
"size... |
<?php
namespace Piwi\S2p\UserBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class ProfileFormType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)... | {
"content_hash": "644a41ac0150194b35df8d0870a919da",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 76,
"avg_line_length": 31.069767441860463,
"alnum_prop": 0.5913173652694611,
"repo_name": "piwi91/sense2party",
"id": "7a8b00a71bb39c3ec40fcca0f8e5c522374d3f0a",
"size": "1... |
import sys, os
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
# -- General configurat... | {
"content_hash": "f29d5be69e76c7d37f0bfde86c760cda",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 80,
"avg_line_length": 32.27093596059113,
"alnum_prop": 0.7055411387574416,
"repo_name": "chiragshah/typus",
"id": "efcd3cdb0aa6eb587bffe82e3e9c5f1d9fc06236",
"size": "696... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6f76de255dfcd20fd776d4a9e0f1a47d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "be79687370c1eb85b441843e17db7b11fa93e5b2",
"size": "18... |
package io.castle.client.model;
import io.castle.client.Castle;
import okhttp3.Response;
import java.io.IOException;
public class CastleServerErrorException extends CastleRuntimeException {
private final int responseCode;
private final String responseMessage;
private String response;
public CastleS... | {
"content_hash": "dfceb5d791869075e13c9f7b70f59fd6",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 84,
"avg_line_length": 26.08888888888889,
"alnum_prop": 0.6465076660988075,
"repo_name": "castle/castle-java",
"id": "35edec5a13c4724f919ca0f7e39c8de4f35f1c6a",
"size": "11... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lambda: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | {
"content_hash": "20bf2be31f2606a9826384e44ee662e6",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 322,
"avg_line_length": 43.98837209302326,
"alnum_prop": 0.5553793285752049,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "edf9ccbc2b66fdc80693c2b8090cab756fd5b466",
... |
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.IO;
using LumenWorks.Framework.IO.Csv;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using CTIServices;
using Factories;
using ImportMgr = Factories.Import.CredentialImport;
using Models... | {
"content_hash": "386dddf42243228049f3f9fa56008895",
"timestamp": "",
"source": "github",
"line_count": 948,
"max_line_length": 336,
"avg_line_length": 48.176160337552744,
"alnum_prop": 0.4704079174968799,
"repo_name": "CredentialTransparencyInitiative/CredentialFinderSearch",
"id": "401279743da7f709... |
'use strict';
module.exports = require('./lib/gulp-fontgen.js').default;
| {
"content_hash": "158af7de6af911712a312aad168cf9ee",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 58,
"avg_line_length": 24.666666666666668,
"alnum_prop": 0.7027027027027027,
"repo_name": "agentk/gulp-fontgen",
"id": "51c9b3d8ccfe22f68068e80814140bde24098a75",
"size": "7... |
<?php
use OSC\OM\HTML;
use OSC\OM\HTTP;
use OSC\OM\OSCOM;
require('includes/application_top.php');
switch ($_GET['action']) {
case 'banner':
$Qbanner = $OSCOM_Db->get('banners', 'banners_url', ['banners_id' => $_GET['goto']]);
if ($Qbanner->fetch() !== false) {
tep_update_banner_cl... | {
"content_hash": "78d730205d7efb2bd317997907515b06",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 248,
"avg_line_length": 45.03030303030303,
"alnum_prop": 0.5975773889636609,
"repo_name": "haraldpdl/oscommerce2",
"id": "1feb07c12dbd7a1d1f9020af39fbdcfd38027ef1",
"size":... |
package net.lecousin.framework.math;
import java.text.ParseException;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedList;
import net.lecousin.framework.text.StringParser;
import net.lecousin.framework.text.StringParser.Parse;
/**
* List of RangeInteger representing a frag... | {
"content_hash": "432b09d4eec9cd297c70b37f877c6e04",
"timestamp": "",
"source": "github",
"line_count": 361,
"max_line_length": 109,
"avg_line_length": 25.484764542936286,
"alnum_prop": 0.5783695652173914,
"repo_name": "lecousin/java-framework-core",
"id": "f9ede39c2b44bfaea039849258fdf25cd7d85073",
... |
<?xml version="1.0" encoding="UTF-8"?>
<sem:triples uri="http://www.lds.org/vrl/geo-political/australia-and-oceania/guam" xmlns:sem="http://marklogic.com/semantics">
<sem:triple>
<sem:subject>http://www.lds.org/vrl/geo-political/australia-and-oceania/guam</sem:subject>
<sem:predicate>http://www.w3.org/2004/02... | {
"content_hash": "01a91f3099d9fb8db1fd673ac84f7000",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 126,
"avg_line_length": 56.833333333333336,
"alnum_prop": 0.7126099706744868,
"repo_name": "freshie/ml-taxonomies",
"id": "7598bfe0516eb45108d1e071c5f3576ce05ad6d1",
"size"... |
/*!
* jQuery Upvote - a voting plugin
* ------------------------------------------------------------------
*
* jQuery Upvote is a plugin that generates a voting widget like
* the one used on Stack Exchange sites.
*
* Licensed under Creative Commons Attribution 3.0 Unported
* http://creativecommons.org/licenses/... | {
"content_hash": "03dca41c3f439f78140bfae2d61f5bc3",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 73,
"avg_line_length": 29.409691629955947,
"alnum_prop": 0.5227681246255242,
"repo_name": "DeepController/tellina",
"id": "cd1cfc56a0e802972994588663e04c61727049c4",
"size... |
package com.whenling.module.web.storage;
public class FileInfo {
}
| {
"content_hash": "62e1e6455872cffac92352da0a024f74",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 40,
"avg_line_length": 14.8,
"alnum_prop": 0.7162162162162162,
"repo_name": "xiangxik/java-platform",
"id": "725a5d632712b0a0a0802d40fc280011cfd5c7d8",
"size": "74",
"bina... |
package org.apache.logging.log4j.core.config.plugins.util;
import java.lang.annotation.Annotation;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.Collec... | {
"content_hash": "09a0518958fc75dafb10124895342ef6",
"timestamp": "",
"source": "github",
"line_count": 309,
"max_line_length": 132,
"avg_line_length": 42.37540453074433,
"alnum_prop": 0.5946998625324577,
"repo_name": "elitecodegroovy/log4j2",
"id": "5730c45ac45126c9d38712df3e9c39813f3cf010",
"size... |
#ifndef TARANTOOL_XROW_IO_H_INCLUDED
#define TARANTOOL_XROW_IO_H_INCLUDED
#if defined(__cplusplus)
extern "C" {
#endif
struct ev_io;
struct ibuf;
struct xrow_header;
void
coio_read_xrow(struct ev_io *coio, struct ibuf *in, struct xrow_header *row);
void
coio_write_xrow(struct ev_io *coio, const struct xrow_header *... | {
"content_hash": "8bd501944832d59a3b3e5724de33bead",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 77,
"avg_line_length": 18.347826086956523,
"alnum_prop": 0.7132701421800948,
"repo_name": "mejedi/tarantool",
"id": "a8764c3386ecefabafd23613ba087e40e5112e69",
"size": "180... |
;(function ($){
$(function(){
var name = $('#name')
var comment = $('#comment')
var jsonDiv = $('#json')
var successDiv = $('#success')
var commentsDiv = $('#comments')
$('#submit').on('click', function (e){
e.preventDefault()
var n = name.val()
var c = comment.val()
... | {
"content_hash": "2719898ab991d7bbb05bbfbf056c2c6c",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 142,
"avg_line_length": 25.67948717948718,
"alnum_prop": 0.508736894658013,
"repo_name": "tannerwj/cs360",
"id": "2d9ddd945935a836a64fc5956c9a45b7fe982185",
"size": "4006"... |
Game about Melon Dusk, CEO of SpaceY.
## Overview
You goal is to not bankrupt.
## Technology
* C++17
* ConEngine (see my Repos)
I'm programming on Win7 using Visual Studio 2017.
| {
"content_hash": "d0242c8c1f7829d23914f0b3a123bc62",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 49,
"avg_line_length": 22.375,
"alnum_prop": 0.7318435754189944,
"repo_name": "Condzi/SpaceY",
"id": "10b7dcdab664f571340dee7bcbc6701718f2e3ad",
"size": "188",
"binary": f... |
package org.olat.presentation.user.administration.groups;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang.StringUtils;
import org.olat.data.basesecurity.Identity;
import org.olat.data.group.BusinessGroup;
import org.olat.data.repository.RepositoryEntry;
import org.olat.lms.group.Bus... | {
"content_hash": "b0c3a10cea622738ce042fba1d812b9c",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 165,
"avg_line_length": 44.87719298245614,
"alnum_prop": 0.709147771696638,
"repo_name": "huihoo/olat",
"id": "822c71b1eed42d0161b65b2196fe65dd541c8540",
"size": "8435",
... |
<!--
Unsafe sample
input : Get a serialize string in POST and unserialize it
Uses an email_filter via filter_var function
File : unsafe, use of untrusted data in a property value in a span tag(CSS)
-->
<!--Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
u... | {
"content_hash": "e2abf3fbb3bddb456135301c49516d04",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 75,
"avg_line_length": 24.14516129032258,
"alnum_prop": 0.7474949899799599,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "c6622ea25272c150caec205e856d895d84763... |
<!doctype html>
<html lang="en">
<head>
<title></title>
<link href='https://fonts.googleapis.com/css?family=Varela+Round' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="/styles/main.css" type="text/css">
</head>
<body ng-app="todoListApp">
<ng-include src="'templates/navbar.html'"></ng-include>
... | {
"content_hash": "4c1c3f0f5e604596eba7f7bda09bd952",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 101,
"avg_line_length": 27.92,
"alnum_prop": 0.6260744985673352,
"repo_name": "ysfdev/ng-playground",
"id": "b085ece018b9afcd6942ec2dd317aa6654ddd029",
"size": "698",
"bi... |
using content::WebContents;
class ExtensionOverrideTest : public ExtensionApiTest {
protected:
bool CheckHistoryOverridesContainsNoDupes() {
// There should be no duplicate entries in the preferences.
const DictionaryValue* overrides =
browser()->profile()->GetPrefs()->GetDictionary(
Ext... | {
"content_hash": "d93899258293dc4fd31a86a90708b398",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 80,
"avg_line_length": 37.28225806451613,
"alnum_prop": 0.7127406446030716,
"repo_name": "Sidney84/pa-chromium",
"id": "d0989a6bd48518ac13a2ff5dcb10a89ddaad777f",
"size": ... |
package demo.config;
import demo.event.EventSource;
import demo.inventory.config.InventoryEventSource;
import demo.inventory.event.InventoryEventRepository;
import demo.inventory.event.InventoryEventService;
import demo.reservation.config.ReservationEventSource;
import demo.reservation.event.ReservationEventRepository... | {
"content_hash": "546e9d2d2bafb80c70e51bd67b159f2a",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 120,
"avg_line_length": 39.16393442622951,
"alnum_prop": 0.7982419422352449,
"repo_name": "naheedmk/event-stream-processing-microservices",
"id": "64b19e49a3aa5e5148db7fe1025... |
<?php
/**
* Config-file for WebbTemp. Change settings here to affect installation.
*
*/
/**
* Set the error reporting.
*
*/
error_reporting(-1); // Report all type of errors
ini_set('display_errors', 1); // Display all errors
ini_set('output_buffering', 0); // Do not buffer outputs, write d... | {
"content_hash": "48cad910dd4c1f0255801c762f04395a",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 121,
"avg_line_length": 23.535714285714285,
"alnum_prop": 0.5832068791097622,
"repo_name": "zheatoz/phpmvc01",
"id": "d5d2ccb7730d891ac5e2536446847a706d73602f",
"size": "19... |
using System.Collections.Generic;
using System.Text;
using Antlr.Runtime;
namespace Code2Xml.Core.Generators.ANTLRv3 {
public static class ExtensionForParser {
public static T get<T>(this IList<T> stack, int i) {
return stack[i];
}
public static int size<T>(this IList<T> stack)... | {
"content_hash": "8d8b51f3693a6d69ffbb035ce9bcbea5",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 75,
"avg_line_length": 25.846153846153847,
"alnum_prop": 0.5727040816326531,
"repo_name": "exKAZUu/Code2Xml",
"id": "35647003feb7826a4066d5738cc925cbce73421d",
"size": "362... |
/**
* @summary Accounts UI
* @namespace
* @memberOf Accounts
*/
Accounts.ui = {};
Accounts.ui._options = {
requestPermissions: {},
requestOfflineToken: {},
forceApprovalPrompt: {}
};
// XXX refactor duplicated code in this function
/**
* @summary Configure the behavior of [`{{> loginButtons}}`](#accountsu... | {
"content_hash": "ea3ba80956fecdeac4bdaf5232c1491a",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 287,
"avg_line_length": 32.48,
"alnum_prop": 0.6730295566502463,
"repo_name": "johnghoonchoi/shine-lottery",
"id": "b305f308cd624b896cbb0fd7b0488bd0adffd414",
"size": "812... |
/*
* This header is private to the gc. It is almost always included from
* gc_priv.h. However it is possible to include it by itself if just the
* configuration macros are needed. In that
* case, a few declarations relying on types declared in gc_priv.h will be
* omitted.
*/
#ifndef GCCONFIG_H
#define GCCON... | {
"content_hash": "49f7ddb22e05ce7b5b8a55f9d4140768",
"timestamp": "",
"source": "github",
"line_count": 3268,
"max_line_length": 82,
"avg_line_length": 34.59914320685434,
"alnum_prop": 0.5743256389846998,
"repo_name": "jgarybanks/blenderbottle",
"id": "d4f1ed4cf232cf6e1b7b2d18fe263c2b74fe0b4c",
"si... |
namespace Scheduler
{
DestroyRun::DestroyRun(Schedule& schedule, Schedule::ConstRunIterator pos)
: schedule(schedule),
pos(pos),
detached_run(*pos),
performed(false)
{
}
DestroyRun::~DestroyRun( )
{
if(performed) destructor(&detached_run);
}
Schedule::RunIterator DestroyRun::perform... | {
"content_hash": "c9626a3fdce40785f0c1d501f03ec381",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 75,
"avg_line_length": 19.571428571428573,
"alnum_prop": 0.6642335766423357,
"repo_name": "Eaglegor/SchedulerEngine",
"id": "ab3bae6d618f90ed648241274e59554d78709a48",
"siz... |
package org.g4studio.core.orm.xibatis.sqlmap.engine.mapping.result;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.g4studio.core.orm.xibatis.common.beans... | {
"content_hash": "692b75487269c690a8f0d68d98e93cd7",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 107,
"avg_line_length": 37.03804347826087,
"alnum_prop": 0.7031548055759355,
"repo_name": "G4Studio/tobacco",
"id": "3e19285dc25be5ca15459f4d63bec9597a380cea",
"size": "68... |
from .interface import SerialInterface
from . import message
import socketserver
import argparse
import threading
import time
import logging
class IR_Control:
def __init__(self, interface, serial_port, baudrate):
self.i = interface
self.serial_port = serial_port
self.baudrate = baudrate
... | {
"content_hash": "d4306418c5a2abba13a2a3408ff5c9b0",
"timestamp": "",
"source": "github",
"line_count": 199,
"max_line_length": 79,
"avg_line_length": 36.35175879396985,
"alnum_prop": 0.6172242189659939,
"repo_name": "iwanders/IR_control",
"id": "c52146faa7985fd23865209eefe2aeb6d683ef63",
"size": "... |
package org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.security.UserGroupInformation;
import org.apache.hadoop.security.authorize.Access... | {
"content_hash": "e419375b304887afd5e13c0d74643a3b",
"timestamp": "",
"source": "github",
"line_count": 369,
"max_line_length": 99,
"avg_line_length": 37.829268292682926,
"alnum_prop": 0.7547818611648399,
"repo_name": "NJUJYB/disYarn",
"id": "f984fef0b108f5528b8ba115547a9c58f3d37bf3",
"size": "1474... |
First time contributing to Homebrew? Read our [Code of Conduct](https://github.com/Homebrew/.github/blob/HEAD/CODE_OF_CONDUCT.md#code-of-conduct).
Ensure your commits follow the [commit style guide](https://docs.brew.sh/Formula-Cookbook#commit).
### To report a bug
* run `brew update` (twice)
* run and read `brew do... | {
"content_hash": "9d0f7d7d2bea26a7a862b597669dbe1c",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 214,
"avg_line_length": 47.796875,
"alnum_prop": 0.7440339980385747,
"repo_name": "Moisan/homebrew-core",
"id": "9fd64a9eae50408704334aa5cc8caf74e2f4877a",
"size": "3089",
... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="IdProvider" IDEtalkID="0DC56C805AF08409490613141EA86807" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_3" assert-keyword="false" jdk-15="false" project-jdk-name="flex" project-jdk-type="Flex SDK Type (new)">
... | {
"content_hash": "46caf0992f3d24ae422c6474a4044563",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 176,
"avg_line_length": 48.75,
"alnum_prop": 0.7076923076923077,
"repo_name": "arthurljones/swiftping",
"id": "3b08818b71138bfbc288884ef6a922b395355f7d",
"size": "390",
"b... |
{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>{% block... | {
"content_hash": "a800b0331e5204f21ec791b56a6b98a4",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 122,
"avg_line_length": 36.20253164556962,
"alnum_prop": 0.6139860139860139,
"repo_name": "dyyi/moneybook",
"id": "c446b1d15e75384fa06cc36ea72200cd4c6ac392",
"size": "2860"... |
//===----------------------------------------------------------------------===//
//
// Peloton
//
// compact_ints_key.h
//
// Identification: src/include/index/compact_ints_key.h
//
// Copyright (c) 2015-17, Carnegie Mellon University Database Group
//
//===----------------------------... | {
"content_hash": "91f606c5b7fbba928a88482eec710c7a",
"timestamp": "",
"source": "github",
"line_count": 642,
"max_line_length": 83,
"avg_line_length": 30.462616822429908,
"alnum_prop": 0.6145625607199469,
"repo_name": "seojungmin/peloton",
"id": "e9cefce794c4f7cee239fb6f4b70f63c81d6c36d",
"size": "... |
package com.push.ui;
import java.io.IOException;
import java.util.Properties;
import org.androidpn.client.Constants;
import org.androidpn.client.LogUtil;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpCli... | {
"content_hash": "b18929a5fb0d02fc8b960fa920147dc8",
"timestamp": "",
"source": "github",
"line_count": 415,
"max_line_length": 128,
"avg_line_length": 31.16867469879518,
"alnum_prop": 0.7035175879396985,
"repo_name": "toushilou/ApnServer",
"id": "a99285ac7c9cdfdf5615d632c44c94cb05b6b4d8",
"size": ... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
Sp. pl. 1:119. 1753
#### Original name
null
### Remarks
null | {
"content_hash": "6fd7231204531c2d44b255441617d0d7",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 10.846153846153847,
"alnum_prop": 0.6879432624113475,
"repo_name": "mdoering/backbone",
"id": "f428212886b0d9f146ac78d64ea247b66abcda23",
"size": "19... |
import os
from cli import IllegalArgumentException
from cli.evaluation import MMTTranslator, _EvaluationResult, TranslateError, BLEUScore
from cli.libs import fileutils
from cli.mmt.processing import XMLEncoder
# similar to class Evaluator above. Alternatively we could have added a flag there, to call corpus.copy(de... | {
"content_hash": "449d7ee351cdd8b88f6b04f6259b7254",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 114,
"avg_line_length": 40.37894736842105,
"alnum_prop": 0.5862877997914494,
"repo_name": "letconex/MMT",
"id": "928dd1b4e94494781de018938adc0543962e49c8",
"size": "3836",
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Classifier: COLLECTION_NAME</title>
</head>
<body>
<div>DONE</div>
</body>
</html> | {
"content_hash": "e86ca3479d184afedf314cd749326c9a",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 42,
"avg_line_length": 14.4,
"alnum_prop": 0.6527777777777778,
"repo_name": "ChristianFrisson/papermachines",
"id": "8a77f16e7c4b58a679bbc838bf0daf137e2658e9",
"size": "144... |
(function () {
'use strict';
angular.module('pnc.build-configs').component('pncBuildConfigRevisionsTab', {
bindings: {
buildConfig: '<',
revisions: '<'
},
require : {
mainCtrl: '^^pncBuildConfigDetailMain'
},
templateUrl: 'build-configs/detail/revisions-tab/pnc-build-config-r... | {
"content_hash": "fe6a048ea7eb912b9b9b861f2b5f505c",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 90,
"avg_line_length": 15.911764705882353,
"alnum_prop": 0.5508317929759704,
"repo_name": "alexcreasy/pnc",
"id": "acfec42f8eae449ac292037d2bd2b63f0f9671a9",
"size": "1248"... |
<% if (needsPartial) { %>
import directiveTpl from './<%= directiveName %>.html';
<% } %>
function <%= directiveNameCamel %>Directive() {
'ngInject';
return {
restrict: 'EA',
scope: {},<% if (needsPartial) { %>
templateUrl: directiveTpl, <% } %>
link: linkFn
};
function linkFn(scope... | {
"content_hash": "f495e4c166bd8094016f616b098e91d6",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 55,
"avg_line_length": 21.36842105263158,
"alnum_prop": 0.5763546798029556,
"repo_name": "A-Tokyo/generator-at-angular",
"id": "867d8359f770acdcba29e1e4d911693550703448",
"... |
//
// HKZStatusCell.m
// Weibo
//
// Created by hukezhu on 15/8/1.
// Copyright (c) 2015年 hukezhu. All rights reserved.
//
#import "HKZStatusCell.h"
#import "HKZStatus.h"
#import "HKZStatusFrame.h"
#import "HKZUser.h"
#import "UIImageView+WebCache.h"
#import "HKZStatusToolBar.h"
#import "HKZStatusPhotos.h"
@inte... | {
"content_hash": "16e291cbc71758b394e85500fdf2aa86",
"timestamp": "",
"source": "github",
"line_count": 305,
"max_line_length": 173,
"avg_line_length": 26.996721311475408,
"alnum_prop": 0.6720913286373573,
"repo_name": "hukezhu/sina",
"id": "81c97ac2cdc559509047807563ed11716bf93d36",
"size": "8844"... |
<?php declare(strict_types = 1);
namespace jschreuder\SpotDesk\Service\SendMailService;
interface MailTemplateFactoryInterface
{
public function getMailTemplate(string $type) : MailTemplateInterface;
} | {
"content_hash": "8a7ff94fafbe2afb8148dabaf8201378",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 74,
"avg_line_length": 25.875,
"alnum_prop": 0.8115942028985508,
"repo_name": "jschreuder/SpotDesk",
"id": "d6895daf4ad28f0a2408853d12e298575bb673df",
"size": "207",
"bina... |
"""Tests for circulation signals."""
from invenio_circulation.proxies import current_circulation
from invenio_circulation.signals import loan_state_changed
def test_signals_loan_request(loan_created, params):
"""Test signal for loan request action."""
recorded = []
def record_signals(_, initial_loan, lo... | {
"content_hash": "e986b5d0277dcc80e611a8290588e020",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 65,
"avg_line_length": 33.779661016949156,
"alnum_prop": 0.6562970396387355,
"repo_name": "inveniosoftware/invenio-circulation",
"id": "0f24623c0967bda70c7e4a424c84d0a696586a... |
namespace Envoy {
namespace Extensions {
namespace Clusters {
namespace DynamicForwardProxy {
class Cluster : public Upstream::BaseDynamicClusterImpl,
public Extensions::Common::DynamicForwardProxy::DnsCache::UpdateCallbacks {
public:
Cluster(const envoy::config::cluster::v3::Cluster& cluster,
... | {
"content_hash": "47e7108979af2b4b8b3853f68a2963a5",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 99,
"avg_line_length": 39.46456692913386,
"alnum_prop": 0.7308459696727854,
"repo_name": "jrajahalme/envoy",
"id": "98d6db61d4a7da53651d81e308d2e4ef5b30ddd0",
"size": "550... |
FROM balenalib/hummingboard2-ubuntu:focal-build
# remove several traces of debian python
RUN apt-get purge -y python.*
# 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
# key 63C7CC90: public key "Simon McVit... | {
"content_hash": "ac2571249e6daa35984d56045dde6828",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 709,
"avg_line_length": 50.61052631578947,
"alnum_prop": 0.7040349417637272,
"repo_name": "resin-io-library/base-images",
"id": "70c37f5e9e896bb00e4d2dba8adc61151b461a0e",
... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:textColor="@color/black"
android:id="@+id/dtwxdxx_mx_na... | {
"content_hash": "774a88b86b9e1147ee90dd9d74544885",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 72,
"avg_line_length": 38.148148148148145,
"alnum_prop": 0.6533980582524271,
"repo_name": "JNDX25219/ZhiHuiDianTi",
"id": "d0d6cd38aa209d2ff448e839441cccb375548d6f",
"size"... |
export { default } from 'ember-cli-addon-docs/components/docs-viewer/x-main';
| {
"content_hash": "9990030b574989aa2019526cdbe0fb85",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 77,
"avg_line_length": 78,
"alnum_prop": 0.7564102564102564,
"repo_name": "ember-learn/ember-cli-addon-docs",
"id": "c0ce1109b62af2c2b601a3b9602e2caa30f0b168",
"size": "78",... |
namespace armnn
{
GatherNdLayer::GatherNdLayer(const char* name)
: Layer(2, 1, LayerType::GatherNd, name)
{
}
std::unique_ptr<IWorkload> GatherNdLayer::CreateWorkload(const armnn::IWorkloadFactory& factory) const
{
GatherNdQueueDescriptor descriptor;
SetAdditionalInfo(descriptor);
return factory.Crea... | {
"content_hash": "c5d4280953bf7929ba66890d4157562f",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 108,
"avg_line_length": 35.88095238095238,
"alnum_prop": 0.7040477770404777,
"repo_name": "ARM-software/armnn",
"id": "036b3cfa8663625866763245c046dc70c86c26f2",
"size": "3... |
package com.adobe.acs.commons.models.injectors.impl;
import com.adobe.acs.commons.models.injectors.annotation.HierarchicalPageProperty;
import com.adobe.acs.commons.util.impl.ReflectionUtil;
import com.day.cq.commons.inherit.HierarchyNodeInheritanceValueMap;
import com.day.cq.commons.inherit.InheritanceValueMap;
impo... | {
"content_hash": "c1c9f0eb36cafcdc0a744b7f0fc31711",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 109,
"avg_line_length": 36.52459016393443,
"alnum_prop": 0.731149012567325,
"repo_name": "SachinMali/acs-aem-commons",
"id": "6597da4a375bb48226573ecec5180abcbef70a71",
"si... |
You will also need to perform modifications, insert, update, delete; over the data on the database, for that the
Connection provides another set of functions:
3.3.1 prepare()
=================
Prepare a given SQL statement and return the Statement\Statement instance:
```javascript
let params = {
'dbname': 'test'... | {
"content_hash": "ccbba20efa03a895a8a1db6f192741f8",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 132,
"avg_line_length": 25.13609467455621,
"alnum_prop": 0.6290018832391714,
"repo_name": "nodetrine/dbal",
"id": "fe9b76873d2ea3a88e9dfeaf4441ff1d3aa9fa3f",
"size": "4248... |
using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
public class SelectionTools
{
[MenuItem("Selection/Toggle 'Active' #&a")]
static void ActivateDeactivate()
{
if (HasValidTransform())
{
GameObject[] gos = Selection.gameObjects;
bool val = !Selection.activeGameObject.active;
foreac... | {
"content_hash": "c050e64c93589e71dba2a967ced192fd",
"timestamp": "",
"source": "github",
"line_count": 226,
"max_line_length": 107,
"avg_line_length": 23.800884955752213,
"alnum_prop": 0.6516081055958357,
"repo_name": "grimmelshausen/WindCommander",
"id": "824207a774a2e962ad1d10b683d545dfe46e7e0e",
... |
%PRINT2ARRAY Exports a figure to an image array
%
% Examples:
% A = print2array
% A = print2array(figure_handle)
% A = print2array(figure_handle, resolution)
% A = print2array(figure_handle, resolution, renderer)
% [A bcol] = print2array(...)
%
% This function outputs a bitmap image of the given figure, at t... | {
"content_hash": "0e25d9a885c5ad175075fd073fad5a34",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 162,
"avg_line_length": 30,
"alnum_prop": 0.5859375,
"repo_name": "tamachado/make_contours",
"id": "3eac8e1bb630f738f020f2ff16e711a7f00c8176",
"size": "5760",
"binary": ... |
REPORTER = dot
build:
@mkdir -p vendor/sinon \
&& wget http://sinonjs.org/releases/sinon-1.6.0.js -O vendor/sinon/sinon.js \
&& bower install --dev \
&& npm install
clean:
@rm -rf vendor/
test:
@./node_modules/.bin/mocha test/index --reporter $(REPORTER)
test-md:
@$(MAKE) test REPORTER=markdown > tes... | {
"content_hash": "dae2b40399999fe208cb55fb5afa64a1",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 78,
"avg_line_length": 19.11111111111111,
"alnum_prop": 0.6540697674418605,
"repo_name": "MandarinConLaBarba/sebastian",
"id": "4fcabc67b459209b197ee7ec1fa036ba56538f58",
"... |
package org.apache.deltaspike.jpa.impl.datasource;
import javax.sql.DataSource;
import java.io.PrintWriter;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.sql.Connection;
import java.sql.Driver;
import java.sql.SQLException;
import java.sql.SQLFeatureNotSupportedExce... | {
"content_hash": "1ef10d0b372859c20698e30e45b20cb2",
"timestamp": "",
"source": "github",
"line_count": 286,
"max_line_length": 118,
"avg_line_length": 29.597902097902097,
"alnum_prop": 0.6081512108682812,
"repo_name": "os890/DeltaSpikePlayground",
"id": "fa5159cb11a696eb2233ee891d467ecd78d10f3b",
... |
<?php
// Start of gd v.
/**
* Retrieve information about the currently installed GD library
* @link http://www.php.net/manual/en/function.gd-info.php
* @return array an associative array.
* </p>
* <p>
* <table>
* Elements of array returned by gd_info
* <tr valign="top">
* <td>Attribute</td>
* <td>Meaning</t... | {
"content_hash": "29d2982a6dbff3ea531813682bd1b0af",
"timestamp": "",
"source": "github",
"line_count": 2570,
"max_line_length": 167,
"avg_line_length": 29.26342412451362,
"alnum_prop": 0.6719454306115122,
"repo_name": "5452/durex",
"id": "4dfc26f2b4f3e26f7a8470056780d74a20507306",
"size": "75209",... |
package de.fzi.osh.data.logging;
import java.util.logging.Logger;
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Reference;
import org.osgi.service.component.annotations.ReferenceCardinality;
import... | {
"content_hash": "0d987026bf5f79d158076ef2a7f6c31d",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 106,
"avg_line_length": 33.88636363636363,
"alnum_prop": 0.783702213279678,
"repo_name": "kfoerderer/gridcontrol-bems",
"id": "71933eca266d9693584380b01cf0a335683e9ab0",
"s... |
> at Hashiconf EU 2016
> by Frank Schroeder (fschroeder@ebay.com / @magiconair)
[github](https://github.com/eBay/fabio)
> Service already know which routes to accept, just push to service registry.
```
[Firewall]
|
|
[./fabio]---->[consul]
| \ ____/' /'
| ,X /
|, / \, ... | {
"content_hash": "f5cecbbd9acfe80c0462231e806f6f2b",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 176,
"avg_line_length": 22.49264705882353,
"alnum_prop": 0.6851912389669826,
"repo_name": "abhishekkr/tutorials_as_code",
"id": "a36e54f533677c82a920978b649ee96cbca363c3",
... |
var mongoose = require('mongoose')
var SchemaMethods = require("./schemaMethods")
// instantiate a name space for our Schema constructor defined by mongoose.
var Schema = mongoose.Schema,
ObjectId = Schema.ObjectId
// defining schema for stamps
var StampSchema = new Schema({
createdAt: Date,
data: {
langu... | {
"content_hash": "692faad5dd2905cea59ed21cbac48c44",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 77,
"avg_line_length": 27.887096774193548,
"alnum_prop": 0.7408906882591093,
"repo_name": "timothytgregg/gitstamps",
"id": "ed38c90e1792b39dcd65f4753bdfa9062dc22dd5",
"size... |
/**
*
*/
package com.jiubang.goscreenlock.theme.cjpcardcool.view;
import java.util.Random;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.RectF;
import android.view.Gravity;
import android.widget.FrameLayout;
import android.widget.ImageView;
... | {
"content_hash": "c3b113a1002ef7fcd91bbb3c16e282ff",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 99,
"avg_line_length": 29.627777777777776,
"alnum_prop": 0.6952934558409901,
"repo_name": "chenjianping99/CradCool",
"id": "8d6dffd849483aab37e39529fc88ecee94a55e68",
"siz... |
\hypertarget{classSebastianBergmann_1_1Money_1_1CRC}{}\section{Sebastian\+Bergmann\textbackslash{}Money\textbackslash{}C\+R\+C Class Reference}
\label{classSebastianBergmann_1_1Money_1_1CRC}\index{Sebastian\+Bergmann\textbackslash{}\+Money\textbackslash{}\+C\+R\+C@{Sebastian\+Bergmann\textbackslash{}\+Money\textbacksla... | {
"content_hash": "60595b29dadce70c6f7c599957990cfd",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 212,
"avg_line_length": 48.82608695652174,
"alnum_prop": 0.7943009795191451,
"repo_name": "cerberosnash/jenkins",
"id": "fdcc4c51babc3f4b7fd16fc530a94c5c939af71c",
"size": ... |
<!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": "b9181580e52d6843b29dd455042ff65e",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 462,
"avg_line_length": 66.17699115044248,
"alnum_prop": 0.6861460283498262,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "4419b14557936eb3173ef8027111512559a4939d",
"siz... |
layout: default
---
## Writing Tests with Hspec
### Using \`describe\` and \`it\`
Hspec provides an EDSL to describe tests.
`describe` and `it` are used to organize tests with Hspec.
```hspec
main :: IO ()
main = hspec $ do
describe "Prelude.read" $ do
it "can parse integers" $ do
read "10" `shouldBe` ... | {
"content_hash": "da4621e5352bbc38319681125a94c273",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 80,
"avg_line_length": 27.849056603773583,
"alnum_prop": 0.6682475158084914,
"repo_name": "beni55/hspec",
"id": "1a5b5e495d1682e5d389dc91f4ef11f1cb0768c5",
"size": "4432",... |
<?php
// Heading
$_['heading_title'] = '<b>Eco Layout Builder</b>';
// Text
$_['text_module'] = 'Modules';
$_['text_success'] = 'Success: You have modified EcoLayoutBuilder module!';
$_['text_edit'] = 'Edit EcoLayoutBuilder Module';
// Entry
$_['entry_name'] = 'Module Name';
$_['row_setting']... | {
"content_hash": "67af8f5df79698b3cf1818e47771df18",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 90,
"avg_line_length": 34.5,
"alnum_prop": 0.542608695652174,
"repo_name": "cleversoft/eco-framework",
"id": "f517c143fe10f6c3aeb53973e13a0a3958dc0a20",
"size": "1725",
"... |
define( [ 'angular', 'underscore', 'inflection', '../module' ], function( ng, _, inflection ) {
'use strict';
ng
.module( 'cs_common.providers' )
.provider( 'ResourceFactory', [
function () {
/**
* @ngdoc service
* @name ngSeed.services:$resourceFactory
* @description
* A... | {
"content_hash": "510661acebbaa498e9e1f1ac8838b12d",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 105,
"avg_line_length": 27.682692307692307,
"alnum_prop": 0.4911427579020493,
"repo_name": "viknash/texy-frontend",
"id": "1cb7e53944f7698a11734e101a21a72904fce932",
"size... |
class AssemblerFile;
#define ARMIPS_VERSION_MAJOR 0
#define ARMIPS_VERSION_MINOR 11
#define ARMIPS_VERSION_REVISION 0
enum class ArmipsMode { FILE, MEMORY };
struct LabelDefinition
{
Identifier name;
int64_t value;
};
struct EquationDefinition
{
Identifier name;
std::string value;
};
struct ArmipsArgumen... | {
"content_hash": "0d05313a6f7f08472ba0f6604d1124ff",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 43,
"avg_line_length": 18.01818181818182,
"alnum_prop": 0.7416750756811302,
"repo_name": "Kingcom/armips",
"id": "eeb5eab523991b057ba1006b74f7b709fccbad27",
"size": "1114",... |
'use strict';
/* global config:true */
/* exported config */
global.SRC_FOLDER = 'src';
global.SCRIPTS_FOLDER = SRC_FOLDER + '/modules';
global.BUILD_FOLDER = 'build';
global.PHONEGAP_FOLDER = 'phonegap/www';
global.TMP_FOLDER = 'tmp';
global.config = {
paths: {
src: {
index: SRC_FOLDER + '/i... | {
"content_hash": "0cbb1d313e4f6a31e997b0d79dfeb26d",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 86,
"avg_line_length": 32.71875,
"alnum_prop": 0.4670487106017192,
"repo_name": "whisher/angular-gulp-seed",
"id": "1d0473496a9b40b42a0dee2991063b65888f7113",
"size": "2094... |
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/ec2/EC2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/ec2/model/IntegrateServices.h>
#include <utility>
namespace Aws
{
namespace EC2
{
namespace Model
{
/**
*/
class AWS_EC2_API GetFlowLogsIntegrationTemplateRequest : pu... | {
"content_hash": "67fae6e8fdf3c999b4011c97895985ae",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 178,
"avg_line_length": 37.8792270531401,
"alnum_prop": 0.6999107256727458,
"repo_name": "aws/aws-sdk-cpp",
"id": "ba84444af9b0e99fb4db8d6aa3d44f6d8e26a918",
"size": "7960... |
class PATHER { // handles collisions, pathfinding, etc.
private:
WORLD* world;
COLLISION** mask;
int width, height, areaWidth, areaHeight;
MASK smask; // small area mask
// generic collision object for buildings
STATIONARY generic_obj;
COLLISION generic;
public:
// Small area collision functions
e... | {
"content_hash": "64531ca09c781ec4e7d1bceeb51a4458",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 72,
"avg_line_length": 31.458333333333332,
"alnum_prop": 0.6847682119205298,
"repo_name": "gnarlyskier/wotwar",
"id": "02f21d6b0738be4f501aaff3473dbbd067b6e560",
"size": "2... |
<?php
// no direct access
defined('_JEXEC') or die;
$class = ' class="first"';
if (count($this->items[$this->parent->id]) > 0 && $this->maxLevelcat != 0) :
?>
<ul>
<?php foreach($this->items[$this->parent->id] as $id => $item) : ?>
<?php
if ($this->params->get('show_empty_categories_cat') || $item->numitems || co... | {
"content_hash": "97474ed016fa8c1703e14c62a14d194b",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 110,
"avg_line_length": 29.333333333333332,
"alnum_prop": 0.5614973262032086,
"repo_name": "KISS-Web-Design/kwd-j-bootstrap",
"id": "4571a394853185735dbd0dc0de0c76011aaaa9ca"... |
layout: data_model
title: WindowsFileAttributeType
this_version: 4.1
---
<div class="row">
<div class="col-md-10">
<h1>WindowsFileAttributeType<span class="subdued">Win File Object Schema</span></h1>
</div>
<div id="nav-area" class="col-md-2">
<p>
<form id="nav-version">
<select>
... | {
"content_hash": "a3a4061c91692d73b2c8481f748ce616",
"timestamp": "",
"source": "github",
"line_count": 336,
"max_line_length": 557,
"avg_line_length": 30.276785714285715,
"alnum_prop": 0.5898948196205642,
"repo_name": "MAECProject/MAECProject.github.io",
"id": "b445f353d26326b532b35aa60975716ea4eebb... |
var React = require('react-native')
var {
Text,
View,
} = React;
var TabBars = require('../base/tabbars');
var system = require('../base/system-container')
var {ContentContainer} = system;
var ToolBar = require('../base/react-native-toolbar');
var router = require('../base/react-native-router');
var Lin... | {
"content_hash": "99b21d8cb5f939c14c9b3adc51506906",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 153,
"avg_line_length": 29.096774193548388,
"alnum_prop": 0.5299334811529933,
"repo_name": "liuhong1happy/logistics-workflow",
"id": "1058fff763f9e073e9c8a74b084e5c45ca5463b2... |
package de.danoeh.antennapod.preferences;
import de.danoeh.antennapod.core.preferences.UserPreferences;
/**
* Implements functions from PreferenceController that are flavor dependent.
*/
class PreferenceControllerFlavorHelper {
static void setupFlavoredUI(PreferenceController.PreferenceUI ui) {
ui.find... | {
"content_hash": "0f31520852c6693a382007d6a11baec1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 79,
"avg_line_length": 30.23076923076923,
"alnum_prop": 0.7938931297709924,
"repo_name": "mfietz/AntennaPod",
"id": "4e2c40885f1e6520ee0f15544afce61999530450",
"size": "393... |
namespace chromeos {
// Used to display sub-modals inside |InlineLoginHandlerDialogChromeOS| modal
// dialog, e.g. displaying a dialog for accounts using 2FA with WebAuthn,
// where users can select alternate 2FAs.
class InlineLoginHandlerModalDelegate
: public ChromeWebModalDialogManagerDelegate {
public:
// |... | {
"content_hash": "26e01476306f60ed8002b336610f10dc",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 80,
"avg_line_length": 34.875,
"alnum_prop": 0.782258064516129,
"repo_name": "scheib/chromium",
"id": "aa2d4d9cf6c1d7228d2f82d46bb6f7e59218a899",
"size": "1512",
"binary"... |
"""Test load_sync/store_sync instructions.
This uses four threads to update variables round-robin.
"""
import sys
sys.path.insert(0, '../..')
import test_harness
@test_harness.test(['verilator'])
def multicore(_, target):
hex_file = test_harness.build_program(['multicore.S'])
result = test_harness.run_prog... | {
"content_hash": "96cdedad8569e91c95a7ccc77c3432bb",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 71,
"avg_line_length": 26.42105263157895,
"alnum_prop": 0.703187250996016,
"repo_name": "jbush001/NyuziProcessor",
"id": "7aae0e046512bdc15cc32a5ed1ffe56a17c190d7",
"size":... |
/* %Z% %W% %I% %E% %U% */
/*
* <copyright
* notice="lm-source-program"
* pids="5725-P60"
* years="2013,2016"
* crc="3568777996" >
* Licensed Materials - Property of IBM
*
* 5725-P60
*
* (C) Copyright IBM Corp. 2013, 2016
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricte... | {
"content_hash": "dddc1d82b02c3cc4b5ecbb97da10cf3a",
"timestamp": "",
"source": "github",
"line_count": 780,
"max_line_length": 80,
"avg_line_length": 33.62435897435898,
"alnum_prop": 0.6045296831509513,
"repo_name": "mqlight/nodejs-mqlight",
"id": "defad46af19f89a066a7a5eeeb027bc4c52f5df3",
"size"... |
package awaazde;
public class MessageAPI extends BaseAPI {
public MessageAPI(String baseUrl, String username, String password) {
super("xact/message/", baseUrl, username, password);
}
public String upload(String filePath) {
return upload("import/", filePath);
}
}
| {
"content_hash": "96dd8a0dbfb5f89107e3431ba5631261",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 70,
"avg_line_length": 22.916666666666668,
"alnum_prop": 0.7381818181818182,
"repo_name": "nikhiln/awaazde-api-client-sdk",
"id": "4faed8a96860ef8b23ed1becff389b22de88fff8",
... |
<?php
// autogenerated file 30.09.2013 15:20
// $Id: $
// $Log: $
//
//
require_once 'EbatNs_ComplexType.php';
/**
* This type is deprecated as the eBay Express is no longer available.
*
* @link http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/types/ExpressConditionRequiredDefinitionType.html
*
*/
class... | {
"content_hash": "869257948804bd5198b2a1352284b40e",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 116,
"avg_line_length": 23.79310344827586,
"alnum_prop": 0.6869565217391305,
"repo_name": "Kern-River-Corp/accelerator",
"id": "4c6c0b31df4099a406540dab7295d7e63f8a2379",
"... |
@interface NESVRC1Cartridge : NESCartridge {
uint8_t _prgromIndexMask;
uint8_t _chrromIndexMask;
uint8_t _vrc1CHRROMRegister0;
uint8_t _vrc1CHRROMRegister1;
}
@end
| {
"content_hash": "e7fe80036b0583e62d8fec223104f14e",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 44,
"avg_line_length": 20.333333333333332,
"alnum_prop": 0.7213114754098361,
"repo_name": "macifom/macifomlite",
"id": "31a3fb5c4d39dc82c4574698db4644ed898937af",
"size": "3... |
<?php
namespace eXpansion\Bundle\Menu\Plugins\Gui;
use eXpansion\Framework\Core\Model\Gui\ManialinkInterface;
use eXpansion\Framework\Core\Model\Gui\WidgetFactoryContext;
use eXpansion\Framework\Core\Plugins\Gui\WidgetFactory;
/**
* Class MenuFactory
*
* @package eXpansion\Bundle\Menu\Plugins\Gui;
* @author ol... | {
"content_hash": "28badb09369f76b515b424a5388cf348",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 114,
"avg_line_length": 26.65671641791045,
"alnum_prop": 0.6013437849944009,
"repo_name": "eXpansionPluginPack/eXpansion2",
"id": "e4a7e2d6c5170f9d4cb8b073068e3d580f3e29e6",
... |
using namespace llvm;
#ifndef NDEBUG
const char *ScoreboardHazardRecognizer::DebugType = "";
#endif
ScoreboardHazardRecognizer::
ScoreboardHazardRecognizer(const InstrItineraryData *II,
const ScheduleDAG *SchedDAG,
const char *ParentDebugType) :
ScheduleHazardRe... | {
"content_hash": "be64f2603b4d78b784310744424705ed",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 79,
"avg_line_length": 31.910714285714285,
"alnum_prop": 0.6411583659764969,
"repo_name": "tangyibin/goblin-core",
"id": "2cd84d670aaa7a96234e73d1fa8c695574dbb4f3",
"size"... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use app\models\Course;
use app\models\Lesson;
use yii\helpers\ArrayHelper;
/* @var $this yii\web\View */
/* @var $model app\models\Lesson */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="lesson-form">
<?php $form = ActiveForm::begin(); ?>
<!-... | {
"content_hash": "23534d32171fd247732ebc000401ac41",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 172,
"avg_line_length": 36.23684210526316,
"alnum_prop": 0.5758896151053013,
"repo_name": "KirMerzlikin/Coursey",
"id": "8e339a1e3b2af142f3658926705a85a5756d8d5f",
"size": ... |
package com.thoughtworks.go.config;
import com.googlecode.junit.ext.JunitExtRunner;
import com.googlecode.junit.ext.RunIf;
import com.thoughtworks.go.config.elastic.ElasticProfile;
import com.thoughtworks.go.config.exceptions.GoConfigInvalidException;
import com.thoughtworks.go.config.materials.Filter;
import com.th... | {
"content_hash": "2763d4c5c3139ce687538eceacea1abe",
"timestamp": "",
"source": "github",
"line_count": 4127,
"max_line_length": 383,
"avg_line_length": 51.23576447782893,
"alnum_prop": 0.5229983447623552,
"repo_name": "stevem999/gocd",
"id": "adcf04741b4baffd7229d2a9622efbca5440d4ac",
"size": "212... |
beat_t beat_absdelta(beat_t a, beat_t b) {
if (a > b)
return a - b;
return b - a;
};
Beat::acauth_result_t Beat::verify(ACRequest * req)
{
//const char * topic, const char * line, const char ** payload);
char * p = index(req->rest,' ');
beat_t b = strtoul(req->rest,NULL,10);
size_t bl = p - req->r... | {
"content_hash": "e92fd45bf13a71f5453567683b9feeeb",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 104,
"avg_line_length": 27.141414141414142,
"alnum_prop": 0.5541496092296241,
"repo_name": "dirkx/AccesSystem",
"id": "500155a2d02ac894229c9d8c2c3f45b9adfdfac9",
"size": "2... |
<desktop>
<workground name="网站联盟" id="cps_center" order="800">
<menugroup name="佣金管理">
<menu controller="admin_usermonthprofit" action="index" params="p[0]:2" permission="cps_profit_sheet" display="true" order="8000100">月度佣金报表</menu>
<menu controller="admin_usermonthprofit" action="i... | {
"content_hash": "a830288f8bfbebb2ac5fceeac1f782fb",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 158,
"avg_line_length": 64.74647887323944,
"alnum_prop": 0.666739177724603,
"repo_name": "liuguogen/Ecstore",
"id": "b6bb62fe52fe85160dc4a658ee9cbe19e4402af4",
"size": "501... |
require "helper"
describe Thor::Shell::Color do
def shell
@shell ||= Thor::Shell::Color.new
end
before do
allow($stdout).to receive(:tty?).and_return(true)
allow_any_instance_of(StringIO).to receive(:tty?).and_return(true)
end
describe "#ask" do
it "sets the color if specified and tty?" do
... | {
"content_hash": "de1d5a5bd923d9995c5e802342f59736",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 135,
"avg_line_length": 32.13768115942029,
"alnum_prop": 0.609695603156708,
"repo_name": "flyinbutrs/thor",
"id": "867d55aa825d1c2683dae5a42c17b02615fe88cb",
"size": "4435... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S7.9_A8_T2;
* @section: 7.9, 12.4;
* @assertion: Check Empty Statement for automatic semicolon insertion;
* @description: Checking if execution of some semicolons with Li... | {
"content_hash": "4e3943d23c0460556b54e808c7513b73",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 85,
"avg_line_length": 24.2,
"alnum_prop": 0.7107438016528925,
"repo_name": "rapha/sputnik",
"id": "130d7ff0169d3404037fdcf60356867c3ae8a879",
"size": "363",
"binary": fa... |
from fabric.api import *
@task
def bootstrap(puppetmaster=''):
"""Bootstrap an Ubuntu 14.04 host on Upcloud"""
from . import util, puppet
util.install_sudo()
fqdn = run('hostname -f')
hostname = run('hostname -s')
ipaddress = run("/sbin/ifconfig eth0 | grep 'inet ' | awk -F'[: ]+' '{ print $... | {
"content_hash": "198d192a7c24baff2eef3b896d1ce0e0",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 88,
"avg_line_length": 28.347826086956523,
"alnum_prop": 0.588957055214724,
"repo_name": "mattock/fabric",
"id": "c5b80cbf3f21f748702a5fd9eac19d471776f53d",
"size": "676",
... |
package org.apache.calcite.adapter.mongodb;
import org.apache.calcite.adapter.enumerable.RexImpTable;
import org.apache.calcite.adapter.enumerable.RexToLixTranslator;
import org.apache.calcite.adapter.java.JavaTypeFactory;
import org.apache.calcite.plan.Convention;
import org.apache.calcite.plan.RelOptRule;
import or... | {
"content_hash": "3896c4ce0d41cca7b157449d03769e71",
"timestamp": "",
"source": "github",
"line_count": 719,
"max_line_length": 80,
"avg_line_length": 31.013908205841446,
"alnum_prop": 0.6286829005785013,
"repo_name": "vlsi/incubator-calcite",
"id": "83abe1ff5b33f4cb3b85c044b499eeb46678e736",
"size... |
package com.stackmob.sdkapi;
import java.util.List;
/**
* A "nin" query
*/
public class SMNin extends SMCondition {
private final String field;
private final List<? extends SMValue> values;
/**
* Creates a new SMNin query
* @param field the field to query
* @param values the set of possible values ... | {
"content_hash": "02078727a769444284932a778fde77de",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 62,
"avg_line_length": 22.410714285714285,
"alnum_prop": 0.6302788844621514,
"repo_name": "stackmob/stackmob-customcode-sdk",
"id": "3ae06c5a042b56059f133d9daad7f8d80b38881f"... |
/*
Write a program that enables the user to add/remove points by clicking the
left/right mouse button, and displays a non-crossed polygon that links all
the points. A polygon is crossed if two or more sides intersect.
*/
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;... | {
"content_hash": "fe19703979677f497764f9b2480ec31b",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 76,
"avg_line_length": 27.36,
"alnum_prop": 0.7339181286549707,
"repo_name": "maxalthoff/intro-to-java-exercises",
"id": "4b3b802bb72100a893c3c6ba9f79c2dd5ba2c27e",
"size":... |
.class public final Lcom/htc/internal/R$attr;
.super Ljava/lang/Object;
.source "R.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/htc/internal/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "attr"
.end annotation
# ... | {
"content_hash": "084adb237f9957703ec39f4fea55b028",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 78,
"avg_line_length": 28.5,
"alnum_prop": 0.7995614035087719,
"repo_name": "shumxin/FlymeOS_A5DUG",
"id": "20fa297b9ef5ed444bd7bdf514bb58b94cf586d5",
"size": "6840",
"b... |
extern "rust-intrinsic" {
pub static breakpoint : unsafe extern "rust-intrinsic" fn();
//~^ ERROR intrinsic must be a function [E0622]
}
fn main() { unsafe { breakpoint(); } }
| {
"content_hash": "4c3b4d59e2538263eeb78a3e94450d26",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 64,
"avg_line_length": 36.8,
"alnum_prop": 0.657608695652174,
"repo_name": "graydon/rust",
"id": "ae7378a707e5c49986018aa17db3edb7a2766611",
"size": "208",
"binary": false... |
class ParagonExtfs < Cask
url 'http://dl.paragon-software.com/demo/extmac_trial_u.dmg'
homepage 'http://www.paragon-software.com/home/extfs-mac/'
version 'latest'
sha256 :no_check
install 'FSInstaller.app/Contents/Resources/Paragon ExtFS for Mac OS X.pkg'
end
| {
"content_hash": "a660c407eee96b43804f32bbbca66f70",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 77,
"avg_line_length": 38.57142857142857,
"alnum_prop": 0.7518518518518519,
"repo_name": "nicholsn/homebrew-cask",
"id": "0792533206e07e3f36739740c5de2e925fd775ab",
"size": ... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "56dab7e4b113ff85ee46ace424bfdfeb",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "27c0b383b8145f43e59fe3f6aaef3c71f88b192b",
"size": "180... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.