This commit is contained in:
Andrew Gallant (Ocelot)
2012-06-04 23:55:20 -04:00
committed by Přemysl Janouch
parent 744c9688cc
commit e9dc18b4f9

View File

@@ -37,7 +37,7 @@ func Pad(n int) int {
return (n + 3) & ^3 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 { func PopCount(mask0 int) int {
mask := uint32(mask0) mask := uint32(mask0)
n := 0 n := 0