- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestReaderAtConcurrent (0.12 sec)
-
src/bytes/reader_test.go
t.Errorf("%d. got %q; want %q", i, got, tt.want) } if fmt.Sprintf("%v", err) != fmt.Sprintf("%v", tt.wanterr) { t.Errorf("%d. got error = %v; want %v", i, err, tt.wanterr) } } } func TestReaderAtConcurrent(t *testing.T) { // Test for the race detector, to verify ReadAt doesn't mutate // any state. r := NewReader([]byte("0123456789")) var wg sync.WaitGroup for i := 0; i < 5; i++ { wg.Add(1)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0)