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 |
|---|---|
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**object_type** | **int** | Object type IDs available for this questionnaire | [optional]
**object_id** | **int** | Object id's available for this questionnaire | [optional]
**object_type_name** | **string** | Object ty... | {
"content_hash": "7878eea1b0806f97a7c739620b4d65b1",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 161,
"avg_line_length": 61.63636363636363,
"alnum_prop": 0.6194690265486725,
"repo_name": "freightlive/bumbal-client-api-php",
"id": "657ce9479913a70053dd9a65128f08b56187c529... |
// Options to control how MicroPython is built for this port,
// overriding defaults in py/mpconfig.h.
// Variant-specific definitions.
#include "mpconfigvariant.h"
// The minimal variant's config covers everything.
// If we're building the minimal variant, ignore the rest of this file.
#ifndef MICROPY_UNIX_MINIMAL... | {
"content_hash": "3b3414d2cd828ad9cb320d24573cb769",
"timestamp": "",
"source": "github",
"line_count": 346,
"max_line_length": 179,
"avg_line_length": 35.59537572254335,
"alnum_prop": 0.7145988957453718,
"repo_name": "pramasoul/micropython",
"id": "c74d2fd84aa5fbeadb7689041952a3ee52742811",
"size"... |
W.require([], function() {
W.xtag.loadUI('/usr/share/templates/twf/main.html', function(twfWindow) {
$(twfWindow).window('open');
});
}); | {
"content_hash": "62a0b88ac1589110c48a072b201965c0",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 74,
"avg_line_length": 28.2,
"alnum_prop": 0.6453900709219859,
"repo_name": "symbiose/symbiose",
"id": "7f5efd064f10d35f0413c3714f9030d4ba3f0275",
"size": "141",
"binary":... |
/*
Version: 3.4.6 Timestamp: Sat Mar 22 22:30:15 EDT 2014
*/
.select2-container {
margin: 0;
position: relative;
display: inline-block;
/* inline-block for ie7 */
zoom: 1;
*display: inline;
vertical-align: middle;
}
.select2-container,
.select2-drop,
.select2-search,
.select2-search input {... | {
"content_hash": "51bb38ff4be3dbaf184791a001e6fde7",
"timestamp": "",
"source": "github",
"line_count": 646,
"max_line_length": 221,
"avg_line_length": 28.472136222910216,
"alnum_prop": 0.6661229815690752,
"repo_name": "scieloorg/scielo-manager",
"id": "35999e125bea516274623f5195cbc6f17b8b2380",
"s... |
import pda_exceptions as e
class PDA(object):
def __init__(self, rules, input_alphabet, states,
initial_state, terminate_states):
self.rules = rules
self.input_alphabet = input_alphabet
self.states = states
self.state = initial_state
self.terminate_states =... | {
"content_hash": "70c5bd65716c2064b8462de6f22bc4f5",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 55,
"avg_line_length": 31.571428571428573,
"alnum_prop": 0.5402714932126697,
"repo_name": "Imperat/SSU-Courses",
"id": "e22a6e9bd7a74e8f69cf44f2d67f7a108f4bb7c1",
"size": "... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct bad_adjustment</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="ge... | {
"content_hash": "583230ac49396be3b610bfec0f0f2402",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 673,
"avg_line_length": 94.43548387096774,
"alnum_prop": 0.6794192997438087,
"repo_name": "zjutjsj1004/third",
"id": "c805e6f236a6e2990f0005bed78ce788a2da02c8",
"size": "58... |
package org.apache.camel.spring.management;
import javax.management.MBeanServer;
import javax.management.ObjectName;
import org.apache.camel.spring.SpringTestSupport;
import org.junit.Test;
import org.springframework.context.support.AbstractXmlApplicationContext;
import org.springframework.context.support.ClassPathX... | {
"content_hash": "cd26a77ac19ebc287843769404bc1357",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 125,
"avg_line_length": 34.91025641025641,
"alnum_prop": 0.6889460154241646,
"repo_name": "sverkera/camel",
"id": "b392810b5cbd69cf4296a8dc2d5b5932d56f552e",
"size": "3526"... |
package com.blog.start.jpa.service;
import com.blog.start.jpa.entity.Blog;
import com.blog.start.jpa.entity.Item;
import com.blog.start.jpa.entity.Role;
import com.blog.start.jpa.entity.User;
import com.blog.start.jpa.repositorie.BlogRepository;
import com.blog.start.jpa.repositorie.ItemRepository;
import com.blog.sta... | {
"content_hash": "df10916bdddc6b28cdbe38082fdb5c38",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 125,
"avg_line_length": 23.69,
"alnum_prop": 0.7078936260025327,
"repo_name": "6895mahfuzgit/SpringBlogsWebsite",
"id": "6a257b46ce36c420a93da34d2ec792af1d82812e",
"size":... |
<!--
@license Apache-2.0
Copyright (c) 2018 The Stdlib Authors.
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... | {
"content_hash": "d01006699b231338f17d18f4bd231c93",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 139,
"avg_line_length": 22.226666666666667,
"alnum_prop": 0.6217756448710258,
"repo_name": "stdlib-js/www",
"id": "85ed1b102eba5e441b3a581395b7ce3722c0b3e9",
"size": "3334... |
import { Catalogue } from "../catalogue.class";
export class CataloguesLoadedEvent {
constructor(public catalogues: Catalogue[]) {}
}
| {
"content_hash": "851be438e90d2d6e8ab67e18ca047e87",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 47,
"avg_line_length": 14,
"alnum_prop": 0.7214285714285714,
"repo_name": "danigiri/particle",
"id": "b697fdfad686fde9327e24d72a9c35cefbd90f9a",
"size": "745",
"binary": ... |
package apple.intents.enums;
import org.moe.natj.general.ann.Generated;
import org.moe.natj.general.ann.NInt;
@Generated
public final class INStartCallContactUnsupportedReason {
@Generated
private INStartCallContactUnsupportedReason() {
}
@Generated @NInt public static final long NoContactFound = 0x0... | {
"content_hash": "ab8034b35b880fe22d3d3139ca991992",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 96,
"avg_line_length": 46.21052631578947,
"alnum_prop": 0.8018223234624146,
"repo_name": "multi-os-engine/moe-core",
"id": "5ae652348a3378f6a1b129ef60a87227b3888b5a",
"size... |
<?php
namespace Victoire\Bundle\MediaBundle\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Componen... | {
"content_hash": "5f177b41b0980ef00f4be788e813b1ed",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 166,
"avg_line_length": 35.747899159663866,
"alnum_prop": 0.5876821814762576,
"repo_name": "vincent-chapron/victoire",
"id": "c05942a81e5b27c5d6374c616280b7438bbf0880",
"s... |
'use strict';
module.exports = Each;
function Each(fn) {
this.fn = fn;
this.sources = [];
this._onRead = this._onRead.bind(this);
}
Each.prototype.feed = function (sources) {
this.sources = sources;
var chunk;
while (chunk = this.fetch()) {
if (chunk.end) return;
if (chunk.next) continue;
this... | {
"content_hash": "14cd5f0eaae46e22a0193889111993f5",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 51,
"avg_line_length": 23.11111111111111,
"alnum_prop": 0.6304945054945055,
"repo_name": "shishidosoichiro/lazy",
"id": "857f98e70d33dfa8e2fd967fd4c2e98155a21db4",
"size": ... |
var component = FlowComponents.define("profiler.flameviewer", function(params) {
this._domPathCache = [];
this._selectedFunctions = {};
this._currentPath = null;
// initialization
this.autorun(function() {
if(!params.cpuProfileFn()) {return;}
var cpuProfile = params.cpuProfileFn();
if(cpuProfile... | {
"content_hash": "403739167b48cef1dacab5bac209cc43",
"timestamp": "",
"source": "github",
"line_count": 264,
"max_line_length": 80,
"avg_line_length": 26.401515151515152,
"alnum_prop": 0.6522238163558106,
"repo_name": "kadira-open/kadira-server",
"id": "f770095a502d90541f7ae4d3ce699185c0dff17c",
"s... |
package com.pliu.powerbiembed;
import java.net.HttpURLConnection;
import java.net.URL;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.json.JSONArray;
import org.json.JSONObject;
import org.springframework.stereotype.Controller;
im... | {
"content_hash": "29f4a3ef9cc3e43a572fe65f72ea97ea",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 117,
"avg_line_length": 39.44444444444444,
"alnum_prop": 0.6929577464788732,
"repo_name": "liupeirong/Azure",
"id": "62dd85ce15a3268ec13d29c67fb1269d00699f8a",
"size": "370... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="assets/css/index.css">
</head>
<body>
<header>Your Header</header>
</body>
</html>
| {
"content_hash": "d202ec6a9d5ec3aa7d9f567361e0587b",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 53,
"avg_line_length": 18,
"alnum_prop": 0.6363636363636364,
"repo_name": "ganlanyuan/SASS4beginners",
"id": "747b22ffc589f8df14b01a61f64f48c60842d5ce",
"size": "198",
"b... |
package main
import (
"context"
appconnections "cloud.google.com/go/beyondcorp/appconnections/apiv1"
appconnectionspb "cloud.google.com/go/beyondcorp/appconnections/apiv1/appconnectionspb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a co... | {
"content_hash": "a52472e96ad3acb32ff563026ab42bcd",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 124,
"avg_line_length": 30.375,
"alnum_prop": 0.7325102880658436,
"repo_name": "googleapis/google-cloud-go",
"id": "973c6413f93b0fa6734921ee7647a5c5953b8d41",
"size": "1973... |
package org.apache.karaf.deployer.blueprint;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.URL;
import java.net.URLConnecti... | {
"content_hash": "cc98f6f4a86f7921b07c43991244f9b0",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 119,
"avg_line_length": 35.401069518716575,
"alnum_prop": 0.5794561933534743,
"repo_name": "grgrzybek/karaf",
"id": "448e3f67733add7603aa877fa74b9dd9fc7f5a91",
"size": "74... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>batchrun-dialog.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-... | {
"content_hash": "8b46aa96fd05e28c0600291a81d01f7d",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 283,
"avg_line_length": 71.26086956521739,
"alnum_prop": 0.6882245271507016,
"repo_name": "ixmaps/trgen",
"id": "769dbd115596ae4695e9d42bb906bb3b70bd7128",
"size": "3278",
... |
SlideMapper Versions
====================
0.1.0
------------
* Initial "good enough for jazz" version.
* Support for multiple slide configurations
* Clustering support (via Leafpile)
0.1.1
------------
* Updated to latest leaflet lib
* Updated to latest leapfile lib
* fixed bug where clicking the same marker twice ... | {
"content_hash": "4821462a4d4de52410c6646a7c8f8d13",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 63,
"avg_line_length": 18.714285714285715,
"alnum_prop": 0.648854961832061,
"repo_name": "cavis/slidemapper",
"id": "8f11f64fb231641349de57c859caeb2e383b8e4f",
"size": "394... |
import * as sessionActions from 'app/actions/session';
const DEFAULT = {};
export default function(state=DEFAULT, action={}) {
switch (action.type) {
case sessionActions.SET_SESSION: {
const { session } = action.payload;
return session;
}
case sessionActions.SESSION_ERROR: {
// In the ... | {
"content_hash": "0843914e3690f7c5a03e6dc31fe5c9c8",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 79,
"avg_line_length": 31.75,
"alnum_prop": 0.6456692913385826,
"repo_name": "ajacksified/reddit-mobile",
"id": "4b9951ce0482e834139ce5bd081d0b6fcd1b14a8",
"size": "635",
... |
namespace occa {
namespace lang {
class declarationStatement : public statement_t {
public:
variableDeclarationVector declarations;
bool declaredType;
declarationStatement(blockStatement *up_,
token_t *source_);
declarationStatement(blockStatement *up_,
... | {
"content_hash": "cf695834df9cb20698ca1707c3b3505e",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 81,
"avg_line_length": 27.675675675675677,
"alnum_prop": 0.6474609375,
"repo_name": "libocca/occa",
"id": "befe6a780ebcee3af51ce04a0cb087ca4ac82c37",
"size": "1210",
"bin... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.tecnologiabasica.jettyapidatabase.dao;
import com.tecnologiabasica.jettyapicommons.entity.JGenericInfoEntity;
import java.... | {
"content_hash": "a6c5cfe9a513037842523fa00e71e1f3",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 108,
"avg_line_length": 45.25925925925926,
"alnum_prop": 0.7242225859247136,
"repo_name": "afonsohmm/JettyAPISample",
"id": "b49af4052b2aadc491f58f64cbaccb212dc4f9ae",
"siz... |
import { async, TestBed } from '@angular/core/testing';
import { buildComponent, MzTestWrapperComponent } from '../shared/test-wrapper';
import { MzSpinnerComponent } from './spinner.component';
describe('MzSpinnerComponent:view', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarat... | {
"content_hash": "d6cfeb4bb6f3dd8e689db3ee71d4f660",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 107,
"avg_line_length": 30.76923076923077,
"alnum_prop": 0.6335714285714286,
"repo_name": "hiagodotme/ng2-materialize",
"id": "2aa366d660c1c6079419836b79a50d42128a8037",
"s... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Cycloconium phillyreae Nicolas & Aggéry
### Remarks
null | {
"content_hash": "ddbf47432236704bbab694c9020f4f6a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 11.076923076923077,
"alnum_prop": 0.7222222222222222,
"repo_name": "mdoering/backbone",
"id": "7bbff87a4658f041f2cf329e78cc583488c1dcfe",
"size": "20... |
SELECT *
FROM
(SELECT qview1."unique2" AS t0v0, qview1."evenonepercent" AS t1v0, qview1."stringu2" AS t1v1, qview1."stringu1" AS t1v2, qview2."evenonepercent" AS t2v0, qview2."stringu2" AS t2v1, qview2."stringu1"
AS t2v2 FROM
"public"."t13_1m" qview1,
"public"."t14_1m" qview2
WHERE
((qview1."onepercent" >= 0) AND... | {
"content_hash": "6a66598e0b9a5df0bb2d63cb98af620a",
"timestamp": "",
"source": "github",
"line_count": 813,
"max_line_length": 204,
"avg_line_length": 37.56211562115621,
"alnum_prop": 0.7255550461719824,
"repo_name": "ontop/ontop-examples",
"id": "927a9d1f90ac066cadb38dcc476cbb98d11f9723",
"size":... |
try:
from django.template.engine import Engine
from django.template.loaders.base import Loader as BaseLoader
except ImportError: # Django < 1.8
Engine = None
from django.template.loader import BaseLoader, find_template_loader, get_template_from_string
def template_loader(loader_name):
if Engine:
... | {
"content_hash": "2fabb4b8994cd1902e73c16055acbe56",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 97,
"avg_line_length": 28.555555555555557,
"alnum_prop": 0.6835278858625162,
"repo_name": "shtalinberg/django-amp-tools",
"id": "228900405ab2876bf823b3adf1033c3bea8f1a17",
... |
'use strict';
const _ = require('lodash');
const querystring = require('querystring');
const fetch = require('node-fetch');
const baseLog = require('../../log');
const ROOT_URL = 'https://psychonautwiki.org/w/api.php';
const qsDefaults = {
action: 'ask',
format: 'json',
};
/*
Caching algorithm:
... | {
"content_hash": "3f0005e6fefde2c8af25dedc6c1c2f49",
"timestamp": "",
"source": "github",
"line_count": 231,
"max_line_length": 96,
"avg_line_length": 23.393939393939394,
"alnum_prop": 0.500740192450037,
"repo_name": "psychonautwiki/bifrost",
"id": "79c7aac83b1a92362404a82871e3b5c5462f0f28",
"size"... |
namespace cloud_print {
const size_t kMaxMessageLen = 100;
void DisplayWindowsMessage(HWND hwnd,
HRESULT message_id,
const string16 &caption) {
wchar_t message_text[kMaxMessageLen + 1] = L"";
::FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM|FORMAT_MESSAGE_IGNORE_IN... | {
"content_hash": "8a075f9204bae9b8500ec144473e4f0f",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 75,
"avg_line_length": 31.194805194805195,
"alnum_prop": 0.5695253955037469,
"repo_name": "zcbenz/cefode-chromium",
"id": "c331ff897176cb05c65049337ba34f28148702b2",
"size"... |
#include "../../SDL_internal.h"
#if SDL_VIDEO_DRIVER_WINDOWS
#include "SDL_assert.h"
#include "SDL_windowsshape.h"
#include "SDL_windowsvideo.h"
SDL_WindowShaper*
Win32_CreateShaper(SDL_Window * window) {
int resized_properly;
SDL_WindowShaper* result = (SDL_WindowShaper *)SDL_malloc(sizeof(SDL_WindowShaper... | {
"content_hash": "f07ba0628eaeab551dbcd9fe9d97a9fe",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 163,
"avg_line_length": 31.857142857142858,
"alnum_prop": 0.6378061400482925,
"repo_name": "Gigoteur/PX8",
"id": "2d601c1427c9d93584e5b8d6736df1bc6f44725e",
"size": "3837",... |
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
#... | {
"content_hash": "b3673fb20e584d7588c5806eade43011",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 324,
"avg_line_length": 32.04022988505747,
"alnum_prop": 0.7194618834080717,
"repo_name": "busebd12/InterviewPreparation",
"id": "be7efe28280ea997587dbb5a3fcc1cecd8cbc0c8",
... |
/**
* @brief JavaScript Virtual Machine.
*
* A Virtual Machine contains one or more contexts.
*/
@interface L8VirtualMachine : NSObject
/**
* Initialize a new virtual machine.
*
* @return self.
*/
- (instancetype)init L8_DESIGNATED_INITIALIZER;
/**
* Notify the JSVirtualMachine of an external object relati... | {
"content_hash": "58b4344fe32a4eb71c9dcc91cc789be9",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 84,
"avg_line_length": 21.170731707317074,
"alnum_prop": 0.7211981566820277,
"repo_name": "joskuijpers/L8Framework",
"id": "30bc5eed35d082c23582262929c18b1eb49dc7b9",
"size... |
``timeutils`` - ``datetime`` additions
======================================
.. automodule:: boltons.timeutils
.. autofunction:: total_seconds
.. autofunction:: dt_to_timestamp
.. autofunction:: isoparse
.. autofunction:: parse_timedelta
.. autofunction:: relative_time
.. autofunction:: decimal_relative_time
Gener... | {
"content_hash": "3cb44d0417ff4cfa88a2d5ab9f831fd2",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 69,
"avg_line_length": 30.520833333333332,
"alnum_prop": 0.7419795221843003,
"repo_name": "suranap/boltons",
"id": "a52fc81a09e1979c5b79d36a80800351705b0883",
"size": "1466... |
title: "PiNet, a centralised user accounts and file storage system for a Raspberry Pi classroom."
layout: article
---
Shared folders
-----------------------------
PiNet is able to set up shared folders with different permission levels for students and staff.
Shared folders appear on the left hand bar in the... | {
"content_hash": "d5ead483073e900586d1c4fe0e56cd64",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 178,
"avg_line_length": 52.34285714285714,
"alnum_prop": 0.712882096069869,
"repo_name": "vlee489/PiNet.github.io",
"id": "22dfd8ee56b28608b826c69c837596c5d230df48",
"size"... |
require 'csv'
require_relative './date_helpers'
class SleepBotCSVParser
def self.create_sleep_records(user_id, file, utc_offset)
CSV.foreach(file.path, headers: true, quote_char: "'", header_converters: :symbol, skip_blanks: true) do |row|
create_sleep(user_id, row, utc_offset)
end
end
def self.cr... | {
"content_hash": "629d2b67e07bb4d53412e8e603c7754d",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 114,
"avg_line_length": 38.45161290322581,
"alnum_prop": 0.6375838926174496,
"repo_name": "catchingash/trackcamp",
"id": "661ef6df965612fe0c8f527154a2d35adf24c250",
"size":... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StuckNumbers
{
class StuckNumbers
{
static void Main()
{
var count = Console.ReadLine();
var inputNumbers = Console.ReadLine();
var ... | {
"content_hash": "20f5d4415a61d18889e9583f9246b382",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 106,
"avg_line_length": 30.32608695652174,
"alnum_prop": 0.36917562724014336,
"repo_name": "sevdalin/Software-University-SoftUni",
"id": "a97bdec1f84c528c5da356b7bf1e4c6403a0... |
var _ = require('lodash'),
through = require('through2');
var strReplace = function(content, value, key) {
var regex = new RegExp("'"+ key +"'", 'g');
return content.replace(regex, value);
};
var varReplace = function(content, value, key) {
var regex = new RegExp(key, 'g');
return content.replace(... | {
"content_hash": "e0a27322294f9fe4320742a1fc2e686b",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 65,
"avg_line_length": 29.363636363636363,
"alnum_prop": 0.586687306501548,
"repo_name": "JosephClay/xaja-js",
"id": "6a1cb5149fd40186cf3099e4f8254d727d7bd65b",
"size": "12... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | {
"content_hash": "b1a3a75d5fe833b860d77496ed36b0ed",
"timestamp": "",
"source": "github",
"line_count": 235,
"max_line_length": 359,
"avg_line_length": 46.765957446808514,
"alnum_prop": 0.5304822565969063,
"repo_name": "dcarda/aba.route.validator",
"id": "bf16f0964f645812689ac55ecf5708befcc7d7ac",
... |
package cn.brent.console.table;
/**
* <p>
* 实体类-
* </p>
* <p>
* Table: sys_branch
* </p>
*
* @since 2015-08-18 04:56:12
*/
public class TSysBranch {
/** */
public static final String BranchInnerCode = "BranchInnerCode";
/** */
public static final String BranchCode = "BranchCode";
/** */
public sta... | {
"content_hash": "06da8408d9658a4b5e58e83414708308",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 64,
"avg_line_length": 18.05128205128205,
"alnum_prop": 0.6193181818181818,
"repo_name": "brenthub/brent-console",
"id": "8cb4e7cd9db519a14fa66b44431500eabb64159b",
"size":... |
@interface WindowButtonsView : NSView {
@private
BOOL mouse_inside_;
BOOL show_on_hover_;
BOOL is_rtl_;
gfx::Point margin_;
base::scoped_nsobject<NSTrackingArea> tracking_area_;
}
- (id)initWithMargin:(const base::Optional<gfx::Point>&)margin;
- (void)setMargin:(const base::Optional<gfx::Point>&)margin;
- (... | {
"content_hash": "18f270f351538b060efde22256092037",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 63,
"avg_line_length": 28.0625,
"alnum_prop": 0.7260579064587973,
"repo_name": "bpasero/electron",
"id": "cc662bfc34508cd5cb5ab588c06e9d3112fa2f80",
"size": "907",
"binar... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 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: AssemblyTitle("Me... | {
"content_hash": "624750ca5cf756a82455d60be3d7cc5a",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.97222222222222,
"alnum_prop": 0.7462580185317177,
"repo_name": "AneliaDoychinova/Programming-Basics",
"id": "a5ea15e582cb52f48b0226e13eb029229292af9... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b2017ed377add2dc74988021c3f3569c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 18,
"avg_line_length": 8.384615384615385,
"alnum_prop": 0.6788990825688074,
"repo_name": "mdoering/backbone",
"id": "ba71d54c0dec2756b39ecf9a67e3bd9c9ae0a5d4",
"size": "183... |
<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<div class="widget" id="widget-<?php echo basename(__FILE__,".php"); ?>">
<?php if((get_option('access_tickets_to_none_staff_members') == 1 && !is_staff_member() || is_staff_member()) && (count($tickets_reply_by_status_no_json['datasets'][0]['da... | {
"content_hash": "c9a8f510f53ae62d6a0904e073940ba5",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 271,
"avg_line_length": 47.23076923076923,
"alnum_prop": 0.6026058631921825,
"repo_name": "cmaciasg/test",
"id": "3b7a830a84585f3146c37a6e6ab690c124c59bb5",
"size": "1228",... |
import {
cast,
Diagnostics,
findChildOfKind,
getTokenAtPosition,
isLabeledStatement,
positionsAreOnSameLine,
skipTrivia,
SourceFile,
SyntaxKind,
textChanges,
} from "../_namespaces/ts";
import {
codeFixAll,
createCodeFixAction,
registerCodeFix,
} from ... | {
"content_hash": "9d07820d4dd8e66ec76d437f34d14174",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 142,
"avg_line_length": 42.2,
"alnum_prop": 0.7138625592417062,
"repo_name": "microsoft/TypeScript",
"id": "88e6aed5d41a64d2f736253ae1d1f12bcb6eafd4",
"size": "1688",
"bi... |
End of preview.
No dataset card yet
- Downloads last month
- 1