text stringlengths 2 1.04M | meta dict |
|---|---|
using UnityEngine;
using System.Linq;
using System.Collections.Generic;
using System;
using System.ComponentModel;
namespace UIWidgets {
/// <summary>
/// Tree node.
/// </summary>
[Serializable]
public class TreeNode<TItem> : IObservable, IDisposable, INotifyPropertyChanged
{
/// <summary>
/// Occurs when o... | {
"content_hash": "ce26ccdcf2512704220dc168e7bad30f",
"timestamp": "",
"source": "github",
"line_count": 476,
"max_line_length": 462,
"avg_line_length": 23.100840336134453,
"alnum_prop": 0.6244088759548927,
"repo_name": "cathy33/Infinity",
"id": "2aed31ce53a83bc51e4059d4d920750f2b68a568",
"size": "1... |
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.23")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.23")]
| {
"content_hash": "e0d09eaa4392dd5e206add707ae2020d",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 70,
"avg_line_length": 46.333333333333336,
"alnum_prop": 0.7913669064748201,
"repo_name": "hallambaker/Mathematical-Mesh",
"id": "af8d1e5467439cf931aec04966f9b8a632cb03f5",
... |
cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [
{
"id": "cordova-plugin-contacts.contacts",
"file": "plugins/cordova-plugin-contacts/www/contacts.js",
"pluginId": "cordova-plugin-contacts",
"clobbers": [
"navigator.contacts"
... | {
"content_hash": "0e7586fd719abb952d4e26167811998e",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 77,
"avg_line_length": 30.09090909090909,
"alnum_prop": 0.5645770392749244,
"repo_name": "vipulshah2010/CORDOVA_5.0_Programs",
"id": "cc74af8a3d3f1740807cab0ff7a3155ac373914a... |
<?php
class Photoalbum extends BasePhotoalbum
{
/**
* Handle I18n DB fields in Admin Generator
*
* @param string $method
* @param mixed $arguments
* @return mixed
*/
public function __call($method, $arguments)
{
$data = preg_split('/I18n/', $method, 2);
if( count($data) != 2 )
{
// ori... | {
"content_hash": "e1ce0b2d11a2cf6b1a0532a1dcd85493",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 118,
"avg_line_length": 24.619318181818183,
"alnum_prop": 0.6118162935610432,
"repo_name": "shoaly/etapasvi.com",
"id": "9efe5dbb4b8db730bc53517db2bcc006efdaaaff",
"size":... |
package org.hsqldb;
/**
* Represents a single insert / delete / rollback / commit action on a row.
*
* type = type of action
* actionTimestamp = timestamp of end of SQL action; 0 if action not complete
* commitTimestamp = timestamp of commit or rollback; 0 if not committed/rolledback
* rolledBack = flag for r... | {
"content_hash": "b4ce827c64fe7629cf0bab41a706ba69",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 83,
"avg_line_length": 30.764705882352942,
"alnum_prop": 0.5898661567877629,
"repo_name": "seriousbusinessbe/java-brusselnieuws-rss",
"id": "837eaf902ab0c38ec7ee44fa9e9926bde... |
package org.apache.geode.cache.wan.internal;
import java.io.IOException;
import java.net.ConnectException;
import java.util.StringTokenizer;
import org.apache.logging.log4j.Logger;
import org.apache.geode.cache.client.PoolManager;
import org.apache.geode.cache.client.internal.PoolImpl;
import org.apache.geode.cach... | {
"content_hash": "2d40ab1f35cc11aabf57decc7c8709a1",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 127,
"avg_line_length": 42.1437125748503,
"alnum_prop": 0.6743393009377664,
"repo_name": "masaki-yamakawa/geode",
"id": "319f933634d36a5e29b50c2fdd8a58288ef36234",
"size":... |
// SciTE - Scintilla based Text Editor
/** @file Mutex.h
** Define mutex
**/
// SciTE & Scintilla copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>
// Copyright 2007 by Neil Hodgson <neilh@scintilla.org>, from April White <april_white@sympatico.ca>
// The License.txt file describes the conditions under which ... | {
"content_hash": "a507a63c3d0af9b8c6900761fcf5976c",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 100,
"avg_line_length": 21.545454545454547,
"alnum_prop": 0.6877637130801688,
"repo_name": "sdottaka/mruby-bin-scite-mruby",
"id": "9231392acc10a02bba32d74453488707276d20b1",... |
package volume
import (
"fmt"
"github.com/docker/cli/cli"
"github.com/docker/cli/cli/command"
"github.com/docker/cli/opts"
volumetypes "github.com/docker/docker/api/types/volume"
"github.com/pkg/errors"
"github.com/spf13/cobra"
"golang.org/x/net/context"
)
type createOptions struct {
name string
driv... | {
"content_hash": "70d4a5a754d3e2602748c2ef03e2b22b",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 109,
"avg_line_length": 26.72463768115942,
"alnum_prop": 0.6919739696312365,
"repo_name": "riyazdf/cli",
"id": "5a1092266fe3a2ac11d76b045db47695380f259d",
"size": "1844",
... |
require 'test_helper'
class FeedbacksControllerTest < ActionDispatch::IntegrationTest
# test "the truth" do
# assert true
# end
end
| {
"content_hash": "af00cd3e3cad7dcecbe1334be0eefc49",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 63,
"avg_line_length": 20.142857142857142,
"alnum_prop": 0.7375886524822695,
"repo_name": "alkyu92/moteve",
"id": "8c78a6407dccfed3a203ee4280063105733ea602",
"size": "141",
... |
@extends(layoutExtend())
@section('title')
{{ adminTrans('group' , 'group') }} {{ isset($item) ? adminTrans('curd' , 'edit') : adminTrans('curd' , 'add') }}
@endsection
@section('content')
@component(layoutForm(), ['title' => adminTrans('group' , 'group'), 'model'=>'group' , 'action' => isset($item) ? adminT... | {
"content_hash": "354cca12b83051fd77be74c5e725cd44",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 207,
"avg_line_length": 51.854166666666664,
"alnum_prop": 0.4618320610687023,
"repo_name": "issabdo/DIVCODING",
"id": "4ebc2e4a311623130e03c4790d7b3e72774760f4",
"size": "4... |
package com.easemob.tsdb.kafka.plugin;
import com.easemob.tsdb.thrift.rpc.Constants;
import com.easemob.tsdb.thrift.rpc.service.TSDBDelegate;
import com.easemob.tsdb.utils.ConfigUtils;
import kafka.consumer.Consumer;
import kafka.consumer.ConsumerConfig;
import kafka.consumer.KafkaStream;
import kafka.javaapi.consumer... | {
"content_hash": "5c7b216b334d51ba477fb5254a669c29",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 124,
"avg_line_length": 40.59281437125748,
"alnum_prop": 0.6747307862516595,
"repo_name": "easemob/opentsdb-plugins",
"id": "16ba61c7c9f305896ed9ce10b5697baa063c6aa5",
"si... |
rmw_network_flow_endpoint_array_t
rmw_get_zero_initialized_network_flow_endpoint_array(void)
{
rmw_network_flow_endpoint_array_t network_flow_endpoint_array = {0};
return network_flow_endpoint_array;
}
rmw_ret_t
rmw_network_flow_endpoint_array_check_zero(
const rmw_network_flow_endpoint_array_t * network_flow_en... | {
"content_hash": "e9758d3e4f71b897d55c7c739aaf8682",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 86,
"avg_line_length": 34.41891891891892,
"alnum_prop": 0.7149587750294464,
"repo_name": "ros2/rmw",
"id": "b9401901ff296fd597ef2a5d2a9ffaa5e24f34b6",
"size": "3214",
"bi... |
<?php defined('BX_DOL') or die('hack attempt');
bx_import('BxBaseModTemplateDb');
/*
* Module database queries
*/
class BxLucidDb extends BxBaseModTemplateDb
{
function __construct(&$oConfig)
{
parent::__construct($oConfig);
}
}
/** @} */
| {
"content_hash": "8b3e3ac7cd96394ffdabcc27b07c554a",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 47,
"avg_line_length": 15.588235294117647,
"alnum_prop": 0.6226415094339622,
"repo_name": "boonex/trident",
"id": "60d033ceb648b5f8cdd3149a2d289abba259a884",
"size": "444",... |
// Copyright 2018 The Bazel Authors. All rights reserved.
//
// 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 appl... | {
"content_hash": "3f589e612e6e48a4a66fef797e06e50c",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 97,
"avg_line_length": 35.333333333333336,
"alnum_prop": 0.7482847341337907,
"repo_name": "akira-baruah/bazel",
"id": "c20be67aec887e624200df90104c47d89bfef3e9",
"size": "2... |
package org.apache.jackrabbit.oak.plugins.segment.standby;
import org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStore;
import org.apache.jackrabbit.oak.plugins.segment.standby.client.StandbyClient;
import org.apache.jackrabbit.oak.plugins.segment.standby.server.StandbyServer;
import org.apache.jackrabbit.oak.s... | {
"content_hash": "7236c536aee00f224d40e41c2f397489",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 149,
"avg_line_length": 32.50326797385621,
"alnum_prop": 0.6396541323144983,
"repo_name": "rombert/jackrabbit-oak",
"id": "5000411f1950ab76fe47c97a5e294c82a94d660c",
"size... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace People
{
class RandomGenerator
{
private static Random rand = new Random();
public string RandomName()
{
string[] namePrefix =
{
... | {
"content_hash": "7998af60daddae3f6f62d43a57abb3a1",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 102,
"avg_line_length": 26.602941176470587,
"alnum_prop": 0.45494748479823105,
"repo_name": "dragomirevgeniev/HackBulgaria",
"id": "4464b2ccb9dcd241d24da28608c69d01ec6c66c8",... |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by avrogen, version 1.10.0.0
// Changes to this file may cause incorrect behavior and will be lost if code
// is regenerated
// </auto-generated>
// ----------------------------------------------... | {
"content_hash": "62f21540d92ae52210b03dae55455530",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 155,
"avg_line_length": 30.507042253521128,
"alnum_prop": 0.4233610341643583,
"repo_name": "apache/avro",
"id": "02b1340d44d462d13d0cb6383eece16d5b3a5759",
"size": "2973",
... |
/* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* ====================================================================
* Copyright (c) 1999-2004 Carnegie Mellon University. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided ... | {
"content_hash": "a27dd9b4e357cfea51ab918f9f8ddb44",
"timestamp": "",
"source": "github",
"line_count": 191,
"max_line_length": 110,
"avg_line_length": 32.19371727748691,
"alnum_prop": 0.6602699625955439,
"repo_name": "owentar/x-copilot",
"id": "7c277fb37164a821b22bde21984367e9c7f41b7f",
"size": "6... |
using System.Collections.Generic;
using HaloOnline.Server.Model.UserStorage;
using Newtonsoft.Json;
namespace HaloOnline.Server.Core.Http.Model.UserStorage
{
public class GetPublicDataResult
{
[JsonProperty("GetPublicDataResult")]
public ServiceResult<List<PerUser>> Result { get; set; }
}
... | {
"content_hash": "c72a368da3d992b27f00633685c40dd0",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 64,
"avg_line_length": 26.833333333333332,
"alnum_prop": 0.7360248447204969,
"repo_name": "Atvaark/Emurado",
"id": "ae2814f95f7435e73a639754e48661409c0dd51e",
"size": "324"... |
import { unwrap } from '@material-ui/core/test-utils';
import {
TextField, Button, Typography, Select, MenuItem,
} from '@material-ui/core';
import CommentAdd from '../../../src/app/components/Apis/Details/Comments/CommentAdd';
const CommentAddUnwrapped = unwrap(CommentAdd);
/**
* Initialize common properties t... | {
"content_hash": "7fce5636e21caad72866d39dcc62eff0",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 126,
"avg_line_length": 36.291666666666664,
"alnum_prop": 0.6366245694603904,
"repo_name": "uvindra/carbon-apimgt",
"id": "e5442483c173e388f09a59cc64a7f1ef5f0f0bba",
"size"... |
<?php
/**
* Short description for class.
*
* @package Cake.Test.Fixture
*/
class CounterCachePostNonstandardPrimaryKeyFixture extends CakeTestFixture {
public $fields = array(
'pid' => array('type' => 'integer', 'key' => 'primary'),
'title' => array('type' => 'string', 'length' => 255, 'nu... | {
"content_hash": "7c039e079366c32e4e47e7aedf603da4",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 76,
"avg_line_length": 27.59090909090909,
"alnum_prop": 0.5387149917627677,
"repo_name": "trendac/nucleos",
"id": "73a4d39fa8ff2d8761d4efea3b88bad87ef65a0d",
"size": "1342"... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget id="com.ionicframework.clippyapp837258" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>clippy_app</name>
<description>
An Ionic Framework and Cordova project.
</description>
<autho... | {
"content_hash": "eee2625376441a9b3005152c5a7929b7",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 146,
"avg_line_length": 63.07142857142857,
"alnum_prop": 0.7251793129482824,
"repo_name": "The-Turing-Machine/Clippy",
"id": "a1514fe1b859863e31ee6e5e7b52bb344a485925",
"si... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>bignums: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | {
"content_hash": "572a59fb94097252a09b0917ded808a8",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 159,
"avg_line_length": 39.69230769230769,
"alnum_prop": 0.5496954595791805,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "2d8049bd35f530a70e077dbd28d45c2f4d6caee6",
... |
MPF: Mobile Identity Connect password flow
====================================
MPF is a utility meant to simplify testing auth integration with Kinvey. The
code is also written to be used as a sample for how to use the password flow.
## Usage
### Prerequisites
Before you start, make sure you've installed [Node.j... | {
"content_hash": "2e095b68e55175c649ee942b4f015948",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 78,
"avg_line_length": 32.20987654320987,
"alnum_prop": 0.7443464929091606,
"repo_name": "KinveyApps/mic-password-flow-sample",
"id": "94661188f506237c328906b0921c283c623b6b4... |
macro(findpkg_begin PREFIX)
if (NOT ${PREFIX}_FIND_QUIETLY)
message(STATUS "Looking for ${PREFIX}...")
endif ()
endmacro(findpkg_begin)
# Display a status message unless FIND_QUIETLY is set
macro(pkg_message PREFIX)
if (NOT ${PREFIX}_FIND_QUIETLY)
message(STATUS ${ARGN})
endif ()
endmacro(pkg_message)
... | {
"content_hash": "eb27bfaba02f69391c69019f2fd4efaf",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 210,
"avg_line_length": 35.323076923076925,
"alnum_prop": 0.6574477351916377,
"repo_name": "Jagholin/Futurella",
"id": "777e50caa058a390aae8cdf7e4f0a38b295857b0",
"size": ... |
RUser is a simple Ruby Gem to communicate with the randomuser.me API.
[](https://travis-ci.org/jtkendall/ruser) [](https://codeclimate.com/github/jtkendall/ruser) [![Gem... | {
"content_hash": "0522e4f3ddf7d655bc59e99246980585",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 475,
"avg_line_length": 37,
"alnum_prop": 0.7353299245191137,
"repo_name": "jtkendall/ruser",
"id": "0c3f66ea0a98d9578de1bde08bfc2ce6ae589241",
"size": "4116",
"binary":... |
\documentclass[english]{article}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{color}
%\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{longtable}
%\usepackage{makecell} % $ sudo tlmgr install makecell
%\pagestyle{fancy}
%\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\setlength... | {
"content_hash": "404179732a58358ab792d8c903bf28e0",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 424,
"avg_line_length": 15.430656934306569,
"alnum_prop": 0.7270577105014191,
"repo_name": "GOFAIR/MetricsGroup",
"id": "a3671f2738aedbffc9db4caa531562b658d77db3",
"size":... |
<!--
Copyright (C) 2013 Christian Meier
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge... | {
"content_hash": "ed384d28f861a9d03385b5842932c7f2",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 85,
"avg_line_length": 39.5735294117647,
"alnum_prop": 0.7008547008547008,
"repo_name": "mkristian/gwt-run",
"id": "159739af4be12eef68aa1700076c2ee5e697dfc5",
"size": "2691... |
"""
===============================================
.. module:: evodjango.i18n.models
:platform: Django
:synopsis:
.. moduleauthor:: (C) 2014 Oliver Gutiérrez
# TODO: Automatic translation support using Google Translate
"""
# Django imports
from django.db import models
from django.utils.translation import ... | {
"content_hash": "f882dc3342581a81ee0009a5bd09860d",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 97,
"avg_line_length": 29.820224719101123,
"alnum_prop": 0.6318764129615675,
"repo_name": "olivergs/evodjango",
"id": "e60fad10b4a38270100b1b6e5770f8610e2ba025",
"size": "2... |
int Cdma(int functionID)
{
int setup_time = CACHE_MISS_LATENCY - (CACHE_BLOCK_SIZE / WORD_SIZE);
int transfer_size = functions[functionID].size;
return setup_time + (transfer_size + WORD_SIZE-1)/WORD_SIZE;
}
| {
"content_hash": "cf37257f6fe980aaa2f06335c050f551",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 73,
"avg_line_length": 24.88888888888889,
"alnum_prop": 0.6785714285714286,
"repo_name": "yooseongkim/SPMCodeManagement",
"id": "817ba5f52326014adab18d5d2dde6163a8af8fca",
"... |
package liquibase.sqlgenerator;
import liquibase.database.Database;
import liquibase.database.core.H2Database;
import liquibase.exception.ValidationErrors;
import liquibase.exception.Warnings;
import liquibase.sql.Sql;
import liquibase.sqlgenerator.core.AddAutoIncrementGenerator;
import liquibase.sqlgenerator.core.Add... | {
"content_hash": "acb40b74d04e94347b903b91fa67dc19",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 215,
"avg_line_length": 33.78947368421053,
"alnum_prop": 0.6827622014537902,
"repo_name": "Datical/liquibase",
"id": "2fbcd7df9807b6d608f128827a8f975664d8a114",
"size": "5... |
package com.hybhub.atp.services;
import com.hybhub.atp.Match;
import com.hybhub.atp.Tournament;
import java.util.Set;
public interface LoadTournamentService {
void loadTournamentsFromAtp(int year);
void loadTournamentsFromFile();
}
| {
"content_hash": "3e0e038a89d6eed319ff2d03706bd8c9",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 42,
"avg_line_length": 22.09090909090909,
"alnum_prop": 0.7860082304526749,
"repo_name": "bvanalderweireldt/tennisstats",
"id": "4160f89df91f5881ce1f709425fbd12c33da98b7",
... |
using System;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Text;
namespace ImGuiNET
{
public unsafe partial struct ImGuiListClipper
{
public int DisplayStart;
public int DisplayEnd;
public int ItemsCount;
public float ItemsHeight;
public flo... | {
"content_hash": "11f955431a5ae23e2c62228684d80e9e",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 127,
"avg_line_length": 45.224137931034484,
"alnum_prop": 0.6736561189477698,
"repo_name": "mellinoe/ImGui.NET",
"id": "27a809b69e3bca968894b1c4158de276d5aae222",
"size": "... |
DAEMON_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?( DAEMON_ROOT )
module DaemonKit
class << self
def boot!
unless booted?
pick_boot.run
end
end
def booted?
defined? DaemonKit::Initializer
end
def pick_boot
(vendor_kit? ? VendorBoot : GemBoot).new
en... | {
"content_hash": "ef99d7342953f3e0556a4695f0e26ca5",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 81,
"avg_line_length": 21.246153846153845,
"alnum_prop": 0.6205648081100652,
"repo_name": "auser/troph",
"id": "9c93f4a1241ebdff08918e17b6480a69321eb7e5",
"size": "1457",
... |
package tech.hobbs.hlfdocmgmntsystem.services.student;
import java.util.List;
import tech.hobbs.hlfdocmgmntsystem.model.student.ResultsDecision;
import tech.hobbs.hlfdocmgmntsystem.model.student.Student;
import tech.hobbs.hlfdocmgmntsystem.model.student.StudentResult;
import tech.hobbs.hlfdocmgmntsystem.servic... | {
"content_hash": "a0dc1812ae90274d2299a7168aee2ff2",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 88,
"avg_line_length": 36.9375,
"alnum_prop": 0.8358714043993232,
"repo_name": "wchiviti/hlfdocsweb",
"id": "0620fc8b410706399dab82fc5f8caa2c23b55323",
"size": "591",
"bi... |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | {
"content_hash": "78c7e21be551933230d908748a5f62fd",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 98,
"avg_line_length": 43.74545454545454,
"alnum_prop": 0.7086450540315877,
"repo_name": "schdck/BingoUtils",
"id": "7c74551fa9c338862af4875966b66fc4ff737c2f",
"size": "240... |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <assert.h>
#include <exception>
// System.CLSCompliantAttribute
struct CLSCompliantAttribute_t1803654945;
#include "codegen/il2cpp-codegen.h"
// System.Void System.CLSCompl... | {
"content_hash": "2d39d4526aa903e8e5dc6d74b8e329e3",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 168,
"avg_line_length": 25.047619047619047,
"alnum_prop": 0.7699619771863118,
"repo_name": "Bersaelor/D2",
"id": "45c16459f8bd953e6174ab81abdb98e206202526",
"size": "528",
... |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.9-2-a-10
description: >
Object.freeze - 'P' is own named property of an Array object that
uses Object's [[GetOwnProperty]]
includes: [propertyHelper.js]
---... | {
"content_hash": "30fcfea79e68003465e4cdeea28c6e0a",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 73,
"avg_line_length": 26.095238095238095,
"alnum_prop": 0.708029197080292,
"repo_name": "m0ppers/arangodb",
"id": "fc408cffb9ab05be24f5fc64281f3db569b80f54",
"size": "548"... |
package gw.plugin.ij.intentions;
import com.intellij.codeInsight.CodeInsightUtilBase;
import com.intellij.codeInsight.daemon.QuickFixBundle;
import com.intellij.codeInspection.LocalQuickFixAndIntentionActionOnPsiElement;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.project.Project;
import ... | {
"content_hash": "4f9b5516a2ef797ad95c491ccfe25e96",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 148,
"avg_line_length": 40.625,
"alnum_prop": 0.7134065934065934,
"repo_name": "gosu-lang/old-gosu-repo",
"id": "82bf3d8ae7e0dfffac10ab68e4f734fd09170d35",
"size": "4599",... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8280c92c0fcf5aa572ca71440970d7d1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "cc642e2527285cdcf4466582aeb4e8d114844ed8",
"size": "189... |
<?php
namespace PyLoad;
class CURL {
/**
* Execute a cURL request
*
* @param string $url URL
* @param array $opts Array of cURL options
* @return mixed cURL response
* @throws \Exception
*/
public static function exec($url, array $opts = array()) {
return self::curl... | {
"content_hash": "c7d9018e0758a1172b097b49074344ef",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 140,
"avg_line_length": 30.82456140350877,
"alnum_prop": 0.5793966989186112,
"repo_name": "ValentinGot/pyload",
"id": "55fdfac6f2c27af41c8f9b36ab4a54569e364942",
"size": "1... |
package scheduling
import (
"github.com/prometheus/client_golang/prometheus"
"k8s.io/component-base/metrics"
"k8s.io/component-base/metrics/legacyregistry"
)
// VolumeSchedulerSubsystem - subsystem name used by scheduler
const VolumeSchedulerSubsystem = "scheduler_volume"
var (
// VolumeBindingRequestSchedule... | {
"content_hash": "065a2909cf96bf8155123e96a06c618e",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 103,
"avg_line_length": 34.74545454545454,
"alnum_prop": 0.7582417582417582,
"repo_name": "Hui-Zhi/kubernetes",
"id": "fef24acb0bde721b52dcfbacd443b81a93502660",
"size": "2... |
package ru.javaqa.addressbook.tests;
import org.openqa.selenium.remote.BrowserType;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import ru.javaqa.addressbook.appmanager.ApplicationManager;
public class TestBase {
protected final ApplicationManager app = new ApplicationM... | {
"content_hash": "e5197110305dc2ae37f83e895a01b67a",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 89,
"avg_line_length": 22.304347826086957,
"alnum_prop": 0.7348927875243665,
"repo_name": "AndreyPashkin/Java-for-QA",
"id": "4ac935d6469cb521f3d3a6b6f356debd0fda6496",
"si... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.09.17 at 10:14... | {
"content_hash": "2a3a21e12f93b616cb887eebd7304901",
"timestamp": "",
"source": "github",
"line_count": 502,
"max_line_length": 111,
"avg_line_length": 21.99203187250996,
"alnum_prop": 0.5384963768115942,
"repo_name": "SmarterApp/ItemAuthoring",
"id": "bdacac56d72463a4ea74bfa6e1a6ddea08424f31",
"si... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace memory_game
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*p... | {
"content_hash": "3e085ce556ac0496450db7460e541fbf",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 99,
"avg_line_length": 25.130434782608695,
"alnum_prop": 0.5865051903114187,
"repo_name": "jclosure/memory_game",
"id": "2ac0e9a6fc59f1886d4f7dd116e8ec8c3053943a",
"size": ... |
Windows 10 IoT C# driver library for GrovePi
The NuGet package for the current release is available [here](https://www.nuget.org/packages/GrovePi/).
All supported sensors are available through the DeviceFactory class.
Supported sensors include:
- Relay
- Led
- TemperatureAndHumiditySensor
- UltraSonicSensor
- Accele... | {
"content_hash": "ddc28d63b7cc023edb2da5a29a231fce",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 103,
"avg_line_length": 31.901408450704224,
"alnum_prop": 0.7845474613686534,
"repo_name": "lupyuen/RaspberryPiImage",
"id": "7a261acd296461880c4a85a375758fad226c3ac0",
"si... |
using System;
using Newtonsoft.Json;
namespace TwitchCSharp.Models
{
[JsonObject("subscriptions")]
public class Subscription : TwitchResponse
{
[JsonProperty("_id")]
public string Id { get; set; }
[JsonProperty("created_at")]
public DateTime CreatedAt { get; set; }
... | {
"content_hash": "dbc5448b37e51ad57bbfda0bb26ab1bb",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 117,
"avg_line_length": 30.842105263157894,
"alnum_prop": 0.6331058020477816,
"repo_name": "michidk/TwitchCSharp",
"id": "3789853425a081c8b3d257b0632678d832734617",
"size":... |
package schedule.mock.events;
public final class UIShowInputEvent {
private boolean mVoiceInput;
public UIShowInputEvent() {
}
public UIShowInputEvent(boolean _voiceInput) {
mVoiceInput = _voiceInput;
}
public boolean isVoiceInput() {
return mVoiceInput;
}
}
| {
"content_hash": "b5e8dea03cdf7b1fe6e7441ea85db443",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 47,
"avg_line_length": 17.125,
"alnum_prop": 0.7518248175182481,
"repo_name": "XinyueZ/ScheduleMock",
"id": "dd15ae49e94baa3b6d2e5f474983c9eb8ebc370a",
"size": "274",
"bi... |
#ifndef _PROGRESSPRINTER_H_
#define _PROGRESSPRINTER_H_
#include <sys/time.h>
#include "../debug/Log.h" // for PRINTFLIKE macro
namespace oasys {
class ProgressPrinter {
public:
/**
* Initialize the progress meter.
*/
ProgressPrinter(const char* fmt = NULL, ...);
/**
* Restart the prog... | {
"content_hash": "9af5ee34fc7bbd3ac96bac477521a564",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 70,
"avg_line_length": 18.11111111111111,
"alnum_prop": 0.6058282208588958,
"repo_name": "xyongcn/dtn2",
"id": "af8badda66dd11e64cffb3131e8300e2193bacde",
"size": "1290",
... |
#include <xenia/hid/nop/nop_hid.h>
#include <xenia/hid/nop/nop_input_driver.h>
using namespace xe;
using namespace xe::hid;
using namespace xe::hid::nop;
namespace {
void InitializeIfNeeded();
void CleanupOnShutdown();
void InitializeIfNeeded() {
static bool has_initialized = false;
if (has_initia... | {
"content_hash": "fc3d1de6d5061df9e34913ef7e29c8b4",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 62,
"avg_line_length": 15.972972972972974,
"alnum_prop": 0.6785109983079526,
"repo_name": "shuffle2/xenia",
"id": "1d17c23e517c46edf15984e4486e44994589cc9d",
"size": "1078"... |
package org.drools.guvnor.client.asseteditor.drools.serviceconfig;
public enum ListenerType {
AGENDA, PROCESS, WORKING_MEMORY;
}
| {
"content_hash": "4482cd95a20e6f03caba4d6df288c450",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 66,
"avg_line_length": 19.428571428571427,
"alnum_prop": 0.7794117647058824,
"repo_name": "cristianonicolai/guvnor",
"id": "68931a090d38a237073cc41081ae8170d3935b5e",
"size"... |
require File.join(File.dirname(__FILE__), '..', '..', 'test_helper')
require File.join(File.dirname(__FILE__), '..', '..', 'blueprints', 'blueprints')
require File.join(File.dirname(__FILE__), '..', '..', 'blueprints', 'helper')
require File.join(File.dirname(__FILE__), '..', 'authenticated_controller_test')
require 's... | {
"content_hash": "3c52bbd8505bce5dac56b1abe1a88404",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 86,
"avg_line_length": 34.89320388349515,
"alnum_prop": 0.5943238731218697,
"repo_name": "SoftwareDev/Markus",
"id": "4842753036fe6a02368e28e122c397a1dc09fcca",
"size": "7... |
import rlp
from ethereum.transactions import Transaction
from ethereum.utils import privtoaddr
from eth_tester_client.utils import (
mk_random_privkey,
encode_address,
encode_data,
)
from web3.providers.rpc import TestRPCProvider
def test_eth_sendRawTransaction(web3, wait_for_transaction, extra_account... | {
"content_hash": "3e13e7460a0e854ed4de723a04c6f946",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 77,
"avg_line_length": 29.62962962962963,
"alnum_prop": 0.68625,
"repo_name": "shravan-shandilya/web3.py",
"id": "0d52fd52b7266a24b595fd2e54d72ad9798c7045",
"size": "1600",... |
/*
* fiberalgos.h
*
* Created on: 09.07.2012
* @author Ralph Schurade
*/
#ifndef FIBERALGOS_H_
#define FIBERALGOS_H_
#include <QList>
class Dataset;
class FiberAlgos
{
public:
FiberAlgos();
virtual ~FiberAlgos();
static QList<Dataset*> thinOut( Dataset* ds );
static QList<... | {
"content_hash": "ee41823dc97b572e4e58f360583220cd",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 56,
"avg_line_length": 18.77777777777778,
"alnum_prop": 0.6291913214990138,
"repo_name": "rdmenezes/fibernavigator2",
"id": "35f0c9a649576c8b97e096917319393a6a0e5314",
"siz... |
"""
Abstract base class for dhcp providers.
"""
import abc
import six
@six.add_metaclass(abc.ABCMeta)
class BaseDHCP(object):
"""Base class for DHCP provider APIs."""
@abc.abstractmethod
def update_port_dhcp_opts(self, port_id, dhcp_options, token=None):
"""Update one or more DHCP options on th... | {
"content_hash": "f8d36a27bf16c01677612357b8dc6943",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 71,
"avg_line_length": 33.18518518518518,
"alnum_prop": 0.5107886904761905,
"repo_name": "SauloAislan/ironic",
"id": "94f61fd091a4d326226daf74a8d6cbd70c2d64e5",
"size": "33... |
<?xml version="1.0" encoding="iso-8859-1"?>
<sect1 id="release-7-10-1">
<title>Release notes for version 7.10.1</title>
<para>
The significant changes to the various parts of the compiler are listed
in the following sections. There have also been numerous bug fixes and
performance improvements ov... | {
"content_hash": "976726e3af7bf8975f9dbe5d0ee0eb1e",
"timestamp": "",
"source": "github",
"line_count": 478,
"max_line_length": 100,
"avg_line_length": 30.265690376569037,
"alnum_prop": 0.47273104306352387,
"repo_name": "spacekitteh/smcghc",
"id": "d319cc5289b2e10affe5f47ea2f49673f256dd07",
"size":... |
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
#else
static const int ddLogLevel = LOG_LEVEL_ERROR;
#endif
@interface MSSocketConnection () <NSStreamDelegate>
@property (nonatomic, strong) NSInputStream *inputStream;
@property (nonatomic, strong) NSOutputStream *outputStream;
@property (nonatomic) BOOL connected... | {
"content_hash": "158f30311c0b40d98c11f11f283ca265",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 134,
"avg_line_length": 36.02906976744186,
"alnum_prop": 0.6843634016459578,
"repo_name": "makeandship/MSSocketConnection",
"id": "148c9aaf340d29b35f876e59648284777135ab1a",... |
"""
=================================================
Demo of affinity propagation clustering algorithm
=================================================
Reference:
Brendan J. Frey and Delbert Dueck, "Clustering by Passing Messages
Between Data Points", Science Feb. 2007
"""
print(__doc__)
from sklearn.cluster impor... | {
"content_hash": "900b7ce80d82d6d2b3d94bc06f92a1d4",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 78,
"avg_line_length": 36.806451612903224,
"alnum_prop": 0.6007887817703769,
"repo_name": "fspaolo/scikit-learn",
"id": "7abd6822ffc5dd48c010e3f6c7567201197a8a5d",
"size": ... |
FROM balenalib/nitrogen6x-ubuntu:eoan-run
ENV GO_VERSION 1.15.6
# gcc for cgo
RUN apt-get update && apt-get install -y --no-install-recommends \
g++ \
gcc \
libc6-dev \
make \
pkg-config \
git \
&& rm -rf /var/lib/apt/lists/*
RUN set -x \
&& fetchDeps=' \
curl \
' \
&& apt-get update && apt-get ins... | {
"content_hash": "646a586d58d4ed34615a77f3a06727ec",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 670,
"avg_line_length": 50.630434782608695,
"alnum_prop": 0.7063117217689996,
"repo_name": "nghiant2710/base-images",
"id": "aef3dfc3ac36f5f2360f1ec80b8692aebe2a674e",
"siz... |
<?php
namespace Vas24x7\WorkflowBundle\Model;
use Vas24x7\WorkflowBundle\Entity\ModelState;
interface ModelStateInterface
{
/**
* Add modelState
*
* @param ModelState $modelState
*/
public function addState(ModelState $modelState);
/**
* Get states
*
* @return array
... | {
"content_hash": "139d742cae168c54522159c662c6baf7",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 53,
"avg_line_length": 16.40909090909091,
"alnum_prop": 0.6343490304709142,
"repo_name": "vas24x7/workflow-bundle",
"id": "ee9ccbe55795f9f56f0ae7aac8eedfcf25a7a117",
"size"... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.identity;
import com.azure.core.util.logging.ClientLogger;
import com.azure.identity.implementation.util.ValidationUtil;
import java.io.InputStream;
import java.util.HashMap;
/**
* Fluent credential bu... | {
"content_hash": "ae6cd4ed68f8bfcc25d3f415a81f526a",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 118,
"avg_line_length": 44.0979020979021,
"alnum_prop": 0.7028227085315573,
"repo_name": "Azure/azure-sdk-for-java",
"id": "a08890d8685fa5debdff1a4062293b11b8b0dbe8",
"siz... |
Glossary
========
.. glossary::
allocate
Yes
amplitude
Yes
audio rate
A :term:`calculation rate`.
block, *of samples*
A block of samples
block, *of IDs*
Yes
block size
The size of a block of samples
bit depth
Yes
buffer
A buffer
bus
... | {
"content_hash": "75b1f2f8529ebd6a31b53a7436d2cbec",
"timestamp": "",
"source": "github",
"line_count": 254,
"max_line_length": 78,
"avg_line_length": 12.661417322834646,
"alnum_prop": 0.5904850746268657,
"repo_name": "Pulgama/supriya",
"id": "f1c09883e16a92ed4404e11182234f5a4a5c55c1",
"size": "321... |
package com.amazonaws.services.clouddirectory.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.clouddirectory.model.*;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* BatchDeleteObjectMarshaller
*/
@G... | {
"content_hash": "4c182e25ecb5a01cbcfedb1738c75381",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 134,
"avg_line_length": 32.81818181818182,
"alnum_prop": 0.7382271468144044,
"repo_name": "jentfoo/aws-sdk-java",
"id": "205df7bdb2ce391812cc493b6cc1588cc6d5329e",
"size": ... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Google Home</title>
<meta name="description" content="" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"... | {
"content_hash": "56136e32aa2106d4074d9f0f2d227b11",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 362,
"avg_line_length": 42.430851063829785,
"alnum_prop": 0.6439764322426977,
"repo_name": "datumrich/datumrich.github.io",
"id": "1b576b55f25f058def0b3900a2f93c555c2d47e1",... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:id="@+id/phoneInfo" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:background="#e... | {
"content_hash": "d8222dcd41935cc712a8ddee62af5702",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 73,
"avg_line_length": 46,
"alnum_prop": 0.7367149758454107,
"repo_name": "blueshen/androidTools",
"id": "d8fe8827eb73127f9aeaf1b7a3ad6746c46e2182",
"size": "414",
"binary... |
<!--
~ Copyright (c) 2014 GRNET SA (grnet.gr)
~
~ 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 appl... | {
"content_hash": "3bb11c3c64507400357e10f7f91749c9",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 204,
"avg_line_length": 36.297560975609755,
"alnum_prop": 0.5234511490391076,
"repo_name": "CELAR/SlipStreamConnector-Okeanos",
"id": "451a05e357381969fa5dc14af41ef58de7c8b0... |
package com.ibm.space.space;
import java.io.StringReader;
import java.util.Random;
import javax.json.Json;
import javax.json.JsonArray;
import javax.json.JsonArrayBuilder;
import javax.json.JsonObject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import ... | {
"content_hash": "6744418bac5d6f4f788470c886d96ab8",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 126,
"avg_line_length": 34.22727272727273,
"alnum_prop": 0.6139884904825144,
"repo_name": "WASdev/sample.microinvaders",
"id": "60e61760ba7b55a385216c443f18ddb90aa73b11",
... |
{-# LANGUAGE GADTs #-}
{-# LANGUAGE OverloadedStrings #-}
module Duckling.Numeral.ET.Rules
( rules
) where
import Data.HashMap.Strict (HashMap)
import Data.Maybe
import Data.String
import Data.Text (Text)
import Prelude
import qualified Data.HashMap.Strict as HashMap
import qualified Data.Text as Text
import Duc... | {
"content_hash": "0351d85fcde54d0850c969c503da1eb6",
"timestamp": "",
"source": "github",
"line_count": 282,
"max_line_length": 173,
"avg_line_length": 27.45744680851064,
"alnum_prop": 0.6144905075552112,
"repo_name": "facebookincubator/duckling",
"id": "3deb0b11edb319f7ee411dfe9babbd6f7d610156",
"... |
<html>
</head><title>CCT Target Blank Test Page</title></head>
<body>
<!-- Unlike popup_on_click.html, this leads to a different page which is vital to test
Chrome Custom Tab's navigate on close feature. -->
<a id="target_blank_link" href="google.html" target="_blank">Click Here</a>
</body>
</htm... | {
"content_hash": "c4694c3deee54d5299f7db2020734685",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 90,
"avg_line_length": 40.375,
"alnum_prop": 0.6563467492260062,
"repo_name": "chromium/chromium",
"id": "e5a69ebe02005f68317940d18e2d441096eac72e",
"size": "323",
"binary... |
/**
* String pattern for a standardized platform urn for a dataset
* @type {string}
*/
export const datasetPlatformUrnPattern = `urn:li:dataPlatform:([\\w-]+)`;
/**
* Matches a string that follows the pattern defined in datasetPlatformUrnPattern
* @type {RegExp}
*/
export const datasetPlatformRegExp = new RegExp... | {
"content_hash": "5bb8413748bb9a3ac220aad27d31f62c",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 81,
"avg_line_length": 31.727272727272727,
"alnum_prop": 0.7449856733524355,
"repo_name": "mars-lan/WhereHows",
"id": "66efb7f839ec821b7f21d7e3315e20773011cde0",
"size": "3... |
import session from 'express-session';
/**
* SessionFilter
* @implements {Filter}
*/
class SessionFilter {
apply(app, config) {
if (config.read(config.keys.FILTERS_SESSION_ENABLED, false)) {
app.use(session(config.read(config.keys.FILTERS_SESSION_OPTIONS, {}, {
name: 'CRYI... | {
"content_hash": "dcc854cc0a8331f46ac82a57b146509b",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 82,
"avg_line_length": 25.11111111111111,
"alnum_prop": 0.5737463126843658,
"repo_name": "metasansana/powerstone",
"id": "154eddb4d066ef4c316ab354777014f59b38693d",
"size":... |
CMAKE_<LANG>_FLAGS_RELEASE
--------------------------
This variable is the ``Release`` variant of the
:variable:`CMAKE_<LANG>_FLAGS_<CONFIG>` variable.
| {
"content_hash": "d4514b8901b615b2afc5e382f21b2f46",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 49,
"avg_line_length": 31.6,
"alnum_prop": 0.5886075949367089,
"repo_name": "fugro/opencv",
"id": "c6ea90a1f22f8c68d9ec2e80dfc7269686e5d5d1",
"size": "158",
"binary": fals... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!--
Mapping file autogenerated by MyEclipse Persistence Tools
-->
<hibernate-mapping>
<class name="com.partmanager.pojo.Sp... | {
"content_hash": "1998ff26addce879e3e1e90e2dcfe325",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 79,
"avg_line_length": 42.81818181818182,
"alnum_prop": 0.5532908704883227,
"repo_name": "fuhongliang/partmanager",
"id": "ccebf79f624d3cc019ab13e14aa76d2c998141cb",
"size"... |
<div class="col-md-7 col-centered" style="margin-top: 20px;">
<div class="panel panel-primary">
<div class="panel-heading">
<i class="fa fa-cog" aria-hidden="true"></i> Calibration
</div>
<div class="panel-body">
<div class="row">
<div class="weight-lcd">
<div id="weight-reading" class="we... | {
"content_hash": "26f042d88e22afb531fa35dda7f95d67",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 147,
"avg_line_length": 30.497737556561084,
"alnum_prop": 0.4983679525222552,
"repo_name": "ryan-laurence/stic",
"id": "bd6be54277267716d3636b110d39e03bfb57b7b9",
"size": ... |
namespace stromx
{
namespace cvimgproc
{
class CannyTest : public CPPUNIT_NS::TestFixture
{
CPPUNIT_TEST_SUITE(CannyTest);
CPPUNIT_TEST(testManual0);
CPPUNIT_TEST(testManual1);
CPPUNIT_TEST(testAllocate0);
CPPUNIT_TEST(testInPlace0);
... | {
"content_hash": "3f4dad507ef8b574fb53d5ea0d14db21",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 56,
"avg_line_length": 26.032258064516128,
"alnum_prop": 0.5055762081784386,
"repo_name": "uboot/stromx-opencv",
"id": "0df81cf9a0e3e19f455d2c65f858a96b4859d2c1",
"size": "... |
package com.dribbble.evilchaos.shots.activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.webkit.CookieManager;
import an... | {
"content_hash": "1b091490ca67cdbd43c657260801ceed",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 108,
"avg_line_length": 31.45859872611465,
"alnum_prop": 0.622393197003442,
"repo_name": "evilchaos/Shots",
"id": "ef2016fee2c678931e5ed7f1e9c24778197438b9",
"size": "4939... |
"""empty message
Revision ID: 2956c7423d73
Revises: None
Create Date: 2014-03-14 00:56:06.192705
"""
# revision identifiers, used by Alembic.
revision = '2956c7423d73'
down_revision = None
from alembic import op
import sqlalchemy as sa
def upgrade():
pass
def downgrade():
pass
| {
"content_hash": "6f9049330a8fc611e81eb86c5e397ead",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 40,
"avg_line_length": 13.363636363636363,
"alnum_prop": 0.7210884353741497,
"repo_name": "sniboboof/flask-microblog",
"id": "8797d12ec598529af45340d51a1849c2a32f7bdd",
"si... |
package com.bop.ball;
import java.util.HashMap;
/**
* @author Jonathan Crow
*/
public class RuntimeArgs
{
public static final String ENDPOINT_ARG = "EndPoint", IP_ARG = "ip", PORT_ARG = "port";
private static HashMap<String, String> args;
/**
* @param a The command line arguments from main(Str... | {
"content_hash": "a1680de6672048a56fec1fd3c496eeb0",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 91,
"avg_line_length": 24.71698113207547,
"alnum_prop": 0.5366412213740458,
"repo_name": "JonathanACrow/BopBall",
"id": "18fcecad9c8796c905c4ffa459b5b8f1897f85dd",
"size": ... |
package com.github.rvesse.airline.help.markdown;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import com.github.rvesse.airline.help.UsageHelper;
import com.github.rvesse.airline.help.common.AbstractPrintedCom... | {
"content_hash": "e90875a8a7469ee8d2009af1ec9ae743",
"timestamp": "",
"source": "github",
"line_count": 377,
"max_line_length": 147,
"avg_line_length": 40.19363395225464,
"alnum_prop": 0.6367715963835544,
"repo_name": "rvesse/airline",
"id": "6aca3a498327189b11a5952666a716edb6ddb134",
"size": "1577... |
package com.intellij.execution.services;
import com.intellij.CommonBundle;
import com.intellij.execution.ExecutionBundle;
import com.intellij.execution.services.ServiceModel.ServiceViewItem;
import com.intellij.ide.DeleteProvider;
import com.intellij.openapi.actionSystem.CommonDataKeys;
import com.intellij.openapi.act... | {
"content_hash": "ecf33032c1a7b1414a1d0ba2292c75ab",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 133,
"avg_line_length": 37.88157894736842,
"alnum_prop": 0.6953803403959709,
"repo_name": "siosio/intellij-community",
"id": "7356e725f215178803bdb2fad00a7c978dfe95a9",
"si... |
using GameOfLife;
using GameOfLife.Space;
using GameOfLife.State;
using GameOfLife.Transition;
using Moq;
using Xunit;
namespace GameOfLifeTest
{
public class CartesianPositionTest
{
[Fact]
public void AsksTheUniverseForAliveNeighborsCount()
{
var stateHolder = new Mock<ISt... | {
"content_hash": "bd90281fd2f93acf561c4d16bbe49c6f",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 93,
"avg_line_length": 38.22222222222222,
"alnum_prop": 0.6343023255813953,
"repo_name": "tristanles/gameoflife-calisthenics-csharp",
"id": "778cf9ed592ed244e5bff7d20124c8fe1... |
<html lang="en">
<head>
<title>picoChip Built-in Functions - Using the GNU Compiler Collection (GCC)</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using the GNU Compiler Collection (GCC)">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href... | {
"content_hash": "26cb44ce8980041627e2acec490dcab1",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 191,
"avg_line_length": 48.76744186046512,
"alnum_prop": 0.7215069146399619,
"repo_name": "bouffalolab/bl_iot_sdk_matter",
"id": "91fc47f6e071037b3ab1e526a0ead0f4bbfe447f",
... |
int main(int argv, char** args) {
QCoreApplication app(argv, args);
Server server;
server.start();
return app.exec();
}
| {
"content_hash": "dab1305302cb07e8934169c752b4595c",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 35,
"avg_line_length": 16.25,
"alnum_prop": 0.6538461538461539,
"repo_name": "shinichy/qlocalserver-benchmark",
"id": "050a5c665b0c11596c5df7fdcc6e443ddf211cea",
"size": "21... |
<?php
include __DIR__ . '/../../vendor/autoload.php';
use alxmsl\Cli\CommandPosix;
use alxmsl\Cli\Exception\RequiredOptionException;
use alxmsl\Cli\Option;
use alxmsl\PaymentNinja\Client;
$publicKey = '';
$privateKey = '';
$user = '';
$Command = new CommandPosix();
$Command->appendHelpParameter('show help')... | {
"content_hash": "345fa150e7b04bbdb1b5776b4c98230b",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 102,
"avg_line_length": 30.42105263157895,
"alnum_prop": 0.6418685121107266,
"repo_name": "alxmsl/PaymentNinjaClient",
"id": "78afa94123c6c9fcf160f21f6ec6cfce1e718e73",
"si... |
from msrest.paging import Paged
class JobCollectionDefinitionPaged(Paged):
"""
A paging container for iterating over a list of JobCollectionDefinition object
"""
_attribute_map = {
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[JobCollectio... | {
"content_hash": "2b3fe50fdff6b0700cb5a950c9efc3b4",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 82,
"avg_line_length": 28.75,
"alnum_prop": 0.6282608695652174,
"repo_name": "lmazuel/azure-sdk-for-python",
"id": "c14768483eb350e9c5cf59dab2a4ec90b17fd585",
"size": "934"... |
package ecologylab.bigsemantics.generated.library;
import ecologylab.bigsemantics.generated.library.AskNatureSubgroup;
import ecologylab.bigsemantics.metadata.builtins.MetadataBuiltinsTypesScope;
import ecologylab.bigsemantics.metadata.builtins.RichDocument;
import ecologylab.bigsemantics.metadata.mm_name;
import ec... | {
"content_hash": "91fd55a1c14ee4d568f0522758ade399",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 76,
"avg_line_length": 24.442622950819672,
"alnum_prop": 0.7766599597585513,
"repo_name": "ecologylab/BigSemanticsWrapperRepository",
"id": "6f8df1cc878f27080e4ba194157e43cee... |
[Dialogflow](https://dialogflow.com/) is an NLP API for matching strings to [intents](https://cloud.google.com/dialogflow/docs/intents-overview) or [actions](https://cloud.google.com/dialogflow/docs/intents-actions-parameters). Intents are created on the Dialogflow website.
With version 2 of Dialogflow, you will need ... | {
"content_hash": "9d8e6803558ec9409b686f736fe12c2c",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 386,
"avg_line_length": 41.64705882352941,
"alnum_prop": 0.7711864406779662,
"repo_name": "jacobtomlinson/opsdroid",
"id": "ca575054dc8a882e7ce131a832e08588d6dd309a",
"siz... |
do
function run(msg, matches)
local result = 'Hacker News Top5:\n'
local top_stories_json, code = https.request('https://hacker-news.firebaseio.com/v0/topstories.json')
if code ~=200 then return nil end
local top_stories = json:decode(top_stories_json)
for i = 1, 5 do
local story_json, code = https.requ... | {
"content_hash": "7134fe9bb505bf9de26ca3e8cca3ef8a",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 114,
"avg_line_length": 30.291666666666668,
"alnum_prop": 0.6519944979367263,
"repo_name": "Puccio7/bot-telegram",
"id": "284a03f269ad786c768ff9548beca35e408691ca",
"size":... |
namespace firebase {
namespace testing {
namespace cppsdk {
// We count the status change by this.
static int g_status_count = 0;
// Now we define example ticker class. TickerObserver is abstract and we cannot
// test it directly. Generally speaking, fakes mimic callbacks by inheriting
// TickerObserver class and ove... | {
"content_hash": "778dd1cacc20236fe87b6cdef16c6ef3",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 79,
"avg_line_length": 27.261194029850746,
"alnum_prop": 0.6892964686558992,
"repo_name": "firebase/firebase-cpp-sdk",
"id": "d90e85f5c7c95b00a2ad1699a785ad3cd1ec26e6",
"s... |
package com.amazonaws.auth.policy.conditions;
import java.util.Arrays;
import com.amazonaws.auth.policy.Condition;
/**
* AWS access control policy condition that allows an access control statement
* to be conditionally applied based on the comparison of an Amazon Resource
* Name (ARN).
* <p>
* An Amazon Resour... | {
"content_hash": "162491b5267f59dc686d4e083bcaef34",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 80,
"avg_line_length": 35.901234567901234,
"alnum_prop": 0.6458046767537826,
"repo_name": "puppetlabs/aws-sdk-for-java",
"id": "99abcad3ef631e96656fd8760f18c6218a45409e",
"... |
class numChain(object):
def __init__(self, numberOfLinks, desiredValue):
self.numberOfLinks = numberOfLinks
self.desiredValue = desiredValue
self.links=[]
self.links.append(1)
self.stringGroup=[]
self.allPotentialValues=set()
for x in range(numberOfLinks+1):
... | {
"content_hash": "49a9e768bf7ea71358a18ccfded3db7a",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 109,
"avg_line_length": 38.77142857142857,
"alnum_prop": 0.604274134119381,
"repo_name": "jeremiahmarks/dangerzone",
"id": "cf8b2cc1fda3a839a4f14abe27aa28f9ef6a3c6b",
"size... |
module Stretcher
# Represents an index scoped to a specific type.
# Generally should be instantiated via Index#type(name).
class IndexType
# Retrieves the document by ID.
# Normally this returns the contents of _source, however, if the 'raw' flag is passed in, it will return the full response hash.
#... | {
"content_hash": "1b1bf3b582e22ebfc0ac7a96a15d4153",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 132,
"avg_line_length": 43.714285714285715,
"alnum_prop": 0.6721132897603486,
"repo_name": "bcoe/em-stretcher",
"id": "b24726af9243b15eb0a4f3e40c0430f869e05fb6",
"size": "9... |
- 'setup mongoose db connection error handling'
- 'setup share-link ZeroClipboard'
- 'add notifications (copy, remove, etc)'
- 'add visual walkthrough intro (add list, add item, remove, copy, etc.)'
- 'add chrome ext new options_ui for Chrome 40+'
- 'add chrome ext action popup hotkey (quick list change)'
- 'add item c... | {
"content_hash": "6a3aea27f99b76810b24d91956993f08",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 112,
"avg_line_length": 44.95180722891566,
"alnum_prop": 0.7145537389439829,
"repo_name": "jrodl3r/unorderedlist",
"id": "e114005f11181171949b3fad437c59082156f79e",
"size":... |
This crate will eventually contain a pure-Rust implementation of queries
for network-related names similar to the functions found in POSIX’
`netdb.h`. The eventual implementation will be cross-platform and perform
the correct actions as configured for the particular system.
## Usage
Add this to your `Cargo.toml`:
`... | {
"content_hash": "f68ab7848b1a78fd84d67a16803f0a7d",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 74,
"avg_line_length": 19.35135135135135,
"alnum_prop": 0.7430167597765364,
"repo_name": "partim/netdb",
"id": "e386e1dee47f688f68015a1c0446ded39773bcd7",
"size": "754",
... |
<?php
/**
* A class file to connect to database
*/
class DB_CONNECT {
// constructor
function __construct() {
// connecting to database
$this->connect();
}
// destructor
function __destruct() {
// closing db connection
$this->close();
}
/**
* Fu... | {
"content_hash": "c9e37928a76ecf98d537177e2e753193",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 87,
"avg_line_length": 19.851063829787233,
"alnum_prop": 0.5466237942122186,
"repo_name": "ChristfriedBalizou/expresservice",
"id": "da61d3b0372ad549c4962af7c3a1e7854097a843"... |
<message>
<dateTimeCreated>2006-05-04T18:13:51.0Z</dateTimeCreated>
<severity>WARNING</severity>
<source>System 2</source>
<details>There is a problem here</details>
<topic>topic 3</topic>
<topic>topic 2</topic>
</message>
| {
"content_hash": "e490a5cc6fcaf4fc338347d8f7322cc2",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 59,
"avg_line_length": 29.375,
"alnum_prop": 0.7148936170212766,
"repo_name": "jamesrwelch/BuRST",
"id": "75def6e7702d36ad0b0d5e4e4cb5ad980a33d712",
"size": "235",
"binary... |
var request = require('supertest');
var app = require('../app');
// Rooting test
describe('Routing', function() {
describe('GET /', function() {
it('should respond with HTTP status code 200', function(res) {
request(app)
.get('/')
.expect(200, res);
});
});
describe('GET /file', function() {
it('sh... | {
"content_hash": "b30619af36398c02e46288078c6bfb9f",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 64,
"avg_line_length": 22.3,
"alnum_prop": 0.5964125560538116,
"repo_name": "BaptisteGauduchon/express-web-file-server",
"id": "2f3960e9614978db57187af0f472b0eb919c0731",
"... |
%Copyright (c) 2006, Franco Scarselli
%All rights reserved.
%
%Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
%
%Redistributions of source code must retain the above copyright notice, this list of conditions and the fol... | {
"content_hash": "99d94ce422542b42a2f59bfed4ddfb2a",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 756,
"avg_line_length": 40.726027397260275,
"alnum_prop": 0.7319206189034645,
"repo_name": "francoscarselli/Graph-Neural-Networks",
"id": "aa20c9a407645d3671d7659c83bf2a4942c... |
'use strict';
goog.require('grrUi.core.module');
goog.require('grrUi.core.semanticRegistry.SemanticRegistryService');
goog.scope(function() {
describe('Semantic registry', function() {
var testRegistry;
beforeEach(module(grrUi.core.module.name));
beforeEach(inject(function($injector) {
testRegistry = $inj... | {
"content_hash": "59bf37bf0fe6814f3a4a09aaf67da6a8",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 70,
"avg_line_length": 30.41304347826087,
"alnum_prop": 0.6833452466047176,
"repo_name": "bgalehouse/grr",
"id": "1fd6c50efacdbec9409ddbde9d39c34a6f497274",
"size": "1399",... |
export default ['i18n', function(i18n) {
return {
name: 'hosts',
iterator: 'host',
editTitle: '{{ selected_group }}',
showTitle: false,
well: true,
wellOverride: true,
index: false,
hover: true,
multiSelect: true,
trackBy: 'host.id',
... | {
"content_hash": "1fdc7d7469f0f94a6cbf2fb70c431e9e",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 177,
"avg_line_length": 41.039370078740156,
"alnum_prop": 0.4750575594781274,
"repo_name": "wwitzel3/awx",
"id": "5482faeb49e7b5991b4150cf6e158fd27646dc48",
"size": "5376"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.