async

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAsyncReader

func NewAsyncReader(rdr io.Reader, hdr header.HeaderT, opts *opts.OptsT) *asyncRdrT

func NewAsyncWriter

func NewAsyncWriter(wr io.Writer, opts *opts.OptsT) *asyncWriterT

Types

type AsyncHash

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

func NewAsyncHash

func NewAsyncHash(sz int) *AsyncHash

func (*AsyncHash) Done

func (h *AsyncHash) Done() uint32

func (*AsyncHash) Queue

func (h *AsyncHash) Queue(qBlk *blk.BlkT)

func (*AsyncHash) Run

func (h *AsyncHash) Run()

type AsyncHashIdx

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

func NewAsyncHashIdx

func NewAsyncHashIdx(sz int) *AsyncHashIdx

func (*AsyncHashIdx) Done

func (h *AsyncHashIdx) Done() uint32

func (*AsyncHashIdx) Free

func (h *AsyncHashIdx) Free(qBlk *blk.BlkT, idx int)

Free can be called from any goroutine

func (*AsyncHashIdx) Queue

func (h *AsyncHashIdx) Queue(qBlk *blk.BlkT)

Blocks must arrive in order

func (*AsyncHashIdx) Run

func (h *AsyncHashIdx) Run()

Jump to

Keyboard shortcuts

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