Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewSource (0.17 sec)

  1. src/bufio/bufio_test.go

    					t.Errorf("have=%q", written)
    				}
    			}
    		}
    	}
    }
    
    func TestWriterAppend(t *testing.T) {
    	got := new(bytes.Buffer)
    	var want []byte
    	rn := rand.New(rand.NewSource(0))
    	w := NewWriterSize(got, 64)
    	for i := 0; i < 100; i++ {
    		// Obtain a buffer to append to.
    		b := w.AvailableBuffer()
    		if w.Available() != cap(b) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg math/rand, func Int31n(int32) int32
    pkg math/rand, func Int63() int64
    pkg math/rand, func Int63n(int64) int64
    pkg math/rand, func Intn(int) int
    pkg math/rand, func New(Source) *Rand
    pkg math/rand, func NewSource(int64) Source
    pkg math/rand, func NewZipf(*Rand, float64, float64, uint64) *Zipf
    pkg math/rand, func NormFloat64() float64
    pkg math/rand, func Perm(int) []int
    pkg math/rand, func Seed(int64)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top