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 1075
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 1599)
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 1075
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 |
|---|---|
QueryBuilder.setDefaults({ lang: {
"add_rule": "Add rule",
"add_group": "Add group",
"delete_rule": "Delete",
"delete_group": "Delete",
"and_condition": "AND",
"or_condition": "OR",
"filter_select_placeholder": "------",
"operator_equal": "equal",
"operator_not_equal": "not equal",
"operator_in":... | {
"content_hash": "660d2ec59756ad5b60fb3a78a8432457",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 51,
"avg_line_length": 30.933333333333334,
"alnum_prop": 0.634698275862069,
"repo_name": "elucidat/jQuery-QueryBuilder",
"id": "eb1518036df237375190c2f13f2620f8c4c4d994",
"... |
namespace DecoratorPattern
{
using System;
public abstract class EventService : IEventService
{
public abstract decimal Cost { get; }
}
}
| {
"content_hash": "bddeb0ca26498ac70a9cc1d1af85fe4b",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 54,
"avg_line_length": 18.22222222222222,
"alnum_prop": 0.6585365853658537,
"repo_name": "marianamn/Telerik-Academy-Activities",
"id": "073a6adffd1e39d730c0875fad7e28806867c9d... |
package de.element34.sbteclipsify
import scala.xml._
/**
* Base class for classpathentry filters.
*/
trait Filter {
def pattern: String
def name: String
def mkString = """%s="%s"""" format (name, pattern)
def toMetaData = new UnprefixedAttribute(name, pattern, Node.NoAttributes)
}
/**
* Defines a include pat... | {
"content_hash": "b83a205ed634aa0ad3747c7f9b24027e",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 125,
"avg_line_length": 32.679245283018865,
"alnum_prop": 0.7118937644341802,
"repo_name": "musk/SbtEclipsify",
"id": "a58d27840c669abf8678b28a86cc00838f5a2cde",
"size": "3... |
import { NgModule } from '@angular/core';
import { AngularDragonDirective } from './directive/angular-dragon.directive';
export * from './directive/angular-dragon.directive';
export var AngularDraggableModule = (function () {
function AngularDragonModule() {
}
AngularDragonModule.decorators = [
{ ty... | {
"content_hash": "ccbd6ae9acd5a23b5514185536b07c36",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 78,
"avg_line_length": 35.95,
"alnum_prop": 0.5632823365785814,
"repo_name": "silvandiepen/angular-dragon",
"id": "0a8c081ba0b1b19130b9b3b52db018f3b970a6e8",
"size": "719",... |
package org.opensingular.requirement.module.wicket.view.form;
import org.apache.commons.lang3.math.NumberUtils;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;
import org.opensingular.form.util.diff.DocumentDiff;
import org.opensingular.form.wicket.panel.diff.DiffVisualizer;
import org.... | {
"content_hash": "3ddf0f961707d77b4449d96e9f69182d",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 137,
"avg_line_length": 39.256410256410255,
"alnum_prop": 0.7121706945351622,
"repo_name": "opensingular/singular-server",
"id": "2ad0418c91879303f9049e9018aa0fa7fc6b973d",
... |
import { Identity } from './identity';
import { React, ko_if, ko_ifnot, ko_foreach } from "kjsx";
export default class ConfirmViewModel<TKey> {
constructor(private props: { id: TKey, ["code*"]: string, identity: Identity<TKey>, onConfirm: () => void }) {
var accountId = props.id;
var code: string =... | {
"content_hash": "b30ac5542c38d1a0cd9d85c6ac0f89b5",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 114,
"avg_line_length": 36.94117647058823,
"alnum_prop": 0.5955414012738853,
"repo_name": "folkelib/folke-identity",
"id": "35b8fd4491b22d448145bcc582fce6fbfab2aa16",
"size... |
#include <stdio.h>
#include <assert.h>
#include <errno.h>
#include <stdlib.h>
#include <utils/util.h>
#include <platsupport/timer.h>
#include <platsupport/mach/epit.h>
#include <platsupport/plat/timer.h>
#include "../../stubtimer.h"
/* EPIT CONTROL REGISTER BITS */
typedef enum {
/*
* This bit enables t... | {
"content_hash": "26e3ecb971b73737a45a742a7bade648",
"timestamp": "",
"source": "github",
"line_count": 279,
"max_line_length": 94,
"avg_line_length": 25.42652329749104,
"alnum_prop": 0.5990978291513955,
"repo_name": "agacek/util_libs",
"id": "a2a4296a309d8d95373d871280a00285a2cdb9ae",
"size": "732... |
"use strict";
const tester = require("cli-tester");
const read = require("@modular-css/test-utils/read.js")(__dirname);
const cli = require.resolve("../cli.js");
describe("/cli.js", () => {
afterAll(() => require("shelljs").rm("-rf", "./packages/cli/test/output"));
it("should show help with no args", async... | {
"content_hash": "cb197c6eaffbe1455dfc83c636c515aa",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 81,
"avg_line_length": 29.10810810810811,
"alnum_prop": 0.5436397400185701,
"repo_name": "tivac/modular-css",
"id": "8ca9a424482cf2be0a0c27c17047d14ce26f8912",
"size": "215... |
It is a simple Swift converter from arabic numbers to roman numbers and from roman numbers to arabic. The supported range of the converted numbers is from 1 to 3999.
####How to use it?
Grab four files from the ArabicRomanNumerals directory and add it to your project.
Example arabic to roman conversion:
```swift
var re... | {
"content_hash": "f21025dceaeab58a90111dac379c1de6",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 291,
"avg_line_length": 58.68421052631579,
"alnum_prop": 0.7901345291479821,
"repo_name": "bagofstars/ArabicRomanNumerals",
"id": "0612b64fca9080dedf1bd98453aa4274c720a082",
... |
var canvas = null;
var context = null;
var analogTimer = null;
var digitalTimer = null;
var currentDate = null;
var hourHandLength = 70;
var minuteHandLength = 100;
var secondsHandLength = 100;
var centerX = 150, centerY = 150;
var incrementAngleHour = Math.PI / 6;
var incrementAngleMinute = Math.PI/30;
var increment... | {
"content_hash": "a5f576b762707859b146c1481a780f87",
"timestamp": "",
"source": "github",
"line_count": 367,
"max_line_length": 91,
"avg_line_length": 29.719346049046322,
"alnum_prop": 0.6066746126340882,
"repo_name": "hetalv985/Clocks",
"id": "a75787256acefbda1413f628c30544e1d7925df9",
"size": "12... |
package edu.hm.hafner.analysis.parser.dry;
import java.io.IOException;
import org.junit.jupiter.api.Test;
import edu.hm.hafner.analysis.Issue;
import edu.hm.hafner.analysis.IssueBuilder;
import edu.hm.hafner.util.SerializableTest;
import static org.assertj.core.api.Assertions.*;
/**
* Tests the class {@link Duplic... | {
"content_hash": "f5785a023fd3c44826f6d6472eb62b14",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 113,
"avg_line_length": 33.52,
"alnum_prop": 0.7007756563245824,
"repo_name": "mschmidae/analysis-model",
"id": "26e29b6aca33a4182e9a092fd748949931575c4d",
"size": "3352",... |
<!DOCTYPE html>
<html lang="en">
<head prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article# website: http://ogp.me/ns/website#">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta name=... | {
"content_hash": "17c5008cf6d2f900467c3835e3585934",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 145,
"avg_line_length": 30.65714285714286,
"alnum_prop": 0.6169617893755824,
"repo_name": "kalbasit/kalbas.it",
"id": "e36777ebb9eeeb8db95d2051716be4ad4990130b",
"size": "... |
li.collapsible_menu {
position: relative;
}
li.collapsible_menu ul.submenu {
margin: 0 auto !important;
width: 93%;
}
li.collapsible_menu span.arrow {
background-repeat: no-repeat;
cursor: pointer;
height: 7px;
position: absolute;
right: 10px;
top: 13px;
width: 11px;
background-image: url("../../image... | {
"content_hash": "b16eee65fc35d265c359bf3afb2ec6a2",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 100,
"avg_line_length": 30.08955223880597,
"alnum_prop": 0.6964285714285714,
"repo_name": "beyama/refinerycms-mailings",
"id": "e55355ef9b07d988d9f12d213cb755c87a98c5e2",
"... |
import Vue = require("vue");
import { ComponentOptions, PluginFunction } from "vue";
type Component = ComponentOptions<Vue> | typeof Vue;
type Dictionary<T> = { [key: string]: T };
export type RouterMode = "hash" | "history" | "abstract";
export type RawLocation = string | Location;
export type RedirectOption = RawLo... | {
"content_hash": "00093f6452b6b45a1cb75094e6fc3ca3",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 72,
"avg_line_length": 23.827956989247312,
"alnum_prop": 0.6705776173285198,
"repo_name": "smajohusic/simple-app-with-vue",
"id": "c73b7ace8ffd4ca02ce138c49f5b2991f9667aeb",
... |
def longest_string(list_of_words)
longest = list_of_words[0]
list_of_words.each do |x|
if longest.length < x.length
longest = x
end
end
return longest
end | {
"content_hash": "33f111bde7c050afdc720f0ce7370f8f",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 33,
"avg_line_length": 19.555555555555557,
"alnum_prop": 0.6590909090909091,
"repo_name": "aattsai/phase-0",
"id": "a778394270378b3825cd7fbc60ce4d90d0e3a42c",
"size": "563",... |
package org.consumersunion.stories.survey.client.application.stories.ui;
import org.consumersunion.stories.common.client.util.HtmlSanitizerUtil;
import org.consumersunion.stories.common.shared.service.datatransferobject.StorySummary;
import com.google.gwt.cell.client.AbstractCell;
import com.google.gwt.dom.client.Bro... | {
"content_hash": "2d6952310eb5e7e7c4fa2d75e8c55c3e",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 102,
"avg_line_length": 43.395348837209305,
"alnum_prop": 0.7288317256162915,
"repo_name": "stori-es/stori_es",
"id": "88091df264f5b1cfbc45973abfbc2eb99a0c34b9",
"size": "1... |
<body>
<header>
<div class="headerpanel">
<div class="logopanel">
<h4><a href="<?php echo base_url();?>admin/home">MY TOFAH</a></h4>
</div>
<!-- logopanel -->
<div class="headerbar"> <a id="menuToggle" class="menutoggle"><i class="fa fa-bars"></i></a>
<div class="header-right">
... | {
"content_hash": "2326bf8659a6fe5e52cc95f1ad2b9106",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 194,
"avg_line_length": 52.45161290322581,
"alnum_prop": 0.5297252972529726,
"repo_name": "imonkteck/mytofah",
"id": "81f7ac03b309c3abb6c4c6f552be1a1869c1c5bb",
"size": "48... |
set -e
cd doc
haxe build_doc.hxml || { cd ..; echo "build_doc failed"; exit 1; }
cd ..
rm thx.core.zip
zip -r thx.core.zip src doc/ImportCore.hx test extraParams.hxml haxelib.json LICENSE README.md -x "*/\.*"
haxelib submit thx.core.zip
| {
"content_hash": "d19cc600598ea54c4a69097aa4634fa6",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 105,
"avg_line_length": 33.857142857142854,
"alnum_prop": 0.6962025316455697,
"repo_name": "ciscoheat/thx.core",
"id": "ba78fb5273b7bffe057567837856bf0cc0bb3bcf",
"size": "2... |
#pragma once
#include <credentials/CertificateValidityPolicy.h>
namespace chip {
namespace Credentials {
class StrictCertificateValidityPolicyExample : public CertificateValidityPolicy
{
public:
~StrictCertificateValidityPolicyExample() {}
/**
* @brief
*
* This certificate validity policy is... | {
"content_hash": "860a1036ee3022cc45c84ad0b3794648",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 122,
"avg_line_length": 35.170212765957444,
"alnum_prop": 0.6896551724137931,
"repo_name": "project-chip/connectedhomeip",
"id": "a8d63aba99e93e5c696a1290f168f5b3c6fc71f3",
... |
package jetbrains.buildServer.nuget.tests.server.entity;
import jetbrains.buildServer.BaseTestCase;
import org.jdom.JDOMException;
import org.jetbrains.annotations.NotNull;
import org.odata4j.core.OAtomEntity;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.*;
/**
* Created ... | {
"content_hash": "4e5c16a93a396d3e8ef9eb61d2643de1",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 141,
"avg_line_length": 33.57857142857143,
"alnum_prop": 0.6522016592214422,
"repo_name": "JetBrains/teamcity-nuget-support",
"id": "2125c019007f28d39671d8a32fc2f467428dbd12... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "efb29f0661722673b0609169d7ec84ce",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "4cadcc99df2eccf0685b1acfd083639f9c1cf351",
"size": "185... |
import {browser, element, by} from 'protractor';
export class PwaPage {
public navigateTo() {
return browser.get('/');
}
public getParagraphText() {
return element(by.css('app-root h1')).getText();
}
}
| {
"content_hash": "29fba63f031013ed35ea75c6a66e6cf0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 56,
"avg_line_length": 18.307692307692307,
"alnum_prop": 0.5966386554621849,
"repo_name": "Centroida/angular-pwa",
"id": "fba742ec60c2338be4287d442bf17888ecc64c41",
"size":... |
package org.springframework.boot.autoconfigure.orm.jpa;
import java.sql.SQLException;
import java.util.Map;
import javax.sql.DataSource;
import org.hibernate.cfg.AvailableSettings;
import org.junit.After;
import org.junit.Test;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
impo... | {
"content_hash": "4fa089bfb33946f8400db9a6a35ae300",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 87,
"avg_line_length": 38.86206896551724,
"alnum_prop": 0.7944395149364093,
"repo_name": "izeye/spring-boot",
"id": "aa7e44f5e152692eb3080248356d763d0c0ba035",
"size": "73... |
package com.example.kuan.yweather.db;
import org.litepal.crud.DataSupport;
/**
* Created by kuan on 2017/7/18.
*/
public class Province extends DataSupport{
int id;
String provinceName;
int provinceCode;
public int getId() {
return id;
}
public String getProvinceName() {
r... | {
"content_hash": "4eb3585af5c82b8c73544074e720f0d0",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 54,
"avg_line_length": 18.513513513513512,
"alnum_prop": 0.635036496350365,
"repo_name": "mocheng119/Ywether",
"id": "db270e42715b058e47edf67012edd58091910d23",
"size": "68... |
crm.set_tag_list_event = function(controller, asset, asset_id) {
var extra_supertag_options = $H({
onAdd: function(tag, el){
// Check that the tag is not being added more than twice (case INSENSITIVE)
var alreadyAdded = (fbtaglist.bits.values().findAll(function(s){return s.toLowerCase() == tag.t... | {
"content_hash": "a82ef194c3d607371c9341a666b93c9d",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 131,
"avg_line_length": 38.471698113207545,
"alnum_prop": 0.5664541441883276,
"repo_name": "crossroads/crm_super_tags",
"id": "d420fdc713d69fef6a72b414745ea1a0a8464fd6",
"s... |
'use strict';
// Configuring the Discoverycentermenus module
angular.module('discoverycentermenus').run(['Menus', '$translate', '$rootScope',
function (Menus, $translate, $rootScope) {
$rootScope.$on('$translateChangeSuccess', function () {
$translate(['MENU_DISCOVERYCENTERMENU', 'MENU_DISCOVERYCENTERMENU_... | {
"content_hash": "dea2e41d551e0e7b19de7692ae27026d",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 147,
"avg_line_length": 36.51428571428571,
"alnum_prop": 0.6291079812206573,
"repo_name": "couldhll/AMS",
"id": "52f34c6061a391ad741b41da6b6875fb972e3aa1",
"size": "1278",
... |
Chess.makeUI();
Chess.showBoard(); | {
"content_hash": "140e13a21ce8879b24c24dd7d2088e8e",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 18,
"avg_line_length": 17,
"alnum_prop": 0.7352941176470589,
"repo_name": "capnmidnight/seanmcbeth.com",
"id": "65691a5f5b89f2f0f461c2285b5b9daedf5bf32e",
"size": "34",
"b... |
:host {
display: block;
position: relative;
}
polyfill-next-selector {
content: ':host > *';
}
::content > * {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
polyfill-next-selector {
content: ':host > *:not(.core-selected):not([animate])';
}
::content > *:not(.core... | {
"content_hash": "60ae938d0ce38f189b507068fae35657",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 60,
"avg_line_length": 14.615384615384615,
"alnum_prop": 0.5684210526315789,
"repo_name": "pwentrys/app_factory",
"id": "fa8ffeb95b33c76ff0db11f88d217fdb2e0ed364",
"size": ... |
typedef const struct __CTTypesetter* CTTypesetterRef;
CORETEXT_EXPORT const CFStringRef kCTTypesetterOptionDisableBidiProcessing;
CORETEXT_EXPORT const CFStringRef kCTTypesetterOptionForcedEmbeddingLevel;
CORETEXT_EXPORT CTTypesetterRef CTTypesetterCreateWithAttributedString(CFAttributedStringRef string);
CORETEXT_EX... | {
"content_hash": "f0339400ce8a7e41fca9c7dc928f5be1",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 140,
"avg_line_length": 88.33333333333333,
"alnum_prop": 0.7314465408805031,
"repo_name": "yweijiang/WinObjC",
"id": "0965292bd033644c3d4e989fe8909fd2ab2757a2",
"size": "25... |
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-ge... | {
"content_hash": "ab272b1bae89d6327d1dd625f0ad45b0",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 192,
"avg_line_length": 33.6764705882353,
"alnum_prop": 0.5220524017467248,
"repo_name": "And42/TranslatorApk",
"id": "707b5503ec223c5e8296b603d28cd0ca9a667678",
"size": "... |
#pragma once
#include "numerics/davenport_q_method.hpp"
#include <vector>
#include "geometry/r3x3_matrix.hpp"
#include "geometry/r3_element.hpp"
#include "numerics/fixed_arrays.hpp"
#include "numerics/matrix_computations.hpp"
#include "quantities/quantities.hpp"
namespace principia {
namespace numerics {
namespace ... | {
"content_hash": "7c94fe86e541b0886c1dadb31b5319ff",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 80,
"avg_line_length": 29.593023255813954,
"alnum_prop": 0.6204322200392928,
"repo_name": "pleroy/Principia",
"id": "5b35b1d498e283ba6cf319f14cf2a8b734cce414",
"size": "255... |
<?php
$loader->import("config.php");
if (file_exists(__DIR__ . '/security_local.php')) {
$loader->import("security_local.php");
} else {
$loader->import("security.php");
}
//Twig Configuration
$container->loadFromExtension('twig', array(
'cache' => false,
'debug' => '%ker... | {
"content_hash": "dcb3cdff084c9e6c7b28293570d8f78e",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 97,
"avg_line_length": 29.291666666666668,
"alnum_prop": 0.5120910384068279,
"repo_name": "rcdelfin/mautic",
"id": "6eb2b30037ab8d8cbd19cc83fa7df571df57e55a",
"size": "2109... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE124_Buffer_Underwrite__char_alloca_memmove_53d.c
Label Definition File: CWE124_Buffer_Underwrite.stack.label.xml
Template File: sources-sink-53d.tmpl.c
*/
/*
* @description
* CWE: 124 Buffer Underwrite
* BadSource: Set data pointer to before the allocated mem... | {
"content_hash": "6c602e391e6bcc6415d0b7c5114a3938",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 156,
"avg_line_length": 33.241379310344826,
"alnum_prop": 0.6441908713692946,
"repo_name": "maurer/tiamat",
"id": "c180a38007c379896a83c74d4601554b912ece3b",
"size": "1928"... |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Atspi;
namespace AtSpiTest
{
[TestFixture]
public class HypertextTest : Base
{
Accessible frame = null;
Hypertext hypertext = null;
public HypertextTest ()
{
frame = GetFrame ("DocumentTest.exe", "DocumentTest");
hypertext ... | {
"content_hash": "e046a0376301cd1ec174ae53fc2f62ae",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 108,
"avg_line_length": 29.87878787878788,
"alnum_prop": 0.6698782961460447,
"repo_name": "mono/at-spi-sharp",
"id": "f8b5f2fc424be61c426d5f820c0d61ed2ab76e8e",
"size": "31... |
package com.artursworld.reactiontest.model.entity;
import java.util.Date;
// TODO: delete not used?
public class Attempt {
private long reactionTime;
private boolean isValid;
private Date creationDate;
private Date reactionGameDateId;
public long getReactionTime() {
return reactionTime;
... | {
"content_hash": "fbceba1a58797cff3d8662b6d4074030",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 172,
"avg_line_length": 23.979591836734695,
"alnum_prop": 0.6706382978723404,
"repo_name": "lidox/reaction-test",
"id": "03a8427cf19eb7558cb83f7d6e73fb9474b9e891",
"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_22) on Sun Aug 26 15:15:26 EDT 2012 -->
<TITLE>
OutlineEffect (Slick Util - LWJGL Utilities extracted from Slick)
</TITLE>
<META NAME="date... | {
"content_hash": "c2fd48dd25912d078d9a0ee7a037b467",
"timestamp": "",
"source": "github",
"line_count": 591,
"max_line_length": 609,
"avg_line_length": 43.88324873096447,
"alnum_prop": 0.6340466550992867,
"repo_name": "dxiao/PPBunnies",
"id": "d35ff76dca689edb2aba8d341be89bb46183ae8f",
"size": "259... |
<div class="tile-picker">
<img src="{{url}}" class=""/>
<div class="selection"></div>
</div>
| {
"content_hash": "f8729bf9b855d95d79740017b1f91b4a",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 33,
"avg_line_length": 25.25,
"alnum_prop": 0.5445544554455446,
"repo_name": "justindujardin/pow-edit",
"id": "0b965f820c15a291d681ae927033290747149323",
"size": "101",
"b... |
require "drb"
require "fileutils"
require "tempfile"
require "pathname"
require "rubybench/dsl/channel"
module Rubybench
module CLI
class Runner
attr_reader :opts, :server, :socket_path, :pid, :ruby
def self.load_path
@load_path ||= Pathname.new(__FILE__).parent.dirname
end
def... | {
"content_hash": "c4bb629972c5a315f68cbfb5969cd280",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 105,
"avg_line_length": 18.669117647058822,
"alnum_prop": 0.5084679007483262,
"repo_name": "rubybench/rubybench-dsl",
"id": "257a1da579126ddcdbe262c51d84d6c605bb3c38",
"si... |
from sovrin_client.cli.constants import \
CLIENT_GRAMS_CLIENT_WITH_DID_FORMATTED_REG_EX, \
CLIENT_GRAMS_CLIENT_ADD_FORMATTED_REG_EX, SEND_NYM_FORMATTED_REG_EX, \
GET_NYM_FORMATTED_REG_EX, \
GET_ATTR_FORMATTED_REG_EX, GET_SCHEMA_FORMATTED_REG_EX, \
GET_CLAIM_DEF_FORMATTED_REG_EX, \
ADD_ATTRIB_FOR... | {
"content_hash": "ff6bf6cf6cf0a92ea5c63e4061029a16",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 104,
"avg_line_length": 42.567567567567565,
"alnum_prop": 0.6692063492063492,
"repo_name": "keenondrums/sovrin-node",
"id": "e315374c609cda5475a39a464f3213e8de489bc1",
"siz... |
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#ifndef IListBase_INCLUDED
#define IListBase_INCLUDED 1
#include "Link.h"
#include "Boolean.h"
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
class SP_API IListBase {
public:
IListBase();
IListBase(Link *);
void append(Lin... | {
"content_hash": "fbb8a5ff0d55bf6bdad5ddb525d13212",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 47,
"avg_line_length": 13.8875,
"alnum_prop": 0.6579657965796579,
"repo_name": "Distrotech/OpenSP",
"id": "5e4abc2001d1c2c60b05769474719bb1cabc60aa",
"size": "1111",
"bin... |
<?php
/**
* Install theme administration panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . '/admin.php' );
require( ABSPATH . 'wp-admin/includes/theme-install.php' );
wp_reset_vars( array( 'tab' ) );
if ( ! current_user_ca... | {
"content_hash": "e82cc12b2f425b853f9f5889f1d9c50c",
"timestamp": "",
"source": "github",
"line_count": 284,
"max_line_length": 508,
"avg_line_length": 42.394366197183096,
"alnum_prop": 0.6137873754152824,
"repo_name": "oconn270/oconn270.github.io",
"id": "af038262c9943f67b40c0c1ab9c77b7ab8b15313",
... |
import json
import datetime
from nameko.events import EventDispatcher, event_handler
from statsd import StatsClient
class FeesService:
name = "fees_service"
statsd = StatsClient('statsd-agent', 8125,
prefix='simplebank-demo.fees')
@event_handler("market_service", "order_placed")
... | {
"content_hash": "18a2238696d90aa3539bc9853b35b08e",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 76,
"avg_line_length": 31.0625,
"alnum_prop": 0.6579476861167002,
"repo_name": "morganjbruce/microservices-in-action",
"id": "ede843aeb21b48b3e3cc32128c9c17e45c313ba0",
"si... |
require "tmpdir"
require "digest/md5"
require "benchmark"
require "rubygems"
require "language_pack"
require "language_pack/base"
require "language_pack/ruby_version"
require "language_pack/helpers/node_installer"
require "language_pack/helpers/jvm_installer"
require "language_pack/version"
# base Ruby Language Pack. ... | {
"content_hash": "2ca95cdc6b76067c2723b52b522e6819",
"timestamp": "",
"source": "github",
"line_count": 940,
"max_line_length": 185,
"avg_line_length": 32.26276595744681,
"alnum_prop": 0.6378474626570383,
"repo_name": "markaschneider/heroku-buildpack-ruby-ffmpeg-sox",
"id": "265a2082cb64cfb9338824c44... |
End of preview.
No dataset card yet
- Downloads last month
- 1