test

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2025 License: BSD-2-Clause Imports: 8 Imported by: 0

README

Samples are a subset of the Silesia Corpus.

Name Description Provenance Notes
webster.bz2 The 1913 Webster Unabridged Dictionary Silesia Corpus raw data
dickens.lz4 Collected works of Charles Dickens Silesia Corpus lz4c -B7 -BX --best dickens
dickens_dict.lz4 Collected works of Charles Dickens Silesia Corpus lz4c --best --content-size -D ./dickens dickens
dickens_linked.lz4 Collected works of Charles Dickens Silesia Corpus lz4c -BD -BX -12 ./dickens
dickens_linked_dict.lz4 Collected works of Charles Dickens Silesia Corpus lz4c -12 -BD -BX --content-size -D ./dickens dickens
mr.lz4 Medical magnetic resonance image Silesia Corpus lz4c -B4 --no-frame-crc mr

Documentation

Index

Constants

View Source
const (
	LargeUncompressed = iota
	Uncompressable
	Monster
	Dict
	Lz4_4MB
	Lz4_BlockCRC
	Lz4_ContentCRC
	Lz4_64KB
	Lz4_NoContentCRC
	Lz4_NoBlockCRC
	Lz4_IndieWithDict
	Lz4_Linked
	Lz4_LinkedWithDict
)

Variables

This section is empty.

Functions

func DupeSample

func DupeSample(t testing.TB, ty int) ([]byte, string)

func LoadSample

func LoadSample(t testing.TB, ty int) ([]byte, string)

Various samples for testing different use cases

func Sha2sum

func Sha2sum(data []byte) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL