text stringlengths 2 1.04M | meta dict |
|---|---|
package com.example.hp.exercise10_sharepreference;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will ... | {
"content_hash": "b8633e77828361fd9c7cd09d53ba3ebd",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 95,
"avg_line_length": 30.23076923076923,
"alnum_prop": 0.7557251908396947,
"repo_name": "mahdiheravi/Exercise10_sharepreference",
"id": "aaece2af60e718d202f6cb479b7ea8b09ae7... |
using System;
using System.ComponentModel;
using OSharp.Core.Packs;
using OSharp.Entity;
using OSharp.Entity.MySql;
namespace Liuliu.Demo.Web.Startups
{
/// <summary>
/// MySql-DefaultDbContext迁移模块
/// </summary>
[DependsOnPacks(typeof(MySqlEntityFrameworkCorePack))]
[Description("MySql-DefaultDb... | {
"content_hash": "2d5a7b029f3763eed31576bf3c67aa9f",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 104,
"avg_line_length": 29.384615384615383,
"alnum_prop": 0.6483420593368238,
"repo_name": "i66soft/osharp-ns20",
"id": "9527779b1343f8fdc1db63c94a7331c0db21d4df",
"size": ... |
package checksum
import (
"encoding/base64"
"fmt"
"strconv"
"testing"
"github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-05-01/resources"
"github.com/Azure/go-autorest/autorest/to"
"github.com/giantswarm/azure-operator/v6/pkg/helpers/vmss"
"github.com/giantswarm/azure-operator/v6/service/control... | {
"content_hash": "c0557bb6e501cd765bcc978fbe6b2411",
"timestamp": "",
"source": "github",
"line_count": 400,
"max_line_length": 236,
"avg_line_length": 31.815,
"alnum_prop": 0.7132641835612132,
"repo_name": "giantswarm/azure-operator",
"id": "fccb59a4b4f152cc35214beb8e849fb226a2b78d",
"size": "1272... |
class Solution {
public:
int maxDepth(TreeNode* root) {
if (root == NULL) {
return 0;
}
int left = maxDepth(root->left);
int right = maxDepth(root->right);
return (left > right) ? left + 1 : right + 1;
}
}; | {
"content_hash": "d2c35de44632809a2bfb76c7941bed40",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 53,
"avg_line_length": 24.181818181818183,
"alnum_prop": 0.5,
"repo_name": "andy-sheng/leetcode",
"id": "79264469736bdc5b8879f8d5fca8a8023fa18e49",
"size": "266",
"binary... |
'''
.. _motionevent:
Motion Event
============
The :class:`MotionEvent` is the base class used for every touch and non-touch
event. This class defines all the properties and methods needed to handle 2D and
3D movements but has many more capabilities.
.. note::
You never create the :class:`MotionEvent` yourself:... | {
"content_hash": "72c54b4a6c5b746e3b4fddb51cd153ec",
"timestamp": "",
"source": "github",
"line_count": 467,
"max_line_length": 80,
"avg_line_length": 33.5524625267666,
"alnum_prop": 0.5563852192226689,
"repo_name": "kivatu/kivy_old",
"id": "3554160e2cc37199be7070b49a21c390a2122357",
"size": "15669... |
<?php
class Tribe__Events__Pro__Recurrence__Meta_Builder {
/**
* @var array
*/
protected $data;
/**
* @var int An event type post ID
*/
protected $event_id;
/**
* @var Tribe__Events__Pro__Recurrence__Utils
*/
protected $utils;
/**
* Tribe__Events__Pro__Recurrence__Meta_Builder constructor.
*... | {
"content_hash": "470744df049164e959c41dffdfdd03dd",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 148,
"avg_line_length": 33.6,
"alnum_prop": 0.5900297619047619,
"repo_name": "mandino/hotelmilosantabarbara.com",
"id": "f29237009f29113fb947deaa02edb9e2c007e3eb",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>unicoq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | {
"content_hash": "a1e204089af1e6c6742f4a43d8837649",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 159,
"avg_line_length": 40.75595238095238,
"alnum_prop": 0.5332262304658975,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "8bdb55f38fd000cbc4b1ce804b996718b7051342",
... |
<!--?xml version="1.0" encoding="utf-8"?-->
<request method="invoice.lines.add">
<invoice_id>111</invoice_id>
<lines>
<line>
<amount>40</amount>
<name>Yak Shaving</name>
<description>Shaved the yak</description>
<unit_cost>10</unit_cost>
<quantity>4</quantity>
<type>Item</typ... | {
"content_hash": "bcff06132abcaa6d1e118a22c28d4a54",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 56,
"avg_line_length": 26.818181818181817,
"alnum_prop": 0.5966101694915255,
"repo_name": "mattjcowan/FreshBooks.Api",
"id": "353096bc68d90cdc629bda818c15ee8b251f1900",
"si... |
@interface ViewController (Swizzling)
@end
| {
"content_hash": "8dca672cf448e15d3d5269560995a120",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 37,
"avg_line_length": 14.666666666666666,
"alnum_prop": 0.7954545454545454,
"repo_name": "wangyanlong/MyCode",
"id": "89e09381b8f84bb12d6e1f1a7ed5466692dc965a",
"size": "21... |
function playerButtons(){
console.log("butts");
}
| {
"content_hash": "6c08e8335a0e461a8c8b72b2ec926384",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 25,
"avg_line_length": 17,
"alnum_prop": 0.7058823529411765,
"repo_name": "rcxking/pierce_logic_reloaded",
"id": "17e428af0f8f8bad8e9ad004f3151fcc28ddbf6a",
"size": "51",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "64e76014344c8b96540fafebfbe73229",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "acddc39d917ccee463bd4aae70abb4b6f6506aef",
"size": "172... |
#ifndef GAME_H
#define GAME_H
/*Game*/
#define ROTSPEED 0.1
#define STEP_SIZE 0.2
#define SHOOT_BUTTON 12
#define SHOOT_BUTTON2 9
#define RIGHT 0
#define LEFT 1
#define NBR_OF_ENEMIES 6
typedef struct Player {
double x;
double y;
double dirX;
double dirY;
double planeX;
double planeY;
uint8_t shooting;... | {
"content_hash": "c5bb2083ee717d9dadb9231ca9b07f91",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 49,
"avg_line_length": 18.36842105263158,
"alnum_prop": 0.7177650429799427,
"repo_name": "mrskoog/ray-gfx",
"id": "83e2a2b303fb6f629848c836e501805ab314207e",
"size": "698",... |
.class Lcom/android/server/am/ServiceRecord$1;
.super Ljava/lang/Object;
.source "ServiceRecord.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/android/server/am/ServiceRecord;->postNotification()V
.end annotation
.annotation ... | {
"content_hash": "cf48a8a6391cec45719c256b052df4e9",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 187,
"avg_line_length": 30.48603351955307,
"alnum_prop": 0.7293384643577057,
"repo_name": "baidurom/devices-onex",
"id": "4c5a3a82749bdd1f27dd40519dbffbf2223092cc",
"size"... |
export {AotCompilerHost, AotCompilerHost as StaticReflectorHost, StaticReflector, StaticSymbol} from '@angular/compiler';
export {CodeGenerator} from './src/codegen';
export {CompilerHost, CompilerHostContext, ModuleResolutionHostAdapter, NodeCompilerHostContext} from './src/compiler_host';
export {Extractor} from './... | {
"content_hash": "a5407388fee81318bcfd3bb9f58e34ed",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 124,
"avg_line_length": 40.75,
"alnum_prop": 0.7689161554192229,
"repo_name": "xcaliber-tech/angular",
"id": "b9cd406d968c2d262afd9b3134f766d851e281c3",
"size": "691",
"b... |
#import "AppDelegate.h"
#import "RCTRootView.h"
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
NSURL *jsCodeLocation;
/**
* Loading JavaScript code - uncomment the one you want.
*
* OPTION 1
* Load from dev... | {
"content_hash": "061b8b1f473473ac79cc059fd5e77c28",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 147,
"avg_line_length": 36.666666666666664,
"alnum_prop": 0.6433884297520661,
"repo_name": "lrettig/react-native-stripe",
"id": "29c12c075f540aadac858d560171f2cc738705c2",
... |
package org.apache.druid.query.aggregation;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Ordering;
import java.util.List;
publi... | {
"content_hash": "4fc8e7452937a7113f6cb094510b7bb3",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 85,
"avg_line_length": 27.448979591836736,
"alnum_prop": 0.7078066914498141,
"repo_name": "mghosh4/druid",
"id": "79cb1cadfae348fe125066bb9ab874e3dbf0ed05",
"size": "2152",... |
<?php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
class RespuestaType extends A... | {
"content_hash": "a5de89b8182631d6a2c5724b97835c90",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 112,
"avg_line_length": 31.68,
"alnum_prop": 0.5366161616161617,
"repo_name": "1211agarcia/sistemaPrediccion",
"id": "730e48c943d1f7c702e30d2cd8152f8d32f2dd39",
"size": "15... |
<?xml version="1.0" standalone="no"?>
<!DOCTYPE caldavtest SYSTEM "caldavtest.dtd">
<!--
Copyright (c) 2006-2015 Apple Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at... | {
"content_hash": "c744a39b0b3410a71f36be1d4f6c8e88",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 75,
"avg_line_length": 29.50581395348837,
"alnum_prop": 0.6599014778325123,
"repo_name": "fpiotrow/caldav-tester-packaging",
"id": "fe4cfd53ae9fbb6e38e4dfc4b49f3642f308e904"... |
<?php
session_start();
$thispage = 'index';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>VOICE ☑</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#f... | {
"content_hash": "72ccf10c490c1527f398af548748fc8f",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 224,
"avg_line_length": 46.57692307692308,
"alnum_prop": 0.6073492981007432,
"repo_name": "calittle/voice",
"id": "32bf255e068ddf58fa8d89dd9632a3798a75eecf",
"size": "4844... |
<?php
/**
* @see Zend_Gdata_Extension
*/
require_once 'Zend/Gdata/Extension.php';
/**
* @see Zend_Gdata_Geo
*/
require_once 'Zend/Gdata/Geo.php';
/**
* @see Zend_Gdata_Geo_Extension_GmlPos
*/
require_once 'Zend/Gdata/Geo/Extension/GmlPos.php';
/**
* Represents the gml:point element us... | {
"content_hash": "7488f94f4e620a0d501427b8303453ea",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 89,
"avg_line_length": 28.196581196581196,
"alnum_prop": 0.5871476204910578,
"repo_name": "Harshad-Makwana/NEW-Facebook-Photos-Challenges",
"id": "f826b2986b7f2cf0620e588019... |
import json
import pandas as pd
import numpy as np
import glob
import os
from pyaxiom.netcdf.sensors import TimeSeries
# In[27]:
var = 'pwrsys'
buoys = {'ce02shsm':{'lon':-124.31, 'lat':44.64, 'depth':0.0},
'ce04ossm':{'lon':-124.31, 'lat':44.64, 'depth':0.0},
'ce07shsm':{'lon':-124.31, 'lat':44.6... | {
"content_hash": "2fe6dbd118b3ee77fd720215817280ad",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 84,
"avg_line_length": 20.472972972972972,
"alnum_prop": 0.6102310231023103,
"repo_name": "rsignell-usgs/notebook",
"id": "429e8c5fdfe1742c9a418aff2fe65382c1f1a742",
"size... |
package org.openkilda.wfm.topology.switchmanager.model.v2;
import org.openkilda.messaging.info.switches.v2.MisconfiguredInfo;
import org.openkilda.messaging.info.switches.v2.RuleInfoEntryV2;
import lombok.Value;
import java.util.List;
@Value
public class ValidateRulesResultV2 {
boolean asExpected;
List<Ru... | {
"content_hash": "6343ddb1143ffaab619c44b087b51e06",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 66,
"avg_line_length": 26,
"alnum_prop": 0.805668016194332,
"repo_name": "telstra/open-kilda",
"id": "eb855b6377ba58307e4772dd611eadd07119e824",
"size": "1111",
"binary":... |
"""For checking health with the kubernetes API."""
from __future__ import division
from __future__ import unicode_literals
import os
from datetime import datetime
import requests
# standard location for gke containers
CACRT = str("/var/run/secrets/kubernetes.io/serviceaccount/ca.crt")
class KubeAPI(object):
... | {
"content_hash": "582c66b87707ee1771243c45efcd6a36",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 76,
"avg_line_length": 27.93661971830986,
"alnum_prop": 0.5384421477186792,
"repo_name": "ccpgames/kube-shields",
"id": "88a05e283e59b59dc9977303cb829fd79332c623",
"size":... |
<?php
// SOAP_CLIENT_BASEDIR - folder that contains the PHP Toolkit and your WSDL
// $USERNAME - variable that contains your Salesforce.com username (must be in the form of an email)
// $PASSWORD - variable that contains your Salesforce.ocm password
define("SOAP_CLIENT_BASEDIR", "../soapclient");
$USERNAME = 'mrusso... | {
"content_hash": "c4f90edb82e78fb8550c9883c2bb8005",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 104,
"avg_line_length": 36.08,
"alnum_prop": 0.7117516629711752,
"repo_name": "miradnan/Force.com-PHP-Toolkit",
"id": "f26e08340d23a5fb542d29084951d6ee52d67a84",
"size": "9... |
<?php
namespace Base\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Activity
*
* @ORM\Table(name="bonus")
* @ORM\Entity
*/
class Bonus extends Base\BaseEntity
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strate... | {
"content_hash": "bb060224c51ef2e209424ae0176c8c8e",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 67,
"avg_line_length": 16.960591133004925,
"alnum_prop": 0.48620389195469066,
"repo_name": "Jhonnorton/vivekvtc",
"id": "887f47c3563df48b82d1c6d349251506ac8bdbb2",
"size":... |
'use strict';
import 'vs/css!./media/runtimeExtensionsEditor';
import * as nls from 'vs/nls';
import * as os from 'os';
import product from 'vs/platform/node/product';
import URI from 'vs/base/common/uri';
import { EditorInput } from 'vs/workbench/common/editor';
import pkg from 'vs/platform/node/package';
import { ... | {
"content_hash": "ec7988f8b22294bcc36dbf51bc2a4de2",
"timestamp": "",
"source": "github",
"line_count": 594,
"max_line_length": 235,
"avg_line_length": 36.387205387205384,
"alnum_prop": 0.7314703432960118,
"repo_name": "cra0zy/VSCode",
"id": "e6256d7aeaea8d751ee3cc5f221f804774146ff5",
"size": "2196... |
CREATE SCHEMA USER_REALM_DB;
USE USER_REALM_DB;
-- Tables
CREATE TABLE Users
(
username VARCHAR(255) PRIMARY KEY,
passwd VARCHAR(255)
);
CREATE TABLE UserRoles
(
username VARCHAR(255),
role VARCHAR(32)
);
-- Default data
INSERT INTO Users (`username`, `passwd`) VALUES ('admin', 'jGl25bVBBBW96Qi9Te4V37Fnqchz/Eu4... | {
"content_hash": "173d8589a8a8be5b509b3c81af62027a",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 106,
"avg_line_length": 21.346153846153847,
"alnum_prop": 0.7225225225225225,
"repo_name": "wesleyegberto/java-webservices",
"id": "98f74abfb9b18d2e9fc26294960952189d72fa07",... |
<?php // phpcs:disable Generic.PHP.DiscourageGoto.Found
declare(strict_types=1);
namespace Mwop\Contact\Handler;
use Mezzio\Helper\UrlHelper;
use Mezzio\Template\TemplateRendererInterface;
use Psr\Container\ContainerInterface;
use Psr\EventDispatcher\EventDispatcherInterface;
class ProcessContactFormHandlerFactory... | {
"content_hash": "0edadcbb91417682924cdd6a4939b383",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 86,
"avg_line_length": 30.875,
"alnum_prop": 0.7341430499325237,
"repo_name": "weierophinney/mwop.net",
"id": "f8ef59f5511ae2ac8e93bd766c2bc61906c1e6aa",
"size": "741",
"... |
package org.elasticsearch.painless.node;
import org.elasticsearch.painless.ClassWriter;
import org.elasticsearch.painless.CompilerSettings;
import org.elasticsearch.painless.Globals;
import org.elasticsearch.painless.Locals;
import org.elasticsearch.painless.Locals.Variable;
import org.elasticsearch.painless.Locatio... | {
"content_hash": "8162cdf3021b0be133c939451be10364",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 118,
"avg_line_length": 29.38053097345133,
"alnum_prop": 0.6493975903614457,
"repo_name": "coding0011/elasticsearch",
"id": "04842110e55ed060e14423edefadbfa64b3ffe27",
"si... |
<?php
namespace App\Modules\Nucleo\Models\Protheus;
use App\Shared\Models\ModelBase;
class ProdutosGrupos extends ModelBase {
public $sbmGrupo;
public $sbmDesc;
public $sbmxFlag;
public $sbmSdel;
public function initialize() {
parent::initialize();
$this->setSchema('PRODUCAO... | {
"content_hash": "a66874313ab60cdf35a0f90edd17e9f3",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 120,
"avg_line_length": 21.525,
"alnum_prop": 0.5772357723577236,
"repo_name": "denners777/API-Phalcon",
"id": "2e03a5db90a53d07563c32ee1dd58e4d961bbfc9",
"size": "1062",
... |
<header>
<ul class="nodot">
<li class="allcaps bolded"><a href="//zro617.github.io">Home</a></li>
<li class="allcaps"><a href="//zro617.github.io/aboutme.html">About Me</a></li>
<li class="allcaps"><a href="//zro617.github.io/index.html">Placeholder1</a></li>
<li class="allcaps"><a href="//zro617.github.io/index.html">... | {
"content_hash": "26000ee095af666f95ef64a14937856a",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 81,
"avg_line_length": 52.2,
"alnum_prop": 0.6781609195402298,
"repo_name": "Zro617/zro617.github.io",
"id": "f10a8b59fa4b5589c722c2466605ed504975639c",
"size": "522",
"b... |
package ciris
import com.comcast.ip4s.Host
import com.comcast.ip4s.Port
import org.http4s.Uri
package object http4s {
implicit final val hostConfigDecoder: ConfigDecoder[String, Host] =
ConfigDecoder[String].mapOption("Host")(Host.fromString)
implicit final val portConfigDecoder: ConfigDecoder[String, Port... | {
"content_hash": "8ebfe9e92999ac553054c6887c0e1748",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 70,
"avg_line_length": 29.27777777777778,
"alnum_prop": 0.7722960151802657,
"repo_name": "vlovgr/ciris",
"id": "ab863eeb8e28a3ab1b5450a83136c0f0fcb1ffcd",
"size": "607",
... |
class PatternsWindow : public Skeleton, public Palette {
public:
PatternsWindow(EditorGUI *screen, nanogui::Theme *theme);
void setVisible(bool which) { window->setVisible(which); }
private:
EditorGUI *gui;
};
#endif
| {
"content_hash": "0feb5e5cb3734f4285bcd45b7f90cd53",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 59,
"avg_line_length": 22.2,
"alnum_prop": 0.7477477477477478,
"repo_name": "latproc/humid",
"id": "d8f3d6614665c586d2dbf304da2485fc8fbcf496",
"size": "679",
"binary": fa... |
package org.camunda.bpm.engine.cdi.test.impl.beans;
import javax.enterprise.context.Dependent;
import javax.inject.Inject;
import org.camunda.bpm.engine.cdi.annotation.CompleteTask;
import org.camunda.bpm.engine.cdi.annotation.ProcessVariable;
import org.camunda.bpm.engine.cdi.annotation.ProcessVariableLocalTyped;
i... | {
"content_hash": "1c9f7cbe54b370434496bf45f24cd2cf",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 71,
"avg_line_length": 24.22222222222222,
"alnum_prop": 0.7765399737876802,
"repo_name": "langfr/camunda-bpm-platform",
"id": "f65b5872f6167aa3a9c8af5fd1c6fd646e9deff1",
"s... |
package za.org.grassroot.services.group;
import com.google.common.base.Stopwatch;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.PageReq... | {
"content_hash": "cc9fd24a05607e149fb757f9b31f05b4",
"timestamp": "",
"source": "github",
"line_count": 453,
"max_line_length": 202,
"avg_line_length": 52.560706401766005,
"alnum_prop": 0.6960940781184376,
"repo_name": "grassrootza/grassroot-platform",
"id": "528224276d72a84bebe3a950944d6dd1fb3ce91b"... |
package com.github.tomakehurst.wiremock.extension.responsetemplating;
import com.github.jknack.handlebars.EscapingStrategy;
import com.github.jknack.handlebars.Handlebars;
import com.github.jknack.handlebars.Helper;
import com.github.jknack.handlebars.Options;
import com.github.tomakehurst.wiremock.client.ResponseDef... | {
"content_hash": "e0d1e468ec47755c1ea2f8ddcb54d7c4",
"timestamp": "",
"source": "github",
"line_count": 330,
"max_line_length": 160,
"avg_line_length": 34.7030303030303,
"alnum_prop": 0.5636570031435557,
"repo_name": "tricker/wiremock",
"id": "83056ea7d8b5f73eb37d58d12360b8057bd662a0",
"size": "120... |
/*
* HeartBeatCommand.h
*
* Created on: Sep 5, 2012
* Author: mike
*/
#ifndef HEARTBEATCOMMAND_H_
#define HEARTBEATCOMMAND_H_
#include "Command.h"
#include <sys/time.h>
#include <string>
namespace Coaster {
class HeartBeatCommand: public Command {
private:
long sendtime;
public:
static std::stri... | {
"content_hash": "e866f895ca71a64020f1ab05afcb6870",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 66,
"avg_line_length": 16.441176470588236,
"alnum_prop": 0.7030411449016101,
"repo_name": "swift-lang/swift-k",
"id": "8e53803482cde265a3f84e055434a18904c2623c",
"size": "1... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/src/main/resources/log4j.properties" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/src/test/java/resources" charset="UTF-8" />
... | {
"content_hash": "ba4ae3c92293a7ad21db9a07da51c755",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 91,
"avg_line_length": 43,
"alnum_prop": 0.6482558139534884,
"repo_name": "langping86/websmart",
"id": "9ef4163a3dc3d59ba17ffeafa0bb892e9f163acc",
"size": "344",
"binary":... |
from django.core.management.base import BaseCommand
import datetime
from deck.models import Deck
class Command(BaseCommand):
def handle(self, *args, **options):
two_weeks_ago = datetime.datetime.now() - datetime.timedelta(days=100)
decks = Deck.objects.filter(last_used__lt=two_weeks_ago)
nu... | {
"content_hash": "8416ad0e67d00d006da1fee94290a24a",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 78,
"avg_line_length": 37.45454545454545,
"alnum_prop": 0.6796116504854369,
"repo_name": "foxbenjaminfox/deckofcards",
"id": "93fd2266f6a1b4552bb13f575ac13a278dea59b1",
"si... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>error-handlers: 13 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | {
"content_hash": "4fab1b92c3d3bacf7be76028d9072a0e",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 159,
"avg_line_length": 41.50609756097561,
"alnum_prop": 0.5309240487733216,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "8f2bffdd72a14884ff54b9031a249da8c17b013c",
... |
package io.tracee.contextlogger.testdata;
import io.tracee.contextlogger.contextprovider.api.Profile;
import io.tracee.contextlogger.outputgenerator.api.TraceeContextStringRepresentationBuilder;
import io.tracee.contextlogger.outputgenerator.writer.OutputWriterConfiguration;
import io.tracee.contextlogger.profile.Prof... | {
"content_hash": "1c6453edc508beb598c51db3e377a7a6",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 113,
"avg_line_length": 23.104477611940297,
"alnum_prop": 0.7667958656330749,
"repo_name": "tracee/contextlogger",
"id": "c8663f9f9dbc9a1eb43376250d568c06de50b73d",
"size":... |
package org.apache.hyracks.control.nc.profiling;
import java.nio.ByteBuffer;
import org.apache.hyracks.api.comm.IFrameWriter;
import org.apache.hyracks.api.context.IHyracksTaskContext;
import org.apache.hyracks.api.dataflow.ConnectorDescriptorId;
import org.apache.hyracks.api.exceptions.HyracksDataException;
import ... | {
"content_hash": "c57975a571112d45bbf7a25f6922e582",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 108,
"avg_line_length": 36.69230769230769,
"alnum_prop": 0.6886792452830188,
"repo_name": "amoudi87/hyracks",
"id": "09dd03db5bd21bffbcd6f8cff7bdba511e134771",
"size": "271... |
<?php
/**
* Author: Andrey Morozov
* Email: andrey@3davinci.ru
* Date: 19.04.2017
*/
namespace Sberbank\Message;
use Sberbank\Entity\OrderBundle;
use Sberbank\Exception\InvalidRequestException;
/**
* Class RegisterOrderRequest
* @package Sberbank\Message
*/
class RegisterOrderRequest extends RequestAbstract
{... | {
"content_hash": "77e99a9224440ad7dcaf4b043e536860",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 148,
"avg_line_length": 31.788990825688074,
"alnum_prop": 0.6617604617604618,
"repo_name": "3DaVinci/sberbank-gateway",
"id": "5353eef7fe8299cfd657f45c5be4645867889c4f",
"... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ The MIT License (MIT)
~
~ Copyright (c) 2014 Vitaliy Zasadnyy
~
~ Permission is hereby granted, free of charge, to any person obtaining a copy of
~ this software and associated documentation files (the "Software"), to deal in
~ the Software without restriction... | {
"content_hash": "470b542c6db64a0a8b8297f0845cb3f1",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 89,
"avg_line_length": 46.53846153846154,
"alnum_prop": 0.6776859504132231,
"repo_name": "zasadnyy/vision-trainer-sw2",
"id": "ddec5bbbd8f8e1cc4bed45e37f3e0e5afb06ed6a",
"s... |
This application makes use of the following third party libraries:
## RMStyleManager
Copyright (c) 2016 Maks Petrovsky <petrovskiy@real.me>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software withou... | {
"content_hash": "d76e22ed889d7b656551848ea757e81f",
"timestamp": "",
"source": "github",
"line_count": 231,
"max_line_length": 77,
"avg_line_length": 54.3982683982684,
"alnum_prop": 0.7408085309565494,
"repo_name": "byzyn4ik/RMStyleManager",
"id": "b80351f27643213aaacbbff1806baaa5bbac5536",
"size"... |
package at.ac.tuwien.big.xmlintelledit.intelledit.search.local.impl;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ec... | {
"content_hash": "a535122062450dd3e7200608ef3f8182",
"timestamp": "",
"source": "github",
"line_count": 396,
"max_line_length": 173,
"avg_line_length": 37.446969696969695,
"alnum_prop": 0.6699710027648527,
"repo_name": "patrickneubauer/XMLIntellEdit",
"id": "c8d4c022279ad9e0ed7d074c74a4ddcb8f847ad3",... |
package vanenkoviliya.ChessBoard;
/**
* @author vanenkov_ia
* @version 1
* @since 10.01.2017
**/
public class ImpossibleMoveException extends Exception {
public ImpossibleMoveException(String msg) {
super(msg);
}
}
| {
"content_hash": "b3050b59d9f4a4b2c48cdd38fabc44ea",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 56,
"avg_line_length": 19.666666666666668,
"alnum_prop": 0.690677966101695,
"repo_name": "iliya-84/Java_study",
"id": "c5e3908bf32bece738ffcd6ce68f059f66896c52",
"size": "2... |
// SpotOn.java
// Activity for the Buggz app
package com.sparetimegames.buggz;
import android.app.Activity;
import android.media.AudioManager;
import android.os.Bundle;
public class Buggz extends Activity
{
//private SpotOnView view; // displays and manages the game
private BugzView view;
// called when t... | {
"content_hash": "a9be706e467c1810866318aafabf4730",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 73,
"avg_line_length": 25.41176470588235,
"alnum_prop": 0.6682098765432098,
"repo_name": "CrystalVisions/Buggz",
"id": "44bd239f04d8f3840b283cf7a173e0b47161388a",
"size": "... |
<?php
final class SERVER_TYPE
{
const AWS_INSTANCE = "aws_instance";
const RACKSPACE_INSTANCE = "rackspace_instance";
const SIMPLE = "simple";
}
?> | {
"content_hash": "a533ee284f921504fbf23d3fd0eac63e",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 56,
"avg_line_length": 23.75,
"alnum_prop": 0.5578947368421052,
"repo_name": "kikov79/scalr",
"id": "ad20eed4ead007784e1967d2686002cd204eab96",
"size": "190",
"binary": fa... |
.class public Lcom/android/internal/telephony/DefaultSIMSettings;
.super Ljava/lang/Object;
.source "DefaultSIMSettings.java"
# static fields
.field public static final ACTION_ON_SIM_DETECTED:Ljava/lang/String; = "ACTION_ON_SIM_DETECTED"
.field public static final EXTRA_VALUE_NEW_SIM:Ljava/lang/String; = "NEW"
.fie... | {
"content_hash": "d66d850446d22132d117a6493002e32a",
"timestamp": "",
"source": "github",
"line_count": 2836,
"max_line_length": 173,
"avg_line_length": 26.2277856135402,
"alnum_prop": 0.6840095722083299,
"repo_name": "baidurom/devices-g520",
"id": "b46a75b210eb09bda9dfcf2b5e478470e28127a7",
"size"... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="BIT-101 Daily Open Source JavaScript and HTML Canvas Experiments">
<link rel="stylesheet" type="text/css" href="../styles/daily.css">
</head>
<body>
<script src="../js/ui.js"></script>
<script src="../libs/quic... | {
"content_hash": "234f961b3418aa958823a8c85a4f58cf",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 104,
"avg_line_length": 28.55,
"alnum_prop": 0.637478108581436,
"repo_name": "bit101/lab",
"id": "ba4981092215ec8a21a7ebd01b888cd746bc5134",
"size": "571",
"binary": fals... |
require 'net/http'
module Stocktwits
module PlainUser
def self.included(base)
base.class_eval do
end
base.extend Stocktwits::PlainUser::ClassMethods
end
module ClassMethods
def verify_credentials(login, password)
response = Stocktwits.net.start { |http|
... | {
"content_hash": "87b2efbad9f941620e76a90a1ef4081d",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 97,
"avg_line_length": 25.22641509433962,
"alnum_prop": 0.5781600598354525,
"repo_name": "eladmeidar/StockTwits",
"id": "3722b3d07be386e2656ea427c889a5ad85d0c812",
"size": ... |
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<title> Postfix manual - pcre_table(5) </title>
</head> <body> <pre>
PCRE_TABLE(5) ... | {
"content_hash": "8b1f76e7fc9f3c75b935cd5bb43c795f",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 113,
"avg_line_length": 46.13875598086124,
"alnum_prop": 0.6085243181582495,
"repo_name": "execunix/vinos",
"id": "e686a7324bb612895e050f5cf7e9c83d1d4f81d3",
"size": "9643... |
FROM balenalib/beaglebone-pocket-debian:stretch-run
ENV GO_VERSION 1.15.11
# gcc for cgo
RUN apt-get update && apt-get install -y --no-install-recommends \
g++ \
gcc \
libc6-dev \
make \
pkg-config \
git \
&& rm -rf /var/lib/apt/lists/*
RUN set -x \
&& fetchDeps=' \
curl \
' \
&& apt-get update && ... | {
"content_hash": "36055f5d7383832078e608548f28c692",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 674,
"avg_line_length": 50.95652173913044,
"alnum_prop": 0.7077645051194539,
"repo_name": "nghiant2710/base-images",
"id": "2c453e5b98f90a09a5d49103e15aac01c1f48d3d",
"size... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("eX... | {
"content_hash": "7652a713a4eea5a66125082552505454",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 84,
"avg_line_length": 37.4375,
"alnum_prop": 0.7462437395659433,
"repo_name": "biohazard999/XafMVVM",
"id": "727bd131d59555abe3bb7ecfb41fa049e21e95e1",
"size": "1201",
"... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "74ae51aea1e809fc0aa0fc48d6690726",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 10.923076923076923,
"alnum_prop": 0.7183098591549296,
"repo_name": "mdoering/backbone",
"id": "d1494ee8abac9d140fdeeee7ce69f81badc380c7",
"size": "21... |
package org.springframework.web.servlet.tags;
import junit.framework.TestCase;
import org.springframework.mock.web.MockHttpServletRequest;
import org.springframework.mock.web.MockPageContext;
import org.springframework.mock.web.MockServletContext;
import org.springframework.web.servlet.DispatcherServlet;
import or... | {
"content_hash": "318176e3d389fad6f3f01b6d9c585cf3",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 81,
"avg_line_length": 37.05,
"alnum_prop": 0.8232118758434548,
"repo_name": "dachengxi/spring1.1.1_source",
"id": "b7e8be4f0821a8d9a2619b237da95367fbfcf8f5",
"size": "2105... |
START_ATF_NAMESPACE
namespace Info
{
using _INVEN_DB_BASEInit2_ptr = void (WINAPIV*)(struct _INVEN_DB_BASE*);
using _INVEN_DB_BASEInit2_clbk = void (WINAPIV*)(struct _INVEN_DB_BASE*, _INVEN_DB_BASEInit2_ptr);
using _INVEN_DB_BASEctor__INVEN_DB_BASE4_ptr = void (WINAPIV*)(struct ... | {
"content_hash": "d22e67639ae47652cf5e6e377bcc2f3c",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 136,
"avg_line_length": 52.2,
"alnum_prop": 0.6551724137931034,
"repo_name": "goodwinxp/Yorozuya",
"id": "fa88c5fb01b5b6629a4598e7c53dfe3a2724248c",
"size": "704",
"binar... |
class ZTileInfo
{
public:
ZTileInfo();
inline const std::string& getSource() const {
return m_source;
}
inline const ZPoint& getOffset() const {
return m_offset;
}
inline int getWidth() const {
return m_dim[0];
}
inline int getHeight() const {
return m_dim[1];
}
inline int getDe... | {
"content_hash": "e9704cecd6d02ce018396b1fdd290e3e",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 67,
"avg_line_length": 16.4,
"alnum_prop": 0.649390243902439,
"repo_name": "stephenplaza/NeuTu",
"id": "afe6d360e09000acb5bd78101d8be6a376fd9ca5",
"size": "780",
"binary"... |
<?php
namespace Oro\Bundle\DataGridBundle\Tests\Functional\DataFixtures;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Doctrine\Common\Persistence\ObjectManager;
use Oro\Bundle\OrganizationBundle\Entity\Organization;
use Oro\Bundle\UserBundle\Entity\Role;
use O... | {
"content_hash": "6a63a278443835df303f425693cca663",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 96,
"avg_line_length": 35.911764705882355,
"alnum_prop": 0.6482391482391482,
"repo_name": "orocrm/platform",
"id": "6e9cab0704c9fdb21c8099f295507ef99df914cb",
"size": "2442... |
import torch
from allennlp.nn import util
from allennlp.common.testing import requires_gpu
@requires_gpu
def bench_add_sentence_boundary_token_ids(benchmark):
device = torch.device("cuda")
# shape: (32, 50)
tensor = torch.tensor([[3] * 50] * 32, device=device)
# shape: (32, 50)
mask = torch.tenso... | {
"content_hash": "ef5efc8ee811e10a92d2ba439d78748f",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 89,
"avg_line_length": 28.347826086956523,
"alnum_prop": 0.6579754601226994,
"repo_name": "allenai/allennlp",
"id": "9f3d31e6a474214015549053b221ac238e0532d0",
"size": "130... |
package org.wyona.yanel.core.api.attributes;
/**
* RELEASED, do NOT change
*/
public interface VersionableV1 {
/**
*
*/
public String[] getRevisions();
}
| {
"content_hash": "1d374246875edb13748ca853dfa7ac29",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 44,
"avg_line_length": 12.714285714285714,
"alnum_prop": 0.6067415730337079,
"repo_name": "baszero/yanel",
"id": "86b538fd2d09926df9cb93c5430f9dfcbdef4980",
"size": "781",
... |
ActiveRecord::Schema.define(version: 2014_05_19_231105) do
create_table "museum_case_details", force: :cascade do |t|
t.integer "museum_case_id"
t.integer "museum_loupe_id"
t.string "key"
t.text "value"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["mu... | {
"content_hash": "5e1dc6dddc41b6bc1b7399aaff1302aa",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 83,
"avg_line_length": 30.75,
"alnum_prop": 0.6443089430894309,
"repo_name": "gemvein/museum",
"id": "bdb14fe6f9406b6ea9fd239cbd6cc3e64a0a87c6",
"size": "1707",
"binary":... |
<?xml version="1.0" encoding="utf-8"?><!--
Copyright (C) 2016 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2... | {
"content_hash": "a73cda037a01caf7329f04a8080b2a44",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 101,
"avg_line_length": 45,
"alnum_prop": 0.662962962962963,
"repo_name": "CHaller6/ud851-Exercises",
"id": "e1d0de8e6f92b466ee06e69c9539b725813fb32d",
"size": "2160",
"b... |
#include "condor_common.h"
#include "condor_config.h"
#include "condor_distribution.h"
#include "ca_utils.h"
#include "CondorError.h"
#include "string_list.h"
#include "MyString.h"
#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/x509.h>
#include <iomanip>
#include <memory>
#include <sstream>
#i... | {
"content_hash": "45609478356ec440c77aa5e1ba809609",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 104,
"avg_line_length": 26.281690140845072,
"alnum_prop": 0.6430868167202572,
"repo_name": "htcondor/htcondor",
"id": "a0d5fcae868be283d164044ddb1b93f248cb2098",
"size": "... |
static NSString * const base = @"http://api.wunderground.com/api";
// Name of the service
static NSString * const serviceName = @"Weather Underground";
#pragma mark - CZWundergroundService Implementation
@implementation CZWundergroundService
@synthesize key = _key, serviceName = _serviceName;
#pragma mark C... | {
"content_hash": "3c8ee7485ab22b07120bb3155a3dcb92",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 136,
"avg_line_length": 42.362162162162164,
"alnum_prop": 0.6704095955084854,
"repo_name": "nagyistoce/CZWeatherKit",
"id": "a9f8101e0efae21a528005cbcd837a21bc88088e",
"si... |
// For conditions of distribution and use, see copyright notice in LICENSE
#include "StableHeaders.h"
#include "DebugOperatorNew.h"
#include "EC_DynamicComponent.h"
#include "SceneAPI.h"
#include "Entity.h"
#include "LoggingFunctions.h"
#include "Scene/Scene.h"
#include <QScriptEngine>
#include <QScriptValueIterato... | {
"content_hash": "95b14f6e063ca0161f959d4e5ab373d1",
"timestamp": "",
"source": "github",
"line_count": 382,
"max_line_length": 166,
"avg_line_length": 33.56282722513089,
"alnum_prop": 0.6572810233211138,
"repo_name": "jesterKing/naali",
"id": "dbc92078161f8078ab18652f14ecf4effebe5dbd",
"size": "12... |
using System;
using System.Threading;
using SevenDigital.Messaging.Infrastructure.SignalHandling.PrivateMonoDerived;
namespace SevenDigital.Messaging.Infrastructure.SignalHandling
{
/// <summary>
/// Wait for termination events on a background thread.
/// You should terminate soon after receiving a termina... | {
"content_hash": "b8850770a7a04c58abb6d3c4476ea728",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 78,
"avg_line_length": 23,
"alnum_prop": 0.6428571428571429,
"repo_name": "i-e-b/SevenDigital.Messaging",
"id": "1fe7f96d6b1edd53d78ab54c923def4ce5d3ba39",
"size": "2578",... |
//! \file
//! This header includes core utilities from <tt><boost/move/utility_core.hpp></tt> and defines
//! some more advanced utilities such as:
#ifndef BOOST_MOVE_MOVE_UTILITY_HPP
#define BOOST_MOVE_MOVE_UTILITY_HPP
#ifndef BOOST_CONFIG_HPP
# include <boost/config.hpp>
#endif
#
#if defined(BOOST_HAS... | {
"content_hash": "6cb6e3843fde7445a8cef6530333199a",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 112,
"avg_line_length": 37.97841726618705,
"alnum_prop": 0.5811706762644441,
"repo_name": "zhenyiyi/LearnDiary",
"id": "f727a9dc0188cfb110f6c7621893d59fcdfec339",
"size": ... |
class InfraConversionJob < Job
#
# State-transition diagram:
# :poll_conversion :poll_post_stage
# * /-------------\ /---------------\
# | :initialize | | ... | {
"content_hash": "feaf9f4dfb1c27bf7c2fca0d55b9a127",
"timestamp": "",
"source": "github",
"line_count": 580,
"max_line_length": 177,
"avg_line_length": 39.206896551724135,
"alnum_prop": 0.6234828496042216,
"repo_name": "mkanoor/manageiq",
"id": "1323091c8a29a072656ae4513bd3c58ee54f91e9",
"size": "2... |
require 'spec_helper'
class HasManySchemaTestEntity
include Proper::Api::Entity
attr_accessor :x
schema do
float :x
end
end
describe Respect::HasManySchema::JSON do
context "representation" do
it "represents the array of values using :of option object" do
schema = Respect::HasManySchema.ne... | {
"content_hash": "2564c10fe1e0e8cd23f54ae7ca5d6f07",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 89,
"avg_line_length": 24.896103896103895,
"alnum_prop": 0.6421491914449661,
"repo_name": "yard/proper-api",
"id": "026ee447e978dd7b0729301f8facabec882622bf",
"size": "1917... |
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows.Input;
using Moq;
using Ploeh.AutoFixture;
using Ploeh.SemanticComparison.Fluent;
using Xunit;
using Xunit.Extensions;
using Ploeh.AutoFixture.Xunit;
namespace Ploeh.Samples.ProductManagement.PresentationLogic.Wpf.UnitTest
{
... | {
"content_hash": "daf021cd85cf11ef13cb9c04f695639b",
"timestamp": "",
"source": "github",
"line_count": 495,
"max_line_length": 168,
"avg_line_length": 38.38787878787879,
"alnum_prop": 0.55425744658457,
"repo_name": "owolp/Telerik-Academy",
"id": "7dd2e9231348e6942feae37aee6f127b2c9a818c",
"size": ... |
<?php
namespace User\Entity;
use Doctrine\ORM\Mapping as ORM;
/** @ORM\Entity
* @ORM\Table(name="acl_group")
* */
class AclGroup {
/**
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
* @ORM\Column(type="integer")
*/
protected $id;
/** @ORM\ManyToOne(targetEntity="Us... | {
"content_hash": "9c5a25df66524edd9803754a5a57658e",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 71,
"avg_line_length": 15.965909090909092,
"alnum_prop": 0.4761565836298932,
"repo_name": "351784144/DhtvWeiXin",
"id": "4d3cf96011876797bc4ad2b4cd102de6d708d92f",
"size": ... |
.multi-column-list {
margin: 1em;
padding: 0;
text-overflow: ellipsis;
overflow: auto;
}
.multi-column-list li {
box-sizing: border-box;
float: left;
list-style-type: none;
margin: 0 25px 2px 0;
width: 250px;
}
.file-pill {
display: block;
background: var(--color-blue);
color: var(--color-base... | {
"content_hash": "bb0de779ddb172040ae63d70e63f27d4",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 39,
"avg_line_length": 17.366666666666667,
"alnum_prop": 0.6602687140115163,
"repo_name": "CGamesPlay/hterminal",
"id": "061968f7e3ce4057537d42c92859d1c80e30eb80",
"size": ... |
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/margin_quarter"
android:clipToPadding="false">
<androidx.cardview.widget.CardView
android:layout... | {
"content_hash": "46257276faca7efc11f37232f595b89b",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 65,
"avg_line_length": 40.15384615384615,
"alnum_prop": 0.7049808429118773,
"repo_name": "matsprea/omim",
"id": "208c9d876b56008b0353369c9e110d93c9a0eef6",
"size": "1044",
... |
typedef struct RD_Array RD_Array;
typedef struct RD_ByteArray RD_ByteArray;
RD_Array *array_new(RA_Array size);
RA_Array array_length(const RD_Array *array);
int array_get(const RD_Array *a, RA_Array idx, R_Word *value);
int array_put(RD_Array *a, RA_Array idx, R_Word value);
RD_ByteArray *bytearray_new(RA_Array... | {
"content_hash": "032d05ce27ba7cb3fd05b74ebe1274da",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 75,
"avg_line_length": 25.17142857142857,
"alnum_prop": 0.7343927355278093,
"repo_name": "almk277/ROSE",
"id": "895cc4bb9e6968624952d126f519734da938bde1",
"size": "942",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Rosita.Invoice.API.DtoMessages
{
public class Class1
{
public Class1()
{
}
}
}
| {
"content_hash": "2bc7b61a86a9f3f8285373cc728b532a",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 40,
"avg_line_length": 16,
"alnum_prop": 0.6473214285714286,
"repo_name": "jmanuelcorral/Rosita",
"id": "aee99ea8a919cfe2c64f1ee5f0d2c40d465bccf9",
"size": "226",
"binary... |
#include "cocos2d.h"
#include "FairyGUIMacros.h"
NS_FGUI_BEGIN
class UIConfig
{
public:
static std::string defaultFont;
static std::string buttonSound;
static float buttonSoundVolumeScale;
static int defaultScrollStep;
static float defaultScrollDecelerationRate;
static bool defa... | {
"content_hash": "1bbfff78a34bfbf0ccbb84a03b308f80",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 99,
"avg_line_length": 30.065217391304348,
"alnum_prop": 0.7237888647866956,
"repo_name": "fairygui/FairyGUI-cocos",
"id": "27124fea964b4029e2be6ffb8a2fba6485ddefbe",
"size... |
name 'cis_benchmark'
maintainer 'Joshua Timberman'
maintainer_email 'cookbooks@housepub.org'
license 'Apache 2.0'
description "Applies the Center for Internet Security's Benchmarks at\
configuration recommendations Level-I."
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.0.17'
%w(... | {
"content_hash": "ebcd936c5c823102c41420acb08534bd",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 72,
"avg_line_length": 29.714285714285715,
"alnum_prop": 0.7740384615384616,
"repo_name": "WIU/cis_benchmark-cookbook",
"id": "dfc09506cb0ecf860b5fc5cb4f9fd1cd19e3c4e4",
"s... |
package testsupport;
import com.jnape.loanshark.annotation.Todo;
import javax.lang.model.element.Element;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
public class ElementTestFactory {
public static Element elementWithTodo(Todo todo) {
Element element = mock(Element.c... | {
"content_hash": "3fff28172bed0480626803a0ba27c7d4",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 65,
"avg_line_length": 25,
"alnum_prop": 0.7435294117647059,
"repo_name": "palatable/loan-shark",
"id": "e2acfeeec13f06d9f7ce20e5f8b5004508b54bac",
"size": "425",
"binary... |
"""
Routes Configuration File
Put Routing rules here
"""
from system.core.router import routes
routes['default_controller'] = 'Courses'
routes['GET']['/index'] = 'Courses#index'
routes['POST']['/courses/add'] = 'Courses#add'
routes['GET']['/courses/destroy/<course_id>'] = 'Courses#destroy'
routes['GET']['/co... | {
"content_hash": "6c5b80fbadd530a3db893884f899fc34",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 65,
"avg_line_length": 26.214285714285715,
"alnum_prop": 0.6757493188010899,
"repo_name": "authman/Python201609",
"id": "0e91d5f00152ab6513a7864e2496d49d8da49e8c",
"size": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Antlr4.Runtime;
namespace ImageQuery.Language
{
public class ParserErrorListener : BaseErrorListener
{
public static readonly ParserErrorListener Instance = new ParserErrorListener... | {
"content_hash": "f3d2baf72ff06b1de961abe6842e2b7d",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 158,
"avg_line_length": 33.10526315789474,
"alnum_prop": 0.7313195548489666,
"repo_name": "redxdev/ImageQuery-CS",
"id": "1ba72b1330863469fcdc7a9bdb5efe56e7cb0896",
"size":... |
using Melanchall.DryWetMidi.Common;
namespace Melanchall.DryWetMidi.Standards
{
/// <summary>
/// The class which provides information about the General MIDI Level 1 standard.
/// </summary>
public static class GeneralMidi
{
#region Constants
/// <summary>
/// Channel rese... | {
"content_hash": "37bc876c82dfe1375c90ee4e917138da",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 91,
"avg_line_length": 27.473684210526315,
"alnum_prop": 0.6609195402298851,
"repo_name": "melanchall/drywetmidi",
"id": "2dc169680166d7703714e5e1c7d3c0e8f646ebc6",
"size":... |
package org.loon.framework.android.game.action.sprite.effect;
import org.loon.framework.android.game.action.map.Config;
import org.loon.framework.android.game.action.map.Field2D;
import org.loon.framework.android.game.action.sprite.ISprite;
import org.loon.framework.android.game.core.LObject;
import org.loon.framework... | {
"content_hash": "10dcf5ccca9257e4de00d456955f4338",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 72,
"avg_line_length": 21.70046082949309,
"alnum_prop": 0.6568273518793799,
"repo_name": "cping/LGame",
"id": "1974dda9dabe8259aa21ec80c339703b912e678c",
"size": "5399",
... |
package com.google.gerrit.server.plugins;
import com.google.gerrit.extensions.registration.DynamicSet;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.jgit.internal.storage.file.FileSnapshot;
import or... | {
"content_hash": "cb06cf076535f091b83219d346fb3716",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 99,
"avg_line_length": 31.097560975609756,
"alnum_prop": 0.7247058823529412,
"repo_name": "gerrit-review/gerrit",
"id": "50b8752150ca3a4fafdb7ce8ee16939ec99fb6c5",
"size": ... |
package com.ihgoo.calendar.adapter;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import com.ihgoo.calendar.view.CalendarMonthView;
/**
* Created by ihgoo on 2015/3/20.
*/
public class CalendarMonthAdapter extends BaseAdapter {
priva... | {
"content_hash": "ab772be5b786dd56dae955fdd5bdf8a9",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 75,
"avg_line_length": 20.285714285714285,
"alnum_prop": 0.6784037558685446,
"repo_name": "ihgoo/SimpleCalendar",
"id": "0c00610f6ee37a2d34174df312bf93ddda683489",
"size": ... |
<?xml version="1.0" encoding="utf-8"?>
<org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject plugin="workflow-multibranch">
<properties/>
<views>
<hudson.model.AllView>
<name>All</name>
<filterExecutors>false</filterExecutors>
<filterQueue>false</filterQueue>
<properties... | {
"content_hash": "1b8fb4ba44ab778bf4fcb3bbd5adc459",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 131,
"avg_line_length": 55.92553191489362,
"alnum_prop": 0.6859425527867605,
"repo_name": "gforcada/jenkins-job-builder",
"id": "07818a90fccd4726b2256cce8bbbd56f2fc824b9",
... |
using System.Collections.Concurrent;
using System.Collections.Immutable;
using System.Reflection;
namespace ExRam.Gremlinq.Core
{
internal abstract class GremlinQueryBase
{
private delegate IGremlinQueryBase QueryContinuation(
GremlinQueryBase existingQuery,
Traversal? maybeNew... | {
"content_hash": "ca81ada86319d3bb063433ba81bd89a0",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 194,
"avg_line_length": 48.235772357723576,
"alnum_prop": 0.5961570874768245,
"repo_name": "ExRam/ExRam.Gremlinq",
"id": "a3727227534ca3f556dbb307781802d463d3f7c8",
"size"... |
class FileAPI{
public:
FileAPI(const std::string& directory);
ObjectBd createObject(pcl::PointCloud<pcl::VFHSignature308>::Ptr object_signature,
pcl::PointCloud<pcl::PointXYZRGB>::Ptr object_pointcloud,
std::vector<tf::Transform> relative_arm_pose,
... | {
"content_hash": "1ece7e16d25ceeb564478bdc9095b3b9",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 121,
"avg_line_length": 39.229885057471265,
"alnum_prop": 0.676530911221799,
"repo_name": "jpmerc/perception3d",
"id": "2c61c6b461e6662ce7796a0ea4a37dd05f235ed6",
"size": "... |
#pragma once
#include <aws/quicksight/QuickSight_EXPORTS.h>
#include <aws/quicksight/QuickSightRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/quicksight/model/ResourcePermission.h>
#include <utility>
namespace Aws
{
namespace QuickSight
{
n... | {
"content_hash": "6533592c2ea6a8fc7b62b4647ddb446c",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 196,
"avg_line_length": 36.13551401869159,
"alnum_prop": 0.6848571059097375,
"repo_name": "awslabs/aws-sdk-cpp",
"id": "eac503806be1acc76d0054b93ce5496ce77b556f",
"size": ... |
<?php
/**
* @author Honza Cerny (http://honzacerny.com)
*/
namespace App\Model;
use Aprila\Model\BaseRepository;
class TagRepository extends BaseRepository
{
public $table = 'tag';
public function findAll()
{
return $this->table()->where('type', 'normal');
}
public function getByName($tag, $type = 'nor... | {
"content_hash": "43784b87a875269cabf1501e05f4c320",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 76,
"avg_line_length": 15.222222222222221,
"alnum_prop": 0.6472019464720195,
"repo_name": "Aprila/app-blog",
"id": "33aa90bd4a9af9acea91b91b1247dacb117c3717",
"size": "411"... |
<?php
/**
* Fired during plugin activation
*
* @link http://socialsquare.dk
* @since 1.0.0
*
* @package Dac_Content_Hub
* @subpackage Dac_Content_Hub/includes
*/
/**
* Fired during plugin activation.
*
* This class defines all code necessary to run during the plugin's activation.
*
* @since... | {
"content_hash": "160b5528570fbc5b232180dd1efa491a",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 79,
"avg_line_length": 17.583333333333332,
"alnum_prop": 0.6287519747235387,
"repo_name": "Socialsquare/wp-dac-content-hub",
"id": "286f48fa866ad2f88cf05553c4fa53f9ee99386c",... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "89bf0f59a8e5bc1d5393d7000b84664d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "c98783b0f27fbff953a5c86c4fb12c7c4d379a4a",
"size": "183... |
require 'forwardable'
require 'cucumber/core/platform'
module Cucumber
module Core
module Ast
IncompatibleLocations = Class.new(StandardError)
module Location
def self.of_caller(additional_depth = 0)
from_file_colon_line(*caller[1 + additional_depth])
end
def self.... | {
"content_hash": "2ff22fca6a00d645d07e6a38aabbed1a",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 110,
"avg_line_length": 22.69945355191257,
"alnum_prop": 0.49061145883485796,
"repo_name": "Jeff-Tian/mybnb",
"id": "59c75fecf41afd76eaa39fcd20ec45a4b0fafb7e",
"size": "41... |
using UnityEngine;
using System.Collections;
public class ClimableController : MonoBehaviour {
LayerMask whatIsClimbable;
ClimberCharacterController controller;
void Awake() {
controller = GetComponentInParent<ClimberCharacterController>();
whatIsClimbable = controller.whatIsClimbable;
}
void OnTriggerEnt... | {
"content_hash": "6605bc872a63c30ef5736867a342dec4",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 66,
"avg_line_length": 22.074074074074073,
"alnum_prop": 0.7298657718120806,
"repo_name": "derpawe/GameChainGraz",
"id": "5d1fed5c5036dd34e53360c6612c3aace8429ad3",
"size":... |
.class Lcom/android/server/net/NetworkPolicyManagerService$14;
.super Landroid/content/BroadcastReceiver;
.source "NetworkPolicyManagerService.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/server/net/NetworkPolicyManagerService;
.end annotation
.annotation system ... | {
"content_hash": "7be76248e2af9f1a24f03aa319eb821f",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 154,
"avg_line_length": 28.78616352201258,
"alnum_prop": 0.7336683417085427,
"repo_name": "BatMan-Rom/ModdedFiles",
"id": "5e07445caf2888227e5ee8ee510c19d1df132c23",
"size... |
<?php
namespace FRM\ShBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Symfony\Component\Form\FormView;
use Symfony\Component\Form\FormInterface;
use Symfony\Component\PropertyAccess\PropertyAccess;
class ImageType extends AbstractType
{
... | {
"content_hash": "419f2ccf18279dee80756ccef48d762d",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 91,
"avg_line_length": 30.425925925925927,
"alnum_prop": 0.5788192331101644,
"repo_name": "FRM81/sh2",
"id": "63da4eeb46eafcfb6bc705bd85a32657624d105b",
"size": "1643",
"... |
/* global colorbrewer */
var layer = {
// Default values
palette: 'YlGn',
selectedNum: '3',
type: 'continuous',
min: '0',
max: '300',
name: 'usgs:ned',
sld: '',
projection: 'EPSG:3785'
};
var baseUrl = 'https://demo.boundlessgeo.com/geoserver/ows';
var layerViewer = {
renderPalettes: function () ... | {
"content_hash": "a61319cdf352130b45bc2c31cff082ad",
"timestamp": "",
"source": "github",
"line_count": 253,
"max_line_length": 86,
"avg_line_length": 27.284584980237153,
"alnum_prop": 0.5758365927857453,
"repo_name": "OpenGeoscience/geojs",
"id": "16d80b98659dc43ed2925af3ed036df3bd554c0a",
"size":... |

This Grav theme is a port of the [Free Bootstrap 3.0 Template](http://livedemo00.template-help.com/wt_bootstrap_free_sample/index.html) by [Template Help](http://template-help.com/).
# Features
* Bootstrap 3.0
* Photo Slider
* Photo Gallery
* Various templates for presenting your... | {
"content_hash": "48a3d220bcf9f324d1be34afd1b0c102",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 302,
"avg_line_length": 33.58974358974359,
"alnum_prop": 0.7687022900763358,
"repo_name": "ulilu/grav-toctoc",
"id": "b615b68c050dc27516eae177b0b6ffdc51f9186b",
"size": "13... |
package co.yiiu.pybbs.directive;
import co.yiiu.pybbs.service.INotificationService;
import freemarker.core.Environment;
import freemarker.template.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.io.IOException;
import java.util.List;
impor... | {
"content_hash": "e739d59b2999108771a0a397c8632198",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 111,
"avg_line_length": 41.46875,
"alnum_prop": 0.760361718161266,
"repo_name": "liygheart/jfinalbbs",
"id": "dc809d463090e68118e05118960c1669fa560949",
"size": "1463",
"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.