biter

package module
v0.0.0-...-5843e99 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: Apache-2.0 Imports: 2 Imported by: 2

README

biter

bits iterator

Documentation

Index

Constants

View Source
const SetAllBits = Bits(math.MaxUint64)

Variables

View Source
var SetBits []Bits
View Source
var SetBitsForwardFrom []Bits
View Source
var SetBitsForwardUntil []Bits

Functions

This section is empty.

Types

type Bits

type Bits uint64

func (Bits) And

func (b Bits) And(anotherBits Bits) Bits

func (Bits) Or

func (b Bits) Or(anotherBits Bits) Bits

func (Bits) ScanBackward

func (b Bits) ScanBackward() func() Slot

from right to left

func (Bits) ScanForward

func (b Bits) ScanForward() func() Slot

from left to right

type Slot

type Slot int
const NotFound Slot = 64

Jump to

Keyboard shortcuts

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