Datasets:

Modalities:
Text
Formats:
json
Languages:
English
Tags:
code
Libraries:
Datasets
Dask
License:
Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
text
stringlengths
2
1.04M
meta
dict
package kg.jl.common; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on an Android device....
{ "content_hash": "91f446bb78faf3093f30e0586b5e78a4", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 78, "avg_line_length": 28.192307692307693, "alnum_prop": 0.7421555252387448, "repo_name": "coca-cola33/CloudFilm", "id": "585abba6f2aa05e68e870464ce47fbf0fbf3a35a", "size":...
var path = require('path'); var aliasify = require('aliasify'); var common = require('./platforms/common'); var fs = require('fs'); var childProcess = require('child_process'); var events = require('cordova-common').events; var bundle = require('cordova-js/tasks/lib/bundle-browserify'); var writeLicenseHeader = requi...
{ "content_hash": "b5787bd890456bdbc273644cf8b6746e", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 137, "avg_line_length": 44.51851851851852, "alnum_prop": 0.5990016638935108, "repo_name": "purplecabbage/cordova-lib", "id": "1a773711a9c51ebb0f80858be7f5f717fc7880d4", "s...
#ifndef MBED_COMMON_OBJECTS_H #define MBED_COMMON_OBJECTS_H #include "cmsis.h" #include "PortNames.h" #include "PeripheralNames.h" #include "PinNames.h" #ifdef __cplusplus extern "C" { #endif struct pwmout_s { PWMName pwm; PinName pin; uint32_t prescaler; uint32_t period; uint32_t pulse; uin...
{ "content_hash": "30388525dede4739bf38e0c4853a4318", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 62, "avg_line_length": 19.228571428571428, "alnum_prop": 0.6666666666666666, "repo_name": "NXPmicro/mbed", "id": "c0e1bc1dd451af953825c8414df6d5c5caacd83d", "size": "3788"...
<!DOCTYPE html> <html> <head> <title>ARIA 1.0 Test Case 719</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body> <h1>ARIA 1.0 Test Case 719</h1> <div id="TEST_ID_1"> </div> <h2>Description</h2> <p>The aria-live attribute is added to an e...
{ "content_hash": "a046255aff4749bf00a4a8fd7d2928a4", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 76, "avg_line_length": 29.92452830188679, "alnum_prop": 0.6078184110970997, "repo_name": "youtube/cobalt", "id": "4fd10b746b761b2597fb45c66c3e24d6d5b39625", "size": "1586",...
package com.foc.formula.fucntion.old; import com.foc.formula.FunctionFactory; public class FunctionNot extends BooleanFunction { private static final String FUNCTION_NAME = "NOT"; private static final String OPERATOR_SYMBOL = "!"; public Object compute() { boolean res = false; IOperand operand1 =...
{ "content_hash": "1d8119f7f8179c40bb844317a534ff21", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 58, "avg_line_length": 23.756756756756758, "alnum_prop": 0.7076222980659841, "repo_name": "FOC-framework/framework", "id": "4b5343f4bc606a56c094cf02bb1f75e8008e080c", "size...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Login Page - Photon Admin Panel Theme</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"> <link rel="shortcut icon" href="ht...
{ "content_hash": "ff022b4967017444ebe9712896d520dd", "timestamp": "", "source": "github", "line_count": 196, "max_line_length": 246, "avg_line_length": 86.89795918367346, "alnum_prop": 0.6914044152184124, "repo_name": "user-tony/photon-rails", "id": "6dd96ee5d70f2e2d06eeb34ccd8b4b06e5514025", "size...
package B; import A.ParentClass; class ChildClass extends ParentClass { }
{ "content_hash": "f854eaca524e1e3325d43afc0062bb47", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 38, "avg_line_length": 10.857142857142858, "alnum_prop": 0.7763157894736842, "repo_name": "theScratchLad/Algorithms", "id": "fe265353952b844b2904533f74e03a4c4ae2638c", "size...
package com.panoramagl.opengl; import java.nio.Buffer; import java.nio.FloatBuffer; import java.nio.IntBuffer; import java.nio.ShortBuffer; import javax.microedition.khronos.opengles.GL; import javax.microedition.khronos.opengles.GL10; import javax.microedition.khronos.opengles.GL10Ext; import javax.mic...
{ "content_hash": "ff78b915c150292f2baaf037f0c0215b", "timestamp": "", "source": "github", "line_count": 1595, "max_line_length": 118, "avg_line_length": 22.118495297805644, "alnum_prop": 0.6907792170979903, "repo_name": "RBWare/PanoramaGL", "id": "38e2f448859b6b74207be58a139a7b87b5298435", "size": ...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInit8f16b403b0d43826f0a178ba6de457f8 { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
{ "content_hash": "0ed8506a105e4e70709fccca31d6b440", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 126, "avg_line_length": 30.389830508474578, "alnum_prop": 0.6129392080312326, "repo_name": "yodathedark/moltis-tickets", "id": "5b745182012452d665e9ac29dec7572d72ac9189", "...
package org.bitcoinj.store; import org.bitcoinj.core.BlockChain; import org.bitcoinj.core.NetworkParameters; import org.bitcoinj.core.Sha256Hash; import org.bitcoinj.core.StoredBlock; /** * An implementor of BlockStore saves StoredBlock objects to disk. Different implementations store them in * different ways. An...
{ "content_hash": "0d81bf79d6b233fa3d6b98349aed0d32", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 117, "avg_line_length": 38.72727272727273, "alnum_prop": 0.7220657276995305, "repo_name": "peterdettman/bitcoinj", "id": "26bd41b7897331d6aa09a8e5445bcf7d6a180686", "size":...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "801cf1a87672d1dd819a1fff2e1d3e80", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "537ef4e4a51459ab46225f66348332a19a4e7e17", "size": "19...
using System; using System.Collections.Generic; using System.Text; namespace Cosmos.HAL { static public class Globals { static public DeviceMgr DeviceMgr; } }
{ "content_hash": "b09e12f5402075cbaa5b96a91fa67366", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 42, "avg_line_length": 19.666666666666668, "alnum_prop": 0.7175141242937854, "repo_name": "trivalik/Cosmos", "id": "ac97ca51dd4329ab385f451992a6c01909376cc9", "size": "179",...
% function [Lval,Cval] = samplef(X,b) % Sample function for bayesopt.m % To use bayesopt.m you need an opt struct (see demo.m or the readme) and a function handle to a function like this. % The function should return two arguments, the objective function value and the constraint function value. % % The function handle...
{ "content_hash": "1397fa329cee92db8216f24898de9711", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 116, "avg_line_length": 49.76470588235294, "alnum_prop": 0.6725768321513003, "repo_name": "mathieulagrange/lmnn4sol", "id": "a4441ec9d17fc2c6c9f248b5d045bd5e7bd8b4ff", "siz...
package org.jbpm.console.ng.gc.client.experimental.grid.base; import java.util.Collection; import com.google.gwt.user.cellview.client.Column; import com.google.gwt.user.cellview.client.ColumnSortEvent.AsyncHandler; import com.google.gwt.view.client.ProvidesKey; import org.jbpm.console.ng.ga.model.GenericSummary; imp...
{ "content_hash": "fba5d3a8cd20cd84ca2073da3577dad1", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 91, "avg_line_length": 30.725806451612904, "alnum_prop": 0.6661417322834645, "repo_name": "emilianoandre/jbpm-console-ng", "id": "2290dc36783664cdc7d01996efdaadbb661fd937", ...
namespace tsk { namsespace task { enum task_state { TASK_CREATED, TASK_WAITING, TASK_STARTED, TASK_COMPLETED }; typedef error_code int; class base_task { protected : task_state state; error_code err; public : base_task():state(task_state::TASK_CREATED) {} void start() { ...
{ "content_hash": "516456686845efe3d1e5cdbc1780683b", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 50, "avg_line_length": 18.06451612903226, "alnum_prop": 0.5767857142857142, "repo_name": "tushargosavi/cpp-learn", "id": "aab893e2b7785a89ac51d90eb0f43c50ff50016b", "size":...
API Reference ============= .. _client_api: Client API ---------- Endpoints for communicating with Orchestra. All requests must be signed using `HTTP signatures <http://tools.ietf.org/html/draft-cavage-http-signatures-03>`_: .. sourcecode:: python from httpsig.requests_auth import HTTPSignatureAuth auth = H...
{ "content_hash": "483080f90738b4c2bb7ada45282baeb1", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 121, "avg_line_length": 32.76086956521739, "alnum_prop": 0.49236894492368943, "repo_name": "b12io/orchestra", "id": "22f6d99d540efb2d7d0dd41d0a2c8a7ddc4b8fe8", "size": "45...
package ProGAL.geom3d.complex; import java.awt.Color; import ProGAL.geom3d.LineSegment; import ProGAL.geom3d.Plane; import ProGAL.geom3d.Point; import ProGAL.geom3d.viewer.J3DScene; import ProGAL.geom3d.complex.delaunayComplex.RegularComplex; import ProGAL.geom3d.kineticDelaunay.Tet; import ProGAL.geom3d.volumes.Tetr...
{ "content_hash": "37fb299c31f8fc34c1b44ed5b3fc02bb", "timestamp": "", "source": "github", "line_count": 239, "max_line_length": 127, "avg_line_length": 29.1255230125523, "alnum_prop": 0.6543600057463008, "repo_name": "DIKU-Steiner/ProGAL", "id": "6536dc614429e89ed8d2f1e6f63a6e862cdbe3b9", "size": "...
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>relative_humidity_from_mixing_ratio &mdash; Me...
{ "content_hash": "9a5999cf62ad3213425f77e6f246d819", "timestamp": "", "source": "github", "line_count": 428, "max_line_length": 596, "avg_line_length": 53.38084112149533, "alnum_prop": 0.6684028537663588, "repo_name": "metpy/MetPy", "id": "f944120103990bfceb62de05e0b0be823d602731", "size": "22861",...
/* pkcs1-rsa-sha256.c * * PKCS stuff for rsa-sha256. */ /* nettle, low-level cryptographics library * * Copyright (C) 2001, 2003, 2006 Niels Möller * * The nettle library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * t...
{ "content_hash": "c179a27aebb65df8c0e61ce38be59463", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 81, "avg_line_length": 26.80392156862745, "alnum_prop": 0.6485003657644477, "repo_name": "GaloisInc/hacrypto", "id": "cb07375535d0876a4e114268f5ac700fa12559d2", "size": "2...
import React, { Component } from 'react'; export default class Counter extends Component { constructor(props) { super(props); this.state = { count: 0 }; this.update = this.update.bind(this); this.increment = this.increment.bind(this); this.decrement = this.decrement.bind(this); } update(valu...
{ "content_hash": "9743ca2db2a2de7ac74d93ee80e4d413", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 55, "avg_line_length": 23.2, "alnum_prop": 0.5833333333333334, "repo_name": "timReynolds/react-library-boilerplate", "id": "7dde85757178661a28ec4b168231a32cd6f898f8", "size...
class SubscribeWorker include Sidekiq::Worker def perform(email, name=nil) if Rails.env == 'production' || Rails.env == 'test' JiscMailer.subscribe(email).deliver end end end
{ "content_hash": "7f8cd7343afb9405db2592d7f4d31a76", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 55, "avg_line_length": 21.77777777777778, "alnum_prop": 0.6836734693877551, "repo_name": "edpaget/Panoptes", "id": "d934c25583d70a773403f94d33ae3b7f4096b358", "size": "196",...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "106fe5d2a968614ff2224d2031fb030b", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "8e7dabc735d8b692d6aee57f5a35ce73faa7ed41", "size": "18...
require 'test/unit' require 'test/helper' class TC_Process_Abort_ModuleMethod < Test::Unit::TestCase include Test::Helper def setup @stderr = STDERR.clone @file = File.join(Dir.pwd, 'tc_abort.txt') @fh = File.open(@file, "w") STDERR.reopen(@fh) end def test_abort_basic ...
{ "content_hash": "a7ffb9f2a2ecba80db053288cfcf6c04", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 59, "avg_line_length": 24.025641025641026, "alnum_prop": 0.5869797225186766, "repo_name": "google-code/android-scripting", "id": "fb8404a19fc4fa9b3b979efeffc35dbec82c0661", ...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Bot. Mitt. Trop. 8: 44 (1895) #### Original name Henningsia Möller ### Remarks null
{ "content_hash": "44449571d0dd688d1560fbf10b1af178", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 13.23076923076923, "alnum_prop": 0.6918604651162791, "repo_name": "mdoering/backbone", "id": "54cc37d789404e60f0762f26bbe40c051fb567ad", "size": "213...
member's Area <?php echo anchor('login/logout','Logout'); ?>
{ "content_hash": "09ffac83c04ddb12c67f883f4bb90015", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 37, "avg_line_length": 12.4, "alnum_prop": 0.6612903225806451, "repo_name": "Rashed-BUET/Online_shopping", "id": "049547068b52c228d146e35ff7757a5c84526a71", "size": "62", ...
package org.dmfs.android.syncstate.test; import java.io.IOException; import org.dmfs.android.syncstate.ContactsSyncState; import org.dmfs.android.syncstate.SyncState; import org.dmfs.xmlobjects.ElementDescriptor; import org.dmfs.xmlobjects.QualifiedName; import org.dmfs.xmlobjects.XmlContext; import org.dmfs.xmlobjec...
{ "content_hash": "def83a8bf722ff7e588dc6187570c592", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 156, "avg_line_length": 32.213793103448275, "alnum_prop": 0.7398843930635838, "repo_name": "dmfs/android-syncstate", "id": "519248f043dba4d8caf5eba4655561ed22dbd7e6", "siz...
/* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32F4xx_HAL_NAND_H #define __STM32F4xx_HAL_NAND_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #if defined(STM32F405xx) || defined(STM32F415xx) || ...
{ "content_hash": "3b377a495672ffc0325f093bdd2343d6", "timestamp": "", "source": "github", "line_count": 276, "max_line_length": 192, "avg_line_length": 34.981884057971016, "alnum_prop": 0.5761781460383221, "repo_name": "redfern314/uplink", "id": "61346950ad658c968497aaf81d7c2c17770d1bbc", "size": "...
Person.prototype.age = { get = function (self) print("get age = ", self._age); return self._age; end, set = function (self, value) print("set age = ", value); self._age = value; end }; local p = Person(); p.age = 12; print (p.age);
{ "content_hash": "c37c3fe5827b897638db96c705158579", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 47, "avg_line_length": 17.785714285714285, "alnum_prop": 0.5823293172690763, "repo_name": "vimfung/LuaScriptCore", "id": "cd6f59c9e93fef4804c237372a95ccfe69faed6d", "size":...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "1a97f23499c0e692710fc139262dbc43", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "922dfc39c38040697c91ffc9cb0d6fa03b1a4ede", "size": "186...
Rational Synergy/Change scripts The perl folder contains an example PM which has a few methods that proivde some useful synegry functions. It's main aim though is to show how to use the CSAPI to dump CR attachments. The CLI folder has a demo script which shows you how to do the same thing from the Linux CLI. It doe...
{ "content_hash": "1b6506ba25bf1aac2312f45c32a4290e", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 184, "avg_line_length": 56.888888888888886, "alnum_prop": 0.7734375, "repo_name": "saint-kev/rat-syn-change", "id": "5e025ce4fdabd92075aa502b0fb11b5dea0e13d0", "size": "529"...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace Xemio.GameLibrary.Common.Collections.DictionaryActions { internal interface IDictionaryAction<TKey, TValue> { /// <summary> /// Applies the action to the specified dictionary. ...
{ "content_hash": "e8d40f0fe31b06a35c6468137380ab67", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 64, "avg_line_length": 27.294117647058822, "alnum_prop": 0.6810344827586207, "repo_name": "XemioNetwork/GameLibrary", "id": "f4a85ba8b6fe325011f6e3b6377a0f03c5b24bf2", "siz...
package org.jf.dexlib2.dexbacked.util; import com.google.common.collect.ImmutableSet; import org.jf.dexlib2.base.BaseMethodParameter; import org.jf.dexlib2.iface.Annotation; import org.jf.dexlib2.iface.MethodParameter; import java.util.Iterator; import java.util.List; import java.util.Set; import javax.annotation...
{ "content_hash": "3b367f431e9efd79b445dc0c293dcf5a", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 101, "avg_line_length": 28.72151898734177, "alnum_prop": 0.619215513442045, "repo_name": "aliebrahimi1781/show-java", "id": "e62cbd938ec50d385114dadb76d0f70acc90ac06", "siz...
package com.mayurbhangale.sknsitstechtonic; import android.app.Activity; import android.app.ListActivity; import android.os.Bundle; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view...
{ "content_hash": "c541d1bfa589689aa15fad37658f20a2", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 100, "avg_line_length": 41.018691588785046, "alnum_prop": 0.6258828890407838, "repo_name": "mayurbhangale/SKNSITS-Techtonic-2016", "id": "5d126e3d787f9d46a32a6f4de3902834aff...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_60-ea) on Mon Jun 27 14:13:43 EDT 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface org.wil...
{ "content_hash": "df9388ce9b4443ee568585809aac46d9", "timestamp": "", "source": "github", "line_count": 200, "max_line_length": 467, "avg_line_length": 55.69, "alnum_prop": 0.6819895852038068, "repo_name": "wildfly-swarm/wildfly-swarm-javadocs", "id": "46168ef123ca60a63c04e5533c913ceaa0f41fca", "si...
import React, { useRef } from 'react'; import { Box, Button, Menu, MenuButton, MenuList, Tooltip, } from '@chakra-ui/react'; import { getTimeZones } from '@vvo/tzdb'; import Select from 'components/MultiSelect'; import { useDateContext } from 'providers/DateProvider'; interface Option { value: string, l...
{ "content_hash": "4dc8ca99335ca4a66424781491985fbf", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 96, "avg_line_length": 25.818181818181817, "alnum_prop": 0.6044600938967136, "repo_name": "lyft/incubator-airflow", "id": "cb829f0370fe3eb69d2453ddcccb41e1e8662469", "size"...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Tag: MySQL | wdpm&#39;s blog | Actions speak louder than words.</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="keywords" content="undefined"> <meta name="description" content="wdpm&apos...
{ "content_hash": "a1d6edddff52a98b63389385a49ff384", "timestamp": "", "source": "github", "line_count": 265, "max_line_length": 808, "avg_line_length": 34.39622641509434, "alnum_prop": 0.6103126714207351, "repo_name": "wdpm/wdpm.github.io", "id": "2d5f49b4a0c36b7a66c13551cb553a0c0c9e7bf2", "size": ...
End of preview. Expand in Data Studio

The entire dump of GitHub repositories.

Downloads last month
201

Collection including code-rag-bench/github-repos