Home | History | Annotate | Download | only in rand

Lines Matching full:uint32

48 // Uint32 returns a pseudo-random 32-bit value as a uint32.
49 func (r *Rand) Uint32() uint32 { return uint32(r.Int63() >> 31) }
86 max := int32((1 << 31) - 1 - (1<<31)%uint32(n))
174 // Uint32 returns a pseudo-random 32-bit value as a uint32
176 func Uint32() uint32 { return globalRand.Uint32() }