Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rno (0.65 sec)

  1. src/bufio/bufio_test.go

    		readTo := func(delim byte, want string) {
    			data, err := read(r, delim)
    			if err != nil {
    				t.Fatalf("#%d: unexpected error reading to %c: %v", rno, delim, err)
    			}
    			if got := string(data); got != want {
    				t.Fatalf("#%d: got %q, want %q", rno, got, want)
    			}
    		}
    
    		// Read the data with occasional UnreadByte calls.
    		for i := 0; i < n; i++ {
    			readTo('d', "abcd")
    			for j := 0; j < 3; j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
Back to top