bitmap

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: BSD-3-Clause Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bitmap

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

func New

func New(maxIndex uint64, opts ...Option) *Bitmap

func (*Bitmap) CopyTo

func (b *Bitmap) CopyTo(dst *Bitmap)

func (*Bitmap) Del

func (b *Bitmap) Del(index uint64)

func (*Bitmap) Dump

func (b *Bitmap) Dump() []byte

func (*Bitmap) Has

func (b *Bitmap) Has(index uint64) bool

func (*Bitmap) Restore

func (b *Bitmap) Restore(in []byte)

func (*Bitmap) Set

func (b *Bitmap) Set(index uint64)

type Option

type Option func(*Bitmap)

func DisableLock

func DisableLock() Option

Jump to

Keyboard shortcuts

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