bitmap

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 0 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 interface {
	FindNextAndSet() int
	IsMasked(int) bool
	Mask(int)
	Unmask(int)
	Clear()
}

type Bitmap64

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

func (*Bitmap64) Clear

func (this *Bitmap64) Clear()

func (*Bitmap64) FindNextAndSet

func (this *Bitmap64) FindNextAndSet() int

func (*Bitmap64) IsMasked

func (this *Bitmap64) IsMasked(pos int) bool

func (*Bitmap64) Mask

func (this *Bitmap64) Mask(pos int)

func (*Bitmap64) Unmask

func (this *Bitmap64) Unmask(pos int)

type RRBitmap added in v0.9.3

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

func NewRRBitmap added in v0.9.3

func NewRRBitmap(l int) *RRBitmap

func (*RRBitmap) Clear added in v0.9.3

func (this *RRBitmap) Clear()

func (*RRBitmap) FindNextFromCurrentAndSet added in v0.9.3

func (this *RRBitmap) FindNextFromCurrentAndSet() int

func (*RRBitmap) Mask added in v0.9.3

func (this *RRBitmap) Mask(pos int)

func (*RRBitmap) Unmask added in v0.9.3

func (this *RRBitmap) Unmask(pos int)

Jump to

Keyboard shortcuts

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