text
stringlengths
2
1.04M
meta
dict
package org.apache.beam.runners.direct; import static org.hamcrest.Matchers.containsInAnyOrder; import static org.hamcrest.Matchers.emptyIterable; import static org.hamcrest.Matchers.hasItem; import static org.junit.Assert.assertThat; import org.apache.beam.runners.direct.CommittedResult.OutputType; import org.apac...
{ "content_hash": "1e871a8d2da90c2121f8581db3f2866f", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 98, "avg_line_length": 32.98701298701299, "alnum_prop": 0.7586614173228347, "repo_name": "josauder/AOP_incubator_beam", "id": "d3a2cca844446f9f05f117e1ea23071caa011044", "s...
<?php namespace CDGNG\PhpFiles; class Code extends Data { public function isExist($code) { return array_key_exists($code, $this->data); } public function remove($property) { unset($this->data[$property]); } }
{ "content_hash": "c794196b036eba4d2b6c9a451413e5a3", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 52, "avg_line_length": 15.75, "alnum_prop": 0.5992063492063492, "repo_name": "supagroflorac/CDGNG", "id": "48823ad1e0393233aaa21b1bf08656822008408e", "size": "252", "bina...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/RelativeLayout1" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginLeft="6dp" ...
{ "content_hash": "fb9bad4e075f05e27ed516cac5ccac2b", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 74, "avg_line_length": 36.333333333333336, "alnum_prop": 0.6559633027522935, "repo_name": "eric-stanley/cgeo", "id": "43225ac18c9538e468fc07d97f09b379073430f3", "size": "19...
<?php namespace Frontend\EstadisticasBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; /** * This is the class that validates and merges configuration from your app/config files * * To learn more see {@link http...
{ "content_hash": "53e0e05661777d110e93b818595b67af", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 131, "avg_line_length": 30.620689655172413, "alnum_prop": 0.7207207207207207, "repo_name": "thekingtork/Cloud", "id": "8775bf32b97931cca28c2e7cd4549d8065c4daee", "size": "8...
<?php Class MY_Controller extends CI_Controller { //bien gui du lieu sang ben view public $data = array(); function __construct() { //ke thua tu CI_Controller parent::__construct(); $controller = $this->uri->segment(1); switch ($controller) { ...
{ "content_hash": "815e585e8c1c56d765f35032806ef2f3", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 112, "avg_line_length": 32.16770186335404, "alnum_prop": 0.491600695114887, "repo_name": "anhptse03395/e-market", "id": "e2a2ee254bb39241a9b4e86d4c6e17e3b5d80f5e", "size":...
require('./helper'); var describe = require('mocha').describe, it = require('mocha').it, expect = require('chai').expect, beforeEach = require('mocha').beforeEach, $ = require('jquery'), incrementer = require('./app'); describe('Hello World', function () { beforeEach(function () { $('bo...
{ "content_hash": "d537549bbc03db8137ba4d636f48c363", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 45, "avg_line_length": 29.217391304347824, "alnum_prop": 0.53125, "repo_name": "pauleveritt/pycharm_polyglot", "id": "91a8536bfc1e9c0aaa6a2a5d514e489e8030d217", "size": "67...
package com.stewsters; import com.bulletphysics.collision.broadphase.AxisSweep3; import com.bulletphysics.collision.broadphase.BroadphaseInterface; import com.bulletphysics.collision.dispatch.CollisionConfiguration; import com.bulletphysics.collision.dispatch.CollisionDispatcher; import com.bulletphysics.collision.dis...
{ "content_hash": "a11e82fb94d89cce1d6e0b528d87ed9d", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 133, "avg_line_length": 38.354838709677416, "alnum_prop": 0.7269414073451079, "repo_name": "stewsters/ballToss", "id": "a72dcaf1f28e6a949feb34be3feee3f16ab07c15", "size": "...
/* Leola Programming Language Author: Tony Sparks See license.txt */ package leola.ast; import leola.vm.EvalException; /** * Namespace definition Statement * * @author Tony * */ public class NamespaceStmt extends Stmt { /** * The namespace */ private Stmt stmt; /** * Name...
{ "content_hash": "904a8092d9d1106b14cf2bbd5bd4d001", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 62, "avg_line_length": 15.745762711864407, "alnum_prop": 0.5511302475780409, "repo_name": "tonysparks/leola", "id": "2e7900374321dcd7578cfb0ffd24e56fb322f93b", "size": "929...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace SecurityFramework.Opportunity.Arial { public partial class Assessment : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) ...
{ "content_hash": "5cdb8f39746c6ce47a6c3deb4d3a3dab", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 60, "avg_line_length": 20.058823529411764, "alnum_prop": 0.7038123167155426, "repo_name": "rdonalson/SecurityFramework", "id": "b84e75c687cbb35547724675f6a1570c54e07fdc", "...
// Copyright 2020 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
{ "content_hash": "53857016d2d8486cd57b1120c94a9edb", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 141, "avg_line_length": 42.92063492063492, "alnum_prop": 0.6401627218934911, "repo_name": "googleinterns/step51-2020", "id": "ef947f2f91dddb488643ac2e944c66570444dc6a", "si...
'use strict'; describe('Directive: capture', function () { // load the directive's module and view beforeEach(module('facepagesApp')); beforeEach(module('app/main/capture/capture.html')); var element, scope; beforeEach(inject(function ($rootScope) { scope = $rootScope.$new(); })); it('should make...
{ "content_hash": "5ebf29c70bb101553973496a466f90bc", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 71, "avg_line_length": 26.904761904761905, "alnum_prop": 0.6637168141592921, "repo_name": "matthewharwood/facepages", "id": "c18560a64707921656751afcb4e8e3af328e9ae4", "siz...
package com.amazonaws.services.storagegateway.model.transform; import static com.amazonaws.util.StringUtils.UTF8; import static com.amazonaws.util.StringUtils.COMMA_SEPARATOR; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.OutputStreamWriter; import java.io.StringWriter; im...
{ "content_hash": "dde68899b825a805bb057901d6c8c4a9", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 87, "avg_line_length": 33.333333333333336, "alnum_prop": 0.6961538461538461, "repo_name": "dump247/aws-sdk-java", "id": "e0491ae7ababddd99c819459b5596c352530ab98", "size": ...
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > <corners android:radius="8dp" /> <gradient android:angle="270" android:centerX="5%" android:centerColor="#FFC524" android:star...
{ "content_hash": "822b2f5c246268aba0d9a39b59a51cf4", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 65, "avg_line_length": 24.416666666666668, "alnum_prop": 0.552901023890785, "repo_name": "sv1jsb/Keep-score", "id": "40e868ccc842a2c1de5d169901230e8f0250ed25", "size": "586...
from get_database_names import get_database_names from get_database_path import get_database_path from get_next_database import get_next_database from build_local_dbs import build_local_dbs from run_query import run_query from select import select from insert import insert # ensure the databases are already generated ...
{ "content_hash": "24dd95b593540c6a6ce501ce193bac10", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 49, "avg_line_length": 33.8, "alnum_prop": 0.8224852071005917, "repo_name": "CodyKochmann/pi-cluster", "id": "4b9373f70a94ff17df8d409d141f3e3ea7c90f22", "size": "489", "b...
// Copyright (c) 2008 INRIA Sophia-Antipolis (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org). // You can redistribute it and/or modify it under the terms of the GNU // General Public License as published by the Free Software Foundation, // either version 3 of the License, or (at your o...
{ "content_hash": "c509ea2d423842c1e6e698367a00419d", "timestamp": "", "source": "github", "line_count": 199, "max_line_length": 84, "avg_line_length": 30.246231155778894, "alnum_prop": 0.6552583485628842, "repo_name": "alexandrustaetu/natural_editor", "id": "dda29f4d0890d6071a3c6a2194738b9acc0c50a6",...
from thefuck.utils import for_app, memoize from thefuck.system import Path path_to_scm = { '.git': 'git', '.hg': 'hg', } wrong_scm_patterns = { 'git': 'fatal: Not a git repository', 'hg': 'abort: no repository found', } @memoize def _get_actual_scm(): for path, scm in path_to_scm.items(): ...
{ "content_hash": "1e5f2d15b1e8402b947318f1b7601f42", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 58, "avg_line_length": 21.09375, "alnum_prop": 0.6237037037037036, "repo_name": "scorphus/thefuck", "id": "78c44949bb107c6601665afdbd388e7eef82790f", "size": "675", "bina...
.SUFFIXES: #--------------------------------------------------------------------------------- all: install: @$(MAKE) -C ppu install --no-print-directory @$(MAKE) -C spu install --no-print-directory clean: @echo clean ... .PHONY: all clean install
{ "content_hash": "49e8548244f5bb1cb9c40090a4427306", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 82, "avg_line_length": 19.53846153846154, "alnum_prop": 0.44881889763779526, "repo_name": "RazorX11/PSL1GHT", "id": "54f062f2375455cb511eb3cb232f37ef23424a48", "size": "456...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE789_Uncontrolled_Mem_Alloc__new_wchar_t_rand_04.cpp Label Definition File: CWE789_Uncontrolled_Mem_Alloc__new.label.xml Template File: sources-sinks-04.tmpl.cpp */ /* * @description * CWE: 789 Uncontrolled Memory Allocation * BadSource: rand Set data to result...
{ "content_hash": "0111c2282dd25aac4ec274d133a363e1", "timestamp": "", "source": "github", "line_count": 258, "max_line_length": 113, "avg_line_length": 31.507751937984494, "alnum_prop": 0.5576331652109731, "repo_name": "maurer/tiamat", "id": "18274238fad27f88bf759dd81d768a966bebba2d", "size": "8129...
.class public abstract Landroid/support/v4/widget/SearchViewCompat$OnCloseListenerCompat; .super Ljava/lang/Object; # instance fields .field final a:Ljava/lang/Object; # direct methods .method public constructor <init>()V .locals 1 invoke-direct {p0}, Ljava/lang/Object;-><init>()V invoke-static {}, La...
{ "content_hash": "f3bce3b52e15aff425d644f6f776ba19", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 149, "avg_line_length": 23.694444444444443, "alnum_prop": 0.738569753810082, "repo_name": "vishnudevk/MiBandDecompiled", "id": "0f90e57869657a3c0cc9b9f1cff0dfdd251689b4", "...
class AddMarketToPromotionPromos < ActiveRecord::Migration def change if Promotion.config.localisable add_column :promotion_promos, :market, :string add_index :promotion_promos, :market end end end
{ "content_hash": "063b5aa091be812b1d136f05e2d84ccf", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 58, "avg_line_length": 27.75, "alnum_prop": 0.7342342342342343, "repo_name": "madetech/made-promotion-engine", "id": "b5c8cbfae61ce2c635b44a1907d43c8a421b97de", "size": "222...
<?php namespace OnticBase\Database\Adapter; use Zend\Db\Adapter\Adapter; use Zend\Db\Adapter\AdapterInterface; use Zend\Db\Adapter\Driver\DriverInterface; use Zend\Db\Adapter\Platform\PlatformInterface; use Zend\Db\Adapter\Profiler\ProfilerInterface; use Zend\Db\ResultSet\ResultSetInterface; class Maste...
{ "content_hash": "380299e59b26846e0a9821ccdc1817d4", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 190, "avg_line_length": 26.666666666666668, "alnum_prop": 0.72890625, "repo_name": "ontic/zend-module-base", "id": "7adbda4044fb99e1d81830f6cdb033ae8ef47433", "size": "1775...
package org.apache.helix.integration.task; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import org.apache.helix.ConfigAccessor; import org.apa...
{ "content_hash": "68f683a7bb2f75091bbd7658002e8373", "timestamp": "", "source": "github", "line_count": 185, "max_line_length": 100, "avg_line_length": 44.12972972972973, "alnum_prop": 0.7589416952474277, "repo_name": "lei-xia/helix", "id": "9536634b388a73fe3b61e3f09b485cbbebe8d117", "size": "8971"...
<?php namespace Stomp\Tests\Functional\Stomp; use PHPUnit_Framework_TestCase; use Stomp\Client; use Stomp\StatefulStomp; use Stomp\Transport\Frame; use Stomp\Transport\Message; /** * StatefulTestBase * Generic tests for stateful stomp client. * * @package Stomp\Tests\Functional\Stomp * @author Jens Radtke <swe...
{ "content_hash": "ff4992f2052562c469771c95ae794bce", "timestamp": "", "source": "github", "line_count": 153, "max_line_length": 100, "avg_line_length": 30.392156862745097, "alnum_prop": 0.5625806451612904, "repo_name": "fin-sn-de/stomp-php", "id": "7162e0f7d33a4230e7ff448f98a34f0715212902", "size":...
/* @test @summary Test SoftChannel allSoundOff method */ import javax.sound.midi.*; import javax.sound.sampled.*; import com.sun.media.sound.*; public class AllSoundOff { private static void assertEquals(Object a, Object b) throws Exception { if(!a.equals(b)) throw new RuntimeExcept...
{ "content_hash": "4a87465f4aa742caf52b6d081145a363", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 73, "avg_line_length": 25.390243902439025, "alnum_prop": 0.6205571565802114, "repo_name": "rokn/Count_Words_2015", "id": "3444242a687d0439347d0f22969820ae82724ba7", "size":...
<!-- BEGIN SIDEBAR --> <div class="page-sidebar-wrapper"> <!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing --> <!-- DOC: Change data-auto-speed="200" to adjust the sub menu slide up/down speed --> <div class="page-sidebar navbar-collapse collapse"> <ul clas...
{ "content_hash": "a2b0252350f749e57c25f593f48b2e8b", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 154, "avg_line_length": 37.803030303030305, "alnum_prop": 0.4533066132264529, "repo_name": "Eduardo2505/Auditoria", "id": "6a3f22d460f0a6ef5c20e121b7d351a9b0d48af9", "size"...
'use strict'; angular.module('courses').directive('upload', function() { return { scope: { file:'=' }, link: function(scope, element) { /* jshint ignore:start */ $(element).on('change', function(changeEvent) { ...
{ "content_hash": "dc0543a6c0cc1e506b82c72e8645d663", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 64, "avg_line_length": 28.093023255813954, "alnum_prop": 0.34271523178807944, "repo_name": "ekretschmann/sparesys", "id": "f54bfd0000bd0cca3f62d83633618ca9a2a7e514", "size"...
package com.elastisys.scale.cloudpool.aws.commons.poolclient; import java.util.Collection; import java.util.List; import com.amazonaws.AmazonClientException; import com.amazonaws.services.ec2.model.Filter; import com.amazonaws.services.ec2.model.Instance; import com.amazonaws.services.ec2.model.SpotInstanceRequest; i...
{ "content_hash": "5431bb5d1fe7510cc7375af132761bfa", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 124, "avg_line_length": 36.35294117647059, "alnum_prop": 0.683252427184466, "repo_name": "Eeemil/scale.cloudpool", "id": "f28bade5e3b74f0d308cf78507c3f4d4f6adebb7", "size":...
package org.springframework.core.codec; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; import org.junit.jupiter.api.Test; import reactor.core.publisher.Flux; import org.springframework.core.ResolvableType; import org.springframework.core.testfixture.codec.AbstractEncoderTests; import org.spr...
{ "content_hash": "205d841917813fbe0f0ff899a6bdac1e", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 78, "avg_line_length": 28, "alnum_prop": 0.7723214285714286, "repo_name": "spring-projects/spring-framework", "id": "1bc0e3f665d6ed8f2189c6615e7046d5e6b67627", "size": "218...
/// <binding AfterBuild='devAfterBuild' ProjectOpened='initProject' /> /* This file in the main entry point for defining grunt tasks and using grunt plugins. Click here to learn more. http://go.microsoft.com/fwlink/?LinkID=513275&clcid=0x409 */ module.exports = function (grunt) { grunt.loadNpmTasks('grunt-bower-t...
{ "content_hash": "7c9fc775dc4716af68b89d9eeb5dc0d2", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 93, "avg_line_length": 32.464, "alnum_prop": 0.4122720551996057, "repo_name": "conficient/ModCheck", "id": "77f2a4c9f9855fb09186573c9f7d75bab7bf1ce2", "size": "4060", "b...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DertInfo.WEB.BLL.Interfaces { interface INotificationService { //Create Methods int AddNotification(string type, string message, string userAssigned); ...
{ "content_hash": "392e02d4782f439aef820b42e48424db", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 81, "avg_line_length": 23.419354838709676, "alnum_prop": 0.6776859504132231, "repo_name": "dertinfo-david/dertinfo-web", "id": "aa84aa7f629440381bd31b2e3f16677b1b9154c7", "...
package org.deventropy.junithelper.derby; import static org.junit.Assert.*; import java.io.IOException; import java.io.StringWriter; import java.io.UnsupportedEncodingException; import java.nio.charset.Charset; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import org.apach...
{ "content_hash": "4fc23ed7d78dfc05ffcf6eae3baa4df1", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 106, "avg_line_length": 30.806122448979593, "alnum_prop": 0.7757535607817158, "repo_name": "deventropy/junit-helper", "id": "6934253a4ef4138c5cdbf0339ceb9a2d58bb5b7a", "siz...
/* Author: Matei Zaharia Developed as part of the SNAP project (http://snap.cs.berkeley.edu/) */ package siren import java.util.Arrays import scala.math.abs /** * A simple insert-only hashtable with keys and values as longs. Requires an "empty value" * that won't be used by any real entries to be set in...
{ "content_hash": "cffc6113481d70f2b6a4691ceb347b14", "timestamp": "", "source": "github", "line_count": 189, "max_line_length": 172, "avg_line_length": 28.084656084656086, "alnum_prop": 0.5648078372268275, "repo_name": "amplab/siren-release", "id": "2d1157ea0f6f7f0f1cd165d633ebc3bd4c8d2381", "size"...
Reveal.initialize({ width: 1920, height: 1080, margin: 0.2, controls: true, progress: true, // Push each slide change to the browser history history: true, center: true, // Number of milliseconds between automatically proceeding to the // next slide, disabled when set to 0, thi...
{ "content_hash": "afca84e9d3504059c90ca6fcef075459", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 112, "avg_line_length": 36.8936170212766, "alnum_prop": 0.591118800461361, "repo_name": "pascalwhoop/reveal.js", "id": "405b9758a71d6f63a0e8af331812ea0936273027", "size": "...
{-# LANGUAGE PatternSynonyms, ForeignFunctionInterface, JavaScriptFFI #-} module GHCJS.DOM.JSFFI.Generated.RTCIceCandidate (js_newRTCIceCandidate, newRTCIceCandidate, js_getCandidate, getCandidate, js_getSdpMid, getSdpMid, js_getSdpMLineIndex, getSdpMLineIndex, RTCIceCandidate, castToRTCIceCandid...
{ "content_hash": "bec09dc64cd1d12b46b957dfe57f7d70", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 138, "avg_line_length": 48.724137931034484, "alnum_prop": 0.7321302193913659, "repo_name": "manyoo/ghcjs-dom", "id": "fe9d4e5a4d28aab1aad9c04163ee271bf5b0e903", "size": "28...
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">CocoShader</string> </resources>
{ "content_hash": "87d8304a8301fefe469985c11ffd7d79", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 47, "avg_line_length": 28, "alnum_prop": 0.6696428571428571, "repo_name": "Larusso/CocoShader", "id": "f3ab18e147528a5340da6f5db6ea11d6232de5df", "size": "112", "binary": ...
package com.toparchy.molecule.bi.shipBuilding.data; import java.util.List; import javax.enterprise.context.ApplicationScoped; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery;...
{ "content_hash": "8e26d1d00e7f0faa45b4a05e388b7d01", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 86, "avg_line_length": 37.51282051282051, "alnum_prop": 0.7867395762132604, "repo_name": "currying/molecule", "id": "be3ca0dac065233273e7af5cea7b30ae790a2f88", "size": "146...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>nfix: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
{ "content_hash": "b4b53433e6cf2be3bc41c92580708ab1", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 159, "avg_line_length": 40.98757763975155, "alnum_prop": 0.5343233823306561, "repo_name": "coq-bench/coq-bench.github.io", "id": "de9a89c967c9ce0d1aa7723ecef186de89fc5bcf", ...
<?php # This file was automatically converted from the October CMS language files. Thank you October CMS for all the great work! # https://octobercms.com lucid::add_phrases([ 'access_log:created_at'=>'Data e ora', 'access_log:email'=>'Indirizzo e-mail', 'access_log:first_name'=>'Nome', 'access_log:hi...
{ "content_hash": "3d886c51253b27dbb505b45f14ee8c22", "timestamp": "", "source": "github", "line_count": 874, "max_line_length": 259, "avg_line_length": 57.06178489702517, "alnum_prop": 0.6966634584536413, "repo_name": "Dev-Lucid/lucid", "id": "385c6fb138973a2bb6db20eb02c71a71e9dafa7c", "size": "499...
using Swagger.Codegen.Models; using System; using System.Linq; namespace Swagger.Codegen.Processors.CSharp { public static class CSharpExtensions { public static string NormalizeLineEndings(this string val) { if (string.IsNullOrEmpty(val)) { return null;...
{ "content_hash": "8af9af77d13d78a0d61d96f4f8cfd78a", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 140, "avg_line_length": 30, "alnum_prop": 0.501010101010101, "repo_name": "timschlechter/Swagger.Codegen.Net", "id": "df85ee0a7a9d0da027b7d9cf5a4e4ed943b700db", "size": "99...
const express = require('express'); const router = express.Router(); router.get('/', function (req, res, next) { console.log('first'); console.log('second'); req.session = null; res.redirect('/'); }); module.exports = router;
{ "content_hash": "2d8be671236414e039525e788afb77bc", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 43, "avg_line_length": 21.454545454545453, "alnum_prop": 0.6440677966101694, "repo_name": "AustinMahan/galvanize-restaurants", "id": "4826aadf8234fbf856f900763061b46b2ed8f04f...
namespace NegroniGame.Handlers { using Microsoft.Xna.Framework; using NegroniGame.SystemFunctions; using System; public sealed class SceneryHandler { // Singleton ! private static SceneryHandler instance; private SceneryHandler() { this.ScreenRectangle ...
{ "content_hash": "65f501cb844453927833e222495d7d2b", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 246, "avg_line_length": 35.30508474576271, "alnum_prop": 0.527604416706673, "repo_name": "Galya-IT/negroni-rpg-xna", "id": "5e3127192382f27979094797a513aa7860c7743a", "siz...
```shell # make image docker build -t ifs-approver . # run image docker run -it --rm -p 5000:80 \ -v $(pwd)/backend/ifsApprover:/ifs-backend/ifsApprover:ro \ -v $(pwd)/backend/static-frontend:/ifs-backend/static-frontend:ro \ -v $(pwd)/backend/cli:/ifs-backend/cli:ro \ -v $(pwd)/backend/cgi:/ifs-backend/cgi:ro...
{ "content_hash": "4bc636eef29fbeb56523acf81119bc89", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 69, "avg_line_length": 36.266666666666666, "alnum_prop": 0.6838235294117647, "repo_name": "ktt-ol/ifs-approver", "id": "c909d21b0fee460e749dee71bd271269e5e45283", "size": "...
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/module.h> #include <linux/types.h> #include <linux/delay.h> #include <linux/netdevice.h> #include <linux/if_arp.h> #include <net/arp.h> #include <linux/init.h> #include <linux/jiffies.h> #include <linux/leds.h> #include "arcdevice.h" #include "com9026.h" ...
{ "content_hash": "b7c20c44ed74f5e2b787d354e3c142c8", "timestamp": "", "source": "github", "line_count": 1064, "max_line_length": 99, "avg_line_length": 28.202067669172934, "alnum_prop": 0.634618588995901, "repo_name": "AlbandeCrevoisier/ldd-athens", "id": "6ea963e3b89a1ab1c78ccb4d63c99a16e1bfbe0b", ...
using System; using System.Text; using System.Web; using System.Web.Http.Description; namespace TemplateWebApplication.Areas.HelpPage { public static class ApiDescriptionExtensions { /// <summary> /// Generates an URI-friendly ID for the <see cref="ApiDescription"/>. E.g. "Get-Values-id_name" i...
{ "content_hash": "ef6a509d0f43dc3121550147f33ee625", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 144, "avg_line_length": 38.30769230769231, "alnum_prop": 0.5756358768406962, "repo_name": "razsilev/TelerikAcademy_Homework", "id": "387fc3c746550b4439953520d4d6f92954a5a142"...
from datetime import datetime import logging from django.db import models from django.utils import text from django.utils.encoding import force_unicode, smart_unicode from django.contrib.contenttypes.models import ContentType from django.db.models.query import QuerySet from django.contrib.contenttypes import g...
{ "content_hash": "cfd99f7cce8b2ac3cd34c8a51ffb02c6", "timestamp": "", "source": "github", "line_count": 436, "max_line_length": 103, "avg_line_length": 32.93119266055046, "alnum_prop": 0.5493104889260343, "repo_name": "strogo/djpcms", "id": "8334a78cdf584cc330da4139e4356e814115571c", "size": "14358...
.. _deploy_nativescript_app: ======================= Deploy NativeScript App ======================= .. note:: The Windows or Debian setup NativeScript must be followed before following this guide. This section describes how to deploy a NativeScript App. Peek is deployed into python virtual environments, a new ...
{ "content_hash": "0a15ca44ba704d5a182d02576ab94272", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 95, "avg_line_length": 25.734375, "alnum_prop": 0.7067395264116576, "repo_name": "Synerty/synerty-peek", "id": "f2a2accb737bd72d13fac5d89dc9c727b1416f74", "size": "1647", ...
#include <string> #include <vector> #include <fmt/format.h> #include <lorina/aiger.hpp> #include <mockturtle/algorithms/cleanup.hpp> #include <mockturtle/algorithms/sim_resub.hpp> #include <mockturtle/io/aiger_reader.hpp> #include <mockturtle/networks/aig.hpp> #include <experiments.hpp> int main() { using namesp...
{ "content_hash": "dffa06c3b975d7fb66f4f98d0abc56d5", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 141, "avg_line_length": 25.62, "alnum_prop": 0.6565183450429352, "repo_name": "lsils/mockturtle", "id": "78bf4ee99ec7f59b532bf47c1b1d5543022c354b", "size": "2442", "binar...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "ccbc6ab6763c3f5d1c9d66869b1e7432", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "f38675a9f8f77dd911322a2ccad39c658a932d1e", "size": "189...
import * as React from 'react'; import Table from '@mui/material/Table'; import TableCell from '@mui/material/TableCell'; import { createTheme } from '@mui/material/styles'; declare module '@mui/material/Table' { interface TablePropsSizeOverrides { large: true; } } declare module '@mui/material/TableCell' { ...
{ "content_hash": "6cfda817107d74a9f9bdf8c45d5863e8", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 52, "avg_line_length": 21.571428571428573, "alnum_prop": 0.5827814569536424, "repo_name": "mui-org/material-ui", "id": "8b4c52e2f1ef754d192d08fd6a18a34ea68b894c", "size": "...
package checks import ( "fmt" "github.com/CiscoCloud/distributive/chkutil" "github.com/CiscoCloud/distributive/errutil" "github.com/CiscoCloud/distributive/fsstatus" "github.com/CiscoCloud/distributive/memstatus" log "github.com/Sirupsen/logrus" "io/ioutil" "os" "strconv" "strings" "syscall" "time" ) /* #...
{ "content_hash": "3066f1f162beea087f5a89448af92c61", "timestamp": "", "source": "github", "line_count": 363, "max_line_length": 78, "avg_line_length": 28.236914600550964, "alnum_prop": 0.6920975609756097, "repo_name": "CiscoCloud/distributive", "id": "809cc1504a2cfa50b4ac63a3b28617fc0b0636b7", "siz...
#import <React/RCTMultilineTextInputViewManager.h> #import <React/RCTMultilineTextInputView.h> @implementation RCTMultilineTextInputViewManager RCT_EXPORT_MODULE() - (UIView *)view { return [[RCTMultilineTextInputView alloc] initWithBridge:self.bridge]; } #pragma mark - Multiline <TextInput> (aka TextView) spec...
{ "content_hash": "caec147c7ddb80e009c882585897de74", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 102, "avg_line_length": 23.473684210526315, "alnum_prop": 0.8161434977578476, "repo_name": "arthuralee/react-native", "id": "7a661b183fa008b6f8f488a5d3f44cbb9f27c515", "siz...
#include "AndroidTimer.h" #include "../../Core/Helper.h" namespace LLGL { std::unique_ptr<Timer> Timer::Create() { return MakeUnique<AndroidTimer>(); } AndroidTimer::AndroidTimer() { } void AndroidTimer::Start() { } std::uint64_t AndroidTimer::Stop() { return 0; } std::uint64_t AndroidTimer::GetFreque...
{ "content_hash": "33db2771298afeb04daacf6be6bad0cf", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 83, "avg_line_length": 11.818181818181818, "alnum_prop": 0.5480769230769231, "repo_name": "LukasBanana/LLGL", "id": "300da35ff0322f802569f92e930111ac409106e9", "size": "682...
#include "postgres.h" #include "access/hash.h" #include "catalog/pg_collation.h" #include "miscadmin.h" #include "utils/builtins.h" #include "utils/jsonb.h" #include "utils/memutils.h" /* * Maximum number of elements in an array (or key/value pairs in an object). * This is limited by two things: the size of the JE...
{ "content_hash": "a1b201a81ba71f2edc764b7c14a8c37e", "timestamp": "", "source": "github", "line_count": 1792, "max_line_length": 94, "avg_line_length": 28.108816964285715, "alnum_prop": 0.6770562426793194, "repo_name": "jmcatamney/gpdb", "id": "ddc34ceec7a1c7839031e44e0df9067c8f61ecb9", "size": "50...
namespace enav { class StagePanel; class ToolbarPanel : public ee::ToolbarPanel { public: ToolbarPanel(wxWindow* parent, StagePanel* stage); protected: virtual wxSizer* InitLayout() override; }; // ToolbarPanel } #endif // _EASYNAVMESH_TOOLBAR_PANEL_H_
{ "content_hash": "61629b95db584a7dae3f62df4e10e8be", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 51, "avg_line_length": 14.444444444444445, "alnum_prop": 0.7461538461538462, "repo_name": "xzrunner/easyeditor", "id": "e643076d3ffac70d94c3627bb1b3b5067352c7fa", "size": "...
/** * ElectionInstanceController * * @description :: Server-side logic for managing electioninstances * @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers */ module.exports = { };
{ "content_hash": "2506f21b52d7393255e05f290e9cec25", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 79, "avg_line_length": 19.545454545454547, "alnum_prop": 0.6790697674418604, "repo_name": "Goblab/observatorio-electoral", "id": "9538b4c921bc476de3e04a5ed74168ed2c88db2e", ...
extern CGFloat const YALBottomSelectedDotDefaultSize; extern CGFloat const YALBottomSelectedDotOffset; extern CGFloat const YALTabBarViewDefaultHeight; extern CGFloat const YALExtraTabBarItemsDefaultHeight; extern CGFloat const YALForExtraTabBarItemsDefaultOffset; extern UIEdgeInsets const YALTabBarViewHDefaultEdgeInse...
{ "content_hash": "ecf63937ee3bd898c2ffa2f46c84bdf1", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 102, "avg_line_length": 42.32258064516129, "alnum_prop": 0.8765243902439024, "repo_name": "Yalantis/FoldingTabBar.iOS", "id": "f1ba55ea6fb8cbb33592f6113d9712e4016b4672", "s...
package manifest import ( "errors" "fmt" "code.cloudfoundry.org/cli/cf/models" "gopkg.in/yaml.v2" "io" . "code.cloudfoundry.org/cli/cf/i18n" ) //go:generate counterfeiter . App type App interface { BuildpackURL(string, string) DiskQuota(string, int64) Memory(string, int64) Service(string, string) Star...
{ "content_hash": "8f5df065bac7ba0f00290e4d7d0cdff6", "timestamp": "", "source": "github", "line_count": 255, "max_line_length": 95, "avg_line_length": 27.2078431372549, "alnum_prop": 0.6579705967137504, "repo_name": "orange-cloudfoundry/terraform-provider-cloudfoundry", "id": "4dc408d5d3aaa99e64501bc...
""" .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> """ import itertools import pytest from tcolorpy import tcolor from typepy import Bool, StrictLevel, Typecode class_under_test = Bool nan = float("nan") inf = float("inf") class Test_Bool_is_type: @pytest.mark.parametrize( ["value", ...
{ "content_hash": "4ccb6dbff5d0a52205b33746817a87df", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 100, "avg_line_length": 31.244444444444444, "alnum_prop": 0.6102418207681366, "repo_name": "thombashi/typepy", "id": "6866a2f8fb59060e33791acc941267cfd5ced876", "size": "14...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "82bf5eb22766b3f4fa27f91f2a3d24dc", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "068c4e9e00788a7fc0340cc0b2df23376032b2ba", "size": "211...
package net.silentchaos512.scalinghealth.utils.config; import com.mojang.datafixers.util.Pair; import com.udojava.evalex.Expression; import net.minecraft.entity.Entity; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.util.ResourceLocation; import net.mine...
{ "content_hash": "f95434b26a6b18af042539cf79182ba1", "timestamp": "", "source": "github", "line_count": 187, "max_line_length": 141, "avg_line_length": 43.88770053475936, "alnum_prop": 0.7242597782380894, "repo_name": "SilentChaos512/ScalingHealth", "id": "2ee534aa05c45187711a4c42976fa0c867032850", ...
package org.eigenbase.sql; import java.util.*; import org.eigenbase.reltype.*; import org.eigenbase.sql.parser.*; import org.eigenbase.sql.util.*; import org.eigenbase.sql.validate.*; /** * A <code>SqlCall</code> is a call to an {@link SqlOperator operator}. * (Operators can be used to describe any syntactic cons...
{ "content_hash": "8a7d0db24c7c107a8f1742c1f48f3b90", "timestamp": "", "source": "github", "line_count": 178, "max_line_length": 78, "avg_line_length": 28.410112359550563, "alnum_prop": 0.6325884912003163, "repo_name": "nvoron23/incubator-calcite", "id": "19cc16148751eb600a074ec898c1d87db4f1864c", "...
package net.beaconcontroller.topology.internal; import static org.easymock.EasyMock.createMock; import static org.easymock.EasyMock.expect; import static org.easymock.EasyMock.replay; import static org.easymock.EasyMock.verify; import static org.junit.Assert.*; import java.util.Collections; import org.junit.Before; ...
{ "content_hash": "331ec9238e0f018e373cb33561a48b57", "timestamp": "", "source": "github", "line_count": 153, "max_line_length": 79, "avg_line_length": 36.333333333333336, "alnum_prop": 0.6621694549379384, "repo_name": "bigswitch/BeaconMirror", "id": "6631d8ab1f920d2add34431c77f207e36ff97bad", "size...
export const Actions = {} export const ActionCreators = {} export function addAction (actionName, action, actionCreator, sandboxName) { // Make sure the name is unique if (sandboxName) { if (typeof Actions[sandboxName] === 'function') { throw new Error(`An action called "${sandboxName}" already exists! P...
{ "content_hash": "fa4dd8701ba0a9ebed56d651a4976e63", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 136, "avg_line_length": 33.93103448275862, "alnum_prop": 0.7073170731707317, "repo_name": "jumpsuit/jumpstate", "id": "92af3bfc98076c847fedecb310245a9f9ba142f0", "size": "1...
package multicast import ( "context" "fmt" "github.com/gofrs/uuid" "github.com/jmoiron/sqlx" "github.com/pkg/errors" "github.com/brocaar/lora-app-server/api" "github.com/brocaar/lora-app-server/internal/backend/networkserver" "github.com/brocaar/lora-app-server/internal/storage" "github.com/brocaar/loraserv...
{ "content_hash": "f3065bd9d4bd9b0b380dbdb9dcd1e3e1", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 134, "avg_line_length": 31.748031496062993, "alnum_prop": 0.703125, "repo_name": "brocaar/lora-app-server", "id": "bb7a764751d2eab58cfa4c68c65d74a2df73a34d", "size": "4032...
[![Build Status](https://travis-ci.org/murb/social_linker.svg?branch=master)](https://travis-ci.org/murb/social_linker) **SocialLinker solves two problems involving social networks (and search engines): proper meta-headers and proper share links.** SocialLinker is able to generate the most common share links for you,...
{ "content_hash": "34b15cb777da84defbe50090c8f61340", "timestamp": "", "source": "github", "line_count": 254, "max_line_length": 324, "avg_line_length": 32.78740157480315, "alnum_prop": 0.7329490874159462, "repo_name": "murb/social_linker", "id": "c8df93f307a04547d218852ee5a61eae6262fd8f", "size": "...
namespace Cik.PP.Web.Data { using System; public class Story { public Guid Id { get; set; } public string Role { get; set; } public string Purpose { get; set; } public string Result { get; set; } public string Note { get; set; } public DateTime Created...
{ "content_hash": "0593332bae7c264c0223229a617d68fb", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 47, "avg_line_length": 19.296296296296298, "alnum_prop": 0.5431861804222649, "repo_name": "TRex22/magazine-website-mvc-5", "id": "8dae8a4372464bf6c3ac1b59b326fd944d9176e1", ...
<?php namespace Acf\SecurityBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\CheckboxType; use Symfony\Component\Form\Extension\Core\Type\HiddenType; use Symfony\Component\Form\Extension\Core\Type\PasswordType; use Symfony\Component\Form\Extension\Core\Type\ResetType...
{ "content_hash": "e691fd741ed733fa141ea4e388471202", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 76, "avg_line_length": 24.87912087912088, "alnum_prop": 0.6086572438162544, "repo_name": "sasedev/acf-expert", "id": "f25299a27bbe2de21afb765ba6f2d37b0e74595a", "size": "22...
import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'UserStar' db.create_table('quotes_userstar', ( ('id', self.gf('django.db.models.fields.AutoField')(prima...
{ "content_hash": "6cba466a55821584b57cd2521060549d", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 182, "avg_line_length": 65.47222222222223, "alnum_prop": 0.5481544336020365, "repo_name": "rollstudio/DjangoDash", "id": "69d845cfa2db1fe6977a5cc938cb5281040383e5", "size"...
package com.yevster.spdxtra; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.time.ZoneId; import java.time.ZonedDateTime; import java.util.HashSet; import java.util.Optional; import java.util.Set; import org.apache.jena...
{ "content_hash": "1ae07a076750c0eb2776613505ee22bf", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 151, "avg_line_length": 41.11607142857143, "alnum_prop": 0.7663409337676439, "repo_name": "yevster/spdxtra", "id": "bb21231a43d2a7d7242d11aea1ae504e9ce243ce", "size": "460...
package com.sun.org.omg.CORBA; /** * com/sun/org/omg/CORBA/_IDLTypeStub.java * Generated by the IDL-to-Java compiler (portable), version "3.0" * from ir.idl * Thursday, May 6, 1999 1:51:45 AM PDT */ // This file has been manually _CHANGED_ // _CHANGED_ //public class _IDLTypeStub extends org.omg.CORBA.portable.Obj...
{ "content_hash": "603522b218f46e9afa2d6c5d1df5ffc0", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 118, "avg_line_length": 32.96, "alnum_prop": 0.5633495145631068, "repo_name": "rokn/Count_Words_2015", "id": "e1a5b8635f960a8829cc7818ad08d2b9e3ab4eab", "size": "5332", ...
<!-- Licensed to Jasig under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Jasig licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file exce...
{ "content_hash": "95291a4b054806efa9525ffd7d6f71b0", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 159, "avg_line_length": 47.42857142857143, "alnum_prop": 0.7073293172690763, "repo_name": "chomman/uPortal", "id": "4be388ef5f70e568e1d0e101377e915ff5543956", "size": "1992...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "307efb3e041fc3aa70bc3166cc1ca6e7", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 151, "avg_line_length": 49.813559322033896, "alnum_prop": 0.6549846886696156, "repo_name": "gallenmu/MoonGen", "id": "aefe391cbf3971b3cad6d6124aba8c98dbb901f7", "size": "29...
<?php ?> <div class="container"> <h3><?php echo lang('PER_CHARTS'); ?></h3><hr> <button type="submit" class="btn btn-primry" id="coinsupply"><?php echo lang('COIN_SUPPLY'); ?> <i class="fa fa-caret-down"></i></button> <div id="coinsupply_container" style="width:100%; height:375px; text-align:center;"></div><br><hr> ...
{ "content_hash": "d1eac15b25c8c30af8df4fbe45f3dd4a", "timestamp": "", "source": "github", "line_count": 717, "max_line_length": 221, "avg_line_length": 29.86192468619247, "alnum_prop": 0.5362197001541263, "repo_name": "Valermos/emercoin-blockchain-explorer", "id": "40bd3492d72c9322690940205697fe7f927...
package org.osgi.service.wireadmin; /** * Defines standard names for {@code Wire} properties, wire filter attributes, * Consumer and Producer service properties. * * @noimplement * @author $Id$ */ public interface WireConstants { /** * {@code Wire} property key (named {@code wireadmin.pid}) specifying the ...
{ "content_hash": "5039391d08d205a0abff969628a545f2", "timestamp": "", "source": "github", "line_count": 210, "max_line_length": 90, "avg_line_length": 45.023809523809526, "alnum_prop": 0.7200423056583818, "repo_name": "osgi/osgi", "id": "e9406b56dedf5f46f76a4640dc3d6231553005cb", "size": "10274", ...
package searchlink.atr.tasks.service.commands.common; import lombok.Data; import searchlink.atr.tasks.domain.entities.Task; import searchlink.atr.util.validation.Validation; import javax.persistence.EntityNotFoundException; import javax.validation.constraints.NotNull; /** * Base class for all the commands...
{ "content_hash": "3ac22329d54acc2b2f4217cb06dd24f9", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 144, "avg_line_length": 38.416666666666664, "alnum_prop": 0.7017353579175705, "repo_name": "alexTheSwEngineer/Searchlink", "id": "ccb9fc46585ac827dabcc61bf9f09fc53c097f52", ...
using System.ComponentModel; namespace Gallio.Icarus.ControlPanel { internal partial class ShutdownPane { /// <summary> /// Required designer variable. /// </summary> private const IContainer components = null; /// <summary> /// Clean up any resou...
{ "content_hash": "f18b13a907a6a4baab359d4ea5664477", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 107, "avg_line_length": 38.13157894736842, "alnum_prop": 0.567287784679089, "repo_name": "mterwoord/mbunit-v3", "id": "d03e519d0a36400bfa95a8c2d7d12d1633014379", "size": "2...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> <head> <meta charset="utf-8"> <title> {% if page.title %} {{ page.title }} &ndash; {% endif %} {{ site.name }} </title> <meta name="author" content="{{ site.name }}" /> <meta name="description" content="{...
{ "content_hash": "330390fa29f93ba533ff4bc258661bdd", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 125, "avg_line_length": 37.17741935483871, "alnum_prop": 0.6073752711496746, "repo_name": "augusto-garcia/augusto-garcia.github.io", "id": "3d9be3e6f313144d3ca60e82b58500faec...
package org.apache.derbyTesting.functionTests.tests.jdbcapi; import java.io.IOException; import java.sql.DatabaseMetaData; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import junit.framework.Test; import junit.framework.TestSuite; import org.apache.derbyTesting.junit.BaseJDBCT...
{ "content_hash": "ef5e0ec3fd5adaee7994b50e72ddf9e8", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 78, "avg_line_length": 32.88461538461539, "alnum_prop": 0.6635477582846004, "repo_name": "viaper/DBPlus", "id": "0a32996cf6ce081ecf1924c9b4b75e3e32e5c68a", "size": "3445", ...
require 'rails_helper' RSpec.describe User::Email, type: :model do it { is_expected.to belong_to(:user).inverse_of(:emails) } let!(:instance) { create(:instance) } with_tenant(:instance) do let(:email) { build(:user_email) } it 'rejects invalid email addresses' do email.email = 'wrong' expe...
{ "content_hash": "90844aa1bc171f6a754708cc5bdaddda", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 82, "avg_line_length": 27.771428571428572, "alnum_prop": 0.6183127572016461, "repo_name": "BenMQ/coursemology2", "id": "bf67ddb7475a05f816cfc32a1fc59fb9c768cd69", "size": "...
<?php namespace Benkle\Feeding\Interfaces; interface NodeInterface { }
{ "content_hash": "4988a1189b23d496982dbe79b3dab6f6", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 36, "avg_line_length": 8.333333333333334, "alnum_prop": 0.76, "repo_name": "benkle-libs/feeding", "id": "db7adfca931566f2738f913a0dc6842bb3f4f2ff", "size": "1181", "binary...
'use strict'; function ProfileCtrl(session, $scope, $http, errors) { var messages = {}; var feedback = {}; $scope.messages = messages; $scope.feedback = feedback; $scope.supportsPayments = false; $scope.activePlan = {}; if ($scope.showBackBar) { $scope.showBackBar(); } var plans = []; plans.push({ ...
{ "content_hash": "d29faa6bb15b8d15e176260afdfce7c7", "timestamp": "", "source": "github", "line_count": 300, "max_line_length": 83, "avg_line_length": 21.523333333333333, "alnum_prop": 0.6230447576273811, "repo_name": "secret-project/circle-blvd", "id": "f8a91a8207aeaebbbab2bf4b3929df5b520dc34a", "...
using System.Collections.Generic; using Azure; using Azure.Core; using Azure.ResourceManager.Resources.Models; namespace Azure.ResourceManager.Network.Models { /// <summary> Backend address pool settings of an application gateway. </summary> public partial class ApplicationGatewayBackendHttpSettings : NetworkR...
{ "content_hash": "dd51aa4f0126fa7c92c6ca76f93777a4", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 651, "avg_line_length": 69.97979797979798, "alnum_prop": 0.6926963048498845, "repo_name": "Azure/azure-sdk-for-net", "id": "35985eeb90ab7920eef0c904ba73279c19e121e4", "size...
<?php $runner->addTestsFromDirectory(__DIR__.'/src/M6Web/Bundle/ApcuBundle/Tests');
{ "content_hash": "c96eeca25e1532162d960438a9e2662e", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 77, "avg_line_length": 28, "alnum_prop": 0.7380952380952381, "repo_name": "M6Web/ApcuBundle", "id": "dcea57c9ca1278bdf92bd12d4731a49ac3c90fcb", "size": "84", "binary": fal...
package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.PmsProductAttributeParam; import com.macro.mall.dto.ProductAttrInfo; import com.macro.mall.model.PmsProductAttribute; import com.macro.mall.service.PmsProductAttribut...
{ "content_hash": "0fe13944621c288df967dffad6273fcc", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 141, "avg_line_length": 43.11578947368421, "alnum_prop": 0.696533203125, "repo_name": "macrozheng/mall", "id": "495cc8fdf3b31a870819927d9b28160393f62fc2", "size": "4268", ...
<?php /** * Plugin Name: Temperature * Description: Displays current temperature for a given local * Version: 0.1 * Author: João Paulo Figueira * License: MIT */ /** * Usage example: * [temperature country="pt" city="lisbon"] */ include_once('autoload.php'); use Temperature\Temperature; add_action('init', 'temperat...
{ "content_hash": "3b2834d181ad186bfd3250f387cef285", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 84, "avg_line_length": 19.6, "alnum_prop": 0.7227891156462585, "repo_name": "joaopfigueira/Wordpress-Temperature", "id": "63e3fe23e11842e2af84442d805263fb6913f117", "size":...
<?xml version="1.0" encoding="utf-8"?> <Content type="xform" name="EditContent"> <model> <instance> <tblContent> <nContentKey/> <nContentPrimaryId/> <nVersion/> <cContentForiegnRef/> <cContentName/> <cContentSchemaName>Module</cContentSchemaName> <cCon...
{ "content_hash": "8f772dd2a0e7260b7635ddc557eafdcf", "timestamp": "", "source": "github", "line_count": 318, "max_line_length": 228, "avg_line_length": 39.60377358490566, "alnum_prop": 0.5350960774972209, "repo_name": "Eonic/EonicWeb5", "id": "7fa1c22f29f96d5373c9ac024688e8e563781667", "size": "125...
package linkedlist // Node represents node of singly linked list type Node struct { Value int Next *Node } // LastKthNode returns last kth node of given List func LastKthNode(node *Node, k int) *Node { slow, fast := node, node for i := 0; i < k; i++ { if fast == nil { return nil } fast = fast.Next } ...
{ "content_hash": "3f9f34db937855cda34b52b587cea306", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 50, "avg_line_length": 15.8, "alnum_prop": 0.6379746835443038, "repo_name": "motomux/go-algo", "id": "07dc077d283147be04a7916bca29ca8cb225191f", "size": "395", "binary": ...
/*---------------------------------------------------------------------------- Copyright (c) Sandia Corporation See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. ----------------------------------------------------------------------------*/ // .NAME vtkExodusIIReader - Read exodus 2 file...
{ "content_hash": "43901beb971d36e1cfb890b981d871c4", "timestamp": "", "source": "github", "line_count": 774, "max_line_length": 111, "avg_line_length": 43.91860465116279, "alnum_prop": 0.731003441885094, "repo_name": "daviddoria/PointGraphsPhase1", "id": "3cac6e3cda9fefc5280919e22f1c1398f9ce35bc", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "a2cdbcf4bc20c99cb4692e1c3c039ce6", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "8fc0963c2402e1d2ed628a8a330bfb077f13354a", "size": "175...
package bookshop2.seller.incoming.purchaseBooks; import static javax.ejb.TransactionAttributeType.REQUIRED; import javax.annotation.Resource; import javax.ejb.Remote; import javax.ejb.Stateless; import javax.ejb.TransactionAttribute; import javax.inject.Inject; import javax.jws.HandlerChain; import javax.jws.Oneway; ...
{ "content_hash": "744eac88fbe1979325aead4b3d46d592", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 158, "avg_line_length": 29.476923076923075, "alnum_prop": 0.8178496868475992, "repo_name": "tfisher1226/ARIES", "id": "d8bf3e8d9c1a1a1998cd7537244a3cd0a5befd42", "size": "1...
package MachineLearning;import java.awt.BasicStroke; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.RenderingHints; import java.awt.Stroke; import java.util.ArrayList; import java.util.List; import java.util.Random; import j...
{ "content_hash": "90ef47a35b15189382576befcca10944", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 107, "avg_line_length": 34.79338842975206, "alnum_prop": 0.603562945368171, "repo_name": "topangad/MachineLearning", "id": "5f7ce4c5836512330d9f089e11b660db218ae04f", "siz...
(function($) { "use strict"; // Start of use strict // jQuery for page scrolling feature - requires jQuery Easing plugin $('a.page-scroll').bind('click', function(event) { var $anchor = $(this); $('html, body').stop().animate({ scrollTop: ($($anchor.attr('href')).offset().top - ...
{ "content_hash": "37d67bd2fe1ee75b4adbb0568cc38f7a", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 93, "avg_line_length": 28.816326530612244, "alnum_prop": 0.5382436260623229, "repo_name": "codephil2016/codephil2016.github.io", "id": "f39940a35a73fcab6abad104fc5b9b5c0f302e...
<html lang="en"> <head> <title>ftell - Untitled</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Untitled"> <meta name="generator" content="makeinfo 4.11"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Stdio.html#Stdio" title="Stdio"> <link rel="...
{ "content_hash": "7ab5c45b81313e3c5b82d34e3f2f508c", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 178, "avg_line_length": 45.63414634146341, "alnum_prop": 0.705237840726884, "repo_name": "marduino/stm32Proj", "id": "9ae71e586dff08f9c3640a17825c9628820196eb", "size": "37...
package com.github.ambry.utils; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.nio.channels.Channels; import java.nio.channels.ReadableByteChannel; /** * A non-blocking {@link ByteBuffer} based {@link InputStream} extension that materializes the whole content in mem...
{ "content_hash": "af4de2786283c6151059043e079ef198", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 119, "avg_line_length": 29.155172413793103, "alnum_prop": 0.6750443524541692, "repo_name": "pnarayanan/ambry", "id": "5c8712f5ea1b319b715cf24bfdc02198226d002d", "size": "3...
.class public Lcom/xiaomi/channel/sdk/Constants; .super Ljava/lang/Object; # static fields .field public static final LOGGING_TAG:Ljava/lang/String; = "miliao_sdk_log" .field public static final RESULT_CODE_OK:I = 0x2711 # direct methods .method public constructor <init>()V .locals 0 invoke-direct {p0}, L...
{ "content_hash": "f01cabc7bbe5d373cace3bc030ba8e4e", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 76, "avg_line_length": 21, "alnum_prop": 0.7222222222222222, "repo_name": "vishnudevk/MiBandDecompiled", "id": "5d9c1bd6a8ddf08151513a623f095f1380d22195", "size": "378", ...
package com.quizbowl.app.question; import com.quizbowl.app.dataStore.MCQstore; public class MCQquestion extends Question { private String[] answer; private String genAnswer; private String keys; public MCQquestion(MCQstore object) { super(object.getQuestion(),"MCQ"); this.keys = object.getAnswer(); this....
{ "content_hash": "36cdd62e12d2c90197d34d0a02ed9aaf", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 47, "avg_line_length": 21.346153846153847, "alnum_prop": 0.7171171171171171, "repo_name": "shivasurya/QuizBowl", "id": "f87536709ba2de0e37ddd80464d5cade4b4764cc", "size": "...
import {filterAttr} from './attr'; import {includes, isString, isUndefined, toNodes} from './lang'; export function addClass(element, ...args) { apply(element, args, 'add'); } export function removeClass(element, ...args) { apply(element, args, 'remove'); } export function removeClasses(element, cls) { f...
{ "content_hash": "9d6bfaf023bfe856e90d8440b0c9c468", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 122, "avg_line_length": 26.25974025974026, "alnum_prop": 0.5781404549950544, "repo_name": "aoimedia/uikit", "id": "ccec9c086c9267c9f87c2092ab05ae1a22d84540", "size": "2022"...
<?php /** * @file * Contains \Drupal\devel\Annotation\DevelDumper. */ namespace Drupal\devel\Annotation; use Drupal\Component\Annotation\Plugin; /** * Defines a DevelDumper annotation object. * * @Annotation * * @see \Drupal\devel\DevelDumperPluginManager * @see \Drupal\devel\DevelDumperInterface * @see \...
{ "content_hash": "e4a9fb3ca0b3037a64360fd3542b3966", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 53, "avg_line_length": 16.918367346938776, "alnum_prop": 0.6622436670687576, "repo_name": "lammensj/tfs", "id": "f4dbbb56d1c5d685d853094599579f161d137e0c", "size": "829", ...
function scale_output() global config mem; % this scaling may not be necessary in the future mem.activations{length(mem.activations)} = mem.activations{length(mem.activations)} .* config.NEW_MEM(config.misc.data_sd) + config.NEW_MEM(config.misc.data_mean); end
{ "content_hash": "21749149cf16e2f907e3edb656aa229b", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 167, "avg_line_length": 34.5, "alnum_prop": 0.7318840579710145, "repo_name": "mgharbi/deaf", "id": "51325464f21ad9023421a8eb9b5585b4c0820c93", "size": "276", "binary": fal...
package org.dbmaintain.script.repository.impl; import org.dbmaintain.script.Script; import org.dbmaintain.util.TestUtils; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.io.File; import java.util.stream.Collectors; import java.util.stream.Stream; import static org...
{ "content_hash": "3479c1bb37ceac5ba4edd36c1e96ba3b", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 115, "avg_line_length": 33.627906976744185, "alnum_prop": 0.7247579529737206, "repo_name": "DbMaintain/dbmaintain", "id": "98686f850d35bdf85e5ee9e2655c155a3d2b18d6", "size"...