Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for delim (0.03 sec)

  1. src/bufio/bufio_test.go

    		for i := 0; i < n; i++ {
    			buf.WriteString("abcdefg")
    		}
    
    		r := NewReaderSize(&buf, minReadBufferSize)
    		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)
    			}
    		}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top