- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for errClosed (0.14 sec)
-
src/net/http/transport_test.go
pw.Close() <-gotRes } type wgReadCloser struct { io.Reader wg *sync.WaitGroup closed bool } func (c *wgReadCloser) Close() error { if c.closed { return net.ErrClosed } c.closed = true c.wg.Done() return nil } // Issue 11745. func TestTransportPrefersResponseOverWriteError(t *testing.T) { // Not parallel: modifies the global rstAvoidanceDelay.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework_test.go
type TestCloseErrorPlugin struct { name string } func (pl *TestCloseErrorPlugin) Name() string { return pl.name } var errClose = errors.New("close err") func (pl *TestCloseErrorPlugin) Close() error { return errClose } // TestPreFilterPlugin only implements PreFilterPlugin interface. type TestPreFilterPlugin struct { PreFilterCalled int }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 103K bytes - Viewed (0)