Documentation ¶
Index ¶
- Constants
- func BitWordsCount(bitSize int) int
- func ClearBit(bitmap []uint64, i int)
- func FlipBit(bitmap []uint64, i int)
- func MustSetBit(bitmap []uint64, i int) []uint64
- func OnesCount(bitmap []uint64) int
- func SetBit(bitmap []uint64, i int)
- func TestBit(bitmap []uint64, i int) bool
- type BitMap
- func (bs BitMap) Clear(i int) bool
- func (bs BitMap) Count() int
- func (bs BitMap) Flip(i int) bool
- func (bs BitMap) FormattedString(width int) string
- func (bs BitMap) Reset()
- func (bs BitMap) Set(i int) bool
- func (bs *BitMap) Size() int
- func (bs BitMap) String() string
- func (bs BitMap) Test(i int) bool
Constants ¶
View Source
const BitsPerWord = 64
Variables ¶
This section is empty.
Functions ¶
func BitWordsCount ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.