in shardedlru.go [45:50]
func nextPowerOfTwo(val uint32) uint32 { if bits.OnesCount32(val) != 1 { return 1 << bits.Len32(val) } return val }