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

Method IsSet

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

Source from the content-addressed store, hash-verified

49}
50
51func (b Bits) IsSet(slot uint32) bool {
52 return !b.IsZero() && b.IsSetDirect(slot)
53}
54
55func (b Bits) IsSetDirect(slot uint32) bool {
56 return (b.bits[slot>>6] & (1 << (slot & 0x3f))) != 0

Callers 7

StringMethod · 0.95
SerializeMethod · 0.80
BoolValueFunction · 0.80
indexMapFunction · 0.80
evalMethod · 0.80
boolToNumericFunction · 0.80
FilterMethod · 0.80

Calls 2

IsZeroMethod · 0.95
IsSetDirectMethod · 0.95

Tested by

no test coverage detected