- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for checkWrite (0.1 sec)
-
src/io/pipe_test.go
// license that can be found in the LICENSE file. package io_test import ( "bytes" "fmt" . "io" "slices" "strings" "testing" "time" ) func checkWrite(t *testing.T, w Writer, data []byte, c chan int) { n, err := w.Write(data) if err != nil { t.Errorf("write: %v", err) } if n != len(data) { t.Errorf("short write: %d != %d", n, len(data)) } c <- 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9K bytes - Viewed (0)