Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code: DatasetGenerationError
Exception: TypeError
Message: Couldn't cast array of type
struct<content_hash: string, timestamp: string, source: string, line_count: int64, max_line_length: int64, avg_line_length: double, alnum_prop: double, repo_name: string, id: string, size: string, binary: bool, copies: string, ref: string, path: string, mode: string, license: string, language: list<item: struct<name: string, bytes: string>>, symlink_target: string>
to
{'content_hash': Value(dtype='string', id=None), 'timestamp': Value(dtype='string', id=None), 'source': Value(dtype='string', id=None), 'line_count': Value(dtype='int64', id=None), 'max_line_length': Value(dtype='int64', id=None), 'avg_line_length': Value(dtype='float64', id=None), 'alnum_prop': Value(dtype='float64', id=None), 'repo_name': Value(dtype='string', id=None), 'id': Value(dtype='string', id=None), 'size': Value(dtype='string', id=None), 'binary': Value(dtype='bool', id=None), 'copies': Value(dtype='string', id=None), 'ref': Value(dtype='string', id=None), 'path': Value(dtype='string', id=None), 'mode': Value(dtype='string', id=None), 'license': Value(dtype='string', id=None), 'language': [{'name': Value(dtype='string', id=None), 'bytes': Value(dtype='string', id=None)}]}
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in cast_table_to_schema
arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in <listcomp>
arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in <listcomp>
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2122, in cast_array_to_feature
raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
TypeError: Couldn't cast array of type
struct<content_hash: string, timestamp: string, source: string, line_count: int64, max_line_length: int64, avg_line_length: double, alnum_prop: double, repo_name: string, id: string, size: string, binary: bool, copies: string, ref: string, path: string, mode: string, license: string, language: list<item: struct<name: string, bytes: string>>, symlink_target: string>
to
{'content_hash': Value(dtype='string', id=None), 'timestamp': Value(dtype='string', id=None), 'source': Value(dtype='string', id=None), 'line_count': Value(dtype='int64', id=None), 'max_line_length': Value(dtype='int64', id=None), 'avg_line_length': Value(dtype='float64', id=None), 'alnum_prop': Value(dtype='float64', id=None), 'repo_name': Value(dtype='string', id=None), 'id': Value(dtype='string', id=None), 'size': Value(dtype='string', id=None), 'binary': Value(dtype='bool', id=None), 'copies': Value(dtype='string', id=None), 'ref': Value(dtype='string', id=None), 'path': Value(dtype='string', id=None), 'mode': Value(dtype='string', id=None), 'license': Value(dtype='string', id=None), 'language': [{'name': Value(dtype='string', id=None), 'bytes': Value(dtype='string', id=None)}]}
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1529, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1154, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2038, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
text string | meta dict |
|---|---|
package sameuser
| {
"content_hash": "df716692b24a42a014c80c67fa7040e8",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 16,
"avg_line_length": 17,
"alnum_prop": 0.8823529411764706,
"repo_name": "go-delve/delve",
"id": "b6fc8fd14b4e8ae13783b5ee9d9066476f404d9f",
"size": "122",
"binary": fals... |
cc.getAbsolutePosition = function(pt, type, containerSize, propName){
var absPt = cc.p(0,0);
if(type === CCB_POSITIONTYPE_RELATIVE_BOTTOM_LEFT)
absPt = pt;
else if(type === CCB_POSITIONTYPE_RELATIVE_TOP_LEFT){
absPt.x = pt.x;
absPt.y = containerSize.height - pt.y;
} el... | {
"content_hash": "f23be66fb17ff814f7e0c10592c99e10",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 74,
"avg_line_length": 37.71212121212121,
"alnum_prop": 0.6022498995580554,
"repo_name": "babestvl/FoodClash",
"id": "79119a9447787e587c0416e901a4dbd08a83031e",
"size": "38... |
title: "Ambient Mobile Charging (2015)"
date: 2015-08-01T12:00:00-08:00
draft: false
short_name: "ambient-mobile-charging"
tags: Android, applications, engineering management, program management, USB
resources:
- src: "ambient_charging.svg"
name: ambient_charging
- src: "ambient_charging_tiny.jpg"
name: ambient_ch... | {
"content_hash": "67067cfd299271d1b84c9bede8f0a9d0",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 100,
"avg_line_length": 46.592592592592595,
"alnum_prop": 0.7901430842607313,
"repo_name": "jerryryle/jerryryle.com",
"id": "d7dcf0708d15acb60283766cb795a44e02a69415",
"siz... |
var config = {};
config.connectionString = process.env.MONGODB_URL || 'mongodb://127.0.0.1:27017/peopleApi';
config.port = process.env.PORT || 2426;
module.exports = config; | {
"content_hash": "d35ad3ad149b5a20bc7672dc5598ab9f",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 91,
"avg_line_length": 29.166666666666668,
"alnum_prop": 0.7142857142857143,
"repo_name": "dclucas/poc-cross-domain-harvester",
"id": "2c0df79831b0af7ad9b80bfb56efa43e3b0bc40b... |
<?php
/* * *
* http://localhost:8080/pvcloud_backend/account_authenticate.php?email=jose.a.nunez@gmail.com&pwd=1234pass
*
* * */
error_reporting(E_ERROR);
class simpleResponse {
public $status = "";
public $message = "";
}
require_once './DA/da_conf.php';
require_once './DA/da_helper.php';
require_once... | {
"content_hash": "9bb56514226511fca0bd553a54e18a95",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 135,
"avg_line_length": 29.625,
"alnum_prop": 0.5877034358047016,
"repo_name": "gsmahajan/pvcloud",
"id": "c706be767888c9eaebc7bd5575198f23ea3c136c",
"size": "1667",
"bin... |
"""
signals are sent for each event Stripe sends to the app
Stripe docs for Webhooks: https://stripe.com/docs/webhooks
"""
from django.dispatch import Signal
webhook_processing_error = Signal(providing_args=["data", "exception"])
# A signal for each Event type. See https://stripe.com/docs/api/events/types
WEBHOOK_S... | {
"content_hash": "b5f476d35ca8be9407a81f6611cdc01b",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 88,
"avg_line_length": 37.251282051282054,
"alnum_prop": 0.5410242290748899,
"repo_name": "pydanny/dj-stripe",
"id": "1a64040d3bc1e6a1fc7bd9fd1eba551e1c100e37",
"size": "7... |
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, publish, distribute, sublicense, and/o... | {
"content_hash": "c9aa63379019b45607843b95940222ab",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 110,
"avg_line_length": 38.01176470588236,
"alnum_prop": 0.602909316001238,
"repo_name": "bi3mer/SeniorProject",
"id": "65e070882d8949b2231ebea07fcdeeb563f8ceb0",
"size": "... |
FROM balenalib/orangepi-plus2-ubuntu:xenial-run
# A few reasons for installing distribution-provided OpenJDK:
#
# 1. Oracle. Licensing prevents us from redistributing the official JDK.
#
# 2. Compiling OpenJDK also requires the JDK to be installed, and it gets
# really hairy.
#
# For some sample build times... | {
"content_hash": "20009c3ddb6d7f3706e027176ad324e7",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 677,
"avg_line_length": 48.93650793650794,
"alnum_prop": 0.7025624391826143,
"repo_name": "nghiant2710/base-images",
"id": "5f6fa66f86134ea297dbbac964766a5b6a7dd264",
"size... |
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is ... | {
"content_hash": "4f1568cc0fdd94d7bb1dbb9d7e3d4f82",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 141,
"avg_line_length": 34.06666666666667,
"alnum_prop": 0.5547945205479452,
"repo_name": "lunaczp/learning",
"id": "42a014a90e9d24019ed7ccd7ce5a01e6a4b9c17b",
"size": "204... |
<?php
namespace v310\AddCustomNavElements;
class CreateCustomNavElementToTextTable extends \AbstractMigration {
function up($hesk_settings) {
$this->executeQuery("CREATE TABLE `" . hesk_dbEscape($hesk_settings['db_pfix']) . "custom_nav_element_to_text`
(id INT NOT NULL AUTO_INCREMENT PRIMARY... | {
"content_hash": "edbafbf6f6606d24e226150eb5316989",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 119,
"avg_line_length": 33.1,
"alnum_prop": 0.6344410876132931,
"repo_name": "mkoch227/Mods-for-HESK",
"id": "87eff45ed8688e6a4749d5cc8fc9178e43ac682d",
"size": "662",
"b... |
package org.hoteia.qalingo.core.solr.bean;
import java.util.Date;
import org.apache.solr.client.solrj.beans.Field;
public class CustomerSolr {
@Field
private Long id;
@Field
private String lastname;
@Field
private String firstname;
@Field
private String email;
... | {
"content_hash": "2c9fd5fdb0063a306bca429825bcd14c",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 191,
"avg_line_length": 20.08205128205128,
"alnum_prop": 0.5653728294177732,
"repo_name": "qalingo/qalingo-engine",
"id": "90a416b2679b4e3fadccb3efb63fbff99088d546",
"size... |
title: "Drupal, qu'on lui coupe la tête !"
description: |
Retour d'expérience sur la refonte du site internet et de la plateforme de contribution d'un leader dans la location de vacances en mobile-home : passage du CMS Drupal 7 à une architecture micro-services en NodeJS et React, avec migration vers Drupal 8 h... | {
"content_hash": "bf9d4bb7b53e40f8ea898e1bb89f60d7",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 265,
"avg_line_length": 51.23076923076923,
"alnum_prop": 0.7612612612612613,
"repo_name": "sudweb/2017",
"id": "11b2c8fcef98a1b6ee814c943719e77f43010b34",
"size": "676",
... |
namespace Envoy {
namespace Server {
StatsRenderTestBase::StatsRenderTestBase() : alloc_(symbol_table_), store_(alloc_) {
store_.addSink(sink_);
store_.initializeThreading(main_thread_dispatcher_, tls_);
}
StatsRenderTestBase::~StatsRenderTestBase() {
tls_.shutdownGlobalThreading();
store_.shutdownThreading()... | {
"content_hash": "0476e565db72b1dcb17e6b2fa6a0f2ab",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 99,
"avg_line_length": 31.96153846153846,
"alnum_prop": 0.6654632972322503,
"repo_name": "envoyproxy/envoy",
"id": "23923da1e00c6c554e9ac927b8a048b594291b89",
"size": "886"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace ModernUI.ExtendedToolkit
{
/// <summary>
/// Wizard Commands
/// </summary>
public static class WizardCommands
{
private s... | {
"content_hash": "d5886dd7e0c3dd27db03b3dcb2a7860d",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 80,
"avg_line_length": 25.028985507246375,
"alnum_prop": 0.5136074116965836,
"repo_name": "jkmchinese/ModernUI",
"id": "ab3933f4866d3441611e130d4779c44a7009d677",
"size": "... |
<?php
header('Content-Type: application/json');
require('localVars.php');
require($root_dir . 'class/Autoloader.php');
require($root_dir . 'config/wpcc_config.php');
try {
echo \Wpcc\Tests::launchPortailTest($phpwpcc_config['projectName'], $root_dir);
} catch (\Exception $e) {
ec... | {
"content_hash": "2f72fc6df8e0c8581522a6777072b5b7",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 87,
"avg_line_length": 40,
"alnum_prop": 0.6175,
"repo_name": "ousamabenyounes/PHPWpcc",
"id": "0c8a2284557f5e040788c7ef247734d1b696911d",
"size": "400",
"binary": false,... |
/*
* 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": "e12e917c9f69af1a82f8429e4d4d1f4b",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 137,
"avg_line_length": 33.019867549668874,
"alnum_prop": 0.6760930605695948,
"repo_name": "troels/nz-presto",
"id": "81d67d492fe603c2c7787d34e4c59de34d0b5c71",
"size": "4... |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta chars... | {
"content_hash": "e215a35ef2093b80f47ee51768cec71a",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 184,
"avg_line_length": 48.45454545454545,
"alnum_prop": 0.5651969981238274,
"repo_name": "prat-hbk/thenextbyte",
"id": "687353daedc1c870179ead44d47330fdd6d70192",
"size": ... |
#ifndef _LPXCB_DATA_H_
#define _LPXCB_DATA_H_
#include <xcb/xcb.h>
#include <xcb/xproto.h>
#include <xcb/damage.h>
#include <xcb/xfixes.h>
#include <xcb/xcb_aux.h>
/* Holds information for a window */
typedef struct lpxcb_window_t {
/* The connection associated with this window */
xcb_connection_t *conn;
... | {
"content_hash": "035ed103e843dc829c52c68aa6f7bb10",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 56,
"avg_line_length": 25.103448275862068,
"alnum_prop": 0.6600274725274725,
"repo_name": "TeamEuclid/euclid",
"id": "ba11a6f8cfdc177a7fea64def43d2ef0e8f41230",
"size": "15... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="node_modules/bootstrap-css-only/css/bootstrap.min.css">
<link rel="stylesheet" href="node_modules/ng-... | {
"content_hash": "351d474d8bd22d80ebef048700082cf3",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 88,
"avg_line_length": 28.04,
"alnum_prop": 0.6633380884450785,
"repo_name": "nizamiftahul/ci_p1",
"id": "71a2e152f03b2d79f117be2a7be0600617ee0937",
"size": "701",
"binar... |
package ch.epfl.data.squall.examples.imperative.debug;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import ch.epfl.data.squall.components.DataSourceComponent;
import ch.epfl.data.squall.components.EquiJoinComponent;
import ch.epfl.data.squall.com... | {
"content_hash": "c4f90c7b31f475d8e9489d138b9934e9",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 89,
"avg_line_length": 39.924050632911396,
"alnum_prop": 0.6540900443880786,
"repo_name": "epfldata/squall",
"id": "66e4eaa60ed801fc48636e905bfdfe649be5faf1",
"size": "3871... |
package com.zhaomeng.study.basic;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
public class StringHelper {
/**
* split the string to tokens by splitter
* @param content
* @return
* @throws IOException
*/
public static List<String> stringToList(String content, String spli... | {
"content_hash": "34e3321e6793cdd5f291fd3828d2d3c4",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 75,
"avg_line_length": 23.515151515151516,
"alnum_prop": 0.6765463917525774,
"repo_name": "izhaomeng/spring-poc",
"id": "1b65be3985f385d1873e18079df72c6b2b937bd8",
"size": ... |
A visual, syntax-driven, browser-based editor and generator
for the [Geoserver dialect](http://docs.geoserver.org/stable/en/user/styling/sld/index.html)
of the [Styled Layer Description](http://www.opengeospatial.org/standards/sld)
(SLD) language.
[Try it!](https://dr-jts.github.io/sled)
| {
"content_hash": "5ffc8cc31202f0f6e9669f577b0cedfd",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 93,
"avg_line_length": 42,
"alnum_prop": 0.7585034013605442,
"repo_name": "dr-jts/sled",
"id": "da50b68e15ab5df633d53524c0b88b86ffe1f8d1",
"size": "302",
"binary": false,
... |
importScripts("/resources/testharness.js");
importScripts("/html/canvas/resources/canvas-tests.js");
var t = async_test("");
var t_pass = t.done.bind(t);
var t_fail = t.step_func(function(reason) {
throw reason;
});
t.step(function() {
var offscreenCanvas = new OffscreenCanvas(100, 50);
var ctx = offscreenCanvas.... | {
"content_hash": "56c9bf449dc6f3024dd64d4de4a4548d",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 64,
"avg_line_length": 23.72222222222222,
"alnum_prop": 0.6861826697892272,
"repo_name": "ric2b/Vivaldi-browser",
"id": "d4fe61a26b60e46bbc8a8326b6df2698f542d24d",
"size": ... |
package com.tngtech.jgiven.impl;
import static org.assertj.core.api.Assertions.assertThat;
import com.tngtech.jgiven.Stage;
import com.tngtech.jgiven.exception.JGivenMissingGuaranteedScenarioStateException;
import com.tngtech.jgiven.junit.SimpleScenarioTest;
import com.tngtech.jgiven.report.model.ReportModel;
import ... | {
"content_hash": "2fd7d2a01300544d1b490b78f93c818f",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 115,
"avg_line_length": 45.932203389830505,
"alnum_prop": 0.7033210332103321,
"repo_name": "TNG/JGiven",
"id": "fbd7176f435861b9bcbfedce853b617246e9dfa8",
"size": "2710",
... |
@interface MainWindowController : NSWindowController
@end
| {
"content_hash": "486074020071f9764c8ad6edd4c68b67",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 52,
"avg_line_length": 19.666666666666668,
"alnum_prop": 0.847457627118644,
"repo_name": "zhaorui/ImageViewer",
"id": "16a7f7fbdb68612b0d3b0c89cefe4651804c543b",
"size": "22... |
package urchin.model.folder;
import org.immutables.value.Value;
@Value.Immutable
public abstract class Passphrase {
public static final int ECRYPTFS_MAX_PASSPHRASE_LENGTH = 64;
@Value.Parameter
public abstract String getValue();
@Value.Check
void validateLenght() {
if (getValue().length... | {
"content_hash": "fdfdf5484518e0f209b251ad5ba02db8",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 171,
"avg_line_length": 28.894736842105264,
"alnum_prop": 0.6994535519125683,
"repo_name": "anhem/urchin",
"id": "0452c7347e6033a65881f49eca36a41a139a2dfa",
"size": "549",
... |
class PrefService;
namespace feed {
// Tracks the raw counts of the info cards in order to determine their
// acknowledgement states.
class InfoCardTracker {
public:
explicit InfoCardTracker(PrefService* profile_prefs);
~InfoCardTracker();
InfoCardTracker(const InfoCardTracker&) = delete;
InfoCardTracker& o... | {
"content_hash": "ea1ace4bd187432c163ff62e9846da32",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 78,
"avg_line_length": 34.0625,
"alnum_prop": 0.7382262996941896,
"repo_name": "nwjs/chromium.src",
"id": "d0de816b846cef4ce9c6756363692524483db2ab",
"size": "2156",
"bin... |
package playn.robovm;
import org.robovm.apple.avfoundation.AVAudioPlayer;
import org.robovm.apple.avfoundation.AVAudioPlayerDelegate;
import org.robovm.apple.foundation.NSError;
import playn.core.AbstractSound;
/**
* An implementation of Sound using the AVAudioPlayer. This is used for compressed audio,
* especial... | {
"content_hash": "bb21b5aa5d96b8b26482b87fec9a9664",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 89,
"avg_line_length": 24.901408450704224,
"alnum_prop": 0.7251131221719457,
"repo_name": "ruslansennov/playn",
"id": "41198047c3dade063bc4a1711638ebf1af0af110",
"size": "2... |
package org.apache.ignite.internal.processors.cache;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentLinkedDeque;
import java.util.concurrent.atomic.AtomicInteger;
import org.apache.ignite.IgniteCache;
import org.apache.ignite.configuration.CacheConfiguration;
import org.apache.ignite.con... | {
"content_hash": "297ff6b0184cbc51e01bdfe4754481ac",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 110,
"avg_line_length": 31.536,
"alnum_prop": 0.6415525114155252,
"repo_name": "vldpyatkov/ignite",
"id": "ac56d18acc72f542ac3a3abb7cb01321fbbe204f",
"size": "4744",
"bi... |
class QTimer;
class QShowEvent;
class QHideEvent;
class LocalRepo;
class LocalReposListView;
class LocalReposListModel;
class LocalView : public QWidget
{
Q_OBJECT
public:
LocalView(QWidget *parent=0);
protected:
void showEvent(QShowEvent *event);
void hideEvent(QHideEvent *event);
private slots:
... | {
"content_hash": "481e693dbee96ae3c89556d462d9ef6d",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 38,
"avg_line_length": 16.352941176470587,
"alnum_prop": 0.7212230215827338,
"repo_name": "gndy/seafile-client-3.0.4",
"id": "4ba19ce2c3d67c668993db68bf710bb658f4fcd7",
"si... |
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<translate android:fromXDelta="0" android:toXDelta="-50%p"
android:duration="@android:integer/config_longAnimTime"/>
<alpha android:fromAlpha="1.0" android:toAlpha="0.0"
android:duration="@and... | {
"content_hash": "5c333c65a372bb6be5debd59ae4f2cfa",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 66,
"avg_line_length": 51.857142857142854,
"alnum_prop": 0.699724517906336,
"repo_name": "Dark-Keeper/ModsAndMaps",
"id": "e53cbc9fb8ca6c2b713d4c5d486e245520be7468",
"size":... |
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
| {
"content_hash": "cb45da1d13db45e3517bf04dfdc9b3b3",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 90,
"avg_line_length": 31.6,
"alnum_prop": 0.6582278481012658,
"repo_name": "lonely-life/-",
"id": "ef6ae4620ffe559a91eaf6cac0a531bc57130951",
"size": "339",
"binary": fal... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/C:/Users/Administrator/Desktop/ONOFFZONE0617/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.0/res/values-w480dp/values-w480dp.xml -->
<eat-comment/>
<bool name="abc_action_bar_embed_tabs_pre_jb">true</bool>
<... | {
"content_hash": "b6a3ccba790bf775e9c358d084383ed2",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 182,
"avg_line_length": 57,
"alnum_prop": 0.7293233082706767,
"repo_name": "v-process/Switch",
"id": "a7a71096d0973cef6406843c0c1625e81ac1f7cc",
"size": "399",
"binary": f... |
package sgl.buffer;
import java.nio.*;
/**
* @author link
*/
public interface Buffer3D extends Buffer2D {
/**
* Gets the depth of this Buffer3D.
*
* @return the depth of this Buffer3D
*/
int getDepth();
/**
* Sets the depth of this Buffer3D.
*
* @param depth the depth of this Buffer3D
*/
voi... | {
"content_hash": "05cb09457dbe7ca71f77b3b2f4fe138d",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 94,
"avg_line_length": 29.346666666666668,
"alnum_prop": 0.6369831894593366,
"repo_name": "LinkTheProgrammer/XUGL",
"id": "0289e0ab80859dbcbc9b5832c08dba243a1040f8",
"size"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace Plywood.Tests.Functional
{
static class LogTests
{
public static void Run(ControllerConfiguration context, Guid instanceKey)
{
var logsController = new Logs(con... | {
"content_hash": "9f9f85143594d31e6c3fb17068827a23",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 517,
"avg_line_length": 61.166666666666664,
"alnum_prop": 0.7024523160762943,
"repo_name": "danielrbradley/Plywood",
"id": "3b45d05e1d329b9021aa398e3b88a8d53a0e1501",
"size... |
"""
This module defines a Drone to assimilate vasp data and insert it into a
Mongo database.
"""
from __future__ import division
__author__ = "Shyue Ping Ong"
__copyright__ = "Copyright 2012, The Materials Project"
__version__ = "2.0.0"
__maintainer__ = "Shyue Ping Ong"
__email__ = "shyue@mit.edu"
__date__ = "Mar 18,... | {
"content_hash": "f4a9ea45aa3570c028b9957d9d647eaf",
"timestamp": "",
"source": "github",
"line_count": 735,
"max_line_length": 84,
"avg_line_length": 41.925170068027214,
"alnum_prop": 0.5227324355021905,
"repo_name": "migueldiascosta/pymatgen-db",
"id": "df70fc6d4384af67e9cbb8fc55a2d357e1017298",
... |
package cmd
import (
"archive/tar"
"bytes"
"errors"
"fmt"
"io"
"io/ioutil"
"os"
"path"
"path/filepath"
"strings"
"k8s.io/kubernetes/pkg/kubectl/cmd/templates"
cmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util"
"k8s.io/kubernetes/pkg/kubectl/util/i18n"
"github.com/renstrom/dedent"
"github.com/spf13/cob... | {
"content_hash": "f52df66e3c1384ce00d64f2aa4ba73cf",
"timestamp": "",
"source": "github",
"line_count": 426,
"max_line_length": 123,
"avg_line_length": 24.544600938967136,
"alnum_prop": 0.6608645753634277,
"repo_name": "rthallisey/ansible-service-broker",
"id": "752071edcf5705916d33797d2a0ccd079ac589... |
<?php
namespace Sunspikes\Ratelimit\Throttle\Factory;
use Sunspikes\Ratelimit\Cache\Adapter\CacheAdapterInterface;
use Sunspikes\Ratelimit\Throttle\Entity\Data;
use Sunspikes\Ratelimit\Throttle\Settings\ElasticWindowSettings;
use Sunspikes\Ratelimit\Throttle\Settings\ThrottleSettingsInterface;
use Sunspikes\Ratelimi... | {
"content_hash": "a43f89590040c3df898602bbd3ea702b",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 89,
"avg_line_length": 28.15,
"alnum_prop": 0.6459443457667259,
"repo_name": "sunspikes/php-ratelimiter",
"id": "66187ba1d7ec33ba654db4bd09de1a0f8cec09ed",
"size": "2860",
... |
(function(global, _) {
var Dataset = global.Miso.Dataset;
/**
* Handles basic strict data format. Looks like:
*
* {
* data : {
* columns : [
* { name : colName, type : colType, data : [...] }
* ]
* }
* }
*
* @constructor
* @name Str... | {
"content_hash": "f706b4d872cd4078323867aa1729ffae",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 89,
"avg_line_length": 22.755102040816325,
"alnum_prop": 0.5121076233183857,
"repo_name": "misoproject/dataset",
"id": "2c50d80eda7a1faeaa0000cdb1e73c6ff7919ced",
"size": "... |
package com.coolweather1.android.gson;
/**
* Created by Administrator on 2017/4/4 0004.
*/
public class AQI {
public AQIcity city;
public class AQIcity{
public String aqi;
public String pm25;
}
}
| {
"content_hash": "485abaef4980313a9e07a232be88909b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 45,
"avg_line_length": 17.692307692307693,
"alnum_prop": 0.6391304347826087,
"repo_name": "xiaoyuan199/coolweather1",
"id": "de559909d30bd3075ea31d8a503fb33937e0566a",
"siz... |
package stream.flarebot.flarebot.database;
import io.github.binaryoverload.JSONConfig;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisMonitor;
import redis.clients.jedis.JedisPool;
import redis.clients.jedis.JedisPoolConfig;
import stream.flarebot.flarebot.FlareBot;
import java.io.IOException;
impo... | {
"content_hash": "7fdc3e86d8e39ac5671751382bd464e2",
"timestamp": "",
"source": "github",
"line_count": 237,
"max_line_length": 138,
"avg_line_length": 35.40084388185654,
"alnum_prop": 0.5783075089392133,
"repo_name": "binaryoverload/FlareBot",
"id": "a3176210baa3f47844c4c1849e519fd043c53076",
"siz... |
package parquet.io;
import java.util.ArrayDeque;
import java.util.Deque;
import parquet.Log;
import parquet.schema.MessageType;
import parquet.schema.Type;
import parquet.schema.PrimitiveType.PrimitiveTypeName;
import parquet.schema.Type.Repetition;
/**
* Wraps a record consumer
* Validates the record written aa... | {
"content_hash": "ffe565bfc9733a21ab09ef200d3abf65",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 155,
"avg_line_length": 25.48603351955307,
"alnum_prop": 0.6600175361683472,
"repo_name": "julienledem/redelm",
"id": "d80ab6939176b5c3c5b898129fa72a7c58ec46ef",
"size": "... |
package org.eft.evol.model;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.eft.evol.stats.UnitAction;
import cern.jet.math.Arithmetic;
import cern.jet.random.Exponential;
import cern.jet.random.Uniform;
public class UnitSigmoidImpl {
}
// extends AbstractUn... | {
"content_hash": "8149d181bc402049aa0ef9342c2d430e",
"timestamp": "",
"source": "github",
"line_count": 239,
"max_line_length": 78,
"avg_line_length": 25.355648535564853,
"alnum_prop": 0.666006600660066,
"repo_name": "xSakix/etf_expert",
"id": "c2ac641945863db663e78bde0c8df31d8701ab66",
"size": "60... |
/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50540
Source Host : localhost:3306
Source Database : rps
Target Server Type : MYSQL
Target Server Version : 50540
File Encoding : 65001
Date: 2017-07-20 18:33:21
*/
SET FOREIGN_KEY_CHEC... | {
"content_hash": "6cbe9ad0df7b1c6b4528d184f60fc7c0",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 128,
"avg_line_length": 33.44444444444444,
"alnum_prop": 0.5537098560354374,
"repo_name": "yunmel/rps",
"id": "b62339cbff7bad5233502d5f68d36180aa4061fd",
"size": "2741",
... |
package net.dirtydeeds.discordsoundboard.utils;
import java.util.List;
import net.dirtydeeds.discordsoundboard.service.SoundboardBot;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.TextChannel;
import net.dv8tion.jda.api.requests.RestAction;
impo... | {
"content_hash": "06905125dca5af5e19cd70366802895a",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 70,
"avg_line_length": 30.82608695652174,
"alnum_prop": 0.6398683591913493,
"repo_name": "AlexSafatli/NootBot",
"id": "0e7f49cc8beb634bac00408e5883ca09344df579",
"size": "2... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | {
"content_hash": "e580323508fdb4aa30a276f02d0cb445",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 159,
"avg_line_length": 42.79329608938548,
"alnum_prop": 0.558355091383812,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "d62413be052f9f984b97b16a3ccbd3272926768f",
... |
package org.scalatest.tools
import org.scalatest.SharedHelpers.EventRecordingReporter
import org.scalatest._
import org.scalatest.funspec.AnyFunSpec
import org.scalatest.funsuite.AnyFunSuite
class SuiteRunnerSpec extends AnyFunSpec {
describe("SuiteRunner") {
it("should fire SuiteAborted event when after fun... | {
"content_hash": "b74ec9cbee62f5ccb29b3f0b7c01056e",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 120,
"avg_line_length": 31.233333333333334,
"alnum_prop": 0.6945037353255069,
"repo_name": "scalatest/scalatest",
"id": "08c61a5adadb5e7e7b19ae8c8ea8b79324d6b237",
"size":... |
namespace network {
class PlayerControllerMessage: public Message
{
friend class ::boost::serialization::access;
public:
DEFINE_MESSAGE_BASE( PlayerControllerMessage )
int32_t mActorGUID;
int32_t mOrientation;
int32_t mHeading;
bool mShoot;
bool mShootAlt;
Trigger mUseNormalItem;
Tr... | {
"content_hash": "44bc46413ed17ea8c3a967852beeb85b",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 109,
"avg_line_length": 26.492753623188406,
"alnum_prop": 0.699671772428884,
"repo_name": "MrPepperoni/Reaping2-1",
"id": "73a3c4f5a05ad8ae72f6a63551144638df93cdc0",
"size"... |
package com.facebook.infrastructure.net;
/**
* Author : Avinash Lakshman ( alakshman@facebook.com) & Prashant Malik ( pmalik@facebook.com )
*/
public class MessagingConfig
{
// The expected time for one message round trip. It does not reflect message processing
// time at the receiver.
pr... | {
"content_hash": "46807bf2c0940eb2e360da2b3a153c92",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 95,
"avg_line_length": 25.325,
"alnum_prop": 0.6638696939782823,
"repo_name": "leonhong/cassandra-dev",
"id": "6e079ace49efad9cef72f358d19fccf0fcb6bf1a",
"size": "2848",
... |
End of preview.
No dataset card yet
- Downloads last month
- 1