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: ArrowInvalid
Message: JSON parse error: Missing a closing quotation mark in string. in row 696
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 145, in _generate_tables
dataset = json.load(f)
File "/usr/local/lib/python3.9/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/usr/local/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 2 column 1 (char 655)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1995, in _prepare_split_single
for _, table in generator:
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 148, in _generate_tables
raise e
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 122, in _generate_tables
pa_table = paj.read_json(
File "pyarrow/_json.pyx", line 308, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: JSON parse error: Missing a closing quotation mark in string. in row 696
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1529, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1154, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2038, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
text string | meta dict |
|---|---|
package org.gridkit.nanoparser.heappathgrammar;
public interface HeapPathStep {
}
| {
"content_hash": "9a19e0645f3d1994d6c4288878bf2669",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 47,
"avg_line_length": 16.8,
"alnum_prop": 0.8214285714285714,
"repo_name": "aragozin/nanoparser",
"id": "7d2f7f6799140ec6e7170bde3cd4f02b099f53fd",
"size": "84",
"binary"... |
template<class K, class Tree, class Polyhedron, Primitive_type Type>
void test_impl(Tree& tree, Polyhedron& p, const double duration)
{
tree.accelerate_distance_queries(p.points_begin(),p.points_end());
test_distance_speed<Tree,K>(tree,duration);
test_all_distance_query_types<Tree,K>(tree);
}
int main(void)
{
... | {
"content_hash": "10794c495ac219b191505ca22619b069",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 68,
"avg_line_length": 34.31578947368421,
"alnum_prop": 0.7131901840490797,
"repo_name": "hlzz/dotfiles",
"id": "2fe1a71d082f7d998c2464b62b427b4f025649b5",
"size": "1808",
... |
// This file was generated by jmlunit on Tue May 20 17:42:46 EDT 2008.
package org.jmlspecs.samples.list.list2;
import org.jmlspecs.samples.list.node.OneWayNode;
/** Automatically-generated test driver for JML and JUnit based
* testing of E_OneWayList. The superclass of this class should be edited
* to supply test... | {
"content_hash": "31bb7038976b48a8549dec7092198cf3",
"timestamp": "",
"source": "github",
"line_count": 1276,
"max_line_length": 132,
"avg_line_length": 41.440438871473354,
"alnum_prop": 0.5890540489428496,
"repo_name": "GaloisInc/Votail",
"id": "ab41e6b41eb0f4f43934cd9e74be2908d967ccb9",
"size": "... |
namespace Employees.App.Interfaces
{
public interface ICommand
{
void Execute();
}
}
| {
"content_hash": "390f2cdc2b50f4a636a9dd776cbd019d",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 35,
"avg_line_length": 15.142857142857142,
"alnum_prop": 0.6132075471698113,
"repo_name": "RAstardzhiev/Software-University-SoftUni",
"id": "21fa48ec728d4b25164bf84dfc32b6ffa6... |
<?php
declare(strict_types=1);
namespace phpDocumentor\Guides\RestructuredText\Span;
class SpanToken
{
public const TYPE_LITERAL = 'literal';
public const TYPE_REFERENCE = 'reference';
public const TYPE_LINK = 'link';
/** @var string */
private $type;
/** @var string */
private $id;
... | {
"content_hash": "d972fb80f11138191d9ff5aa42e48617",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 71,
"avg_line_length": 18.181818181818183,
"alnum_prop": 0.532,
"repo_name": "phpDocumentor/phpDocumentor2",
"id": "5630dc874cab6e052e7a39d1a01a82354185e8bf",
"size": "1000... |
package operations.gdrive;
import com.google.api.client.auth.oauth2.Credential;
import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport;
import com.google.api.client.http.HttpTransport;
import com.google.api.client.json.JsonFactory;
import com.google.api.client.json.jackson2.JacksonFactory;
import com.... | {
"content_hash": "343be2ae6fdfe6eb6d8f987fa0a6dc0c",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 139,
"avg_line_length": 35.57377049180328,
"alnum_prop": 0.7027649769585254,
"repo_name": "AdrianBZG/SyncMe",
"id": "23c877a6b5cf7ec623724ecfa8955f8ef6aab2e5",
"size": "217... |
CLASS({
name: 'RotateFwdBwdAnimation',
package: 'foam.ui.md',
constants: { ROTATE_CSS_REG_EX: /rotate\([0-9.-]+[a-zA-Z]*\)[;]?/g },
properties: [
{
name: 'element',
required: true,
postSet: function(old, nu) {
if ( old === nu ) return;
if ( nu ) this.setRotationStyle();... | {
"content_hash": "943b1d8186554d96801fea1be60a8534",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 71,
"avg_line_length": 24.00854700854701,
"alnum_prop": 0.49056603773584906,
"repo_name": "jlhughes/foam",
"id": "30ef198babab332c1d36b338e76c3acb2f72341f",
"size": "3113"... |
if [ $# -lt 1 ]; then
echo "Usage: $0 path_to_binaries"
echo "e.g. $0 ../../src"
echo "Env vars SOLARID and SOLARICLI may be used to specify the exact binaries used"
exit 1
fi
set -f
SOLARID=${SOLARID:-${1}/solarid}
CLI=${SOLARICLI:-${1}/solari-cli}
DIR="${BASH_SOURCE%/*}"
SENDANDWAIT... | {
"content_hash": "c034e69daa72f49f47298bc690bbf1b0",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 92,
"avg_line_length": 23.107692307692307,
"alnum_prop": 0.6567909454061251,
"repo_name": "CoinAge-DAO/solari",
"id": "6d787bc38a597f7d51d0070f3a83edc1271fbe51",
"size": "... |
//
// NSString+QGOCCMD5.m
// QGOCCategory
//
// Created by 张如泉 on 15/10/4.
// Copyright © 2015年 QuanGe. All rights reserved.
//
#import "NSString+QGOCCMD5.h"
#import <CommonCrypto/CommonDigest.h>
@implementation NSString (QGOCCMD5)
/**
* 对字符串进行MD5加密
* return 加密后的字符串
*/
- (NSString *)qgocc_stringFromMD5
{
... | {
"content_hash": "4db6aa8993a8bd2158bfc22f8a28cadc",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 104,
"avg_line_length": 22.77777777777778,
"alnum_prop": 0.6597560975609756,
"repo_name": "QuanGe/QGOCCategory",
"id": "eee811c12a476b1ad4ea7095b9997dc9dee1ad38",
"size": "... |
goog.module('eeg_modelling.eeg_viewer.Menus.tests');
goog.setTestOnly();
const Menus = goog.require('eeg_modelling.eeg_viewer.Menus');
const MockControl = goog.require('goog.testing.MockControl');
const dom = goog.require('goog.dom');
const testSuite = goog.require('goog.testing.testSuite');
let mockControl;
let stor... | {
"content_hash": "412ac07f4115eea91a1506cdbc6ef1c4",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 80,
"avg_line_length": 29.53012048192771,
"alnum_prop": 0.6952264381884945,
"repo_name": "google-research/google-research",
"id": "d869bd2c20bf5be549c729edc4b79f59ab8d752e",
... |
.class final enum Lo/aam;
.super Lo/aad;
.source ""
# annotations
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4008
name = null
.end annotation
# direct methods
.method constructor <init>(Ljava/lang/String;I)V
.locals 1
.line 212
const/4 v0, 0x0
invoke-direct {p0, p1, ... | {
"content_hash": "4edd060ddde7beb948f5416bafed7199",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 80,
"avg_line_length": 15.264705882352942,
"alnum_prop": 0.6608863198458574,
"repo_name": "gelldur/jak_oni_to_robia_prezentacja",
"id": "22cf66e33cfad904fb4725082ba405eac3115... |
if [ -d ~/node_modules/.bin ] ; then
export PATH=~/node_modules/.bin:$PATH
fi
bash_completion=$(brew --prefix)/etc/bash_completion
if [ -f $bash_completion ]; then
. $bash_completion
fi
vagrant_completion=' /opt/vagrant/embedded/gems/gems/*/contrib/bash/completion.sh'
if [ -f $vagrant_completion ]; then
. $va... | {
"content_hash": "7d78607e50bacce129b572e6a7eb1bf7",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 82,
"avg_line_length": 24.58407079646018,
"alnum_prop": 0.7005039596832253,
"repo_name": "erikj/dotfiles",
"id": "0fcc8f25fd50427724945f6d02dff0902e294272",
"size": "2818"... |
class Ripper
class RubyBuilder < Ripper::SexpBuilder
class Queue < ::Array
def <<(token)
result = [shift]
if token.nil?
elsif token.opener?
push(token)
else
result << token
end
result.compact
end
end
end
end | {
"content_hash": "7adf2538ae8802edbb5254b90cf57dc5",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 41,
"avg_line_length": 18.6875,
"alnum_prop": 0.5217391304347826,
"repo_name": "svenfuchs/ripper2ruby",
"id": "dcd7509bd20fe1ee8bdf98150e439580ef801646",
"size": "1304",
... |
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["children"];
import { createScopedElement } from "../../lib/jsxRuntime";
import { getClassName } from "../../helpers/getClassName";
import { usePlatform } from "... | {
"content_hash": "6d9fe0e929de0e4fc7997f57b79e9118",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 86,
"avg_line_length": 34.92307692307692,
"alnum_prop": 0.6960352422907489,
"repo_name": "cdnjs/cdnjs",
"id": "8f790ce71dca0eb9844f07733424e2e341681420",
"size": "908",
"... |
package com.google.cloud.spark.bigquery.pushdowns
import org.apache.spark.sql.catalyst.plans.logical.{Aggregate, Filter, GlobalLimit, LocalLimit, LogicalPlan, Project, ReturnAnswer, Sort, UnaryNode, Window}
/** Extractor for supported unary operations. Returns the node itself if the
* operation is supported **/
obje... | {
"content_hash": "9117539f006e41732a51b7cff065d7c8",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 156,
"avg_line_length": 35.76470588235294,
"alnum_prop": 0.6858552631578947,
"repo_name": "GoogleCloudDataproc/spark-bigquery-connector",
"id": "3897b06ea2c405741f059cfd08e93... |
module Arel
module Visitors
class SQLServerNG < SQLServer # Arel::Visitors::ToSql
OFFSET = " OFFSET "
ROWS = " ROWS"
FETCH = " FETCH NEXT "
FETCH0 = " FETCH FIRST (SELECT 0) "
ROWS_ONLY = " ROWS ONLY"
private
# SQLServer ToSql/Visitor (Overides)
#def visit_Arel_... | {
"content_hash": "a38467cd1961a947f321e11a749e1505",
"timestamp": "",
"source": "github",
"line_count": 293,
"max_line_length": 118,
"avg_line_length": 31.511945392491466,
"alnum_prop": 0.5923318531354923,
"repo_name": "jruby/activerecord-jdbc-adapter",
"id": "9379bb720919e10b385ed3af5414b42b31704a40... |
<?php
namespace Youtube;
class Youtube
{
const ENDPOINT_CHANNEL = '/channels';
const ENDPOINT_PLAYLIST = '/playlistItems';
const ENDPOINT_VIDEOS = '/videos';
const TIMEOUT_DEFAULT_SEC = 30;
protected $_api_root = 'https://www.googleapis.com/youtube/v3';
protected $_apy_key;
publ... | {
"content_hash": "3bff95a7284e54a3504954afcea07781",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 193,
"avg_line_length": 35.61764705882353,
"alnum_prop": 0.5774841728598954,
"repo_name": "pinceladasdaweb/YoutubeTV",
"id": "cb11167107b93012f6e5ae1344113801314143d3",
"s... |
import _extends from "@babel/runtime/helpers/extends";
import { createScopedElement } from "../lib/jsxRuntime";
import * as React from 'react';
import { AdaptivityContext, SizeType, ViewHeight, ViewWidth } from "../components/AdaptivityProvider/AdaptivityContext";
export { SizeType, ViewWidth, ViewHeight };
export func... | {
"content_hash": "da9a3a257711942c0ed53290a09a9c02",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 120,
"avg_line_length": 36.714285714285715,
"alnum_prop": 0.7003891050583657,
"repo_name": "cdnjs/cdnjs",
"id": "dcff23a798c3fdb094feaf4a613e0351ff300f13",
"size": "1799",
... |
{% extends "plugIt/base.html" %}
{% load plugit_tags %}
{% block title %}Stations :: RadioDNS{% endblock %}
{% block menubar %}
{% plugitInclude "menubar" %}
<link rel="stylesheet" type="text/css" href="{{ebuio_baseUrl}}media/css/clients.css">
{% endblock %}
{% block content %}
{% block pageheader %}
... | {
"content_hash": "e4357a46e64b2c77db0640fbf06dcc73",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 136,
"avg_line_length": 43.55681818181818,
"alnum_prop": 0.4175580485259588,
"repo_name": "ebu/radiodns-plugit",
"id": "5f463bf8ec99ae9b09553607e0fafba4e27834e1",
"size": ... |
<p align="center">
<a href="https://github.com/yiisoft" target="_blank">
<img src="https://avatars0.githubusercontent.com/u/993323" height="100px">
</a>
<h1 align="center">Yii 2 Basic Project Template</h1>
<br>
</p>
Yii 2 Basic Project Template is a skeleton [Yii 2](http://www.yiiframework.com/... | {
"content_hash": "ea1c62a19efea2e8ec40bb83f219cbfb",
"timestamp": "",
"source": "github",
"line_count": 233,
"max_line_length": 290,
"avg_line_length": 31.523605150214593,
"alnum_prop": 0.7143635125936011,
"repo_name": "syjie/syjie",
"id": "287a6ff87a96db1022316842c9e935a16002a0b5",
"size": "7345",... |
package com.frantisekpost.lib.valid8.core;
import com.frantisekpost.lib.valid8.internal.Result;
/**
* Base validator interface
*
* @author Frantisek Post
*
*/
public interface Validator<T> {
/**
* @return text representation of invalid state
*/
String getMessage();
/**
* @return {@code true} if validat... | {
"content_hash": "c37dd6f62b7951dbbc6d70733784be09",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 94,
"avg_line_length": 17.846153846153847,
"alnum_prop": 0.6939655172413793,
"repo_name": "frantisekpost/valid8",
"id": "bfcfe9a32d55b4dc7060028050ba6ee5f6dbbaf5",
"size": ... |
class shim;
class events
{
class shim* _shim;
common::dims_2u _source_resolution;
common::dims_2u _target_resolution;
public:
events( class shim* shim );
virtual ~events() = default;
int poll ( SDL_Event* event );
int peep ( SDL_Event* events,
int numev... | {
"content_hash": "67ea3905e32ae32ae9d5aeac422c86f0",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 59,
"avg_line_length": 22.92105263157895,
"alnum_prop": 0.5453501722158438,
"repo_name": "jasbok/libshimmer",
"id": "2200deb39e5de2d0867c78ef968d406076b092e7",
"size": "977... |
#include "dump.h"
std::string DumpContext::dump(const std::string structName, const mfxPlugin &plugin)
{
std::string str;
str += structName + ".pthis=" + ToString(plugin.pthis) + "\n";
str += structName + ".PluginInit=" + ToString(plugin.PluginInit) + "\n";
str += structName + ".PluginClose=" + ToStr... | {
"content_hash": "75af6df2c9eef884f89fb7161c613202",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 94,
"avg_line_length": 42.25,
"alnum_prop": 0.663418029933867,
"repo_name": "Intel-Media-SDK/MediaSDK",
"id": "30786356d06459864a390ef582ae614a2af9b484",
"size": "4515",
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>CLI: ui_choice.h File Reference</title>
<link href="tabs.css" rel="styl... | {
"content_hash": "65ff07e423991feb02d1b345b31f041c",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 231,
"avg_line_length": 47.61194029850746,
"alnum_prop": 0.6369905956112852,
"repo_name": "kn65op/cli-toolkit",
"id": "0a021ab91d2c34feb9d56054bfb19ddfbfae0f6d",
"size": "3... |
<?php
declare(strict_types=1);
namespace Aedart\Model\Traits\Strings;
/**
* <h1>Card Type Trait</h1>
*
* @see \Aedart\Model\Contracts\Strings\CardTypeAware
*
* @author Alin Eugen Deac <aedart@gmail.com>
* @package Aedart\Model\Traits\Strings
*/
trait CardTypeTrait
{
/**
* The type of card, e.g. VISA, ... | {
"content_hash": "8de2b1e6ebe2cd202fe384617f2e62d9",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 104,
"avg_line_length": 23.066666666666666,
"alnum_prop": 0.5780346820809249,
"repo_name": "aedart/model",
"id": "fc6a70415e7d8fcc06a00c9903ce72ed73bd8b80",
"size": "1730",... |
require 'action_pack'
module Rails
module Controller
module Testing
module Integration
http_verbs = %w(get post patch put head delete)
if ActionPack.version < Gem::Version.new('5.1')
http_verbs.push('xhr', 'xml_http_request', 'get_via_redirect', 'post_via_redirect')
end
... | {
"content_hash": "2440af76f0ee321d17e8b07854fbaea9",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 93,
"avg_line_length": 26.571428571428573,
"alnum_prop": 0.5698924731182796,
"repo_name": "ministryofjustice/tax-tribunals-datacapture",
"id": "bce1f678e1f11e1579a228d904e67a... |
package tastytest
object TestNats extends Suite("TestNats") {
object Longs extends Nats {
type Nat = Long
val zero = 0L
val one = 1L
def add(n: Nat, m: Nat) = n + m
def mul(n: Nat, m: Nat) = n * m
}
import Longs.Laws._
test(assert(additiveIde... | {
"content_hash": "a74dbd933927689e4ae920e970a3f3aa",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 86,
"avg_line_length": 34.208333333333336,
"alnum_prop": 0.707673568818514,
"repo_name": "lrytz/scala",
"id": "eadf02c06013f90f7ad39aa9b7c71474683f93df",
"size": "821",
"... |
var hsbc = angular.module('Hsbc');
hsbc.controller('ContactController', ['$scope', function($scope) {
console.log('Kontakt controller is loaded.');
}]); | {
"content_hash": "3f5a782696ec4bdd413638c93fcc3c00",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 66,
"avg_line_length": 32.2,
"alnum_prop": 0.6708074534161491,
"repo_name": "kowaalczyk/js-businesschallenge-website",
"id": "1719953960fee5abc3739705b4837ce22fc1eda1",
"siz... |
require 'spec_helper'
describe "guide_questions", type: :feature, dbscope: :example, js: true do
let(:site) { cms_site }
let(:node) { create :guide_node_guide, filename: "guide" }
let(:item) { create(:guide_question, cur_site: site, cur_node: node) }
let!(:procedure1) { create :guide_procedure, cur_site: si... | {
"content_hash": "dbfda1787fcbe5f13837d21a56bc31ab",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 145,
"avg_line_length": 39.51086956521739,
"alnum_prop": 0.6154057771664374,
"repo_name": "tany/ss",
"id": "ad22926884feb0b5d779c31d6ae4d8cceb3f44ef",
"size": "3635",
"bi... |
<?php
/**
* FFmpegAutoloader manages lazy autoloading of all FFmpegPHP components
*
* @author char0n (Vladimír Gorej, gorej@codescale.net)
* @package FFmpegPHP
* @license New BSD
* @version 2.6
*/
class FFmpegAutoloader {
/**
* Map of all required FFmpegPHP package files
*
* @var array
*... | {
"content_hash": "5261f35e77f21bd3e1a220ceec6b934d",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 155,
"avg_line_length": 38.25396825396825,
"alnum_prop": 0.5817427385892117,
"repo_name": "ruansheng/ffmpeg-php",
"id": "f823af58a5011e7451fa11582e7df2b69de41d85",
"size": ... |
/**
* Definition for a binary tree node.
* public class TreeNode {
* int val;
* TreeNode left;
* TreeNode right;
* TreeNode(int x) { val = x; }
* }
*/
public class Solution {
public boolean isSameTree(TreeNode p, TreeNode q) {
if (p == null && q == null) {
return true;
... | {
"content_hash": "0fbcfc918682cb604b7a0ce6ec845b2f",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 82,
"avg_line_length": 25.25,
"alnum_prop": 0.46204620462046203,
"repo_name": "LeetcodeFun/Java-Solutions",
"id": "e3bcb867d8452938da955dfd3cf94e9ea66bf583",
"size": "606",... |
@interface WaiterViewController : UIViewController
- (void)goToChatController;
@end
| {
"content_hash": "1c3342314f8ea6731993f99fec244dbe",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 50,
"avg_line_length": 21.25,
"alnum_prop": 0.8235294117647058,
"repo_name": "xumingming4567/blackcardios",
"id": "a872e80445304888fbce26d8b90e84c70e276a9a",
"size": "261",
... |
get_ipython().magic('matplotlib inline')
import os
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
import pandas as pd
import csv
from pandas.tools.plotting import scatter_matrix
from sklearn import preprocessing
import nibabel as nib
# ### Step 2: Load the three types of i... | {
"content_hash": "bf3e4b6fe763a77e5bdddcf2e20b9ac1",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 328,
"avg_line_length": 29.54736842105263,
"alnum_prop": 0.7199857499109369,
"repo_name": "slowvak/MachineLearningForMedicalImages",
"id": "38fcc768f4a970bab82e846866ff86156... |
<?php
namespace Oro\Bundle\UserBundle\Tests\Functional;
use Symfony\Component\DomCrawler\Form;
use Symfony\Component\DomCrawler\Crawler;
use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
/**
* @outputBuffering enabled
* @dbIsolation
* @dbReindex
*/
class ControllersRoleTest extends WebTestCase
{
protecte... | {
"content_hash": "449e7b7015f57d2ac1f987874781b9dd",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 88,
"avg_line_length": 30.464646464646464,
"alnum_prop": 0.5742705570291777,
"repo_name": "mszajner/platform",
"id": "aba08fb5c6145de885c146dea4263b38ccfc0d8f",
"size": "30... |
TODO: Write a gem description
## Installation
Add this line to your application's Gemfile:
gem 'bio-snpeff'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bio-snpeff
## Usage
TODO: Write usage instructions here
## Contributing
1. Fork it ( https://github.com/[my-github-userna... | {
"content_hash": "94b121800bdd860dab2d37d9af5b1e73",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 70,
"avg_line_length": 20.51851851851852,
"alnum_prop": 0.7129963898916968,
"repo_name": "gusevfe/bio-snpeff",
"id": "58d6a8f1af02b7f424792447f8400c8cb8a2adbb",
"size": "56... |
use std::fmt;
use protocol::command::CMD_CONNECT;
use protocol::message::{IrcMessage, RawMessage, ParseMessageError, ParseMessageErrorKind};
#[derive(Debug, Clone, Eq, PartialEq)]
pub struct ConnectCommand<'a> {
target_server: &'a str,
port: u16,
remote_server: Option<&'a str>,
}
impl<'a> ConnectCommand<... | {
"content_hash": "df906cac79a38580c4b2db402168fb08",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 96,
"avg_line_length": 30.08823529411765,
"alnum_prop": 0.49266862170087977,
"repo_name": "zonyitoo/irc-rs",
"id": "5aec1b4b04c49066db35f46b7fe8de69e0592efc",
"size": "2046... |
@interface NSURLDownload (Synchronous)
+ (BOOL)sendSynchoronousRequest:(NSURLRequest *)request
saveTo:(NSString *)path error:(NSError **)error;
@end
| {
"content_hash": "f4dff49ede3c601b87efc7ca68144057",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 73,
"avg_line_length": 29.5,
"alnum_prop": 0.6610169491525424,
"repo_name": "upsuper/renrenfs",
"id": "0e2eb4c016f5bd7ce38d549ac9bcc54d99af921d",
"size": "372",
"binary": ... |
"""
Some tests in this file use [syrupy](https://github.com/tophat/syrupy) for snapshot testing aka
golden testing. The GCM API calls are captured with a gRPC fake and compared to the existing
snapshot file in the __snapshots__ directory.
If an expected behavior change is made to the exporter causing these tests to fa... | {
"content_hash": "4e0eeb6c6fe13206bd99ac482c1d27c2",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 95,
"avg_line_length": 30.951965065502183,
"alnum_prop": 0.6695823927765236,
"repo_name": "GoogleCloudPlatform/opentelemetry-operations-python",
"id": "0156f7301db569955ac73... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | {
"content_hash": "b4c6f1706372f884cf94ecab3fb3cc9a",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 108,
"avg_line_length": 26.333333333333332,
"alnum_prop": 0.6154517677869926,
"repo_name": "faisalsyfl/DINAMIK12",
"id": "ebd3d9b2463adf60a7830076c2dfc4a52c7c7210",
"size":... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _04.Roli_The_Coder
{
public class Event
{
public int Id { get; set; }
public string Name { get; set; }
public List<string> Participants { get; set; }
}
... | {
"content_hash": "ef7d6453feb74efbd3b7431f688346b7",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 104,
"avg_line_length": 33.469026548672566,
"alnum_prop": 0.4140666314119513,
"repo_name": "NikolaySpasov/Softuni",
"id": "5314b02bd4eadc8be193acbc01f2cbf313e9e49b",
"size... |
<!doctype html>
<html>
<title>npm-search</title>
<meta http-equiv="content-type" value="text/html;utf-8">
<link rel="stylesheet" type="text/css" href="../../static/style.css">
<link rel="canonical" href="https://www.npmjs.org/doc/api/npm-search.html">
<script async=true src="../../static/toc.js"></script>
... | {
"content_hash": "e255eaeb13f4aaee05e04acc1552d43e",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 807,
"avg_line_length": 69.21052631578948,
"alnum_prop": 0.7249683143219265,
"repo_name": "keithrob/openshift-node4",
"id": "e4051c1b0e9caf3feeedb6d62e7751f8417bbd52",
"siz... |
m2php - a library to develop Mongrel2 handlers in PHP
=====================================================
* Mongrel2: <http://mongrel2.org>
* Mongrel2 Python Library: <http://sheddingbikes.com/posts/1279007133.html>
Requirements
------------
* ZeroMQ 2.0.7 or later: <http://www.zeromq.org/>
* PHP 5.3: <http://php.... | {
"content_hash": "c56c4ad039ecb01e23fa5bcd4262768c",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 83,
"avg_line_length": 20,
"alnum_prop": 0.6279569892473118,
"repo_name": "winks/m2php",
"id": "43a79194f45a9d66619fb7812577696c0204c72e",
"size": "1860",
"binary": false... |
<?xml version="1.0" encoding="UTF-8"?>
<billStatus>
<bill>
<relatedBills />
<committees>
<billCommittees>
<item>
<name>Foreign Affairs Committee</name>
<type>Standing</type>
<chamber>House</chamber>
<subcommittees />
<activities>
<ite... | {
"content_hash": "19208a30d3eb01146134def7df43fc5f",
"timestamp": "",
"source": "github",
"line_count": 357,
"max_line_length": 936,
"avg_line_length": 37.56022408963585,
"alnum_prop": 0.6120516071295399,
"repo_name": "peter765/power-polls",
"id": "45796b05a67b9becdba842b7c78e156ec500dbda",
"size":... |
End of preview.
No dataset card yet
- Downloads last month
- 1