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 |
|---|---|
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'moromi'
| {
"content_hash": "0fc720dfd2e3f4a25cc89fe0210ab058",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 58,
"avg_line_length": 38,
"alnum_prop": 0.6447368421052632,
"repo_name": "moromi/moromi",
"id": "0809e4f67ce1a189f3f50a437d83cd295eb507e0",
"size": "76",
"binary": false,... |
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Security.Cryptography;
using Security.Cryptography.Properties;
namespace Security.Cryptography
{
/// <summary>
/// <para>
/// The AesCng class provides a wrapper for the CNG implementation of the AES algo... | {
"content_hash": "0a4538a603ac13e9d010d404ffabee20",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 113,
"avg_line_length": 35.75773195876289,
"alnum_prop": 0.5479313824419778,
"repo_name": "hdracer/HIISDA",
"id": "67db02a22a09389acffd89599688961ce5e9ecb5",
"size": "6939... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.videoanalyzer.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
impo... | {
"content_hash": "77bc6359616d43d1a6f28336c77cdb98",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 90,
"avg_line_length": 35.1578947368421,
"alnum_prop": 0.7357784431137725,
"repo_name": "Azure/azure-sdk-for-java",
"id": "5f8455885a91b0e4b6809cac2f40f81e0395931e",
"size"... |
using namespace serial;
class Bluetooth {
private:
Serial *connection;
bool buzz;
bool isConnected;
public:
bool connect(const std::string &port,int baud);
void sendDatas(int16_t angle,int8_t speed = 3,int8_t zero_angle = 0);
void turnOnBuzzer();
void tur... | {
"content_hash": "57e26a32fcc12390db6025fc873c331f",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 77,
"avg_line_length": 25.41176470588235,
"alnum_prop": 0.5902777777777778,
"repo_name": "AyricRobo/28Dey",
"id": "32e48de6b8c48494ab300a06ff255aee54aa8042",
"size": "520",... |
package org.openqa.selenium;
/**
* @deprecated Use InvalidSelectorException instead
*/
@Deprecated
public class XPathLookupException extends InvalidSelectorException {
public XPathLookupException(String message) {
super(message);
}
public XPathLookupException(String message, Throwable cause) {
sup... | {
"content_hash": "eb4f12c11f23ea2807ddf27a2beb81c4",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 68,
"avg_line_length": 18.210526315789473,
"alnum_prop": 0.7543352601156069,
"repo_name": "qamate/iOS-selenium-server",
"id": "27463c3199d52132434d483f9dd3665db12800ae",
"s... |
package com.github.agjacome.httpserver.model.repository;
import java.time.Instant;
import java.util.List;
import java.util.UUID;
import com.github.agjacome.httpserver.model.Session;
import com.github.agjacome.httpserver.model.User;
public interface SessionRepository extends Repository<UUID, Session> {
public de... | {
"content_hash": "28516d4543f42e387115776556db2822",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 73,
"avg_line_length": 27.166666666666668,
"alnum_prop": 0.7177914110429447,
"repo_name": "agjacome/httpserver-web-test",
"id": "edde5f2236d001ca949759a06c9a5d9c833dd84b",
... |
class Admin::TaxSettingsController < Admin::BaseController
def update
Spree::Config.set(params[:preferences])
respond_to do |format|
format.html {
redirect_to admin_tax_settings_path
}
end
end
end
| {
"content_hash": "88cb61fece94568f0b4cc423fb703c2e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 58,
"avg_line_length": 18.153846153846153,
"alnum_prop": 0.6610169491525424,
"repo_name": "evil-c/spree_core",
"id": "76d71a83c21fc126e50b46b088ac45d9513bd868",
"size": "23... |
package org.jmxdatamart.Loader;
import org.jmxdatamart.common.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.sql.Connection;
import java.util.Properties;
public class DataMartDB {
private final org.slf4j.Logger logger = LoggerFactory.getLogger(this.getClass());
private final String m... | {
"content_hash": "76e6a484700695824a552c2bf2c34fc8",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 124,
"avg_line_length": 30.352941176470587,
"alnum_prop": 0.6952519379844961,
"repo_name": "TeamDewberry/jmxdatamart",
"id": "b421b8c8b2214c5b55fdf5ff29784e99d6663f63",
"si... |
class CreateSpacepubTags < ActiveRecord::Migration
def change
create_table :spacepub_tags do |t|
t.string :name, :default => ""
t.string :slug, :default => ""
t.timestamps
end
end
end
| {
"content_hash": "ac292ac371f7a4ef01dad05f77f49779",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 50,
"avg_line_length": 23.77777777777778,
"alnum_prop": 0.6308411214953271,
"repo_name": "hacknite/spacepub",
"id": "d9d3f4f177ed328f9d00d05bbf086bce8b403541",
"size": "214"... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "2446e53d5ab91e1a5052be78ac14a397",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "7c6b0ecf4710637ba526092971718be418e5a8dc",
"size": "19... |
<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>org.tanc.proxy</groupId>
<artifactId>proxy-demo</... | {
"content_hash": "de707b66799347566bd270540f277d92",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 108,
"avg_line_length": 32,
"alnum_prop": 0.62875,
"repo_name": "gogotanc/java-demo",
"id": "e6741ad2fc1e1cdf28eb5662f9a2b050a0774650",
"size": "800",
"binary": false,
... |
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'
require 'capybara/rspec'
# Requires supporting ruby files with custom matchers and macros, etc, in
# spec/support/ and its subdirec... | {
"content_hash": "32c8b10df73f9c3466384da3bffd6b49",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 79,
"avg_line_length": 32.13253012048193,
"alnum_prop": 0.6970378702662168,
"repo_name": "sashker/yeti-web",
"id": "e025f96647f78a9e4c79cc0a7edf0aabf7de0a4d",
"size": "2667... |
package com.dremio.exec.planner.cost;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.atomic.AtomicLong;
import java.util.concurrent.locks.ReentrantReadWriteLock;
import org.apache.calcite.plan.AbstractRelOptPlanner;
import org.apache.calcite.plan.RelOptPlanner;
import org.apache.calcite... | {
"content_hash": "2056a312c1678cb559edbffdea239ef9",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 108,
"avg_line_length": 29.85185185185185,
"alnum_prop": 0.6522952853598015,
"repo_name": "dremio/dremio-oss",
"id": "de8daca169cfcc29e5faa7ca1ab9b9651f0cf741",
"size": "3... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "2f1fcda99788c208f812ec26e60930e1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "d248bad381f74167fd6150c51869673407d7fff5",
"size": "174... |
Rails.application.config.assets.version = '1.0'
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
Rails.application.config.assets.precompile += %w( RadarChart.js )
Rails.application.config.assets.precompile += %w( data.js )
| {
"content_hash": "6ae91c7537cfaba0534f8a64485289b9",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 93,
"avg_line_length": 50.166666666666664,
"alnum_prop": 0.770764119601329,
"repo_name": "egarza54/Student-Radar-Maps",
"id": "77c8a0a3d3c3c44000c8b46d800eedea35d05192",
"si... |
local protobuf = require "protobuf"
module('BceLengthenIndate_pb', package.seeall)
local LENGTHENINDATE = protobuf.Descriptor();
local LENGTHENINDATE_SHOPID_FIELD = protobuf.FieldDescriptor();
local LENGTHENINDATE_INDATETYPE_FIELD = protobuf.FieldDescriptor();
local LENGTHENINDATE_ID_FIELD = protobuf.FieldDescriptor(... | {
"content_hash": "76426b16ad9ea9ef73e427e842d4eb15",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 175,
"avg_line_length": 49.11206896551724,
"alnum_prop": 0.8328945058802879,
"repo_name": "wangqi/gameserver",
"id": "423935886a41f775fb511bdbd4ce6c83e9c83fea",
"size": "5... |
package us.misterwok.app.obj;
/**
* Created by hoyin on 17/4/14.
*/
public class LeftMenuItem {
String name;
int icon;
public LeftMenuItem(int icon, String name) {
this.icon = icon;
this.name = name;
}
public String getName() {
return name;
}
public int getIcon... | {
"content_hash": "3e1bf2386746344a7338f9343aff3dab",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 48,
"avg_line_length": 15.391304347826088,
"alnum_prop": 0.5621468926553672,
"repo_name": "hoyin258/MisterWok",
"id": "1f6d80c0dfce5483582a9d43a3fb53b113206138",
"size": "3... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Fr... | {
"content_hash": "89607ea6c2ece4ca24aa2e33a7bda895",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 108,
"avg_line_length": 28.8125,
"alnum_prop": 0.586406362979031,
"repo_name": "naoey/osu",
"id": "8ea2ab9dde240779100ebcb8019a242b22806b6e",
"size": "1385",
"binary": fa... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Sphaeria comptoniae Westend.
### Remarks
null | {
"content_hash": "614abaaa44bb78f79ffc6f220486554e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 28,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.7142857142857143,
"repo_name": "mdoering/backbone",
"id": "11be0b9ba7174d2e214991b99a7d7ecb747e0dc9",
"size": "214... |
require 'spec_helper'
module Qernel
describe Slot do
before :all do
NastyCache.instance.expire!
Etsource::Base.loader('spec/fixtures/etsource')
end
describe '.factory' do
let(:node) { FactoryBot.build(:node) }
context 'when type=nil' do
it 'should be an ordinary slot' do... | {
"content_hash": "200eb148be5bb73f334e690b0c8e0b3c",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 62,
"avg_line_length": 26.333333333333332,
"alnum_prop": 0.5687763713080168,
"repo_name": "quintel/etengine",
"id": "7f73f97ed3a7ed9f163f2316426d76af3d695ead",
"size": "118... |
<?xml version='1.0'?>
<root xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="NCName.xsd" >
<complexTest>
<!-- value=-foo -->
<comp_foo>-foo</comp_foo>
</complexTest>
<simpleTest>-foo</simpleTest>
</root>
| {
"content_hash": "5b26e26219ff2bfb9e0c67701504661c",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 59,
"avg_line_length": 26.1,
"alnum_prop": 0.6436781609195402,
"repo_name": "titellus/schematron",
"id": "ab5f212a0e0dc8f5f4ee971d0d0cc662d43af53d",
"size": "261",
"binar... |
export const multiply = (ingredient, quantity) => {
let multiplier = quantity / ingredient.quantity
return {
id: null,
name: ingredient.name,
parentId: ingredient.id,
parentQuantity: ingredient.quantity,
unit: ingredient.unit,
calories: ingredient.calories * multiplier,
protein: ingredie... | {
"content_hash": "2d93d50f41d29be7e03005cf3a247434",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 55,
"avg_line_length": 22.78,
"alnum_prop": 0.6619841966637401,
"repo_name": "pgk/hmgf",
"id": "ff945dfc85ac97f8fdadef6bdee753978ecd81a1",
"size": "1140",
"binary": false... |
import React from 'react';
import PropTypes from 'prop-types';
import DialogView from './dialog-view';
import RepositoryHomeSelectionView from './repository-home-selection-view';
import DirectorySelect from './directory-select';
import RemoteConfigurationView from './remote-configuration-view';
import TabGroup from '.... | {
"content_hash": "e0f5a8ba5568ad4922bdf0c164439231",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 84,
"avg_line_length": 33.35031847133758,
"alnum_prop": 0.6361726508785333,
"repo_name": "atom/github",
"id": "77cf1d8806e31dfcd1301bbd845fedf8dfc608a3",
"size": "5236",
... |
using System;
using System.Collections.Generic;
namespace TurkishStemmer.Transitions
{
using States;
using Suffixes;
public class Transition
{
private readonly State startState;
private readonly State nextState;
private readonly string word;
private readonly Suffix suff... | {
"content_hash": "5bc4bac89d0bceea13cc19de3290a6c0",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 101,
"avg_line_length": 24.46031746031746,
"alnum_prop": 0.5236859182349124,
"repo_name": "otuncelli/turkish-stemmer-csharp",
"id": "3be085777e14bd30386e4dd6e46e76c2994edcb6"... |
@protocol NotCompletedDelegate
-(void) ZhiFuBaoStyle;
@end
@interface NotCompletedViewController : SZTableViewController
@property (nonatomic, strong) NSArray *maintain;
@property (nonatomic, weak) id<NotCompletedDelegate> delegate;
@property (nonatomic , assign) BOOL isHidden;
-(SZFinalMaintenanceUnitItem *)isExist... | {
"content_hash": "e73e442dfbfb292eec4e54c1c2bf2e35",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 82,
"avg_line_length": 33.63636363636363,
"alnum_prop": 0.8162162162162162,
"repo_name": "sunzeboy/OTISPJ",
"id": "e3413d9d730f06a94f4dc56630fb6584447433ea",
"size": "578",... |
import System.Reflection;
import System.Runtime.CompilerServices;
[assembly: System.CLSCompliant(true)]
//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly:AssemblyTi... | {
"content_hash": "c31724bf0b3ba9a1657d6f6ef03cb0d1",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 84,
"avg_line_length": 46.13333333333333,
"alnum_prop": 0.7148362235067437,
"repo_name": "babaru/log4net",
"id": "ccf309dca03a1f19c432cdba69321fe8e572ba21",
"size": "2691",... |
layout: post
title: "Habit Burger: Charburger"
subtitle: "The ultimate combination of delicious burgers and great customer service"
date: 2016-07-16 12:00:00
author: "Philip Yoo"
header-img: "img/post-img/2016-07-16-habit-burger-header.jpg"
---
<!-- http://emoji.codes/# -->
<div class="convert-emo... | {
"content_hash": "f62a63138be0f4418f2fe92b492df2e9",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 532,
"avg_line_length": 86.375,
"alnum_prop": 0.7319826338639652,
"repo_name": "philipsdyoo/emojireviews",
"id": "5d490345f17614dc2f4def54b98f8ca3441cffcb",
"size": "3459",... |
package org.apache.activemq.artemis.tests.integration.journal;
import java.io.File;
import java.io.FilenameFilter;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import ... | {
"content_hash": "f91dcc98b41963d3ebeb7d86e32c4b4f",
"timestamp": "",
"source": "github",
"line_count": 1856,
"max_line_length": 213,
"avg_line_length": 25.10075431034483,
"alnum_prop": 0.5763625045613583,
"repo_name": "kjniemi/activemq-artemis",
"id": "dee22fbf3599118a161ccedaf73efa3db36b6b42",
"s... |
using Griffin.Networking.Messages;
namespace Griffin.Networking
{
/// <summary>
/// Context assigned to each channel to be able to continue down the chain or to change direction in the pipe
/// </summary>
/// <remarks>
/// It depends of the type of channel how the processing is done. A <see... | {
"content_hash": "1289b3a08635ff902fe967efec8a6038",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 127,
"avg_line_length": 42.03703703703704,
"alnum_prop": 0.6405286343612335,
"repo_name": "NanaYngvarrdottir/Software-Testing",
"id": "8b6fc2adc72247969cd911805d64a3361b27562... |
package password
import (
"crypto/rand"
"crypto/sha512"
"crypto/subtle"
"encoding/base64"
"fmt"
"strconv"
"strings"
"golang.org/x/crypto/pbkdf2"
)
const (
saltLen = 16
keyLen = 64
encodePassword = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789./"
)
// Iterations is the num... | {
"content_hash": "905302e1206ed3a2d71a1ff1844c229c",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 106,
"avg_line_length": 27.473684210526315,
"alnum_prop": 0.710727969348659,
"repo_name": "hexya-erp/hexya",
"id": "20171e1e87175c6837c6cf2422b76ea02c9e2f82",
"size": "1820... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Mon May 07 18:52:23 PDT 2001 -->
<TITLE>
HTTPClient API: Interface CookiePolicyHandler
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.... | {
"content_hash": "589ebf9556afbefb57a564d108b44499",
"timestamp": "",
"source": "github",
"line_count": 211,
"max_line_length": 287,
"avg_line_length": 44.62085308056872,
"alnum_prop": 0.6371747211895911,
"repo_name": "unrelatedlabs/java-wemo-bridge",
"id": "feadf9435175f9714fd4797eb47be064bcf37209",... |
var fs = require('fs');
var path = require('path');
var merge = require('merge-stream');
var gulp = require('gulp');
var rename = require('gulp-rename');
var uglify = require('gulp-uglify');
var concat = require('gulp-concat');
var autoprefixer = require('gulp-autoprefixer');
var plumber = require('gulp-plumber');
var ... | {
"content_hash": "a334c2c93b196def88aa8c07ca6b2a55",
"timestamp": "",
"source": "github",
"line_count": 233,
"max_line_length": 101,
"avg_line_length": 26.476394849785407,
"alnum_prop": 0.5564921381099044,
"repo_name": "hangarlabs/base-html5-banner",
"id": "6bd85b950c8e69d28b4e876f8be31a8ab8e903b7",
... |
namespace Google.Cloud.Dialogflow.V2Beta1.Snippets
{
// [START dialogflow_v2beta1_generated_EntityTypes_GetEntityType_sync_flattened1_resourceNames]
using Google.Cloud.Dialogflow.V2Beta1;
public sealed partial class GeneratedEntityTypesClientSnippets
{
/// <summary>Snippet for GetEntityType</su... | {
"content_hash": "d5a9e96b663d1ed36301d3bba729f353",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 105,
"avg_line_length": 49.888888888888886,
"alnum_prop": 0.6889383815887157,
"repo_name": "googleapis/google-cloud-dotnet",
"id": "543e5ce4b59951a5f7272640d44fcb6a0fcb52c3",... |
/*
* dscommons.h
*
* Created on: Jan 25, 2016
* Author: pvan
*/
#ifndef INCLUDE_DATASTRUCT_DSCOMMONS_H_
#define INCLUDE_DATASTRUCT_DSCOMMONS_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/kclib.h>
#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdlib.h>
#ifndef REGISTER_U... | {
"content_hash": "144dca60335c6ae176cdf57ec4d4f4ab",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 108,
"avg_line_length": 33.296875,
"alnum_prop": 0.7038948850305021,
"repo_name": "Enerccio/kclib",
"id": "28cccd5b4f1fa5893094b8195c9ac11081fb7c4e",
"size": "2131",
"bin... |
jQuery(document).ready(function(){
jQuery('.<%= params.slugifiedContentName %>Bloc .infos .play').click(function() {
var player = jQuery(this).parent().parent().siblings('.player');
player.attr('src',player.attr('future_src'));
player.show()
})
}); | {
"content_hash": "2101342c0a5620f62f5d806a70993d5d",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 82,
"avg_line_length": 37.57142857142857,
"alnum_prop": 0.6539923954372624,
"repo_name": "Inouit/generator-wecce",
"id": "023b9fdc1db8e850f75f1d729e7704c9a1c8a62a",
"size": ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_17) on Mon Apr 12 12:09:32 PDT 2010 -->
<TITLE>
Uses of Package org.apache.hadoop.chukwa.util (chukwa 0.4.0 API)
</TITLE>
<META NAME="date" CONTENT=... | {
"content_hash": "8cd65dda380773437344c67edd1c91f3",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 258,
"avg_line_length": 42.14009661835749,
"alnum_prop": 0.6287974320761206,
"repo_name": "intel-hadoop/HiTune",
"id": "b36a4d220d1b234a95d2891c5f5595abc9acd7b9",
"size": ... |
/* jslint node: true */
"use strict";
require("date.format");
global.modulesCache = global.modulesCache || {};
if(global.modulesCache['json.decycled']){
return;
} else {
global.modulesCache['json.decycled'] = true;
}
JSON.decycler = decycler;
JSON.decycled = decycled;
JSON.revive = revive;
function decycler(val,... | {
"content_hash": "5bf6f747b97a068431efef053d4681b9",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 144,
"avg_line_length": 34.14655172413793,
"alnum_prop": 0.5703105276445342,
"repo_name": "bifuer/JSON.decycled",
"id": "41baea14dc89f4f795bacbcde0595ff9a9d590a7",
"size":... |
date > /tmp/boottime.txt
if [ ! -f /mnt/hhvm/wp-config.php ]; then
WORDPRESS_DB="wordpress"
MYSQL_PASSWORD=`pwgen -c -n -1 12`
WORDPRESS_PASSWORD=`pwgen -c -n -1 12`
#This is so the passwords show up in logs.
echo mysql root password: $MYSQL_PASSWORD
echo wordpress password: $WORDPRESS_PASSWORD
echo $MYSQL_PASSWORD > ... | {
"content_hash": "cbd3dc6619982dc4641a9c1f2ae648d1",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 150,
"avg_line_length": 46.42857142857143,
"alnum_prop": 0.6892307692307692,
"repo_name": "y12studio/y12wordpress",
"id": "c972b83d82d4704bfa876414fcec91b12095ffc0",
"size"... |
import m from "mithril";
import $ from "jquery";
import '@progress/kendo-ui/js/kendo.datetimepicker';
function DateTimePicker(ignore) {
let dateTime;
let datetimepicker;
let InternalDateTime = function(initialDateTime) {
this.dateTime = initialDateTime;
this.format = function() {
... | {
"content_hash": "bc5beec45e681ac6d967368eb5f9f485",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 103,
"avg_line_length": 32.03921568627451,
"alnum_prop": 0.5587515299877601,
"repo_name": "pietermartin/sqlg",
"id": "1e181491e613bb05f69610a7413c1832db3e59f3",
"size": "16... |
'''
Canvas stress
=============
This example tests the performance of our Graphics engine by drawing large
numbers of small sqaures. You should see a black canvas with buttons and a
label at the bottom. Pressing the buttons adds small colored squares to the
canvas.
'''
from kivy.core.window import Window
from kivy.ui... | {
"content_hash": "200f88caba2e4bb5529dae21196efada",
"timestamp": "",
"source": "github",
"line_count": 473,
"max_line_length": 104,
"avg_line_length": 36.35729386892178,
"alnum_prop": 0.4874105948711985,
"repo_name": "DMIunipg/AI-Project-VacuumEnvironment",
"id": "6626572eb13969cf3df2595bb6c6db843ed... |
from ElementBase import ElementBase
from ElementParameter import ElementParameter
from ElementValue import ElementValue
import speech
class SpeakText(ElementBase):
def __init__(self):
self.status = 'running'
self.output = None
self.params = []
self.type = 'Standard'
self.setup_params()
def can_handle_li... | {
"content_hash": "31224a78b9301dbdb79c74d7672176c4",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 192,
"avg_line_length": 22.75,
"alnum_prop": 0.7127158555729984,
"repo_name": "shaun-h/istaflow",
"id": "ba72ff3314cf914c0ebf9ea23676f24dd528012e",
"size": "1290",
"binar... |
DNServiceManager::DNServiceManager()
{
}
DNServiceManager::~DNServiceManager()
{
}
| {
"content_hash": "eb252e795806f1c1aee1c7121cc88391",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 37,
"avg_line_length": 10.625,
"alnum_prop": 0.7529411764705882,
"repo_name": "XDApp/libDNService",
"id": "6273b00f1feabed590d5e7ac9ad1fa63fcdedd91",
"size": "137",
"binar... |
((bbn)=>{let script=document.createElement('script');script.innerHTML=`<!-- HTML Document -->
<div :class="['bbn-iblock', componentClass]">
<bbn-button :notext="true"
icon="nf nf-mdi-grid"
:text="_('Open selector')"
@click="showWindow=!showWindow"
ref="button"/... | {
"content_hash": "597a16760d2be4a6244e2274af517124",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 686,
"avg_line_length": 71.33333333333333,
"alnum_prop": 0.6191588785046729,
"repo_name": "nabab/bbn-vue",
"id": "172c86dbcd20a48d99da1db2a6ff895e2ec9305b",
"size": "2140",... |
package birdz.lib.simulations;
import birdz.lib.genetic.FitnessCalc;
import birdz.lib.genetic.Individual;
public class StringFitnessCalc implements FitnessCalc {
String alphabet = "abcdefghijklmnopqrstuvwxyz";
String target = "hello";
double[] outputs;
@Override
public double getFitness(Individual i) {
doub... | {
"content_hash": "d5d7f5444f8c82d98a72d5e6395b7a39",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 79,
"avg_line_length": 22.5,
"alnum_prop": 0.6817204301075269,
"repo_name": "SpyGuyIan/Birdz",
"id": "4a167df53ea38e11bef6a6bc14dd77a3adae4036",
"size": "1395",
"binary":... |
FROM balenalib/jn30b-nano-debian:stretch-run
ENV NODE_VERSION 12.20.1
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com --... | {
"content_hash": "badbcb7923568f4fa14ceb5b64ee11dd",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 693,
"avg_line_length": 64.86666666666666,
"alnum_prop": 0.7040082219938335,
"repo_name": "nghiant2710/base-images",
"id": "bc98c3b888a9425bd04be6a456311b918008d1a0",
"size... |
package com.google.cloud.memcache.v1beta2;
import com.google.api.core.BetaApi;
import com.google.cloud.memcache.v1beta2.CloudMemcacheGrpc.CloudMemcacheImplBase;
import com.google.longrunning.Operation;
import com.google.protobuf.AbstractMessage;
import io.grpc.stub.StreamObserver;
import java.util.ArrayList;
import ... | {
"content_hash": "8cc465fde5b07eade13521c269bd0245",
"timestamp": "",
"source": "github",
"line_count": 235,
"max_line_length": 102,
"avg_line_length": 36.90638297872341,
"alnum_prop": 0.6516776202006226,
"repo_name": "googleapis/google-cloud-java",
"id": "8261ac32702681dc61ee817089a2a122fa1e2ca2",
... |
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../dummy/config/environment", __FILE__)
require 'rspec/rails'
require 'capybara/rspec'
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subd... | {
"content_hash": "3423f1db14c7072eeeb2ef8b2acfd439",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 88,
"avg_line_length": 35.45161290322581,
"alnum_prop": 0.7142857142857143,
"repo_name": "volontarian/Import",
"id": "7ab06abe977c879cfafa76f5459dcee9448db5bb",
"size": "10... |
End of preview.
No dataset card yet
- Downloads last month
- 1