bitmap

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 1 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 []byte

func Merge

func Merge(left, right Bitmap) Bitmap

func NewBitmapWithOnesCount

func NewBitmapWithOnesCount(n int) Bitmap

func (Bitmap) And

func (b Bitmap) And(other Bitmap)

func (Bitmap) Clear

func (b Bitmap) Clear(index int)

func (Bitmap) Flip

func (b Bitmap) Flip()

func (Bitmap) Get

func (b Bitmap) Get(index int) bool

func (Bitmap) IsZero

func (b Bitmap) IsZero() bool

func (Bitmap) OnesCount

func (b Bitmap) OnesCount() int

func (Bitmap) Or

func (b Bitmap) Or(other Bitmap)

func (Bitmap) Set

func (b Bitmap) Set(index int)

func (Bitmap) Xor

func (b Bitmap) Xor(other Bitmap)

Jump to

Keyboard shortcuts

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