MCPcopy 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
51func lowBit(num uint32) uint {
52 return highBit(num & -num)
53}

Callers 1

_updateMethod · 0.85

Calls 1

highBitFunction · 0.85

Tested by

no test coverage detected