- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for wantIdle (0.1 sec)
-
src/net/http/transport_test.go
t.Fatal("second put failed") } wantIdle("after put", 2) tr.CloseIdleConnections() if !tr.IsIdleForTesting() { t.Error("should be idle after CloseIdleConnections") } wantIdle("after close idle", 0) if tr.PutIdleTestConn("http", "example.com") { t.Fatal("put didn't fail") } wantIdle("after second put", 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
src/runtime/symtabinl_test.go
// this robust. continue } for ; uf.valid(); uf = u.next(uf) { file, line := u.fileLine(uf) const wantFile = "symtabinl_test.go" if !stringslite.HasSuffix(file, wantFile) { t.Errorf("tiuTest+%#x: want file ...%s, got %s", pc-pc1, wantFile, file) } sf := u.srcFunc(uf) name := sf.name() const namePrefix = "runtime." if stringslite.HasPrefix(name, namePrefix) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 3K bytes - Viewed (0) -
cmd/erasure-common.go
}, index) } dataArray := make([]ReadMultipleResp, 0, len(req.Files)) // Merge results. They should come in order from each. for _, wantFile := range req.Files { quorum := 0 toAdd := ReadMultipleResp{ Bucket: req.Bucket, Prefix: req.Prefix, File: wantFile, } for i := range resps { if disks[i] == nil { continue } select { case <-ctx.Done():
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
internal/grid/grid_test.go
}, OutCapacity: 1, InCapacity: 1, })) } register(local) register(remote) // Double remote DL local.debugMsg(debugAddToDeadline, wantDL) defer local.debugMsg(debugAddToDeadline, time.Duration(0)) remote.debugMsg(debugAddToDeadline, wantDL) defer remote.debugMsg(debugAddToDeadline, time.Duration(0)) testHandler := func(t *testing.T, handler HandlerID) { remoteConn := local.Connection(remoteHost)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 36.4K bytes - Viewed (0)