text
stringlengths
2
1.04M
meta
dict
import TestBase from '../testbase'; TestBase.init(); import Asset from '../model/asset'; import { AssetService, EventType as AssetServiceEventType } from './asset-service'; import TestDispose from '../../node_modules/gs-tools/src/testing/test-dispose'; import { KEY_INDEX } from './asset-service'; describe('asset.Asse...
{ "content_hash": "9209b2cb836a43984363cd6879b33193", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 97, "avg_line_length": 29.63005780346821, "alnum_prop": 0.6094420600858369, "repo_name": "garysoed/protocard", "id": "1c57f3fef2e8bce08ff0c879194747ed887cee50", "size": "5...
ActiveRecord::Schema.define :version => 0 do create_table "command_statuses", :force => true do |t| t.string "key", :limit => 100 t.string "status", :limit => 50 t.integer "total_count" t.integer "success_count" t.string "message" t.datetime "created_at" t.date...
{ "content_hash": "e7c64a1ca9688bfaaa38de6d0bafc5ee", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 56, "avg_line_length": 28.11764705882353, "alnum_prop": 0.5878661087866108, "repo_name": "ggordon/command_status_apparatus", "id": "940d45e314448198f6ad3b0227e40bb508339fd0",...
package com.facebook.buck.jvm.java.abi; import com.facebook.buck.javacd.model.AbiGenerationMode; import java.io.IOException; import java.nio.file.Path; import java.util.List; import java.util.Map; import javax.annotation.Nullable; public abstract class StubJarEntry { @Nullable static StubJarEntry of( Libr...
{ "content_hash": "6ef811b0cd3911d532d66c3789f9592b", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 99, "avg_line_length": 26.756756756756758, "alnum_prop": 0.7383838383838384, "repo_name": "JoelMarcey/buck", "id": "02bd1ba328f7954e8c42d119ecf135d29025a1c6", "size": "1606...
<?php /** * ddOnlineStoreProduct actions. * * @package ddOnlineStorePlugin * @subpackage ddOnlineStoreProduct * @author Diego Damico <songecko@gmail.com> */ class ddOnlineStoreProductActions extends sfActions { public function executeIndex(sfWebRequest $request) { // sorting if($request->getParamet...
{ "content_hash": "50cb5d836c5eff8c43ca9380f7e00d1e", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 107, "avg_line_length": 22.651315789473685, "alnum_prop": 0.6479814115596864, "repo_name": "Symfony-Plugins/ddOnlineStorePlugin", "id": "521229497345bb0625a797c40405b76c0780...
A customizable rule-based application that accepts standardized, but flexible, JSON statements. Based on those statements, the Event Alerts system sends out notices on an instant or summarized basis. @todo ## Installation Lifecycle Activity Alerts can be installed with [Composer](http://getcomposer.org) by adding it...
{ "content_hash": "23c5557d0e11e1913c942fe57f46a771", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 199, "avg_line_length": 28.82608695652174, "alnum_prop": 0.7571644042232277, "repo_name": "jasonevans1/lifecycle-activity-alerts", "id": "f0495061ccbd15649902932a64ebff12a8ed...
layout: page title: "Kyle Mcelroy" comments: true description: "blanks" keywords: "Kyle Mcelroy,CU,Boulder" --- <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highcharts.js?dl=0"></script> <!-- <script src...
{ "content_hash": "e5d481834bc2f0825b2600ce5303746d", "timestamp": "", "source": "github", "line_count": 202, "max_line_length": 139, "avg_line_length": 22.044554455445546, "alnum_prop": 0.6795418818773861, "repo_name": "nikhilrajaram/nikhilrajaram.github.io", "id": "2d86e67b9cad198b7a12b3c305c090b1ff...
<!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_80) on Wed Oct 12 20:49:58 CEST 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class org.a...
{ "content_hash": "be9c0999c512c94336fc0fddecc2eb1e", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 153, "avg_line_length": 39.15384615384615, "alnum_prop": 0.6086007421960271, "repo_name": "wangchuande/apache-flume-1.7.0", "id": "b9cb7cf4e7a62ce0a4cd75a79a484d16a4fabe72",...
<?xml version='1.0' encoding='utf-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns='http://www.w3.org/1999/xhtml' lang='en' xml:lang='en'> <head> <meta http-equiv='Content-type' content='application/xhtml+xml; charset=utf-8' /> <t...
{ "content_hash": "f723c860f870fd3e8db560935755987b", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 121, "avg_line_length": 30.155844155844157, "alnum_prop": 0.6770025839793282, "repo_name": "sensusaps/RoboBraille.Web.API", "id": "bb37a7a03de10aae232842615988070e845e8c24", ...
 using System; namespace Thinktecture.IdentityServer.MongoDb { /// <summary> /// This attribute is used to represent a string value /// for a value in an enum. /// </summary> [AttributeUsage(AttributeTargets.Field, Inherited = false, AllowMultiple = false)] public class StringValueAttribute :...
{ "content_hash": "a9e6c8ce37b0b316cbf0a108e57e6fa3", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 86, "avg_line_length": 25.15, "alnum_prop": 0.5646123260437376, "repo_name": "jornfilho/IdentityServer3.MongoDb", "id": "a86abd871f89fb738fb0e3d276c56d7610f49962", "size": ...
// // AsyncVoidMethodBuilder.cs // // Authors: // Marek Safar <marek.safar@gmail.com> // // Copyright (C) 2011 Novell, Inc (http://www.novell.com) // Copyright (C) 2011 Xamarin, Inc (http://www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and ass...
{ "content_hash": "3de567eab78630d821b9bcb18037cd5b", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 122, "avg_line_length": 34.37837837837838, "alnum_prop": 0.6540880503144654, "repo_name": "couchbasedeps/dotnet-tpl35", "id": "7f7b7e493d44175f15fd5b650ad8fa8e585c516c", "...
import { Task } from "../../src/models"; /** * Mock implementation of the performSentimentAnalysis method, with a default * mock implementation that returns a success result. */ export const mockPerformSentimentAnalysis = jest .fn() .mockImplementation((input: string) => { return Promise.resolve({ t...
{ "content_hash": "c74fc7f3b8d1f50131a53503939fb065", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 78, "avg_line_length": 26.033898305084747, "alnum_prop": 0.6790364583333334, "repo_name": "FirebaseExtended/firestore-nlp-extension", "id": "c3904e514e310dae91be580bc373704f0...
/* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com> * See LICENSE file for license details. */ #include "2wm.h" #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <unistd.h> /* extern */ void * emallocz(unsigned int size) { void *res = calloc(1, size); if(!...
{ "content_hash": "8297dc42304b5936d85ed76322245ddd", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 72, "avg_line_length": 19.64814814814815, "alnum_prop": 0.6211121583411876, "repo_name": "DrItanium/2wmr", "id": "b1eab58bef395d8f772f43c447c66a9642d963a7", "size": "1061",...
module uiRenderer { type Id = string; type RowTokeyFn = (row:{[key:string]: any}) => string; interface Element extends microReact.Element { __elemId:string } interface UiWarning { element: string row: any[] warning: string } api.ixer.addIndex("ui parent to elements", "uiElement", Indexi...
{ "content_hash": "7ad7d891675d9c5223b1ce87aad3c7a9", "timestamp": "", "source": "github", "line_count": 206, "max_line_length": 138, "avg_line_length": 35.49514563106796, "alnum_prop": 0.562363238512035, "repo_name": "pel-daniel/Eve", "id": "f64bdce4eff39c50ac95fab2b8790b6b90d31ad3", "size": "7425"...
package net.ichigotake.android.yancha.app.chat; import android.util.Log; import org.json.JSONObject; import io.socket.IOAcknowledge; import io.socket.IOCallback; import io.socket.SocketIOException; public class SocketIoCallback implements IOCallback { private final String LOG_TAG = "SocketIoCallback"; priv...
{ "content_hash": "26f0a633b5d122427fe45e6b4e393063", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 79, "avg_line_length": 26.35185185185185, "alnum_prop": 0.6661981728742095, "repo_name": "ichigotake/Android-Yancha", "id": "5d2c5c7e63e2bd66b687985d727971ab1178023d", "siz...
https://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?cid=7292
{ "content_hash": "ec7d3819bd7982815b5f85c551727156", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 61, "avg_line_length": 62, "alnum_prop": 0.7903225806451613, "repo_name": "andrewdefries/ToxCast", "id": "6ee593cf252a15eefd3ea9b53adf21feabc3d4a4", "size": "62", "binary"...
package org.apache.geode.cache.client; import org.apache.geode.cache.*; /** * Each enum represents a predefined {@link RegionAttributes} in a {@link ClientCache}. These enum * values can be used to create regions using a {@link ClientRegionFactory} obtained by calling * {@link ClientCache#createClientRegionFacto...
{ "content_hash": "7be4a39d390db9ae4ae359e6b1893fc8", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 100, "avg_line_length": 51.337078651685395, "alnum_prop": 0.7353906762967827, "repo_name": "pivotal-amurmann/geode", "id": "ec37b5109ce45c65ee28a3582bd03db2620e9f44", "size...
Rule Types and Configuration Options ************************************ Examples of several types of rule configuration can be found in the example_rules folder. .. _commonconfig: Rule Configuration Cheat Sheet ============================== <<<<<<< HEAD +---------------------------------------------------------...
{ "content_hash": "96b68864584ca859536d433ba2226c31", "timestamp": "", "source": "github", "line_count": 816, "max_line_length": 192, "avg_line_length": 60.10049019607843, "alnum_prop": 0.6051139839321398, "repo_name": "thomdixon/elastalert", "id": "16b9b8248c482c76361f2852de66a9de94e88a5e", "size":...
using namespace llvm; raw_ostream::~raw_ostream() { // raw_ostream's subclasses should take care to flush the buffer // in their destructors. assert(OutBufCur == OutBufStart && "raw_ostream destructor called with non-empty buffer!"); if (BufferMode == InternalBuffer) delete [] OutBufStart; // ...
{ "content_hash": "e9c4b5b0c64e2b421f27b647c28b00d8", "timestamp": "", "source": "github", "line_count": 579, "max_line_length": 80, "avg_line_length": 29.22279792746114, "alnum_prop": 0.5900118203309692, "repo_name": "wrmsr/lljvm", "id": "071c924d91952f1a50d74025dc187d5cc58f82ec", "size": "18117", ...
function getPipelines() { var queryUrl = location.protocol + '//' + document.domain + ":8080/gamecraftpipelinemanager/api/pipelines?size=65536"; var pipelinesList = ""; $.ajax ({ type: "GET", url: queryUrl, async: false, contentType: "application/json", beforeSend...
{ "content_hash": "dd3d438d2cd900332dccbded97f23f26", "timestamp": "", "source": "github", "line_count": 258, "max_line_length": 335, "avg_line_length": 38.333333333333336, "alnum_prop": 0.6327603640040445, "repo_name": "iMartinezMateu/gamecraft", "id": "d00c092950e3f7d24b70ab02df5256b2afcdde3e", "s...
/** * */ package org.openforis.collect.designer.viewmodel; import java.util.ArrayList; import java.util.List; import java.util.Stack; import org.openforis.collect.designer.form.ModelVersionFormObject; import org.openforis.collect.designer.form.SurveyObjectFormObject; import org.openforis.collect.designe...
{ "content_hash": "22f37c6ac63298da7ffbd2f6dbf9e475", "timestamp": "", "source": "github", "line_count": 202, "max_line_length": 90, "avg_line_length": 32.118811881188115, "alnum_prop": 0.7453760789149199, "repo_name": "openforis/collect", "id": "17923b080f456f5b39daaf849d3669a8b1b6bc3b", "size": "6...
<?php /** * Created by PhpStorm. * User: maksim.d * Date: 12/4/15 * Time: 03:11 */ namespace frontend\models\game\characters\base\interfaces; use frontend\models\game\base\BeeTypesInterface; use frontend\models\game\base\GetHoneyPoolInterface; use frontend\models\game\base\GetPlayerInterface; interface BeeInte...
{ "content_hash": "90a8eea3be7b0dc6f4ad1cd0299a9259", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 111, "avg_line_length": 23.95, "alnum_prop": 0.7766179540709812, "repo_name": "macseem/bee-game", "id": "dc0ece206b39aba351df4846860a3ceb4a1ae88d", "size": "479", "binary...
<?php // @codingStandardsIgnoreFile namespace Magento\Cookie\Test\Unit\Model\Config\Backend; use Magento\Framework\Session\Config\Validator\CookiePathValidator; use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; class PathTest extends \PHPUnit_Framework_TestCase { /** @var \PHPUnit_Framework_MockOb...
{ "content_hash": "fc44d27dc2157bb25ce1036b5ef235f6", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 118, "avg_line_length": 32.946236559139784, "alnum_prop": 0.6380548302872062, "repo_name": "j-froehlich/magento2_wk", "id": "3fe1c4235dde0722bbfb3cff17c31fc955b2cf66", "siz...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <Spinner android:id="@+id/month_spinner" android:layout_width="match_...
{ "content_hash": "859e8517e95c1db92ebb4adc860e2405", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 74, "avg_line_length": 33.7816091954023, "alnum_prop": 0.6165362368152433, "repo_name": "nbeckman/nolacoaster", "id": "88e53c5b8c1b70e85768cf2447a6aae63e4ea53d", "size": "2...
namespace Google.Cloud.PubSub.V1.Snippets { // [START pubsub_v1_generated_SubscriberServiceApi_ModifyPushConfig_async_flattened_resourceNames] using Google.Cloud.PubSub.V1; using System.Threading.Tasks; public sealed partial class GeneratedSubscriberServiceApiClientSnippets { /// <summary>S...
{ "content_hash": "b3aba67989afc66e146f4b69ce3c4bf3", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 116, "avg_line_length": 48, "alnum_prop": 0.7067307692307693, "repo_name": "jskeet/gcloud-dotnet", "id": "1529bf863e9c2e1801f56e31c083ef3d3e260cb8", "size": "1870", "bina...
/** @fileoverview * This tool executes an SQL select to PostgreSQL * database and returns resulted field list in JSON. */ var fs = require('fs'); var pg = require('pg.js'); var Promise = require('es6-promise').Promise; /** @constructor * Deferred encapsulates a promise that gets fulfilled by outside code. */ var...
{ "content_hash": "69c858d49e572da0dd17cd8e5957a31c", "timestamp": "", "source": "github", "line_count": 165, "max_line_length": 86, "avg_line_length": 25.181818181818183, "alnum_prop": 0.6315282791817087, "repo_name": "elf-oskari/NOSE", "id": "9c2ae9ef184ed51deee413256898162d57ab8679", "size": "415...
'use strict'; var isA = require("Espresso/oop").isA; var oop = require("Espresso/oop").oop; var init = require("Espresso/oop").init; var trim = require("Espresso/trim").trim; var isA = require("Espresso/oop").isA; var oop = require("Espresso/oop").oop; var EncoderFactoryInterface = function(){ oop(this,"Espresso/Se...
{ "content_hash": "9676ffb4299362a4bcbaffdf7c66cc2d", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 81, "avg_line_length": 25, "alnum_prop": 0.7393103448275862, "repo_name": "quimsy/espresso", "id": "7e7a0838ab2114f82d71af50ea0bdaa5ea7b5ff4", "size": "725", "binary": fa...
<!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/html; charset=utf-8" /> <meta name="GENERATOR" content="VSdocman - documentation generator; htt...
{ "content_hash": "29e6c9f81fbae8172db57278fdc542c0", "timestamp": "", "source": "github", "line_count": 391, "max_line_length": 469, "avg_line_length": 30.081841432225065, "alnum_prop": 0.632205407243666, "repo_name": "asiboro/asiboro.github.io", "id": "5d4c9e392a8d18224d89f8e84ba4285d396445f2", "s...
'use strict'; describe('Controller: SettingsCtrl', function () { // load the controller's module beforeEach(module('sayonaraAdminApp')); var SettingsCtrl, scope; // Initialize the controller and a mock scope beforeEach(inject(function ($controller, $rootScope) { scope = $rootScope.$new(); Sett...
{ "content_hash": "b06aa979e0e33c875cafec1a92d1433c", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 72, "avg_line_length": 25, "alnum_prop": 0.6678260869565218, "repo_name": "SayonaraJS/SayonaraJS", "id": "02d03974912a4565849033f1cd9c069b0136f76a", "size": "575", "binar...
package com.jimmt.HologramClock; import java.util.Arrays; import java.util.Calendar; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.InputMultiplexer; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.BitmapFont; ...
{ "content_hash": "3d567398c6d86a18e9536c90241e4d2f", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 82, "avg_line_length": 27.78494623655914, "alnum_prop": 0.6965944272445821, "repo_name": "Jimmt/HologramClock", "id": "6152c3bb02280f5f36ec246ee9f591743d79060c", "size": "...
<!DOCTYPE html> <html> <head> <title>the blog</title> <meta charset="UTF-8"> <!--<link rel="stylesheet" type="text/css" href="../stylesheets/default.css">--> <link rel="stylesheet" type="text/css" href="../stylesheets/blog-stylesheet.css"> </head> <main> <div id="body"> <h1><a href="blog-template.html">the...
{ "content_hash": "57c7c2ccfefebd541b94dd73fb27e595", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 560, "avg_line_length": 56.67272727272727, "alnum_prop": 0.6746871992300288, "repo_name": "boguth/boguth.github.io", "id": "9277f0264b56f91a79a60865c71a049aa244af02", "size...
package net.sourceforge.plantuml.skin; import java.awt.geom.Dimension2D; import net.sourceforge.plantuml.Dimension2DDouble; public class Area { private final Dimension2D dimensionToUse; private double deltaX1; @Override public String toString() { return dimensionToUse.toString() + " (" + deltaX1 + ")"; } ...
{ "content_hash": "ef78a06e94df2272628973bec033cf6b", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 58, "avg_line_length": 18.473684210526315, "alnum_prop": 0.7393162393162394, "repo_name": "Banno/sbt-plantuml-plugin", "id": "d1addfe710cbd15898c8cb05fa1875abf4246e20", "si...
@charset "UTF-8"; /******************************************* *** SO Framework: Sass *** *******************************************/ /* [2] */ /* [8] */ /*=============================================== [SASS DIRECTORY ] [1] Minxin Link [2] Minxin Button [3] Minxin Triangle [4] Minxin LABEL P...
{ "content_hash": "bb865694afbf6b162b2ce2c26980a79e", "timestamp": "", "source": "github", "line_count": 7442, "max_line_length": 856, "avg_line_length": 32.175893576995435, "alnum_prop": 0.6397957010352763, "repo_name": "yannicksade/SAV8817", "id": "7c7449467fc8da06907560b3214106bcdcb2e734", "size"...
using namespace std; class State{ private: struct Transition{ unsigned int probability; unsigned long posterior_state, cost; }; struct Action{ vector<Transition> trans; }; vector<Action> m_actions; unsigned long m_value; int m_action_index; const static unsigned long m_value_max = 70368744177664;//2^46 ...
{ "content_hash": "672d1b4d2dff92e1ae420cd62b01e1bf", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 92, "avg_line_length": 26.517241379310345, "alnum_prop": 0.7503250975292588, "repo_name": "ryuichiueda/DP_TOOL2", "id": "a92be9728447b89a526e556695e62062c68cdadb", "size": ...
<?php /** * ALIPAY API: alipay.pass.tpl.content.update request * * @author auto create * @since 1.0, 2015-01-30 16:22:25 */ class AlipayPassTplContentUpdateRequest { /** * 代理商代替商户发放卡券后,再代替商户更新卡券时,此值为商户的pid/appid **/ private $channelId; /** * 支付宝pass唯一标识 **/ private $serialNumber; /** * 券状态,支持...
{ "content_hash": "81739f9f9e317ef5aa63275fbb071e15", "timestamp": "", "source": "github", "line_count": 174, "max_line_length": 95, "avg_line_length": 16.57471264367816, "alnum_prop": 0.6858529819694869, "repo_name": "PhotoArtLife/Personal-Blog", "id": "6c0464b4b6c2dc9f546927b764d446e4d5124322", "s...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <div class="container"> <div class="panel panel-default panel-control"> <?php $received=date("d-m-Y H:i:s", strtotime($record[0]["received"])); $processed=date("d-m-Y H:i:s", strtotime($record[0]["processed"])); ...
{ "content_hash": "ce20a378d82cf0a23afa07fc5a8c0a06", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 278, "avg_line_length": 56.64957264957265, "alnum_prop": 0.48823174411587206, "repo_name": "DanielNeodata/Credipaz.XEndpoints", "id": "d1569d70b7ac102999607004379a70d83ced82...
<!DOCTYPE html> <title>Table as a flex item in row-oriented flex container</title> <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#resolve-flexible-lengths"> <link rel...
{ "content_hash": "1ae9d354bb5d943b2d30380a11c0b079", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 112, "avg_line_length": 63, "alnum_prop": 0.7233560090702947, "repo_name": "ric2b/Vivaldi-browser", "id": "073e7f7274ab7b3b52252d1d1b7301816c7dbf5e", "size": "882", "bina...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "822c45a9d3326963aac1e826b2995d62", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "ac95ff625318b49e01f2039bee1e0e9fb9f5e131", "size": "174...
package com.lightcrafts.image.types; import java.io.IOException; import java.awt.image.RenderedImage; import java.awt.image.renderable.ParameterBlock; import javax.media.jai.JAI; import javax.media.jai.operator.TransposeType; import com.lightcrafts.image.BadImageFileException; import com.lightcrafts.image.ImageInf...
{ "content_hash": "f0c1b49b548e7784c3ad2de3590e1e91", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 79, "avg_line_length": 28.593406593406595, "alnum_prop": 0.6241352805534205, "repo_name": "ktgw0316/LightZone", "id": "b45460d322cf5b7a1aa2e0d0ed6d2ad59a0d0063", "size": "2...
{% extends "marco.html" %} {% block content %} {% load crispy_forms_tags %} {% crispy form %} {% endblock content %}
{ "content_hash": "0b4d3d3c3bac3628be1456cbf0758c7b", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 28, "avg_line_length": 23.8, "alnum_prop": 0.6050420168067226, "repo_name": "nqnmovil/nqnm_e16", "id": "97811adfd4c6d31383b40d3c0e6250caca1e4aba", "size": "119", "binary":...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "f8165c7d5b6d4efb983471d3ec549e8b", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "420b66a74e7deffc681efe1295957fa9ea0029d1", "size": "19...
import uuid import os class TempImage: def __init__(self, basePath="./", ext=".jpg"): # construct the file path self.path = "{base_path}/{rand}{ext}".format(base_path=basePath, rand=str(uuid.uuid4()), ext=ext) def cleanup(self): # remove the file os.remove(self.path)
{ "content_hash": "9d59def74f8f237e140e9f564671a643", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 66, "avg_line_length": 23.75, "alnum_prop": 0.656140350877193, "repo_name": "hncshtq/CSC450-Software-Engineering-Project-", "id": "ea35b5851b213fd5056bee8b5f909b91e2a5ff02", ...
set -ev cd keyvi scons -j 4 mode=$CONF $CONF/dictionaryfsa_unittests/dictionaryfsa_unittests cd ../pykeyvi python setup.py build --mode $CONF python setup.py install --user py.test tests cd ..
{ "content_hash": "2841adaf3ee8abda94ded7ba94bef6c5", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 53, "avg_line_length": 19.4, "alnum_prop": 0.7577319587628866, "repo_name": "hendrikmuhs/keyvi", "id": "12f30909514b464bb8c42926856641f55e0c490c", "size": "214", "binary"...
package io.futurestud.tutorials.customfont; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.lay...
{ "content_hash": "0f22016ffeb9d752ccd9322f0c5370d6", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 56, "avg_line_length": 23.266666666666666, "alnum_prop": 0.7593123209169055, "repo_name": "fs-opensource/android-tutorials-customfont", "id": "738ef14adad98b125b23e3f51ce4c80...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StreamWriterMagnets { using System.IO; class Flobbo { private string zap; public Flobbo(string zap) { this.zap = zap; ...
{ "content_hash": "206bd53ba1437ebc2cc741ee771d8cf4", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 43, "avg_line_length": 16.34375, "alnum_prop": 0.4187380497131931, "repo_name": "head-first-csharp/third-edition", "id": "b629949f6b98720e51230dcd62970c9eb1762ca4", "size":...
package com.elven.danmaku.sample.stage01; import org.lwjgl.input.Keyboard; import com.elven.danmaku.core.configuration.DefaultGameEngineConfiguration; import com.elven.danmaku.core.configuration.GameConfiguration; import com.elven.danmaku.core.configuration.GameSetup; import com.elven.danmaku.core.gameinfo.Gam...
{ "content_hash": "cf22c2c619fd3aaa8df8f524aeb06fd8", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 116, "avg_line_length": 34.32, "alnum_prop": 0.728049728049728, "repo_name": "AlanSchaeffer/Danmaku", "id": "c5308963b36e866aa4ab7e03c174d48e3e5d02dd", "size": "2574", "b...
<?php namespace Oro\Bundle\EntityConfigBundle\Form\Handler; use Oro\Bundle\EntityConfigBundle\Config\ConfigHelper; use Oro\Bundle\EntityConfigBundle\Entity\ConfigModel; use Oro\Bundle\EntityConfigBundle\Entity\FieldConfigModel; use Oro\Bundle\EntityConfigBundle\Form\Type\ConfigType; use Oro\Bundle\EntityExtendBundle\...
{ "content_hash": "ec30b98bf1560057c8c792f5827d4572", "timestamp": "", "source": "github", "line_count": 180, "max_line_length": 118, "avg_line_length": 30.238888888888887, "alnum_prop": 0.6395370200257211, "repo_name": "orocrm/platform", "id": "7807939ac7c0a819478bfc0236d06b3972c42def", "size": "54...
<!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": "1937e05c8c849660d2cadb06fe0162e6", "timestamp": "", "source": "github", "line_count": 202, "max_line_length": 156, "avg_line_length": 47.25247524752475, "alnum_prop": 0.6724986904138293, "repo_name": "v8-dox/v8-dox.github.io", "id": "cd4c4c6cca7f07724592a6d74f548865b7b86b3b", "siz...
// ExecApp.cpp Version 1.0 - see article at CodeProject.com // // Author: Hans Dietrich // hdietrich@gmail.com // // Description: // ExecApp implements functions to execute an application, look up the // application registered for a file extension, and execute a registered // application. // // H...
{ "content_hash": "1822cf480281bf60f0df94c1a7d8dbc0", "timestamp": "", "source": "github", "line_count": 327, "max_line_length": 86, "avg_line_length": 31.6697247706422, "alnum_prop": 0.5599652375434531, "repo_name": "ximenpo/simple-cpp-win32", "id": "cd2c57f9385c1bbe97f8b269f5d705b2b1cc4aef", "size...
from __future__ import print_function from twython import Twython, TwythonError from twython import TwythonStreamer import os import re CONSUMER_KEY = os.environ['CONSUMER_KEY'] CONSUMER_SECRET = os.environ['CONSUMER_SECRET'] ACCESS_TOKEN = os.environ['ACCESS_TOKEN'] ACCESS_TOKEN_SECRET = os.environ['ACCESS_TOKEN_SECR...
{ "content_hash": "cf05e2fda4933c2ae6eb7cb6ea562e5c", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 86, "avg_line_length": 32.975, "alnum_prop": 0.6967399545109931, "repo_name": "sharkwheels/n_remixed", "id": "b5d28fb30f930cdfcb8f2b4b7a494e620f917616", "size": "1451", "...
require 'amqp' AMQP.start(host: 'clusters.imm.uran.ru') do |connection| channel = AMQP::Channel.new(connection) exchange = channel.fanout('infiniband') queue = channel.queue('', exclusive: true) queue.bind(exchange) Signal.trap('INT') do connection.close do EM.stop { exit } end end q...
{ "content_hash": "e837de3274ea7e43572e247dfbcc1a56", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 56, "avg_line_length": 19.42105263157895, "alnum_prop": 0.6612466124661247, "repo_name": "dustalov/uranwatch", "id": "ea2a3ea6e7d4f2e25f099404f067b1deb72578b0", "size": "40...
import { inject as service } from '@ember/service'; import { oneWay } from '@ember/object/computed'; import Component from '@ember/component'; import { isEmpty } from '@ember/utils'; import { setProperties, set, get, computed } from '@ember/object'; import layout from '../templates/components/verification-modal...
{ "content_hash": "5a43ad36bcaddacd8660ea30279335b0", "timestamp": "", "source": "github", "line_count": 235, "max_line_length": 84, "avg_line_length": 27.7531914893617, "alnum_prop": 0.6338546458141674, "repo_name": "b-lab-org/ember-cli-impact-core", "id": "8854d525f8327768a8868aee3caec7b94fca19c4", ...
export class AttributeMetadataMock implements Xrm.Metadata.AttributeMetadata { public DefaultFormValue: number; public LogicalName: string; public DisplayName: string; public AttributeType: XrmEnum.AttributeTypeCode; public EntityLogicalName: string; public OptionSet: Xrm.Metadata.OptionMetadata[]; const...
{ "content_hash": "1dfa1048ca701ecd9325b3a9b70679ee", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 78, "avg_line_length": 35.73076923076923, "alnum_prop": 0.7922497308934338, "repo_name": "camelCaseDave/xrm-mock", "id": "a39e704d5f66367463ee11b4d16b31c37792ae8d", "size":...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.gmail.cs475x</groupId> <artifactId>AnyBar4j</artifactId> <versi...
{ "content_hash": "fddf1b2a0e7af895b74e5f43d4bef659", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 204, "avg_line_length": 28.428571428571427, "alnum_prop": 0.6733668341708543, "repo_name": "cs475x/AnyBar4j", "id": "dc79dcc390c297717fcd03c626b6830b8161f1a5", "size": "258...
package com.jaivox.ui.gengram; import java.util.Set; import java.util.TreeMap; public class generate { static parse P; static wnlink W; static String tests []; public generate (String filename) { P = new parse (filename); if (P.Valid) P.createsentences (); W = new wnlink (); W.createsyns (); W.addta...
{ "content_hash": "16da5e388154c8c6930642206d3314ac", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 55, "avg_line_length": 22.64, "alnum_prop": 0.6068904593639576, "repo_name": "jaivox/tools", "id": "d8472208a55e5aff4f1c9374eaa64e0a6f723e9a", "size": "1132", "binary": f...
<html ng-app="app"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Markov Poet</title> <!-- cdn css --> <link rel="stylesheet" href="http://code....
{ "content_hash": "3782e82736deda0117e9d75e11aa3f50", "timestamp": "", "source": "github", "line_count": 142, "max_line_length": 188, "avg_line_length": 54.36619718309859, "alnum_prop": 0.5060880829015544, "repo_name": "mrlecko/markovpoet", "id": "746ccf0c3ab7d7de8e68adf05f85527f18fa31d4", "size": "...
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!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/html; charset=UTF-8" /> <title>opera...
{ "content_hash": "e0e278b4d67d1f8a4e1fab86ff97ceb8", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 457, "avg_line_length": 41.08695652173913, "alnum_prop": 0.5453968253968254, "repo_name": "jtimberman/omnibus", "id": "df70fffd687a90ced07196c5abb4b70072fbc2a6", "size": "...
<?php namespace VideoGamesRecords\CoreBundle\Event; use Symfony\Contracts\EventDispatcher\Event; use VideoGamesRecords\CoreBundle\Entity\Platform; class PlatformEvent extends Event { protected Platform $platform; public function __construct(Platform $platform) { $this->platform = $platform; ...
{ "content_hash": "894f4bd8067c03fec5b06e29e8e1a8c2", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 51, "avg_line_length": 19.61904761904762, "alnum_prop": 0.7087378640776699, "repo_name": "video-games-records/CoreBundle", "id": "a67e19b1b5fbd896f2c7962f8f09b1940e72b9a2", ...
package uz.greenwhite.slidingmenu.support.v10; import android.app.Application; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import uz.greenwhite.slidingmenu.support.v10.util.RequestUtil; public abstract class SupportApplication extends Applicatio...
{ "content_hash": "fdfbe71382f6d6bc66c545117f321853", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 84, "avg_line_length": 28.78048780487805, "alnum_prop": 0.6788135593220339, "repo_name": "axmadjon/AndroidSlidingMenu", "id": "4cac6b68b360ffc463138f6c6d251e2d70e7b9f0", "s...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_22) on Fri Jun 29 20:39:36 GMT+01:00 2012 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Class org.apache.ht...
{ "content_hash": "e100bd920efb765ad356bfdf1053cdda", "timestamp": "", "source": "github", "line_count": 201, "max_line_length": 354, "avg_line_length": 47.70646766169154, "alnum_prop": 0.6321827093544686, "repo_name": "Access4Learning/JavaLibsA4L", "id": "8aade79d5fee7fef01fb5ac6f44b9e5e7daf90ea", ...
var requireDir = require('require-dir'), gulp = require('gulp'); requireDir('./gulp/tasks', { recurse: true }); gulp.task('default', [ 'dist' ], function () { }); process.on('uncaughtException', function (err) { console.log('A global exception occured:', err); console.log('Restart recommended'); })
{ "content_hash": "74e52cd3c23fc64f022900c5ffdec493", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 52, "avg_line_length": 26.166666666666668, "alnum_prop": 0.6464968152866242, "repo_name": "deniskaber/propertycross-angular-lazyload", "id": "c005c5c4d7804599851eeccfc4c72d01...
using namespace cocos2d; using namespace cocostudio; EnemyController::EnemyController(void) { _name = "EnemyController"; } EnemyController::~EnemyController(void) { } bool EnemyController::init() { return true; } void EnemyController::onEnter() { ComController::onEnter(); // Determine where to spawn ...
{ "content_hash": "799b073800183c8cc0810bda07da33a0", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 184, "avg_line_length": 27.843373493975903, "alnum_prop": 0.6737343141497187, "repo_name": "hylthink/Sample_Lua", "id": "f109da7e5ec42b609c960781b4f5bd10b26ae6cd", "size": ...
<?php /** * Unit test class for the SwitchDeclaration sniff. * * A sniff unit test checks a .inc file for expected violations of a single * coding standard. Expected errors and warnings are stored in this class. * * @category PHP * @package PHP_CodeSniffer * @author Greg Sherwood <gsherwood@squiz.net> ...
{ "content_hash": "9de25365af66b9311706f3d750409cc1", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 94, "avg_line_length": 25.951612903225808, "alnum_prop": 0.6016159105034182, "repo_name": "dryabkov/PHP_CodeSniffer", "id": "5b792713879c1794090f1672293193a2b0afd180", "siz...
<?php class Buscador_Bootstrap extends Zend_Application_Module_Bootstrap { }
{ "content_hash": "e3ae14caf56229dfea8954184602c62c", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 66, "avg_line_length": 15.6, "alnum_prop": 0.7948717948717948, "repo_name": "tomasVega/trobador", "id": "46d17aae6bc43d3b41946371d6aeee8aff72e26d", "size": "78", "binary":...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>unimath-ktheory: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap...
{ "content_hash": "7d73a2b1d7b652fd34eae730807202ab", "timestamp": "", "source": "github", "line_count": 170, "max_line_length": 159, "avg_line_length": 41.92941176470588, "alnum_prop": 0.5416666666666666, "repo_name": "coq-bench/coq-bench.github.io", "id": "33920a27a5671c92ba13187891cbd12d63ac1a86", ...
Ensembl.extend({ initialize: function () { this.base.apply(this, arguments); this.setUserFlag(); }, setUserFlag: function () { if (!this.hasOwnProperty('isLoggedInUser')) { this.isLoggedInUser = $('div._account_holder').hasClass('_logged_in'); } } });
{ "content_hash": "9e73085fec067d08dd158b769d5aa9ab", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 76, "avg_line_length": 19.066666666666666, "alnum_prop": 0.6118881118881119, "repo_name": "Ensembl/public-plugins", "id": "198e8026e57d8522774eb04f2f154d146ff78c1d", "size"...
package ch.spacebase.openclassic.api.block; import ch.spacebase.openclassic.api.block.model.CubeModel; import ch.spacebase.openclassic.api.block.model.CuboidModel; import ch.spacebase.openclassic.api.block.model.EmptyModel; import ch.spacebase.openclassic.api.block.model.Model; import ch.spacebase.openclassic.api.bloc...
{ "content_hash": "bb1f6a0a7340faf37b852ba81aa1e40c", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 266, "avg_line_length": 37.01234567901235, "alnum_prop": 0.6932955303535691, "repo_name": "good2000mo/OpenClassicAPI", "id": "30769236e8dd3ed19b64db66a9893c587f3721bd", "s...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/.idea/PORTFOLIO.iml" filepath="$PROJECT_DIR$/.idea/PORTFOLIO.iml" /> </modules> </component> </project>
{ "content_hash": "10183f403cf6b935303fb9b3537483e0", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 112, "avg_line_length": 33.75, "alnum_prop": 0.662962962962963, "repo_name": "klebek/Portfolio", "id": "a6ccaecac5ceef2dcb0450e19ef3c4125b6e0ef5", "size": "270", "binary":...
"use strict"; const Generator = require("yeoman-generator"); const chalk = require("chalk"); const yosay = require("yosay"); const path = require("path"); const ROOT_DIRECTORY = "project-root"; const APP_NAME = "appname"; const USER = "user"; const EMAIL = "email"; const PORT = "port"; class NExTGenerator extends Gen...
{ "content_hash": "712b11730d2e006cfda6e7ea53ed5c56", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 123, "avg_line_length": 28.992481203007518, "alnum_prop": 0.5217842323651453, "repo_name": "ommsolutions/generator-next", "id": "cd26a46b3cbbd5f570ebecd27541fb5624622dcc", ...
%This script closes the device and clears all Init_ variables stop(Init_NI); delete(Init_NI); daqreset; clear Init_NI; clear Init_sampleRate; clear Init_NID; clear Init_initialized;
{ "content_hash": "c46c1bfafedc5818d1c2dd92ece6dbc2", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 61, "avg_line_length": 23.5, "alnum_prop": 0.7553191489361702, "repo_name": "jceipek/Mind-Rush", "id": "eac4f401c93df664d27137fc9271e4f2bf777ff1", "size": "188", "binary":...
<!DOCTYPE html> <!--[if IE 9 ]><html class="ie ie9" lang="en" class="no-js"> <![endif]--> <!--[if !(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]--> <head> <title>Calendar | KingAdmin - Admin Dashboard</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maxim...
{ "content_hash": "bbcbe29ec961100404b93a68d2571d1e", "timestamp": "", "source": "github", "line_count": 677, "max_line_length": 166, "avg_line_length": 42.74889217134417, "alnum_prop": 0.5164299782315745, "repo_name": "project-store/theme", "id": "e1bf13fc1d809a545f8657b1c1ec8c36ace41899", "size": ...
from datetime import datetime import pprint # copied from process.py import os, sys, subprocess # os.environ['DJANGO_SETTINGS_MODULE'] = 'dj.settings' os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dj.settings") sys.path.insert(0, '..' ) from django.conf import settings import django django.setup() import socket...
{ "content_hash": "d24b75a849cc2c1fede7fffe9db33607", "timestamp": "", "source": "github", "line_count": 569, "max_line_length": 670, "avg_line_length": 26.244288224956062, "alnum_prop": 0.6016875376682516, "repo_name": "EricSchles/veyepar", "id": "8a6062cd5127365fe7251184c300236f9bf56f4f", "size": ...
#include "postgres.h" #include "fmgr.h" #include "utils/builtins.h" #include "utils/uuid.h" /* for ntohl/htonl */ #include <netinet/in.h> #include <arpa/inet.h> /* * It's possible that there's more than one uuid.h header file present. * We expect configure to set the HAVE_ symbol for only the one we want. * * ...
{ "content_hash": "e563abcd6b53561697caa1ef5951285a", "timestamp": "", "source": "github", "line_count": 525, "max_line_length": 77, "avg_line_length": 22.895238095238096, "alnum_prop": 0.6505823627287853, "repo_name": "ashwinstar/gpdb", "id": "fca39d79378fffc03f2fa3df78593ec23f14f868", "size": "124...
extern crate sdl2; use std::path::Path; use sdl2::event::Event; use sdl2::keyboard::Keycode; use sdl2::rect::Rect; use sdl2::rect::Point; use std::time::Duration; fn main() { let sdl_context = sdl2::init().unwrap(); let video_subsystem = sdl_context.video().unwrap(); let window = video_subsystem.window("...
{ "content_hash": "62da683d8993e4b24c051d90bd169ab0", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 105, "avg_line_length": 30.5, "alnum_prop": 0.5798421372191864, "repo_name": "vadixidav/rust-sdl2", "id": "8399c12eb35218b6d2c3954f4b54d5cf8ec228cf", "size": "1647", "bin...
from os import path from behave import given, when, then from test.behave_utils.utils import * from mgmt_utils import * # This file contains steps for gpaddmirrors and gpmovemirrors tests # This class is intended to store per-Scenario state that is built up over # a series of steps. class MirrorMgmtContext: def...
{ "content_hash": "434210392765c32857dfb0aa2efdb2be", "timestamp": "", "source": "github", "line_count": 420, "max_line_length": 141, "avg_line_length": 43.154761904761905, "alnum_prop": 0.6518620689655172, "repo_name": "jmcatamney/gpdb", "id": "ad8a24d3367f13a666ebfa4c85a13896068999d4", "size": "18...
package caddytls import ( "crypto/tls" "reflect" "testing" "github.com/klauspost/cpuid" ) func TestConvertTLSConfigProtocolVersions(t *testing.T) { // same min and max protocol versions config := &Config{ Enabled: true, ProtocolMinVersion: tls.VersionTLS12, ProtocolMaxVersion: tls.VersionTLS12...
{ "content_hash": "db96d9317acc63bb98f78b6ffe68884c", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 95, "avg_line_length": 29.489583333333332, "alnum_prop": 0.7008124337689863, "repo_name": "joshix/caddy", "id": "a0af137409d5b9915daf781b42dfbdc9a24c5a99", "size": "3429", ...
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'phone_number_validation'
{ "content_hash": "e6d6725ee8e755976510d1ec29289b13", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 58, "avg_line_length": 46.5, "alnum_prop": 0.6881720430107527, "repo_name": "pmoelgaard/phone_number_validation", "id": "1b642e333f3415b4dc71608a5c83d3e1aa8edd4e", "size": "...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://www.netbeans.org/ns/project/1"> <type>org.netbeans.modules.web.project</type> <configuration> <buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1"> <extension file="rest-build.xml" id="rest.5"/> </build...
{ "content_hash": "851b71adbeda4baae4420e34952079d1", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 81, "avg_line_length": 40.80952380952381, "alnum_prop": 0.5694282380396732, "repo_name": "rdok/web-services", "id": "49b59686e220f0d287c13e142326037a4528167c", "size": "857...
[ -f /etc/is_vagrant_vm ] || { >&2 echo "must be run on a vagrant VM" exit 1 } # The test case can be executed with the Bash Automated # Testing System tool available at https://github.com/sstephenson/bats # Thanks to Sam Stephenson! # Licensed to Elasticsearch under one or more contributor # license agreements. ...
{ "content_hash": "379bcb992878aa86032602fd10a6b5a8", "timestamp": "", "source": "github", "line_count": 461, "max_line_length": 367, "avg_line_length": 31.18655097613883, "alnum_prop": 0.6879738471169229, "repo_name": "fred84/elasticsearch", "id": "fb721d5c6d9ad2ed7827649bd297b699cb6ec6cd", "size":...
import inspect class VIProperty(object): def __init__(self, server, obj): self._server = server self._obj = obj self._values_set = False self._type = obj.typecode.type[1] def _flush_cache(self): if not self._values_set: return for name in self._valu...
{ "content_hash": "f63c4f0aef740bd9b952c794040115ef", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 79, "avg_line_length": 32.13131313131313, "alnum_prop": 0.5526563973593209, "repo_name": "devopshq/vspheretools", "id": "6d4cad38335fe281cbb825e8112fe2e5d59e246e", "size": ...
#include "config.h" #include "main.h" #include "cfg_file.h" #include "cfg_xml.h" #include "util.h" #include "smtp.h" #include "smtp_proto.h" #include "smtp_utils.h" #include "map.h" #include "message.h" #include "settings.h" #include "dns.h" #include "lua/lua_common.h" /* Max line size as it is defined in rfc2822 */ ...
{ "content_hash": "b9a2d9baa91361f3e38a219d4e947788", "timestamp": "", "source": "github", "line_count": 1015, "max_line_length": 79, "avg_line_length": 24.45320197044335, "alnum_prop": 0.630781627719581, "repo_name": "andrejzverev/rspamd", "id": "07e28a4de0b2680765e1bac6048c5adef1969938", "size": "...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "fe7f69fdaf6e38eb0decfa562346b1f7", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "29c45e9660ab5970db50735b5a697b8a6881312d", "size": "177...
namespace blink { class CSSParserObserver; class CSSSelectorList; class Element; class ImmutableStylePropertySet; class MutableStylePropertySet; class StyleColor; class StyleRuleBase; class StyleRuleKeyframe; class StyleSheetContents; // This class serves as the public API for the css/parser subsystem class CORE_EXPO...
{ "content_hash": "2a91a4d11c359ad09174aa202b2550b6", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 162, "avg_line_length": 50.25925925925926, "alnum_prop": 0.7991893883566691, "repo_name": "ds-hwang/chromium-crosswalk", "id": "01b441f9002c57826ff4b66e3082861ced51abeb", "...
package org.smartdeveloperhub.harvesters.scm.backend.pojos; import java.util.ArrayList; import java.util.List; public class Commits extends Pojo { private List<String> commitIds = new ArrayList<String>(); public List<String> getCommitIds() { return this.commitIds; } public void setCommitIds(final List<Strin...
{ "content_hash": "aaacffc89f6262172f7699061b6468f2", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 59, "avg_line_length": 19.57894736842105, "alnum_prop": 0.7553763440860215, "repo_name": "SmartDeveloperHub/sdh-scm-harvester", "id": "c51ccc40f5af6bed5065e3fb71f7aa5b0551ee0...
<?php namespace Exposure\Tests\Model; use Exposure\Model\ProjectWant, Exposure\Model\Project, Exposure\Model\User, Exposure\Model\SponsorOrganisation; class ProjectWantTest extends \PHPUnit_Framework_TestCase { protected $projectWant; protected $dateTime; protected $sponsorOrganisation; ...
{ "content_hash": "f9cb005bbf03ec18ac792ecbff84ac65", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 128, "avg_line_length": 38.76136363636363, "alnum_prop": 0.6625622984462035, "repo_name": "spujadas/exposure", "id": "ad50d5c03b8344d4e7a51a74ec0c8c2353868573", "size": "36...
Otto is a library written by Coraid QA engineers to enable Appliance testing. It was used for remotely controlling infrastructure components like Linux, Solaris, and Windows servers as well as switches and the appliances themselves. Documentation can be found on [Readthedocs](https://otto-docs.readthedocs.org "oTTo")
{ "content_hash": "65d749d4b03e036f8e9a0924aa5452cd", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 117, "avg_line_length": 80, "alnum_prop": 0.815625, "repo_name": "mennis/oTTo", "id": "07e063c98a585fd2b13c8c6a7c77e4ad5c586826", "size": "327", "binary": false, "copies...
<?php /* Safe sample input : Uses popen to read the file /tmp/tainted.txt using cat command sanitize : check if there is only numbers construction : use of sprintf via a %u */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and dist...
{ "content_hash": "cc215ee75382593de57734de6762967c", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 189, "avg_line_length": 25.661971830985916, "alnum_prop": 0.7195389681668496, "repo_name": "stivalet/PHP-Vulnerability-test-suite", "id": "161df4a0856e19262bad8fff3f5006567e5...
simpleSAMLphp installed on a vagrant virtual machine and hosted in Docker. ##Introduction This is plug and play. Run the installation and SimpleSAMLphp will be waiting ## Prerequisites This setup uses VirtualBox and VagrantUp to instanciate the virtual machines - Install [VirtualBox](https://www.virtualbox.org/)...
{ "content_hash": "1e6578d6fc4ca154f51d5fefe2106b62", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 174, "avg_line_length": 26.666666666666668, "alnum_prop": 0.7625, "repo_name": "jnyryan/docker-simplesamlphp", "id": "1070e4b2792f9fbddae4eac3cf2604c184ee0261", "size": "3...
'use strict'; var normalisers = require('./normalisers'); var EACH_NORMALISER_NAME = 'each'; var NESTED_OBJECT_NORMALISER_NAME = 'object'; function _getKeys(obj) { return Object.keys(obj); } function _isObject(value) { return value === Object(value); } function _isArray(value) { return {}.toString.call...
{ "content_hash": "d73fe8298bda08f4639624454e7630af", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 103, "avg_line_length": 33.107142857142854, "alnum_prop": 0.6245954692556634, "repo_name": "stevejay/normalise-request", "id": "03c19aabdf94a951f23637d8176f2cf23ba36db2", "...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "59e73a239c18995c1797ea7cb8292082", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "83ca886b049f8b8c8816d5ff86fbe5ffb2575e7e", "size": "189...
package telemetry import ( "context" "fmt" "io" "net/http" "time" "github.com/influxdata/influxdb/v2/prometheus" dto "github.com/prometheus/client_model/go" "github.com/prometheus/common/expfmt" "go.uber.org/zap" ) const ( // DefaultTimeout is the length of time servicing the metrics before canceling. Def...
{ "content_hash": "d41f20fbdff191e87d3ce03dea8ee991", "timestamp": "", "source": "github", "line_count": 168, "max_line_length": 114, "avg_line_length": 26.208333333333332, "alnum_prop": 0.7104247104247104, "repo_name": "influxdata/influxdb", "id": "e4f1469757395339eb98e127afade50b9cd5aace", "size":...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <LinearLayout android:layout_width="match_parent" android:layout_heig...
{ "content_hash": "c0686b060597fcfae9308866b7a73634", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 72, "avg_line_length": 31.2183908045977, "alnum_prop": 0.5585419734904271, "repo_name": "zhongbaitu/MAKEYOURFACE", "id": "e2a16e8fe69c8e34f024af008c0eaf9cea98fe7d", "size":...
#ifndef QmitkToFScreenshotMaker_h #define QmitkToFScreenshotMaker_h #include <ui_QmitkToFScreenshotMakerControls.h> #include <QmitkAbstractView.h> #include <QStringList> #include <ui_QmitkToFUtilViewControls.h> /*! \brief QmitkToFScreenshotMaker Select a ToF image source in the GUI to make a screenshot of the p...
{ "content_hash": "e2870f866d026f8d813d6782858b36dd", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 120, "avg_line_length": 33.02325581395349, "alnum_prop": 0.7302816901408451, "repo_name": "MITK/MITK", "id": "d1fa29018ec4dbebcdbe9be16c6c4afb5639600f", "size": "3221", "...
package de.learnlib.algorithms.oml.ttt.pt; import java.util.HashMap; import java.util.Map; import de.learnlib.algorithms.oml.ttt.dt.DTLeaf; import net.automatalib.words.Word; import org.checkerframework.checker.nullness.qual.Nullable; /** * @author fhowar */ public class PTNodeImpl<I, D> implements PTNode<I, D> {...
{ "content_hash": "079fa7480907951a15f614633fe0b599", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 78, "avg_line_length": 22.63235294117647, "alnum_prop": 0.6081871345029239, "repo_name": "LearnLib/learnlib", "id": "1200b090f17178ce853f70afb41ab45f0e836a78", "size": "219...
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'phpDocumentor\\Reflection\\' => array($vendorDir . '/phpdocumentor/reflection-common/src', $vendorDir . '/phpdocumentor/type-resolver/src', $vendorDir . '/phpdocumentor/reflec...
{ "content_hash": "4cf821dddae164395a2f1ee15f5a94c3", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 200, "avg_line_length": 74.5, "alnum_prop": 0.6685596282911719, "repo_name": "cbeard87/preservation", "id": "d583a8ca3ae223ca9a1f0353c4e80c048175aa1c", "size": "3874", "b...
package io.novaordis.gld.api.mock.configuration; import io.novaordis.gld.api.configuration.Configuration; import io.novaordis.gld.api.configuration.LoadConfiguration; import io.novaordis.gld.api.configuration.OutputConfiguration; import io.novaordis.gld.api.configuration.ServiceConfiguration; import io.novaordis.gld...
{ "content_hash": "049dbdd6ac4f3665d6cbea4ac954ae6e", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 120, "avg_line_length": 35.9875, "alnum_prop": 0.4789857589440778, "repo_name": "NovaOrdis/gld", "id": "0014588376ff6c69d899dcb0c39a591d189fe8be", "size": "3479", "binary...
import { Component } from '@angular/core'; import { Router} from "@angular/router"; @Component({ templateUrl: './app/components/home/home.tpl.html' }) export class HomeComponent { public pageHeading = "Welcome"; }
{ "content_hash": "dbe70f5ace3e3c43135c925575035e65", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 52, "avg_line_length": 20, "alnum_prop": 0.7045454545454546, "repo_name": "ravi221/rkProfile", "id": "6d87ab54fcbea1d372ce4f8ed88111a770a7cd81", "size": "220", "binary": ...
(function( window ) { var QUnit, assert, config, onErrorFnPrev, testId = 0, fileName = (sourceFromStacktrace( 0 ) || "" ).replace(/(:\d+)+\)?/, "").replace(/.+\//, ""), toString = Object.prototype.toString, hasOwn = Object.prototype.hasOwnProperty, // Keep a local reference to Date (GH-283) Date = window.Da...
{ "content_hash": "4b83963c6761a0f2e906d3a95450cd6e", "timestamp": "", "source": "github", "line_count": 2207, "max_line_length": 179, "avg_line_length": 26.56728590847304, "alnum_prop": 0.5991574854180168, "repo_name": "MarcDiethelm/xtc-site", "id": "a3d3fbfe75ce6037620836ca339f5cf8b6bd03f8", "size...
class StocksController < ApplicationController def index @stocks = Stock.all end def new @stock = Stock.new end def create Stock.create(stock_params) redirect_to stocks_url end def edit find_models end def update find_models @stock.update_attributes(stock_params) r...
{ "content_hash": "f02d47823f87a09ab69f3a0e1b159f8e", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 72, "avg_line_length": 15.628571428571428, "alnum_prop": 0.6782449725776966, "repo_name": "icstunna/wsot", "id": "3264e8d4e340f7b698ddfbde58177dfcdf90b6e3", "size": "547", ...
<?php namespace app\modules\shop\models; use Yii; /** * This is the model class for table "products". * * @property integer $id * @property string $type * @property string $title * @property string $description * @property double $price */ class Product extends \yii\db\ActiveRecord { /** * @inheritd...
{ "content_hash": "6579c11c84515c79c2ad537da1556750", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 60, "avg_line_length": 19.60377358490566, "alnum_prop": 0.4706448508180943, "repo_name": "Makc197/mysite.loc", "id": "28aca12087d8ec0a0f11500259a61bd59064ae59", "size": "10...
@class NSFont; #else class NSFont; #endif // Provides functionality to transmit fonts over IPC. // // Note about font formats: .dfont (datafork suitcase) fonts are currently not // supported by this code since CGFontCreateWithDataProvider() can't handle them // directly. class FontLoader { public: // Load a font s...
{ "content_hash": "44e57b07b55cc613807e6233661ac9b1", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 80, "avg_line_length": 36.32608695652174, "alnum_prop": 0.6391382405745063, "repo_name": "gavinp/chromium", "id": "0b6441746b505899eb701c3c7a3ed5b6d7783ac9", "size": "2085"...