MCPcopy Create free account
hub / github.com/brimdata/super / IsSetDirect

Method IsSetDirect

vector/bitvec/bits.go:55–57  ·  view source on GitHub ↗
(slot uint32)

Source from the content-addressed store, hash-verified

53}
54
55func (b Bits) IsSetDirect(slot uint32) bool {
56 return (b.bits[slot>>6] & (1 << (slot & 0x3f))) != 0
57}
58
59// Set causes the bit at position slot to become true on an allocated
60// bitvector, where slot must be smaller than the length of the bit vector.

Callers 3

IsSetMethod · 0.95
PickMethod · 0.95
boolMaskRidxFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected