hmap

package
v0.0.0-...-b8a1a0e Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_DEBUG_INTERVAL = time.Second
)

Variables

This section is empty.

Functions

func DeregisterForDebug

func DeregisterForDebug(ds ...Debug)

func DumpCollisionChain

func DumpCollisionChain(d Debug) string

func DumpHexBytesGrouped

func DumpHexBytesGrouped(bs []byte, size int) string

func RegisterForDebug

func RegisterForDebug(ds ...Debug)

func SetCollisionChainDebugThreshold

func SetCollisionChainDebugThreshold(t int)

Types

type Debug

type Debug interface {
	ID() string
	KeySize() int
	GetCollisionChain() []byte
	SetCollisionChainDebugThreshold(int)
}

type Debugger

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

func (*Debugger) Deregister

func (d *Debugger) Deregister(ds ...Debug)

func (*Debugger) Register

func (d *Debugger) Register(ds ...Debug)

func (*Debugger) SetCollisionChainDebugThreshold

func (d *Debugger) SetCollisionChainDebugThreshold(t int)

func (*Debugger) SetInterval

func (d *Debugger) SetInterval(interval time.Duration)

func (*Debugger) Start

func (d *Debugger) Start() error

func (*Debugger) Stop

func (d *Debugger) Stop() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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