text stringlengths 2 1.04M | meta dict |
|---|---|
/* Author: Benjamin Scholz */
#pragma once
#include <fcl/config.h>
#define FCL_VERSION_CHECK(major, minor, patch) ((major << 16) | (minor << 8) | (patch))
#define MOVEIT_FCL_VERSION FCL_VERSION_CHECK(FCL_MAJOR_VERSION, FCL_MINOR_VERSION, FCL_PATCH_VERSION)
#if (MOVEIT_FCL_VERSION < FCL_VERSION_CHECK(0, 6, 0))
nam... | {
"content_hash": "95f6905c6f68dbeec76c5672683f225b",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 101,
"avg_line_length": 25.746268656716417,
"alnum_prop": 0.7802898550724637,
"repo_name": "ros-planning/moveit",
"id": "6d5c774a87e0b65299810a938a4112a35dcec278",
"size": ... |
package joptsimple;
import static java.util.Collections.*;
import org.junit.Before;
import org.junit.Test;
import static joptsimple.ExceptionMatchers.*;
import static org.junit.Assert.*;
/**
* @author <a href="mailto:pholser@alumni.rice.edu">Paul Holser</a>
*/
public class WExtensionNoArgumentTest extends Abstr... | {
"content_hash": "f436ea33430c54ba539d19ff0534d768",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 75,
"avg_line_length": 26.952380952380953,
"alnum_prop": 0.6749116607773852,
"repo_name": "pholser/jopt-simple",
"id": "31d18ee7d6e5463949c8145478203745046640ea",
"size": "... |
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
<title>EC2SpotPlacementUnmarshaller Class Reference</title>
<meta id="xcode-display" name="xcode-display" content="render"/>
<meta name="viewport" content="width=550" />
<link rel="stylesheet" type="text/css" ... | {
"content_hash": "2a7a6ec2a4309bee32ad495a59200a5a",
"timestamp": "",
"source": "github",
"line_count": 225,
"max_line_length": 212,
"avg_line_length": 27.666666666666668,
"alnum_prop": 0.6284337349397591,
"repo_name": "abovelabs/aws-ios-sdk",
"id": "2a79b7d30689300222835eed88cfbb2bffc4f72b",
"size... |
<?xml version="1.0" encoding="UTF-8" ?>
<routes xmlns="http://symfony.com/schema/routing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="genemu_upload" pattern="/genemu_upload"... | {
"content_hash": "fb5f4601fd5fc3332f9822cab0ae7593",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 109,
"avg_line_length": 38.63636363636363,
"alnum_prop": 0.6823529411764706,
"repo_name": "lrt/lrt",
"id": "1cffe2deff81244635e8580f13ecc2534c3f35d0",
"size": "425",
"bin... |
+++
title = "Getting started with Deep Generative Models - Part I"
description = "Understanding the math behind the recent wave of ML research"
date = 2019-01-31
categories = [
"machine learning",
"blog"
]
tags = [
"theory",
"deep learning"
]
[distill]
[[distill.authors]]
author = "Abhay Gupta"
authorURL... | {
"content_hash": "58e04146bb71f679513fdb8740598847",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 985,
"avg_line_length": 94.16161616161617,
"alnum_prop": 0.7161553314739326,
"repo_name": "gupta-abhay/blog",
"id": "ae8290943a5a8633797521bb2ae86e4a2026a1bb",
"size": "932... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-template: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstra... | {
"content_hash": "cb3440b49f688b9dbb649a104a505521",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 159,
"avg_line_length": 43.03225806451613,
"alnum_prop": 0.564967516241879,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "393749158970604257bea9e3bd694bfe0fe2c116",
... |
const http = require('http');
const darkutil = require('./util');
function proxy(self, msg, commandReq, commandResp) {
var opts = {
hostname: msg.data.req.remote.host,
port: msg.data.req.remote.port,
path: msg.data.req.uri,
method: msg.data.req.method,
headers: {}
}
... | {
"content_hash": "5d3cb222c7745fbcd5d330a780ee00e8",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 67,
"avg_line_length": 31.609375,
"alnum_prop": 0.5724172021749876,
"repo_name": "murer/darkproxy",
"id": "fef616aa01ecab46660861694647019d7f5165ea",
"size": "2023",
"bin... |
require 'test_helper'
class DownloadTest < ActionDispatch::IntegrationTest
context "The download controller" do
should "display its index page correctly" do
get "/abdesign/download"
assert_select "div#root", "I'm root"
end
end
end
| {
"content_hash": "93f4a2f06429465de37ca81c0299348a",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 52,
"avg_line_length": 25.6,
"alnum_prop": 0.7109375,
"repo_name": "arbesfeld/gem_abdesign",
"id": "0b41ac066dcb7f71aa395c7c0ae0f65314ad65be",
"size": "256",
"binary": fa... |
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
... | {
"content_hash": "025b4e75fbdf376a4bd1d11edb422ea3",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 62,
"avg_line_length": 32.67605633802817,
"alnum_prop": 0.6724137931034483,
"repo_name": "contentful/gallery-app-android",
"id": "bbcce88be0528736aff1cec261023fc1e55a0457",
... |
- npm
## Instructions
- `npm install`
## Building the app
- For debug mode run: `gulp build:debug`
- Source files located /dist/debug/
- For release mode run: `gulp build:release`
- Source files located /dist/release/
## Running the app on a local machine
- `gulp`
- `gulp watch`
## Task Description
Includ... | {
"content_hash": "961c67a029fb7ec31d8579cb664bc6d3",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 129,
"avg_line_length": 36.285714285714285,
"alnum_prop": 0.7385826771653543,
"repo_name": "fontainej/wh-task3",
"id": "ef4ab735b873ef3845437f874a32f8ee3c2e8cdd",
"size": "... |
package org.assertj.core.api;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Test;
/**
* Tests for <code>{@link org.assertj.core.api.Assertions#assertThat(Class)}</code>.
*
* @author William Delanoue
*/
public class Assertions_assertThat_with_Class_Test {
@Test
public void shou... | {
"content_hash": "a716118f325da0d8b147a38b8eb36a68",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 101,
"avg_line_length": 29.714285714285715,
"alnum_prop": 0.7427884615384616,
"repo_name": "dorzey/assertj-core",
"id": "986ebc4c4260735b1857ebedc6eeb09d0da42d23",
"size": ... |
<?php
namespace BricksPlatformComposerExtras\Processor;
use BricksPlatformComposerExtras\Handler;
use Composer\IO\IOInterface;
use Composer\Script\Event;
/**
* Class Generic
*
* Loosely based in https://github.com/Incenteev/ParameterHandler/blob/master/Processor.php
*
* @package BricksPlatformComposerExtras
*/... | {
"content_hash": "71d5aaff83908c7fd0fb92ed82430421",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 147,
"avg_line_length": 26.72222222222222,
"alnum_prop": 0.5426195426195426,
"repo_name": "20steps/bricks-platform-composer-extras",
"id": "11b516bf72ccdfc1988b1f297a9473068... |
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web serv... | {
"content_hash": "99d5be1ee8778162facf14f514d25eff",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 85,
"avg_line_length": 39.093023255813954,
"alnum_prop": 0.7584770969660916,
"repo_name": "girque/rubyProject",
"id": "d3cdfb701584eadf849e15d3a661c83a201db5a7",
"size": "1... |
@interface DNOSingleText : NSObject
@property (nonatomic, copy ) NSString *text;
@property (nonatomic, strong) UIColor *textColor;
@property (nonatomic, assign) CGFloat animationRange;
@property (nonatomic, assign) BOOL enumerated;
+ (instancetype)singleTextWithAnimationRange:(CGFloat)animationRange;
- (CGFlo... | {
"content_hash": "d7787af436c3a85a16582f34f1199e66",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 69,
"avg_line_length": 28.27777777777778,
"alnum_prop": 0.7819253438113949,
"repo_name": "imagons/DNOLabelAnimation",
"id": "84d288711d4c2289be03385a748fdb0765895e3b",
"siz... |
Set-StrictMode -version 2.0
$ErrorActionPreference="Stop"
# Import Arcade functions
. (Join-Path $PSScriptRoot "common\tools.ps1")
$VSSetupDir = Join-Path $ArtifactsDir "VSSetup\$configuration"
$PackagesDir = Join-Path $ArtifactsDir "packages\$configuration"
$PublishDataUrl = "https://raw.githubusercontent.com/dotnet... | {
"content_hash": "49d3c3c8f6f8ed8020ec5b84fb20123f",
"timestamp": "",
"source": "github",
"line_count": 315,
"max_line_length": 341,
"avg_line_length": 34.65714285714286,
"alnum_prop": 0.7024823669506275,
"repo_name": "agocke/roslyn",
"id": "763c6a0e0cff961af84a8d117bf35b544328bc3a",
"size": "11001... |
package org.hisp.dhis.schema.descriptors;
import org.hisp.dhis.color.Color;
import org.hisp.dhis.schema.Schema;
import org.hisp.dhis.schema.SchemaDescriptor;
/**
* @author Lars Helge Overland
*/
public class ColorSchemaDescriptor implements SchemaDescriptor
{
public static final String SINGULAR = "color";
... | {
"content_hash": "6f49f9d8960a02b9e83ff64bf1b53180",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 62,
"avg_line_length": 21.92,
"alnum_prop": 0.7116788321167883,
"repo_name": "msf-oca-his/dhis-core",
"id": "d953c93c78fc346b16d60768e0712010411b8b8f",
"size": "2104",
"b... |
Domain Adaptation with Randomized Expectation Maximization
--------------------------
This is the implementation of the AdREM method for domain adaptation, plus accompanying code to test it on a variety of datasets.
The method itself is implemented in `src/adrem/predict_adrem.m`.
Example:
addpath src/adrem
a... | {
"content_hash": "927212870e6c2c82fd63508672498c85",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 155,
"avg_line_length": 39.674418604651166,
"alnum_prop": 0.7444314185228605,
"repo_name": "twanvl/abib",
"id": "1c5feae8ed25b2cca20ed043d99935bfa8a4576a",
"size": "1706",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0-google-v5) on Thu Dec 19 17:42:41 EST 2013 -->
<title>PublisherQueryLanguageServiceLocator</title>
<meta name="date" content="2013-12-1... | {
"content_hash": "65752ce72caa036b8293f926a938a7cf",
"timestamp": "",
"source": "github",
"line_count": 553,
"max_line_length": 443,
"avg_line_length": 47.11934900542496,
"alnum_prop": 0.6946693786698392,
"repo_name": "google-code-export/google-api-dfp-java",
"id": "edbb4b45638df44c6324c401d03d7a58ad... |
/* $NetBSD: linux_syscallargs.h,v 1.35 1998/12/15 19:31:30 itohy Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Eric Haszlakiewicz.
*
* Redistribution and use in source and binary forms, with o... | {
"content_hash": "b43f160a3e56b23ddd94559c45766d45",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 78,
"avg_line_length": 46,
"alnum_prop": 0.7612876254180602,
"repo_name": "MarginC/kame",
"id": "c7be5b5cfdb9e4c573b5008bf9bd7c81ee396eeb",
"size": "2392",
"binary": fals... |
<?php
namespace Drupal\comment\Form;
use Drupal\comment\CommentManagerInterface;
use Drupal\Core\Entity\EntityDeleteForm;
use Drupal\Core\Entity\EntityManager;
use Drupal\Core\Form\FormStateInterface;
use Drupal\field\Entity\FieldStorageConfig;
use Psr\Log\LoggerInterface;
use Symfony\Component\DependencyInjection\Co... | {
"content_hash": "1a1ee397ded4e3a8266b61d19bf9079e",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 372,
"avg_line_length": 32.39423076923077,
"alnum_prop": 0.6586524191154646,
"repo_name": "kgatjens/d8_vm_vagrant",
"id": "30181c1d9b820596cbaedcc70a3b5b1ad5644556",
"size... |
<?php
namespace Tests\Api;
use \App\Models\Country;
use \App\Models\Address;
class AddressesTest extends BaseTestCase
{
private $table_name = 'addresses';
public function setUp() {
parent::setUp();
$this->base_url = '/api/addresses';
// Instanciate some countries
$this->cou... | {
"content_hash": "2bedcc0b5da0eed0c1db08161aa2f170",
"timestamp": "",
"source": "github",
"line_count": 396,
"max_line_length": 119,
"avg_line_length": 31.911616161616163,
"alnum_prop": 0.5256785629500672,
"repo_name": "AlexandreBERGIA/LivrOr_V4",
"id": "8bed71b2df1e9d83aad441976991cb97cd60bbd8",
"... |
namespace Microsoft.Azure.Management.Monitor.Management.Models
{
using Microsoft.Azure;
using Microsoft.Azure.Management;
using Microsoft.Azure.Management.Monitor;
using Microsoft.Azure.Management.Monitor.Management;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.G... | {
"content_hash": "ef34fca1af835f949ecc4ae2c13161f4",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 161,
"avg_line_length": 34.254901960784316,
"alnum_prop": 0.6514024041213509,
"repo_name": "nathannfan/azure-sdk-for-net",
"id": "3e373ec4948d66ebc8086b738c74a644a761b7a6",
... |
JGProgressHUD
=============
Simple, powerful and modern progress HUD for iOS.<br>
<p align="center">
<img src="Presentation.png">
</p>
Overview
==========
<b>The ultimate progress HUD for iOS has arrived: JGProgressHUD!</b><br>
• Super simple to implement.<br>
• Feature-rich.<br>
• Easy extensibility and customizatio... | {
"content_hash": "f0185ea805fe833c82652ddc940d1411",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 263,
"avg_line_length": 40.39204545454545,
"alnum_prop": 0.7425798283865522,
"repo_name": "yesidi/MVCBase",
"id": "045bcfc5c07292f237c3e5a2cd80ee89cd7a4e4b",
"size": "7159... |
module.exports = {
policy: require('./auth'),
schema: {}
};
| {
"content_hash": "7d09a78a397dad5f68c46cccbeb26415",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 28,
"avg_line_length": 16,
"alnum_prop": 0.5625,
"repo_name": "srcnix/express-gateway",
"id": "76e05fc92f35f56d19cd6a9c31ecf4270a7f8d9f",
"size": "64",
"binary": false,
... |
license: >
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"L... | {
"content_hash": "94312d81a41d9fdf0364a48053942c8a",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 129,
"avg_line_length": 29.2,
"alnum_prop": 0.625951293759513,
"repo_name": "drbeermann/cordova-docs",
"id": "2d8bd48c9bc453e2c026cfa1c40628116a5622c0",
"size": "3102",
"... |
package hudson;
import hudson.model.TaskListener;
import jenkins.model.Jenkins;
import static hudson.util.jna.GNUCLibrary.LIBC;
import hudson.util.IOException2;
import hudson.util.QuotedStringTokenizer;
import hudson.util.VariableResolver;
import hudson.Proc.LocalProc;
import hudson.os.PosixAPI;
import org.apache.to... | {
"content_hash": "32247a84336fd0336cb5b5484d0a8096",
"timestamp": "",
"source": "github",
"line_count": 1185,
"max_line_length": 169,
"avg_line_length": 35.01350210970464,
"alnum_prop": 0.5694969993492565,
"repo_name": "mrobinet/jenkins",
"id": "c1f54fb8446c5faf953c037a71653ac8b8c52efe",
"size": "4... |
@import "devoxx_android.css";
@font-face {
font-family: 'Roboto Condensed Bold', sans-serif;
src: url('RobotoCondensed-Bold.ttf');
}
@font-face {
font-family: 'Roboto Condensed', sans-serif;
src: url('RobotoCondensed-Regular.ttf');
}
.root {
-fx-font-family: 'Roboto Condensed';
}
.app-bar > .ti... | {
"content_hash": "851d1a819fbccad7efefbfaff20d2e3e",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 58,
"avg_line_length": 23,
"alnum_prop": 0.6612318840579711,
"repo_name": "devoxx/MyDevoxxGluon",
"id": "8a08ab3060ca2d93b2a954afd9cd3297e194a137",
"size": "2125",
"binar... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Vaccinium hirtellum Ait.
### Remarks
null | {
"content_hash": "c86b80310479c9f61c8724f1375593de",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 11.23076923076923,
"alnum_prop": 0.726027397260274,
"repo_name": "mdoering/backbone",
"id": "3d51a6bf6f07ca6c3e66d3408b27139fb42227cc",
"size": "221"... |
<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<!-- Standard Head Part -->
<head>
<title>NUnit - Nunit-console</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-US">
<link rel="styleshe... | {
"content_hash": "934f209442104b714b522570090458e5",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 105,
"avg_line_length": 37.8,
"alnum_prop": 0.6942355889724311,
"repo_name": "kring/grisu.net",
"id": "54fcbff14750dc531ec9ab77027a0596828b206e",
"size": "3591",
"binary"... |
<?php
use yii\apidoc\helpers\ApiMarkdown;
use yii\apidoc\models\ClassDoc;
use yii\apidoc\models\TraitDoc;
use yii\helpers\ArrayHelper;
/* @var $type ClassDoc|TraitDoc */
/* @var $protected boolean */
/* @var $this yii\web\View */
/* @var $renderer \yii\apidoc\templates\html\ApiRenderer */
$renderer = $this->context;... | {
"content_hash": "20ce7c689796a044120d7f03533224d9",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 124,
"avg_line_length": 33.541666666666664,
"alnum_prop": 0.6273291925465838,
"repo_name": "fengyh/yii2",
"id": "8277894b1a0a614c64a964f819f7b27d5caaac03",
"size": "1660",
... |
<?php
/*
Plugin Name: Markdown Category
Plugin URI: https://github.com/toparrow/MarkdownCategory
Description: Markdown is applied only to the specified category.
Author: toparrow
Version: 1.0
Author URI: https://github.com/toparrow
*/
class MarkdownCategory
{
private $url = '';
private $path = '';... | {
"content_hash": "647ca6962076eb51a621ca94fcbd4493",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 146,
"avg_line_length": 32.04347826086956,
"alnum_prop": 0.5395748530076888,
"repo_name": "toparrow/MarkdownCategory",
"id": "27dc522312dc0897e6e6c292aa01021fe0410317",
"si... |
<?xml version="1.0" encoding="utf-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<e... | {
"content_hash": "38e80c3aec1c3b051409579645c57387",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 276,
"avg_line_length": 59.357142857142854,
"alnum_prop": 0.7135980746089049,
"repo_name": "z3774/transitoMultas",
"id": "e817caf7752c3e50104dcaf5e6801b2fa9492990",
"size":... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Linq;
using System.Net;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Cdn;
using Cdn.Tests.Helpers;
using Xunit;
usin... | {
"content_hash": "40d29c21248cd81a150762709ebfbe2a",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 100,
"avg_line_length": 33.833333333333336,
"alnum_prop": 0.6576354679802956,
"repo_name": "shahabhijeet/azure-sdk-for-net",
"id": "24e47c52cbf95a531e2d3006509ba3149bf2e9d1",... |
package org.pentaho.hadoop.hbase.factory;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HTableDescriptor;
import org.pentaho.hbase.factory.HBaseAdmin;
class HBase... | {
"content_hash": "35f78d7b5afda5f666c0c0b0924387a0",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 85,
"avg_line_length": 29.428571428571427,
"alnum_prop": 0.6833457804331591,
"repo_name": "stepanovdg/pentaho-hadoop-shims",
"id": "eda3c829456acecd10c3a125ff2f13439a6aa694",... |
package com.google.ads.googleads.v10.services;
import com.google.ads.googleads.v10.services.CustomerFeedServiceGrpc.CustomerFeedServiceImplBase;
import com.google.api.core.BetaApi;
import com.google.protobuf.AbstractMessage;
import io.grpc.stub.StreamObserver;
import java.util.ArrayList;
import java.util.LinkedList;... | {
"content_hash": "35cc080ab054546b810152d86899c096",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 100,
"avg_line_length": 31.014705882352942,
"alnum_prop": 0.7164532954006638,
"repo_name": "googleads/google-ads-java",
"id": "3b6fc9da18b77802ac6d930ef7df3a2eb83f2d7d",
"s... |
SET(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
SET(CMAKE_DEPENDS_CHECK_CXX
"/home/cmeon/SimplexLP/eigen/test/swap.cpp" "/home/cmeon/SimplexLP/lib/test/CMakeFiles/swap_1.dir/swap.cpp.o"
)
SET(CMAKE_CXX_COMPILER_ID "GNU")
# Targets to which this target links.
S... | {
"content_hash": "a2504b27ea65bda997d9ba83e4b47692",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 111,
"avg_line_length": 31.043478260869566,
"alnum_prop": 0.7408963585434174,
"repo_name": "cmeon/Simplex",
"id": "88f8e3ba70c5faf69aa7fa3e1b5f0316dbaf2ee2",
"size": "781",... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _asyncMap;
var _isArrayLike = require('lodash/isArrayLike');
var _isArrayLike2 = _interopRequireDefault(_isArrayLike);
var _getIterator = require('./getIterator');
var _getIterator2 = _interopRequireDefault(_getItera... | {
"content_hash": "e26fd4ba2776e21700804648b9624a08",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 95,
"avg_line_length": 28,
"alnum_prop": 0.6428571428571429,
"repo_name": "fedejoaquin/IAW",
"id": "f8cff4f1d53b56af0a204041a0ffa055e74fb08f",
"size": "1092",
"binary": f... |
package com.intel.analytics.bigdl.dllib.nn.ops
import com.intel.analytics.bigdl.dllib.tensor.Tensor
import com.intel.analytics.bigdl.dllib.utils.T
import com.intel.analytics.bigdl.dllib.utils.serializer.ModuleSerializationTest
import org.scalatest.{FlatSpec, Matchers}
import scala.util.Random
class FloorSpec extend... | {
"content_hash": "1e74f738ba4c93367f27665f7dd18baa",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 79,
"avg_line_length": 28.14,
"alnum_prop": 0.6929637526652452,
"repo_name": "yangw1234/BigDL",
"id": "d2ce600d55e46f1d4c0b7714be4d677c705cd3ce",
"size": "2008",
"binary"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a47aa298517d171ed03219c6e9d67e16",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "859a14e0c713144c91d480fccfbde9f4a27f7ae0",
"size": "178... |
<?php
namespace Nathalie\Exam16;
/**
* Class Session
*
* @package Nathalie\Exam16
*/
class Session
{
const LOGIN_STATE_FAILURE = 0;
const LOGIN_STATE_AUTHENTICATED = 1;
const LOGIN_STATE_GUEST = 2;
private $hash;
private $session_key = 'secret_key';
/**
* Session cons... | {
"content_hash": "b3fa2dbe416d30e873d76b435e92aef4",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 124,
"avg_line_length": 21.020833333333332,
"alnum_prop": 0.5084241823587711,
"repo_name": "NathalieBraczek/exam16_restaurant",
"id": "c3d5f1d553bee5d85864428391861968e67f6d1... |
from __future__ import absolute_import
from __future__ import unicode_literals
from pre_commit_hooks.check_case_conflict import find_conflicting_filenames
from pre_commit_hooks.check_case_conflict import main
from pre_commit_hooks.util import cmd_output
from testing.util import cwd
from testing.util import write_file
... | {
"content_hash": "7e695e98d0a7f7dbddbc339a2f7de7c1",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 75,
"avg_line_length": 30.439393939393938,
"alnum_prop": 0.600298656047785,
"repo_name": "bgschiller/pre-commit-hooks",
"id": "2a32918a7374840047427b951cc3be8a5c6bdf77",
"s... |
<html>
<head>
<title>HornetQ JMS AeroGear Example</title>
<link rel="stylesheet" type="text/css" href="../common/common.css" />
<link rel="stylesheet" type="text/css" href="../common/prettify.css" />
<script type="text/javascript" src="../common/prettify.js"></script>
</head>
<body onload="prettyP... | {
"content_hash": "66504a9d58e95bba7a964e4705e162af",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 158,
"avg_line_length": 55.14074074074074,
"alnum_prop": 0.7062063406770553,
"repo_name": "Dauth/cs3219-JMS",
"id": "66112a0aef3d98963ab3f8bd14eb7717cf0aec71",
"size": "74... |
package grpc_logrus_test
import (
"context"
"io"
"io/ioutil"
"runtime"
"strings"
"testing"
"github.com/grpc-ecosystem/go-grpc-middleware"
"github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus"
"github.com/grpc-ecosystem/go-grpc-middleware/tags"
pb_testproto "github.com/grpc-ecosystem/go-grpc-middlewa... | {
"content_hash": "8f743057b711f5138089a875ef5cf5aa",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 172,
"avg_line_length": 45.888888888888886,
"alnum_prop": 0.7415657788539144,
"repo_name": "mwitkow/go-grpc-middleware",
"id": "342a1e5fb0370f5a61b2730b58723e3c20db479b",
... |
<header class="container-fluid">
<div class="row">
<div class="col-12">
<a class="logo" routerLink="/">
<img src="/assets/images/ressources/sebastienbarbier_logo.svg" alt="This image contains: sebastien's logo which is simply his first and last name together with a stylish font" />
</a>
</... | {
"content_hash": "6b3dcb1fa49188bf78c4a0eb9777a0f3",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 186,
"avg_line_length": 38.22222222222222,
"alnum_prop": 0.6482558139534884,
"repo_name": "sebastienbarbier/sebastienbarbier.com",
"id": "095dda674f8a4dccef892f5dc2ad01167a77e... |
<?php
class Mage_Adminhtml_Model_System_Config_Source_Currency
{
protected $_options;
public function toOptionArray($isMultiselect)
{
if (!$this->_options) {
$this->_options = Mage::app()->getLocale()->getOptionCurrencies();
}
$options = $this->_options;
retur... | {
"content_hash": "f5adf5d1762abaadb93a7889f32a9fb1",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 78,
"avg_line_length": 20,
"alnum_prop": 0.5823529411764706,
"repo_name": "tagalpha/library",
"id": "903845a85de9495be0f132cf1f66594c01ffc6d0",
"size": "1296",
"binary": ... |
package kafka.security;
import java.io.IOException;
import java.nio.channels.Channel;
/**
* An interface to secure channels. It is usually recommended to perform the
* initial SSL handshake with the separate handshake method, although the
* implementation may support embedded handshaking within the read and writ... | {
"content_hash": "d5a24f93b05f4cd39af6bf1eac01750b",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 77,
"avg_line_length": 27.603174603174605,
"alnum_prop": 0.6687751581368603,
"repo_name": "darrendao/kafka.play.time",
"id": "94b614d0e0d9644114d2466331ed3fd05bab148c",
"si... |
#ifndef __G_TLS_SERVER_CONNECTION_H__
#define __G_TLS_SERVER_CONNECTION_H__
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
#error "Only <gio/gio.h> can be included directly."
#endif
#include <gio/gtlsconnection.h>
G_BEGIN_DECLS
#define G_TYPE_TLS_SERVER_CONNECTION (g_tls_server_c... | {
"content_hash": "c0aaf5b959ac3c5e7c45b1422953daea",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 153,
"avg_line_length": 29.90566037735849,
"alnum_prop": 0.6794952681388012,
"repo_name": "zhch/como",
"id": "ad61e30fc933c9fc41508d4f5437355748cebbf0",
"size": "2346",
"... |
'''
Copyright (c) OS-Networks, http://os-networks.net
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following... | {
"content_hash": "eb532926f8687bd6a89dbca053fc4bfd",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 132,
"avg_line_length": 39.74264705882353,
"alnum_prop": 0.6732654949121184,
"repo_name": "Knygar/hwios",
"id": "17162d28f70b9c1b9aa851f1f78ebbc0c5b8c3c1",
"size": "5405",... |
require_relative "../../../spec_helper"
require "kontena/cli/services/services_helper"
module Kontena::Cli::Services
describe ServicesHelper do
subject{klass.new}
let(:klass) { Class.new { include ServicesHelper } }
let(:client) do
double
end
let(:token) do
'token'
end
bef... | {
"content_hash": "37d0ec834a0cd2ed722120bee00356d7",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 135,
"avg_line_length": 32.21818181818182,
"alnum_prop": 0.6060948081264108,
"repo_name": "magiknono/kontena",
"id": "ebb08eef6ef44bfdc9cca6fac1b95893e8afac22",
"size": "3... |
(function () {
'use strict';
// Logs controller
angular
.module('logs')
.controller('LogsController', LogsController);
LogsController.$inject = ['$scope', '$state', 'Authentication', 'logResolve'];
function LogsController ($scope, $state, Authentication, log) {
var vm = this;
vm.authentica... | {
"content_hash": "aaf56634838bf4290092bd000d460d9e",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 80,
"avg_line_length": 22.25,
"alnum_prop": 0.5634028892455859,
"repo_name": "joelbleichuvehl/fedora-server-config-0.5.0.beta",
"id": "0efd4da92239a6e9cf8af132a2af1daa7685aba... |
IPC_STRUCT_TRAITS_BEGIN(page_load_metrics::PageLoadTiming)
IPC_STRUCT_TRAITS_MEMBER(navigation_start)
IPC_STRUCT_TRAITS_MEMBER(response_start)
IPC_STRUCT_TRAITS_MEMBER(dom_content_loaded_event_start)
IPC_STRUCT_TRAITS_MEMBER(load_event_start)
IPC_STRUCT_TRAITS_MEMBER(first_layout)
IPC_STRUCT_TRAITS_MEMBER(f... | {
"content_hash": "50b1fe65bf35bd4389e38586f0fc4d6d",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 72,
"avg_line_length": 43.61538461538461,
"alnum_prop": 0.7671957671957672,
"repo_name": "danakj/chromium",
"id": "1403667d59af2b399a7d8b11d73f163a6f3d686e",
"size": "1642"... |
<?php
/**
* UserApplePie v4 Forum Models Plugin
*
* UserApplePie - Forum Plugin
* @author David (DaVaR) Sargent <davar@userapplepie.com>
* @version 2.1.2 for UAP v.4.3.0
*/
/** Forum model **/
namespace App\Plugins\Forum\Models;
use App\System\Models,
Libs\Url;
class Forum extends Models {
/**
* globalFor... | {
"content_hash": "c3f6690a6e399bd40ef6bb89cd67a97a",
"timestamp": "",
"source": "github",
"line_count": 1381,
"max_line_length": 293,
"avg_line_length": 29.60101375814627,
"alnum_prop": 0.5319112502752025,
"repo_name": "UserApplePie/UserApplePie-v3",
"id": "d8f65048fc3c25ac1752f95dde636955334d0037",
... |
<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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" con... | {
"content_hash": "d0823302d17718b427e3b2fbb6cbf83d",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 400,
"avg_line_length": 48.66393442622951,
"alnum_prop": 0.6868788950648476,
"repo_name": "or-tools/docs",
"id": "b4607e7b488cedebc01f577b3906c1748eb4ab4f",
"size": "5937"... |
import numpy as np
import pytest
from scipy.sparse import issparse
from scipy.sparse import coo_matrix
from scipy.sparse import csc_matrix
from scipy.sparse import csr_matrix
from scipy.sparse import dok_matrix
from scipy.sparse import lil_matrix
from sklearn.utils.multiclass import type_of_target
from sklearn.util... | {
"content_hash": "e44878918a9a12389cfcee987f9927c0",
"timestamp": "",
"source": "github",
"line_count": 618,
"max_line_length": 79,
"avg_line_length": 35.99514563106796,
"alnum_prop": 0.54488649134637,
"repo_name": "glemaitre/scikit-learn",
"id": "fd396ceb90712c3602cc12ca329035248d922810",
"size": ... |
set -xe
base=/tmp/release
gitbuilder_host=$1
codename=$2
git_ceph_url=$3
sha1=$4
flavor=$5
arch=$6
canonical_tags=$7
sudo apt-get update
sudo apt-get install -y git
export BUILDPACKAGES_CANONICAL_TAGS=$canonical_tags
source $(dirname $0)/common.sh
init_ceph $git_ceph_url $sha1
#codename=$(lsb_release -sc)
released... | {
"content_hash": "4b4c99615745cc4cb91b7d214d9f28bf",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 117,
"avg_line_length": 29.151079136690647,
"alnum_prop": 0.642152023692004,
"repo_name": "ktdreyer/teuthology",
"id": "fb7f4176d93d518d5bde3ae10e9d0c1fe2889ed7",
"size": ... |
import os
import numpy as np
import sys
from collections import OrderedDict
import math
import torch
import torch.nn.functional as F
from torch import nn
from pytorch_lightning import LightningModule
from pytorch_lightning import seed_everything
from .doppelganger import DoppelGANger
from .network import RNNInitialS... | {
"content_hash": "4610b8159ae00a41550f0e521445a8b9",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 95,
"avg_line_length": 47.77880184331797,
"alnum_prop": 0.5048225308641975,
"repo_name": "yangw1234/BigDL",
"id": "fbf96e5379a2b46ae7e90b2fd06452b73f5e53ca",
"size": "1270... |
// Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace WInterop.Console;
/// <summary>
/// Console output handle modes.
/// </summary>
/// <msdn><see cref="https://docs.microsoft.com/en-us/windows/console... | {
"content_hash": "00923e12a6ce65ed6600e75440ad96f1",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 101,
"avg_line_length": 26.18918918918919,
"alnum_prop": 0.6429308565531475,
"repo_name": "JeremyKuhne/WInterop",
"id": "106419e0a40924cb7e49f9f4a928a98d95537756",
"size": ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Tue Jun 19 11:15:34 COT 2012 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>All Classes</... | {
"content_hash": "0a06f16f63fae98edb9e1e1c3569a0ad",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 146,
"avg_line_length": 50.90909090909091,
"alnum_prop": 0.7071428571428572,
"repo_name": "Coregraph/Ayllu",
"id": "76aae8eeecb58a2b20ec0d0379eded10ea9c5d87",
"size": "1120... |
import mechanize
class Navigator():
br = mechanize.Browser()
logged_in = False
def clearBrowser(self):
self.br = mechanize.Browser()
def login(self, username, password):
login_url = "https://auth.vt.edu/login?service=https://webapps.banner.vt.edu/banner-cas-prod/authorized/banner/S... | {
"content_hash": "e61a923b3ec687a01aaa02cb9e832975",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 131,
"avg_line_length": 32.15555555555556,
"alnum_prop": 0.5618521078092605,
"repo_name": "ajn123/VT-Python-Class-Add",
"id": "09c36ec771923c4802c162a440f733b69ebeccd4",
"s... |
(function($) {
// Models§
window.User = Backbone.Model.extend({
});
window.Counter = Backbone.Model.extend({
});
// Collections
window.Users = Backbone.Collection.extend({
model: User,
url: '/users'
});
window.users = new Users();
window.Counters = Backbone.Collection.extend({
mode... | {
"content_hash": "9dd616734479be9689239caf75f63768",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 69,
"avg_line_length": 23.006211180124225,
"alnum_prop": 0.5639848812095032,
"repo_name": "sborsje/wall-e",
"id": "0d9e22afe4bad9257744a939722e256af5732e27",
"size": "3705... |
package gov.hhs.onc.dcdt.crypto.credentials;
import gov.hhs.onc.dcdt.crypto.CryptographyDescriptor;
import gov.hhs.onc.dcdt.crypto.certs.CertificateDescriptor;
import gov.hhs.onc.dcdt.crypto.certs.CertificateIntervalDescriptor;
import gov.hhs.onc.dcdt.crypto.keys.KeyDescriptor;
import javax.annotation.Nullable;
publi... | {
"content_hash": "919829cc31dc3303ae69f62f7aba98d4",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 147,
"avg_line_length": 33.583333333333336,
"alnum_prop": 0.8014888337468983,
"repo_name": "mkotelba/dcdt",
"id": "f0d56f53a3c1aca581496d82bc7e2b7cdf35ae47",
"size": "806",... |
This repository holds the work I did before for the Fleetwood Park Vex team. It also includes videos I found helpful to learn RobotC.
## RobotC or EasyC
RobotC is much better than EasyC. RobotC is more diffucult to learn because it teaches you programming not how to use a that specific program. Also, all the project ... | {
"content_hash": "de509786bf97e5b7ca92723138e7356b",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 408,
"avg_line_length": 76.9375,
"alnum_prop": 0.7855402112103981,
"repo_name": "anjandev/Vex",
"id": "fe90a72138056b85c36e9a97e87ed0470de40ece",
"size": "1253",
"binary"... |
using EmbeddedSystems.ServiceLayer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace EmbeddedSystems.Admin.Controllers
{
public class HandsetController : Controller
{
private readonly IHandsetService _handsetService;
public H... | {
"content_hash": "f1831f56f7d8e24a18ebe9f150c2f1bb",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 84,
"avg_line_length": 28.142857142857142,
"alnum_prop": 0.6163886874546773,
"repo_name": "james-dibble/Embedded-Systems-Assignment",
"id": "f6a28e0a6d97cf6166fd5dbdc47a613ac... |
function IdealFig(num)
% IdealFig -- callback implementing functions of IdealDemo
global IDEALFIGNUM
global N rho qmf L
if 1 <= num & num <=10 ,
nihil = ~exist('IDEALFIGNUM');
if ~nihil,
empty = isempty(IDEALFIGNUM);
else
empty = 1;
end
if ~empty,... | {
"content_hash": "ce4bbf049c17914436d3c06209e9d3b6",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 80,
"avg_line_length": 27.603448275862068,
"alnum_prop": 0.5740162398500936,
"repo_name": "linhvannguyen/PhDworks",
"id": "1b350932407693ad0b690ab232f5774e20f6e6ed",
"size"... |
/**
* Provides classes for evaluating predictors.
*/
package mltk.predictor.evaluation; | {
"content_hash": "be2e07a31dedb47840f61e4383f24ab6",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 46,
"avg_line_length": 23,
"alnum_prop": 0.7391304347826086,
"repo_name": "yinlou/mltk",
"id": "c7caf91d7115c37b7027e8abf854966732d31429",
"size": "92",
"binary": false,
... |
namespace org {
namespace apache {
namespace lucene {
namespace analysis {
namespace util {
class MultiTermAwareComponent;
class AbstractAnalysisFactory;
}
namespace core {
class LowerCaseFilter;
}
class TokenStream;
}
}
}
}
n... | {
"content_hash": "be9158a2907eedd21c4786b86fe28f92",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 137,
"avg_line_length": 26.60674157303371,
"alnum_prop": 0.5831925675675675,
"repo_name": "devs4v/devs4v-information-retrieval15",
"id": "66be7c3591fb9a97e9a5a4fcfe41c62b44dd... |
[](https://travis-ci.org/jjasghar/hubot-dynstatus)
## A DynDNS checker for Hubots.
You can check all three (top, email, dns) http://www.dynstatus.com feeds from this script. You can check as many posts as you would like also.
See [`src/... | {
"content_hash": "372c8c83ff2faafbde61cbed5065b00f",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 195,
"avg_line_length": 35.18421052631579,
"alnum_prop": 0.7202692595362753,
"repo_name": "hubot-scripts/hubot-dynstatus",
"id": "e3099a1b8cd705c48b3f54314979833e03d552fb",
... |
// Provides a C++11 implementation of a multi-producer, multi-consumer lock-free queue.
// An overview, including benchmark results, is provided here:
// http://moodycamel.com/blog/2014/a-fast-general-purpose-lock-free-queue-for-c++
// The full design is also described in excruciating detail at:
// http://mood... | {
"content_hash": "ff56e974e1965d16c337b069d8796bb7",
"timestamp": "",
"source": "github",
"line_count": 3553,
"max_line_length": 389,
"avg_line_length": 42.84632704756544,
"alnum_prop": 0.6503320567813812,
"repo_name": "rharding6373/ddbms",
"id": "03a774406e5360587af5b6be3224ed9111af52af",
"size": ... |
#include "motoman_driver/industrial_robot_client/motoman_utils.h"
#include "ros/ros.h"
namespace industrial_robot_client
{
namespace motoman_utils
{
bool getJointGroups(const std::string topic_param, std::map<int, RobotGroup> & robot_groups)
{
if(ros::param::has(topic_param))
{
XmlRpc::XmlRpcValue topics_li... | {
"content_hash": "47df5fdaa262f3e7197966b496632130",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 92,
"avg_line_length": 26.41304347826087,
"alnum_prop": 0.6045267489711934,
"repo_name": "Rayal/robotech",
"id": "ed5d9cb5920924ef228442943138d21bb5d3b670",
"size": "4100",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_76) on Sun Mar 22 20:21:12 UTC 2015 -->
<title>ServerCall (grpc-core 0.1.0-SNAPSHOT API)</title>
<meta name="date" content="2015-03-22"... | {
"content_hash": "9c4e54d1101d9c0d0905e50fa1585697",
"timestamp": "",
"source": "github",
"line_count": 391,
"max_line_length": 262,
"avg_line_length": 41.388746803069054,
"alnum_prop": 0.6747821788296361,
"repo_name": "meghana0507/grpc-java-poll",
"id": "3e8e3e250c3fbb41ff744ae3d50b3872af33bd4c",
... |
#include <common.h>
#include <command.h>
#include <malloc.h>
#include <stdio_dev.h>
#include <timestamp.h>
#include <version.h>
#include <net.h>
#include <serial.h>
#include <nand.h>
#include <onenand_uboot.h>
#include <mmc.h>
#include <asm/sections.h>
DECLARE_GLOBAL_DATA_PTR;
#if defined(CONFIG_SYS_I2C)
#include <... | {
"content_hash": "ed106090b0c396711ee4664846ad2f98",
"timestamp": "",
"source": "github",
"line_count": 390,
"max_line_length": 74,
"avg_line_length": 24.671794871794873,
"alnum_prop": 0.6735605903138641,
"repo_name": "EleVenPerfect/S3C2440",
"id": "2d4c6231a3774114366bed986631bb7a59e98587",
"size"... |
import { Injectable } from '@angular/core';
import { JhiLanguageService } from 'ng-jhipster';
import { SessionStorageService } from 'ngx-webstorage';
import { HttpClient, HttpResponse } from '@angular/common/http';
import { Observable, Subject } from 'rxjs';
import { SERVER_API_URL } from 'app/app.constants';
import {... | {
"content_hash": "078de2e47255c3d0b717a2e9affd8fa7",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 134,
"avg_line_length": 30.948275862068964,
"alnum_prop": 0.6557103064066853,
"repo_name": "iansoftdev/all-blockchain",
"id": "612da02696a5561b5ec7779d8149d041b12f58e0",
"... |
import logging
from rest_framework.authentication import SessionAuthentication
from rest_framework.permissions import IsAdminUser
from rest_framework.response import Response
from rest_framework.views import APIView
from rest_framework import status
from django.urls import reverse
from seaserv import ccnet_api
from ... | {
"content_hash": "3308db42aefa2e0a170da9463a8e52aa",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 83,
"avg_line_length": 34.02857142857143,
"alnum_prop": 0.6351805205709488,
"repo_name": "miurahr/seahub",
"id": "d48a13618e176729747e9cd9d70e62a4ab632fa8",
"size": "4803"... |
var _elm_lang$dom$Native_Dom = function() {
var fakeNode = {
addEventListener: function() {},
removeEventListener: function() {}
};
var onDocument = on(typeof document !== 'undefined' ? document : fakeNode);
var onWindow = on(typeof window !== 'undefined' ? window : fakeNode);
function on(node)
{
return function(... | {
"content_hash": "a4b2383cf93a1ca4e7823ce9c7ab4921",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 81,
"avg_line_length": 19.64835164835165,
"alnum_prop": 0.6926733780760627,
"repo_name": "mxgrn/pairs.one",
"id": "2fee3f0b74362e0c1b288a88132caa81bc0ecfc3",
"size": "3576... |
#ifndef __APP_FASTBOOT_H
#define __APP_FASTBOOT_H
#define MAX_RSP_SIZE 64
#define MAX_GET_VAR_NAME_SIZE 256
int fastboot_init(void *xfer_buffer, unsigned max);
void fastboot_stop(void);
/* register a command handler
* - command handlers will be called if their prefix matches
* - they are expected to... | {
"content_hash": "4d3ace534d437453265b5560e5b5c2ae",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 69,
"avg_line_length": 29.94871794871795,
"alnum_prop": 0.7371575342465754,
"repo_name": "jaehyek/lk",
"id": "e0ba9701169a5f1a74e840ac6ee0eb9c7805a48d",
"size": "2615",
"... |
package com.ldsmsoft.framework.dao.mybatis.dao;
import com.ldsmsoft.framework.dao.mybatis.model.PermissionBean;
public interface PermissionBeanMapper {
int deleteByPrimaryKey(Long id);
int insert(PermissionBean record);
int insertSelective(PermissionBean record);
PermissionBean selectByP... | {
"content_hash": "3d37c2839238020deee06391bd6944c1",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 63,
"avg_line_length": 27,
"alnum_prop": 0.7690631808278867,
"repo_name": "zsming-SQ/Thankni-OMS-BE",
"id": "deade44b7255736fb8d0412307a8f37ad7278aa9",
"size": "459",
"bi... |
<html>
<head><!-- JATSKit extraction from Tag Library - thanks to Mulberry Technologies for making this possible - --></head>
<body>
<h1 id="isbn">
<code><isbn></code>
<b>ISBN</b>
</h1>
<p>International Standard Book Number, the international code for
identifying a part... | {
"content_hash": "1fe7d94e89e5ed04249241bef42d32ed",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 121,
"avg_line_length": 39,
"alnum_prop": 0.6526806526806527,
"repo_name": "wendellpiez/oXygenJATSframework",
"id": "d07a0fd695ada1c5e52991494e51963b159dfe48",
"size": "429... |
package com.opengamma.financial.analytics.model.bondcurves;
import static com.opengamma.engine.value.ValuePropertyNames.CURRENCY;
import static com.opengamma.engine.value.ValuePropertyNames.CURVE;
import static com.opengamma.engine.value.ValueRequirementNames.CURVE_BUNDLE;
import static com.opengamma.engine.value.Val... | {
"content_hash": "8543d3d8e1c654585957806d0bac46f3",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 163,
"avg_line_length": 50.620370370370374,
"alnum_prop": 0.795134443021767,
"repo_name": "codeaudit/OG-Platform",
"id": "8022ac88ded41e39e1290f95570506bdf36ebdf0",
"size"... |
using System;
using System.Collections.Generic;
using System.Linq;
using Elasticsearch.Net;
using Newtonsoft.Json;
namespace Nest
{
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public interface IGetMappingRequest : IIndexTypePath<GetMappingRequestParameters> { }
public interface IGetMappingRequest... | {
"content_hash": "7281ca9b9d810256b73817260ddbcf79",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 148,
"avg_line_length": 34.431372549019606,
"alnum_prop": 0.8132118451025057,
"repo_name": "Grastveit/NEST",
"id": "2bb97e14dc32318ef611c566c03f71844227ffcb",
"size": "1758... |
'''
Simple test script which prints all HTTP responses' URLs and their total
count from a warc file whose path is passed as command line argument.
Does not support gzipped files.
'''
from warcreader import WarcFile
from sys import argv
from io import open
def main():
filename = argv[1]
with open(fil... | {
"content_hash": "add6cd499f1af9475c2086057b4a42c6",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 72,
"avg_line_length": 22.8,
"alnum_prop": 0.6701754385964912,
"repo_name": "msvana/warcreader",
"id": "f6bfae608e41cc19d3e5a6da75d1fc83db69ac2b",
"size": "1158",
"binary... |
int main() {
ArrayList* list = ArrayList_new();
printf("list: %d\n", list);
printf("maxSize: %d\n", ArrayList_maxSize(list));
ArrayList_add(list, "foobar");
printf("get: %s\n", ArrayList_get(list, 0));
ArrayList_free(list);
return 0;
}
| {
"content_hash": "a4b558030be65d13cba35f778b73c3b2",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 50,
"avg_line_length": 24.4,
"alnum_prop": 0.6434426229508197,
"repo_name": "itsubaki/viola",
"id": "cc8296e19a67df6fe3df4532e6587059b3810e86",
"size": "285",
"binary": f... |
using NMF.Collections.Generic;
using NMF.Collections.ObjectModel;
using NMF.Expressions;
using NMF.Expressions.Linq;
using NMF.Models;
using NMF.Models.Collections;
using NMF.Models.Expressions;
using NMF.Models.Meta;
using NMF.Models.Repository;
using NMF.Serialization;
using NMF.Utilities;
using System;
using System.... | {
"content_hash": "939f7ad6347d2f3c656ea68f7a6a344a",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 128,
"avg_line_length": 33.33783783783784,
"alnum_prop": 0.7178759627077422,
"repo_name": "georghinkel/ttc2017smartGrids",
"id": "74dd7bbf9d92425cd6110f934d1aa5d58cc4ef12",
... |
var qrnode = require('../index');
qrnode.detect("https://chart.googleapis.com/chart?chs=250x250&cht=qr&chl=Teste", function(result){
console.log("Decode from url:", result);
});
qrnode.detect("qrcode.png", function(result){
console.log("Decode from local file:", result);
}); | {
"content_hash": "d69ab2d94798daa9c3ebeb465fc9f959",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 98,
"avg_line_length": 31.22222222222222,
"alnum_prop": 0.701067615658363,
"repo_name": "alamcordeiro/qrnode",
"id": "6861dbed8c75972023481d2f93bf64560d1d4607",
"size": "281... |
package io.ray.streaming.python.stream;
import io.ray.streaming.python.PythonOperator;
import java.util.ArrayList;
import java.util.List;
/**
* Represents a union DataStream.
* <p>This stream does not create a physical operation, it only affects how upstream data are
* connected to downstream data.
*/
public clas... | {
"content_hash": "4a52633da4bf199e72b9cbd0d142f157",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 93,
"avg_line_length": 30.694444444444443,
"alnum_prop": 0.7339366515837104,
"repo_name": "richardliaw/ray",
"id": "4e115685afc3a3007f8079de1d4f8c4d7d580db0",
"size": "1105... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Serilog.Events;
using Serilog.Sinks.PeriodicBatching;
namespace Serilog.LogglyBulkSink
{
public class LogglySink : Perio... | {
"content_hash": "c9526465c1e82c09d5cbedf6effe8b1e",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 128,
"avg_line_length": 35.270833333333336,
"alnum_prop": 0.5142744634770624,
"repo_name": "samirahmed/serlog.logglybulksink",
"id": "f9b8c588b1a8554fc933a4dffe625a013b1282d... |
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using NDesk.Options;
using GitTfs.Core;
using GitTfs.Core.TfsInterop;
using StructureMap;
namespace GitTfs.Commands
{
[Pluggable("branch")]
[Description("branch\n\n" +
" * ... | {
"content_hash": "d96cb752fe97eee0ff8c3fa9f0b2b281",
"timestamp": "",
"source": "github",
"line_count": 358,
"max_line_length": 336,
"avg_line_length": 40.9804469273743,
"alnum_prop": 0.5625383409447209,
"repo_name": "vzabavnov/git-tfs",
"id": "7d46b6f1f7077c5ae7b3acee840fcd8cac43b43f",
"size": "14... |
from django.dispatch.robustapply import *
import unittest
def noArgument():
pass
def oneArgument(blah):
pass
def twoArgument(blah, other):
pass
class TestCases(unittest.TestCase):
def test01(self):
robustApply(noArgument)
def test02(self):
self.assertRaises(TypeError, robus... | {
"content_hash": "b44539acec87b0fee058ba7a74119c03",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 85,
"avg_line_length": 21.647058823529413,
"alnum_prop": 0.6616847826086957,
"repo_name": "diofeher/django-nfa",
"id": "499450eec4873ccf218c58fb63e8a4664424f47a",
"size": "... |
$:.unshift(File.expand_path('../../lib', __FILE__))
$:.unshift(File.expand_path('../../../aws-sdk-core/features', __FILE__))
$:.unshift(File.expand_path('../../../aws-sdk-core/lib', __FILE__))
$:.unshift(File.expand_path('../../../aws-sigv4/lib', __FILE__))
require 'features_helper'
require 'aws-sdk-translate'
Aws::T... | {
"content_hash": "b826518021d4ba329dcfc00748a5bce0",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 72,
"avg_line_length": 40.44444444444444,
"alnum_prop": 0.6291208791208791,
"repo_name": "aws/aws-sdk-ruby",
"id": "f81610b1250aec0d11a66b1493fe4d7f724567ab",
"size": "606",... |
package com.senacor.ddt.objectmatrix.excel;
import com.senacor.ddt.objectmatrix.DefaultStringMatrix;
import com.senacor.ddt.objectmatrix.IndexedStringMatrix;
import com.senacor.ddt.objectmatrix.StringMatrix;
public abstract class AbstractExcelStringMatrixTestCase extends AbstractExcelStringMatrixReaderTestC... | {
"content_hash": "234f7e1c23733f6ef3d88eb715e2186b",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 112,
"avg_line_length": 32.708333333333336,
"alnum_prop": 0.7719745222929937,
"repo_name": "senacor/DDT",
"id": "d6087c272357e846e9304d671a4cdaf6ef5863b7",
"size": "2408",
... |
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved.
// http://getmoai.com
#include "pch.h"
#include <contrib/utf8.h>
#include <moaicore/MOAIAnimCurve.h>
#include <moaicore/MOAIDeck.h>
#include <moaicore/MOAIDebugLines.h>
#include <moaicore/MOAIFont.h>
#include <moaicore/MOAIGfxDevice.h>
#include <moaic... | {
"content_hash": "81682b3ffdae8d1f61c707f7e09461e5",
"timestamp": "",
"source": "github",
"line_count": 1490,
"max_line_length": 124,
"avg_line_length": 26.812080536912752,
"alnum_prop": 0.5675093867334168,
"repo_name": "jjimenezg93/ai-behaviours",
"id": "eb4f6637b0b90617fd394a196f9aa6be38a27419",
... |
Frontend development tutorial
=============================
.. _npm:
npm
---
Shrunk's javascript dependencies are managed with the ``npm`` package manager. After installing
``npm`` through your distro's package manager or the ``nvm`` tool, install the dependencies
by executing::
$ npm i
in ``frontend/``. This wi... | {
"content_hash": "b5198b46e6e902deec017f8824ac2245",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 180,
"avg_line_length": 38.536842105263155,
"alnum_prop": 0.7372302649549304,
"repo_name": "oss/shrunk",
"id": "bac5ebf03fc0c16db1432c7b4057031fbd610887",
"size": "3661",
... |
%----------------------------------------------------------------------------------------
%TITLE PAGE
%----------------------------------------------------------------------------------------
{\begingroup % Create the command for including the title page in the document
\hbox{ % Horizontal box
%\hspace*{0.2\textwidth}... | {
"content_hash": "ec9da7f59292212a694df0a26c942a30",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 143,
"avg_line_length": 55.111111111111114,
"alnum_prop": 0.6179435483870968,
"repo_name": "vipinkmenon/fpgadriver",
"id": "e0f2a251075e09639f6223ee5002f2991496b4bd",
"size... |
#include "org_mitk_gui_qt_matchpoint_evaluator_Activator.h"
#include "QmitkMatchPointRegistrationEvaluator.h"
ctkPluginContext* org_mitk_gui_qt_matchpoint_evaluator_Activator::m_Context = nullptr;
void org_mitk_gui_qt_matchpoint_evaluator_Activator::start(
ctkPluginContext* context)
{
BERRY_REGISTER_EXTENSIO... | {
"content_hash": "1afc73ab01fbde31ef3434f7c6439d31",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 86,
"avg_line_length": 22.06896551724138,
"alnum_prop": 0.78125,
"repo_name": "fmilano/mitk",
"id": "9be67889948faac4bea6cc4bbdf997b6caeef663",
"size": "1021",
"binary": ... |
#define LOG_TAG "main"
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__)
using namespace cocos2d;
void cocos_android_app_init (JNIEnv* env) {
LOGD("cocos_android_app_init");
AppDelegate *pAppDelegate = new AppDelegate();
}
extern "C"
{
bool Java_org_cocos2... | {
"content_hash": "8a9500d1cf83c9aa4b4c4fc77dcbe249",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 95,
"avg_line_length": 24.035714285714285,
"alnum_prop": 0.6389301634472511,
"repo_name": "MIKUScallion/fmx-birdcrash",
"id": "16b22fefc371ae24f12a2db742b4c2663676669b",
"s... |
using Renci.SshNet.Messages.Connection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Renci.SshNet.Tests.Common;
namespace Renci.SshNet.Tests.Classes.Messages.Connection
{
/// <summary>
///This is a test class for ChannelCloseMessageTest and is intended
///to contain all ChannelC... | {
"content_hash": "201dc84e4ddb488ec8e21151754ebc10",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 85,
"avg_line_length": 34,
"alnum_prop": 0.6547987616099071,
"repo_name": "sshnet/SSH.NET",
"id": "9d3ebc3c0123ee3b937784b3bad87e08820bf576",
"size": "1294",
"binary": fa... |
/**
*/
package org.apache.harmony.test.func.reg.vm.btest3381;
public class Btest3381_1 extends Thread {
public static void main (String[] args) throws Exception {
System.err.println("Start testcase 3381_1...");
Thread t = new Btest3381_1();
t.start();
t.join();
... | {
"content_hash": "8c666682f4b0e8ac10ed6def5ac39c4d",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 67,
"avg_line_length": 21.8,
"alnum_prop": 0.5963302752293578,
"repo_name": "freeVM/freeVM",
"id": "21e09a33ad28b001a9b7e213c2fc9f9de4503ef9",
"size": "1248",
"binary": f... |
import { SpellCheck16 } from "../../";
export = SpellCheck16;
| {
"content_hash": "63fb8d99f7cced8ba87de4a2ade8a661",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 38,
"avg_line_length": 21,
"alnum_prop": 0.6349206349206349,
"repo_name": "markogresak/DefinitelyTyped",
"id": "d7bf6832bbbd591ce1af6c0857dbcca5b363a994",
"size": "63",
"b... |
/* global fetch */
import 'whatwg-fetch'
/**
* Parses the JSON returned by a network request
*
* @param {object} response A response from a network request
*
* @return {object} The parsed JSON from the request
*/
function parseJSON (response) {
return response.json()
}
/**
* Checks if a network re... | {
"content_hash": "2e636ac5a47f59a4f17ce4c8a1772903",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 77,
"avg_line_length": 24.022222222222222,
"alnum_prop": 0.6725254394079556,
"repo_name": "nypl-spacetime/where",
"id": "1e21c1c2dfdd3cf5393b3f5ee398479c891eaee0",
"size": ... |
package org.apache.solr.analytics.stream.reservation.read;
import java.io.DataInput;
import java.io.IOException;
/** Abstract class to manage the reading and application of data from a {@link DataInput} stream. */
public abstract class ReductionDataReader<A> {
protected final DataInput inputStream;
protected fin... | {
"content_hash": "6ad1aedf78fdab294af56f3f6e55b002",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 100,
"avg_line_length": 30.347826086956523,
"alnum_prop": 0.7464183381088825,
"repo_name": "apache/solr",
"id": "c454c5280761685ae45cb09d937e34d517c40905",
"size": "1499",
... |
/****************************************************************************
* Included Files
****************************************************************************/
#include <nuttx/config.h>
#include <debug.h>
#include <nuttx/arch.h>
#include <nuttx/fs/fs.h>
#include <nuttx/ramlog.h>
#include <arch/boar... | {
"content_hash": "308569bd3d5c8eca33a56e57717d2a7b",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 80,
"avg_line_length": 26.297752808988765,
"alnum_prop": 0.5396282845545823,
"repo_name": "gcds/project_xxx",
"id": "8a1311d591eb2988a339bafb25e33a1891057b95",
"size": "65... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.