Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ lowBit
Function
lowBit
merkle/util.go:51–53 ·
view source on GitHub ↗
return the position of the lowest 1 bit 1-based index
(num uint32)
Source
from the content-addressed store, hash-verified
49
// return the position of the lowest 1 bit
50
// 1-based index
51
func
lowBit(num uint32) uint {
52
return
highBit(num & -num)
53
}
Callers
1
_update
Method · 0.85
Calls
1
highBit
Function · 0.85
Tested by
no test coverage detected