text stringlengths 2 1.04M | meta dict |
|---|---|
#ifndef AVFORMAT_MATROSKA_H
#define AVFORMAT_MATROSKA_H
#include "libavcodec/avcodec.h"
#include "metadata.h"
#include "internal.h"
/* EBML version supported */
#define EBML_VERSION 1
/* top-level master-IDs */
#define EBML_ID_HEADER 0x1A45DFA3
/* IDs in the HEADER master */
#define EBML_ID_EBMLVERSIO... | {
"content_hash": "7900b1b61c327891c2b7faf6648eb823",
"timestamp": "",
"source": "github",
"line_count": 247,
"max_line_length": 89,
"avg_line_length": 35.03238866396761,
"alnum_prop": 0.7606610424130359,
"repo_name": "stainberg/android_FFMPEG",
"id": "6f6ab1e92953f1a3ba13dd702c9fcf40cbe8750c",
"siz... |
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift File.expand_path('./helpers', __FILE__)
$LOAD_PATH.unshift File.expand_path('./namespace', __FILE__)
require 'simplecov'
require 'codecov'
SimpleCov.start
SimpleCov.formatter = SimpleCov::Formatter::Codecov
require 'etcdv3'
require 'helpers/t... | {
"content_hash": "9c12cc4d28c07135537da0ba9187e15f",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 76,
"avg_line_length": 27.157894736842106,
"alnum_prop": 0.7422480620155039,
"repo_name": "davissp14/etcdv3-ruby",
"id": "885f54ed79d0e3625858877f7852ca12a616877a",
"size":... |
Copyright (c) 2013, Stuart Knightley
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 fo... | {
"content_hash": "51d884d0bd862dce2c47725ba8c3415e",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 79,
"avg_line_length": 55.370370370370374,
"alnum_prop": 0.7939799331103679,
"repo_name": "kierandenshi/require1k",
"id": "88ed9b0401d22e69e7b2212cfa0f365cc58cfb5c",
"size"... |
using System;
using System.Configuration;
using System.IO;
using System.Xml.Linq;
using Helsenorge.Messaging.Abstractions;
using Helsenorge.Messaging.Server.NLog;
using Helsenorge.Registries;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.CommandLin... | {
"content_hash": "8fb94573849f94ba2870b9ede7c4eedb",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 156,
"avg_line_length": 40.46153846153846,
"alnum_prop": 0.6121673003802282,
"repo_name": "chriscena/Helsenorge.Messaging",
"id": "7c3a0944e0e6663a7825e867bf40f1075a45403d",... |
package browser
import (
"os"
"os/exec"
"runtime"
)
// Commands returns a list of possible commands to use to open a url.
func Commands() [][]string {
var cmds [][]string
if exe := os.Getenv("BROWSER"); exe != "" {
cmds = append(cmds, []string{exe})
}
switch runtime.GOOS {
case "darwin":
cmds = append(cmd... | {
"content_hash": "0051d1dc41425ea15d2f8e6ec8612456",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 88,
"avg_line_length": 23.36111111111111,
"alnum_prop": 0.6266349583828775,
"repo_name": "momchil-velikov/go",
"id": "11e65c2feb62abe296bc2e5c6f7405f86ec71dd1",
"size": "10... |
/**
* @fileoverview Utility for caching lint results.
* @author Kevin Partington
*/
"use strict";
//-----------------------------------------------------------------------------
// Requirements
//-----------------------------------------------------------------------------
const assert = require("assert");
const f... | {
"content_hash": "d367950a0b2288a2019f9ace1c62ea2d",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 100,
"avg_line_length": 36.443661971830984,
"alnum_prop": 0.5947826086956521,
"repo_name": "zhengxiexie/blog",
"id": "9408780fb022c69a236cfdf76563ebe11efd94f7",
"size": "5... |
#ifndef ARM_COMPUTE_CL_FLOOR_KERNEL_H
#define ARM_COMPUTE_CL_FLOOR_KERNEL_H
#include "src/core/common/Macros.h"
#include "src/gpu/cl/ClCompileContext.h"
#include "src/gpu/cl/IClKernel.h"
namespace arm_compute
{
namespace opencl
{
namespace kernels
{
/** OpenCL kernel to perform a floor operation */
class ClFloorKern... | {
"content_hash": "5997be2d604a2a6976930a14e2ced5a0",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 102,
"avg_line_length": 31.785714285714285,
"alnum_prop": 0.6928838951310862,
"repo_name": "ARM-software/ComputeLibrary",
"id": "6e413340ba16fd302b321b2156fe3a0aa43937e2",
... |
cask "dropbox-beta" do
version "135.3.4177"
sha256 "5af5f00a868bf6f4599033f9837eadd8466828ebc2f1706f76fbb77064d690fe"
url "https://www.dropbox.com/download?build=#{version}&plat=mac&type=full",
verified: "dropbox.com/"
name "Dropbox"
desc "Client for the Dropbox cloud storage service"
homepage "https... | {
"content_hash": "21c7d974867cce3b2d371c3eb6a0797a",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 89,
"avg_line_length": 38.391304347826086,
"alnum_prop": 0.7293318233295584,
"repo_name": "404NetworkError/homebrew-versions",
"id": "01138ff98be38fc0f484873084c689fcf8a4696d... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Function store</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../../index.html" title="The Boost ... | {
"content_hash": "ebab25d22a80150d454b2a9223b8f78c",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 593,
"avg_line_length": 82.96363636363637,
"alnum_prop": 0.6760902914749068,
"repo_name": "hand-iemura/lightpng",
"id": "a1dd470aee1f6704c2136404194e11bcbf0f44af",
"size": ... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.W... | {
"content_hash": "961ae30a05b65e551982038ad72890a4",
"timestamp": "",
"source": "github",
"line_count": 372,
"max_line_length": 229,
"avg_line_length": 46.266129032258064,
"alnum_prop": 0.5831154494218813,
"repo_name": "anhcop86/SN-Stock",
"id": "e6e2d9dcdf036a95a8c00446c3207883c1026ecf",
"size": "... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Philipp. J. Sci. , C 5:23. 1910
#### Original name
null
### Remarks
null | {
"content_hash": "be93c3cc15a2dd2e4357a89dc370699d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 12.307692307692308,
"alnum_prop": 0.66875,
"repo_name": "mdoering/backbone",
"id": "f639572018683d3585ceccbe540af691965b41e6",
"size": "231",
"bina... |
An element providing a starting point for your own reusable Polymer elements.
![][image-1]
## Dependencies
Element dependencies are managed via [Bower][1]. You can
install that via:
npm install -g bower
Then, go ahead and download the element's dependencies:
bower install
## Playing With Your Element
If you w... | {
"content_hash": "835d63800351426e559cb2324f6fb978",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 145,
"avg_line_length": 27,
"alnum_prop": 0.7215836526181354,
"repo_name": "ltg-uic/wallcology-selector",
"id": "28b5b7288a1867bf296c0ace16fead7721fd7337",
"size": "1589",
... |
package QueryTree;
import java.util.ArrayList;
import java.util.List;
import GlobalDefinition.Constant;
import GlobalDefinition.JoinExpression;
import GlobalDefinition.SimpleExpression;
import Parser.SelectItemsFinder;
import Parser.TableNamesFinder;
import Parser.WhereClauseDecomposition;
import Parser.WhereItemsFin... | {
"content_hash": "6ada46eb8e9937971d10fd55a80ba1c2",
"timestamp": "",
"source": "github",
"line_count": 353,
"max_line_length": 109,
"avg_line_length": 27.48441926345609,
"alnum_prop": 0.6768707482993197,
"repo_name": "vishnupriyam/Distributed-Database-Project",
"id": "1d075cc604333578de773dfe7c7ec34... |
<!-- HTML header for doxygen 1.8.10-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" cont... | {
"content_hash": "c2d3e0f2bdcec8274821e41fa07948a6",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 412,
"avg_line_length": 53.98823529411764,
"alnum_prop": 0.6842449335367182,
"repo_name": "bradhowes/sidecar",
"id": "63731591bbf0b028d1bc3094f798aeeba2133485",
"size": "45... |
"""Functions for FIR filter design."""
from __future__ import division, print_function, absolute_import
from math import ceil, log
import numpy as np
from numpy.fft import irfft
from scipy.special import sinc
from . import sigtools
__all__ = ['kaiser_beta', 'kaiser_atten', 'kaiserord',
'firwin', 'firwin2',... | {
"content_hash": "613bd463ad83ebea3b86bbb557b01c9e",
"timestamp": "",
"source": "github",
"line_count": 582,
"max_line_length": 94,
"avg_line_length": 34.52061855670103,
"alnum_prop": 0.6168931362301528,
"repo_name": "kmspriyatham/symath",
"id": "fd7c2e59c4b725138e868e603ca272a47cd4767b",
"size": "... |
const puppeteer = require('puppeteer');
const assert = require('assert');
const cas = require('../../cas.js');
(async () => {
const browser = await puppeteer.launch(cas.browserOptions());
const page = await cas.newPage(browser);
const service = "https://example.com";
await page.goto(`https://localhost... | {
"content_hash": "8c8d316115a390c960977c290f6d6d0f",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 123,
"avg_line_length": 56.04347826086956,
"alnum_prop": 0.7284716834755625,
"repo_name": "Jasig/cas",
"id": "7edb6b3fafbdee685a82f6c0480146c51d05f0d6",
"size": "1289",
"... |
package com.azure.cosmos;
import com.azure.cosmos.implementation.TestConfigurations;
import com.azure.cosmos.models.ThroughputProperties;
public class ThroughputPropertiesCodeSnippet {
public static void main(String[] args) throws Exception {
CosmosAsyncClient client = new CosmosClientBuilder()
... | {
"content_hash": "95ba9c3a5614b1313eddb15bb1d26277",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 102,
"avg_line_length": 39.9,
"alnum_prop": 0.6478696741854637,
"repo_name": "Azure/azure-sdk-for-java",
"id": "91200638154c4401e3acfdec9eeabeaf8fabdf86",
"size": "798",
... |
use std::collections::HashMap;
use std::io::{Result, Error, ErrorKind};
use std::fmt::{self, Debug, Formatter};
use value::Value;
pub type FilterFunction = fn(Option<Box<Value>>, &str) -> Option<Box<Value>>;
pub struct FilterNode {
func: FilterFunction,
arg: String,
name: String,
}
impl Debug for FilterNode {
fn... | {
"content_hash": "cb7d421cb53696a787bf6090d9493b1e",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 102,
"avg_line_length": 22.54385964912281,
"alnum_prop": 0.6070038910505836,
"repo_name": "SlNPacifist/rust-dtl",
"id": "bbc5b49233b7ba74103bb8c662c7f13704f0cd74",
"size": ... |
/**************************************************************************************/
/* */
/* Visualization Library */
/* http://visualizationlibrary.org ... | {
"content_hash": "a191a58f2ee875c06739c0dc4af7bebb",
"timestamp": "",
"source": "github",
"line_count": 501,
"max_line_length": 128,
"avg_line_length": 44.746506986027946,
"alnum_prop": 0.6312338299580694,
"repo_name": "Wulfire/visualizationlibrary",
"id": "d171e47d8bc631fb5c0e9f0d69da719df59950ad",
... |
./gradlew --quiet -PmainClass=application.modelview.MVApplicationLauncher run
| {
"content_hash": "96c3884545858a8143e08c27dcb8014f",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 77,
"avg_line_length": 78,
"alnum_prop": 0.8461538461538461,
"repo_name": "UNIZAR-30245-ARQS/country-data-mvc",
"id": "f3a934d4e083f4a65e5429c93a6e90e09ce35b5c",
"size": "90... |
var app = require('app');
var config = require('app/config');
app.engine('ejs', require('ejs-mate'));
app.set('views', 'app/views');
app.set('view engine', 'ejs');
app.disable('x-powered-by');
app.use(require('dont-sniff-mimetype')());
app.use(require('frameguard')());
app.use(require('x-xss-protection')());
app.use(... | {
"content_hash": "f46327bbe0be4398a591a42abf15346e",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 99,
"avg_line_length": 26.560606060606062,
"alnum_prop": 0.6577296063890473,
"repo_name": "redexp/perquisition",
"id": "abf08e4ce30a975b6c014c0fb30df43e3164d210",
"size": "... |
package org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.yarn.api.records.Resourc... | {
"content_hash": "4ce6b052426faf6ace14abfb2f4cbeef",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 81,
"avg_line_length": 35.52307692307692,
"alnum_prop": 0.7713295799047206,
"repo_name": "jokes000/hardfs",
"id": "5bfb182ced356c8407e38d5cae4203dd983e4de0",
"size": "3115"... |
package asw.socket.server.connector;
import asw.socket.service.*;
import java.net.*;
import java.io.*;
import java.util.logging.Logger;
/* Remote proxy lato server per il servizio Service. */
public class ServiceServerUDPProxy {
private Service service; // il vero servizio
private int port; ... | {
"content_hash": "44738734e16df73ab68fd8779cad95d7",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 101,
"avg_line_length": 37.224806201550386,
"alnum_prop": 0.5653894210745523,
"repo_name": "aswroma3/asw",
"id": "b4afb924997ef18c0da758f0ff815484a9365aed",
"size": "4804"... |
<?php
/**
* @file
* Contains \Drupal\Tests\Component\Plugin\Factory\ReflectionFactoryTest.
*
* Also contains Argument* classes used as data for testing.
*/
namespace Drupal\Tests\Component\Plugin\Factory;
use Drupal\Component\Plugin\Factory\ReflectionFactory;
use PHPUnit\Framework\TestCase;
/**
* @group Plugi... | {
"content_hash": "4d286ef1fce0e863937178422605621e",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 154,
"avg_line_length": 32.18518518518518,
"alnum_prop": 0.6746260069044879,
"repo_name": "wow-yorick/suffix-zx",
"id": "3d1a41d11257720474ee7390b9f6bde933852a61",
"size":... |
package org.apache.hadoop.mapred;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.mapreduce.TaskType;
/**
* Util... | {
"content_hash": "bc66386340b9ee83716d375a1f54abde",
"timestamp": "",
"source": "github",
"line_count": 230,
"max_line_length": 81,
"avg_line_length": 41.469565217391306,
"alnum_prop": 0.6950094359404487,
"repo_name": "CodingCat/LongTermFairScheduler",
"id": "922af5dd6a5d88f6ec0e93ab561e27828c2777bd"... |
'use strict';
/**
* Compute a squared sample Pearson product-moment correlation coefficient incrementally.
*
* @module @stdlib/stats/incr/pcorr2
*
* @example
* var incrpcorr2 = require( '@stdlib/stats/incr/pcorr2' );
*
* var accumulator = incrpcorr2();
*
* var r2 = accumulator();
* // returns null
*
* r2 = accumulat... | {
"content_hash": "718e5702c0d474c24a37270ab6869440",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 88,
"avg_line_length": 15.857142857142858,
"alnum_prop": 0.6288288288288288,
"repo_name": "stdlib-js/stdlib",
"id": "89c54e84ca257e41f5aa5e6650e9d42eeace1d20",
"size": "117... |
path-complete is a [Node.js](http://nodejs.org/) package for command line TAB path completion.
## Video Demonstration
[https://vimeo.com/38800422](https://vimeo.com/38800422)
## Installation
`npm install path-complete`
## Basic Usage
You can run the extremely simple test case by executing `node test/test.js` or ... | {
"content_hash": "11d035eee10151b57ad0c968981708f3",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 113,
"avg_line_length": 24.636363636363637,
"alnum_prop": 0.7103321033210332,
"repo_name": "tonylukasavage/path-complete",
"id": "694306719b1e13d1fef0ef920a7295ed57c9fa8a",
... |
SET statement_timeout = 0;
SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
--
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
--
--... | {
"content_hash": "5df2255fcd04cebd3bbabcf11734f6c5",
"timestamp": "",
"source": "github",
"line_count": 286,
"max_line_length": 106,
"avg_line_length": 21.496503496503497,
"alnum_prop": 0.693070917371503,
"repo_name": "elberdev/citygram-nyc",
"id": "bdfe26117b573fe51d163c261710545548c73f7b",
"size"... |
package com.sun.bookstore6.validators;
import com.sun.bookstore6.util.MessageFactory;
import javax.faces.component.UIComponent;
import javax.faces.component.UIInput;
import javax.faces.context.FacesContext;
import javax.faces.application.FacesMessage;
import javax.faces.validator.Validator;
import javax.faces.valid... | {
"content_hash": "a86aa28bfb8da96716d70206b455a84d",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 79,
"avg_line_length": 31.950381679389313,
"alnum_prop": 0.5902520606857007,
"repo_name": "adamjhamer/hdiv-archive",
"id": "bccc52c1276ffb1e893dff661fa4c6191b3f59fc",
"siz... |
using namespace swift;
static llvm::codegen::RegisterCodeGenFlags CGF;
//===----------------------------------------------------------------------===//
// Option Declarations
//===----------------------------------------------------------------------===//
// The OptimizationList is automat... | {
"content_hash": "53f1b617dc2ce82fa1c3ac5b11bc3fe9",
"timestamp": "",
"source": "github",
"line_count": 261,
"max_line_length": 80,
"avg_line_length": 34.842911877394634,
"alnum_prop": 0.6296459203870683,
"repo_name": "benlangmuir/swift",
"id": "45c6178222aec63926a7292a088748c53d0b50c5",
"size": "1... |
static MEANING parents[MAX_PARENTS+20]; // nodes above where we are now
static int parentIndex = 0; // add into parents at here
static int parentWalk = 0; // retrieve from parents starting here. when reach parentIndex you have run out
static unsigned int currentBaseInfer; // start of reserved marks
static unsigned in... | {
"content_hash": "a990c136c6b79e21d75d77267ad0118b",
"timestamp": "",
"source": "github",
"line_count": 1388,
"max_line_length": 197,
"avg_line_length": 35.69308357348703,
"alnum_prop": 0.6328771547373946,
"repo_name": "jazzyjackson/ChatScript",
"id": "27fcaba114ba0217091580eddae9725b224d4271",
"si... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using ViewSwitchingNavigation.Infrastructure.Properties;
namespace ViewSwitchingNavigation.Infrastructure
{
[SuppressMessage("Microsoft.Design", "CA1001",
Justification = "Calling the End method, which is part of the contract of u... | {
"content_hash": "a493d24bfe29bda74cd9cfb6fa25a659",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 133,
"avg_line_length": 28.190140845070424,
"alnum_prop": 0.5241069198101423,
"repo_name": "grandtiger/Prism",
"id": "ce0e876720a3c334b6c6d7a7af85b710833b94a3",
"size": "4... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppBaseTheme" parent="android:Theme.Holo">
</style>
</resources> | {
"content_hash": "7596fc9ab224efc97518d97fce813b96",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 59,
"avg_line_length": 22.833333333333332,
"alnum_prop": 0.656934306569343,
"repo_name": "omar0z/android-hello-world",
"id": "4b77d85f7c38267b1a7ee5e13e6a396532016c75",
"siz... |
<!doctype html>
<html class="no-js" lang="de">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dijkstra vs. Kay</title>
<link rel="stylesheet" type="text/css" href="http://sysop.matthias-werner.net/assets/css/styles_feeling_responsive.css" />
<script ... | {
"content_hash": "fde942f953dcd27b7773dcc046c940d8",
"timestamp": "",
"source": "github",
"line_count": 401,
"max_line_length": 307,
"avg_line_length": 23.698254364089774,
"alnum_prop": 0.5696095969693781,
"repo_name": "werner-matthias/SysOp",
"id": "ed3045a1bec1279ac0d423dc19cd8d17d518646a",
"size... |
package main
const (
envGopath = "GOPATH"
envGoroot = "GOROOT"
liveReloadProtocol = "livedev"
liveReloadHTML = `
<script type="text/javascript">
!function (w, c) {
try{
(new WebSocket('ws://' + w.location.hostname + ':%d/', 'livedev')).onclose=function(){w.location.reload()}
}catch(ex){c.log('Livedev... | {
"content_hash": "e9424a51e2907ccdb60acefac798aa3e",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 109,
"avg_line_length": 23.294117647058822,
"alnum_prop": 0.6237373737373737,
"repo_name": "qrtz/livedev",
"id": "bf69d06c593410d6fb57fc99dc6790422906b7e1",
"size": "396",
... |
package com.facebook.buck.android;
import com.android.sdklib.build.ApkBuilder;
import com.android.sdklib.build.ApkCreationException;
import com.android.sdklib.build.DuplicateFileException;
import com.android.sdklib.build.SealedApkException;
import com.facebook.buck.io.ProjectFilesystem;
import com.facebook.buck.step... | {
"content_hash": "25a38ca8a0f5c58a688e117ba9cb3635",
"timestamp": "",
"source": "github",
"line_count": 235,
"max_line_length": 176,
"avg_line_length": 40.15744680851064,
"alnum_prop": 0.730316837978171,
"repo_name": "liuyang-li/buck",
"id": "64c3ded6b2671a3db10fb991c6aa043d6c20a57b",
"size": "1004... |
package org.cleanlogic.cesiumjs4gwt.showcase;
import com.google.gwt.user.client.ui.DialogBox;
/**
* This will create a standard gwt-dialogbox with a close button. the css for
* the close button:
*
* <pre>
* .gwt-DialogBox-closebutton {
* font-weight: bold;
* color: #dd0000;
* padding: 2px;
* ... | {
"content_hash": "1c087feee1f01261efc611af9d61dd4c",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 140,
"avg_line_length": 25.8,
"alnum_prop": 0.5796335447498239,
"repo_name": "iSergio/gwt-cs",
"id": "9113ee376169289dbf78bcdf1d6a747009e4097f",
"size": "3442",
"binary"... |
package com.google.api.codegen.csharp;
import com.google.api.codegen.ApiConfig;
import com.google.api.codegen.CollectionConfig;
import com.google.api.codegen.FlatteningConfig;
import com.google.api.codegen.GapicContext;
import com.google.api.codegen.InterfaceConfig;
import com.google.api.codegen.MethodConfig;
import ... | {
"content_hash": "b029cec5d2f13f80fc2fc5ccadaaa40f",
"timestamp": "",
"source": "github",
"line_count": 791,
"max_line_length": 99,
"avg_line_length": 36.122629582806574,
"alnum_prop": 0.6227557484338362,
"repo_name": "jmuk/toolkit",
"id": "2b26bac9673432afd3bc61c6faccc0e7072ee845",
"size": "29164"... |
package io.fabric8.karaf.core.properties.function;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import io.fabric8.kubernetes.api.model.ConfigMap;
import io.fabric8.kubernetes.api... | {
"content_hash": "5355a2843435c35edfb6b4d456bff502",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 98,
"avg_line_length": 34.78378378378378,
"alnum_prop": 0.5918155918155918,
"repo_name": "jboss-fuse/fuse-karaf",
"id": "b1dc6dda363f2060a9ed1853dbb4356793db0477",
"size":... |
import React from "react";
import Paragraph from "../paragraph";
export default class Index extends React.Component {
render () {
return <Paragraph>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veni... | {
"content_hash": "e8d16b4a2f81d194550ee6ba21d031fa",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 78,
"avg_line_length": 37.27777777777778,
"alnum_prop": 0.7317436661698957,
"repo_name": "AKST/react-scss-boilerplate",
"id": "ffbe2fd202a123f67dd9de81c85580f456801203",
"s... |
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**read** | **list[str]** | List of user principals that can read the record. | [optional]
**write** | **list[str]** | List of user principals that can read, update and delete the record. | [optional]
[[Back to Model list]]... | {
"content_hash": "f31751d004a60cbd8d4cb1dbdfc80967",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 161,
"avg_line_length": 57.75,
"alnum_prop": 0.5887445887445888,
"repo_name": "gabisurita/kinto-codegen-tutorial",
"id": "2c493b22d842aef2c0c29b15e10a72e7a0a853a3",
"size": ... |
@class SQGoodsClassificationModel;
@interface SQTopCategoryCell : UITableViewCell
@property (nonatomic, strong) SQGoodsClassificationModel *model;
@end
| {
"content_hash": "08be3a2ec0dfb40f64b4232dd80859b9",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 64,
"avg_line_length": 25.666666666666668,
"alnum_prop": 0.8376623376623377,
"repo_name": "zc150815/ired6-1.0.0",
"id": "b5e5a28e9631ec5a4d4577e2a792689068d792e1",
"size": "... |
"use strict";
var socialLogin = angular.module('socialLogin', []);
socialLogin.provider("social", function(){
var fbKey, fbApiV, googleKey, linkedInKey;
return {
setFbKey: function(obj){
fbKey = obj.appId;
fbApiV = obj.apiVersion;
var d = document, fbJs, id = 'faceb... | {
"content_hash": "3c1ad98311d7ed7fc5dae38e071b46e6",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 219,
"avg_line_length": 39.77777777777778,
"alnum_prop": 0.48984255967496193,
"repo_name": "lakshit1001/CampusBox-webapp",
"id": "40369b580fcd359c4edf30e71ec745710bbd2bdc",
... |
package one.util.huntbugs.testdata;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import one.util.huntbugs.registry.anno.AssertNoWarning;
import one.util.huntbugs.registry.anno.AssertWarning;
/**
* @author Tagir Valeev
*
*/
public class TestCheckReturnValue {
@AssertWarning("... | {
"content_hash": "b3f64daa64cd05f1e90f09d191c9e832",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 71,
"avg_line_length": 24.25,
"alnum_prop": 0.6494845360824743,
"repo_name": "Maccimo/huntbugs",
"id": "294be2dad4c44e3a112e06e2b8162fbeaa9c9722",
"size": "1577",
"binary... |
<!DOCTYPE html>
<html lang="en-us" dir="ltr" itemscope itemtype="http://schema.org/Article">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>O Golpista do Ano</title>
<meta name="aut... | {
"content_hash": "bb7b1b4e04248f78d96986b92b70cb2e",
"timestamp": "",
"source": "github",
"line_count": 292,
"max_line_length": 565,
"avg_line_length": 37.61986301369863,
"alnum_prop": 0.6172052799271734,
"repo_name": "cinetenisverde/cinetenisverde.github.io",
"id": "ba58af028dd477913246c180f0bc61d67... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "286cc27a8a662c6b097d1dbb9313a95d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "1d709a98c405da9f01ea8dbf759347ab60638a96",
"size": "196... |
This example shows the use of Jade templating engine, both with precompiled templates and raw templates.
sudo npm install -g couchapp
install couchapp
npm install jade
couchapp push app.js http://admin:password@localhost:5984/jadeapp
Note: don't know why, I had to install couchapp both globaly and localy…
also, ... | {
"content_hash": "8dfbcf3e31861c602a54c34073af4302",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 104,
"avg_line_length": 36.42857142857143,
"alnum_prop": 0.7686274509803922,
"repo_name": "smallmultiples/couchapp-hello-world",
"id": "4772b4d03021ac6178479702bb4d8b7f9580b4... |
.class public Landroid/content/pm/ActivityInfo;
.super Landroid/content/pm/ComponentInfo;
.source "ActivityInfo.java"
# interfaces
.implements Landroid/os/Parcelable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/content/pm/ActivityInfo$FlymeInjector;
}
.end an... | {
"content_hash": "9d7b6aad9fb7a784f7a59edfcb5482b8",
"timestamp": "",
"source": "github",
"line_count": 1006,
"max_line_length": 174,
"avg_line_length": 27.406560636182903,
"alnum_prop": 0.7140836386057814,
"repo_name": "shumxin/FlymeOS_A5DUG",
"id": "3d5ed6a8666606ee9a90f04fb2e3570063a18912",
"siz... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "f913cc91052c3bb117c53b9187bfc9e1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "c88b81e435bf912d5a72ca232e6bbaae7122650e",
"size": "175... |
<?php
use Magento\TestFramework\Helper\Bootstrap;
/** @var \Magento\Framework\Registry $registry */
$registry = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get('Magento\Framework\Registry');
$registry->unregister('isSecureArea');
$registry->register('isSecureArea', true);
/** @var \Magento\Catalog\M... | {
"content_hash": "204965fa8ab2b63e987a0a9d9061ff4d",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 107,
"avg_line_length": 35.5625,
"alnum_prop": 0.7293497363796133,
"repo_name": "florentinaa/magento",
"id": "f3aa903b157267964baa54d1f6b08d2950da0493",
"size": "667",
"b... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/analytics/admin/v1alpha/analytics_admin.proto
package com.google.analytics.admin.v1alpha;
public interface GetUserLinkRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetUserLink... | {
"content_hash": "c22a5fd07f5e8a21da337d9f76cd5aa5",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 105,
"avg_line_length": 25.05,
"alnum_prop": 0.6437125748502994,
"repo_name": "googleapis/google-cloud-java",
"id": "b9a664810f250cc840bd688d4543df6e0a1f35c1",
"size": "159... |
using System.Numerics;
namespace Myra.Platform
{
public struct TouchLocation
{
public Vector2 Position { get; set; }
}
}
| {
"content_hash": "3c29dddacf8f258ca2bdb1903166cc94",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 39,
"avg_line_length": 14.222222222222221,
"alnum_prop": 0.71875,
"repo_name": "rds1983/Myra",
"id": "debd1f0285a280ac451500f909500566e8e33b18",
"size": "130",
"binary": f... |
import BaseHTTPServer
import os.path
from mimetypes import MimeTypes
from urlparse import urlparse
mime = MimeTypes()
class Handler( BaseHTTPServer.BaseHTTPRequestHandler ):
def do_GET( self ):
path = urlparse('client' + self.path).path
if not os.path.isfile(path):
path = 'client/index... | {
"content_hash": "fbc1b59d7e3401fa0606bda8ab179c9f",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 68,
"avg_line_length": 31.05263157894737,
"alnum_prop": 0.6677966101694915,
"repo_name": "demerzel3/desmond",
"id": "04726a237e75e55e556c651821b231b33246b6a3",
"size": "613... |
package org.ldp4j.rdf;
import java.net.URI;
public final class URIRef extends Resource<URI> {
URIRef(URI uri) {
super(uri);
}
@Override
public int hashCode() {
return super.hashCode()*19;
}
@Override
public boolean equals(Object o) {
return (o instanceof URIRef) && super.equals(o);
}
@Override
... | {
"content_hash": "8a1f60c2f470a77b493eb71e93f57641",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 82,
"avg_line_length": 17.979591836734695,
"alnum_prop": 0.6696935300794552,
"repo_name": "ldp4j/ldp4j",
"id": "2400644a84ece95676400d66997ae89b4ff51f57",
"size": "2169",
... |
package wallet
import (
"fmt"
"math"
"github.com/NebulousLabs/Sia/modules"
"github.com/NebulousLabs/Sia/types"
"github.com/NebulousLabs/bolt"
)
// threadedResetSubscriptions unsubscribes the wallet from the consensus set and transaction pool
// and subscribes again.
func (w *Wallet) threadedResetSubscriptions(... | {
"content_hash": "082a966e06502bc18e15740140ff32db",
"timestamp": "",
"source": "github",
"line_count": 529,
"max_line_length": 129,
"avg_line_length": 34.04914933837429,
"alnum_prop": 0.6951476793248945,
"repo_name": "debian-go/sia",
"id": "14f6e7252c74d2e98311a0c7bf00088db59d3cb5",
"size": "18012... |
package DateTime::TimeZone::OlsonDB::Observance;
$DateTime::TimeZone::OlsonDB::Observance::VERSION = '1.95';
use strict;
use warnings;
use DateTime::Duration;
use DateTime::TimeZone::OlsonDB;
use DateTime::TimeZone::OlsonDB::Change;
use List::Util 1.33 qw( any first );
use Params::Validate qw( validate SCALAR ARRAYRE... | {
"content_hash": "e7d324762ae505dc0fa5c45f7d080109",
"timestamp": "",
"source": "github",
"line_count": 420,
"max_line_length": 119,
"avg_line_length": 31.833333333333332,
"alnum_prop": 0.5130142109199701,
"repo_name": "jkb78/extrajnm",
"id": "d453808d4454796a885860c80364d021587b2bb8",
"size": "133... |
import {
AsyncTestCompleter,
beforeEach,
xdescribe,
ddescribe,
describe,
el,
expect,
iit,
inject,
it,
SpyObject,
proxy
} from 'angular2/test_lib';
import {DirectiveMetadata, LifecycleEvent} from 'angular2/src/core/metadata';
import {DirectiveBinding} from 'angular2/src/core/compiler/element_inj... | {
"content_hash": "fbe57362447582015848c0cd9d8d015b",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 99,
"avg_line_length": 32.804054054054056,
"alnum_prop": 0.5909371781668383,
"repo_name": "pkdevbox/angular",
"id": "7723cfe09c4923120a70d4ecc8d792af292b56cb",
"size": "48... |
module Berp.Compile.Utils where
unsupported :: String -> a
unsupported str = error $ "berp unsupported. " ++ str
| {
"content_hash": "e2cf13933c30d847e497f3582741f16c",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 53,
"avg_line_length": 28.5,
"alnum_prop": 0.7192982456140351,
"repo_name": "bjpop/berp",
"id": "5f9d1c3c1f4fd7b47ff066c6809abfee1932775d",
"size": "511",
"binary": false,... |
struct SnapshotRequestInfo;
// MTPDeviceDelegateImplLinux communicates with the media transfer protocol
// (MTP) device to complete file system operations. These operations are
// performed asynchronously. Instantiate this class per MTP device storage.
// MTPDeviceDelegateImplLinux lives on the IO thread.
// MTPDevice... | {
"content_hash": "8d60eceb96ee2512334aa0d7a66587c5",
"timestamp": "",
"source": "github",
"line_count": 273,
"max_line_length": 81,
"avg_line_length": 42.637362637362635,
"alnum_prop": 0.720446735395189,
"repo_name": "ondra-novak/chromium.src",
"id": "770c0603b0175e36fb345a518b9665baba214282",
"siz... |
package demo.catlets;
import io.mycat.MycatServer;
import io.mycat.cache.LayerCachePool;
import io.mycat.route.RouteResultset;
import io.mycat.route.RouteResultsetNode;
import io.mycat.route.factory.RouteStrategyFactory;
import io.mycat.server.ErrorCode;
import io.mycat.server.MySQLFrontConnection;
import io.mycat.ser... | {
"content_hash": "49a09693f155475df506dda98bccd5af",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 109,
"avg_line_length": 33.78102189781022,
"alnum_prop": 0.7480553154710458,
"repo_name": "enjoy0924/Mycat-Server",
"id": "2c569efbf6b7f7f5eac3282fbd24d6997a8d9af6",
"size... |
struct cpu {
uchar id; // Local APIC ID; index into cpus[] below
struct context *scheduler; // swtch() here to enter scheduler
struct taskstate ts; // Used by x86 to find stack for interrupt
struct segdesc gdt[NSEGS]; // x86 global descriptor table
volatile uint started; /... | {
"content_hash": "2b2d1ce090c7e49228ac38545f74fb9e",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 73,
"avg_line_length": 38.89333333333333,
"alnum_prop": 0.6510113129928008,
"repo_name": "jahandideh-iman/XV6_Scheduling",
"id": "cce21c972d4244e65426d2ea863a83b8034fffe0",
... |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restrictio... | {
"content_hash": "a513cd4b4ca1ce806025b6b4eea00b27",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 130,
"avg_line_length": 36.37640449438202,
"alnum_prop": 0.6500386100386101,
"repo_name": "elfprince13/Torque3D",
"id": "2eb5663e9858e75260be1f2cab079a6f446edd4c",
"size":... |
package io.swagger.client.model;
import com.wordnik.swagger.annotations.*;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Category object
**/
@ApiModel(description = "Category object")
public class Category {
private Long id = null;
private String name = null;
/**
**/
@ApiModelPr... | {
"content_hash": "776f3407a280addb9873a3d2671500c8",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 53,
"avg_line_length": 16.36842105263158,
"alnum_prop": 0.6045016077170418,
"repo_name": "jfiala/swagger-spring-demo",
"id": "d210657b29fbfeeef61c5ee4491dd24b5e29f830",
"si... |
package com.team1458.turtleshell.pid;
import com.team1458.turtleshell.util.MotorValue;
/**
* A PID that does nothing, always returns zero and will always be at target.
* Used for disabling motor in TurtleManualDualPID.
*
* @author mehnadnerd
*
*/
public class TurtleZeroPID implements TurtlePID{
private static... | {
"content_hash": "13113aa283d45ff089b33d6ff1faffad",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 77,
"avg_line_length": 19.5625,
"alnum_prop": 0.7332268370607029,
"repo_name": "FRC1458/turtleshell",
"id": "1659cc2cb3b3bdaa8a8976759271f1dc186430ca",
"size": "626",
"bi... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>glassfish - Not obvious</title>
<meta name="descrip... | {
"content_hash": "82d9048cb370af2b1379081e3be52b1f",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 326,
"avg_line_length": 58.17391304347826,
"alnum_prop": 0.633034379671151,
"repo_name": "pdudits/pdudits.github.io",
"id": "f9b358186fe8185b263adb787f581b9d4e97b67a",
"si... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content="Copy to clipboard">
<meta name="lang... | {
"content_hash": "b14224e1a01109d4d2c1838f27eb1304",
"timestamp": "",
"source": "github",
"line_count": 410,
"max_line_length": 999,
"avg_line_length": 42.75853658536585,
"alnum_prop": 0.6063544578175802,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "e0bd4657997994c856b49dabc72609e2f10d475... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed><tipo>Rua</tipo><logradouro>Raul Pompéia</logradouro><bairro>Arruda</bairro><cidade>Recife</cidade><uf>PE</uf><cep>52120050</cep></feed>
| {
"content_hash": "59f331104fc6a6fdf1b142ccd8ddec3c",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 142,
"avg_line_length": 99.5,
"alnum_prop": 0.7185929648241206,
"repo_name": "chesarex/webservice-cep",
"id": "db2ebb5e1b7276aaaf415ece23bda40f003736fd",
"size": "200",
"b... |
#ifndef OpenTypeUtilities_h
#define OpenTypeUtilities_h
#include <windows.h>
#include <wtf/Forward.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
struct BigEndianUShort;
struct EOTPrefix;
class SharedBuffer;
#if OS(WINCE)
typedef unsigned __int8 UInt8;
#endif
struct EOTHeader {
EOTHeader();
size... | {
"content_hash": "8262428b061d910310dc14d4700d5fb7",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 127,
"avg_line_length": 24.75609756097561,
"alnum_prop": 0.7339901477832512,
"repo_name": "unofficial-opensource-apple/WebCore",
"id": "ab839e02363e56b0c309f9b5e254df73a8ad23... |
hackerrank
============
Ruby solutions to [HackerRank](https://www.hackerrank.com/) tasks.
---
Copyright (c) 2017 Dominik Fijaś
Licensed under the [MIT License](https://github.com/domininik/hackerrank/blob/master/LICENSE.md)
| {
"content_hash": "76ddd4e164145ac7ca24cf7b57fbd621",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 96,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.7236842105263158,
"repo_name": "domininik/hackerrank",
"id": "dd07cdbbcdcd39d13423c669c2dc76b9bd52b7c7",
"size": "... |
import BaseTheme from '../../../base/ui/components/BaseTheme.native';
const SECONDARY_COLOR = BaseTheme.palette.border04;
const lobbyText = {
...BaseTheme.typography.heading5,
color: BaseTheme.palette.text01,
textAlign: 'center'
};
export default {
buttonStylesBorderless: {
iconStyle: {
... | {
"content_hash": "5fdf56ca54a238a0e53a6e0446b910b1",
"timestamp": "",
"source": "github",
"line_count": 236,
"max_line_length": 69,
"avg_line_length": 21.26271186440678,
"alnum_prop": 0.5617776006377042,
"repo_name": "jitsi/jitsi-meet",
"id": "a50200229053252a4592527cb8fa0e1513933213",
"size": "502... |
*一个标准的测试用例*
```java
import static org.junit.junpiter.api.Assertions.fail;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.AfterEach;
import org.junit.juptier.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
class Sta... | {
"content_hash": "9e7786f43d1b029cdac83cec30782dce",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 53,
"avg_line_length": 15.285714285714286,
"alnum_prop": 0.6688918558077437,
"repo_name": "cnfn/JUnit-5-User-Guide",
"id": "1ae5477a016d3c3928e2fe14bd77057ce17535f0",
"size... |
import { RawSourceMap } from 'source-map';
import * as webpack from 'webpack';
export declare const buildOptimizerLoaderPath: string;
export default function buildOptimizerLoader(this: webpack.loader.LoaderContext, content: string, previousSourceMap: RawSourceMap): void;
| {
"content_hash": "898539ce38ce59ac28275d30914510dc",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 137,
"avg_line_length": 54.6,
"alnum_prop": 0.8131868131868132,
"repo_name": "cloudfoundry-community/asp.net5-buildpack",
"id": "7599005964e16731e289e4f98f2193b59fb0591f",
"... |
namespace session_manager {
class SessionManager;
}
namespace chromeos {
class DataPromoNotification;
class EventRewriter;
class EventRewriterController;
class IdleActionWarningObserver;
class LightBar;
class MagnificationManager;
class PeripheralBatteryObserver;
class PowerButtonObserver;
class PowerPrefs;
class Ren... | {
"content_hash": "ffb4fefdd40ad1f12d96fe155e39475d",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 75,
"avg_line_length": 29.723684210526315,
"alnum_prop": 0.8078795927401505,
"repo_name": "Jonekee/chromium.src",
"id": "bcb198b8ac6cdc97653524702ba718e43a65aa14",
"size": ... |
module TextAssetMixins
# Change these settings to configure which minifiers will be used.
# Built-in CSS Minifiers:
# * CssminMinifier
# * RainpressMinifier
# Built-in JS Minifiers:
# * JsminMinifier
# * PackrMinifier
# See each of these models and their related plugins for possible op... | {
"content_hash": "2b52fd1f3308e4a789af572ab14dadd0",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 75,
"avg_line_length": 25.641509433962263,
"alnum_prop": 0.5982339955849889,
"repo_name": "cristi/radiantcasts-episodes",
"id": "d16ee98ef6e4691dca2b9c9cae5fb6628a59bc49",
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "116e4a042bb8a7b08990a1e9c7856118",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 546,
"avg_line_length": 59.475806451612904,
"alnum_prop": 0.6390508474576271,
"repo_name": "pstupka/PhaseVis",
"id": "4a40cc4549facf35c48f152ee85a6e00417a3b19",
"size": "7... |
#ifndef INPUT_H
#define INPUT_H
#include <stdbool.h>
#include <stdio.h>
#include "nstr.h"
/* Use this for set_input(separator) to auto-detect the separator on the first input line. */
#define SEP_AUTO '\0'
/* Use this for set_input(separator) to use no separator, i.e. read the file as single-column.
* This works... | {
"content_hash": "1fce8adf5d54ea8161af6bae200193c5",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 197,
"avg_line_length": 34.793103448275865,
"alnum_prop": 0.7314172447968286,
"repo_name": "mle86/csv-parser",
"id": "7ed8895d7f2adaf7386a93e349c7dfccf73b794a",
"size": "22... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.digitaltwins.models;
import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
/** The ... | {
"content_hash": "d885c1049e890c5abd5409c22de42549",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 81,
"avg_line_length": 25.65,
"alnum_prop": 0.6500974658869396,
"repo_name": "Azure/azure-sdk-for-java",
"id": "dd56b690d6b4cfdaf45f7ec4f8ffa9d708d3169b",
"size": "2052",
... |
package azkaban.trigger;
import java.io.IOException;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.apache.commons.dbutils.DbUtils;
import org.apache.commons.dbutils.QueryRunner;
import ... | {
"content_hash": "4411b9a740ed370da23d7dd793e46edd",
"timestamp": "",
"source": "github",
"line_count": 344,
"max_line_length": 90,
"avg_line_length": 30.54360465116279,
"alnum_prop": 0.6498524792995146,
"repo_name": "wilson-lauw/azkaban2.7",
"id": "99b32f981b751daab0ea9cca9b75e7bacb7f8bcb",
"size"... |
class RenameTransactionToDonation < ActiveRecord::Migration
def up
rename_table(:transactions, :donations)
rename_column(:transaction_charities, :transaction_id, :donation_id)
rename_table(:transaction_charities, :donation_charities)
end
def down
rename_table(:donations, :transactions)
rena... | {
"content_hash": "cd1e737917b7c809cf649e38c1a1525c",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 72,
"avg_line_length": 30.266666666666666,
"alnum_prop": 0.751101321585903,
"repo_name": "developer-star/dollar-a-day",
"id": "924f7fb519b84e66d5d061860596c260006609fd",
"s... |
(
set -e
/bin/patch -t -p1 -d /usr/libexec/mcollective/ < /var/lib/comodit/applications/mcollective-client/bug-892764.patch
echo -----
) > /var/log/comodit/mcollective-client/install.log 2>&1 | {
"content_hash": "7bd973c8bf7e9b8249116cd9fb15ce21",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 114,
"avg_line_length": 24.25,
"alnum_prop": 0.7164948453608248,
"repo_name": "comodit/demos",
"id": "40022d24cc90a8ee7a3073f23d47fa1f6d7908c7",
"size": "205",
"binary": f... |
import sys
class ToleoException(Exception):
'''
Base exception class.
'''
def __init__(self, message, error=None):
super().__init__(message)
self.message = message
self.error = error or 'ToleoException'
def quit(self):
sys.exit('{}: {}'.format(self.error, self.mess... | {
"content_hash": "c8b45506f172b055b02cda6047011881",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 59,
"avg_line_length": 23.285714285714285,
"alnum_prop": 0.5828220858895705,
"repo_name": "carlwgeorge/toleo-old",
"id": "c6b251cc4b869058bf58fb518c5572d953d57f5b",
"size":... |
import unittest
import os
import subprocess
import hgapi
# vcs, , represent version controlled directories, internal
from yotta.lib import vcs
# fsutils, , misc filesystem utils, internal
from yotta.lib import fsutils
Test_Repo_git = "git@github.com:autopulated/testing-dummy.git"
Test_Repo_hg = "ssh://hg@bitbucket.... | {
"content_hash": "32559f956820c74e22bfd0fa141d3098",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 95,
"avg_line_length": 37.09782608695652,
"alnum_prop": 0.6343392909463815,
"repo_name": "BlackstoneEngineering/yotta",
"id": "b1e4103ee9eeb9b3128e46e18f65fcfb3ce9fe0e",
"s... |
package org.traccar.notification;
import org.traccar.Config;
import org.traccar.model.Extensible;
public class PropertiesProvider {
private Config config;
private Extensible extensible;
public PropertiesProvider(Config config) {
this.config = config;
}
public PropertiesProvider(Extens... | {
"content_hash": "fcc3afa685913ba4a8395d94bdc7b482",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 62,
"avg_line_length": 21.18918918918919,
"alnum_prop": 0.6186224489795918,
"repo_name": "duke2906/traccar",
"id": "e7cac8d0f26e69e0968ade75015202e8b07266b4",
"size": "1401... |
from django.views.generic import TemplateView
class LandingPageView(TemplateView):
template_name = 'tt_disposal_wells/landing.html'
| {
"content_hash": "a4c412c37a9d16e54ed988d368591ce7",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 52,
"avg_line_length": 27.6,
"alnum_prop": 0.7971014492753623,
"repo_name": "texastribune/tt_disposal_wells",
"id": "cb2a594a26d36decf9ca4b8911bb4c460452c399",
"size": "138"... |
require 'test_helper'
class QuizTest < ActiveSupport::TestCase
test "should not save quiz without title" do
quiz = Quiz.new
assert_not quiz.save
end
end
| {
"content_hash": "fc067199178fc4910c0b6f15065c62fc",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 46,
"avg_line_length": 20.75,
"alnum_prop": 0.7228915662650602,
"repo_name": "mikevo/uno-heterogeneous-knowledge",
"id": "54e28e1de0f88f7bc44b5405687433e62b382ecf",
"size": ... |
import { Component, EventEmitter, Input, Output } from '@angular/core';
@Component({
selector: 'app-zone-inspector',
templateUrl: './inspector.component.html',
styleUrls: ['./inspector.component.css']
})
export class ZoneInspectorComponent {
@Input() zones: string[];
@Input() acceptsInput: boolean... | {
"content_hash": "0b5d0f4855dd867c18183ef795dcf4b5",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 120,
"avg_line_length": 31.90909090909091,
"alnum_prop": 0.6260683760683761,
"repo_name": "UXAspects/UXAspects",
"id": "974a9d9f764f36555bd875381186099fbb882952",
"size": "... |
<!--
Copyright 2015 Smart Society Services B.V.
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
-->
<project xmlns="http://maven.apache... | {
"content_hash": "6b17a823dc5c599e5bb9433ee2917f9b",
"timestamp": "",
"source": "github",
"line_count": 212,
"max_line_length": 173,
"avg_line_length": 30.202830188679247,
"alnum_prop": 0.6578166484460409,
"repo_name": "OSGP/Protocol-Adapter-OSLP",
"id": "aa821933382116735bd97963975372c9636abf89",
... |
// window project doc.go
/*
window document
*/
package Window
| {
"content_hash": "86b7be0a958540edeaadd2d019c0ba45",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 24,
"avg_line_length": 10.5,
"alnum_prop": 0.7142857142857143,
"repo_name": "Triangle345/GT",
"id": "a1f5ca5ae1a702520b245a4aae65b2431b9ac55b",
"size": "63",
"binary": fal... |
package qa.softwaretesting.sandbox;
import org.testng.Assert;
import org.testng.annotations.Test;
public class EquationTests {
@Test
public void test0() {
Equation e = new Equation(1, 1, 1);
Assert.assertEquals(e.rootNumber(), 0);
}
@Test
public void test1() {
Equation e = new Equation(1, 2, 1... | {
"content_hash": "020b2165a8ab9772df1cb63f90fda090",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 44,
"avg_line_length": 20.302325581395348,
"alnum_prop": 0.6334478808705613,
"repo_name": "PaulGladoon/java_tests",
"id": "88d281794321e5be4ac6fa8b8984415b7dde2264",
"size"... |
package com.microsoft.azure.management.eventgrid.v2018_05_01_preview.implementation;
import com.microsoft.azure.management.eventgrid.v2018_05_01_preview.EventType;
import com.microsoft.azure.arm.model.implementation.WrapperImpl;
import rx.Observable;
class EventTypeImpl extends WrapperImpl<EventTypeInner> implement... | {
"content_hash": "ab0e7617f448e720b840378966cc7e9d",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 84,
"avg_line_length": 21.12962962962963,
"alnum_prop": 0.6546888694127958,
"repo_name": "hovsepm/azure-sdk-for-java",
"id": "e0bd9fa1a502028ca45a96d47711af76cfe44aac",
"si... |
<?php
declare(strict_types=1);
namespace Talesweaver\Application\Query\Scene;
use Talesweaver\Application\Bus\QueryHandlerInterface;
use Talesweaver\Domain\Scene;
use Talesweaver\Domain\Scenes;
class ByIdHandler implements QueryHandlerInterface
{
/**
* @var Scenes
*/
private $scenes;
public f... | {
"content_hash": "6857fe51b4ac0fa8b2d888cac6aa1191",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 54,
"avg_line_length": 19.22222222222222,
"alnum_prop": 0.6685934489402697,
"repo_name": "szymach/talesweaver",
"id": "15fafa70366373e5e479fe51a0673fd19a8e72d5",
"size": "5... |
<!DOCTYPE html>
<html ng-app="TreeViewApp" id="ng-app">
<head>
<meta charset="utf-8">
<style>
.node {
cursor: pointer;
}
.node circle {
fill: #fff;
stroke: steelblue;
stroke-width: 3px;
}
.node text {
font: 12px sans-serif;
}
.link {
fill: none;
stroke: #ccc;
stroke-wid... | {
"content_hash": "1df34ec78daa630a8968ed5cb39606d9",
"timestamp": "",
"source": "github",
"line_count": 469,
"max_line_length": 197,
"avg_line_length": 31.671641791044777,
"alnum_prop": 0.5512319913827926,
"repo_name": "gadiga/capture-tool",
"id": "942c3c7c5cba9853aada6dbb82d20ab34f03c9ac",
"size":... |
package org.kaaproject.kaa.server.common.nosql.mongo.dao;
import org.kaaproject.kaa.common.dto.NotificationDto;
import org.kaaproject.kaa.server.common.dao.impl.NotificationDao;
import org.kaaproject.kaa.server.common.nosql.mongo.dao.model.MongoNotification;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
i... | {
"content_hash": "5833b2e1453dd0a529e743da66e18bf7",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 155,
"avg_line_length": 43.901408450704224,
"alnum_prop": 0.7500802053256336,
"repo_name": "vzhukovskyi/kaa",
"id": "f4fd51347f49e630d724472063b6cbd5034e1982",
"size": "371... |
a web API for [Assignment 1][assignment1]
- __Lead Maintainer:__ [Kristina Matuleviciute][Lead]
## Overview
Assignment 1 -
Simple app with [ReactJS] - for client side, [Webpack] for module bundle and [Expressjs] for server side.
3 views: Home page, Table with friends' contacts information and add, delete function... | {
"content_hash": "9a166f016128ddeb72260c4955e738c7",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 197,
"avg_line_length": 25.419354838709676,
"alnum_prop": 0.7423857868020305,
"repo_name": "KristinaMatuleviciute/reactapp_restapi",
"id": "ee846f3c9f67b2558495ed1a87c3339054... |
define([ "jquery", "lib/mixins/events" ], function($, asEventEmitter) {
"use strict";
var LISTENER = "#js-card-holder";
function Stack(args) {
var defaults = {
el: ".js-stack",
list: ".js-card"
};
this.config = $.extend({}, defaults, args);
this.$el = $(this.config.el);
this.... | {
"content_hash": "a0e6c3181068901e218826b883c09f5d",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 82,
"avg_line_length": 21.870229007633586,
"alnum_prop": 0.5542757417102967,
"repo_name": "lonelyplanet/rizzo",
"id": "75952c20995e214ccacaf0639ae116a748b6a977",
"size": "... |
RELEASE HISTORY
===============
0.0.43 (8/19/2025)
------------------
Release Notes
~~~~~~~~~~~~~
This release makes the isolated jvm compile strategy viable out-of-the-box for use with large
dependency graphs. Without it, `test.junit` and `run.jvm` performance slows down significantly
due to the large number of loo... | {
"content_hash": "711e363b4023d9fba702224fe2c28663",
"timestamp": "",
"source": "github",
"line_count": 3576,
"max_line_length": 136,
"avg_line_length": 36.85682326621924,
"alnum_prop": 0.6957738998482549,
"repo_name": "sid-kap/pants",
"id": "ef13b99a4f6ac22819a81b17492e0708449abac8",
"size": "1318... |
<?php
/** Zend_Pdf_Action */
// require_once 'Zend/Pdf/Action.php';
/**
* PDF 'Launch an application, usually to open a file' action
*
* @package Zend_Pdf
* @subpackage Actions
* @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/lic... | {
"content_hash": "29cdd0bea422d616e476d646262f940b",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 87,
"avg_line_length": 21.842105263157894,
"alnum_prop": 0.6746987951807228,
"repo_name": "Chatventure/zf1",
"id": "4a39521c901456c439cbe1bf962d025298c2ce01",
"size": "1173... |
package org.mestor.entities.index_test;
import javax.persistence.Entity;
import org.eclipse.persistence.annotations.Index;
@Entity
public class ThreeGoodFieldLevelIndexes extends EntityBase {
@Index(name = "field_index1")
private String column1;
@Index(name = "field_index2")
private String column2;
@Index(na... | {
"content_hash": "ec63423b9814c81c81c5d103c484de1e",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 60,
"avg_line_length": 19.363636363636363,
"alnum_prop": 0.7605633802816901,
"repo_name": "alexradzin/Mestor",
"id": "f7bd88c17983899210b77cb40a8dfcc8025fcda5",
"size": "42... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/sub_dr_template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="... | {
"content_hash": "d8d3e2e5a0ac615e800b27ab578b395f",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 328,
"avg_line_length": 51.553719008264466,
"alnum_prop": 0.6538153254248157,
"repo_name": "tommeagher/pythonGIJC15",
"id": "f685dad47c76a3f19dd67f12863df19e6c4342f7",
"si... |
using System;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using Put.io.Core.Common;
using Put.io.Core.Extensions;
using Put.io.Core.InvokeSynchronising;
using Put.io.Core.Models;
using System.Linq;
using Put.io.Core.Progres... | {
"content_hash": "2e020af1e985f564984a563c6fd0c813",
"timestamp": "",
"source": "github",
"line_count": 212,
"max_line_length": 158,
"avg_line_length": 28.67924528301887,
"alnum_prop": 0.4820723684210526,
"repo_name": "Workshop2/Put.io.Wp",
"id": "aa81a111c13a0d54117562d366acd18269b9ae87",
"size": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.