text stringlengths 2 1.04M | meta dict |
|---|---|
package org.apache.mina.filter.codec.statemachine;
import java.util.ArrayList;
import java.util.List;
import org.apache.mina.core.buffer.IoBuffer;
import org.apache.mina.core.filterchain.IoFilter.NextFilter;
import org.apache.mina.core.session.IoSession;
import org.apache.mina.filter.codec.ProtocolCodecFilter;
impor... | {
"content_hash": "2a8052037adc61a8ada7a9d845744175",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 104,
"avg_line_length": 31.854748603351954,
"alnum_prop": 0.5848824973693441,
"repo_name": "xuliugen/mina-project",
"id": "d38ba52f1afcf9b4a0d103b8cb69046e2d04a3e3",
"size... |
require_relative 'setup'
require 'leafy/metrics/csv_reporter'
require 'fileutils'
describe Leafy::Metrics::CSVReporter do
subject { Leafy::Metrics::CSVReporter }
let( :metrics ) { Leafy::Metrics::Registry.new }
let( :requests ) { metrics.register_meter( "requests" ) }
let( :csvfile ) { File.expand_path( File... | {
"content_hash": "bfa345c128cf4390bf64722b02f252ad",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 88,
"avg_line_length": 30.84,
"alnum_prop": 0.6498054474708171,
"repo_name": "mkristian/leafy",
"id": "5e772d6d954a6e45c2a6fc4102ed71bbadcf26e0",
"size": "2313",
"binary"... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#ifdef BENCHMARK_CHELP
#include <sys/time.h>
#endif
#include "chelper.h"
int NewOnigRegex( char *pattern, int pattern_length, int option,
OnigRegex *regex, OnigEncoding *encoding, OnigErrorInfo **error_info, char **error_buffer) {
int ret... | {
"content_hash": "d8b005c2cbe8b855cf3d936bea478fd5",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 123,
"avg_line_length": 30.942708333333332,
"alnum_prop": 0.6271671435785221,
"repo_name": "vdbt/gitea",
"id": "035f3b4ed5af361585fc4327d14497f890b29568",
"size": "5941",
... |
package com.facebook.litho.specmodels.model;
import static org.assertj.core.api.Assertions.assertThat;
import com.facebook.litho.ComponentContext;
import com.facebook.litho.ErrorEvent;
import com.facebook.litho.annotations.FromEvent;
import com.facebook.litho.annotations.LayoutSpec;
import com.facebook.litho.annota... | {
"content_hash": "bf202703e35bafe659d2759ff187770d",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 99,
"avg_line_length": 39.00917431192661,
"alnum_prop": 0.7605832549388523,
"repo_name": "facebook/litho",
"id": "ef9b6a4622d1c60b02d7b7449581c460e6c462d7",
"size": "4870"... |
/*
* Gravis Stinger gamepad driver for Linux
*/
/*
* This program is free warftware; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This ... | {
"content_hash": "6ba9f369e5a2133b4b60e02818895eba",
"timestamp": "",
"source": "github",
"line_count": 208,
"max_line_length": 76,
"avg_line_length": 26.33173076923077,
"alnum_prop": 0.6775607084170167,
"repo_name": "andrewjylee/omniplay",
"id": "0f51a60e14a7f9903950c37b55c16d35fb83b98a",
"size": ... |
<?php
/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}
class acp_styles
{
public $u_action;
protected $u_base_action;
protected $s_hidden_fields;
protected $mode;
protected $styles_path;
protected $styles_path_absolute = 'styles';
protected $default_style = 0;
protected $styles_list_cols = 0;
protecte... | {
"content_hash": "8f4a3b664ba7743f75f92e92b0276ee7",
"timestamp": "",
"source": "github",
"line_count": 1340,
"max_line_length": 177,
"avg_line_length": 25.414925373134327,
"alnum_prop": 0.5899107352595725,
"repo_name": "kivi8/ars-poetica",
"id": "5181b87ecb58a83cf44a281a26407e7794150fce",
"size": ... |
class Node
attr_accessor :next, :data
def initialize(data)
@data = data
end
def append(data)
current_node = self
while !current_node.next.nil? do
current_node = current_node.next
end
current_node.next = Node.new(data)
end
def delete(data)
n = self
return self.next if n.... | {
"content_hash": "a29a823224d694fb62297609ca352de8",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 39,
"avg_line_length": 14.27450980392157,
"alnum_prop": 0.5865384615384616,
"repo_name": "lucasefe/data-structures",
"id": "fa0eacc289361ef214f5f62958ee02e8798e5599",
"size... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StatTag.Core.ValueFormatter
{
public class RMarkdown : BaseValueFormatter
{
}
}
| {
"content_hash": "9ccacf897d2084c9296cd79bafb65b46",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 47,
"avg_line_length": 18.333333333333332,
"alnum_prop": 0.759090909090909,
"repo_name": "StatTag/StatTag",
"id": "e204b0fbd60bf1e9887745664cef9a3307490eaa",
"size": "222",... |
wget -q http://www.astro.umontreal.ca/~bergeron/CoolingModels/Tables/Table_Mass_0.2
wget -q http://www.astro.umontreal.ca/~bergeron/CoolingModels/Tables/Table_Mass_0.3
wget -q http://www.astro.umontreal.ca/~bergeron/CoolingModels/Tables/Table_Mass_0.4
wget -q http://www.astro.umontreal.ca/~bergeron/CoolingModels/Tables... | {
"content_hash": "325b572fffd0c3032af08d7b9187240a",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 83,
"avg_line_length": 84,
"alnum_prop": 0.7857142857142857,
"repo_name": "bmorris3/koi3278",
"id": "4b9c9685022e5b75bd144d1cb934f4697fa84470",
"size": "934",
"binary": f... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE193_char_cpy_66a.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE193.label.xml
Template File: sources-sink-66a.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate memory... | {
"content_hash": "144d2c3d1a03d1102ea5625e363dd982",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 109,
"avg_line_length": 29.892473118279568,
"alnum_prop": 0.6741007194244605,
"repo_name": "maurer/tiamat",
"id": "f8cefcc62c16fc3df680fe079308cfc3c84d8a00",
"size": "2780"... |
<?php
namespace Everzet\Behat\StepDefinition;
use Everzet\Gherkin\Node\PyStringNode;
use Everzet\Gherkin\Node\TableNode;
use Everzet\Behat\Exception\Error;
use Everzet\Behat\Environment\EnvironmentInterface;
/**
* Step Definition.
*
* @author Konstantin Kudryashov <ever.zet@gmail.com>
*/
class Definition... | {
"content_hash": "60d96dbf688d09e6e7627aab39e39909",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 89,
"avg_line_length": 23.388535031847134,
"alnum_prop": 0.5471132897603486,
"repo_name": "jefftulsa/Behat",
"id": "e6b5334fca198cf9dea2e6ce6053f897c1562d07",
"size": "389... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.IO;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.Languag... | {
"content_hash": "50e49f68629601bc1285380f4ce1fb5f",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 172,
"avg_line_length": 39.83783783783784,
"alnum_prop": 0.6231343283582089,
"repo_name": "diryboy/roslyn",
"id": "ebfaf8992842adc4e665a08e57e6f8cf09d4ec94",
"size": "2950"... |
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for express-stormpath/lib/middleware/api-authentication-required.js</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="../../../prettify.css" />
<link rel="stylesheet" href="../../../base.css" />
<meta name="viewport" con... | {
"content_hash": "676652329ae5aa7f2c0bf4ac314193f2",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 152,
"avg_line_length": 32.53877551020408,
"alnum_prop": 0.6618163572503764,
"repo_name": "Casmith109/inventuru",
"id": "544b81443ae71626c60d2add8093b252653a226c",
"size":... |
package com.gs.collections.impl.list.fixed;
import java.util.ArrayList;
import java.util.List;
import com.gs.collections.api.list.MutableList;
import com.gs.collections.impl.block.factory.Procedures2;
import com.gs.collections.impl.block.procedure.CollectionAddProcedure;
import com.gs.collections.impl.factory.Lists... | {
"content_hash": "ec51fec1c30ad5fe3aaff93fc4422dd9",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 105,
"avg_line_length": 32.823232323232325,
"alnum_prop": 0.6088629019849208,
"repo_name": "Pelumi/gs-collections",
"id": "92ca02f4f69dffd7a626fd584f04745dac3f16b2",
"size... |
.class Lcom/zte/mifavor/preference/EditTextPreference$SavedState;
.super Lcom/zte/mifavor/preference/Preference$BaseSavedState;
.source "EditTextPreference.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/zte/mifavor/preference/EditTextPreference;
.end annotation
.annotation... | {
"content_hash": "f5ca8ff10f41b73b931ad9869f42aa07",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 123,
"avg_line_length": 27.275510204081634,
"alnum_prop": 0.710811821922933,
"repo_name": "hexiaoshuai/Flyme_device_ZTE_A1",
"id": "ab10a7ea43b09d5e0c2f1e036548231c38015951",... |
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**not_found** | [**\Dcm\Model\GeoBidModifier[]**](GeoBidModifier.md) | The bid modifier criteria that were recognized and applied | [optional]
**ok** | [**\Dcm\Model\GeoBidModifier[]**](GeoBidModifier.md) | The bid modifier ... | {
"content_hash": "4715feeab14c5a5afeaeb2bd4a17c5a2",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 161,
"avg_line_length": 67.625,
"alnum_prop": 0.6284658040665434,
"repo_name": "dolead/DcmApiClient-php",
"id": "e225de91e4cd5de8f430618109bb5d9ac24817df",
"size": "587",
... |
package strategy.impl;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ThreadLocalRandom;
import person.Person;
import strategy.StrategieI;
/**
* @author DURIEZ Jean-Baptiste et QUINCY Jordane
*/
public class HardJoss implements StrategieI {
/**
* <p>
* {@inheritDoc}
... | {
"content_hash": "5233746ae04203717a00d2906e339dea",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 134,
"avg_line_length": 27.453125,
"alnum_prop": 0.6647694934547524,
"repo_name": "jordane-quincy/TP-IA",
"id": "14e83eb738b3898fc9d5404ceb5bf9363eb944b3",
"size": "1762",
... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/Users/maciej/Projects/AudioVideoReactNative/node_modules/react-native-fs/android/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values-pt-rPT/values-pt-rPT.xml -->
<eat-comment/>
<string msgid="4600421777120114... | {
"content_hash": "3468fd1686e5aa8c22e6252183e58b33",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 214,
"avg_line_length": 91.91428571428571,
"alnum_prop": 0.7531861983214174,
"repo_name": "kelong/react-native-with-amazon-s3",
"id": "8f7824c77d5bcab5e85c3b973dccc037a838f31... |
package microsoft.exchange.webservices.data;
public class NotSupportedException extends Exception {
/**
* Instantiates a new argument exception.
*/
public NotSupportedException() {
super();
}
/**
* Instantiates a new NotSupported exception.
*
* @param strMessage
* the str message
*... | {
"content_hash": "681d22bcf3185a1b46903b5f2cc016a7",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 54,
"avg_line_length": 19,
"alnum_prop": 0.6892230576441103,
"repo_name": "kaaaaang/ews-java-api",
"id": "e11643a39d109c26a4a3ba856767ba5028f28e9e",
"size": "399",
"binar... |
#include <libxls/xlsstruct.h>
int xls_is_bigendian();
DWORD xlsIntVal (DWORD i);
unsigned short xlsShortVal (short s);
void xlsConvertHeader(OLE2Header *h);
void xlsConvertPss(PSS* pss);
void xlsConvertDouble(BYTE *d);
void xlsConvertBof(BOF *b);
void xlsConvertBiff(BIFF *b);
void xlsConvertWindow(WIND1 *w);
void ... | {
"content_hash": "ab946f114044d3a2ffa14afd97c02ffc",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 53,
"avg_line_length": 26.714285714285715,
"alnum_prop": 0.7657754010695187,
"repo_name": "n1mda/ExcelKit",
"id": "19c79efdbd4e2f11ce0414cf5a82f1f18e780244",
"size": "2438"... |
class EditsChannel < ApplicationCable::Channel
def subscribed
stream_for params[:case_slug] if user_can_read_case
end
private
def user_can_read_case
Pundit.policy(current_reader, kase).show?
end
def kase
Case.friendly.find params[:case_slug]
rescue ActiveRecord::RecordNotFound
reject
... | {
"content_hash": "301dc93fd56d3b3a1af825b7583eceab",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 55,
"avg_line_length": 19.294117647058822,
"alnum_prop": 0.725609756097561,
"repo_name": "michigan-sustainability-cases/gala",
"id": "1b521e80baa59dd286b406b4cb5acbb948d0b688... |
package com.handu.open.dubbo.monitor.controller;
import com.google.common.collect.Lists;
import com.handu.open.dubbo.monitor.DubboMonitorService;
import com.handu.open.dubbo.monitor.domain.DubboInvoke;
import com.handu.open.dubbo.monitor.domain.DubboInvokeLineChart;
import com.handu.open.dubbo.monitor.domain.LineChar... | {
"content_hash": "16b462abf8d77ce2a4f3d99495e36c52",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 100,
"avg_line_length": 41.62105263157895,
"alnum_prop": 0.7336874051593323,
"repo_name": "DR-YangLong/dubbo-monitor",
"id": "2715717c501f3c15fa951788fd18a2e70e9fdf31",
"si... |
<?php
namespace Zend\Permissions\Acl\Role;
use Traversable;
use Zend\Permissions\Acl\Exception;
class Registry
{
/**
* Internal Role registry data storage
*
* @var array
*/
protected $roles = array();
/**
* Adds a Role having an identifier unique to the regist... | {
"content_hash": "b8b487bd0bf4c187974b86eeef67f0d9",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 94,
"avg_line_length": 31.61965811965812,
"alnum_prop": 0.5407487498310583,
"repo_name": "ishvaram/email-app",
"id": "4ab41e8eba038e7b92b4bf5be2eb9ab16d17ba58",
"size": "7... |
from conjureup import events, utils
from conjureup.app_config import app
from . import common
class RegionsController(common.BaseRegionsController):
def render(self):
if app.provider.region or not self.regions:
self.finish(app.provider.region)
elif self.default_region:
sel... | {
"content_hash": "138803addcf3da39f266a4ece0259571",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 75,
"avg_line_length": 35.63636363636363,
"alnum_prop": 0.6033163265306123,
"repo_name": "ubuntu/conjure-up",
"id": "0f70a90653c05959572d8eda22eab8cf4434973a",
"size": "784... |
require "lunit"
require "lua-enumerable"
module( "test-lua-enumerable", lunit.testcase, package.seeall )
function test_every()
y = 0
table.every({1,2,nil,7}, function (x) y = y + x end)
assert_equal(y, 10)
end
function test_each()
y = 0
table.each({1,2,3}, function (x) y = y + x end)
assert_equal(y, 6)
e... | {
"content_hash": "170b80ef6308b70a5285abd704309ea4",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 82,
"avg_line_length": 20.378048780487806,
"alnum_prop": 0.6579892280071813,
"repo_name": "mikelovesrobots/lua-enumerable",
"id": "c173a24bede2166778f16c3915e7f9eee98260f1",... |
package dk.jbfp.staveapp.stats;
import android.app.Activity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.widget.TableLayout;
import android.widget.TableRow;
import android.widget.TextView;
import java.util.Collection;
import java.util.Map;
import dk.jbfp... | {
"content_hash": "c0cd0f2cefeabed2f5419f5630cdba37",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 155,
"avg_line_length": 37.642857142857146,
"alnum_prop": 0.654965211891208,
"repo_name": "jbfp/spelling-app",
"id": "6fbeffa7d23363627a66b042d5e51dfa5f0ed4d3",
"size": "31... |
class String
def MyGem
self.gsub("s", "z")
end
end
module MyGem
class SomeClass
end
end | {
"content_hash": "a73e4419325132b96a250dfbd53c6164",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 23,
"avg_line_length": 10,
"alnum_prop": 0.66,
"repo_name": "Rex1909/MyGem",
"id": "0f3217018cee089d5f11b5ba5e4ebd609784d4ee",
"size": "100",
"binary": false,
"copies":... |
<!--
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you ma... | {
"content_hash": "f73c351bd82d293fa2d56b89ae5f6cbf",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 142,
"avg_line_length": 44.424778761061944,
"alnum_prop": 0.7685258964143427,
"repo_name": "opentext/appworks-app-starter",
"id": "d0c45fbf6dc54df856f723d8bbf86e1c0ebbf7a2",... |
var gulp = require('gulp');
var meta = require('./package.json');
var addStream = require('add-stream');
var concat = require('gulp-concat');
var expect = require('gulp-expect-file');
var htmlMinifier = require('gulp-html-minifier');
var inject = require('gulp-inject-string');
var rename = require('gulp-rename');
var... | {
"content_hash": "54f47f3174324c2bee4cac43e6ed2f4a",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 98,
"avg_line_length": 31.458333333333332,
"alnum_prop": 0.5690949227373069,
"repo_name": "slapec/yaat",
"id": "87e5049749d98c3d66a124ae0bbe3ab9ffd75c48",
"size": "2265",
... |
#ifndef _DRM_DP_MST_HELPER_H_
#define _DRM_DP_MST_HELPER_H_
#include <linux/types.h>
#include <drm/drm_dp_helper.h>
struct drm_dp_mst_branch;
/**
* struct drm_dp_vcpi - Virtual Channel Payload Identifier
* @vcpi: Virtual channel ID.
* @pbn: Payload Bandwidth Number for this channel
* @aligned_pbn: PBN aligned w... | {
"content_hash": "d12c4204ee0a440675c171ae64b36810",
"timestamp": "",
"source": "github",
"line_count": 501,
"max_line_length": 182,
"avg_line_length": 26.672654690618764,
"alnum_prop": 0.7177280550774526,
"repo_name": "publicloudapp/csrutil",
"id": "5340099741aec8c48575b1c1056f23903e150ed6",
"size... |
std::string resourcePath(void);
#endif
| {
"content_hash": "54795a13682c2ece7ee81861e196f566",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 31,
"avg_line_length": 13.333333333333334,
"alnum_prop": 0.75,
"repo_name": "felipowsky/Pong",
"id": "cc7790ff0c05ae7bea4462cb508e824b8a8a620a",
"size": "1725",
"binary": ... |
#pragma once
#include "tuple_ext.h"
#include "metaprogramming.h"
#include <type_traits>
#include <tuple>
namespace mxcomp {
struct Member {
Member(const std::string& _name) : name(_name){}
std::string name;
};
static inline std::ostream& operator <<(std::ostream& o, const Member& m){
return o << m... | {
"content_hash": "696bb523de816816678320b491d7b811",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 125,
"avg_line_length": 26.803030303030305,
"alnum_prop": 0.5975127190503109,
"repo_name": "jdavidberger/mxcomp",
"id": "27ca20fbc9efe70256595773ba2597511eb17f21",
"size":... |
package xyz.zimuju.master.surface.common;
import android.content.Context;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.helper.ItemTouchHelper;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewG... | {
"content_hash": "3728a3eda56768b3873b6ae87f9e535f",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 126,
"avg_line_length": 31.432558139534883,
"alnum_prop": 0.6217815921870375,
"repo_name": "Yumore/YuanYuan",
"id": "4ecd6c382af294d55126adfec9aca5dacc434f24",
"size": "68... |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* PHP Version 4
* Copyright (c) 2002-2005, Sebastian Bergmann <sb@sebastian-bergmann.de>.
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following c... | {
"content_hash": "f75e2246ef4e3f72ddfe2acaaee9c65f",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 116,
"avg_line_length": 36.44660194174757,
"alnum_prop": 0.5957645178476292,
"repo_name": "cosnics/cosnics",
"id": "6e13ace44c7ece227a9f9c8cc0aad957b29c11f9",
"size": "750... |
import subprocess
import setup_util
from os.path import expanduser
from os import kill
python = expanduser('~/FrameworkBenchmarks/installs/py2/bin/python')
cwd = expanduser('~/FrameworkBenchmarks/tornado')
def start(args):
setup_util.replace_text(
cwd + "/server.py", "localhost", args.database_host)
... | {
"content_hash": "d104864c77899d8541b061209c34ccec",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 101,
"avg_line_length": 30.32,
"alnum_prop": 0.6662269129287599,
"repo_name": "julienschmidt/FrameworkBenchmarks",
"id": "913031dbbf76ee93b53812d35b54e101df1f9d1f",
"size":... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.krminc.phr.api.converter.clinical;
import com.krminc.phr.api.converter.DateAdapter;
import com.krminc.phr.api.converter.UriResolver;
import com.krminc.phr.domain.clinical.CcrVitalSignResult;
import java.ne... | {
"content_hash": "f95076e9c46a7b29c1e01421afb5456c",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 156,
"avg_line_length": 27.41509433962264,
"alnum_prop": 0.6469373709566414,
"repo_name": "OSEHRA/HealtheMe",
"id": "68c47a078e99f32ce1299a8c410f1321f535a515",
"size": "49... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/PythonEx_1.iml" filepath="$PROJECT_DIR$/.idea/PythonEx_1.iml" />
</modules>
</component>
</project> | {
"content_hash": "c11afb771a1099bbe70e6eaddf36df59",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 114,
"avg_line_length": 34,
"alnum_prop": 0.6580882352941176,
"repo_name": "JaeGyu/PythonEx_1",
"id": "738d64958c579810843947b5991d87798583f169",
"size": "272",
"binary": ... |
//
// ZLNoAuthorityViewController.m
// 多选相册照片
//
// Created by long on 15/11/30.
// Copyright © 2015年 long. All rights reserved.
//
#import "ZLNoAuthorityViewController.h"
@interface ZLNoAuthorityViewController ()
@end
@implementation ZLNoAuthorityViewController
- (void)viewDidLoad {
[super viewDidLoad];
... | {
"content_hash": "0dd678e3d734bf14869f95eb6809be72",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 106,
"avg_line_length": 29.7,
"alnum_prop": 0.7390572390572391,
"repo_name": "tongyuling/xiaoA",
"id": "bb2f8e467b4123eb6de32d70fff6ea2f27b27e9b",
"size": "1869",
"binary... |
from .client import TensorboardServiceClient
from .async_client import TensorboardServiceAsyncClient
__all__ = (
"TensorboardServiceClient",
"TensorboardServiceAsyncClient",
)
| {
"content_hash": "25d4b50fc22165d4a9ce17bb2f362320",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 55,
"avg_line_length": 26.428571428571427,
"alnum_prop": 0.7891891891891892,
"repo_name": "googleapis/python-aiplatform",
"id": "91397832d25fe4032de7e4a630b39174c4660a1d",
"... |
package engine
import (
"bytes"
"fmt"
"hyper/lib/glog"
"io"
"strings"
"sync"
"time"
)
// A job is the fundamental unit of work in the docker engine.
// Everything docker can do should eventually be exposed as a job.
// For example: execute a process in a container, create a new container,
// download an archiv... | {
"content_hash": "f15d40c5f55c5744c79ecc4fb6ffc1f7",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 80,
"avg_line_length": 24.34389140271493,
"alnum_prop": 0.6778810408921933,
"repo_name": "heiden-deng/hyper",
"id": "399b8ed8d59129ea3bccced33cc7ecb5b102aaad",
"size": "53... |
module Euler.Problem1 where
-- | Solves stated problem with inline conditionals in list comprehension
solution :: Integral a => [a] -> (a -> Bool) -> a
solution xs cond = sum [ x | x <- xs, cond x ]
main :: IO ()
main = do
putStrLn $ show $ solution range cond
where
range = [1..999] :: [Integer]
cond = ... | {
"content_hash": "9fbcc915d3d100c6d5f39ea69ceb7ac7",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 73,
"avg_line_length": 30.083333333333332,
"alnum_prop": 0.590027700831025,
"repo_name": "mbbx6spp/euler",
"id": "a193b016e1d2750b97e3b4a5b46dad11bff97cc0",
"size": "422",
... |
<?php
final class PhabricatorBadgesSearchConduitAPIMethod
extends PhabricatorSearchEngineAPIMethod {
public function getAPIMethodName() {
return 'badges.search';
}
public function newSearchEngine() {
return new PhabricatorBadgesSearchEngine();
}
public function getMethodSummary() {
return ph... | {
"content_hash": "166abddf7cd28e61601873b806805cdb",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 51,
"avg_line_length": 20.22222222222222,
"alnum_prop": 0.7445054945054945,
"repo_name": "tanglu-org/tracker-phabricator",
"id": "5d9fc9c5aaf69975c8f28bd34f3b0c1a18bd0182",
... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<!-- Your own application sh... | {
"content_hash": "925c87a7149937d06ab7c5ee9f8d38d8",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 204,
"avg_line_length": 35.13636363636363,
"alnum_prop": 0.7199223803363519,
"repo_name": "domix/spring-boot",
"id": "0db9950d3b33724663055a16355a0a17a39253c8",
"size": "15... |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/... | {
"content_hash": "dc6e51ed328e8715553393f67c649d43",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 108,
"avg_line_length": 48.193548387096776,
"alnum_prop": 0.7536813922356091,
"repo_name": "luoyefeiwu/learn_java",
"id": "f87367265a7ac6b0a5c7e8091d332c601a38e477",
"size"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | {
"content_hash": "0695706487f725b5c41abf752a672c8f",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 83,
"avg_line_length": 25.82758620689655,
"alnum_prop": 0.6308411214953271,
"repo_name": "Hunv/beRemote",
"id": "f0382678659732d947cdece97360c7b3f4da4b1e",
"size": "1500",
... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@color/actionbar_item_pressed_background"/>
<item android:drawable="@android:color/transparent"/>
</selector> | {
"content_hash": "330893d60ceb4d341c23bca07b5c7a96",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 100,
"avg_line_length": 46.666666666666664,
"alnum_prop": 0.7321428571428571,
"repo_name": "vishesh/sealnote",
"id": "66280783904064b6bbec61ed56eeb070bc1c69fc",
"size": "280... |
<?php
/**
* User: Alex Gusev <alex@flancer64.com>
*/
namespace Praxigento\Accounting\Controller\Adminhtml\Transactions;
use Praxigento\Accounting\Config as Cfg;
class Index
extends \Praxigento\Core\App\Action\Back\Base
{
public function __construct(
\Magento\Backend\App\Action\Context $context
)... | {
"content_hash": "5cf11fc36ddf7c4d44203abad26f3fcb",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 75,
"avg_line_length": 27.620689655172413,
"alnum_prop": 0.602996254681648,
"repo_name": "praxigento/mobi_mod_mage2_accounting",
"id": "04caef432c73945fe79b1d6af787d21f0c44f6... |
<!doctype html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="A front-end template that helps you build fast, modern mobile web apps.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title... | {
"content_hash": "a3971fcecb906d098ded498961f8c839",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 264,
"avg_line_length": 53.506726457399104,
"alnum_prop": 0.5860710693932283,
"repo_name": "josefjoy/wsk-polymer",
"id": "971fc0f8972c849b3c786a68ebdacbfb5270c659",
"size"... |
<?php echo Modules::run('templates/Templates/header'); ?>
<?php echo Modules::run('templates/Templates/sidebar'); ?>
<section class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Utilisateurs
</h1>
<ol class="breadcrumb">
... | {
"content_hash": "1e7be3bd02defb32dcbc408f452de516",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 113,
"avg_line_length": 48.94392523364486,
"alnum_prop": 0.32900515562344856,
"repo_name": "thamerbelfkihthamer/repo",
"id": "63e8bbd28da9aae7c4680c7a56ef4dd79345286c",
"s... |
Neos PDO Utilities
------------------
.. note:: This repository is a **read-only subsplit** of a package that is part of the
Flow framework (learn more on `flow.neos.io <http://flow.neos.io/>`_).
If you want to use the Flow framework, please have a look at the `Flow documentation
<http://flowframework.readt... | {
"content_hash": "96eb17ee2655d56e369d67331c1b95f3",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 86,
"avg_line_length": 38.46666666666667,
"alnum_prop": 0.707105719237435,
"repo_name": "neos/flow-development-collection",
"id": "7a2b8698fdf0abdb1f0f77f8b4c819db3bb8d840",
... |
"""
Module to control a virtual create
"""
from ..vrep import vrep as vrep
from enum import Enum
class VirtualCreate:
"""
Class to control a virtual create in V-REP.
"""
def __init__(self, client_id):
"""Constructor.
Args:
client_id (integer): V-REP client id.
""... | {
"content_hash": "cc3cba27595785f2291c0f2d0878fdfc",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 114,
"avg_line_length": 38.5,
"alnum_prop": 0.622564935064935,
"repo_name": "USC-ACTLab/pyCreate2",
"id": "6a7bdbabade270ee906e0e3f3c87aab6d91b3436",
"size": "2464",
"bin... |
<?php
/*
* Register WordPlate components.
*/
require __DIR__.'/dashboard.php';
require __DIR__.'/editor.php';
require __DIR__.'/login.php';
require __DIR__.'/theme.php';
require __DIR__.'/widgets.php';
require __DIR__.'/menus.php';
require __DIR__.'/assets.php';
require __DIR__.'/wordpress.php';
require __DIR__.'/he... | {
"content_hash": "43d749e277832104b1f1f8c62fa273f4",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 33,
"avg_line_length": 24.133333333333333,
"alnum_prop": 0.6187845303867403,
"repo_name": "fieleman/wordplate",
"id": "09b41baca69fe275dae52a5234ee4d0967312001",
"size": "3... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../includes/main.css" type="text/css">
<l... | {
"content_hash": "3daccba638f1a22ce533967f640decc8",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 186,
"avg_line_length": 33.46835443037975,
"alnum_prop": 0.68267776096823,
"repo_name": "pdion891/cloudstack-www",
"id": "9b8612a65adf481aabdd6d80eb9fcf36fc94d937",
"size":... |
define('hilo/renderer/DOMRenderer', ['hilo/core/Class', 'hilo/core/Hilo', 'hilo/renderer/Renderer', 'hilo/view/Drawable'], function(Class, Hilo, Renderer, Drawable){
/**
* @language=en
* @class DomRenderer The DomRenderer, all the visual object is drawing using dom element.The stage will create different renderer... | {
"content_hash": "c9c2b6d0af3a73ffb3c8c9560c07024e",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 222,
"avg_line_length": 30.93258426966292,
"alnum_prop": 0.5483109335270614,
"repo_name": "hiloteam/generator-hilo",
"id": "c28119eb33a2bdd870f445c5b371438d2708b11c",
"siz... |
RImpala is an R package that helps you to connect and execute distributed queries using Cloudera Impala.
Impala supports jdbc integration and this feature is used by RImpala to establish a connection between R and Impala.
## Installating RImpala
To use this package you must also have access to a Hadoop cluster runni... | {
"content_hash": "337420e998dccfc8613d0d38d142ab76",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 166,
"avg_line_length": 48.36734693877551,
"alnum_prop": 0.7561181434599156,
"repo_name": "Mu-Sigma/RImpala",
"id": "9f5c34979dc24c1ccd4d268944159cbbbddf9316",
"size": "238... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "15b010b6e1cd70b9907e28bd3e45f010",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "c221853cd49f9c80bccc5dd392b6b1be05c3839f",
"size": "191... |
require 'test_helper'
class ProductsControllerTest < ActionController::TestCase
setup do
@product = products(:one)
end
test "should get index" do
get :index
assert_response :success
assert_not_nil assigns(:products)
end
test "should get new" do
get :new
assert_response :success
en... | {
"content_hash": "f6e06bc829ff7e4dc0503bd82bcd5dd3",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 121,
"avg_line_length": 23.755102040816325,
"alnum_prop": 0.6838487972508591,
"repo_name": "maxjuniorbr/recycle",
"id": "a8412077b6ec42f944da98c292df7a118022c60c",
"size": ... |
[](https://travis-ci.org/benji6/combinatory-logic-to-js-compiler)
A compiler for combinatory logic to JavaScript
| {
"content_hash": "407deb448c62f97abf413fd2ca10ecb4",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 161,
"avg_line_length": 70,
"alnum_prop": 0.7904761904761904,
"repo_name": "benji6/combinatory-logic-to-js-compiler",
"id": "2378743772f58f870fef1916ff73295bd046c73e",
"size... |

# metacentrum-accounting
Accounting for MetaCentrum
Code for accounting in [MetaCentrum](http://metavo.metacentrum.cz).
Commit messages by [Commitizen](https://github.com/commitizen/cz-cli)
| {
"content_hash": "1715b010344219d37d9c2762c816c1c1",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 97,
"avg_line_length": 32.44444444444444,
"alnum_prop": 0.791095890410959,
"repo_name": "martin-kuba/metacentrum-accounting",
"id": "6133b06021f2544ba39aa057c10078cc6f274940",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>FileWatchCallback (Play! 2.x Source Watcher API 1.0.0-rc4 API)</title>
... | {
"content_hash": "8d026318d7983fc12932eb7f907d5efa",
"timestamp": "",
"source": "github",
"line_count": 238,
"max_line_length": 391,
"avg_line_length": 38.38235294117647,
"alnum_prop": 0.6359058565955118,
"repo_name": "play2-maven-plugin/play2-maven-plugin.github.io",
"id": "9d687a3acc40a6eb3deb681af... |
var url = require('url'),
http = require('http'),
port = +(process.argv[2]);
function fillZeros(num) {
return +((num < 10 ? "0" : "") + num);
}
var server = http.createServer(function(req, res) {
res.writeHead(200, { 'content-type': 'application/json' });
var fullUrl = url.parse(req.url, true);
// conso... | {
"content_hash": "3ed7c6e0abafcb261e15fcb88f283419",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 62,
"avg_line_length": 21.78082191780822,
"alnum_prop": 0.6251572327044025,
"repo_name": "natac13/learnyounode-solutions",
"id": "172010bae6ef6e57c3dedba906b88a0db86afd9f",
... |
package org.apache.dubbo.config.url;
import org.apache.dubbo.common.logger.Logger;
import org.apache.dubbo.common.logger.LoggerFactory;
import org.apache.dubbo.config.bootstrap.DubboBootstrap;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
im... | {
"content_hash": "fc226c12e801d1599e27bd0601c6a2d0",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 109,
"avg_line_length": 28.17241379310345,
"alnum_prop": 0.6054671562627499,
"repo_name": "lovepoem/dubbo",
"id": "2fd9a9e8a5843ae57007946e25610b695a6017bc",
"size": "3253"... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | {
"content_hash": "9223403c6f38b44c4681fcb65c42f38c",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 74,
"avg_line_length": 28.563106796116504,
"alnum_prop": 0.636981645139361,
"repo_name": "imay/palo",
"id": "e02acf0ba65e130c22ba9f7f362e3fd243bc1bcb",
"size": "2942",
"... |
<?php
namespace SlightScribeBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Table(name="run_has_file")
* @ORM\Entity()
* @ORM\HasLifecycleCallbacks
* @license 3-clause BSD https://github.com/SlightScribe/SlightScribe-Core/blob/master/LICENSE.md
... | {
"content_hash": "7b98950d48022e5dc46533264285d61d",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 98,
"avg_line_length": 17.610837438423644,
"alnum_prop": 0.5613986013986014,
"repo_name": "SlightScribe/SlightScribe-Core",
"id": "2a721204907ded70c2a366ee721b06555e665d94",... |
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// // Override point for customization after application launch.
// self.window.backgroun... | {
"content_hash": "11783ec5395e968dcc4b15051eb604b5",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 281,
"avg_line_length": 51.87179487179487,
"alnum_prop": 0.7800296589223925,
"repo_name": "jhuang2github/iOS",
"id": "2fbc2b54997153e07d2d9e7e6cc76a039aca2954",
"size": "21... |
In this sample, a Windows console Application calls a Web API secured by Azure AD and the API calls SharePoint Online on behalf the logged in user. This scenario is useful for situations where you need a protected API Proxy to interact with SharePoint Online using User's credentials.
### Applies to ###
- Office 365 M... | {
"content_hash": "9c29a2e24f88363dc29312033c8d0e0c",
"timestamp": "",
"source": "github",
"line_count": 296,
"max_line_length": 313,
"avg_line_length": 36.59121621621622,
"alnum_prop": 0.7279106269042563,
"repo_name": "vman/PnP",
"id": "23f5380f693c1f7aa860917abf606378252d5b44",
"size": "10878",
... |
layout: nav/section
section: Getting extra support
---
| {
"content_hash": "ddc0387315f74cbc7d7ccf3d71934bfc",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 30,
"avg_line_length": 18.333333333333332,
"alnum_prop": 0.7636363636363637,
"repo_name": "govau/service-manual",
"id": "40e318d0e44cb3490bf1969e087c86e30276983b",
"size": "... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c06ca05b6603fff34dd2759c4d6bf128",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "4e99a7b9af9cf1b64a702bbaedd564c3c15ad0f1",
"size": "189... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>execution::blocking_adaptation_t::allowed_t::value</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href=... | {
"content_hash": "ad152c18a1f307554e3c0fadeadb50e6",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 519,
"avg_line_length": 69.54237288135593,
"alnum_prop": 0.6514745308310992,
"repo_name": "davehorton/drachtio-server",
"id": "ffe305559c54522f9efd9b914dc217ddd4e5eafa",
"s... |
#include <algorithm>
#include "components/command_line.hpp"
#include "utils/factory.hpp"
POLYBAR_NS
namespace command_line {
/**
* Create instance
*/
parser::make_type parser::make(string&& scriptname, const options&& opts) {
return factory_util::unique<parser>("Usage: " + scriptname + " [OPTION]... BA... | {
"content_hash": "ff35f3504a560c3a6109eed72297ca2d",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 116,
"avg_line_length": 26.720588235294116,
"alnum_prop": 0.5751238304898184,
"repo_name": "jaagr/lemonbuddy",
"id": "35759a0fa0eff5a468c3e7e635ff6d1f6805082c",
"size": "5... |
/*
* 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 writing, software
* distribut... | {
"content_hash": "060d31a1cd454163cca3d4a73ce8ecc1",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 142,
"avg_line_length": 39.55,
"alnum_prop": 0.7121786767804467,
"repo_name": "stewartpark/presto",
"id": "412d1bc78e244bf8e59f19c2993c122528ab8e57",
"size": "2373",
"bin... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/retail/v2/serving_config.proto
namespace Google\Cloud\Retail\V2;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Configures metadata that is used to g... | {
"content_hash": "e76b9f38ca500b096a77d57eb95e8aac",
"timestamp": "",
"source": "github",
"line_count": 1178,
"max_line_length": 200,
"avg_line_length": 46.82003395585738,
"alnum_prop": 0.6720818073031875,
"repo_name": "googleapis/google-cloud-php-retail",
"id": "e082ae122cfb3e1862e144c71ae059da82464... |
package com.wanda.ccs.sqlasm.expression;
import java.util.Arrays;
import java.util.List;
import com.wanda.ccs.sqlasm.util.ValueUtils;
public class ArrayExpCriterion implements ExpressionCriterion<List<String>>{
private String key;
private String label;
private String groupId;
private ... | {
"content_hash": "4463b3536032289ce2e69ba6f0511786",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 102,
"avg_line_length": 20.333333333333332,
"alnum_prop": 0.6348219332956473,
"repo_name": "zhangclong/pathlet",
"id": "f3beb1aca74d9f6d9e1929fdad051dff2afb4cc8",
"size": "... |
layout: leaf-node
title: "Idit Harel"
title-url: "https://en.wikipedia.org/wiki/Idit_Harel"
author: "n.a."
groups: pedagogical-styles
categories: constructionism
topics: biographies
summary: >
Idit Harel is a constructionist academic researcher and the CEO of Globalaria as an entrepreneur. She
worked with Seym... | {
"content_hash": "79c87a99ecc68dd9381ba6e5a4d08e48",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 106,
"avg_line_length": 35.9375,
"alnum_prop": 0.7495652173913043,
"repo_name": "lvollherbst/edtech-test",
"id": "64aa01f148bf5174048911a1359e74baefa76554",
"size": "579",
... |
#include "mumble_pch.hpp"
#include "OverlayPositionableItem.h"
OverlayPositionableItem::OverlayPositionableItem(QRectF *posPtr, const bool isPositionable)
: m_position(posPtr)
, m_isPositionEditable(isPositionable)
, m_qgeiHandle(NULL) {
}
OverlayPositionableItem::~OverlayPositionableItem() {
delete... | {
"content_hash": "8f6b95d295b9e08ddf8fbef547c5c4ba",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 117,
"avg_line_length": 32.333333333333336,
"alnum_prop": 0.6891943489881635,
"repo_name": "Githlar/mumble",
"id": "624b04189664a32d2c086ba4f59d56d4cba6fb74",
"size": "2619... |
@interface CalendarHomeViewController : CalendarViewController
@property (nonatomic, strong) NSString *calendartitle;//设置导航栏标题
- (void)setAirPlaneToDay:(int)day ToDateforString:(NSString *)todate;//飞机初始化方法
- (void)setHotelToDay:(int)day ToDateforString:(NSString *)todate;//酒店初始化方法
- (void)setTrainToDay:(int)day ToD... | {
"content_hash": "88baed0527ad70069533fd179fcbff54",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 78,
"avg_line_length": 37.72727272727273,
"alnum_prop": 0.7927710843373494,
"repo_name": "DevinSMR/nbcylkj",
"id": "aeeb6967c4f9cd079c798d99667e85cba0c72757",
"size": "819"... |
package com.thinkaurelius.titan.diskstorage.locking;
import java.nio.ByteBuffer;
import com.thinkaurelius.titan.diskstorage.util.ByteBufferUtil;
/**
* This is just a (key, column) pair.
*
* @author Dan LaRocque <dalaro@hopcount.org>
*
*/
class KeyColumn {
private final ByteBuffer key;
private final ByteBuf... | {
"content_hash": "5dbb2e2b654699c4a0c65926708ef5a9",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 77,
"avg_line_length": 21.10144927536232,
"alnum_prop": 0.6758241758241759,
"repo_name": "wuman/titan-android",
"id": "3d510e35c705bb60354e231336cbb1a8781751da",
"size": "1... |
from airflow.sensors.base_sensor_operator import BaseSensorOperator
from airflow.utils.decorators import apply_defaults
class S3PrefixSensor(BaseSensorOperator):
"""
Waits for a prefix to exist. A prefix is the first part of a key,
thus enabling checking of constructs similar to glob airfl* or
SQL LI... | {
"content_hash": "7f86535a2b9dc7caa4ba7974d2b08876",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 84,
"avg_line_length": 38.204081632653065,
"alnum_prop": 0.6223290598290598,
"repo_name": "CloverHealth/airflow",
"id": "917dd46e26c288a0eb9f01dab3bea139dabf194c",
"size": ... |
package ${package};
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
}
| {
"content_hash": "e4d2578803980574ab43a70721d8671c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 45,
"avg_line_length": 13.307692307692308,
"alnum_prop": 0.5433526011560693,
"repo_name": "jdcasey/maven-plugins-fixes",
"id": "0f9b368bf9410e945cdffd3c5e25cbb4e20cad38",
"... |
module Exam
# create ToF that inherits Test
class ToF < Test
def initialize (preguntas, correcta, nivel=nil)
super(preguntas,correcta, ["V","F"], nivel)
end
end
end
| {
"content_hash": "aeff50d8a293fd61ae02aba4d1adab19",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 51,
"avg_line_length": 20.666666666666668,
"alnum_prop": 0.6612903225806451,
"repo_name": "alu0100699968/LPP_T_5_prct08",
"id": "52f2d479472498a9d975773123b6170d4ea76015",
"... |
<?xml version="1.0" encoding="utf-8"?>
<ImageView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/money_icon"
android:src="@drawable/ic_attach_money_black_24dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:pa... | {
"content_hash": "59c3a2b677fe9c4380f57d1a03f1a03e",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 66,
"avg_line_length": 41.666666666666664,
"alnum_prop": 0.6453333333333333,
"repo_name": "skubit/skubit-comics",
"id": "4e44f1b7d012dfc274fabf8718acfce57b2214f9",
"size": "... |
<a href='https://github.com/angular/angular.js/edit/v1.4.x/src/ng/directive/a.js?message=docs(a)%3A%20describe%20your%20change...#L3' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<a href='https://github.com/angular/angular.js/tree/v1.4.7/src/ng/directive/a.j... | {
"content_hash": "df5ba3dac0d1a5802462a5fea20c5990",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 237,
"avg_line_length": 22.796875,
"alnum_prop": 0.6429061000685401,
"repo_name": "satterly/play-modtools",
"id": "6f685477bf8c20051697de089b890af258ac7094",
"size": "1459"... |
using System;
using System.Collections;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.Extensions.DependencyInjection;
using DotNetNuke.Common;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Entities.Users;
using DotNetNuke.Security;
using Do... | {
"content_hash": "2af0ced37d41c7932c665b2a144c5bce",
"timestamp": "",
"source": "github",
"line_count": 783,
"max_line_length": 219,
"avg_line_length": 39.029374201787995,
"alnum_prop": 0.5222840314136126,
"repo_name": "RichardHowells/Dnn.Platform",
"id": "72029ba0bb9c8651c503853fd137eca8e7247518",
... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005 The Apache Software Foundation
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/LICE... | {
"content_hash": "5e724ff70b55bd724701187d02163361",
"timestamp": "",
"source": "github",
"line_count": 255,
"max_line_length": 76,
"avg_line_length": 34.470588235294116,
"alnum_prop": 0.5646188850967008,
"repo_name": "vibe13/geronimo",
"id": "10d7968e2a74046d85cf7a2010c5ac14ff1f5e07",
"size": "879... |
/* MD5.H - header file for MD5C.C
*/
/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
rights reserved.
License to copy and use this software is granted provided that it
is identified as the "RSA Data Security, Inc. MD5 Message-Digest
Algorithm" in all material mentioning or referencing this softwar... | {
"content_hash": "14fbfd19ab9cb473f1aae6e5cb6443f3",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 70,
"avg_line_length": 35.17948717948718,
"alnum_prop": 0.7113702623906706,
"repo_name": "jnbagale/packedobjectsd",
"id": "28c65a3f7854670a8043c7036a60c27e4132a709",
"size"... |
enum
{
LOCKED = 1,
ACTIVE_SPIN = 4,
ACTIVE_SPIN_CNT = 30,
PASSIVE_SPIN = 1,
};
void
runtime·lock(Lock *l)
{
uintptr v;
uint32 i, spin;
if(m->locks++ < 0)
runtime·throw("runtime·lock: lock count");
// Speculative grab for lock.
if(runtime·casp((void**)&l->key, nil, (void*)LOCKED))
return;
if(m->waitse... | {
"content_hash": "2cecfe054d689e85b3f8110a8a0d56d8",
"timestamp": "",
"source": "github",
"line_count": 231,
"max_line_length": 104,
"avg_line_length": 22.649350649350648,
"alnum_prop": 0.6280581039755352,
"repo_name": "tcolar/golang",
"id": "3d58cc87f10f103f7cbe6140f7dc9af4a6aa1bc3",
"size": "6184... |
package esilatest
/*
200 ok object */
type GetCorporationsCorporationIdStandings200Ok struct {
/*
from_id integer */
FromId int32 `json:"from_id,omitempty"`
/*
from_type string */
FromType string `json:"from_type,omitempty"`
/*
standing number */
Standing float32 `json:"standing,omitempty"`
}
| {
"content_hash": "bd1ef18dd755d568fc3a23a4c32680e2",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 56,
"avg_line_length": 20.466666666666665,
"alnum_prop": 0.7198697068403909,
"repo_name": "antihax/mock-esi",
"id": "f3c355f46b140db70b5230d2f1a191838a74c41b",
"size": "307... |
<!doctype html>
<html amp lang="en">
<head>
<meta charset="utf-8">
<script async src="https://cdn.ampproject.org/v0.js" rel="preload"></script>
<style amp-boilerplate>
body {
-webkit-animation: -amp-start 8s steps(1,end) 0s 1 normal both;
-moz-anim... | {
"content_hash": "307f876efad2cbbb2474defc75390c40",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 275,
"avg_line_length": 37.03260869565217,
"alnum_prop": 0.488406222483123,
"repo_name": "ampproject/amp-toolbox",
"id": "ab6efb0a943bdea21436374ea2e2228f811e44a2",
"size":... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using dashing.net.common;
using dashing.net.streaming;
names... | {
"content_hash": "4e337b6bcabf5030653b3c3c33a8bd38",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 112,
"avg_line_length": 26.34090909090909,
"alnum_prop": 0.635893011216566,
"repo_name": "fortesinformatica/NashDashboard",
"id": "1ca0080da28aa4ff8dfb90feee43f3ccd1cbedce",
... |
/*global describe, beforeEach, it*/
'use strict';
var path = require('path');
var fs = require('fs');
var yeoman = require('yeoman-generator');
var helpers = yeoman.test;
var assert = yeoman.assert;
var expectedFiles = ['package.json'];
var unexpectedFiles = ['bower.json', '.bowerrc'];
describe('test node generator'... | {
"content_hash": "d624b31cec3208d8aa7b9909a8546898",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 109,
"avg_line_length": 33.624,
"alnum_prop": 0.5308113252438734,
"repo_name": "phillipalexander/generator-test",
"id": "c0c56383d9fea018b386fc3b50b57fa3c26d7f31",
"size":... |
#include "qdbuspendingcall.h"
#include "qdbuspendingcall_p.h"
#include "qdbusconnection_p.h"
#include "qdbusmetatype_p.h"
#include "qcoreapplication.h"
#include "qcoreevent.h"
#include <private/qobject_p.h>
#ifndef QT_NO_DBUS
QT_BEGIN_NAMESPACE
/*!
\class QDBusPendingCall
\inmodule QtDBus
\since 4.5
... | {
"content_hash": "bd38f0e672f1847dceb08641e7892a1a",
"timestamp": "",
"source": "github",
"line_count": 503,
"max_line_length": 100,
"avg_line_length": 31.186878727634195,
"alnum_prop": 0.6894243641231593,
"repo_name": "stephaneAG/PengPod700",
"id": "5485a4b779c5762ac66b95db0fe0a8c46486eb64",
"size... |
class Contact < ActiveRecord::Base
include Progress
include FindIndex
progress_includes :person
part_of :contacts
belongs_to :applicant
belongs_to :person
before_validation :initialize_contact
validates :applicant, :person, presence: true
validates_associated :person
accepts_nested_attributes_fo... | {
"content_hash": "a20c3bf757febfd37c08661afc1e19b8",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 47,
"avg_line_length": 17.90909090909091,
"alnum_prop": 0.7123519458544839,
"repo_name": "dmjurg/districthousing",
"id": "787144003135b7c4816b76d328f9be4192b0f258",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>geocoq-main: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | {
"content_hash": "3741395969ee306dab502a8249aed7f1",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 157,
"avg_line_length": 42.651933701657455,
"alnum_prop": 0.5509067357512953,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "7ebf2aa9fbc672f8c5120a4bf88e1561ac8398ef",... |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>org.saddle.buffer.BufferInt</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link type=... | {
"content_hash": "e5e7718d219a5635e7abc8217461f73b",
"timestamp": "",
"source": "github",
"line_count": 379,
"max_line_length": 310,
"avg_line_length": 49.562005277044854,
"alnum_prop": 0.5771401192504259,
"repo_name": "saddle/saddle",
"id": "312a320d75ac6083db34174c745c03fab0b60b34",
"size": "1879... |
#include <IndustryStandard/Acpi.h>
#include <Library/PrintLib.h>
#include <Library/UefiLib.h>
#include "AcpiParser.h"
#include "AcpiTableParser.h"
// Local Variables
STATIC CONST UINT64* SlitSystemLocalityCount;
STATIC ACPI_DESCRIPTION_HEADER_INFO AcpiHdrInfo;
/**
An ACPI_PARSER array describing the ... | {
"content_hash": "5aee63fa8b82502ac5258288a97e585a",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 80,
"avg_line_length": 28.66412213740458,
"alnum_prop": 0.5749667110519308,
"repo_name": "MattDevo/edk2",
"id": "6496a3d624ce9a83a29f3751adc88b8ee80123a8",
"size": "4361",... |
package com.nepxion.thunder.console.toggle;
import java.awt.BorderLayout;
import javax.swing.JComponent;
import javax.swing.JPanel;
import com.nepxion.swing.element.IElementNode;
import com.nepxion.thunder.console.workspace.DeploySummaryWorkspace;
import com.nepxion.thunder.console.workspace.FrequencyControlWorksp... | {
"content_hash": "56b0b1b72a942e776cff0b4fb7751532",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 76,
"avg_line_length": 42.306451612903224,
"alnum_prop": 0.7354174609226077,
"repo_name": "Nepxion/Thunder",
"id": "cf6b9d0344b2245beb6dfd1ec1be30a6d102f309",
"size": "2829... |
package actions
import (
"bytes"
"encoding/json"
)
// Aggregations can be seen as a unit-of-work that build
// analytic information over a set of documents. It is
// (in many senses) the follow-up of facets in Elasticsearch.
// For more details about aggregations, visit:
// http://www.elasticsearch.org/guide/en/ela... | {
"content_hash": "12bd7bb8e4c18be8c3fd2f933bad7acd",
"timestamp": "",
"source": "github",
"line_count": 1251,
"max_line_length": 138,
"avg_line_length": 31.816147082334133,
"alnum_prop": 0.6825285161549671,
"repo_name": "appbaseio/go-appbase",
"id": "a4831851f443cf740f9c2714515d29c67847c292",
"size... |
<?xml version="1.0" ?>
<rdf:RDF xmlns:prov="http://www.w3.org/ns/prov#" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:sbol="http://sbols.org/v2#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<sbol:ComponentDefinition rdf:about="http://sbols.org/CRISPR_Example/Gal4VP16/1.0">
<sbol:displayId>Gal4VP16<... | {
"content_hash": "ecd6751685e10b6c5deafc694104eb0d",
"timestamp": "",
"source": "github",
"line_count": 908,
"max_line_length": 849,
"avg_line_length": 68.54295154185021,
"alnum_prop": 0.7064768546041744,
"repo_name": "SynBioDex/pySBOL",
"id": "d68d85c94b07cf08fd03c2e55dee1af6a8e23eef",
"size": "62... |
namespace gpu {
namespace {
SurfaceTexturePeer* g_instance_ = nullptr;
} // namespace
SurfaceTexturePeer::SurfaceTexturePeer() {}
SurfaceTexturePeer::~SurfaceTexturePeer() {}
// static
SurfaceTexturePeer* SurfaceTexturePeer::GetInstance() {
DCHECK(g_instance_);
return g_instance_;
}
// static
void SurfaceText... | {
"content_hash": "da490980d05d4e678b59cf1e4eeaeb02",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 69,
"avg_line_length": 19.434782608695652,
"alnum_prop": 0.7360178970917226,
"repo_name": "Samsung/ChromiumGStreamerBackend",
"id": "397c5ba516503d7b4a8279e4b3e42b7cd72fcfe1"... |
package ai.subut.kurjun.cfparser;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.vafer.jdeb.debian.ControlFile;
import ai.subut.kurjun.model.metadata.apt.Dependency;
import ai.subut.kurjun.model.metadata.apt.PackageMetadata;
import static com.google.common.base.Preconditions.chec... | {
"content_hash": "2ac6504802db20ba5337d16d0521e47a",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 120,
"avg_line_length": 26.49514563106796,
"alnum_prop": 0.6485892268230121,
"repo_name": "subutai-io/Kurjun",
"id": "431da101ca19b42935c431fcbf477294c9935a06",
"size": "2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.