Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 1004 (0.21 sec)

  1. src/bytes/buffer_test.go

    	tmp := make([]byte, 72)
    	for _, growLen := range []int{0, 100, 1000, 10000, 100000} {
    		for _, startLen := range []int{0, 100, 1000, 10000, 100000} {
    			xBytes := Repeat(x, startLen)
    
    			buf := NewBuffer(xBytes)
    			// If we read, this affects buf.off, which is good to test.
    			readBytes, _ := buf.Read(tmp)
    			yBytes := Repeat(y, growLen)
    			allocs := testing.AllocsPerRun(100, func() {
    				buf.Grow(growLen)
    				buf.Write(yBytes)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    1024                int16       1024 is in the set of 16-bit integers
    42.0                byte        42 is in the set of unsigned 8-bit integers
    1e10                uint64      10000000000 is in the set of unsigned 64-bit integers
    2.718281828459045   float32     2.718281828459045 rounds to 2.7182817 which is in the set of float32 values
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top