bitset

package
v0.0.0-...-9900226 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: AGPL-3.0-or-later Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmpty

func IsEmpty(b Bitset64) bool

func ToRawParts

func ToRawParts(b Bitset64) []uint64

Types

type Bitset64

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

func Copy

func Copy(b Bitset64) Bitset64

func FromRaw

func FromRaw(parts ...uint64) Bitset64

func New

func New(i int) Bitset64

func WithBucketsFor

func WithBucketsFor(i uint64) Bitset64

func (Bitset64) Complement

func (b Bitset64) Complement() Bitset64

func (Bitset64) Difference

func (b Bitset64) Difference(n Bitset64) Bitset64

func (Bitset64) Elems

func (b Bitset64) Elems() []uint64

func (Bitset64) Eq

func (b Bitset64) Eq(n Bitset64) bool

func (Bitset64) Intersect

func (b Bitset64) Intersect(n Bitset64) Bitset64

func (Bitset64) IsSet

func (b Bitset64) IsSet(i uint64) bool

func (Bitset64) Len

func (b Bitset64) Len() int

func (*Bitset64) Set

func (b *Bitset64) Set(i uint64)

func (Bitset64) Union

func (b Bitset64) Union(n Bitset64) Bitset64

func (Bitset64) Unset

func (b Bitset64) Unset(i uint64)

Jump to

Keyboard shortcuts

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