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 715
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 2211)
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 715
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 |
|---|---|
<?php
namespace Magento\Bundle\Model;
class Link extends \Magento\Framework\Model\AbstractExtensibleModel implements
\Magento\Bundle\Api\Data\LinkInterface
{
/**
* {@inheritdoc}
*/
public function getSku()
{
return $this->getData('sku');
}
/**
* {@inheritdoc}
*/
... | {
"content_hash": "9d245476eed859022f4985c7e803bb3a",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 78,
"avg_line_length": 16.60759493670886,
"alnum_prop": 0.5114329268292683,
"repo_name": "webadvancedservicescom/magento",
"id": "cfe1219e56b362ce72e64840479246da298811fb",
... |
package is.hail.io.bgen
import is.hail.annotations.Region
import is.hail.asm4s._
import is.hail.backend.{BroadcastValue, ExecuteContext}
import is.hail.expr.ir.{EmitCode, EmitFunctionBuilder, IEmitCode, ParamType, TableReader}
import is.hail.io.fs.FS
import is.hail.io.index.IndexReaderBuilder
import is.hail.io.{ByteAr... | {
"content_hash": "d38e882a34911ef7eeec595657d5d759",
"timestamp": "",
"source": "github",
"line_count": 542,
"max_line_length": 140,
"avg_line_length": 39.928044280442805,
"alnum_prop": 0.5950741647798161,
"repo_name": "hail-is/hail",
"id": "1dbb9b4ed87db9713300461fe3d9b04365455988",
"size": "21641... |
package org.neo4j.kernel.impl.traversal;
import org.neo4j.graphdb.Node;
import org.neo4j.graphdb.TraversalPosition;
import org.neo4j.graphdb.Traverser;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Iterator;
/**
* This class is used f... | {
"content_hash": "4dc099a5e51dcb79c7e16a8f8ccd735a",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 77,
"avg_line_length": 24.245098039215687,
"alnum_prop": 0.6271734735139507,
"repo_name": "alexmsmartins/GraphDHT",
"id": "c2aca16145b479de64fc8572dd0445f9c513d29d",
"size... |
module Shop
class ApplicationController < ActionController::Base
end
end
| {
"content_hash": "cc12f31f5e621889d8a210854928985f",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 54,
"avg_line_length": 19.25,
"alnum_prop": 0.8051948051948052,
"repo_name": "wangfuhai2013/shop-rails",
"id": "2ca812dadbcff1d4ac0f5505f54babcce46fac45",
"size": "77",
"b... |
<?php
/*\
| ------------------------------------------------------
| @file : MissingModelException.php
| @author : Fabien Beaujean
| @description : overriding of php exceptions
| @version : 3.0 Bêta
| ------------------------------------------------------
\*/
namespace Gcs\Framework\Core\Exception;
/**
* Class... | {
"content_hash": "c5f4590976e38b9e7545f56faa81ef02",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 57,
"avg_line_length": 23.454545454545453,
"alnum_prop": 0.5465116279069767,
"repo_name": "fabsgc/framework",
"id": "011d0694406f9fa5a1d8f13f24c4a40511d7fb73",
"size": "517... |
package programmer_8051.client;
import java.io.IOException;
public class Programmer_8051 {
public static void main(String[] args) {
Programmer_8051_Terminal test = new Programmer_8051_Terminal();
test.exec();
}
}
| {
"content_hash": "10444b938bad49e03db20e6729aa16a3",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 65,
"avg_line_length": 18.833333333333332,
"alnum_prop": 0.7256637168141593,
"repo_name": "ma-anjum95/Programmer-8051",
"id": "f998ad44332fb8a77ea6d416e341778d6b95992b",
"s... |
<Type Name="ITemplatePage" FullName="Manos.Templates.ITemplatePage">
<TypeSignature Language="C#" Value="public interface ITemplatePage" />
<AssemblyInfo>
<AssemblyName>Manos</AssemblyName>
<AssemblyVersion>0.0.4.0</AssemblyVersion>
<AssemblyVersion>0.1.0.0</AssemblyVersion>
<AssemblyVersion>0.1.1.0... | {
"content_hash": "9270a4753d8c2901c308af0879bca65d",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 138,
"avg_line_length": 37.1,
"alnum_prop": 0.6455525606469003,
"repo_name": "jacksonh/manos",
"id": "9519989d6a0b6409deb7451aeb72e844ecb7a1dc",
"size": "1484",
"binary":... |
"""Support for Verisure binary sensors."""
from __future__ import annotations
from homeassistant.components.binary_sensor import (
BinarySensorDeviceClass,
BinarySensorEntity,
)
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity i... | {
"content_hash": "dac136abb65fcde64ca650ddb68fb40b",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 87,
"avg_line_length": 33.827586206896555,
"alnum_prop": 0.6715086646279307,
"repo_name": "nkgilley/home-assistant",
"id": "45e29cfa5f1e731dd0025252314d06991643603e",
"siz... |
<?php
class WPML_ST_MO_Scan_Db_Table_List {
/** @var wpdb */
private $wpdb;
/**
* @param wpdb $wpdb
*/
public function __construct( wpdb $wpdb ) {
$this->wpdb = $wpdb;
}
/**
* @return array
*/
public function get_tables() {
$tables = $this->wpdb->get_col( "SHOW TABLES LIKE '{$this->wpdb->prefix}%'... | {
"content_hash": "dbf8107aa7f2c8e924cc7f01b79ffa76",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 97,
"avg_line_length": 23.805555555555557,
"alnum_prop": 0.6009334889148191,
"repo_name": "root-tongue/root-tongue",
"id": "14ee758a2e184d2ac6367f52500c7de1416241ce",
"size... |
<!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": "f3b01b36941b79efbead6b112857cc6b",
"timestamp": "",
"source": "github",
"line_count": 235,
"max_line_length": 359,
"avg_line_length": 46.740425531914894,
"alnum_prop": 0.5302257829570284,
"repo_name": "dcarda/aba.route.validator",
"id": "3965958d66956d03c3eb4b3951f974abe5de65fd",
... |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>net.lemonmodel.patterns.pos.irreflexivePersonalPronoun</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
... | {
"content_hash": "dbe432f5fc96aa240abeb186a08c89a6",
"timestamp": "",
"source": "github",
"line_count": 329,
"max_line_length": 348,
"avg_line_length": 51.328267477203646,
"alnum_prop": 0.5736365251376798,
"repo_name": "jmccrae/lemon.patterns",
"id": "40890ee04959cc89eb200a7e81eccc3709034ca7",
"siz... |
<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>
<parent>
<artifactId>geowave-extension-parent</artifactId>
<groupId>org.lo... | {
"content_hash": "1a3eafdfdd35fa277b642e55317502fd",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 204,
"avg_line_length": 31.673076923076923,
"alnum_prop": 0.7000607164541591,
"repo_name": "locationtech/geowave",
"id": "df5460dd1c7a3f87054e7b411cee8bad54d9cf5d",
"size":... |
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace AD.PartialEquilibriumApi.Optimization
{
/// <summary>
/// Represents the solution to an objective function.
/// </summary>
[PublicAPI]
public struct Solution : IEquatable<Solution>, IComparabl... | {
"content_hash": "ca8cb89297d1b6b35ee7906edb4c6955",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 104,
"avg_line_length": 32.28651685393258,
"alnum_prop": 0.5254915608143379,
"repo_name": "austindrenski/AD.PartialEquilibriumApi",
"id": "4d4a39537fd435684ee9f21893d93e42f3... |
<?php
namespace Oro\Bundle\SyncBundle\EventListener;
use Oro\Bundle\SecurityBundle\Authentication\TokenAccessorInterface;
use Oro\Bundle\SyncBundle\Client\ConnectionChecker;
use Oro\Bundle\SyncBundle\Client\WebsocketClientInterface;
class MaintenanceListener
{
/**
* @var WebsocketClientInterface
*/
... | {
"content_hash": "9a83b37b6fa035e3e6e1d26720df40bd",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 90,
"avg_line_length": 22.8125,
"alnum_prop": 0.6294520547945206,
"repo_name": "orocrm/platform",
"id": "e6a029eb24ad08178692945442bdd14ee58a53c9",
"size": "1460",
"binar... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_55) on Tue Aug 12 22:12:20 PDT 2014 -->
<title>org.apache.nutch.util Class Hierarchy (apache-nutch 1.9 API)</title>
<meta name="date" c... | {
"content_hash": "85720596c27569131c469042b179f420",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 396,
"avg_line_length": 56.52439024390244,
"alnum_prop": 0.6627831715210356,
"repo_name": "Ramzi-Alqrainy/SELK",
"id": "26f3a2e2c474d7c9871aca405707d1726d383857",
"size": ... |
exopy.measurement.monitors.text_monitor.rules.std_views module
=========================================================
.. automodule:: exopy.measurement.monitors.text_monitor.rules.std_views
:members:
:undoc-members:
:show-inheritance:
| {
"content_hash": "1bc4ea304259c2eced79f1eb8d2e9e56",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 71,
"avg_line_length": 35.857142857142854,
"alnum_prop": 0.5816733067729084,
"repo_name": "Ecpy/ecpy",
"id": "9c6031f30545d3daed8eabcf3b2b682d26c8b7df",
"size": "251",
"bi... |
@interface FirstViewController : YPTabBarController
@end
| {
"content_hash": "f86f77f030b810d8f173452cd767d074",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 51,
"avg_line_length": 19.333333333333332,
"alnum_prop": 0.8448275862068966,
"repo_name": "JLDemo/Frame_USE",
"id": "1c6dc746ba3405a1a37709ec4d4bfae6c7ee1de4",
"size": "223"... |
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\Sec... | {
"content_hash": "2dd7044ad8da4c9d7cdc5ea548357c25",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 92,
"avg_line_length": 39.45238095238095,
"alnum_prop": 0.668074834037417,
"repo_name": "Dren-x/MobiTech",
"id": "c0bb83b5fd9127c5603cf167987c8dc23b766239",
"size": "1657",... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | {
"content_hash": "7342411b167a030349d54d34ab3b30cb",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 97,
"avg_line_length": 38.88135593220339,
"alnum_prop": 0.7236268526591108,
"repo_name": "ashish-17/drift",
"id": "ae368ef0ec684253e816c8df89d9e8de6790dbe9",
"size": "2294"... |
package com.sequenceiq.cloudbreak.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.sequenceiq.cloudbreak.doc.ModelDescriptions;
import io.swagger.annotations.ApiModel;
import io... | {
"content_hash": "b9dd4ca5c585e3a8727f60f38c338e17",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 66,
"avg_line_length": 26.25,
"alnum_prop": 0.7447619047619047,
"repo_name": "sequenceiq/cloudbreak",
"id": "355dc59728e27d099b84eca7921a7893b9ed9ac9",
"size": "1050",
"b... |
package com.fit2cloud.aliyun.rds.model;
public class PayType {
public static final String POST_PAID = "Postpaid";
}
| {
"content_hash": "4ea244832aedfbb1e6c5683143a24d06",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 51,
"avg_line_length": 23.6,
"alnum_prop": 0.7627118644067796,
"repo_name": "fit2cloud/aliyun-api-java-wrapper",
"id": "62826e002ff03f0a2111209f3dc258c00f35353c",
"size": "1... |
<?php
return [
'toggle_navigation' => 'Toggle navigation',
'home' => 'Home',
'menu_header' => 'Navigation',
'add_new' => 'Add new',
'edit' => 'Edit',
'save' => 'Save',
'delete' => 'Delete',
'close' => 'Close',
'search' => 'Search',
'show' => 'Show',
'play' => 'Play',
... | {
"content_hash": "27e15c2f1a1f329ba83a40ad552046b1",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 73,
"avg_line_length": 28.833333333333332,
"alnum_prop": 0.5443159922928709,
"repo_name": "jdrda/olapus",
"id": "cc6f91594d1816e5749e0d3fa5b7052ecf8f845f",
"size": "1356",
... |
namespace ObjectsComparer.Tests.TestClasses
{
internal enum TestEnum
{
Value1,
Value2
}
}
| {
"content_hash": "9f16be2e2815da22278f21deb62ffd17",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 44,
"avg_line_length": 14.875,
"alnum_prop": 0.6050420168067226,
"repo_name": "ValeraT1982/ObjectsComparer",
"id": "a99bc89ce453b88653acd4824d5ab6f6c03c7b29",
"size": "121",... |
import '../../lib/zone-spec/task-tracking';
declare const global: any;
describe('TaskTrackingZone', function() {
let _TaskTrackingZoneSpec: typeof TaskTrackingZoneSpec = (Zone as any)['TaskTrackingZoneSpec'];
let taskTrackingZoneSpec: TaskTrackingZoneSpec = null;
let taskTrackingZone: Zone;
beforeEach(() =... | {
"content_hash": "d723ac3017fe04434cf7e677cf3b0beb",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 97,
"avg_line_length": 37.72463768115942,
"alnum_prop": 0.6392623895505186,
"repo_name": "mhevery/zone.js",
"id": "27c1d6c5c0daa9acca562ce54ef04960ed2c6f5e",
"size": "2805"... |
@interface ZSearchBar : UITextField
+ (instancetype)searchBar;
@end
| {
"content_hash": "b3b476a10cf025126ee20621813f4fab",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 35,
"avg_line_length": 14,
"alnum_prop": 0.7714285714285715,
"repo_name": "zhangzhex/WeiBo",
"id": "a05bffce968769e11ce5fbf339b1d05a80acf07f",
"size": "215",
"binary": fal... |
<?php
namespace So\LogboardBundle\Controller;
use So\LogboardBundle\Exception\BadQueryHttpException;
use So\LogboardBundle\Exception\NotFoundHttpException;
use Symfony\Bundle\WebProfilerBundle\Profiler\TemplateManager;
use Symfony\Component\DependencyInjection\ContainerAware;
use Symfony\Component\HttpFoundation\Re... | {
"content_hash": "d64e0662b62f3c6f0ded51662685f992",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 254,
"avg_line_length": 31.37579617834395,
"alnum_prop": 0.6276898091758019,
"repo_name": "SofHad/LogboardBundle",
"id": "ee7fa86c12a4eddfccdbe5a96030f61c2dc11b83",
"size"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>charge-core: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | {
"content_hash": "52654c7417cbeac1c78343b527b9d8a0",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 157,
"avg_line_length": 40.68711656441718,
"alnum_prop": 0.5294028950542823,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "84e1372eeb652c9636abb16b6ccc8abc6423ba67",
... |
// SSKSunsetParser.m
//
// Copyright (c) 2015 Shintaro Kaneko
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, cop... | {
"content_hash": "2d28e9ae45747c23fdb9c4a93850eada",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 109,
"avg_line_length": 30.046875,
"alnum_prop": 0.6757670306812272,
"repo_name": "kaneshin/SSKSunset",
"id": "a66fcb4068155fd96ef337028632e256d2ce2171",
"size": "3846",
... |
import enum
import logging
from ...interfaces import ISnapshotable
from ...errors import RegisterAccessError
from . import Coprocessor
from ...util import Flags
class ControlRegisters(enum.IntEnum):
CR0 = 0 # CPUID
CR1 = 1 # Interrupt Vector Table address
CR2 = 2 # Page Table address
CR3 = 3 # Flags
CONT... | {
"content_hash": "26905ec9d26d74b0da0101bbd7fea25f",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 101,
"avg_line_length": 27.826666666666668,
"alnum_prop": 0.6722568279827503,
"repo_name": "happz/ducky",
"id": "7ae4c5b971d46418fc1478d5a765124626465484",
"size": "2087",
... |
A [Blockly](https://www.npmjs.com/package/blockly) date picker field that uses the Google Closure date picker ([goog.ui.DatePicker](https://google.github.io/closure-library/source/closure/goog/demos/)).
## Installation
### Yarn
```
yarn add @blockly/field-date
```
### npm
```
npm install @blockly/field-date --save
`... | {
"content_hash": "acad157c9814560f43642c2f4a697cee",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 202,
"avg_line_length": 21.962962962962962,
"alnum_prop": 0.6129848229342327,
"repo_name": "google/blockly-samples",
"id": "20c07f0a65171c6e4b88512652a4baa853cdef49",
"size... |
@interface Setting : NSObject{
NSUserDefaults *defaults;
}
-(id)init;
//getter
-(int)getOpacity;
-(bool)isAllwaysOnTop;
-(bool)isShowWindow;
-(bool)isIgnoreMouse;
-(bool)isNotificationCenterEnabled;
-(bool)isGrowlEnabled;
//setter
-(void)setOpacity:(int)opacity;
-(void)setIsAllowOnTop:(bool)enable;
-(void)setIsSh... | {
"content_hash": "35c9ce6f9494dc9f52247ae563c6f203",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 51,
"avg_line_length": 23.043478260869566,
"alnum_prop": 0.7641509433962265,
"repo_name": "yushi/PBNotify",
"id": "684dfb710453936bfb3438e98a66f21d23645bb5",
"size": "702",... |
An emulator for the Nintendo GameBoy written in Python.
| {
"content_hash": "b98b6101822643adc832030ae97d5bbf",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 55,
"avg_line_length": 56,
"alnum_prop": 0.8214285714285714,
"repo_name": "ciaran2/pyGB",
"id": "ff240d2210ee52965f0196ed6c016329d2b97d49",
"size": "63",
"binary": false,
... |
require 'soap/wsdlDriver'
class RegonlineConnector
class Client
# This class provides RegOnline's
# getEventRegistrations.asmx[http://www.regonline.com/webservices/geteventregistrations.asmx]
# service.
class GetEventRegistrations
def initialize(event_id, username, password )
@... | {
"content_hash": "b4f5b113d43c46cc120a14decf6d53d2",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 97,
"avg_line_length": 34.758620689655174,
"alnum_prop": 0.5654761904761905,
"repo_name": "disciplemakers/RO-Connector",
"id": "c5fa4763fa791278993f163f0b188a16265ba070",
"... |
@implementation TLSettingHelper
- (id) init
{
if (self = [super init]) {
self.mineSettingData = [[NSMutableArray alloc] init];
[self p_initTestData];
}
return self;
}
- (void) p_initTestData
{
TLSettingItem *item1 = TLCreateSettingItem(@"账号与安全");
// if () {
item1.subTitle = ... | {
"content_hash": "ccc51e2d22e66946c24cd6a247dd3451",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 86,
"avg_line_length": 31.73170731707317,
"alnum_prop": 0.6502690238278247,
"repo_name": "dwjdwj1216/xiaoYouBang",
"id": "d3facbe3b138695a45bcbef467f0e9d0b652b62a",
"size":... |
"""
Use nose
`$ pip install nose`
`$ nosetests`
"""
from hyde.model import Config, Expando
from hyde.fs import *
def test_expando_one_level():
d = {"a": 123, "b": "abc"}
x = Expando(d)
assert x.a == d['a']
assert x.b == d['b']
def test_expando_two_levels():
d = {"a": 123, "b": {"c": 456}}
x = ... | {
"content_hash": "e3a8731a70f3f793e60de334384a34f1",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 85,
"avg_line_length": 33.56962025316456,
"alnum_prop": 0.5612745098039216,
"repo_name": "Valloric/hyde",
"id": "22c58457cce371ed3619e60438bc636d8efc2748",
"size": "5328",... |
@class CALayer;
#else
typedef void* CALayer;
#endif
namespace gl {
class GL_EXPORT GLImageIOSurface : public GLImage {
public:
static GLImageIOSurface* Create(const gfx::Size& size,
unsigned internalformat);
GLImageIOSurface(const GLImageIOSurface&) = delete;
GLImageIOSurface... | {
"content_hash": "d86857984d8f033b4720e315f0c6d90e",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 80,
"avg_line_length": 40.9375,
"alnum_prop": 0.7110141766630316,
"repo_name": "scheib/chromium",
"id": "ed1194cbc00586c74462b4cab1a4b8abf0d65593",
"size": "5189",
"bina... |
redirect_from: /docs/1.0.0-alpha.5/classes/state.statebuilder.html
---
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>StateBuilder | UI-Router</title>
<meta name="description" content="">
<meta name="viewport" content="width=d... | {
"content_hash": "73beefb55254a2aae28a09056ec4e829",
"timestamp": "",
"source": "github",
"line_count": 593,
"max_line_length": 702,
"avg_line_length": 50.98482293423272,
"alnum_prop": 0.636270424025931,
"repo_name": "ui-router/ui-router.github.io",
"id": "da9d2df6f143224f6c07e94e45a07ff4694e18e0",
... |
import json
import os
import urllib2
def num_active_mesos_tasks():
"""
An example metric used by the relay.mesos demo to query mesos master
for the number of currently running tasks.
"""
while True:
data = json.load(urllib2.urlopen(
os.environ['RELAY_MESOS_MASTER_STATE_FOR_DEMO... | {
"content_hash": "730e0bf8f5160c0599dcd287b021369b",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 78,
"avg_line_length": 30.44,
"alnum_prop": 0.633377135348226,
"repo_name": "sailthru/relay.mesos",
"id": "accace4f4ad450d4504150b0f00b480700330d93",
"size": "761",
"bina... |
NS_ASSUME_NONNULL_BEGIN
@interface CategoriesOfBlockViewController : UIViewController
@end
NS_ASSUME_NONNULL_END
| {
"content_hash": "4dd7e08fed79e8f508fbe11b98974e4d",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 61,
"avg_line_length": 16.571428571428573,
"alnum_prop": 0.8362068965517241,
"repo_name": "chinesemanbobo/PPDemo",
"id": "fd2198d3d94c5f91a2fff1b71d0192553727fd6b",
"size": ... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "0bb9d4861e4573dfafbd024accbeb280",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "957810f9922d145f15807de3706cee048cf1e0e9",
"size": "20... |
<?php
namespace DTS\eBaySDK\Finding\Types\Test;
use DTS\eBaySDK\Finding\Types\CategoryHistogramContainer;
class CategoryHistogramContainerTest extends \PHPUnit_Framework_TestCase
{
private $obj;
protected function setUp()
{
$this->obj = new CategoryHistogramContainer();
}
public functi... | {
"content_hash": "5b537ac5d75b72d7e81259354b1db478",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 101,
"avg_line_length": 22.653846153846153,
"alnum_prop": 0.6977928692699491,
"repo_name": "emullaraj/ebay-sdk-php",
"id": "ef594a69b428767808850e59c750ddc85c710f22",
"size... |
import Ember from 'ember';
import { SafeString } from '@ember/template/-private/handlebars';
const { dasherize, camelize, capitalize, classify, decamelize, htmlSafe, loc, underscore, w } = Ember.String;
dasherize(); // $ExpectError
dasherize('blue man group'); // $ExpectType string
dasherize('', ''); // $ExpectError
... | {
"content_hash": "18f57bea76ab3437fb5aac25d81acfff",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 111,
"avg_line_length": 36.02439024390244,
"alnum_prop": 0.6838185511171293,
"repo_name": "dsebastien/DefinitelyTyped",
"id": "ec79b98db33753ddbfbd7cdfe95e3266dcd5137a",
"s... |
End of preview.
No dataset card yet
- Downloads last month
- 2