Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Grove (0.17 sec)

  1. src/bufio/bufio_test.go

    	}
    
    	// The Reader should have buffered all the content from the io.Reader.
    	if n := len(eofR.buf); n != 0 {
    		t.Fatalf("got %d bytes left in bufio.Reader source; want 0 bytes", n)
    	}
    	// To prove the point, check that there are still 5 bytes available to read.
    	if n := r.Buffered(); n != 5 {
    		t.Fatalf("got %d bytes buffered in bufio.Reader; want 5 bytes", n)
    	}
    
    	// This is the second read of 0 bytes.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
Back to top