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 |
|---|---|
using namespace cocos2d;
class TestObject : public Ref
{
public:
TestObject() : _name(""){}
TestObject(std::string name) : _name(name)
{
CCLOG("TestObject:%s is created", _name.c_str());
}
~TestObject()
{
if (_name.size() > 0)
CCLOG("TestObject:%s is destro... | {
"content_hash": "bc9e32ee02d4a599ba20d360b3d20dc4",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 83,
"avg_line_length": 25.265060240963855,
"alnum_prop": 0.5646161182641869,
"repo_name": "Jennal/cocos2dx-3.2-qt",
"id": "70e54dbc49b85888cb7229a40e6e0d77be752ee9",
"size"... |
Maza Core
=============
Setup
---------------------
Maza Core is the original Maza client and it builds the backbone of the network. It downloads and, by default, stores the entire history of Maza transactions (which is currently more than 7 GBs); depending on the speed of your computer and network connection, the syn... | {
"content_hash": "323b0189cce9e89c18e497d58b415107",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 340,
"avg_line_length": 34.34615384615385,
"alnum_prop": 0.7211646136618141,
"repo_name": "MazaCoin/maza",
"id": "3d3a848c30d1a3434e0dcd6912b8f60486422aab",
"size": "2679",... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.cloudera.sa</groupId>
<artifactId>mapreduce.sleepjob</artifact... | {
"content_hash": "883f4439f580e89e1134a0f564107486",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 104,
"avg_line_length": 27.229166666666668,
"alnum_prop": 0.7084927314460597,
"repo_name": "tmalaska/MapReducer.SleepJob",
"id": "17a8d2369e5c18de82903f7745b11cba90997f51",
... |
React JSON Viewer Component, Extracted from [redux-devtools](https://github.com/gaearon/redux-devtools). Supports [iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#iterable) objects, such as [Immutable.js](https://facebook.github.io/immutable-js/).
 throws Exception;
//删除对象
void delete(Clue clue);
//删除某个id的对象
void deleteById(int id);
//修改对象
void update(Clue clue);
//获取所有对象
List<Clue> getC... | {
"content_hash": "5fc9c16cee212739d44f2457980e9520",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 120,
"avg_line_length": 22.51851851851852,
"alnum_prop": 0.7327302631578947,
"repo_name": "yunzhikeji/dchc",
"id": "53311ca5a06f5fe77290f1a4fca0c2834d3fb6a6",
"size": "1342... |
[](https://travis-ci.org/zachwalton/truebpm/builds)
https://truebpm.dance
Pick a preferred read speed and select a song. You'll get a breakdown of BPM duration:

# Contributing
## Setup
### Requirements
- NodeJS 8+
- Yarn 1.22.4
... | {
"content_hash": "06c4ebbb0bd6f7ae4ff456d5fe80582a",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 249,
"avg_line_length": 30.875,
"alnum_prop": 0.7230769230769231,
"repo_name": "zachwalton/truebpm",
"id": "40df18ab03e5adcc7b2b8455309f57a966e485ee",
"size": "1247",
"bi... |
require "chatify/engine"
module Chatify
mattr_accessor :chat_user_class
def self.chat_user_class
@@chat_user_class.constantize
end
end
| {
"content_hash": "d645e8f9a6f7bba16a19e3494514b339",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 33,
"avg_line_length": 16.333333333333332,
"alnum_prop": 0.7414965986394558,
"repo_name": "railslauncher/chatify",
"id": "cd4dff4c6ae52118feb4192deb0fd70e2a660f8e",
"size": ... |
const EXIT_REASON_NMI: u64 = 0x0;
const EXIT_REASON_NMI_WINDOW: u64 = 0x8;
const EXIT_REASON_CPUID: u64 = 0xA;
#[path = "dispatch_vmexit_nmi_window.rs"]
#[doc(hidden)]
pub mod dispatch_vmexit_nmi_window;
pub use dispatch_vmexit_nmi_window::*;
#[path = "dispatch_vmexit_nmi.rs"]
#[doc(hidden)]
pub mod dispatch_vmexit_n... | {
"content_hash": "3aa19583786d75f93f63db9cb5e5dc86",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 89,
"avg_line_length": 29.285714285714285,
"alnum_prop": 0.6401084010840108,
"repo_name": "rianquinn/hypervisor",
"id": "9d52818bb449424137edce873d7d48e85629b015",
"size": ... |
using System;
using System.Collections.Generic;
using JetBrains.Annotations;
namespace Archichect {
public interface ITransformer : IPlugin {
void Configure([NotNull] GlobalContext globalContext, [CanBeNull] string configureOptions, bool forceReload);
int Transform([NotNull] GlobalContext globalC... | {
"content_hash": "aebdb84029a7ef057a661703ada69812",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 122,
"avg_line_length": 43.125,
"alnum_prop": 0.7565217391304347,
"repo_name": "hmmueller/Archichect",
"id": "a75b74bae8fcbf98213fa3237332146bbef7bd51",
"size": "692",
"b... |
package org.phynixx.hello.impl;
import akka.Done;
import akka.NotUsed;
import akka.japi.Pair;
import com.lightbend.lagom.javadsl.api.ServiceCall;
import com.lightbend.lagom.javadsl.api.broker.Topic;
import com.lightbend.lagom.javadsl.broker.TopicProducer;
import com.lightbend.lagom.javadsl.persistence.PersistentEntity... | {
"content_hash": "2ef98df6545d7c5701ad1b2ab1079bf3",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 118,
"avg_line_length": 38.292682926829265,
"alnum_prop": 0.7414012738853503,
"repo_name": "csc19601128/misc-examples",
"id": "559f1c5be705585a67026ce8a695aa547d182fd8",
"s... |
import sys
sys.path.append('../')
from WeatherConfig import*
from lucidatypes.ttypes import QuerySpec
from lucidaservice import LucidaService
from thrift.transport import TSocket
from thrift.transport import TTransport
from thrift.protocol import TBinaryProtocol
from thrift.server import TServer
import json
import ... | {
"content_hash": "2b718d530bcc86216ea6c07abae31a0c",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 96,
"avg_line_length": 35.89411764705882,
"alnum_prop": 0.5811209439528023,
"repo_name": "claritylab/sirius",
"id": "8ae390520eaf6f16a7cdbb742015196cdd651094",
"size": "307... |
namespace parquet_cpp {
struct ByteArray {
uint32_t len;
const uint8_t* ptr;
};
struct FixedLenByteArray {
const uint8_t* ptr;
};
MANUALLY_ALIGNED_STRUCT(1) Int96 {
uint32_t value[3];
};
STRUCT_END(Int96, 12);
static inline std::string ByteArrayToString(const ByteArray& a) {
return std::string(reinterpret... | {
"content_hash": "95e069a21b96b1c1d518a8065abf8373",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 90,
"avg_line_length": 25.504273504273506,
"alnum_prop": 0.6980563002680965,
"repo_name": "knizhnik/parquet-cpp",
"id": "409e335aff9dfb0609d83f619a103d936a14e808",
"size":... |
class NotificationQueue {
std::deque<std::function<void()>> q_{};
bool done_{false};
std::mutex mutex_{};
std::condition_variable ready_{};
public:
void done();
bool pop(std::function<void()> &x);
bool try_pop(std::function<void()> &x);
template <typename F>
void push(F &&f) {
{
std::uniqu... | {
"content_hash": "31d2b3d5d2f9aa3fecc1de4e3abe6cb3",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 66,
"avg_line_length": 21.21212121212121,
"alnum_prop": 0.56,
"repo_name": "antaljanosbenjamin/miscellaneous",
"id": "b3eb003865f6f091855c1d9a5546e5b959a8e6f3",
"size": "80... |
"""Tests for the PHDI image path specification implementation."""
import unittest
from dfvfs.path import phdi_path_spec
from tests.path import test_lib
class PHDIPathSpecTest(test_lib.PathSpecTestCase):
"""Tests for the PHDI image path specification implementation."""
def testInitialize(self):
"""Tests th... | {
"content_hash": "06e287754aed14eeeab120fd78bcf299",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 72,
"avg_line_length": 26.725,
"alnum_prop": 0.7043966323666978,
"repo_name": "joachimmetz/dfvfs",
"id": "01e90c17ca57b2e290a5660aa90f420664991ef1",
"size": "1115",
"bina... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windo... | {
"content_hash": "a81eb0f7111ec39ec0ad5e75b54692e1",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 54,
"avg_line_length": 24.866666666666667,
"alnum_prop": 0.6809651474530831,
"repo_name": "akiress/idt4243",
"id": "0eba409ab6c299df69a53279f15ba1e42dfbaa3b",
"size": "748"... |
package tech.sirwellington.alchemy.generator;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.*;
import kotlin.io.ByteStreamsKt;
import kotlin.text.Charsets;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author SirWellington
*/
final class AlchemyRe... | {
"content_hash": "3ff34c8cdda15f625f1a0c80df9b9327",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 89,
"avg_line_length": 23.085365853658537,
"alnum_prop": 0.554675118858954,
"repo_name": "SirWellington/alchemy-generator",
"id": "3d040b6f753a8ea3bce9bc8e29506b7bdce9f292",
... |
EWZTimeBundle
=============
This bundle provides easy time helper for Symfony applications.
## Installation
Installation depends on how your project is setup:
### Step 1: Installation using the `bin/vendors.php` method
If you're using the `bin/vendors.php` method to manage your vendor libraries,
add the following ... | {
"content_hash": "4f92312b768228c8a4b47b4fa0475dbb",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 104,
"avg_line_length": 20.408602150537636,
"alnum_prop": 0.6928345626975764,
"repo_name": "excelwebzone/EWZTimeBundle",
"id": "345350ea72fbdd9bcabeedd21eadb86862dcc8b2",
"... |
This perturbation adds noise to all types of text sources (sentence, paragraph, etc.).
Author name: Marco Di Giovanni
Author email: marco.digiovanni@polimi.it
Author Affiliation: Politecnico di Milano and University of Bologna
## What type of a transformation is this?
This transformation acts like a perturbation to t... | {
"content_hash": "3e05ff7903a9550a6480607b5d8befd1",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 204,
"avg_line_length": 58.36842105263158,
"alnum_prop": 0.8133453561767358,
"repo_name": "GEM-benchmark/NL-Augmenter",
"id": "6312ae57ecd867697740918849c70b34bbaa2249",
"s... |
# BSD 3-Clause License
# =======
# Copyright (c) 2020, Xilinx
# All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this
# li... | {
"content_hash": "6499a84c8b16c87c1082e23192442b34",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 140,
"avg_line_length": 53.40963855421687,
"alnum_prop": 0.666704263478457,
"repo_name": "Xilinx/BNN-PYNQ",
"id": "f8689dec5ad564574cb891a8bc4834ab2b61f4b1",
"size": "8866... |
goog.provide('todomvc.listcontrol');
goog.require('goog.dom');
goog.require('goog.events.KeyCodes');
goog.require('goog.string');
goog.require('mvc.Control');
goog.require('todomvc.templates');
goog.require('todomvc.todocontrol');
/**
* the control for the todo list, handles the page as well
*
* @constructor
* @... | {
"content_hash": "491ded93a67c7c5278f5277ece7a9010",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 77,
"avg_line_length": 22.786127167630056,
"alnum_prop": 0.6745306950786403,
"repo_name": "1manStartup/todomvc",
"id": "b85fddfc92aa8fb31fa4afba0fbdc203535da887",
"size": ... |
<?php
namespace Google\AdsApi\AdManager\v202208;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class RichMediaStudioCreative extends \Google\AdsApi\AdManager\v202208\BaseRichMediaStudioCreative
{
/**
* @var string $lockedOrientation
*/
protected $lockedOrientation = null;
/**
... | {
"content_hash": "a9c7f05ecaac9d68a9a83376f6dec218",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 785,
"avg_line_length": 41.416666666666664,
"alnum_prop": 0.7079979879275654,
"repo_name": "googleads/googleads-php-lib",
"id": "ebebd3b943d7a62c414c4407a5071ee786ab20f5",
... |
define({
"commonMedia": {
"mediaSelector": {
"lblSelect1": "Mídia",
"lblSelect2": "Conteúdo",
"lblMap": "Mapa",
"lblImage": "Imagem",
"lblVideo": "Vídeo",
"lblExternal": "Página da web",
"lblUpload": "Carregar",
"lblLink": "Vincular",
"disabled": "Este recurso... | {
"content_hash": "e8d81e04b01ed9df889a47a69be9d174",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 471,
"avg_line_length": 60.481751824817515,
"alnum_prop": 0.6830798937967656,
"repo_name": "pmacMaps/shortlist-storytelling-template-js",
"id": "705737df81615da89932daff9f6e... |
package com.datasift.client.pylon;
import com.datasift.client.BaseDataSiftResult;
import com.fasterxml.jackson.annotation.JsonProperty;
public class PylonTaskResult extends BaseDataSiftResult {
public PylonTaskResult() {
}
@JsonProperty
protected String id;
@JsonProperty("identity_id")
prot... | {
"content_hash": "fa528d77f0e54acd6759fbc3cd28d3f9",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 57,
"avg_line_length": 18.333333333333332,
"alnum_prop": 0.6579124579124579,
"repo_name": "datasift/datasift-java",
"id": "249e663dc4bd1e2cef049937d813b368b11fa371",
"size"... |
package stun
import (
"github.com/pkg/errors"
)
// https://tools.ietf.org/html/rfc5389#section-15.9
// The UNKNOWN-ATTRIBUTES attribute is present only in an error response
// when the response code in the ERROR-CODE attribute is 420.
//
// The attribute contains a list of 16-bit values, each of which
// represents ... | {
"content_hash": "24c56a59501bbcf3de53075bdfdf554b",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 88,
"avg_line_length": 33.17857142857143,
"alnum_prop": 0.5909580193756727,
"repo_name": "nobonobo/ssh-p2p",
"id": "e12aae4ac678c110ffd9f103675bece2a950686b",
"size": "1858... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>generic-environments: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boot... | {
"content_hash": "01c051c94758a587183347c42805e2d1",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 458,
"avg_line_length": 46.17751479289941,
"alnum_prop": 0.5716299333675039,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "0d34f0762899dfc2541e8040bfa9a425b5b6f240",
... |
#define PNG_INTERNAL
#include "png.h"
#if defined(PNG_READ_SUPPORTED)
/* Create a PNG structure for reading, and allocate any memory needed. */
png_structp PNGAPI
png_create_read_struct(png_const_charp user_png_ver, png_voidp error_ptr,
png_error_ptr error_fn, png_error_ptr warn_fn)
{
#ifdef PNG_... | {
"content_hash": "e5ce327965e020f82d6b83a721518d36",
"timestamp": "",
"source": "github",
"line_count": 1463,
"max_line_length": 82,
"avg_line_length": 33.1203007518797,
"alnum_prop": 0.6048498606954906,
"repo_name": "hgl888/TeamTalk",
"id": "1f3da3f97d1b936d0ed8e815bffab1ca699b14ce",
"size": "4891... |
import { MotionSubmitter } from './motion-submitter';
import { MotionLog } from './motion-log';
import { MotionComment } from './motion-comment';
import { AgendaBaseModel } from '../base/agenda-base-model';
import { SearchRepresentation } from '../../../core/services/search.service';
import { MotionPoll } from './motio... | {
"content_hash": "2580d35ebc0a72da5c8fcf596e869e44",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 97,
"avg_line_length": 30.508333333333333,
"alnum_prop": 0.6039333515432942,
"repo_name": "boehlke/OpenSlides",
"id": "4690acea80e45d2bef675a21393959c920c85956",
"size": "... |
'use strict';
import { module } from 'angular';
export const CORE_PRESENTATION_ISVISIBLE_ISVISIBLE_DIRECTIVE = 'spinnaker.core.presentation.isVisible.directive';
export const name = CORE_PRESENTATION_ISVISIBLE_ISVISIBLE_DIRECTIVE; // for backwards compatibility
module(CORE_PRESENTATION_ISVISIBLE_ISVISIBLE_DIRECTIVE, ... | {
"content_hash": "38cd6f90975080b04680d8d9834f68e1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 113,
"avg_line_length": 41.53846153846154,
"alnum_prop": 0.7314814814814815,
"repo_name": "ajordens/deck",
"id": "62c684e27ef9f2f1c4294bd474d2ac6eabe02403",
"size": "540",
... |
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you ... | {
"content_hash": "bf5b2f0c4690e7f5ec9dd7ec42c4419d",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 81,
"avg_line_length": 28.153846153846153,
"alnum_prop": 0.61351217088922,
"repo_name": "wido/cloudstack",
"id": "40d99e3204e3703deb4a5aa069673dea2327c40f",
"size": "4026"... |
<style>
.note::before {
content: 'Note: ';
font-variant: small-caps;
font-style: italic;
}
.doc h1 {
margin: 0;
}
</style>
# Creating WebUI Interfaces in `components/`
To create a WebUI interface in `components/` you need to follow different steps from [Creating WebUI Interfaces in `chrome/`](https://www.chr... | {
"content_hash": "049f6810926ef8f97cc29c91069aaf7d",
"timestamp": "",
"source": "github",
"line_count": 328,
"max_line_length": 450,
"avg_line_length": 34.73780487804878,
"alnum_prop": 0.7216956292785677,
"repo_name": "endlessm/chromium-browser",
"id": "006f3f72eff70e3da03a64b7935fcbf76df18ada",
"s... |
<?xml version="1.0" encoding="UTF-8"?>
<rootTag>
<Award>
<AwardTitle>Finescale Dynamics of the Double-Diffusive Thermocline</AwardTitle>
<AwardEffectiveDate>09/15/2013</AwardEffectiveDate>
<AwardExpirationDate>09/30/2017</AwardExpirationDate>
<AwardAmount>432056</AwardAmount>
<AwardInstrument>
... | {
"content_hash": "f579f372b4a0dac54cd04cf72b4b88c7",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 83,
"avg_line_length": 32.36538461538461,
"alnum_prop": 0.6815210932857991,
"repo_name": "jallen2/Research-Trend",
"id": "6f64f13b34c590fad0c8f710fb1efc8cffd47cd6",
"size":... |
'use strict';
const fs = require('fs');
const path = require('path');
const glob = require('glob');
const MessageParser = require('intl-messageformat-parser').default;
const {collectAllCustomElementsFromICU} = require('../../lib/i18n/i18n.js');
/** @typedef {Record<string, {message: string}>} LhlMessages */
/**
*... | {
"content_hash": "bfe5f6024cc98e35426c1b6e02e937f9",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 110,
"avg_line_length": 34.261744966442954,
"alnum_prop": 0.7177277179236043,
"repo_name": "wardpeet/lighthouse",
"id": "33e002a921eed9d96806bd5ba3321036c9610696",
"size":... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
// import { FormsModule } from '@angular/forms';
import { RoomService } from './services/room.service';
import { RoomListComponent } from './components/room-list/room-list.component';
@NgModule({
imports: [
CommonModule,
... | {
"content_hash": "693cd9a92e4398c3462e639d9df08abe",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 79,
"avg_line_length": 20.727272727272727,
"alnum_prop": 0.6732456140350878,
"repo_name": "Obelixx/AASmartHouse",
"id": "b3db5b9d1be430759c05cecaa740c2c1457dc414",
"size": ... |
package org.apache.directory.fortress.rest;
import org.apache.directory.fortress.core.ConfigMgr;
import org.apache.directory.fortress.core.ConfigMgrFactory;
import org.apache.directory.fortress.core.model.Configuration;
import org.apache.directory.fortress.core.model.Props;
import org.apache.directory.fortress.core.m... | {
"content_hash": "8d40fa86e4e4ec09ba9a90f43898b493",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 96,
"avg_line_length": 27.08888888888889,
"alnum_prop": 0.5706863549357397,
"repo_name": "apache/directory-fortress-enmasse",
"id": "f180e067a19da6b0a8938d3c0d04e4f030d5acb5... |
module RUser
# This module defines the RandomUser.me API constants used by classes.
# @author Joshua Kendall
module Api
# The URL for the API.
URL = 'https://api.randomuser.me'.freeze
# The version of the API that is used.
VERSION = '0.7'.freeze
end
end
| {
"content_hash": "7ea1fb1d4e4fd28cc226e97d46a811b0",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 72,
"avg_line_length": 25.363636363636363,
"alnum_prop": 0.6774193548387096,
"repo_name": "kendallshq/ruser",
"id": "1226172d41a13436d257d6f0e0e5e669dc2b10b2",
"size": "309... |
package com.ceph.rados.exceptions;
/**
* Contains all native error codes with appropriate names and messages.
*/
public enum ErrorCode {
EPERM(-1, "Operation not permitted"),
ENOENT(-2, "No such file or directory"),
ESRCH(-3, "No such process"),
EINTR(-4, "Interrupted system call"),
EIO(-5, "I/... | {
"content_hash": "4ca4065c23efef1febe670e7904444e7",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 72,
"avg_line_length": 38.130208333333336,
"alnum_prop": 0.6393935254746619,
"repo_name": "ceph/rados-java",
"id": "b1f5d40e1e2b257a091f241e5664d9918b158a27",
"size": "799... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview Trash
* This is the class for the trash can that appears when dragging an app.
*/
cr.define('ntp', function() {
'use strict'... | {
"content_hash": "a3ee753155b4d366763ae15b9de86a7a",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 76,
"avg_line_length": 24.06578947368421,
"alnum_prop": 0.6172772006560963,
"repo_name": "Samsung/ChromiumGStreamerBackend",
"id": "510348a10f1ec200f9c6b41fb6ba4f9661b31008",... |
"""empty message
Revision ID: 298bbf22bdb8
Revises: b976e7a7dc35
Create Date: 2017-04-02 13:11:00.655727
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '298bbf22bdb8'
down_revision = 'b976e7a7dc35'
branch_labels = None
depends_on = None
def upgrade():
# ... | {
"content_hash": "7476f4516b02309e2aaf39009ca6d8da",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 85,
"avg_line_length": 31.166666666666668,
"alnum_prop": 0.6737967914438503,
"repo_name": "CapitalD/taplist",
"id": "25f1970b18bcd9b8f90cffabbd29a6cbd65cf459",
"size": "112... |
#include "sdl_rpc_plugin/commands/mobile/subscribe_button_response.h"
namespace sdl_rpc_plugin {
using namespace application_manager;
namespace commands {
SDL_CREATE_LOG_VARIABLE("Commands")
SubscribeButtonResponse::SubscribeButtonResponse(
const application_manager::commands::MessageSharedPtr& message,
A... | {
"content_hash": "3d690c9e1ab76c1fed39334139df6f71",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 79,
"avg_line_length": 27.954545454545453,
"alnum_prop": 0.6634146341463415,
"repo_name": "smartdevicelink/sdl_core",
"id": "216d1e186df77f5dcf9dd38f3cd779c8f3287d26",
"siz... |
import MySQLdb
import Apriori
# get tags data from db
db = MySQLdb.connect( "localhost", "", "", "" )
cursor = db.cursor()
sql = "SELECT * FROM article_tags LIMIT 0,50000"
tagsdata = {}
try:
cursor.execute( sql )
result = cursor.fetchall()
for row in result:
tags = []
id = row[0]
articleid = row[1]
tagid = ... | {
"content_hash": "6ec2701ac81a68c3d04f19fbf77c533a",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 78,
"avg_line_length": 24.928571428571427,
"alnum_prop": 0.6547277936962751,
"repo_name": "jjyoung/Apriori",
"id": "57b338d3e57a1c4e2cb7cd574c2f5005ebcc5bf3",
"size": "788"... |
import {WPlus} from "../../1_lexer/tokens";
import {regex as reg, Expression, tok, seq} from "../combi";
import {IStatementRunnable} from "../statement_runnable";
export class WithName extends Expression {
public getRunnable(): IStatementRunnable {
return seq(tok(WPlus), reg(/^\w+$/));
}
} | {
"content_hash": "a895e604e0e2bcfc198d1e5a5b328a08",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 60,
"avg_line_length": 33.22222222222222,
"alnum_prop": 0.68561872909699,
"repo_name": "larshp/abapOpenChecksJS",
"id": "be81def7385edfdd33811231d2b5978360486939",
"size": "... |
End of preview.
No dataset card yet
- Downloads last month
- 1