bitmap

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: Apache-2.0 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 []uint32

func (Bitmap) FirstIdle

func (bs Bitmap) FirstIdle() (idx int)

FirstIdle return first idle index in bitmap, -1 if all busy

func (Bitmap) Has

func (bs Bitmap) Has(idx int) bool

func (Bitmap) Reset

func (bs Bitmap) Reset()

func (Bitmap) Set

func (bs Bitmap) Set(idx int)

func (Bitmap) Unset

func (bs Bitmap) Unset(idx int)

Jump to

Keyboard shortcuts

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