Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rabbitstack/fibratus
/ IsSet
Method
IsSet
pkg/util/bitmask/bitmask.go:53–57 ·
view source on GitHub ↗
(i uint)
Source
from the content-addressed store, hash-verified
51
}
52
53
func
(b *Bitmask) IsSet(i uint) bool {
54
word := i / 64
55
bit := i % 64
56
return
b.words[word]&(1<<bit) != 0
57
}
Callers
6
TestDropMask
Method · 0.80
ExcludeEvent
Method · 0.80
EventExists
Method · 0.80
IsBitSet
Method · 0.80
TestBitmask
Function · 0.80
BenchmarkBitmask
Function · 0.80
Calls
no outgoing calls
Tested by
2
TestBitmask
Function · 0.64
BenchmarkBitmask
Function · 0.64