text stringlengths 2 1.04M | meta dict |
|---|---|
// This file defines the contexts used during XLA compilation.
#ifndef TENSORFLOW_COMPILER_TF2XLA_XLA_CONTEXT_H_
#define TENSORFLOW_COMPILER_TF2XLA_XLA_CONTEXT_H_
#include <vector>
#include "tensorflow/compiler/tf2xla/xla_expression.h"
#include "tensorflow/compiler/tf2xla/xla_helpers.h"
#include "tensorflow/compil... | {
"content_hash": "030daf8c82bcb3facc5cfe02d6c13630",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 80,
"avg_line_length": 37.94642857142857,
"alnum_prop": 0.7374117647058823,
"repo_name": "frreiss/tensorflow-fred",
"id": "b22315a6105a5d6b906e013b1e71f43acb18f357",
"size... |
<?php
namespace Saxulum\PhpDocGenerator;
/**
* @link http://www.phpdoc.org/docs/latest/references/phpdoc/tags/since.html
*/
class SinceRow extends AbstractRow
{
/**
* @param string $version
* @param string|null $description
*/
public function __construct($version, $description = null)
... | {
"content_hash": "639491fbd7d29ee0a1b5419fa3d047e2",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 76,
"avg_line_length": 18.85185185185185,
"alnum_prop": 0.5834970530451866,
"repo_name": "saxulum/saxulum-phpdoc-generator",
"id": "e3d18ce05e2f54d2c8299d7cc0a18eb73d4f5d12",... |
import React, { Component } from 'react'
import { Button, Confirm } from 'shengnian-ui-react'
class ConfirmExampleConfirm extends Component {
state = { open: false }
show = () => this.setState({ open: true })
handleConfirm = () => this.setState({ open: false })
handleCancel = () => this.setState({ open: false... | {
"content_hash": "9394fb14309faf29698bab1bfbcb3530",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 54,
"avg_line_length": 24.68,
"alnum_prop": 0.6029173419773096,
"repo_name": "shengnian/shengnian-ui-react",
"id": "5817bbd34f224eb0b5c730ae2d8ec67f6c545f52",
"size": "617"... |
using namespace std;
namespace Wrench
{
class WidgetNode : public ModelNode
{
protected:
function<void(WidgetNode*, Node*, const Vector2 &mousePos)> onClickEvent; //this, caller
function<void(WidgetNode*, Node*, const Vector2 &mousePos)> onHoverEvent; //this, caller
public:
WidgetNode(Scene *nScene, const V... | {
"content_hash": "425c435f5256449172a74466c0d69bed",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 112,
"avg_line_length": 32.72727272727273,
"alnum_prop": 0.7472222222222222,
"repo_name": "SoundAxis/Wrench.2014",
"id": "1e1aeacca18618a7997fd0d6fe7125d3a12b6294",
"size":... |
title: aeg14
type: products
image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png
heading: g14
description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj
main:
heading: Foo Bar BAz
description: |-
***This is i a thing***kjh hjk kj
# Blah Blah
## Blah
### Baah
image1:
... | {
"content_hash": "9f1f9445d983619e1e8bb6ee1df8e18f",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 61,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.6656716417910448,
"repo_name": "pblack/kaldi-hugo-cms-template",
"id": "c94f24c14314b4c350d43b7b7b47ba156436ad1f",
... |
import { IBuffer, IBufferSet } from 'common/buffer/Types';
import { IAttributeData } from 'common/Types';
import { Buffer } from 'common/buffer/Buffer';
import { EventEmitter, IEvent } from 'common/EventEmitter';
import { IOptionsService, IBufferService } from 'common/services/Services';
import { Disposable } from 'c... | {
"content_hash": "bdb5cfbaeb27cad905005e883993532a",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 148,
"avg_line_length": 31.045801526717558,
"alnum_prop": 0.6796164248832063,
"repo_name": "xtermjs/xterm.js",
"id": "da902afffbc815b31a27282955bb4042b03be1f9",
"size": "4... |
<?php
/**
* @namespace
*/
namespace Zend\Validate\Barcode;
/**
* @see Zend_Validate_Barcode_AdapterAbstract
*/
require_once 'Zend/Validate/Barcode/AdapterAbstract.php';
/**
* @category Zend
* @package Zend_Validate
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
*... | {
"content_hash": "a41bd316b49f9f2e6151540810bed203",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 87,
"avg_line_length": 19.102564102564102,
"alnum_prop": 0.6174496644295302,
"repo_name": "FbN/Zend-Framework-Namespaced-",
"id": "120a4a0d02e39c8cc7fe865c87e33780129859a8",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "4c05efd681b2aa8fa56ab6e34f15f218",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "703fb64c4da7dc09943f08ccdfd217078449858b",
"size": "176... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache... | {
"content_hash": "1ba1f4b682a25a10eccb4de6b1d6c1c5",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 204,
"avg_line_length": 45.827586206896555,
"alnum_prop": 0.7283671933784801,
"repo_name": "kidaa/maven-enforcer",
"id": "373776899bb109539374e6dd03cca14c39627d82",
"size":... |
import sahara.plugins.mapr.versions.version_handler_factory as vhf
import sahara.plugins.provisioning as p
class MapRPlugin(p.ProvisioningPluginBase):
title = 'MapR Hadoop Distribution'
description = ('The MapR Distribution provides a full Hadoop stack that'
' includes the MapR File System ... | {
"content_hash": "f75acd595f7d17843b0ed792d3625ab1",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 78,
"avg_line_length": 38.31506849315068,
"alnum_prop": 0.6875223453700393,
"repo_name": "citrix-openstack-build/sahara",
"id": "4f3216f2a5889f368cd7638be02dc67adcd29da0",
... |
package com.github.anba.es6draft.ast;
/**
* Extension: Array and Generator Comprehension
*/
public abstract class ComprehensionQualifier extends AstNode {
protected ComprehensionQualifier(long beginPosition, long endPosition) {
super(beginPosition, endPosition);
}
}
| {
"content_hash": "97ea1bb2ff24369e9647b2f24adf3548",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 76,
"avg_line_length": 26.09090909090909,
"alnum_prop": 0.7560975609756098,
"repo_name": "jugglinmike/es6draft",
"id": "e72aaebff900c099f114bc24ecd9af9f0309c6bb",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/home_background">
<Toolbar
... | {
"content_hash": "e2aac86ed749364aeeb2cefc48d37f56",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 74,
"avg_line_length": 38.333333333333336,
"alnum_prop": 0.6585507246376812,
"repo_name": "ivanTrogrlic/LeagueStats",
"id": "46fd70a2f5571ddbb02a78f756c9c0c0a5d5f61a",
"siz... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_45) on Fri Jan 31 11:37:38 CET 2014 -->
<title>com.jogamp.opengl.math.geom (JOGL, NativeWindow and NEWT APIs)</title>
<meta name="date"... | {
"content_hash": "49ebc75e26cde04bd5349a8ee8ac860f",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 146,
"avg_line_length": 49,
"alnum_prop": 0.683265306122449,
"repo_name": "domiworks/TDA-Landscape-Generator",
"id": "ca78d4f232123a2517857787d068b856c6ffa47f",
"size": "12... |
import {
OAuth2Client,
JWT,
Compute,
UserRefreshClient,
} from 'google-auth-library';
import {
GoogleConfigurable,
createAPIRequest,
MethodOptions,
GlobalOptions,
BodyResponseCallback,
APIRequestContext,
} from 'googleapis-common';
import {GaxiosPromise} from 'gaxios';
// tslint:disable: no-any
/... | {
"content_hash": "68ca7570a56820425c904d547fe1f611",
"timestamp": "",
"source": "github",
"line_count": 1057,
"max_line_length": 199,
"avg_line_length": 33.253547776726585,
"alnum_prop": 0.6317960681669464,
"repo_name": "stems/google-api-nodejs-client",
"id": "b5b6a58f19ffb65b5bc06b13d0d2145e29296f6f... |
using FoxySharp.Api;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.PlatformAbstractions;
using System;
namespace FoxySharp.Samples.Client
{
public class Program
{
public static void Main(string[] args)
{
// Load config
var configBuilder = new Conf... | {
"content_hash": "487e5834b9bcc641ed74681720a31466",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 120,
"avg_line_length": 35.40816326530612,
"alnum_prop": 0.6040345821325649,
"repo_name": "berhir/FoxySharp",
"id": "908acede338154e6b1a3507b45f967e07bfd9418",
"size": "173... |
package com.amazonaws.services.elastictranscoder.model.transform;
import java.util.Map;
import java.util.Map.Entry;
import com.amazonaws.services.elastictranscoder.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.core.JsonToken;
i... | {
"content_hash": "01676aadcdff58263899774ca1502a17",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 73,
"avg_line_length": 35.309859154929576,
"alnum_prop": 0.6102911846828879,
"repo_name": "trasa/aws-sdk-java",
"id": "812aa01c09728a3baddee63c72c48710642fb929",
"size": "3... |
import * as React from "react";
import { TodoEntry } from "../TodoEntry";
import { TodoFooter } from "../TodoFooter";
import { TodoOverview } from "../TodoOverview";
export class TodoApp extends React.Component {
render() {
return (
<div>
<header className="header">
<h1>todos</h1>
... | {
"content_hash": "596e509f68489ae820f195a57a328278",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 47,
"avg_line_length": 19.636363636363637,
"alnum_prop": 0.5509259259259259,
"repo_name": "tdreyno/satelite",
"id": "d0df2cba31c9a4cedc4b8024d20cf7ced8b367f3",
"size": "432... |
namespace sync_file_system {
namespace drive_backend {
// This class wraps a part of RemoteChangeProcessor class to support weak
// pointer. Each method wraps corresponding name method of
// RemoteChangeProcessor. See comments in remote_change_processor.h
// for details.
class RemoteChangeProcessorWrapper
: publ... | {
"content_hash": "db83ce4b4c900afa11f8d474dcc39ac5",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 91,
"avg_line_length": 38.51162790697674,
"alnum_prop": 0.7077294685990339,
"repo_name": "scheib/chromium",
"id": "3e9f726a628cd396658da0c52c8af1876049427a",
"size": "2173"... |
import { HashTable, Helpers } from "./helpers";
import { ConditionsParser } from "./conditionsParser";
import { FunctionFactory } from "./functionsfactory";
import { ProcessValue } from "./conditionProcessValue";
export class Operand {
constructor(public origionalValue: any) {}
public getValue(processValue: Proces... | {
"content_hash": "69eee1f1729f94a89289f5563d13ce30",
"timestamp": "",
"source": "github",
"line_count": 484,
"max_line_length": 80,
"avg_line_length": 30.65082644628099,
"alnum_prop": 0.6038422649140546,
"repo_name": "dmitrykurmanov/surveyjs",
"id": "0794999cf83364c58fb2997e52f57ad53e8f8a5a",
"size... |
package de.adorsys.cse.example.client.crypto.bean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel("Request to decrypt a secret transferred by RSA-encrypted JWT-token")
public class JWEDecryptRequest {
private String encryptedJWT;
private String privateKey;
... | {
"content_hash": "6f82c74f2d9941a120b8ecf199bee69b",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 79,
"avg_line_length": 28.178571428571427,
"alnum_prop": 0.7249683143219265,
"repo_name": "adorsys/secure-key-storage",
"id": "0cf4cef30d9188590919b4863c42423a57e9f185",
"s... |
require "test_helper"
require "gds_api/account_api"
require "gds_api/test_helpers/account_api"
describe GdsApi::AccountApi do
include GdsApi::TestHelpers::AccountApi
let(:api_client) { GdsApi::AccountApi.new(Plek.find("account-api")) }
let(:session_id) { "session-id" }
let(:new_session_id) { "new-session-id" ... | {
"content_hash": "7dd5c47fbc767fc6d0cf96b9743a47da",
"timestamp": "",
"source": "github",
"line_count": 235,
"max_line_length": 199,
"avg_line_length": 44.05106382978723,
"alnum_prop": 0.6856646058732612,
"repo_name": "alphagov/gds-api-adapters",
"id": "59d56b8f08824a62ba898724abc323c122272fe3",
"s... |
ROOT_DIR=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
VERSION = `cat $(ROOT_DIR)/VERSION`
ARCHIVE_NAME = '/tmp/retailcrm-'$(VERSION)'.ocmod.zip'
.PHONY: test
svn_clone:
mkdir /tmp/svn_plugin_dir
svn co $(SVNREPOURL) /tmp/svn_plugin_dir --username $(USERNAME) --password $(PASSWORD) --no-auth-cache
svn_... | {
"content_hash": "08d7a48009520efc5a7bb846d227f4d8",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 137,
"avg_line_length": 34.6,
"alnum_prop": 0.684393063583815,
"repo_name": "retailcrm/woocommerce-module",
"id": "e3a8fede1088e5689e9b698603c3afb614e5e5ad",
"size": "1730"... |
/* */
System.register(["aurelia-metadata", "aurelia-loader", "aurelia-path"], function (_export) {
"use strict";
var Origin, Loader, join, _prototypeProperties, _inherits, sys, DefaultLoader;
function ensureOriginOnExports(executed, name) {
var target = executed,
key,
exportedValue;
i... | {
"content_hash": "f0ca1dcd348dc3f7b0fe3f62043a7bda",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 110,
"avg_line_length": 29.958904109589042,
"alnum_prop": 0.522633744855967,
"repo_name": "Maidan-hackaton/ua-tenders-aurelia",
"id": "7e8ef6e31c934c4eeb7e89fec7a74b5d1c8584... |
module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jasmine: {
unit: {
src: 'public/js/**/*.js',
options: {
specs: [
'test/**/*.test.js'
],
vendor: [
'public/vendor/angular/angular.js',
'public/vendor/angular-mocks/angular-moc... | {
"content_hash": "139b64f5878425cc3d7b564c101c949e",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 52,
"avg_line_length": 20.333333333333332,
"alnum_prop": 0.5840163934426229,
"repo_name": "cmartin417/ng-jumpstart",
"id": "a5cb0920a038220a19e1281d18bbfec8e9818199",
"size... |
class DropCoronavirusLiveStreams < ActiveRecord::Migration[6.0]
def change
drop_table :coronavirus_live_streams do |t|
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "url", null: false
t.string "formatted_stream_date"
end
end
end
| {
"content_hash": "a714334d0e4414465663404a3cd2e081",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 63,
"avg_line_length": 30.2,
"alnum_prop": 0.6788079470198676,
"repo_name": "alphagov/collections-publisher",
"id": "f389711828b607e92faa0eef0bc214704f8b3892",
"size": "302... |
layout: post
date: 2015-11-27
title: "Camille La Vie Beaded Mesh Two-Tone Dress Sleeveless Floor-Length Mermaid/Trumpet"
category: Camille La Vie
tags: [Camille La Vie,Mermaid/Trumpet,Spaghetti Straps,Floor-Length,Sleeveless]
---
### Camille La Vie Beaded Mesh Two-Tone Dress
Just **$279.99**
### Sleeveless Floor-Leng... | {
"content_hash": "32cfb1d4c19b5facf3a4c6174d0137bc",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 282,
"avg_line_length": 97.35714285714286,
"alnum_prop": 0.7351430667644901,
"repo_name": "HOLEIN/HOLEIN.github.io",
"id": "7a714faf1774f6d00daa209332c1f8094ed3ddf2",
"size... |
* `sudo apt-get install nodejs` - developed with version 6.11.0, npm version 3.10.10
* cd into repo and `npm install`
### develop
* `npm start`
### production build
* `npm run dist`
| {
"content_hash": "2e3ce26c9eb276ad2c82b01682b6e3a4",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 84,
"avg_line_length": 23,
"alnum_prop": 0.6793478260869565,
"repo_name": "adambreznicky/jerryshotrods",
"id": "4f6c75401627688b344fe4d4754d1443f7b1a365",
"size": "211",
"... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ar" version="2.0">
<defauEPCodec>UTF-8</defauEPCodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About EuphoricCoin</source>
<translation>عن EuphoricCoin</translation>
... | {
"content_hash": "0b3ab24f4a875aea0d677df5c8a54164",
"timestamp": "",
"source": "github",
"line_count": 2917,
"max_line_length": 395,
"avg_line_length": 33.52108330476517,
"alnum_prop": 0.5887340076292941,
"repo_name": "EuphoricCoin/Euphoric-Coin",
"id": "a03c414435171e06ec3298d9efd40c954b2a59b8",
... |
package nl.cwi.pr.runtime;
import java.util.concurrent.atomic.AtomicInteger;
public class Context {
//
// FIELDS
//
private final AtomicInteger[] integers;
//
// CONSTRUCTORS
//
public Context(final int nPorts) {
this.integers = new AtomicInteger[(nPorts / 32) + 1];
for (int i = 0; i... | {
"content_hash": "ee29edb804cfe27c8caffea9d37ae7ae",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 59,
"avg_line_length": 22.272727272727273,
"alnum_prop": 0.6428571428571429,
"repo_name": "kasperdokter/Reo",
"id": "ec3f803a5fc96f0486580ee4b9fc58394fb6bfe7",
"size": "980... |
#include <aws/opensearch/model/DescribePackagesResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <utility>
using namespace Aws::OpenSearchService::Model;
using namespa... | {
"content_hash": "40d9f113c0edbb67202b44915a845a11",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 138,
"avg_line_length": 27.41304347826087,
"alnum_prop": 0.7755749405233942,
"repo_name": "cedral/aws-sdk-cpp",
"id": "0fde3b8b4de5eb1310581b682cb6db1a10c3a54f",
"size": "1... |
<?php
/**
* Custom Variable Edit Form
*
* @category Mage
* @package Mage_Adminhtml
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_Adminhtml_Block_System_Variable_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
{
/**
* Getter
*
* @return Mage_Core_Model_Var... | {
"content_hash": "11da9c11ab8ab67e66b037da18a0ed92",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 93,
"avg_line_length": 34.276595744680854,
"alnum_prop": 0.5012414649286158,
"repo_name": "5452/durex",
"id": "780c46695efddfe6fd9a62a2bbc9a158b3a72647",
"size": "4180",
... |
class CreateCities < ActiveRecord::Migration
def change
create_table :cities do |t|
t.string :name
t.string :code
t.string :address
t.integer :country_id
t.timestamps
end
City.create name: 'city1', code: 'city1', address: 'city1_address', country_id: 1
City.create nam... | {
"content_hash": "c05dada1b6bbe9c46a771b5332168b1c",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 85,
"avg_line_length": 28.357142857142858,
"alnum_prop": 0.6397984886649875,
"repo_name": "frsnic/active-hash-example",
"id": "86a368e3beb417da9aefde4b6d67a73497b18132",
"s... |
package org.estatio.module.lease.integtests.amendments;
import java.math.BigDecimal;
import java.util.Comparator;
import java.util.List;
import java.util.stream.Collectors;
import javax.inject.Inject;
import org.assertj.core.api.Assertions;
import org.joda.time.LocalDate;
import org.junit.Before;
import org.junit.T... | {
"content_hash": "6dfe0b4209a1f2e75950f51240de3b83",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 154,
"avg_line_length": 74.62053571428571,
"alnum_prop": 0.7776847143284475,
"repo_name": "estatio/estatio",
"id": "04f7e27dd3057c2bbc770610a6cc17db0831f245",
"size": "173... |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>NativeRuntimeLoader</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="... | {
"content_hash": "1197f2031a882238cea6ed8973cfe48e",
"timestamp": "",
"source": "github",
"line_count": 259,
"max_line_length": 391,
"avg_line_length": 33.027027027027025,
"alnum_prop": 0.6361935936404022,
"repo_name": "robolectric/robolectric.github.io",
"id": "78116e0da967dcec1055c1f9e738e7f3921b11... |
<?php
use Core\BaseException;
$DS = DIRECTORY_SEPARATOR;
define('ROOT', __DIR__);
if (!isset($loader)) {
$loader = require_once ROOT . $DS . 'vendor' . $DS . 'autoload.php';
}
if (isset($setupErrorHandler)) {
set_error_handler(
function ($code, $string, $errfile, $errline) {
throw new Ba... | {
"content_hash": "63afd29309ca0e6941390ab39533b999",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 75,
"avg_line_length": 22.62162162162162,
"alnum_prop": 0.6105137395459976,
"repo_name": "kryoz/sociochat",
"id": "f878ced092231abf40340c545796c365818335a5",
"size": "837",... |
import sys, os
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
# -- General configurat... | {
"content_hash": "062984c6834ee34d5f0b7f7624eb2c01",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 80,
"avg_line_length": 32.39737991266376,
"alnum_prop": 0.7044076021027093,
"repo_name": "rchouinard/phpass-docs",
"id": "53c2cd70cd504b3568df0808dc13128b61c3e760",
"size"... |
CREATE TABLE account (
id BIGSERIAL NOT NULL,
version BIGINT,
created TIMESTAMP WITH TIME ZONE,
modified TIMESTAMP WITH TIME ZONE,
username VARCHAR(255) NOT NULL,
password VARCHAR(255) NOT NULL,
email VARCHAR(255) NOT NULL,
CONSTRAINT pk_account PRIMARY KEY (id),
CONSTRAINT unique_username UNIQUE(use... | {
"content_hash": "c732fcca93759dc1195cb3fdbb67ed9b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 46,
"avg_line_length": 28.46153846153846,
"alnum_prop": 0.754054054054054,
"repo_name": "frostmonkey/phixyenteering-server",
"id": "beb060446c110aef119af5f5b6d318bbd16d7ffc",... |
Hardware | New Media Development | Graphic and Digital Media | Artevelde University College Ghent
| {
"content_hash": "72e0d3046c15d183ba535ada1c7e242b",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 97,
"avg_line_length": 98,
"alnum_prop": 0.8163265306122449,
"repo_name": "gdmgent-1718-wot/Hardware",
"id": "d76783ffe47a2c7ec8a67367b94e17693f13ec0f",
"size": "109",
"bi... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "5268a5e7b66bd3ad8f3d57560b67ffb3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "115f221436440fd99d33a31d8e52467c53059656",
"size": "179... |
<?php
/* AcmeDemoBundle:Demo:contact.html.twig */
class __TwigTemplate_738a0a3f077155242cb26b9f6b0e42f203a0b34daf346c899b9ce9f786288ce8 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
try {
$this->parent = $t... | {
"content_hash": "89405b673597e21f8d34d7bfcd66a2fc",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 210,
"avg_line_length": 32.22093023255814,
"alnum_prop": 0.5626127751714183,
"repo_name": "orlk/hopitrepo",
"id": "3c4cc1f5b6dd3615ac67cf4e36e1d3cb06322a35",
"size": "2771"... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
... | {
"content_hash": "7b9e4fab35f0eb27de5218b1a09bb409",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 105,
"avg_line_length": 30.63157894736842,
"alnum_prop": 0.5807560137457045,
"repo_name": "miwurster/opentosca-driver-injection",
"id": "05fa1e7ad988c80a3523d8269a7ac2d516694... |
class AddInfoToUsers < ActiveRecord::Migration
def change
add_column :users, :name, :string
add_column :users, :nickname, :string
end
end
| {
"content_hash": "a6a21c344f30f37577011f588b51c8d0",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 46,
"avg_line_length": 25,
"alnum_prop": 0.7133333333333334,
"repo_name": "gde-unicamp/gde",
"id": "77a6459e0c7b9dab957c0e1794c3952acd95ed26",
"size": "150",
"binary": fal... |
/*************************************************************************/
/* script_editor_debugger.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | {
"content_hash": "f90bb7ce4a9c66fdca8e4fd7bb38111c",
"timestamp": "",
"source": "github",
"line_count": 2181,
"max_line_length": 200,
"avg_line_length": 29.261806510774875,
"alnum_prop": 0.6450485741146976,
"repo_name": "RandomShaper/godot",
"id": "e483fde4bcfa3bf71ba00bf368d53c41098e2d30",
"size":... |
module Auto
class AutoJournalParam
attr_reader :auto_journal_type
attr_reader :user
def initialize( auto_journal_type, user = nil )
@auto_journal_type = auto_journal_type.to_i
@user = user
end
end
end
| {
"content_hash": "d756d7d9ce310512929c6e903206f643",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 51,
"avg_line_length": 20.916666666666668,
"alnum_prop": 0.6175298804780877,
"repo_name": "hybitz/hyacc",
"id": "9f4221ab1458b1ad47ccbff3758c382c96af0f9a",
"size": "251",
... |
var GroupsAdapter, Store;
var maxLength = -1;
var lengths = Ember.A([]);
module("unit/adapters/rest_adapter/group_records_for_find_many_test - DS.RESTAdapter#groupRecordsForFindMany", {
setup: function() {
GroupsAdapter = DS.RESTAdapter.extend({
coalesceFindRequests: true,
find: function(store, typ... | {
"content_hash": "604f0e37115469fb7f2907e44a0632fb",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 112,
"avg_line_length": 25.923076923076923,
"alnum_prop": 0.5927299703264095,
"repo_name": "mphasize/data",
"id": "d59b6cb03611e949580962b1a73436f32ae882f8",
"size": "1348"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "f81d51ed25360296359b1aa7e9b38db5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "17cbcb4e140e100f7c280f6aa74f7a27507440bd",
"size": "179... |
package org.apache.jasper.tagplugins.jstl.core;
import org.apache.jasper.compiler.tagplugin.TagPlugin;
import org.apache.jasper.compiler.tagplugin.TagPluginContext;
public final class When implements TagPlugin {
@Override
public void doTag(TagPluginContext ctxt) {
// Get the parent... | {
"content_hash": "3120ec745f34c157ebd849964360bdc8",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 79,
"avg_line_length": 35.054054054054056,
"alnum_prop": 0.6006168080185043,
"repo_name": "pistolove/sourcecode4junit",
"id": "261d5d79a7b35c2eb0e1330f292a204fe40203f1",
"s... |
include(CMakeParseArguments)
include(Analyzers)
get_filename_component(CLANG_TIDY_EXE_HINT "${CMAKE_CXX_COMPILER}" PATH)
find_program(CLANG_TIDY_EXE
NAMES
clang-tidy
clang-tidy-5.0
clang-tidy-4.0
clang-tidy-3.9
clang-tidy-3.8
clang-tidy-3.7
clang-tidy-3.6
... | {
"content_hash": "5cc7a6c33c63b741e7d4b93af2474e71",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 257,
"avg_line_length": 36.92805755395683,
"alnum_prop": 0.6407558932398207,
"repo_name": "ROCmSoftwarePlatform/MIOpen",
"id": "fc3eb75315cb53dc100983cfdb88d5a2213504a3",
... |
FROM colstrom/python
RUN apk-install gcc musl-dev python3-dev \
&& pip install bpython \
&& apk del gcc musl-dev python3-dev \
&& rm -rf /root/.cache
ENTRYPOINT ["bpython"]
| {
"content_hash": "88753f0aab77ff7427e1cb5a22d432b8",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 42,
"avg_line_length": 23.375,
"alnum_prop": 0.6631016042780749,
"repo_name": "colstrom/docker-bpython",
"id": "97c2446e7d4e307540126b1c634ecfeba87eb685",
"size": "187",
"... |
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/root_layout"
android:layout_width="matc... | {
"content_hash": "eb48d7d431bd1cd2478c49d97d532f5f",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 109,
"avg_line_length": 41.31055900621118,
"alnum_prop": 0.6717786798977597,
"repo_name": "RocketChat/Rocket.Chat.Android",
"id": "410119c25f5143751eb2ec4934d9a0c136985f7f",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_92) on Mon May 01 10:01:21 CEST 2017 -->
<title>models</title>
<meta name="date" content="2017-05-01">
<link rel="stylesheet" type="text/css" h... | {
"content_hash": "fda1add925eee9fef4be02203d9cb0bb",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 151,
"avg_line_length": 33.51977401129943,
"alnum_prop": 0.6441934940165178,
"repo_name": "chvrga/outdoor-explorer",
"id": "e2b84d385183834220475fa6e4aca98f3c159aac",
"siz... |
import diff from 'virtual-dom/diff'
import patch from 'virtual-dom/patch'
import refsStack from './refs-stack'
export default function performElementUpdate (component) {
let oldVirtualElement = component.virtualElement
let newVirtualElement = component.render()
refsStack.push(component.refs)
patch(component.el... | {
"content_hash": "95743f016127ebd1a5fc9143985aafb0",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 70,
"avg_line_length": 36.5,
"alnum_prop": 0.8013698630136986,
"repo_name": "smashwilson/etch",
"id": "b90c056da789a072505ee2e91f1f33a497a0cdae",
"size": "438",
"binary":... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "5c66fa375f3b89e65385bb004fb774c9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "767aea4dc81390a3ed54e354bcc35e0752c1f60d",
"size": "180... |
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#pragma once
#include "Stdafx.h"
#include "SchemeHandlerWrapper.h"
#include "Internals/MCefRefPtr.h"
using namespace System;
using namespace Sys... | {
"content_hash": "18288eaa7d5bb7e632685a006d1637f0",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 116,
"avg_line_length": 32.68115942028985,
"alnum_prop": 0.6523281596452328,
"repo_name": "rover886/CefSharp",
"id": "b87174b8aa6d83a1373f164e8009bd3a53097985",
"size": "22... |
FROM balenalib/orange-pi-one-ubuntu:hirsute-run
ENV GO_VERSION 1.17.7
# 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-g... | {
"content_hash": "e0675b309275d15f7de88a03c12e5ad8",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 673,
"avg_line_length": 50.82608695652174,
"alnum_prop": 0.7065868263473054,
"repo_name": "resin-io-library/base-images",
"id": "4d24f5c3b10eb869d3f2e069af8201182e43d56f",
... |
template <typename Obj> class KDNode;
template <typename Obj>
class KdTree{
public:
// KdTree(void):root(nullptr){}
void buildTree(const std::vector<Obj>& v, int depth, const BoundingBox& bounds);
void delete_tree(KDNode<Obj>* node);
void delete_tree(){delete_tree(root);}
bool intersect(ray& r, isect& ... | {
"content_hash": "27ea598b593b6d550499d9f8584623a3",
"timestamp": "",
"source": "github",
"line_count": 449,
"max_line_length": 108,
"avg_line_length": 26.64587973273942,
"alnum_prop": 0.582246740220662,
"repo_name": "mbartling/photonMapper",
"id": "cdb8a2fb505947215d55278a1e59c53687f3cf30",
"size"... |
Management system for bleepr
## Requirements
* Python 2.7
* libjpeg (for Pillow)
## Installation
* `pip install virtualenv`
* `virtualenv venv`
* `. venv/bin/activate`
* `git clone https://github.com:bleepr/bleepr-manage`
* `cd bleepr-manage`
* `pip install -r requirements.txt`
## Running the app
* `python -O ap... | {
"content_hash": "d9cafa8f06782d813a8785f4b2eadcd7",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 58,
"avg_line_length": 20.5,
"alnum_prop": 0.7027439024390244,
"repo_name": "bleepr/bleepr-manage",
"id": "f23bbecbaff9b8350cdb7860cbf1ba6f16940366",
"size": "673",
"bina... |
class Other(object):
def override(self):
print "OTHER override()"
def implicit(self):
print "OTHER implicit()"
def altered(self):
print "OTHER altered()"
class Child(object):
def __init__(self):
self.other = Other()
def implicit(self):
self.other... | {
"content_hash": "f2d8a3e8f4d6a45baf0546961c3bbebc",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 45,
"avg_line_length": 18.05128205128205,
"alnum_prop": 0.5553977272727273,
"repo_name": "arantebillywilson/python-snippets",
"id": "b6f7bcdec8be80fb7901e52a836f22fdf6f675e2"... |
<?php
namespace yiiunit\framework\data;
use yii\data\Sort;
use yii\web\UrlManager;
use yiiunit\TestCase;
/**
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*
* @group data
*/
class SortTest extends TestCase
{
protected function setUp()
{
parent::setUp();
$this->mockApplication()... | {
"content_hash": "7de2b4092aba6d1723997d1b87b21880",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 152,
"avg_line_length": 30.07773851590106,
"alnum_prop": 0.4473684210526316,
"repo_name": "wbraganca/yii2",
"id": "426b6b5caccda5d26266f5097712c229553cba6b",
"size": "8656... |
//$URL$
//$Id$
package de.dev.eth0.bitcointrader.ui;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.PreferenceScreen;
import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.app.SherlockPreferen... | {
"content_hash": "f6d3fa401a86995385041466d6ed36ce",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 120,
"avg_line_length": 40.43157894736842,
"alnum_prop": 0.7292371778182765,
"repo_name": "deveth0/bitcointrader",
"id": "4e9893958855526fd66c9a505d6f76e5d6b96c3a",
"size":... |
One of the common implementation patterns is to expose microservices via single entry point called API Gateway or Client Facade.
The responsiblity of that component is to accept calls from external consumers, enforce security rules, perform authentication and authorization
and when request is cleared it can call on... | {
"content_hash": "3935ffee40ffed4fa3e07b6e18891d62",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 144,
"avg_line_length": 68.1304347826087,
"alnum_prop": 0.7887683471601787,
"repo_name": "pip-services/pip-services-facade-node",
"id": "dbd2330a63d08443f5b1579a8863206104360... |
from __future__ import absolute_import, unicode_literals
from django.contrib import admin
from physical.forms.environment_group import EnvironmentGroupForm
class EnvironmentGroupAdmin(admin.ModelAdmin):
form = EnvironmentGroupForm
save_on_top = True
search_fields = ('name',)
list_display = ('name', 'g... | {
"content_hash": "de48c85b5429f3404a75c97a62c64a9a",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 72,
"avg_line_length": 35.4,
"alnum_prop": 0.71939736346516,
"repo_name": "globocom/database-as-a-service",
"id": "70b968b2697737c24a1cef0cceeead60b5bfcf79",
"size": "555",... |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
function run_test() {
// If we can't get the profiler component then assume gecko was
// built without it an... | {
"content_hash": "554375c7bc72e6d3c390ac734f2eac93",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 80,
"avg_line_length": 29.24,
"alnum_prop": 0.6867305061559508,
"repo_name": "sergecodd/FireFox-OS",
"id": "b04b130ff16bf102dbcef579b3059a2d62d98e1a",
"size": "731",
"bin... |
using System.ComponentModel;
using System.Diagnostics.Contracts;
using System.Threading.Tasks;
namespace LordJZ.ObjectManagement.Contracts
{
[ContractClassFor(typeof(IObjectSaver))]
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
internal abstract class IObjectSaverContract : IObjectSaver
... | {
"content_hash": "a984722c684c2f8282173cbe0095686e",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 78,
"avg_line_length": 35.285714285714285,
"alnum_prop": 0.6633892423366108,
"repo_name": "LordJZ/LordJZ",
"id": "a8e4ee6a287ea9d6154ccfd28e356bb38d38e395",
"size": "1731",... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Ccoin</source>
<translation>À propos de Ccoin</translation>
</me... | {
"content_hash": "6f84e5cf9641aba7aff8b1f43580aa92",
"timestamp": "",
"source": "github",
"line_count": 2938,
"max_line_length": 448,
"avg_line_length": 41.313818924438394,
"alnum_prop": 0.6372960949085517,
"repo_name": "thecoinproject/ccointestbed",
"id": "c021913ed05216953be77ed09763770c0d714404",
... |
(function( window, undefined ) {
// Use the correct document accordingly with window argument (sandbox)
var document = window.document,
navigator = window.navigator,
location = window.location;
var jQuery = (function() {
// Define a local copy of jQuery
var jQuery = function( selector, context ) {
// The jQuery ... | {
"content_hash": "81adc4512d8651d006ac0ec867405d8a",
"timestamp": "",
"source": "github",
"line_count": 9393,
"max_line_length": 193,
"avg_line_length": 26.885659533695303,
"alnum_prop": 0.6055944277472212,
"repo_name": "BlueDress/School",
"id": "2d2eaeff09b4b48e03a742f4911bf335fb5f42e9",
"size": "... |
ActiveRecord::Schema.define(version: 20140810081136) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
create_table "admins", force: true do |t|
t.string "email", default: "", null: false
t.string "encrypted_password", de... | {
"content_hash": "69eea95e527132dbabd7c9cd48c36e45",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 121,
"avg_line_length": 32.97402597402598,
"alnum_prop": 0.6419850334777472,
"repo_name": "jwako/docosumo",
"id": "12c91cc6924a9f5cb1f3adafa5b72a4fb967ad0a",
"size": "3280"... |
using autofill::AutofillAgent;
using autofill::PasswordAutofillAgent;
using autofill::PasswordGenerationAgent;
using base::ASCIIToUTF16;
using base::UserMetricsAction;
using blink::WebCache;
using blink::WebConsoleMessage;
using blink::WebDocument;
using blink::WebFrame;
using blink::WebLocalFrame;
using blink::WebPlug... | {
"content_hash": "44826864fd9d970ebbc2a563e5d51756",
"timestamp": "",
"source": "github",
"line_count": 1529,
"max_line_length": 80,
"avg_line_length": 39.07194244604317,
"alnum_prop": 0.7080229658023802,
"repo_name": "chromium/chromium",
"id": "abbcd33bbf7dfc29f2563508e368233efda86b24",
"size": "7... |
package replication
import (
"context"
"fmt"
"testing"
"time"
repctlmodel "github.com/goharbor/harbor/src/controller/replication/model"
"github.com/goharbor/harbor/src/jobservice/job"
"github.com/goharbor/harbor/src/lib"
"github.com/goharbor/harbor/src/pkg/task"
"github.com/goharbor/harbor/src/pkg/task/dao"
... | {
"content_hash": "73bcb017365bf5ff8053bd4d0d83ad20",
"timestamp": "",
"source": "github",
"line_count": 228,
"max_line_length": 116,
"avg_line_length": 33.04385964912281,
"alnum_prop": 0.6971064507565702,
"repo_name": "reasonerjt/harbor",
"id": "bd90e310fbd8d2b539d61bbc6d18d9d0a7b1f2da",
"size": "8... |
package com.opengamma.id;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertNotEquals;
import static org.testng.Assert.assertNotSame;
import static org.testng.Assert.assertNull;
import static org.testng.Assert.assertSame;
import static org... | {
"content_hash": "45fed2fced9bc3668f6f134d7eca1829",
"timestamp": "",
"source": "github",
"line_count": 719,
"max_line_length": 108,
"avg_line_length": 31.261474269819193,
"alnum_prop": 0.6440806157405348,
"repo_name": "McLeodMoores/starling",
"id": "d6e335969a363789d39ea340be67a097f50b58bd",
"size... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6708d3ff94861cc922fb224da05b0f17",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "912c9f30f36a7e55a41603fe988ca165f60167a2",
"size": "219... |
package org.springframework.boot.autoconfigure.template;
import java.util.Collection;
import java.util.Collections;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.springframework.context.ApplicationContext;
import org.springframework.core.... | {
"content_hash": "763a5c52c883f82fb0a527a8fa929b94",
"timestamp": "",
"source": "github",
"line_count": 191,
"max_line_length": 82,
"avg_line_length": 35.361256544502616,
"alnum_prop": 0.7919751258513473,
"repo_name": "hello2009chen/spring-boot",
"id": "03a6f874330a9bf9f1880e9c0583608aaf59ec6c",
"s... |
<?xml version="1.0" encoding="UTF-8"?>
<inspections version="1.0">
<option name="myName" value="CBL-Custom" />
<option name="myLocal" value="true" />
<inspection_tool class="AccessToNonThreadSafeStaticFieldFromInstance" enabled="true" level="WARNING" enabled_by_default="true">
<option name="nonThreadSafeClass... | {
"content_hash": "4257d4a6e0c843932dfa941f3e8f6e48",
"timestamp": "",
"source": "github",
"line_count": 589,
"max_line_length": 229,
"avg_line_length": 93.73005093378607,
"alnum_prop": 0.7599760899885885,
"repo_name": "gotmyjobs/couchbase-lite-android",
"id": "5d319b7adfaf21a630af6fe8af647a238580a2b8... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache... | {
"content_hash": "3c353a6ce9f939ba3379814f0fee4f88",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 98,
"avg_line_length": 46.33898305084746,
"alnum_prop": 0.6982443306510607,
"repo_name": "adamrduffy/trinidad-1.0.x",
"id": "a81292b41828405590fdc410401d5b471439a4ba",
"siz... |
module Gitlab
module ImportExport
module JSON
class StreamingSerializer
include Gitlab::ImportExport::CommandLineUtil
BATCH_SIZE = 100
SMALLER_BATCH_SIZE = 2
def self.batch_size(exportable)
if Feature.enabled?(:export_reduce_relation_batch_size, exportable)
... | {
"content_hash": "716c384130b6115c263256b3955a7fa0",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 105,
"avg_line_length": 31.646551724137932,
"alnum_prop": 0.597657314083356,
"repo_name": "mmkassem/gitlabhq",
"id": "05b7679e0ff4222afe60c822c115066605ff2c1f",
"size": "3... |
<!DOCTYPE html >
<html>
<head>
<title>DeprecatedPrettyMethods - Scalactic 3.0.0 - org.scalactic.DeprecatedPrettyMethods</title>
<meta name="description" content="DeprecatedPrettyMethods - Scalactic 3.0.0 - org.scalactic.DeprecatedPrettyMethods" />
<meta name="keywords" content="Dep... | {
"content_hash": "374670db34e9353c12c2ee644435f236",
"timestamp": "",
"source": "github",
"line_count": 596,
"max_line_length": 514,
"avg_line_length": 54.401006711409394,
"alnum_prop": 0.6104925515837523,
"repo_name": "scalatest/scalactic-website",
"id": "c64b9768758a3c31152bdb8f5b1ec0ff4c404a59",
... |
<?xml version='1.0' encoding='UTF-8'?>
<!-- edited with XMLSpy v2012 sp1 (x64) (http://www.altova.com) by Peter Backes (Wireless Generation) -->
<!--Sample XML file generated by XMLSpy v2012 sp1 (http://www.altova.com) -->
<InterchangeStaffAssociation xsi:schemaLocation='http://ed-fi.org/0100 ../../../../../../edfi-sch... | {
"content_hash": "374ec31460d15e9b08a0eaa29e852c13",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 254,
"avg_line_length": 34.211009174311926,
"alnum_prop": 0.7235183695360686,
"repo_name": "inbloom/secure-data-service",
"id": "4f6668d66fb06d8a9360118e8dffde54f0495407",
... |
package com.sem4ikt.uni.recipefinderchatbot.presenter;
import com.sem4ikt.uni.recipefinderchatbot.model.MessageModel;
import com.sem4ikt.uni.recipefinderchatbot.view.IChatListAdapterView;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;... | {
"content_hash": "583e5574d90d2a0d19f6681f10150ce3",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 83,
"avg_line_length": 26.154929577464788,
"alnum_prop": 0.7032848680667744,
"repo_name": "mat0pad/SemesterProjekt-4-IKT",
"id": "12943ed438ecabc4d7c698587cd5d6ff86d48fdd",
... |
document.write('<div id="ember-testing-container"><div id="ember-testing"></div></div>');
var App = Ember.Application.create({});
var NAMESPACE = Ember.get(ECB_OUTPUT_CONFIG.global);
App.rootElement = '#ember-testing';
emq.globalize();
App.setupForTesting();
App.injectTestHelpers();
setResolver(Ember.DefaultResolve... | {
"content_hash": "273735558e7c904d0f67f588ee51dc1a",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 89,
"avg_line_length": 27.162790697674417,
"alnum_prop": 0.7029109589041096,
"repo_name": "pixelhandler/ember-bucket",
"id": "62d40e43619eb4e8d9cfaebaab882f02da2d8d92",
"si... |
#include <CoreFoundation/CFCalendar.h>
#include <CoreFoundation/CFRuntime.h>
#include "CFInternal.h"
#include "CFPriv.h"
#include <unicode/ucal.h>
#define BUFFER_SIZE 512
struct __CFCalendar {
CFRuntimeBase _base;
CFStringRef _identifier; // canonical identifier, never NULL
CFLocaleRef _locale;
CFS... | {
"content_hash": "164c43d451405fc58af41b741c493483",
"timestamp": "",
"source": "github",
"line_count": 1080,
"max_line_length": 630,
"avg_line_length": 41.99166666666667,
"alnum_prop": 0.6943176556195012,
"repo_name": "johnno1962b/swift-corelibs-foundation",
"id": "1c18bc782b6bd4d478bfef8ab8049af235... |
import pytest
@pytest.fixture
def target_class():
from google.cloud.bigquery import ModelReference
return ModelReference
def test_from_api_repr(target_class):
resource = {
"projectId": "my-project",
"datasetId": "my_dataset",
"modelId": "my_model",
}
got = target_class.f... | {
"content_hash": "75117e62a6067f9e571a992ca3553146",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 92,
"avg_line_length": 30.733870967741936,
"alnum_prop": 0.6591445814746786,
"repo_name": "googleapis/python-bigquery",
"id": "39dabb55db68215bfe6404b4a9a9a6ba7ab8d23e",
"... |
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// IPC messages for drag and drop.
// Multiply-included message file, hence no include guard.
#include "content/public/common/common_param_traits.h"
... | {
"content_hash": "b454cba5fb4c6ca25ad17957429f1b36",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 78,
"avg_line_length": 41.01234567901235,
"alnum_prop": 0.6773028296207104,
"repo_name": "paul99/clank",
"id": "2d7070857dbdff0f4384fd465f5178c5e65432f8",
"size": "3322",
... |
/*=======================================
Template Design By MarkUps.
Author URI : http://www.markups.io/
========================================*/
h2 {
color: #ff871c;
}
.aa-primary-btn:hover, .aa-primary-btn:focus {
color: #ff871c;
border-color: #ff871c;
}
.aa-secondary-btn {
background-col... | {
"content_hash": "47816ef3ebfd92a633d417acb8d678a0",
"timestamp": "",
"source": "github",
"line_count": 281,
"max_line_length": 284,
"avg_line_length": 33.57651245551602,
"alnum_prop": 0.6828828828828829,
"repo_name": "etewiah/property-web-builder",
"id": "ef68054ade8fa9b49416c482ccb5e6e2a4827bbf",
... |
package ublu.command;
import ublu.util.ArgArray;
import static ublu.util.DataSink.SINKTYPE.FILE;
import static ublu.util.DataSink.SINKTYPE.STD;
import static ublu.util.DataSink.SINKTYPE.TUPLE;
import static ublu.util.DataSink.SINKTYPE.URL;
import ublu.util.InterpreterThread;
import ublu.util.Tuple;
import ublu.util.U... | {
"content_hash": "3eb0927d9de596f63bea83ca1ae41da9",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 258,
"avg_line_length": 40.020270270270274,
"alnum_prop": 0.5434745905790984,
"repo_name": "jwoehr/Ubloid",
"id": "64b6633648ced81fd4f3a06ec271a2acab50aaf4",
"size": "7472... |
//
// Copyright (c) 2014 Loic Gardiol <loic.gardiol@gmail.com>
//
// 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, co... | {
"content_hash": "b6a56533da8710865b44fdb5a8e66371",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 184,
"avg_line_length": 41.96923076923077,
"alnum_prop": 0.6944648093841642,
"repo_name": "loicgardiol/LGALibrary",
"id": "83caa05536b7b9f09941755ae26f7d420589c2d8",
"size... |
import queue from '../lib/queue';
import * as builder from 'botbuilder';
import ConversationState from '../framework/enum/ConversationState';
export default function logDialog(session, botMsg: string) {
let customerConversationId = session.message.address.channelId + '/' + session.message.address.conversation.id;
... | {
"content_hash": "f18a0932bd0a21006501e1014acac9aa",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 115,
"avg_line_length": 54.55555555555556,
"alnum_prop": 0.7657841140529531,
"repo_name": "KenFigueiredo/Bot-HandOff",
"id": "e87eb0c2dbfd03c051738915016fdf82009773f0",
"siz... |
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
strfmt "github.com/go-openapi/strfmt"
"github.com/go-openapi/errors"
"github.com/go-openapi/swag"
)
// PartGeometryURL part geometry Url
// swagger:model Pa... | {
"content_hash": "094d98d43116f3014ffaeeacc1748af1",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 84,
"avg_line_length": 21.93617021276596,
"alnum_prop": 0.7313288069835111,
"repo_name": "ryanwalls/simulation-goclient",
"id": "3bbb577070ee91e6a089641eb422f4a56a8f66fe",
... |
declare module 'sugarss' {
import postcss = require('postcss');
const postcssSugarss: postcss.ProcessOptions;
export = postcssSugarss;
}
| {
"content_hash": "1df7a562c97a719ca769d07fd74763a7",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 46,
"avg_line_length": 16,
"alnum_prop": 0.7430555555555556,
"repo_name": "mrmlnc/vscode-stylefmt",
"id": "6420872c2d92df1b287b7ee6b7944d6b901bc86d",
"size": "144",
"binar... |
<?php
/*
# ----------------------------------------------------------------------
# RECOVER PASSWORD: VIEW
# ----------------------------------------------------------------------
*/
include('get.php');
include('update.php');
include('control.php');
?>
<?php
show_alert($_SESSION['alert']['type'], $_SESSION['alert']['... | {
"content_hash": "a019008411797c5aae8f10cec2469ee7",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 164,
"avg_line_length": 49.36538461538461,
"alnum_prop": 0.45851188157382156,
"repo_name": "garygunarman/firanew",
"id": "049214709f6fefce7c83eb3477cbb199fba594d5",
"size":... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }... | {
"content_hash": "720d26c5adf9815e327dfcb33c661e83",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 257,
"avg_line_length": 26.913793103448278,
"alnum_prop": 0.683536194746957,
"repo_name": "IgorKilipenko/KTS_React",
"id": "eb86f72cb696e41f10f665375196adbf4b9554a2",
"size... |
package net.dsys.tkvs.api.tkvs;
import java.util.Map;
import javax.annotation.Nonnull;
import net.dsys.tkvs.api.data.Key;
import net.dsys.tkvs.api.data.Value;
/**
* @author Ricardo Padilha
*/
public interface Table {
@Nonnull
Boolean contains(@Nonnull Key key);
@Nonnull
Value read(@Nonnull Key key);
@No... | {
"content_hash": "60fdbb76923b71e08c7d919c6309bacb",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 77,
"avg_line_length": 18.951219512195124,
"alnum_prop": 0.7297297297297297,
"repo_name": "ricardopadilha/dsys-tkvs",
"id": "0f55794f5e6005e0c38e8ec4d0b117aed9b1e860",
"siz... |
'use strict';
/**
* This code is mostly from the old Etherpad. Please help us to comment this code.
* This helps other people to understand this code better and helps them to improve it.
* TL;DR COMMENTS ON THIS FILE ARE HIGHLY APPRECIATED
*/
/**
* Copyright 2009 Google Inc.
*
* Licensed under the Apache Licen... | {
"content_hash": "177e6234c5093ddfe3f228b3b5fe0c37",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 87,
"avg_line_length": 32.64705882352941,
"alnum_prop": 0.6887387387387387,
"repo_name": "wikimedia/operations-debs-etherpad-lite",
"id": "c1dab5cfd8be021179c1c58588dfc5b4e4b... |
'use strict';
function handler(request, reply) {
const user = request.yar.get('user');
if (user) {
return reply.redirect('dashboard');
}
return reply.view('index');
}
module.exports = handler;
| {
"content_hash": "3751001c8c72d31a6d8d4276cc892fa3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 43,
"avg_line_length": 17,
"alnum_prop": 0.6153846153846154,
"repo_name": "wbprice/burrow-serverless-app",
"id": "5ccd4f3bb628672c398e38e46a1e81fc5951ce55",
"size": "221",
... |
require 'test_helper'
class DehumanizeTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end
| {
"content_hash": "79ab22baffbce05a66d45d3b4865828a",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 46,
"avg_line_length": 19.625,
"alnum_prop": 0.732484076433121,
"repo_name": "andyw8/dehumanize",
"id": "c38a5c9723ee64aa52e3298dacf18aaafd2d8164",
"size": "157",
"binary"... |
// if (mealSelectionElement) {
// mealSelectionElement.addEventListener("change", updateSelection);
// citySelectionElement.addEventListener("change", updateSelection);
// function updateSelection() {
// var outputTextElement = document.getElementById("my-sentence");
// var mealText = meal... | {
"content_hash": "6aa70e8970b5cafc3a264cc212f84b7c",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 111,
"avg_line_length": 46.459119496855344,
"alnum_prop": 0.6003790442669554,
"repo_name": "christopherpturney/christopherpturney.github.io",
"id": "996420dda3a19d346384123e... |
package api
import (
"fmt"
"strings"
"github.com/Azure/acs-engine/pkg/api/common"
"github.com/Azure/acs-engine/pkg/api/v20170930"
"github.com/Azure/acs-engine/pkg/api/vlabs"
"github.com/Masterminds/semver"
)
type orchestratorsFunc func(*OrchestratorProfile) ([]*OrchestratorVersionProfile, error)
var funcmap m... | {
"content_hash": "2e7f736c32208a7d4383bb554350b85c",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 153,
"avg_line_length": 30.202290076335878,
"alnum_prop": 0.7269050928851257,
"repo_name": "rocketraman/acs-engine",
"id": "234b5d548178ef96e47af1a0f67ae8a81ad1a311",
"siz... |
<?php
namespace App\Controllers;
use App\Models;
class QuoteController extends \App\Controller
{
public function index($request, $response, $args)
{
$args['results'] = Models\Quote::with('user', 'teacher')->orderBy('created_at', 'desc')->paginate(10);
$args['results']->setPath($this->router->... | {
"content_hash": "a4b90a8e550c85d6f74fec2bb4d822d0",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 114,
"avg_line_length": 31.15929203539823,
"alnum_prop": 0.5168986083499006,
"repo_name": "Dasc3er/Sito-studentesco",
"id": "f434e22368a65558047117b99d4cce89802481e7",
"si... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60-ea) on Fri Nov 04 13:24:39 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.config.... | {
"content_hash": "15d38dd57c8b188dcd6de1c83748964d",
"timestamp": "",
"source": "github",
"line_count": 331,
"max_line_length": 409,
"avg_line_length": 62.01812688821752,
"alnum_prop": 0.6971453624318005,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "03d663484862cc91086344093b3ca951105d... |
package resources
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/robomaker"
)
type RoboMakerRobotApplication struct {
svc *robomaker.RoboMaker
name *string
arn *string
version *string
}
func init() {
register("RoboMakerRobotAppli... | {
"content_hash": "8c932efc6f704014f1fdbfd82ecb372a",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 80,
"avg_line_length": 20.608695652173914,
"alnum_prop": 0.7046413502109705,
"repo_name": "rebuy-de/aws-nuke",
"id": "42bb7519b7988127ec55061b3af5309e110be296",
"size": "14... |
<?php
namespace App\AdminBundle\Controller;
use App\CoreBundle\Controller\BaseController;
class AdminBaseController extends BaseController
{
protected $namespace = 'AppAdminBundle:';
protected $name = null;
public function addAction()
{
return $this->addItem($this->name);
}
pu... | {
"content_hash": "36de7183a80713b9a0d9e091ce8b0ec9",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 51,
"avg_line_length": 19.14814814814815,
"alnum_prop": 0.6382978723404256,
"repo_name": "abdeltiflouardi/CMSsf",
"id": "643da7049b555c13eb58108c87cb9b087f3f6a2f",
"size": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.