MCPcopy Create free account
hub / github.com/andeya/algorithm / PopCountUint

Function PopCountUint

mathutil/bits.go:176–182  ·  view source on GitHub ↗

PopCountUint returns population count of n (number of bits set in n).

(n uint)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestPopCountFunction · 0.85
BenchmarkPopCountUintFunction · 0.85

Calls 2

PopCountUint64Function · 0.85
PopCountUint32Function · 0.85

Tested by 2

TestPopCountFunction · 0.68
BenchmarkPopCountUintFunction · 0.68