Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RoaringBitmap/roaring
/ highbits
Function
highbits
roaring64/util.go:5–7 ·
view source on GitHub ↗
(x uint64)
Source
from the content-addressed store, hash-verified
3
import
"github.com/RoaringBitmap/roaring/v2"
4
5
func
highbits(x uint64) uint32 {
6
return
uint32(x >> 32)
7
}
8
9
func
lowbits(x uint64) uint32 {
10
return
uint32(x & maxLowBit)
Callers
12
Contains
Method · 0.70
Add
Method · 0.70
CheckedAdd
Method · 0.70
Remove
Method · 0.70
CheckedRemove
Method · 0.70
Rank
Method · 0.70
AddMany
Method · 0.70
Flip
Method · 0.70
AddRange
Method · 0.70
RemoveRange
Method · 0.70
Flip
Function · 0.70
TestCopies
Function · 0.70
Calls
no outgoing calls
Tested by
1
TestCopies
Function · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…