- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for MultiWriter (0.08 sec)
-
internal/ringbuffer/ring_buffer_test.go
var wroteBuf bytes.Buffer readHash := crc32.NewIEEE() wroteHash := crc32.NewIEEE() read := io.Writer(readHash) wrote := io.Writer(wroteHash) if debug { read = io.MultiWriter(read, &readBuf) wrote = io.MultiWriter(wrote, &wroteBuf) } debugln := func(args ...interface{}) { if debug { fmt.Println(args...) } } // Inject random reader/writer sleeps.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0)