bitmaps

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bitmap

type Bitmap struct {
	sync.RWMutex

	roaring64.Bitmap
	// contains filtered or unexported fields
}

func New

func New() *Bitmap

func (*Bitmap) Key

func (s *Bitmap) Key() []byte

func (*Bitmap) Release

func (s *Bitmap) Release()

func (*Bitmap) Size

func (s *Bitmap) Size() int64

Size returns estimate of in memory size of s in bytes.

func (*Bitmap) WithKey

func (s *Bitmap) WithKey(key []byte) *Bitmap

Jump to

Keyboard shortcuts

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