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 |
|---|---|
#import <DevToolsCore/PBXProjectItem.h>
@class NSMutableArray, NSString, PBXFileType, PBXTarget;
@interface PBXBuildRule : PBXProjectItem
{
NSString *_name;
PBXTarget *_target;
PBXFileType *_fileType;
NSString *_filePatterns;
NSString *_compilerSpecIdentifier;
NSString *_script;
NSMutabl... | {
"content_hash": "321e7af506f6006556ac579947c63539",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 169,
"avg_line_length": 34.19277108433735,
"alnum_prop": 0.766384778012685,
"repo_name": "larsxschneider/Xcode-Scripting-Interface",
"id": "991755d659239346de40b9310bfc802956... |
package org.apache.nifi.accumulo.processors;
import org.apache.accumulo.core.client.AccumuloClient;
import org.apache.accumulo.core.client.AccumuloException;
import org.apache.accumulo.core.client.AccumuloSecurityException;
import org.apache.accumulo.core.client.BatchWriterConfig;
import org.apache.accumulo.core.cli... | {
"content_hash": "b8958304429b0dad0c162b309ed7b5c8",
"timestamp": "",
"source": "github",
"line_count": 641,
"max_line_length": 188,
"avg_line_length": 47.42277691107644,
"alnum_prop": 0.6455358905191131,
"repo_name": "MikeThomsen/nifi",
"id": "97062e4df9c2ad747e4311d02ba1dccac794ff71",
"size": "31... |
#region Copyright
//
// DotNetNuke® - https://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// 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 restri... | {
"content_hash": "646a49194ec977223f27e2107e5bdda7",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 123,
"avg_line_length": 43.30555555555556,
"alnum_prop": 0.7466324567030147,
"repo_name": "RichardHowells/Dnn.Platform",
"id": "dd3dfedc3cbdd8bc53dd7df40f5bb4a11d0cde96",
"... |
Listlist::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for the test s... | {
"content_hash": "a132b5bdfe366d1b8943df25719cd688",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 84,
"avg_line_length": 41.5945945945946,
"alnum_prop": 0.7667316439246263,
"repo_name": "cyrusinnovation/cyrus-lists",
"id": "7a5ae49b38344483ae8f4e31482e82deefcba55d",
"si... |
[](https://travis-ci.org/remind101/formatted-metrics) [](https://codeclimate.com/github/remind101/formatted-metrics)
Easily produce metrics that can be consumed by [l2met... | {
"content_hash": "97b779b4001dabd328f0651a1d04a9a0",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 265,
"avg_line_length": 26.753846153846155,
"alnum_prop": 0.738355376653249,
"repo_name": "remind101/formatted-metrics",
"id": "77f450216d8bc5ee7259770fe479da124b88779c",
"... |
"""Command-line tools for authenticating via OAuth 2.0
Do the OAuth 2.0 Web Server dance for a command line application. Stores the
generated credentials in a common file that is used by other example apps in
the same directory.
"""
from __future__ import print_function
import logging
import socket
import sys
from ... | {
"content_hash": "919ceea7e5b93868a5b4b07a9df54956",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 79,
"avg_line_length": 35.1198347107438,
"alnum_prop": 0.6576067772679138,
"repo_name": "axbaretto/beam",
"id": "89471574f4ab3e6d326099103224ea94dfa5d7b5",
"size": "9097",... |
/***
* Inferno Engine v4 2015-2017
* Written by Tomasz "Rex Dex" Jonarski
*
* [#filter: rtti\types #]
***/
#include "build.h"
#include "rttiEnumType.h"
#include "streamTextReader.h"
#include "streamTextWriter.h"
#include "streamBinaryWriter.h"
#include "streamBinaryReader.h"
#include "base/containers/include/stringC... | {
"content_hash": "371fa958a75c1a7de1aebea22d7c18ff",
"timestamp": "",
"source": "github",
"line_count": 288,
"max_line_length": 163,
"avg_line_length": 29.75347222222222,
"alnum_prop": 0.5085774302719104,
"repo_name": "InfernoEngine/engine",
"id": "412322b7a76bb0356dc039412c6119aaae4bd24c",
"size":... |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | {
"content_hash": "e3f8c44e9ba6aa369187b88ba30d03bb",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 84,
"avg_line_length": 37.38775510204081,
"alnum_prop": 0.728438864628821,
"repo_name": "leighpauls/k2cro4",
"id": "f61cf56a0badc8a13512dbe2c119f2c9435495a1",
"size": "3664... |
// Copyright (c) 2013 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef ATOM_VERSION_H
#define ATOM_VERSION_H
#define ATOM_MAJOR_VERSION 0
#define ATOM_MINOR_VERSION 30
#define ATOM_PATCH_VERSION 0
#define ATOM_VERSION_IS_RELEASE 1
#ifndef ATOM_... | {
"content_hash": "b8c51e04b0807972cb8a8ac847df08b1",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 103,
"avg_line_length": 31.74418604651163,
"alnum_prop": 0.6131868131868132,
"repo_name": "yalexx/electron",
"id": "64d0c7bfd73d66ebcaf6651d1b34162eeffd16be",
"size": "1365... |
<?php
/**
* Xmlconnect Config data upgrade
*
* @category Mage
* @package Mage_Xmlconnect
* @author Magento Core Team <core@magentocommerce.com>
*/
/** @var $installer Mage_Core_Model_Resource_Setup */
$installer = $this;
$installer->startSetup();
/**
* Create table 'xmlconnect_config_data'
*/
$c... | {
"content_hash": "8aaadee45c409878e09ef52f14ac63f3",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 82,
"avg_line_length": 31.688524590163933,
"alnum_prop": 0.5897568546301086,
"repo_name": "krattai/ss-middleware",
"id": "5ac2854e9e631b27cc3b919378caf782af3e6c2f",
"size":... |
<object-stream>
<com.fatwire.realtime.ResourceDataImpl>
<id class="string">OpenMarket/Xcelerate/AssetType/AdvCols/UnPackRuleDetails</id>
<resourceType>ELEMENTCATALOG</resourceType>
<deps class="empty-set"/>
<data class="com.openmarket.xcelerate.common.ElementCatalogEntry" serialization="custom">
... | {
"content_hash": "af91fcea5aa9da084b96e9f7288c57da",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 184,
"avg_line_length": 43.625,
"alnum_prop": 0.670487106017192,
"repo_name": "sciabarra/AgileSites",
"id": "6dc335d2a4681809c8bf80453ecb555a3453dd17",
"size": "1396",
"b... |
using Markdig.Syntax.Inlines;
namespace Markdig.Renderers.Normalize.Inlines
{
/// <summary>
/// A Normalize renderer for a <see cref="LinkInline"/>.
/// </summary>
/// <seealso cref="NormalizeObjectRenderer{LinkInline}" />
public class LinkInlineRenderer : NormalizeObjectRenderer<LinkInline>
{
... | {
"content_hash": "4dcab4c4b9dc5568cd2a39365e3e904c",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 145,
"avg_line_length": 31.618181818181817,
"alnum_prop": 0.4284071305347901,
"repo_name": "lunet-io/markdig",
"id": "1357ce93c04ea28799b802df956cae32ea084eff",
"size": "19... |
<?xml version="1.0" encoding="UTF-8"?>
<Tokens version="1.0">
<File path="Classes/AWSKinesisHashKeyRange.html">
<Token>
<TokenIdentifier>//apple_ref/occ/cl/AWSKinesisHashKeyRange</TokenIdentifier>
<Abstract type="html"><p>The range of possible hash key values for the shard, which is a set of ordered c... | {
"content_hash": "71e6a68cff6361e1187a2e2e7990e5e8",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 152,
"avg_line_length": 35.64835164835165,
"alnum_prop": 0.6954377311960542,
"repo_name": "davidbutz/ChristmasFamDuels",
"id": "48002c7d9fec57be63b59066c23f9e0f7e75d8b2",
"... |
FROM jenkins/jenkins:2.112
LABEL maintainer="mstewart@riotgames.com"
# Create Jenkins Log Folder
USER root
RUN mkdir /var/log/jenkins
RUN chown -R jenkins:jenkins /var/log/jenkins
USER jenkins
# Set default options
ENV JAVA_OPTS="-Xmx8192m"
ENV JENKINS_OPTS="--handlerCountMax=300 --logfile=/var/log/jenkins/jenkins.lo... | {
"content_hash": "126172b4ba524ad1c115420425fe4b83",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 79,
"avg_line_length": 26.916666666666668,
"alnum_prop": 0.7832817337461301,
"repo_name": "maxfields2000/dockerjenkins_tutorial",
"id": "d8b100bdfed21203753332d67c63ca073458f... |
package org.apache.archiva.rest.services.interceptors;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import javax.inject.Inject;
/**
* class t... | {
"content_hash": "bf61049cce3b25b2afb8540eae160be7",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 91,
"avg_line_length": 26.2,
"alnum_prop": 0.7659033078880407,
"repo_name": "Altiscale/archiva",
"id": "4137eb74ffd3af84e4bdf62476cacc12e2154855",
"size": "1593",
"binary... |
import {MessageBasedPlatformLocation} from './platform_location';
import {CONST_EXPR} from 'angular2/src/facade/lang';
import {BrowserPlatformLocation} from 'angular2/src/router/browser_platform_location';
import {APP_INITIALIZER, Provider, Injector, NgZone} from 'angular2/core';
export const WORKER_RENDER_ROUTER = CO... | {
"content_hash": "9f609b45b323cae27b534b1691bf5339",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 97,
"avg_line_length": 37,
"alnum_prop": 0.722972972972973,
"repo_name": "hdeshev/angular",
"id": "21805ee2e045a971b66bf8d978986cc8cacf05f4",
"size": "740",
"binary": fal... |
var App = require('app');
App.MainChartsHeatmapHostDetailView = Em.View.extend({
templateName: require('templates/main/charts/heatmap/heatmap_host_detail'),
/** @private */ classNames:['heatmap_host_details'],
/** @private */ elementId:'heatmapDetailsBlock',
/** @private */ details:{
hostName:'test node'... | {
"content_hash": "896beaa13a3d1cfbba30f0d465363608",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 77,
"avg_line_length": 27.047619047619047,
"alnum_prop": 0.647887323943662,
"repo_name": "keedio/ambari-web",
"id": "db2fc41ddbd97bf8b7180d7e6a513b79dd79ed16",
"size": "137... |
GMRES solves the problem $Ax = b$ approximately for $x$ where $A$ is a general, linear operator and $b$ the right-hand side vector. The method is optimal in the sense that it selects the solution with minimal residual from a Krylov subspace, but the price of optimality is increasing storage and computation effort per i... | {
"content_hash": "a0547384d4e1e8f14e18fa86d9450818",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 372,
"avg_line_length": 66.05263157894737,
"alnum_prop": 0.7673306772908367,
"repo_name": "JuliaLang/IterativeSolvers.jl",
"id": "5f5574d2ab86f8c1b169bb70275e72d1563d29a8",
... |
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="20dp"
android:textSize="18sp"
android:textColor="#800080">
</TextView> | {
"content_hash": "627afff555ae5d197930cc7a8c9aa7de",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 68,
"avg_line_length": 35.75,
"alnum_prop": 0.7062937062937062,
"repo_name": "AndroidDevLog/AndroidDevLog",
"id": "538eb9be57e763b1c46e2e34932618823922b0e6",
"size": "286",
... |
import * as fs from "fs";
import * as path from "path";
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-var-requires
const { marked } = require("marked");
import TerminalRenderer = require("marked-terminal");
import { checkMinRequiredVersion } from "../checkMinRequiredVersion... | {
"content_hash": "57d9096f72e4b810bc2fbb5ed4c29efc",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 103,
"avg_line_length": 36.99465240641711,
"alnum_prop": 0.6869037294015612,
"repo_name": "firebase/firebase-tools",
"id": "86277dd87d0339ee9a23a2f66e8ae28faf7fe585",
"siz... |
int main(int argc, char** argv) {
if (argc != 2) {
std::cout << "well_formed <html filename>\n";
exit(EXIT_FAILURE);
}
const char* filename = argv[1];
std::ifstream in(filename, std::ios::in | std::ios::binary);
if (!in) {
std::cout << "File " << filename << " not found!\n";
exit(EXIT_FAI... | {
"content_hash": "a0189bbb8edab57a5ea174462ebc1a95",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 97,
"avg_line_length": 34.03448275862069,
"alnum_prop": 0.6337386018237082,
"repo_name": "Sigil-Ebook/sigil-gumbo",
"id": "3a567a965de1b4ec3382a39bf2acdb5ddba489e9",
"size"... |
// Template Source: BaseEntityRequestBuilder.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -----------------------------... | {
"content_hash": "2bee8a425232c53c41d42de949046d52",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 201,
"avg_line_length": 42.083969465648856,
"alnum_prop": 0.7157627426083802,
"repo_name": "microsoftgraph/msgraph-sdk-java",
"id": "567cf219362b01a7b50a4dd89526a1885d8685a9... |
# Makefile.in generated by automake 1.11.3 from Makefile.am.
# Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
# Foundation, Inc.
# This Makefile.in is free software; the Free ... | {
"content_hash": "edfb32333ede921a3a69962e97130be0",
"timestamp": "",
"source": "github",
"line_count": 1360,
"max_line_length": 472,
"avg_line_length": 41.766176470588235,
"alnum_prop": 0.6619133129115172,
"repo_name": "geshuning/lib",
"id": "7d2ae68ca6d9fc51a94b5e5dd0eb314e1d7ee1f3",
"size": "568... |
package org.apache.camel.component.xmlsecurity.api;
/**
* This exception is thrown if XML signature verification fails.
*/
public class XmlSignatureInvalidException extends XmlSignatureException {
private static final long serialVersionUID = 1L;
public XmlSignatureInvalidException(String message, Throwabl... | {
"content_hash": "9fcf1d00946db7a700169208801d5e52",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 74,
"avg_line_length": 25.5,
"alnum_prop": 0.7407407407407407,
"repo_name": "apache/camel",
"id": "9f4a033fbb46adef85b403ae9204c3e3a393fbed",
"size": "1261",
"binary": fa... |
module <%= moduleName %> {
'use strict';
angular
.module('<% if (parentModuleName) { %><%= parentModuleName %>.<% } %><%= moduleName %>')
.config(config)
function config() {
}
}
| {
"content_hash": "bcdbc13676f628c869bb913b2149f52d",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 92,
"avg_line_length": 19.6,
"alnum_prop": 0.5510204081632653,
"repo_name": "Ins87/generator-ng-poly",
"id": "09c99583af8311842746b2d2eb96a9a283abfd9a",
"size": "241",
"b... |
/*
Fresh is a command line tool that builds and (re)starts your web application everytime you save a go or template file.
If the web framework you are using supports the Fresh runner, it will show build errors on your browser.
It currently works with Traffic (https://github.com/pilu/traffic), Martini (https://github.... | {
"content_hash": "02232c6ccd4da8fff3c933c21a493d54",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 212,
"avg_line_length": 32.648648648648646,
"alnum_prop": 0.7160596026490066,
"repo_name": "bom-d-van/fresh",
"id": "d046965d561566dd21ec6e4d1aee516e7ee1dc34",
"size": "120... |
::
:: 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": "436874d36061d5b5b21438c6b9804972",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 75,
"avg_line_length": 30.318181818181817,
"alnum_prop": 0.7151424287856072,
"repo_name": "bforbis/thrift",
"id": "5534428b446122b9c7a0df5b522913eaf7e7527c",
"size": "1334"... |
package gaia3d.controller.view;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import ... | {
"content_hash": "2f4df15f4b2883a4a67761ba68f03a19",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 93,
"avg_line_length": 29.11111111111111,
"alnum_prop": 0.7893129770992366,
"repo_name": "Gaia3D/mago3d",
"id": "f7308eb5ec2495beb6f655aeb8ca7bad6a59e775",
"size": "1310",
... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="64dp"
android:gravity="center"
android:orientation="vertical"
android:bac... | {
"content_hash": "bef422144f493256ea3e91d433a86961",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 72,
"avg_line_length": 37.96296296296296,
"alnum_prop": 0.6780487804878049,
"repo_name": "GKerison/CNode-Material-Design",
"id": "4ebb980dec7758d69cb06577ad0f39f2df1cda83",
... |
import {Component, OnInit} from '@angular/core';
@Component({
selector: 'app-name-parent',
templateUrl: './name-parent.component.html',
styleUrls: ['./name-parent.component.css']
})
export class NameParentComponent implements OnInit {
names = ['Mr. IQ', ' ', ' Bombasto '];
constructor() {
}
ngOnIn... | {
"content_hash": "14525029fc9a56a11110de382a3cf42d",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 52,
"avg_line_length": 18.555555555555557,
"alnum_prop": 0.6377245508982036,
"repo_name": "scp504677840/Angular",
"id": "1272afdb914c32ff5ee1ee96bf0c6eddf9ee5509",
"size": ... |
from django.urls import path
from .admin import site
urlpatterns = [
path('admin/', site.urls),
]
| {
"content_hash": "8f612c7bdcd83ed333a23f4b0d073aef",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 30,
"avg_line_length": 14.857142857142858,
"alnum_prop": 0.6826923076923077,
"repo_name": "wkschwartz/django",
"id": "13910ef99935a6e3b5a2c497ab9c152d63ea18cd",
"size": "104... |
local spawnedDebugThings = {}
local defaultTime = 5
local defaultColor = {255,0,255,150}
-- x,y centered
spawnDebugCircle = function (x,y,r,t,color)
t = t or defaultTime
color = color or defaultColor
local d = Fill:new{ shape="circle", x = x-r, y = y-r, width = r*2, height = r*2, border = color, fill = {0,0,0,0} }... | {
"content_hash": "4f33585d65c3d8d4df6ad553ba4c72ec",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 116,
"avg_line_length": 25.344444444444445,
"alnum_prop": 0.6650591845681718,
"repo_name": "dbltnk/macro-prototype",
"id": "83c3247be9e5060565091b5155a3d984b496c111",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="48dp"
android:layout_width="match_parent">
<TextView
android:id="@+id/item_name"
android:layout_width="match_parent"
android:l... | {
"content_hash": "dab1449ad121f555da9eaa3d33de3878",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 72,
"avg_line_length": 33.166666666666664,
"alnum_prop": 0.6407035175879398,
"repo_name": "ab27/news",
"id": "3a51ceecfbaaaeab1a970097bf1f49cf6d60a586",
"size": "796",
"b... |
End of preview.
No dataset card yet
- Downloads last month
- 3