MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / At

Method At

structure/bitmap.go:359–361  ·  view source on GitHub ↗

At function checks if the bit at the specified position is set

(pos uint)

Source from the content-addressed store, hash-verified

357
358// At function checks if the bit at the specified position is set
359func (b *BitSet) At(pos uint) bool {
360 return b.b.Test(pos)
361}
362
363// Next function finds the next set bit in the bitset
364func (b *BitSet) Next(pos uint) (uint, bool) {

Callers 3

Calls

no outgoing calls

Tested by 3