text
stringlengths
2
1.04M
meta
dict
package com.opengamma.analytics.financial.provider.sensitivity.parameter; import it.unimi.dsi.fastutil.ints.IntArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import com.opengamma.analytics.financial.interestrate.InstrumentDerivativeVisitor; import com.o...
{ "content_hash": "d1687825d0c294e63c9cb70482754238", "timestamp": "", "source": "github", "line_count": 177, "max_line_length": 141, "avg_line_length": 57.85310734463277, "alnum_prop": 0.73544921875, "repo_name": "jerome79/OG-Platform", "id": "cc93b1fe5130f5456c3039c8d3f328433b6ee731", "size": "103...
package policies import ( "fmt" "gopkg.in/yaml.v2" "strings" ) // PolicyType identifies the type of policy type PolicyType string // Types of policies supported const ( Default PolicyType = "default" ) // Version policy version type Version string // Supported versions of policies const ( V1Alpha Version = "v...
{ "content_hash": "af122d0123dcb8e40cc46bdf050fee71", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 105, "avg_line_length": 24.43243243243243, "alnum_prop": 0.7459439528023599, "repo_name": "vareti/nuage-kubernetes", "id": "a2ebcbbc6c8c5f6da06f7b14a220fdedbf7eb7b8", "siz...
package com.snakerflow.framework.security.shiro; import java.util.List; import javax.annotation.PostConstruct; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.shiro.authc.AccountException; import org.apache.shiro.authc.AuthenticationException; import org.apache....
{ "content_hash": "8c2e9deee449fe7ff7d3f44fe4a1b406", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 113, "avg_line_length": 33.906976744186046, "alnum_prop": 0.7485139460448103, "repo_name": "snakerflow/snaker-web", "id": "398df7cf0b4ebd827d2f7bab058e7b7bd59f6f4c", "size...
<?php namespace Illuminate\Support\Testing\Fakes; use Closure; use Illuminate\Contracts\Mail\Factory; use Illuminate\Contracts\Mail\Mailable; use Illuminate\Contracts\Mail\Mailer; use Illuminate\Contracts\Mail\MailQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Support\Traits\ReflectsClosures; use P...
{ "content_hash": "179bd71ffa8aa12f8cb649037c72f8f5", "timestamp": "", "source": "github", "line_count": 445, "max_line_length": 122, "avg_line_length": 26.042696629213484, "alnum_prop": 0.5718353611183018, "repo_name": "dwightwatson/framework", "id": "4fea2cbb65ff951451547820185604865d27b7fe", "siz...
var events = require('events'); var dht = require('bittorrent-dht'); var tracker = require('bittorrent-tracker'); var DEFAULT_PORT = 6881; module.exports = function(torrent, opts) { if (typeof opts !== 'object') { opts = torrent; torrent = null; } var port = opts.port || DEFAULT_PORT; var discovery = new ev...
{ "content_hash": "32033fba80af6d3edf20e0d3044c03cd", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 93, "avg_line_length": 25.541666666666668, "alnum_prop": 0.6545676998368679, "repo_name": "rosscdh/torrent-live", "id": "287fb5fac3602bdd95078beeaa59654247bbd5d4", "size": ...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Fram...
{ "content_hash": "89cbec12174f7dd1e825a441788c3f45", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 62, "avg_line_length": 26.26086956521739, "alnum_prop": 0.75, "repo_name": "mloveall/XNA_Projects", "id": "1a8c1fad7c66386adc8bb213328ce3274d0e504f", "size": "604", "bina...
 using System; using System.Data; using ZyGames.Framework.Common.Log; using ZyGames.Framework.Game.Cache; using ZyGames.Framework.Game.Service; using ZyGames.Framework.Collection; using ZyGames.Framework.Common; using ZyGames.Tianjiexing.BLL.Base; using ZyGames.Tianjiexing.Model; using ZyGames.Tianjiexing.Mo...
{ "content_hash": "9951857547f751731a44fc43490d6ef7", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 140, "avg_line_length": 40.095238095238095, "alnum_prop": 0.5520585906571654, "repo_name": "wenhulove333/ScutServer", "id": "5a049363eee0db806b1b1341ba0104e0f5dfc219", "si...
package com.ss.editor.manager; import static com.ss.rlib.common.util.FileUtils.getExtension; import static com.ss.rlib.common.util.array.ArrayFactory.asArray; import static java.awt.Image.SCALE_DEFAULT; import static java.nio.file.StandardOpenOption.*; import com.jme3.asset.AssetManager; import com.jme3.texture.Textur...
{ "content_hash": "2c8c11ed70732156e2a8afa88e0b2f1f", "timestamp": "", "source": "github", "line_count": 475, "max_line_length": 120, "avg_line_length": 36.374736842105264, "alnum_prop": 0.6397731218891075, "repo_name": "JavaSaBr/jME3-SpaceShift-Editor", "id": "b45ec55123857d00afc11ebf4106e8d92c9752f5...
package org.elasticsearch.script; import org.elasticsearch.action.index.IndexRequestBuilder; import org.elasticsearch.action.search.SearchResponse; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.script.mustache.MustacheScriptEngineService; import org.elasticsearch.search.SearchHit; import...
{ "content_hash": "05472b8c17c3b98547f141f36a284f8f", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 215, "avg_line_length": 60.68711656441718, "alnum_prop": 0.6258592802264457, "repo_name": "mkis-/elasticsearch", "id": "b49486f0509b541f3afb302e221b712dc419685a", "size": ...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="opis.css"> <style> </style> </head> <body> <div class="content"> <div class="species_name"> </div> <div class="latin_name"> </div> <div class="class...
{ "content_hash": "bded3987a22669278e6cc27d17d29d86", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 100, "avg_line_length": 25.06741573033708, "alnum_prop": 0.5688032272523532, "repo_name": "blstream/MyGuide", "id": "c35f58d2eeaae2376864c6afe416da71c447d77b", "size": "223...
package com.google.javascript.jscomp; import com.google.common.base.Preconditions; import com.google.common.base.Supplier; import com.google.javascript.jscomp.NodeTraversal.ScopedCallback; import com.google.javascript.rhino.Node; import com.google.javascript.rhino.Token; import java.util.ArrayDeque; import java.uti...
{ "content_hash": "23e2871c227282936a705f1a31e67fb8", "timestamp": "", "source": "github", "line_count": 274, "max_line_length": 80, "avg_line_length": 30.21167883211679, "alnum_prop": 0.6476201981154869, "repo_name": "rockyzh/closure-compiler", "id": "1e75bfe35cd08611bfa2a2ce771c7867e578eff6", "siz...
package org.docksidestage.dbflute.bsentity; import java.util.List; import java.util.ArrayList; import org.dbflute.Entity; import org.dbflute.dbmeta.DBMeta; import org.dbflute.dbmeta.AbstractEntity; import org.dbflute.dbmeta.accessory.DomainEntity; import org.dbflute.optional.OptionalEntity; import org.docksidestage....
{ "content_hash": "f4c689afe8f9cf052d042e92d95ab8a1", "timestamp": "", "source": "github", "line_count": 536, "max_line_length": 155, "avg_line_length": 41.76119402985075, "alnum_prop": 0.5911365260900643, "repo_name": "dbflute-session/lastaflute-test-catalog", "id": "f581b12fa070076cf73d07e3b3d44b878...
package org.lnu.is.extractor.admin.unit.type; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.when; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import or...
{ "content_hash": "b184aca63bf472613de87497d058e8aa", "timestamp": "", "source": "github", "line_count": 180, "max_line_length": 77, "avg_line_length": 24.727777777777778, "alnum_prop": 0.721635587508425, "repo_name": "ifnul/ums-backend", "id": "49772d94a8cd997a8d13976945b0069ccdf606a6", "size": "44...
package nextStep.rest.mockrestservice; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.containsString; import static org.springframework.test.web.client.match.MockRestRequestMatchers.method; import static org.springframework.test.web.client.match.MockRestRequestMatchers.r...
{ "content_hash": "53b82c8358b6a50f20507bde3f3f7e2f", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 449, "avg_line_length": 42.21052631578947, "alnum_prop": 0.7547797173732336, "repo_name": "saebnajim/nextsteps", "id": "cda891de9a31ffb63423b5d59a10213aaf2e99df", "size": "...
class ChatterboxException(Exception): pass class RateLimitException(ChatterboxException): pass class KeyInvalidationException(ChatterboxException): pass
{ "content_hash": "b5adb67fad365e27b6f3d834f344638d", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 52, "avg_line_length": 16.9, "alnum_prop": 0.7988165680473372, "repo_name": "blitzagency/django-chatterbox", "id": "5b0cfd74366e54241c85a10f1c75b9126a4ba72f", "size": "169"...
import os import pytest from datadog_checks.dev import docker_run from datadog_checks.dev.conditions import CheckDockerLogs from datadog_checks.dev.utils import load_jmx_config from . import common @pytest.fixture(scope='session') def dd_environment(): compose_file = os.path.join(common.HERE, 'docker', 'docker...
{ "content_hash": "0059197e8643431973d051227bcfc9f9", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 119, "avg_line_length": 30.35, "alnum_prop": 0.7051070840197694, "repo_name": "DataDog/integrations-core", "id": "4aff5f384f932a889e33dae6eed8707c7f17b5c4", "size": "722", ...
import { readFileSync } from 'fs'; import * as _ from 'lodash'; import * as ts from 'typescript'; const DEFAULTS = { path: 'handlers', http: { integration: 'lambda', cors: true, name: (name: string) => { return {method: name}; } }, s3: { name: (name: string) => { return {event: _.get({created: 's3:ObjectCr...
{ "content_hash": "79639f20e0ce9f64d5d231d05010cef2", "timestamp": "", "source": "github", "line_count": 204, "max_line_length": 207, "avg_line_length": 40.89705882352941, "alnum_prop": 0.5288265611890207, "repo_name": "oasp/oasp4fn", "id": "2b8151046787885e9dc4f700a5d8d6b4f091c1a7", "size": "8343",...
/** * Deseasonalise data based on the average for the period (specified by label range). * @returns {function} - the function to average the data */ ssci.season.average = function(){ var numPoints = 0; var output = []; var i; var x_conv = function(d){ return d[0]; }; var y_conv = function(d){ re...
{ "content_hash": "223d45ce8889bb82b0b2a3c59d32ec37", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 161, "avg_line_length": 33.48031496062992, "alnum_prop": 0.5468015051740357, "repo_name": "muonsw/ssci", "id": "94c0972b3775b7b748094520bcc65d9efd5752fd", "size": "4252", ...
package model import ( "encoding/json" "fmt" "io" "net/http" "net/url" "strconv" "strings" ) type OutgoingWebhook struct { Id string `json:"id"` Token string `json:"token"` CreateAt int64 `json:"create_at"` UpdateAt int64 `json:"update_at"` DeleteAt int64...
{ "content_hash": "ebd7da3d25c084feeadad7e1c203b981", "timestamp": "", "source": "github", "line_count": 250, "max_line_length": 139, "avg_line_length": 25.976, "alnum_prop": 0.673236834000616, "repo_name": "abustany/mattermost-trac-bot", "id": "59408c24edbb3e90409d994830e3feaebba929b4", "size": "66...
"""Tests for the Atag climate platform.""" from unittest.mock import PropertyMock, patch from homeassistant.components.atag.climate import DOMAIN, PRESET_MAP from homeassistant.components.climate import ( ATTR_HVAC_ACTION, ATTR_HVAC_MODE, ATTR_PRESET_MODE, HVAC_MODE_HEAT, SERVICE_SET_HVAC_MODE, ...
{ "content_hash": "8ae143096a2e07a6792e40a00f07fef3", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 88, "avg_line_length": 36.398148148148145, "alnum_prop": 0.6932078351564488, "repo_name": "home-assistant/home-assistant", "id": "ba6bc892e40c2805083532dc3155b04acfc4bf72", ...
/* * $Id$ */ #if !defined(XERCESC_INCLUDE_GUARD_DOMDOCUMENTRANGE_HPP) #define XERCESC_INCLUDE_GUARD_DOMDOCUMENTRANGE_HPP #include <xercesc/util/XercesDefs.hpp> XERCES_CPP_NAMESPACE_BEGIN class DOMRange; /** * <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Documen...
{ "content_hash": "f01603c9889371f0977c0fd0256b2eac", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 170, "avg_line_length": 29.5, "alnum_prop": 0.4851694915254237, "repo_name": "colorer/xerces-c", "id": "cee401075afe14349280bb66011b67efe0aab5dd", "size": "3164", "binary...
from attendly import * VERSION='0.2.3'
{ "content_hash": "742920d114a50645413dd286c13ef828", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 22, "avg_line_length": 13, "alnum_prop": 0.717948717948718, "repo_name": "Attendly/attendly-python", "id": "c7a60043ce1277de2d104acb6085938eeaf3e922", "size": "39", "binar...
''' Author: sapatel91 Date: March 30, 2014 File: TestSendSOAP.py Purpose: Send SOAP Commands to C4 Disclaimer: USE AT YOUR RISK, I TAKE NO RESPONSIBILITY Most likely there won't be any though ''' from Modules.PyControl4 import * # Establish Connection # NOTE: IP Address will be different f...
{ "content_hash": "2d3b3e94ec94912f611add8e264d658c", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 244, "avg_line_length": 33.9, "alnum_prop": 0.7168141592920354, "repo_name": "sapatel91/pyControl4", "id": "5929eaecb01bfdec6572ac623db110cf7a3ddc1d", "size": "678", "bin...
package queue import ( "flag" . "github.com/osrg/earthquake/earthquake/signal" . "github.com/osrg/earthquake/earthquake/util/log" "github.com/stretchr/testify/assert" "os" "testing" "time" ) func TestMain(m *testing.M) { flag.Parse() InitLog("", true) RegisterKnownSignals() os.Exit(m.Run()) } func makeDum...
{ "content_hash": "1035ecdda83639f180352554b723ca81", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 71, "avg_line_length": 22.557522123893804, "alnum_prop": 0.6657512750098078, "repo_name": "AkihiroSuda/earthquake", "id": "f3a318e9e73311da0ba38bb88a2902dc2a629e25", "size...
namespace greyhound { namespace { bool exists(const std::string path) { return std::ifstream(path).good(); } const std::string publicRoot(([]()->std::string { const std::string ins(installPrefix() + "/include/greyhound/public"); const std::string cwd( entwine::arbiter::util::join( ...
{ "content_hash": "176697162fa0c96f5cc6c61bfdbd128f", "timestamp": "", "source": "github", "line_count": 187, "max_line_length": 77, "avg_line_length": 25.32085561497326, "alnum_prop": 0.5552270327349524, "repo_name": "hobu/greyhound", "id": "9e602d08aa0c7619374a05ee1ef0e0ac1cef8af6", "size": "4831"...
<?php class Jetpack_Heartbeat { /** * Holds the singleton instance of this class * * @since 2.3.3 * @var Jetpack_Heartbeat */ private static $instance = false; private $cron_name = 'jetpack_v2_heartbeat'; /** * Singleton * * @since 2.3.3 * @static * @return Jetpack_Heartbeat */ public sta...
{ "content_hash": "85aa13c2418607a935c826ab788173f4", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 107, "avg_line_length": 29.496688741721854, "alnum_prop": 0.6017063313875168, "repo_name": "Lycanstrife/astro-nought", "id": "54cdef3b4094f89e87ac8277ade0c686ebc3d30c", "s...
title: VR layout: usermanual-page.hbs position: 3 --- ![VR View][1] PlayCanvas also lets you create Virtual Reality (VR) applications for headsets and mobile phones using the WebXR API. WebXR is an evolution of the WebVR API and it is widely supported in desktop browsers. ## Platforms VR capabilities are available ...
{ "content_hash": "e55e433c9e64a5397a92867f78c22a29", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 214, "avg_line_length": 35.05263157894737, "alnum_prop": 0.7402402402402403, "repo_name": "playcanvas/developer.playcanvas.com", "id": "acecc34cc0039c77e185448469017aea287504...
Dir[File.dirname(__FILE__) + '/readingtime/*.rb'].each do |file| require file end module Readingtime class << self attr_accessor :configuration end def self.configure yield(configuration) end def self.configuration @configuration ||= Configuration.new end def self.reading_speed confi...
{ "content_hash": "53af331d3964064e68acf58123a1b2bd", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 69, "avg_line_length": 24.19298245614035, "alnum_prop": 0.7142857142857143, "repo_name": "garethrees/readingtime", "id": "b66a7fc0c6339bec01213d933cf078da5841d23a", "size":...
<?php /* CdlrcodeBundle:Cours:new.html.twig */ class __TwigTemplate_6334726c3c8f18c81f22ed4005465ce7f1eec0af2f118f840e5e13c8ffd89a6d extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 try { $this->parent = $this...
{ "content_hash": "73f74c39bc40040405f7da30cbf88100", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 169, "avg_line_length": 24.68421052631579, "alnum_prop": 0.5415778251599147, "repo_name": "mehdihannachi/Code-de-la-route", "id": "52b7b3a9de754880d2437ab7088d74d82f360894", ...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); // ------------------------------------------------------------------------ /** * ExpressionEngine Core File Integrity Class * * @package ExpressionEngine * @subpackage Core * @category Core * @author EllisLab Dev Team * @link http:...
{ "content_hash": "d3a7e626fef9a1a0359da88bf049d634", "timestamp": "", "source": "github", "line_count": 237, "max_line_length": 99, "avg_line_length": 23.329113924050635, "alnum_prop": 0.5525411466811359, "repo_name": "wojodesign/generator-wojo-frontend", "id": "7652d52d3f335ec1b7cb42e2a8910fe219c362...
import ts = require('typescript'); import base = require('./base'); import ts2dart = require('./main'); import {FacadeConverter} from "./facade_converter"; class LiteralTranspiler extends base.TranspilerBase { constructor(tr: ts2dart.Transpiler, private fc: FacadeConverter) { super(tr); } visitNode(node: ts.Node)...
{ "content_hash": "0564205a27971f5b425e07bc86df14f1", "timestamp": "", "source": "github", "line_count": 135, "max_line_length": 100, "avg_line_length": 36.58518518518518, "alnum_prop": 0.600323952217048, "repo_name": "jeffbcross/ts2dart", "id": "e5769b56e8e240c6371e8be80238b5f242fb109f", "size": "5...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ChangeListManager"> <list default="true" id="ec692593-3677-4f10-9b7e-a4a5a866db97" name="Default" comment="" /> <ignored path="extended.iws" /> <ignored path=".idea/workspace.xml" /> <option name="TRACKING_ENABLED" value="tr...
{ "content_hash": "c2f9f9e0b5df2df46d6991c138299e9d", "timestamp": "", "source": "github", "line_count": 1103, "max_line_length": 266, "avg_line_length": 57.406165004533094, "alnum_prop": 0.6311217801923593, "repo_name": "ak305/public-transport-visualisation", "id": "aef4535be03c58ebf19d39f2c65f1ef857...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> <head> <title> Flask // [quandrei] </title> <link href="http://gmpg.org/xfn/11" rel="profile"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initia...
{ "content_hash": "3668b2c005930fecde4965c48ad0318b", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 602, "avg_line_length": 33.8, "alnum_prop": 0.6140902366863905, "repo_name": "quandrei/quandrei.github.io", "id": "f001c0699cfca5dd79b71d3a282e778ff57687bc", "size": "5408...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/m...
{ "content_hash": "37480dfc8081db960eb76f8d2d847409", "timestamp": "", "source": "github", "line_count": 564, "max_line_length": 275, "avg_line_length": 87.76595744680851, "alnum_prop": 0.3771919191919192, "repo_name": "apache/cloudstack-www", "id": "a68a8e21f1f0b63d55288196909331d75408a5b5", "size"...
/** * @module 1-liners/fold * * @description * * Same as [`array.reduce`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/array/reduce). * * @example * * const fold = require('1-liners/fold'); * * fold(sum, 8, [1, 2, 3]); // => 2 * */ export default (fold, initial, arr) =...
{ "content_hash": "0084e6a07f0d854dd0ba0401c901431b", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 123, "avg_line_length": 23.266666666666666, "alnum_prop": 0.6189111747851003, "repo_name": "1-liners/1-liners", "id": "22dbfc9ed25c45f489cce9c76ebe71baba100721", "size": "3...
<?php namespace Google\Service\CloudSearch; class Color extends \Google\Model { /** * @var float */ public $alpha; /** * @var float */ public $blue; /** * @var float */ public $green; /** * @var float */ public $red; /** * @param float */ public function setAlpha($a...
{ "content_hash": "106a41c716880c4da56725269e012b35", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 81, "avg_line_length": 13.845238095238095, "alnum_prop": 0.5417024935511608, "repo_name": "googleapis/google-api-php-client-services", "id": "600144a5112894838745279afdc68540...
from parsimonious import Grammar from parsimonious.exceptions import ParseError from parsimonious.nodes import NodeVisitor, VisitationError from turing.utils.normalize import get_state_name_norm norm_state = get_state_name_norm() class TuringSyntaxError(VisitationError): def __init__(self, text, pos): ...
{ "content_hash": "d111164d946ab053e6be040a37bd5139", "timestamp": "", "source": "github", "line_count": 265, "max_line_length": 97, "avg_line_length": 25.381132075471697, "alnum_prop": 0.5422242045792447, "repo_name": "myaskevich/turing", "id": "aced871c841e30d50ace24ef933246510fce571a", "size": "6...
package org.openehealth.ipf.commons.ihe.xds.core.requests.query; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.ToString; import javax.xml.bind.annotation.XmlAccessType; import ja...
{ "content_hash": "c6bc8ec5c2f31567a5393d9c813aa44a", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 98, "avg_line_length": 32.46739130434783, "alnum_prop": 0.6709072648141948, "repo_name": "oehf/ipf", "id": "c63fad6bf3fedd8896bd44df3804e477b1e70949", "size": "3621", "bi...
if ENV['CODECLIMATE_REPO_TOKEN'] require "codeclimate-test-reporter" CodeClimate::TestReporter.start end require 'rspec' require 'http/security/version' include HTTP::Security RSpec.configure do |specs| specs.filter_run_excluding :gauntlet end
{ "content_hash": "f9a0f88ba68fbcf7bb0f4b519c556a8e", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 38, "avg_line_length": 19.46153846153846, "alnum_prop": 0.782608695652174, "repo_name": "firebitsbr/http-security", "id": "d7e3be3f2be43bb2a1ec340bda4d3e26a20f56d5", "size"...
// <copyright file="IccDataReader.cs" company="James Jackson-South"> // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // </copyright> namespace ImageSharp { using System; using System.Text; using ImageSharp.IO; /// <summary> /// Provides me...
{ "content_hash": "d292d31fac293b79ca544b55305d4512", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 105, "avg_line_length": 34.31132075471698, "alnum_prop": 0.5669507836128678, "repo_name": "KelsonBall/KoreUI", "id": "cb1fe5b55e95be37f86d99c6a005c3f5996f1398", "size": "3...
typedef NS_ENUM(NSInteger, SlideStatus) { SlideStatusNone = 0, SlideStatusInBorder = 1, SlideStatusOutOfBorderFromMinimumValue = 2, SlideStatusOutOfBorderFromMaximumValue = 3 }; @interface BLCircularProgressView () { SlideStatus currentSlideStatus; // Determine current slide status when touching ...
{ "content_hash": "a063f69d0038b2f71f941f97758fc482", "timestamp": "", "source": "github", "line_count": 397, "max_line_length": 254, "avg_line_length": 41.13350125944584, "alnum_prop": 0.680526638089406, "repo_name": "boylee1111/BLCircularProgress", "id": "84bdd6fe8192d568fb0351c3d0a93b65f6f0a8ad", ...
<?php namespace Laravel; class Asset { /** * All of the instantiated asset containers. * * @var array */ public static $containers = array(); /** * Get an asset container instance. * * <code> * // Get the default asset container * $container = Asset::container(); * * // Get a named asset ...
{ "content_hash": "a010702e4de0622bee6550a1b2da7fc3", "timestamp": "", "source": "github", "line_count": 356, "max_line_length": 97, "avg_line_length": 23.589887640449437, "alnum_prop": 0.6196713503215051, "repo_name": "purwandi/usm", "id": "6bc364786b48b9843864e240711d7a349d88107c", "size": "8398",...
package com.github.blahord.integral.component.fixedcharacter; import com.github.blahord.bettercollections.list.List; import com.github.blahord.bettercollections.util.Lists; import com.github.blahord.integral.ComponentException; import com.github.blahord.integral.component.fixedcharacter.ReadFixedCharacter.LinePart; im...
{ "content_hash": "dce4bfed6bae5ca3711e8466e7c017f2", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 153, "avg_line_length": 38.4, "alnum_prop": 0.6783405172413793, "repo_name": "Blahord/integral", "id": "c14275fa4998f612933bcea85e13dc59510fd780", "size": "5568", "binar...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
{ "content_hash": "1d305618a8436ade356f2e7865c96d2a", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 86, "avg_line_length": 27.79245283018868, "alnum_prop": 0.7325186693822132, "repo_name": "treasure-data/presto", "id": "2c778a88ca1a2e8136cbbbc70571694866ad813e", "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 (1.8.0_272) on Thu Sep 30 13:16:09 PDT 2021 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>com.fasterxml.jackson.core....
{ "content_hash": "c8b757d2fc16d207234987bccfca4cb0", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 182, "avg_line_length": 59.95652173913044, "alnum_prop": 0.7041334300217549, "repo_name": "FasterXML/jackson-core", "id": "9d0d5e4ac5cd330a125b4ca17b63b40957bc8b11", "size"...
<?php if (!defined('APPLICATION')) exit(); $Session = Gdn::Session(); $FirstRow = $this->CategoryData->FirstRow(); $CssClass = $FirstRow && ($FirstRow->AllowDiscussions == '0' || $FirstRow->ParentCategoryID > 0) ? ' HasParents' : ''; ?> <h1><?php echo T('Manage Categories'); ?></h1> <div class="Info"> <?php echo T('...
{ "content_hash": "cdd5f53c36a1ad0f39ac5c7911aae77e", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 143, "avg_line_length": 41.35087719298246, "alnum_prop": 0.5893084429359355, "repo_name": "Rylinks/knoopvszombies", "id": "2ca6c6fea83bfc54e919529555bd61c7ada82c12", "size"...
function Truck(resource, playground,team){ Mobile.call(this,resource, playground,team); //this.wheelTiming = 6; var unitBottom = new Sprite(resource[this.team.truckSkin]); this.i = 0; var wheels1 = new Sprite(resource["track1.png"]); var wheels2 = new Sprite(resource["track2.png"]); var wheels3 = n...
{ "content_hash": "61b9edebf12f18734996a3a5c5aea4cd", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 118, "avg_line_length": 27.72093023255814, "alnum_prop": 0.6501677852348994, "repo_name": "ITbob/program6", "id": "673e7c7c77cb2b01d6c5f8f91c3e096a861abcab", "size": "3576...
from django.contrib.contenttypes.models import ContentType from django.test.client import RequestFactory from kitsune.access.helpers import has_perm, has_perm_or_owns from kitsune.access.tests import permission from kitsune.forums.tests import ForumTestCase, forum, thread from kitsune.sumo.urlresolvers import reverse ...
{ "content_hash": "be31bf0a8daa221d63b51a173dfad635", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 78, "avg_line_length": 43.136, "alnum_prop": 0.6008902077151336, "repo_name": "silentbob73/kitsune", "id": "bef841ca25962804b119bed1be5079a2d3bef000", "size": "5392", "b...
struct crashreporter_annotations_t { uint64_t version; // unsigned long uint64_t message; // char * uint64_t signature_string; // char * uint64_t backtrace; // char * uint64_t message2; // char * uint64_t thread; // uint64_t uint64_t dialog_mode; // unsigned...
{ "content_hash": "1e402aeaa44ed3c833dfa2f657c1f37e", "timestamp": "", "source": "github", "line_count": 229, "max_line_length": 80, "avg_line_length": 30.310043668122272, "alnum_prop": 0.7180521538683187, "repo_name": "huonw/swift", "id": "0ecc8f860a2454f895c1ff924f303cdd75839c56", "size": "7956", ...
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var Lint = require("../index"); var Rule = (fun...
{ "content_hash": "5a98a689f7fdaba28e389abd0ad31ded", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 341, "avg_line_length": 43.440677966101696, "alnum_prop": 0.6184159188451034, "repo_name": "salim101/MathQuiz", "id": "e557f89bebb279a7d78f84b96c35389ee1604afb", "size": "3...
package android.support.v8.renderscript; import java.io.IOException; import java.io.InputStream; import android.content.res.Resources; import android.os.Bundle; import android.util.Log; import android.graphics.Bitmap; import android.graphics.BitmapFactory; /** * Sampler object which defines how data is extracte...
{ "content_hash": "fc74f4f36d73288a3dcb6fb7a179bd80", "timestamp": "", "source": "github", "line_count": 286, "max_line_length": 86, "avg_line_length": 27.73076923076923, "alnum_prop": 0.5463371579876434, "repo_name": "haikuowuya/android_system_code", "id": "d6a45e4c59c6c8069ec4ecdcc996e54815185ce5", ...
name: Emmanuel role: avatar: chriemma.jpg github: chriemma email: linkedin: twitter: ---
{ "content_hash": "3c734ee5aff00567ccb1280c56f015af", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 20, "avg_line_length": 11.125, "alnum_prop": 0.7528089887640449, "repo_name": "DevOfFuture/devoffuture.github.io", "id": "6d0b4034ab8ae7937e680eefd9fc0ceb17e31d7b", "size": ...
* Fixed ```bin/console``` * Re-factored Cli class and added help/usage information for subcommands * Added internationalization support (via i18n) ### 1.1 * Added travis configuration * Added code climate configuration * Increased test coverage and code quality * Moved to sub-commands ### 1.0.2 * Initial Version
{ "content_hash": "c2ce57f93ded316da6f210ab11917d01", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 72, "avg_line_length": 26.25, "alnum_prop": 0.7587301587301587, "repo_name": "jamesridgway/r-git", "id": "00bcae5b2afb3919026094e80bc402a932a41b58", "size": "338", "binar...
package com.google.zxing.oned; import com.google.zxing.BarcodeFormat; import com.google.zxing.NotFoundException; import com.google.zxing.Result; import com.google.zxing.ResultMetadataType; import com.google.zxing.ResultPoint; import com.google.zxing.common.BitArray; import java.util.EnumMap; import java...
{ "content_hash": "010cad02124a00f44086377bedebe7ac", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 116, "avg_line_length": 32.704081632653065, "alnum_prop": 0.6433697347893915, "repo_name": "got5/ngCordova-demo", "id": "35b6135a78e3919b6a80f2a118f953d446fbe599", "size": ...
#include <thread> #include <gtest/gtest.h> #include <folly/Memory.h> #include "mcrouter/lib/cycles/Clocks.h" #include "mcrouter/lib/cycles/Cycles.h" using namespace facebook::memcache; class CyclesTest : public ::testing::Test { protected: virtual void SetUp() { cycles::startExtracting([](cycles::CycleStat...
{ "content_hash": "eb32e89be2e924cd676b2d11c039a00e", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 54, "avg_line_length": 17.885245901639344, "alnum_prop": 0.6599450045829515, "repo_name": "synecdoche/mcrouter", "id": "af80129140041fd68229cc24f246fb05b72ddc33", "size": "...
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2009-2011 Google, All Rights reserved // Copyright 2011-2012 MIT, All rights reserved // Released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 package com.google.appinventor.client.settings.project; import com.google...
{ "content_hash": "727ecc41cbcb165c776aecc3d2197d23", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 89, "avg_line_length": 40.56521739130435, "alnum_prop": 0.7304394426580921, "repo_name": "syhsu/appinventor-shelves", "id": "ae50145d7fb1e86012917105c1ca20a9a93d730f", "siz...
package com.google.cloud.genomics.api.client.commands; import com.beust.jcommander.Parameter; import com.beust.jcommander.Parameters; import com.google.api.services.genomics.Genomics; import java.io.IOException; import java.util.List; @Parameters(commandDescription = "Get variant sets by ID") public class GetVarian...
{ "content_hash": "a88cbea7e0fb0674123da033a00991d5", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 67, "avg_line_length": 28.52, "alnum_prop": 0.7391304347826086, "repo_name": "deflaux/api-client-java", "id": "2436bf139117917bae84a8419063071613d7a39a", "size": "1291", ...
<?xml version="1.0"?> <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd"> <!-- =============================================================== --> <!-- Configure the Jetty Server --> <!-- ...
{ "content_hash": "442d75b059ebfc54de24fecb6dd3694c", "timestamp": "", "source": "github", "line_count": 175, "max_line_length": 114, "avg_line_length": 39.754285714285714, "alnum_prop": 0.44358200373724305, "repo_name": "nancyd/grails-solr-plugin", "id": "dba154b8d3c366b9e455f3ff8b28807b9dca24e4", ...
package com.alibaba.rocketmq.common.stats; import java.util.LinkedList; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicLong; import org.slf4j.Logger; import com.alibaba.rocketmq.common.UtilAll; public class StatsItem { // 具体的...
{ "content_hash": "f3b1ca61ae2d0acc14aec3ee66c198ea", "timestamp": "", "source": "github", "line_count": 246, "max_line_length": 107, "avg_line_length": 29.191056910569106, "alnum_prop": 0.5418465394791812, "repo_name": "lizhanhui/Alibaba_RocketMQ", "id": "e266ecc777d67c223984871e988695f9642a4de0", ...
package org.apache.naming.resources; import java.util.HashMap; import java.util.Random; /** * Implements a special purpose cache. * * @author <a href="mailto:remm@apache.org">Remy Maucherat</a> */ public class ResourceCache { // ----------------------------------------------------------- Constr...
{ "content_hash": "9812bedfb28a23ba2cfba30c3ef7dee1", "timestamp": "", "source": "github", "line_count": 424, "max_line_length": 80, "avg_line_length": 25.42924528301887, "alnum_prop": 0.5019476905954369, "repo_name": "plumer/codana", "id": "6c6a362656646d3b23633a774564dd8b411fba49", "size": "11586"...
<project name="bh" default="dml-delete"> <target name="dml-delete"> <test-suite name="dml-delete"> <init-hook> <test-suite name="init"> <test-suite-call testfile="${open.dir}/luciddb/test/sql/tinit.xml"> <test-suite-modifier value="dml-delete"/> </test-suite-call> ...
{ "content_hash": "9a1f19740896d285db8913f0399eb37b", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 87, "avg_line_length": 38.171875, "alnum_prop": 0.605403192795743, "repo_name": "julianhyde/luciddb", "id": "cfba195564df8985f728cb7648177efe1172aa6d", "size": "2443", "b...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ retu...
{ "content_hash": "002fce2d38d7030fd99c199fa60a344c", "timestamp": "", "source": "github", "line_count": 31554, "max_line_length": 564, "avg_line_length": 29.04607973632503, "alnum_prop": 0.5764151355125912, "repo_name": "orckid-lab/dashboard", "id": "2662726f2c3b3545b80fe4063786012d8384925c", "size...
// Copyright 2004-present Facebook. All Rights Reserved. package com.facebook.stetho.websocket; /** * Alternative to JSR-356's Session class but with a less insane J2EE-style API. */ public interface SimpleSession { public void sendText(String payload); public void sendBinary(byte[] payload); /** * Reques...
{ "content_hash": "fff296cc0fd85de1a44741ea99acad0c", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 80, "avg_line_length": 27.047619047619047, "alnum_prop": 0.7306338028169014, "repo_name": "nvoron23/stetho", "id": "80fd6b46b1743a6fcb282cfbcc8df00a7ab37c38", "size": "568"...
package winuserspace import ( "fmt" "net" "strconv" "strings" "sync" "sync/atomic" "time" "k8s.io/klog/v2" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" utilnet "k8s.io/apimachinery/pkg/util/net" "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/kubernetes/pkg/apis/core/v1/helper" "k8s.io/kube...
{ "content_hash": "258dd9188583e7f1bf7a06cebb1edac5", "timestamp": "", "source": "github", "line_count": 481, "max_line_length": 207, "avg_line_length": 33.696465696465694, "alnum_prop": 0.7397581441263573, "repo_name": "krmayankk/kubernetes", "id": "3a4dff95c1f8ae7a85a4821b5ed33a390c52f616", "size"...
""" Cisco Zone Driver is responsible to manage access control using FC zoning for Cisco FC fabrics. This is a concrete implementation of FCZoneDriver interface implementing add_connection and delete_connection interfaces. **Related Flags** :zone_activate: Used by: class: 'FCZoneDriver'. Defaults to True :zone_name_pr...
{ "content_hash": "29914cb36a720776baeb988f30c2dc3b", "timestamp": "", "source": "github", "line_count": 476, "max_line_length": 79, "avg_line_length": 47.42226890756302, "alnum_prop": 0.5017498781730386, "repo_name": "tmenjo/cinder-2015.1.0", "id": "2878ce3a51579e70afaf52ab2d8fd79bedc99d52", "size"...
/* @flow */ import React from 'react'; import { shallow } from 'enzyme'; import testDemoExamples from '../../../../utils/testDemoExamples'; import Box from '../../Box'; import StartEnd from '../StartEnd'; import examples from '../../../website/app/demos/StartEnd/StartEnd/examples'; function shallowStartEnd(startEndPro...
{ "content_hash": "429998946d3f723bc0716a4fc9211bca", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 77, "avg_line_length": 25.307692307692307, "alnum_prop": 0.621580547112462, "repo_name": "mineral-ui/mineral-ui", "id": "0379e3b54d22dbd5b6db55354809ac0cd08faad0", "size": ...
import subprocess import os import sys import time import re import socket import socketserver import threading import copy from pynhost import constants, objutils from pynhost.platforms import platformhandler class BaseEngine: def __init__(self): pass def get_lines(self): '''This should alway...
{ "content_hash": "de4ffa2a31bf9c0c82568d77142cc240", "timestamp": "", "source": "github", "line_count": 159, "max_line_length": 114, "avg_line_length": 33.57861635220126, "alnum_prop": 0.572017231691328, "repo_name": "evfredericksen/pynacea", "id": "90e6d7cc9685109b9a44986bc55335bb74ca0439", "size"...
using System; using System.ComponentModel.DataAnnotations; using GenderPayGap.Extensions; using Microsoft.Azure.Search; using Newtonsoft.Json; namespace GenderPayGap.Core.Models { [Serializable] public class SicCodeSearchModel { [Key] [IsSearchable] public string SicCodeId { get; s...
{ "content_hash": "8523b63e30f88d8880e8c137e2c4e171", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 118, "avg_line_length": 28.048780487804876, "alnum_prop": 0.5428985507246377, "repo_name": "DFEAGILEDEVOPS/gender-pay-gap", "id": "1fba29c51cb3e10cfbd6d6f41b5cf3cf9a0fa313",...
@interface YWStormPinAnnotationView : MKAnnotationView @property (nonatomic,strong)YWStormAnnotationModel * model; @property (nonatomic,strong)UIImageView * showImageView; @end
{ "content_hash": "402e6aebb93b9750aff0d4e4e58a3e4a", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 59, "avg_line_length": 25.714285714285715, "alnum_prop": 0.8277777777777777, "repo_name": "ShangDuRuiORG/DuRuiYvWaShop", "id": "40d7400fae9e62a9f34326402738157212c9d587", "s...
from setuptools import setup setup( name='vmfusion', version='0.2.0', author='Mario Steinhoff', author_email='steinhoff.mario@gmail.com', packages=['vmfusion'], url='https://github.com/msteinhoff/vmfusion-python', license='LICENSE.txt', description='A python API for the VMware Fusion CL...
{ "content_hash": "c843da40d4481daa58e219b4084daa61", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 64, "avg_line_length": 27.375, "alnum_prop": 0.6484018264840182, "repo_name": "msteinhoff/vmfusion-python", "id": "de3f1d246a61a4f5da0e11f2f0994ae5a077cf87", "size": "438",...
var falcor = require("./../../lib/"); var Model = falcor.Model; var chai = require("chai"); var expect = chai.expect; var noOp = function() {}; var __head = require("./../../lib/internal/head"); var __tail = require("./../../lib/internal/tail"); var __next = require("./../../lib/internal/next"); var __prev = require("...
{ "content_hash": "a8d14ad20262f004b3f83ac978eb5e35", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 81, "avg_line_length": 32.588235294117645, "alnum_prop": 0.5734055354993983, "repo_name": "kk9599/falcor", "id": "db17f851151e84c6212c0b8eb63b1b580b9489a0", "size": "1662",...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/activity_enterprise_name" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/divide" android:orientation="vertical"> ...
{ "content_hash": "c8e3072ff216e39a6e71e5dd046637a5", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 72, "avg_line_length": 33.42857142857143, "alnum_prop": 0.6239316239316239, "repo_name": "Coding/Coding-Android", "id": "4712ea5f0487c38b73e25bc99ad0a5acf464aad6", "size": ...
.class public final Landroid/os/Message; .super Ljava/lang/Object; .source "Message.java" # interfaces .implements Landroid/os/Parcelable; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Landroid/os/Message$1; } .end annotation # static fields .field public static final...
{ "content_hash": "dd7285ab680972f8a8e17f13d09cc8d4", "timestamp": "", "source": "github", "line_count": 1205, "max_line_length": 124, "avg_line_length": 22.391701244813277, "alnum_prop": 0.6573641687050626, "repo_name": "libnijunior/patchrom_bullhead", "id": "a6ba2c966acc188e2c788879e34641c31b75c1e6"...
import re import sys class Configuration: ''' This class provides storage for the application configuration and an interface to a configuration file ''' def __init__(self, filepath): ''' On instantiation time the regexes for matching the properties in the configuration file ar...
{ "content_hash": "00187ac4916336b58563fba110bbdc46", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 110, "avg_line_length": 43.55223880597015, "alnum_prop": 0.526045236463331, "repo_name": "mrtazz/twsh", "id": "089184be3408edfec9e4916620614721550e1692", "size": "2918", ...
class DashboardController < ApplicationController before_action :get_stats def index end def generate_new_token current_user.generate_authentication_token redirect_to dashboard_url, notice: "New token generated successfully!" end private def get_stats @all_users_successful_requests = curren...
{ "content_hash": "3f3d3b78611307e488e60d67fc238b3a", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 108, "avg_line_length": 34.63157894736842, "alnum_prop": 0.7522796352583586, "repo_name": "unepwcmc/species-api", "id": "e1d85a5c5801bed20cdd417b469432a8777d437f", "size": ...
/* * @name Interpolación Lineal * @frame 720, 400 * @description Mueve el ratón a través de la pantalla y el símbolo le seguirá. * Entre cada fotograma de la animación, la elipse se mueve parte * de la distancia (0,05) desde su posición actual hacia el cursor * usando la función lerp(). * Esto es equivalente al ...
{ "content_hash": "5751ec0ba66ea183826fdbc6394c76a6", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 95, "avg_line_length": 29.323529411764707, "alnum_prop": 0.6850551654964895, "repo_name": "mayaman/p5js-website", "id": "58505b4a24ed91c46a505dc550629bd114d68ab7", "size": ...
package org.apache.asterix.metadata.bootstrap; import org.apache.asterix.om.types.AOrderedListType; import org.apache.asterix.om.types.ARecordType; import org.apache.asterix.om.types.AUnionType; import org.apache.asterix.om.types.AUnorderedListType; import org.apache.asterix.om.types.BuiltinType; import org.apache.a...
{ "content_hash": "82a9c054bf433efd3857d96bde8b6452", "timestamp": "", "source": "github", "line_count": 472, "max_line_length": 120, "avg_line_length": 61.23940677966102, "alnum_prop": 0.6466701262757308, "repo_name": "heriram/incubator-asterixdb", "id": "852c01fd8af648cb62eb28e291cba02f3fa3e1f9", ...
(function ($) { if ($.fn.inputmask === undefined) { //helper functions function isInputEventSupported(eventName) { var el = document.createElement('input'), eventName = 'on' + eventName, isSupported = (eventName in el); if (!isSupported) { ...
{ "content_hash": "6b0b968b4ef5df66def297a503151298", "timestamp": "", "source": "github", "line_count": 3161, "max_line_length": 437, "avg_line_length": 51.76273331224296, "alnum_prop": 0.4112099839874833, "repo_name": "andrzejszywala/openkp", "id": "e3375879d8bb8a7b6f11a302362f9cdf9b2282c8", "size...
import 'intl/locale-data';
{ "content_hash": "058a28a13474a65856660c6d60e6655c", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 26, "avg_line_length": 27, "alnum_prop": 0.7407407407407407, "repo_name": "thibthib/mastic", "id": "1d76954d16bcbb1cdf2be8a7a0bc569ccb74bd5d", "size": "27", "binary": fals...
import React from 'react' import classNames from 'classnames' import { PlayIconSVG, PauseIconSVG } from './icons' let { PropTypes, Component } = React class PlayButton extends Component { shouldComponentUpdate(nextProps) { let { playing, seeking } = this.props return ( playing !== nextProps.playing ||...
{ "content_hash": "7828f212de506c5041cd9166364579d7", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 81, "avg_line_length": 22.529411764705884, "alnum_prop": 0.6640557006092254, "repo_name": "cannoneyed/tmm-glare", "id": "d5e2f3e073b25a5b76f1ae06103017bfb0c86c95", "size": ...
declare module 'aurelia-router/navigation-commands' { /** * Determines if the provided object is a navigation command. * A navigation command is anything with a navigate method. * @param {object} obj The item to check. * @return {boolean} */ export function isNavigationCommand(obj: any): boolean; /** * Us...
{ "content_hash": "bbcf670c7ab227d8741a7ab7fcee0182", "timestamp": "", "source": "github", "line_count": 264, "max_line_length": 118, "avg_line_length": 30.299242424242426, "alnum_prop": 0.6782097762220277, "repo_name": "hayao56/aurelia-sample", "id": "b703afb41a5acd9a3b7566f1d7ca13268967e87b", "siz...
import pandas as pd import numpy as np import nltk as nlp import matplotlib.pyplot as plt import importlib import re # Custom modules import database # Reload custom modules def reloadall(): global database database = importlib.reload(database) print("Begin Main") # Initialize variables db = database.In...
{ "content_hash": "12a45330731e1a8e38712acf23ad6f10", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 116, "avg_line_length": 26.897058823529413, "alnum_prop": 0.7282668124658284, "repo_name": "Christoph/PythonTest", "id": "38dbe2db601409796c2bd7876155c1f20283b88b", "size":...
package com.github.czyzby.lml.parser.impl.tag.macro.provider; import com.github.czyzby.lml.parser.LmlParser; import com.github.czyzby.lml.parser.impl.tag.macro.MetaLmlMacroTag; import com.github.czyzby.lml.parser.tag.LmlTag; import com.github.czyzby.lml.parser.tag.LmlTagProvider; /** Provides meta macro tags. * * @...
{ "content_hash": "dde3c1b7df22e21a4831e1f4c344c5c1", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 106, "avg_line_length": 37.125, "alnum_prop": 0.7794612794612794, "repo_name": "tommyettinger/SquidSetup", "id": "83ec8f94d08868a5afb3b4c5859e6a8248fb1e1d", "size": "594", ...
package org.pentaho.di.ui.job.entries.folderisempty; import org.eclipse.swt.SWT; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.events.ModifyListener; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.events.ShellAdapter; import or...
{ "content_hash": "373721ce150205cf94725620aa3fb05f", "timestamp": "", "source": "github", "line_count": 362, "max_line_length": 118, "avg_line_length": 36.668508287292816, "alnum_prop": 0.7077745969564563, "repo_name": "hudak/pentaho-kettle", "id": "86a67b6d843d7417fa32d2d0ca1872e5018295c9", "size"...
<section class="content"> <div class="row"> <div class="col-md-12"> <div class="box box-primary"> <div class="box-header with-border"> <h3 class="box-title">Data Dasar Instansi</h3> </div> <form id="form" class="form-horizontal"> ...
{ "content_hash": "3606e6a0d784ca2e0bb4e8c65c3e68ad", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 182, "avg_line_length": 53.28, "alnum_prop": 0.4519519519519519, "repo_name": "taoann/digiakademik", "id": "02e0dcd367607d1c9b17be73094d508bb363330c", "size": "2664", "bi...
import React, { Component, PropTypes } from 'react'; import Relay from 'react-relay'; import AttributeInput from './AttributeInput'; import FilterHeader from './FilterHeader'; import {isMobile} from '../utils'; class ProductFilters extends Component { constructor(props) { super(props); this.state = { ...
{ "content_hash": "29ead56cd29521ed4c04d1207e3a74d5", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 98, "avg_line_length": 27.235294117647058, "alnum_prop": 0.5241180705543557, "repo_name": "car3oon/saleor", "id": "3fc0cb60702445da110fc5a2b9a6038905387486", "size": "2778...
(function () { 'use strict'; angular.module('common') .directive('svTestRepoInformer', function (domain) { return { replace: true, templateUrl: 'scripts/common/directives/sv-test-repo-informer.html', scope: {}, link: f...
{ "content_hash": "5f1ea9009a2584bb823fb8a7a7314833", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 84, "avg_line_length": 29.375, "alnum_prop": 0.43829787234042555, "repo_name": "SvitlanaShepitsena/svet-newspaper-material", "id": "cc003ef40cf6c82009996794319f164aa596fd19",...
using Discord; using Discord.Audio; using NoeSbot.Enums; using NoeSbot.Helpers; using NoeSbot.Models; using NoeSbot.Modules; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading; usin...
{ "content_hash": "d106b32960f1e8a003c213409043b6a3", "timestamp": "", "source": "github", "line_count": 341, "max_line_length": 129, "avg_line_length": 31.020527859237536, "alnum_prop": 0.4335413121573076, "repo_name": "stockmansy/NoeSBot", "id": "492182a8839ce42a124f74fc9167ad807bfb783f", "size": ...
create schema crse; set schema 'crse'; alter session implementation set jar sys_boot.sys_boot.luciddb_plugin; alter system set "calcVirtualMachine" = 'CALCVM_JAVA'; create table sales( sid int primary key, product_id int, salesperson int, customer int, quantity int); create index i_sales_pid on sales(product_i...
{ "content_hash": "1a8c2f627c9c10ed7d4164d825163eee", "timestamp": "", "source": "github", "line_count": 261, "max_line_length": 87, "avg_line_length": 38.191570881226056, "alnum_prop": 0.6717495987158909, "repo_name": "LucidDB/luciddb", "id": "e39a47b0673c8bd2b392e89f3a8aed3fc18b687a", "size": "102...
module.exports = require("github:gaearon/react-hot-api@0.4.5/modules/index.js");
{ "content_hash": "2f36b892e1e59f27294878bb30b28c53", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 80, "avg_line_length": 80, "alnum_prop": 0.7625, "repo_name": "nayashooter/ES6_React-Bootstrap", "id": "8920910bd147049bc959b2f289f23e9c9d5eccae", "size": "80", "binary": ...
<ion-view class="tutorial-background"> <ion-slide-box class="tutorial-contener" on-slide-changed="slideChanged(index)" show-pager="false"> <ion-slide> <div class="tutorial-words"> <div class="tutorial-welcome">Welcome!</div> <div class="tutorial-welcome-under"> ...
{ "content_hash": "c88d9da952992e5af7412ad0742decfa", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 115, "avg_line_length": 49.15714285714286, "alnum_prop": 0.5789014821272885, "repo_name": "nikatruskawka/BEMA", "id": "ebf7af8090a07a339cf2c61a0642bdfaa261eb6f", "size": "3...
cmake_minimum_required(VERSION 3.16) if(NOT IDF_PATH) message(FATAL_ERROR "IDF_PATH not set.") endif() if(NOT SERIAL_TOOL OR NOT SERIAL_TOOL_ARGS) message(FATAL_ERROR "SERIAL_TOOL and SERIAL_TOOL_ARGS must " "be specified on the CMake command line. For direct execution, it is " "strongly recom...
{ "content_hash": "9fc6dd8de065fb6bf9ed0a340715ec42", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 103, "avg_line_length": 33.6, "alnum_prop": 0.7071428571428572, "repo_name": "espressif/esp-idf", "id": "93abb87fdc9442790070df1ae8b33514a5910b62", "size": "2004", "binar...
TodoApp::Application.config.session_store :cookie_store, key: '_todo_app_session'
{ "content_hash": "94e5a66c4c09094baa2fd466ea189b6b", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 81, "avg_line_length": 82, "alnum_prop": 0.7804878048780488, "repo_name": "JDanielT/tarefas", "id": "ea5010970546efe1ed0e4516ed5c7348f5d874da", "size": "143", "binary": fa...
'use strict'; import {TPromise} from 'vs/base/common/winjs.base'; import Severity from 'vs/base/common/severity'; import errors = require('vs/base/common/errors'); import {ILifecycleService, ShutdownEvent} from 'vs/platform/lifecycle/common/lifecycle'; import {IMessageService} from 'vs/platform/message/common/message...
{ "content_hash": "a665470aa30b26f98ce218b9bf25d3a8", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 97, "avg_line_length": 26.329545454545453, "alnum_prop": 0.6849374190763919, "repo_name": "ioklo/vscode", "id": "9417e9c268a5ea113ac606d93a03db3ceaa5856b", "size": "2668", ...
class RemoveLatitudeAndLongitudeFromUsers < ActiveRecord::Migration def up remove_column :users, :latitude remove_column :users, :longitude end def down add_column :users, :latitude, :decimal, precision: 7, scale: 5 add_column :users, :longitude, :decimal, precision: 8, scale: 5 end end
{ "content_hash": "e2f35bbb2034c97f2104fec58588bfc5", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 67, "avg_line_length": 28.363636363636363, "alnum_prop": 0.717948717948718, "repo_name": "richardowen/tweetrankr", "id": "03a3b8caacaa01c9a08f71dc8ca542bc679ebee8", "size":...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; using IronPython.Runtime; using Microsoft.Scripting.Actions; using Microsoft.Scripting.Interpreter; using Microsoft.Scripting.Utils; using AstUtils = Microsoft.Scripting.Ast.Utils; usin...
{ "content_hash": "477d5b1a6f700f4af5368f9c0737dbee", "timestamp": "", "source": "github", "line_count": 425, "max_line_length": 147, "avg_line_length": 39.16, "alnum_prop": 0.5306134711290031, "repo_name": "IronLanguages/ironpython3", "id": "3ea2e79a638aab5e70bac2d8519b2696d931e40d", "size": "16872...
package de.iritgo.aktario.framework.client.network; import de.iritgo.aktario.core.action.Action; import de.iritgo.aktario.core.action.ActionProcessor; import de.iritgo.aktario.core.base.BaseObject; import de.iritgo.aktario.core.base.Transceiver; /** * */ public class BlockedActionProcessor extends BaseObject im...
{ "content_hash": "16368125f7198568d676f381417eafe8", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 81, "avg_line_length": 18.423728813559322, "alnum_prop": 0.7276908923643054, "repo_name": "iritgo/iritgo-aktario", "id": "08879d3c93e8a981ed577e272d153ceb30f8ade9", "size":...
package com.amazonaws.services.dax.model; import javax.annotation.Generated; /** * <p> * You have attempted to exceed the maximum number of nodes for your AWS account. * </p> */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class NodeQuotaForCustomerExceededException extends com.amazonaws.servic...
{ "content_hash": "de20a035b57fd7e2b233021033a877db", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 112, "avg_line_length": 27.84, "alnum_prop": 0.7227011494252874, "repo_name": "jentfoo/aws-sdk-java", "id": "9cd3c90dcb7305f1edfced2bfac35be89807fe1a", "size": "1276", "b...
package org.febit.util.agent; import java.io.Serializable; import java.util.function.Supplier; /** * 缓存代理. 过期时间后获取实例会重新获取, 如果获取失败, 会沿用上个周期的实例, * * Notice: 示例生成不能返回null, 否则作为获取失败处理 Notice: 初次构建完可使用 ensure() 方法获取一次实例 * * TODO 增加重试机制 * * @author zqq90 * @param <T> */ public abstract class ExpireUpdateAgent<T> ...
{ "content_hash": "1d54a11714edfd74f3b2ae288f51cdaa", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 106, "avg_line_length": 21.797814207650273, "alnum_prop": 0.5384808222612184, "repo_name": "febit/febit-common", "id": "5bbc300568675084bb4360ed97bfae96ca93862f", "size": ...
bool nullcInitVectorModule();
{ "content_hash": "fd9302f6cf89ad140790df1458539dc0", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 29, "avg_line_length": 16.5, "alnum_prop": 0.7575757575757576, "repo_name": "WheretIB/nullc", "id": "726d16872772e5ec6404c36e2baaefaafb5c469d", "size": "47", "binary": fal...