- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestReadAfterBigSeek (0.13 sec)
-
src/bytes/reader_test.go
t.Errorf("%d. read = %v; want %v", i, err, tt.readerr) continue } got := string(buf[:n]) if got != tt.want { t.Errorf("%d. got %q; want %q", i, got, tt.want) } } } func TestReadAfterBigSeek(t *testing.T) { r := NewReader([]byte("0123456789")) if _, err := r.Seek(1<<31+5, io.SeekStart); err != nil { t.Fatal(err) } if n, err := r.Read(make([]byte, 10)); n != 0 || err != io.EOF {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0)