Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestReadZero (0.26 sec)

  1. src/bufio/bufio_test.go

    	}
    	if got, want := rfw.readFromBytes, len(input)-bufsize; got != want {
    		t.Errorf("wrote %v bytes with ReadFrom, want %v", got, want)
    	}
    }
    
    func TestReadZero(t *testing.T) {
    	for _, size := range []int{100, 2} {
    		t.Run(fmt.Sprintf("bufsize=%d", size), func(t *testing.T) {
    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