text
stringlengths
2
1.04M
meta
dict
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2011 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/license...
{ "content_hash": "dd2cbe17cab4e8db2ba9138cc5cebc5f", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 117, "avg_line_length": 53.355932203389834, "alnum_prop": 0.7061626429479034, "repo_name": "marcocbarbieri/BusItu", "id": "bd7232491cc6d5e33c68ad628ae508ec8a2dc674", "size"...
package io.github.greyp9.arwo.app.cache.servlet; import io.github.greyp9.arwo.app.cache.handler.CacheHandlerGet; import io.github.greyp9.arwo.app.core.servlet.ServletU; import io.github.greyp9.arwo.app.core.state.AppState; import io.github.greyp9.arwo.app.core.state.AppUserState; import io.github.greyp9.arwo.core.app....
{ "content_hash": "46536c3ed10b40fbb818a49a521acc74", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 108, "avg_line_length": 39.42857142857143, "alnum_prop": 0.7382246376811594, "repo_name": "greyp9/arwo", "id": "f83f64287c9d1e40805d0a624e25ca53b72177b8", "size": "2208", ...
import argparse import re parser = argparse.ArgumentParser( description='extracts the total xor differnces from an xor log') parser.add_argument('--log_file', '-l',required=True, help='log file') parser.add_argument('--output', '-o', required=True, help='output file to sto...
{ "content_hash": "8a64e23c9c1ad45065b9a2339c5edbba", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 68, "avg_line_length": 27.75, "alnum_prop": 0.6332046332046332, "repo_name": "efabless/openlane", "id": "842b484df83398a8a5e1cc490099d5f5c03e2a12", "size": "1363", "binar...
using ColossalFramework; using MetroOverhaul; using MetroOverhaul.NEXT.Extensions; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace MetroOverhaul { class MOMMetroTrackBridgeAI : MetroTrackBridgeAI { public List<BridgePillarItem> pillarList { get; set; } public ...
{ "content_hash": "17e21dec04df2cbf9c05c45973003290", "timestamp": "", "source": "github", "line_count": 236, "max_line_length": 147, "avg_line_length": 42.69491525423729, "alnum_prop": 0.4523620484319174, "repo_name": "earalov/Skylines-ElevatedTrainStationTrack", "id": "61b8f351ece5aa7df975710d10aa70...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "bcc2148694a54a4cf0e5f4349f409035", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "df6c65f8bf7cc9a0a79bdf428c39bbaa1b3b82ea", "size": "182...
<!-- Copyright (c) 2000-2022, Board of Trustees of Leland Stanford Jr. University Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condi...
{ "content_hash": "937c74d62d38428035f7666e511c9048", "timestamp": "", "source": "github", "line_count": 196, "max_line_length": 125, "avg_line_length": 39.23979591836735, "alnum_prop": 0.6059030035105968, "repo_name": "lockss/lockss-daemon", "id": "ac40c8ed5ff75dacf86d733897de366a6b622e15", "size":...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.MarkdownLite { using System.Collections.Immutable; /// <summary> /// A builder for create an instance of <see cref="IMarkdow...
{ "content_hash": "e9f56e177d5b01bf2147ca426384851e", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 134, "avg_line_length": 34.44117647058823, "alnum_prop": 0.605465414175918, "repo_name": "dotnet/docfx", "id": "64647b35f1fd82aa6d57b7d1c271a464c8d68d20", "size": "2344", ...
package org.kuali.rice.kew.actions; import org.junit.Test; import org.kuali.rice.kew.actionrequest.ActionRequestValue; import org.kuali.rice.kew.api.KewApiServiceLocator; import org.kuali.rice.kew.api.WorkflowDocument; import org.kuali.rice.kew.api.WorkflowDocumentFactory; import org.kuali.rice.kew.api.action.MovePoi...
{ "content_hash": "6568469b8a44c6d85bd2b68cfad3e459", "timestamp": "", "source": "github", "line_count": 174, "max_line_length": 179, "avg_line_length": 65.11494252873563, "alnum_prop": 0.7316857899382171, "repo_name": "ua-eas/ua-rice-2.1.9", "id": "c828d461755024de257d3e996bbcbdb1947ac069", "size":...
@interface AttachmentsViewController : UITableViewController @property (nonatomic, retain) NSArray *attachments; @end
{ "content_hash": "738231740d7ae6ef4d513a6129cc13c5", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 60, "avg_line_length": 29.75, "alnum_prop": 0.8319327731092437, "repo_name": "shengbinmeng/UniBBS", "id": "0866998e4b3b57f10d31b914c8b8be554329fc5d", "size": "301", "binar...
<?php /** * This is a PHP 5.2 compatible fallback implementation of the BlackfireSpan provided by the extension. * The interfaces and behavior are the same, or as close as possible. * * A general rule of design is that this fallback (as the extension) does not generate any exception. */ class BlackfireSpan { ...
{ "content_hash": "2add55e829cb7f8b41af787ea6844154", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 103, "avg_line_length": 25.776315789473685, "alnum_prop": 0.5181214905564063, "repo_name": "blackfireio/php-sdk", "id": "998b00dd64c6a52b7670d0b17d7030b630f0199c", "size": ...
package com.seasonfif.matrix.proxy; import android.content.Context; import com.seasonfif.matrix.card.ICard; import com.seasonfif.matrix.card.ICardFactory; import com.seasonfif.matrix.helper.CardCache; /** * 创建时间:2017年05月18日18:05 <br> * 作者:zhangqiang <br> * 描述:工厂代理 */ public class FactoryProxy implements ICardFa...
{ "content_hash": "20b18c9b23bc7aa94cce45eb51d14984", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 64, "avg_line_length": 22.38888888888889, "alnum_prop": 0.7121588089330024, "repo_name": "seasonfif/TheDemo", "id": "731fabf6a6e13e0b9955cd1844dfc4f0d878b98e", "size": "842...
import { Meteor } from 'meteor/meteor'; Meteor.publish('userData', function() { if (!this.userId) { return this.ready(); } return RocketChat.models.Users.find(this.userId, { fields: { name: 1, username: 1, status: 1, statusDefault: 1, statusConnection: 1, avatarOrigin: 1, utcOffset: 1, ...
{ "content_hash": "f32f0ee6c09833efd83a064a99ce989e", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 51, "avg_line_length": 20.135135135135137, "alnum_prop": 0.636241610738255, "repo_name": "pkgodara/Rocket.Chat", "id": "3bd9f8a24c634ecb424943c43509334b46a26202", "size": "...
package com.aviary.android.feather.widget; import java.io.File; import java.io.IOException; import java.util.HashMap; import android.app.AlertDialog; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.da...
{ "content_hash": "7e99423b42cef97d49be63d865ad6f6c", "timestamp": "", "source": "github", "line_count": 1108, "max_line_length": 164, "avg_line_length": 31.0586642599278, "alnum_prop": 0.6899718129776538, "repo_name": "xiuzhuo/MyAndroidLib", "id": "11b6cd8560c5cd68cfe35c70cd182a8b6679dfc8", "size":...
#if !PocketPC || DesignTime using System; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Globalization; using System.Reflection; namespace DotSpatial.Positioning.Design { /// <summary> /// Provides functionality to converting values to and from <strong>Azimuth</strong> ...
{ "content_hash": "9f23e5200f880f51334cf049bd28b6eb", "timestamp": "", "source": "github", "line_count": 175, "max_line_length": 144, "avg_line_length": 36.628571428571426, "alnum_prop": 0.6427457098283932, "repo_name": "DotSpatial/DotSpatial", "id": "01a7cb6e7bfdd51d2a4a04ae4beff5b1cba772cf", "size...
<?php namespace BenAllfree\LaravelStaplerImages\Commands; use Illuminate\Console\Command; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputArgument; use Carbon\Carbon; use BenAllfree\LaravelStaplerImages\Image; class ImageAdd extends Command { /** * The console command ...
{ "content_hash": "60f7cbf513381d4c35384a5528525576", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 87, "avg_line_length": 17.783783783783782, "alnum_prop": 0.6155015197568389, "repo_name": "benallfree/laravel-stapler-images", "id": "04c6d15c1bbe0bd3600fb4713ade02e549983b96...
class Lazy(object): def __init__(self, lazy_init): self._lazy_init = lazy_init def __get__(self, instance, owner): if not instance: return None val = self._lazy_init(instance) setattr(instance, self._lazy_init.__name__, val) return val
{ "content_hash": "b8ce579407186a329a8883f911fce4ac", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 50, "avg_line_length": 23, "alnum_prop": 0.6561264822134387, "repo_name": "nkming2/google-search-telegram-bot", "id": "e9217989e34c054ccf152bcf2f1182352ca7aafb", "size": "3...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <base href="../../../" /> <script src="list.js"></script> <script src="page.js"></script> <link type="text/css" rel="stylesheet" href="page.css" /> </head> <body> <h1>Custom Blending Equation Constants</h1> <p> These work with all mat...
{ "content_hash": "a03eaf04d0145403ea51f617e01159d3", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 180, "avg_line_length": 26.338461538461537, "alnum_prop": 0.7202102803738317, "repo_name": "Samsy/three.js", "id": "4f6abdc60f920c0f0ed8abcad69f178b82002652", "size": "1712...
<?php declare(strict_types=1); namespace Sylius\Bundle\AdminBundle\Action; use Sylius\Component\Core\Model\AvatarImage; use Sylius\Component\Core\Repository\AvatarImageRepositoryInterface; use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface; use Symfony\Component\HttpFoundation\RedirectResponse; use Symf...
{ "content_hash": "7501d585a8ef3c42b452e2c243be14d6", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 114, "avg_line_length": 31.88888888888889, "alnum_prop": 0.7068193130910901, "repo_name": "itinance/Sylius", "id": "a132cdb36ff6dfa50d0b3d21d5a2e32563ff404d", "size": "2220...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.connectedvmware.generated; import com.azure.core.util.Context; /** Samples for Hosts Delete. */ public final class HostsDeleteS...
{ "content_hash": "2346771b7944dd9dddc03839d1bc73fe", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 158, "avg_line_length": 36.77272727272727, "alnum_prop": 0.7342398022249691, "repo_name": "Azure/azure-sdk-for-java", "id": "084c644436be4a2fb0348b6ceb3ac2ca8e1fe23d", "siz...
/* */ "format cjs"; "use strict"; var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { "default": obj }; }; exports.DoExpression = DoExpression; exports.__esModule = true; var t = _interopRequireWildcard(require("../../../types")); var metadata = { optional: true, stage: 0 }; ...
{ "content_hash": "90ec3c172fb7477db7a816b417bc148e", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 106, "avg_line_length": 19.137931034482758, "alnum_prop": 0.6522522522522523, "repo_name": "zartata/aurelia-reporter", "id": "fe019298ab49392a405ac9cc44f123d5ace46895", "si...
package com.thebluealliance.androidclient.auth.google; import android.content.Context; import android.content.Intent; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.WorkerThread; import com.google.android.gms.auth.api.Auth; import com.goo...
{ "content_hash": "21d673ecaeac12b7c15887ff40e4b1ab", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 108, "avg_line_length": 34.092592592592595, "alnum_prop": 0.6606916530870903, "repo_name": "the-blue-alliance/the-blue-alliance-android", "id": "e8ff60a194aa8ca6ce6567cf29f3...
export default function Searchbar(selector = '.searchbar', callbacks = {}) { const element = document.querySelector(selector); if (element) { // ermöglicht das Erweitern der Funktionalität const keys = Object.keys(callbacks); keys.forEach((key) => { element.addEventListener(key, callbacks[key]); ...
{ "content_hash": "01f1b53b435d4fba736086b041714a9b", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 76, "avg_line_length": 29.482758620689655, "alnum_prop": 0.6549707602339181, "repo_name": "queoGmbH/ds-example", "id": "427b0a358873a1435d21044462afbd38b477dfb4", "size": "...
/* Erica Sadun, http://ericasadun.com iPhone Developer's Cookbook, 6.x Edition BSD License, Use at your own risk */ #import <UIKit/UIKit.h> #define IFPGA_NAMESTRING @"iFPGA" #define IPHONE_1G_NAMESTRING @"iPhone 1G" #define IPHONE_3G_NAMESTRING @"iPhone 3G" #define IPHONE_3GS...
{ "content_hash": "ac65184ec0ef9c352aa742ae4e4de9d2", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 183, "avg_line_length": 26.026666666666667, "alnum_prop": 0.6846823770491803, "repo_name": "Pnayak156/SalesforceiOS", "id": "d978ad81eb887c5420ba272a8edca45f894b7246", "si...
> Amy and Amir's Wedding Site -- Built Using Material Design for Vue.js ![Demo](demo.gif) This is the client part for <a href="https://www.github.com/hellofornow/wedding-site-server">wedding-site-server</a> ## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run...
{ "content_hash": "661544f4742d74c6bb4a6c25a80a65c7", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 116, "avg_line_length": 21.208333333333332, "alnum_prop": 0.7328094302554028, "repo_name": "hellofornow/wedding-site-client", "id": "9ea04b0cb9fb3f660992a580924929801b6baaf3"...
package baseline; import java.io.*; import java.util.*; import utils.*; /** * This is the basic algorithm which starts from the lowest k * removes all vertices with degree k * subtracts 1 from all adjVertices of these removed vertices * iterates to collect additional vertices with degree k * until no more can b...
{ "content_hash": "25173695381f3544a3f016b25c0bfb63", "timestamp": "", "source": "github", "line_count": 411, "max_line_length": 153, "avg_line_length": 29.253041362530414, "alnum_prop": 0.6290443316975797, "repo_name": "mgbarsky/emcore", "id": "3d0130155325ea6e93d61fa3191e9d2f3d7eccb6", "size": "12...
layout: post97 title: Replication Parameters categories: XAP97 parent: replication.html weight: 700 --- {% summary %} {% endsummary %} # General Parameters {: .table .table-bordered} | Property | Description | Default Value | |:---------|:------------|:--------------| | `replication-mode` | Option...
{ "content_hash": "922987be170fa9ae4addeeaf522d55ff", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 657, "avg_line_length": 74.625, "alnum_prop": 0.733756501807282, "repo_name": "yuvaldori/gigaspaces-wiki-jekyll", "id": "7178204c2ff6fe2d44a9c70d22e440bb49c5fa8a", "size":...
package com.powa.loganalyzer.core.bean; import java.util.StringTokenizer; public class LogBeanBuilder { /** • ip: is like 30.212.19.124 • date: is in the epoch format like 1336129421 • action: can be SUCCESS or FAILURE • username: is a String like Thomas.Davenport */ public static LogBean createLog(Stri...
{ "content_hash": "97548b2628aa2f8279f0624d824a1fe7", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 77, "avg_line_length": 22.914893617021278, "alnum_prop": 0.669452181987001, "repo_name": "ranjanshailesh1985/powa", "id": "caeff1d8ca94bc1cf8760ba35ef1054447af8902", "size"...
<?php // define the autoload function. function glu_class_autoloader($c) { include dirname(__FILE__). DIRECTORY_SEPARATOR . strtolower($c) . '.php'; } // register the autoload function. spl_autoload_register("glu_class_autoloader"); // EOF
{ "content_hash": "61228e6884ea6bc5234bb3ba8dd6daac", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 77, "avg_line_length": 24.6, "alnum_prop": 0.6991869918699187, "repo_name": "72squared/glu-php", "id": "04c2c951dc1ef6a076a7da1aeabffa559bfd6bd7", "size": "246", "binary"...
class Car < ActiveRecord::Base validates :make_t, :model_t, :presence => true translates :make, :model end
{ "content_hash": "a1d83a13adc5a596ffaa2e439b19a0b6", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 48, "avg_line_length": 22.8, "alnum_prop": 0.6842105263157895, "repo_name": "mtgrosser/l10n", "id": "a307ac5224a4421f566d0e536bf35829247c9134", "size": "114", "binary": fa...
<!DOCTYPE html> <html> <head> <title>Picla - jQuery plugin that converts Alt-texts into simple image labels</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta property="og:site_name" content="Picla - jQuery plugin that converts Alt-texts into simple image label...
{ "content_hash": "41acccb3d14933ddf94a1baa19b0f1f8", "timestamp": "", "source": "github", "line_count": 292, "max_line_length": 463, "avg_line_length": 36.38013698630137, "alnum_prop": 0.6653487715334652, "repo_name": "ArunMichaelDsouza/picla", "id": "314fe0cdf4caca93d001618c4685f65b73dd1f27", "siz...
from django.core.management.base import BaseCommand from candidates.models import Candidate from django.contrib.auth import get_user_model import json import urllib2 import csv def load_from_csv(filename): csv_file = csv.reader(open(filename)) headings = csv_file.next() User = get_user_model() for row...
{ "content_hash": "d219c0e5f12cc852024642e02efd976b", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 117, "avg_line_length": 36.815384615384616, "alnum_prop": 0.5725031341412453, "repo_name": "DemocracyClub/candidate_questions", "id": "107401a7a097cac865800876902f30214b41c18...
define([ 'materialnote/base/core/func', 'materialnote/base/core/list', 'materialnote/base/core/dom', 'materialnote/base/core/range', 'materialnote/base/core/key' ], function (func, list, dom, range, key) { var AutoLink = function (context) { var self = this; var defaultScheme = 'http://'; var li...
{ "content_hash": "8268f6eca8014051930870c35368aa8e", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 98, "avg_line_length": 26.363636363636363, "alnum_prop": 0.5614942528735632, "repo_name": "Cerealkillerway/materialNote", "id": "bb4e8f0f293409bb33b50cf48d33ed2ebe174427", ...
// Copyright (C) 2011 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.0 // // Unless required by applicable ...
{ "content_hash": "bf1d7be1603f9f2910b549ec530e63e2", "timestamp": "", "source": "github", "line_count": 259, "max_line_length": 81, "avg_line_length": 32.359073359073356, "alnum_prop": 0.6891779023982818, "repo_name": "teamblueridge/gerrit", "id": "a6b0f17886410a21098496b67dbd201f93261963", "size":...
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizon...
{ "content_hash": "6f4b01107dc828f3d43b1d886bfc5575", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 74, "avg_line_length": 41.8125, "alnum_prop": 0.7115097159940209, "repo_name": "Rogerp009/Ikut", "id": "32845f9ab7c9bed9952c9475095ab35a15f16b9d", "size": "669", "binary"...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Evans.Demo.Api.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home Page"; return View(); ...
{ "content_hash": "37c528d803b6e8612077691a84e94734", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 44, "avg_line_length": 18.444444444444443, "alnum_prop": 0.6204819277108434, "repo_name": "pevans1986/Demo", "id": "bc69c0d6a740af02d6157002036d818e1cd41bb6", "size": "334"...
namespace AutoResponse.WebApi2.IntegrationTests.Tests { using System; using System.Threading.Tasks; using AutoFixture.Xunit2; using AutoResponse.Core.Exceptions; using AutoResponse.Core.Logging; using AutoResponse.Sample.Domain.Services; using AutoResponse.WebApi2.IntegrationTests.Helpers; ...
{ "content_hash": "b27b35dc96802a696b537f84d76f607a", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 97, "avg_line_length": 33.875, "alnum_prop": 0.6354243542435425, "repo_name": "devdigital/AutoResponse", "id": "6736cbe1e11b7f24b13a5a5a252a9cc82feb556a", "size": "1480", ...
require 'spec_helper' describe Github::Client::Issues::Comments, '#create' do let(:user) { 'peter-murach' } let(:repo) { 'github' } let(:number) { 1 } let(:inputs) { { 'body' => 'a new comment' } } let(:request_path) { "/repos/#{user}/#{repo}/issues/#{number}/comments" } before { stub_post(request...
{ "content_hash": "a09abec049474f5a54a02d28112fbe81", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 75, "avg_line_length": 31.53191489361702, "alnum_prop": 0.6464237516869096, "repo_name": "peter-murach/github", "id": "4a0a0dabccc819ce52923fbc3c14984fd92c3a8b", "size": "1...
import os import sys import pkg_resources from datetime import datetime # sys.path.insert(0, os.path.abspath('.')) sys.path.append(os.path.abspath('_themes')) # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. # # needs_sp...
{ "content_hash": "7ee4fc86adf7b4894f591cc667fbfd58", "timestamp": "", "source": "github", "line_count": 371, "max_line_length": 100, "avg_line_length": 31.18867924528302, "alnum_prop": 0.6791979949874687, "repo_name": "useblocks/groundwork", "id": "be122f2061646f0d8e7523e3df1cdcabdc90b716", "size":...
package me.beagle.userManagement; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class UserManagementApplicationTests { @Test public...
{ "content_hash": "7260ebbdb6d3c560f5023ff034a23672", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 60, "avg_line_length": 21.8125, "alnum_prop": 0.8166189111747851, "repo_name": "beagle4ce/UserManagement", "id": "1735f583564a382e1744ea87cfb2f7b4b72793c3", "size": "349", ...
using namespace std; class IrisMethod; class IIrisClass; class IIrisValues; class IIrisContextEnvironment; enum class CallerSide { Inside = 0, Outside, }; #if IR_USE_MEM_POOL class IrisObject : public IIrisObject, public IrisObjectMemoryPoolInterface<IrisObject, POOLID_IrisObject> #else class IrisObject : public I...
{ "content_hash": "12e9733fb88aaf3fa5b7aec2a71770f2", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 161, "avg_line_length": 31.423423423423422, "alnum_prop": 0.7760894495412844, "repo_name": "yuwenhuisama/Iris-Language", "id": "c58c6deb4dcaff3a2c48ad491fdea701c3e4dfca", ...
/** * An abstract class for all services to store the configuration * * @module app/shared/config-storage.service * @licence MIT 2017 https://github.com/jbouzekri/jbnote/blob/master/LICENSE */ import { EventEmitter } from '@angular/core'; import { ConfigFirebase } from './config-firebase.model'; /** * Abstract...
{ "content_hash": "f5945f3d5d20b1002eee91e81864c0c9", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 76, "avg_line_length": 22.630769230769232, "alnum_prop": 0.6852481305234535, "repo_name": "jbouzekri/jbnote", "id": "9405124897cf0679afa3a6d19704e046ad7a315b", "size": "147...
"use strict"; var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var bodyParser = require('body-parser'); var session = require('express-session'); var mongoose = require('mongoose'); var MongoStore = require('connect-mongo')(session); var morgan = require('morgan'); ...
{ "content_hash": "d449afd7751d2ca72c3a4d5979c89b65", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 64, "avg_line_length": 23.21917808219178, "alnum_prop": 0.6589970501474927, "repo_name": "saveman71/epitech-international", "id": "814e8613a3096831ffeec9fb4ba2a1a63312b9d0", ...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>ActiveModel::Validations::HelperMethods</title> <meta http-equiv=...
{ "content_hash": "96657ead7e4366b9d8eb8b8c4137f79a", "timestamp": "", "source": "github", "line_count": 901, "max_line_length": 250, "avg_line_length": 42.25527192008879, "alnum_prop": 0.6073754990544232, "repo_name": "alombardo4/Agendue", "id": "b39577e47931ec2c65c0e30607521acdd9fcd3e2", "size": "...
<HTML><HEAD> <TITLE>Review for Waterboy, The (1998)</TITLE> <LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0120484">Waterboy, The (1998)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?James+Brund...
{ "content_hash": "6765bce7dbeffe55b0a9196696951b43", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 203, "avg_line_length": 63.74418604651163, "alnum_prop": 0.7486318861729296, "repo_name": "xianjunzhengbackup/code", "id": "0450521add5930cac17a2dbf264a59bc285ecbaf", "size...
io (deprecated) ==== example of input/output streams
{ "content_hash": "cc84734fd4a30895d8035a032de7574f", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 31, "avg_line_length": 13.5, "alnum_prop": 0.7222222222222222, "repo_name": "meatloaf/io-example.java", "id": "45c2c93e1841146dd50205e018d842d5305793d9", "size": "54", "bi...
package features import org.scalatest.matchers.MustMatchers import support.SeleniumUtils._ import org.scalatest.{FeatureSpec, GivenWhenThen} import org.openqa.selenium.By /** * Created by IntelliJ IDEA. * User: wfaler * Date: 10/03/2011 * Time: 22:51 * To change this template use File | Settings | File Templates...
{ "content_hash": "09c072d782db078eb4443345ae3ffd8b", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 107, "avg_line_length": 35.725806451612904, "alnum_prop": 0.6776523702031603, "repo_name": "mrityunjay-kant/Bowler", "id": "4c98429b1a8120226a04efffe047f3a4c10133ae", "size...
import React from 'react'; import {Box, styled} from '@material-ui/core'; import {spacing} from "@material-ui/system"; export interface FormTextFieldHelpIconProps { formTextField: React.ReactNode; helpIconTooltip: React.ReactNode; } function FormTextFieldHelpIcon({formTextField, helpIconTooltip}: FormTextFieldHel...
{ "content_hash": "9c450f9760fec05a4467b75f6c2bca6d", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 94, "avg_line_length": 27.095238095238095, "alnum_prop": 0.6924428822495606, "repo_name": "Clemens85/runningdinner", "id": "3d127dd27645fec0ceff36a3b8021da635613f12", "size...
module Blazer module Adapters class DruidAdapter < BaseAdapter TIMESTAMP_REGEX = /\A\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z\z/ def run_statement(statement, comment) columns = [] rows = [] error = nil header = {"Content-Type" => "application/json", "Accept" => "app...
{ "content_hash": "28e3fc293a0eb5ef7ae8891c1dc88edb", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 214, "avg_line_length": 34.298507462686565, "alnum_prop": 0.5400348128807659, "repo_name": "strivedi183/blazer", "id": "3b70b9235e075551a6d46eed87a959407e28cf40", "size": "...
FROM balenalib/jetson-nano-emmc-alpine:3.14-build # Default to UTF-8 file.encoding ENV LANG C.UTF-8 # add a simple script that can auto-detect the appropriate JAVA_HOME value # based on whether the JDK or only the JRE is installed RUN { \ echo '#!/bin/sh'; \ echo 'set -e'; \ echo; \ echo 'dirname "$(dirname "...
{ "content_hash": "3ff276f1f86febf7583be29cdbe019f3", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 683, "avg_line_length": 58.13333333333333, "alnum_prop": 0.7001146788990825, "repo_name": "resin-io-library/base-images", "id": "31babe0a8204edef3a776448ad21b7fab8fd9d1a", ...
package ol.source; import jsinterop.annotations.JsType; /** * Source for images from Mapguide servers. * @author tlochmann */ @JsType(isNative = true) public class ImageMapGuide extends Image { }
{ "content_hash": "1cf27829164a3e97b7b4f6176e4c9da5", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 43, "avg_line_length": 15.615384615384615, "alnum_prop": 0.7389162561576355, "repo_name": "amagge/gwt-ol3-playg", "id": "24610da4500945e61bd45d0a464cce7700e7646f", "size": ...
package alt.beanmapper.compile.field; /** * * @author Albert Shift * */ public class FieldSource { protected int primitiveInt; public Integer wrapperInt; protected int boxingInt; public Integer unboxingInt; private int openAccessInt; public int closeAccessInt; private int openAccessIntBoxing; public ...
{ "content_hash": "7ae20ef76a46afaaa5eb81d8794205fd", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 62, "avg_line_length": 17.307692307692307, "alnum_prop": 0.7659259259259259, "repo_name": "albertshift/beanmapper", "id": "aea86cda4dfeec2a1abe7d2a6b316c313f9e1673", "size"...
package com.xinyu.mwp.activity.base; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.content.res.Resources; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullabl...
{ "content_hash": "c78c9c0affdb69b57d801081a6363e7e", "timestamp": "", "source": "github", "line_count": 273, "max_line_length": 153, "avg_line_length": 25.67765567765568, "alnum_prop": 0.6346647646219686, "repo_name": "sll8192/wpan", "id": "dcb26b4673fc64c8045258894886678c3e3eeab5", "size": "7154",...
package com.klisly.bookbox.ui.fragment; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.CompoundButton; import com.klisly.bookbox.BookBoxApplication; import com.klisly.bookbox.Constan...
{ "content_hash": "9ad298aca9f8993e668ab34b958872b3", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 106, "avg_line_length": 33.06930693069307, "alnum_prop": 0.6808383233532934, "repo_name": "klisly/fingerpoetry", "id": "a149b961b1438c0d8dcb2bcea192d4adb43f70ba", "size": ...
/*---------------------------------------------------------------------------*/ kodi = require("kodi"); /*---------------------------------------------------------------------------*/ var movie_to_start = 493; // find it in your library kodi.start_movie(movie_to_start, function(err, resp){ if (!err) { console.log...
{ "content_hash": "c30310c186f263c55bcd513688134501", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 79, "avg_line_length": 41.833333333333336, "alnum_prop": 0.3286852589641434, "repo_name": "msloth/kodi.js", "id": "c234c621373bbc523fd899a99833f6c0dda96121", "size": "502",...
<!-- Copyright 2012-2017 Raytheon BBN Technologies Corp. All Rights Reserved. --> <!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_20) on Wed Nov 15 19:26:01 EST 2017 --> <meta http-equiv="Co...
{ "content_hash": "5be04657f6264fe8d802b88722ab24d2", "timestamp": "", "source": "github", "line_count": 1447, "max_line_length": 457, "avg_line_length": 54.09260539046303, "alnum_prop": 0.7107522485690924, "repo_name": "BBN-E/Adept", "id": "212fc21f487d66503915e49c15db271265cb7dc5", "size": "78272"...
// Template Source: BaseEntityCollectionRequestBuilder.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------...
{ "content_hash": "8042ea0f1c519a39ccac6b16cef7398d", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 323, "avg_line_length": 54.765625, "alnum_prop": 0.7800285306704707, "repo_name": "microsoftgraph/msgraph-sdk-java", "id": "1d3eae312565caaa4a6bc2b30eb2d99835612f0d", "size...
<!-- Copyright (C) 2013-2014 Computer Sciences Corporation * * 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 required by ...
{ "content_hash": "1936f57f085598b27256fe10ea4fbc2c", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 117, "avg_line_length": 36.794117647058826, "alnum_prop": 0.6007194244604317, "repo_name": "infochimps-forks/ezbake-training", "id": "7b1ecbe64d3407112be1d07acc0ad71c7b4b0f1a...
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE /** * Supported keybindings: * Too many to list. Refer to defaultKeyMap below. * * Supported Ex commands: * Refer to defaultExCommandMap below. * * Registers: unnamed, -, a-z, A-Z, ...
{ "content_hash": "2095b51cb3fb3130272ae92134856900", "timestamp": "", "source": "github", "line_count": 5061, "max_line_length": 185, "avg_line_length": 39.03714680893104, "alnum_prop": 0.554080387919035, "repo_name": "ZalmanB/HealthTracker", "id": "ccf332b5afa1adb2f0a525b2a936ef9ba687e97d", "size"...
<!DOCTYPE html> <!-- | Generated by Apache Maven Doxia Site Renderer 1.7.4 at 2017-05-08 | Rendered using Apache Maven Fluido Skin 1.6 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0...
{ "content_hash": "4ea88b1be96637cabdbb532de6982b8e", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 207, "avg_line_length": 43.359223300970875, "alnum_prop": 0.5960591133004927, "repo_name": "play2-maven-plugin/play2-maven-plugin.github.io", "id": "f71333ed1d1a513fd1335a4a...
class MyFrame : public wxFrame { public: // Constructor. MyFrame( wxWindow* parent=(wxWindow *)NULL); private: // Event handlers (these functions should _not_ be virtual) void OnUnloadResourceMenuCommand(wxCommandEvent& event); void OnReloadResourceMenuCommand(wxCommandEvent& event); void On...
{ "content_hash": "341f6998fc7a6978871feeb37f32f4fb", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 79, "avg_line_length": 39.81578947368421, "alnum_prop": 0.7005948446794448, "repo_name": "chartly/portfolio", "id": "52c3d8ce52f78ec7264ec9ee311efd751a0454ff", "size": "263...
import { Component, Input } from '@angular/core'; import { FormGroup, FormArray, AbstractControl, FormControl } from '@angular/forms'; @Component({ selector: 'app-person', templateUrl: './person.component.html', styleUrls: ['./person.component.scss'] }) export class PersonComponent { @Input() person: FormGrou...
{ "content_hash": "837f60b4328ad98ec29e559971bbdb55", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 25.25, "alnum_prop": 0.6864686468646864, "repo_name": "Opinya/ngx-model2form", "id": "ed8ce2a2026efcddbb0dc3575be63d4dbc42f146", "size": "909", "bi...
""" # Created on # @author: # @contact: """ # 以下是自动生成的 # # --- 导入系统配置 import dHydra.core.util as util from dHydra.core.Vendor import Vendor # --- 导入自定义配置 # 以上是自动生成的 # from datetime import datetime, timedelta from pymongo import MongoClient from dHydra.core.Functions import get_vendor import copy class WorkerManager(V...
{ "content_hash": "ba0eb5854a0c5001d392b952b4ec2c37", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 103, "avg_line_length": 37.13013698630137, "alnum_prop": 0.4501014572957019, "repo_name": "Emptyset110/dHydra", "id": "d1742bbd76c85c46e882756530b1b48063b89007", "size": "...
<?php namespace Magento\Sales\Test\Unit\Model\Order\Shipment\Comment; /** * Class ValidatorTest */ class ValidatorTest extends \PHPUnit_Framework_TestCase { /** * @var \Magento\Sales\Model\Order\Shipment\Comment\Validator */ protected $validator; /** * @var \Magento\Sales\Model\Order\Shi...
{ "content_hash": "245c3df18f0195270339497812cbe068", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 96, "avg_line_length": 26.57777777777778, "alnum_prop": 0.4778428093645485, "repo_name": "tarikgwa/test", "id": "fe56a9660c0a39aa2c4062a101ce94a59025a089", "size": "2490", ...
class IOSChromeMetricsServiceAccessorTest : public testing::Test { public: IOSChromeMetricsServiceAccessorTest() { prefs_.registry()->RegisterBooleanPref( metrics::prefs::kMetricsReportingEnabled, false); TestingApplicationContext::GetGlobal()->SetLocalState(&prefs_); } PrefService* GetLocalStat...
{ "content_hash": "a4bdc229c82dc1b7cc737cc8edd7ec8e", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 80, "avg_line_length": 37.58695652173913, "alnum_prop": 0.7755928282244072, "repo_name": "Workday/OpenFrame", "id": "1d7a9d496c4c0d03cf3e9ad479699b7ea4a2f0eb", "size": "228...
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!-- 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 Ap...
{ "content_hash": "f7d85b1c706b0c1439ef41daa4d08c39", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 108, "avg_line_length": 40.85576923076923, "alnum_prop": 0.610496587432337, "repo_name": "apache/geronimo", "id": "8549b8d84e2f3a23f9e77d585d4568db2566345c", "size": "4249...
package gov.hhs.fha.nhinc.mpi.adapter.proxy; import gov.hhs.fha.nhinc.aspect.AdapterDelegationEvent; import gov.hhs.fha.nhinc.common.nhinccommon.AssertionType; import gov.hhs.fha.nhinc.patientdiscovery.aspect.PRPAIN201305UV02EventDescriptionBuilder; import gov.hhs.fha.nhinc.patientdiscovery.aspect.PRPAIN201306UV02Eve...
{ "content_hash": "a33d20838b234ab84b9fbd737bc49fc6", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 109, "avg_line_length": 37.05882352941177, "alnum_prop": 0.746031746031746, "repo_name": "sailajaa/CONNECT", "id": "9cbcffe27342b4f29d478e80a0633149763f73d8", "size": "2930...
package com.esotericsoftware.spine; import com.badlogic.gdx.utils.Array; public class SkeletonData { String name; final Array<BoneData> bones = new Array(); // Ordered parents first. final Array<SlotData> slots = new Array(); // Setup pose draw order. final Array<Skin> skins = new Array(); Skin defaultSkin; f...
{ "content_hash": "86b195f01df8b0678d63a92bc537905e", "timestamp": "", "source": "github", "line_count": 223, "max_line_length": 99, "avg_line_length": 26.556053811659194, "alnum_prop": 0.6862546437014522, "repo_name": "piotr-j/VisEditor", "id": "4914ebeb0994276114803379be983e7694c8e9f8", "size": "7...
package com.stulsoft.pjava.basics.regex; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.List; import java.util.regex.Pattern; /** * Parser for MongoDB connection string * * @author Yuriy Stul */ public class MongodbConnectionStringParser { private stat...
{ "content_hash": "0e411dc35464930632c8071c09e1576b", "timestamp": "", "source": "github", "line_count": 178, "max_line_length": 126, "avg_line_length": 35.18539325842696, "alnum_prop": 0.5487785406354782, "repo_name": "ysden123/ys-pjava", "id": "1b72b68d7463cdd7b6cbc10faf90725457cd9616", "size": "6...
module.exports.getTitle = (frontMatterTitle) => { return `${frontMatterTitle} | Cypress Documentation` }
{ "content_hash": "ac180a05e632d61365f1f6bc28836fbf", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 54, "avg_line_length": 35.666666666666664, "alnum_prop": 0.7383177570093458, "repo_name": "cypress-io/cypress-documentation", "id": "38f328030bf0306787aa59c57e282b6978012d66",...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=../../../ncollide_geometry/shape/struct.Torus.html"> </head> <body> <p>Redirecting to <a href="../../../ncollide_geometry/shape/struct.Torus.html">../../../ncollide_geometry/shape/struct.Torus.html</a>...</p> <script>location....
{ "content_hash": "0bae3c29cefb9542a9e243e6996f79b3", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 144, "avg_line_length": 44.1, "alnum_prop": 0.6575963718820862, "repo_name": "nitro-devs/nitro-game-engine", "id": "45ed40f5a2e1def7df75d07679d0d713b8685d40", "size": "441"...
<?xml version="1.0" encoding="UTF-8"?> <Configuration status="trace"> <Appenders> <Console name="STDOUT" target="SYSTEM_OUT"> <PatternLayout pattern="%d{HH:mm:ss} [%t] %-5level %logger{36} - %msg%n"/> </Console> <Socket name="LOGSTASH" host="logstash" port="5001"> <Js...
{ "content_hash": "b92be585299c6d7221d558ad01ef9a7b", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 86, "avg_line_length": 35.285714285714285, "alnum_prop": 0.5560053981106613, "repo_name": "carmine/open-kilda", "id": "636e9f04c5cff8d279088e1146976fb40e142836", "size": "7...
<?xml version="1.0" encoding="UTF-8"?> <sem:triples uri="http://www.lds.org/vrl/geo-political/north-america-and-caribbean/united-states-of-america/arizona/st-johns-arizona-usa" xmlns:sem="http://marklogic.com/semantics"> <sem:triple> <sem:subject>http://www.lds.org/vrl/geo-political/north-america-and-caribbean/un...
{ "content_hash": "04058e25fd314194a03fb32e70d0180e", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 181, "avg_line_length": 70.16666666666667, "alnum_prop": 0.733174980205859, "repo_name": "freshie/ml-taxonomies", "id": "24cf8496fc41ee9052eb79574d2282eb94dc9844", "size": ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "4a49551884f9f99edc54afc35047d086", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "c63b5945b332eca0bccaf07fc701e55be7dab21d", "size": "177...
id: 587d7b84367417b2b2512b35 title: Catch Misspelled Variable and Function Names challengeType: 1 forumTopicId: 301186 dashedName: catch-misspelled-variable-and-function-names --- # --description-- The `console.log()` and `typeof` methods are the two primary ways to check intermediate values and types of program outp...
{ "content_hash": "fe254217b1abf418c884920c3f176299", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 273, "avg_line_length": 28.058823529411764, "alnum_prop": 0.7463312368972747, "repo_name": "FreeCodeCamp/FreeCodeCamp", "id": "cdadad853493779657f3e8a7d67b27b5f701208f", "s...
extern std::string DEVELOPER_NAME; extern std::string APPLICATION_NAME; static char TEMP_BUFFER[1024]; namespace ouzel { FileSystemRasp::FileSystemRasp() { if (readlink("/proc/self/exe", TEMP_BUFFER, sizeof(TEMP_BUFFER)) != -1) { appPath = getDirectoryPart(TEMP_BUFFER); } ...
{ "content_hash": "da96441d9d188ec88c3dc795684ac994", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 80, "avg_line_length": 24.028985507246375, "alnum_prop": 0.4794933655006031, "repo_name": "Hotspotmar/ouzel", "id": "c37cad5b62dedc112f7376f968bd01ba94de8c03", "size": "185...
require 'spec_helper' describe SerializeHasMany::Validators::TypeValidator do subject do described_class.new(attr_name: :children, child_class: OpenStruct) end it 'should allow nil' do record = TestParentModel.new(children: nil) subject.validate record expect(record.errors).to be_empty end ...
{ "content_hash": "54ec2b155fe660d72736c1257bb5f020", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 92, "avg_line_length": 29.94, "alnum_prop": 0.7100868403473614, "repo_name": "rdsubhas/serialize_has_many", "id": "7650acac18c85a091713628c9b18dd2aa5d80135", "size": "1497"...
<?php require 'template/header.php'; require 'template/index_body.php'; require 'template/footer.php'; ?>
{ "content_hash": "a780b4894e8029f9412c22a71d8c1519", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 35, "avg_line_length": 21.6, "alnum_prop": 0.7222222222222222, "repo_name": "OverStruck/memenaitor", "id": "a0adc6aab380211f1b94ab456bf056e78c04166e", "size": "108", "bina...
package org.eclipse.collections.impl.map.immutable.primitive; import org.eclipse.collections.impl.factory.primitive.ObjectBooleanMaps; import org.eclipse.collections.impl.map.mutable.primitive.ObjectBooleanHashMap; import org.junit.Assert; import org.junit.Test; public class ImmutableObjectBooleanMapFactoryImplTest...
{ "content_hash": "132912b18c54527a8496bf7e891e7a0d", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 141, "avg_line_length": 32.80555555555556, "alnum_prop": 0.7366638441998307, "repo_name": "bhav0904/eclipse-collections", "id": "ed0a6863eb3217c520df530e9d2ac79ab149c70b", ...
import logging from django.contrib.contenttypes.models import ContentType from django.db.models import CASCADE from django.db.models.signals import post_save, post_delete from river.core.riverobject import RiverObject from river.core.workflowregistry import workflow_registry from river.models import OnApprovedHook, O...
{ "content_hash": "8275c161c0ae2cd41709cb8df1a1a058", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 152, "avg_line_length": 42.55952380952381, "alnum_prop": 0.686993006993007, "repo_name": "javrasya/django-river", "id": "02c30ea4b522b6f1d95c5c2403e29d77b381db02", "size": ...
package com.shaubert.ui.dialogs; import android.app.Activity; import android.content.Context; import android.os.Handler; import android.view.View; import android.view.inputmethod.InputMethodManager; class Keyboard { public static void hideKeyboard(Activity activity) { hideKeyboard(activity.getCurrentFocu...
{ "content_hash": "239fe7d152b46189a483b157e3d20e68", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 123, "avg_line_length": 34.926829268292686, "alnum_prop": 0.6899441340782123, "repo_name": "shaubert/dialogs", "id": "d2f4c46b777f0c09abc0999b96797bcbdbf11808", "size": "14...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "b8564cf188bc44454adde7a9c6c445af", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "fc07640274d2bf051e31b277c6f0dd99d61f63c9", "size": "204...
package com.desklampstudios.thyroxine.news.provider; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.support.annotation.NonNull; import android.util.Log; import static com.desklampstudios.thyroxine.news.provider.NewsContrac...
{ "content_hash": "5719a63b272f472799a4b98ddcd93e97", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 87, "avg_line_length": 39.46, "alnum_prop": 0.6254434870755196, "repo_name": "gengkev/thyroxine", "id": "8c89ad342b0958bc356ead744eb2f872b0d80fc1", "size": "1973", "binar...
<!DOCTYPE html> <html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml" th:fragment="header"> <header id="header" class=""> <div class="container"> <a href="/addon-administration" th:href="@{/}"><h1>Administration</h1></a> <div id="logo"> <img src="../../img/osia...
{ "content_hash": "1e41af5edc16ca19b3210d279f8824f1", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 138, "avg_line_length": 39.96, "alnum_prop": 0.5495495495495496, "repo_name": "osiam/addon-administration", "id": "3634638a1c116a88dd0ddbbfcbf43baa7a6b875a", "size": "999",...
@interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
{ "content_hash": "6ecfd001fd43b53ae45f7749329d5435", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 60, "avg_line_length": 19.5, "alnum_prop": 0.7863247863247863, "repo_name": "genterist/whiteWolf", "id": "5031606f0f1d62037e8999d17209c354465f70e2", "size": "248", "binary...
<?php //---------------------------------------------------------------------------- // This software is licensed under the MIT license. Use as you wish but give // and take credit where due. // // Author: Paul Lemmons //---------------------------------------------------------------------------- ?> <?php include 'incl...
{ "content_hash": "27de6ce4987c1a4bc206a63c8e037422", "timestamp": "", "source": "github", "line_count": 174, "max_line_length": 121, "avg_line_length": 32.2183908045977, "alnum_prop": 0.45397788084195506, "repo_name": "poetimp/ltcsw", "id": "5db02591cde41fd785c46a9504a6dfc8005ccd62", "size": "5606"...
// snippet-sourcedescription:[ListAndPurchaseReservedNodeOffering demonstrates how to list and purchase Amazon Redshift reserved node offerings.] // snippet-service:[redshift] // snippet-keyword:[Java] // snippet-sourcesyntax:[java] // snippet-keyword:[Amazon Redshift] // snippet-keyword:[Code Sample] // snippet-keyw...
{ "content_hash": "2b9c5d87f3f5d49611d150e1fb1bbab8", "timestamp": "", "source": "github", "line_count": 139, "max_line_length": 145, "avg_line_length": 40.10071942446043, "alnum_prop": 0.637064944384643, "repo_name": "awsdocs/aws-doc-sdk-examples", "id": "5a952c4ff1147d7dc3d8afb7417caedcbf918f56", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "aad73474345cc761b94b4bf3ccf1f944", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "708135db8f5092fff61517bda5c960f359de06be", "size": "174...
package com.somohano.youmeal.model.db.entity; import com.somohano.youmeal.bean.MemberBean; import com.somohano.youmeal.utils.Constants; import org.greenrobot.greendao.annotation.Entity; import org.greenrobot.greendao.annotation.Id; import java.util.ArrayList; import java.util.List; import org.greenrobot.greendao.ann...
{ "content_hash": "16d74ef9b3aba57c7d8e3be5e44c7d95", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 87, "avg_line_length": 23.21818181818182, "alnum_prop": 0.7102584181675803, "repo_name": "teksuo/YouMeal", "id": "ef613060319a46ea62b5db857247c7c90086cede", "size": "1277",...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/policy/core/common/async_policy_loader.h" #include <utility> #include "base/bind.h" #include "base/location.h" #include "base/seque...
{ "content_hash": "90561bf6d4def4b0237e1f08101fd903", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 80, "avg_line_length": 30.525547445255473, "alnum_prop": 0.7290769966523195, "repo_name": "endlessm/chromium-browser", "id": "833fe8e62e266470c230630581806eb0432b0199", "s...
using System; public class StartUp { public static void Main() { SmartPhone phone = new SmartPhone(); string[] numbers = Console.ReadLine().Split(' '); string[] webPages = Console.ReadLine().Split(' '); foreach (var number in numbers) { try { ...
{ "content_hash": "b5c9fe8ce11835dedffbb60a7ff6b8a3", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 58, "avg_line_length": 21.8, "alnum_prop": 0.436435124508519, "repo_name": "Koceto/SoftUni", "id": "a3083a8fd713f813b102be6e03f2579fb4feaffd", "size": "765", "binary": fa...
<?php /** @phpstub */ class Yaf_Request_Abstract { const SCHEME_HTTP = 'http'; const SCHEME_HTTPS = 'https'; public $module; public $method; public $controller; public $action; protected $uri; protected $routed; protected $params; protected $language; protected $dispatched;...
{ "content_hash": "986d6b34b6f133184420335316543401", "timestamp": "", "source": "github", "line_count": 305, "max_line_length": 53, "avg_line_length": 14.668852459016394, "alnum_prop": 0.4798837729101475, "repo_name": "schmittjoh/php-stubs", "id": "d2f1f9090e6c97dc8a9f3dd965c77ed34f959dc5", "size":...
@interface CountryPicker () <UIPickerViewDelegate, UIPickerViewDataSource> @end @implementation CountryPicker //doesn't use _ prefix to avoid name clash @synthesize delegate; + (NSArray *)countryNames { static NSArray *_countryNames = nil; if (!_countryNames) { _countryNames = [[[[self countryN...
{ "content_hash": "f92dac3a550b575a6bd7bbb1d80b4952", "timestamp": "", "source": "github", "line_count": 200, "max_line_length": 131, "avg_line_length": 27.405, "alnum_prop": 0.6880131362889984, "repo_name": "tdyn2000/PhoneNumberValidate", "id": "3f8002604f33da56833488ee346a418f161aacd0", "size": "7...
/** * Data structures used for indexing AND searching (ex: co-occurrences) */ package alix.lucene.util;
{ "content_hash": "653b539b939d4a93b5dc78d5cfe1121d", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 71, "avg_line_length": 17.833333333333332, "alnum_prop": 0.719626168224299, "repo_name": "oeuvres/Alix", "id": "68b80ace7af7cd01659d4280cc68706a2e5a4814", "size": "1485", ...
var structrocksdb_1_1TransactionLogIterator_1_1ReadOptions = [ [ "ReadOptions", "structrocksdb_1_1TransactionLogIterator_1_1ReadOptions.html#ae7e1d80dfad8f2c263aa75d3deb5ddc4", null ], [ "ReadOptions", "structrocksdb_1_1TransactionLogIterator_1_1ReadOptions.html#a21d630f1ec2743b6e2eb11d23a29be9b", null ], [...
{ "content_hash": "d59e61576c0cb238c579739cec54368c", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 130, "avg_line_length": 74.66666666666667, "alnum_prop": 0.8102678571428571, "repo_name": "seguijoaquin/taller2-appserver", "id": "310f06ae5d37e4b3afc8497d22292567e79b11cf", ...
package de.replayreader.printer; import java.io.File; import java.io.IOException; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.List; import org.apache.commons.io.FileUtils; import de.replayreader.model.ReplayCollection; public class CSVPrinter { private final ReplayCollection repl...
{ "content_hash": "25d51f6543fc3fce0dbf3dee8cb97a39", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 106, "avg_line_length": 47.26, "alnum_prop": 0.747355057130766, "repo_name": "enstun/rreader", "id": "d19a808012d665327d9d082e93603c06c184cc59", "size": "4726", "binary"...
/* File: network.cpp Description: An OOP unix-only-compatible network library Developer: Dionyziz */ #include "network.h" Sock::Sock() { int fileDescriptor; // create a socket object fileDescriptor = socket( PF_INET, SOCK_STREAM /* communication wit...
{ "content_hash": "96c12a9f2df6c0b749b7d625ef64cd02", "timestamp": "", "source": "github", "line_count": 432, "max_line_length": 164, "avg_line_length": 32.363425925925924, "alnum_prop": 0.5786424433159287, "repo_name": "dionyziz/cador", "id": "5fc30fdbe0d8cfee979691136e66f7923200ca8e", "size": "139...
 /** * Provides a Edit Tree component for the Family Tree Project * * @module components/editTree/editTree * @requires knockout, config, text!./editTree.html */ define("components/editTree/editTree", ["knockout", "config", "text!./editTree.html"], function (ko, config, htmlString) { function editTreeViewMod...
{ "content_hash": "5237610e344c9258b8931866b11cb62f", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 122, "avg_line_length": 27.265625, "alnum_prop": 0.5191977077363897, "repo_name": "cnurse/FamilyTreeProject.Dnn", "id": "02fe95a0a89b0fb89493c19259f33b069aba3e2e", "size": ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>lambda: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
{ "content_hash": "34e3777c5feda2dd179a7d1810784bcb", "timestamp": "", "source": "github", "line_count": 168, "max_line_length": 322, "avg_line_length": 42.708333333333336, "alnum_prop": 0.5537282229965157, "repo_name": "coq-bench/coq-bench.github.io", "id": "cda418e969f69103a081a7d155768a43aea5e327",...
import os import torch import numpy as np from datetime import datetime from faster_rcnn import network from faster_rcnn.faster_rcnn import FasterRCNN, RPN from faster_rcnn.utils.timer import Timer import faster_rcnn.roi_data_layer.roidb as rdl_roidb from faster_rcnn.roi_data_layer.layer import RoIDataLayer from fast...
{ "content_hash": "0104f71d3b6ce25f33ada2da2cc958ad", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 117, "avg_line_length": 30.693989071038253, "alnum_prop": 0.632544062666904, "repo_name": "TheRevanchist/rcnn_for_relab", "id": "a2af0c552f715e91e3e831947df85a21622f83f0", ...
package com.rudolfschmidt.alkun.sockets; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; public class ServerSocketConnection { public static void open() throws IOException { ExecutorServic...
{ "content_hash": "c9c35a795dcafbc456fdf3ddea5a1a06", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 83, "avg_line_length": 35.26315789473684, "alnum_prop": 0.7328358208955223, "repo_name": "rudolfschmidt/alkun", "id": "e41b46a47f1bd91dba3e0e1617c5f01408abece3", "size": "6...