text stringlengths 2 1.04M | meta dict |
|---|---|
/**
* @file
* @brief libpq Queue Storage Definitions
*/
#include <gear_config.h>
#include <libgearman-server/common.h>
#include <libgearman-server/byte.h>
#include <libgearman-server/plugins/queue/postgres/queue.h>
#include <libgearman-server/plugins/queue/base.h>
#if defined(HAVE_LIBPQ) and HAVE_LIBPQ
#pragma... | {
"content_hash": "c125761c624d06cf42d1d498e8e85b91",
"timestamp": "",
"source": "github",
"line_count": 368,
"max_line_length": 143,
"avg_line_length": 29.190217391304348,
"alnum_prop": 0.6055669335319307,
"repo_name": "ssm/pkg-gearmand",
"id": "14ee4e422e2be2aec5af1679ca8e148deed9695c",
"size": "1... |
. ./config.sh
xmlpkg=`echo .build/checkouts/SwiftLibXML.git-*/Package.swift`
[ -e $xmlpkg ] || ./generate-wrapper.sh
if [ -z "$@" ]; then
JAZZY_ARGS="--theme fullwidth --author René Hexel --author_url https://www.ict.griffith.edu.au/~rhexel/ --github_url https://github.com/rhx/$Mod --github-file-prefix ... | {
"content_hash": "006cabec95be1d24b170c486d7f1cc3d",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 272,
"avg_line_length": 57.5,
"alnum_prop": 0.6608695652173913,
"repo_name": "rhx/gir2swift",
"id": "6f97d433fd4c7dc5292b82bb6654c4df6c68a799",
"size": "925",
"binary": f... |
ALboolean LoadOAL10Library(char *szOALFullPathName, LPOPENALFNTABLE lpOALFnTable)
{
// TODO: Implement this.
if (!lpOALFnTable)
return AL_FALSE;
memset(lpOALFnTable, 0, sizeof(OPENALFNTABLE));
lpOALFnTable->alEnable = (LPALENABLE)alEnable;
if (lpOALFnTable->alEnable == NULL)
{
wa... | {
"content_hash": "82202363589fd6edd87097050554d550",
"timestamp": "",
"source": "github",
"line_count": 414,
"max_line_length": 92,
"avg_line_length": 36.06038647342995,
"alnum_prop": 0.6711099202893697,
"repo_name": "astrellon/Rouge",
"id": "ab8899a31b2ba33538c8f561f7f1280af80c8068",
"size": "1634... |
var assert = require( 'assert' );
before( function () {
describe.account = process.env.ACCOUNT;
describe.url = process.env.URL;
describe.ok = function ( output ) {
assert.ok( output.ok );
};
describe.not = function ( done ) {
return function () {
done( new Error( 'Should not be OK' ) );
... | {
"content_hash": "58bc9461ebe57e940dade152c6b54dde",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 46,
"avg_line_length": 18.90909090909091,
"alnum_prop": 0.5793269230769231,
"repo_name": "mobilcom-debitel/edge-cli",
"id": "47eb9c89d2c9fceea0114ebcaad8f65e21696ef7",
"siz... |
"""
Unit tests for volume views.
"""
import boto.ec2.volume
import mox
from django.core.urlresolvers import reverse
from django_nova import forms
from django_nova.tests.view_tests.base import (BaseProjectViewTests,
TEST_PROJECT)
TEST_VOLUME = 'vol-0000001'
class Volu... | {
"content_hash": "8dbfc8ac8483d9fa0158f9b8717fdff0",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 79,
"avg_line_length": 37.83552631578947,
"alnum_prop": 0.5677273517649104,
"repo_name": "sleepsonthefloor/openstack-dashboard",
"id": "cd917406063aa397d89e56965d15bd0e7468a... |
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type='text/xsl' href='../../../../../../../../../test.xsl'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding co... | {
"content_hash": "34c5381a44a79b83704a578d7fc1edc3",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 77,
"avg_line_length": 42.421052631578945,
"alnum_prop": 0.6054590570719603,
"repo_name": "freeVM/freeVM",
"id": "4225441b53b9e3e64c1791b5939779fb84aa7470",
"size": "1612",... |
"""Watchmaker module."""
from __future__ import (absolute_import, division, print_function,
unicode_literals, with_statement)
import collections
import datetime
import logging
import os
import platform
import re
import subprocess
import oschmod
import pkg_resources
import setuptools
import yam... | {
"content_hash": "849d817eb65d3f7ccd82b407d2bfa68e",
"timestamp": "",
"source": "github",
"line_count": 516,
"max_line_length": 79,
"avg_line_length": 39.55813953488372,
"alnum_prop": 0.5641289437585734,
"repo_name": "plus3it/watchmaker",
"id": "daefc44b373787b02f7df7a07fdb73839d457198",
"size": "2... |
var gulp = require('gulp');
var concat = require('gulp-concat');
var babel = require('gulp-babel');
var onBabelError = require('./babel-error.js');
var rename = require('gulp-rename');
var webpackStream = require('webpack-stream');
var webpack2 = require('webpack');
var named = require('vinyl-named');
var CONFIG = req... | {
"content_hash": "fd15a53f5fe29f0f40a44d24a37abc96",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 198,
"avg_line_length": 39.388888888888886,
"alnum_prop": 0.6793606017865539,
"repo_name": "dragthor/foundation-sites",
"id": "da41933cef7df0deac08fa02b7a0a411aeca616a",
"... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>MoneyTracker</title>
<base href="/">
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalabl... | {
"content_hash": "577b9295307c7feb633386c3b5fa7349",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 105,
"avg_line_length": 34.57692307692308,
"alnum_prop": 0.6618464961067854,
"repo_name": "dirty-mustard/money-tracker-ui",
"id": "e26814dbd30c8a3729a1523626d27c031405622a",
... |
package jstreamserver.ftp;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.unitils.UnitilsJUnit4;
import org.unitils.inject.annotation.TestedObject;
import java.util.HashMap;
import java.util.Map;
import static org.junit.Assert.assertEquals;
import static org.junit... | {
"content_hash": "a23d3b529f7aca024acb1782b99754dd",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 108,
"avg_line_length": 31.65671641791045,
"alnum_prop": 0.6916548797736917,
"repo_name": "sprilukin/jstreamserver",
"id": "cbe3835511bdd984b3a9c7c100b8d341cb692535",
"size... |
/* We can use the normal code but we also know the __curbrk is not exported
from ld.so. */
extern void *__curbrk attribute_hidden;
#include <sbrk.c>
| {
"content_hash": "ad50d9bd17e30dd4bc9dfd633ac3582a",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 75,
"avg_line_length": 30.8,
"alnum_prop": 0.6948051948051948,
"repo_name": "endplay/omniplay",
"id": "4713a92694e37183cb4b31d9b943d95b193c059e",
"size": "154",
"binary": ... |
package com.sumologic.shellbase
import java.io.File
import org.junit.runner.RunWith
import org.scalatest.junit.JUnitRunner
@RunWith(classOf[JUnitRunner])
class ScriptRendererSpec extends CommonWordSpec {
"ScriptRenderer" should {
"convert the arguments to a map" in {
val command = new ScriptRenderer(nul... | {
"content_hash": "163287ce8a018fc627ff4706ca02f83e",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 123,
"avg_line_length": 36.125,
"alnum_prop": 0.6929065743944637,
"repo_name": "SumoLogic/shellbase",
"id": "6dd13356618202223abf849f19ba0cb9ad87fa08",
"size": "1962",
"b... |
package com.grarak.kerneladiutor.tasker;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.widget.Toolbar;
import android.view.View;
import com.grarak.kerneladiutor.BaseActivity;
import com.grarak.kerneladiutor.R;
import com.grarak.kerneladiu... | {
"content_hash": "8502df4b24d677fb24bc1fa1eb6e469f",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 115,
"avg_line_length": 31.818181818181817,
"alnum_prop": 0.6767857142857143,
"repo_name": "bhb27/KA27",
"id": "9362e3db7c5353f297290105a885b38ff90da374",
"size": "3470",
... |
/* SPDX-License-Identifier: BSD-2-Clause */
/*
* logerr: errx with logging
* Copyright (c) 2006-2021 Roy Marples <roy@marples.name>
* 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. Redi... | {
"content_hash": "4dab781e7ff842005bfcdf62aecd706f",
"timestamp": "",
"source": "github",
"line_count": 497,
"max_line_length": 80,
"avg_line_length": 20.6317907444668,
"alnum_prop": 0.6412131850984981,
"repo_name": "rsmarples/dhcpcd",
"id": "7a650e87f2c70b7eabea7f61db7b2cebb208b5db",
"size": "1025... |
using EasyNetQ.Topology;
namespace EasyNetQ.Consumer
{
public class HandlerCollectionFactory : IHandlerCollectionFactory
{
/// <inheritdoc />
public IHandlerCollection CreateHandlerCollection(IQueue queue)
{
return new HandlerCollection();
}
}
}
| {
"content_hash": "73825ad0e770cd1c201898897bdceae7",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 71,
"avg_line_length": 23.384615384615383,
"alnum_prop": 0.6578947368421053,
"repo_name": "zidad/EasyNetQ",
"id": "89b602421dfa9168045ec5c18ce2f65ab9b70953",
"size": "306",... |
<?php
namespace Craft;
class CurrencyPriceFieldType extends BaseFieldType
{
/**
* Returns the name of the fieldtype.
*
* @return mixed
*/
public function getName ()
{
return Craft::t('Currency Price');
}
/**
* Returns the content attribute config.
*
* @... | {
"content_hash": "51bd38e26e351aef132719f24184e337",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 106,
"avg_line_length": 25.708955223880597,
"alnum_prop": 0.5323657474600871,
"repo_name": "sjelfull/Craft-CurrencyPrice",
"id": "2384dec22c3fdefdbe3dc7c67c2a771175ce20db",
... |
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<!DOCTYPE html>
<html>
<head>
<title>tall background-size: contain; for percent-width-omitted-height.svg</title>
<link rel="author" title="Jeff Walden" href="http://whereswalden.com/" />
<link rel... | {
"content_hash": "24b2a248772c5acdc37c8da0ca3b9945",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 94,
"avg_line_length": 27.38235294117647,
"alnum_prop": 0.6799140708915145,
"repo_name": "wilebeast/FireFox-OS",
"id": "e454f28fc4138091b62c93dc25f5315935094e88",
"size": "... |
package cn.sherlock.javax.sound.sampled;
/**
* The <code>Line</code> interface represents a mono or multi-channel
* audio feed. A line is an element of the digital audio
* "pipeline," such as a mixer, an input or output port,
* or a data path into or out of a mixer.
* <p>
* A line can have controls, such as ga... | {
"content_hash": "a63bdc2693fc41c957bb94a7ac36ec48",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 152,
"avg_line_length": 43.12367491166078,
"alnum_prop": 0.6356112749918059,
"repo_name": "KyoSherlock/SherlockMidi",
"id": "99b870f7e9697d1fe176cb01554cebbbc94c5472",
"si... |
Given an integer array, find three numbers whose product is maximum and output the maximum product.
### Example 1:
```
Input: [1,2,3]
Output: 6
```
### Example 2:
```
Input: [1,2,3,4]
Output: 24
```
### Note:
- The length of the given array will be in range [3,104] and all elements are in the range [-1000, 1000].
- ... | {
"content_hash": "be3f1df5523c19d9cf704a5c514f4723",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 105,
"avg_line_length": 23.347826086956523,
"alnum_prop": 0.6815642458100558,
"repo_name": "l33tdaima/l33tdaima",
"id": "9548adc5c5c3afbbbdc91004bf3756f309c42f2f",
"size": ... |
import frappe
from frappe.model.document import Document
class OAuthAuthorizationCode(Document):
pass
| {
"content_hash": "7522f809d47db24b8c0b46be16e30ec5",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 42,
"avg_line_length": 17.5,
"alnum_prop": 0.8380952380952381,
"repo_name": "frappe/frappe",
"id": "431d27bc04f1a18503a8a245b1be00bcda431f86",
"size": "193",
"binary": fal... |
package laika.rewrite.nav
import cats.instances.map
import laika.ast.Path
import laika.config.Config.ConfigResult
import laika.config.{Config, ConfigDecoder, ConfigEncoder, Key, LaikaKeys}
/** Configuration for a cover image for e-books (EPUB or PDF).
*
* The optional classifier can be used if the `@:select` d... | {
"content_hash": "efe9d4c9c25e6fea983e8f462ec3a58c",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 121,
"avg_line_length": 34.22784810126582,
"alnum_prop": 0.6900887573964497,
"repo_name": "planet42/Laika",
"id": "c18f3cfc060c6e90756f0a34ec674c198dfbafc4",
"size": "3324"... |
você está em gastos comuns - index | {
"content_hash": "067c5792300800dee64794e08ee3bf31",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 34,
"avg_line_length": 34,
"alnum_prop": 0.7941176470588235,
"repo_name": "IltonS/ContaRestaurante",
"id": "474d2ec7ef7b32c428b7fdb9e954bc0d9ce06408",
"size": "36",
"binar... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png">
<link rel="icon" type="image/png" href="assets/img/favicon.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Get Shit Done Kit Template by Cre... | {
"content_hash": "b0e8be85405249933d8df98edba726d9",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 109,
"avg_line_length": 35.48936170212766,
"alnum_prop": 0.6354916067146283,
"repo_name": "mishapivo/mishapivo.github.io",
"id": "a1b591f18a85baf99541ee9b3990a63bb91ffb84",
... |
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6f71b248800f26f09dec205ea83a1063",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 23,
"avg_line_length": 9.076923076923077,
"alnum_prop": 0.6779661016949152,
"repo_name": "mdoering/backbone",
"id": "b9a54355eb2bdafbb27713c253c70fb8735b8ec9",
"size": "183... |
if [[ -n "$1" ]]; then
cp -i resources/Artestead.json Artestead.json
else
cp -i resources/Artestead.yaml Artestead.yaml
fi
cp -i resources/after.sh after.sh
cp -i resources/aliases.sh aliases.sh
echo "Artestead initialized!"
| {
"content_hash": "a70e59f89885648854b90f6e5025d553",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 49,
"avg_line_length": 23.5,
"alnum_prop": 0.723404255319149,
"repo_name": "gdmgent/artestead",
"id": "282b46620636eb3f4f20b888255271975186a264",
"size": "256",
"binary":... |
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for aeroflow\source\generators\index.js</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="../../../prettify.css" />
<link rel="stylesheet" href="../../../base.css" />
<meta name="viewport" content="width=device-width, in... | {
"content_hash": "f234d26210eec6fa4c63c49b6d2e8e01",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 145,
"avg_line_length": 31.118181818181817,
"alnum_prop": 0.6295647093193105,
"repo_name": "vladen/aeroflow",
"id": "b55616f3caa18aaaf6ce0d5d7935dfb32db433cc",
"size": "34... |
description: This template provides a easy way to deploy a Sonarqube docker image (alpine tag) on a Linux Web App with Azure database for MySQL
page_type: sample
products:
- azure
- azure-resource-manager
urlFragment: webapp-linux-sonarqube-mysql
languages:
- json
---
# Sonarqube Docker Web App on Linux with MySQL
![A... | {
"content_hash": "98e34071d5e6b9a9055fa089f69ca504",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 378,
"avg_line_length": 90.32142857142857,
"alnum_prop": 0.8252273625939106,
"repo_name": "bmoore-msft/azure-quickstart-templates",
"id": "e084823c2ca7240d97c413afd6c77b4f1f7... |
using System;
using NakedFramework.Architecture.Adapter;
using NakedFramework.Architecture.Facet;
using NakedFramework.Architecture.Framework;
namespace NakedFramework.Metamodel.Facet;
[Serializable]
public abstract class DisableForSessionFacetAbstract : FacetAbstract, IDisableForSessionFacet {
public override Ty... | {
"content_hash": "935d014444b6b3f8636447eaf661e7d6",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 97,
"avg_line_length": 30.157894736842106,
"alnum_prop": 0.8254799301919721,
"repo_name": "NakedObjectsGroup/NakedObjectsFramework",
"id": "aa732e92dba9db696f37bd244b7594f7cc... |
from construct import Struct, ULInt16, ULInt32, String
from construct.macros import ULInt64, Padding, If
from crypto.aes import AESencryptCBC, AESdecryptCBC
from hfs import HFSVolume, HFSFile
from keystore.keybag import Keybag
from structs import HFSPlusVolumeHeader, kHFSPlusFileRecord, getString, \
kHFSRootP... | {
"content_hash": "c2c06c06ab851c9e41421cbec10193de",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 132,
"avg_line_length": 41.10909090909091,
"alnum_prop": 0.6010614772224679,
"repo_name": "trailofbits/iverify-oss",
"id": "5eb65612ef5e2a77a30b669bae382d77fba11115",
"siz... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2014-2016 CyberVision, Inc.
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/LICEN... | {
"content_hash": "cb7853dcaa58aa61d04ce5d478c6a7f6",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 77,
"avg_line_length": 36.36,
"alnum_prop": 0.682068206820682,
"repo_name": "maxml/sample-apps",
"id": "ae9ec1413060dd5888b4dbfd3f38467f300f66c0",
"size": "909",
"binary"... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b5a6f97748df3ee52e12629fcb188655",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "9bad5cfdfdd658c126e88f1a0ef4f2850c7b766e",
"size": "19... |
SET(CMAKE_SYSTEM_NAME Windows)
# The name of the target architecture
SET(CMAKE_SYSTEM_PROCESSOR "i586")
# Choose an appropriate compiler prefix
SET(MINGW_TOOLCHAIN "i586-mingw32msvc")
# Which compilers to use for C and C++
FIND_PROGRAM(CMAKE_RC_COMPILER NAMES ${MINGW_TOOLCHAIN}-windres)
FIND_PROGRAM(CMAKE_C_COMPILER ... | {
"content_hash": "d2794f19e34d8db5241d8c201b38822d",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 64,
"avg_line_length": 37.95238095238095,
"alnum_prop": 0.7804265997490589,
"repo_name": "cpp4ever/libuv-cmake",
"id": "7365c274603e3e45f5ea947df31779240ba31a2d",
"size": "... |
{% extends 'posts/base.html' %}
{% load blog_tags %}
{% block title %} {{ blog_name.title }} {% endblock %}
{% block blog_content %}
<div class="row col-sm-12 col-md-9 blog-container-left">
<div class="blogs">
<ul class="blog-list">
<table align="center" class="table table-bordered">
<thead>
... | {
"content_hash": "248f6f11361a878938832ed7ec0845dd",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 147,
"avg_line_length": 36.540983606557376,
"alnum_prop": 0.5545087483176312,
"repo_name": "nikhila05/micro-blog",
"id": "9ea0a0b0e9b29218ddd8701b50b45a7be6128fbf",
"size":... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "3f24151a663cfd7d40f124402a18e164",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 612,
"avg_line_length": 43.58064516129032,
"alnum_prop": 0.6572908956328646,
"repo_name": "XLabs/xlabs.github.io",
"id": "411df40de38eb2b487faa66f93e200747df4300a",
"size"... |
package org.voovan.tools.tuple;
import org.voovan.tools.reflect.TReflect;
import java.util.*;
import java.util.stream.Collectors;
/**
* 带命名的元组类型
*
* @author helyho
* Voovan Framework.
* WebSite: https://github.com/helyho/Voovan
* Licence: Apache v2 License
*/
public class Tuple {
private Integer nullValue... | {
"content_hash": "2dbda259a8d3ff41074fd2278ccf9df3",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 137,
"avg_line_length": 23.95,
"alnum_prop": 0.5394050104384134,
"repo_name": "helyho/Voovan",
"id": "be0a24799262c6c226acd34feff365cc6992d779",
"size": "4112",
"binary"... |
"""
Contains definition for a plugin protocol and other utiltities.
"""
from hyde.exceptions import HydeException
from hyde.util import first_match, discover_executable
from hyde.model import Expando
import abc
from functools import partial
import fnmatch
import os
import re
import subprocess
import sys
import traceba... | {
"content_hash": "046d784ab84a22e07dc30aeb5e74dd58",
"timestamp": "",
"source": "github",
"line_count": 501,
"max_line_length": 95,
"avg_line_length": 34.49101796407186,
"alnum_prop": 0.5794560185185185,
"repo_name": "0111001101111010/hyde",
"id": "d0839cbaa51c31d168e2a4c5b0de8e54d62b6d75",
"size":... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Steve Myles > Lognormality > Archive > 12 July 2015</title>
<meta name="viewport" content="width=device-width">
<meta name="description" content="Steve Myles, some guy from Texas">
... | {
"content_hash": "0f052123b2c09f46eff87e0f26758c44",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 287,
"avg_line_length": 43.20704845814978,
"alnum_prop": 0.4957177814029364,
"repo_name": "scumdogsteev/scumdogsteev.github.io",
"id": "1a7bb54d3df7f9b0757b3d05ac506135d78c3... |
"""Utility to dump events to screen.
This is a simple program that dumps events to the console
as they happen. Think of it like a `tcpdump` for Celery events.
"""
from __future__ import absolute_import, print_function, unicode_literals
import sys
from datetime import datetime
from celery.app import app_or_default
f... | {
"content_hash": "c7d30ceee9f02b86762e1225f9663b7e",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 77,
"avg_line_length": 30.83177570093458,
"alnum_prop": 0.5586541376174599,
"repo_name": "mdworks2016/work_development",
"id": "0c3865d5a033f8e3c6c478369250e65e3ccca5a4",
... |
import getopt
import sys
from Bio import SeqIO
from Bio.SeqUtils import GC
import time# import time, gmtime, strftime
import os
import shutil
import pandas
from Bio.SeqRecord import SeqRecord
from Bio.Seq import Seq
import csv
#from datetime import datetime
import numpy as np
from scipy import stats
__author__ = "Andr... | {
"content_hash": "bd2788898bf98644c36473870cc4c4a0",
"timestamp": "",
"source": "github",
"line_count": 723,
"max_line_length": 610,
"avg_line_length": 37.26002766251729,
"alnum_prop": 0.544155313857233,
"repo_name": "dunfieldlab/mg_wrapser",
"id": "438b60a12d416abbb8f67f25cf730337216f89d3",
"size"... |
<?php
namespace DNDCampaignManagerAPI\Server;
use DNDCampaignManagerAPI\Configuration\Configuration;
use DNDCampaignManagerAPI\ManagerRegistry\ConfigurationManagerRegistry;
use DNDCampaignManagerAPI\Server\Endpoints\CreaturesEndpoint;
use DNDCampaignManagerAPI\Server\ResourceAPIResponseDataFactories\CreatureAPIRespons... | {
"content_hash": "2aa2e8f04298411aed848938f820377f",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 97,
"avg_line_length": 35.5,
"alnum_prop": 0.7612676056338028,
"repo_name": "johnvandeweghe/DND-CampaignManager-API",
"id": "756c44ac965cc23311ba7ba1d530568de25121f9",
"siz... |
package messages
import (
"github.com/stretchr/testify/require"
"testing"
"time"
)
func TestTimeConversion(t *testing.T) {
t.Run("converts to and from milliseconds since epoch (wall time)", func(t *testing.T) {
now := time.Unix(1, 234)
timestamp := GoTimeToTimestamp(now)
nowAgain := TimestampToGoTime(timest... | {
"content_hash": "039b1e979bac0e205bb052a2e00ac070",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 88,
"avg_line_length": 31.263157894736842,
"alnum_prop": 0.7550505050505051,
"repo_name": "cucumber/cucumber",
"id": "dee626f3463d2b870ddea34d597fbaa5d28304ec",
"size": "11... |
#include "test.h"
__FBSDID("$FreeBSD: head/lib/libarchive/test/test_compat_solaris_tar_acl.c 201247 2009-12-30 05:59:21Z kientzle $");
/*
* Exercise support for reading Solaris-style ACL data
* from tar archives.
*
* This should work on all systems, regardless of whether local
* filesystems support ACLs or not.
... | {
"content_hash": "9ed7d702116db3cde9cfe1b013019672",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 116,
"avg_line_length": 34.77142857142857,
"alnum_prop": 0.7271980279375514,
"repo_name": "ayyucedemirbas/Minix-Source-Code",
"id": "ca1506a355ed721b05358f193218b3a88f4a8178... |
/*
* File: UnixSocketServer.h
* Author: tiepologian <tiepolo.gian@gmail.com>
*
* Created on 14 giugno 2014, 19.36
*/
#ifndef UNIXSOCKETSERVER_H
#define UNIXSOCKETSERVER_H
#include <thread>
#include <utility>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/ma... | {
"content_hash": "c926c7c27d7de5921049c64000e81d29",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 122,
"avg_line_length": 30.054794520547944,
"alnum_prop": 0.7128532360984503,
"repo_name": "tiepologian/trisdb",
"id": "d8622e366103450ce0b866682a3630f69d13ac99",
"size": "... |
package net.sansa_stack.rdf.spark.kge.convertor
/**
* Convertor Abstract Class
* ------------------------
*
* Trait for the Convertor
*
* Created by Hamed Shariat Yazdi
*/
import net.sansa_stack.rdf.spark.kge.triples._
import org.apache.spark.sql._
trait Convertor {
val (e, r) = (getEntities(), getRelation... | {
"content_hash": "61eab9db0930b44542758f3ee85750a9",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 47,
"avg_line_length": 17.48,
"alnum_prop": 0.6544622425629291,
"repo_name": "SANSA-Stack/SANSA-RDF",
"id": "dd2f419bf13d0798a722a179becf637495f060b5",
"size": "437",
"bi... |
package mvnfind;
import java.util.Optional;
import java.util.OptionalInt;
import java.util.regex.Pattern;
public class Arguments {
private static final Pattern INTEGER_PATTERN = Pattern.compile("^0|[1-9][0-9]*$");
public static Arguments parse(String... args) {
final Arguments arguments = new Argumen... | {
"content_hash": "2aa1ee81e40d1261e813a824ba39c2f3",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 101,
"avg_line_length": 36.467980295566505,
"alnum_prop": 0.5773335134404971,
"repo_name": "opengl-8080/MavenFind",
"id": "311854215d36dee2f3a5727cebdc8b2af3f74691",
"size... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a855820dfe0c275e888844d6751d9359",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "e30adcab54a8fc6d5b11634c36cce92b45db3179",
"size": "166... |
set -e # halt script on error
# Could you build a config file on the fly each time with a base url matching
# the name of the branch?
bundle exec jekyll build --config _config.yml
| {
"content_hash": "bb05e2b5beb04156d32ceed24dd35f47",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 77,
"avg_line_length": 36.2,
"alnum_prop": 0.7458563535911602,
"repo_name": "justwriteclick/versions-jekyll",
"id": "3cb2db431a6b8301321db2b6013e433953729fdd",
"size": "201"... |
<?php
class HomeController extends CloggyAppController {
public $uses = array('Cloggy.CloggyUser', 'Cloggy.CloggyValidation', 'Cloggy.CloggyUserLogin');
public $helpers = array('Form');
private $_userCount;
private $_userId;
public function beforeFilter() {
parent::beforeFilter();
... | {
"content_hash": "97e0fc6b41e75474d4ff51d6debcf59f",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 99,
"avg_line_length": 26.76086956521739,
"alnum_prop": 0.4930950446791227,
"repo_name": "hiraq/Cloggy",
"id": "c769c56d8a8f6a76e9850599855eee2914ffaafa",
"size": "2462",
... |
@implementation Workout
@dynamic workoutHeadbandCount;
@dynamic workoutShortColor;
@dynamic isBouncyHousePresent;
@end
| {
"content_hash": "052e88882efaf20cdd0d83fa1c63a974",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 30,
"avg_line_length": 17.285714285714285,
"alnum_prop": 0.8429752066115702,
"repo_name": "seltzered/CoreDataMagicalRecordTempObjectsDemo",
"id": "c912a5be39d4994fb91b53bee458... |
class GameHelpers {
itemsOfTheArrayAreSame(cellArray) {
let allSame = true;
for (let i = 1; allSame && i < cellArray.length; i++) {
allSame = cellArray[0] && cellArray[i] === cellArray[0];
}
return !!allSame;
}
boardToColArray(board, colIndex) {
return board.map(boardRow => {
ret... | {
"content_hash": "821f61ed98d1cac446d9fd95b62d54ca",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 125,
"avg_line_length": 28.364864864864863,
"alnum_prop": 0.6479275845640782,
"repo_name": "cubbuk/tic-tac-toe",
"id": "5d9bf0d4c366d2cb432fe101baae73ed2a2f54f9",
"size": "... |
#import "TiModule.h"
#ifdef USE_TI_API
@interface APIModule : TiModule {
}
@end
#endif | {
"content_hash": "b0a256efe1267cf7eecb37241e4e7ea2",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 33,
"avg_line_length": 7.666666666666667,
"alnum_prop": 0.6739130434782609,
"repo_name": "arnaudsj/titanium_mobile",
"id": "3763b70bb62ebf978d5b2a874fdc32e24527ec77",
"size... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_13) on Mon Dec 14 15:24:35 MSK 2009 -->
<TITLE>
MissingRecordAwareHSSFListener (POI API Documentation)
</TITLE>
<META NAME="date" CONTENT="... | {
"content_hash": "b32d7e9131f599e19fc0251ea7500b8d",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 400,
"avg_line_length": 46.197879858657245,
"alnum_prop": 0.6392075875783999,
"repo_name": "tobyclemson/msci-project",
"id": "ddb54c0900dd2728b40f6ca0e6772ffb1c0a735d",
"s... |
package com.atlassian.maven.plugins.refapp;
import com.atlassian.maven.plugins.amps.osgi.GenerateObrArtifactMojo;
/**
*
*/
public class RefappGenerateObrArtifactMojo extends GenerateObrArtifactMojo
{
}
| {
"content_hash": "3e57782b8acc8060e6c19f68963fcc5f",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 74,
"avg_line_length": 20.6,
"alnum_prop": 0.8155339805825242,
"repo_name": "mrdon/AMPS",
"id": "036b6790c0634a94f91972e85a74eda842620947",
"size": "206",
"binary": false... |
package trace.mobile;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.Date;
import java.util.logging.S... | {
"content_hash": "a42a1f4d6f401a37877b9d83597491a1",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 149,
"avg_line_length": 41.772413793103446,
"alnum_prop": 0.711738484398217,
"repo_name": "pthorin/trace-mobile",
"id": "72bfcde2894d71c3b33b5d4a2d2d0674c1a48a84",
"size":... |
#include <QStringList>
#include <QString>
#include <QDebug>
#include <QList>
#include <QtXml>
#include <QDir>
#include "qlcfixturemode.h"
#include "qlcfixturedef.h"
#include "qlcfile.h"
#include "channelsgroup.h"
#include "collection.h"
#include "function.h"
#include "universe.h"
#include "fixture.h"
#include "chas... | {
"content_hash": "a674f91e2099786c2a0b8aaffb519aad",
"timestamp": "",
"source": "github",
"line_count": 1114,
"max_line_length": 120,
"avg_line_length": 25.638240574506284,
"alnum_prop": 0.554742481005567,
"repo_name": "peternewman/qlcplus",
"id": "6d3b9e08153f65e1566aeaaa3f51c92f243650c8",
"size":... |
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("7.... | {
"content_hash": "43fab663e135a60b7d0d7e5d1ffb8ae3",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.02777777777778,
"alnum_prop": 0.7451957295373666,
"repo_name": "kossov/Telerik-Academy",
"id": "8bbb34a0e93bd00759981b497f4f66cb1bfcbf24",
"size":... |
#include <aws/redshift/model/ModifyClusterRequest.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
using namespace Aws::Redshift::Model;
using namespace Aws::Utils;
ModifyClusterRequest::ModifyClusterRequest() :
m_clusterIdentifierHasBeenSet(false),
m_clust... | {
"content_hash": "f9c4fbe60de0587eaeb081e35541c7d3",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 119,
"avg_line_length": 28.973509933774835,
"alnum_prop": 0.6964571428571429,
"repo_name": "svagionitis/aws-sdk-cpp",
"id": "d442345ea6d1283c71f4a9aed370c8b64de9bc3e",
"si... |
from CIM14.CPSM.Equipment.Core.Curve import Curve
class ImpedanceVariationCurve(Curve):
"""An Impedance Variation Curve describes the change in Transformer Winding impedance values in relationship to tap step changes. The tap step is represented using the xValue, resistance using y1value, reactance using y2value,... | {
"content_hash": "dcc794398b3eaa228eecbb94334a7b5f",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 672,
"avg_line_length": 46.743589743589745,
"alnum_prop": 0.7032364234777839,
"repo_name": "rwl/PyCIM",
"id": "b6e32b457ed8e818ef35f9e73af507d6295303c8",
"size": "2923",
... |
<?xml version="1.0" encoding="utf-8" ?>
<Entity name="CPK">
<EntityLocation id="dataobject">
<FileLocation project="TobascoTest" folder="GeneratedEntity"></FileLocation>
<Namespaces>
<Namespace value="System.Dynamic"></Namespace>
</Namespaces>
<BaseClass value="Different... | {
"content_hash": "262e95e93d7d55d34fa3bb8accd13a9b",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 84,
"avg_line_length": 38.75,
"alnum_prop": 0.5881720430107527,
"repo_name": "VictordeBaare/Tobasco",
"id": "605a94909d58b87dd6d79a95b11d033237110df7",
"size": "932",
"bi... |
<?php
defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
//JHtml::_('formbehavior.chosen', 'select');
JHtml::_('behavior.caption');
?>
<div class="archive<?php echo $this->pageclass_sfx;?>">
<?php if ($this->params->get('show_page_heading', 1)) : ?>
<div class="page-header">
<h1>
<?php e... | {
"content_hash": "33c248d4766193c2ee84f6336f1eaf24",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 268,
"avg_line_length": 39.5,
"alnum_prop": 0.6430379746835443,
"repo_name": "yaelduckwen/libriastore",
"id": "b081cc537c7e550d763a76938e96e4c3b33d910d",
"size": "1814",
... |
package com.i_walletlive.paylive;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.... | {
"content_hash": "0c69669b211b15a3e51bb43c579189d0",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 118,
"avg_line_length": 26.171875,
"alnum_prop": 0.6662686567164179,
"repo_name": "DreamOval/iwallet-java-connector",
"id": "e7a06b7df46f77d4285d2eecc3058b87d1c70508",
"siz... |
package org.mycontroller.standalone.db.dao;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.mycontroller.standalone.MYCMessages.MESSAGE_TYPE_SET_REQ;
import org.mycontroller.standalone.db.DbException;
import org.myco... | {
"content_hash": "86a1ea29a38dea422b23025698f235a5",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 119,
"avg_line_length": 40.524,
"alnum_prop": 0.6208666469252788,
"repo_name": "Dietmar-Franken/mycontroller",
"id": "6d4a450ae52796ec1d570bb1c5b049459c9da445",
"size": "1... |
package com.amazonaws.services.simplesystemsmanagement.model.transform;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.simplesystemsmanagement.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.... | {
"content_hash": "826b33388fb9021a90973901332f2d21",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 136,
"avg_line_length": 41.175824175824175,
"alnum_prop": 0.6015479049906592,
"repo_name": "jentfoo/aws-sdk-java",
"id": "400f59f4fa119338e5cf343dd5fbd7bf6a1ddfd1",
"size":... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SharedCoreModule } from 'moh-common-lib';
import { FormsModule } from '@angular/forms';
import { LocalStorageModule } from 'angular-2-local-storage';
import { RemoveChildComponent } from './remove-child.component';
import { AccountPerson... | {
"content_hash": "24a311ad84266910bbcb7acb0e076fda",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 126,
"avg_line_length": 34.361702127659576,
"alnum_prop": 0.6712074303405573,
"repo_name": "bcgov/MyGovBC-MSP",
"id": "8b32e16967a4404cea0886ebc5ce1852396c73be",
"size": "1... |
LIB= LLVMSparcTargetInfo
.include <bsd.init.mk>
SPARC_OBJDIR!= cd ${.CURDIR}/../libLLVMSparcCodeGen && ${PRINTOBJDIR}
CPPFLAGS+= -I${SPARC_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/Sparc
.PATH: ${LLVM_SRCDIR}/lib/Target/Sparc/TargetInfo
SRCS+= SparcTargetInfo.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.inc... | {
"content_hash": "d2c4c8b41ddaa0baac780c94708e645a",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 69,
"avg_line_length": 21.5625,
"alnum_prop": 0.7275362318840579,
"repo_name": "veritas-shine/minix3-rpi",
"id": "99bd1c539d8a75b67f2f900121b75d5a1b0750de",
"size": "404",
... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>Dynamic CA Se... | {
"content_hash": "5b2030c39f902aec0ed23ea2f2a0e985",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 118,
"avg_line_length": 42.92857142857143,
"alnum_prop": 0.6638935108153078,
"repo_name": "consec/ConSec",
"id": "0afbe0dc0fae41defe104af5798fc93d87db0a48",
"size": "1202",... |
'use strict'
var test = require('tape')
test('test directives/partial.js', function (t) {
t.plan(4)
var directive = require('../../../lib/directives/partial')
var methods = new Map()
var methods2 = new Map()
t.equal('', directive({
context: {args: ['test']},
template: {methods: methods},
nest... | {
"content_hash": "598dcc0be6dfd97973cc96bd8e16fe34",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 88,
"avg_line_length": 20.928571428571427,
"alnum_prop": 0.5870307167235495,
"repo_name": "erickmerchant/atlatl",
"id": "c88d97e90dedd2f84beccdd5f96461110d64e176",
"size": ... |
"""Common utilities used in testing"""
import os
import fixtures
import testtools
_TRUE = ('True', '1')
class BaseTestCase(testtools.TestCase):
def setUp(self):
super(BaseTestCase, self).setUp()
if os.environ.get('OS_STDOUT_CAPTURE') in _TRUE:
stdout = self.useFixture(fixtures.Stri... | {
"content_hash": "bba9c4b616573cebe8b6c670067bd57e",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 76,
"avg_line_length": 33.5,
"alnum_prop": 0.6636050516647531,
"repo_name": "markmc/oslo.packaging",
"id": "977d45f99277e440120c819004f55e946189819e",
"size": "1507",
"bi... |
package com.uber.myapplication;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
public class SupportLibraryFragmentWithoutOnCreateView extends Fragment {
private Object mOnCreateInitialisedField;
// BUG: Diagnostic contains: @NonNull field mOnCreateViewInitialise... | {
"content_hash": "81757f0a1ba161191f21668448d644b8",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 91,
"avg_line_length": 29.04,
"alnum_prop": 0.7961432506887053,
"repo_name": "uber/nullaway",
"id": "5879eab933e31eb1984c620536cc44b4b1ec3a8a",
"size": "726",
"binary": f... |
var crypto = require('crypto');
var EventEmitter = require('events').EventEmitter;
var util = require('util');
var pgPass = require('pgpass');
var TypeOverrides = require('./type-overrides');
var ConnectionParameters = require('./connection-parameters');
var Query = require('./query');
var defaults = require('./defa... | {
"content_hash": "5feba65b596b427f60b9b6346b8859bc",
"timestamp": "",
"source": "github",
"line_count": 347,
"max_line_length": 90,
"avg_line_length": 25.703170028818445,
"alnum_prop": 0.6442426280973204,
"repo_name": "kingoffighter97/ReactNote",
"id": "a77e5d4805bce221c4e6dc1865845304dfd2dcda",
"s... |
package com.google.cloud.dialogflow.cx.v3beta1.stub;
import static com.google.cloud.dialogflow.cx.v3beta1.WebhooksClient.ListLocationsPagedResponse;
import static com.google.cloud.dialogflow.cx.v3beta1.WebhooksClient.ListWebhooksPagedResponse;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.Backg... | {
"content_hash": "43f283481023b53136df28ebb332b277",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 100,
"avg_line_length": 41.82432432432432,
"alnum_prop": 0.8168012924071082,
"repo_name": "googleapis/java-dialogflow-cx",
"id": "69892856bd6672d8bc94a3424d512cad53bd5b3e",
... |
<?xml version="1.0"?>
<?dlps id="NurDep2"?>
<?dlps page-images="none" figure-images="no"?>
<?dlps transcription="other"?>
<!DOCTYPE TEI.2 SYSTEM "http://text.lib.virginia.edu/dtd/tei/tei-p4/tei2.dtd" [
<!ENTITY % POSTKB "INCLUDE">
<!ENTITY % TEI.extensions.ent SYSTEM "http://text.lib.virginia.edu/dtd/tei/uva-dl-tei/u... | {
"content_hash": "2476338cb3cdf32d02c32e0eb5683aa0",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 550,
"avg_line_length": 36.22222222222222,
"alnum_prop": 0.7510736196319019,
"repo_name": "JohannGillium/modern_english_ed",
"id": "e87ceb9fab7bfe61cf63d17763e5bdc7a6420682"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Device Management | Tarento Mobility</title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<meta name="description" content="Tarento Device Management">
<!-- boots... | {
"content_hash": "66a4f9cf4f4def7065b457a3d8e23116",
"timestamp": "",
"source": "github",
"line_count": 257,
"max_line_length": 149,
"avg_line_length": 42.673151750972764,
"alnum_prop": 0.39089997264520837,
"repo_name": "TarentoIndia/TarentoDeviceManagement",
"id": "e0d64ef80948f597d5fa9b57f7b94f53a0... |
<?php
include_once 'phing/filters/BaseParamFilterReader.php';
include_once 'phing/filters/ChainableReader.php';
/**
* Reads the first <code>n</code> lines of a stream.
* (Default is first 10 lines.)
* <p>
* Example:
* <pre><headfilter lines="3"/></pre>
* Or:
* <pre><filterreader classname="phing.filters.Head... | {
"content_hash": "f3065ba497e0ea54dfe57562cbc5b756",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 99,
"avg_line_length": 29.818181818181817,
"alnum_prop": 0.5412757973733584,
"repo_name": "studiodev/archives",
"id": "8269f0f9ae49d5c08a2cdcad62a131a6f7ffdb7a",
"size": "... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "1fd76b314992d8fe5185663ef2734d9d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "e557295fe472d3acf62f50d784d52dc0e0f2efbd",
"size": "177... |
package org.jsimpledb.kv.fdb;
import com.foundationdb.FDBException;
import com.foundationdb.KeyValue;
import com.foundationdb.MutationType;
import com.foundationdb.Range;
import com.foundationdb.ReadTransaction;
import com.foundationdb.Transaction;
import com.foundationdb.async.AsyncIterator;
import com.google.comm... | {
"content_hash": "7935e562d70adb15ce9c82784b6c4ac5",
"timestamp": "",
"source": "github",
"line_count": 321,
"max_line_length": 130,
"avg_line_length": 32.679127725856695,
"alnum_prop": 0.6050524308865586,
"repo_name": "tempbottle/jsimpledb",
"id": "35e815a0187715e1cc778777b1f7d1dd32d5d309",
"size"... |
<?php
# Author Bermi Ferrer - MIT LICENSE
class Status extends ActiveRecord
{
}
| {
"content_hash": "f39b8b098cff99a299af7583840b64df",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 35,
"avg_line_length": 10.375,
"alnum_prop": 0.7228915662650602,
"repo_name": "akelos/editam",
"id": "4e7b9aebeb62a95ee5146d0454db96b3b13bc6e3",
"size": "83",
"binary": fa... |
require 'color_decomposition/quadtree/quadtree'
require 'color_decomposition/quadtree/node'
require 'test/unit'
class TestColorComparator < Test::Unit::TestCase
include ColorDecomposition
def test_quadtree_rect
quadtree = Quadtree.new(2, 2)
assert_equal({ left: 0, top: 0, right: 2, bottom: 2 }, quadtree.r... | {
"content_hash": "b0be454bfcdbc0c4c15c4a51c5ae9811",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 78,
"avg_line_length": 33.172413793103445,
"alnum_prop": 0.6735966735966736,
"repo_name": "jonasbleyl/color-decomposition",
"id": "23e0ff83de19efac8c19891c3bf261cd63549c13",
... |
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context="ntnu.master.nofall.MainActivity" >
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:showAsAction="never"
android:title=... | {
"content_hash": "f329dffa712fe265c87c632d4ef7ecf4",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 64,
"avg_line_length": 32.45454545454545,
"alnum_prop": 0.6722689075630253,
"repo_name": "finnjohansen/NoFall",
"id": "e037f5e1c08b9dc8b1f3730d14b668f76eb69cc1",
"size": "3... |
var columnDefsLeft = [
{ headerName: "Function", field: 'function', minWidth: 150 },
{ headerName: "Value", field: 'value' },
{ headerName: "Times 10", valueGetter: 'getValue("value") * 10' }
];
var rowDataLeft = [
{ function: 'Number Squared', value: '=ctx.theNumber * ctx.theNumber' },
{ function:... | {
"content_hash": "2d9c6369596d616dccfc6681132c6c0f",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 140,
"avg_line_length": 29.261904761904763,
"alnum_prop": 0.6517493897477624,
"repo_name": "ceolter/ag-grid",
"id": "3ab61ad70326686ba4d5828917aafa445108bafc",
"size": "247... |
package de.philipphager.disclosure.util.time;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import org.threeten.bp.Duration;
import org.threeten.bp.LocalDateTime;
import static org.assertj.core.api.Assert... | {
"content_hash": "2e0e9f5a073447afe4f5bfecb1364ab9",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 88,
"avg_line_length": 33.74285714285714,
"alnum_prop": 0.7464013547840813,
"repo_name": "philipphager/disclosure-android-app",
"id": "096fcda625c12ac08b99ce25f5feec06a0a454b... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.crazyit.manager"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="17" />
<application android:icon="@drawable/ic_launcher" an... | {
"content_hash": "e8c039a28e2252a7402fcef0848c2302",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 84,
"avg_line_length": 34.166666666666664,
"alnum_prop": 0.7170731707317073,
"repo_name": "00wendi00/MyProject",
"id": "cb3e060b82aa472195f3a1b7a1515a944e94bc0f",
"size": "... |
import React, { Component, PropTypes } from 'react';
import { render } from 'react-dom';
import ReactAccordion from '..';
import {
DATA,
OPTIONS
} from './const';
class App extends Component {
static propTypes = {
data: PropTypes.array.isRequired,
options: PropTypes.object.isRequired
};
render() {
... | {
"content_hash": "ddf8d239c7a4158362a6df57952e534a",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 55,
"avg_line_length": 20.441176470588236,
"alnum_prop": 0.6330935251798561,
"repo_name": "cht8687/react-accordion",
"id": "f3087f62ab0876b5bbda588cded7cf42add0b70d",
"size... |
/**
* A client to Cloud Data Loss Prevention (DLP) API.
*
* <p>The interfaces provided are listed below, along with usage samples.
*
* <p>================ DlpServiceClient ================
*
* <p>Service Description: The Cloud Data Loss Prevention (DLP) API is a service that allows clients
* to detect the pre... | {
"content_hash": "f9e4aaf004e5f300202f6fde07859ab3",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 100,
"avg_line_length": 36.84375,
"alnum_prop": 0.7056827820186599,
"repo_name": "vam-google/google-cloud-java",
"id": "62ac4638fd1cf3a750628ba07abc1132d69f4521",
"size": "... |
"""
django-guardian helper functions.
"""
import logging
from django.contrib.auth.models import User, AnonymousUser, Group
from guardian.exceptions import NotUserNorGroup
from guardian.conf.settings import ANONYMOUS_USER_ID
from itertools import chain
logger = logging.getLogger(__name__)
def get_anonymous_user():
... | {
"content_hash": "a724f67e184613c3b5233d199108beb6",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 79,
"avg_line_length": 29.27710843373494,
"alnum_prop": 0.660082304526749,
"repo_name": "MediaSapiens/wavesf",
"id": "96d177a515bd845d6cdb8fade77d664f09260bb4",
"size": "24... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/11. JavaScript Objects and Assoc Arrays.iml" filepath="$PROJECT_DIR$/.idea/11. JavaScript Objects and Assoc Arrays.iml" />
</modules>
</component>
... | {
"content_hash": "14e476427699ddc55a54f3b7194682f4",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 172,
"avg_line_length": 41.25,
"alnum_prop": 0.6878787878787879,
"repo_name": "kalinmarkov/SoftUni",
"id": "353421f086eb8a91bee36d3a49f389d54d5d78a3",
"size": "330",
"bina... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__unsigned_int_fscanf_postinc_42.c
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-42.tmpl.c
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: fscanf Read data from the console using fscanf(... | {
"content_hash": "61ecf38d2cea72b0f99b6ac486d9a8aa",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 97,
"avg_line_length": 26.56,
"alnum_prop": 0.6424698795180723,
"repo_name": "JianpingZeng/xcc",
"id": "a627a4f3fc0950cd7db28f5ef6ecf6062bc6b26d",
"size": "3320",
"binar... |
<!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_07) on Sat Sep 26 18:07:50 CST 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>XEnum.RadarChartTyp... | {
"content_hash": "ef62860afc63e0615b380f38574e041d",
"timestamp": "",
"source": "github",
"line_count": 329,
"max_line_length": 202,
"avg_line_length": 37.6048632218845,
"alnum_prop": 0.6595538312318138,
"repo_name": "ylfonline/XCL_CHARTS",
"id": "551bf37dcf459fbe9832660e7538839335a75bb8",
"size": ... |
<!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_66) on Mon Dec 14 16:16:13 CST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class play.classload... | {
"content_hash": "45fbf7bd7567ec6fb9025a44849f3e36",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 261,
"avg_line_length": 40.92857142857143,
"alnum_prop": 0.65949195268567,
"repo_name": "play1-maven-plugin/play1-maven-plugin.github.io",
"id": "fb8f4e1cdd6492f82008e9d0d9d... |
namespace capnp {
namespace _ { // private
namespace {
TEST(Encoding, AllTypes) {
MallocMessageBuilder builder;
initTestMessage(builder.initRoot<TestAllTypes>());
checkTestMessage(builder.getRoot<TestAllTypes>());
checkTestMessage(builder.getRoot<TestAllTypes>().asReader());
SegmentArrayMessageReader read... | {
"content_hash": "56ca6c5026b2328bed1a7bb753c0fa34",
"timestamp": "",
"source": "github",
"line_count": 1943,
"max_line_length": 128,
"avg_line_length": 36.98661863098302,
"alnum_prop": 0.6779238850622695,
"repo_name": "mologie/capnproto",
"id": "b7ac5f6517734ecf02a5274eb639019bf2451e60",
"size": "... |
To program the SCVM, open the `Program.h` file located in the `src` directory. The VM only supports
a single program at the moment, and to edit it, change the code in the `program` array (it's type `int`).
Here are the currently available instructions (please update this list if you add more):
- `HLT` (use at the end... | {
"content_hash": "77c4765857943b93afb885f3064f55d1",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 154,
"avg_line_length": 77.80851063829788,
"alnum_prop": 0.7555373256767842,
"repo_name": "techgineer/simple-c-vm",
"id": "d3b8121cc7d5d335539bece717273b055a8cac3e",
"size"... |
We technically don't need this plugin anymore, since we store the settings as
`local storage` in the usercache, and can directly access it from both native
code and javascript. BUT the server communication currently does not use the
usercache, and there might be places that still use this code (e.g. to display
the serv... | {
"content_hash": "416e4b2ad3d22fb40e9ae14ac0eeb004",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 82,
"avg_line_length": 54.2,
"alnum_prop": 0.7952029520295203,
"repo_name": "e-mission/cordova-connection-settings",
"id": "85204e7add71b20b55b7ff9e4195f452a15b2dc7",
"size... |
import { StandardArticle } from "@artsy/reaction/dist/Components/Publishing/Fixtures/Articles"
import { RichText } from "client/components/draft/rich_text/rich_text"
import { getEditorState } from "client/components/draft/shared/test_helpers"
import { EditorState, SelectionState } from "draft-js"
import { mount } from ... | {
"content_hash": "93873c381f669072c0184669c5881274",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 94,
"avg_line_length": 32.92168674698795,
"alnum_prop": 0.6428179322964318,
"repo_name": "artsy/positron",
"id": "d1dc0a93eab603a5e3144d4bb8c6bae25ac8fcb8",
"size": "5465"... |
from django.db import migrations
def update_judging_commitment_view_url(apps, schema_editor):
NavTreeItem = apps.get_model('accelerator', 'NavTreeItem')
NavTreeItem.objects.filter(
url='/expert/commitments/').update(url='/judging/commitments/')
class Migration(migrations.Migration):
dependencies... | {
"content_hash": "55f7c7c94ef52a15d746ccb12a45dde5",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 71,
"avg_line_length": 30.166666666666668,
"alnum_prop": 0.6666666666666666,
"repo_name": "masschallenge/django-accelerator",
"id": "70756e5c40dacde51d2564bd2561224e856fe312"... |
<?php
namespace DvsaCommonTest\Dto\Event;
use DvsaCommon\Dto\Event\EventListDto;
use DvsaCommonTest\Dto\AbstractDtoTester;
/**
* Unit test for class EventListDto
*
* @package DvsaCommonTest\Dto\Event
*/
class EventListDtoTest extends AbstractDtoTester
{
protected $dtoClassName = EventListDto::class;
}
| {
"content_hash": "538770060ce83b16bc162a920075507c",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 50,
"avg_line_length": 19.625,
"alnum_prop": 0.7770700636942676,
"repo_name": "dvsa/mot",
"id": "4643ee5b9a09b1d2a776448d38458dda4f4fe821",
"size": "314",
"binary": false... |
{-# LANGUAGE MultiParamTypeClasses, FlexibleInstances #-}
-- | Module containing the 'Monad2' and 'MonadTrans2' class definitions. Put simply, these are
-- monads with 2 type arguments, so if @m@ is a 'Monad2' type then an instance of it has type
-- @m a b@ for types @a@ and @b@. Similarly, if @t@ is a 'MonadTra... | {
"content_hash": "9cb08fe217aae0fdc8f37b512b5593fc",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 95,
"avg_line_length": 42.5,
"alnum_prop": 0.5862068965517241,
"repo_name": "Julianporter/Haskell-MapReduce",
"id": "d2242d1dd3d32824d9a030b9e2b51df1a0b291e1",
"size": "246... |
package org.apache.shiro.cache;
import org.apache.shiro.util.SoftHashMap;
/**
* Simple memory-only based {@link CacheManager CacheManager} implementation usable in production
* environments. It will not cause memory leaks as it produces {@link Cache Cache}s backed by
* {@link SoftHashMap SoftHashMap}s which auto... | {
"content_hash": "d64956149cacfe0a230f0b18cac01c65",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 117,
"avg_line_length": 43.064516129032256,
"alnum_prop": 0.7393258426966293,
"repo_name": "xuegongzi/rabbitframework",
"id": "9b331e42dafb405f0f380b25524574e647c59e24",
"s... |
<?php
use app\core\helpers\Html;
use app\core\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\wechat\models\Tag */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="tag-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'name')->textInput([... | {
"content_hash": "9f0e95f3fbb9b6c7213742997840082b",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 87,
"avg_line_length": 23.56,
"alnum_prop": 0.5382003395585738,
"repo_name": "cboy868/lion",
"id": "70616eb68bcf7a738b88a531afda725f97e525f7",
"size": "593",
"binary": fa... |
package cf.rachlinski.cryspscript.runtime.exec;
/**
* Executable commands implement this interface
*/
public interface Executable
{
/**
* Run the command
*/
void run();
}
| {
"content_hash": "7c4dd660693f9035bfe0edc5b387c7dd",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 47,
"avg_line_length": 15,
"alnum_prop": 0.7,
"repo_name": "chrisco210/CryspScript",
"id": "0d717b39d44705e2dd314a1ba8c6df6b3a8911e5",
"size": "180",
"binary": false,
"... |
package pt.rupeal.invoicexpress.charts;
import java.util.ArrayList;
import java.util.List;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import pt.rupeal.invoicexpress.MainActivity;
import pt.rupeal.invoicexpress.R;
import pt.rupeal.invoicexpress.model.QuarterChartModel;
impor... | {
"content_hash": "fd7a60ced2924106c0e7624e1c29db89",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 141,
"avg_line_length": 47.39366515837104,
"alnum_prop": 0.7721978231812107,
"repo_name": "weareswat/invoicexpress-android",
"id": "2af17f9564be01188dfc5c9932f7c5f56c6353e9"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.