bitmap

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNil

func IsNil(bitMap []byte, idx int) bool

func SetBitMap

func SetBitMap(bitMap []byte, idx int)

Types

type BitMap added in v1.1.1

type BitMap struct {
	Val []byte
}

func (*BitMap) And added in v1.1.1

func (b *BitMap) And(b1 *BitMap)

func (*BitMap) Or added in v1.1.1

func (b *BitMap) Or(b1 *BitMap)

type FilterBitmap

type FilterBitmap struct {
	ReserveId []int
	Bitmap    []*BitMap
}

func NewFilterBitmap

func NewFilterBitmap(length int) *FilterBitmap

func (*FilterBitmap) Reset

func (f *FilterBitmap) Reset()

Jump to

Keyboard shortcuts

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