text
stringlengths
2
1.04M
meta
dict
""" Tests for the backup service base driver. """ import uuid import mock from oslo_serialization import jsonutils from cinder.backup import driver from cinder import context from cinder import db from cinder import exception from cinder import objects from cinder import test from cinder.tests.unit.backup import fak...
{ "content_hash": "67aafd9b9841c1ea05b8d69230b4f041", "timestamp": "", "source": "github", "line_count": 357, "max_line_length": 79, "avg_line_length": 44.37535014005602, "alnum_prop": 0.5530867314732988, "repo_name": "nexusriot/cinder", "id": "95ca2b446ea1ff9b515a10464b1ffd591b703a86", "size": "164...
\hypertarget{structpoi__t}{}\section{poi\+\_\+t Struct Reference} \label{structpoi__t}\index{poi\+\_\+t@{poi\+\_\+t}} Person of interest. \subsection{Detailed Description} Person of interest. The documentation for this struct was generated from the following files\+:\begin{DoxyCompactItemize} \item src/\hype...
{ "content_hash": "ef437a2e74ef82801b55477358ab3498", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 105, "avg_line_length": 30.5625, "alnum_prop": 0.7198364008179959, "repo_name": "GeodesicCarbon/protopaja-sick", "id": "e9ecdead2435de3b872ec3ed553b2717f9e61bd3", "size": "...
<?xml version="1.0" encoding="UTF-8"?> <!-- --> <project xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd"> <bannerLeft> <name>Apache HBase...
{ "content_hash": "e0d89e79e177a754a16a2449d351c3a6", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 221, "avg_line_length": 47.885245901639344, "alnum_prop": 0.6377952755905512, "repo_name": "JichengSong/hbase", "id": "a6b7579798fbdcac6f531b4f6916fadb1cb3630e", "size": "3...
namespace MyCustomWebService.Areas.HelpPage.ModelDescriptions { public class EnumValueDescription { public string Documentation { get; set; } public string Name { get; set; } public string Value { get; set; } } }
{ "content_hash": "4753cb5b8203a6afa55c28933e6b4bd8", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 61, "avg_line_length": 22.727272727272727, "alnum_prop": 0.656, "repo_name": "CriticalPathTraining/GOA365", "id": "dca6ec79ed08bbe5afa2a578154893451a5dfb33", "size": "250",...
using Melanchall.DryWetMidi.Common; using Melanchall.DryWetMidi.Core; namespace Melanchall.DryWetMidi.Multimedia { /// <summary> /// Data related to MIDI note. /// </summary> /// <seealso cref="NoteCallback"/> public sealed class NotePlaybackData { #region Constants /// <summa...
{ "content_hash": "a91e2778cad8593479da1f3fa812b6bb", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 134, "avg_line_length": 28.482758620689655, "alnum_prop": 0.5790960451977402, "repo_name": "melanchall/drywetmidi", "id": "f4466061981718b782d2db763b83edb3b2487dc2", "size"...
package gov.nasa.arc.mct.satellite.utilities; import java.awt.Component; import javax.swing.JLabel; import javax.swing.JList; import javax.swing.ListCellRenderer; import jsattrak.utilities.TLE; /* * This cell renderer is for the TLE lists, so the TLE satellite names are displayed within the list * * TODO: Curr...
{ "content_hash": "c12e37f190e7aecf3c3241dc1590b942", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 104, "avg_line_length": 28.03921568627451, "alnum_prop": 0.7013986013986014, "repo_name": "nasa/MCT-Plugins", "id": "2d712d85e2d55a567016a0acd38151a908ab8d7f", "size": "263...
namespace VotingApplication.Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class AddMetricTable : DbMigration { public override void Up() { CreateTable( "dbo.Metrics", c => new { ...
{ "content_hash": "c5aa67425bc5f9c864715003f971ee07", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 69, "avg_line_length": 29.612903225806452, "alnum_prop": 0.42592592592592593, "repo_name": "JDawes-ScottLogic/voting-application", "id": "0eb8434bd46c1248fd0bfe0dd6afc72c95e7...
/** * @file * ND6 protocol definitions */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of ...
{ "content_hash": "8ee45a9372bbaa128adefbb0c220ef1c", "timestamp": "", "source": "github", "line_count": 319, "max_line_length": 83, "avg_line_length": 31.981191222570533, "alnum_prop": 0.7241717310331307, "repo_name": "JunhwanPark/TizenRT", "id": "b9abf16b1e834b631e872f8b9cd889b7f9d9b917", "size": ...
<?php namespace Concrete\Controller\SinglePage\Dashboard\Users; use \Concrete\Core\Page\Controller\DashboardPageController; use Config; use Imagine\Image\Box; use Loader; use UserInfo; use PermissionKey; use Permissions; use UserAttributeKey; use Group; use Localization; use GroupList; class Add extends DashboardPageC...
{ "content_hash": "b9838b8ff7b6b538eb1925f792296f92", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 182, "avg_line_length": 36.49375, "alnum_prop": 0.609522178455215, "repo_name": "fatwreck/Panoptic-Automation", "id": "2f045e52dedff809dd526f9e9f3604a6cb5bf948", "size": "...
<html> <head> <link media="screen" title="Default Style" rel="stylesheet" href="example-6.css" type="text/css"/> <!-- Dependencies --> <script type="text/javascript" src="/pixenate/javascript/pxn8_all.js"></script> <script type="text/javascript" src="/pixenate/javascript/pxn8_strings_en.js"></script> <s...
{ "content_hash": "3d06ca5b785bd301711b69e55e3720c5", "timestamp": "", "source": "github", "line_count": 263, "max_line_length": 100, "avg_line_length": 33.69201520912547, "alnum_prop": 0.571380205394425, "repo_name": "walterhiggins/pixenate", "id": "3e2b377ec9f7ea1298ad7929c452283523921790", "size"...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package inventorysystem.DB; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public clas...
{ "content_hash": "5e2cd968af4f94051fbe032c9ce85c01", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 97, "avg_line_length": 30.885714285714286, "alnum_prop": 0.6558741905642923, "repo_name": "Roledenez/InventorySystem", "id": "2e661078c549cffe9e3414844b802e68f40adac7", "si...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qtscriptexten...
{ "content_hash": "cbb0dd24fc8eb03e820930446b0aa4e3", "timestamp": "", "source": "github", "line_count": 243, "max_line_length": 926, "avg_line_length": 62.609053497942384, "alnum_prop": 0.6200210332588405, "repo_name": "stephaneAG/PengPod700", "id": "b8cb7356e95c289210653a31c05def170496e301", "size...
from msrest.serialization import Model class StartTask(Model): """A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged. :param command_line: The command line of the start task. The command line does not run under a shell, a...
{ "content_hash": "8b049f51ae63a0609488a8b2edc82b6c", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 160, "avg_line_length": 59.24242424242424, "alnum_prop": 0.710230179028133, "repo_name": "AutorestCI/azure-sdk-for-python", "id": "fb42d05adbe72b04f93f021acd37fb1179d329fd", ...
<div id="container" style="height: 400px; min-width: 600px"></div> <div class="info">Weekends should appear as gaps in the graph.</div> <script src="http://code.highcharts.com/stock/highstock.js"></script> <script src="http://code.highcharts.com/stock/modules/exporting.js"></script> <script type="text/javascript" src=...
{ "content_hash": "9448781c161a320e9e7e19b8e745e8ce", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 95, "avg_line_length": 54.57142857142857, "alnum_prop": 0.7329842931937173, "repo_name": "Oxyless/highcharts-export-image", "id": "bb8245671fb28211b8b6ce46c07354b891e2ccdd", ...
package com.google.android.exoplayer.demo.nanoHTTPServer; public class NanoWebSocketServer extends NanoHTTPD implements IWebSocketFactory { public static final String MISSING_FACTORY_MESSAGE = "You must either override this method or supply a WebSocketFactory in the constructor"; private final WebSocketRespo...
{ "content_hash": "f4ff0480774b0dbd0f20fc02f561e873", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 144, "avg_line_length": 34.666666666666664, "alnum_prop": 0.7322485207100592, "repo_name": "dheeraj9198/Exoplayer-NanoHttpServer-SimplefileEncryption", "id": "92da14409799202...
'use strict'; var zrUtil = require('zrender/lib/core/util'); var pathTool = require('zrender/lib/tool/path'); var round = Math.round; var Path = require('zrender/lib/graphic/Path'); var colorTool = require('zrender/lib/tool/color'); var matrix = require('zrender/lib/core/matrix'); var vec...
{ "content_hash": "163d4179f528870e8bf72f39d170ea07", "timestamp": "", "source": "github", "line_count": 591, "max_line_length": 107, "avg_line_length": 32.8155668358714, "alnum_prop": 0.5538826441167372, "repo_name": "angustas/company", "id": "bf3039f2fdfe3ace67d6c817753d6e79cff653b1", "size": "193...
package net.rubygrapefruit.platform.internal; public class TerminalCapabilities { String terminalName; }
{ "content_hash": "d19c627256e245b5122b62b1ce668fc8", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 45, "avg_line_length": 16, "alnum_prop": 0.7946428571428571, "repo_name": "adammurdoch/native-platform", "id": "9f6db3078b245454c43b03cc3b8c52e848b3561a", "size": "734", "...
package org.wso2.identity.integration.test.user.mgt; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import org.wso2.carbon.authenticator.stub.LoginAuthenticat...
{ "content_hash": "99a20385492c915f5f2528813273e6ea", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 137, "avg_line_length": 43.11904761904762, "alnum_prop": 0.7570403092214246, "repo_name": "madurangasiriwardena/product-is", "id": "983ca891d846d842a7d5de49040ae8ae65dd6c3a",...
package com.lsnare.film.model; /** * Created by lucian.snare on 9/13/2015. */ public class Director { public String name; public String nameId; public Director(String name){ this.name = name; } public String getNameId() { return nameId; } public void setNameId(String na...
{ "content_hash": "2831a2213659f108ddc1bc49368159b8", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 81, "avg_line_length": 19, "alnum_prop": 0.5851393188854489, "repo_name": "lsnare/MyFilmDB", "id": "070c67227494b550023b90a2507fa8103fc7dfe1", "size": "646", "binary": fa...
/** * This stylesheet is used to print reveal.js * presentations to PDF. * * https://github.com/hakimel/reveal.js#pdf-export */ * { -webkit-print-color-adjust: exact; } body { margin: 0 auto !important; border: 0; padding: 0; float: none !important; overflow: visible; } html { width: ...
{ "content_hash": "942b607ac616d22678f1b6957e65089c", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 98, "avg_line_length": 19.975, "alnum_prop": 0.6492490613266583, "repo_name": "alanmbarr/agiledaysloadtesting", "id": "ffc2421b93b4501de95690e4d61492fe5ab6bc1c", "size": "...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Silk.Mapping { public abstract class PropertyMappingSource : IMappingSource { private static readonly Dictionary<PropertyInfo, PropertyMappingSource> _cache = new Dict...
{ "content_hash": "06f6768bfa85b7739ff4121b77a8308f", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 137, "avg_line_length": 30.905511811023622, "alnum_prop": 0.7171974522292993, "repo_name": "SilkDotNet/Silk.Mapping", "id": "6909e1f61d10e55c72e78546f53ad52a94fafacf", "si...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_55) on Wed Feb 25 22:13:37 GMT 2015 --> <title>call.game.template Class Hierarchy</title> <meta name="date" content="2015-02-25"> <link...
{ "content_hash": "015084e066b4b61e156e097edfe35fc6", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 172, "avg_line_length": 33.1015625, "alnum_prop": 0.6164739202265754, "repo_name": "CUB3D/Unknown-3", "id": "106fb9d90ec4612f1eb04d4859faa213d7b6a091", "size": "4237", "...
import tensorflow as tf # neural network for function approximation import gym # environment import numpy as np # matrix operation and math functions from gym import wrappers # GLOBAL SETTINGS RNG_SEED = 2 # random number generator ENVIRONMENT = "CartPole-v0" # ENVIRONMENT = "CartPole-v1" MAX_EPISODES = 1000 HIDDEN_L...
{ "content_hash": "af7a6bd4a86c8cd838f48b9753080a43", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 76, "avg_line_length": 31.85496183206107, "alnum_prop": 0.6484543493889289, "repo_name": "GitYiheng/reinforcement_learning_test", "id": "1ff2f9e60a161e3b73b6631ebc3d9b3f8a59...
template<COINIT TM> struct ComInit { const HRESULT Result; ComInit() : Result{ ::CoInitializeEx(nullptr, TM) } { } ~ComInit() { if (SUCCEEDED(Result)) ::CoUninitialize(); } }; using ComMTA = ComInit<COINIT_MULTITHREADED>; void ActivateClassWithDefaultInterfaces();...
{ "content_hash": "d8d623164d3fcfa935879223e390449d", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 150, "avg_line_length": 28.680851063829788, "alnum_prop": 0.7006676557863502, "repo_name": "wtgodbe/coreclr", "id": "1751abbbc5a8a410dc4d963022ed57aa7cdeba1a", "size": "329...
import { EventDispatcher } from '../core/EventDispatcher.js'; import { Texture } from '../textures/Texture.js'; import { LinearFilter } from '../constants.js'; import { Vector4 } from '../math/Vector4.js'; /** * @author szimek / https://github.com/szimek/ * @author alteredq / http://alteredqualia.com/ * @author Mar...
{ "content_hash": "6c5bb1cc3bf1ada9ec48c20dddc492e5", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 194, "avg_line_length": 25.524752475247524, "alnum_prop": 0.7071373157486424, "repo_name": "webmaster444/webmaster444.github.io", "id": "b5aa413e65a6f47a934ad6ce5395b646a70c...
package org.apache.phoenix.query; import static org.apache.phoenix.util.PhoenixRuntime.TENANT_ID_ATTRIB; import static org.apache.phoenix.util.TestUtil.ATABLE_NAME; import static org.apache.phoenix.util.TestUtil.ENTITY_HISTORY_TABLE_NAME; import static org.apache.phoenix.util.TestUtil.FUNKY_NAME; import static org.ap...
{ "content_hash": "7494768ca4cce6a24c24b264722c0a46", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 150, "avg_line_length": 44.61333333333334, "alnum_prop": 0.7051703526598924, "repo_name": "jfernandosf/phoenix", "id": "d255e0ad9cf125119db0c742b68e92f7c70cd950", "size": ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE127_Buffer_Underread__malloc_char_ncpy_53b.c Label Definition File: CWE127_Buffer_Underread__malloc.label.xml Template File: sources-sink-53b.tmpl.c */ /* * @description * CWE: 127 Buffer Under-read * BadSource: Set data pointer to before the allocated memory...
{ "content_hash": "158db151f52492ca4646627ee4dee442", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 156, "avg_line_length": 31.41304347826087, "alnum_prop": 0.7217993079584775, "repo_name": "maurer/tiamat", "id": "ab7e812a8d018da8145f46a01aa6e89a1d729b01", "size": "1445",...
package io.netty.handler.codec.socks; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.ReplayingDecoder; import io.netty.handler.codec.socks.SocksInitResponseDecoder.State; import java.util.List; /** * Decodes {@link ByteBuf}s into {@link SocksInitRespons...
{ "content_hash": "f7f6f5c69534f60804e9dc37db75f612", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 106, "avg_line_length": 30.220338983050848, "alnum_prop": 0.6483454851374089, "repo_name": "wuyinxian124/netty4.0.27learn2", "id": "1c74641429046109e62f43b2265610bce72e3bc7",...
require './test/test_helper' class Person extend Songkick::Api::ClassMethods songkick :a_test, "a_test" end class TestClassMethods < Minitest::Test def test_base_url assert_equal "http://api.songkick.com/api/3.0/", Person.base_url end def test_songkick assert_equal ["a_test",[]], Person.songkic...
{ "content_hash": "57fbd816ad84a4bc412511a0f3253529", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 73, "avg_line_length": 22.344827586206897, "alnum_prop": 0.6388888888888888, "repo_name": "athlite/songkick", "id": "e08bf2e82a97ceb2bbb3b61e6dee2ecf8b763abc", "size": "648...
// 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. package org.chromium.net.apihelpers; import org.json.JSONException; import org.json.JSONObject; import org.chromium.net.UrlResponseInfo; /** * A specialization of {@link In...
{ "content_hash": "c19b9744763d4ccbca1bc97570da63be", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 99, "avg_line_length": 35.65853658536585, "alnum_prop": 0.7168262653898769, "repo_name": "chromium/chromium", "id": "8d1fb2dc9f7e01f7237b16200c906f7546eb66ed", "size": "146...
package org.apache.geode.management.internal.cli.help; import org.apache.commons.lang.StringUtils; import org.apache.geode.management.internal.cli.GfshParser; import org.apache.geode.management.internal.cli.shell.Gfsh; import java.util.ArrayList; import java.util.List; /** * */ public class HelpBlock { private ...
{ "content_hash": "dbdf5509c8143f2e412de39b4de6f3cd", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 75, "avg_line_length": 22.424657534246574, "alnum_prop": 0.674404398289554, "repo_name": "shankarh/geode", "id": "78879d34d438fd1eab42ad1809d6ce0acacb95cf", "size": "2426",...
module Flvorful module Acts #:nodoc: module Noteable #:nodoc: def self.included(base) base.extend ClassMethods end module ClassMethods def acts_as_noteable has_many :notes, :as => :noteable, :dependent => :destroy, :order => 'created_at ASC' include DJDoss...
{ "content_hash": "a68de319fd3a745edc38382e66beaa62", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 96, "avg_line_length": 32.15, "alnum_prop": 0.5635044064282011, "repo_name": "flvorful/ActsAsNoteable", "id": "f6b4e83dd0ee02222aa9d0d08a6c0f67539bda22", "size": "1946", ...
// This file is distributed under the BSD License. // See "license.txt" for details. // Copyright 2009-2012, Jonathan Turner (jonathan@emptycrate.com) // and Jason Turner (jason@emptycrate.com) // http://www.chaiscript.com #ifndef CHAISCRIPT_STDLIB_HPP_ #define CHAISCRIPT_STDLIB_HPP_ #include <map> #include <memory> ...
{ "content_hash": "dbb42a65cc7e515df725fa3f132f8f16", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 153, "avg_line_length": 28.12676056338028, "alnum_prop": 0.6935403104656985, "repo_name": "Degryll/ZBE", "id": "ed56b234649164782d2520a94ceb3f1223989d66", "size": "1997", ...
//******************************************************************** //* //* Warning: This file was generated by ecore4CPP Generator //* //******************************************************************** #ifndef UML_READLINKACTIONREADLINKACTIONIMPL_HPP #define UML_READLINKACTIONREADLINKACTIONIMPL_HPP //****...
{ "content_hash": "bba61439b3ea34205168ed46d6e5187d", "timestamp": "", "source": "github", "line_count": 191, "max_line_length": 145, "avg_line_length": 38.64921465968586, "alnum_prop": 0.6327553508534273, "repo_name": "MDE4CPP/MDE4CPP", "id": "e49999f6c980e408b7ed438e447ad900b18b3f5a", "size": "738...
#include "tensorflow/core/kernels/data/shard_dataset_op.h" #include "tensorflow/core/framework/partial_tensor_shape.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/kernels/data/name_utils.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/platform/stringprintf.h" #inc...
{ "content_hash": "5287339c72a73d44312b5e4327689735", "timestamp": "", "source": "github", "line_count": 246, "max_line_length": 80, "avg_line_length": 34.91869918699187, "alnum_prop": 0.620023282887078, "repo_name": "aldian/tensorflow", "id": "d54ea63099b2464cb1c53e3bf9fa582a86e3e2f8", "size": "925...
<?php namespace Algolia\AlgoliaSearch\Insights; use Algolia\AlgoliaSearch\InsightsClient; final class UserInsightsClient { /** * @var \Algolia\AlgoliaSearch\InsightsClient */ private $client; private $userToken; public function __construct(InsightsClient $client, $userToken) { ...
{ "content_hash": "b430b0e1b7192158ac2f3b2b230b62e4", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 127, "avg_line_length": 29.197080291970803, "alnum_prop": 0.57275, "repo_name": "algolia/algoliasearch-client-php", "id": "cc3fc8d4f3cfeda8d2fb5786f5f6f0d41a1cbf5f", "size...
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> <android.support.v7.widget.Toolbar android:id="@+id/sch...
{ "content_hash": "f9447b99492e96bc85f942280511911f", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 64, "avg_line_length": 34.567567567567565, "alnum_prop": 0.6004691164972635, "repo_name": "affogatoman/SchoolParser", "id": "ce61bae1825068710bbbb5dc484e6030bc5999d9", "siz...
This project was generated with [angular-cli](https://github.com/angular/angular-cli) version 1.0.0-beta.21. ## Development server Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. ## Code scaffolding Run `ng generate compo...
{ "content_hash": "52e6dc6b8d30d55049ba101b574c4cbd", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 157, "avg_line_length": 39.89655172413793, "alnum_prop": 0.7450302506482281, "repo_name": "tazmanrising/IntiotgAngular", "id": "dae642d8bcf8c846cd05933f0de7716e2866e43e", "...
package cn.edu.ruc.kafka.resultset; import java.sql.SQLException; /** * @author Bian Haoqiong * @version 0.0.1 */ public class OffsetResultSet extends ResultSet { private long[] offsets = null; private ResultSetMetaData resultSetMetaData = null; private int index = -1; public OffsetResultSet (long...
{ "content_hash": "97630de63865b8952d1d62c95bb85907", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 89, "avg_line_length": 24.486486486486488, "alnum_prop": 0.6026490066225165, "repo_name": "dbiir/jdbc-for-kafka", "id": "79d53ce5a383d277130a2b3584fdca29c6c4c706", "size": ...
class MailHandler < ActionMailer::Base include ActionView::Helpers::SanitizeHelper include Redmine::I18n class UnauthorizedAction < StandardError; end class MissingInformation < StandardError; end attr_reader :email, :user, :handler_options def self.receive(raw_mail, options={}) options = options.dee...
{ "content_hash": "a9b40a4435f793ed18a10d6b697b26a8", "timestamp": "", "source": "github", "line_count": 550, "max_line_length": 128, "avg_line_length": 34.71272727272727, "alnum_prop": 0.637806411062225, "repo_name": "kiv-redmine/redmine", "id": "0c3d34c41d3dd46bcfb6bb9005b89858ce52385e", "size": "...
package com.tomise.meigang.launchmode; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { ...
{ "content_hash": "7be6ef3a650803368349f25408b87b05", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 93, "avg_line_length": 27.692307692307693, "alnum_prop": 0.7527777777777778, "repo_name": "mg0324/android-study", "id": "dcc37ac29502b7a203ef939c6b8393018327b13f", "size": ...
package com.javafm.vertx.helloworld; import io.vertx.core.Vertx; import io.vertx.core.http.HttpServer; import io.vertx.ext.web.Router; /** * Created by lemontea <36634584@qq.com> on 16-12-19. */ public class HelloRouter { public static void main(String[] args) { Vertx vertx = Vertx.vertx(); // ...
{ "content_hash": "943d45fe41a98f783e0524fb8ffeeb5a", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 77, "avg_line_length": 30.176470588235293, "alnum_prop": 0.6169590643274854, "repo_name": "tjz101/vertxworld", "id": "f229354944d43aa67bfc5f569570b2207f09144a", "size": "11...
<?php namespace backend\controllers; use common\models\Chude; use Yii; use common\models\Detai; use common\models\DetaiSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * DetaiController implements the CRUD actions for Detai model. */ class DetaiController extends C...
{ "content_hash": "9ffee9eba83469cf495f495c53d84b3d", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 85, "avg_line_length": 25.606299212598426, "alnum_prop": 0.5255227552275523, "repo_name": "dungphanxuan/php_demo2", "id": "61f8d0e8fd33ef79850098652c822949b4a1dac2", "size...
 #include <aws/iotwireless/model/Tag.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace IoTWireless { namespace Model { Tag::Tag() : m_keyHasBeenSet(false), m_valueHasBeenSet(false) { } Tag::Tag(Js...
{ "content_hash": "1e5eb92a9b3dea0a67e7dbf7d2d500f2", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 47, "avg_line_length": 14.183098591549296, "alnum_prop": 0.663356504468719, "repo_name": "jt70471/aws-sdk-cpp", "id": "7453e1e6e533f2c09711cefeacf128bfc7d145b4", "size": "1...
#import <Foundation/Foundation.h> #import "ApigeeLogging.h" /*! @class ApigeeDefaultiOSLog @abstract */ @interface ApigeeDefaultiOSLog : NSObject <ApigeeLogging> - (void)verbose:(NSString*)tag message:(NSString*)msg; - (void)verbose:(NSString*)tag message:(NSString*)msg exception:(NSException*)e; - (void)verbos...
{ "content_hash": "9f3a1a0d6aa38e0b60711042ae67d132", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 80, "avg_line_length": 37.891891891891895, "alnum_prop": 0.7289586305278174, "repo_name": "RobertWalsh/apigee-ios-sdk", "id": "5289ad6900777f6ffb727c3e1673b9fc471565fc", "s...
import {LitElement, css, html, customElement, property, PropertyValues} from 'lit-element'; import {styleMap} from 'lit-html/directives/style-map.js'; import '@material/mwc-icon'; @customElement('litmail-nav-menu-item') export class LitMailNavMenuItem extends LitElement { static styles = [css` :host { di...
{ "content_hash": "0c478f5c24a6f98e6f8e3ca4a07f1b2a", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 91, "avg_line_length": 19.611940298507463, "alnum_prop": 0.578386605783866, "repo_name": "PolymerLabs/lit-mail", "id": "db16a1c60405a6ee7eec4fecd07dc10fd42c52b2", "size": "...
package com.apitore.banana.response.word2vec; import java.util.List; import com.apitore.banana.response.BaseResponseEntity; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; @ApiModel @Data @EqualsAndHashCode(callSuper=false...
{ "content_hash": "d79aa1d7ff0f1289277a8e8a67d0961b", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 68, "avg_line_length": 24.333333333333332, "alnum_prop": 0.7931506849315069, "repo_name": "keigohtr/apitore-response-parent", "id": "ce77913d65c6020cb137329ea1a53a8678440ae9"...
export default function (img) { return new Promise(function (resolve, reject) { if (!img) return; if (img.complete) { setTimeout(resolve, 0); } else { img.addEventListener("load", resolve); } }); }
{ "content_hash": "48da7a5edea27b0ed29870279e9c8b6f", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 51, "avg_line_length": 26.1, "alnum_prop": 0.524904214559387, "repo_name": "SiTLar/BetterFeed", "id": "23eed2b75d6b8cbbd15b94db238e314c79114ebe", "size": "261", "binary":...
package gowbem import ( "bytes" "context" "errors" "fmt" "log" "net/url" "time" ) var ( messageNotExists = errors.New("CIM.MESSAGE isn't exists.") simpleReqNotExists = errors.New("CIM.MESSAGE.SIMPLERSP isn't exists.") imethodResponseNotExists = errors.New("CIM.MESSAGE.SIMPLERSP.IME...
{ "content_hash": "656cb820f9173e588831f9834bccb5c4", "timestamp": "", "source": "github", "line_count": 1767, "max_line_length": 142, "avg_line_length": 29.461233729485002, "alnum_prop": 0.7028506665642168, "repo_name": "runner-mei/gowbem", "id": "8640c4d7645e878601d257affe7187f1625b69ad", "size": ...
<?php namespace BingAds\CampaignManagement; /** * Gets the ad groups that exist within a specified campaign. * * @link http://msdn.microsoft.com/en-us/library/dn277524(v=msads.90).aspx GetAdGroupsByCampaignId Response Object * * @uses AdGroup * @used-by BingAdsCampaignManagementService::GetAdGroupsByCampaignId ...
{ "content_hash": "4c2e884857033e445cde62733a5916a3", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 114, "avg_line_length": 24.523809523809526, "alnum_prop": 0.7203883495145631, "repo_name": "onema/bing-ads-sdk-php", "id": "7282e394b67ff8b7cf6c3a941738c091a64832c3", "size...
layout: documentation title: ReactiveX - Timeout operator id: timeout --- <ol class="breadcrumb"> <li><a href="{{ site.url }}/documentation/operators.html">Operators</a></li> <li><a href="{{ site.url }}/documentation/operators.html#utility">Utility</a></li> <li class="active">Timeout</li> </ol> <h1>Timeout</...
{ "content_hash": "82e05ec0dd6181ae33c249eca2467a22", "timestamp": "", "source": "github", "line_count": 543, "max_line_length": 229, "avg_line_length": 41.93922651933702, "alnum_prop": 0.647169894172924, "repo_name": "ReactiveX/reactivex.github.io", "id": "c470a711251e817d02ea48f8479eb9c8279069be", ...
package com.pendext.asynchronocity.app.singleton; import de.greenrobot.event.EventBus; public class EventBusSingleton { private static EventBus eventBus; public static EventBus getEventBus() { if (eventBus == null) { eventBus = new EventBus(); return eventBus; } else ...
{ "content_hash": "2fd693eaa4906233b7f2889598296f67", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 49, "avg_line_length": 21.705882352941178, "alnum_prop": 0.6151761517615176, "repo_name": "pendext/asynchronicity", "id": "3574506de1ea452c5f219cdb6c1b37f6e731e1ac", "size"...
<!DOCTYPE html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <title>SANSA-Stack 0.8.0 ScalaDoc - net.sansa_stack.rdf.spark.io.rdfxml</title> ...
{ "content_hash": "2863d1029355dab39f70211462c8f459", "timestamp": "", "source": "github", "line_count": 507, "max_line_length": 429, "avg_line_length": 51.29783037475345, "alnum_prop": 0.5758228237465395, "repo_name": "SANSA-Stack/SANSA-RDF", "id": "7704e3b6d67c2537ca6cb73700bf72aa7a274359", "size"...
package com.github.fhtw.swp.tutorium.command; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Defines the method on an invoker that invokes commands. * * @see Invoker */ @Retention(RetentionPolic...
{ "content_hash": "0f568292e7f33e0650981b24c1d2690c", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 58, "avg_line_length": 23.294117647058822, "alnum_prop": 0.7904040404040404, "repo_name": "fhtw-swp-tutorium/java-annotations", "id": "0fa4fbb49f02ec4a1de002b4939cc962f460d55...
using System; using Orleans.Runtime.Host; using Orleans; using System.Net; using GameEngine.GrainInterfaces; namespace GameEngine.Localhost { class Program { static SiloHost siloHost; static void Main(string[] args) { // Orleans should run in its own AppDomain, we set it...
{ "content_hash": "d47deeef06ec514c1af745f8ed5750ad", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 139, "avg_line_length": 30.013513513513512, "alnum_prop": 0.5826204412426835, "repo_name": "PershingTheHunters/TheHuntGameEngine", "id": "0b1ebc3f284d88dd13bbe6dc0b80644b168f...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03.RestaurantDiscount { class RestaurantDiscount { static void Main() { int groupSize = int.Parse(Console.ReadLine()); string package = Console...
{ "content_hash": "ab092fe3d149d0d6675b089d68108408", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 87, "avg_line_length": 39.7816091954023, "alnum_prop": 0.4680728113262063, "repo_name": "ShadyObeyd/ProgrammingFundamentals-Homeworks", "id": "7c33eb89d1f2956cadf9c230fd0f7cf...
package qa.tools.ikeeper.test; import java.util.ArrayList; import java.util.List; import org.assertj.core.api.Assertions; import org.junit.AfterClass; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TestRule; import qa.tools.ikeeper.annotation.BZ; import qa.tools.ikeeper.client.BugzillaClient; i...
{ "content_hash": "ca47a9e680bca2a3891dd2c4e5e84a37", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 108, "avg_line_length": 26.09433962264151, "alnum_prop": 0.7049891540130152, "repo_name": "ibek/issue-keeper", "id": "052994afee333b4ee0d5e693c27b50639e9d0765", "size": "13...
<?xml version="1.0" encoding="UTF-8"?> <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> ...
{ "content_hash": "7b5f27b0295d5f5f96981a75ddda6de9", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 276, "avg_line_length": 51.6, "alnum_prop": 0.6792635658914729, "repo_name": "Condors/TunisiaMall", "id": "64ec86c5c84c141b6c6ed0168cc0df26709bab55", "size": "1032", "bin...
import React from 'react' import { useStore } from './StoreContext' import { observer } from 'mobx-react' import { FormGroup, FormControlLabel, Switch } from '@material-ui/core' export default observer(() => { const { enable, toggleEnable } = useStore().AppStore return ( <FormGroup> <FormControlLabel ...
{ "content_hash": "d254c5f1a2a66881ac994422929eff29", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 77, "avg_line_length": 26.59090909090909, "alnum_prop": 0.588034188034188, "repo_name": "xcv58/Custom-JavaScript-for-Websites-2", "id": "8765e85fe6135b0d64d86dd03f24c505a1e1d...
/// Copyright (c) 2009 Microsoft Corporation /// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided /// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and /// ...
{ "content_hash": "93ee09bbfd4cda59ec62d6130a1770da", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 153, "avg_line_length": 42.55555555555556, "alnum_prop": 0.6654233494964565, "repo_name": "xamarin/IronJS", "id": "5c762c3073d3d6d8946a0873377d41c520817797", "size": "2683"...
/*------------------------------------------------------------------------- Copyright 2008 Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software. ----------------------------------------------------------------------...
{ "content_hash": "880b2056baa3734acbc65739154e3c5a", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 81, "avg_line_length": 33.58163265306123, "alnum_prop": 0.7259191735034943, "repo_name": "keithroe/vtkoptix", "id": "0433178cb074be010c5ae89c50e1b2faf182d2ce", "size": "388...
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <widget id="com.ionicframework.basicsample126732" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>basic-sample</name> <description> An Ionic Framework and Cordova project. </description> <a...
{ "content_hash": "46d2cc73a038a5fb5589ed20a520746e", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 148, "avg_line_length": 42.68421052631579, "alnum_prop": 0.6942046855733662, "repo_name": "jassman/auth0-ionic", "id": "c5efef33bcc521e04833244d47fe871c4f6b6c03", "size": "...
package pl.themolka.arcade.kit.content; import pl.themolka.arcade.config.Ref; import pl.themolka.arcade.dom.Node; import pl.themolka.arcade.game.Game; import pl.themolka.arcade.game.GamePlayer; import pl.themolka.arcade.parser.Context; import pl.themolka.arcade.parser.InstallableParser; import pl.themolka.arcade.par...
{ "content_hash": "0396db5da4c16ee59ba5e62cee435071", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 122, "avg_line_length": 34.5375, "alnum_prop": 0.6789721317408614, "repo_name": "ShootGame/Arcade2", "id": "9ef1bf5c35439c7e7c9cc7cf17dd8bacaa9f2acb", "size": "3367", "bi...
layout: base title: 'Statistics of PART in UD_Portuguese-Bosque' udver: '2' --- ## Treebank Statistics: UD_Portuguese-Bosque: POS Tags: `PART` There are 3 `PART` lemmas (0%), 3 `PART` types (0%) and 3 `PART` tokens (0%). Out of 17 observed tags, the rank of `PART` is: 17 in number of lemmas, 17 in number of types an...
{ "content_hash": "60dede38bfd31d4eaf3736a1fe1d152c", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 505, "avg_line_length": 49.30508474576271, "alnum_prop": 0.6782399449982812, "repo_name": "UniversalDependencies/docs", "id": "d21bbd32b63bc627cb93aede2c99eaa6d03970b6", "s...
<?php // Route patterns Route::pattern('id', '\d+'); Route::pattern('hash', '[a-z0-9]+'); Route::pattern('hex', '[a-f0-9]+'); Route::pattern('uuid', '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'); Route::pattern('base', '[a-zA-Z0-9]+'); Route::pattern('slug', '[a-z0-9-]+'); Route::pattern('username', ...
{ "content_hash": "1fdb7be2b6576560c5faa27a6777c38b", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 87, "avg_line_length": 38.71, "alnum_prop": 0.6269697752518729, "repo_name": "jemnuine/pupsraa-cms", "id": "ac18e8ad60b628f219236e276308d016ed3102ea", "size": "3871", "b...
// // This file was auto-generated using the ChilliConnect SDK Generator. // // The MIT License (MIT) // // Copyright (c) 2015 Tag Games Ltd // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the...
{ "content_hash": "157ba83b930e9d96d7e88feed77fb023", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 95, "avg_line_length": 31.876106194690266, "alnum_prop": 0.7601332593003887, "repo_name": "ChilliConnect/Samples", "id": "fc60b8d297df56eff3936477c334861c551ff705", "size"...
#include "qsize.h" #include "qdatastream.h" #include "qdebug.h" QT_BEGIN_NAMESPACE /*! \class QSize \ingroup painting \brief The QSize class defines the size of a two-dimensional object using integer point precision. A size is specified by a width() and a height(). It can be set in the co...
{ "content_hash": "27f73ecdabac7470a64ab402d289b244", "timestamp": "", "source": "github", "line_count": 789, "max_line_length": 94, "avg_line_length": 23.6425855513308, "alnum_prop": 0.62024230727994, "repo_name": "forzi/phantomjs_stradivari_fork", "id": "956f767c86c42925ee7c1db30a13b601bc4df780", ...
<?php namespace Fd\TablaBundle\Repository; use Doctrine\ORM\EntityRepository; /** * TurnoRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class TurnoRepository extends EntityRepository { }
{ "content_hash": "e6031bc40a00ee2b30108d492ee27c22", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 68, "avg_line_length": 17.266666666666666, "alnum_prop": 0.7644787644787645, "repo_name": "mprizmic/sga", "id": "3bf34e64514a0f884635e71f4ce9543c9adc79e5", "size": "259", ...
package Controls; import com.badlogic.gdx.controllers.Controller; import com.badlogic.gdx.controllers.Controllers; import com.badlogic.gdx.controllers.PovDirection; public class Xbox360Pad { private static void exampleUse() { //gets first controller from array of controllers Controller contro...
{ "content_hash": "ee31a10bd187792aee2938d647b68630", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 75, "avg_line_length": 39.19047619047619, "alnum_prop": 0.6859052247873633, "repo_name": "goldDaniel/VideoGame", "id": "9fb8a731ff27ceb36fc2e22adfa1a76e8d546b9e", "size": "...
package keywhiz.model; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import org.jooq.Converter; public class LongConverter implements Converter<Integer, Long> { @SuppressFBWarnings(value = "NP_BOOLEAN_RETURN_NULL", justification = "null is a valid DB value") @Override public Long from(Integer value...
{ "content_hash": "c237b6f50bc9186c7b31d33e7a989449", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 99, "avg_line_length": 21.46875, "alnum_prop": 0.6754002911208151, "repo_name": "madtrax/keywhiz", "id": "f9d643932875c8672cefbeb27784737abc9dafca", "size": "1287", "bina...
import { StorageService } from './../../../../shared/services/storage.service'; import { Tour } from './../../../../shared/models/tour.model'; import { CropperSettings } from 'ng2-img-cropper'; import { ResizeOptions } from './../components/components/imageCropper/interfaces'; export class UploaderContainer { publ...
{ "content_hash": "c3c2de65c1ff5008b516a147602daac2", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 123, "avg_line_length": 37.46666666666667, "alnum_prop": 0.5696915776986952, "repo_name": "gokhancelik/zagency", "id": "b3f0b0b0d36c53a5d02c24cecccd700790c9cfe8", "size": "...
from __future__ import unicode_literals import django.contrib.postgres.fields.jsonb from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('datastore', '0023_auto_20160525_2043'), ] operations = [ migrations.RemoveField( model_name=...
{ "content_hash": "5183b9bdfb26077ec991ff7a13bdfa27", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 98, "avg_line_length": 29.928571428571427, "alnum_prop": 0.5767700875099443, "repo_name": "impactlab/oeem-energy-datastore", "id": "d40a6de3e4e6e78aa9f21d3fb185f98b1a495ee8",...
create table SHOP_contract ( ID VARCHAR2(64) not null, TYPE VARCHAR2(64), DEPOSIT NUMBER, INCOME NUMBER, AGENT_ID VARCHAR2(64), HOUSE_ID VARCHAR2(64), START_DATE TIMESTAMP(6), END_DATE TIMESTAMP(6), REMARKS NVARCHAR2(64), CREATEBY NVARCHAR2(64), ...
{ "content_hash": "00f3e7a703e5810472829b4283f5764c", "timestamp": "", "source": "github", "line_count": 586, "max_line_length": 76, "avg_line_length": 22.16211604095563, "alnum_prop": 0.6786786786786787, "repo_name": "caimingqin/fj", "id": "411a76f53d028cde0c8eb71c7f18de49df5cd06a", "size": "13441"...
namespace Microsoft.Azure.Management.ResourceManager.Models { using System.Linq; /// <summary> /// Identity for the resource. /// </summary> public partial class Identity { /// <summary> /// Initializes a new instance of the Identity class. /// </summary> public ...
{ "content_hash": "1795e2cd90eb2ff06e54508d43ba7f27", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 157, "avg_line_length": 34.08, "alnum_prop": 0.5845070422535211, "repo_name": "djyou/azure-sdk-for-net", "id": "7c3b7345ca4dc2fb1284e5ee6badbfd49d9e33e8", "size": "2025", ...
<!-- 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"); you ma...
{ "content_hash": "ee002002ad0c7770af0ce01a1f9535cb", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 109, "avg_line_length": 42.054054054054056, "alnum_prop": 0.663560411311054, "repo_name": "cloudera/recordservice", "id": "93b983808fa8d0aeb052acc85e8c49f743b4e3ee", "size"...
module Fattr Fattr::VERSION = '1.0.3' unless Fattr.const_defined?(:VERSION) def self.version() Fattr::VERSION end class List < ::Array def << element super self ensure uniq! index! end def index! @index ||= Hash.new each{|element| @index[element] = true} e...
{ "content_hash": "d0a49e717d1ef92afaf92bd9e0be5af0", "timestamp": "", "source": "github", "line_count": 153, "max_line_length": 97, "avg_line_length": 23.50980392156863, "alnum_prop": 0.5276619405059773, "repo_name": "medivo/medivo_bj", "id": "6eeb4ac9b4f78ccd98fc72134bbc1f55613cfb25", "size": "359...
'use strict'; const path = require('path'); describe('PIXI.Sprite', function () { describe('width', function () { it('should not be negative for negative scale.x', function () { const sprite = new PIXI.Sprite(); sprite.width = 100; expect(sprite.width).to.b...
{ "content_hash": "127b1d2f4a04c2c5800fd93ca5eb3144", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 101, "avg_line_length": 28.09655172413793, "alnum_prop": 0.524300441826215, "repo_name": "englercj/pixi.js", "id": "a3d94a0ebacf31f0a856c2d52d9e27cb39b5b4da", "size": "407...
module RRRSpec module Client VERSION = "0.4.0" end end
{ "content_hash": "12f9715df0cf3b9434786cef0f1b9c95", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 21, "avg_line_length": 12.6, "alnum_prop": 0.6507936507936508, "repo_name": "jaymanklu/rrrspec", "id": "b57903a3822c436881b505642c98b8f2da815e86", "size": "63", "binary": ...
@implementation UIButton (Setting) - (void)kh_settingWithframe:(CGRect)frame title:(NSString *)title textfont:(UIFont *)textfont textcolor:(UIColor *)textcolor normalImage:(UIImage *)normalImage clickImage:(UIImage *)clickImage { self.frame = frame; [self kh_settingWithtitle:title textfont:textfont textcolor:t...
{ "content_hash": "98a592feb1ce3ec725b16d00b4f5b94f", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 192, "avg_line_length": 49.22222222222222, "alnum_prop": 0.7866817155756207, "repo_name": "keroushe/KHKit", "id": "3367e9d78ad9a81dd5f5119daa3b23a1386ad54a", "size": "1045"...
NS_ASSUME_NONNULL_BEGIN @interface M80AttributedLabelURL : NSObject @property (nonatomic,strong) id linkData; @property (nonatomic,assign) NSRange range; @property (nonatomic,strong,nullable) UIColor *color; + (M80AttributedLabelURL *)urlWithLinkData:(id)linkData ...
{ "content_hash": "005951fad4e67d9a02a1ff7b113aecb1", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 71, "avg_line_length": 31.842105263157894, "alnum_prop": 0.6462809917355372, "repo_name": "Jerrywx/AttributeText-Demo", "id": "8aaa7be749a47d293124aca41d47aab6996fef16", "s...
package eu.bcvsolutions.idm.ic.czechidm.service.impl; import java.beans.IntrospectionException; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.lang.reflect.Method; import java.text.MessageFormat; import java.util.ArrayList; import java.util.Comparator; import java.util.HashMap; impor...
{ "content_hash": "3e523b0998e73253a7ec133dfd2dcafc", "timestamp": "", "source": "github", "line_count": 288, "max_line_length": 116, "avg_line_length": 37.545138888888886, "alnum_prop": 0.7803569777120133, "repo_name": "bcvsolutions/CzechIdMng", "id": "7241baa8bd7bd972788d13a38f2f71e26178fd8e", "si...
package com.jetbrains.python; import com.jetbrains.python.fixtures.PyTestCase; import com.jetbrains.python.psi.*; import com.jetbrains.python.psi.impl.PythonLanguageLevelPusher; import com.jetbrains.python.toolbox.Maybe; public class PyDecoratedPropertyTest extends PyTestCase { protected PyClass myClass; @Overr...
{ "content_hash": "fc0c76bfad67339b5c3b9316a0d0c1e9", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 101, "avg_line_length": 30.253521126760564, "alnum_prop": 0.707169459962756, "repo_name": "IllusionRom-deprecated/android_platform_tools_idea", "id": "414c3558d948aa23a0895b3...
<?php return [ /* |-------------------------------------------------------------------------- | Standards Tree |-------------------------------------------------------------------------- | | Versioning an API with Dingo revolves around content negotiation and | custom MIME types. A custo...
{ "content_hash": "381ed96c11c5e1e3e8d6d3af419d066c", "timestamp": "", "source": "github", "line_count": 211, "max_line_length": 90, "avg_line_length": 31.862559241706162, "alnum_prop": 0.4081511230105608, "repo_name": "bkintanar/HRis", "id": "b70b21930b84b9eec9cd4bb952d851eedc097875", "size": "7192...
require_relative '../../processor' require_relative '../../template_engine' require_relative '../dialect' class DefaultDialect < Dialect CONTEXT_SWITCH_VAR = 'switch_var' CONTEXT_FRAGMENT_VAR = 'fragment_var' CONTEXT_OBJECT_VAR = 'context_obj' def self.default_key 'th' end def self.context_...
{ "content_hash": "9d3f32978815b223e8013ac481cd2f68", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 48, "avg_line_length": 25.907692307692308, "alnum_prop": 0.6858669833729216, "repo_name": "trabe/thymeleaf-rb", "id": "63b560220108075b890e12852ae4123b27d9c537", "size": "1...
""" Collects metrics on queues and queue consumers from PgQ, a PostgreSQL-based queueing mechanism (part of the Skytools utilities released by Skype.) #### Dependencies * psycopg2 #### Example Configuration ``` enabled = True [instances] [[database1]] dsn = postgresql://user:secret@localhost [[database2]] dsn =...
{ "content_hash": "d9d0cfc16bfbb72f29d19766abaefd5a", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 80, "avg_line_length": 31.684684684684683, "alnum_prop": 0.5899914700028434, "repo_name": "tusharmakkar08/Diamond", "id": "8697c57ecdcd0ff61f3214d9878a3c4d85168070", "size...
<h1> hello Admin {{currentUser.user.loginId}}</h1> <div class="well"> <div class="form-group"> <label for="selectUser">Please choose a user </label> <select ng-model="selectedUser" ng-options="item as item.loginId for item in users"></select> </div> <div class="form-group"> ...
{ "content_hash": "a6eed1056685a2b78c3208d9eea1d7bf", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 124, "avg_line_length": 46.59375, "alnum_prop": 0.49128101945003355, "repo_name": "thpeng/spring-time", "id": "ae35f6695e84fd0390ac5af99cc621f60a092a53", "size": "2982", ...
package com.withBoardManager.webServer; public class TcallTicket { //public String ip; public String service; public int ticketNumber; private boolean isACall=false; public TcallTicket(String service, int number) { //this.ip=ip; this.service=service; ticketNumber=number; } /* public String getIp() { ...
{ "content_hash": "d908d65d156e9d2be95e39f174930b40", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 49, "avg_line_length": 15.212121212121213, "alnum_prop": 0.7071713147410359, "repo_name": "capolrik/Microservices-App", "id": "d7a6d31f73100e8eaf9dbe785eba3ba2926dab5b", "s...
package com.intellij.facet.impl; import com.intellij.ProjectTopics; import com.intellij.facet.*; import com.intellij.openapi.components.PersistentStateComponent; import com.intellij.openapi.components.State; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.module.Module; import com.intellij.o...
{ "content_hash": "40f509bbdd1d4d93dbc1c1cf023556e9", "timestamp": "", "source": "github", "line_count": 172, "max_line_length": 154, "avg_line_length": 35.73255813953488, "alnum_prop": 0.7375528799219004, "repo_name": "leafclick/intellij-community", "id": "983b04a0a966f0ab52bae3405093063b26681656", ...
var cdb = require('cartodb.js'); var cdbAdmin = require('cdb.admin'); var pollTimer = 2000; // Interval time between poll checkings var timerMultiply = 2.5; // Multiply interval for this number var maxTries = 30; // Max tries until interval change /** * User creation model * */ module.exports = cdb.core.Model.ex...
{ "content_hash": "d67d1724d58c590ec4ce0b96c5b389bc", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 66, "avg_line_length": 21.32051282051282, "alnum_prop": 0.6067348165965123, "repo_name": "dbirchak/cartodb", "id": "c6b948b2683b2de9934f9706dddf86d20f91b15d", "size": "1663...
package com.mcleodmoores.financial.function.trade; import java.util.Map; import java.util.NoSuchElementException; import java.util.Set; import org.joda.beans.Bean; import org.joda.beans.BeanDefinition; import org.joda.beans.ImmutableBean; import org.joda.beans.ImmutableConstructor; import org.joda.beans.JodaBeanUtil...
{ "content_hash": "37d64f0a3f85651cf5240d0800ae0421", "timestamp": "", "source": "github", "line_count": 449, "max_line_length": 149, "avg_line_length": 30.893095768374163, "alnum_prop": 0.6243241294787687, "repo_name": "McLeodMoores/starling", "id": "c77276ea4698f6db65f5b1759b5cb89430d0e0b3", "size...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "e012575983552854f89c29642cf4b2bd", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "1f4a27e46a22616c1a36b2ddd5315f2ea2da0577", "size": "188...
extern crate cargo; extern crate cargotest; extern crate hamcrest; extern crate rustc_serialize; use cargotest::support::{project, execs}; use hamcrest::assert_that; #[test] fn simple() { let p = project("foo"); assert_that(p.cargo_process("version"), execs().with_status(0).with_stdout(&forma...
{ "content_hash": "fc8866a0bb8266daa1d8018ccb7edf0f", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 80, "avg_line_length": 26.858974358974358, "alnum_prop": 0.5436754176610978, "repo_name": "sbeckeriv/cargo", "id": "2171cef5e13e56dc5247c218c47f52f3350618fb", "size": "2095...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="48dp" android:background="@color/main_blue"> <TextView android:id="@+id/title_share_t...
{ "content_hash": "b2c5e57e35eae9baf4e61d8230923426", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 74, "avg_line_length": 36.44444444444444, "alnum_prop": 0.6636178861788617, "repo_name": "zhaoGavin/ClassNote", "id": "eb10b0452efeb9d1cea0ed37dc6d5028185f1159", "size": "9...
using System; namespace HIPHttpApi { internal struct SubscribeJson { public bool Success { get; set; } public HIPHttpApi.Subscribe.Result Result { get; set; } } namespace HIPHttpApi.Subscribe { internal struct Result { public uint Id { get; set; } } } }
{ "content_hash": "98867f230d423812f0814daaf68393f9", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 57, "avg_line_length": 15.333333333333334, "alnum_prop": 0.6847826086956522, "repo_name": "2NTelekomunikace/hip-http-api", "id": "a89390f62b4eb4435e33d3799a3030047f053444", ...
package com.kit.tdh.hdfs; import java.io.BufferedInputStream; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.had...
{ "content_hash": "8b5a81197e63d77f323d1b18ef3bc335", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 66, "avg_line_length": 31.08108108108108, "alnum_prop": 0.7565217391304347, "repo_name": "guohan/hadoop", "id": "befebb43413c91e212f7ec9cb4200b90edff05c2", "size": "1186", ...
<?php /** * COLUMNS * Shortcode which creates columns for better content separation */ // Don't load directly if ( !defined('ABSPATH') ) { die('-1'); } if ( !class_exists( 'avia_sc_cell' ) ) { class avia_sc_cell extends aviaShortcodeTemplate{ static $extraClass = ""; static $attr = array(); /** ...
{ "content_hash": "46fc8297b0c1904114c759fba866d5b2", "timestamp": "", "source": "github", "line_count": 534, "max_line_length": 212, "avg_line_length": 36.19288389513109, "alnum_prop": 0.5550266466601128, "repo_name": "slyxster/sabc", "id": "40a772a34f13a139a56f09ce1dadfc3d8fb36227", "size": "19327...
using namespace cocos2d; bool HandLuggageSpaces::init(){ for (int i = 0; i < 4; i++) { Sprite* handLuggageSpace = Sprite::create("airplane/hand_luggage_spaces.png"); handLuggageSpace->setPosition(Vec2(i * 225, 45)); handLuggageSpace->setAnchorPoint(Vec2(0.5,1)); this->addChild(h...
{ "content_hash": "094d77e91f4acae57584e13db842042d", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 89, "avg_line_length": 29.045454545454547, "alnum_prop": 0.6369327073552425, "repo_name": "jetberry/JamPewDiePie", "id": "ad426f002bf56572b6fe7dc9b73e04b934d67345", "size":...
package com.facebook.react.views.text; /** * Instances of this class are used to place reactTag information of nested text react nodes * into spannable text rendered by single {@link TextView} */ public class ReactTagSpan { private final int mReactTag; public ReactTagSpan(int reactTag) { mReactTag = rea...
{ "content_hash": "7589632f695ed2c28cb02a79f25021c2", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 92, "avg_line_length": 19.45, "alnum_prop": 0.7197943444730077, "repo_name": "hoastoolshop/react-native", "id": "772adc7a9c085524909b7e9ab2eab1858f826bc4", "size": "571", ...
namespace vr { class UiInterface; struct ControllerTestInput; class InputDelegateForTesting : public InputDelegate { public: explicit InputDelegateForTesting(UiInterface* ui); InputDelegateForTesting(const InputDelegateForTesting&) = delete; InputDelegateForTesting& operator=(const InputDelegateForTesting&) =...
{ "content_hash": "acf297514eac8e503757f9bc3f166c60", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 79, "avg_line_length": 33.651162790697676, "alnum_prop": 0.7657221838286109, "repo_name": "ric2b/Vivaldi-browser", "id": "82ae810779542654c6db5d820e433c640df73b26", "size":...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateFriendsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('friends', function (Blueprint $table) { $t...
{ "content_hash": "9a096564e3a19c916bf5001914422fef", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 63, "avg_line_length": 20.242424242424242, "alnum_prop": 0.5329341317365269, "repo_name": "sinahub/chatty", "id": "f8770151dbf321347426bd5ed184041c13a44169", "size": "668",...