sorter

package
v0.0.0-...-b7e94e3 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortChunks

func SortChunks(chunks [][]byte) [][]int

Types

type ByteComparable

type ByteComparable struct {
	// contains filtered or unexported fields
}

func (*ByteComparable) Equal

func (b *ByteComparable) Equal(i, j int) bool

func (*ByteComparable) Len

func (b *ByteComparable) Len() int

type Comparable

type Comparable interface {
	Len() int
	Equal(i, j int) bool
}

type HashComparable

type HashComparable struct {
	// contains filtered or unexported fields
}

func (*HashComparable) Equal

func (h *HashComparable) Equal(i, j int) bool

func (*HashComparable) Len

func (h *HashComparable) Len() int

Jump to

Keyboard shortcuts

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