text stringlengths 2 1.04M | meta dict |
|---|---|
class Country
attr_accessor :name, :state_or_provinces
def initialize(name, state_or_provinces=nil)
@name = name
@state_or_provinces = state_or_provinces
end
end
| {
"content_hash": "53a395624d3e6cae15a89bc496e00690",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 46,
"avg_line_length": 22.125,
"alnum_prop": 0.711864406779661,
"repo_name": "rondale-sc/rspec-roar_matchers",
"id": "209f04d9f37bb18dbc756ea1ad6c71d11b6fcda1",
"size": "177... |
<?php
namespace Classroom\AnalyzerBundle;
use Classroom\AnalyzerBundle\PreProcessor\PreProcessorInterface;
use Classroom\AnalyzerBundle\Processor\ProcessorInterface;
use Classroom\AnalyzerBundle\PostProcessor\PostProcessorInterface;
use Classroom\AnalyzerBundle\Log\Log;
use Classroom\AnalyzerBundle\Result\Result;
cl... | {
"content_hash": "c7e95f89d905d783c65f5572e8941f82",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 98,
"avg_line_length": 27.916666666666668,
"alnum_prop": 0.6614925373134328,
"repo_name": "micha149/classroom",
"id": "397c5d396113469eb170ccb0b0eadfeb5480b1e6",
"size": "1... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>String Extension Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset="utf-8">
<script src="../js/jquery.min.js" defer></script>
<sc... | {
"content_hash": "fbf2e6a44b590791b010d8f2658b851b",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 539,
"avg_line_length": 51.7847533632287,
"alnum_prop": 0.5178385867682715,
"repo_name": "lionheart/LionheartCurrencyTextField",
"id": "9f177c7bd5a18a617d38bcd140f9498a19464... |
package de.scravy.jazz.pictures;
import java.awt.Graphics2D;
import java.awt.geom.AffineTransform;
import de.scravy.jazz.Color;
import de.scravy.jazz.Picture;
public abstract class DelegatingPicture<X extends Picture> implements Picture {
private static final long serialVersionUID = 1L;
private final Picture d... | {
"content_hash": "c2e8f171ad0e20ce49a0fa2d906554c5",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 79,
"avg_line_length": 21.746753246753247,
"alnum_prop": 0.6745297103613018,
"repo_name": "javajazz/jazz",
"id": "be0893653252c42ff09a49bd62aaaac13b1a7e01",
"size": "3349"... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Opegrapha condaminea Fée
### Remarks
null | {
"content_hash": "1c6e3ad15eb627afa2518cc1212e75ff",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 24,
"avg_line_length": 9.923076923076923,
"alnum_prop": 0.7131782945736435,
"repo_name": "mdoering/backbone",
"id": "fb8676e1e87269de3f6b4a20317db984edf2a21c",
"size": "179... |
package common
import (
"fmt"
"strconv"
"github.com/fsouza/go-dockerclient"
)
type Container struct {
ID string
Name string
Ports []*Port
Project *Project
Service string
ContainerNumber string
HttpPort *Port
IsMain bool
}
// Urls for all e... | {
"content_hash": "a93066a36e22b2e1dc6c74698affc4b3",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 94,
"avg_line_length": 24.38125,
"alnum_prop": 0.6905921558574725,
"repo_name": "ninech/reception",
"id": "9ca9fb6f41fc8380338edee4e298a75ea087a8d3",
"size": "3901",
"bi... |
#if !defined(XPATHPROCESSORIMPL_HEADER_GUARD_1357924680)
#define XPATHPROCESSORIMPL_HEADER_GUARD_1357924680
// Base header file. Must be first.
#include <xalanc/XPath/XPathDefinitions.hpp>
#include <cstdlib>
#include <xalanc/XalanDOM/XalanDOMString.hpp>
#include <xalanc/Include/XalanVector.hpp>
#include <... | {
"content_hash": "190b1822584d95443f67538296f93de4",
"timestamp": "",
"source": "github",
"line_count": 839,
"max_line_length": 105,
"avg_line_length": 27.897497020262218,
"alnum_prop": 0.4531743997265658,
"repo_name": "apache/xalan-c",
"id": "51a7b8f70c83a1518b34007a33d5001bb5c5420a",
"size": "242... |
"""Support for Proliphix NT10e Thermostats."""
from __future__ import annotations
import proliphix
import voluptuous as vol
from homeassistant.components.climate import PLATFORM_SCHEMA, ClimateEntity
from homeassistant.components.climate.const import (
ClimateEntityFeature,
HVACAction,
HVACMode,
)
from ho... | {
"content_hash": "2a2afaa476000180fe3d0dc99cc44844",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 75,
"avg_line_length": 27.58695652173913,
"alnum_prop": 0.6448647228789073,
"repo_name": "toddeye/home-assistant",
"id": "0907602ed9dbe24cfe8470feae5e5704e20585d2",
"size"... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Syll. fung. (Abellini) 2: 600 (1883)
#### Original name
Dothidea fatiscens Schwein. ex Berk. & M.A. Curtis, 1853
### Remarks
null | {
"content_hash": "0ac89f86e15574efaf45924c668f621e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 56,
"avg_line_length": 16.76923076923077,
"alnum_prop": 0.6926605504587156,
"repo_name": "mdoering/backbone",
"id": "04b3066e8ee107731f1da7c0442a4c4f86370da9",
"size": "309... |
require 'test_helper'
class LandingsControllerTest < ActionController::TestCase
test "should get index" do
get :index
assert_response :success
end
end
| {
"content_hash": "dfbe6ac30a9f9ef9e1a47a7778b96c0c",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 57,
"avg_line_length": 18.333333333333332,
"alnum_prop": 0.7454545454545455,
"repo_name": "stefioan/rails_4_ticket_support_system",
"id": "562caa8ab7b0ce49f8b1c3d3218684cd0a63... |
set -eo pipefail
echo '--- :evergreen_tree: Configuring Environment'
. ./.cicd/helpers/general.sh
PREFIX='base-ubuntu-18.04'
SANITIZED_BRANCH="$(sanitize "$BUILDKITE_BRANCH")"
echo "Branch '$BUILDKITE_BRANCH' sanitized as '$SANITIZED_BRANCH'."
SANITIZED_TAG="$(sanitize "$BUILDKITE_TAG")"
[[ -z "$SANITIZED_TAG" ]] || ec... | {
"content_hash": "cfc6640510676bf6d551dc7f8e8c6e04",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 98,
"avg_line_length": 42.492753623188406,
"alnum_prop": 0.6224420190995907,
"repo_name": "EOSIO/eos",
"id": "33211ac88d8170ce72ce40c947e19fd7b37634ee",
"size": "2944",
"... |
using UnityEngine;
using System.Collections;
using AssemblyCSharp;
using System.Collections.Generic;
using System.Linq;
using System;
public class Aggressor : MonoBehaviour {
public Vector3 Direction;
public float Speed;
public float MaxRadius;
public float MinRadius;
public event EventHandler ShootBacteria;
pu... | {
"content_hash": "d9cfff40c88b31ae8bf0c6d945bc7edc",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 79,
"avg_line_length": 24.859649122807017,
"alnum_prop": 0.6824276640790402,
"repo_name": "Zolomon/GameOfHearts",
"id": "fc9456ca3273ebb7874b460fcb9360487e857cd7",
"size": ... |
(function () {
'use strict';
/**
* This service is intended for resolving all boxes when changing states, in
* order to load make boxes with the correct amount of metadata available to
* the controller. It..
* - wraps the getBoxes API with a ng-progressbar
* - makes sure all boxes are only fetched o... | {
"content_hash": "0132a50a692d67f8f298e7d807bf76fd",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 78,
"avg_line_length": 26.123287671232877,
"alnum_prop": 0.6093340325117986,
"repo_name": "sensebox/OpenSenseMap",
"id": "977ad1f66f50c010febc912793cb14b1a5a568a6",
"size":... |
<?php
namespace Rf\Aws\Kinesis\ClientLibrary;
use Rf\Aws\Kinesis\ClientLibrary\Entity\KinesisShard;
/**
* Manipulating the storage to manage the Shard
*
* @license MIT License (MIT)
* @author FukuiReTu
*/
interface KinesisShardDataStore
{
public function modify(KinesisShard $shard);
public function restore($s... | {
"content_hash": "a09dcdaba2ab1e52e37ebb6563da4a7b",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 53,
"avg_line_length": 18.555555555555557,
"alnum_prop": 0.7604790419161677,
"repo_name": "fukuiretu/amazon-kinesis-client-library-php",
"id": "96361ec67aff78c6468631e5db9348... |
#region License
#endregion
using Apache.NMS;
namespace Spring.Messaging.Nms.Core
{
/// <summary>
/// Specifies a basic set of NMS operations.
/// </summary>
/// <remarks>
/// <p>Implemented by NmsTemplate. Not often used but a useful option
/// to enhance testability, as it ... | {
"content_hash": "c7390358a74e696a06fed88121d80584",
"timestamp": "",
"source": "github",
"line_count": 422,
"max_line_length": 126,
"avg_line_length": 53.40521327014218,
"alnum_prop": 0.6631761103962373,
"repo_name": "dreamofei/spring-net",
"id": "ec14e31645886a66888ff4dbeec1743a3e9ddade",
"size":... |
package com.data;
public interface BookRepository {
Book getByIsbn(String isbn);
}
| {
"content_hash": "828ec1009eb969e10242f0fbf5c4c299",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 33,
"avg_line_length": 17.6,
"alnum_prop": 0.75,
"repo_name": "spolnik/java-workspace",
"id": "31bb30587dec79237e161dd0f327041ab5bfe083",
"size": "88",
"binary": false,
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace OmmitedDatabaseModel3
{
public class Entity14 : BaseEntity
{
public Entity14()
{
this.Entities12 = new Entity12();
... | {
"content_hash": "30348d5772446a6b3dbd54728ccaf88e",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 48,
"avg_line_length": 22.571428571428573,
"alnum_prop": 0.6434599156118144,
"repo_name": "gentledepp/AutoMapper",
"id": "9bbc83f5fd64ecac70d35053fd318f3b69dd2c77",
"size":... |
package com.iancaffey.x86.io.sse3;
/**
* SSE3LoadMoveDuplicateVisitor
* <p>
* MOVSHDUP Loads/moves 128 bits; duplicating the second and fourth 32-bit data elements.
* MOVSLDUP Loads/moves 128 bits; duplicating the first and third 32-bit data elements.
* MOVDDUP Loads/moves 64 bits (bits[63:0] if the source is a r... | {
"content_hash": "a77c2b0c5b41e818b995578e0b6c0584",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 140,
"avg_line_length": 41.470588235294116,
"alnum_prop": 0.7475177304964539,
"repo_name": "iitc/x86",
"id": "8a36800231f68c45b8467186f4fa063b82c7d718",
"size": "705",
"b... |
package com.andyadc.scaffold.showcase.sys.handle;
/**
* @author andaicheng
* @version 2017/6/13
*/
public interface SpringTransactionHandle {
void handle1();
}
| {
"content_hash": "e9a0ee8d4745fa0388f183ce8d3b3a09",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 49,
"avg_line_length": 16.9,
"alnum_prop": 0.7159763313609467,
"repo_name": "andyadc/scaffold",
"id": "ee8bd6a145d3b40ad1089803f2e015cc9a4e25e2",
"size": "169",
"binary":... |
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" ng-click="showMobileNav = !showMobileNav">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="i... | {
"content_hash": "d68fd2486392638358ce44ad8729f7fd",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 115,
"avg_line_length": 49.388888888888886,
"alnum_prop": 0.5759280089988752,
"repo_name": "chinhpv95/MSN-Client",
"id": "c5419091e350d074de4625ee7f4439c850873fa6",
"size":... |
using System;
using System.Linq;
using Baseline;
using Marten.Internal.Operations;
using Marten.Services;
using Marten.Testing.Documents;
using Marten.Testing.Harness;
using Shouldly;
using Xunit;
namespace Marten.Testing.CoreFunctionality
{
public class UnitOfWork_PendingChanges_Functionality_Tests : Integration... | {
"content_hash": "00066b72c72c0df32cb55b54996da7c5",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 135,
"avg_line_length": 33.05833333333333,
"alnum_prop": 0.5313839173178725,
"repo_name": "mdissel/Marten",
"id": "3733f61831e7adeb5eb2c512623eea4742aaa29e",
"size": "7936... |
<?xml version="1.0" encoding="UTF-8"?>
<sem:triples uri="http://www.lds.org/vrl/church-events/church-history" xmlns:sem="http://marklogic.com/semantics">
<sem:triple>
<sem:subject>http://www.lds.org/vrl/church-events/church-history</sem:subject>
<sem:predicate>http://www.w3.org/2004/02/skos/core#prefLabel</se... | {
"content_hash": "c1885f8fd0298045773b850fd92a232b",
"timestamp": "",
"source": "github",
"line_count": 713,
"max_line_length": 172,
"avg_line_length": 64.49789621318374,
"alnum_prop": 0.7264661752234327,
"repo_name": "freshie/ml-taxonomies",
"id": "6015f0f5551c5869825627a6e09c0134ef4da449",
"size"... |
namespace Game {
// State flags to control execution timing of event method
export enum TaskState {
created,
active,
waitingForDestroy,
}
// Task base class
export class TaskClass implements IRecyclableObject {
recycleIndex: int;
recycle() {
... | {
"content_hash": "d7c4bd84ff0880551e5cc2441ef37366",
"timestamp": "",
"source": "github",
"line_count": 299,
"max_line_length": 106,
"avg_line_length": 20.444816053511705,
"alnum_prop": 0.49370194667102896,
"repo_name": "warotarock/ptw_tips",
"id": "1bcfd93c87fb05c0ef549b800d4a0cc8a12af852",
"size"... |
@interface CHButtonActivity : UIActivity
@property (nonatomic, strong) NSString *activityTitle;
@property (nonatomic, strong) UIImage *activityImage;
@property (nonatomic, copy) void (^actionBlock)(CHButtonActivity *sender);
- (id)initWithTitle:(NSString*)title image:(UIImage*)image;
@end
| {
"content_hash": "8c5b2e5205a6e7f533ad6696096d93cd",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 74,
"avg_line_length": 36.5,
"alnum_prop": 0.7808219178082192,
"repo_name": "wade0n/DKRate",
"id": "014d71a2553ca50065297b978264fac3368e7125",
"size": "469",
"binary": fal... |
package org.onosproject.drivers.lisp.extensions.codec;
import com.fasterxml.jackson.databind.node.ObjectNode;
import org.onosproject.codec.CodecContext;
import org.onosproject.codec.JsonCodec;
import org.onosproject.drivers.lisp.extensions.LispTeAddress;
import org.onosproject.mapping.addresses.MappingAddress;
impor... | {
"content_hash": "8370fb2939de475981e4f76261991b39",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 83,
"avg_line_length": 37.56,
"alnum_prop": 0.6464323748668797,
"repo_name": "LorenzReinhart/ONOSnew",
"id": "b5a3cc86b31e80f7a52cc7f63060eab0f539db30",
"size": "3434",
"... |
angular
.module('app')
.controller('EditArtWorkController', ['$scope', '$rootScope', '$q', '$state', '$stateParams', 'File',
function($scope, $rootScope, $q, $state, $stateParams, File){
$scope.artwork = {};
var filter = {
where : {id : $stateParams.id}
};
File.find({filter : filter})
.$promis... | {
"content_hash": "e4098eb5c8a550fa0c783c1a935ccb8b",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 102,
"avg_line_length": 19.653061224489797,
"alnum_prop": 0.5451713395638629,
"repo_name": "dev-augmenta/vrseum-backend",
"id": "7fcda1e3f41aae0ecb8eedbae4460effcda4caf4",
... |
package protorpc
import (
"bytes"
"fmt"
"io"
"sync"
"github.com/golang/protobuf/proto"
"github.com/micro/go-micro/codec"
)
type flusher interface {
Flush() error
}
type protoCodec struct {
sync.Mutex
rwc io.ReadWriteCloser
mt codec.MessageType
buf *bytes.Buffer
}
func (c *protoCodec) Close() error {
c... | {
"content_hash": "9fa789bd25cc75123fc85efed2bb9466",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 79,
"avg_line_length": 19.679012345679013,
"alnum_prop": 0.6348808030112923,
"repo_name": "LOG-ED/docker-micro",
"id": "22eecd7fe4b43aa31c240ca06384e362f3580178",
"size": ... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "55a10fb5088d7f9b202f97f71592c34e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "f2576248f328846eec06a2311353854de7ab309e",
"size": "180... |
<?xml version='1.0'?>
<!--
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 License, Version 2.0 (the
"License")... | {
"content_hash": "b9a34553ed29adbf16a70c73c3677d69",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 201,
"avg_line_length": 34.774193548387096,
"alnum_prop": 0.5292207792207793,
"repo_name": "orpiske/activemq-artemis",
"id": "17d40fdccc1b7597ac755f7b339958cb10f52fc6",
"s... |
@interface WebViewController () {
BOOL inProgress;
__weak IBOutlet UIWebView *webView;
}
@end
@implementation WebViewController {
NSString *_content;
NSURL *_url;
}
- (void)viewDidLoad {
[super viewDidLoad];
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Отме... | {
"content_hash": "815935e0469d21103541d4fae844baaf",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 144,
"avg_line_length": 25.161290322580644,
"alnum_prop": 0.6081196581196581,
"repo_name": "payneteasy/PaynetEasyTransfer",
"id": "9bf96d11c308408b7c83a8d7b2ee5643ff9fb180",
... |
<?py include('admin_header.html') ?>
<nav id="nav2">
<a href="#{{BLOG_ADMIN_RELATIVE_PATH}}twitter/status">Twitter Statue</a>
<a href="#{{BLOG_ADMIN_RELATIVE_PATH}}twitter/oauth">Associate with Twitter</a>
<a href="javascript:;" class="current">Associating Result</a>
</nav>
<div class="notice">${msg}</div>
<?p... | {
"content_hash": "3aca089665acb95b50a47fb0f0d51396",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 81,
"avg_line_length": 44.25,
"alnum_prop": 0.6694915254237288,
"repo_name": "robintptsai/ms101robin",
"id": "59143227553175e62d69d18f7b7bc8e4d49f8610",
"size": "354",
"bi... |
package org.terasology.rendering.nui.layers.mainMenu.videoSettings;
import org.terasology.config.RenderingConfig;
/**
*/
public enum WaterReflection {
SKY("Sky Only") {
@Override
public void apply(RenderingConfig renderConfig) {
renderConfig.setReflectiveWater(false);
ren... | {
"content_hash": "a964434cf650107ee7e1026ed59dafdf",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 67,
"avg_line_length": 25.6046511627907,
"alnum_prop": 0.6457765667574932,
"repo_name": "MarcinSc/Terasology",
"id": "e05d5e155c781740c1cbb7256a815afefb37fcdf",
"size": "16... |
var CardReader = function(opts) {
this._fs = require('fs');
if (typeof opts === 'number') {
SPI2.setup({ mosi: B15, miso: B14, sck: B13 });
E.connectSDCard(SPI2, opts);
} else {
E.connectSDCard(opts.spi, opts.cs);
}
// Some models of SD cards start responding only from the second request.
// We ... | {
"content_hash": "aec8ee8e5febb326d7f18c85b3da7d42",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 82,
"avg_line_length": 25.905882352941177,
"alnum_prop": 0.6376021798365122,
"repo_name": "amperka/espruino-modcat",
"id": "750a60e07222af603ec3a373e6f2d2657ef7d96f",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true">
<layer-list android:paddingBottom="@dimen/mini_margin">
<item android:left="-4dp" android:right="-4dp" android:top="-4dp" android:bottom="2px" >
... | {
"content_hash": "c4bdb32ed8765dcf1e388edf8bcb6a71",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 100,
"avg_line_length": 40.22727272727273,
"alnum_prop": 0.5491525423728814,
"repo_name": "LingjuAI/AssistantBySDK",
"id": "69bf4009322513eaa09715a5eddfb8c1f9275cab",
"size... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.Protocols.TestTools
{
/// ... | {
"content_hash": "e92e3a9d6de7e34c7f6e9dfbb825b217",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 101,
"avg_line_length": 29.248730964467004,
"alnum_prop": 0.4763970843457133,
"repo_name": "LiuXiaotian/ProtocolTestFramework",
"id": "f43c554639f9ad3cacadbbc2ab10b850727f03... |
package george.customconstraint.entity.validator;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import george.customconstraint.entity.MyAddress;
/**
*
* @author George Shumakov <george.shumakov@gmail.com>
*/
public class AddressValidator implements ConstraintVali... | {
"content_hash": "449a86d5648a447541d4133599a0ef91",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 112,
"avg_line_length": 29.53488372093023,
"alnum_prop": 0.637007874015748,
"repo_name": "ggghhhjjj/BeanValidation",
"id": "d255d6da1e3c7162a9816eff04497056a1ff52af",
"size... |
package controllers
import (
"encoding/json"
"fmt"
"net/http"
"strings"
"krypton-server/errors"
"krypton-server/models"
"github.com/astaxie/beego"
)
type User struct {
beego.Controller
}
//TODO: session
func (c *User) Login() {
var params *UserLoginParams
if json.Unmarshal(c.Ctx.Input.RequestBody, ¶m... | {
"content_hash": "ef2d88aa664288aa6022d4cc52da375a",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 127,
"avg_line_length": 21.905109489051096,
"alnum_prop": 0.6847717427524158,
"repo_name": "paradeisos/krypton-server",
"id": "0dfd927eb3ee9dcfa38fe27c9a732ca06ac5301d",
"... |
include "shared.lua"
DEFINE_BASECLASS( "mp_base" )
local pcall = pcall
local print = print
local Angle = Angle
local IsValid = IsValid
local ValidPanel = ValidPanel
local Vector = Vector
local cam = cam
local Start3D = cam.Start3D
local Start3D2D = cam.Start3D2D
local End3D2D = cam.End3D2D
local draw = draw
local mat... | {
"content_hash": "be77affd69a616cf92da3e04a5019905",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 72,
"avg_line_length": 20.62857142857143,
"alnum_prop": 0.724376731301939,
"repo_name": "pixeltailgames/gm-mediaplayer",
"id": "1d40dedbdfa56fc9871c53351daf8182d8804c98",
... |
package com.midi_automator.view.windows.menus;
import javax.swing.JMenuItem;
import javax.swing.JPopupMenu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import com.midi_automator.view.actions.MidiLearnAction;
import com.midi_automator.view.actions.M... | {
"content_hash": "9cb704863a269637320e391537dae5f0",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 78,
"avg_line_length": 28.829268292682926,
"alnum_prop": 0.7961082910321489,
"repo_name": "aguelle/MIDI-Automator",
"id": "d9a45456f566cf943a728da36ca0899d849958f8",
"size"... |
package com.linecorp.armeria.common;
import static com.google.common.base.MoreObjects.firstNonNull;
import io.netty.util.AsciiString;
/**
* Converts a normalized HTTP/2 header name to another HTTP/1 header name.
*/
@FunctionalInterface
public interface Http1HeaderNaming {
/**
* Returns the default {@li... | {
"content_hash": "8bf9e62e1071fa716c426ab5fa902cc2",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 107,
"avg_line_length": 31.736842105263158,
"alnum_prop": 0.6940298507462687,
"repo_name": "trustin/armeria",
"id": "19ed4629039662ab282cb32a19ea1cd619604cb2",
"size": "183... |
<?php
/**
* PressedAudioDiscFormatType filter form base class.
*
* @package mediaSCORE
* @subpackage filter
* @author Nouman Tayyab
* @version SVN: $Id: sfDoctrineFormFilterGeneratedInheritanceTemplate.php 29570 2010-05-21 14:49:47Z Kris.Wallsmith $
*/
abstract class BasePressedAudioDiscFormatTypeForm... | {
"content_hash": "177cb82365b152307528d4eb854cddf0",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 121,
"avg_line_length": 25.75,
"alnum_prop": 0.7427184466019418,
"repo_name": "avpreserve/MediaSCORE",
"id": "8b52e9e9a90ccd39b9fce885f360b7b097c8e46e",
"size": "618",
"b... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnal... | {
"content_hash": "9aaab0b08ffd115da235be094107e36e",
"timestamp": "",
"source": "github",
"line_count": 444,
"max_line_length": 164,
"avg_line_length": 42.20495495495496,
"alnum_prop": 0.6085703612786167,
"repo_name": "genlu/roslyn",
"id": "7a1782ae9fbae99b4c24450a2475923cb9d56560",
"size": "18741"... |
package org.traccar.protocol;
import org.junit.Test;
import org.traccar.ProtocolTest;
public class MtxProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
var decoder = new MtxProtocolDecoder(null);
verifyPosition(decoder, text(
"#MTX,... | {
"content_hash": "90fd7720d0dc9668538856d231ade754",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 115,
"avg_line_length": 23.555555555555557,
"alnum_prop": 0.7028301886792453,
"repo_name": "jssenyange/traccar",
"id": "28b5d3be0d3c2d0665f3829c7d1dd5410d8f97fe",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<include
android:id="@+id/toolbar"
layout="@layout/toolbar"/>
... | {
"content_hash": "d78e8381d49fee424e7b87d3be3e1593",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 62,
"avg_line_length": 26.22222222222222,
"alnum_prop": 0.6504237288135594,
"repo_name": "HiWong/evernote-sdk-android",
"id": "ebb473e2a5312ec529abe6601a2ba6f263d7921f",
"s... |
import React from 'react';
import HelloWorld from 'ps-react/HelloWorld';
/** Custom message */
export default function ExampleHelloWorld() {
return <HelloWorld message="universe!" />
} | {
"content_hash": "8229b7c24b4cef032d52959bf8e6c1e4",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 45,
"avg_line_length": 26.714285714285715,
"alnum_prop": 0.7433155080213903,
"repo_name": "ThomasBem/ps-react-thomasbem",
"id": "986bcbf3b291b9ef9b98a38315b43112fcfdc24e",
"... |
package org.opencb.opencga.analysis.execution.plugins;
import org.opencb.commons.datastore.core.ObjectMap;
import org.opencb.opencga.catalog.managers.CatalogManager;
import org.opencb.opencga.catalog.models.Job;
import org.opencb.opencga.storage.core.StorageManagerFactory;
import org.slf4j.Logger;
import org.slf4j.L... | {
"content_hash": "2ceeea88b02682a1cd35d99a3465557b",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 87,
"avg_line_length": 29.35185185185185,
"alnum_prop": 0.6952681388012618,
"repo_name": "javild/opencga",
"id": "5f57265c73d11268110a1dafa284704cf18a7e37",
"size": "2179",... |
#region Apache License Version 2.0
#endregion Apache License Version 2.0
/*----------------------------------------------------------------
Copyright (C) 2017 Senparc
文件名:TenPayRights.cs
文件功能描述:微信支付维权接口
创建标识:Senparc - 20150211
修改标识:Senparc - 20150303
修改描述:整理接口
修改标识:Senpa... | {
"content_hash": "9c4d88ef75dcec9e56cc25adffb2fe80",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 120,
"avg_line_length": 31.84931506849315,
"alnum_prop": 0.5836559139784946,
"repo_name": "wanddy/WeiXinMPSDK",
"id": "1279047ff1dd692bfcbf59c02b0e5ec2af653cd3",
"size": "3... |
// @author Jan S. Rellermeyer, IBM Research
#ifndef BLOCKMAP_EX_H_
#define BLOCKMAP_EX_H_
// maximum error message langth
#define MSG_LEN 256
static inline void throwIOException(JNIEnv* env, const char* msg)
{
jclass exceptionClass = (*env)->FindClass(env, "java/io/IOException");
if (NULL == exceptionClass)
{
... | {
"content_hash": "01f4a31c9692b410b5cd9d7afc463277",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 75,
"avg_line_length": 24.272727272727273,
"alnum_prop": 0.7063670411985019,
"repo_name": "odaira/capiflash",
"id": "d2e822a46780277fa59438385138a6a46fdbe8c4",
"size": "223... |
<?php
namespace Yosymfony\Spress\Core\Plugin;
/**
* Plugin interface.
*
* @api
*
* @author Victor Puertas <vpgugr@gmail.com>
*/
interface PluginInterface
{
/**
* Metas of a plugin.
*
* Standard metas:
* - name: (string) The name of plugin.
* - description: (string) A short des... | {
"content_hash": "0f0085c7efe9024fdedf3f31f0903669",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 82,
"avg_line_length": 24.454545454545453,
"alnum_prop": 0.5901486988847584,
"repo_name": "spress/Spress",
"id": "2d1e73601c755715fd97fc9c055c24a7fbc8c129",
"size": "1308",... |
<?php
namespace li3_mailer\tests\mocks\net\mail\transport\adapter;
class SwiftTransport {
public $delivered = array();
public function send($message) {
$this->delivered[] = $message;
return $this;
}
}
?> | {
"content_hash": "cbe5eb8545bb02ac6b2f7a808aa45ae9",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 60,
"avg_line_length": 14.333333333333334,
"alnum_prop": 0.6883720930232559,
"repo_name": "mehlah/li3_mailer",
"id": "5c8a4ec52f9c19c57266b58982346af60c057fc2",
"size": "21... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assemb... | {
"content_hash": "d2ecb221dd3cdb6b454e54f88eb6edaf",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 84,
"avg_line_length": 38.578947368421055,
"alnum_prop": 0.7332878581173261,
"repo_name": "F-Secure/lokki-wp8",
"id": "5a1d5ffb7540d64d275b01a4e6ccfcf2a61d1c1c",
"size": "1... |
package org.jboss.hal.client.deployment;
import java.util.Iterator;
import elemental2.dom.HTMLElement;
import org.jboss.hal.ballroom.EmptyState;
import org.jboss.hal.core.deployment.Deployment;
import org.jboss.hal.core.modelbrowser.ModelBrowser;
import org.jboss.hal.dmr.ResourceAddress;
import org.jboss.hal.resourc... | {
"content_hash": "c9095957cb4d0c516df67085f38fd389",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 117,
"avg_line_length": 37.74285714285714,
"alnum_prop": 0.7297501892505678,
"repo_name": "hal/hal.next",
"id": "f04146c4261d398b423d6cd5d0d907bb7955dcce",
"size": "3269",
... |
/*global define*/
define([
'../Core/BoundingRectangle',
'../Core/Cartesian2',
'../Core/Cartesian3',
'../Core/Cartesian4',
'../Core/Cartographic',
'../Core/defined',
'../Core/defineProperties',
'../Core/EncodedCartesian3',
'../Core/Math',
'.... | {
"content_hash": "798175624e9352da71e5132121e356e1",
"timestamp": "",
"source": "github",
"line_count": 1214,
"max_line_length": 176,
"avg_line_length": 33.74299835255354,
"alnum_prop": 0.5778976662435309,
"repo_name": "denverpierce/denverpierce.github.io",
"id": "1666fe127a1ef3cdd16123d43ae39947327e... |
namespace omaha {
// Test what happens when we hit an ATLASSERT within ATL code.
// The CComPtr expects the parameter to be 0.
TEST(AtlAssertTest, AtlAssert) {
ExpectAsserts expect_asserts;
CComPtr<IUnknown> p(reinterpret_cast<IUnknown*>(1));
}
} // namespace omaha
| {
"content_hash": "436a411611cf74424cf3478d791032ef",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 62,
"avg_line_length": 27.3,
"alnum_prop": 0.73992673992674,
"repo_name": "pinkpegasus/omaha_vs2010",
"id": "ee12ff54efba37b4841e367cf1ea938f7073d695",
"size": "1012",
"b... |
package org.vitrivr.adampro.utils.exception
import org.vitrivr.adampro.data.index.Index.IndexName
/**
* adamtwo
*
* Ivan Giangreco
* August 2015
*/
case class IndexNotExistingException(message : String = "Index not existing.") extends GeneralAdamException(message)
object IndexNotExistingException {
def withIn... | {
"content_hash": "77c1504270725eba9a32012998f7a537",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 138,
"avg_line_length": 32.07142857142857,
"alnum_prop": 0.7906458797327395,
"repo_name": "dbisUnibas/ADAMpro",
"id": "d80a5281376e81a987582cbeac33007be1eb9d99",
"size": "4... |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import {assertEquals, assertFalse, assertTrue} from 'chrome://webui-test/chromeos/chai_assert.js';
import {createChild} from '../../common/js/dom_utils.js';
import {FakeEntryI... | {
"content_hash": "8cc73994d2a7c5ba347148d3f458c1f9",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 98,
"avg_line_length": 34.25308641975309,
"alnum_prop": 0.7413948459181835,
"repo_name": "chromium/chromium",
"id": "4b1deeb6cd31b9f80c9cc4f3e59b3333360b3919",
"size": "55... |
/* eslint-disable no-console */
/**
* Tencent is pleased to support the open source community by making QMUI Web available.
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance
* with the Licens... | {
"content_hash": "589b00a98e16f4a34f4fbed8c1c13058",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 103,
"avg_line_length": 33.208955223880594,
"alnum_prop": 0.5910112359550562,
"repo_name": "QMUI/QMUI_Web",
"id": "e6a8714f868aa55d720850237e78ba8b390667dd",
"size": "2263"... |
package tk.mybatis.mapper.util;
import tk.mybatis.mapper.code.Style;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Created by liuzh_3nofxnp on 2015/8/26.
*/
public class StringUtil {
/**
* 空
*
* @param str
* @return
*/
public static boolean isEmpty(String s... | {
"content_hash": "6123c705a5dd1756f541bca49a1118dd",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 112,
"avg_line_length": 24.72,
"alnum_prop": 0.5165857605177994,
"repo_name": "forestqqqq/Mapper",
"id": "ec976263b06363cfb2d3ed459ede3c96fd1b7b8d",
"size": "2552",
"bin... |
This container helps to create the actions that will be used in the [ActionIconToggle.component](https://github.com/Talend/ui/blob/master/packages/components/src/Actions/ActionIconToggle/ActionIconToggle.component.js)
An example of use
```javascript
cmf.settings.actions = {
'my-awesome-action-from-registry': {
... | {
"content_hash": "6673fe93ba77474ca7ee51e2779f93a2",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 217,
"avg_line_length": 27.225806451612904,
"alnum_prop": 0.636650868878357,
"repo_name": "Talend/ui",
"id": "aa601f70d4bbe63b7123623611da2e4433a39b6b",
"size": "2565",
"... |
CDrawHeader::CDrawHeader()
{
m_pAlmSum = NULL;
m_nColumnCatpture = -1;
m_nDragDivideOffset = 0;
m_nResizingColumn = -1;
m_bColumnResizing = FALSE;
m_nResizeCaptureRange = 3;
m_hColDivCursor = ::CreateCursor(_Module.GetModuleInstance(), _DivideColumn_CursorData.xHotSpot, _DivideColumn_CursorData.yHotSpot, _Divi... | {
"content_hash": "c8269eea3d4d5e9b39aa17105e2d196f",
"timestamp": "",
"source": "github",
"line_count": 325,
"max_line_length": 278,
"avg_line_length": 24.28923076923077,
"alnum_prop": 0.6822903470990626,
"repo_name": "qinyong99/SuperCxHMI",
"id": "6ae376907853ad429252e5d05f04a5cca315c1fc",
"size":... |
tinyMCE.addI18n('vi.advlink_dlg',{
title:"Th\u00EAm/S\u1EEDa Link",
url:"Link URL",
target:"Target",
titlefield:"Title",
is_email:"The URL you entered seems to be an email address, do you want to add the required mailto: prefix?",
is_external:"The URL you entered seems to external link, do you want to add the req... | {
"content_hash": "d8a7dd049dcee4bbc2f81660d3b85b04",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 109,
"avg_line_length": 32.30769230769231,
"alnum_prop": 0.725,
"repo_name": "tatemae/muck-contents",
"id": "75f8e59d98684995b2b7307e51d589af0a55e9fb",
"size": "1680",
"b... |
import nltk
sent = "They wind back the clock, while we chase after the wind."
text = nltk.word_tokenize(sent)
print text
print nltk.pos_tag(text)
| {
"content_hash": "7662ab90e4d26181891f450ef4b54936",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 65,
"avg_line_length": 21.142857142857142,
"alnum_prop": 0.7432432432432432,
"repo_name": "MingjunZhou/nltk_book",
"id": "f1fcecd5dee9c527dba0fbd8404a9f71db27c136",
"size": ... |
"use strict";
module.exports = require("./snappy-canvas.js"); | {
"content_hash": "eb5a89d69a898006d11d840bde4b1f47",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 47,
"avg_line_length": 20.666666666666668,
"alnum_prop": 0.6935483870967742,
"repo_name": "wanadev/snappy-canvas",
"id": "e763ce3f3e830d3a847aeef246300112fd4b1e8c",
"size": ... |
module DataMapper
module Constraints
module Migrations
module Relationship
# @api private
def auto_migrate_constraints_up(repository_name)
# no-op
end
# @api private
def auto_migrate_constraints_down(repository_name)
# no-op
end
m... | {
"content_hash": "6c1bdf5f8c147c2600ded257f26a1ca6",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 68,
"avg_line_length": 27.80952380952381,
"alnum_prop": 0.6412671232876712,
"repo_name": "ckbkr/ss5-ruby-web-interface",
"id": "5e10b1a6cb803a808552b526faf354807c17b416",
"... |
layout: page
title: "CMCI 4841: Undergraduate Independent Study Statistics"
comments: true
description: "blanks"
keywords: "CMCI,4841,CU,Boulder"
---
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highchart... | {
"content_hash": "93476fea12eadbdefcc7f63997a5e0a9",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 113,
"avg_line_length": 29.617977528089888,
"alnum_prop": 0.6566767830045523,
"repo_name": "nikhilrajaram/nikhilrajaram.github.io",
"id": "1350b389751ec5640f8369eb1d899391779... |
layout: post
title: Random Forest Modeling of the IMDB top 250 movies
---

The Imdb top 250 greatest movies of all time maybe skewed with higher ratings but we will use this to our advantage because we are tasked to give recommendations on movies to add to Netflix streaming service. And ther... | {
"content_hash": "2d50d0062b26a8c18c0a87cfb6771e67",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 562,
"avg_line_length": 73.43478260869566,
"alnum_prop": 0.7797513321492007,
"repo_name": "mc227/mc227.github.io",
"id": "97facbf32c3ab8f29d1e1a3443415e33dbea97a4",
"size":... |
package hw.hw8;
public class BeginField implements State {
private CSVMachine machine;
public BeginField(CSVMachine machine) {
this.machine = machine;
}
public void quote(Character c) {
machine.setState(machine.getQuotedField());
}
public void comma(Character c) {
ma... | {
"content_hash": "f94e26b0179d2946e29af858f1647ea4",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 53,
"avg_line_length": 21.2,
"alnum_prop": 0.6471698113207547,
"repo_name": "rootulp/school",
"id": "5c9c37d8d769a74089ab704602495897cd8ab774",
"size": "530",
"binary": f... |
<!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 Wed Jun 10 13:53:02 MST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... | {
"content_hash": "b755350a4e60a516593869bee1fe0659",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 507,
"avg_line_length": 51.50515463917526,
"alnum_prop": 0.6620296236989591,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "758bbbab3731f9357666e7f00f2d9248c5ee... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3cbe6b576d1531c58c3e940fe3d82cb5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "88265e904ceefbfe1cb885bf063509d25bd49fe7",
"size": "23... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v10/services/feed_item_set_service.proto
namespace Google\Ads\GoogleAds\V10\Services;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* A single... | {
"content_hash": "5a8e7543a4e859ac0407c86788f617ed",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 109,
"avg_line_length": 30.237113402061855,
"alnum_prop": 0.6293897033753836,
"repo_name": "googleads/google-ads-php",
"id": "e2f6e3abbdd390febb4b0aac4020648414983aee",
"s... |
<h2 id="what-is-it-">What Is It?</h2>
<p><a href="http://github.com/clineamb/bootstrap-drawer">bootstrap-drawer</a> is a Bootstrap add-on/plugin that, in Bootstrap style, adds an "off-canvas" element to your pages and containers. We call it a "drawer" in these parts.*</p>
<p>I've looked around f... | {
"content_hash": "21cb84d388ba0b398cdd6a9317d802d9",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 416,
"avg_line_length": 78.49717514124293,
"alnum_prop": 0.6486972794011804,
"repo_name": "williamcanin/ghoost-theme-jekyll",
"id": "cd88cf8a93125524e0cbf729543de3937916b197... |
/*
* This file was originally distributed by Qualcomm Atheros, Inc.
* under proprietary terms before Copyright ownership was assigned
* to the Linux Foundation.
*/
/*
* File: $File: //depot/software/projects/feature_branches/nova_phase1/ap/apps/include/aniAsfPacket.h $
* Contains declarations for packet manipu... | {
"content_hash": "e939585cda771c2a01b0afac96c36ddd",
"timestamp": "",
"source": "github",
"line_count": 593,
"max_line_length": 103,
"avg_line_length": 28.834738617200674,
"alnum_prop": 0.7196912100122814,
"repo_name": "michelborgess/RealOne-Victara-Kernel",
"id": "31d4face476d226dc1c5d85afe91c4890b3... |
This is a header Layout!
## LICENSE
Copyright 2015-2019 Toaker DesignBeyondLayout
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requ... | {
"content_hash": "cd5439db446df5b483656feb2d8f511f",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 73,
"avg_line_length": 34.388888888888886,
"alnum_prop": 0.7802907915993538,
"repo_name": "devsoulwolf/DesignBeyondLayout",
"id": "8236a556ffdd0df25b6a806f9acee29b276a7673",
... |
package org.apache.commons.vfs2;
/**
* A {@link FileSelector} that selects files of a particular type.
*/
public class FileTypeSelector implements FileSelector {
/** The FileType */
private final FileType type;
/**
* Creates a new selector for the given file type.
*
* @param type The fi... | {
"content_hash": "2e1c5cc7fee97adb3fcd72f41e1c7566",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 88,
"avg_line_length": 27.11627906976744,
"alnum_prop": 0.6560891938250428,
"repo_name": "apache/commons-vfs",
"id": "89cb3028e833edfe5203c16e9b5165a93217e2f6",
"size": "19... |
<?php
namespace Google\Cloud\Debugger\Tests\Snippet;
use Google\Cloud\Core\Testing\Snippet\SnippetTestCase;
use Google\Cloud\Debugger\Variable;
use Google\Cloud\Debugger\VariableTable;
/**
* @group debugger
*/
class VariableTableTest extends SnippetTestCase
{
public function testClass()
{
$snippet... | {
"content_hash": "aa67de8b8668e1dac6424203b0b41272",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 79,
"avg_line_length": 32.666666666666664,
"alnum_prop": 0.6462585034013606,
"repo_name": "googleapis/google-cloud-php",
"id": "d038b86652488ceaa037aef237c49ac780164808",
"... |
. ./support/aws-scripts/.main.sh
aws apigateway get-resources --rest-api-id "$API_ID"
| {
"content_hash": "32f8faa0b1ad72611a25a178aead3f2a",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 52,
"avg_line_length": 29,
"alnum_prop": 0.7126436781609196,
"repo_name": "bruno-kenji/aws-scripts",
"id": "270bf6037caff7fc61c51dc677c1b87575c7a516",
"size": "198",
"bina... |
JAR_VERSION=1.0.0-SNAPSHOT
echo "Using JAVA_OPTS=$JAVA_OPTS"
echo "CMD Args: $@"
java $JAVA_OPTS -Dspring.config.location=/application.properties -jar "/openapi-server-${JAR_VERSION}.jar" "$@"
| {
"content_hash": "777c10f083138f1f1296473012ee90ae",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 111,
"avg_line_length": 32.5,
"alnum_prop": 0.717948717948718,
"repo_name": "melthaw/spring-backend-boilerplate",
"id": "187232ad439814a6d80bb1384a9c19eef7471461",
"size": "... |
layout: data_model
title: WindowsThreadObjectType
this_version: 1.1
---
<div class="alert alert-danger bs-alert-old-docs">
<strong>Heads up!</strong> These docs are for STIX 1.1, which is not the latest version (1.2). <a href="/data-model/1.2/WinThreadObj/WindowsThreadObjectType">View the latest!</a>
</div>
<div ... | {
"content_hash": "89beda978bf4c55aafa40bec70c4ee16",
"timestamp": "",
"source": "github",
"line_count": 238,
"max_line_length": 391,
"avg_line_length": 29.289915966386555,
"alnum_prop": 0.5781093099985655,
"repo_name": "jburns12/stixproject.github.io",
"id": "2cb459fd5f1c6f8aff1211381d466acf1adfb52f"... |
<?xml version="1.0"?>
<phpunit
bootstrap="test/bootstrap.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"... | {
"content_hash": "c26d1e9e63200048d16af63c64547a75",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 43,
"avg_line_length": 27.15,
"alnum_prop": 0.6058931860036832,
"repo_name": "bugadani/Minty",
"id": "756cb024c31bd85b68938ac30a1c7a7b8da98ad2",
"size": "543",
"binary": ... |
package Net::Amazon::Validate::ItemSearch::ca::MusicLabel;
use 5.006;
use strict;
use warnings;
sub new {
my ($class , %options) = @_;
my $self = {
'_default' => 'Music',
%options,
};
push @{$self->{_options}}, 'Classical';
push @{$self->{_options}}, 'Music';
bless $self, $cl... | {
"content_hash": "ae8323af2f39aadc73f3773c8eb10582",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 60,
"avg_line_length": 17,
"alnum_prop": 0.5578093306288032,
"repo_name": "carlgao/lenga",
"id": "b30b41f44f44390631d57c3a61d02f3e55474fcc",
"size": "1064",
"binary": fal... |
package me.ellios.hedwig.benchmark.thrift.client;
import me.ellios.hedwig.benchmark.AbstractBenchmarkClient;
import me.ellios.hedwig.benchmark.ClientRunnable;
import me.ellios.hedwig.benchmark.thrift.Benchmark;
import me.ellios.hedwig.rpc.client.ServiceHelper;
import java.util.concurrent.CountDownLatch;
impor... | {
"content_hash": "e41c4d3fdcff0b0683bac8313062be23",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 97,
"avg_line_length": 36.285714285714285,
"alnum_prop": 0.7234251968503937,
"repo_name": "ellios/hedwig",
"id": "bb9505864724ac65dec62bf5f2f859aeba89ecc1",
"size": "1016",... |
package org.apache.river.test.spec.jeri.mux.util;
//java.io
import java.io.InputStream;
import java.io.IOException;
import java.io.OutputStream;
/**
* Utility class to represent a Jini ERI Multiplexing protocol
* Abort message
*/
public class AbortMessage implements Message {
private static final byte[] refe... | {
"content_hash": "270d2bd1b15a58127017b2552bb6fd0c",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 80,
"avg_line_length": 29.299145299145298,
"alnum_prop": 0.5948074679113186,
"repo_name": "pfirmstone/river-internet",
"id": "36fda3b24be2d53ff2f986c68e92bcb3f9c07365",
"s... |
package com.intellij.spellchecker;
import com.intellij.psi.PsiLiteralExpression;
import com.intellij.spellchecker.tokenizer.Token;
import com.intellij.spellchecker.tokenizer.Tokenizer;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
* Created by IntelliJ IDEA.
*
* @author ... | {
"content_hash": "55bfc05d1b84e4e7b0e12fa890db0643",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 91,
"avg_line_length": 28.045454545454547,
"alnum_prop": 0.7909238249594813,
"repo_name": "jexp/idea2",
"id": "2ebec3c8aac93e1076c370e9d7ef59529835cc1a",
"size": "1217",
... |
<?php
namespace o;
class u_RequestData {
private $method = '';
private $dataSource = '';
function __construct($method) {
$this->method = $method;
if ($method == 'get' || $method == 'post'){
$this->dataSource = $method;
}
else {
Tht::error('HTTP m... | {
"content_hash": "286bf2c88a7cf2b9d975bc0da71cbb4b",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 76,
"avg_line_length": 20.876923076923077,
"alnum_prop": 0.5497420781134856,
"repo_name": "joelesko/tht",
"id": "dfe967b5fdb39da47e003f54eca7b8320071f1a0",
"size": "1357",
... |
<include target="header.html" />
<div id="body">
<include target="progress_menu.html" />
<div id="content">
<ul>
<li loop="$checklist => $key,$val" cond="!$val">
{@ $isDisable = TRUE}
<strong>{$lang->install_checklist_title[$key]}<block cond="$key == 'php_version'">(Ver. {$phpversion})</block></strong>
... | {
"content_hash": "9de82af745498a5b74e52cd19dd384f0",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 225,
"avg_line_length": 48.372549019607845,
"alnum_prop": 0.604783137413863,
"repo_name": "talkwithraon/XE4KAIST",
"id": "3178ba1bde12f6d149d56918ce57da9f50d12bdd",
"size":... |
<?php
/**
* Created by PhpStorm.
* User: sabloger
* Date: 7/11/17
* Time: 5:24 PM
*/
namespace Php_Strict\Traits;
trait TypesTrait
{
static $TYPE_ANY = 'any';
/**
* @var array
*/
static $TYPES_MAP = [
'int' => 'integer',
'str' => 'string'
];
/**
* @param st... | {
"content_hash": "6598c9abed3824195d0a5c2a7c1c4a53",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 95,
"avg_line_length": 19.307692307692307,
"alnum_prop": 0.502788844621514,
"repo_name": "sabloger/php-strict",
"id": "8b779e05f9e5ba9172ef77613de4338e54d26d2f",
"size": "1... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (version 1.7.0_01) on Tue Feb 14 20:29:37 CET 2012 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>ch.lambdaj.function... | {
"content_hash": "28d8a27973bc5a495490151f9d6e0268",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 189,
"avg_line_length": 37.37062937062937,
"alnum_prop": 0.6351047904191617,
"repo_name": "chtiJBUG/lambdaj",
"id": "09b163993901f29203e93aaf0305b38141e000d0",
"size": "53... |
/**
* Write a JavaScript function that finds how many times a substring is contained in a given text (perform case insensitive search).
*/
var text = "The text is as follows: We are living in an yellow submarine. We don't have anything else. inside the submarine is very tight. So we are drinking all the day. We will ... | {
"content_hash": "ae6d18cbd9684c9df8cb7ffa27dc1499",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 206,
"avg_line_length": 31,
"alnum_prop": 0.6563814866760168,
"repo_name": "GoranGit/JS-Basic",
"id": "325655dc62bb1d0d0c5c4983937b3a49ccbef775",
"size": "713",
"binary":... |
namespace extensions {
namespace {
class PageAsBrowserActionApiTest : public ExtensionApiTest {
public:
PageAsBrowserActionApiTest() {}
virtual ~PageAsBrowserActionApiTest() {}
void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
ExtensionApiTest::SetUpCommandLine(command_line);
command_line->Ap... | {
"content_hash": "da56c6be4c97c9a9aab3347a1840065e",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 80,
"avg_line_length": 35.54857142857143,
"alnum_prop": 0.7141938595081176,
"repo_name": "leiferikb/bitpop-private",
"id": "c065eea8fde843e9ec6e77b744082e97196dbbaa",
"siz... |
package proxy
import (
"errors"
"net/http"
"strings"
"github.com/fsouza/go-dockerclient"
)
const MaxDockerHostname = 64
var (
ErrNoCommandSpecified = errors.New("No command specified")
)
type createContainerInterceptor struct{ proxy *Proxy }
// ErrNoSuchImage replaces docker.NoSuchImage, which does not conta... | {
"content_hash": "be65e1551954b07111f92d3672aa16f8",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 124,
"avg_line_length": 24.687150837988828,
"alnum_prop": 0.6881647431545599,
"repo_name": "weaveworks/weave",
"id": "38afa748ce8e33be72062a01aaf59d0b18cd091b",
"size": "4... |
%
% Usage: gstruct =mexReadGroupStruct(file)
%
% Name: mexReadGroupStruct
%
% Description: reads a text file describing "simply" the structure of groups
% of variables needed by mexProximalGraph, mexProximalTree, mexFistaGraph,
% mexFistaTree and mexStructTrainDL and builds the corresponding group structure.
%... | {
"content_hash": "4e3397ce9e8164d50e8b5f12982bbd7a",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 93,
"avg_line_length": 48.41379310344828,
"alnum_prop": 0.6787749287749287,
"repo_name": "linhvannguyen/PhDworks",
"id": "8833201bb129bf5b3bc55cb27daa9ab27b09ab88",
"size":... |
package com.lmax.disruptor.queue;
import static com.lmax.disruptor.support.PerfTestUtil.failIf;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.ut... | {
"content_hash": "4ff7a6592a2522d3008e168f5c1fe31d",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 126,
"avg_line_length": 31.411347517730498,
"alnum_prop": 0.5617520885075638,
"repo_name": "AllenRay/disruptor",
"id": "048c34937f787326628c9d2888a33dd9b6ea2e44",
"size": ... |
class SalesOrder < ActiveRecord::Base
end
| {
"content_hash": "45a905c6c2ca679b6e0cbfe98943268c",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 37,
"avg_line_length": 21,
"alnum_prop": 0.8095238095238095,
"repo_name": "Keenan144/Group-F",
"id": "f6bd06fa6a165c147ebed2cd7baf9d0b5a23e984",
"size": "42",
"binary": fa... |
package csrf
import (
"net/http"
"reflect"
"testing"
)
// Tests that options functions are applied to the middleware.
func TestOptions(t *testing.T) {
var h http.Handler
age := 86400
domain := "gorillatoolkit.org"
path := "/forms/"
header := "X-AUTH-TOKEN"
field := "authenticity_token"
errorHandler := unau... | {
"content_hash": "2c0898bdb0cb41fc4c499901757b3956",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 92,
"avg_line_length": 25.397260273972602,
"alnum_prop": 0.6839266450916937,
"repo_name": "goframework/gf",
"id": "eb325b2dbe7e8b6852d4d72fe8ac0435a8abe5b0",
"size": "1854"... |
<!doctype html>
<title>CSS Test Reference</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<style>
img {
border: 1px solid black;
height: 70px;
width: 70px;
}
</style>
<img src="/css/support/60x60-green... | {
"content_hash": "6f45de1972722a4bc4ef7f17ca28d843",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 79,
"avg_line_length": 27.25,
"alnum_prop": 0.6758409785932722,
"repo_name": "chromium/chromium",
"id": "c3253f750c58126dcd71d93b7c4142b10b1e77d1",
"size": "328",
"binary... |
class RegisteredEmaReader{
private:
RegisteredEmaData& data;
public:
RegisteredEmaReader(RegisteredEmaData& data) :
data(data) {
}
void from(const std::string& fileName) {
// try to open file
std::ifstream inFile(fileName);
if(inFile.is_open() == false) {
throw std::runtime_error... | {
"content_hash": "3ca4f9c78e58e572b5a41f332676f4f8",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 76,
"avg_line_length": 21.419117647058822,
"alnum_prop": 0.6577411603158256,
"repo_name": "m2ci-msp/mri-shape-tools",
"id": "3a3c19c9e17e7ce93472e80ca515f32314d88840",
"si... |
#ifndef itkDefaultPixelAccessorFunctor_h
#define itkDefaultPixelAccessorFunctor_h
#include "itkMacro.h"
namespace itk
{
/** \class DefaultPixelAccessorFunctor
* \brief Provides a common API for pixel accessors for Image and VectorImage.
*
* This class makes the interface to DefaultVectorPixelAccessor a... | {
"content_hash": "85a783a7db93c08c6907c16db77da045",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 87,
"avg_line_length": 29.2680412371134,
"alnum_prop": 0.7044734061289186,
"repo_name": "RayRuizhiLiao/ITK_4D",
"id": "8f92421acecc47790da09df455914ed32d962749",
"size": "3... |
package org.apache.camel.component.sjms;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.component.sjms.support.JmsTestSupport;
import org.junit.jupiter.api.Test;
public class JmsSelectorTest extends JmsTestSupport {
@Override
protec... | {
"content_hash": "1d107f76cd99f89a80bdfe2fca4f9b28",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 115,
"avg_line_length": 32.85,
"alnum_prop": 0.6666666666666666,
"repo_name": "adessaigne/camel",
"id": "cf27f32746b7e69e01997c2c86b83bf914e8d8dd",
"size": "2116",
"binar... |
package org.apache.hadoop.hbase.util;
import java.io.IOException;
import java.util.Arrays;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.hbase.HBaseTestingUtility;
import org.apache.hadoop.hbase.HColumnDescript... | {
"content_hash": "1bfe3f4f3fa45809bad1d93e802b902c",
"timestamp": "",
"source": "github",
"line_count": 383,
"max_line_length": 87,
"avg_line_length": 36.838120104438644,
"alnum_prop": 0.6840314692749309,
"repo_name": "jyates/hbase",
"id": "26406c9e57924d1ab5b25a5b0c104fe898889b9d",
"size": "14904"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "340a1f2955e71b2eb721c3f1e7037db9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "e4dc2e8249890ebf59fc8099a608c5faf82505ea",
"size": "187... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.