text
stringlengths
2
1.04M
meta
dict
package com.orientechnologies.orient.core.record; /** * Generic record representation without a schema definition. The object can be reused across call to the database. */ public interface ORecordStringable { public String value(); public ORecordStringable value(String iValue); }
{ "content_hash": "c40f1a86b87daa487b4cb76c0ee90146", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 115, "avg_line_length": 25.083333333333332, "alnum_prop": 0.7508305647840532, "repo_name": "MaDaPHaKa/Orient-object", "id": "00a506b684d48918a81f821450aa8a1081ab9598", "siz...
// Copyright (c) 2011-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef RECENTREQUESTSTABLEMODEL_H #define RECENTREQUESTSTABLEMODEL_H #include "walletmodel.h" #include <QAbstractTableModel...
{ "content_hash": "79902cdbd2ee8d895eb7bdb9d9e9a31b", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 126, "avg_line_length": 29.453703703703702, "alnum_prop": 0.7060672744419993, "repo_name": "ClusterCoin/ClusterCoin", "id": "56ea820d8db641927804e3e03339617081c31f6a", "si...
package opamp // DO NOT EDIT THIS FILE. GENERATED BY stm32xgen.
{ "content_hash": "f71c30bd207127b9e5903d9f3b91c962", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 49, "avg_line_length": 21.666666666666668, "alnum_prop": 0.7538461538461538, "repo_name": "ziutek/emgo", "id": "8f7056b2fff4c07cc54adc886d582e39dddfcbbf", "size": "154", "...
<html> <body> <div id=result></div> <script> function log(message) { document.getElementById("result").innerHTML += message + "<br>"; } var worker = new SharedWorker("websocket_worker_simple.js"); var href = window.location.href; var hostBegin = href.indexOf("/") + 2; var hostEnd = href.lastIndexOf(":"); var host = h...
{ "content_hash": "f726baa60d1f9f4bf04bd47869e02204", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 66, "avg_line_length": 23.451612903225808, "alnum_prop": 0.6451169188445667, "repo_name": "junmin-zhu/chromium-rivertrail", "id": "ed990e2d0d92584a7ef7d7e9f27fa59ee54a7e0a", ...
package feo type Feopolicybinding struct { Name string `json:"name,omitempty"` }
{ "content_hash": "20ec702f6f2c7ab122c7d80d721a40e2", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 36, "avg_line_length": 16.6, "alnum_prop": 0.7590361445783133, "repo_name": "chiradeep/go-nitro", "id": "ee6af0bd14f21b909a7b7dfd969c81888e24c020", "size": "83", "binary":...
C_SRC= CPP_SRC = input.cpp output.cpp delta.cpp bf.cpp contact.cpp forces.cpp dynamics.cpp # ISPC files ISPC_SRC= delta.ispc # ISPC targets ISPC_TARGETS= avx CC=gcc CXX=g++ HULLINC = -Iext/hul HULLLIB = -Lext/hul -lhul # Python paths PYTHONINC=-I/usr/include/python2.7 PYTHONLIB=-L/usr/lib -lpython2.7 # Program n...
{ "content_hash": "c114b8d9cad1180d26cf1286b62817ea", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 83, "avg_line_length": 14.3, "alnum_prop": 0.7342657342657343, "repo_name": "KonstantinosKr/deltaserial", "id": "1a7e3622398f0a8349c02f9ed39e21895c1e6f00", "size": "439", ...
module Stick # = Unit Prefix # class Prefix # The system object to which this prefix belongs. attr :system # Long form of prefix, eg. "mega". attr :name # Short form of prefix, eg. "M". attr :symbol # Mulitplicative factor, eg 10e6. attr :factor # def initialize(syste...
{ "content_hash": "cfb9759300a8ff266f33a9cea059b7c7", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 58, "avg_line_length": 16.82051282051282, "alnum_prop": 0.5777439024390244, "repo_name": "rubyworks/stick", "id": "9a6707a5c844cfc84bd645320e1797cd6f8b7b3f", "size": "656",...
define([ 'find/app/page/abstract-find-settings-page', 'find/app/page/settings/aci-widget', 'find/app/page/settings/community-widget', 'find/app/page/settings/map-widget', 'find/app/page/settings/mmap-widget', 'find/app/page/settings/query-manipulation-widget', 'find/app/page/settings/saved...
{ "content_hash": "f25ee6ed9aa121b6ed92bc5cc517d4a3", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 159, "avg_line_length": 54.705882352941174, "alnum_prop": 0.473252688172043, "repo_name": "LinkPowerHK/find", "id": "7a38d803845c1d9bb94a0a665f6675dfb81e14d7", "size": "76...
package io.sqooba.oss.timeseries.window import io.sqooba.oss.timeseries.immutable.TSEntry import scala.collection.immutable.Queue /** Extension to the Aggregator that also supports removing entries from the * aggregated value. Assuming we want to aggregate the content of a window, and to * do so for each differe...
{ "content_hash": "ec53ab19f9935de3218b0469b4135703", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 87, "avg_line_length": 41.8, "alnum_prop": 0.7251794258373205, "repo_name": "Shastick/tslib", "id": "92b474fc4c6045cee19e57fad801a40392f4896c", "size": "3344", "binary": ...
#if LZHAM_USE_PTHREADS_API #if LZHAM_NO_ATOMICS #error No atomic operations defined in lzham_platform.h! #endif #include <pthread.h> #include <semaphore.h> #include <unistd.h> namespace lzham { class semaphore { LZHAM_NO_COPY_OR_ASSIGNMENT_OP(semaphore); public: inline semaph...
{ "content_hash": "0187f2c021037b4357b2b0b1f6093610", "timestamp": "", "source": "github", "line_count": 380, "max_line_length": 135, "avg_line_length": 24.510526315789473, "alnum_prop": 0.5219025123470045, "repo_name": "f297260/lzham", "id": "69c8232aaa0da817096ae41e8a1de0ac9f032df6", "size": "9432...
using System; using System.IO; using System.Linq; using System.Text; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Mozu.Api.Test.Factories; using Mozu.Api.Test.Helpers; namespace Mozu.Api.Test.MsTestCases { /// <summary> /// Summary description for DocumentTest ...
{ "content_hash": "a72adf78bc9f838314b0b79148676b5d", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 141, "avg_line_length": 34.263636363636365, "alnum_prop": 0.6001591934200053, "repo_name": "ezekielthao/mozu-dotnet", "id": "b97486c67565b032103e6f3b12fe722806662aa7", "si...
package org.motechproject.mobile.core.model; import java.util.Date; /** * Represents information returned by telco gateway to be persisted in the database. * Corresponds to a single {@link org.motechproject.mobile.core.model.GatewayRequest } * * * Date: Jul 24, 2009 * @author Joseph (joseph@dreamov...
{ "content_hash": "5214d0bb363a3ff23dd2ad74ae653fcc", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 86, "avg_line_length": 20.866141732283463, "alnum_prop": 0.5920754716981133, "repo_name": "motech/MOTECH-Mobile", "id": "936e002a4da4a66ada61b46161049253ba29dcde", "size":...
package com.orange.clara.cloud.servicedbdumper.acceptance; import com.orange.clara.cloud.servicedbdumper.Application; import com.orange.clara.cloud.servicedbdumper.exception.CannotFindDatabaseDumperException; import com.orange.clara.cloud.servicedbdumper.exception.DatabaseExtractionException; import com.orange.clara.c...
{ "content_hash": "de7fa453207ecc7ec3aabf8bc9a4c2e3", "timestamp": "", "source": "github", "line_count": 174, "max_line_length": 415, "avg_line_length": 51.91954022988506, "alnum_prop": 0.76654859419969, "repo_name": "orange-cloudfoundry/db-dumper-service", "id": "f32fecbede875220f9579410dedbdbbeaad53...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; using SuperSocket.Common; using SuperSocket.ProtoBase; using SuperSocket.SocketBa...
{ "content_hash": "97ed81d2c87e75322cc7d3b68f6ab457", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 125, "avg_line_length": 33.24, "alnum_prop": 0.6072202166064982, "repo_name": "mdavid/SuperSocket", "id": "3deb72f06d9a116f55b72ffe4ce745f569781f90", "size": "4157", "bi...
import { callback } from './core'; import { Client } from './client'; import { GooglePaymentDetails } from './google-payment'; import { HostedFieldsAccountDetails } from './hosted-fields'; import { PayPalAccountDetails } from './paypal'; import { ThreeDSecureAccountDetails } from './three-d-secure'; import { UnionPayAc...
{ "content_hash": "7849bc591ed7208af10e46db1d05e3b0", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 197, "avg_line_length": 47.6, "alnum_prop": 0.7324929971988795, "repo_name": "markogresak/DefinitelyTyped", "id": "81589c7c28ee8535a68643bd8b64d295892664a8", "size": "2142"...
require 'spec_helper' describe Grape::Endpoint do subject do described_class.new(Grape::Util::InheritableSetting.new, path: '/', method: :get) end describe '.content_types_for' do describe 'defined on target_class' do let(:own_json) { 'text/own-json' } let(:own_xml) { 'text/own-xml' } ...
{ "content_hash": "8e8f9995d684126124e301a414f70cc0", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 87, "avg_line_length": 32.602649006622514, "alnum_prop": 0.5356489945155393, "repo_name": "LeFnord/grape-swagger", "id": "a577285fd54d4c85e0b60c8cb76c5294afdb83d4", "size"...
/* ESP HTTP Client Example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #ifndef _APP_WIF...
{ "content_hash": "21907e432d3f030019e127abfa7809e7", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 79, "avg_line_length": 24.705882352941178, "alnum_prop": 0.7309523809523809, "repo_name": "armada-ai/esp-idf", "id": "91c886d5b88362dde587a7f8bad3d6dfa464835c", "size": "42...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name Cycas basaltica C.A. Gardner ### Remarks null
{ "content_hash": "db2d0bdc03b9bec10b1e622249e23b58", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 11.538461538461538, "alnum_prop": 0.72, "repo_name": "mdoering/backbone", "id": "5db64cd10c297d41ad864f160bf4df90405b345f", "size": "222", "binary"...
package com.kk.muse.perftuning; public interface Application {}
{ "content_hash": "2d12b5c505948a74866f7d456eecb682", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 31, "avg_line_length": 21.666666666666668, "alnum_prop": 0.8, "repo_name": "xylan2004/AciSnippets", "id": "91d310d5c73217bb3367f59368940f8fe06f96e1", "size": "65", "binary...
module ImprintsHelper def imprint_order_link(imprint) if imprint.order.blank? return imprint.order_name else return link_to imprint.order_name, order_path(imprint.order) end end def imprint_edit_order_link(imprint) unless imprint.order.blank? return bootstrap_edit_button(impri...
{ "content_hash": "4dd1f6519ce865962cf8a29befa58641", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 66, "avg_line_length": 21.75, "alnum_prop": 0.7040229885057471, "repo_name": "AnnArborTees/softwear-production", "id": "4079cde5209fa30fa53b1a87728d907590078c98", "size": "...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "29aafe19eb1e0bc9c4c0f2382bf71b23", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "4fb20136cbeb5f1e0d7b92be6f91bc54884bf0df", "size": "18...
//package com.handmark.pulltorefresh.samples; //import android.app.Activity; //import android.os.AsyncTask; //import android.os.Bundle; //import android.widget.HorizontalScrollView; //import com.handmark.pulltorefresh.library.PullToRefreshBase; //import com.handmark.pulltorefresh.library.PullToRefreshBase.OnRefreshL...
{ "content_hash": "232d84cddb73db60d2e94f1b8060d7a4", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 132, "avg_line_length": 33.67741935483871, "alnum_prop": 0.6730523627075351, "repo_name": "skywolf888/Android-PullToRefresh.Net", "id": "0acd407228b5d5dae6770c3ab8b5b013ae62d...
package mockit.internal.expectations.invocation; import java.util.*; import javax.annotation.*; import mockit.internal.expectations.argumentMatching.*; import mockit.internal.util.*; abstract class ArgumentValuesAndMatchers { @Nonnull final InvocationArguments signature; @Nonnull Object[] values; @Nullable...
{ "content_hash": "aecdd299656779ede11aed0042ee6bc8", "timestamp": "", "source": "github", "line_count": 199, "max_line_length": 119, "avg_line_length": 30.542713567839197, "alnum_prop": 0.6154985192497532, "repo_name": "russelyang/jmockit1", "id": "5586207257d3fbe0a28b0067f7d1be67cfaa4059", "size":...
Aplicação que simula um elevador em JavaScript utilizando : HTML CSS JavaScript - O Elevador possui 5 andares. - Com botões de chamadas para subir e descer em cada andar. - Abertura das portas e fechamento das portas quando chega ao andar. - voce pode escolher o andar para no painel do elevador. - O elevador tem o t...
{ "content_hash": "ddd40b44ccd34df4d4e3fd8ee50c6f21", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 114, "avg_line_length": 31.764705882352942, "alnum_prop": 0.7777777777777778, "repo_name": "vagnerasilva/elevador", "id": "34642fabb1e42477899cac8c549a98271db97ab9", "size"...
Ecog GUI ======== Ecog GUI is a Python module to localize intracranial electrodes from MRI. It interactively fits a priori defined grids, strips or rigid array of electrodes to the MRI with a Graphical User Interface. Its main advantages as compared to current alternatives are: * it provides the best fits in real ti...
{ "content_hash": "c82da5a6b3f971f60e4f889bf98e3864", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 185, "avg_line_length": 33.07843137254902, "alnum_prop": 0.7486662714878483, "repo_name": "kingjr/ecoggui", "id": "00aa8007a73ea42141ce54d96441d3d1453eace9", "size": "1687"...
using namespace apl; BOOST_AUTO_TEST_SUITE(CommandQueueSuite) BOOST_AUTO_TEST_CASE(SimpleWriteAndRead) { CommandQueue cq; BinaryOutput bo; bo.mRawCode = CC_LATCH_ON; cq.AcceptCommand(bo, 3, 4, NULL); BOOST_REQUIRE_EQUAL(cq.Next(), CT_BINARY_OUTPUT); BinaryOutput bo2; bo2.mRawCode = CC_LATCH_OFF; Command...
{ "content_hash": "3e658e0ed42c9ceffa147d6db845c6ab", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 68, "avg_line_length": 22.85, "alnum_prop": 0.6713347921225383, "repo_name": "cverges/dnp3", "id": "914a210378690452a3d8641acf3b8a63b6494f14", "size": "3312", "binary": ...
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <android.support.v4.view.ViewPager android:id="@+id/pager" android:layout_width="match_parent" android:layout_height="match_parent" /> <...
{ "content_hash": "d6bd4d930f03e55415a1a1f0fa0128d9", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 71, "avg_line_length": 33.3, "alnum_prop": 0.6936936936936937, "repo_name": "leomindez/Materialize-XYZ-Reader", "id": "77b2f04a3d444e8267d81c44755a6366cb1ac200", "size": "3...
import { moduleForModel, test } from 'ember-qunit'; moduleForModel('echonest-song', 'EchonestSong', { needs: ['model:echonest-artist'] }); test('it exists', function() { var model = this.subject(); var bucket = model.get('bucket'); ok(bucket.indexOf('audio_summary') >= 0, 'should have audio_summary bucket...
{ "content_hash": "56c5d5c61b8a1ae8c16b23e6aeebe11d", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 89, "avg_line_length": 44.90909090909091, "alnum_prop": 0.6963562753036437, "repo_name": "argylemachine/music-player", "id": "2a5cc1c141c7844311bac3186753a41a4fa3f199", "si...
class Vector2D(object): def __init__(self, vec2d): """ Initialize your data structure here. :type vec2d: List[List[int]] """ self.cursor = -1 if len(vec2d) > 0: self.data = reduce(lambda a,b:a+b, vec2d) else: self.data = [] sel...
{ "content_hash": "68f9bebeec559cecc7dc61c3d20938fe", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 63, "avg_line_length": 24.035714285714285, "alnum_prop": 0.5200594353640416, "repo_name": "luosch/leetcode", "id": "b2b6f5f0018b7b41629b2de4ceb29abc93fb941b", "size": "673"...
[![npm version](https://badge.fury.io/js/atgrid.css.svg)](https://badge.fury.io/js/atgrid.css) > atGrid is a Flexbox-based CSS Grid System that uses attributes instead of classes. ## Examples ### Columns with the same width ```HTML <div grid> <section column> <p>Auto</p> </section> <section column> ...
{ "content_hash": "3721cb5be17505375d30fc4d6a54df42", "timestamp": "", "source": "github", "line_count": 209, "max_line_length": 150, "avg_line_length": 17.071770334928228, "alnum_prop": 0.632847533632287, "repo_name": "KolceThompsonCo/atgrid.css", "id": "b6bb1c1e756daa158d2edf57f4064783fec34ef8", "...
#ifndef __LIB_UTILS_COMPAT_H #define __LIB_UTILS_COMPAT_H #include <unistd.h> /* Compatibility definitions for non-Linux (i.e., BSD-based) hosts. */ #ifndef HAVE_OFF64_T #if _FILE_OFFSET_BITS < 64 #error "_FILE_OFFSET_BITS < 64; large files are not supported on this platform" #endif /* _FILE_OFFSET_BITS < 64 */ ty...
{ "content_hash": "c0f003a5b3defd1a36138234821b0a7b", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 81, "avg_line_length": 23.785714285714285, "alnum_prop": 0.6846846846846847, "repo_name": "hhool/ffplayer", "id": "18192661cb78d9fa376283e3c95254a083c800ae", "size": "1285"...
/*************************************************************************** * Renders a GL_TEXTURE_EXTERNAL_OES texture. ***************************************************************************/ #ifndef OES_SHADER_H_ #define OES_SHADER_H_ #include <memory> #define __gl2_h_ #include "GLES3/gl3.h" #include <G...
{ "content_hash": "573b123eeb1eaa255a1c205a51908abd", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 77, "avg_line_length": 20.84, "alnum_prop": 0.5825335892514395, "repo_name": "JonShemitz/GearVRf", "id": "c44b1ad6cedd2fdad1e72b11f383a2e9eb33ac35", "size": "1650", "bina...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("xS...
{ "content_hash": "36374b5173f33b762751111f66292e5c", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 38.75, "alnum_prop": 0.7433691756272401, "repo_name": "imsosharp/LSharp-Beta", "id": "b126a3fcc6e4e4bee4490ceef5b845ebf8ecd5d4", "size": "1398", "b...
set -e hostname=`hostname -f` # We expect to find zk-client-conf.json in the same folder as this script. script_root=`dirname "${BASH_SOURCE}"` # Set up environment. for pkg in `find $VTROOT/dist -name site-packages`; do export PYTHONPATH=$pkg:$PYTHONPATH done export PYTHONPATH=$VTROOT/py-vtdb:$PYTHONPATH exec e...
{ "content_hash": "434896981cf709653698ae2eaa95af5d", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 74, "avg_line_length": 23.733333333333334, "alnum_prop": 0.7387640449438202, "repo_name": "mattharden/vitess", "id": "fd7a6eeb0db0f670d40f39dffd75dad5619f83e9", "size": "10...
.. derive-for-training.rst ######################### Derive a trainable model ######################### Documentation in this section describes one of the possible ways to turn a :abbr:`DL (Deep Learning)` model for inference into one that can be used for training. Additionally, and to provide a more complete wa...
{ "content_hash": "e6a74e42d5230fc22d13bdf9dcf30e9d", "timestamp": "", "source": "github", "line_count": 171, "max_line_length": 82, "avg_line_length": 31.385964912280702, "alnum_prop": 0.7259176448667785, "repo_name": "NervanaSystems/ngraph", "id": "60d53353d9e27fd169d64ab525ae4e22cbd3438b", "size"...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE416_Use_After_Free__return_freed_ptr_12.c Label Definition File: CWE416_Use_After_Free__return_freed_ptr.label.xml Template File: point-flaw-12.tmpl.c */ /* * @description * CWE: 416 Use After Free * Sinks: * GoodSink: Use a block of memory returned from ...
{ "content_hash": "13f04ba3260e4f7cd3ef7b6ca86f2b86", "timestamp": "", "source": "github", "line_count": 159, "max_line_length": 103, "avg_line_length": 28.9937106918239, "alnum_prop": 0.5659436008676789, "repo_name": "maurer/tiamat", "id": "f47721b570163b46316e22a0c2f845964c130164", "size": "4610",...
@interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
{ "content_hash": "b3ca5dca9467aa302931b673020908e5", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 60, "avg_line_length": 16.857142857142858, "alnum_prop": 0.7796610169491526, "repo_name": "inmovation/IMVInjection", "id": "015c48c648445326e57cd4d719f39d9e8a2076eb", "size"...
[![CI Status](http://img.shields.io/travis/eugenenguyen/XBLanguage.svg?style=flat)](https://travis-ci.org/eugenenguyen/XBLanguage) [![Version](https://img.shields.io/cocoapods/v/XBLanguage.svg?style=flat)](http://cocoadocs.org/docsets/XBLanguage) [![License](https://img.shields.io/cocoapods/l/XBLanguage.svg?style=flat)...
{ "content_hash": "3dd73b6720c0e0efa97639a3ef7819f3", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 130, "avg_line_length": 35.42307692307692, "alnum_prop": 0.762214983713355, "repo_name": "EugeneNguyen/XBAuthentication", "id": "a157c1a3427677d900eee7af2dda6cd1cde3953a", ...
import asyncio from functools import partial from unittest import mock import pytest from yarl import URL import aiohttp import aiohttp.helpers import aiohttp.web @pytest.fixture def proxy_test_server(raw_test_server, loop, monkeypatch): """Handle all proxy requests and imitate remote server response.""" _...
{ "content_hash": "8ad9e74e43243bb24032e396e98db3e4", "timestamp": "", "source": "github", "line_count": 507, "max_line_length": 76, "avg_line_length": 29.775147928994084, "alnum_prop": 0.6758081611022787, "repo_name": "Eyepea/aiohttp", "id": "5cc57164f810e3fced39bbd79f4643a336ac612e", "size": "1510...
A SettingFilter is a filter wich is used by a SettingBrowser in order to select which nodes of the setting trees are to be shown. A SettingFilter subclass must redefine the #keepHandler: method which return true if the argument handler is to be kept. Instance Variables
{ "content_hash": "6226eee8e0e0d42fa9a6bc0b375be31b", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 250, "avg_line_length": 90.33333333333333, "alnum_prop": 0.8118081180811808, "repo_name": "vineetreddyrajula/pharo", "id": "0301420bcb5730d81cd528ac1df77c765aa6e47b", "size"...
namespace ui_devtools { ui::KeyEvent ConvertToUIKeyEvent(protocol::DOM::KeyEvent* event) { ui::EventType event_type = event->getType() == protocol::DOM::KeyEvent::TypeEnum::KeyPressed ? ui::ET_KEY_PRESSED : ui::ET_KEY_RELEASED; return ui::KeyEvent( event_type, static_cast<ui::Keyboa...
{ "content_hash": "52e1650e72db887b9b1c600d62643f19", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 71, "avg_line_length": 39.0625, "alnum_prop": 0.6288, "repo_name": "scheib/chromium", "id": "779bbd4f6c99cdbb24947a66c5884349a0e8958e", "size": "894", "binary": false, ...
<?php namespace Checkdomain\TeleCash\IPG\API\Model; /** * Class Payment */ class Payment implements ElementInterface { const CURRENCY_EUR = "978"; /** @var string $hostedDataId */ private $hostedDataId; /** @var float $amount */ private $amount; /** * @param string|null $hostedDataId...
{ "content_hash": "b34bc39ef9591aedb5feb31085d0028d", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 81, "avg_line_length": 24.964285714285715, "alnum_prop": 0.555793991416309, "repo_name": "checkdomain/TeleCash", "id": "2e5bf05f0eb9a8ecaa2280d9a327c0d03e335ab6", "size": "...
from typing import Any, TYPE_CHECKING from azure.core.configuration import Configuration from azure.core.pipeline import policies from azure.mgmt.core.policies import ARMHttpLoggingPolicy, AsyncARMChallengeAuthenticationPolicy from .._version import VERSION if TYPE_CHECKING: # pylint: disable=unused-import,ungro...
{ "content_hash": "9f929f2bb9d827bb763d5c55ee919995", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 107, "avg_line_length": 53.05172413793103, "alnum_prop": 0.7198570035749107, "repo_name": "Azure/azure-sdk-for-python", "id": "d04a341320d8020cc4a134f776fd463d362771f4", "s...
using System.Threading.Tasks; using Microsoft.Extensions.FileProviders; using OrchardCore.Recipes.Models; namespace OrchardCore.Recipes.Services { public interface IRecipeReader { Task<RecipeDescriptor> GetRecipeDescriptor(string recipeBasePath, IFileInfo recipeFileInfo, IFileProvider fileProvider); ...
{ "content_hash": "0b65bbe3cc2de76b279b0be37a2e6282", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 128, "avg_line_length": 29.636363636363637, "alnum_prop": 0.8006134969325154, "repo_name": "stevetayloruk/Orchard2", "id": "8461dbb40d4c77f138b5532c9cb950eeeec4870f", "size...
<!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.6.0_34) on Mon Apr 06 09:33:59 MDT 2015 --> <title>Uses of Class com.google.android.gms.R.raw</title> <meta name="date" content="2015-04-06...
{ "content_hash": "011a74ec2701ef2054036a8bbaccd220", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 119, "avg_line_length": 35.243478260869566, "alnum_prop": 0.6005428077966938, "repo_name": "CMPUT301W15T02/TeamTo", "id": "247632f54c412f4a32e718be3da99a3ac53b90bb", "size...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE PolicySet [ <!ENTITY xml "http://www.w3.org/2001/XMLSchema#"> <!ENTITY rule-combine "urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:"> <!ENTITY policy-combine "urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:"> <!ENTITY function "urn:oasis:names:tc:xa...
{ "content_hash": "39726d1351a258ecb7b1b6427787d17e", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 83, "avg_line_length": 43.654545454545456, "alnum_prop": 0.7176176593086214, "repo_name": "townbull/mtaaas", "id": "01bacdc28453349badb9de34e78629084d0b99eb", "size": "2401...
package org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.build; import com.google.gwtmockito.GwtMockitoTestRunner; import org.junit.Before; import org.junit.runner.RunWith; import org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.validators.SnapshotContext...
{ "content_hash": "4f01d6d8d0db97195a12f2b68ca11af4", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 137, "avg_line_length": 31.91304347826087, "alnum_prop": 0.7888283378746594, "repo_name": "jhrcek/kie-wb-common", "id": "6b992fa79ede8a7122adff25fccfea3ea79b4b7f", "size": ...
set -e if [ -d tinytest ]; then (cd tinytest; git pull origin master) else git clone https://github.com/eagletmt/tinytest.git fi if [ -d vimproc ]; then cd vimproc git pull origin master else git clone https://github.com/Shougo/vimproc.git cd vimproc fi make -f make_unix.mak cabal update cabal install gh...
{ "content_hash": "a720f49c4e0b984af9c4419b9d83b026", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 52, "avg_line_length": 17.157894736842106, "alnum_prop": 0.7208588957055214, "repo_name": "carlohamalainen/imagetrove", "id": "a7fe0e63831b0d75b10891a0c57a798951edb717", "s...
using System; using System.Reflection; using System.Text; using NMocha.Internal; using NMock2; using NMock2.Monitoring; namespace NMocha.Monitoring { /// <summary> /// Represents the invocation of a method on an object (receiver). /// </summary> public class Invocation : ISelfDescribing { /// <...
{ "content_hash": "427d9df9dae4e8caf492e743d1082510", "timestamp": "", "source": "github", "line_count": 374, "max_line_length": 118, "avg_line_length": 34.69786096256684, "alnum_prop": 0.5149109963782076, "repo_name": "isaiah-perumalla/NMocha", "id": "70783196dd749db63da31991f53be82d56eecd14", "siz...
package de.cronn.jira.sync.config; public class CacheConfig { private static final String DEFAULT_DIRECTORY = "cache"; private boolean persistent; private String directory = DEFAULT_DIRECTORY; public boolean isPersistent() { return persistent; } public void setPersistent(boolean persistent) { this.persis...
{ "content_hash": "4ce22c3c3d24b512d6a83b7b145612ff", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 57, "avg_line_length": 19.2, "alnum_prop": 0.75, "repo_name": "cronn-de/jira-sync", "id": "1aee2ad419063a5f1216fa751358505c8dd46ce3", "size": "480", "binary": false, "c...
import os import datetime import time import platform import mimetypes from tempfile import NamedTemporaryFile import warnings # DJANGO IMPORTS from django.core.files import File from django.utils.six import string_types # FILEBROWSER IMPORTS from filebrowser.settings import EXTENSIONS, VERSIONS, ADMIN_VERSIONS, VERS...
{ "content_hash": "29d115976615c86f769cc3a61ffc1e3e", "timestamp": "", "source": "github", "line_count": 570, "max_line_length": 203, "avg_line_length": 32.80701754385965, "alnum_prop": 0.6154545454545455, "repo_name": "nemesisdesign/django-filebrowser", "id": "6881a43faf382d89406cb5f94a7b1600a218edbd...
<?php /** * This file is automatically generated. Use 'arc liberate' to rebuild it. * @generated * @phutil-library-version 2 */ phutil_register_library_map(array( '__library_version__' => 2, 'class' => array( 'TravicatorArcanistConfiguration' => 'src/TravicatorArcanistConfiguration.php', ), 'functio...
{ "content_hash": "33c290efbeb73cca1e6d2e85e079bd3c", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 83, "avg_line_length": 19.818181818181817, "alnum_prop": 0.6559633027522935, "repo_name": "afterburner/travicator", "id": "f50f733f344d4136546e9ae92a511232e576d6e0", "size"...
from typing import ( # pylint: disable=unused-import Union, Optional, Any, TYPE_CHECKING ) from azure.storage.blob import generate_account_sas as generate_blob_account_sas from azure.storage.blob import generate_container_sas, generate_blob_sas if TYPE_CHECKING: from datetime import datetime from ._models...
{ "content_hash": "d9949409657237071d1db7491bdcb64c", "timestamp": "", "source": "github", "line_count": 396, "max_line_length": 118, "avg_line_length": 54.64646464646464, "alnum_prop": 0.711275415896488, "repo_name": "Azure/azure-sdk-for-python", "id": "6555dce5d2ec590f0db8ef5068e2c1f616bd56dd", "s...
package org.res4j.util; import java.io.File; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Enumera...
{ "content_hash": "c334d44c951bb185eececae4cde8e3e6", "timestamp": "", "source": "github", "line_count": 282, "max_line_length": 117, "avg_line_length": 34.36524822695036, "alnum_prop": 0.703229800846146, "repo_name": "res4j/res4j", "id": "b14b7660c999b0eee59b6496086513f2222875e6", "size": "9691", ...
help(){ echo "Usage: $0 [OPTION]..." echo "Run gitlint's test suite(s) or some convience commands" echo " -h, --help Show this help output" echo " -p, --pep8 Run pep8 checks" echo " -l, --lint Run pylint checks" echo " -s, --stats Show some project stats" e...
{ "content_hash": "a6d0021a1dea31db96a3c73242e7126f", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 101, "avg_line_length": 29.36144578313253, "alnum_prop": 0.6060730406237177, "repo_name": "tobyoxborrow/gitlint", "id": "b17e4348735fac5f2ae811557a4d0d0f574b8890", "size": ...
package com.buransky.javaStaticHell import java.io.{BufferedWriter, PrintWriter, File} import java.util.jar.JarFile import com.buransky.javaStaticHell.api.impl.ClassVisitor import org.apache.bcel.classfile.{ClassFormatException, ClassParser} import scala.collection.JavaConversions._ import scala.collection.mutable.Li...
{ "content_hash": "7397a79e3b814b0a6aeb92c3cc19f6f4", "timestamp": "", "source": "github", "line_count": 159, "max_line_length": 115, "avg_line_length": 34.094339622641506, "alnum_prop": 0.6557830658550083, "repo_name": "RadoBuransky/java-static-hell", "id": "52c718d7b952bc4a5d64d33286db412bf62c5cc4",...
import { enableProdMode } from '@angular/core'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { AppModule } from './app.module'; enableProdMode(); platformBrowserDynamic().bootstrapModule(AppModule);
{ "content_hash": "48c1dc2143c15bfd12b194c96a2ff7db", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 75, "avg_line_length": 39.666666666666664, "alnum_prop": 0.773109243697479, "repo_name": "Izak88/abstruse", "id": "8fc2f5afcca5640594ed865807225ae115abe841", "size": "238", ...
package com.imageloader.adapter; /** * Created by wangzhiguo on 15/8/31. */ public class ItemType { public static final int FIRSTITEM = 0; public static final int GENERAL = 1; }
{ "content_hash": "0d645c227fabd2b810d86d747a2e442d", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 42, "avg_line_length": 21, "alnum_prop": 0.6931216931216931, "repo_name": "MissBears/CustomImageLoader", "id": "9720dc230ecaf05a1785a0cfdf11f1f17d5cb473", "size": "189", "...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Licensed to the Apache Software Foundation (ASF) under one or more ~ contributor license agreements. See the NOTICE file distributed with ~ this work for additional information regarding copyright ownership. ~ The ASF licenses this file to You under the Apache Lice...
{ "content_hash": "43e58b48028292987d98d9d9a11578c0", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 204, "avg_line_length": 37.39325842696629, "alnum_prop": 0.6887019230769231, "repo_name": "shuangshuangwang/spark", "id": "1b0d6d322917f6da0454d6ae70ac4624f3b666cf", "size"...
define([ 'kernel/runtime', 'kernel/MessageHandler', 'kernel/browserAction', 'kernel/persistent', 'common/storedSettings', 'common/iframeSize', 'background/messageSender', 'background/translator' ], function ( runtime, MessageHandler, browserAction, persistent, storedS...
{ "content_hash": "75514db13fb5cd956ed287dd3747035b", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 190, "avg_line_length": 29.602941176470587, "alnum_prop": 0.5412319920516642, "repo_name": "bubkoo/crx-selection-translator", "id": "918241eb0cd0ca85ea36127a646a471943bcc155...
from PyDAQmx import * import numpy def take_data_2chan(num_points, sampling_rate): """ Take `num_points` from the NIDAQ """ analog_input = Task() read = int32() data_size = 2*num_points data = numpy.zeros((data_size), dtype=numpy.float64) # DAQmx Configure Code analog_input.CreateAIVoltageChan("Dev1/ai0:1",...
{ "content_hash": "0e78617e3d82ee163cc680bfb04017f9", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 104, "avg_line_length": 26.56, "alnum_prop": 0.7259036144578314, "repo_name": "BBN-Q/Qlab", "id": "ce57411c51123263ef0f55f256cc9096c6fff39f", "size": "664", "binary": fal...
__test__ = {"doctest": """ >>> from testsuite.tsearch2_gis.models import Location >>> from django.contrib.gis.geos import Point >>> Location.objects.create(name=u"Mario's Pizza", latlon=Point(12.4604, 43.9420)) <Location: Mario's Pizza> >>> Location.objects.update_index() >>> Location.objects.search("mario") [<Locat...
{ "content_hash": "260d5a25f0e480df3df0eb5434e42576", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 82, "avg_line_length": 24.25, "alnum_prop": 0.6855670103092784, "repo_name": "hcarvalhoalves/django-tsearch2", "id": "eb612a09f41b12dfd3397161796c36087fc175ee", "size": "40...
<?php namespace yiiunit\framework\caching; use yii\caching\MemCache; /** * Class for testing memcache cache backend * @group memcache * @group caching */ class MemCacheTest extends CacheTestCase { private $_cacheInstance = null; /** * @return MemCache */ protected function getCacheInstance() { if (!ext...
{ "content_hash": "915c0fe866ad75d46b85ecde6e8966cd", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 81, "avg_line_length": 20.31111111111111, "alnum_prop": 0.6717724288840262, "repo_name": "yourcodehere/yii2", "id": "63f8be1640207141a431c30b259962dbdbeb16a3", "size": "914...
module Imports ( module X ) where import Application.Types as X import Application.Api as X import Network.Wai.Trans as X import Network.HTTP.Types as X import Web.Routes.Nested as X
{ "content_hash": "ca54353599d86640f7dae4f603dd2320", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 30, "avg_line_length": 17.818181818181817, "alnum_prop": 0.7448979591836735, "repo_name": "athanclark/contact-logger", "id": "37dd65172b9160b23c6510b0f635960b4fc2300b", "si...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Globalization; namespace SelfControlApplication { public partial class MainForm : Form { ...
{ "content_hash": "f8f45a27131d72cf7142df5144dba865", "timestamp": "", "source": "github", "line_count": 263, "max_line_length": 196, "avg_line_length": 38.38783269961977, "alnum_prop": 0.5297147385103012, "repo_name": "sw0rl0k/selfcontrolapp", "id": "37ee984aaf20a78c82250a10f290c4383716622a", "size...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "6b38b9d0a5609c089bb30722d13ef2de", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "c7411be969e6e8bcebe70a2fa95a532137c932e7", "size": "174...
<div class="left-sidebar" id="left-sidebar"> <div class="bottom_sidebar"> <ul id="global_filters" class="filters"> {# Special-case this link so we don't actually go to page top. #} <li data-name="home" ...
{ "content_hash": "5ea11723b69d49e3537e75c5c375f8dd", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 257, "avg_line_length": 77.39393939393939, "alnum_prop": 0.44498825371965545, "repo_name": "mohsenSy/zulip", "id": "11d0c26bca1347151b2a32e0dc6bb67f4be45490", "size": "5108...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "bffd836a6bca65e401d9ceb1eb89ff77", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "2dc6f542c3c223013f8cc5985d7b90cee90dbf27", "size": "199...
module IncomeTax module Countries class Sudan < Models::FixedRate register "Sudan", "SD", "SDN" currency "SDG" rate "15%" end end end
{ "content_hash": "17899b1b1b7307aa3bba3ce984a3066f", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 35, "avg_line_length": 18.666666666666668, "alnum_prop": 0.5892857142857143, "repo_name": "rkh/income-tax", "id": "90ba16a92131abf9635c975ce920ae16589a548e", "size": "168", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Code Coverage for /home/gerard/sites/modules.w.doctrine/modules.zendframework.com/module/ZfModule/config</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="css/bootstrap.min.css" rel="stylesheet"> <l...
{ "content_hash": "f743b6d2e2da2b8d091fa82d627969d0", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 299, "avg_line_length": 41.21875, "alnum_prop": 0.5941369724538792, "repo_name": "gerardZf2Comments/modules", "id": "9cab052545d1bfa3266a049a68fbb38a30cb119f", "size": "395...
/* @flow */ import React, { PropTypes } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { actions as gameActions } from '../../redux/modules/games'; import TicTacToeBoard from 'components/TicTacToeBoard'; import MoveList from 'components/MoveList'; import GameDeta...
{ "content_hash": "c8b4ff99dcb50463eb2d9ab680ede605", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 103, "avg_line_length": 30.692307692307693, "alnum_prop": 0.6508771929824562, "repo_name": "mleonard87/merknera-ui", "id": "bbff5ef9e5ffa0981e36ba10e624bbe502a9aa3f", "siz...
Testing:
{ "content_hash": "719a4144c04c07442a8513e254130fc7", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 8, "avg_line_length": 9, "alnum_prop": 0.7777777777777778, "repo_name": "webkom/lego-webapp", "id": "67ed1a994157d539a96cd98398c14fc054a42727", "size": "9", "binary": fals...
Clazz.declarePackage ("JU"); Clazz.load (["java.io.OutputStream", "javajs.api.GenericOutputChannel"], "JU.OC", ["java.io.BufferedWriter", "$.ByteArrayOutputStream", "$.OutputStreamWriter", "JU.Base64", "$.SB"], function () { c$ = Clazz.decorateAsClass (function () { this.bytePoster = null; this.fileName = null; th...
{ "content_hash": "0b64f64c01c567cfbf134345fea32f7c", "timestamp": "", "source": "github", "line_count": 245, "max_line_length": 195, "avg_line_length": 26.612244897959183, "alnum_prop": 0.6263803680981596, "repo_name": "ezekutor/jsdelivr", "id": "1f46d9f71be75c16ef1225612a660703191b147c", "size": "...
require 'active_support/core_ext/array/conversions' require 'active_support/core_ext/string/inflections' require 'active_support/core_ext/object/deep_dup' require 'active_support/core_ext/string/filters' module ActiveModel # == Active \Model \Errors # # Provides a modified +Hash+ that you can include in your obj...
{ "content_hash": "a9f13b17fe86173b5d82689b345dfe8d", "timestamp": "", "source": "github", "line_count": 582, "max_line_length": 116, "avg_line_length": 35.2852233676976, "alnum_prop": 0.6152610050642774, "repo_name": "best-summer/project-dystopia", "id": "671dabb3a8b157e79455d6b4a411ab724a82a14d", ...
package com.intel.analytics.bigdl.nn import org.scalatest.{FlatSpec, Matchers} import com.intel.analytics.bigdl.numeric.NumericFloat import com.intel.analytics.bigdl.tensor.{SparseTensor, Tensor} import com.intel.analytics.bigdl.utils.T import scala.util.Random class SparseLinearSpec extends FlatSpec with Matchers...
{ "content_hash": "b0407a3f28fb33d8f1170b47f7fdbcc3", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 99, "avg_line_length": 37.9125, "alnum_prop": 0.6750741839762612, "repo_name": "jenniew/BigDL", "id": "392d48bd7ba60f6f2f4247114e50fd1eda1c9ef2", "size": "6667", "binary...
var GameObject = function (body, opts) { THREE.Object3D.call(this); opts = opts || {}; this.velocity = opts.velocity || new THREE.Vector3(); /** @var {THREE.Object3D} */ this.body = body; this.body.userData.entity = this; this.children.push(this.body); this.mouseOverBody = opts.mouseOverBody || body;...
{ "content_hash": "51f6263685769f08257364a752ad150c", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 123, "avg_line_length": 29.22, "alnum_prop": 0.7063655030800822, "repo_name": "zacharyliu/light-rays", "id": "ff6aecacd55c8fd986e2aadccca26729cc6d2af5", "size": "1461", "...
package com.pearson.statsagg.webui.api; import com.pearson.statsagg.database_objects.notifications.NotificationGroupsDao; import com.pearson.statsagg.utilities.StackTrace; import java.io.PrintWriter; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServle...
{ "content_hash": "5f05669a020a1b0c6e6d7b90e796b05f", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 125, "avg_line_length": 35.75824175824176, "alnum_prop": 0.6696373693915181, "repo_name": "karimgarza/StatsAgg", "id": "483f1b8135ec4de22b5faaf4691ace35ff4f93f7", "size": "...
#import <objc/runtime.h> #import "TiProxy.h" #import "TiHost.h" #import "KrollCallback.h" #import "KrollContext.h" #import "KrollBridge.h" #import "TiModule.h" #import "ListenerEntry.h" #import "TiComplexValue.h" #import "TiViewProxy.h" #import "TiBindingEvent.h" #include <libkern/OSAtomic.h> //Common exceptions t...
{ "content_hash": "2be03334b1bc83f73b9807b4bdc24179", "timestamp": "", "source": "github", "line_count": 1308, "max_line_length": 221, "avg_line_length": 27.93730886850153, "alnum_prop": 0.7189808986919162, "repo_name": "simonron/SiWriterPro1.5.6", "id": "f4a432f0dd069805ef735b2c3f896506fba1a21e", "...
import os import sys try: import syslog except ImportError: syslog = None import platform import types from .log import DefaultFilter ENV_PREFIX = 'KAIRA_' _address_dict = { 'Windows': ('localhost', 514), 'Darwin': '/var/run/syslog', 'Linux': '/dev/log', 'FreeBSD': '/dev/log' } LOGGING = { ...
{ "content_hash": "8769d19e15fbd2fda2543e37d592f8f7", "timestamp": "", "source": "github", "line_count": 178, "max_line_length": 78, "avg_line_length": 33.2752808988764, "alnum_prop": 0.5353705892284315, "repo_name": "mulonemartin/kaira", "id": "88757fad31017f85299d481559b8b3365584a5e9", "size": "59...
package esapi import ( "context" "net/http" "strconv" "strings" ) func newMLDeleteJobFunc(t Transport) MLDeleteJob { return func(job_id string, o ...func(*MLDeleteJobRequest)) (*Response, error) { var r = MLDeleteJobRequest{JobID: job_id} for _, f := range o { f(&r) } return r.Do(r.ctx, t) } } // --...
{ "content_hash": "95706050d0bbf947310315663287716a", "timestamp": "", "source": "github", "line_count": 212, "max_line_length": 112, "avg_line_length": 21.40566037735849, "alnum_prop": 0.6674746584398413, "repo_name": "quan-xie/tuba", "id": "9edcb757b9feab3492fe3e47d1ede61d9e40a023", "size": "5398"...
#include <linux/kernel.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/leds.h> #include <linux/err.h> #include <linux/io.h> #include <linux/scx200_gpio.h> #include <linux/module.h> #define DRVNAME "wrap-led" #define WRAP_POWER_LED_GPIO 2 #define WRAP_ERROR_LED_GPIO 3 #define WRAP_EXTRA_...
{ "content_hash": "6ed173a81c379c1a223805136da6ecff", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 65, "avg_line_length": 21.252032520325205, "alnum_prop": 0.6924254016832441, "repo_name": "mikedlowis-prototypes/albase", "id": "473fb6b97ed4f5f5ca86710f9b0afbfbaefa6ff3", ...
package org.axonframework.integrationtests.eventhandling; import org.axonframework.common.transaction.NoTransactionManager; import org.axonframework.common.transaction.Transaction; import org.axonframework.common.transaction.TransactionManager; import org.axonframework.eventhandling.EventHandlerInvoker; import org.a...
{ "content_hash": "9ed540854162fedeafc5ab82eb2e59f9", "timestamp": "", "source": "github", "line_count": 1766, "max_line_length": 120, "avg_line_length": 43.583805209513024, "alnum_prop": 0.6281619872935857, "repo_name": "krosenvold/AxonFramework", "id": "891d9bb70bd3958810cb38ff93ccf0f47d46a8de", "...
'use strict'; const path = require('path'); const lstat = require('fs').lstat; const basename = path.basename; const dirname = path.dirname; const resolve = path.resolve; const fs = require('graceful-fs'); const inspectWithKind = require('inspect-with-kind'); const isPlainObj = require('is-plain-obj'); const isStrea...
{ "content_hash": "c30af41974beb5e7dd2436bb5ff2870f", "timestamp": "", "source": "github", "line_count": 198, "max_line_length": 118, "avg_line_length": 29.45959595959596, "alnum_prop": 0.578090176581519, "repo_name": "joegesualdo/dotfiles", "id": "6c3ed904080d7f02e870a7bb6e6dc0a092cceef8", "size": ...
package org.apache.geode.management.internal.cli.commands; import static java.util.stream.Collectors.toSet; import static org.apache.geode.distributed.ConfigurationProperties.STATISTIC_ARCHIVE_FILE; import static org.apache.geode.management.internal.cli.commands.ExportLogsCommand.ONLY_DATE_FORMAT; import static org.a...
{ "content_hash": "d721ecdcfa7794a1a99f6de8f09d5e03", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 100, "avg_line_length": 39.80794701986755, "alnum_prop": 0.7507902179337881, "repo_name": "davebarnes97/geode", "id": "27032e5397b2693cdbdffd3ff10da90658d5483b", "size": "...
package com.guoxiaoxing.music.widget; import android.content.Context; import android.util.AttributeSet; import android.widget.ImageView; public class SquareImageView extends ImageView { public SquareImageView(Context context) { super(context); } public SquareImageView(Context context, Attribute...
{ "content_hash": "4feba8b4b92daa9f4bfb6de6e4545362", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 79, "avg_line_length": 26.962962962962962, "alnum_prop": 0.728021978021978, "repo_name": "guoxiaoxing/material-design-music-player", "id": "4b2425caaaa17f01488b967b875d24c805...
package org.apache.airavata.gfac.core.monitor; import org.apache.airavata.common.logger.AiravataLogger; import org.apache.airavata.common.logger.AiravataLoggerFactory; import org.apache.airavata.commons.gfac.type.HostDescription; import org.apache.airavata.gfac.core.context.JobExecutionContext; import org.apache.aira...
{ "content_hash": "e03271f1d2ce7fac6baa87663fd51265", "timestamp": "", "source": "github", "line_count": 208, "max_line_length": 149, "avg_line_length": 29.235576923076923, "alnum_prop": 0.6701200460450584, "repo_name": "glahiru/airavata", "id": "fa4ecd203a77c3333a677fe6d78c337916e76943", "size": "6...
package dynamic import ( "errors" "fmt" "reflect" "strings" "testing" "time" "github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" "github.com/gogo/protobuf/types" "istio.io/api/policy/v1beta1" "istio.io/istio/mixer/pkg/lang/compiled" "istio.io/pkg/attribute" ) func chec...
{ "content_hash": "0d1813b46399a4d80ef36c611fb32584", "timestamp": "", "source": "github", "line_count": 298, "max_line_length": 104, "avg_line_length": 24.93959731543624, "alnum_prop": 0.6184068891280947, "repo_name": "geeknoid/istio", "id": "347efc7ad154377aa5a72acf911dffa6bdc25c89", "size": "8024...
package com.google.cloud.texttospeech.v1.stub.samples; // [START texttospeech_v1_generated_TextToSpeechStubSettings_ListVoices_sync] import com.google.cloud.texttospeech.v1.stub.TextToSpeechStubSettings; import java.time.Duration; public class SyncListVoices { public static void main(String[] args) throws Except...
{ "content_hash": "a5ec002e9184c92fda13d157e81f2c93", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 100, "avg_line_length": 42.90625, "alnum_prop": 0.7560087399854334, "repo_name": "googleapis/java-texttospeech", "id": "6c5307ca4355e90e45ce3d71fd5f8105c8842b46", "size": "...
#region auto-generated FILE INFORMATION // ============================================== // This file is distributed under the MIT License // ============================================== // // Filename: TextSeparator.cs // Version: 2020-01-29 16:17 // // Copyright (c) 2020, Si13n7 Developments(tm) // All rights...
{ "content_hash": "8cdb29ea6cc777cf49451520f212152d", "timestamp": "", "source": "github", "line_count": 210, "max_line_length": 82, "avg_line_length": 26.485714285714284, "alnum_prop": 0.4703344120819849, "repo_name": "Si13n7/SilDev.CSharpLib", "id": "39f100866eb509b865060f67f6f4a5cb872e7f28", "siz...
// Copyright(c) 2011 John Clayton - http://codemonkeylabs.com // // 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 ...
{ "content_hash": "36f62c21ac0e3d9317a20daf3c5d85e1", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 75, "avg_line_length": 28.48780487804878, "alnum_prop": 0.6549657534246576, "repo_name": "jsclayton/slideshowpro-director", "id": "8d91d67fa1416424f21dfc66702d93d804fd6cc8", ...
// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // clang-format off import {sendWithPromise} from 'chrome://resources/js/cr.m.js'; // clang-format on export interface StartupPageInfo { modelIndex: number; title: string;...
{ "content_hash": "8053b4273a96224c43c92e9277b71d30", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 75, "avg_line_length": 25.26027397260274, "alnum_prop": 0.7190889370932755, "repo_name": "nwjs/chromium.src", "id": "505b5976efea5e61bc66351c9329554ff41f68e2", "size": "184...
<?php # vim:sw=4:ts=4:et:nowrap /* SEARCHENGINE class 2004-05-26 francis@flourish.org Example usage: include_once INCLUDESPATH."easyparliament/searchengine.php"; $searchengine = new SEARCHENGINE($searchstring); $description = $searchengine->query_description(); $short_description = $...
{ "content_hash": "4c4c9f7d8ad174d912e1894bfa87f902", "timestamp": "", "source": "github", "line_count": 635, "max_line_length": 158, "avg_line_length": 40.77952755905512, "alnum_prop": 0.4847653987256227, "repo_name": "NathanaelB/twfy", "id": "221c00d3a904592279fed9395036f68fa42400d1", "size": "258...
export ANDROID_COMPONENTS=build-tools-25.0.1,android-24,extra-android-support,extra-google-google_play_services,extra-google-m2repository,extra-android-m2repository export ANDROID_LICENSES=android-sdk-license-c81a61d9 export XAMARIN_ANDROID_VERSION=7.3.1-2 export XAMARIN_IOS_VERSION=10.10.0.36 export MONO_ARCHIVE_VERSI...
{ "content_hash": "ec1e5612343c0879d2617e1ef1995cde", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 182, "avg_line_length": 64.54545454545455, "alnum_prop": 0.7943661971830986, "repo_name": "DreamTeamMobile/DT.Xamarin.DGActivityIndicators", "id": "0dd67efa33db92835f6616cb13...
package com.xantoria.flippy.utils import org.scalatest.Suites class UtilsSuite extends Suites( new NetSpec )
{ "content_hash": "fd5d916b949cc2223c869aab37dfe87e", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 33, "avg_line_length": 16.142857142857142, "alnum_prop": 0.8053097345132744, "repo_name": "giftig/flippy", "id": "da44e72b4055b22afadfe72308a761510bf21bd0", "size": "113", ...
#ifndef LP_BLD_INIT_H #define LP_BLD_INIT_H #include "pipe/p_compiler.h" #include "util/u_pointer.h" // for func_pointer #include "lp_bld.h" #include <llvm-c/ExecutionEngine.h> struct gallivm_state { LLVMModuleRef module; LLVMExecutionEngineRef engine; LLVMTargetDataRef target; LLVMPassManagerRef pas...
{ "content_hash": "eefcc5e1c18396be33b91fd2decf0cb3", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 54, "avg_line_length": 18.610169491525422, "alnum_prop": 0.7058287795992714, "repo_name": "execunix/vinos", "id": "2e32cf8b077f4eca49b34a84880a7cbdcc7d4366", "size": "2420"...
package simple.view.implementation; import javafx.scene.Node; import javafx.scene.control.Button; import simple.view.IViewManager; import simple.view.SimpleAbstractMenu; /** * * Organizes and manages the game window, including starting/pausing and displaying menu. * */ public class SimpleGameMenu extends Simpl...
{ "content_hash": "3317b525795889201d2265bb509dee1b", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 90, "avg_line_length": 24.923076923076923, "alnum_prop": 0.7530864197530864, "repo_name": "nbv3/voogasalad_CS308", "id": "f3389e3c15cb255de0f243f8a9beac3df67840fe", "size":...
<!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 Mon Oct 07 06:41:30 UTC 2013 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Class org.apache.hadoop.u...
{ "content_hash": "f4827f79aa745b006cf3d0b54d562772", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 235, "avg_line_length": 43.317241379310346, "alnum_prop": 0.6177360292946983, "repo_name": "ashish-17/playback", "id": "fcfbe3e1b43a5c0516958ce654c174d6ab439683", "size": ...
[Cowboy original example](https://github.com/ninenines/cowboy/tree/master/examples/cookie) ## Build `$ rebar3 compile` ## Run `rebar3 shell` ## Build and run `rebar3 compile && rebar3 shell` Point your browser to http://localhost:1234 ## How to work with the demo 1. Build and run. 2. Point your browser to h...
{ "content_hash": "fcc10bdd1f0f9e7b38a46bdb6bdad228", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 100, "avg_line_length": 24.25, "alnum_prop": 0.7371134020618557, "repo_name": "zotonic/cowmachine", "id": "18fec26ea04671216fab6a4f0871fbbb7f1f0816", "size": "795", "bina...
use std::{ borrow::Cow, cmp::min, io::{self}, }; use saturating::Saturating as S; use crate::{ binlog::{ consts::{BinlogVersion, EventType, IncidentType, UnknownIncidentType}, BinlogCtx, BinlogEvent, BinlogStruct, }, io::ParseBuf, misc::raw::{bytes::U8Bytes, int::*, RawByte...
{ "content_hash": "d8189756afa6aacc4e04cff1af289955", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 88, "avg_line_length": 28.02803738317757, "alnum_prop": 0.5975325108369457, "repo_name": "blackbeam/rust_mysql_common", "id": "5bb86eccd153e1e73d898181e4d54b6070566a9d", "...
module GoToSymbolFunction_Pattern_CaretOnVariable where test :: Int test = let (seven, eight) = (7,8) in s<caret>even + 1
{ "content_hash": "62809f7cf517a80b5950816cae560526", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 55, "avg_line_length": 25.8, "alnum_prop": 0.6976744186046512, "repo_name": "charleso/intellij-haskforce", "id": "e21836e3c139bf8a8d80ad699c86d1333fdbb773", "size": "129", ...