text
stringlengths
2
1.04M
meta
dict
require File.dirname(__FILE__) + '/../../../spec_helper' require 'net/ftp' require File.dirname(__FILE__) + "/fixtures/server" require File.dirname(__FILE__) + '/shared/list' describe "Net::FTP#dir" do it_behaves_like :net_ftp_list, :dir end
{ "content_hash": "f399a4dfd5b19173d2c4e5958ebdcf82", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 56, "avg_line_length": 30.625, "alnum_prop": 0.6571428571428571, "repo_name": "torquebox/rubyspec", "id": "e67ebc42bcc45d1850528e19c69d9b0ede8fcf05", "size": "245", "binar...
.. 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 ...
{ "content_hash": "6e437789b118256d2cd4257bb23c7f64", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 79, "avg_line_length": 33.421052631578945, "alnum_prop": 0.6740157480314961, "repo_name": "igor-toga/local-snat", "id": "9c8cdc6aa6e1a1c785cac1a81e29c50095a2e1b6", "size": ...
* [Introduction](README.md) * [Legal Notice](notice.md) * [Getting Started](getting-started.adoc) * [Longer Getting Started Guide](book-getting-started.adoc) * [Architecture](architecture.adoc) * [Async](async.adoc) * [Asynchronous Routing Engine](asynchronous-routing-engine.adoc) * [BacklogDebugger](backl...
{ "content_hash": "1778c45e7f93ef9832895bedb5758fe3", "timestamp": "", "source": "github", "line_count": 528, "max_line_length": 95, "avg_line_length": 36.38068181818182, "alnum_prop": 0.712270289968244, "repo_name": "mgyongyosi/camel", "id": "fd51b73259ca0ddf5d019eef346d8d7259aaa27e", "size": "1922...
import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import Counter from '../components/Counter'; import * as CounterActions from '../actions/counter'; function mapStateToProps(state) { return { counter: state.counter }; } function mapDispatchToProps(dispatch) { return bindActi...
{ "content_hash": "6a44ab512f3a3827e8bd42ea756d4e88", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 69, "avg_line_length": 26.875, "alnum_prop": 0.7604651162790698, "repo_name": "tgirgin23/osm-electron-editor", "id": "89d206323e0e611c04a7e6fcd129a7b10a442765", "size": "43...
using System.Collections.Generic; namespace Markdig { /// <summary> /// Provides a context that can be used as part of parsing Markdown documents. /// </summary> public class MarkdownParserContext { /// <summary> /// Gets or sets the context property collection. /// </summar...
{ "content_hash": "d6d498c8affedda635ad98ca9f8b9793", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 89, "avg_line_length": 28.130434782608695, "alnum_prop": 0.5904173106646059, "repo_name": "lunet-io/markdig", "id": "6cf0020f935629545060ff95350b94c68a4fb9f5", "size": "831...
import sys import pybindgen from pybindgen import ReturnValue, Parameter, Module, Function, FileCodeSink from pybindgen import CppMethod, CppConstructor, CppClass, Enum def my_module_gen(out_file): mod = Module('b') mod.add_include('"b.h"') B = mod.add_class('B') B.add_constructor([]) B.add_cop...
{ "content_hash": "c6f6eab59c859033096a7d5d5262912b", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 76, "avg_line_length": 27.4, "alnum_prop": 0.6613138686131387, "repo_name": "softDi/clusim", "id": "7c65ef0eff5e5355c8af9896061de17571a57565", "size": "709", "binary": fa...
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: AssemblyTitle("Pr...
{ "content_hash": "bc9941ab03418abc7b366c64db483a6f", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 39.638888888888886, "alnum_prop": 0.7449194113524877, "repo_name": "AlexanderDanev/csharp-tests", "id": "cfefb3ed48c40facad547178188f873cf1e85673", "...
namespace octomap_msgs { static const char BOUNDINGBOXQUERY[] = "octomap_msgs/BoundingBoxQuery"; class BoundingBoxQueryRequest : public ros::Msg { public: geometry_msgs::Point min; geometry_msgs::Point max; virtual int serialize(unsigned char *outbuffer) const { int offset = 0; ...
{ "content_hash": "4aa091d31b05428f90c8232f91b83139", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 72, "avg_line_length": 22.78688524590164, "alnum_prop": 0.6553956834532374, "repo_name": "robotican/ric", "id": "a9510f97652c72532eb76f1ec369a27061004670", "size": "1585", ...
package com.coreoz.plume.file.services.cache; import java.util.function.Function; import com.coreoz.plume.file.services.file.data.FileData; import com.google.common.cache.LoadingCache; public interface FileCacheService { LoadingCache<Long, FileData> newFileDataCache(Function<Long, FileData> loadingData); Loading...
{ "content_hash": "76de5fb8fc91245b16b386aba642a11b", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 85, "avg_line_length": 28.285714285714285, "alnum_prop": 0.8131313131313131, "repo_name": "Coreoz/Plume-file", "id": "8ad5b6ad6f50973d7b058725952b75becc5fd076", "size": "39...
Raft is a protocol with which a cluster of nodes can maintain a replicated state machine. The state machine is kept in sync through the use of a replicated log. For more details on Raft, see "In Search of an Understandable Consensus Algorithm" (https://ramcloud.stanford.edu/raft.pdf) by Diego Ongaro and John Ousterhout...
{ "content_hash": "e76104f31d56350434bc22bbfa208df8", "timestamp": "", "source": "github", "line_count": 194, "max_line_length": 789, "avg_line_length": 58.25773195876289, "alnum_prop": 0.7644664661121925, "repo_name": "vimalk78/etcd", "id": "0ddf3f48f8a3894e8a3cfb65d978bfa37a75e9ac", "size": "11318...
<Record> <Term>Pericoronitis</Term> <SemanticType>Disease or Syndrome</SemanticType> <ParentTerm>Gingival Diseases</ParentTerm> <ClassificationPath>Stomatognathic Diseases/Mouth Diseases/Periodontal Diseases/Gingival Diseases/Pericoronitis</ClassificationPath> <BroaderTerm>Stomatognathic Diseases</BroaderTerm> <B...
{ "content_hash": "b861137b6df2a075e3e5a6ee24c0c50d", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 132, "avg_line_length": 46.13333333333333, "alnum_prop": 0.819364161849711, "repo_name": "detnavillus/modular-informatic-designs", "id": "7d65956477218bb292fc27a4c25717b7e395...
Lang_AllFolders = "Todas as Pastas"; Lang_Page = "Page"; Lang_First = "Primeira"; Lang_Last = "Última"; Lang_NextMsg = "Próximas Mensagens"; Lang_PrevMsg = "Mensagens Anterires"; Lang_Viewing = "Visualizando"; Lang_Messages = "Mensagem"; Lang_To = "Para"; Lang_Of = "of"; Lang_From = "De"; Lang_Subject = "Assunto"; Lang...
{ "content_hash": "4419c21dbaa886245c1c3f863b16ff44", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 146, "avg_line_length": 37.990196078431374, "alnum_prop": 0.7220645161290322, "repo_name": "BigBlueHat/atmailopen", "id": "78f5bc2c4de5d46d9c83a5b78fc832b7bd4fae31", "size...
namespace parquet { // ---------------------------------------------------------------------- // Metadata enums to match Thrift metadata // // The reason we maintain our own enums is to avoid transitive dependency on // the compiled Thrift headers (and thus thrift/Thrift.h) for users of the // public API. After buildi...
{ "content_hash": "431c0fb1723e1e07dd8d365c09facb27", "timestamp": "", "source": "github", "line_count": 284, "max_line_length": 90, "avg_line_length": 27.091549295774648, "alnum_prop": 0.6774109695866909, "repo_name": "apache/parquet-cpp", "id": "10789cbf5452dbc15282f1125c1d550d99dcf106", "size": "...
#include "CppUTest/TestHarness.h" #include "CppUTest/TestOutput.h" #include "CppUTest/TestTestingFixture.h" #define CHECK_TEST_FAILS_PROPER_WITH_TEXT(text) fixture.checkTestFailsWithProperTestLocation(text, __FILE__, __LINE__) TEST_GROUP(UnitTestStringMacros) { TestTestingFixture fixture; }; static void _STRCM...
{ "content_hash": "2e997f3f3a397309a1faf66911a97fd2", "timestamp": "", "source": "github", "line_count": 443, "max_line_length": 118, "avg_line_length": 33.794582392776526, "alnum_prop": 0.7480462226972147, "repo_name": "jaeguly/cpputest", "id": "62ac79ddb5ddeb94c36407b3787ec2e841a0b9e0", "size": "1...
package cgeo.geocaching; import cgeo.geocaching.activity.AbstractActionBarActivity; import cgeo.geocaching.connector.internal.InternalConnector; import cgeo.geocaching.enumerations.LoadFlags; import cgeo.geocaching.enumerations.WaypointType; import cgeo.geocaching.list.StoredList; import cgeo.geocaching.location.Geopo...
{ "content_hash": "03186df95394f725cb7c765e1baaea2a", "timestamp": "", "source": "github", "line_count": 139, "max_line_length": 177, "avg_line_length": 49.16546762589928, "alnum_prop": 0.617500731635938, "repo_name": "rsudev/c-geo-opensource", "id": "ece88f29ac99a7573daf03252ba408274cc89d47", "size...
classdef Pooling < dagnn.Filter properties method = 'max' poolSize = [1 2] opts = {'cuDNN'} end methods function outputs = forward(self, inputs, params) outputs{1} = vl_nnpool(inputs{1}, self.poolSize, ... 'pad', self.pad, ... 'strid...
{ "content_hash": "2390a47a9b3de4d7fba5d0247d60b6fb", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 80, "avg_line_length": 30.897435897435898, "alnum_prop": 0.4987551867219917, "repo_name": "feichtenhofer/twostreamfusion", "id": "c2814eadc202272f70ea4303d62a70c00dd08c65", ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Text.Primitives.Tests.Encoding { public static class TextEncoderTestHelper { publi...
{ "content_hash": "df850d1a9ae62d03558a90c2a1c47c52", "timestamp": "", "source": "github", "line_count": 550, "max_line_length": 231, "avg_line_length": 44.11272727272727, "alnum_prop": 0.5410106339131152, "repo_name": "KrzysztofCwalina/corefxlab", "id": "c69c8484f4f56067177c7812040f9c8f0c291421", "...
<div class="row"> <div ng-controller="CreateDishCtrl as cuc"> <h1>Create Dish</h1> <form id="CreateDishForm" name="CreateDishForm" class="form-horizontal" role="form" ng-submit="cuc.createDish()"> <legend class="sm-col-12">Basic Information</legend> <div class...
{ "content_hash": "5c20c7a18ea88df476b3b49d3b0f4969", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 107, "avg_line_length": 37.19607843137255, "alnum_prop": 0.4881391671059568, "repo_name": "joludigo/home-made", "id": "c33f5d3e04a1b56e2ce6f85de11cc9a91502ef7e", "size": "1...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (c) 2013 Soichiro Kashima. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the right...
{ "content_hash": "461771ad0a6668fe74af291f7bbb2a15", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 97, "avg_line_length": 49.206896551724135, "alnum_prop": 0.759635599159075, "repo_name": "owwlo/JarIt", "id": "43bab8f304c628e656c31cfd3ce0ac92bcb8ad64", "size": "1427", ...
<?php function select() { echo "The select function is called."; exit; } function insert() { echo "The insert function is called."; exit; } function getAllTasksFromProject($projectId){ global $conn; $stmt = $conn->prepare("SELECT * FROM task WHERE p...
{ "content_hash": "f7f7c63002049929f95cb1d0a3298bf0", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 200, "avg_line_length": 32.403669724770644, "alnum_prop": 0.5849377123442808, "repo_name": "pedro-c/FEUP-LBAW", "id": "c42b62748e9eaeac83267c3305d1f7538eee2171", "size": "...
<!-- Copyright 2019 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); ...
{ "content_hash": "717041a44af2375d692df75b159aa20b", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 80, "avg_line_length": 74.52941176470588, "alnum_prop": 0.3741120757695343, "repo_name": "apigee/devrel", "id": "61086899997e7e14800633d3bb1d88fc158a185d", "size": "1267", ...
import PropTypes from 'prop-types'; import React, { Children, PureComponent } from 'react'; import { arrayMove, SortableHandle } from 'react-sortable-hoc'; import SortableTableBodyInternal from './SortableTableBodyInternal'; /** * Replaces `TableBody` with a sortable table body, (Also can be defined as `TableBody.S...
{ "content_hash": "f48a827dd247b1414baea3a11640e15d", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 99, "avg_line_length": 35.0625, "alnum_prop": 0.6939139292080468, "repo_name": "HarvestProfit/harvest-profit-ui", "id": "7ff01e7a08936b9f2c7f2cfaa08f80047c0d03bc", "size":...
<?xml version="1.0" encoding="UTF-8"?> <role><name>ROLE_HPC_ADMIN</name><externallyDefined>false</externallyDefined></role>
{ "content_hash": "901fc710f7a42bd3d6678bab46afc2b1", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 84, "avg_line_length": 61.5, "alnum_prop": 0.7398373983739838, "repo_name": "ernestoongaro/jrs-extra-samples", "id": "96a7820f14122501cc12d2332c418125aebfad4a", "size": "123...
using KernowCode.KTest.Logging; using System; using System.Collections.Generic; using System.Reflection; using System.IO; namespace KernowCode.KTest.Ubaddas { /// <summary> /// <para>Enables a test class to use the UBADDAS test syntax</para> /// <para>An Enum representing the User Stories business val...
{ "content_hash": "9750bde4d34f37c664c665049c6bd69d", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 191, "avg_line_length": 47.12, "alnum_prop": 0.631578947368421, "repo_name": "KernowCode/UBADDAS", "id": "83f85dccb8c3b5e6ad157943902ede4daad3e258", "size": "3536", "bina...
class MarkdAsDriverException(Exception): """ Wrap any error as DriverException """ def __init__(self, wrapped_exc): super().__init__() self.wrapped_exc = wrapped_exc
{ "content_hash": "7b445c343791c15b92a591cd7d1de676", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 40, "avg_line_length": 28.285714285714285, "alnum_prop": 0.601010101010101, "repo_name": "neo4j/neo4j-python-driver", "id": "042eab8c02dda052664bed07917dfe260864c4cf", "size...
Meteor.startup(function() { RocketChat.ChannelSettings.addOption({ group: ['room'], id: 'tokenpass', template: 'channelSettings__tokenpass', validation(data) { if (data && data.rid) { const room = RocketChat.models.Rooms.findOne(data.rid, { fields: { tokenpass: 1 } }); return room && room.tokenpass...
{ "content_hash": "9fcc3f685b8bb4ef43ed716598a3c8f5", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 89, "avg_line_length": 22.375, "alnum_prop": 0.6368715083798883, "repo_name": "nishimaki10/Rocket.Chat", "id": "635202a0f507917bb3359b0e888af5686aa62e21", "size": "358", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>streams: 16 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="sty...
{ "content_hash": "e1ab6134ab93dd5569458256dd4d465e", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 159, "avg_line_length": 42.90163934426229, "alnum_prop": 0.5516494714049166, "repo_name": "coq-bench/coq-bench.github.io", "id": "c273776fd27c96da6f42ab637945641cff7695a7", ...
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif...
{ "content_hash": "9dcb3b0f9c072416afd52b36b86d1a40", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 159, "avg_line_length": 61.48, "alnum_prop": 0.6206896551724138, "repo_name": "dalanmiller/seatgroup-theme", "id": "cb5b2c0a3800429c06f1f41d498aea869d7a1e72", "size": "1537...
import java.awt.Point; /** * This class represent the board game. It construct and initialize all the * rooms in the board. * * @author sam * */ public class Board { /** * room: array of rooms within the maps * totalQP: sum of all player Quality Points. Once it reach a certain limits * , year of pl...
{ "content_hash": "8bc8669376239d5e773e5b6281d6d773", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 78, "avg_line_length": 34.10909090909091, "alnum_prop": 0.6420575692963753, "repo_name": "sopanhavuth-aka-sam/cecs343-project", "id": "75e0caea6fb7b635b07f58dd604d247a59de11...
<?xml version="1.0" encoding="UTF-8" ?> <documentation for="TbRedactorJs" punchline="Powerful and famous WYSIWYG editor at no cost for Yii developers"> <section named="Description"> <p>This is the wrapper around the <a href="http://imperavi.com/redactor/">Redactor</a>.</p> <p label=...
{ "content_hash": "505f27adec600d1b8c67ffd6c0c40c03", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 143, "avg_line_length": 47.79347826086956, "alnum_prop": 0.55424152831476, "repo_name": "OscarMesa/creditos", "id": "124ccebede9160a9e4ef8e7eb8bbb04d558a8bbd", "size": "439...
<!DOCTYPE html> <html lang="en"> <head> <title>DreamFactory&trade;</title> <meta name="page-route" content="web/index" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1.0"> <meta name="apple...
{ "content_hash": "b0138280a9ad14a548c475e4b6bfa139", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 150, "avg_line_length": 37.6, "alnum_prop": 0.5356826241134752, "repo_name": "merhawifissehaye/dreamfactory-configured", "id": "34793da101e4bec4b26700244d99dc5b562d3c32", ...
class RegExp { public: RegExp( const char* expression, int options = 0 ); ~RegExp( void ); bool Index( const char* subject, size_t* start, size_t* len ); const char* Match( const char* subject ); bool IsValidRE( void ) const; public: const char* pszError; int errorOffset; ...
{ "content_hash": "2a395804c18332fdd7c365dbaf651c9b", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 79, "avg_line_length": 21.147058823529413, "alnum_prop": 0.47426981919332406, "repo_name": "UGent-HES/ConnectionRouter", "id": "ebae5d09215e2a185ef11ddca85621118b333fa2", "...
dojo.addOnLoad(function(){ doh.register("dojox.mobile.test.doh.ListItem", [ { name: "ListItem Verification", timeout: 4000, runTest: function(){ var d = new doh.Deferred(); setTimeout(d.getTestCallback(function(){ verifyListItem("dojox_mobile_ListItem_0", 'External View #1 (sync)', '', "mblDomB...
{ "content_hash": "514b26ccc0cf9558ae4f8e862ae28d38", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 193, "avg_line_length": 45.73109243697479, "alnum_prop": 0.6639103270856302, "repo_name": "synico/springframework", "id": "71820d14fb8975f64d8bc95fa41119beb2a9206e", "size...
import string def sanitiseLine(line): if line[-1:] == '\n': line = line[:-1] if string.find(line, "##") != -1: line = line[:string.find(line, "##")] line = string.strip(line) return line def decodeFunction(featureVal): retType, rest = string.split(featureVal, " ", 1) nameIdent, params = string.spl...
{ "content_hash": "be3ada268d7393478c2b7352b545b044", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 71, "avg_line_length": 31.17924528301887, "alnum_prop": 0.5851739788199698, "repo_name": "segafan/wme1_jankavan_tlc_edition-repo", "id": "59ada3dce3dcc18462df9529f3866d68f90...
/* * datacontext service encapsulates data access and model definition */ (function (){ 'use strict'; angular.module('app').factory('datacontext', ['$log','$q', 'breeze', 'entityManagerFactory', 'wip-service', service]); function service($log, $q, breeze, entityManagerFactory, wip){ var a...
{ "content_hash": "a60c8ce5ee0eaffcf45d458a1a17ed10", "timestamp": "", "source": "github", "line_count": 172, "max_line_length": 101, "avg_line_length": 32.91860465116279, "alnum_prop": 0.5171317555634052, "repo_name": "Mahinga/AngularDemo", "id": "eed94e88ac2afe5a6849c3c79196ebd580db01fd", "size": ...
package Rendering; import Game.Input; import javax.swing.*; import java.awt.*; import java.awt.image.BufferStrategy; import java.awt.image.BufferedImage; /** * Created by damien on 2014/08/26. */ public class Display extends Canvas { private JFrame frame; private BufferStrategy bufferStrat; private Gra...
{ "content_hash": "544eaa8c515b5438a19d51e5c6d311b1", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 83, "avg_line_length": 24.46938775510204, "alnum_prop": 0.6538782318598833, "repo_name": "privatesimmons/Engine", "id": "01ded542dbf51e5a8eef8c5d53a91ac9a24c7304", "size": ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Alcatel-OT-C750/1.0 UP.Browser/7.1 (GUI) MMP/2.0</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://...
{ "content_hash": "6a48cb100f79a33e29d13b51be65f64b", "timestamp": "", "source": "github", "line_count": 1183, "max_line_length": 962, "avg_line_length": 39.828402366863905, "alnum_prop": 0.5285990194621899, "repo_name": "ThaDafinser/UserAgentParserComparison", "id": "96df4e6eb5f6858b83fad456c5fd72a41...
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities.Statements { using System.Activities; using System.Collectio...
{ "content_hash": "9edac15a5d9a1f5b128fb1946fa97c39", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 96, "avg_line_length": 28.74264705882353, "alnum_prop": 0.4878485546175492, "repo_name": "mono/referencesource", "id": "8ddced5977121eb8a559f4a359ca6c36fb887a2e", "size": ...
"""Bijector base.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import abc import collections import contextlib import re import numpy as np import six from tensorflow.python.framework import dtypes from tensorflow.python.framework import ops from te...
{ "content_hash": "1ddbb5f3441919d229db3ce89720d274", "timestamp": "", "source": "github", "line_count": 813, "max_line_length": 80, "avg_line_length": 35.779827798277985, "alnum_prop": 0.6465674309876586, "repo_name": "rabipanda/tensorflow", "id": "44d64070ce48c0c115ea7edb1237124bc6698e90", "size":...
using Xunit; using System.Runtime.CompilerServices; using System.Threading; namespace System.IO { /// <summary>Base class for test classes the use temporary files that need to be cleaned up.</summary> public abstract class FileCleanupTestBase : IDisposable { /// <summary>Initialize the test class b...
{ "content_hash": "f18521ff6720039f2b2fc9ac3dbfdf03", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 146, "avg_line_length": 52.74683544303797, "alnum_prop": 0.6299496040316774, "repo_name": "Petermarcu/corefx", "id": "6e218ae3311bac3e64c24f45492da8036cf107e0", "size": "43...
<!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_202) on Sat Aug 31 14:06:17 COT 2019 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>WaitingSupport</title> <met...
{ "content_hash": "259d07a5a2738ea6b17eecf1f147fa4a", "timestamp": "", "source": "github", "line_count": 332, "max_line_length": 391, "avg_line_length": 41.94578313253012, "alnum_prop": 0.6595576619273301, "repo_name": "EPadronU/balin", "id": "30d78c475b29d5a009bdab8b136753bf3d8cbb0b", "size": "1392...
import pytest from parameterized import parameterized from airflow.plugins_manager import AirflowPlugin from airflow.security import permissions from tests.test_utils.api_connexion_utils import assert_401, create_user, delete_user from tests.test_utils.config import conf_vars from tests.test_utils.mock_plugins import ...
{ "content_hash": "ca549f689f212677644bb790042cc92a", "timestamp": "", "source": "github", "line_count": 167, "max_line_length": 110, "avg_line_length": 38.5748502994012, "alnum_prop": 0.5605402049053089, "repo_name": "Acehaidrey/incubator-airflow", "id": "669a2f31e294e2c19c0324c5bb89ca54080299ff", ...
#define WINVER 0x0501 /* MingW32 */ #define _WIN32_WINNT 0x0501 /* ACTCTX stuff */ #include "tkTreeCtrl.h" #include "tkWinInt.h" /* *---------------------------------------------------------------------- * * Tree_HDotLine -- * * Draws a horizontal 1-pixel-tall dotted line. * * Results: * None. * * Side ef...
{ "content_hash": "18b5e453afe047c8f13a8ffdebe85ca4", "timestamp": "", "source": "github", "line_count": 3986, "max_line_length": 139, "avg_line_length": 26.396638233818365, "alnum_prop": 0.6100820209661937, "repo_name": "bitkeeper-scm/bitkeeper", "id": "1eb8340751e813f65d0fecf4966b77ef0dea37f8", "s...
using extensions::Extension; using extensions::ExtensionPrefs; using extensions::ExtensionRegistry; using extensions::FeatureSwitch; namespace { void OnWebApplicationInfoLoaded( WebApplicationInfo synced_info, base::WeakPtr<ExtensionService> extension_service, const WebApplicationInfo& loaded_info) { DC...
{ "content_hash": "fb2da374fe45bcfeec598caf790d303c", "timestamp": "", "source": "github", "line_count": 518, "max_line_length": 80, "avg_line_length": 38.3011583011583, "alnum_prop": 0.6723790322580645, "repo_name": "mxOBS/deb-pkg_trusty_chromium-browser", "id": "cd8d3aa9d1e55d30e024374f34495edaab2c5...
namespace { Bool WaitForMapNotify(Display *dpy, XEvent *event, XPointer window) { return event->type == MapNotify && event->xmap.window == reinterpret_cast<Window>(window); } static Key X11CodeToKey(Display *display, unsigned int scancode) { int temp; KeySym *keySymbols; keySymbols = XGetKeyboardMappi...
{ "content_hash": "f2337e7e588f7765a7bd74fb5f132ab1", "timestamp": "", "source": "github", "line_count": 597, "max_line_length": 104, "avg_line_length": 28.921273031825795, "alnum_prop": 0.532781188462875, "repo_name": "mlfarrell/angle", "id": "869e32c3c27db49b3b3094c5bad3e1309e08ed82", "size": "176...
<?php namespace PHPExiftool\Driver\Tag\CanonVRD; use JMS\Serializer\Annotation\ExclusionPolicy; use PHPExiftool\Driver\AbstractTag; /** * @ExclusionPolicy("all") */ class NeutralRawShadow extends AbstractTag { protected $Id = 129; protected $Name = 'NeutralRawShadow'; protected $FullName = 'CanonV...
{ "content_hash": "5a40e608e61eee2036f12f9f0c7bf26a", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 50, "avg_line_length": 16.333333333333332, "alnum_prop": 0.6751700680272109, "repo_name": "bburnichon/PHPExiftool", "id": "aa538d0766b59213a8525a09c5353d342cde3326", "size"...
/* eslint-disable */ var webpack = require('webpack'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var ExtractTextPlugin = require("extract-text-webpack-plugin"); var WebpackBuildNotifierPlugin = require('webpack-build-notifier'); var path = require('path'); var redashBackend = process.env.REDASH_BACKEND ...
{ "content_hash": "5fb3ceefa3b8fac558b66fe0f109dcf1", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 83, "avg_line_length": 26.81021897810219, "alnum_prop": 0.5439695072148107, "repo_name": "M32Media/redash", "id": "d82051c065a5508ff0c786754f1e9afedd089b47", "size": "3673...
from __future__ import print_function try: # Python 2 import ConfigParser except ImportError: # Python 3 import configparser as ConfigParser import os import sys sys.path.append(os.path.join(os.path.dirname(__file__), 'swift_build_support')) # E402 means module level import not at top of file from s...
{ "content_hash": "274e7f4a5b78ceb61b21cab25a44d3e9", "timestamp": "", "source": "github", "line_count": 170, "max_line_length": 79, "avg_line_length": 36.22352941176471, "alnum_prop": 0.6070152646963299, "repo_name": "russbishop/swift", "id": "bf5a117108389cd0fef2932fc2cc53d47a27e20c", "size": "658...
This hook helps with installing manpages and shell completion files. It exposes 2 shell functions `installManPage` and `installShellCompletion` that can be used from your `postInstall` hook. The `installManPage` function takes one or more paths to manpages to install. The manpages must have a section suffix, and may o...
{ "content_hash": "2e1a5dba6d37ea2f7e0636ede205e97b", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 904, "avg_line_length": 86.04347826086956, "alnum_prop": 0.7594744820616472, "repo_name": "NixOS/nixpkgs", "id": "d27527503fedda25fca41a67295e3f1a066b95e0", "size": "2026",...
package org.apache.taverna.activities.externaltool.views; import java.awt.Frame; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.TreeMap; import javax.swing.Action; import org.apache.taverna.activities.externaltool.ExternalToolActivity; import org.apache.taverna.activities...
{ "content_hash": "c7f4a6ccdda6bbe01cc6a46ea83aa2fa", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 99, "avg_line_length": 34.882716049382715, "alnum_prop": 0.6920898955937003, "repo_name": "apache/incubator-taverna-workbench-common-activities", "id": "75aa2c206e1ff48940fa...
<p> Test for <i><a href="rdar://problem/7194735">rdar://problem/7194735</a> Crashes at RenderText::RenderText()</i>. </p> <p> This test should not crash or cause an assertion failure. </p> <embed type="application/x-webkit-test-netscape" ondestroy="destroyed()"> <div id="target"></div> <script> function des...
{ "content_hash": "9730f9d9f948b9acf7f78efc95ebbc9d", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 116, "avg_line_length": 29.095238095238095, "alnum_prop": 0.6563011456628478, "repo_name": "lordmos/blink", "id": "3e600c904ff982b4c756591af000f8e677a5e08d", "size": "611",...
from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('teams', '0001_initial'), ('substitutes', '0001_initial'), ('invites', '0004_auto_20180105_0213'), ] operations = [ migrations.AlterUniqueTog...
{ "content_hash": "fe6c234ae29e11092d2f73a96c768971", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 51, "avg_line_length": 22.894736842105264, "alnum_prop": 0.5839080459770115, "repo_name": "eSmelser/SnookR", "id": "9eefdb3de321effc9d9e668b40c9019f33d82a58", "size": "508"...
PILE_OF_POO = u"\U0001F4A9" def pytest_addoption(parser): group = parser.getgroup('Poo', 'Poo') group._addoption('--poo', action="store_true", dest="poo", default=False, help="Show crappy tests.") def pytest_report_teststatus(report, config): if (not config.option...
{ "content_hash": "b4246ecd619e1c167574492c5da0ed4a", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 95, "avg_line_length": 37.38095238095238, "alnum_prop": 0.6127388535031847, "repo_name": "pelme/pytest-poo", "id": "9fa6f1edaad3118be712c8f157f9fbf2557848cb", "size": "786"...
require 'spec_helper' describe 'graphite-cluster::default' do cached(:chef_run) do ChefSpec::ServerRunner.converge(described_recipe) end it 'converges successfully' do chef_run # This should not raise an error end end
{ "content_hash": "97d5372a05844b99cfa6b20558cd7021", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 53, "avg_line_length": 21.454545454545453, "alnum_prop": 0.7330508474576272, "repo_name": "obazoud/chef-graphite-cluster", "id": "0d40d5d1e703bc5e720c6e740a8f2d0151d8edc0", ...
<div> <div class="view-header clearfix"> <h1>Templates <a class="cta" ui-sref="templates-new"><span class="icon icon-plus"></span> New Template</a></h1> </div> <table class="table list-table"> <thead> <tr> <th>Name</th> <th>Updated At</th> <th></th> <th></th> <...
{ "content_hash": "6989fd88303fa4bf0551367641f8c02b", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 115, "avg_line_length": 29.96875, "alnum_prop": 0.5203336809176226, "repo_name": "mgmeyers/fluid-cms", "id": "0555b482f502875641de18d32d12433be1ef9b02", "size": "959", "b...
require 'doorkeeper/models/mongoid/revocable' require 'doorkeeper/models/mongoid/scopes' module Doorkeeper class AccessGrant include Mongoid::Document include Mongoid::Timestamps include Doorkeeper::Models::Mongoid::Revocable include Doorkeeper::Models::Mongoid::Scopes self.store_in :oauth_acces...
{ "content_hash": "e7dcfde5b8b4213615e5b23bdd1fc1f2", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 50, "avg_line_length": 28.136363636363637, "alnum_prop": 0.7043618739903069, "repo_name": "davesherratt/doorkeeper", "id": "1e23c973545cc695d9a9bcb9bda02f3b7fa188e2", "size...
import os PROJECT_DIR = os.path.dirname(os.path.realpath(__file__)) ENVIRONMENT_DIR = os.path.abspath(os.path.join(PROJECT_DIR, "..", "..", "..")) HTDOCS_DIR = os.path.join(ENVIRONMENT_DIR, 'htdocs',) LOG_DIR = os.path.join(ENVIRONMENT_DIR, 'var', 'log') DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ("Example"...
{ "content_hash": "732621c29b46f791c428a8f95c4065b0", "timestamp": "", "source": "github", "line_count": 212, "max_line_length": 108, "avg_line_length": 32.02358490566038, "alnum_prop": 0.6640153188982177, "repo_name": "JoeJasinski/password-safe", "id": "db3e3d3bfe2ecb44bffbd14beaceb18bd1ac7aef", "s...
namespace PlanetWars.Areas.HelpPage.ModelDescriptions { public class SimpleTypeModelDescription : ModelDescription { } }
{ "content_hash": "c2ddfcd452cda64233738cecfb9ad2e4", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 62, "avg_line_length": 22, "alnum_prop": 0.7727272727272727, "repo_name": "eonarheim/planet-wars-competition", "id": "8099aa36cf99da380cb8d9031afc18055cf1e9c4", "size": "132...
package com.all.client.view.toolbar.social; import java.awt.Component; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.event.HierarchyBoundsAdapter; import java.awt.event.HierarchyEvent; import java.util.List; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax....
{ "content_hash": "0c67abc3cbac3ace1e96e58d10ec4d6e", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 115, "avg_line_length": 32.376344086021504, "alnum_prop": 0.7482563932248423, "repo_name": "josdem/client", "id": "ea8f6e2d34574ec62204b2b950310e72ae0cd649", "size": "1758...
package com.eclecticlogic.orc.impl; import net.sf.cglib.proxy.CallbackFilter; import java.lang.reflect.Method; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import static java.util.stream.Collectors.*; /** * Filter to decide whether to intercept the method or not. * Created by kabram ...
{ "content_hash": "0553ff9edfc9c765b1a39da6bcdf8987", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 120, "avg_line_length": 33.56818181818182, "alnum_prop": 0.6167907921462423, "repo_name": "eclecticlogic/eclectic-orc", "id": "06f2364cf8ec624c5f57ee63d8ca11c92968275d", "s...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const PFS_1 = require("./PFS"); function BFSanityChecks(graph, start) { if (graph == null || start == null) { throw new Error('Graph as well as start node have to be valid objects.'); } if (graph.nrDirEdges() === 0 && graph...
{ "content_hash": "ca03c951b5c1700efd68270e1701c673", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 156, "avg_line_length": 39.8, "alnum_prop": 0.5608040201005026, "repo_name": "cassinius/GraphiniusJS", "id": "e54674774a46d4c683ebfe5b289f6d38f6fca4e1", "size": "3980", ...
ACCEPTED #### According to Euro+Med Plantbase #### Published in null #### Original name Hieracium alaricum Arv.-Touv. & Gaut. ### Remarks null
{ "content_hash": "e6fe66902c6ea6decbbc70363993f28e", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 37, "avg_line_length": 11.23076923076923, "alnum_prop": 0.6917808219178082, "repo_name": "mdoering/backbone", "id": "8d8af50d26ba7b8d5548025600d228ee67be62f9", "size": "237...
<!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_60) on Wed Mar 04 14:40:47 SAST 2015 --> <title>U-Index</title> <meta name="date" content="2015-03-04"> <link rel="stylesheet" type="te...
{ "content_hash": "a4a55f3892904b51c6c5504e181010b2", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 770, "avg_line_length": 54.5514705882353, "alnum_prop": 0.650896347216606, "repo_name": "dschoonwinkel/ConnectNet", "id": "cce46eb666fb7aaf9e567b70cc03247cd3dc989b", "size...
using System; using Console = Lucene.Net.Support.SystemConsole; namespace Lucene.Net.Codecs.Lucene3x { using LuceneTestCase = Lucene.Net.Util.LuceneTestCase; using SegmentReadState = Lucene.Net.Index.SegmentReadState; using SegmentWriteState = Lucene.Net.Index.SegmentWriteState; /// <summary> ...
{ "content_hash": "1b8f970368f81cc5b4c3f30d44e5d73e", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 232, "avg_line_length": 38.5, "alnum_prop": 0.6120984278879016, "repo_name": "laimis/lucenenet", "id": "9829a8186ba0a7e3e8c8591c4fe26a84fee4ac25", "size": "3847", "binary...
import { Options, RetryFunction } from 'async-retry'; import retry = require("async-retry"); const o: Options = { retries: 1, factor: 2, minTimeout: 3, maxTimeout: 4, randomize: true, onRetry: (e: Error) => 42 }; const hello: Promise<string> = retry( bail => 'hello', { retries: 3 } ); const answer: P...
{ "content_hash": "ac6122f4d33ecfc27f95a5a5a7fb1e19", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 53, "avg_line_length": 18.80952380952381, "alnum_prop": 0.6278481012658228, "repo_name": "AgentME/DefinitelyTyped", "id": "20dfc62c4b32321c6ba11fb4b3184042a64a7733", "size"...
</script><b>Coronal slice 144 labels</b> (<a href="../contours/1003/labels.php" onClick="return popup(../contours/1003/labels.php)">full label list</a>):<br /><table align="left" valign="top" width="512px"><tr><td align="left" valign="top"><font size="2">Left Lateral Ventricle<br /> Left Caudate<br /> Left Putamen<br /...
{ "content_hash": "d71bab69160bc49957efdc2f438240d9", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 283, "avg_line_length": 42.48717948717949, "alnum_prop": 0.7109233554616777, "repo_name": "binarybottle/braincolor-roygbiv", "id": "f820803eb4ecacac213c58651320acf840a86967",...
package c99.parser.pp; import c99.Ident; public class PPSymbol extends Ident { public PPSymCode ppCode; public Object ppDecl; public PPSymbol ( byte[] bytes, int hash ) { super( bytes, hash ); } }
{ "content_hash": "cc7c12d42d4ab3adb12e61a842468653", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 42, "avg_line_length": 14.428571428571429, "alnum_prop": 0.7227722772277227, "repo_name": "tmikov/c99", "id": "a5bf6a3cbfde9ed1b8aad287fc64ea37ca1eb434", "size": "202", "...
using Moq; using NUnit.Framework; [TestFixture] public class ShouldStartSinceFileChangedTests { [Test] public void NotProcessedByFody() { var processor = new Processor { Logger = new Mock<BuildLogger>().Object, AssemblyFilePath = typeof (string).Assembly....
{ "content_hash": "8d2de61e8f78af05cb8db4fb08a8f52d", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 92, "avg_line_length": 24.727272727272727, "alnum_prop": 0.5906862745098039, "repo_name": "huoxudong125/Fody", "id": "97ce72c9a307933f32a23329e2f390f69012c2de", "size": "81...
model in "hearts.bug" data in "hearts-data.R" compile, nchains(2) parameters in "hearts-inits.R" initialize update 1000 monitor theta monitor beta monitor p update 10000 coda *
{ "content_hash": "3d55588248c6680a5495624f32f97c28", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 30, "avg_line_length": 14.916666666666666, "alnum_prop": 0.770949720670391, "repo_name": "NLMichaud/nimble", "id": "63c2cd8aaf8af90bdaf02cf05b2d2fc65539c054", "size": "179"...
FROM balenalib/asus-tinker-board-s-ubuntu:focal-run ENV NODE_VERSION 14.16.0 ENV YARN_VERSION 1.22.4 RUN buildDeps='curl libatomic1' \ && set -x \ && for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --keyserver keyserver.pgp.com --recv-keys...
{ "content_hash": "b2a4ed97a536fceee1fb6800cf635de1", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 691, "avg_line_length": 64.53333333333333, "alnum_prop": 0.7048898071625345, "repo_name": "nghiant2710/base-images", "id": "07f2869944e99253e1c9c790bf621d446cdd821b", "size...
sudo rm /var/log/tarantool/bench.log sudo rm /var/log/tarantool/bench2.log sudo rm -rf /var/lib/tarantool/bench/ sudo rm -rf /var/lib/tarantool/bench2/ sudo tarantoolctl restart bench sudo tarantoolctl restart bench2 #sleep 3 ./load.pl --batch_len=5000 --limit=10000 rm load ./post.sh '{"method":"build","id":0,"params":...
{ "content_hash": "2306ed146ada34d7e66369baf17b7a9d", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 61, "avg_line_length": 32.57142857142857, "alnum_prop": 0.6820175438596491, "repo_name": "Sulverus/tarantool-wiki-lookup", "id": "744f0dd13a22e6e1066936b280f2d1060527622f", ...
// // ChartViewControllerTest.m // Demo#227 // // Created by technicise on 11/21/14. // Copyright (c) 2014 technicise. All rights reserved. // #import "ChartViewControllerTest.h" #import "ChartCell.h" @interface ChartViewControllerTest () @end @implementation ChartViewControllerTest { NSArray *ImageArray; ...
{ "content_hash": "d1b0f368e1dd8cde216f124511eb26ed", "timestamp": "", "source": "github", "line_count": 122, "max_line_length": 118, "avg_line_length": 31.557377049180328, "alnum_prop": 0.7031168831168831, "repo_name": "sayan801/GoogleMapIosSamples", "id": "4c682daeb7e650e7b3e3df8f0f2abfa7a87c5b38", ...
package org.camunda.bpm.quarkus.engine.test.helper; import io.quarkus.arc.Arc; import io.quarkus.test.QuarkusUnitTest; import org.camunda.bpm.engine.ProcessEngine; import org.camunda.bpm.engine.impl.test.TestHelper; import org.camunda.bpm.engine.test.Deployment; import org.jboss.shrinkwrap.api.spec.JavaArchive; impor...
{ "content_hash": "f808935522fa7a3511bfcf394772e584", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 119, "avg_line_length": 35.408, "alnum_prop": 0.7245820153637597, "repo_name": "langfr/camunda-bpm-platform", "id": "c5fa1eb44943a836a8a1d02b54b90825d2e9d475", "size": "52...
<?xml version="1.0" encoding="UTF-8"?> <ti:app xmlns:ti="http://ti.appcelerator.org"> <id>com.vfw1401.project1</id> <name>Project1</name> <version>1.0</version> <publisher>Jeshko</publisher> <url>http://</url> <description>not specified</description> <copyright>2014 by Jeshko</copyright> ...
{ "content_hash": "02f3f394961cfbc6cbc125d4a02b3e25", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 77, "avg_line_length": 37.7, "alnum_prop": 0.5773651635720601, "repo_name": "r90230/Hereshko_John_Project1", "id": "fab9a6a10cb47f7d866b6fa1fb9a79abb9e9df2a", "size": "2262...
#ifndef XNFIRMWAREINFO_H #define XNFIRMWAREINFO_H //--------------------------------------------------------------------------- // Includes //--------------------------------------------------------------------------- #include <XnStreamParams.h> #include <XnArray.h> //------------------------------------------------...
{ "content_hash": "6f7baa3565dfa2f9784c166104dd24ec", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 77, "avg_line_length": 27.62264150943396, "alnum_prop": 0.7609289617486339, "repo_name": "Windowsfreak/NIStreamer", "id": "51de9fe86e50297109dfbb8e16555ae355ac15eb", "size...
require 'traffic_source_parser/tools' require 'traffic_source_parser/result/campaign' module TrafficSourceParser module CampaignParser extend self extend Tools def match_cookie_value?(value) value =~ /utm_source|utm_medium|utm_term|utm_content|utm_campaign/ end def parse(campaign_query) ...
{ "content_hash": "8dfb8ab9733c85da93c617e013af992d", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 72, "avg_line_length": 22.428571428571427, "alnum_prop": 0.7006369426751592, "repo_name": "ResultadosDigitais/traffic_source_parser", "id": "d8d0ffa37b88646bcd9a7c2689c49bf25...
Traderun ==== In the spirit of the ludum dare october contest I will try to finish a small fork of my gowt game project in the hopes of releasing a fun yet demanding space trader strategy game. Let's see how that goes.
{ "content_hash": "495142b335b2add67686bbc60f75c144", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 88, "avg_line_length": 27.875, "alnum_prop": 0.7623318385650224, "repo_name": "zorfmorf/loveprojects", "id": "a8e7db6208efaa2a91ba22744196e2f67734c318", "size": "223", "bi...
/*********************************************************************** created: 5/4/2005 author: Tomas Lindquist Olsen (based on code by Paul D Turner) purpose: Implementation of MenuBase widget base class *************************************************************************/ /*************...
{ "content_hash": "9767c03bb5bdb91cd954c7cf88138c48", "timestamp": "", "source": "github", "line_count": 198, "max_line_length": 163, "avg_line_length": 35.85353535353536, "alnum_prop": 0.5210593041273419, "repo_name": "LiberatorUSA/GUCEF", "id": "b3d5cf8093376cf8c324fb1e57f9cf8ef927fd0b", "size": "...
/* Author: Start Bootstrap - http://startbootstrap.com 'SB Admin' HTML Template by Start Bootstrap All Start Bootstrap themes are licensed under Apache 2.0. For more info and more free Bootstrap 3 HTML themes, visit http://startbootstrap.com! */ /* ATTN: This is mobile first CSS - to update 786px and up screen widt...
{ "content_hash": "6a901fb13d4d3c73cb1bdd654471110c", "timestamp": "", "source": "github", "line_count": 324, "max_line_length": 170, "avg_line_length": 24.69753086419753, "alnum_prop": 0.6178455386153462, "repo_name": "maor10/Projectkerendanieli", "id": "8df1d1e9bda816a3f87b371c8b267c783e2b9221", "...
#ifndef ZEPHIR_KERNEL_OBJECT_H #define ZEPHIR_KERNEL_OBJECT_H #include <php.h> #include <Zend/zend.h> #include "kernel/globals.h" #include "kernel/main.h" /** Class Retrieving/Checking */ int zephir_class_exists(const zval *class_name, int autoload); int zephir_interface_exists(const zval *interface_name, int aut...
{ "content_hash": "62e888ee7f0842b420fa843351b5d8f4", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 192, "avg_line_length": 50.397590361445786, "alnum_prop": 0.7487449199139373, "repo_name": "part-lang/part", "id": "b9a2cbdec91a7bdcb547d82d7795b46b65d52b24", "size": "5420...
package C2; public class Ejercicio12 { public static void main(String[] args) { int numero = LibLeer.entero("Introduce un número para calcular su factorial: "); long factorial = 1; for (int i = 1; i <= numero; i++) factorial *= i; System.out.println(numero + "! = " + fa...
{ "content_hash": "dbbca43f4c2942d19642c280a320d181", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 82, "avg_line_length": 24, "alnum_prop": 0.5773809523809523, "repo_name": "xChasingWaves/clase", "id": "309f95eecc57eb9e6f81dd83db1c808d5c31050f", "size": "336", "binary"...
using System.Collections.Generic; using System.Linq; using Hermes.DataObjects.Application; using Hermes.DataObjects.Channel; using Hermes.DataObjects.Notification; using Hermes.Entity.Models; namespace Hermes.Services.Helpers { public static class DtoBuilder { public static ApplicationDto ToDto(this Ap...
{ "content_hash": "30a8449ab1849f9c97e79562944cc64b", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 200, "avg_line_length": 39.52173913043478, "alnum_prop": 0.6314631463146315, "repo_name": "Mithra/hermes", "id": "24cc5d8c42bfe2d9b93ed0e6caf630b0ee77da2a", "size": "1818",...
<?php namespace Google\Service\Contentwarehouse; class GoogleCloudDocumentaiV1DocumentPageToken extends \Google\Collection { protected $collection_key = 'detectedLanguages'; protected $detectedBreakType = GoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak::class; protected $detectedBreakDataType = ''; pro...
{ "content_hash": "e687f7c88208e65ac33464d6fca03d63", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 137, "avg_line_length": 30.07792207792208, "alnum_prop": 0.768566493955095, "repo_name": "googleapis/google-api-php-client-services", "id": "8a893d078b31c22ffc4eb28d819167ed0...
object Test { def main(args: Array[String]): Unit = classOf[java.nio.file.AccessMode].getEnumConstants }
{ "content_hash": "bf3c8ad1e7816b68f04ff342ed04a3f4", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 54, "avg_line_length": 18.833333333333332, "alnum_prop": 0.7079646017699115, "repo_name": "sjrd/dotty", "id": "a7980294f8ed4df0531d8b23f0080a821b17ce93", "size": "133", "b...
module Lab4 where import Data.List import System.Random import Test.QuickCheck import SetOrd -- Exercise 1 {- Questions : [Ger] (Time spent reading: 2 hours) -> Chapter 4.2 & Example 4.5 the Russel paradoxes. The logic appears to make no sense at all. Perhaps a practical example would help to make sense of what ...
{ "content_hash": "d0fd6659db25b278ff11265521776afe", "timestamp": "", "source": "github", "line_count": 286, "max_line_length": 143, "avg_line_length": 40.03496503496503, "alnum_prop": 0.6907423580786026, "repo_name": "Gurrt/software-testing", "id": "408bdfb2c07353d2044305e0f51a46fcd51e81d6", "size...
package it.polimi.genomics.spark.test import it.polimi.genomics.GMQLServer.{DefaultRegionsToRegionFactory, GmqlServer} import it.polimi.genomics.core.DataStructures.MetaJoinCondition.{Default, MetaJoinCondition} import it.polimi.genomics.core.DataStructures.RegionAggregate.RegionsToRegion import it.polimi.genomics.cor...
{ "content_hash": "7772cf866479d8f3448867d8174467cb", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 147, "avg_line_length": 38.35294117647059, "alnum_prop": 0.6334355828220859, "repo_name": "DEIB-GECO/GMQL", "id": "b889d01e16fe9506f17a06bff9891f270a37759a", "size": "3260"...
<?php /** * @package toolkit */ /** * The Section class represents a Symphony Section object. A section is a model * of a data structure using one or more Fields. Sections are stored in the database * and are used as repositories for Entry objects, which are a model for this data * structure. This class contains...
{ "content_hash": "e2333857a0dc37fcb3a0e52d6ce2afc3", "timestamp": "", "source": "github", "line_count": 321, "max_line_length": 137, "avg_line_length": 34.33021806853583, "alnum_prop": 0.6165154264972776, "repo_name": "michael-e/symphony-2", "id": "1fec5c158a954320fa63beb3dd5a0c429d6f895c", "size":...
#define LOG_TAG "AudioCache" #include "platform/CCPlatformConfig.h" #if CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 #include "audio/win32/AudioCache.h" #include <thread> #include "base/CCDirector.h" #include "base/CCScheduler.h" #include "audio/win32/AudioDecoderManager.h" #include "audio/win32/AudioDecoder.h" #defi...
{ "content_hash": "9694641366e868c41838bd48caffadc7", "timestamp": "", "source": "github", "line_count": 357, "max_line_length": 194, "avg_line_length": 29.753501400560225, "alnum_prop": 0.5648653737525889, "repo_name": "literacyapp-org/nyas-space-quest", "id": "30cfc529068557f177402ff90e11b46c24b3413...
cask 'pdfsam-basic' do version '4.0.3' sha256 'c96d058f625fc181830adad47e901cb739a71c11a7dc82e759973753511f6212' # github.com/torakiki/pdfsam was verified as official when first introduced to the cask url "https://github.com/torakiki/pdfsam/releases/download/v#{version}/PDFsam-#{version}.dmg" appcast 'https:...
{ "content_hash": "5d73e09e1a76fb1e85c0fd8a8212e74c", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 94, "avg_line_length": 36.07142857142857, "alnum_prop": 0.7603960396039604, "repo_name": "cblecker/homebrew-cask", "id": "5a1d8703eeeb89f01ded162d0c8647d125015a63", "size":...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Generator extends CI_Controller { /** * Generate forms */ // default page public function index() { $this->load->view('generate'); } }
{ "content_hash": "7b5dbf617fe7d37fa0b08a76c896ba01", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 63, "avg_line_length": 14.125, "alnum_prop": 0.6504424778761062, "repo_name": "comp4711/example-forms", "id": "542f59de2dad5f6efefd3aecfd4f3759b6ea2735", "size": "226", "...
package org.drools.workbench.models.datamodel.oracle; import java.util.Iterator; import java.util.List; public class MethodInfo { private String name; private List<String> params; private String returnClassType; private String parametricReturnType; private String genericType; public Method...
{ "content_hash": "41ad0f76e59a68c60a98d7ad06d82eda", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 84, "avg_line_length": 28.230263157894736, "alnum_prop": 0.5241202516895829, "repo_name": "rokn/Count_Words_2015", "id": "84037b8505ccf74f2234e30001c475eb5e3c3688", "size"...
FROM debian:jessie # Install Git and basic packages. RUN apt-get update && apt-get install -y \ autoconf \ autotools-dev \ build-essential \ bzip2 \ ccache \ curl \ dnsutils \ gcc \ gcc-multilib \ git \ golang \ gyp \ lcov \ libc6 \ libc6-dbg \ libc6-dev \ libgtest-dev \ libtool \ ...
{ "content_hash": "779b4141ab42e14aeef66273a1488dca", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 117, "avg_line_length": 27.88785046728972, "alnum_prop": 0.6702412868632708, "repo_name": "ncteisen/grpc", "id": "986cfcbada508e1d5477f33565f4d96e5caff0e1", "size": "3562"...
* html .u0_normal { background-image: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="每日新增学员数_files/u0_normal.png"); } * html .u2_normal { background-image: none; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="每日新增学员数_files/u2_normal.png"); } * html .u4_norm...
{ "content_hash": "d8497d33d5e079d234688df0ffab2c7c", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 99, "avg_line_length": 30.661538461538463, "alnum_prop": 0.7255393878575013, "repo_name": "tiansiyuan/SQA", "id": "cdb365daafa9eb5f5a5b8fdf79cff4c93543e9b8", "size": "2177"...
const { environment } = require('@rails/webpacker') const webpack = require('webpack') environment.plugins.append( 'Provide', new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery', Popper: ['popper.js', 'default'], }) ) module.exports = environment
{ "content_hash": "5beca2c92f2106089619fe120f49aae6", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 51, "avg_line_length": 22.384615384615383, "alnum_prop": 0.6185567010309279, "repo_name": "srct/schedules", "id": "6b8aac7de844c2dd53192e4f52b72c066dcb776c", "size": "291",...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" content="Copy to clipboard"> <meta name="lang...
{ "content_hash": "b2d92156d89d427e80f630f61a6264e1", "timestamp": "", "source": "github", "line_count": 410, "max_line_length": 999, "avg_line_length": 43.990243902439026, "alnum_prop": 0.6170436903969838, "repo_name": "statsmodels/statsmodels.github.io", "id": "32e7a5032bd70e9b6ca1e77079f65c8c6f77d1...
var AnalyticsController = require('analyticService/analyticService'); Alloy.Globals.analyticsController = new AnalyticsController(); var AdminModeController = require('adminModeService/AdminModeController'); Alloy.Globals.adminModeController = new AdminModeController(); var StorageService = require('storageService/st...
{ "content_hash": "18876cc396c9467e006a9d0f23e29ab1", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 105, "avg_line_length": 34.935064935064936, "alnum_prop": 0.7594795539033458, "repo_name": "lhs/excl-mobile", "id": "eed7d5211e23328f787774933be031bfda9d891f", "size": "374...
// Template Source: BaseMethodRequest.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------...
{ "content_hash": "895329a7c21716298275bf0c0de4ef32", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 244, "avg_line_length": 38.2125, "alnum_prop": 0.6954530585541381, "repo_name": "microsoftgraph/msgraph-sdk-java", "id": "c27395540b3379fbe90a329a5048d22538f33eca", "size":...
package org.apache.camel.builder; import java.util.Map; import org.apache.camel.Expression; import org.apache.camel.builder.xml.Namespaces; import org.apache.camel.model.ExpressionNode; import org.apache.camel.model.language.ExpressionDefinition; /** * Represents an expression clause within the DSL which when the ...
{ "content_hash": "d28b804b34de9cc8388cb95f64fac28f", "timestamp": "", "source": "github", "line_count": 887, "max_line_length": 100, "avg_line_length": 32.36076662908681, "alnum_prop": 0.6388308249721293, "repo_name": "ramonmaruko/camel", "id": "2fc59bc36eca1417b87028e6ecb41f483c2cf98f", "size": "2...
import utils import sys import sortClass class InsertionSort(sortClass.SortClass): @staticmethod def findSlot(myList, value, max): for i in range(max): if (value < myList[i]): return i return max-1 @staticmethod def basicSort(myList): # If the length is one or zero # Nothing more to do. # List is...
{ "content_hash": "0c1156c01db81c660502cab36b2f86d0", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 51, "avg_line_length": 21.026315789473685, "alnum_prop": 0.6795994993742178, "repo_name": "bhagatyj/algorithms", "id": "1c4bb4446a5d7975051bf48b0d599b0bc6f51ac0", "size": "...
/* * 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": "766311238a0bb8ad919452de11c32e16", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 152, "avg_line_length": 42.52717391304348, "alnum_prop": 0.6702875399361022, "repo_name": "martint/presto", "id": "143d49a07ecceb411d8633909fca94bfa3b23a22", "size": "7825...