This commit is contained in:
Andrew Gallant (Ocelot)
2018-09-08 16:49:14 +02:00
committed by p
parent 744c9688cc
commit e9dc18b4f9
+1 -1
View File
@@ -37,7 +37,7 @@ func Pad(n int) int {
return (n + 3) & ^3
}
// popCount counts the number of bits set in a value list mask.
// PopCount counts the number of bits set in a value list mask.
func PopCount(mask0 int) int {
mask := uint32(mask0)
n := 0