text stringlengths 2 1.04M | meta dict |
|---|---|
description: Service discovery
keywords: service, discover, links
redirect_from:
- /docker-cloud/feature-reference/service-links/
title: Service discovery and links
---
Docker Cloud creates a per-user overlay network which connects all containers
across all of the user's hosts. This network connects all of your contai... | {
"content_hash": "5c8567b33b651a46bf71b3336f3ea4eb",
"timestamp": "",
"source": "github",
"line_count": 256,
"max_line_length": 254,
"avg_line_length": 53.17578125,
"alnum_prop": 0.7133622272827445,
"repo_name": "docker-zh/docker.github.io",
"id": "b9133183142d545380666c56416767d72a6a443b",
"size":... |
#ifndef __CPU_HYBRID_RESOURCES_VPRED_HH__
#define __CPU_HYBRID_RESOURCES_VPRED_HH__
#include "bimodal.hh"
#include "base/table.hh"
#include "arch/types.hh"
template <size_t Entries>
class VPredictor
{
public:
Addr predict (Addr instAddr) const
{
return 0;
}
void feedback (Addr instAddr, A... | {
"content_hash": "b81470bff299e5b11667e35f3a45f5cc",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 59,
"avg_line_length": 16.8125,
"alnum_prop": 0.6468401486988847,
"repo_name": "lixt/lily2-gem5",
"id": "1e561bead01d3e74b628af0cdb934f5eaf8b6c05",
"size": "653",
"binary... |
.class public Landroid/net/NetworkQuotaInfo;
.super Ljava/lang/Object;
.source "NetworkQuotaInfo.java"
# interfaces
.implements Landroid/os/Parcelable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/net/NetworkQuotaInfo$1;
}
.end annotation
# static fields
.fi... | {
"content_hash": "5c678ac02bdfa3c71867fc23639fefaf",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 91,
"avg_line_length": 21.62146892655367,
"alnum_prop": 0.6767703161745493,
"repo_name": "libnijunior/patchrom_angler",
"id": "bcd08737c8cec1e7c8e82f836f8f18d16a425920",
"... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "60d677ead80f50405539fc3c3739aadc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "6448d4de527df886b5f7f6ec62da26b34c48c8f6",
"size": "20... |
<?php defined('SYSPATH') or die('No direct script access.');
class Controller_Api_Routes extends Controller_REST
{
public function action_index()
{
$response = REST_Response::factory(array(
'routes' => array()
));
$routes = ORM::factory('Route');
if ($edit = $this->request->query('edit'))
{
$routes... | {
"content_hash": "d03044c132edede9ca892cc809646e80",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 108,
"avg_line_length": 20.356435643564357,
"alnum_prop": 0.5958171206225681,
"repo_name": "badsyntax/map-route",
"id": "8c82680df50a5cdd892588b3335889a5f4d4cb91",
"size":... |
package org.uberfire.client.exporter;
import java.lang.annotation.Annotation;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import javax.enterprise.context.ApplicationScoped;
import com.google.gwt.core.client.JavaScriptObject;
import org.jboss.errai.ioc.client.container.IOC;
import org.jb... | {
"content_hash": "16b0d66b30acd4f5257f031227107fbf",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 123,
"avg_line_length": 49.30769230769231,
"alnum_prop": 0.5694227769110765,
"repo_name": "karreiro/uberfire",
"id": "2931e35a131e18bacc32329b1eb7c55f4e5edacd",
"size": "51... |
<?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xm... | {
"content_hash": "741835f93f0683114abb9a5c46d50534",
"timestamp": "",
"source": "github",
"line_count": 539,
"max_line_length": 867,
"avg_line_length": 35.35064935064935,
"alnum_prop": 0.6683635981946048,
"repo_name": "timofeys/BigFinal",
"id": "58389fb2afe4832812c14fbe5478163b50bb49e2",
"size": "1... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "e4267665dd77cf2eeca5e968843cbf8d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "e1ab30ef75c480eab08ca73d9862b7afbeb0ca9f",
"size": "228... |
/*
platform.reg.cpp
*/
/*
Copyright © 2017 Far Group
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions... | {
"content_hash": "14fd826aca064047d40892b3856af0b7",
"timestamp": "",
"source": "github",
"line_count": 334,
"max_line_length": 148,
"avg_line_length": 25.550898203592816,
"alnum_prop": 0.6533864541832669,
"repo_name": "FarGroup/FarManager",
"id": "20457241c1f6ed1d04a036f206b275a9a2a0a554",
"size":... |
( function () {
class MorphAnimMesh extends THREE.Mesh {
constructor( geometry, material ) {
super( geometry, material );
this.type = 'MorphAnimMesh';
this.mixer = new THREE.AnimationMixer( this );
this.activeAction = null;
}
setDirectionForward() {
this.mixer.timeScale = 1.0;
}
setDir... | {
"content_hash": "891834db784e987465a09fc8dc89d9d3",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 102,
"avg_line_length": 16.391304347826086,
"alnum_prop": 0.632183908045977,
"repo_name": "Liuer/three.js",
"id": "363ba8c5c9d0ba78568d9be8fa41af8ebeb92651",
"size": "1131"... |
[](https://travis-ci.org/opentable/otj-jackson)
OpenTable Jackson Component
===========================
Component Charter
-----------------
* OpenTable specific Jackson code.
Jackson
-------
The [Jackson JSON Processor](https://github.com/fasterxml/jac... | {
"content_hash": "46ef75e53ea88f51e3a72dbff72be040",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 160,
"avg_line_length": 35.90909090909091,
"alnum_prop": 0.7611814345991561,
"repo_name": "opentable/otj-jackson",
"id": "83b51e11501cfbecc542f32ca480bc41918026a5",
"size":... |
"""
websocket - WebSocket client library for Python
Copyright (C) 2010 Hiroki Ohtani(liris)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, ... | {
"content_hash": "6470a3167b855e8cf70c69b471540b95",
"timestamp": "",
"source": "github",
"line_count": 984,
"max_line_length": 114,
"avg_line_length": 32.083333333333336,
"alnum_prop": 0.5698447893569845,
"repo_name": "duncanhawthorne/robot-robot",
"id": "1408e1d7909d930e035f17de0d7446f88198bfdf",
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head>
<title>{% block title %}{% endblock %}</title>
<link rel="... | {
"content_hash": "606880fe56ce45e0c434f51fddffdb0b",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 159,
"avg_line_length": 42.983870967741936,
"alnum_prop": 0.5470919324577861,
"repo_name": "paulsmith/geodjango",
"id": "cdd3561ab9cf5fcebe697061ace0bc711f8ecbdf",
"size": ... |
# ----------------------------------------------------------------------------------
#
# Copyright Microsoft Corporation
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org... | {
"content_hash": "fad6da574e8a945135c8661aae126f2c",
"timestamp": "",
"source": "github",
"line_count": 222,
"max_line_length": 293,
"avg_line_length": 54.148648648648646,
"alnum_prop": 0.795774062058065,
"repo_name": "akurmi/azure-powershell",
"id": "9a1ff87633cb53e138377089e8a1b0f5555d71f4",
"siz... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/license... | {
"content_hash": "819ccc13fff7c1a760cb88eba2cb728d",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 91,
"avg_line_length": 47.833333333333336,
"alnum_prop": 0.705574912891986,
"repo_name": "xorware/android_frameworks_base",
"id": "8f7ad4aec603da9c2a172c72cb3b1963edef0e71",
... |
using System;
using System.IO;
using System.Text;
using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
using Internal.Cryptography;
using Internal.Cryptography.Pal;
namespace System.Security.Cryptography.X509Certificates
{
public sealed class X500DistinguishedName : AsnEncod... | {
"content_hash": "2cccd73900d2682bcbe1d7fa80d28b56",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 118,
"avg_line_length": 32.04597701149425,
"alnum_prop": 0.6327116212338594,
"repo_name": "alexandrnikitin/corefx",
"id": "21ad2fa6a0bfedba99fab840f3eed7833e9d2f04",
"size"... |
function y = fix_classifier_name_inconsistency (cname)
cname=upper(cname);
if findstr('LIBSVM', cname)
if length(cname) > length('LIBSVM')
pos=findstr('LIBSVM', cname);
y=strcat('LIBSVM_', cname(pos+6:end));
return;
end
elseif findstr('LIBLINEAR', cname)
y='LIBLINEAR_L2R_LR';
return
end
y=cname;... | {
"content_hash": "ab4a530d95034ada46d801ac05f68c65",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 54,
"avg_line_length": 21.4,
"alnum_prop": 0.6728971962616822,
"repo_name": "Saurabh7/shogun",
"id": "143e452e58857121104222e77ea3e55f5cc8fcf8",
"size": "321",
"binary": ... |
package org.hibernate.validator.internal.metadata.core;
import java.lang.reflect.Member;
/**
* An {@code AnnotationProcessingOptions} instance keeps track of annotations which should be ignored as configuration source.
* The main validation source for Bean Validation is annotation and alternate configuration sour... | {
"content_hash": "09a240f5f42230f341e6fb5bd9bf9fa2",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 127,
"avg_line_length": 34.2,
"alnum_prop": 0.8292397660818713,
"repo_name": "hferentschik/hibernate-validator",
"id": "acc5b74ff1b540993253299aaa92dff711859e58",
"size": "... |
<?xml version="1.0" encoding="utf-8" ?>
<Type Name="NamePrefixType" IsDictionary="true" BaseClassOverride="" SubNamespace="">
<EnumValueEntries>
<Entry Key="Dr" Value="1" />
<Entry Key="Ms" Value="2" />
<Entry Key="Mrs" Value="3" />
<Entry Key="Mr" Value="4" />
</EnumValueEntries>
<Properties... | {
"content_hash": "8e17a48d12706e4eb9f62b5d8af072ce",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 101,
"avg_line_length": 37.416666666666664,
"alnum_prop": 0.6258351893095768,
"repo_name": "zirplsoftware/ZAppEngine",
"id": "f0e4372d0871942fcb8c4651043e8f9b94ff13d3",
"si... |
{% load staticfiles %}
{% load tags %}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>{% block title %}
TODO APP{% endblock title %}
</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content=""... | {
"content_hash": "de4af0dfdcf4cc25bc4d54c0bf86a2f1",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 115,
"avg_line_length": 42.80152671755725,
"alnum_prop": 0.3843410023185304,
"repo_name": "linhyo/todo",
"id": "a4aa9f8ae12e0c9b4ab8ffc03b94397e0aa11889",
"size": "5607",
... |
HOMOTYPIC_SYNONYM
#### According to
Euro+Med Plantbase
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "101343c85c27e46ed9eeadea0fc2283f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 18,
"avg_line_length": 9.384615384615385,
"alnum_prop": 0.6967213114754098,
"repo_name": "mdoering/backbone",
"id": "67e06e6105f82cdfbdc72fbbac93f2b25d9eac8b",
"size": "184... |
/**
* Automatically generated file. Please do not edit.
* @author Highcharts Config Generator by Karasiq
* @see [[http://api.highcharts.com/highcharts]]
*/
package com.highcharts.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScri... | {
"content_hash": "aa59196416ecdf89823e089a22daaa68",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 437,
"avg_line_length": 51.25,
"alnum_prop": 0.7101045296167248,
"repo_name": "Karasiq/scalajs-highcharts",
"id": "661fcbaa7ef85a3a267b5c57fea4ddb793d532f2",
"size": "5740... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Chapter 6. Boost.Array</title>
<link rel="stylesheet" href="../../doc/src/boostbook.css" type="text/css">
<meta nam... | {
"content_hash": "32a89595fb4583960b0fa896e6ddcbb1",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 376,
"avg_line_length": 67.45161290322581,
"alnum_prop": 0.6917742706838833,
"repo_name": "jmanday/Master",
"id": "e2101df4e910b39271af845a4177a1a6be8a3bfc",
"size": "8364... |
namespace OpenAccess.Glimpse.Converters
{
public class TransactionMetricsConverter : BaseMetricsConverter
{
}
}
| {
"content_hash": "355c849b26376f10912baef169959c8a",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 67,
"avg_line_length": 20.833333333333332,
"alnum_prop": 0.752,
"repo_name": "dreing1130/openaccess-orm-glimpse",
"id": "a67eedc79dd345c2aaef1fda2f486f0c9a419674",
"size": "... |
package cn.felord.wepay.ali.sdk.api.domain;
import cn.felord.wepay.ali.sdk.api.AlipayObject;
import cn.felord.wepay.ali.sdk.api.internal.mapping.ApiField;
import cn.felord.wepay.ali.sdk.api.internal.mapping.ApiListField;
import java.util.List;
/**
* 银行间连商户入驻
*
* @author auto create
* @version $Id : $Id
*/
publi... | {
"content_hash": "edb61d15e8ad5408ceec633a2250e105",
"timestamp": "",
"source": "github",
"line_count": 360,
"max_line_length": 106,
"avg_line_length": 23.725,
"alnum_prop": 0.5823674042852125,
"repo_name": "NotFound403/WePay",
"id": "4a66a59010068143fed41b432f764fc9a9851a10",
"size": "8971",
"bi... |
#ifndef ABSTRACTLOADER_HPP_
#define ABSTRACTLOADER_HPP_
#include <bb/cascades/Image>
#include <QObject>
#include <QVariant>
#include <QString>
#include <QImage>
#include <QThread>
#include <QNetworkAccessManager>
class AbstractLoader : public QObject
{
Q_OBJECT
Q_PROPERTY(QVariant image READ image NOTIFY imag... | {
"content_hash": "8cff3b6b5af7632e63b075614cde9a53",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 132,
"avg_line_length": 24.741176470588236,
"alnum_prop": 0.7037565382786496,
"repo_name": "hamiller/ImgurViewer",
"id": "c3dc8583a7b569e126fc176e9fe4f87c1c690a22",
"size":... |
Export CouchDB documents as triples, using the following conventions:
* Subject = ``doc._id``
* Predicate = ``attribute``
* Object = ``doc.attribute``
* Default namespace = ``database name``
## Installation
Requires [CouchDB](http://couchdb.apache.org/) and your data.
### Option 1
Replicate [from iriscouch](http:/... | {
"content_hash": "85868b234f4fba670b6414ba88420c0a",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 121,
"avg_line_length": 37.333333333333336,
"alnum_prop": 0.7261904761904762,
"repo_name": "drobbins/couch2rdf",
"id": "995512bba43abc108ab25c4202971cee9a0ec092",
"size": "... |
class ToRobust::Local::Strategies::FloatModulusStrategy < ToRobust::Local::Strategies::SwapMethodStrategy
# Constructs a new FloatModulusStrategy.
def initialize
super(Float, :%, :__mod) do |other|
other.zero? ? 0.0 : __mod(other)
end
end
end | {
"content_hash": "cc26f01f1445cfd116b5b96839841f93",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 105,
"avg_line_length": 26.4,
"alnum_prop": 0.696969696969697,
"repo_name": "ChrisTimperley/ruby_to_robust",
"id": "1a408f5d86da1f75ec34d73d08b5606ec5aeaff6",
"size": "354"... |
package org.datanucleus.enhancer.samples;
import java.io.Serializable;
import java.net.Socket;
/**
*/
public class AppIdentityOkKey implements Serializable
{
private static final long serialVersionUID = 8404101986632301265L;
public boolean field00;
private static Socket s;
public AppIdentityO... | {
"content_hash": "634fb01d71b501dec652db36ce4304b2",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 70,
"avg_line_length": 18.053333333333335,
"alnum_prop": 0.5568685376661743,
"repo_name": "datanucleus/tests",
"id": "9df9c96bf75293bf1d09412f40ff9b7a39249d71",
"size": "13... |
package com.dslplatform.compiler.client.parameters;
import com.dslplatform.compiler.client.Context;
import com.dslplatform.compiler.client.ExitException;
import com.dslplatform.compiler.client.TestUtils;
import org.junit.Assert;
import org.junit.Test;
import static com.dslplatform.compiler.client.parameters.PostgresC... | {
"content_hash": "58b9a28d0f0b037ce47696914681b71b",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 99,
"avg_line_length": 40.166666666666664,
"alnum_prop": 0.6376210235131397,
"repo_name": "ngs-doo/dsl-compiler-client",
"id": "9bb0df97aee362b72e16567913342727390c8340",
"... |
<?php
namespace Box\Tests\Mod\Support\Api;
class ClientTest extends \BBTestCase
{
/**
* @var \Box\Mod\Support\Api\Client
*/
protected $clientApi = null;
public function setup()
{
$this->clientApi = new \Box\Mod\Support\Api\Client();
}
public function testTicket_get_list()
... | {
"content_hash": "f881f00abaa5562fec1cb835d487f247",
"timestamp": "",
"source": "github",
"line_count": 272,
"max_line_length": 107,
"avg_line_length": 36.974264705882355,
"alnum_prop": 0.5687580789499851,
"repo_name": "Eric-Zhong/boxbilling",
"id": "35e517fe171d343a9a281954ca4d0a16a0a0b298",
"size... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["mdc"] = factory();
else
root["mdc"] = ... | {
"content_hash": "bb9761384215fb1a55559db6d93bb4c1",
"timestamp": "",
"source": "github",
"line_count": 12441,
"max_line_length": 564,
"avg_line_length": 40.155614500442084,
"alnum_prop": 0.6626539305330921,
"repo_name": "extend1994/cdnjs",
"id": "1317a5e2e8659fa96c5df345137a378b0d674cf5",
"size": ... |
This is the source for `cbt`.
## Build and Run
To build the tool locally, run this command in this directory:
```
go build .
```
That will build the cbt binary in that directory. To run commands with the `cbt` you built (rather
than the official one) invoke it with the directory prefix like this:
```
./cbt help
```... | {
"content_hash": "9833af9dbaa341594a870d0700fe6cde",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 185,
"avg_line_length": 33.05357142857143,
"alnum_prop": 0.7428417071853053,
"repo_name": "pushbullet/engineer",
"id": "a28d094e467d363f550213fb684fa7fd7fe75d5e",
"size": "... |
namespace swift {
class SerializationOptions {
SerializationOptions(const SerializationOptions &) = delete;
void operator=(const SerializationOptions &) = delete;
public:
SerializationOptions() = default;
SerializationOptions(SerializationOptions &&) = default;
SerializationOptions &operator=(... | {
"content_hash": "d06e982f324ea749f641942200ff356e",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 71,
"avg_line_length": 27.583333333333332,
"alnum_prop": 0.7170191339375629,
"repo_name": "practicalswift/swift",
"id": "0d0f170ae107832cd96c92129536772ae5f614f5",
"size": ... |
@implementation MTLChild
@dynamic childID;
@dynamic parent1;
@dynamic parent2;
+ (id)insertInManagedObjectContext:(NSManagedObjectContext*)moc {
NSParameterAssert(moc != nil);
return [NSEntityDescription insertNewObjectForEntityForName:@"Child" inManagedObjectContext:moc];
}
@end
@implementation MTLParent
@dyna... | {
"content_hash": "bb1add8d7c43854ce97ac26ed38b7fa9",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 99,
"avg_line_length": 23.659574468085108,
"alnum_prop": 0.795863309352518,
"repo_name": "redengineer/MTLManagedObjectAdapter",
"id": "a026571057233425d81477d149161bfd8447495... |
package br.com.caelum.vraptor.html.tags;
import br.com.caelum.vraptor.html.attributes.Attribute;
import br.com.caelum.vraptor.html.tags.interfaces.NestedElement;
import br.com.caelum.vraptor.html.tags.interfaces.Tag;
import br.com.caelum.vraptor.html.transformers.DefaultTagTransformer;
import br.com.caelum.vraptor.htm... | {
"content_hash": "f53627b357b8310a243b155b56e49705",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 75,
"avg_line_length": 25.363636363636363,
"alnum_prop": 0.7589605734767025,
"repo_name": "luiz/vraptor-html-dsl",
"id": "7b2db0ac053a9cbebec2e32147db56e7f852858b",
"size":... |
package org.ovirt.engine.ui.uicommonweb.models.networks;
import org.ovirt.engine.ui.uicommonweb.ViewFilter;
import org.ovirt.engine.ui.uicompat.ConstantsManager;
public enum NetworkVmFilter implements ViewFilter<NetworkVmFilter> {
running(ConstantsManager.getInstance().getConstants().runningVm()),
notRunning(... | {
"content_hash": "81d00225a72c526d7d6b2f454b2a4b2d",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 77,
"avg_line_length": 25.32,
"alnum_prop": 0.7124802527646129,
"repo_name": "walteryang47/ovirt-engine",
"id": "574076718a7771fb37d2759bb4d48437aaab62c9",
"size": "633",
... |
/**
* This class is generated by jOOQ
*/
package com.skcraft.plume.common.service.sql.model.data.tables;
import com.skcraft.plume.common.service.sql.model.data.Data;
import com.skcraft.plume.common.service.sql.model.data.Keys;
import com.skcraft.plume.common.service.sql.model.data.tables.records.BanRecord;
import ... | {
"content_hash": "051029ce4a6076491d6014e674b7346b",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 156,
"avg_line_length": 25.41860465116279,
"alnum_prop": 0.6907593778591034,
"repo_name": "SKCraft/Plume",
"id": "bb04fccf7fc009271488c3da0540bbdb1e45c62e",
"size": "4372"... |
package spark.examples
import spark.SparkContext
import spark.SparkContext._
import java.util.Random
object GroupByTest {
def main(args: Array[String]) {
if (args.length == 0) {
System.err.println("Usage: GroupByTest <master> [numMappers] [numKVPairs] [KeySize] [numReducers]")
System.exit(1)
}... | {
"content_hash": "af9c22a8b8aa1f55bc47816d6a2e0b87",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 105,
"avg_line_length": 30.19047619047619,
"alnum_prop": 0.6514195583596214,
"repo_name": "lyogavin/spark",
"id": "5cee4136158b45b68a7b2ea9a785e50478d7c3e1",
"size": "2068"... |
Todd Larson
HW#1 rshell
Known Bugs
the conncetors do not work
if you were to use the comment after a connector, then that won't work because the connectors arent up
can work with multiple semicolons after a command
anything to do with the || and && will not run properly
What works
the exit command works
only the ... | {
"content_hash": "98aeabbb1f38dbf30f713c0b5261b087",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 108,
"avg_line_length": 28.75,
"alnum_prop": 0.7880434782608695,
"repo_name": "tlars/rshell",
"id": "ba10dcce2a6c792746ea9a3e298aa368e0b32bbd",
"size": "920",
"binary": f... |
using System;
using Microsoft.Build.Framework;
using System.Collections.Generic;
using System.Net.Http;
using System.Xml;
using System.Threading.Tasks;
using System.Linq;
using Microsoft.Build.Utilities;
namespace Microsoft.DotNet.Build.CloudTestTasks
{
public partial class ListAzureBlobs : AzureConnectionStringBu... | {
"content_hash": "e1178ad0e43c7e3203fb2e3424b13c2c",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 164,
"avg_line_length": 43.483333333333334,
"alnum_prop": 0.5599846684553469,
"repo_name": "karajas/buildtools",
"id": "9c9d3df1ccded7c7df07e3bbfd69078f29862601",
"size": ... |
package org.apache.camel.component.cxf;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.ws.Endpoint;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.apache.camel.test.spring.CamelSpringTestSupport;
import org.apache.hello_world_soap_http.GreeterImpl;
i... | {
"content_hash": "99735862a27e96688fbd780e255211cd",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 199,
"avg_line_length": 38.936708860759495,
"alnum_prop": 0.6840052015604682,
"repo_name": "punkhorn/camel-upstream",
"id": "c5a263b4f33780f1ba48eec1c9cfe2b8e198b8d4",
"siz... |
package org.wso2.carbon.identity.claim.metadata.mgt.dto;
/**
* Data transfer representation for a local claim property.
*/
public class ClaimPropertyDTO {
private String propertyName;
private String propertyValue;
public String getPropertyName() {
return propertyName;
}
public void se... | {
"content_hash": "f6e37ee8624ee18d73dbb7603c2e64fe",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 59,
"avg_line_length": 21.88888888888889,
"alnum_prop": 0.6954314720812182,
"repo_name": "dharshanaw/carbon-identity-framework",
"id": "9b5f69829d76853270621cb83d5baa6c5f431d... |
The Description of the Provisioning Template
**Namespace:** [OfficeDevPnP.Core.Framework.Provisioning.Model](OfficeDevPnP.Core.Framework.Provisioning.Model.md)
**Assembly:** OfficeDevPnP.Core.dll
## Syntax
```C#
public string Description { get; set; }
```
### Property Value
Type: System.String
## See also
... | {
"content_hash": "c768ecbf4c5c8df00cf51a622be0c88e",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 116,
"avg_line_length": 34.733333333333334,
"alnum_prop": 0.7735124760076776,
"repo_name": "Lauragra/PnP-Guidance",
"id": "1aa62301de8eac5c03be2c710f02d3964694e697",
"size"... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Monogr. Discom. Bohem. (Prague) 91 (1934)
#### Original name
Agyrium minus Velen.
### Remarks
null | {
"content_hash": "05fd3e58e75d8cb4dd034a62eb032b23",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 41,
"avg_line_length": 12.461538461538462,
"alnum_prop": 0.691358024691358,
"repo_name": "mdoering/backbone",
"id": "7609de88531fdf8aa37fa4b778749ebe18a48c08",
"size": "206... |
using namespace std;
#ifndef __OPERATIONS_H
#define __OPERATIONS_H
#define _FILE_OFFSET_BITS 64
#define FUSE_USE_VERSION 26
// ENOATTR is not blessed by POSIX. Darwin uses 93.
#ifndef ENOATTR
#define ENOATTR 93
#endif
#include <fuse/fuse.h>
#include <string>
int gridfs_getattr(const char *path, struct stat *stbuf);
... | {
"content_hash": "ea0da5c8f2dad5feda5c0b9d48316d0a",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 85,
"avg_line_length": 29.675213675213676,
"alnum_prop": 0.6929723502304147,
"repo_name": "tattish/blabloo",
"id": "680a3e484b6968d75453772d0417d00e9d38e85a",
"size": "347... |
from django import template
from reversion.models import Version
register = template.Library()
@register.inclusion_tag("includes/last_modified.html")
def last_modified(obj):
"""Get all versions for specific object, display:
"Created on ASD by DSA."
"Last modified on ASD by DSA."
"""
versions = V... | {
"content_hash": "4bbc5b90ed4587cc66b1661f66d4ce01",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 73,
"avg_line_length": 25.322580645161292,
"alnum_prop": 0.5961783439490446,
"repo_name": "pbanaszkiewicz/amy",
"id": "4a4653321adc034815f989fe5f0c1c09e139bc3c",
"size": "7... |
#include <errno.h>
#include <sys/socket.h>
/* Receive a message as described by MESSAGE from socket FD.
Returns the number of bytes read or -1 for errors. */
ssize_t
__recvmsg (fd, message, flags)
int fd;
struct msghdr *message;
int flags;
{
__set_errno (ENOSYS);
return -1;
}
weak_alias (__re... | {
"content_hash": "9305487b1428062a1c45875afef2fa6c",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 60,
"avg_line_length": 18.19047619047619,
"alnum_prop": 0.6596858638743456,
"repo_name": "endplay/omniplay",
"id": "419415cd754fdc3df4f867d0525ff5f9138a64d3",
"size": "1256... |
---
id: pagination
title: Pagination
slug: /guided-tour/list-data/pagination/
description: Relay guide to pagination
keywords:
- pagination
- usePaginationFragment
---
import DocsRating from '@site/src/core/DocsRating';
import {OssOnly, FbInternalOnly} from 'docusaurus-plugin-internaldocs-fb/internal';
import FbPagina... | {
"content_hash": "ada52a7ed3e729a028d07d75b65bcc59",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 574,
"avg_line_length": 32.056338028169016,
"alnum_prop": 0.6840949033391915,
"repo_name": "xuorig/relay",
"id": "73ded25a45c1d82c270bc4588a935ba85fea1265",
"size": "4552"... |
import { Stream } from '@motorcycle/types'
import { sample } from './sample'
/**
* Given each event occurrence from a sampler stream takes the latest value from
* the given stream.
*
* @name sampleWith<A>(sampler: Stream<any>, stream: Stream<A>): Stream<A>
* @example
* import { sampleWith } from '@motorcycle/... | {
"content_hash": "d5469b2df0b393959250aead0a2abac6",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 81,
"avg_line_length": 30.375,
"alnum_prop": 0.6502057613168725,
"repo_name": "motorcyclets/motorcycle",
"id": "d79fd7753c9c04a33b25b7936772dd276de74b67",
"size": "972",
... |
import { Router } from 'express';
import authController from '../controllers/authController';
import { requireSignIn } from '../middleware/passport';
/**
* Follow this format for normal routing
*/
const auth = () => {
let api = Router();
api.post('/signup', authController.signUp);
api.post('/signin', requireSi... | {
"content_hash": "74dd9a11a2fd97c140b09d75eed48d8c",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 60,
"avg_line_length": 26,
"alnum_prop": 0.6948717948717948,
"repo_name": "jeescu/express-rest-api",
"id": "4a8334fd72644e9ced5ee1097a575127de1575c3",
"size": "390",
"bin... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_112-google-v7) on Fri Jul 21 13:02:32 PDT 2017 -->
<title>org.robolectric.shadows.gms.common</title>
<meta name="date" content="2017-07-21">
<l... | {
"content_hash": "b5c0805b05c44a3a2fd0f3f891a1a7d0",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 202,
"avg_line_length": 35.84722222222222,
"alnum_prop": 0.621077101898489,
"repo_name": "robolectric/robolectric.github.io",
"id": "4f8874440290a3bf43d4f09cdddac255beecd602... |
.import-preview .errors {
position: relative;
}
.validation-error-count {
display: inline-block;
background-color: #e40000;
border-radius: 6px;
color: white;
font-size: 0.9em;
position: relative;
font-weight: bold;
margin-top: -2px;
padding: 0.2em 0.4em;
}
.validation-error-container {
position:... | {
"content_hash": "358144dd87134f78e0e75cbabbf01b93",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 54,
"avg_line_length": 16.987654320987655,
"alnum_prop": 0.6744186046511628,
"repo_name": "cdubz/babybuddy",
"id": "bb20ba2a13993974a6cfce76d24d36a737fbe920",
"size": "1376... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Pythium dictyospermum Racib.
### Remarks
null | {
"content_hash": "d6d57dab665cac78f1c132d58cb7df84",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 28,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.7142857142857143,
"repo_name": "mdoering/backbone",
"id": "a5e9ed3e3f82294241d74c10d6fbd59f576f892a",
"size": "185... |
@implementation SKTEffect
+ (instancetype)effectWithNode:(SKNode *)node duration:(NSTimeInterval)duration
{
return [[[self class] alloc] initWithNode:node duration:duration];
}
- (instancetype)initWithNode:(SKNode *)node duration:(NSTimeInterval)duration
{
if ((self = [super init]))
{
self.node = node;
self.du... | {
"content_hash": "3a2aa6ec4c7c76285da80a3cdaf78b90",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 149,
"avg_line_length": 28.397058823529413,
"alnum_prop": 0.7698947005006042,
"repo_name": "yenbekbay/coloroid",
"id": "628496e260493516b5a246baecb989dd3f1f5c67",
"size": ... |
My Lovely Horse
| {
"content_hash": "4d39e0e40972ffe7878c17cf84d21d85",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 15,
"avg_line_length": 16,
"alnum_prop": 0.8125,
"repo_name": "qnm/rack-single-page-app",
"id": "e3c269268ab72804e5eb8912552ea5c367356fcb",
"size": "16",
"binary": false,
... |
require File.expand_path('../../test_helper', File.dirname(__FILE__))
class PageStringTagTest < ActiveSupport::TestCase
def test_initialize_tag
assert tag = ComfortableMexicanSofa::Tag::PageString.initialize_tag(
cms_pages(:default), '{{ cms:page:content:string }}'
)
assert_equal 'content', tag.... | {
"content_hash": "0e5e448dbaefc203ac447ffc49dc428d",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 72,
"avg_line_length": 33.69387755102041,
"alnum_prop": 0.6717141126589945,
"repo_name": "easierbycode/comfortable_mexican_sofa",
"id": "231cbe00680ecba8c2306fb7c1d1375b47788... |
package com.greencatsoft.angularjs.core
import com.greencatsoft.angularjs.injectable
import scala.scalajs.js
/**
* Use the \$locationProvider to configure how the application deep linking paths are stored.
*
* @see https://docs.angularjs.org/api/ng/provider/\$locationProvider
*/
@js.native
@injectable("$location... | {
"content_hash": "4b8494ff963e5617b9c5d3c40e5fa95e",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 118,
"avg_line_length": 30.02,
"alnum_prop": 0.7061958694203864,
"repo_name": "greencatsoft/scalajs-angular",
"id": "418c3c62690720054c85b052426d0958394bfbe7",
"size": "30... |
"use strict";
exports.htmlFontSize = parseFloat(window.getComputedStyle(document.getElementsByTagName("html")[0]).fontSize);
function px2rem(v) {
v = parseFloat(v);
return v / 37.5 + 'rem';
}
exports.px2rem = px2rem;
function rem2px(v) {
v = parseFloat(v);
return v * 37.5 + 'px';
}
exports.rem2px = rem2... | {
"content_hash": "c06d5f9db159520a574217b2194aecd1",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 110,
"avg_line_length": 30.4375,
"alnum_prop": 0.7186858316221766,
"repo_name": "tangjinzhou/biz-mobile-ui",
"id": "a4575b95e5ce88b9714d4c18ccc8038a42d4b719",
"size": "487"... |
#include <aws/logs/model/SubscriptionFilter.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace CloudWatchLogs
{
namespace Model
{
SubscriptionFilter::SubscriptionFilter() :
m_filterNameHasBeenSet(false)... | {
"content_hash": "abfa8f607b7591907dacd5ebc6cc3a1a",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 78,
"avg_line_length": 19.454545454545453,
"alnum_prop": 0.7169003115264797,
"repo_name": "ambasta/aws-sdk-cpp",
"id": "55c0202993bfa6222c75b0902873c92bcdef52d2",
"size": ... |
function attachGradientEvents() {
let gradientElement = document.getElementById('gradient')
gradientElement.addEventListener('mousemove', gradientClicked)
function gradientClicked(event) {
let power = event.offsetX / (event.target.clientWidth - 1);
let gradientElement = document.getE... | {
"content_hash": "ae6c0be3b43941b05f46df617714d12c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 68,
"avg_line_length": 35.69230769230769,
"alnum_prop": 0.6810344827586207,
"repo_name": "Bojo966/Softuni-JS-Advanced",
"id": "d0505296ef0cd0c8c074f7f9d2356185dc0e0748",
"s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Andersc.CodeLib.Common.Collections
{
public class DoublyLinkedList<T> : ICollection<T>, IEnumerable<T>
{
internal DoublyLinkedListNode<T> head;
internal int size;
public int Count
{... | {
"content_hash": "e1c33d6eed068a86941aed7b28d80374",
"timestamp": "",
"source": "github",
"line_count": 388,
"max_line_length": 100,
"avg_line_length": 25.22680412371134,
"alnum_prop": 0.4544340008173273,
"repo_name": "anderscui/cslib",
"id": "05d4b5b65a9b32710a24d7a84fdb3fc58319e13c",
"size": "979... |
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DotNetNuke.Services.ClientCapability
{
public interface IClientCapabilityProvider
{
/// <summary>
/// Returns ClientCapability based on userAgent
/// </summary>
IClientCapability GetClientCapabili... | {
"content_hash": "414f0138180e2ec37603b00bc5fa0adf",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 96,
"avg_line_length": 34.46341463414634,
"alnum_prop": 0.6362349610757254,
"repo_name": "orvis-ec-pr/dnn-exp",
"id": "54167a83eafe736b5ca57dc48bdeda26ff8aba57",
"size": "2... |
/**
*
* folderproperties, javascript for the folder properties tab
*
* @author Patrick Lockley
* @version 1.0
* @package
*/
/**
*
* Function folders ajax send prepare
* This function sorts out the URL for most of the queries in the folder properties window
* @param string url = the extra... | {
"content_hash": "5eb6a0f847a4ba967a48eb6323b03b77",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 105,
"avg_line_length": 19.88425925925926,
"alnum_prop": 0.6689173457508731,
"repo_name": "ox-it/xerte",
"id": "bba6eaa362a600dd5530b61dd7450953da4daf2c",
"size": "5094",
... |
<?php
namespace Zend\Version;
use Zend\Json\Json;
/**
* Class to store and retrieve the version of Zend Framework.
*
* @category Zend
* @package Zend_Version
*/
final class Version
{
/**
* Zend Framework version identification - see compareVersion()
*/
const VERSION = '... | {
"content_hash": "c980f535d854c6ac97e04d1d34f17da6",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 111,
"avg_line_length": 35.03508771929825,
"alnum_prop": 0.5645968953430145,
"repo_name": "rvdpol/gh18",
"id": "1afa04194eb15ce7936df2030330a457a08081fb",
"size": "4334",
... |
package com.beecavegames.bjc.servlets;
import java.io.IOException;
import java.util.Locale;
import java.util.Map.Entry;
import java.util.Set;
import java.util.TreeMap;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.... | {
"content_hash": "54dfc090e2ed64ee1ac10ac087b23aae",
"timestamp": "",
"source": "github",
"line_count": 237,
"max_line_length": 134,
"avg_line_length": 41.257383966244724,
"alnum_prop": 0.7877889138883207,
"repo_name": "sgmiller/hiveelements",
"id": "02d908f9755e8bf9faacbcd606cbd05bda343624",
"size... |
import numpy
from fgivenx.parallel import parallel_apply
from fgivenx.io import CacheException, Cache
def compute_samples(f, x, samples, **kwargs):
r""" Apply f(x,theta) to x array and theta in samples.
Parameters
----------
f: function
list of functions :math:`f(x;\theta)` with dependent va... | {
"content_hash": "0beb20c3ca193212bc37d5b5c25e8451",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 76,
"avg_line_length": 29.53211009174312,
"alnum_prop": 0.6095060577819198,
"repo_name": "williamjameshandley/fgivenx",
"id": "345daad0de884f576f0a65453cb7de64b9e03b87",
"... |
/**
* @author trixta
* @version 1.2
*/
(function ($) {
var mwheelI = {
pos: [-260, -260]
},
minDif = 3,
doc = document,
root = doc.documentElement,
body = doc.body,
longDelay, shortDelay
;
function unsetPos() {
if (this === mwheelI.elem) {
mwheelI.pos = [-260, -260];
... | {
"content_hash": "f6461a0a0a1252e56a53038f9de5b4b7",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 126,
"avg_line_length": 25.776315789473685,
"alnum_prop": 0.5288412455334355,
"repo_name": "monemihir/webextras",
"id": "41fe5c32cf87d15170553474df26671993a0b1a3",
"size": ... |
* Add instrumentation to collect outbound GRPC requests information.
### 0.26.1 / 2017-07-11
* stackdriver-core 1.2.0 release
### 0.26.0 / 2017-07-11
* Add Faraday Middleware to help collect outbound RPC information.
* Update `Google::Cloud::Trace::Middleware` and `Google::Cloud::Trace::Railtie` to submit trace sp... | {
"content_hash": "b236b783227fb38c5aa448e8b94f3603",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 177,
"avg_line_length": 29.869565217391305,
"alnum_prop": 0.7336244541484717,
"repo_name": "hxiong388/google-cloud-ruby",
"id": "6c832e23a3e4652988ad4d2439baa68dc8aa10c2",
... |
require 'spec_helper'
describe StackedConfig::Layers::ProvidedConfigFileLayer do
subject { StackedConfig::Layers::ProvidedConfigFileLayer.new }
it 'should be empty by default' do
expect(subject.empty?).to be_truthy
end
end | {
"content_hash": "abd2fe806c3801321b2c5ace6f746d74",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 64,
"avg_line_length": 16,
"alnum_prop": 0.7541666666666667,
"repo_name": "lbriais/stacked_config",
"id": "0a0a8fd0042bb1d4654cb6a1a80b8e69dd11d2a3",
"size": "240",
"bina... |
{% load i18n %}
<table class="table" style="margin: -9px -14px; max-width: none; width: auto;">
{% for notification in notifications %}
<tr>
<td>
<a href="{{ notification.website_url }}" target="_blank" class="a-nodifference">
<i class="flaticon-{{ notification.icon }} fontx4"></i>
</a>
</td>
... | {
"content_hash": "49498560554ffeeacd2220110a89dbd5",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 99,
"avg_line_length": 28.037037037037038,
"alnum_prop": 0.5759577278731837,
"repo_name": "rdsathene/SchoolIdolAPI",
"id": "d85332df0a16efec58b3c8a82e75dbbdb5e952c5",
"size... |
var judgeevent = new (require('events').EventEmitter);
module.exports = judgeevent; | {
"content_hash": "4a4ce2be4c53cf629cceacd9f7955d4c",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 54,
"avg_line_length": 41.5,
"alnum_prop": 0.7710843373493976,
"repo_name": "chufanl/nebulae",
"id": "a08d7f9ad82c4eb121208801f0ca3afa2618d16b",
"size": "83",
"binary": fa... |
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)applica... | {
"content_hash": "1f3635d1284a6872b3933b1113a48493",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 281,
"avg_line_length": 45.853658536585364,
"alnum_prop": 0.7851063829787234,
"repo_name": "sleepEarlier/CustomTransition",
"id": "f3f6f4954903ec93e5ac88b1867bc252a7823367",
... |
#pragma once
#include <aws/sesv2/SESV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SESV2
{
namespace Model
{
/**
* <p>An object used to ... | {
"content_hash": "cc64b3e31cf14178bd72a40ecf973dd6",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 133,
"avg_line_length": 28.763358778625953,
"alnum_prop": 0.6502123142250531,
"repo_name": "cedral/aws-sdk-cpp",
"id": "0795c28e410bd4b95865913c445127a3300b7102",
"size": ... |
package topotools
import (
"reflect"
"sort"
"sync"
"golang.org/x/net/context"
log "github.com/golang/glog"
"github.com/youtube/vitess/go/vt/topo"
"github.com/youtube/vitess/go/vt/topo/topoproto"
topodatapb "github.com/youtube/vitess/go/vt/proto/topodata"
)
// FindTabletByHostAndPort searches within a tab... | {
"content_hash": "ea60f706af059879c93ee01d8543d3a4",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 137,
"avg_line_length": 30.15714285714286,
"alnum_prop": 0.7029843675982946,
"repo_name": "rnavarro/vitess",
"id": "00ffbe7c7c3f8222bd7129a2199883ac21b4f10d",
"size": "477... |
@(repository: gitbucket.core.service.RepositoryService.RepositoryInfo,
hasWritePermission: Boolean)(implicit context: gitbucket.core.controller.Context)
@import gitbucket.core.service.SystemSettingsService
@import context._
@import gitbucket.core.view.helpers._
@html.main(s"${repository.owner}/${repository.name}", So... | {
"content_hash": "eb4db15b3c35e37b3192caf7a502ed8d",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 90,
"avg_line_length": 37.18604651162791,
"alnum_prop": 0.6216385240775485,
"repo_name": "mrkm4ntr/gitbucket",
"id": "d4670f33ad2e283180d7351433c83623933d7fc4",
"size": "16... |
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Symfony\\Bundle\\SwiftmailerBundle\\' => array($vendorDir . '/symfony/swiftmailer-bundle'),
'Symfony\\Bundle\\MonologBundle\\' => array($vendorDir . '/symfony/monolog-bund... | {
"content_hash": "3a153ac14f56dfb1199c534dec9fc6ff",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 96,
"avg_line_length": 47,
"alnum_prop": 0.6795212765957447,
"repo_name": "ayoubrh/MAMARH",
"id": "b2299afb931f534a5d9a32720ae37ec500bf3246",
"size": "752",
"binary": fal... |
extern crate readline_sys as readline_ffi;
extern crate libc;
extern crate alloc;
use std::ffi::{CStr,CString};
pub enum ReadlineError {
EndOfFile,
InvalidUtf8(std::str::Utf8Error)
}
impl std::convert::From<std::str::Utf8Error> for ReadlineError {
fn from(err: std::str::Utf8Error) -> ReadlineError {
... | {
"content_hash": "175ca193bcee0b0109eaac9f842fb79b",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 74,
"avg_line_length": 24.36111111111111,
"alnum_prop": 0.6191562143671607,
"repo_name": "zokier/readline",
"id": "9b7ff6bf48ec3ea0695d7945acfe14e39a0e2898",
"size": "925",... |
[](https://zenhub.io)
[](https://gitter.im/aurelia/discuss?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Klond... | {
"content_hash": "01eccc35b0f5f62efeee07e0a485de8b",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 532,
"avg_line_length": 61.76086956521739,
"alnum_prop": 0.7448081661386836,
"repo_name": "jdanyow/aurelia-solitaire",
"id": "8c9015fb06d50a33e4f6926755c16c328a64f8f0",
"si... |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restrictio... | {
"content_hash": "daec16e6815ab4a4bd51e5a24a268014",
"timestamp": "",
"source": "github",
"line_count": 1702,
"max_line_length": 167,
"avg_line_length": 30.660399529964746,
"alnum_prop": 0.5717269661198835,
"repo_name": "John3/T3D_GMK_BULLET",
"id": "bb57bf1c588c7084231494b23dc75a4bf4653bfa",
"size... |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>LevelCollection Constructor (Tag)</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href... | {
"content_hash": "e1189d00b9cdd33a92fb4265ab4ee951",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 241,
"avg_line_length": 39.53448275862069,
"alnum_prop": 0.5817706061927606,
"repo_name": "babaru/log4net",
"id": "4f464fea38fb401389536b770bdceab0871f156a",
"size": "2293"... |
act_dir := .
src_dir := $(act_dir)/src
work_dir := $(ROOTDIR)/work
work_dir_isa := $(work_dir)/$(RISCV_ISA)
include $(act_dir)/Makefrag
ifneq ($(RISCV_TEST),)
target_tests = $(RISCV_TEST).elf
endif
default: all
#--------------------------------------------------------------------
# Build rules
#-----------------... | {
"content_hash": "1d4e0fa69ca1d91be1a46a2051dd24b5",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 98,
"avg_line_length": 22.818181818181817,
"alnum_prop": 0.501195219123506,
"repo_name": "chipsalliance/Surelog",
"id": "93bb266cd9d14ffb5f2237fc014065761bdef949",
"size": ... |
namespace Dx.Runtime
{
/// <summary>
/// An interface that is implemented by the Dx post-processor to provide
/// synchronisation storage against a synchronised object.
/// </summary>
public interface ISynchronised
{
#region Public Methods and Operators
/// <summary>
///... | {
"content_hash": "1537e4827a9c3496d071d77a9f0c3b19",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 83,
"avg_line_length": 31,
"alnum_prop": 0.5890083632019116,
"repo_name": "hach-que/Dx",
"id": "85d602e151285c34d62b15c2ef9f5a809eb86792",
"size": "2505",
"binary": false... |
var Transform = require('stream').Transform,
tools = require('./tools.js'),
schema = require('./schema.js'),
debug = require('debug')('ebml:encoder'),
Buffers = require('buffers');
function EbmlEncoder(options) {
options = options || {};
options.writableObjectMode = true;
Transform.call(thi... | {
"content_hash": "340f6d0cf5ae48ed06a5314dfad309b2",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 119,
"avg_line_length": 25.636363636363637,
"alnum_prop": 0.5924940898345153,
"repo_name": "diplomero/node-ebml",
"id": "08f4647704db4da8ee79cc715af7f58e3020c859",
"size":... |
Online Classified Ads developed using Laravel.
| {
"content_hash": "41762d3f37632041363f9d51c7330ac2",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 46,
"avg_line_length": 47,
"alnum_prop": 0.851063829787234,
"repo_name": "lester-ccs/classified",
"id": "99c25aa9ed8afd96c0699fe530aa2c65911b6f45",
"size": "60",
"binary":... |
<!DOCTYPE html>
<html><head><link href="assets/styles/bundle.css" rel="stylesheet"></head>
<head>
<meta charset="utf-8">
<title></title>
<body>
<div id='App'></div>
</html>
<script type="text/javascript" src="bundle.js"></script> | {
"content_hash": "8ee8d3ecfef2a7d907d93155884c7dbe",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 74,
"avg_line_length": 24.6,
"alnum_prop": 0.6260162601626016,
"repo_name": "ernieyang09/React-Todo",
"id": "4088bc4734de031f6508180122368b7a4bac9011",
"size": "246",
"bi... |
<link rel="import" href="../bower_components/polymer/polymer.html">
<script src="https://www.dropbox.com/static/api/dropbox-datastores-1.0-latest.js" type="text/javascript"></script>
<polymer-element name="dropbox-datastore" attributes="key tables">
<template>
<style>
:host { display: none; }
</style>
... | {
"content_hash": "828f0790583d49f1e3e0773fcb0a226c",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 114,
"avg_line_length": 36.36363636363637,
"alnum_prop": 0.695,
"repo_name": "jyasskin/webpwdf",
"id": "6ab04bd1d13a5c4595aaabd70ffc903bfa76b03f",
"size": "400",
"binary"... |
#ifndef _TCOD_FOV_HPP
#define _TCOD_FOV_HPP
#include "fov_types.h"
class TCODPath;
/**
@PageName fov
@PageCategory Roguelike toolkits
@PageTitle Field of view
@PageDesc This toolkit allows to easily calculate the potential visible set of map cells from the player position.
A cell is potentially visible if the ... | {
"content_hash": "7996b947db0e31466ee8b5d5ae6d2333",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 207,
"avg_line_length": 43.96551724137931,
"alnum_prop": 0.7020588235294117,
"repo_name": "stevehalliwell/network-chat",
"id": "fc795decdbcb9ba5abaae7cb38f8b0d2266d3a48",
... |
require 'active_scaffold_mobile/engine'
require 'active_scaffold_mobile/version'
require 'mobile-fu'
module ActiveScaffoldMobile
cattr_reader :plugin_directory
@@plugin_directory = Pathname.new(File.expand_path('../..', __FILE__))
end
module ActiveScaffold
module Actions
ActiveScaffold.autoload_subdir('acti... | {
"content_hash": "8da21b26c5942d16400b90e90765b4e0",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 75,
"avg_line_length": 25.636363636363637,
"alnum_prop": 0.7304964539007093,
"repo_name": "activescaffold/active_scaffold_mobile",
"id": "e92583028aacef6ae0948a01c6305377ebca... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "10376f9c54cce79c078f2b2b0e6565de",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "6944a0aea4b4891e6c977fd86d6e70554d59769f",
"size": "173... |
(function () {
// globals
var _httpRequest; | {
"content_hash": "85507c3561d982ad611fb7541da72349",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 21,
"avg_line_length": 13.25,
"alnum_prop": 0.5471698113207547,
"repo_name": "larrifax/oidc-client",
"id": "1c38c86de25bc5add3b1ce41e73b89957f6b5689",
"size": "55",
"binar... |
$(document).ready(function() {
// A mapping of fedmsg topic fragments to DOM elements.
var selectors = {
'image-upload': '#image-upload',
// Disabling widget for showing Cloud Images test builds
// 'image-test': '#image-test'
}
var topics = {
'image-upload': 'org.fedoraproj... | {
"content_hash": "233cecb7dca20ddc0ab50c45fc74562b",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 77,
"avg_line_length": 36.1,
"alnum_prop": 0.46159657516998237,
"repo_name": "fedora-infra/fedora-releng-dash",
"id": "4bedde385338525bdb0c25cbb378fee30ee519d9",
"size": "... |
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Grid Layout Test: Sizing of an empty grid within a flexbox</title>
<link rel="author" title="Ethan Jimenez" href="mailto:ethavar@microsoft.com"/>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1246609">
<link rel="match" href="../reference/... | {
"content_hash": "e3e56cd29ae2960e3e5fe608a90465c5",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 102,
"avg_line_length": 27.454545454545453,
"alnum_prop": 0.6699779249448123,
"repo_name": "scheib/chromium",
"id": "1941800cb187428ebecf56cbbd2ca9d1bbdfd563",
"size": "906... |
using System;
using NDatabase;
using NDatabase.Api;
using NDatabase.Oid;
using NDatabase.Tool.Wrappers;
using NUnit.Framework;
using Test.NDatabase.Tool;
namespace Test.NDatabase.Odb.Test.Oid
{
[TestFixture]
public class TestOid : ODBTest
{
[Test]
public virtual void TestAndy1... | {
"content_hash": "0b9eee0668c69d353573476bf8f40777",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 119,
"avg_line_length": 31.147540983606557,
"alnum_prop": 0.4818421052631579,
"repo_name": "WaltChen/NDatabase",
"id": "d674dd375a3c2fc73ea00999c0ce483411dee9d0",
"size": ... |
<!DOCTYPE html>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=618017
Parsing XML must not override the version.
-->
<head>
<title>Test for Bug 618017</title>
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/Simple... | {
"content_hash": "b820e90f73d96e88a7db5ae4539e27d5",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 87,
"avg_line_length": 28.98181818181818,
"alnum_prop": 0.7296110414052698,
"repo_name": "sergecodd/FireFox-OS",
"id": "d952e4484b1781fc1625544f80595a3964dffa28",
"size": "... |
class ImageSourceEngine
{
public:
ImageSourceEngine(){};
virtual ~ImageSourceEngine(){};
virtual void setCurrentFrame(int curFrame) = 0;
virtual unsigned char* getColorImage() = 0;
virtual unsigned char* getLevelColorImage(int nLevel) = 0;
virtual void readUVDImage(DepthImageType& uImage, DepthImageType&... | {
"content_hash": "ce971a5db5681348a37ce28f219f13f0",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 111,
"avg_line_length": 26.174757281553397,
"alnum_prop": 0.7303412462908012,
"repo_name": "cvfish/PangaeaTracking",
"id": "15a96f8420dc1329f90104383ace16b3e28c7368",
"siz... |
from django.contrib import admin
from models import Media
admin.site.register(Media) | {
"content_hash": "0edc2888a84a73bfba83773fe7a63e07",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 32,
"avg_line_length": 21.25,
"alnum_prop": 0.8352941176470589,
"repo_name": "jamesmfriedman/django-primer",
"id": "c35444da7d1e3b747f58d241546ef7b01cee0ad9",
"size": "85",
... |
program testUUID
use fox_m_utils_uuid
! This just checks that we can generate the various
! types of UUID (without crashing) and checks that
! they have the correct syntax. We could also check
! that the UUID changes for each call and I think
! there is an additional check we could make within
! the... | {
"content_hash": "d53b0d3c2d41b8c86cd109a3f13b3364",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 82,
"avg_line_length": 24.98876404494382,
"alnum_prop": 0.5872302158273381,
"repo_name": "wilsonCernWq/Simula",
"id": "b47c587855ca81e0cfc1960ac181bd20d00f7ac9",
"size": "2... |
package alluxio.client.block.stream;
import java.nio.ByteBuffer;
/**
* A {@link PacketOutStream} which writes to a bytebuffer.
*/
public class TestPacketOutStream extends PacketOutStream {
public TestPacketOutStream(ByteBuffer buffer, long length) {
super(new TestPacketWriter(buffer), length);
}
}
| {
"content_hash": "6c1ccc12e8818ec3c0aca431cf63b171",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 62,
"avg_line_length": 22.357142857142858,
"alnum_prop": 0.7571884984025559,
"repo_name": "WilliamZapata/alluxio",
"id": "a80048e4aebba14e71858ec80c24fab96bb626b2",
"size":... |
using namespace util;
using namespace watchdog;
#define WATCHDOG_SERVE_PORT 6010
Logger *logger = NULL;
int main(int argc, char *argv[])
{
NewLogger("/var/log/watchdog/", &logger);
struct sockaddr_in recv_addr;
memset(&recv_addr, 0, sizeof(struct sockaddr_in));
recv_addr.sin_family = AF_INET;
r... | {
"content_hash": "b1155dfa470025e920f1abb8bc3e0ee1",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 80,
"avg_line_length": 22.321428571428573,
"alnum_prop": 0.6704,
"repo_name": "houbin/recipes",
"id": "81129883923a4afff281bf144829fb1240240af6",
"size": "776",
"binary":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.