text
stringlengths
2
1.04M
meta
dict
namespace slave = mesos::internal::slave; using process::Future; using process::Owned; using std::string; using std::vector; using mesos::internal::master::Master; using mesos::internal::slave::DockerRuntimeIsolatorProcess; using mesos::internal::slave::DockerVolumeIsolatorProcess; using mesos::internal::slave::Fet...
{ "content_hash": "25cf651b6a440d3b354f2fc37afe773c", "timestamp": "", "source": "github", "line_count": 1040, "max_line_length": 79, "avg_line_length": 29.178846153846155, "alnum_prop": 0.6941277268832795, "repo_name": "ruhip/mesos1.0.1_20170518", "id": "da96f8646874df31729783416ab9bfad282696c7", "...
[1,2,3].map { 0 } # => [0, 0, 0] # A return statement in a method will from return it. But a return # statement in a proc will return from the enclosing environment. def first_even(nums) nums.each do |num| return num if num.even? end nil end first_even [1,5,7,4,19,8] # => 4
{ "content_hash": "1a1a1f77815afc80c425852d646ac321", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 67, "avg_line_length": 24, "alnum_prop": 0.6493055555555556, "repo_name": "onespeed/ruby-kickstart2", "id": "075cb6db4b8d42ef674c7a80089b64285490d03b", "size": "389", "bi...
package com.iitp.njack.iitp_connect.utils; import java.util.List; import io.reactivex.Observable; import io.reactivex.Single; /** * Pure Android free static utility class * No Android specific code should be added * * All static Android specific utility go into * ui/ViewUtils and others to data/UtilModel */ pu...
{ "content_hash": "d3fef4a08cac25292b4f101be073afda", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 106, "avg_line_length": 28.5, "alnum_prop": 0.6403508771929824, "repo_name": "Njack-IITP/IITP-Connect", "id": "36ff753793182e03aeb4b5d137ad69ca99130ecc", "size": "1596", ...
'use strict'; const {exec} = require('child-process-promise'); const {existsSync} = require('fs'); const {join} = require('path'); const {execRead, logPromise} = require('../utils'); const theme = require('../theme'); const run = async ({cwd, local, packages, version}) => { if (local) { // Sanity test if (!...
{ "content_hash": "c2bab3bbd4d8fd0a828663a6b0cbafb3", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 96, "avg_line_length": 35.172413793103445, "alnum_prop": 0.6475490196078432, "repo_name": "facebook/react", "id": "ea7d1252a06e783790b780c4e49d9d55ec9fa0d0", "size": "2063"...
SELECT RUN_METRIC('android/android_cpu_agg.sql'); SELECT RUN_METRIC('android/cpu_info.sql'); CREATE TABLE raw_metrics_per_core AS SELECT utid, cpu, ( SELECT CASE WHEN layout = 'big_little_bigger' AND cpu < 4 THEN 'little' WHEN layout = 'big_little_bigger' AND cpu < 7 THEN 'big' ...
{ "content_hash": "b7941a6c7437620089c25a93298aff82", "timestamp": "", "source": "github", "line_count": 216, "max_line_length": 76, "avg_line_length": 30.25925925925926, "alnum_prop": 0.6748776009791921, "repo_name": "endlessm/chromium-browser", "id": "44fe394fdc2f77964ab2b9b40324a2e2702cf2e2", "si...
namespace IECoreHoudini { /// Converter which converts from an IECore::PointsPrimitive to a Houdini GU_Detail class ToHoudiniPointsConverter : public IECoreHoudini::ToHoudiniGeometryConverter { public : IE_CORE_DECLARERUNTIMETYPEDEXTENSION( ToHoudiniPointsConverter, ToHoudiniPointsConverterTypeId, IECoreHoudini::T...
{ "content_hash": "a133fff070fdbb845d5f7a27b57768d3", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 142, "avg_line_length": 33.15151515151515, "alnum_prop": 0.7989031078610603, "repo_name": "code-google-com/cortex-vfx", "id": "ecac4044b4b217f06f8aca59eb03ecf366a716ec", "s...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Photobooth - Oxford, Hong-Kong,...
{ "content_hash": "cb07d7c29441236ba4a78c6ce9d4f166", "timestamp": "", "source": "github", "line_count": 256, "max_line_length": 152, "avg_line_length": 45.1171875, "alnum_prop": 0.452034632034632, "repo_name": "Ivandureve/booth", "id": "79b616e790c4b7093b714e0ea4eb08a26e9c84d2", "size": "11550", ...
<!DOCTYPE html> <html lang="en"> <head> <!-- Basic Page Needs –––––––––––––––––––––––––––––––––––––––––––––––––– --> <meta charset="utf-8"> <title>Interruptions | Thank You</title> <meta name="description" content=""> <meta name="author" content=""> <!-- Mobile Specific Metas ––––––––––...
{ "content_hash": "98edf0975aa7d55ae07af29aa8bff843", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 110, "avg_line_length": 33.50617283950617, "alnum_prop": 0.48784082535003687, "repo_name": "lauravsilva/Interruptions", "id": "5709327a051878515f075f0d60d9526db538d0ba", "s...
package essentinal.tendaysofsun.math; public final class Vector2f { private float x; private float y; public Vector2f(final float x, final float y) { this.x = x; this.y = y; } public float getAngle() { return (float) Math.atan2(x, y); } public float getX() { return x; ...
{ "content_hash": "efc076f3dbe1d05632a0f0bebf10aa99", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 51, "avg_line_length": 18.626666666666665, "alnum_prop": 0.5511811023622047, "repo_name": "essentinal/tendaysofsun", "id": "a6c82b58b93396a3fceb4281d67a7d2908d8c650", "size...
@interface AMWideLayout : AMLayout @end
{ "content_hash": "6eaac7a813a669e5ef626cd6012293db", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 34, "avg_line_length": 13.666666666666666, "alnum_prop": 0.7804878048780488, "repo_name": "m4rw3r/Amethyst", "id": "c0f56773f1803ebc641e3e153f20236d2d5cc7be", "size": "406",...
#ifndef H_SM_UTILS #define H_SM_UTILS #include <stdio.h> /** Tries to open a file for reading; if filename == "-" or "stdin", returns standard input. An error message is printed in case of error. */ FILE * open_file_for_reading(const char*filename); /** Tries to open a file for reading; if filename == "-" | "std...
{ "content_hash": "b1f32db6da9f9c44111198ca619731fc", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 76, "avg_line_length": 31.551724137931036, "alnum_prop": 0.6688524590163935, "repo_name": "ozaslan/basics", "id": "99ed4bbb14550200fee2b07ebf10d48f5b35cac8", "size": "915",...
 CKEDITOR.plugins.setLang("specialchar", "fr-ca", { euro: "Symbole Euro", lsquo: "Guillemet simple ouvrant", rsquo: "Guillemet simple fermant", ldquo: "Guillemet double ouvrant", rdquo: "Guillemet double fermant", ndash: "Tiret haut", mdash: "Tiret", iexcl: "Point d'exclamation inversé"...
{ "content_hash": "dede2ffe0e04c0ee7f9c0852ee4b2502", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 50, "avg_line_length": 30.74380165289256, "alnum_prop": 0.621505376344086, "repo_name": "GowthamITMARTX/adsports", "id": "161d16cc4933e959c7136e58837714033ed546a8", "size"...
 #pragma once #include <aws/cloudfront/CloudFront_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/DateTime.h> #include <aws/cloudfront/model/ActiveTrustedSigners.h> #include <aws/cloudfront/model/StreamingDistributionConfig.h> namespace Aws { namespace Utils { namespace Xml { cl...
{ "content_hash": "3869f92be21165a51b7ce12f71f4c857", "timestamp": "", "source": "github", "line_count": 288, "max_line_length": 179, "avg_line_length": 43.71875, "alnum_prop": 0.7187673735207688, "repo_name": "ambasta/aws-sdk-cpp", "id": "78d418008f80777b9d86ebbbf2c7ebcff050aa97", "size": "13164", ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Linq; using System.Windows.Forms; using DotSpatial.Data; using DotSpatial.Symbology; using NetTopologySuite.Geometries; namespace DotSpatial.Controls { /// <summary> /...
{ "content_hash": "e3eab0dafcf52ff21c8ec28a97b9db2f", "timestamp": "", "source": "github", "line_count": 625, "max_line_length": 152, "avg_line_length": 40.056, "alnum_prop": 0.5476732574395846, "repo_name": "DotSpatial/DotSpatial", "id": "25e6fd4accf167bbe0ff08055620d1e12a7f8564", "size": "25197", ...
""" Ex. 7: Write a python program that creates a list. One of the elements of the list should be a dictionary with at least two keys. Write this list out to a file using both YAML and JSON formats. The YAML file should be in the expanded form. Creates a list. One of the elements of the list is a dictionary with two k...
{ "content_hash": "dc34c10373bf8b44e453ee35be5ba32c", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 88, "avg_line_length": 24.595744680851062, "alnum_prop": 0.634083044982699, "repo_name": "jrslocum17/pynet_test", "id": "4c0495ea9db8deac963b706997d02993225c2cb4", "size": ...
import { Component, Input, OnInit, OnDestroy } from '@angular/core'; import { Router, NavigationEnd, Event } from '@angular/router'; import { Subscription } from 'rxjs'; import { filter } from 'rxjs/operators'; import { ToolsNameService } from './tools-name.service'; import { MapOptions } from '../options'; import {...
{ "content_hash": "bd1d9e899e70651d495f3336a754e7dd", "timestamp": "", "source": "github", "line_count": 238, "max_line_length": 223, "avg_line_length": 34.15126050420168, "alnum_prop": 0.6918061023622047, "repo_name": "anged/vm-ng", "id": "f6549b417fbd93536b2e779f41c2b05fe7df2591", "size": "8128", ...
<!-- --> <!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="viewport" content="width=device-width, initia...
{ "content_hash": "ec80e53667c13fbf511d584c8a2b50bd", "timestamp": "", "source": "github", "line_count": 342, "max_line_length": 299, "avg_line_length": 32.760233918128655, "alnum_prop": 0.5138343448768297, "repo_name": "valepu/isometric", "id": "6e6d9ddb5caeae306ff0bdeed4e9f2593c269039", "size": "1...
#region Disclaimer/License Info /* *********************************************** */ // sBlog.Net // sBlog.Net is a minimalistic blog engine software. // Homepage: http://sblogproject.net // Github: http://github.com/karthik25/sBlog.Net // This project is licensed under the BSD license. // See the License.txt ...
{ "content_hash": "ec13389f37f5df1c929444b2241de961", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 144, "avg_line_length": 32.66304347826087, "alnum_prop": 0.6136439267886855, "repo_name": "karthik25/sblog.net", "id": "2a62ff97eab4a5df20024897f85f01f5e7d2eb9f", "size": "...
<?php namespace Grav\Plugin; use Composer\Autoload\ClassLoader; use Grav\Common\Plugin; /** * Class MarkdownRubytextPlugin * @package Grav\Plugin */ class MarkdownRubytextPlugin extends Plugin { /** * @return array * * The getSubscribedEvents() gives the core a list of events * that the...
{ "content_hash": "61da98293b4a792d4678bc9520536194", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 129, "avg_line_length": 30.666666666666668, "alnum_prop": 0.4722222222222222, "repo_name": "tidiview/grav-plugin-markdown-rubytext", "id": "004755514aac0ce8d5a017da3406a3e320...
from pagediterator import PagedIterator from unittest import TestCase from mock import MagicMock, call class PagedIterator1(PagedIterator): def __init__(self): PagedIterator.__init__(self) self.fetch_page(0) @property def total_size(self): return self._total_size @property ...
{ "content_hash": "d68812a844208873579b786a44eb12cf", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 72, "avg_line_length": 33.29838709677419, "alnum_prop": 0.6224267377088883, "repo_name": "elliotchance/pagediterator-python", "id": "b0e7c367853b25e447aa12fee34c7049c9c8e9cd...
module CollinsNotify class Configuration include CollinsNotify::ConfigurationMixin attr_reader :logger attr_accessor :adapters def initialize logger, opts = {} @adapters = {} configurable.each do |key, value| instance_variable_set "@#{key.to_s}".to_sym, value end @lo...
{ "content_hash": "792397bf727925009cd371f6fb7d773c", "timestamp": "", "source": "github", "line_count": 200, "max_line_length": 98, "avg_line_length": 24.75, "alnum_prop": 0.5761616161616162, "repo_name": "byxorna/collins", "id": "bd127048b0d3e29a2995c32c09bbac499a24caf3", "size": "4950", "binary...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Code Coverage for /var/www/sites/sportlobster.dev/src/Sport/LobsterBundle/Service</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="../css/bootstrap.min.css" rel="stylesheet"> <link href="../css/sty...
{ "content_hash": "c57395838d48e5ace340b11783305b65", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 292, "avg_line_length": 43.84166666666667, "alnum_prop": 0.5939935373503137, "repo_name": "frak/lobster", "id": "9d658e89515cc9e520f021c44d32b12558f11995", "size": "5261",...
package org.ops4j.pax.cdi.spi; import java.util.Collection; import org.osgi.framework.Bundle; /** * A {@code CdiContainerFactory} creates a CDI container for OSGi bundles using a composite class * loader including the given bundle, the CDI implementation bundle and any CDI extension bundles * resolved at the giv...
{ "content_hash": "13d993d43988bb9fa8c1459c7fdce90d", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 111, "avg_line_length": 32.014084507042256, "alnum_prop": 0.6893972723273207, "repo_name": "puce77/org.ops4j.pax.cdi", "id": "8a484d29f21f42a248d7ecaab2ab7e11d908bd75", "si...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <TextView android:id="@+id/tv_text" android:layout_width="fill_...
{ "content_hash": "7b9d51e203ead492ad537676f96a9ad9", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 72, "avg_line_length": 35.69565217391305, "alnum_prop": 0.6479902557856273, "repo_name": "alex-yh99/HTMLViewer", "id": "47a70579117767862bdffc5425adc3595d27f544", "size": "...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "d6f6c4470d4eb262e85958ad2f015344", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "31e93d7b51d678641b2b129d029fde6901b49840", "size": "199...
@interface SFResourceManager : SFGameSingleton { //we need a central place for the multiple resources to be referenced, regardless of what they are used for //so that we can restrict simultaneous destructive access over threads NSMutableDictionary *_resources; NSMutableDictionary *_itemGroups; NSMutableDictiona...
{ "content_hash": "a01ddcc4e7a0336a9950155acac7a0bc", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 108, "avg_line_length": 41.93333333333333, "alnum_prop": 0.8012718600953895, "repo_name": "iosengineer/zombieArcade", "id": "833dcc0725d40ae6b9d994d909a231c00c160b0d", "siz...
<?php /* * This file is part of PHP CS Fixer. * * (c) Fabien Potencier <fabien@symfony.com> * Dariusz Rumiński <dariusz.ruminski@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace PhpCsFixer\Fixer\ArrayNotation; use PhpC...
{ "content_hash": "6ef31a39e10f76b6aa31aa885f11f502", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 120, "avg_line_length": 31.262135922330096, "alnum_prop": 0.6, "repo_name": "GrahamCampbell/PHP-CS-Fixer", "id": "a5bbc67cdfe41822946e5b4d82be90cca7e5e45e", "size": "3221"...
namespace crashpad { namespace internal { //! \brief A SystemSnapshot of the running system, when the system runs iOS. class SystemSnapshotIOSIntermediateDump final : public SystemSnapshot { public: SystemSnapshotIOSIntermediateDump(); SystemSnapshotIOSIntermediateDump(const SystemSnapshotIOSIntermediateDump&) ...
{ "content_hash": "962cbc65e101bbe2fd0d95250c33a879", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 90, "avg_line_length": 33.87837837837838, "alnum_prop": 0.7227762265656162, "repo_name": "chromium/crashpad", "id": "4c9ef11898636feec5398b32a3f733295c4688a8", "size": "350...
' 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. Imports Microsoft.CodeAnalysis.Text Imports Microsoft.CodeAnalysis.VisualBasic.LanguageServices Imports Microsoft.Code...
{ "content_hash": "1a7c9c4a06de2e95892d925a830f376a", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 160, "avg_line_length": 53.58536585365854, "alnum_prop": 0.7043695949021392, "repo_name": "weltkante/roslyn", "id": "b2dac3164d143260857cbcf918be12b60ab9ae6e", "size": "439...
/* *Ваши права на использование кода регулируются данной лицензией http://o-s-a.net/doc/license_simple_engine.pdf */ using System; using System.Windows; using System.Windows.Forms; using MessageBox = System.Windows.MessageBox; using TextBox = System.Windows.Forms.TextBox; namespace OsEngine.Charts.CandleChart.Indic...
{ "content_hash": "9092739940546ef672cbeb53e6f47017", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 111, "avg_line_length": 30.15730337078652, "alnum_prop": 0.5700447093889717, "repo_name": "draco777/OsEngine", "id": "c84f049d8ec3c35b8f5f3bac4d0f7bb391f2d480", "size": "29...
Cloudant-Python =============== |Build Status| |Coverage Status| |PyPi version| |PyPi downloads| An effortless Cloudant / CouchDB interface for Python. Install ------- :: pip install cloudant Usage ----- Cloudant-Python is a wrapper around Python `Requests <http://www.python-requests.org/en/latest/>`__ for i...
{ "content_hash": "995b87a2c3053e7a071ae699f0ceab0a", "timestamp": "", "source": "github", "line_count": 269, "max_line_length": 99, "avg_line_length": 27.79553903345725, "alnum_prop": 0.6903838437876153, "repo_name": "ibmjstart/bluemix-python-sample-twitter-influence-app", "id": "617c6fd21f7d36ea07c7...
<?php namespace PHPExiftool\Driver\Tag\MXF; use JMS\Serializer\Annotation\ExclusionPolicy; use PHPExiftool\Driver\AbstractTag; /** * @ExclusionPolicy("all") */ class GroupSet extends AbstractTag { protected $Id = '060e2b34.0101.0105.06010104.02400500'; protected $Name = 'GroupSet'; protected $Full...
{ "content_hash": "0a55d639d27d04a14ef5e6265eb5798b", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 59, "avg_line_length": 16.228571428571428, "alnum_prop": 0.6549295774647887, "repo_name": "romainneutron/PHPExiftool", "id": "8d6e6a7f49f7f8bd66535e96214b0785849d5907", "si...
package com.example.gs.mvpdemo.contract; /** * Created by kyluzoi on 2016/11/26. * 18:28 * * @VERSION V1.4 * 契约类,定义登录用到的一些接口方法 */ public class LoginContract { public interface LoginView { String getUserName(); String getPwd(); void loginSuccess(String str); void loginFail...
{ "content_hash": "c4380f60f11479d76e5ea7342ac42c39", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 44, "avg_line_length": 16.185185185185187, "alnum_prop": 0.6292906178489702, "repo_name": "HappyImp/BaseMvpOkhttpdemo", "id": "9d73deabf025dc7f3d03de2a482ec4052ca40147", "s...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="JavaScriptLibraryMappings"> <file url="PROJECT" libraries="{jquery-3.2.1}" /> </component> </project>
{ "content_hash": "d69a5e8ddd0a3fd0ff91156f997631bb", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 53, "avg_line_length": 31.166666666666668, "alnum_prop": 0.6684491978609626, "repo_name": "stephenpassero/simonGame", "id": "3e36eb1c93a307f2b4d9f968bf2450d7339af5b9", "size...
// Generated by CoffeeScript 1.10.0 (function() { var KEY_SUFFIX, URL, WebSocketClientConnection, WebSocketServer, WebSocketServerConnection, createWebSocketServer, crypto, encodeMessage, events, exports, genMask, genWebSocketKey, hashWebSocketKey, http, lowerObjKeys, opcodes, test, unmask, util, uuid; events = re...
{ "content_hash": "d6f12e204aa4536b539ebabbbb114806", "timestamp": "", "source": "github", "line_count": 522, "max_line_length": 255, "avg_line_length": 30.674329501915707, "alnum_prop": 0.5862478141393954, "repo_name": "sandy98/node-simple-router", "id": "85d6243fddf68fdde2c0ecc359c0a070af445bde", ...
from __future__ import division from vistrails.core.bundles.pyimport import py_import from vistrails.core.modules.vistrails_module import ModuleError from ..common import get_numpy, TableObject, Table def get_xlrd(): try: return py_import('xlrd', { 'pip': 'xlrd', ...
{ "content_hash": "d362b6ac9d63a7f0cefa81063fb656b6", "timestamp": "", "source": "github", "line_count": 233, "max_line_length": 79, "avg_line_length": 38.3862660944206, "alnum_prop": 0.48669499105545616, "repo_name": "hjanime/VisTrails", "id": "9dcfd6c2a1a82a2f9d39de384bae0804ed3561a3", "size": "10...
Making a new portfolio using React
{ "content_hash": "da323018d031c64153586bc2465ab2c3", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 34, "avg_line_length": 35, "alnum_prop": 0.8285714285714286, "repo_name": "vincentnavetat/portfolio", "id": "909e2353ae6d8782754fc4bf1e79c742d2540922", "size": "48", "bina...
using System; using JSIL.Meta; public static class Program { public static void Main (string[] args) { T.ShouldNotBeExternal(); T.ShouldBeExternal(); } } public static class T { public static void ShouldBeExternal () { Console.WriteLine("This shouldn't be translated!"); } ...
{ "content_hash": "3b9907f5ef2180033828a42cdc61fe14", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 59, "avg_line_length": 22.35, "alnum_prop": 0.6465324384787472, "repo_name": "Trattpingvin/JSIL", "id": "da5472635225b7bbeaab3bd9b0b5d61dd9fba7b4", "size": "449", "binary...
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta http-equiv="content-type" content="t...
{ "content_hash": "4a46824568d7bf3967cf93060603236e", "timestamp": "", "source": "github", "line_count": 241, "max_line_length": 126, "avg_line_length": 22.904564315352697, "alnum_prop": 0.6617753623188406, "repo_name": "hippoandy/hippoandy.github.io", "id": "9296f6c25c6a2c9391da1e683cd5f8e7f9dff45d",...
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2014-2015 Sean Liu. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0...
{ "content_hash": "c597a2d540ce3b18890aaba32ac77706", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 76, "avg_line_length": 33.69620253164557, "alnum_prop": 0.6468820435762584, "repo_name": "lzhenyu0/Pioneer", "id": "e1e0bcea40b131af210f617561d0e7b663cd0783", "size": "2662...
namespace blink { class LayoutEmbeddedObject; struct PaintInfo; struct PhysicalOffset; class EmbeddedObjectPainter { STACK_ALLOCATED(); public: EmbeddedObjectPainter(const LayoutEmbeddedObject& layout_embedded_object) : layout_embedded_object_(layout_embedded_object) {} void PaintReplaced(const PaintIn...
{ "content_hash": "278f21777292a973b33fd19cb417a68f", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 75, "avg_line_length": 24.136363636363637, "alnum_prop": 0.775894538606403, "repo_name": "chromium/chromium", "id": "b42caa3b22c1ba8489ed7de27a40d0dba43c838d", "size": "896...
package org.frameworkset.web.socket.sockjs.transport; import java.util.Map; import org.frameworkset.http.MediaType; import org.frameworkset.http.ServerHttpRequest; import org.frameworkset.web.socket.inf.WebSocketHandler; import org.frameworkset.web.socket.sockjs.SockJsServiceConfig; import org.frameworkset.we...
{ "content_hash": "13a8a91ae3e1c52ac4273b3df4a0d39b", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 91, "avg_line_length": 28.732394366197184, "alnum_prop": 0.7549019607843137, "repo_name": "bbossgroups/bboss", "id": "0693d0027417342bd220ece83ec2521157e3e019", "size": "20...
<!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.6.0_26) on Sat Nov 05 23:16:33 EST 2011 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Package com.puppycrawl.to...
{ "content_hash": "f27cffdca4ae6c47627b5e03d78feb6f", "timestamp": "", "source": "github", "line_count": 187, "max_line_length": 320, "avg_line_length": 44.97860962566845, "alnum_prop": 0.6443942456307217, "repo_name": "kentwang/algs4", "id": "9e1ac479dde0c1f422f1db160e20f32b8e6d3ba3", "size": "8411...
import tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['BoxCox'] , ['Lag1Trend'] , ['Seasonal_DayOfMonth'] , ['SVR'] );
{ "content_hash": "87f0736102bd8e4f8199b08d61afa15f", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 86, "avg_line_length": 39.75, "alnum_prop": 0.710691823899371, "repo_name": "antoinecarme/pyaf", "id": "90e7dc5c9c6696e98170384be44352032a9dc698", "size": "159", "binary":...
// // DTTextSelectionRect.h // DTRichTextEditor // // Created by Oliver Drobnik on 9/11/12. // Copyright (c) 2012 Cocoanetics. All rights reserved. // @class DTTextSelectionRect; /** Protocol for a objects representing part of a text selection. */ @protocol DTTextSelectionRect <NSObject> /** The frame rectang...
{ "content_hash": "c2a8561c10277272809fe3968d1e23e8", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 251, "avg_line_length": 29.925, "alnum_prop": 0.7740183792815372, "repo_name": "Cocoanetics/DTRichTextEditor", "id": "b54cd3a1e85fb71ba9f0fd4d096bb1abfc346419", "size": "23...
package com.giftedchat; import android.app.Application; import com.facebook.react.ReactApplication; import com.airbnb.android.react.maps.MapsPackage; import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactPackage; import com.facebook.react.shell.MainReactPackage; import com.facebook.soloader.SoLoad...
{ "content_hash": "af4d0fd328f760a29a41fa67ef6f1a63", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 78, "avg_line_length": 24.69047619047619, "alnum_prop": 0.7367405978784957, "repo_name": "pluralcom/react-native-gifted-chat", "id": "470f65ae8dffbb0f6b208cc44c6208607f1de8dd...
package org.apache.commons.digester3.binder; import org.apache.commons.digester3.BeanPropertySetterRule; /** * Builder chained when invoking {@link LinkedRuleBuilder#setBeanProperty()}. */ public final class BeanPropertySetterBuilder extends AbstractBackToLinkedRuleBuilder<BeanPropertySetterRule> { priva...
{ "content_hash": "d4bd195c385a17af2b2f92e577dda2bb", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 94, "avg_line_length": 28.171875, "alnum_prop": 0.6616749861342207, "repo_name": "callMeDimit/commons-digester", "id": "f556b98dbb304ea740a691939da3909396135c6d", "size": "...
// Version var version = "0.1.3-dev"; //! The main instance of Cala var Cala = Cala || {}; //! Some constants var ERROR_NO_VALID_USER = "-300"; var ERROR_USER_WRONG_LOGIN_INFO = "-301"; var ERROR_USER_NO_VALID_SESSION = "-302"; var ERROR_USER_ACCESS_DENIED = "-303"; var ERROR_USER_EXIST...
{ "content_hash": "3b24684124f1f69f3c00d5ff58b03bd5", "timestamp": "", "source": "github", "line_count": 1184, "max_line_length": 145, "avg_line_length": 27.136824324324323, "alnum_prop": 0.5525676937441644, "repo_name": "lasangha/bhavana", "id": "4ebe21fb4011aa96646f3c4d6884c8f28df163de", "size": "...
import * as _ from 'lodash'; import { Observable, Subscriber } from 'rxjs'; import { Scene, SceneManager, ResourceManager, AudioManager, PRELOAD_RESOURCE, PRELOAD_DEPENDENCY } from '../../app'; import { Injector, Injectable } from '../../di'; import { Map, Character_Actor, CHARACTER_DIRECTION, CHARACTER_STATUS, Charact...
{ "content_hash": "226ee4955abc0a14073242a970dad164", "timestamp": "", "source": "github", "line_count": 198, "max_line_length": 150, "avg_line_length": 37.48989898989899, "alnum_prop": 0.6008352418159774, "repo_name": "SkyZH/HackableTower", "id": "f3444ccef6c94337e07913e334f3971c154b7a6d", "size": ...
<?php namespace EasyCorp\Bundle\EasyAdminBundle\Filter; use Doctrine\ORM\QueryBuilder; use EasyCorp\Bundle\EasyAdminBundle\Contracts\Filter\FilterInterface; use EasyCorp\Bundle\EasyAdminBundle\Dto\EntityDto; use EasyCorp\Bundle\EasyAdminBundle\Dto\FieldDto; use EasyCorp\Bundle\EasyAdminBundle\Dto\FilterDataDto; use E...
{ "content_hash": "49ecee3da01b5d5ea8e3f56e671ca61d", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 132, "avg_line_length": 36.21951219512195, "alnum_prop": 0.6983164983164983, "repo_name": "javiereguiluz/EasyAdminBundle", "id": "053e6747f43e5cd6759e040fb6f000aed2277255", ...
The best way to contribute to CuteHMI is through [KDE Invent](https://invent.kde.org/) GitLab infrastructure. You will need [KDE Identity](https://identity.kde.org/) to have anything more than view-only access to the repositories. If you don't have KDE Identity you can [register](https://identity.kde.org/index.php?r=re...
{ "content_hash": "31efb81d223cdb51865b763718f4c0bd", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 82, "avg_line_length": 43.55263157894737, "alnum_prop": 0.7728096676737161, "repo_name": "michpolicht/CuteHMI", "id": "9b937ab2bad43d7ede9f3c9294ca603e1fb42625", "size": "1...
[![Build Status](https://cloud.drone.io/api/badges/ipedrazas/drone-helm/status.svg)](https://cloud.drone.io/ipedrazas/drone-helm) [![Docker Repository on Quay](https://quay.io/repository/ipedrazas/drone-helm/status "Docker Repository on Quay")](https://quay.io/repository/ipedrazas/drone-helm) [![Go Doc](https://godoc.o...
{ "content_hash": "8bcc5b2f9794e2f7e6b94edaff990bf6", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 174, "avg_line_length": 49.75438596491228, "alnum_prop": 0.7390691114245416, "repo_name": "ipedrazas/drone-helm", "id": "aa30c7ccd0fae19ad9e32b513faaa38725f9af2f", "size": ...
<?php namespace Presta; class Db { /** @var array List of DB instances */ public static $instance = array(); /** @var array List of server settings */ public static $_servers = array(); /** @var null Flag used to load slave servers only once. * See loadSlaveServers() method. */ pu...
{ "content_hash": "41c666f4bff9d4e3497d2d2b82da44a0", "timestamp": "", "source": "github", "line_count": 212, "max_line_length": 176, "avg_line_length": 32.471698113207545, "alnum_prop": 0.5817838466008135, "repo_name": "web3d/Presta", "id": "cd52a55996a4b09d83c8240b4f6418082f312769", "size": "6884"...
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.Common; using System.Diagnostics; using System.Globalization; using System.Text; using System.Diagnostics.CodeAnalysis; namespace System.Data.Common { public class DbConnectio...
{ "content_hash": "172bf99fdf58be9bdfa37b8297a0844a", "timestamp": "", "source": "github", "line_count": 299, "max_line_length": 137, "avg_line_length": 31.51839464882943, "alnum_prop": 0.5154923599320883, "repo_name": "mafiya69/corefx", "id": "5dbcb46093587f47a593ec0f2858f062d5c3385e", "size": "971...
var gulp = require('gulp'); var babel = require('gulp-babel'); var jshint = require('gulp-jshint'); var plumber = require('gulp-plumber'); var stylish = require('jshint-stylish'); var changed = require('gulp-changed'); var rimraf = require('rimraf'); var jshintConfig = { bitwise: true, curly : true, ...
{ "content_hash": "f6982c61a7c6b58c73d666259cc9988b", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 71, "avg_line_length": 23.855555555555554, "alnum_prop": 0.49417792268281324, "repo_name": "buckutt/Eve-Server", "id": "ad43c9602e6f404fccb54fe98478073ac7d89be2", "size": "...
"""Commands for reading and manipulating users.""" from googlecloudsdk.calliope import base @base.ReleaseTracks(base.ReleaseTrack.ALPHA, base.ReleaseTrack.BETA) class Users(base.Group): """Read and manipulate Google Compute Engine users.""" Users.detailed_help = { 'brief': 'Read and manipulate Google Compute ...
{ "content_hash": "89b0941ca9b2ef8d9e8a3a865e1e1994", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 68, "avg_line_length": 28.083333333333332, "alnum_prop": 0.7566765578635015, "repo_name": "KaranToor/MA450", "id": "eed7cc43924f7c62987c13955afd53bc7751c135", "size": "932"...
<head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>audio - MuzHack</title> <meta name="description" content=""> <meta name="HandheldFriendly" content="True"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut ...
{ "content_hash": "9e01885612fae5d85a70291c87b6a75f", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 243, "avg_line_length": 38.968992248062015, "alnum_prop": 0.6286055301372588, "repo_name": "muzhack/muzhack.github.io", "id": "ac028c8607d6e8cabbdd71fcb73bdad7fba406d3", "...
namespace nex { class matrix; class plane; class point; class vector; float determinant(const matrix&); matrix inverse(const matrix&); matrix transpose(const matrix&); class matrix { public: static matrix translate(float x, float y, float z); static matrix translate(const point& position); sta...
{ "content_hash": "dd13a34e676d7b6961b446c2bd92bf1e", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 94, "avg_line_length": 31.08695652173913, "alnum_prop": 0.583916083916084, "repo_name": "jlukacs/nex", "id": "4793ebc613a948786224612ba2984f58270319c3", "size": "1473", "...
package ejb_generated; import adapt.exceptions.InvariantException; public class CfPrize_ClassConstraints extends CfPrize_Class{ private String objectName; public String getObjectName() { return objectName; } public void setObjectName(String objectName) { this.objectName = objectName; } }
{ "content_hash": "ab56a7a885e5db8509a5eac83b630338", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 60, "avg_line_length": 20.133333333333333, "alnum_prop": 0.7880794701986755, "repo_name": "KROKIteam/KROKI-CERIF-Model", "id": "ee34b581d19da9bd68ec2cb0e8177e63800e63b2", "...
from __future__ import annotations import numpy as np from progressivis.core.module import Module, ReturnRunStep from progressivis.core.slot import SlotDescriptor from progressivis.core.bitmap import bitmap from progressivis.core.utils import indices_len from ..io import Variable from ..stats import Min, Max from ..u...
{ "content_hash": "691b619c7ab35fb5aabdeefaa39a7760", "timestamp": "", "source": "github", "line_count": 374, "max_line_length": 87, "avg_line_length": 35.68181818181818, "alnum_prop": 0.5668040464593481, "repo_name": "jdfekete/progressivis", "id": "23550942289a2395eaaa486953a05c9838345539", "size":...
from ioant_mysqlhelper.db import db from ioant import utils import sys import logging logger = logging.getLogger(__name__) def main( configFile, schemaFile ): configuration = utils.fetch_json_file_as_dict( configFile ) schema = utils.fetch_json_file_as_dict( schemaFile ) db_host = configuration['mysqlDat...
{ "content_hash": "ec7e52e1157dcd4ee2963a3133b8cbdd", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 66, "avg_line_length": 31.6, "alnum_prop": 0.581374321880651, "repo_name": "ioants/ioant", "id": "221818ee6fd694c324f1aab48e99b4af5e1c00d1", "size": "1344", "binary": fal...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:visibility="gone"> <RelativeLayout android:layout_width="140dp" android:l...
{ "content_hash": "403eddde66d2d7ad919c30b8ea79277a", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 66, "avg_line_length": 38.85294117647059, "alnum_prop": 0.5692657077971234, "repo_name": "Dmanliang/CaiKePlan", "id": "3d273a62c19e74d4d3f5845aa67a4e0195743ee6", "size": "1...
#ifndef __ASM_ARCH_MSM_IOMAP_MDM9630_H #define __ASM_ARCH_MSM_IOMAP_MDM9630_H /* Physical base address and size of peripherals. * Ordered by the virtual base addresses they will be mapped at. * * If you add or remove entries here, you'll want to edit the * io desc array in arch/arm/mach-msm/io.c to reflect your ...
{ "content_hash": "e9b18c6100ce116845b8084ddc288831", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 64, "avg_line_length": 24.043478260869566, "alnum_prop": 0.7377938517179023, "repo_name": "OmniEvo/omnievo_kernel_moto_shamu", "id": "8ce78b4648882634e1571f07d0e50f9a5b311cea...
<html> <head><title>Test rubber banding overhang drawing in compositing path</title></head> <body> <div style="height:30px; background-color:black; width:100%"> <b style="-webkit-transform:translateZ(0); position:absolute"></b> </div> <div id="info">This test requires DRT.</div> <script> if (window.internals && wi...
{ "content_hash": "e965263fc3d6b670872a969c3c10e7cb", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 84, "avg_line_length": 33.78947368421053, "alnum_prop": 0.6993769470404985, "repo_name": "crosswalk-project/blink-crosswalk-efl", "id": "d1d2830d56b83a40756b153e40e7f334c20a7...
require File.dirname(__FILE__) + '/../spec_helper' # Be sure to include AuthenticatedTestHelper in spec/spec_helper.rb instead # Then, you can remove it from this and the units test. include AuthenticatedTestHelper describe UsersController do fixtures :users setup do #stub mailer ActionMailer::Base.delive...
{ "content_hash": "26563c97081989a9bd21ba06a14deb1a", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 78, "avg_line_length": 28.788235294117648, "alnum_prop": 0.6702084184715978, "repo_name": "l34marr/mapwarper", "id": "3616567119b50a0f66a888f7b23ca9ea707a51b8", "size": "24...
package com.jme3.shader; import com.jme3.export.InputCapsule; import com.jme3.export.JmeExporter; import com.jme3.export.JmeImporter; import com.jme3.export.OutputCapsule; import com.jme3.export.Savable; import java.io.IOException; /** * A shader node variable * * @author Nehon */ public class Sha...
{ "content_hash": "1488e2fb721e14437e28dea58acb8edd", "timestamp": "", "source": "github", "line_count": 243, "max_line_length": 125, "avg_line_length": 26.39917695473251, "alnum_prop": 0.5652377240841777, "repo_name": "davidB/jmonkeyengine", "id": "81dba4f52baffbd3967c01bf6ec83eccc830476f", "size":...
#ifndef TENSORFLOW_COMPILER_TF2TENSORRT_SEGMENT_SEGMENT_H_ #define TENSORFLOW_COMPILER_TF2TENSORRT_SEGMENT_SEGMENT_H_ #include <set> #include <vector> #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/graph/graph.h" #include "tensorflow/core/grappler/costs/graph_properties.h" #include "tenso...
{ "content_hash": "29f0f3086d089d71220f133757bf1920", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 80, "avg_line_length": 35.93103448275862, "alnum_prop": 0.713531669865643, "repo_name": "aldian/tensorflow", "id": "3f79983cfd2c596a89cefe2e0528c1ff865ceba7", "size": "2752...
#ifndef __INCLUDE_STDLIB_H #define __INCLUDE_STDLIB_H /**************************************************************************** * Included Files ****************************************************************************/ #include <nuttx/config.h> #include <nuttx/compiler.h> #include <sys/types.h> #include <...
{ "content_hash": "d631c048d972c27debc6f1b3508c91aa", "timestamp": "", "source": "github", "line_count": 172, "max_line_length": 78, "avg_line_length": 27.319767441860463, "alnum_prop": 0.5654394552032347, "repo_name": "Yndal/ArduPilot-SensorPlatform", "id": "74ecbf4ed31d3548d332a24e4211cb88a3e3a4b0",...
module.exports = require('./lib/Rejewski.js');
{ "content_hash": "7c31c79b1ae69954a093cecf197a019e", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 46, "avg_line_length": 16.333333333333332, "alnum_prop": 0.673469387755102, "repo_name": "jas-/Rejewski", "id": "24a2c7e9e09b0e64ee579f2b4d8fae9d36c60699", "size": "898", ...
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <android.support.v7.widget.RecyclerView android:id="@+id/dynamic_list" android:layout_width="match_pa...
{ "content_hash": "7cac61727f940a2b7a0aa85ac3af87b8", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 107, "avg_line_length": 39, "alnum_prop": 0.7029914529914529, "repo_name": "ZhangZhenghao/Material-WeCenter", "id": "9de05b5c9a23728f202340cf152ac4bd108a434a", "size": "468...
using System; using System.Collections; using UnityEngine; public class EnemyAI : MonoBehaviour { public void SetCard(Board board, Hand hand, ref InputResult result) { this.wise = EnemyData.Main.Wise; Int32 playerScore = QuadMistGame.main.PlayerScore; Int32 enemyScore = QuadMistGame.main.EnemyScore; Int32[,...
{ "content_hash": "c9c765c33e354119a702c739628b3ed9", "timestamp": "", "source": "github", "line_count": 196, "max_line_length": 118, "avg_line_length": 27.908163265306122, "alnum_prop": 0.6296160877513711, "repo_name": "Albeoris/Memoria", "id": "474d40ffd539aa5f4a57ad7257f028a9d1f1d0d9", "size": "5...
 using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Text; using NUnit.Framework; namespace Google.Apis.Tests.Utility { /// <summary> /// MockServer creates a server which allows us to set up and validate requests and /// supply mocked responses....
{ "content_hash": "99336c418793c2f7f175d5bc46f7c896", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 107, "avg_line_length": 30.577235772357724, "alnum_prop": 0.5248604094655677, "repo_name": "artzub/LoggenCSG", "id": "ad273e8d8bfd396d581b3f11a4ffcee3f32567a9", "size": "4...
package org.opencb.opencga.core.models.study; import org.opencb.commons.datastore.core.ObjectMap; import org.opencb.opencga.core.config.storage.SampleIndexConfiguration; public class StudyVariantEngineConfiguration { private ObjectMap options; private SampleIndexConfiguration sampleIndex; public StudyVa...
{ "content_hash": "553524ec9fada9205bc86ea8704735ed", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 101, "avg_line_length": 29.511111111111113, "alnum_prop": 0.7025602409638554, "repo_name": "opencb/opencga", "id": "3bd986b2fb4e125be9c2c4b0a37f41f434ed2fbb", "size": "1328...
package org.jetbrains.idea.devkit.navigation; import com.intellij.codeInsight.daemon.GutterMark; import com.intellij.codeInspection.LocalInspectionEP; import com.intellij.testFramework.builders.JavaModuleFixtureBuilder; import com.intellij.testFramework.fixtures.JavaCodeInsightFixtureTestCase; import com.intellij.ui.c...
{ "content_hash": "c35ccfd9cb5a24cab9b861d5d1d65f7f", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 126, "avg_line_length": 51.23076923076923, "alnum_prop": 0.8385885885885885, "repo_name": "ingokegel/intellij-community", "id": "5f5dd379475f684e80da8d8f078e7d078036dc94", ...
<!doctype html> <html amp lang="en"> <head> <meta charset="utf-8"> <script async src="https://cdn.ampproject.org/v0.js"></script> <script async custom-element="amp-story" src="https://cdn.ampproject.org/v0/amp-story-1.0.js"></script> <title>amp-story-grid-layer[template="vertical"] visual diff...
{ "content_hash": "11092a6237caf7811e1ece358923afe4", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 767, "avg_line_length": 46.02, "alnum_prop": 0.6449369839200347, "repo_name": "yieldbot/amphtml", "id": "146bff7d6a27a7464715429f77b0dc0e8c8589c0", "size": "2301", "binar...
package org.apache.trevni; import java.util.Random; import java.io.ByteArrayOutputStream; import java.nio.ByteBuffer; import org.junit.Assert; import org.junit.Test; public class TestUtil { private static long seed; private static boolean seedSet; /** Returns the random seed for this test run. By default ...
{ "content_hash": "4173748ed643e3068fb67a7edb4ad4bf", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 79, "avg_line_length": 26.02127659574468, "alnum_prop": 0.6144726083401472, "repo_name": "Yelp/avro", "id": "22bbae951fe75b668e2916bff6453092b2bb7e6f", "size": "3245", "b...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>library-undecidability: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bo...
{ "content_hash": "8e0b0a7d2126701bad8d6ffcda77d2b3", "timestamp": "", "source": "github", "line_count": 178, "max_line_length": 159, "avg_line_length": 41.42134831460674, "alnum_prop": 0.5414349654143497, "repo_name": "coq-bench/coq-bench.github.io", "id": "c26a551a58e5d85d8a4172b732a8074da64f0e29", ...
package main import ( "encoding/json" "fmt" "log" "reflect" ) type Field struct { SId string `json:"s-id,omitempty"` SType string `json:"s-type,omitempty"` SItems []Field `json:"s-items,omitempty"` SDirection string `json:"s-direction,omitempty"` SGroup ...
{ "content_hash": "e49b0163511b7341de26425360a03263", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 79, "avg_line_length": 30.567164179104477, "alnum_prop": 0.65185546875, "repo_name": "vpetrov/survana-tools", "id": "b9dfd8244ffe9c8f6a91ccb5e70f2b7a8d685b01", "size": "204...
type Tube_Side_Main Tube_Side_Main()=begin new( DanaInteger(Dict{Symbol,Any}( :Brief=>"Total Number of Tubes in Shell", :Default=>100, :Lower=>1 )), DanaInteger(Dict{Symbol,Any}( :Brief=>"Number of Tube Passes", :Lower=>1 )), length(Dict{Symbol,Any}( :Brief=>"Effective Tube Len...
{ "content_hash": "b4d93f3fc6e8f7f51956470ac02a340d", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 119, "avg_line_length": 25.347826086956523, "alnum_prop": 0.6625214408233276, "repo_name": "DANA-Laboratory/EMSOModelLibrary.jl", "id": "92c295c63aba85f47f0a9d06f3a7351a0e2f8...
package org.springframework.showcases.lite; import org.springframework.mobile.device.site.SitePreference; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; /** * Handles requests for the Home page. * @author Keith ...
{ "content_hash": "e8d3485c1271265609569bce879feb52", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 87, "avg_line_length": 27.558823529411764, "alnum_prop": 0.7449306296691569, "repo_name": "pkdevbox/spring-mobile-samples", "id": "02d3807c019b69760e78200ad350f0de8ffa619b", ...
FROM balenalib/iot-gate-imx8-alpine:edge-build # Default to UTF-8 file.encoding ENV LANG C.UTF-8 # add a simple script that can auto-detect the appropriate JAVA_HOME value # based on whether the JDK or only the JRE is installed RUN { \ echo '#!/bin/sh'; \ echo 'set -e'; \ echo; \ echo 'dirname "$(dirname "$(r...
{ "content_hash": "c2b70c763f9c85056fe949cd9ea2f7dd", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 683, "avg_line_length": 58.166666666666664, "alnum_prop": 0.7008595988538682, "repo_name": "resin-io-library/base-images", "id": "f28e543fb31866bdbf93f00d3ecac81ae043e4cf", ...
#import "DynamoDBItemCollectionSizeLimitExceededException.h" @implementation DynamoDBItemCollectionSizeLimitExceededException -(id)initWithMessage:(NSString *)theMessage { if (self = [super initWithMessage:theMessage]) { } return self; } -(void)setPropertiesWithException:(AmazonServiceException ...
{ "content_hash": "28fc79733609fc184eb5a9811190b70c", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 77, "avg_line_length": 15.795454545454545, "alnum_prop": 0.7237410071942446, "repo_name": "morizotter/AWSCloudWatchSample", "id": "935e42e74eb34847393e975065a10549ad7e741d", ...
package com.impetus.client.es.association; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.ManyToMany; /** * @author vivek.mishra * Bi M-M address entity. */ @Entity //@Table(name = ...
{ "content_hash": "4738eb20375df7b2448c8badfdf26167", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 64, "avg_line_length": 17.93548387096774, "alnum_prop": 0.64568345323741, "repo_name": "lgscofield/Kundera", "id": "8f80db9322878df87ab0d8317518de1ed8c7a5dc", "size": "1906...
package openstack import ( "fmt" "log" "github.com/gophercloud/gophercloud/openstack/compute/v2/extensions" "github.com/gophercloud/gophercloud/pagination" "github.com/mitchellh/multistep" "github.com/mitchellh/packer/packer" ) // StepLoadExtensions gets the FlavorRef from a Flavor. It first assumes // that th...
{ "content_hash": "d2c9f638300215ee376caa113a109d9f", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 81, "avg_line_length": 26.75862068965517, "alnum_prop": 0.7106958762886598, "repo_name": "stardog-union/stardog-graviton", "id": "4a3362fac40744014785fd8d26c70697e8644616", ...
module Uploader module ChunkedUploads extend ActiveSupport::Concern protected def with_chunked_upload(file_or_part) uploader = UploadRequest.new(request.env, file_or_part) return unless uploader.completed? yield uploader.file uploader.cleanup end end end
{ "content_hash": "a0c57752cc06f060a09ef5e83a188e2a", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 61, "avg_line_length": 20.133333333333333, "alnum_prop": 0.7052980132450332, "repo_name": "superp/rails-uploader", "id": "22405ec92c2971f3a0247af7e85e9848a057184e", "size":...
_brew_all_formulae() { formulae=(`brew search`) } _brew_installed_formulae() { installed_formulae=(`brew list`) } _brew_installed_taps() { installed_taps=(`brew tap`) } _brew_outdated_formulae() { outdated_formulae=(`brew outdated`) } _brew_running_services() { running_services=(`brew services list | awk ...
{ "content_hash": "ece8b4b3c85080b740550971c5b6f89b", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 90, "avg_line_length": 34.8130081300813, "alnum_prop": 0.7001401214385801, "repo_name": "justjake/linuxbrew", "id": "ab889d405e4beabadfe1181d0e3a001ee6496a19", "size": "44...
using CameraAppIntegrationTest = SystemWebAppIntegrationTest; IN_PROC_BROWSER_TEST_P(CameraAppIntegrationTest, MainUrlNavigation) { WaitForTestSystemAppInstall(); GURL main_camera_app_url("chrome://camera-app/views/main.html"); content::TestNavigationObserver navigation_observer(main_camera_app_url); navigati...
{ "content_hash": "4be35708e19dede7328c549c9f9ff83c", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 80, "avg_line_length": 39.4390243902439, "alnum_prop": 0.6821273964131107, "repo_name": "scheib/chromium", "id": "fffa12d77a36c51b9094e581f10d95f33b77f6a4", "size": "2335",...
/** * Strip HTML tags from a string. Used when displaying content meta tags. * @returns {Function} */ function stripHtmlTags() { return function(text) { return String(text).replace(/<[^>]+>/gm, ''); }; } export default { name: 'stripHtmlTags', fn: stripHtmlTags };
{ "content_hash": "98344ff5f39cface1168745776b2abae", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 73, "avg_line_length": 20.642857142857142, "alnum_prop": 0.6262975778546713, "repo_name": "bnmnjohnson/brandnewmedia-au", "id": "a5ae09396fe3b15c8b3fc081c81b65c1823bee9e", ...
package com.michir.projects.spring.controllers; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springfram...
{ "content_hash": "e7da4da53747c4634be74654d9b5de9d", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 62, "avg_line_length": 32.130434782608695, "alnum_prop": 0.8240866035182679, "repo_name": "mahieddine-ichir/spring", "id": "53833072cce577f190a7d02944522749ec3b978c", "size...
package com.igormaznitsa.jbbp.model; import com.igormaznitsa.jbbp.compiler.JBBPNamedFieldInfo; import com.igormaznitsa.jbbp.io.JBBPBitNumber; import com.igormaznitsa.jbbp.utils.JBBPUtils; /** * Describes an array contains bit fields. * * @since 1.0 */ public final class JBBPFieldArrayBit extends JBBPAbstractArr...
{ "content_hash": "a87479d7175af016136abafe16083b27", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 83, "avg_line_length": 24.736363636363638, "alnum_prop": 0.6596839397280412, "repo_name": "raydac/java-binary-block-parser", "id": "2111feea33a5ebd50a355d770ee09ef3f2925f40"...
/* * MinIO .NET Library for Amazon S3 Compatible Cloud Storage, (C) 2017 MinIO, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
{ "content_hash": "a17281bf76c5584405e0b8d994e9a556", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 82, "avg_line_length": 30.20689655172414, "alnum_prop": 0.6221461187214612, "repo_name": "poornas/minio-dotnet", "id": "13d4168658b275c04786ef63f1d01ed1fb8c3be2", "size": "...
/**************************************************************************** * Included Files ****************************************************************************/ #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <assert.h> #include "lib_internal.h" /**********************************...
{ "content_hash": "bfaf5e9632d271df3e53eb6e88fd3128", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 79, "avg_line_length": 36.25438596491228, "alnum_prop": 0.42705056859424145, "repo_name": "Yndal/ArduPilot-SensorPlatform", "id": "15a97f1887486abd2e6d74eda5351870fdbfb268",...
<?php namespace Bolt\Tests\Session; use Bolt\Session\Serializer\NativeSerializer; use Bolt\Tests\BoltUnitTest; /** * Class to test src/Session/Serializer/NativeSerializer. * * @author Gawain Lynch <gawain.lynch@gmail.com> */ class NativeSerializerTest extends BoltUnitTest { public function testSerialize() ...
{ "content_hash": "f7a5c2aa60b162846926826a3f3a71cf", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 76, "avg_line_length": 25.70967741935484, "alnum_prop": 0.6411543287327478, "repo_name": "lenvanessen/bolt", "id": "3cdcabf58ef2479c656c48a73a24b8b314fa471f", "size": "797"...
package net.paslavsky.msm.server; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * Proxy for development * * @author Andrey Paslavsky * @version 1.0 */ publi...
{ "content_hash": "a6099bb6d08cb952962c636af0a4c210", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 115, "avg_line_length": 28.25, "alnum_prop": 0.7278761061946902, "repo_name": "paslavsky/music-sync-manager", "id": "53dbc76c94ead7ddbc620622620d75305cee5e7e", "size": "904...
package android import sbt._ import language.postfixOps trait ApkSigningConfig { def storeType = "jks" def keyPass = Option.empty[String] def keystore: File def alias: String def storePass: String } case class PlainSigningConfig(override val keystore: File, override val storePa...
{ "content_hash": "ef736dbac333f350f72fa8081b59bb37", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 106, "avg_line_length": 40.970588235294116, "alnum_prop": 0.6202440775305097, "repo_name": "adsinc/android-sdk-plugin", "id": "8f3463ec14facc769e5bb307412d551d05e8f104", "s...
<?php /* Safe sample input : Uses popen to read the file /tmp/tainted.txt using cat command sanitize : use of the function addslashes construction : use of sprintf via a %s with simple quote */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy...
{ "content_hash": "5182fd3e5463e826f7ffd49f5c404d78", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 75, "avg_line_length": 23.125, "alnum_prop": 0.7644787644787645, "repo_name": "stivalet/PHP-Vulnerability-test-suite", "id": "9403c937ae500efaac96d7e2ddec85f53f70dcfb", "si...
<htmlform formUuid="6021b82a-8f19-4308-a248-bc603ffaa880" formName="Dispense medication" formEncounterType="ef469ea5-8b79-4a64-a1c8-ce3e09b4e703" formVersion="0.6" formAddMetadata="yes" formUILocation="patientDashboard.visitActions" formOrder="19" formIcon="icon-plus-sign-alt" formShowIf="" formDisplayStyle="Stan...
{ "content_hash": "c839935a745cfc1c8f09679a371d2c8c", "timestamp": "", "source": "github", "line_count": 232, "max_line_length": 201, "avg_line_length": 27.71551724137931, "alnum_prop": 0.644945567651633, "repo_name": "mekomsolutions/openmrs-module-lfhcforms", "id": "afa10cf26170dd46761b95b23791c194ad...
CosbyCoin Official Development Repo ================================ ### What is CosbyCoin? [CosbyCoin](http://cosbycoin.org/) (abbreviated CBC), is built upon [PeerCoin](http://bitcoin.org/en/). ### CosbyCoin Resources [Source Code](https://github.com/cosbycoin/cosbycoin) [CosbyCoin Wiki](https://github.com/cosbycoi...
{ "content_hash": "c64a4ebb0a42cc3c33578c6c6cdcdbb8", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 282, "avg_line_length": 78.05263157894737, "alnum_prop": 0.7484828051247472, "repo_name": "cosbycoin/cosbycoin", "id": "e97c8ce53052dc082a6cecac4a7678420a8ee188", "size": "...
require 'rails_helper' describe ApiV1::Config::PipelineConfigWithMinimalAttributesRepresenter do describe "serialize" do it 'should render pipeline with hal representation' do pipeline_config = PipelineConfigMother.createPipelineConfigWithStages('regression', 'fetch', 'run') actual_json = ApiV1::Con...
{ "content_hash": "2c3e1c52381a8a31d711e6c0e2e63bb8", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 139, "avg_line_length": 47.86666666666667, "alnum_prop": 0.724233983286908, "repo_name": "stevem999/gocd", "id": "eb8e8e488dfb6a342eae3ebeabf39f6359c64f5c", "size": "1451",...
<!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_60-ea) on Mon Jun 27 14:13:35 EDT 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>StageConfig.Converter (Wi...
{ "content_hash": "0c43b8b2543a8acb6a806784a027c8f1", "timestamp": "", "source": "github", "line_count": 229, "max_line_length": 391, "avg_line_length": 38.7117903930131, "alnum_prop": 0.6342921601804851, "repo_name": "wildfly-swarm/wildfly-swarm-javadocs", "id": "7572429a9840a8ef1a878e7dc4f565c9e7217...