Documentation ¶
Index ¶
- Constants
- type Bitset
- func (b *Bitset) Bits() []uint64
- func (b *Bitset) Clear()
- func (b *Bitset) Copy() *Bitset
- func (b *Bitset) Count() int
- func (b *Bitset) Difference(other *Bitset) *Bitset
- func (b *Bitset) Get(index uint64) bool
- func (b *Bitset) Intersect(other *Bitset) *Bitset
- func (b *Bitset) Set(index uint64)
- func (b *Bitset) Size() uint64
- func (b *Bitset) Union(other *Bitset) *Bitset
- func (b *Bitset) Unset(index uint64)
Constants ¶
View Source
const BitsetUnitSize = 64
BitsetUnitSize is the size of a bitset unit.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bitset ¶
type Bitset struct {
// contains filtered or unexported fields
}
func (*Bitset) Difference ¶
Difference returns the difference of the bitset with the given bitset.
Click to show internal directories.
Click to hide internal directories.