Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
()
| 236 | |
| 237 | // Int63 returns a non-negative pseudo-random 63-bit integer as an int64. |
| 238 | func (r *lockedRandSource) Int63() (n int64) { |
| 239 | r.lk.Lock() |
| 240 | n = r.src.Int63() |
| 241 | r.lk.Unlock() |
| 242 | return n |
| 243 | } |
| 244 | |
| 245 | // Seed uses the provided seed value to initialize the generator to a |
| 246 | // deterministic state. |
no outgoing calls
no test coverage detected