Home | History | Annotate | Download | only in rand

Lines Matching refs:readPos

57 	// readPos indicates the number of low-order bytes of readVal
59 readPos int8
73 lk.seedPos(seed, &r.readPos)
78 r.readPos = 0
259 return lk.read(p, &r.readVal, &r.readPos)
261 return read(p, r.Int63, &r.readVal, &r.readPos)
264 func read(p []byte, int63 func() int64, readVal *int64, readPos *int8) (n int, err error) {
265 pos := *readPos
276 *readPos = pos
397 func (r *lockedSource) seedPos(seed int64, readPos *int8) {
400 *readPos = 0
405 func (r *lockedSource) read(p []byte, readVal *int64, readPos *int8) (n int, err error) {
407 n, err = read(p, r.src.Int63, readVal, readPos)