Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
51
func
(b Bits) IsSet(slot uint32) bool {
52
return
!b.IsZero() && b.IsSetDirect(slot)
53
}
54
55
func
(b Bits) IsSetDirect(slot uint32) bool {
56
return
(b.bits[slot>>6] & (1 << (slot & 0x3f))) != 0
Callers
7
String
Method · 0.95
Serialize
Method · 0.80
BoolValue
Function · 0.80
indexMap
Function · 0.80
eval
Method · 0.80
boolToNumeric
Function · 0.80
Filter
Method · 0.80
Calls
2
IsZero
Method · 0.95
IsSetDirect
Method · 0.95
Tested by
no test coverage detected