text
stringlengths
2
1.04M
meta
dict
namespace Pizza.RetailWeb.Models.Home { public class OrderStatusWidgetViewModel { public PizzaOrderStatus[] Orders { get; set; } } }
{ "content_hash": "59980141842662acce617f4d838c0c89", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 54, "avg_line_length": 21.857142857142858, "alnum_prop": 0.6797385620915033, "repo_name": "NimbusAPI/Nimbus_v2", "id": "99a4a2afc3c7ed0970360a67bd2c67cd4d01aebd", "size": "1...
namespace HieraParser { void IterDistributedTrainer::Train(std::vector<TrainingExample> &examples, Model &model) const { std::vector<Model> submodels(threads); std::vector<std::vector<TrainingExample>> shards(threads); int exampleSize = static_cast<int>(examples.size()); ShardTrainExamples(example...
{ "content_hash": "7de21435fac43062f9d38c0940a767e8", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 94, "avg_line_length": 35.83050847457627, "alnum_prop": 0.5331125827814569, "repo_name": "wang-h/HieraParser", "id": "0dc79a57c7e6b6226c77c2110fc204fb4377a9d4", "size": "22...
<html> <head> <meta charset="utf-8"> <title>Test page for adapter.js</title> </head> <body> <h1>Test page for adapter.js</h1> <script src="../adapter.js"></script> The browser is: <span id="browser"></span> <br> The browser version is: <span id="browserversion"></span> <script> var browser_display = document.getElement...
{ "content_hash": "417d671f5b8330462cf17894d5344325", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 64, "avg_line_length": 27.894736842105264, "alnum_prop": 0.7358490566037735, "repo_name": "4lejandrito/adapter", "id": "ca37ba6900740da07a091fc9d4fcbaf7dd20a2b6", "size": "...
``keep_cross_validation_predictions`` ------------------------------------- - Available in: GBM, DRF, Deep Learning, GLM, Naïve-Bayes, K-Means, XGBoost - Hyperparameter: no Description ~~~~~~~~~~~ N-fold cross-validation is used to validate a model internally, i.e., to estimate the model performance without having t...
{ "content_hash": "a28bc6da8f7c6ad6b9cf1d6b6934fdd4", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 703, "avg_line_length": 41.80952380952381, "alnum_prop": 0.7260820045558086, "repo_name": "spennihana/h2o-3", "id": "284acffad7a89b03f3c01d6cbf3f8900394e0c49", "size": "351...
<?php namespace Microsoft\Dynamics\Model; use SaintSystems\OData\Entity; /** * Subject class * * Subject entity * * @category Model * @package Microsoft.Dynamics * @license https://opensource.org/licenses/MIT MIT License * @link https://www.microsoft.com/en-us/dynamics365/ */ class Subject extends Entity {...
{ "content_hash": "6fd0da6215ffdf2b6f954d1e6606b046", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 85, "avg_line_length": 22.823529411764707, "alnum_prop": 0.6597938144329897, "repo_name": "saintsystems/dynamics-sdk-php", "id": "ebcec926c3f9c9b126d159a1d1240dd914150e64", ...
@echo off REM This batch file compiles the demo program with the gnu gcc compiler under DOS/Windows REM There are two ways to do that: use the lpsolve code directly or use that static library. set c=gcc REM determine platform (win32/win64) echo main(){printf("SET PLATFORM=win%%d\n", (int) (sizeof(void *)*8));}>plat...
{ "content_hash": "ba7fce2f28a8a2a23515a29c72c0fc2a", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 417, "avg_line_length": 45.166666666666664, "alnum_prop": 0.7011070110701108, "repo_name": "smremde/node-lp_solve", "id": "2374850de835eb48dbec159b745b31bf6a787f22", "size"...
<# /******************************************************** * * * © Microsoft. All rights reserved. * * * *********************************************************/ .SYNOPSIS This sc...
{ "content_hash": "0982ac3b81829c8e94cdc02fa3c9b923", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 178, "avg_line_length": 43.65217391304348, "alnum_prop": 0.6613545816733067, "repo_name": "jaredmoo/elastic-db-tools", "id": "7cf7e8211fe24b815d51340346a557b53056454a", "si...
<!DOCTYPE html> <html lang="en"> <head> <title>Warp Protocol Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer></script> <scrip...
{ "content_hash": "59dbaba42f55152af170e5e104f8eb1e", "timestamp": "", "source": "github", "line_count": 293, "max_line_length": 480, "avg_line_length": 47.27303754266212, "alnum_prop": 0.4520251245397444, "repo_name": "twittemb/Weavy", "id": "6b642c701fe33f431ee7cc965b5ca151051eb918", "size": "1385...
/** @namespace fx.effects */ ECMAScript.Extend('fx.effects', function (ecma) { var CEffect = ecma.fx.Effect; var proto = ecma.lang.createPrototype(CEffect); /** * @class Style */ this.Style = function (elem, attr, p1, p2, units, duration) { this.elem = ecma.dom.getElement(elem); this.attr = at...
{ "content_hash": "5431c57844b99e5d2cb662de1000c88e", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 87, "avg_line_length": 27.75, "alnum_prop": 0.6171171171171171, "repo_name": "ryangies/lsn-javascript", "id": "5e13f35d3bab5f14e2993186ef53ab4a846703fb", "size": "888", "...
<!DOCTYPE html> <html> <head> <title>Postmodern Pachyderm</title> <link rel="stylesheet", type="text/css", href="stylesheets/blog_template.css" > </head> <body> <div id= "header"> <a href="http://adowns01.github.io/"><h1 id= "title">Postmodern Pachyderm</h1></a> </div> <div id= "content_container"> </div> ...
{ "content_hash": "7b54d2b031856a2a917d82483c3714ce", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 84, "avg_line_length": 16.095238095238095, "alnum_prop": 0.6390532544378699, "repo_name": "adowns01/adowns01.github.io", "id": "b3e88a1c11ff22512403ba79614e800c547501d8", "...
ACCEPTED #### According to Index Fungorum #### Published in Krypt. -Fl. Brandenburg (Leipzig) 7(3): 440 (1938) #### Original name Pleosphaerulina salicis Kirschst. ### Remarks null
{ "content_hash": "6b2906d6e14b6ae37f548a3eaf6525bd", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 50, "avg_line_length": 14.153846153846153, "alnum_prop": 0.7065217391304348, "repo_name": "mdoering/backbone", "id": "cfc4403e33a16e370dce5a2013ae092d44359f70", "size": "24...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Window.cs" company="bbv Software Services AG"> // Copyright (c) 2014 - 2020 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this ...
{ "content_hash": "7832ead4fea012fd4b772381d1acb394", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 120, "avg_line_length": 39.6551724137931, "alnum_prop": 0.5478260869565217, "repo_name": "mmarkovic/CleanCode.Academy", "id": "dadc1be68580746390294294f2f68a8448bb78e2", "s...
package net.glowstone.block.block2.details; import net.glowstone.block.block2.IdResolver; import net.glowstone.block.block2.sponge.BlockState; import org.bukkit.TreeSpecies; public class SaplingIdResolver implements IdResolver { @Override public int getId(BlockState state, int suggested) { if (suggest...
{ "content_hash": "e0362256b8876935a609c9a75e30fe42", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 57, "avg_line_length": 30.6, "alnum_prop": 0.710239651416122, "repo_name": "Tonodus/WaterGleam", "id": "40af9480c33653e69614f5252026550777c460c1", "size": "459", "binary"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>constructors: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.mi...
{ "content_hash": "bfea936d3254d71a66ff8f08083a806b", "timestamp": "", "source": "github", "line_count": 165, "max_line_length": 159, "avg_line_length": 40.96969696969697, "alnum_prop": 0.5356508875739645, "repo_name": "coq-bench/coq-bench.github.io", "id": "4d0859e143634576dd56b645dbfdbfaff8a2445a", ...
/** * Gulp tasks for docker platform. */ import * as del from "del"; import * as fs from "fs"; import * as gulp from "gulp"; import * as minimist from "minimist"; import * as path from "path"; import * as runSequence from "run-sequence"; import * as util from "util"; import { IUniteConfiguration } from "../../types/I...
{ "content_hash": "58579217a131f45a7292aef4e7a3a49b", "timestamp": "", "source": "github", "line_count": 210, "max_line_length": 112, "avg_line_length": 30.142857142857142, "alnum_prop": 0.5581358609794629, "repo_name": "unitejs/engine", "id": "47d7daf39374406834b858ac3b32ba829849d4db", "size": "633...
module BitAttrs class ActiveRecordBinding def self.should_be_created?(klass) return false unless defined?(ActiveRecord) return false unless klass.ancestors.include?(ActiveRecord::Base) true end def self.with(klass, attr_name, bitset) klass.where("#{attr_name}_mask & ? = ?", bits...
{ "content_hash": "f1ad442e51e313ace4be932d9f785ee9", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 91, "avg_line_length": 25.45, "alnum_prop": 0.6463654223968566, "repo_name": "rsamoilov/bit_attrs", "id": "10ca3301107d8ce4b7a0ba3bea9e1e81d5121563", "size": "509", "bina...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
{ "content_hash": "7b38e5d56c87b753a18141e37dcbbd81", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 84, "avg_line_length": 40.05714285714286, "alnum_prop": 0.7289586305278174, "repo_name": "dschenkelman/modern-wpf", "id": "a2a7a06d551463c170ce3cec30ca61ca0d3a3980", "size"...
$BUTTON_A = 0; $BUTTON_B = 1; $BUTTON_X = 2; $BUTTON_Y = 3; //------------------------------------------------------------------------------ // GamepadButtonsGui methods //------------------------------------------------------------------------------ /// Callback when this control wakes up. All buttons ar...
{ "content_hash": "0a139683ea25cab67c401cfc0560a548", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 189, "avg_line_length": 32.89855072463768, "alnum_prop": 0.5872246696035243, "repo_name": "AnteSim/Verve", "id": "de958df23c4e6fff66681ea47e52e5775fc3eb96", "size": "2654",...
package com.tencent.connect.auth; public class AuthConstants { public static final String CANCEL_URI = "auth://cancel"; public static final String CLOSE_URI = "auth://close"; public static final String DOWNLOAD_URI = "download://"; public static final String REDIRECT_BROWSER_URI = "auth://browser"; ...
{ "content_hash": "e448a8a64b07e100b65edb6b4c31b18b", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 71, "avg_line_length": 24.066666666666666, "alnum_prop": 0.6842105263157895, "repo_name": "machinahub/MiBandDecompiled", "id": "58c1c8e072f59a22b1428caf7168ebb020e5f926", "...
#ifdef KROLL_COVERAGE #import "TiBase.h" #import "KrollObject.h" #import "KrollMethod.h" #define COMPONENT_TYPE_PROXIES @"proxies" #define COMPONENT_TYPE_MODULES @"modules" #define COMPONENT_TYPE_OTHER @"other" #define API_TYPE_FUNCTION @"function" #define API_TYPE_PROPERTY @"property" #define COVERAGE_TYPE_GET @...
{ "content_hash": "f2310e70fae0ce73e05c1bacdd8f3974", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 185, "avg_line_length": 31.016129032258064, "alnum_prop": 0.7795111804472179, "repo_name": "alanleard/AvrilFoundation", "id": "bf0fcd1db863e3cdce1efd68d4c897d74951d328", "s...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** * * * <pre> * Tags point to a version and represent an alternative name that can be used * to access the version. * </pre> * * Pr...
{ "content_hash": "096e03f65d790562a942e997e96e22a6", "timestamp": "", "source": "github", "line_count": 830, "max_line_length": 100, "avg_line_length": 32.4289156626506, "alnum_prop": 0.6598305840392331, "repo_name": "googleapis/java-artifact-registry", "id": "3a16da0b9354a36cc02c1c662c96cdf2eead38dc...
<?php /** * Step 2 : check system configuration (permissions on folders, PHP version, etc.) */ class InstallControllerHttpSystem extends InstallControllerHttp { public $tests = array(); /** * @var InstallModelSystem */ public $model_system; /** * @see InstallAbstractModel::init() */ ...
{ "content_hash": "9a607534143fbd9bf3a125021da77da2", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 82, "avg_line_length": 29.76923076923077, "alnum_prop": 0.5664656904966983, "repo_name": "rafaeljuzo/makeuptown", "id": "e0c79958002080719b5eaeae47dcf18f068e0784", "size":...
import sys import matplotlib from matplotlib import style import cloudside matplotlib.use("agg") style.use("classic") if "--strict" in sys.argv: sys.argv.remove("--strict") status = cloudside.teststrict(*sys.argv[1:]) else: status = cloudside.test(*sys.argv[1:]) sys.exit(status)
{ "content_hash": "22e4b5616f23eb8cb591f832d5787136", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 48, "avg_line_length": 18.5, "alnum_prop": 0.706081081081081, "repo_name": "phobson/cloudside", "id": "e0232b22e356c82bd6b1e186277f01690dc7c00c", "size": "296", "binary":...
package components; /* * TableRenderDemo.java requires no other files. */ import javax.swing.DefaultCellEditor; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.table.AbstractTableModel; import javax.s...
{ "content_hash": "277786fa4a93d9f00f94cdd8f3cb000b", "timestamp": "", "source": "github", "line_count": 210, "max_line_length": 132, "avg_line_length": 35.27619047619048, "alnum_prop": 0.587877969762419, "repo_name": "jalian-systems/marathonv5", "id": "eac775c4595aa6f6fe7ecf1d1ad7203eee37cd1b", "si...
<?xml version="1.0" encoding="UTF-8" ?> <Library name="sap.ui.table" xmlns="http://www.sap.com/ui5/ide/templates/xmlview"> <Template name="sap.ui.table.AnalyticalColumn" alias="AnalyticalColumn,Column"> <jsTemplate><![CDATA[new sap.ui.table.AnalyticalColumn({ id: "${id}", // sap.ui.core.ID width: undefined, // sap.u...
{ "content_hash": "ff5dcb476621dd601ecf632fafd02460", "timestamp": "", "source": "github", "line_count": 888, "max_line_length": 110, "avg_line_length": 32.387387387387385, "alnum_prop": 0.6933240611961057, "repo_name": "marinho/german-articles", "id": "db744164742ddb74882be9f17e35e0e02995d99e", "si...
package OpenRate.db; import OpenRate.OpenRate; import OpenRate.exception.ExceptionHandler; import OpenRate.exception.InitializationException; import OpenRate.utils.PropertyUtils; import com.jolbox.bonecp.BoneCPDataSource; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; im...
{ "content_hash": "08cc6632f36be0416e106a1fd5864c88", "timestamp": "", "source": "github", "line_count": 267, "max_line_length": 198, "avg_line_length": 40.97378277153558, "alnum_prop": 0.6947897623400365, "repo_name": "isparkes/OpenRate", "id": "d12a3072991ec68c722c72d7f494d1900b61d3d6", "size": "1...
package org.quattor.pan.output; import static org.quattor.pan.utils.MessageUtils.MSG_UNEXPECTED_EXCEPTION_WHILE_WRITING_OUTPUT; import java.io.PrintWriter; import java.nio.charset.Charset; import javax.xml.XMLConstants; import javax.xml.transform.sax.TransformerHandler; import javax.xml.transform.stream...
{ "content_hash": "979954f37510db8dc8944faa58638fb1", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 95, "avg_line_length": 30.423841059602648, "alnum_prop": 0.694601654331737, "repo_name": "jrha/pan", "id": "55475b83f09401b44a40eef3c7808c9de510246d", "size": "5428", "b...
using System.Configuration; namespace Motherlode.Data.NHibernate.Tests.Cfg { internal class Environment { #region Public Properties public static string TargetDirectory { get { return ConfigurationManager.AppSettings["targetDir"]; } ...
{ "content_hash": "ae6ad7a32318a4545b540e070e64933f", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 69, "avg_line_length": 18.789473684210527, "alnum_prop": 0.5658263305322129, "repo_name": "xSkara/Motherlode", "id": "804722d534647f66ffb82d313379d73216c4b208", "size": "35...
import {TagRepository} from '../services/tagRepository'; import {DisplayHelpers} from '../helpers/displayHelpers'; import {Views} from './common'; import {DOMHelpers} from '../helpers/domHelpers'; import {Pages} from '../pages/common'; import {PageActions} from '../pages/action'; import {Privileges} from '../services/p...
{ "content_hash": "02cf0f644ae766a7e650d7592bcd1dc2", "timestamp": "", "source": "github", "line_count": 544, "max_line_length": 137, "avg_line_length": 36.64154411764706, "alnum_prop": 0.5452265088044951, "repo_name": "danij/Forum.WebClient", "id": "8c1291b7622a6219208b72cbc481d44844f2c3e9", "size"...
package org.vaadin.spring.navigator.annotation; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; import org.vaadin.spring.annotation.VaadinComponent; import org.vaadin.spring.annotation.VaadinUIScope; import org.vaadin.spring.navigator.SpringViewProvi...
{ "content_hash": "5a17e56aac6662cc83d911407aff4c8e", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 179, "avg_line_length": 32.83720930232558, "alnum_prop": 0.7365439093484419, "repo_name": "fastnsilver/vaadin4spring", "id": "61606a5ffdd4e55eecb38091020352793755aeee", "si...
package kieker.monitoring.core.registry; import java.security.SecureRandom; import java.util.Stack; import java.util.WeakHashMap; import java.util.concurrent.atomic.AtomicInteger; import kieker.common.logging.Log; import kieker.common.logging.LogFactory; import kieker.common.record.flow.trace.TraceMetadata; import ...
{ "content_hash": "88c01dd42ef8e3f8f859ba3375fa20cd", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 136, "avg_line_length": 34.37162162162162, "alnum_prop": 0.718498132494594, "repo_name": "leadwire-apm/leadwire-javaagent", "id": "e3a2c7fbe0ad6cd7ee2d79f96762624ff1807578",...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "ae57127157e27b66c4f6ac53e9859aeb", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "115614791c79c31f34f3097134c2be4f4bba65d6", "size": "202...
package pl.touk.nussknacker.engine.flink.util.transformer import com.typesafe.config.Config import pl.touk.nussknacker.engine.api.component.{ComponentDefinition, ComponentProvider, NussknackerVersion} import pl.touk.nussknacker.engine.api.process.{ProcessObjectDependencies, SinkFactory} import pl.touk.nussknacker.engi...
{ "content_hash": "4d39e7519dee43cc71f18ce0679013ea", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 182, "avg_line_length": 63.355555555555554, "alnum_prop": 0.8172571027709575, "repo_name": "TouK/nussknacker", "id": "5e3670b20da0dd851765ad4413a55dccebe81994", "size": "28...
.btn-file { position: relative; overflow: hidden; text-align: center; border-radius: 0; } .btn-file input[type=file] { position: absolute; top: 0; right: 0; min-width: 100%; min-height: 100%; font-size: 100px; text-align: right; filter: alpha(opacity=0); opacity: 0; ...
{ "content_hash": "8ffaa7108b5c33ed46b9b4ac646ce5a5", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 34, "avg_line_length": 18.2, "alnum_prop": 0.6153846153846154, "repo_name": "sakukode/lovesmatch", "id": "977b1fa9ff933b2c041cc073d2d118e8aa419022", "size": "637", "binar...
package org.apache.drill.exec.store.parquet; import io.netty.buffer.DrillBuf; import java.io.IOException; import java.io.OutputStream; import org.apache.hadoop.fs.FSDataInputStream; import org.apache.parquet.bytes.BytesInput; import org.apache.parquet.format.PageHeader; import org.apache.parquet.format.Util; impor...
{ "content_hash": "869a01e14e09579e66c7351379a4710f", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 99, "avg_line_length": 24.517241379310345, "alnum_prop": 0.7149554617909049, "repo_name": "vvysotskyi/drill", "id": "1d9ccdad5095696e0364a02ff568c072c4f92521", "size": "293...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "4fb5c0664d818080ef97361f4201f60a", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "072638bcfbbeec444967809b070a04196920b90c", "size": "18...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.pfe.services; import com.pfe.exceptions.*; import java.util.*; import org.springframework.stereotype.*; import o...
{ "content_hash": "6b21b88c1c04d310a27ccdc667cfd78f", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 106, "avg_line_length": 33.096774193548384, "alnum_prop": 0.6578947368421053, "repo_name": "elrhourha/pfe", "id": "fc0ae55df84f0e563e0affd92997b7feb7368357", "size": "1026"...
{% load i18n wagtailadmin_tags %} {% if tasks %} {% if search_form.is_searching %} <h2 role="alert"> {% blocktrans trimmed count counter=tasks.paginator.count %} There is {{ counter }} match {% plural %} There are {{ counter }} matches {% e...
{ "content_hash": "2b23dfdeb4750e41131b611ec9ac43e4", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 170, "avg_line_length": 38.52, "alnum_prop": 0.3925233644859813, "repo_name": "zerolab/wagtail", "id": "441412d461a6f831e4293278cb46dada2d042864", "size": "2889", "binary...
// Originally from UpdatedComponentTests/StandardTesting/REST/Rest_Get_SimpleOperation_DelegateResponse.xls; package com.betfair.cougar.tests.updatedcomponenttests.standardtesting.rest; import com.betfair.testing.utils.cougar.misc.XMLHelpers; import com.betfair.testing.utils.cougar.assertions.AssertionUtils; import ...
{ "content_hash": "fb07af105c4b109fe24ba94bf83e2e6c", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 287, "avg_line_length": 64.30263157894737, "alnum_prop": 0.7816656435440966, "repo_name": "olupas/cougar", "id": "2863d560db78edde68c8ea4dc1ea031cd2f93a29", "size": "5500",...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using KeyPay.DomainModels.V2.PayRun; using KeyPay.DomainModels.V2.Report; using KeyPay.Enums; using Newtonsoft.Json; namespace KeyPay.ApiFunctions.V2 { public class ReportFunction : BaseFunction { public ReportFunctio...
{ "content_hash": "778effe610a235ccbb08f1f31c2117bf", "timestamp": "", "source": "github", "line_count": 170, "max_line_length": 378, "avg_line_length": 70.03529411764706, "alnum_prop": 0.692256005375441, "repo_name": "KeyPay/keypay-dotnet", "id": "570d6182998add3ebcc48cfdca95c1a710cf421f", "size": ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="scaffolded-by" content="https://github.com/google/stagehand"> <title>base64decode</title> <link rel="style...
{ "content_hash": "5c249d88c2b6ab740f687620ce04e7f0", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 77, "avg_line_length": 29.238095238095237, "alnum_prop": 0.6628664495114006, "repo_name": "moocodenet/base64decode", "id": "28c6acdd39a959120cd59e6ff147cf8b6ffb719b", "size...
package com.hubbardgary.londontrails.proxy.interfaces; public interface IAndroidFrameworkProxy { CharSequence fromHtml(String text); }
{ "content_hash": "c80f30b4d9d7bf8f82ffe55f1bb4eed9", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 54, "avg_line_length": 28, "alnum_prop": 0.8214285714285714, "repo_name": "hubbardgary/LondonTrails", "id": "02a31827102d19f3dd52d7280f00592ae3ab465a", "size": "140", "bin...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.08.31 at 10:36...
{ "content_hash": "8726892d5f514958cb6b74b9911cc41c", "timestamp": "", "source": "github", "line_count": 193, "max_line_length": 119, "avg_line_length": 26.352331606217618, "alnum_prop": 0.6801022414471097, "repo_name": "kyle0311/oliot-epcis-1.1", "id": "0c0a580db9a2d69f60a314e7bb97f01719ce5642", "s...
<?php /** * Your Inspiration Themes * * @package WordPress * @subpackage Your Inspiration Themes * @author Your Inspiration Themes Team <info@yithemes.com> * * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also avail...
{ "content_hash": "43faf23e05f6f64a03702816e9fb0e27", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 233, "avg_line_length": 35.453416149068325, "alnum_prop": 0.48458304134548, "repo_name": "garungabc/Wordpress_useful", "id": "b6823fc078299ab6e7d931c90e87615020439a9f", "s...
Installing Neurotune ======================== .. code-block:: bash python setup.py --install Dependencies ------------ Neurotune has the following hard dependencies: * Inspyred * Numpy And the following soft dependencies: * Scipy * neuronpy * NEURON Requirements --------------------- Neurotune has so far ...
{ "content_hash": "96b95da0a5a775f22cc0739e7c80d55f", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 50, "avg_line_length": 16.583333333333332, "alnum_prop": 0.6432160804020101, "repo_name": "pgleeson/neurotune", "id": "bc8ca955b578ba7ff6ff0a57f9b6089b20749b02", "size": "3...
package com.hacktahon.speakers.tests; import static org.junit.Assert.fail; import org.junit.Test; import com.hackathon.speakers.util.SpeakUtil; public class SpeakTest { @Test public void testSimpleSpeak() { try { SpeakUtil.speak("Testing speaking capabilities", "Test"); } ca...
{ "content_hash": "7fc5ecfe0421c5358035a59b46afc27e", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 69, "avg_line_length": 20.55, "alnum_prop": 0.610705596107056, "repo_name": "dor-levi/hackathon-speakers", "id": "cae249e6447164e2f569687369a9f033668b9d82", "size": "411", ...
package org.apache.sshd.server.session; import java.io.IOException; import org.apache.sshd.common.Service; import org.apache.sshd.common.ServiceFactory; import org.apache.sshd.common.session.Session; /** * @author <a href="mailto:dev@mina.apache.org">Apache MINA SSHD Project</a> */ public class ServerUserAuthServ...
{ "content_hash": "4129c1ff81daafd2cbc7b094519497a7", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 99, "avg_line_length": 25.724137931034484, "alnum_prop": 0.7319034852546917, "repo_name": "ieure/mina-sshd", "id": "d012f83548823e585345e38206625d573be36fba", "size": "1547...
<!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"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "1a715619f14c0d27856a70632a19229a", "timestamp": "", "source": "github", "line_count": 157, "max_line_length": 320, "avg_line_length": 61.28662420382165, "alnum_prop": 0.6994387861151528, "repo_name": "kkuhrman/AblePolecat", "id": "d68baa145ad26c15bdc4f714e0400b144583b67d", "size":...
require 'rails_helper' require 'message_queue_consumer' describe MessageQueueConsumer::HeartbeatMiddlewareProcessor do let(:heartbeat_headers) { instance_double("Bunny::MessageProperties", :content_type => "application/x-heartbeat") } let(:heartbeat_message) { instance_double("RabbitmqConsumer::Message", :headers...
{ "content_hash": "b668fb4af51de7dd03d4477eca8aa3f5", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 118, "avg_line_length": 31.4, "alnum_prop": 0.7098372257607927, "repo_name": "alphagov/content-register", "id": "970055ae8501c88c4017af9ade4e0af2361781ba", "size": "1413", ...
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.umeng.update"> </manifest>
{ "content_hash": "47cb4d9193295ec81ac9bc05ccf7321d", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 68, "avg_line_length": 30.6, "alnum_prop": 0.6993464052287581, "repo_name": "liqk2014/CNode-Material-Design", "id": "a37b14ae910df0d3f96c1a1a5535c6f32fda8324", "size": "153"...
package org.codehaus.groovy.jsr223; import groovy.lang.GroovyClassLoader; import org.codehaus.groovy.ast.ClassNode; import org.codehaus.groovy.ast.CodeVisitorSupport; import org.codehaus.groovy.ast.expr.MethodCallExpression; import org.codehaus.groovy.ast.stmt.ExpressionStatement; import org.codehaus.groovy.classgen....
{ "content_hash": "fd7a265d9ec86d9b6d3e8c9a6f85826c", "timestamp": "", "source": "github", "line_count": 164, "max_line_length": 117, "avg_line_length": 35.09146341463415, "alnum_prop": 0.7424847958297133, "repo_name": "paulk-asert/groovy", "id": "9c8d751ca5739165978de46fb1dc10c8acd629d2", "size": "...
(function (global, factory) { if (typeof module === "object" && typeof module.exports === "object") { // For CommonJS and CommonJS-like environments where a proper window is present, // execute the factory and get jQuery // For environments that do not inherently posses a window with a do...
{ "content_hash": "5ae2d718cbea1623c830bfd11cc719ac", "timestamp": "", "source": "github", "line_count": 9154, "max_line_length": 187, "avg_line_length": 37.67828271793751, "alnum_prop": 0.43805431609100426, "repo_name": "a7000q/tagera.ru", "id": "02a8bc6cfcf201bbf7a7142f2c5df0157bae8b2b", "size": "...
NAME=server # the location of the vcproj that builds the mod MOD_PROJ="../game/server/server_scratch-2005.vcxproj" # the name of the mod configuration (typically <proj name>_<build type><build target>) MOD_CONFIG="ServerSDK_DebugWin32" # the directory the base binaries (tier0_i486.so, etc) are located # this should p...
{ "content_hash": "3dedc86d8e5c5f7c99318f175fb56265", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 541, "avg_line_length": 40.42748091603053, "alnum_prop": 0.6952416918429003, "repo_name": "iosoccer/iosoccer-game", "id": "48f457f04cb49a47c83c41f7fa76193b75b36f37", "size...
""" Check for unique lists within an array """ def unique_list(array, elements_to_check=0): """ :param array: Array of lists to be checked :param elements_to_check: range of numbers corresponding to indices of list :return: new unique array """ n_rows = len(array) unique_array = [] ...
{ "content_hash": "1062bbba3de15aa9c737e84d5ba6f0cf", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 102, "avg_line_length": 18.46153846153846, "alnum_prop": 0.525, "repo_name": "nitikayad96/chandra_suli", "id": "b1eea5882475eb66db26bc598f49ab9ae42adc75", "size": "1200", ...
package com.squareup.wire.schema; import com.squareup.wire.schema.internal.Util; import com.squareup.wire.schema.internal.parser.ExtensionsElement; final class Extensions { private final ExtensionsElement element; Extensions(ExtensionsElement element) { this.element = element; } public Location locatio...
{ "content_hash": "91d3433d6c0e2106a408ed7dd3cabe02", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 91, "avg_line_length": 21.314285714285713, "alnum_prop": 0.6796246648793566, "repo_name": "pforhan/wire", "id": "80ca94642956e928fa0639ba51f9e25ca38c65c7", "size": "1341", ...
.class Lcom/sec/android/app/camera/Camera$33; .super Ljava/lang/Object; .source "Camera.java" # interfaces .implements Landroid/widget/CompoundButton$OnCheckedChangeListener; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/sec/android/app/camera/Camera;->showFaceZoomGuideDialog(...
{ "content_hash": "5b5fbc6e3d4c406122b6e0cd8c6e0ae6", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 169, "avg_line_length": 29.09375, "alnum_prop": 0.7278911564625851, "repo_name": "baidurom/devices-n7108", "id": "7e1aa8d038745a9c89aa4905880652abd24b4fe3", "size": "2793",...
gRPC Hello World Tutorial (Android Java) ======================== BACKGROUND ------------- For this sample, we've already generated the server and client stubs from [helloworld.proto](https://github.com/grpc/grpc-common/blob/master/protos/helloworld.proto). PREREQUISITES ------------- - [Java gRPC](https://github.co...
{ "content_hash": "7e1517be13918c80bdf5800332dd025e", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 167, "avg_line_length": 41.12, "alnum_prop": 0.7308690012970168, "repo_name": "mbrukman/grpc-common", "id": "1b6b8193466d8903afb0c4262bed6f1bfd2e7567", "size": "3084", "b...
using System; using System.Runtime.InteropServices; using System.Text; #if !SILVERLIGHT using System.Drawing.Imaging; using System.Drawing; #endif namespace ZXing.Common { /// <summary> A class which wraps a 2D array of bytes. The default usage is signed. If you want to use it as a /// unsigned container, it'...
{ "content_hash": "8693fb5ce694b0d220945c0db85bf897", "timestamp": "", "source": "github", "line_count": 143, "max_line_length": 113, "avg_line_length": 26.41958041958042, "alnum_prop": 0.49364743250397036, "repo_name": "DigitalPlatform/dp2", "id": "e20157725d2057dd5054821069fda36c6881f38b", "size":...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vision/v1p1beta1/image_annotator.proto package com.google.cloud.vision.v1p1beta1; /** * <pre> * Single crop hint that is used to generate a new crop when serving an image. * </pre> * * Protobuf type {@code google.cloud.vision.v1p...
{ "content_hash": "62db9ad0a28726d892b2f3147af658c6", "timestamp": "", "source": "github", "line_count": 796, "max_line_length": 190, "avg_line_length": 34.62437185929648, "alnum_prop": 0.6697144515801313, "repo_name": "pongad/api-client-staging", "id": "e07d7a843b2e16d5f42bf19890c4bfd777f816c3", "s...
function [fmri, vol, vol_size] = CBIG_MSHBM_read_fmri(fmri_name) % [fmri, vol, vol_size] = CBIG_MSHBM_read_fmri(fmri_name) % Given the name of functional MRI file (fmri_name), this function read in % the fmri structure and the content of signals (vol) or functional % connectivity matrix. % % Input: % - fmri_name...
{ "content_hash": "627d237fc61566a138d70e440f14a34b", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 112, "avg_line_length": 33.267857142857146, "alnum_prop": 0.6446591519055287, "repo_name": "ThomasYeoLab/CBIG", "id": "607cee9b34022e5ed34803740f202cddc5bb0fc5", "size": "1...
module MailManager class Contact < ActiveRecord::Base self.table_name = "#{MailManager.table_prefix}contacts" has_many :messages, :class_name => 'MailManager::Message' belongs_to :contactable, :polymorphic => true #not working for some reasom #accepts_nested_attributes_for :subscriptions ...
{ "content_hash": "7633989a28302abdf76a09c074b7466f", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 118, "avg_line_length": 33.25308641975309, "alnum_prop": 0.6237237794690923, "repo_name": "LoneStarInternet/mail_manager", "id": "5c765d34a3913fc02943d5291eaae2e37c9791e1", ...
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>spgl.gsounds.Sound</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <s...
{ "content_hash": "5c94ded93a81a1d944b5b75b6cec2634", "timestamp": "", "source": "github", "line_count": 253, "max_line_length": 174, "avg_line_length": 37.08695652173913, "alnum_prop": 0.5782798678461046, "repo_name": "SarahPythonista/acmpy", "id": "ec5570699efe715a876a71d80202461fe3f39604", "size"...
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistri...
{ "content_hash": "84d5a8c50851915c772641030cf62c9c", "timestamp": "", "source": "github", "line_count": 520, "max_line_length": 83, "avg_line_length": 33.78653846153846, "alnum_prop": 0.64044624053731, "repo_name": "meghana0507/grpc-java-poll", "id": "8a59d3233cc16f211b0bed46f7f097c3ada94ee3", "siz...
'use strict' // Characters. var NULL = '\0' var AMP = '&' var SP = ' ' var TB = '\t' var GR = '`' var DQ = '"' var SQ = "'" var EQ = '=' var LT = '<' var GT = '>' var SO = '/' var LF = '\n' var CR = '\r' var FF = '\f' var whitespace = [SP, TB, LF, CR, FF] // https://html.spec.whatwg.org/#attribute-name-state var name...
{ "content_hash": "a04e6791b0badfdc8f5123637b835a7d", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 70, "avg_line_length": 29.617021276595743, "alnum_prop": 0.6501436781609196, "repo_name": "jpoeng/jpoeng.github.io", "id": "41212763d359f7fba41d8d2f093429869f2458c7", "size...
--TEST-- Test xml_set_start_namespace_decl_handler() function : error conditions --SKIPIF-- <?php if (!extension_loaded("xml")) { print "skip - XML extension not loaded"; } ?> --FILE-- <?php /* Prototype : proto int xml_set_start_namespace_decl_handler(resource parser, string hdl) * Description: Set up characte...
{ "content_hash": "8f925772bcd517536c0ff9ef69ab8512", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 114, "avg_line_length": 34.319148936170215, "alnum_prop": 0.7259764414135151, "repo_name": "lunaczp/learning", "id": "221b005dfd403e2d2f3b1bf61b422c639ebb0e9a", "size": "16...
import RPi.GPIO as GPIO import time import queue as Queue # https://pymotw.com/2/Queue/ from functools import partial from threading import Thread #------------------------------------------------------------------------ # use the raspi board pin number #GPIO.setmode(GPIO.BOARD) # use the gpio number GPIO.setmode(GPIO...
{ "content_hash": "eb600f472f4e36f816e16e426c7e91e9", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 122, "avg_line_length": 28.666666666666668, "alnum_prop": 0.5593023255813954, "repo_name": "meigrafd/Sample-Code", "id": "513a0cf19adf5e14363fca60a8e4431a2574583d", "size":...
const baseSteps = require(__srcdir + '/steps/baseSteps.js'); const membersTab = require(__srcdir + '/pages/settings/membersTab.js'); class membersSteps extends baseSteps{ constructor(driver){ super(driver); this.memTab = new membersTab(driver); } async isLoaded(){ await this.memTa...
{ "content_hash": "622471e3dfe410f7d7c0ecfae4bd3721", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 71, "avg_line_length": 22.294117647058822, "alnum_prop": 0.6596306068601583, "repo_name": "nooproblem/influxdb", "id": "4c913e53864dc1678f73b937855edf767bff3744", "size": "...
package com.xeiam.xchange.bleutrade.service.polling; import java.io.IOException; import java.util.List; import com.xeiam.xchange.Exchange; import com.xeiam.xchange.bleutrade.BleutradeAdapters; import com.xeiam.xchange.bleutrade.dto.marketdata.BleutradeOrderBook; import com.xeiam.xchange.bleutrade.dto.marketdata.Bleut...
{ "content_hash": "3d30f9b0f305305d787b2a48b2e9dae4", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 115, "avg_line_length": 29.52777777777778, "alnum_prop": 0.7492944496707432, "repo_name": "okazia/XChange", "id": "7d18195771c3b2a5f8970abac6a90489be0bce09", "size": "2126"...
/* jshint unused:false */ 'use strict'; var should = require('should'); var app = require('../../app'); var request = require('supertest'); var <%= name %>Model = require('./<%= name %>.model'); // Clear all <%= name %>s function cleanup(done) { <%= name %>Model.model.remove().exec().then(function () { done(); }); }...
{ "content_hash": "bc3d841e782b15c40d856d69285a3641", "timestamp": "", "source": "github", "line_count": 195, "max_line_length": 106, "avg_line_length": 24.994871794871795, "alnum_prop": 0.5443167829298318, "repo_name": "baba2157/generator-material-app", "id": "b9fb2d4306cff437989383eb593d723af96713f3...
package authorizationapi // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 ...
{ "content_hash": "e4a3d6e0195f16b477876034e2afaa41", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 244, "avg_line_length": 66.2258064516129, "alnum_prop": 0.8330897873031337, "repo_name": "sdminonne/origin", "id": "70b5d055bab4aa6ccf6c0bdbc6ec871ae9204dd0", "size": "6159...
require 'cocoa/bindings/NSImageRep' module Cocoa class NSCIImageRep < Cocoa::NSImageRep attach_method :CIImage, :args=>0, :names=>[], :types=>[], :retval=>"@" attach_singular_method :imageRepWithCIImage, :args=>1, :names=>[], :types=>["@"], :retval=>"@" attach_method :initWithCIImage, :args=>1, :names=>[]...
{ "content_hash": "ab4fb5133e2000548ba7855d480fbaa9", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 98, "avg_line_length": 45, "alnum_prop": 0.6305555555555555, "repo_name": "patrickhno/cocoa", "id": "ae44767084f3e4d3951abd9d02ae62bbe89ff58b", "size": "391", "binary": fa...
<?php namespace PhpMigration\Changes\v5dot6; use PhpMigration\Changes\AbstractChange; use PhpMigration\Changes\RemoveTableItemTrait; use PhpMigration\SymbolTable; use PhpMigration\Utils\ParserHelper; use PhpParser\Node\Expr; class IncompMisc extends AbstractChange { use RemoveTableItemTrait; protected stati...
{ "content_hash": "80b65e937186b10bd53d9d4d86409f08", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 113, "avg_line_length": 43.73626373626374, "alnum_prop": 0.5902010050251256, "repo_name": "monque/PHP-Migration", "id": "8f9c0897d8aa31c51daff15a82fdbc751fab55ba", "size": ...
package com.swfarm.biz.ebay.dao; import com.swfarm.biz.ebay.bo.RelistEbayItemsConfig; import com.swfarm.pub.framework.dao.GenericDao; public interface RelistEbayItemsConfigDao extends GenericDao<RelistEbayItemsConfig, Long> { }
{ "content_hash": "a3636e34053147d07eb3b065d4fb6180", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 52, "avg_line_length": 30, "alnum_prop": 0.8, "repo_name": "zhangqiang110/my4j", "id": "9f05a218c50399e66084c4751510caf5eee266cd", "size": "240", "binary": false, "copie...
'use strict'; // I was getting errors when spawning too many instances at once // throat is going to limit to the number of cpu's const cpuCount = require('os').cpus().length; const throat = require('throat')(cpuCount); const execa = require('execa'); module.exports = function () { const args = arguments; ret...
{ "content_hash": "e001208d7d41f9891e2be24f6c7fd33c", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 64, "avg_line_length": 27.857142857142858, "alnum_prop": 0.6615384615384615, "repo_name": "dylang/space-hogs", "id": "b7ed3c63de660e05f7f255282fd081377d573374", "size": "39...
from google.cloud import monitoring_v3 def sample_get_alert_policy(): # Create a client client = monitoring_v3.AlertPolicyServiceClient() # Initialize request argument(s) request = monitoring_v3.GetAlertPolicyRequest( name="name_value", ) # Make the request response = client.get_...
{ "content_hash": "2c53e5779f55dcc0ff580b64527c7b64", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 70, "avg_line_length": 24.68421052631579, "alnum_prop": 0.7164179104477612, "repo_name": "googleapis/python-monitoring", "id": "a9ee89a26f46f36e41f47f8f7400b36a20cbef79", "...
<!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_05) on Tue Feb 02 23:09:48 CET 2016 --> <title>Uses of Class com.badlogic.gdx.scenes.scene2d.ui.HorizontalGroup (libgdx API)</title> <meta name...
{ "content_hash": "f9c93b8bf92ecd651e19768d03922a72", "timestamp": "", "source": "github", "line_count": 261, "max_line_length": 373, "avg_line_length": 61.16858237547893, "alnum_prop": 0.6568117757594738, "repo_name": "JFixby/libgdx-nightly", "id": "284a83e039966d69f233c966906c8cf5a241eef9", "size"...
first_name = "Chris" last_name = "Miklius" age = 22 # RSpec Tests. They are included in this file because the local variables you are creating are not accessible across files. If we try to run these files as a separate file per normal operation, the local variable checks will return nil. describe 'first_name' do ...
{ "content_hash": "fcd6a06d892a8b1aabd1d2bf70b75bfd", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 236, "avg_line_length": 23.486486486486488, "alnum_prop": 0.7019562715765247, "repo_name": "ChrisMIX/phase-0", "id": "1c36bffaeb19276b0b9a966e6894881141dfa0b5", "size": "88...
using content::PluginService; using webkit::WebPluginInfo; PluginInfoMessageFilter::Context::Context(int render_process_id, Profile* profile) : render_process_id_(render_process_id), resource_context_(profile->GetResourceContext()), host_content_settings_map_(p...
{ "content_hash": "309e5f492470979096733d300a7b2090", "timestamp": "", "source": "github", "line_count": 255, "max_line_length": 79, "avg_line_length": 37.772549019607844, "alnum_prop": 0.6677740863787376, "repo_name": "keishi/chromium", "id": "d980ada6b7b79f8e76cf8d261e45c110a1104792", "size": "107...
// Based upon the excellent jsx-transpiler by Ingvar Stepanyan (RReverser) // https://github.com/RReverser/jsx-transpiler // jsx import isString from "lodash/lang/isString"; import * as messages from "../../messages"; import esutils from "esutils"; import * as react from "./react"; import * as t from "../../types"; ...
{ "content_hash": "4b51d6f4ea64aeb9f576758646bc9b99", "timestamp": "", "source": "github", "line_count": 285, "max_line_length": 84, "avg_line_length": 24.028070175438597, "alnum_prop": 0.5752044392523364, "repo_name": "jaredly/babel", "id": "02b9ba1ffe464487661eccfbcd1ba154bdf7973a", "size": "6848"...
class AddNwordToEntries < ActiveRecord::Migration def change add_column :entries, :nword, :string end end
{ "content_hash": "015291ebdf4a843461d2a5076b2fefc4", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 49, "avg_line_length": 22.8, "alnum_prop": 0.7456140350877193, "repo_name": "ARMmaster17/JeffBot", "id": "e4544dae3d445def81d8e4f4b623fb872f504ded", "size": "114", "binary...
import {MdGridTile} from './grid-tile'; import {TileCoordinator} from './tile-coordinator'; /* * Sets the style properties for an individual tile, given the position calculated by the * Tile Coordinator. * @docs-private */ export abstract class TileStyler { _gutterSize: string; _rows: number = 0; _rowspan:...
{ "content_hash": "6bd278916b0e99d0ea17c850a1418284", "timestamp": "", "source": "github", "line_count": 245, "max_line_length": 99, "avg_line_length": 37.57551020408163, "alnum_prop": 0.6956332826417554, "repo_name": "tomlandau/material2-new", "id": "73df4eb16273fb7e7fb72b785e739c005b25376c", "size...
<?php /* Safe sample input : Get a serialize string in POST and unserialize it sanitize : use of ternary condition construction : use of sprintf via a %d with simple quote */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distr...
{ "content_hash": "4073e232865aaeacd451665a5b3c5716", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 75, "avg_line_length": 22.839285714285715, "alnum_prop": 0.7584050039093041, "repo_name": "stivalet/PHP-Vulnerability-test-suite", "id": "3949b9cdad721db9b9956b8ce7dc3b6fbb2b...
require_relative 'message_filter' require 'rspec/its' require 'rspec/collection_matchers' describe MessageFilter do shared_examples 'MessageFilter with argument "foo"' do it { is_expected.to be_detect('hello from foo') } it { is_expected.not_to be_detect('hello, world!') } its(:ng_words) { is_expected.no...
{ "content_hash": "d7b7531760db2d8e12b6e6a84494b7e2", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 56, "avg_line_length": 29.73076923076923, "alnum_prop": 0.6778783958602846, "repo_name": "pixta-yuki-ito/rspec", "id": "00b974f3b161f6de7037cab9ccade1cc1d6fabdc", "size": "...
<?php // Call Zend_Form_Element_TextareaTest::main() if this source file is executed directly. if (!defined("PHPUnit_MAIN_METHOD")) { define("PHPUnit_MAIN_METHOD", "Zend_Form_Element_TextareaTest::main"); } require_once 'Zend/Form/Element/Textarea.php'; /** * Test class for Zend_Form_Element_Textarea * * @ca...
{ "content_hash": "4163b3ff4fa9b4f341211c6ad72be425", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 102, "avg_line_length": 29.574468085106382, "alnum_prop": 0.6453237410071943, "repo_name": "grzana12/ZendFramework", "id": "d3a3c506e06775f6abbca1790906fc29f8316f58", "size...
'use strict'; require('app-templates'); var App = function($urlRouterProvider) { $urlRouterProvider.otherwise('/'); }; App.$inject = ['$urlRouterProvider']; var trafficPortal = angular.module('trafficPortal', [ 'config', 'ngAnimate', 'ngResource', 'ngSanitize', 'ngRoute'...
{ "content_hash": "68e58463498a86419676f3558d7d686a", "timestamp": "", "source": "github", "line_count": 401, "max_line_length": 141, "avg_line_length": 50.556109725685786, "alnum_prop": 0.6289153060721157, "repo_name": "alficles/incubator-trafficcontrol", "id": "90399bb3335b19fa4fecbe71c27d614d83dd37...
'use strict'; promise_test(async testCase => { const file = await storageFoundation.open('test_file'); await file.close(); const fileNamesBeforeRename = await storageFoundation.getAll(); assert_in_array('test_file', fileNamesBeforeRename); await storageFoundation.rename('test_file', 'renamed_test_file'); ...
{ "content_hash": "d35f0f28ff552e09a15540d535ee5ebc", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 67, "avg_line_length": 38.4, "alnum_prop": 0.7395833333333334, "repo_name": "nwjs/chromium.src", "id": "47c9ffc6b919417dfbc47499b8029d13788cd8bf", "size": "867", "binary"...
<?php header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past $page=$_GET["p"]; switch ($page) { case ("directions"); $title="Directions"; $h1=$title; $righttext= "<p>Please enter your address and click the \"Get Directions\" button.<...
{ "content_hash": "6002be558071ac5be3f4b00bed534afd", "timestamp": "", "source": "github", "line_count": 336, "max_line_length": 987, "avg_line_length": 98.66964285714286, "alnum_prop": 0.7602630229541821, "repo_name": "EJLearner/church-site", "id": "5078c34e667f3efe570445d26bbe97063812ded9", "size"...
namespace url { const char kAboutBlankURL[] = "about:blank"; const char kAboutBlankPath[] = "blank"; const char kAboutBlankWithHashPath[] = "blank/"; const char kAboutScheme[] = "about"; const char kBlobScheme[] = "blob"; const char kContentScheme[] = "content"; const char kContentIDScheme[] = "cid"; const char kDat...
{ "content_hash": "7609959978093b7bb0b896eed0307cc0", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 48, "avg_line_length": 29.678571428571427, "alnum_prop": 0.703971119133574, "repo_name": "youtube/cobalt", "id": "110c6a7b22d0e244b4cfd77bdb8d537ee7d21c9b", "size": "1029",...
<html> <h1>Title: Rock-Paper-Scissors Arcade</h1> <h2>Author: Jae-Hwan (Jeff) Jung</h2> <p>University of British Columbia<br> Computer Engineering - Software Option, 4th Year</h3> <h2>Description</h2> <p>A simple rock paper scissors game for <b>Android</b>. Rock, paper, scissors will keep falling down from the top of t...
{ "content_hash": "2aaf48975e831ef2469797ae2066d4fd", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 262, "avg_line_length": 42.305882352941175, "alnum_prop": 0.7174638487208009, "repo_name": "jaehwan-jung/RPS-Arcade", "id": "0df0663f716d41833badd2b3bd23f3258295dd3c", "siz...
// Accord Statistics Library // The Accord.NET Framework // http://accord-framework.net // // Copyright © César Souza, 2009-2014 // cesarsouza at gmail.com // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published ...
{ "content_hash": "4951e29e52aeed694a03a4f04072e563", "timestamp": "", "source": "github", "line_count": 539, "max_line_length": 111, "avg_line_length": 35.465677179962896, "alnum_prop": 0.5287717095626701, "repo_name": "Libaier/HMMBasedGestureRecognition", "id": "4debabcd103cd62a5ce9691fd77bd469e3487...
<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:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" ...
{ "content_hash": "64dea3ee9cc1079a237b07f8d2f6ab32", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 96, "avg_line_length": 54.22222222222222, "alnum_prop": 0.7766393442622951, "repo_name": "MRixen/rbc_Diagnose", "id": "b9b38b1a599ab6f489fe9d9e25358772e902e0d2", "size": "48...
@extends('layouts.app') @section('content') <div class="row"> <div class="col-lg-12"> <section class="panel"> <header class="panel-heading"> States </header> <div class="panel-body"> <div class="row"> ...
{ "content_hash": "22d7958a185ef3c9afe936fd59ef23ca", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 117, "avg_line_length": 28.863636363636363, "alnum_prop": 0.3858267716535433, "repo_name": "Ashrafdev/laravel-5-thestore", "id": "fa29a179cec18dd0936b21704ec9a4b8f0d0559a", ...
package org.apache.geode.management.internal.cli.functions; import java.util.ArrayList; import java.util.List; import org.apache.geode.cache.Cache; import org.apache.geode.cache.execute.FunctionContext; import org.apache.geode.cache.query.internal.cq.CqService; import org.apache.geode.distributed.DistributedMember;...
{ "content_hash": "70799fb1663e5eab82e989025195000f", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 98, "avg_line_length": 38.177083333333336, "alnum_prop": 0.7353342428376535, "repo_name": "davinash/geode", "id": "51b4067134259e0631a01e74412cb9450e910560", "size": "4454"...
/* * 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 law or agreed to in writing, software * distribut...
{ "content_hash": "10d740fcb2548dcd0d3e1b2b46a6c169", "timestamp": "", "source": "github", "line_count": 168, "max_line_length": 179, "avg_line_length": 41.82738095238095, "alnum_prop": 0.6849295574213747, "repo_name": "raghavsethi/presto", "id": "49b8107f437eb05231fcd7af856f246580a0e962", "size": "...
package com.olacabs.fabric.compute.pipeline; import com.olacabs.fabric.model.event.EventSet; import lombok.Builder; import lombok.Getter; /** * TODO javadoc. */ public class PipelineMessage { @Getter private final Type messageType; @Getter private final EventSet messages; @Getter private f...
{ "content_hash": "cb1e7fa5a215f8adf4641a1b5dea923f", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 71, "avg_line_length": 20.933333333333334, "alnum_prop": 0.6571125265392781, "repo_name": "olacabs/fabric", "id": "d74c697d4c8ddbf3825f99b0e375f7716f724639", "size": "1551"...
use test_float_parse::validate; fn main() { // Skip e = 0 because small-u32 already does those. for e in 1..301 { for i in 0..10000 { // If it ends in zeros, the parser will strip those (and adjust the exponent), // which almost always (except for exponents near +/- 300) result ...
{ "content_hash": "945e6d55a8e9dd455e62fdd7494eb6d0", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 90, "avg_line_length": 34.88235294117647, "alnum_prop": 0.5160202360876898, "repo_name": "graydon/rust", "id": "49084eb35e8346d0cac600e0fae2e6c3bb4bc6e5", "size": "593", ...
/** * Created by imodules on 5/13/15. */ 'use strict'; describe('server.updateBuildDisplay', function () { var serverId, buildId; beforeAll(function () { spyOn(Meteor, 'user').and.callFake(function () { return { isAdmin: true }; }); spyOn(Meteor, 'userId').and.callFake(function () { return 'userId123'...
{ "content_hash": "4d0873d482d15ba022ffdabcd194cfac", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 119, "avg_line_length": 35.91935483870968, "alnum_prop": 0.7242927705433319, "repo_name": "pstuart2/build-monitor", "id": "758e2d055cd0004e6b78bfc75cedf260e8a62da1", "size"...
ACCEPTED #### According to Integrated Taxonomic Information System #### Published in null #### Original name null ### Remarks null
{ "content_hash": "08f4dc51609d3d1676d3771ef892f920", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.7238805970149254, "repo_name": "mdoering/backbone", "id": "8aa5f3c5740a17e207ddf8ab935fa251f43d0feb", "size": "18...
package fmt_test import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "testing" ) func TestTime(t *testing.T) { RegisterFailHandler(Fail) RunSpecs(t, "UI Format Suite") }
{ "content_hash": "6e22b7ef80127f0156e8b05a9735caf3", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 31, "avg_line_length": 15.666666666666666, "alnum_prop": 0.6968085106382979, "repo_name": "cloudfoundry/bosh-init", "id": "1dbd5a0ef32750b9de8a9fb016aa2175433c27c9", "size"...
package io.katharsis.jpa.internal.query.backend.querydsl; import java.util.Arrays; import java.util.List; import javax.persistence.TupleElement; import com.querydsl.core.types.Expression; import io.katharsis.jpa.query.criteria.JpaCriteriaTuple; import io.katharsis.jpa.query.querydsl.QuerydslTuple; public class Obj...
{ "content_hash": "b279de76580c5b231f6ea22b786b2504", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 78, "avg_line_length": 20.404761904761905, "alnum_prop": 0.7287047841306884, "repo_name": "apetrucci/katharsis-framework", "id": "1c64919c95f593e28330c785d095c73945660d06", ...