text stringlengths 2 1.04M | meta dict |
|---|---|
module.exports = function centreColourCollator(data) {
const dataPerPixel = 4;
const length = data.data.length;
const i = Math.floor(length / dataPerPixel / 2) * dataPerPixel;
return {
r: data.data[i],
g: data.data[i + 1],
b: data.data[i + 2]
};
};
| {
"content_hash": "8cdb985d7bdccd7cf16df2ef3529083c",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 65,
"avg_line_length": 27.1,
"alnum_prop": 0.6346863468634686,
"repo_name": "van-appears/umco",
"id": "60d44c1183e264a7100449e6b211e7037d80e7b6",
"size": "271",
"binary":... |
"""
Tests for the Root Controller
"""
import pytest
import bottle
from controller import root
def test_static_routing():
# Ensure that you can retrieve the JS and resources. (Wrap this in a
# pytest.warns so that it allows for ResourceWarnings becuase of opening,
# but not closing the resource files.)
... | {
"content_hash": "cf951e44c1a8e73409d135c5562dca7a",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 77,
"avg_line_length": 33.32,
"alnum_prop": 0.6866746698679472,
"repo_name": "sumnerevans/wireless-debugging",
"id": "ea9146a14522658bd566034a01662efb4dedac67",
"size": "83... |
///////////////////////// NumpyImportArray.init ////////////////////
// comment below is deliberately kept in the generated C file to
// help users debug where this came from:
/*
* Cython has automatically inserted a call to _import_array since
* you didn't include one when you cimported numpy. To disable this
* ad... | {
"content_hash": "2d4d618ecb756c3fd9f05fa53b44671e",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 112,
"avg_line_length": 50.15,
"alnum_prop": 0.6969092721834497,
"repo_name": "da-woods/cython",
"id": "0399b9972b8da9934273ef9fd00b3f09707ae8c4",
"size": "1003",
"binary... |
package org.locationtech.geowave.datastore.rocksdb.operations;
import java.io.Closeable;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import java.util.function.Predicate;... | {
"content_hash": "2a2346218048730c67286e4bfb2aca21",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 96,
"avg_line_length": 38.55621301775148,
"alnum_prop": 0.7386433394720687,
"repo_name": "spohnan/geowave",
"id": "530286c30af6920ae1276712c9e4fbb366947c52",
"size": "6951... |
package cn.rongcloud.im.server.response;
/**
* Created by AMing on 16/1/13.
* Company RongCloud
*/
public class SetPortraitResponse {
/**
* code : 200
*/
private int code;
public void setCode(int code) {
this.code = code;
}
public int getCode() {
return code;
}
... | {
"content_hash": "bbda8a39a373123b3eaedd3e7c01cd6f",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 40,
"avg_line_length": 14.636363636363637,
"alnum_prop": 0.5714285714285714,
"repo_name": "13120241790/RongCloudJcenter",
"id": "b43125ede8ca0412560aade77badfadef274fbb9",
... |
exports.BattleFormatsData = {
bulbasaur: {
viableMoves: {"sleeppowder":1,"gigadrain":1,"growth":1,"hiddenpowerfire":1,"hiddenpowerice":1,"sludgebomb":1,"swordsdance":1,"powerwhip":1,"leechseed":1,"synthesis":1},
eventPokemon: [
{"generation":3,"level":70,"moves":["sweetscent","growth","solarbeam","synthesis"]},... | {
"content_hash": "97e3fe1c00d39675da4bd7732b633690",
"timestamp": "",
"source": "github",
"line_count": 2983,
"max_line_length": 332,
"avg_line_length": 43.46765001676165,
"alnum_prop": 0.6436019249753209,
"repo_name": "Adithya4Uberz/The-Tsunami-League",
"id": "a373083fdad79fca61dbf6ac50f47d4c653f8c6... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/x-icon" href="../../../../../favicon.ico" />
<tit... | {
"content_hash": "83a98e7281da53d99f3d69ab0e835f13",
"timestamp": "",
"source": "github",
"line_count": 3689,
"max_line_length": 775,
"avg_line_length": 35.605584169151534,
"alnum_prop": 0.5596007582851792,
"repo_name": "terrytowne/android-developer-cn",
"id": "1aeeb80a918637b0f4a8bd672432ceccf7c715e... |
package com.github.fakemongo;
import com.github.fakemongo.impl.text.TextSearch;
import com.github.fakemongo.junit.FongoRule;
import com.mongodb.BasicDBList;
import com.mongodb.BasicDBObject;
import com.mongodb.DBCollection;
import com.mongodb.DBObject;
import com.mongodb.util.JSON;
import java.util.List;
import org.a... | {
"content_hash": "3e5dfcdc8d7aefa93b38dc1f4ce9b1ff",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 109,
"avg_line_length": 34.71818181818182,
"alnum_prop": 0.6289604608536266,
"repo_name": "fnouama/fongo",
"id": "e68a7e74b540d61ed8f7465123a6eeaff294cd8b",
"size": "4450"... |
<!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) on Thu Nov 06 23:52:00 PST 2014 -->
<title>CSV.Orientation</title>
<meta name="date" content="2014-11-06">
<link rel="stylesheet" type="text/c... | {
"content_hash": "6b5a9ae46da98f762363a4074a8bfc7b",
"timestamp": "",
"source": "github",
"line_count": 345,
"max_line_length": 389,
"avg_line_length": 36.26376811594203,
"alnum_prop": 0.6540644233074894,
"repo_name": "kag0/nbd",
"id": "e4891b13454f3d316526c647f4e676c26b019194",
"size": "12511",
... |
// This file is automatically generated.
package adila.db;
/*
* Camelus Camelus L7
*
* DEVICE: TR-7U
* MODEL: L7
*/
final class tr2d7u_l7 {
public static final String DATA = "Camelus|Camelus L7|";
}
| {
"content_hash": "02b2d5a6dafe807f66ceb8d12d5c89c0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 60,
"avg_line_length": 16.153846153846153,
"alnum_prop": 0.6666666666666666,
"repo_name": "karim/adila",
"id": "13d45f2d316dfe4b96d5c733fa7248e953bf8447",
"size": "210",
... |
@charset "utf-8";
/* CSS Document */
#preloader {
background-color: #9bc638;
}
.colored-text {
color: #9bc638;
}
.tp-banner a.btn1:hover {
border: 2px solid #9bc638;
background-color: #9bc638;
}
.tp-banner a.btn2 {
border: 2px solid #9bc638;
background-color: #9bc638;
}
.navbar-inverse {
background-color: #9bc6... | {
"content_hash": "46061ef7ab8dc50d5d8f065feab2e16b",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 107,
"avg_line_length": 20.53153153153153,
"alnum_prop": 0.701623519087319,
"repo_name": "linuxhatto/Manicure",
"id": "79b6421b174171b078e67dcab47223b772728b40",
"size": "... |
CloudZero Reactor API
=====================
The `CloudZero Reactor API`_ is documented on SwaggerHub
.. _CloudZero Reactor API: https://app.swaggerhub.com/apis/cloudzero/cloudzero-reactor-api/
| {
"content_hash": "7a85b6c5c10a974c933b477baab4a9d8",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 91,
"avg_line_length": 38.8,
"alnum_prop": 0.7061855670103093,
"repo_name": "Cloudzero/cloudzero-reactor-aws",
"id": "699d403364c2a24369f89836ab257487b1332f01",
"size": "194... |
package org.apache.jackrabbit.oak.commons.jmx;
import javax.management.DescriptorRead;
import javax.management.MBeanAttributeInfo;
import javax.management.MBeanInfo;
import javax.management.MBeanOperationInfo;
import javax.management.MBeanParameterInfo;
import javax.management.StandardMBean;
/**
* The extension of ... | {
"content_hash": "dcfe426aa7b10bcd0942f2adf09cbd76",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 94,
"avg_line_length": 33.3125,
"alnum_prop": 0.6724202626641651,
"repo_name": "afilimonov/jackrabbit-oak",
"id": "5f46eaac8c82474c10544fc8398c2b58251467e9",
"size": "3472"... |
package io.datarouter.storage.node.factory;
import java.util.function.Supplier;
import io.datarouter.model.databean.Databean;
import io.datarouter.model.entity.Entity;
import io.datarouter.model.key.entity.EntityKey;
import io.datarouter.model.key.primary.EntityPrimaryKey;
import io.datarouter.model.key.primary.Regu... | {
"content_hash": "063faf739db7e5bac6bcebbd87533c62",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 88,
"avg_line_length": 34.2,
"alnum_prop": 0.7879142300194931,
"repo_name": "hotpads/datarouter",
"id": "eeb722798d6197382adbff9108a4d25169b787d2",
"size": "3178",
"binar... |
<?php
/**
* Prevent direct access to this file.
*
* @since 2.7.0
*/
if ( ! defined( 'WPINC' ) ) {
exit( 'Sorry, you are not allowed to access this file directly.' );
}
/**
* Include reports menu items for WooCommerce 2.1.x branch:
*
* @since 2.7.0
*/
/** Reports */
$menu_items[ 'reports' ] = array(
'paren... | {
"content_hash": "56213dd946604740fd1ffec6492d85e2",
"timestamp": "",
"source": "github",
"line_count": 304,
"max_line_length": 109,
"avg_line_length": 34.276315789473685,
"alnum_prop": 0.5832053742802303,
"repo_name": "Doap/sinkjuice.com",
"id": "928c8a82c7df1f242e7684d42a5380768419c1ab",
"size": ... |
package model
object CollectionTime extends Enumeration {
type Code = Value
val Daily, Weekly, Adhoc = Value
} | {
"content_hash": "6043ba1c0225344079b077ecc5a274f4",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 43,
"avg_line_length": 16.571428571428573,
"alnum_prop": 0.75,
"repo_name": "foodcloud/bonobo",
"id": "ee3841d527aee8c682c4f735425905a15f5d4cda",
"size": "116",
"binary": ... |
package io.taig.android.graphic.syntax
import io.taig.android.graphic.operation
import scala.language.implicitConversions
trait numeric {
implicit def graphicNumericSyntax[T: Numeric](
value: T
): operation.numeric[T] = new operation.numeric[T](value)
}
object numeric extends numeric
| {
"content_hash": "136c50c0858e906aa5f03299f1e2a50d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 59,
"avg_line_length": 23,
"alnum_prop": 0.7759197324414716,
"repo_name": "Taig/Toolbelt",
"id": "0b9b9b83afbb120b5fb4409c744c2da7b781c5a4",
"size": "299",
"binary": fals... |
@interface XMGTabController : UITabBarController
@end
| {
"content_hash": "cef2c5784e423dfb97721f4f73343b5f",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 48,
"avg_line_length": 18.333333333333332,
"alnum_prop": 0.8363636363636363,
"repo_name": "jfresearch/bsbdjdemo",
"id": "bb551c3aaa6aa79920d1f18ab5ac0f614e97a6d4",
"size": "... |
//
// GTLMapsEngineIconStyle.h
//
// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
// Service:
// Google Maps Engine API (mapsengine/v1)
// Description:
// The Google Maps Engine API allows developers to store and... | {
"content_hash": "7865ac5b52805457510f8755ff07bf13",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 79,
"avg_line_length": 27.25581395348837,
"alnum_prop": 0.6168941979522184,
"repo_name": "uqtimes/GmailViewerObjectiveC",
"id": "e05d985ff99874f5fddcb309d0ea9f7082eb8fc8",
... |
package org.finra.hiveqlunit.resources;
/**
* Abstracts access to textual resources needed during testing, such as test data or hql scripts.
* By using this interface, code that uses testing resources can be written agnostic to the
* origin or nature of the resource.
*/
public interface TextResource {
/**
... | {
"content_hash": "81e7a751979f2f0ecf74b69fadfe25d2",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 97,
"avg_line_length": 29.88888888888889,
"alnum_prop": 0.7304832713754646,
"repo_name": "mpeter28/HiveQLUnit",
"id": "241b7b41ac773692592083b3f084e78714d46fc4",
"size": "1... |
/*
* ScaleDialogOJ.java
* -- documented
*
* First runs ImageJ's ScaleDialog, then checks which image is involved,
* and forwards this information to the ojj file
*
*/
package oj.plugin;
import ij.ImagePlus;
import ij.plugin.filter.ScaleDialog;
import ij.process.ImageProcessor;
import java.lang.reflect.Field;
im... | {
"content_hash": "3005cca1ab6973be729b9b0dae2ca7fd",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 96,
"avg_line_length": 29.872340425531913,
"alnum_prop": 0.5754985754985755,
"repo_name": "norbertvischer/ObjectJ",
"id": "02efaabb15250d473c15aaf79f8be44822d4b710",
"size"... |
<?php
namespace Pyrus\Developer\Creator;
class Tar implements \Pyrus\Package\CreatorInterface
{
/**
* Path to archive file
*
* @var string
*/
protected $archive;
/**
* Temporary stream used for creating the archive
*
* @var stream
*/
protected $tmp;
protected ... | {
"content_hash": "84bf349d0c4cb5dbad3eb8b6ac0d4bbd",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 111,
"avg_line_length": 30.263157894736842,
"alnum_prop": 0.4757487922705314,
"repo_name": "pyrus/Pyrus",
"id": "f0fb8293ad70994f73511bf563f836a57d2f8f61",
"size": "5175",... |
<?php
use PHPUnit\Framework\TestCase;
use liuguang\mvc\http\action\ViewResult;
use liuguang\mvc\Application;
use liuguang\mvc\services\UrlAsset;
use liuguang\mvc\Container;
use Symfony\Component\Asset\PathPackage;
use Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy;
use Symfony\Component\Asset\Package;
/... | {
"content_hash": "f4fa135e475ac743ba84ddfed96825b0",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 145,
"avg_line_length": 24.291666666666668,
"alnum_prop": 0.5322469982847341,
"repo_name": "qq67579722/mvc",
"id": "e4ac8498ad39f66254b7b61b81d95d4cbcb77dc5",
"size": "596... |
require 'rails_helper'
RSpec.describe "Teachers", type: :request do
let!(:valid_user) {
FactoryBot.create(:confirmed_user)
}
let!(:valid_edition) {
FactoryBot.create(:edition)
}
let(:valid_headers) {
{ 'Authorization' => valid_user.access_token }
}
describe "GET /v1/teachers.json" do
c... | {
"content_hash": "0c17a5ed910f2e01f99523b2efea605f",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 78,
"avg_line_length": 25.70689655172414,
"alnum_prop": 0.6338028169014085,
"repo_name": "infoeducatie/infoeducatie-api",
"id": "83e85d2ea90efb252076fd40c8e468247003a5e8",
... |
/*
Leola Programming Language
Author: Tony Sparks
See license.txt
*/
package leola.vm.types;
import java.io.DataOutput;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.List;
import java.util.Map;
import leola.vm.exceptions.LeolaRuntimeException... | {
"content_hash": "bb7b34bf9e86af9c3263ba198619fb59",
"timestamp": "",
"source": "github",
"line_count": 414,
"max_line_length": 110,
"avg_line_length": 25.801932367149757,
"alnum_prop": 0.5705860325781689,
"repo_name": "tonysparks/leola",
"id": "f6fdd701d04e8ed295fdbffec27baa7784a0ec47",
"size": "1... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl\nsIXPConnect.idl
*/
#ifndef __gen_nsIXPConnect_h__
#define __gen_nsIXPConnect_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#include "js/Value.h"
/* For IDL files that don't want to include root IDL files. */
#ifn... | {
"content_hash": "fb962600f1098cab17da6ecd308b4801",
"timestamp": "",
"source": "github",
"line_count": 963,
"max_line_length": 357,
"avg_line_length": 51.34060228452752,
"alnum_prop": 0.754859327278979,
"repo_name": "andrasigneczi/TravelOptimizer",
"id": "1ee9ec9f67b2c5fffdf12bdca253ad01a4db50c8",
... |
#ifndef mrpt_CStereoRectifyMap_H
#define mrpt_CStereoRectifyMap_H
#include <mrpt/utils/TStereoCamera.h>
#include <mrpt/utils/CImage.h>
#include <mrpt/slam/CObservationStereoImages.h>
#include <mrpt/vision/link_pragmas.h>
namespace mrpt
{
namespace vision
{
/** Use this class to rectify stereo images if the same... | {
"content_hash": "7591bff7164e44d76fce4b4fe18976c6",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 199,
"avg_line_length": 48.69117647058823,
"alnum_prop": 0.7148897614013893,
"repo_name": "samuelpfchoi/mrpt",
"id": "79b5fc6d643b7f39904dd3a1ec69d6093f07a9e4",
"size": "1... |
<!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_71) on Tue Feb 16 15:23:08 EST 2016 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class... | {
"content_hash": "a9492f4cae318930f0e6dd81a68e66b5",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 185,
"avg_line_length": 39.656488549618324,
"alnum_prop": 0.5936477382098171,
"repo_name": "koneksys/KLD",
"id": "b5ad138119ee9807117466b4565442301d928a3a",
"size": "5195"... |
#include "precompiled.h"
#include "LayoutBlockBoxSpace.h"
#include "LayoutBlockBox.h"
#include "LayoutEngine.h"
#include <Rocket/Core/Element.h>
#include <Rocket/Core/ElementScroll.h>
#include <Rocket/Core/StyleSheetKeywords.h>
namespace Rocket {
namespace Core {
LayoutBlockBoxSpace::LayoutBlockBoxSpace(LayoutBlock... | {
"content_hash": "2290c0fdc260130bfbbf9affc42ea1ab",
"timestamp": "",
"source": "github",
"line_count": 264,
"max_line_length": 133,
"avg_line_length": 38.03409090909091,
"alnum_prop": 0.7080968031072602,
"repo_name": "Josiastech/vuforia-gamekit-integration",
"id": "f525377c2c0f74b601d5ab1c00f2d2729e... |
/**
* Allows for runtime configuration. Internally, the runtime should
* use the src/config.js module for various constants. We can use the
* AMP_CONFIG global to translate user-defined configurations to this
* module.
* @type {!Object<string, string>}
*/
const env = self.AMP_CONFIG || {};
const thirdPartyFram... | {
"content_hash": "cf6b36d57b745b2405ef063fef518eed",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 80,
"avg_line_length": 32.3921568627451,
"alnum_prop": 0.6697941888619855,
"repo_name": "sharethrough/amphtml",
"id": "3396e27453c75bc1097e87a9036d0782af94f300",
"size": "... |
Making your shop support multiple languages is much like doing the same for any other
SilverStripe website. [Here is a guide](http://www.balbuss.com/setting-up-a-multilingual-site/).
Here is some shop-specific information:
Add the following to your _config.php file:
:::php
Object::add_extension('SiteTree', 'Transl... | {
"content_hash": "b7c028371bd636ff6a83622b1c2f25fc",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 96,
"avg_line_length": 40.36363636363637,
"alnum_prop": 0.7635135135135135,
"repo_name": "hailwood/silverstripe-shop",
"id": "a2cb5a2e678642b85522032c7746beb3b3b86718",
"si... |
#include <stdio.h>
#include <string.h>
#include <getopt.h>
#include <assert.h>
#include <iostream>
#include <fstream>
#include "ClusterMetrics.h"
#include "Context.h"
#include "Cycles.h"
#include "Dispatch.h"
#include "ShortMacros.h"
#include "Crc32C.h"
#include "ObjectFinder.h"
#include "OptionParser.h"
#include "... | {
"content_hash": "d3d8d09c76bc012284e9457049a2a59a",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 80,
"avg_line_length": 28.738095238095237,
"alnum_prop": 0.6130903065451533,
"repo_name": "jdellithorpe/RAMCloudTools",
"id": "d1c16bc44f2df8ebae63438e6309024ed512cc59",
"... |
//
// UAEC2ReplaceRouteRequest.m
// AWS iOS SDK
//
// Copyright © Unsigned Apps 2014. See License file.
// Created by Rob Amos.
//
//
#import "UAEC2ReplaceRouteRequest.h"
#import "UAAWSAdditionalAccessors.h"
#import "UAEC2ReplaceRouteResponse.h"
@interface UAEC2ReplaceRouteRequest ()
@property (nonatomic, copy) ... | {
"content_hash": "0bc6c499f6f23dca080b03be10a200e5",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 267,
"avg_line_length": 29.855670103092784,
"alnum_prop": 0.7537983425414365,
"repo_name": "unsignedapps/ua-aws-sdk-ios",
"id": "cb92b35e890ba092ae336b97cdac4d5dd74d7c00",
... |
package com.msopentech.odatajclient.engine.data.metadata.edm.v3;
import com.msopentech.odatajclient.engine.data.metadata.edm.AbstractSchema;
import java.util.ArrayList;
import java.util.List;
public class Schema extends AbstractSchema<EntityContainer, EntityType, ComplexType, FunctionImport> {
private static fi... | {
"content_hash": "e96d8f0d4a39fbeb00b0c8ebe22f1769",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 102,
"avg_line_length": 27.54621848739496,
"alnum_prop": 0.6363636363636364,
"repo_name": "sujianping/Office-365-SDK-for-Android",
"id": "8f0dec4bbac2c04a50ee629395291f11815... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_33) on Tue Aug 07 12:49:28 EEST 2012 -->
<TITLE>
Uses of Class org.eclipse.paho.client.mqttv3.internal.security.SSLSocketFactoryFactory
</TITLE>
<ME... | {
"content_hash": "1f68911848e5f64a98a9867a3fb8f208",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 286,
"avg_line_length": 44.56944444444444,
"alnum_prop": 0.6160797756310377,
"repo_name": "EEXCESS/android-app",
"id": "fddf02644a9ffe583d579581fb08fbd6c3cde0c3",
"size": ... |
i18nUtil = {};
i18nUtil.setup = function(/*Object*/kwArgs){
//summary: loads dojo so we can use it for i18n bundle flattening.
//Do the setup only if it has not already been done before.
if(typeof djConfig == "undefined" || !(typeof dojo != "undefined" && dojo["i18n"])){
djConfig={
locale: 'xx',
extraLoca... | {
"content_hash": "20fbcb5dc4e6845f43f6875e91b2095f",
"timestamp": "",
"source": "github",
"line_count": 334,
"max_line_length": 126,
"avg_line_length": 38.11377245508982,
"alnum_prop": 0.7088766692851531,
"repo_name": "henry-gobiernoabierto/geomoose",
"id": "a426c7b76db6896d5902959b3c20cd670687b077",... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="The Electromagnetic Spectrum pervades everything. The sounds in your ears; the words you speak; the cellphone you love to distraction; the radio and TV that blare in the background — even the light from this screen hitt... | {
"content_hash": "fb0dae9e9da090fd733ebcd538c00dc5",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 295,
"avg_line_length": 35.170212765957444,
"alnum_prop": 0.677555958862674,
"repo_name": "curiositry/emspectrum.info",
"id": "f42a917f41e6ff91eed3d48bb1a46257e685845a",
"s... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Cake.Common.Tools.DotCover.Merge;
using Cake.Core.IO;
namespace Cake.Commo... | {
"content_hash": "42039a444520609fea27a7f8cf3475b1",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 89,
"avg_line_length": 32.42857142857143,
"alnum_prop": 0.626431718061674,
"repo_name": "robgha01/cake",
"id": "8054a9c9b3d010d3467e8ba29483c73768cf2a8d",
"size": "1137",
... |
//
// Shaders.h
// FreeFlight
//
// Created by Frédéric D'HAEYER on 24/10/11.
// Copyright 2011 PARROT. All rights reserved.
//
#ifndef _OPENGL_SHADER_H_
#define _OPENGL_SHADER_H_
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>
// #define DEBUG_SHADER
/* Shader Utilities */
GLint opengl_shader_compil... | {
"content_hash": "5ad2e82261f59e566d79d90ebfabb79e",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 98,
"avg_line_length": 27.80952380952381,
"alnum_prop": 0.7328767123287672,
"repo_name": "ffriedl/csc-at-hackathon",
"id": "4be3ead10c90a37da0dfcec969a47febee47442b",
"size... |
package io.libraft.agent.configuration;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.ObjectCodec;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fas... | {
"content_hash": "5848dda672fc8d77b74c1324e09e9921",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 155,
"avg_line_length": 40.323232323232325,
"alnum_prop": 0.6936372745490982,
"repo_name": "allengeorge/libraft",
"id": "71643e7ce597f98e7a2bcf5eb4effdacbe7db6ae",
"size": ... |
<?php
/* @var string $actionLabel */
/* @var $model */
use yii\bootstrap\ActiveForm;
$form = ActiveForm::begin([
'layout' => 'horizontal'
]);
?>
<?= $form->field($model, 'first_name') ?>
<?= $form->field($model, 'last_name') ?>
<div class="clearfix form-actions">
<div class="col-md-offset-3 col-md... | {
"content_hash": "46730909f048cd7ff590aed150439097",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 97,
"avg_line_length": 20.695652173913043,
"alnum_prop": 0.5588235294117647,
"repo_name": "lebeddima/library",
"id": "aac289e97d74e9b7489049355a0734553defc8f7",
"size": "48... |
export let readyResolve: (value?: unknown) => void;
/** this promise is resolved when the initial big load of DIM API data is completed */
export const settingsReady = new Promise((resolve) => (readyResolve = resolve));
| {
"content_hash": "7e6a94a851c8e717dbf1fcb1f8934748",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 86,
"avg_line_length": 73.33333333333333,
"alnum_prop": 0.7363636363636363,
"repo_name": "DestinyItemManager/DIM",
"id": "dc77da1e55e019d88d63bb6f8ac3591c6529b063",
"size": ... |
using System.Threading.Tasks;
using Wilcommerce.Auth.Models;
namespace Wilcommerce.Auth.Services.Interfaces
{
/// <summary>
/// Represents the token generator interface
/// </summary>
public interface ITokenGenerator
{
/// <summary>
/// Generate an email confirmation token string f... | {
"content_hash": "0de91e8707402a92c1eb3199fe77471b",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 78,
"avg_line_length": 33.8,
"alnum_prop": 0.6414201183431952,
"repo_name": "wilcommerce/Wilcommerce.Auth",
"id": "f155c76648b79f5082629c529ff0fc41d60cd558",
"size": "847",... |
#include "list.h"
/*
* Allocate a new list_iterator_t. NULL on failure.
* Accepts a direction, which may be LIST_HEAD or LIST_TAIL.
*/
list_iterator_t *
list_iterator_new(list_t *list, list_direction_t direction) {
list_node_t *node = direction == LIST_HEAD
? list->head
: list->tail;
return list_iterat... | {
"content_hash": "30a92775f1736b06d1f98a4649147692",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 76,
"avg_line_length": 20.6,
"alnum_prop": 0.6540158870255958,
"repo_name": "gnomex/C-Syllabus",
"id": "5d8c42d267d5b71602738d1d03ce4265273f6e4b",
"size": "1133",
"binary... |
using System.Data.Entity;
namespace Galen.EntityFramework.Sharding
{
public abstract class ShardKeyMapperBase<TType>
{
public abstract bool KeyMapsToShard(TType key, DbContext context);
}
} | {
"content_hash": "a0186263fb641f5e29bf745e81c38a00",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 74,
"avg_line_length": 23.333333333333332,
"alnum_prop": 0.7428571428571429,
"repo_name": "GalenHealthcare/Galen.Ef.Deployer",
"id": "aa54d9f799892afb45431fe0382c6969dd4c1321"... |
<!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_55) on Fri Jun 20 06:34:21 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.a... | {
"content_hash": "6d53722e933d90c2d466c65e3e3b6e23",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 161,
"avg_line_length": 37.64885496183206,
"alnum_prop": 0.5985401459854015,
"repo_name": "BibAlex/bhl_rails_4_solr",
"id": "91c5c251d3f518b9226357ee5a61c64246d60aeb",
"si... |
@echo off
REM ************Compact Framework. RELEASE to Bin\Release\CF\Excel.dll************
REM **********************************************************************
SET CSC=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe /nologo
SET SC_PATH=%cd%
REM **CLEAN
RD /S /Q %SC_PATH%\Bin\Release\CF\
MKDIR %SC_PATH... | {
"content_hash": "27810d05921ebceb52f70a0eec91ba1f",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 133,
"avg_line_length": 32.5,
"alnum_prop": 0.6284023668639053,
"repo_name": "yyitsz/myjavastudio",
"id": "6011e5f1482c9266924fdd5b805a2ce7fb2abcf8",
"size": "845",
"bina... |
package sgdi.pr3.grupo03.situacion1;
import java.util.ArrayList;
import sgdi.pr3.grupo03.shared.MongoUtil;
import sgdi.pr3.grupo03.situacion1.model.*;
public class TestData {
public static void execute() {
try {
insertFilms();
insertSeries();
MongoUtil.close();
... | {
"content_hash": "877470fcb4cb176ba213115a3607758e",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 81,
"avg_line_length": 39.170731707317074,
"alnum_prop": 0.5212951432129515,
"repo_name": "gorkinovich/SGDI",
"id": "4d32eddab2b2e14afcdfb2ac336c18ed4e71ed0e",
"size": "84... |
/* eslint no-console: 1 */
console.warn('You are using the default filter for the unitsTypes service. For more information about event filters see https://docs.feathersjs.com/api/events.html#event-filtering'); // eslint-disable-line no-console
module.exports = function (data, connection, hook) { // eslint-disable-line... | {
"content_hash": "abd08b009b9252fe5f07f25ece0fd053",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 216,
"avg_line_length": 59,
"alnum_prop": 0.7570621468926554,
"repo_name": "YeFFreY/bernard",
"id": "93e753a976efac9f32d5ed81c28ee76eb6f47294",
"size": "354",
"binary": fa... |
package com.deleidos.rtws.commons.monitor.process;
import com.deleidos.rtws.commons.monitor.core.ProcessMonitor;
import com.deleidos.rtws.commons.net.listener.exception.ServerException;
import com.deleidos.rtws.commons.net.listener.process.HiveProcess;
public class HiveServerMonitor extends ProcessMonitor {
// Hiv... | {
"content_hash": "22fe67782f1ff9d359000db4af085aaa",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 75,
"avg_line_length": 25.06382978723404,
"alnum_prop": 0.7215619694397284,
"repo_name": "deleidos/digitaledge-platform",
"id": "fda49d205278dc5b3eaae36bec309cbb12cb2c67",
... |
PRAGMA cache_size = 10;
BEGIN;
INSERT INTO t1 SELECT blob(900) FROM t1; -- 32
SELECT count(*) FROM t1; | {
"content_hash": "5ab67779781807e9f70992af27299fbe",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 48,
"avg_line_length": 26,
"alnum_prop": 0.6923076923076923,
"repo_name": "bkiers/sqlite-parser",
"id": "53c551df1d023621676e13d1ceb49586641c6d2c",
"size": "275",
"binary"... |
package nl.tno.idsa.library.relations.action_requires_location;
import nl.tno.idsa.framework.semantics_impl.relations.LocationEnablesAction;
import nl.tno.idsa.library.actions.StreetTheft;
import nl.tno.idsa.library.locations.Outside;
/**
* Created by jongsd on 20-8-15.
*/
// TODO Add ignore unused. Document the cl... | {
"content_hash": "1427bbaf2775b0682a4aef0dfe3a220b",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 76,
"avg_line_length": 32.266666666666666,
"alnum_prop": 0.7727272727272727,
"repo_name": "TNOCS/idsa",
"id": "07ceecd97e641eef993280627c2c39952451b33f",
"size": "484",
"... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout ="horizontal" ="@id/background" ="@drawable/top_bar_tab_button_left" ="fill_parent" ="fill_parent" ="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.quizup.lib.widgets.textViews.GothamTextViewTranslated ="@color/black" ="center" ="@id/left... | {
"content_hash": "84ba591fab976496473aa490a1e3b298",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 178,
"avg_line_length": 98.83333333333333,
"alnum_prop": 0.6947723440134908,
"repo_name": "mmmsplay10/QuizUpWinner",
"id": "a717431f3765d7dac425068e80ae51291022afad",
"size"... |
const userService = require('../../service/user')
const nodeService = require('../../service/node')
const trafficService = require('../../service/traffic')
const MIN_FLOW = 1024
module.exports = async (ctx) => {
let { nodeId } = ctx.params
let { body } = ctx.request
await nodeService.updateActivedAtAsync(nodeI... | {
"content_hash": "e70a346863cc10501f08a42f04dc5441",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 81,
"avg_line_length": 31.1,
"alnum_prop": 0.6752411575562701,
"repo_name": "qious/ss-panel",
"id": "c01e02d7ab87a098cd33d4cd17ecd34d7eae0202",
"size": "622",
"binary": f... |
using ImitationLib.Elements;
using ImitationLib.Utils;
namespace ImitationLib
{
public class Program
{
public static void Main(string[] args)
{
Logger.InitLogger();
Entrance entrance = new Entrance(5, 4);
Service service = new Service(12, 1);
Service service2 = new Service(2, 1);
Service service... | {
"content_hash": "bb317fafca242ac149dae96a841cb45a",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 67,
"avg_line_length": 21.52173913043478,
"alnum_prop": 0.6787878787878788,
"repo_name": "slawiko/ImitationLib",
"id": "889b2de153282037d257bf42c7e1c40b662c6a6c",
"size": "... |
package org.deviceconnect.android.deviceplugin.irkit.profile;
import android.content.Intent;
import org.deviceconnect.android.deviceplugin.irkit.IRKitDeviceService;
import org.deviceconnect.android.deviceplugin.irkit.data.IRKitDBHelper;
import org.deviceconnect.android.deviceplugin.irkit.data.VirtualProfileData;
imp... | {
"content_hash": "0631d364bbba4e45ee9047fe36b6960d",
"timestamp": "",
"source": "github",
"line_count": 225,
"max_line_length": 112,
"avg_line_length": 29.24,
"alnum_prop": 0.5689314485484116,
"repo_name": "Onuzimoyr/dAndroid",
"id": "bb473d2834a6fba2349befbb31270bee4164db12",
"size": "7004",
"bi... |
package org.elasticsearch.client;
import org.apache.logging.log4j.Logger;
import org.elasticsearch.client.ml.CloseJobRequest;
import org.elasticsearch.client.ml.DeleteDatafeedRequest;
import org.elasticsearch.client.ml.DeleteJobRequest;
import org.elasticsearch.client.ml.GetDatafeedRequest;
import org.elasticsearch.c... | {
"content_hash": "c6725881db8c8d9eaca5526070a6a61e",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 140,
"avg_line_length": 39.188235294117646,
"alnum_prop": 0.6964875412788952,
"repo_name": "strapdata/elassandra",
"id": "c565af7c37202980f871a917a21027aa3ef0cd62",
"size":... |
stanza.text package
===================
stanza.text.dataset module
--------------------------
.. automodule:: stanza.text.dataset
:members:
:special-members:
:show-inheritance:
stanza.text.vocab module
------------------------
.. automodule:: stanza.text.vocab
:members:
:special-members:
:s... | {
"content_hash": "2ce6d64c119e1d9f2f92c850ec93853d",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 35,
"avg_line_length": 17.736842105263158,
"alnum_prop": 0.5489614243323442,
"repo_name": "arunchaganty/obviousli",
"id": "fdc0db39fba70d2d88076fc589eca98b50fa7129",
"size"... |
<!DOCTYPE html>
<html lang="ko-kr">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.15" />
<title>#Ludens</title>
<meta property=... | {
"content_hash": "e8f8a09b197cbd7e031305010cf06b20",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 370,
"avg_line_length": 45.1703056768559,
"alnum_prop": 0.6547757153905646,
"repo_name": "ludens/ludens.kr",
"id": "6d20c879a0fbb63709db20a70964320a4977a937",
"size": "105... |
package com.easyooo.framework.support.mybatis;
/**
*SQL方言接口
*
* @author Killer
*/
public interface Dialect {
String getPagingSQL(String sql);
String getCountingSQL(String sql);
Order[] order();
}
| {
"content_hash": "b5fa3c50fb71d7eb5d2dd92d5c0a96ec",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 46,
"avg_line_length": 12.647058823529411,
"alnum_prop": 0.6837209302325581,
"repo_name": "leopardoooo/easyooo-framework",
"id": "0120f21bf1162eef77083283666fee1f66f7c8ec",
... |
#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_MOBILE_ON_COMMAND_NOTIFICATION_H_
#define SRC_COMPONENTS_APPLICATION_MANAGER_INCLUDE_APPLICATION_MANAGER_COMMANDS_MOBILE_ON_COMMAND_NOTIFICATION_H_
#include "application_manager/commands/command_notification_impl.h"
#include "utils/macro... | {
"content_hash": "4d03761670f1d5d618e69f3d5b80f0f6",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 116,
"avg_line_length": 26.543478260869566,
"alnum_prop": 0.7518427518427518,
"repo_name": "APCVSRepo/sdl_core",
"id": "e2faf9b05c68b4a3cc1bf7d1c7fd7b6d231cbe97",
"size": "... |
<?php
namespace InfinityFree\MofhClient\Exception;
class InvalidRequestException extends \Exception
{
} | {
"content_hash": "8c669f78e781fd61bdb22c9aa24fcb66",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 48,
"avg_line_length": 13.25,
"alnum_prop": 0.8207547169811321,
"repo_name": "HansAdema/mofh-client",
"id": "5ef7f74f4d456d1d90022d171ecb3f4c775ac8b8",
"size": "106",
"bin... |
<?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 Lic... | {
"content_hash": "3732a66562c80e3b9e6003b16f8d267b",
"timestamp": "",
"source": "github",
"line_count": 533,
"max_line_length": 204,
"avg_line_length": 38.553470919324575,
"alnum_prop": 0.46279624312618617,
"repo_name": "zregvart/camel",
"id": "5a8cd3446dd092442111f20621b1d575ceceb9eb",
"size": "20... |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.aws.swf;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.GeneratedPropertyConfigurer;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.util.CaseInsensit... | {
"content_hash": "c012e50d7e899e8f5cf14770878c3855",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 242,
"avg_line_length": 68.27777777777777,
"alnum_prop": 0.7374805828833494,
"repo_name": "alvinkwekel/camel",
"id": "b838f540c406ec0d7a3d98a8a4f38e170c09b8e4",
"size": "1... |
import logging
import operator
import pytest
from cassandra import ConsistencyLevel
from pytest import mark
from dtest import Tester, create_ks, create_cf
from tools.data import insert_c1c2
from tools.misc import generate_ssl_stores
from itertools import product
since = pytest.mark.since
logger = logging.getLogger(_... | {
"content_hash": "0a005acf48ad6cb095d4a2ab93acd72b",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 145,
"avg_line_length": 42.235849056603776,
"alnum_prop": 0.6209515300424391,
"repo_name": "pcmanus/cassandra-dtest",
"id": "34109202eb67ba481daff50c3010f4dad61fa72e",
"si... |
package org.apache.hadoop.hdfs.server.namenode;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.SortedMap;
import java.util.SortedSet;
import java.util.TreeMap;
import java.util.TreeSet;
import org.apache.commons.loggi... | {
"content_hash": "2b2a037e4a19ddeb8a75bed0ce923026",
"timestamp": "",
"source": "github",
"line_count": 420,
"max_line_length": 95,
"avg_line_length": 30.395238095238096,
"alnum_prop": 0.6173429421901927,
"repo_name": "steveloughran/hadoop-hdfs",
"id": "77ca87860a49494bbe77f1486f84a93654f5ccb7",
"s... |
using System;
using System.ComponentModel;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
/// <summary> The HDInsightActivityDebugInfoOption settings to use. </summary>
public readonly partial struct HDInsightActivityDebugInfoOption : IEquatable<HDInsightActivityDebugInfoOption>
{
private rea... | {
"content_hash": "59ae8e86e3ebbd1c1f926770fb2643b4",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 151,
"avg_line_length": 57.71739130434783,
"alnum_prop": 0.7129943502824859,
"repo_name": "stankovski/azure-sdk-for-net",
"id": "126b98487f586903a001b92b5c562ce6981dbcc9",
... |
typedef char bool;
#define true 1
#define false 0
struct list_element
{
struct list_element * next;
struct list_element * previous;
};
typedef struct list_element list_element;
typedef struct
{
list_element * first;
list_element * last;
} list;
void list_init(list * container)
{
container->first = 0;
c... | {
"content_hash": "7209125e46507e8d112dde27fc878c4d",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 77,
"avg_line_length": 19.007751937984494,
"alnum_prop": 0.6174551386623165,
"repo_name": "arelenglish/programming-exercises",
"id": "33e052c75e0231a60218e8dcac82012e849c001... |
/*
* This file is public domain. Alternatively, you
* can use it under Creative Commons Zero license
*/
package indexer.config
object Indexer {
/**
* Built-in indexer classes. Do not put the abstract classes
* in this list.
*/
val builtin = Seq(
// "indexer.PDFIndexer",
// "i... | {
"content_hash": "8e2783e89f1b7295fe5af5426e7618d9",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 64,
"avg_line_length": 22.7,
"alnum_prop": 0.6189427312775331,
"repo_name": "ivan-cukic/litef-conductor",
"id": "e1910cdec5455baa67cd19524b9cc323cb497a62",
"size": "454",
... |
<?php
/**
* GithubScm
*
* PHP version 8.1.1
*
* @category Class
* @package OpenAPI\Server\Model
* @author OpenAPI Generator team
* @link https://github.com/openapitools/openapi-generator
*/
/**
* Swaggy Jenkins
*
* Jenkins API clients generated from Swagger / Open API specification
*
* The version... | {
"content_hash": "3005458a83a12872639a20eaa005d985",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 90,
"avg_line_length": 19.353211009174313,
"alnum_prop": 0.5461009717942641,
"repo_name": "cliffano/swaggy-jenkins",
"id": "538cc57c9775eda49ca8bdbf75405b181513b55b",
"siz... |
package core_test
import (
"strings"
"testing"
"time"
"github.com/OpenBazaar/wallet-interface"
"github.com/golang/protobuf/ptypes"
"github.com/OpenBazaar/openbazaar-go/core"
"github.com/OpenBazaar/openbazaar-go/repo"
"github.com/OpenBazaar/openbazaar-go/test/factory"
)
func TestReleaseFundsAfterTimeoutError... | {
"content_hash": "d04abb9ce6fb011b45d2f6f8c05b5720",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 154,
"avg_line_length": 33.7,
"alnum_prop": 0.7507418397626113,
"repo_name": "hoffmabc/openbazaar-go",
"id": "ab8f377a561e9e681141d101e92a75fa38bf3c24",
"size": "1685",
"... |
package com.google.javascript.jscomp;
import com.google.javascript.jscomp.CompilerOptions.LanguageMode;
/**
* Test that errors and warnings are generated in appropriate cases and
* appropriate cases only by VariableReferenceCheck when checking ES6 input
*
*/
public final class Es6VariableReferenceCheckTest exte... | {
"content_hash": "ecf5a3181be7da4711d0d1fe32702866",
"timestamp": "",
"source": "github",
"line_count": 397,
"max_line_length": 80,
"avg_line_length": 30.148614609571787,
"alnum_prop": 0.5447405798312307,
"repo_name": "mneise/closure-compiler",
"id": "9fed45ecec23f5be0d73d89eb82315c7c5549886",
"siz... |
//======================================================================================
// Copyright 5AM Solutions Inc, Yale University
//
// Distributed under the OSI-approved BSD 3-Clause License.
// See http://ncip.github.com/caarray/LICENSE.txt for details.
//=======================================================... | {
"content_hash": "d29381bcc6a58d8f597100b4cfa1f52a",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 90,
"avg_line_length": 32.064516129032256,
"alnum_prop": 0.6016096579476862,
"repo_name": "NCIP/caarray",
"id": "28399ca7e187b3d6aeddf32c4ed3e5cf5d5f65bf",
"size": "1988",
... |
This is an AngularJS SPA (Single Page Application) for retrieving and graphing stored data that is available on Sparkfun Phant server data streams.
It also implements a simple (for now) front-end for IoT device provisioning and also a simple MQTT monitor.
PhantGraphs allows to create a simple Dashboard for showing gra... | {
"content_hash": "be49626e2b8bbb8c15ffa0c2620f3c04",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 182,
"avg_line_length": 50.148936170212764,
"alnum_prop": 0.7874416631310989,
"repo_name": "fcgdam/PhantGraphs",
"id": "dff3ccfd69eb88255786267550a0db0968b86214",
"size": "... |
/* Author: Ioan Sucan */
#include "ompl/geometric/planners/sbl/pSBL.h"
#include "ompl/base/goals/GoalState.h"
#include "ompl/tools/config/SelfConfig.h"
#include <boost/thread.hpp>
#include <limits>
#include <cassert>
ompl::geometric::pSBL::pSBL(const base::SpaceInformationPtr &si) : base::Planner(si, "pSBL"),
... | {
"content_hash": "76d33256ed3db0d7a7ed60bb0d838345",
"timestamp": "",
"source": "github",
"line_count": 454,
"max_line_length": 148,
"avg_line_length": 31.411894273127754,
"alnum_prop": 0.547226702194797,
"repo_name": "sonny-tarbouriech/ompl",
"id": "22c9cdda4ab9a78486d91ce6cbf39e1308b6490c",
"size... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "661c737f3cf1d735cdb54cd3dca1cd1c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "8fe873042ac0dd061e32bbdd6a3ebce2fd0d6c09",
"size": "203... |
package netty.file;
import java.nio.charset.Charset;
import java.util.Hashtable;
import java.util.Map;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChan... | {
"content_hash": "bcc8661a0e894dfca2a112764ce136e8",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 77,
"avg_line_length": 26.902912621359224,
"alnum_prop": 0.7408877661494045,
"repo_name": "selfzhang/gitworkplace",
"id": "1f4580fbc9a6f266a122ef794e9e2f5448710349",
"size... |
require 'fileutils'
tmpdir = File.expand_path(File.join(File.dirname(__FILE__),'..','tmp'))
dbpath = File.join(tmpdir,'mongodb')
if File.exists? dbpath
puts "removing dbpath: #{dbpath}"
FileUtils.rm_rf dbpath
end
unless File.exists? dbpath
puts "creating dbpath: #{dbpath}"
FileUtils.mkdir_p dbpath
end
comma... | {
"content_hash": "18c3ef7ebf681f65d434f5bac9160844",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 100,
"avg_line_length": 31.318181818181817,
"alnum_prop": 0.5776487663280117,
"repo_name": "solnic/dm-mongo-adapter",
"id": "202b9e7e51f3e5d2ab7b2dfc4433be57d44bc7bd",
"siz... |
package scala.slick.driver
import scala.slick.lifted.TypeMapper
import scala.slick.ast.{SymbolNamer, Symbol}
trait BasicSQLUtilsComponent { driver: BasicDriver =>
def quoteIdentifier(id: String): String = {
val s = new StringBuilder(id.length + 4) append '"'
for(c <- id) if(c == '"') s append "\"\"" else s... | {
"content_hash": "2616f550949496586bb4501e413b3c63",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 90,
"avg_line_length": 29.107142857142858,
"alnum_prop": 0.6417177914110429,
"repo_name": "zefonseca/slick-1.0.0-scala.2.11.1",
"id": "1bba6672c0b81356513d15b48f6458dee17b241... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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" co... | {
"content_hash": "93008471cc6dd968b8e0d8e4983fee22",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 391,
"avg_line_length": 63.46236559139785,
"alnum_prop": 0.698407319552694,
"repo_name": "LiquidityC/flat",
"id": "eacc6249c2c1e9ea39c5f2dd2b50e421f45e99a6",
"size": "5902"... |
<!-- shared between quotes page and front page -->
<div class="masonry-item refined-user-quote">
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><div class="quote"><i>
“<?php echo get_the_content(); ?>”
</i></div></a>
<p id="author">— <?php the_title(); ?></p>
... | {
"content_hash": "4e336eba49bb512c4e93bec092b7af0d",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 100,
"avg_line_length": 41.75,
"alnum_prop": 0.592814371257485,
"repo_name": "jhotovy/refined",
"id": "dfce746ee7dd7ac31937e00a02eff4eb05e5bc6b",
"size": "334",
"binary": ... |
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Map
*
* @ORM\Table()
* @ORM\Entity(repositoryClass="AppBundle\Entity\MapRepository")
*/
class Map
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")... | {
"content_hash": "326f7c305e7458ad219449ba9df40737",
"timestamp": "",
"source": "github",
"line_count": 202,
"max_line_length": 75,
"avg_line_length": 17.435643564356436,
"alnum_prop": 0.5244179443498013,
"repo_name": "rlbaltha/vintage",
"id": "7aa9c6d938b66cb276c22fb6e729cd2230ef3685",
"size": "35... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ztop.Todo.Model
{
[Table("user_task")]
public class UserTask
{
public UserT... | {
"content_hash": "e78b808983ef862bf17d9e5510e7e27b",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 106,
"avg_line_length": 24.13953488372093,
"alnum_prop": 0.6242774566473989,
"repo_name": "LooWooTech/Kaopu",
"id": "a57f7f1b6202dd88f869e4ee8973befefa1bbbc5",
"size": "104... |
from datetime import datetime
from django.db import models
class WithScrobbleCountsManager(models.Manager):
"""
Adds a with_scrobble_counts() method.
"""
# Can we filter these (things) by Album?
is_filterable_by_album = True
# Can we filter these (things) by Artist?
is_filterable_by_art... | {
"content_hash": "ca066549fb23769aa960535151679462",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 82,
"avg_line_length": 33,
"alnum_prop": 0.5908253808806295,
"repo_name": "philgyford/django-ditto",
"id": "587bb9f918d1af60247fb15b1fff4e1d279bf485",
"size": "5973",
"b... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="/assets... | {
"content_hash": "01e64ca586cb665b6548016fdf5b7c3c",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 118,
"avg_line_length": 36.513513513513516,
"alnum_prop": 0.45595854922279794,
"repo_name": "tburch/jsonblob",
"id": "03bf0947dde5acfeb16331787b3d610124bd879e",
"size": "4... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.stats.weightstats.DescrStatsW.ztost_mean — statsmodels v0.10.1 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" href=... | {
"content_hash": "54d8385b82519aa4d91761cfa25e0ad0",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 518,
"avg_line_length": 46.698412698412696,
"alnum_prop": 0.6511443462497167,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "e469efbc3a730600aa8bd4fa535b53c1c91386... |
import re
def list_parser(names):
"""Parse a list of elements, some of which might be one-level sublists
within parentheses, into a a list of lists of those elements. For
example: list_parser('(a,b),c') -> [['a', 'b'], 'c']"""
elems = re.split(',', names)
ret = []
accum = []
for elem in el... | {
"content_hash": "bdc6a5c3e958ae34fc423058f82d3a8d",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 74,
"avg_line_length": 30.88888888888889,
"alnum_prop": 0.529226618705036,
"repo_name": "gem5/gem5",
"id": "d888f13460e5e8d8f390a547f314d0bdeeb4b1f4",
"size": "4293",
"bi... |
"""
Contains common test fixtures used to run AWS Identity and Access Management (IAM)
tests.
"""
import sys
# This is needed so Python can find test_tools on the path.
sys.path.append('../..')
from test_tools.fixtures.common import *
| {
"content_hash": "6ee6d51e903259e0c15450196fd611fb",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 82,
"avg_line_length": 26.22222222222222,
"alnum_prop": 0.7330508474576272,
"repo_name": "awsdocs/aws-doc-sdk-examples",
"id": "1a8cb23fd6b598dab767f678a49c37496963cb6f",
"s... |
#ifndef SHWILD_INCL_HPP_PATTERN
#define SHWILD_INCL_HPP_PATTERN
/* /////////////////////////////////////////////////////////////////////////
* Includes
*/
/* shwild Header Files */
#include <shwild/shwild.h>
/* STLSoft Header Files */
#include "shwild_stlsoft.h"
#if defined(STLSOFT_COMPILER_IS_... | {
"content_hash": "03251f8abee3d5bab22caeab5e5a31b5",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 98,
"avg_line_length": 28.22340425531915,
"alnum_prop": 0.4967960799095364,
"repo_name": "zvelo/pantheios",
"id": "1815f96c7bad340a491fe6eb9de6fc3a268efd9e",
"size": "4628"... |
/**=========================================================
* Module: calendar-ui.js
* This script handle the calendar demo with draggable
* events and events creations
=========================================================*/
(function($, window, document){
'use strict';
if(!$.fn.fullCalendar) r... | {
"content_hash": "2de49d3baaf52912c93dea5e669f7ab2",
"timestamp": "",
"source": "github",
"line_count": 2787,
"max_line_length": 825,
"avg_line_length": 32.01112307140294,
"alnum_prop": 0.46885613405817406,
"repo_name": "harshittrivedi78/hotel_listing",
"id": "0b663ca3d141e7ffd9f77a9d0b040c1385a0ab2f... |
<?php
namespace PHPExiftool\Driver\Tag\XMPPhotoshop;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class Source extends AbstractTag
{
protected $Id = 'Source';
protected $Name = 'Source';
protected $FullName = 'XMP::photoshop';
... | {
"content_hash": "799ed121ccbff2e79e44ab151d74dca9",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 46,
"avg_line_length": 15.973684210526315,
"alnum_prop": 0.657331136738056,
"repo_name": "bburnichon/PHPExiftool",
"id": "1533493c72419f76e95487ce5afa9a30becf7ee3",
"size":... |
package com.ibm.jbatch.container.artifact.proxy;
import java.io.Serializable;
import javax.batch.api.chunk.ItemReader;
import com.ibm.jbatch.container.exception.BatchContainerRuntimeException;
public class ItemReaderProxy extends AbstractProxy<ItemReader> implements ItemReader {
ItemReaderProxy(Ite... | {
"content_hash": "e51d57fd54ff86f18248b245f0ef87a1",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 86,
"avg_line_length": 26.428571428571427,
"alnum_prop": 0.6135135135135135,
"repo_name": "sidgoyal/standards.jsr352.jbatch",
"id": "8dc1b5c842119f34c4f0de752e0561467c7e3905"... |
from sqlagg.columns import SimpleColumn
from corehq.apps.reports.datatables import DataTablesHeader, DataTablesColumnGroup
from corehq.apps.reports.generic import GenericTabularReport
from corehq.apps.reports.sqlreport import DatabaseColumn
from corehq.apps.reports.standard import DatespanMixin, CustomProjectReport
fro... | {
"content_hash": "3536f2a9103f716cd788ebeb831aefce",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 113,
"avg_line_length": 44.188235294117646,
"alnum_prop": 0.6112886048988285,
"repo_name": "dimagi/commcare-hq",
"id": "0a17d3321d32e2540f76bcd4ed0cd4ab8172bed8",
"size": "... |
import React from "react";
import styled, { keyframes, createGlobalStyle } from "styled-components";
import Monoton from "../../styles/fonts/Monoton-Regular.ttf";
import Assistant from "../../styles/fonts/Assistant-ExtraLight.ttf";
import { library } from "@fortawesome/fontawesome-svg-core";
import { FontAwesomeIcon } ... | {
"content_hash": "9de6c754fe334d9b2b5c4e2a1f91324a",
"timestamp": "",
"source": "github",
"line_count": 540,
"max_line_length": 85,
"avg_line_length": 22.02777777777778,
"alnum_prop": 0.6207650273224044,
"repo_name": "osdc/osdc.github.io",
"id": "18f104582c66bd80317bf2df64e6512af7039d80",
"size": "... |
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports", "@angular/core", "../util/u... | {
"content_hash": "9de36a5a5ab54e2a6fa28b07f1df1dfd",
"timestamp": "",
"source": "github",
"line_count": 372,
"max_line_length": 155,
"avg_line_length": 39.895161290322584,
"alnum_prop": 0.4672191900815309,
"repo_name": "druffolo/druffolo_mblComputing_Assign1",
"id": "fe33c14065098f5c896cdf1de1c0098e2... |
#ifndef CQL_MAP_H_
#define CQL_MAP_H_
#include "libcql/cql.hpp"
namespace cql {
class cql_map_t
{
public:
virtual
~cql_map_t(){};
virtual bool
get_key_bool(size_t i,
bool& output) const = 0;
virtual bool
get_key_int(size_t i,
... | {
"content_hash": "4b9fe44af485d701fe2ceb8d9308901a",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 62,
"avg_line_length": 22.724489795918366,
"alnum_prop": 0.46699595868881905,
"repo_name": "mstump/libcql",
"id": "89e1edebccdd07f5daf672a75843f538ed534d26",
"size": "2838"... |
<?php
namespace Drupal\Core\TypedData;
/**
* Interface for complex data definitions.
*
* @see \Drupal\Core\TypedData\ComplexDataInterface
*
* @ingroup typed_data
*/
interface ComplexDataDefinitionInterface extends DataDefinitionInterface {
/**
* Gets the definition of a contained property.
*
* @par... | {
"content_hash": "fc904938bd772c80eabf9c79bedbbf97",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 78,
"avg_line_length": 27.934782608695652,
"alnum_prop": 0.7027237354085603,
"repo_name": "hrod/agile-california",
"id": "e7a3c1a622bd871f29eb55e16ba44377885648a5",
"size":... |
<Record>
<Term>Polyradiculoneuropathy</Term>
<SemanticType>Disease or Syndrome</SemanticType>
<ParentTerm>Autoimmune Diseases of the Nervous System</ParentTerm>
<ParentTerm>Polyneuropathies</ParentTerm>
<ParentTerm>Demyelinating Diseases</ParentTerm>
<ClassificationPath>Immune System Diseases/Autoimmune Diseases/... | {
"content_hash": "536775d6f8353365d6bceca140d91450",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 456,
"avg_line_length": 73.12903225806451,
"alnum_prop": 0.8491398323775915,
"repo_name": "detnavillus/modular-informatic-designs",
"id": "e94daf75d2791e8478bc4a6cff64f1260e0... |
'use strict';
module.exports = function IndexModel() {
return {
name: 'World'
};
};
| {
"content_hash": "91d549052ceb707382eb850bd947f726",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 40,
"avg_line_length": 14.428571428571429,
"alnum_prop": 0.5445544554455446,
"repo_name": "pcostell/nodejs-docs-samples",
"id": "2033c77b87f362b18143e169aa631965ed02c115",
"... |
import React, { Component } from 'react';
function SubComponent() {
return <div>Sub</div>;
}
const componentName = () => {
return <div>
<SubCoponent />
</div>;
};
export default componentName;
| {
"content_hash": "9184c8803bab7f9454579e68b0ebdcd6",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 41,
"avg_line_length": 15.846153846153847,
"alnum_prop": 0.6359223300970874,
"repo_name": "davesnx/babel-plugin-transform-react-qa-classes",
"id": "74a9a0582a018d6552c7386ff8... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.