Documentation
¶
Index ¶
- func BitIndex(i uint64) uint64
- func Buckets(i uint64) int
- func Intersects(this, other Bitset) bool
- func IsEmpty(b Bitset) bool
- func IsSet[T u64](b *Bitset, t T) bool
- func Iter(b *Bitset) iter64
- func IterT[T ~uint64](b *Bitset) iter64T[T]
- func Set[T u64](b *Bitset, t T) bool
- func ToRawParts(b Bitset) []uint64
- func Unset[T u64](b *Bitset, t T)
- type Bitset
- func (this Bitset) Complement() Bitset
- func (this Bitset) Difference(n Bitset) Bitset
- func (this Bitset) Elems() []uint64
- func (this Bitset) Eq(n Bitset) bool
- func (this Bitset) Intersect(n Bitset) Bitset
- func (this Bitset) IsEmpty() bool
- func (this Bitset) IsSet(i uint64) bool
- func (this Bitset) Len() int
- func (this Bitset) Pop() uint64
- func (this *Bitset) Set(i uint64) bool
- func (this Bitset) Union(n Bitset) Bitset
- func (this Bitset) Unset(i uint64)
- type IterOf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Intersects ¶
func ToRawParts ¶
Types ¶
type Bitset ¶
type Bitset struct {
// contains filtered or unexported fields
}
func WithBucketsFor ¶
func (Bitset) Complement ¶
func (Bitset) Difference ¶
Click to show internal directories.
Click to hide internal directories.