text stringlengths 2 1.04M | meta dict |
|---|---|
package org.apache.jmeter.extractor;
import java.beans.PropertyDescriptor;
import org.apache.jmeter.testbeans.BeanInfoSupport;
public class DebugPostProcessorBeanInfo extends BeanInfoSupport {
public DebugPostProcessorBeanInfo() {
super(DebugPostProcessor.class);
PropertyDescriptor p;
... | {
"content_hash": "9355cb4d3cb9479c34bb4a19bfd974b2",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 65,
"avg_line_length": 31.024390243902438,
"alnum_prop": 0.6737421383647799,
"repo_name": "etnetera/jmeter",
"id": "14cf586ac2ba2fcba6a11ef5c18e422b5ce24235",
"size": "2069... |
package eu.matejkormuth.rpbuild.configuration.xml;
import java.nio.file.Path;
import java.nio.file.Paths;
import javax.xml.bind.annotation.adapters.XmlAdapter;
/**
* Maps Java NIO Path to String.
*/
public class XmlPathAdapter extends XmlAdapter<String, Path> {
@Override
public Path unmarshal(String v) throws ... | {
"content_hash": "213b39a9b4d65a14dbcce4e8c40626a8",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 62,
"avg_line_length": 18.708333333333332,
"alnum_prop": 0.7438752783964365,
"repo_name": "dobrakmato/rpbuild",
"id": "a3f239c612268ae33876b084d47d3a8f40835686",
"size": "1... |
"""Common runtime ctypes."""
# pylint: disable=invalid-name
from __future__ import absolute_import
import ctypes
import json
import numpy as np
from .base import _LIB, check_call
from .. import _api_internal
tvm_shape_index_t = ctypes.c_int64
class TypeCode(object):
"""Type code used in API calls"""
INT = 0
... | {
"content_hash": "c95cba26a0e819cec737938519d9cecd",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 84,
"avg_line_length": 29.528301886792452,
"alnum_prop": 0.5304792332268371,
"repo_name": "mlperf/training_results_v0.7",
"id": "72cff1a10eadbd7d75c23276b043e47cf2d88d16",
... |
package com.esri.gpt.control.georss;
import com.esri.gpt.catalog.search.OpenSearchProperties;
import java.io.IOException;
import java.io.PrintWriter;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.LinkedList;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.esri... | {
"content_hash": "70ca85eb71179dbfe78ce6448dae03f0",
"timestamp": "",
"source": "github",
"line_count": 939,
"max_line_length": 187,
"avg_line_length": 21.527156549520768,
"alnum_prop": 0.6197684772929652,
"repo_name": "treejames/GeoprocessingAppstore",
"id": "fb680f39cfd20512441a9118bae03b229e5b80f2... |
goog.provide('ol.test.style.Circle');
goog.require('ol.style.AtlasManager');
goog.require('ol.style.Circle');
goog.require('ol.style.Fill');
goog.require('ol.style.Stroke');
describe('ol.style.Circle', function() {
describe('#constructor', function() {
it('creates a canvas if no atlas is used (no fill-style)... | {
"content_hash": "1068294c79152001f2c610441cc7b669",
"timestamp": "",
"source": "github",
"line_count": 288,
"max_line_length": 87,
"avg_line_length": 33.06944444444444,
"alnum_prop": 0.5685636287274255,
"repo_name": "fblackburn/ol3",
"id": "83ebbedbef03b2e6c197a58f4ee7fe1549d12bed",
"size": "9524"... |
package org.xllapp.api.util;
import java.util.Map;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.core.JsonParser;
/**
* json工具类.
*
* @author dylan.chen Sep... | {
"content_hash": "b8d3085c35a32fc41bee644494e8c031",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 113,
"avg_line_length": 28.369747899159663,
"alnum_prop": 0.7313388625592417,
"repo_name": "chenzuopeng/xllapp-api-core",
"id": "45bad885504dc3e43d61b7c296d40ada98f115fc",
... |
package com.franktan.popularmovies.model;
/**
* Created by tan on 27/08/2015.
*/
@SuppressWarnings("SimplifiableIfStatement")
public class Review {
private String id;
private String author;
private String content;
private String url;
public Review () {}
public Review (String id, String auth... | {
"content_hash": "7ad105597d527422bac67bdbd22954a2",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 74,
"avg_line_length": 22.523255813953487,
"alnum_prop": 0.5338151781104801,
"repo_name": "frank-tan/Popular-Movies",
"id": "fb758c8c436708d176bb56176cdeb7bb4c99c551",
"siz... |
package org.broadinstitute.hellbender.tools.examples;
import com.google.common.annotations.VisibleForTesting;
import htsjdk.variant.variantcontext.VariantContext;
import org.broadinstitute.barclay.argparser.Argument;
import org.broadinstitute.barclay.argparser.CommandLineProgramProperties;
import org.broadinstitute.he... | {
"content_hash": "bdb9b4f5ee2830aaa41201c28fc994f9",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 125,
"avg_line_length": 39.34567901234568,
"alnum_prop": 0.7194854094759963,
"repo_name": "broadinstitute/hellbender",
"id": "870fb36a135d3ff76cc7b4dff1fb977723f41f51",
"si... |
console.log('imported-module.js running');
const MODULE_EXPORTED_VALUE = 'MODULE';
export default MODULE_EXPORTED_VALUE
| {
"content_hash": "b1fe5576cdb97263bc33f519ba95bfcd",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 42,
"avg_line_length": 40,
"alnum_prop": 0.7916666666666666,
"repo_name": "nwjs/chromium.src",
"id": "040f8880f7b8f78dee0cb026096a838de70710b3",
"size": "120",
"binary": f... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>svg</title>
<link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../../../index.html" title="Cha... | {
"content_hash": "2fa67cb458e55222b32bac40f7b8f541",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 840,
"avg_line_length": 46.192546583850934,
"alnum_prop": 0.5203711173860428,
"repo_name": "gnu3ra/SCC15HPCRepast",
"id": "5ea55a899373f71d4f939f2f649830d2c56107ff",
"size... |
package com.atlassian.jira.plugins.dvcs.model.dev;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import com.google.gson.annotations.SerializedName;
/**
*
*
*/
@XmlRootElement
@XmlAccessorTy... | {
"content_hash": "2b073f4045e13d8b21e616cb0ea5f936",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 73,
"avg_line_length": 18.419354838709676,
"alnum_prop": 0.6266199649737303,
"repo_name": "markphip/testing",
"id": "d86ed6678dd2e149aab07b0d938216f7582e438f",
"size": "28... |
<!DOCTYPE html>
<html>
<head>
<link href="resources/grid.css" rel="stylesheet">
<link href="resources/grid-alignment.css" rel="stylesheet">
<script src="../../resources/check-layout.js"></script>
<style>
body {
margin: 0;
}
.grid {
grid: 50px 50px / 100px 100px;
position: relative;
width: 200px;
he... | {
"content_hash": "30a066b419c1abb46fc10853da4ac585",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 145,
"avg_line_length": 63.73652694610779,
"alnum_prop": 0.68836903419767,
"repo_name": "Workday/OpenFrame",
"id": "fa7ce4d63901e35887120aa92a959242cc1f9caf",
"size": "106... |
<?php
//
// default settings
$DEFAULT_THEME = "_default";
$BLOG_SEARCH_PARAM = 's';
$BLOG_POST_ID_PARAM = 'p';
$BLOG_POST_DATE_FORMAT = "F j, Y";
$GOOGLE_ANALYTICS_TRACKING_CODE = <<<EOT
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).pus... | {
"content_hash": "34918e97b4e07a32428ada13b5eb3a76",
"timestamp": "",
"source": "github",
"line_count": 1444,
"max_line_length": 125,
"avg_line_length": 21.68213296398892,
"alnum_prop": 0.6437765498738381,
"repo_name": "cristian-sulea/php-personal-web-site",
"id": "22fc3896432f001c2680fa6c49ada01d623... |
package com.cb.model;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;
import org.hibernate.search.annotations.Analyze;
import org.hibernate.search.annotation... | {
"content_hash": "87dabc0429ce3c55f3f98f73f764cae9",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 97,
"avg_line_length": 26.936507936507937,
"alnum_prop": 0.619917501473188,
"repo_name": "deng947/nbstudio",
"id": "fe88d79648532656816f6b0b6c7dc41f2a8a1e55",
"size": "339... |
using System;
using System.Collections.Generic;
using System.Linq;
using Liquid.NET.Constants;
using Liquid.NET.Symbols;
using Liquid.NET.Tags;
using Liquid.NET.Utils;
namespace Liquid.NET.Rendering
{
public class IncludeRenderer
{
public static string LOCALREGISTRY_FILE_KEY = "include";... | {
"content_hash": "0a92376cffac0ca1b0608e13291be7c7",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 156,
"avg_line_length": 40.704081632653065,
"alnum_prop": 0.5931311105540236,
"repo_name": "mikebridge/Liquid.NET",
"id": "103521a25790dae40652335392b37f229cd413a9",
"size... |
import Adafruit_Nokia_LCD as LCD
import Adafruit_GPIO.SPI as SPI
from PIL import Image
from PIL import ImageFont
from PIL import ImageDraw
from re import sub
# Edison software SPI config:
SCLK = 35 # 10
DIN = 26 # 11
DC = 25 # 32
RST = 45 # 46
CS = 31 # 23
disp = LCD.PCD8544(DC, RST, SCLK, DIN, CS)
with open('... | {
"content_hash": "31e987504572a5bdce4921282070cd81",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 100,
"avg_line_length": 24.375,
"alnum_prop": 0.6905982905982906,
"repo_name": "projectbuendia/server-status",
"id": "01b78579525ad7dec2895be9788bea08c2cdf83c",
"size": "60... |
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns:ee="http://www.mulesoft.org/schema/mule/ee/core" xmlns:wsc="http://www.mulesoft.org/schema/mule/wsc"
xmlns:http="http://www.mulesoft.org/schema/mule/http"
xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"... | {
"content_hash": "c3ef392f83e9c18dca6c5fcbda432669",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 308,
"avg_line_length": 73.70967741935483,
"alnum_prop": 0.7557986870897155,
"repo_name": "ICfl/anypoint-examples",
"id": "90193605bcfc8775fe013f0afe6aff8c9e5c7681",
"size"... |
package com.microsoft.azure.management.network.v2020_04_01;
import com.microsoft.azure.arm.collection.SupportsCreating;
import com.microsoft.azure.arm.resources.collection.SupportsDeletingByResourceGroup;
import com.microsoft.azure.arm.resources.collection.SupportsBatchDeletion;
import com.microsoft.azure.arm.resour... | {
"content_hash": "c412ef740db92d5a2fa978924b362b6a",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 273,
"avg_line_length": 51.73684210526316,
"alnum_prop": 0.8596134282807731,
"repo_name": "selvasingh/azure-sdk-for-java",
"id": "94d9ca80fe555d9f95ca4d1b90b46c94bc058d5f",
... |
Riddle::Client::Versions[:search] = 0x117
Riddle::Client::Versions[:excerpt] = 0x102
class Riddle::Client
private
# Generation of the message to send to Sphinx for an excerpts request.
def excerpts_message(options)
message = Message.new
message.append [0, excerpt_flags(options)].pack('N2') # 0 =... | {
"content_hash": "22df2b5dc1963ebc7a405a63659b32ee",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 72,
"avg_line_length": 30.9375,
"alnum_prop": 0.702020202020202,
"repo_name": "Napolskih/thinking-sphinx",
"id": "961edba652f6cdf1101a20f6eea8ede0a00a2485",
"size": "990",
... |
//
// CommentsView.m
// Fashion
//
// Created by MRH-MAC on 15/7/9.
// Copyright (c) 2015年 MRH-MAC. All rights reserved.
//
#import "CommentsView.h"
@implementation CommentsView
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animatio... | {
"content_hash": "f90bfad7c2152294945ab1859862819a",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 74,
"avg_line_length": 16.782608695652176,
"alnum_prop": 0.694300518134715,
"repo_name": "Mrh08512/Fashion_Show",
"id": "d328c3c472ea82c808d4be1bc0d24b39e17c164b",
"size": ... |
package com.joywifi.knowledge.controller.interceptor;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.method.HandlerMethod;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import com.joywifi.knowledge.annotation.Che... | {
"content_hash": "6c37b7e7fdd9a6d0beff17a2954956fe",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 121,
"avg_line_length": 31.46153846153846,
"alnum_prop": 0.652200488997555,
"repo_name": "roaki/knowledge-base",
"id": "f088c42b339f8563e273267b39b0c487115132bc",
"size": "... |
package net.kuujo.copycat.io.transport;
import net.kuujo.copycat.io.Buffer;
import net.kuujo.copycat.util.Assert;
import net.kuujo.copycat.util.Listener;
import net.kuujo.copycat.util.Listeners;
import net.kuujo.copycat.util.ReferenceCounted;
import net.kuujo.copycat.util.concurrent.Context;
import net.kuujo.copycat.... | {
"content_hash": "e4358a764546719059af3415a4ad18cf",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 94,
"avg_line_length": 29.407821229050278,
"alnum_prop": 0.6859802431610942,
"repo_name": "aruanruan/copycat",
"id": "86d4ea6026420a26b01f7e1a8ffca863915d8139",
"size": "5... |
/******************************************************************************
This source file is part of the Avogadro project.
This source code is released under the 3-Clause BSD License, (see "LICENSE").
******************************************************************************/
#ifndef AVOGADRO_QTGUI_PERS... | {
"content_hash": "2cd248fcb448200fd35e999d65931b09",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 79,
"avg_line_length": 27.592307692307692,
"alnum_prop": 0.6780039029829942,
"repo_name": "OpenChemistry/avogadrolibs",
"id": "1e0027f6c8c94bf20c8222db5820f48e73e04cd0",
"... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ImageView android:id="@+id/thumbImage"
android:layout_width="100dp"
android:layout_height="100dp"
... | {
"content_hash": "dd491d5e76dab5d7b69d9d0fb59a9083",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 74,
"avg_line_length": 33.30555555555556,
"alnum_prop": 0.6472060050041701,
"repo_name": "FrancescoPileo/FacePlusPlusTester",
"id": "22a641d3ffcb1ce652faf589af7d589a79795701"... |
"""A library containing exception types used by Endpoints ProtoRPC services."""
import httplib
from protorpc import remote
class ServiceException(remote.ApplicationError):
"""Base class for request/service exceptions in Endpoints."""
def __init__(self, message=None):
super(ServiceException, self).__ini... | {
"content_hash": "4ccfbdaa72df80bd448e08a2579bc29c",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 79,
"avg_line_length": 28.93548387096774,
"alnum_prop": 0.750278706800446,
"repo_name": "justingrayston/gae-python-endpoints-patch",
"id": "25c6513ff33ff705ac1ab4c191fee7a0d0... |
<?php
namespace DreamFactory\Core\Models;
use DreamFactory\Core\Components\RegisterContact;
use DreamFactory\Core\Database\Schema\RelationSchema;
use DreamFactory\Core\Events\UserCreatingEvent;
use DreamFactory\Core\Events\UserDeletedEvent;
use DreamFactory\Core\Exceptions\NotFoundException;
use DreamFactory\Core\Exc... | {
"content_hash": "8921101e1262c59a612f46fbcbee762c",
"timestamp": "",
"source": "github",
"line_count": 676,
"max_line_length": 111,
"avg_line_length": 32.41568047337278,
"alnum_prop": 0.5090585497193447,
"repo_name": "dreamfactorysoftware/df-core",
"id": "701706b82f1b04b1e464a9260b44029d16be0fce",
... |
using System;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using CountingApp.Core.Config;
namespace CountingApp.IdentityServer
{
public class Program
{
public static void Main(string[] args)
{
Console.Title = "CountingApp.IdentityServer";
BuildWebHos... | {
"content_hash": "8307f6bcd26ff0050506f1fc8f7ce800",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 61,
"avg_line_length": 25.08695652173913,
"alnum_prop": 0.6117850953206239,
"repo_name": "DMokhnatkin/CountingApp",
"id": "913d69596cdafb544d89177904fceef99bb0a6b2",
"size"... |
#pragma once
#include <aws/securityhub/SecurityHub_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/securityhub/model/IpOrganizationDetails.h>
#include <aws/securityhub/model/Country.h>
#include <aws/securityhub/model/City.h>
#include <aws/securityhub/model/GeoLocation.h>
#include <utility>
... | {
"content_hash": "f8b25cdf038cf7ca5c4a3a10e12856d5",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 134,
"avg_line_length": 31.982905982905983,
"alnum_prop": 0.6628808123997862,
"repo_name": "awslabs/aws-sdk-cpp",
"id": "e91292529dfa82ea44cc3e72546f6deaff0f1cae",
"size":... |
var mongoose = require('mongoose')
, Schema = mongoose.Schema
, Mixed = Schema.Types.Mixed
, ObjectId = Schema.ObjectId;
var Page = new Schema({
title : String,
slug : String,
template : String,
data : Object
});
Page.pre('save', function (next) {
// Do someth... | {
"content_hash": "98052c3d84a75eaaa6bc4fc7883070be",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 37,
"avg_line_length": 17.983606557377048,
"alnum_prop": 0.5706472196900638,
"repo_name": "derekcaneja/node-cms",
"id": "af4ca79dfb19b36929c502fde67d6370d968b043",
"size": ... |
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Overflow Test: Intrinsic size of a "overflow:auto" vertical scroll container</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="help" hr... | {
"content_hash": "220e86304a9b92229ba8e82ef94d180b",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 97,
"avg_line_length": 40.30434782608695,
"alnum_prop": 0.6936353829557713,
"repo_name": "nwjs/chromium.src",
"id": "093fd283c77b71e7f73914761cc086e10c12a0d6",
"size": "927... |
#ifndef ALIPHOSFASTRECPARTICLE_H
#define ALIPHOSFASTRECPARTICLE_H
/* $Id$ */
/* History of cvs commits:
*
* $Log$
* Revision 1.36 2005/05/28 14:19:04 schutz
* Compilation warnings fixed by T.P.
*
*/
//_________________________________________________________________________
// A Particle modified by PHOS ... | {
"content_hash": "22921b04610dceb2df6773489fd8cd26",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 107,
"avg_line_length": 30.443478260869565,
"alnum_prop": 0.6443873179091688,
"repo_name": "jgrosseo/AliRoot",
"id": "d9a55e165f449f4573e0d36af61cdb0b743e5514",
"size": "3... |
require 'open-uri'
require 'archive/tar/minitar'
require 'tempfile'
require 'fog/octocloud/requests/compute/convert_cube'
module Fog
module Compute
class Octocloud
class Real
def local_import_box(boxname, src, md5, opts = {})
target = @box_dir.join(boxname)
target.mkdir unless... | {
"content_hash": "79a88b431c67b14734bda73099f8d4a3",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 65,
"avg_line_length": 19.866666666666667,
"alnum_prop": 0.5704697986577181,
"repo_name": "lstoll/fog-octocloud",
"id": "00108e8a75d3aba112a836420c92e8c02665648c",
"size": ... |
var f = require('./Foo');
var j = require('jquery');
f();
| {
"content_hash": "758490fe325b7b23fddf3d38c8b24bcb",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 26,
"avg_line_length": 19.333333333333332,
"alnum_prop": 0.5517241379310345,
"repo_name": "koala-framework/koala-framework",
"id": "7b183ec07ff468d40db1af4481d3e0a7045a4c22",
... |
<ly-slider [ngClass]="classes.slider" [value]="76"></ly-slider>
<ly-slider [ngClass]="classes.slider" [value]="[11, 50]" [color]="'primary'"></ly-slider>
| {
"content_hash": "d64f7fd54d7e2bba8b64a7feb51ac333",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 89,
"avg_line_length": 77,
"alnum_prop": 0.6493506493506493,
"repo_name": "A-l-y-l-e/Alyle-UI",
"id": "97b1c3a92a663775c9bac0c8bfcd203f7ba32c59",
"size": "154",
"binary": ... |
/**
* jqGrid English Translation
* Tony Tomov tony@trirand.com
* modified by Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
/*jslint white: tr... | {
"content_hash": "8e21aedc5e4394f764c92b4e58f33890",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 140,
"avg_line_length": 44.825892857142854,
"alnum_prop": 0.4641967931480928,
"repo_name": "PayPal-Opportunity-Hack-Chennai-2015/PCVC-Organization",
"id": "7eb7c81d2ccc0946a... |
package com.xeiam.xchange.dto.trade;
import java.math.BigDecimal;
/**
* <p>
* DTO representing a Wallet
* </p>
* <p>
* This is simply defined by an amount of money in a given currency, contained in the cash object.
* </p>
* <p>
* This class is immutable.
* </p>
*/
public final class Wallet {
private fina... | {
"content_hash": "d9eee8e86fac681062d63724e12954f1",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 106,
"avg_line_length": 20.915966386554622,
"alnum_prop": 0.6050622740056247,
"repo_name": "Achterhoeker/XChange",
"id": "e03d8595def7797836c65e050cdef2687996d607",
"size"... |
@implementation TelDataBase
+(TelDataBase*)shareTelDataBase
{
static TelDataBase* telDatabase = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
telDatabase = [[TelDataBase alloc]init];
});
return telDatabase;
}
- (FMDatabase *)db{
if (!_db) {
_db = [FMDataba... | {
"content_hash": "1a609d121fc15663e1e4c640f3ea7320",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 308,
"avg_line_length": 33.04761904761905,
"alnum_prop": 0.5891313297653356,
"repo_name": "jiangyicheng/telnetiOSApp",
"id": "bee9b1034bc904b7b1d01164c99b2ac4d551ed5a",
"s... |
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType
import copy as _copy
class Tickformatstop(_BaseTraceHierarchyType):
# class properties
# --------------------
_parent_path_str = "indicator.gauge.axis"
_path_str = "indicator.gauge.axis.tickformatstop"
_valid_props... | {
"content_hash": "35f2d68f9a639bf2f0f37e6cb583f00d",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 82,
"avg_line_length": 33.745583038869256,
"alnum_prop": 0.5631413612565445,
"repo_name": "plotly/python-api",
"id": "c1229fce583d3e09171760092e83644dab96ac5a",
"size": "9... |
<ion-item [ngClass]="{'wallet-disabled': !wallet?.isComplete() || wallet?.needsBackup || notSupported}">
<coin-icon [ngClass]="{'easeload': useFadeEffect}" [coin]="wallet.coin" [network]="wallet.network" item-left></coin-icon>
<ion-label>
<div class="main-label">{{ wallet?.name }}</div>
<ion-note *ngIf="not... | {
"content_hash": "928913db86c54cd445754139c10c203e",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 188,
"avg_line_length": 59.0625,
"alnum_prop": 0.6132275132275132,
"repo_name": "cmgustavo/copay",
"id": "a61e0243c453b2ccba200c97bebf0488bd7c7026",
"size": "1890",
"bina... |
describe('Cache#keys()', function () {
it('should return the array of keys of all items in the cache.', function () {
var itemKeys = ['item1', 'item2', 'item3'];
var cache = TestCacheFactory('DSCache.keys.cache');
cache.put(itemKeys[0], itemKeys[0]);
assert.deepEqual(cache.keys(), [itemKeys[0]]);
... | {
"content_hash": "3cac96652851962cae89dc2cbce2694d",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 104,
"avg_line_length": 30.142857142857142,
"alnum_prop": 0.6308056872037915,
"repo_name": "nishant8BITS/angular-cache",
"id": "13dbf1c9be8205340fd24fdbeba8b463d2dcfe37",
"... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template peaks_over_threshold_prob</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../..... | {
"content_hash": "0cdf2a8420974a4ca57a69fccaa96087",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 529,
"avg_line_length": 91.79245283018868,
"alnum_prop": 0.6783144912641316,
"repo_name": "goldcoin/gldcoin",
"id": "ef0514fab0164850aad7f94895b44ee32380990a",
"size": "486... |
var curry = require('fnkit/curry');
module.exports = function(watch){
watch('todoToggled', _updateTodo({
completed: function(c){return !c;},
}));
watch('todoEdited', _updateTodo({
status:'editing'
}));
watch('todoDestroyed', onTodoDestroyed);
watch('todoSaved', _updateTodo(function(data){
return... | {
"content_hash": "02a69d7a3479bb8591c7a63b49b3a004",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 75,
"avg_line_length": 24.59036144578313,
"alnum_prop": 0.6276335129838314,
"repo_name": "ybybzj/m-react-todomvc-perf",
"id": "c4bc9b26c18b7f6ed9f9495d72e589b885270acc",
"s... |
require "securerandom"
require "active_support/dependencies/autoload"
require "active_support/version"
require "active_support/logger"
require "active_support/lazy_load_hooks"
require "active_support/core_ext/date_and_time/compatibility"
module ActiveSupport
extend ActiveSupport::Autoload
autoload :Concern
auto... | {
"content_hash": "03879096ee128526ed0fa075e95b7ea2",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 76,
"avg_line_length": 25.56,
"alnum_prop": 0.7664319248826291,
"repo_name": "kddeisz/rails",
"id": "de0a46d68901df0267440c01e071b8a6debee56d",
"size": "3706",
"binary":... |
require File.expand_path('../../../spec_helper', __FILE__)
describe "Mutex#unlock" do
it "raises ThreadError unless Mutex is locked" do
mutex = Mutex.new
lambda { mutex.unlock }.should raise_error(ThreadError)
end
it "raises ThreadError unless thread owns Mutex" do
mutex = Mutex.new
wait = Mutex... | {
"content_hash": "6d96f48029e7550f7d9ee4caea7ac324",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 65,
"avg_line_length": 21.864864864864863,
"alnum_prop": 0.657601977750309,
"repo_name": "benlovell/rubyspec",
"id": "9e4116f7b9db0b9ded9e789cc18a77750c6aec30",
"size": "80... |
import Ember from 'ember';
import layout from '../templates/components/materialize-collapsible';
export default Ember.Component.extend({
layout: layout,
tagName: 'li',
classNameBindings: 'class'
});
| {
"content_hash": "7100d9417521bd0e1e51cbc684212938",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 69,
"avg_line_length": 25.75,
"alnum_prop": 0.7427184466019418,
"repo_name": "rtablada/ember-cli-materialize",
"id": "1d7d16e32206292fd3be8aac984b76587bfd7811",
"size": "206... |
package com.github.aleksandermielczarek.observablecache;
import android.support.annotation.Nullable;
import java.util.HashMap;
import java.util.Map;
import rx.Observable;
import rx.Single;
/**
* Created by Aleksander Mielczarek on 30.10.2016.
*/
public final class MapObservableCache extends ObservableCache {
... | {
"content_hash": "bcdd48b962405045dec7f2986a90b3f0",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 72,
"avg_line_length": 25.346153846153847,
"alnum_prop": 0.6312594840667678,
"repo_name": "AleksanderMielczarek/ObservableCache",
"id": "971e2df2237f60ec2eeca42e3228af960bf0... |
package builtin_md;
public class builtin_concurrent_Future_onFinished_Method extends builtin.reflect.Method implements io.datawire.quark.runtime.QObject {
public builtin_concurrent_Future_onFinished_Method() {
super("builtin.void", "onFinished", new java.util.ArrayList(java.util.Arrays.asList(new Object[]{... | {
"content_hash": "b859db3f14718df0f48db3e8722afd73",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 145,
"avg_line_length": 43.421052631578945,
"alnum_prop": 0.6933333333333334,
"repo_name": "bozzzzo/quark",
"id": "e6f572e14eda246c33c523b3c7f1e3bae8e3b0c9",
"size": "825",... |
package jp.ac.hal.kobayashi.simplejava;
public class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
}
}
| {
"content_hash": "ef5483cdbcbb043c32385e30e75f35ec",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 41,
"avg_line_length": 20.857142857142858,
"alnum_prop": 0.7123287671232876,
"repo_name": "java-samples/java-hello",
"id": "699040558158f0aa60a5350f7d5456532ba47637",
"size"... |
import { Component, OnInit } from '@angular/core';
import { Hero, HeroService } from './heroes';
@Component({
moduleId: module.id,
selector: 'sg-app',
templateUrl: 'app.component.html',
providers: [HeroService]
})
export class AppComponent implements OnInit {
heroes: Hero[];
constructor(private heroServi... | {
"content_hash": "a9432d0b06b59dfe3ee94c950473fe78",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 75,
"avg_line_length": 23.105263157894736,
"alnum_prop": 0.6924829157175398,
"repo_name": "GuzmanPI/angular-es",
"id": "5b10b49c37b61f995cb7fe91c3a51e580f995ce0",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="false">
<shape>
<solid android:color="@color/orange1"/>
<corners android:radius="8dp"/>
</shape>
</item>
<item android:state_pres... | {
"content_hash": "403a6d183a44266db03a89830f83c805",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 69,
"avg_line_length": 30.25,
"alnum_prop": 0.5640495867768595,
"repo_name": "LSL-Git/ImageLabelerApp",
"id": "b4fc7c7ab20c6370457ff1fee3c696214190ef02",
"size": "484",
"... |
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="jcommon-init [clean, install, site]" type="MavenRunConfiguration" factoryName="Maven">
<MavenSettings>
<option name="myGeneralSettings" />
<option name="myRunnerSettings" />
<option name="myRunnerParameters">
... | {
"content_hash": "42b1e30e65905a70e3504dee95bd8222",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 125,
"avg_line_length": 33.689655172413794,
"alnum_prop": 0.5660184237461617,
"repo_name": "jcommon/init",
"id": "c85c028631451ab0e3a5700332211177f990e84b",
"size": "977",
... |
import os
import pytest
TESTS_DIR = os.path.dirname(os.path.abspath(__file__))
@pytest.fixture
def fixtures_dir():
return os.path.join(TESTS_DIR, 'fixtures')
| {
"content_hash": "bbaccb2b706d0ab817ff2472333b1b3d",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 54,
"avg_line_length": 18.333333333333332,
"alnum_prop": 0.7090909090909091,
"repo_name": "red-hat-storage/rhcephcompose",
"id": "b217a51a0479bfb18f18871cebe6f245fca14274",
... |
@class CContact, EnterpriseBrandContactHelper, ForwardMessageLogicController, MMScrollView, MMTableView, NSArray, NSMutableArray, NSMutableDictionary, NSString;
@interface EnterpriseBrandContactListViewController : MMUIViewController <ForwardMessageLogicDelegate, EnterpriseBrandContactHelperDelegate, UITableViewDataSo... | {
"content_hash": "828ede4b8e574c4ddfbb34da378c4313",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 260,
"avg_line_length": 44.44615384615385,
"alnum_prop": 0.7923156801661475,
"repo_name": "walkdianzi/DashengHook",
"id": "4dc72137b62515ecc68090fc5a874d7762b86205",
"size"... |
//go:build e2e
// +build e2e
package conformance
import (
"context"
"log"
"os"
"strings"
"testing"
"knative.dev/pkg/system"
"knative.dev/eventing/test"
testlib "knative.dev/eventing/test/lib"
"knative.dev/eventing/test/lib/setupclientoptions"
"knative.dev/pkg/test/zipkin"
)
const (
recordEventsAPIPodN... | {
"content_hash": "fee3843d84d8ab5539dab4f1019eb04e",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 98,
"avg_line_length": 28.823529411764707,
"alnum_prop": 0.7836734693877551,
"repo_name": "knative/eventing",
"id": "26ece5f4bc7a9a454b4b8b00a177a3b270d56d90",
"size": "301... |
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 322131 $ -->
<refentry xml:id="function.mysqlnd-qc-clear-cache" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>mysqlnd_qc_clear_cache</refname>
<refpurpose>Flush all cache contents</refpurpose>
</refna... | {
"content_hash": "1cd35fef99a0b6fed5bd0d4689c1a1cd",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 132,
"avg_line_length": 24.454545454545453,
"alnum_prop": 0.7211895910780669,
"repo_name": "mziyut/.vim",
"id": "c3b9d54311a499fa4a698366834f2e75cf583dab",
"size": "1883",
... |
interface ISessionExpirationService {
getSessionExpiredStream(): Rx.Observable<{}>;
} | {
"content_hash": "dc7b34c47e6101bdb55e9051fdaa9701",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 49,
"avg_line_length": 30.333333333333332,
"alnum_prop": 0.7582417582417582,
"repo_name": "LeeCampbell/ReactiveTrader",
"id": "be65327bd6b1d0466bbc1e14cd69358aa9195e9d",
"si... |
<?php
namespace Sylius\Bundle\VariationBundle\Form\Type;
use Sylius\Bundle\ResourceBundle\Form\EventSubscriber\AddCodeFormSubscriber;
use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType;
use Sylius\Bundle\VariationBundle\Form\EventListener\BuildVariantFormSubscriber;
use Symfony\Component\Form\FormBuild... | {
"content_hash": "1bbbc4534ac87eca7b17f6ea3593aa74",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 118,
"avg_line_length": 26.051724137931036,
"alnum_prop": 0.6525479814692257,
"repo_name": "TeamNovatek/Sylius",
"id": "6ae3a678ef94f654e801f662cb41995a8789062b",
"size": "... |
include(hunter_add_version)
include(hunter_cacheable)
include(hunter_download)
include(hunter_pick_scheme)
hunter_add_version(
PACKAGE_NAME
SQLite3
VERSION
"autoconf-3080803"
URL
"https://www.sqlite.org/2015/sqlite-autoconf-3080803.tar.gz"
SHA1
2fe3f6226a2a08a2e814b97cd53e36bb3c597112
)... | {
"content_hash": "ac6862437aecd4a3455298a5698a54cd",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 64,
"avg_line_length": 23.210526315789473,
"alnum_prop": 0.7687074829931972,
"repo_name": "daminetreg/hunter",
"id": "bc5c43b10d7a845f98084b13bb8684fa5951bdb0",
"size": "56... |
package org.apache.camel.builder.endpoint.dsl;
import javax.annotation.Generated;
import org.apache.camel.builder.EndpointConsumerBuilder;
import org.apache.camel.builder.EndpointProducerBuilder;
import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
/**
* Access OpenStack Swift object/blob store.
*
*... | {
"content_hash": "141ecd711d713b7847364fc30328c516",
"timestamp": "",
"source": "github",
"line_count": 259,
"max_line_length": 104,
"avg_line_length": 34.15444015444015,
"alnum_prop": 0.5683924937825006,
"repo_name": "pax95/camel",
"id": "2a3c36a21f5af69e174a089ea1d4a0eeead89559",
"size": "9648",
... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | {
"content_hash": "66c5579b594c18206a04be5e27aa35ec",
"timestamp": "",
"source": "github",
"line_count": 664,
"max_line_length": 132,
"avg_line_length": 37.93825301204819,
"alnum_prop": 0.5846532491762931,
"repo_name": "pyros2097/moodle-integration",
"id": "ed19db7d8313967a2d8110ca7e170ab3901a147c",
... |
Storage is a first class object in Project6. Most other orchestration systems
are focused on using the storage that is already provisioned. Instead, Project6
pools storage from disks of all nodes in the cluster. It is meant for bare
metal on premises deployment. To try this outside of the vagrant setup, please
contact ... | {
"content_hash": "852c9b4d45b3c74b4444a5efe0dc330c",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 88,
"avg_line_length": 43.16129032258065,
"alnum_prop": 0.7507473841554559,
"repo_name": "DatawiseIO/Project6",
"id": "22470f28d793576e7d4e3d423554dff85e9093db",
"size": "2... |
using System;
namespace SharpKit.Html.svg
{
using SharpKit.JavaScript;
using SharpKit.Html.fileapi;
using SharpKit.Html.html.shadow;
using SharpKit.Html.html.track;
using SharpKit.Html.inspector;
using SharpKit.Html.loader.appcache;
using SharpKit.Html.battery;
using SharpKit.Html.filesystem;
using SharpKit.Html.g... | {
"content_hash": "125ad6dd9b21aea362720e0028191f3a",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 109,
"avg_line_length": 24.953488372093023,
"alnum_prop": 0.8117427772600186,
"repo_name": "SharpKit/SharpKit-SDK",
"id": "9d0541e7146823200f4a190d656ea2fb2d5e915e",
"size"... |
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace Sakura.AspNetCore.Mvc
{
/// <summary>
/// Control the generation process for a single pager item.
/// </summary>
public class PagerItemOptions
{
/// <summary>
/// Get or set a generator that used to generate t... | {
"content_hash": "7afd4642422740348b13d0f196d5d39d",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 133,
"avg_line_length": 35.982608695652175,
"alnum_prop": 0.6884968583856935,
"repo_name": "sgjsakura/AspNetCore",
"id": "a550b41dfcf5daf4c5f9ed88edb1d5374912f861",
"size"... |
"""
sentry.conf.server
~~~~~~~~~~~~~~~~~~
These settings act as the default (base) settings for the Sentry-provided web-server
:copyright: (c) 2010-2014 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from __future__ import absolute_import
from django.conf.global_se... | {
"content_hash": "7abf6141d1d1618de90b1770df689a48",
"timestamp": "",
"source": "github",
"line_count": 838,
"max_line_length": 113,
"avg_line_length": 29.011933174224342,
"alnum_prop": 0.6535867061533399,
"repo_name": "BayanGroup/sentry",
"id": "38ac7714a33cdc3573f545c04aa08f71552c789c",
"size": "... |
package de.simu.decomap.config.gui.loads;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Properties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import de.simu.decomap.config.gui.values.ConfigSettings;
import de.simu.decomap.config.gui.values.Pr... | {
"content_hash": "689770cf9d96f7c50d22d58f0e593cfa",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 137,
"avg_line_length": 26.53846153846154,
"alnum_prop": 0.6893719806763285,
"repo_name": "decoit/decomap-config-gui",
"id": "1229c9cf39450f83a76ec1a6fde11e7a8cba7280",
"si... |
<?php
namespace Cms\Http;
use Numencode\Models\Task;
class TaskController extends BaseController
{
/**
* Display a listing of the tasks.
*
* @return \Illuminate\View\View
*/
public function index()
{
$tasks = Task::latest()->get();
return view('theme::tasks.list', com... | {
"content_hash": "f38d18e0bd6335c7f851c1a3e5aab734",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 59,
"avg_line_length": 19.425531914893618,
"alnum_prop": 0.5290251916757941,
"repo_name": "BlazOrazem/numencode",
"id": "ce499042326d574992d89ece04be6a0e7a1a47ea",
"size": ... |
var app= angular.module('MonApp', ['ngRoute']);
app.config(function($routeProvider){
$routeProvider
.when('/', {templateUrl: 'partials/filieres.html', controller: 'FilieresCtrl'})
//.when('/comments/:id', {templateUrl: 'partials/comments.html', controller: 'CommentsCtrl'})
... | {
"content_hash": "7f5fcab912aa562a9f33007252a16a1e",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 127,
"avg_line_length": 66,
"alnum_prop": 0.6279461279461279,
"repo_name": "brookkk/brainss",
"id": "02c4e60ebbd1ea804ea34c229ac334db981bdb87",
"size": "594",
"binary": fa... |
"""Utility to retrieve function args."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import functools
import os
import time
from tensorflow.python.platform import gfile
from tensorflow.python.platform import tf_logging as logging
from tensorflow.python... | {
"content_hash": "463fd66b846bc1f17c3debd2479aca24",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 80,
"avg_line_length": 32.88172043010753,
"alnum_prop": 0.7164813603662524,
"repo_name": "allenlavoie/tensorflow",
"id": "bb4bdd3fdfb2e19dbc1c581d7771f2e1ac4442ba",
"size":... |
Additional header content
Specifies the orientation of labels on the axis.
**Namespace:** <a href="N_iTin_Export_Model">iTin.Export.Model</a><br />**Assembly:** iTin.Export.Core (in iTin.Export.Core.dll) Version: 2.0.0.0 (2.0.0.0)
## Syntax
**C#**<br />
``` C#
[SerializableAttribute]
public enum KnownLab... | {
"content_hash": "734f2cc1472e6012a68ce140cbb2ba57",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 811,
"avg_line_length": 45.1875,
"alnum_prop": 0.7053941908713693,
"repo_name": "iAJTin/iExportEngine",
"id": "910bf7ddca1fceddee6248ccce9203dd7783a9e0",
"size": "1482",
... |
An introduction to RooFit
| {
"content_hash": "1b6c25055e8861f09bab0318a846368f",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 25,
"avg_line_length": 26,
"alnum_prop": 0.8461538461538461,
"repo_name": "betatim/roofit-tutorial",
"id": "b03de849b76fa21a2421a8d5c1d0d7fd69286e7c",
"size": "44",
"binar... |
CREATE TABLE users (
id INTEGER PRIMARY KEY AUTO_INCREMENT,
name TEXT NOT NULL,
hair_color TEXT,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);
| {
"content_hash": "ebfce961881932dd6f4460a3287bc8ca",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 85,
"avg_line_length": 35.857142857142854,
"alnum_prop": 0.7808764940239044,
"repo_name": "sgrif/diesel",
"id": "4194890fe37ae93deffc4171f129a4944909f9fe",
"size": "251",
... |
<?php
namespace Hamcrest\Text;
class StringEndsWithTest extends \Hamcrest\AbstractMatcherTest
{
const EXCERPT = 'EXCERPT';
private $_stringEndsWith;
public function setUp()
{
$this->_stringEndsWith = \Hamcrest\Text\StringEndsWith::endsWith(self::EXCERPT);
}
protected ... | {
"content_hash": "65390c8a114b3b17c1a57c92c8ef826f",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 97,
"avg_line_length": 31.56451612903226,
"alnum_prop": 0.5825242718446602,
"repo_name": "focuslife/v0.1",
"id": "49a61557cbb80f4a24c4e2de9807988a64a3d4f2",
"size": "1957",... |
<h2>Modifying existing JavaScript for RequireJS <small><?php echo $date; ?></small></h2>
<p>I recently organized all of my JavaScript code into RequireJS
modules and have some notes on why it's worth it to make the necessary changes
in order to get it set up correctly. While you do have to wrap every file in a <code>d... | {
"content_hash": "5fadbae39b30cb83f446cae1d3b8e529",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 113,
"avg_line_length": 57.09090909090909,
"alnum_prop": 0.7515923566878981,
"repo_name": "aisthesis/codemelon-2014",
"id": "414dfdb44e9f97066bc65d3cee7ec765808a49f9",
"siz... |
/usr/bin/psql "${DATABASE_URL/postgis/postgres}" -c 'CREATE EXTENSION IF NOT EXISTS postgis;'
/usr/bin/psql "${DATABASE_URL/postgis/postgres}" -c 'CREATE EXTENSION IF NOT EXISTS postgis_topology;'
| {
"content_hash": "6b4d6a98d887eb3a634d780311d21a09",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 102,
"avg_line_length": 98.5,
"alnum_prop": 0.751269035532995,
"repo_name": "ministryofjustice/laa-legal-adviser-api",
"id": "42f6bf08c893c7ede0b050189fa8ab0e6eecdf32",
"siz... |
//----------------------------------------------------------------------------
/** @file SpMinLibPlayer.h
Minimum liberty player - blocks with fewest liberties are most urgent.
*/
//----------------------------------------------------------------------------
#ifndef SP_MINLIBPLAYER_H
#define SP_MINLIBPLAYER_H
#in... | {
"content_hash": "daddbc2a569bc3e2876e4ac6417436ca",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 78,
"avg_line_length": 22.51851851851852,
"alnum_prop": 0.5032894736842105,
"repo_name": "MisterTea/HyperNEAT",
"id": "d08980cddb0c6acfccfcc33b5d0603dff15ef751",
"size": "1... |
"""Classes and functions used to construct graphs."""
# pylint: disable=g-bad-name
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import collections
import copy
import os
import re
import sys
import threading
import numpy as np
import six
from six.moves im... | {
"content_hash": "09401ad4856b6f27d65cd3eb401011f7",
"timestamp": "",
"source": "github",
"line_count": 6106,
"max_line_length": 116,
"avg_line_length": 36.42581067802162,
"alnum_prop": 0.6636707790806416,
"repo_name": "ZhangXinNan/tensorflow",
"id": "5527f5286074baefaa29c6aec8a7c027a759f377",
"siz... |
<?php
/**
* ItemAction is ...
*
*
* @author Sage Gerard <sage@isodev.us>
* @version
* @package
* @since 1.0
*/
class ItemAction extends CAction
{
public function run($id)
{
$this->controller->layout = '//layouts/column2';
$rest = new RestCurlClient();
$url = Yii::ap... | {
"content_hash": "cf383a6604e64aabf0708e2124ad6d02",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 66,
"avg_line_length": 17.65625,
"alnum_prop": 0.5380530973451327,
"repo_name": "freesideatlanta/qr-lbc-website",
"id": "92821f4867a7f3b698ea39efad539c8beaf68b64",
"size": ... |
package no.noen.server.hl3;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import no.noen.eos.EMeter;
import no.noen.lms.*;
import no.noen.server.lms.SyncTool;
import no.noen.server.term.TerminalRequest;
/**
* ETM terminal request handler for ... | {
"content_hash": "ca9cb75cacb26398ddf786313c6a9aae",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 107,
"avg_line_length": 38.728155339805824,
"alnum_prop": 0.5342191025319629,
"repo_name": "haakom/EnergiWeb-remake",
"id": "29d0589224cd90f6871fc7ab3d59b06741213e17",
"si... |
<!doctype html>
<html class="theme-next use-motion theme-next-mist">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<me... | {
"content_hash": "47d803bbfead368e4aa32c6d916c8628",
"timestamp": "",
"source": "github",
"line_count": 475,
"max_line_length": 647,
"avg_line_length": 28.172631578947367,
"alnum_prop": 0.5743536093259602,
"repo_name": "jerryling315/jerryling315.github.io",
"id": "5ca7fcc89f14329fbc7fb07efa10e96e24a2... |
package com.tiny.demo.firstlinecode.materialdesign;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.CollapsingToolbarLayout;
import android.support.v7.app.ActionBar;
import android.support.v7.widget.Toolbar;
import android.view.MenuItem;
imp... | {
"content_hash": "4bc81f94797c6671e89dd3eb7c8c9875",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 122,
"avg_line_length": 32.548780487804876,
"alnum_prop": 0.6736605470213564,
"repo_name": "tinyvampirepudge/Android_Basis_Demo",
"id": "47c125e319ab51f553f5c7d06ed6bb6764360... |
/**
* @private
*/
Ext.define('Ext.grid.header.DropZone', {
extend: 'Ext.dd.DropZone',
colHeaderCls: Ext.baseCSSPrefix + 'column-header',
proxyOffsets: [-4, -9],
constructor: function(headerCt) {
var me = this;
me.headerCt = headerCt;
me.ddGroup = me.getDDGroup();
... | {
"content_hash": "867549d11be4661b87f5e04b4b62a696",
"timestamp": "",
"source": "github",
"line_count": 349,
"max_line_length": 169,
"avg_line_length": 43.6189111747851,
"alnum_prop": 0.5445707153649083,
"repo_name": "guillaumeguerin/openmusic",
"id": "650e5ec82b7642bcbdeea71b96bbec365b207ba9",
"si... |
package org.batfish.representation.cumulus_nclu;
import com.google.common.collect.ImmutableSet;
import java.io.Serializable;
import java.util.Set;
import javax.annotation.Nonnull;
import org.batfish.datamodel.IntegerSpace;
/** Settings for bridged ports */
public class Bridge implements Serializable {
private @Non... | {
"content_hash": "2c43ce8f125beafdb20334279502a7bc",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 84,
"avg_line_length": 22.821428571428573,
"alnum_prop": 0.676056338028169,
"repo_name": "intentionet/batfish",
"id": "cb95967a4320d9dc407795c87796c9f7d4053e32",
"size": "1... |
require 'rufus-json/automatic'
require 'wrong_api_client'
require File.join(File.dirname(__FILE__), 'credentials.rb')
Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each do |f|
require(f)
end
RSpec.configure do |config|
# == Mock Framework
#
# If you prefer to use mocha, flexmock or RR, uncommen... | {
"content_hash": "349c1903992a789c7137d20faca80ed8",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 79,
"avg_line_length": 20.791666666666668,
"alnum_prop": 0.6913827655310621,
"repo_name": "jmettraux/wrong_api_client",
"id": "a015b347d50296493eb6441c5941dbdb3d0dd70c",
"s... |
#include <okui/View.h>
#include <okui/Application.h>
#include <okui/BitmapFont.h>
#include <okui/blending.h>
#include <okui/opengl/opengl.h>
#include <okui/shapes/Rectangle.h>
#include <okui/Window.h>
#include <scraps/Reverse.h>
#include <cassert>
namespace okui {
View::~View() {
if (application()) {
... | {
"content_hash": "e8c7e41d5b5666371963cfba588962a5",
"timestamp": "",
"source": "github",
"line_count": 888,
"max_line_length": 166,
"avg_line_length": 29.69481981981982,
"alnum_prop": 0.6167469376919869,
"repo_name": "bittorrent/okui",
"id": "1e8cc98c6428f0dcbc2fa131b130e92f76fe3123",
"size": "269... |
package com.intellij.uiDesigner.i18n;
import com.intellij.uiDesigner.lw.StringDescriptor;
import com.intellij.uiDesigner.radComponents.RadComponent;
import com.intellij.uiDesigner.radComponents.RadContainer;
class FormBorderStringDescriptorAccessor extends StringDescriptorAccessor {
private final RadContainer myCon... | {
"content_hash": "55e272e764c670278e95c91079972fde",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 95,
"avg_line_length": 27.857142857142858,
"alnum_prop": 0.8076923076923077,
"repo_name": "google/intellij-community",
"id": "5c780b063080dbd533f20464fca8316e0c6e87a7",
"si... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "80cc7aecbb55689d771e3aa1d3ebfad8",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "098131be59d1b0984af74c9bd6d8425bf491d7b0",
"size": "173... |
<!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_151) on Fri Jun 22 04:34:14 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.cdi.jaxrs... | {
"content_hash": "0f50b7381ecbacb9f0230c05e4e6cfc3",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 271,
"avg_line_length": 38.61702127659574,
"alnum_prop": 0.6152433425160698,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "d3b222530efa113cc04b51cd5deb50b866cc... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title></title> <meta name="robots" content="noindex, nofollow"> <meta http-equiv="Content-Type" content="text/html; charset={ini:settings.charset}"> <meta http-equiv="Cache-Control" c... | {
"content_hash": "c0c683e3e4637670656363e2467425b0",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 360,
"avg_line_length": 27.717391304347824,
"alnum_prop": 0.6556862745098039,
"repo_name": "kinglion/tttuangou",
"id": "fdb4ea5577a8aa42bda5e1192592b3aea1f416a3",
"size": "... |
/**
* @fileoverview Tests for restore key UI
*/
/** @suppress {extraProvide} */
goog.provide('e2e.ext.actions.RestoreKeyringDataTest');
goog.require('e2e.error.InvalidArgumentsError');
goog.require('e2e.ext.actions.RestoreKeyringData');
goog.require('e2e.ext.constants');
goog.require('goog.crypt.base64');
goog.re... | {
"content_hash": "d883befece04bbb12e9db6a057ef2dff",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 73,
"avg_line_length": 26.755555555555556,
"alnum_prop": 0.6785714285714286,
"repo_name": "01022499/end-to-end",
"id": "bc1566a38f077e9e53cc3c01fc9fcee49f42d47a",
"size": "... |
var canvas;
var gl;
var numVertices = 36;
var pointsArray = [];
var normalsArray = [];
var vertices = [
vec4( -0.5, -0.5, 0.5, 1.0 ),
vec4( -0.5, 0.5, 0.5, 1.0 ),
vec4( 0.5, 0.5, 0.5, 1.0 ),
vec4( 0.5, -0.5, 0.5, 1.0 ),
vec4( -0.5, -0.5, -0.5, 1.0 ),
vec4( -0.5,... | {
"content_hash": "aed4e07439e474e6a4caf300797f95f7",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 76,
"avg_line_length": 29.52409638554217,
"alnum_prop": 0.613140175474393,
"repo_name": "llucbrell/WebGL",
"id": "cde62f797a1caf7c53af40f47d3f0d97e9c7fa4e",
"size": "4903"... |
<?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": "a42f2557b40232765f9bb4b5818c5e4a",
"timestamp": "",
"source": "github",
"line_count": 444,
"max_line_length": 201,
"avg_line_length": 37.4527027027027,
"alnum_prop": 0.6220458235612484,
"repo_name": "apache/npanday",
"id": "0859e6257f93942807f06966738107ce4277f769",
"size": "16629... |
import pytest
from spacy.serialize.packer import Packer
from spacy.attrs import ORTH, SPACY
from spacy.tokens import Doc
import math
@pytest.mark.models
def test_read_write(EN):
doc1 = EN(u'This is a simple test. With a couple of sentences.')
doc2 = EN(u'This is another test document.')
with open('/tmp/... | {
"content_hash": "32866957be4e772c525bd6afbb161343",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 68,
"avg_line_length": 28.764705882352942,
"alnum_prop": 0.6319018404907976,
"repo_name": "pombredanne/spaCy",
"id": "f90bb20c2473d6873041cc310118fc3f11ff25d4",
"size": "14... |
@implementation SMState
@synthesize entry = _entry;
@synthesize exit = _exit;
- (id)initWithName:(NSString *)name {
return [super initWithName:name];
}
- (void)setEntrySelector:(SEL)entrySel executeIn:(NSObject *)object {
self.entry = [SMAction actionWithSel:entrySel executeIn:object];
}
- (void)setExitSel... | {
"content_hash": "6eebd7f817d442eae18ccd389e8777c7",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 102,
"avg_line_length": 29.662650602409638,
"alnum_prop": 0.690089358245329,
"repo_name": "fredmajor/WDFlickrPhotoUploader",
"id": "67e0b9255e8a011e665a40eee4ae991e09795768",... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.opentransport.rdfmapper.nmbs.containers;
public class NetworkDisturbance {
private String headerText;
private... | {
"content_hash": "2ae40ff81a2dcceba3f76be67215c5a4",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 195,
"avg_line_length": 24,
"alnum_prop": 0.6423303834808259,
"repo_name": "iRail/brail2gtfs-rt",
"id": "a3c0856a5ab61194dab820f66294f40855af8816",
"size": "2712",
"bina... |
@interface NSObject (RunTime)
+ (NSSet *)propertiesNames;
+ (NSSet *)allPropertiesNames;
+ (NSSet *)subclassesNames;
- (NSString *)fullDescription;
@end
#endif | {
"content_hash": "27e48b9c0dd973151cf10d99992cb195",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 30,
"avg_line_length": 12.692307692307692,
"alnum_prop": 0.7151515151515152,
"repo_name": "noughts/WebHere",
"id": "e7928d41799d614f2222d11393b3b8e08dd46703",
"size": "1474... |
<!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_67) on Wed Oct 08 15:57:24 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.a... | {
"content_hash": "02bf5ed8fd508d51c958355219595f59",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 347,
"avg_line_length": 42.925,
"alnum_prop": 0.6370122306348281,
"repo_name": "gsoundar/mambo-ec2-deploy",
"id": "71e7a11bf9e73bc9258d854a309f5f0bcbed3172",
"size": "6868... |
template <typename T>
SD_LIB_HIDDEN void NDArray::applyTriplewiseLambda(NDArray& second, NDArray& third,
const std::function<T(T, T, T)>& func, NDArray& target) {
if (dataType() != DataTypeUtils::fromT<T>())
throw std::runtime_error(
"NDArray::applyTriple... | {
"content_hash": "eb984ff44510542f02fd303df4c44538",
"timestamp": "",
"source": "github",
"line_count": 433,
"max_line_length": 120,
"avg_line_length": 52.91916859122402,
"alnum_prop": 0.5777254080474818,
"repo_name": "deeplearning4j/deeplearning4j",
"id": "39af1ba76dfb4d55f3ff75a425589528ea7b3248",
... |
<?php
namespace DesignPatterns\Creational\FactoryMethod;
use DesignPatterns\Creational\Builder\BuilderInterface;
/**
* class FactoryMethod
*/
abstract class FactoryMethod
{
const CHEAP = 1;
const FAST = 2;
/**
* The children of the class must implement this method
*
* Sometimes this me... | {
"content_hash": "0da5a3de86c0b896cefe520d5ad6d2ec",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 62,
"avg_line_length": 20.075,
"alnum_prop": 0.6077210460772104,
"repo_name": "ineista/pattern",
"id": "3c2755820defb0dd95d480b635febfc895f7a260",
"size": "803",
"binary"... |
<?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
https://maven.apache.org/maven-v4_0_0.xsd
"
>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>... | {
"content_hash": "a36a1f3a446f9aa9d710feffdb325838",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 55,
"avg_line_length": 28.605263157894736,
"alnum_prop": 0.6550137994480221,
"repo_name": "revolsys/ca.bc.gov.open.cpf",
"id": "bb7c761ae60a2e199d7668508a2faf967894579e",
"... |
@interface RadioDetailInfoModel : BaseModel
@property (nonatomic, copy) NSString *coverimg;
@property (nonatomic, copy) NSString *desc;
@property (nonatomic, copy) NSString *radioid;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, strong) NSNumber *musicvisitnum;
@property (nonatomic, strong) Radio... | {
"content_hash": "f4ee022fbe2d95cecb7bd891169137cd",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 59,
"avg_line_length": 31.90909090909091,
"alnum_prop": 0.7806267806267806,
"repo_name": "NeighborWangShushu/Leisure",
"id": "b3974ee197bf0d4099182fa6d62a188f15d3cb44",
"si... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.