Documentation ¶
Index ¶
- type Bitmap
- func (b *Bitmap) Clone() Bitmap
- func (b *Bitmap) CountDiff(b2 Bitmap) int
- func (b *Bitmap) Has(n uint32) bool
- func (b *Bitmap) IsEmpty() bool
- func (b *Bitmap) Range(f func(n uint32) bool)
- func (b *Bitmap) Remove(n uint32)
- func (b *Bitmap) Set(n uint32)
- func (b *Bitmap) String() string
- func (b *Bitmap) Xor(n uint32)
- type Bitmap32
- func (b *Bitmap32) Clone() Bitmap32
- func (b *Bitmap32) CountDiff(b2 Bitmap32) int
- func (b *Bitmap32) Has(n uint32) bool
- func (b *Bitmap32) IsEmpty() bool
- func (b *Bitmap32) Range(f func(n uint32) bool)
- func (b *Bitmap32) Remove(n uint32)
- func (b *Bitmap32) Set(n uint32)
- func (b *Bitmap32) String() string
- func (b *Bitmap32) Xor(n uint32)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bitmap ¶
type Bitmap []uint64
func FromString ¶ added in v1.1.0
type Bitmap32 ¶ added in v1.2.0
type Bitmap32 []uint32
func FromString32 ¶ added in v1.2.0
func (*Bitmap32) Range ¶ added in v1.2.0
Range call the passed callback with all bits set to 1. If the callback returns false, the method exits
Click to show internal directories.
Click to hide internal directories.