text stringlengths 2 1.04M | meta dict |
|---|---|
package gossip
import (
"fmt"
"math"
"math/rand"
"sync"
"time"
"github.com/weaveworks/mesh"
"github.com/weaveworks/weave/common"
)
// Router to convey gossip from one gossiper to another, for testing
type unicastMessage struct {
sender mesh.PeerName
buf []byte
}
type broadcastMessage struct {
sender me... | {
"content_hash": "b70b4239785aba1b949bee355104dc68",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 107,
"avg_line_length": 25.726829268292683,
"alnum_prop": 0.6943496397421313,
"repo_name": "weaveworks/weave",
"id": "2824e83a1d6d132f6878ed8bd6cfeb1c31d46fd0",
"size": "5... |
FROM balenalib/armv7hf-debian:sid-run
LABEL io.balena.device-type="colibri-imx6"
RUN apt-get update && apt-get install -y --no-install-recommends \
less \
kmod \
nano \
net-tools \
ifupdown \
iputils-ping \
i2c-tools \
usbutils \
&& rm -rf /var/lib/apt/lists/*
RUN [ ! -d /.balena/messages ] && mkdir ... | {
"content_hash": "18e20bb7d2dac2f108b92deca1fdc0c9",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 608,
"avg_line_length": 54.25,
"alnum_prop": 0.7004608294930875,
"repo_name": "nghiant2710/base-images",
"id": "cbf6346fbec9f4762a1e27c63bd71fb5bcde8819",
"size": "1085",
... |
@implementation NSDateFormatter (YCYMake)
+(NSDateFormatter *)ycy_dateFormatterWithFormat:(NSString *)format {
return [self ycy_dateFormatterWithFormat:format timeZone:nil];
}
+(NSDateFormatter *)ycy_dateFormatterWithFormat:(NSString *)format timeZone:(NSTimeZone *)timeZone {
return [self ycy_dateFormatterWith... | {
"content_hash": "f530c224323a5cc17035e75f4bc9caf6",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 147,
"avg_line_length": 47.776119402985074,
"alnum_prop": 0.7353951890034365,
"repo_name": "CattleToCoaxStudio/YCYToolKit",
"id": "478da49d240f85065867aeea096ab265bca58b49",
... |
#include "extractor/guidance/turn_instruction.hpp"
#include "engine/plugins/plugin_base.hpp"
#include "engine/plugins/tile.hpp"
#include "util/coordinate_calculation.hpp"
#include "util/string_view.hpp"
#include "util/vector_tile.hpp"
#include "util/web_mercator.hpp"
#include "engine/api/json_factory.hpp"
#include ... | {
"content_hash": "4f213fc2192052d19966751f956272af",
"timestamp": "",
"source": "github",
"line_count": 1023,
"max_line_length": 100,
"avg_line_length": 47.19843597262952,
"alnum_prop": 0.5366995277938862,
"repo_name": "KnockSoftware/osrm-backend",
"id": "965882c45c5aee561a6dd710c128f644c797436c",
... |
class SocialSearchRailsEngine::ContactsController < ApplicationController
before_action :check_key
skip_before_action :check_key, only: [:auth]
def check_key
p 'checking the key'
@token = session[:token]
if(@token.nil?)
render :json => { success: :false, message: 'You must login first. ' }.to_json
end
... | {
"content_hash": "597638ea6d584b5196b7b9e6cdbb4b0d",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 82,
"avg_line_length": 22.857142857142858,
"alnum_prop": 0.6921875,
"repo_name": "jbavari/SocialSearchRailsEngine",
"id": "4e4aa84964b02bdfa46926de2e6a2030943d5465",
"size"... |
/**
*/
var BOOKS = [
{
"title": "The Personal MBA",
"author": "Josh Kaufman",
"cover": "the-personal-mba-cover.jpg"
},
{
"title": "Stuff Matters",
"author": "Mark Miodownik",
"cover": "stuff-matters-cover.jpg"
},
{
"title": "A Random Walk Down Wall Street",
"author": "Burton Malkiel",
"cover": "... | {
"content_hash": "4a9af4ce01883d221dd9a7da2d2bc485",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 113,
"avg_line_length": 26.593333333333334,
"alnum_prop": 0.6264728002005515,
"repo_name": "jjestrel/jjestrel.github.io",
"id": "9bca31fc45c48cd351856fddbfee23042262afd7",
... |
layout: post
title: Android DEPPLINK及APPLink原理简析
category: Android
---
APP开发中经常会有这种需求:在浏览器或者短信中唤起APP,如果安装了就唤起,否则引导下载。对于Android而言,这里主要牵扯的技术就是deeplink,也可以简单看成scheme,Android一直是支持scheme的,但是由于Android的开源特性,不同手机厂商或者不同浏览器厂家处理的千奇百怪,有些能拉起,有些不行,本文只简单分析下link的原理,包括deeplink,也包括Android6.0之后的AppLink。**其实个人认为,AppLink可以就是deeplink,只不过... | {
"content_hash": "4b8c154bf30e4eb87e5c3b23b2564063",
"timestamp": "",
"source": "github",
"line_count": 552,
"max_line_length": 470,
"avg_line_length": 44.416666666666664,
"alnum_prop": 0.6688147483481524,
"repo_name": "happylishang/happylishang.github.io",
"id": "3cee8d46c51cf5d91b22de0fb4cb58ce531a... |
// a hash table buffer that can expand, and can support as many deletions as
// additions, list-based, with elements of list held in array (for destruction
// management), multiplicative hashing (like ets). No synchronization built-in.
//
#ifndef __TBB__flow_graph_hash_buffer_impl_H
#define __TBB__flow_graph_hash_b... | {
"content_hash": "a9cc5714d07127a91932417a6a03aec5",
"timestamp": "",
"source": "github",
"line_count": 235,
"max_line_length": 109,
"avg_line_length": 39.85531914893617,
"alnum_prop": 0.5844544095665172,
"repo_name": "Teaonly/easyLearning.js",
"id": "46755fe07078525fe64ea399248579ae794c383c",
"siz... |
package com.insightfullogic.honest_profiler.core.parser;
import org.slf4j.Logger;
import java.nio.BufferUnderflowException;
import java.nio.ByteBuffer;
import static com.insightfullogic.honest_profiler.core.parser.LogParser.AmountRead.*;
public class LogParser
{
private static final int NOT_WRITTEN = 0;
p... | {
"content_hash": "4f114be8746cbd427ee6dd9ac956162f",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 112,
"avg_line_length": 28.452380952380953,
"alnum_prop": 0.5838214783821478,
"repo_name": "ofdrm/honest-profiler",
"id": "5dbce0c9ffdc4e82041e2b2288ff9ef989da3215",
"size... |
layout: default
---
<div class="home">
<p class="intro">I'm a front-end web developer with a focus on modern
JavaScript workflows and tooling, and a yen for functional programming.</p>
<h1 class="section-heading">Skillset</h1>
{% for skill in site.skills %}
<p class="skill" data-powertip="{{ skill.conte... | {
"content_hash": "fe76c6ef8ec236a8037f6bf02add9f55",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 94,
"avg_line_length": 26.746478873239436,
"alnum_prop": 0.5118483412322274,
"repo_name": "b-paul/b-paul.github.io",
"id": "9f4197b254f785543c54920e752ba9db0c9eb9a9",
"size... |
from crispy_forms.helper import FormHelper
from crispy_forms.layout import Submit
from django import forms
class SearchFrom(forms.Form):
search_widget = forms.TextInput(attrs={'placeholder': 'Event name, location, description...'})
q = forms.CharField(required=False, label='Search', widget=search_widget)
... | {
"content_hash": "02fb264a3ba473fa14f8a3dac5d6fefc",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 98,
"avg_line_length": 31.321428571428573,
"alnum_prop": 0.6259977194982896,
"repo_name": "MihaZelnik/Meeple",
"id": "2ec23d3c6b167ffbeeb6a5915b71b397fef4b003",
"size": "87... |
import logging
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from horizon.utils import memoized
from ironic_discoverd import client as discoverd_client
from ironicclient import client as ironic_client
from openstack_dashboard.api import base
from openstack_dashboard.api impor... | {
"content_hash": "8714203910368b58ca35c0b6349d2370",
"timestamp": "",
"source": "github",
"line_count": 420,
"max_line_length": 77,
"avg_line_length": 33.7,
"alnum_prop": 0.6035749611417267,
"repo_name": "rdo-management/tuskar-ui",
"id": "12b037b44a46c4f7bf9fac07d5208acb603e8a16",
"size": "14727",
... |
namespace Umbraco.Cms.Tests.Common.Builders.Interfaces;
public interface IAccountBuilder : IWithLoginBuilder,
IWithEmailBuilder,
IWithFailedPasswordAttemptsBuilder,
IWithIsApprovedBuilder,
IWithIsLockedOutBuilder,
IWithLastLoginDateBuilder,
IWithLastPasswordChangeDateBuilder
{
}
| {
"content_hash": "b41c7b999c572a6135f95f7957850b2d",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 55,
"avg_line_length": 27.727272727272727,
"alnum_prop": 0.819672131147541,
"repo_name": "umbraco/Umbraco-CMS",
"id": "e6ac2438b84c172440e760ef04cc082ced2af6e8",
"size": "3... |
package com.googlecode.aluminumproject.libraries.io.actions;
import com.googlecode.aluminumproject.AluminumException;
import com.googlecode.aluminumproject.annotations.Required;
import com.googlecode.aluminumproject.context.Context;
import com.googlecode.aluminumproject.libraries.actions.AbstractAction;
import com.go... | {
"content_hash": "bad699a161e635a5dae4d0b75db9eb74",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 95,
"avg_line_length": 39.48275862068966,
"alnum_prop": 0.7633187772925765,
"repo_name": "levi-h/aluminumproject",
"id": "33599550e422a88afc355f253c661f313ef509f8",
"size":... |
from setuptools import setup, find_packages
version = '1.3'
setup(
name='i2a',
version=version,
description='i2a creates ASCII art from images right on your terminal.',
long_description=open('README.rst').read(),
author='Sid Verma',
author_email='sid@sidverma.net',
license='MIT',
keywo... | {
"content_hash": "c39418d0f47218d12b4fa6af4251f424",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 76,
"avg_line_length": 23.84,
"alnum_prop": 0.5771812080536913,
"repo_name": "mavidser/i2a",
"id": "857805f918381d44d264c4e2dbe5cf2088c5af65",
"size": "619",
"binary": fa... |
<?php
namespace Sonata\CacheAltBundle\Adapter;
use Symfony\Component\Routing\RouterInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Process\Process;
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
use Symfony\Component\HttpKernel\Controller\ControllerResolverInter... | {
"content_hash": "5e7763e7f5ef0ba2117d1b5972052b6b",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 136,
"avg_line_length": 26.382978723404257,
"alnum_prop": 0.5816532258064516,
"repo_name": "petitp/SonataCacheBundleAlt",
"id": "42e405b4b747e243ad893e2bdac4f0df1d3c3095",
... |
'use strict';
var fs = require('fs')
, logEvents = require('../../lib/log-events')
, Images = require('../../').Images
, Containers = require('../../').Containers
, createDocker = require('../../').createDocker
, dockerhost = process.env.DOCKER_HOST
, testUnoTar = __dirname + '/../... | {
"content_hash": "28cecf674bed5ac6df3a49b701911e6c",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 62,
"avg_line_length": 26.65277777777778,
"alnum_prop": 0.607608129233976,
"repo_name": "thlorenz/dockops",
"id": "f4b1a5f37430e8389f5a1980091d2a3a894e36a0",
"size": "1919"... |
package com.planet_ink.coffee_mud.Common;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.exceptions.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet... | {
"content_hash": "243803bd826680e79b570dd30756e55f",
"timestamp": "",
"source": "github",
"line_count": 10112,
"max_line_length": 216,
"avg_line_length": 45.36550632911393,
"alnum_prop": 0.4294539778870636,
"repo_name": "welterde/ewok",
"id": "665a4f9350a9285746e98350056df9b5602eea37",
"size": "459... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Yu... | {
"content_hash": "a505b0c7625aed8eaaa74d7d9bee4692",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 84,
"avg_line_length": 38.542857142857144,
"alnum_prop": 0.7472201630837657,
"repo_name": "andreaorimoto/hyshhweb",
"id": "ad89f6ded1a6f64a43593be2f35ed5b298059920",
"size"... |
package com.google.cloud.videointelligence.v1p1beta1.stub.samples;
// [START videointelligence_v1p1beta1_generated_VideoIntelligenceServiceStubSettings_AnnotateVideo_sync]
import com.google.cloud.videointelligence.v1p1beta1.stub.VideoIntelligenceServiceStubSettings;
import java.time.Duration;
public class SyncAnnot... | {
"content_hash": "1443228d8f2a9f4161f048ec8096446f",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 104,
"avg_line_length": 45.361111111111114,
"alnum_prop": 0.7587262706674831,
"repo_name": "googleapis/google-cloud-java",
"id": "531098bfe46b71e9991ad893e9fba1af420e6fb0",
... |
Legacy of the Caste War in The Yucatan
====================================
More than a hundred years after the end of the Caste War Yucatan is still divided.
1.- Run download_padron.sh
1.- Use R to run run_all.R
You'll need to install ssconvert from gnumeric to clean the xls files from the listado nominal
GDF file... | {
"content_hash": "b884a4c0bcf767c037995ed6b78a14b6",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 94,
"avg_line_length": 33.81818181818182,
"alnum_prop": 0.7016129032258065,
"repo_name": "diegovalle/caste-war",
"id": "e79e785b1547bcb1fbf2bae5d9539281c8e196a0",
"size": "... |
package com.nilhcem.devoxxfr.core.dagger;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import okhttp3.OkHttpClient;
@Module
public class OkHttpModule {
@Provides @Singleton OkHttpClient provideOkHttpClient(OkHttpClient.Builder builder) {
return builder.build();
}
}
| {
"content_hash": "70b6a190d4725d6a0b099f40b37be7a9",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 89,
"avg_line_length": 21.2,
"alnum_prop": 0.7704402515723271,
"repo_name": "Nilhcem/devoxxfr-2016",
"id": "b4774b8d945ce2e3c576232359f35e06acfd91c0",
"size": "318",
"bin... |
from testing import unittest, RedconTestBase
from redcon.model import ModelMeta
from redcon.fields import Field
class TestClassToKeyRegex(unittest.TestCase):
def setUp(self):
self.re = ModelMeta.re_cls_to_key
def test_standard_camel_case(self):
name = 'MyAwesomeClass'
expected = ['M... | {
"content_hash": "cae6ae8455e303540e823ec708b3dff7",
"timestamp": "",
"source": "github",
"line_count": 211,
"max_line_length": 92,
"avg_line_length": 32.14691943127962,
"alnum_prop": 0.6001769128704113,
"repo_name": "atatsu/redcon",
"id": "bb6a3780d584c060f860998452cc0e84cb0343a4",
"size": "6783",... |
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using YleService;
public class SearchMenu : MonoBehaviour, TableViewDataSource
{
public TableView MainTableView;
public ScrollRect MainScrollRect;
public InputField SearchInputField;
public Button SearchButton;
public YlePr... | {
"content_hash": "50c609db19a0904f84d51cd2788412b6",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 83,
"avg_line_length": 29.015151515151516,
"alnum_prop": 0.6783289817232376,
"repo_name": "Rathnadeviprasath1/yle-search-query",
"id": "480c17d99027ab64bc9a20dab8892181078ff3... |
-- |
-- Module : Crypto.Saltine.Core.Hash
-- Copyright : (c) Joseph Abrahamson 2013
-- License : MIT
--
-- Maintainer : me@jspha.com
-- Stability : experimental
-- Portability : non-portable
--
-- Hashing: "Crypto.Saltine.Core.Hash"
--
-- The 'hash' function hashes a message 'ByteString' and returns a
--... | {
"content_hash": "61b423005670fb729f17a6138c4382c8",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 104,
"avg_line_length": 38.12621359223301,
"alnum_prop": 0.675833969951617,
"repo_name": "tel/saltine",
"id": "1bac29730de780b4f5cd345c8203b0e1985cd1bc",
"size": "3927",
... |
using System;
using Xamarin.Forms;
using System.Collections.ObjectModel;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System.Collections.Generic;
namespace tdlr
{
public class TaskListPage : ContentPage
{
public IPlatformParameters platformParams { get; set; }
Image _delete;
Image _edit;
Im... | {
"content_hash": "efaa254c85044eee5a24dd1bd4b2fe8d",
"timestamp": "",
"source": "github",
"line_count": 369,
"max_line_length": 141,
"avg_line_length": 25.647696476964768,
"alnum_prop": 0.6482459847844463,
"repo_name": "skwan/cloudroadshow-xamarin",
"id": "0af56d2b89ff39c8d04f4f88236eb9353958f276",
... |
.class Landroid/widget/VideoView$3;
.super Ljava/lang/Object;
.source "VideoView.java"
# interfaces
.implements Landroid/media/MediaPlayer$OnCompletionListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/widget/VideoView;
.end annotation
.annotation system Ldalvik/annot... | {
"content_hash": "a067e12176e3b629663bb02499793433",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 123,
"avg_line_length": 28.532608695652176,
"alnum_prop": 0.7367619047619047,
"repo_name": "hexiaoshuai/Flyme_device_ZTE_A1",
"id": "9d0ced06a0e70c371edbc2fae59ef5301bc937d0"... |
package org.elasticsearch.index.mapper.core;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.document.Field;
import org.apache.lucene.document.FieldType;
import org.apache.lucene.search.Filter;
import org.apache.lucene.search.NumericRangeFilter;
imp... | {
"content_hash": "34d9302a82116cedf6384d129eb31a73",
"timestamp": "",
"source": "github",
"line_count": 371,
"max_line_length": 181,
"avg_line_length": 39.05390835579515,
"alnum_prop": 0.6183311477672717,
"repo_name": "synhershko/elasticsearch",
"id": "aaa045c06483d27fe33a916cee171dba5fbe3b3c",
"si... |
<?php
/*
* GENERATED CODE WARNING
* This file was generated from the file
* https://github.com/google/googleapis/blob/master/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto
* and updates to that file get reflected here through a refresh process.
*/
namespace Google\Cloud\Errorreporting\V1b... | {
"content_hash": "30b78729588c94dc066527143dcd6bdf",
"timestamp": "",
"source": "github",
"line_count": 521,
"max_line_length": 121,
"avg_line_length": 41.16698656429942,
"alnum_prop": 0.594414397612831,
"repo_name": "geigerj/api-client-staging",
"id": "ac61f58809ad5fffe2c37ac35cb82c9edeee81b1",
"s... |
<p class="description">Gerencie rapidamente o leiaute, o alinhamento e o dimensionamento de colunas de grade, navegação, componentes e muito mais com um conjunto completo de utilitários flexbox responsivos.</p>
Se você é **novo ou não está familiarizado com o flexbox**, nós recomendamos você a ler este [guia do Flexbo... | {
"content_hash": "f66467dc9258f3272a55072fca745ac6",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 210,
"avg_line_length": 29.73125,
"alnum_prop": 0.5991170906033214,
"repo_name": "callemall/material-ui",
"id": "cecba72e46622c71bdbd8ad180e9864bfa849be1",
"size": "4883",... |
'use strict';
/**
* Module dependencies
*/
var blogsPolicy = require('../policies/blogs.server.policy'),
blogs = require('../controllers/blogs.server.controller'),
comments = require('../controllers/comments.server.controller');
module.exports = function(app) {
// Blogs Routes
app.route('/api/blogs').all(bl... | {
"content_hash": "35ba8c4687465fecda9e93fbc8a069cf",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 66,
"avg_line_length": 23.87878787878788,
"alnum_prop": 0.6713197969543148,
"repo_name": "AmirMustafa/Blog-Application",
"id": "715c5660b47b4addcc9c8cf3440fee47e3337c76",
"... |
module AuditScopable
extend ActiveSupport::Concern
included do
scope :created_n_days_ago,
->(n) { where("current_date - created_at::date = ?", n) }
scope :updated_n_days_ago,
->(n) { where("current_date - updated_at::date = ?", n) }
scope :xchanged_n_days_ago,
(lambda do |n... | {
"content_hash": "a4b1a851113b2ecb900fc2955f6930e9",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 68,
"avg_line_length": 34.74193548387097,
"alnum_prop": 0.5329619312906221,
"repo_name": "bio-org-au/nsl-editor",
"id": "60a8430b560281eea2ca4821d73826a9eb75d1fd",
"size": ... |
#ifndef ASVECTOR_HEADER_FILE_INCLUDED
#define ASVECTOR_HEADER_FILE_INCLUDED
#ifdef __cplusplus
extern "C" {
#endif
typedef struct ASVector
{
void *memory ;
size_t allocated, used ;
size_t unit ;
}ASVector;
#define DECL_VECTOR(t,v) ASVector v = {NULL,0,0,sizeof(t)}
#define DECL_VECTOR_RAW(v) ASVector ... | {
"content_hash": "e60977a4290da5d6fa301a4e78a784bd",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 138,
"avg_line_length": 35.483333333333334,
"alnum_prop": 0.6632221700328793,
"repo_name": "born2late/afterstep-devel",
"id": "242bbb8a2c4aec99ac5b81832a15eadcd6e87216",
"s... |
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... | {
"content_hash": "cc5c156faf81aa0ee4fa1e5ba19a1713",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 131,
"avg_line_length": 40.45348837209303,
"alnum_prop": 0.6935901121011785,
"repo_name": "googleads/googleads-java-lib",
"id": "7d6fd4fe546bad88e1972d8b483e3f40fd334ba3",
... |
define([
'underscore',
'knockback',
'contrail-view',
'contrail-list-model',
'monitor/infrastructure/controlnode/ui/js/models/ControlNodeRoutesModel'
//Remove all query references once it is moved to core
], function (_, Knockback, ContrailView, ContrailListModel, ControlNodeRoutesModel) {
... | {
"content_hash": "213f5688deb0213dd9e5fccf135a2aeb",
"timestamp": "",
"source": "github",
"line_count": 403,
"max_line_length": 122,
"avg_line_length": 51.11414392059553,
"alnum_prop": 0.3822515656099811,
"repo_name": "biswajit-mandal/contrail-web-controller",
"id": "16e9a0fad794b4172e9c65f55f01ca417... |
<?php
/**
* DO NOT EDIT!
* This file was automatically generated via bin/generate-validator-spec.php.
*/
namespace AmpProject\Validator\Spec\Error;
use AmpProject\Validator\Spec\Error;
use AmpProject\Validator\Spec\SpecRule;
/**
* Error class InvalidAttrValue.
*
* @package ampproject/amp-toolbox.
*
* @prope... | {
"content_hash": "7840380afb5156e649873e2a21c38c0a",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 101,
"avg_line_length": 20.666666666666668,
"alnum_prop": 0.6215880893300249,
"repo_name": "ampproject/amp-toolbox-php",
"id": "5ee097314513d9d76dd005e1e596af1a87401951",
"... |
<query xmlns="http://labkey.org/data/xml/query">
<metadata>
<tables xmlns="http://labkey.org/data/xml">
<table tableName="demographicsAssignments" tableDbType="NOT_IN_DB">
<columns>
<column columnName="Id">
<isKeyField>true</isKey... | {
"content_hash": "785f79e5021450e94b9b181d292e6f9e",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 82,
"avg_line_length": 48.16216216216216,
"alnum_prop": 0.40235690235690236,
"repo_name": "WNPRC-EHR-Services/wnprc-modules",
"id": "7d482da0c899bb64b1596997fe19e6c20305250b"... |
package com.king.photo.util;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.GridView;
public class NoScrollGridView extends GridView {
public NoScrollGridView(Context context) {
super(context);
}
public NoScrollGridView(Context context, AttributeSet attrs) {
super(cont... | {
"content_hash": "e5f536ec26819bd3da40c2ceec250699",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 72,
"avg_line_length": 26.714285714285715,
"alnum_prop": 0.7825311942959001,
"repo_name": "androidWeq/ItHome",
"id": "678b2a38e8524591cc46876229859cc8c5f813b0",
"size": "56... |
#import "CPTPlot.h"
#import "CPTExceptions.h"
#import "CPTFill.h"
#import "CPTGraph.h"
#import "CPTLegend.h"
#import "CPTLineStyle.h"
#import "CPTMutableNumericData+TypeConversion.h"
#import "CPTMutablePlotRange.h"
#import "CPTPathExtensions.h"
#import "CPTPlotArea.h"
#import "CPTPlotAreaFrame.h"
#import "CPTPlotSpace... | {
"content_hash": "48efbe4a8ddea6b6820a7c43de498ffe",
"timestamp": "",
"source": "github",
"line_count": 2315,
"max_line_length": 153,
"avg_line_length": 36.309719222462206,
"alnum_prop": 0.6219827022139739,
"repo_name": "bendermh/RombergLab",
"id": "f15d59c1a9bb9482a70c32d1157537ee0c3ecafd",
"size"... |
/* $NetBSD: setprogname.c,v 1.3 2003/07/26 19:24:44 salo Exp $ */
/*
* Copyright (c) 2001 Christopher G. Demetriou
* 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 o... | {
"content_hash": "d4b354ccad59e90f836da5500dd82146",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 76,
"avg_line_length": 38.10769230769231,
"alnum_prop": 0.7274929350020186,
"repo_name": "execunix/vinos",
"id": "489952371182e2354187a29e2ca545f2da57ffc7",
"size": "2477",... |
require 'spec_helper'
describe "RailsAdmin Basic Update" do
subject { page }
describe "update with errors" do
before(:each) do
@player = FactoryGirl.create :player
visit rails_admin_edit_path(:model_name => "player", :id => @player.id)
end
it "should return to edit page" do
fill_in... | {
"content_hash": "4dcf6636cc38468f28d9418129f798e5",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 181,
"avg_line_length": 29.894495412844037,
"alnum_prop": 0.6344943992634647,
"repo_name": "10to1/rails_admin",
"id": "7ab8c88a1f785cf10d1c71ef2d83ffbda93765fa",
"size": "... |
/**
*/
package fr.obeo.dsl.sPrototyper.impl;
import fr.obeo.dsl.sPrototyper.AcceleoExpression;
import fr.obeo.dsl.sPrototyper.SPrototyperPackage;
import org.eclipse.emf.ecore.EClass;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Acceleo Expression</b></em>'.
* <!-- end-user-doc --... | {
"content_hash": "3ea5153d6d994143e106cfe4461d9b9b",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 101,
"avg_line_length": 19.714285714285715,
"alnum_prop": 0.643719806763285,
"repo_name": "glefur/s-prototyper",
"id": "19e3504b9b5e5e356718834072ae3738767a3606",
"size": "... |
Date and Time masks.
# Aliases
- datetime
# Options
## inputFormat
Format used to input the date
ex:
- dd/mm/yyyy
- mm/dd/yyyy
- dd.mm.yyyy HH:MM:ss
### Supported symbols
- d
Day of the month as digits; no leading zero for single-digit days.
- dd
Day of the month as digits; leading zero for single-di... | {
"content_hash": "1e59697e2b523a129aef1997399894b2",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 135,
"avg_line_length": 26.544554455445546,
"alnum_prop": 0.7154046997389034,
"repo_name": "RobinHerbots/Inputmask",
"id": "1579830bf362d40993feccb960d58140a2fa714b",
"siz... |
#ifndef GREP_SEARCH_H
#define GREP_SEARCH_H 1
#include <config.h>
#include <sys/types.h>
#include "mbsupport.h"
#include <wchar.h>
#include <wctype.h>
#include <regex.h>
#include "system.h"
#include "error.h"
#include "grep.h"
#include "kwset.h"
#include "xalloc.h"
/* searchutils.c */
extern void kwsinit (kwset... | {
"content_hash": "e342f8f24164f111d34d381e760f68cd",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 77,
"avg_line_length": 22.625,
"alnum_prop": 0.6674033149171271,
"repo_name": "c9/node-gnu-tools",
"id": "3074407e7ecf8f7af056ac6ebcd6ba2556bf58fe",
"size": "1763",
"bina... |
<!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_60) on Tue Aug 26 20:50:07 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.a... | {
"content_hash": "0919684e1fe1fa61701d051d85ac6740",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 127,
"avg_line_length": 35.916030534351144,
"alnum_prop": 0.5904357066950053,
"repo_name": "jamesvanmil/solr_config",
"id": "f366c54b509417d55737190dcc58930fdbbab39c",
"si... |
#include "saveConfig.h"
#include <boost/filesystem.hpp>
#include <fstream>
#include <iostream>
#include <vector>
#include "stringTool.h"
namespace SaveConfig
{
ConfigItem::ConfigItem()
{
key = "";
value = "";
}
ConfigItem::ConfigItem(const std::string &key, const std::string &value)
... | {
"content_hash": "8fa454ca4e393a9397207fa1e7f7c59c",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 94,
"avg_line_length": 31.178770949720672,
"alnum_prop": 0.4843218061279341,
"repo_name": "holmesfems/PasswordBook",
"id": "fc0b8e17c87975082fdc5a50b03a2e40250b53bd",
"siz... |
package notify
import (
"bytes"
"crypto/sha256"
"crypto/tls"
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"mime"
"mime/multipart"
"net"
"net/http"
"net/mail"
"net/smtp"
"net/textproto"
"net/url"
"strings"
"time"
"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/prometheus/com... | {
"content_hash": "3270a7621d53751d966fca3fde31fb36",
"timestamp": "",
"source": "github",
"line_count": 1336,
"max_line_length": 161,
"avg_line_length": 28.119011976047904,
"alnum_prop": 0.6705885484600846,
"repo_name": "tyrken/alertmanager",
"id": "179290baca1f0d7e6aedf17ce6a9544472ec71d0",
"size"... |
require "spec_helper"
describe CanCan::Ability do
before(:each) do
@ability = Object.new
@ability.extend(CanCan::Ability)
end
it "should be able to :read anything" do
@ability.can :read, :all
@ability.can?(:read, String).should be_true
@ability.can?(:read, 123).should be_true
end
it "sh... | {
"content_hash": "215f691beac04bce30be1bdc38d0dfa0",
"timestamp": "",
"source": "github",
"line_count": 452,
"max_line_length": 164,
"avg_line_length": 35.75,
"alnum_prop": 0.6530107061080512,
"repo_name": "StartupWeekend/cancan",
"id": "0cc84e5dc6690391f9b38776bb304ced4405c306",
"size": "16159",
... |
<!-- dx-header -->
# Bismark-ENCODE-WGBS (DNAnexus Platform Workflow)
Pipeline for ENCODE WGBS analysis using Bismark
This is the source code for an app that runs on the DNAnexus Platform.
For more information about how to run or modify it, see
https://wiki.dnanexus.com/.
<!-- /dx-header -->
<!--
TODO: This app di... | {
"content_hash": "32b969bc0c0061de898ccfc7d9039322",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 72,
"avg_line_length": 30.761904761904763,
"alnum_prop": 0.7554179566563467,
"repo_name": "ENCODE-DCC/dna-me-pipeline",
"id": "4c4b7f104d6e37b18b0f212bffbf20dc70b4eabc",
"s... |
package controllers;
import java.io.IOException;
import java.io.InputStream;
import ninja.Context;
import ninja.Renderable;
import ninja.Result;
import ninja.Results;
import ninja.exceptions.InternalServerErrorException;
import ninja.i18n.Lang;
import ninja.utils.MimeTypes;
import ninja.utils.ResponseStreams;
impo... | {
"content_hash": "018d1ff7aed46351920c93cdd6fd62c4",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 80,
"avg_line_length": 29.99236641221374,
"alnum_prop": 0.5332145584118096,
"repo_name": "tom1120/ninja",
"id": "8e6a5b41f3ca69d64dc92bfb86e4612c6bb1c096",
"size": "4553",... |
package org.apache.flink.table.typeutils
import org.apache.flink.api.common.ExecutionConfig
import org.apache.flink.api.common.typeinfo.TypeInformation
import org.apache.flink.api.common.typeutils.TypeSerializer
import org.apache.flink.api.common.typeutils.base.MapSerializer
import org.apache.flink.table.api.datavie... | {
"content_hash": "4973e9c24915f830281001cb38529516",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 91,
"avg_line_length": 30.774647887323944,
"alnum_prop": 0.6892448512585813,
"repo_name": "ueshin/apache-flink",
"id": "421312ab3c52cbfcb13016588ae46bbf972db30b",
"size": "... |
package root
import (
"fmt"
controlplane "github.com/kubernetes-incubator/kube-aws/core/controlplane/cluster"
config "github.com/kubernetes-incubator/kube-aws/core/controlplane/config"
nodepool "github.com/kubernetes-incubator/kube-aws/core/nodepool/cluster"
)
// TemplateParams is the set of parameters exposed f... | {
"content_hash": "9187603619c540df17fdbcbbc6a12df0",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 103,
"avg_line_length": 22.549618320610687,
"alnum_prop": 0.7437373053486798,
"repo_name": "camilb/kube-aws",
"id": "492053887dc1bd591e27f4e0708b2c3286a00484",
"size": "29... |
/* $Xorg: lcConv.c,v 1.4 2000/08/17 19:45:17 cpqbld Exp $ */
/*
* Copyright 1992, 1993 by TOSHIBA Corp.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted, provided
* that the above copyright notice appear in all copies and th... | {
"content_hash": "3f01e42d3355122e86ae8f2412ad0de8",
"timestamp": "",
"source": "github",
"line_count": 338,
"max_line_length": 78,
"avg_line_length": 23.869822485207102,
"alnum_prop": 0.6388200297471492,
"repo_name": "easion/os_sdk",
"id": "88ae52f400b903f960446ed65f0b4f5d3a5ccea9",
"size": "8068"... |
title: Apache Mesos - Committers
layout: documentation
---
# Committers
An Apache Mesos committer is a contributor who has been given write access to the Apache Mesos code repository and related Apache infrastructure. In the Mesos project, each committer is also a voting member of the PMC.
## Becoming a committer
E... | {
"content_hash": "d828dc942f8f82228523615fe485a97e",
"timestamp": "",
"source": "github",
"line_count": 431,
"max_line_length": 883,
"avg_line_length": 26.691415313225058,
"alnum_prop": 0.5910118219749653,
"repo_name": "yuquanshan/customizedMesos",
"id": "1968c61b2f3bb1579b953f3fbf6c595861eb921d",
... |
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>ScalaTest 3.0.7 - org.scalatest.Entry</title>
<meta name="descripti... | {
"content_hash": "d4b0dc4dc599276667fbc7ce2b68ff00",
"timestamp": "",
"source": "github",
"line_count": 1553,
"max_line_length": 693,
"avg_line_length": 81.1120412105602,
"alnum_prop": 0.6258623290226806,
"repo_name": "scalatest/scalatest-website",
"id": "f3353ddcd620520f99f182b157a1bc0b2370d263",
... |
title: "Bretagne Atelier"
date: 2016-11-02 19:06
layout: post
category: ["entreprise"]
tags: []
tagid: "Bretagne Atelier"
#embed_youtube:
illustration: /images/bretagneatelier.jpg
entreprise.geocode: [48.053525,-1.698077]
entreprise.effectif: 600
entreprise.chiffredaffaire: 21 M€
entreprise.activite: Fabrication d'aut... | {
"content_hash": "cb6631e3216d94e4c7ddeca30387efdf",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 328,
"avg_line_length": 47.72222222222222,
"alnum_prop": 0.8009313154831199,
"repo_name": "organisationsliberees/organisationsliberees.github.io",
"id": "8cd65221658e9941a6e0... |
//
// ScribbleEraseView.m
#import "ScribbleEraseView.h"
#import "Scribble.h"
#import "ScribCapControl.h"
#import "TLogControlMacro.h"
#define kEraseWidthAmplifyFactor (4.0)
float const TScribbleLineWidth = 4.0;
@interface ScribbleEraseView ()<ScribProcessor,ScribbleViewDelegate>
@property (nonatomic,strong) NS... | {
"content_hash": "e9fa5f1e10891642995efa9ad9db0039",
"timestamp": "",
"source": "github",
"line_count": 266,
"max_line_length": 114,
"avg_line_length": 33.59398496240601,
"alnum_prop": 0.6732318710832588,
"repo_name": "npctech/Tattle-UI-iOS",
"id": "277ea25b394a22f19057029eb019c7b7a019ad0f",
"size"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Class org.apache.poi.hssf.record.PageBreakRecord.Break (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.... | {
"content_hash": "6dcc9b9d060e1d6bdc23a701a297b751",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 376,
"avg_line_length": 44.5919540229885,
"alnum_prop": 0.6427374661683206,
"repo_name": "tringuyen1401/Stock-analyzing",
"id": "7b91fa84e1732512f39cfb769b8ae17e54a8b1d0",
... |
'use strict';
let Reflux = require('reflux');
let request = require('superagent');
let actions = require('../actions/app-actions');
let ProductStore = Reflux.createStore({
init() {
this.data = {
products: {
food: [],
fashion: []
}
};
this.listenTo(actions.loadPage, this.loa... | {
"content_hash": "ae77ccac763308962f224d5c854cf5f8",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 77,
"avg_line_length": 21.216216216216218,
"alnum_prop": 0.5745222929936306,
"repo_name": "JonnyCheng/react-reflux-super-fantastic-shop-demo",
"id": "9d1e1607c20c2e356da775a2... |
using namespace std;
public ref class jcOWLManager {
public:
System::String^ Run();
}; | {
"content_hash": "5440f0bfb353c0703d9f59917fda3109",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 31,
"avg_line_length": 15,
"alnum_prop": 0.7111111111111111,
"repo_name": "jcapellman/jcOWL",
"id": "1d027e44cec5b3b35caaa3a6bec7953b7806c89d",
"size": "114",
"binary": fa... |
/**
* PublisherQueryLanguageContextErrorReason.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.v201308;
public class PublisherQueryLanguageContextErrorReason implements java.io.Serializable {
private jav... | {
"content_hash": "5a32ce05a129cbe92c8fd1604f33ad0a",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 157,
"avg_line_length": 44.02857142857143,
"alnum_prop": 0.7128487994808566,
"repo_name": "google-code-export/google-api-dfp-java",
"id": "a8f86e463f91237d3883e09a194adc36be3... |
import actors.HostingActor
import akka.actor._
import akka.cluster.Cluster
import akka.cluster.ClusterEvent._
import clashcode.Hello
import clashcode.PrisonerRequest
import clashcode.PrisonerResponse
import clashcode.{PrisonerResponse, PrisonerRequest, Hello, NameRequest}
import com.clashcode.web.controllers.Applicatio... | {
"content_hash": "b2fd48f3f0398dc255a061249fff2dbc",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 75,
"avg_line_length": 27.396551724137932,
"alnum_prop": 0.7337948395217118,
"repo_name": "clashcode/clashcode",
"id": "bd433a9f21849f74af4c2ab68be640326fae452f",
"size": "... |
<?php
namespace Encore\Admin\Grid\Displayers;
use Encore\Admin\Admin;
class RowSelector extends AbstractDisplayer
{
public function display()
{
Admin::script($this->script());
return <<<EOT
<input type="checkbox" class="{$this->grid->getGridRowName()}-checkbox" data-id="{$this->getKey()}" a... | {
"content_hash": "ddd104b40680d203b4ffc638fbfde615",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 121,
"avg_line_length": 22.916666666666668,
"alnum_prop": 0.5512727272727272,
"repo_name": "qq447665722/laravel-admin",
"id": "bacccbca072ac56d853e26d8d0cc265f275bd397",
"s... |
#include "RenderBackgroundComponent.h"
#include "Scene.h"
#include "Renderer.h"
namespace af
{
RenderBackgroundComponent::RenderBackgroundComponent(const Image& image,
float imageWidth, float imageHeight,
... | {
"content_hash": "d5b6f24d69e43c09cfa71fb57ec6066b",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 93,
"avg_line_length": 30.98611111111111,
"alnum_prop": 0.6270730614074406,
"repo_name": "Sheph/airforce",
"id": "68181917f3f9feb44ee04de8464915ab8b929d1a",
"size": "3604",... |
ACCEPTED
#### According to
The National Checklist of Taiwan
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b3f3944894ca14c8bab26db62393747e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 32,
"avg_line_length": 9.76923076923077,
"alnum_prop": 0.7007874015748031,
"repo_name": "mdoering/backbone",
"id": "ead8e92970b0359b0c10b096d2666a6e1ee50c1a",
"size": "183"... |
<?php
namespace frontend\models;
use Yii;
/**
* This is the model class for table "user".
*
* @property integer $id
* @property string $username
* @property string $auth_key
* @property string $password_hash
* @property string $password_reset_token
* @property string $email
* @property integer $status
* @p... | {
"content_hash": "10732c8e5833f3bbd8e77165825a5675",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 105,
"avg_line_length": 24.841269841269842,
"alnum_prop": 0.5073482428115016,
"repo_name": "PhatTriNguyen/dekbet",
"id": "c55dbad537c43a79496e6a639d7c7c947f7b259b",
"size":... |
package io.fabric8.kubernetes.examples.crds;
import io.fabric8.kubernetes.client.CustomResource;
/**
*/
public class Dummy extends CustomResource {
private DummySpec spec;
@Override
public String toString() {
return "Dummy{" +
"apiGroupVersion='" + getApiVersion() + '\'' +
", metadata=" ... | {
"content_hash": "d03f1e9f6ee4a54e13db0d1a6feac3c2",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 54,
"avg_line_length": 18,
"alnum_prop": 0.6111111111111112,
"repo_name": "KurtStam/kubernetes-client",
"id": "b20764ad66c322f340e0997ccb426f23dcef73d0",
"size": "1109",
... |
$(function(){
PorGlobals.IMAGES_PATH = "../../Images/";
$("#text").click(function(){
setTimeout('showText()',2000);
});
$("#textinput").click(function(){
setTimeout('showTextInput()',2000);
});
$("#button").click(function(){
setTimeout('showButton()',2000);
});
})
function showText(){
var _... | {
"content_hash": "35b33922651a90b5d945172fe48ab742",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 42,
"avg_line_length": 21.242424242424242,
"alnum_prop": 0.5677603423680456,
"repo_name": "stserp/erp1",
"id": "3bc2836b96c6c86e2444012075bed13fb86d4c63",
"size": "701",
... |
package sodium;
public class MemoryTest4
{
public static void main(String[] args)
{
new Thread() {
public void run()
{
try {
while (true) {
System.out.println("memory "+Runtime.getRuntime().totalMemory());
... | {
"content_hash": "c0340a05d75b3c1f18c48253ba82cd22",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 101,
"avg_line_length": 29.13888888888889,
"alnum_prop": 0.45853193517635843,
"repo_name": "kevintvh/sodium",
"id": "61675401014cbc2dcbe562fdabf652805b5e9a6e",
"size": "104... |
CKEDITOR.plugins.setLang( 'specialchar', 'sv', {
euro: 'Eurotecken',
lsquo: 'Enkelt vänster citattecken',
rsquo: 'Enkelt höger citattecken',
ldquo: 'Dubbelt vänster citattecken',
rdquo: 'Dubbelt höger citattecken',
ndash: 'Snedstreck',
mdash: 'Långt tankstreck',
iexcl: 'Inverterad utropstecken',
cent: 'Cent... | {
"content_hash": "e55dae867361e2149c619f052ff532f8",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 54,
"avg_line_length": 30.040983606557376,
"alnum_prop": 0.6963165075034107,
"repo_name": "Rudhie/simlab",
"id": "78baac37d1f5c4b8cb067735e2a34800b5937e20",
"size": "3862"... |
using System;
using System.Reactive.Linq;
using CookComputing.XmlRpc.Moles;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RosSharp.Master;
using RosSharp.Master.Moles;
namespace RosSharp.Tests.Master
{
[TestClass]
public class MasterClientTest
{
[TestMethod]
... | {
"content_hash": "5659e33835fdffee5e6e034332fc030e",
"timestamp": "",
"source": "github",
"line_count": 417,
"max_line_length": 180,
"avg_line_length": 41.20863309352518,
"alnum_prop": 0.5088454376163873,
"repo_name": "zoetrope/RosSharp",
"id": "47be84e4d6698e2023ad0a4a8b765c523a0873f1",
"size": "1... |
package org.freud.analysed.javasource;
import org.freud.core.Creator;
import org.freud.core.iterator.FlattenedCollection;
public final class ClassDeclarationToMethodDeclarationsCreator implements Creator<ClassDeclaration, Iterable<MethodDeclaration>> {
@Override
public Iterable<MethodDeclaration> create(fin... | {
"content_hash": "84ba76a661c9b0ba928ffe876d487592",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 130,
"avg_line_length": 34.785714285714285,
"alnum_prop": 0.784394250513347,
"repo_name": "LMAX-Exchange/freud",
"id": "2f5e96f0fb354c1de5c29e314c28085d8023e4a9",
"size": "... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | {
"content_hash": "f217d4cbc91cb30df0fda939e29553bb",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 151,
"avg_line_length": 42.07692307692308,
"alnum_prop": 0.5886654478976234,
"repo_name": "manictime/manictime-server-sampleclient",
"id": "b50d62e47c72842d192915f2547c144e3c... |
package bitbucketcloud
import (
"bytes"
"encoding/json"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"regexp"
"strings"
"time"
"github.com/pkg/errors"
"github.com/rancher/norman/httperror"
"github.com/rancher/rancher/pkg/pipeline/remote/model"
"github.com/rancher/rancher/pkg/pipeline/utils"
"github.com/... | {
"content_hash": "221f246f6243966cb0cce9d1b9cd51b3",
"timestamp": "",
"source": "github",
"line_count": 442,
"max_line_length": 132,
"avg_line_length": 26.963800904977376,
"alnum_prop": 0.6904681993623091,
"repo_name": "cjellick/rancher",
"id": "63f8f6314e3e59c905fc80fda8a76602386c72c3",
"size": "1... |
namespace Dike.Core.Specifications
{
using System;
using System.Linq.Expressions;
/// <summary>
/// Represents the combined specification which indicates that either of the given specification should be satisfied by the given object.
/// </summary>
/// <typeparam name="T">The type of the objec... | {
"content_hash": "87f8597d6d28ae730065d77e92456a23",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 141,
"avg_line_length": 34.05263157894737,
"alnum_prop": 0.6259659969088099,
"repo_name": "IngbertPalm/project.dike",
"id": "8ba783e206d0e856263c58442440241171f9f495",
"siz... |
//
// BaseViewController.m
// app
//
// Created by 吕浩轩 on 16/5/9.
// Copyright © 2016年 上海先致信息股份有限公司. All rights reserved.
//
#import "BaseViewController.h"
@interface BaseViewController ()
@end
@implementation BaseViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup afte... | {
"content_hash": "b50e0f1c7da26b24428bea595f1fcef0",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 102,
"avg_line_length": 21.533333333333335,
"alnum_prop": 0.7058823529411765,
"repo_name": "HaoXuan1988/ZhiYu",
"id": "bb704c3b49c32607599d37c351b7eff7090e215e",
"size": "1... |
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "840e4a81e965f458aad50402178ba660",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 23,
"avg_line_length": 9.076923076923077,
"alnum_prop": 0.6779661016949152,
"repo_name": "mdoering/backbone",
"id": "2101a5c4ffb8fc42cabd7652169988e7753c085e",
"size": "178... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
Begonian 36:83. 1969
#### Original name
null
### Remarks
null | {
"content_hash": "c51f198131913002f42e64db3e423f5f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 10.923076923076923,
"alnum_prop": 0.7112676056338029,
"repo_name": "mdoering/backbone",
"id": "2bca116d88008e3ff600bf59b49f28b5624137a0",
"size": "19... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>bignums: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | {
"content_hash": "85af217503589a60c858fd576041d6dc",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 159,
"avg_line_length": 38.87709497206704,
"alnum_prop": 0.5434688892082196,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "78957758fc91bde4a2db9a5cdfba9f6de869d5b3",
... |
package com.weather.android;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.support.v4.app.Fragment;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.weather.android.fragment.ChooseAreaFragment;
... | {
"content_hash": "18487b92e47b8674c5b14d8e4a2a1727",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 103,
"avg_line_length": 37.592592592592595,
"alnum_prop": 0.7359605911330049,
"repo_name": "JohnZp/coolweather",
"id": "b81ab350c24406a3855dd3933c02134f1c56af0f",
"size": "... |
@erase /s lang.inc > nul
@echo lang fix ru >lang.inc
fasm MSquare.asm MSquare
pause | {
"content_hash": "1bd0b5c82297da0731fee13897e81dad",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 27,
"avg_line_length": 20.75,
"alnum_prop": 0.7469879518072289,
"repo_name": "devlato/kolibrios-llvm",
"id": "37d9796d6b7b7febac5d1483d580d7eaa84d70f4",
"size": "83",
"bin... |
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
#include "utypeinfo.h" // for 'typeid' to work
#include "unicode/measunit.h"
#if !UCONFIG_NO_FORMATTING
#include "unicode/uenum.h"
#include "ustrenum.h"
#include "cstring.h"
#include "uassert.h"
U_NAMESP... | {
"content_hash": "3ff1ea6bde6aa60b3a47c1f104145b3b",
"timestamp": "",
"source": "github",
"line_count": 1291,
"max_line_length": 95,
"avg_line_length": 22.779240898528272,
"alnum_prop": 0.6363914581066377,
"repo_name": "MTASZTAKI/ApertusVR",
"id": "e21afcba029e04fe555c2f56f72e7636f5bda89d",
"size":... |
package jtransc.bug;
public class JTranscBugWithStaticInits {
static public void main(String[] args) {
new A();
}
static class A extends B {
public A() {
System.out.println(this.test1());
System.out.println(super.test1());
}
@Override
public String test1() {
return "A";
}
}
static class B ... | {
"content_hash": "3829a214c659e943fa8b64febbf1d606",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 41,
"avg_line_length": 13.794117647058824,
"alnum_prop": 0.605543710021322,
"repo_name": "jtransc/jtransc",
"id": "38e33cdfd08adb7163db24381511f2c57ef6cf82",
"size": "469",... |
package filter;
import model.Product;
import java.util.List;
import java.util.function.*;
import static java.util.stream.Collectors.toList;
public class ProductFilter {
public List<Product> filter(List<Product> allProducts) {
return allProducts.stream()
.filter(product -> product.getPrice() ... | {
"content_hash": "2f4ed17087582e92c9e15239b7974a08",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 60,
"avg_line_length": 27.2,
"alnum_prop": 0.5922459893048129,
"repo_name": "jadekler/git-misc-2",
"id": "6d877e69f70df6befe3c47df04a2e60e2f20d6d5",
"size": "1496",
"bina... |
<div id="empty-layout"
ui-view></div> | {
"content_hash": "99cd68eb0345dbf1b71bbc8c659a45db",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 22,
"avg_line_length": 22.5,
"alnum_prop": 0.5555555555555556,
"repo_name": "GinesOrtiz/angularES6seed",
"id": "a49a936f47e80efd0ba23aaed8edac57286b8b16",
"size": "45",
"b... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Aug 22 03:44:08 EDT 2003 -->
<TITLE>
PageTag (Apache Struts API Documentation)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.struts.taglib.bean.Pag... | {
"content_hash": "7889bdb2c6c4f61ef8038ac1575a9798",
"timestamp": "",
"source": "github",
"line_count": 476,
"max_line_length": 217,
"avg_line_length": 36.37394957983193,
"alnum_prop": 0.6264872357629664,
"repo_name": "codelibs/cl-struts",
"id": "544fbc98874851c5992bbb4eb3ba9cf4d52d26a2",
"size": "... |
<?php
return [
'title' => 'Aktiveringskontroll',
'name' => 'Aktiveringskontroll',
'description' => 'En säkerhetskontroll som garanterar att användare är aktiverade.'
];
| {
"content_hash": "5b3b523e0e4d6ec7145b110ddf9cae15",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 87,
"avg_line_length": 27.857142857142858,
"alnum_prop": 0.6307692307692307,
"repo_name": "anomalylabs/activation_security_check-extension",
"id": "635a11ab513a7632c7c6dd79bf2... |
package org.apache.jena.tdb.index.bplustree;
import org.apache.jena.tdb.base.page.Page ;
import org.apache.jena.tdb.base.record.Record ;
/** Abstraction of a B+Tree node - either an branch (BTreeNode) or leaf (BTreeLeaf - records)*/
abstract public class BPTreePage implements Page
{
// Does not use PageBase bec... | {
"content_hash": "1f47114eb6567437fec4f2fdbdac70ce",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 125,
"avg_line_length": 33.6,
"alnum_prop": 0.6454451345755694,
"repo_name": "apache/jena",
"id": "410a12b975a5a8528c10db532daeac1b934507dc",
"size": "4669",
"binary": f... |
/* React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
@import '../variables.css';
.RegisterPage-container {
margin: 0 auto;
padding: 0 0 40px;
max-width: var(--max-content-width);
}
.centeredLoginForm {
text-align: center;
margin-bottom: 50px;
}
.chart {
text-align: center;
margin-top... | {
"content_hash": "5c3dbb834c6ca77487803a9185502ebe",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 71,
"avg_line_length": 13.945945945945946,
"alnum_prop": 0.6666666666666666,
"repo_name": "JosephArcher/KappaKappaKapping",
"id": "8dba60ecbfa2d5cc845db04488c34b8e69c89f7f",
... |
SELECT a FROM t1 WHERE rowid >= 4294967296 ORDER BY a | {
"content_hash": "b667eb9f0b746dd645ba128c00267158",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 53,
"avg_line_length": 53,
"alnum_prop": 0.7735849056603774,
"repo_name": "bkiers/sqlite-parser",
"id": "6c49e424c0a78ce104ab3c75144f9b8764644517",
"size": "154",
"binary"... |
package org.radargun.utils;
import java.util.Collection;
import java.util.List;
/**
* Simple class to allow fluent API on list
*
* @author Radim Vansa <rvansa@redhat.com>
*/
public class ListBuilder<T> {
private List<T> list;
public ListBuilder(List<T> list) {
this.list = list;
}
p... | {
"content_hash": "9e667e7d07bc9962017b2f90a449677c",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 58,
"avg_line_length": 19,
"alnum_prop": 0.6112054329371817,
"repo_name": "Danny-Hazelcast/radargun",
"id": "f865db21cd59cfe9b010600ebc6964af110103eb",
"size": "589",
"bi... |
<?php
/**
* UserAgentTest.
*/
namespace Quark\Utils;
use PHPUnit\Framework\TestCase;
/**
* UserAgentTest class.
*
* @coversDefaultClass \Quark\Utils\UserAgent
*/
class UserAgentTest extends TestCase
{
/**
* @covers ::__construct
*/
public function testUserAgent()
{
$userAgentString = 'Mozilla... | {
"content_hash": "b58016de484501a8625051efde3d2f5a",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 158,
"avg_line_length": 24.64516129032258,
"alnum_prop": 0.6452879581151832,
"repo_name": "fm-ph/quark-server",
"id": "5bb4477d736bfdb48b069bbefae9114e5f100bff",
"size": "2... |
package io.crate.integrationtests;
import org.apache.lucene.tests.util.TestUtil;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
import org.elasticsearch.test.IntegTestCase;
import org.junit.Test;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.fi... | {
"content_hash": "d0c5b5cff8d4d1a03312bab890dfec1b",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 161,
"avg_line_length": 43,
"alnum_prop": 0.574948192493668,
"repo_name": "crate/crate",
"id": "2162465b50d58293cca8f04a0e75ef280cde548f",
"size": "5356",
"binary": fals... |
package jjwu.xdeveloper.java.mybatise.core;
import java.io.UnsupportedEncodingException;
import net.sf.json.JsonConfig;
import net.sf.json.processors.JsonValueProcessor;
import org.apache.log4j.Logger;
/**
*
* @类名: LatinConverter
* @描述: 拉丁转换处理
*
* @作者: 吴君杰
* @邮箱: wujunjie@iwgame.com
* @日期: ... | {
"content_hash": "c8ce9fdf27ea8cd0a9a8a9a69e7c4b24",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 87,
"avg_line_length": 22.074380165289256,
"alnum_prop": 0.6226132534631225,
"repo_name": "areskts/xdeveloper",
"id": "0d1e8a5efaa9b733199ace4171f8578e82edb52b",
"size": "... |
// -*- c-basic-offset: 4 -*-
#ifndef CLICK_AGGREGATEPAINT_HH
#define CLICK_AGGREGATEPAINT_HH
#include <click/element.hh>
CLICK_DECLS
/*
=c
AggregatePaint([BITS, I<KEYWORDS>])
=s aggregates
sets aggregate annotation based on paint annotation
=d
AggregatePaint sets the aggregate annotation on every passing packet t... | {
"content_hash": "38fecb236bd8aba69f035f16b73c71a9",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 78,
"avg_line_length": 21.360655737704917,
"alnum_prop": 0.7352264006139677,
"repo_name": "arkadeepsen/SDAP",
"id": "13b573c17ad8ec40f4bca148773cc7cf03d50932",
"size": "130... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderIniteece7d12cec1bbdb42308fcc7f5ed462::getLoader();
| {
"content_hash": "e3ce358a79182538581fef8a2816cbd4",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 75,
"avg_line_length": 26.142857142857142,
"alnum_prop": 0.7595628415300546,
"repo_name": "Andrel322/sysocial",
"id": "9b1203ed44a89657ae05cc3598e956e1d7e9fa0f",
"size": "18... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ImpaleScript : MonoBehaviour {
public GameObject ceiling;
float impaledCount;
public float speed;
public float ceilingTrigger;
float WARNING_TRIGGER = 0.137f;
GameOb... | {
"content_hash": "74e9cb98af455c6e779cfbdab5a36db6",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 110,
"avg_line_length": 27.650602409638555,
"alnum_prop": 0.6143790849673203,
"repo_name": "denniscarr/VirtualFeet",
"id": "7a8cf8ec2e49e0773c36a5bf59fb67b49032b8f3",
"size... |
<?php
namespace FME\GoogleMapsStoreLocator\Controller\Adminhtml\Storelocator;
class NewAction extends \Magento\Backend\App\Action
{
/**
* Authorization level of a basic admin session
*
* @see _isAllowed()
*/
const ADMIN_RESOURCE = 'FME_GoogleMapsStoreLocator::save';
/**
* @var \M... | {
"content_hash": "9264c528ce4d45a2d84d96d51c4a8c42",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 85,
"avg_line_length": 28.285714285714285,
"alnum_prop": 0.6540404040404041,
"repo_name": "letunhatkong/teletronm2",
"id": "77a630948b746aa7ec10b8589fccbcdc99497015",
"size... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Statistics of Poss in UD_Czech-... | {
"content_hash": "52e931ab83b482bb10767b4bb2a47e6c",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 701,
"avg_line_length": 54.825,
"alnum_prop": 0.6507979936160511,
"repo_name": "UniversalDependencies/universaldependencies.github.io",
"id": "4908c853404e593deb1a1528c3bbd1... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.device.bluetooth;
import android.annotation.TargetApi;
import android.bluetooth.BluetoothDevice;
import android.os.Build;
import and... | {
"content_hash": "63b15ecd725ebb115c9d535490d35724",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 100,
"avg_line_length": 34,
"alnum_prop": 0.6895087932080048,
"repo_name": "lihui7115/ChromiumGStreamerBackend",
"id": "cca60b0faa3ebaa679da7ea7027a7e73c4089da0",
"size": "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.