hmap

package
v1.6.65 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 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