Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rebato (0.14 sec)

  1. src/bufio/bufio_test.go

    			}
    		}
    
    		// Read the data with occasional UnreadByte calls.
    		for i := 0; i < n; i++ {
    			readTo('d', "abcd")
    			for j := 0; j < 3; j++ {
    				if err := r.UnreadByte(); err != nil {
    					t.Fatalf("#%d: unexpected error on UnreadByte: %v", rno, err)
    				}
    				readTo('d', "d")
    			}
    			readTo('g', "efg")
    		}
    
    		// All data should have been read.
    		_, err := r.ReadByte()
    		if err != io.EOF {
    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)
Back to top