- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IdleConnKeyCountForTesting (0.18 sec)
-
src/net/http/export_test.go
t.idleMu.Lock() defer t.idleMu.Unlock() for key := range t.idleConn { keys = append(keys, key.String()) } slices.Sort(keys) return } func (t *Transport) IdleConnKeyCountForTesting() int { t.idleMu.Lock() defer t.idleMu.Unlock() return len(t.idleConn) } func (t *Transport) IdleConnStrsForTesting() []string { var ret []string t.idleMu.Lock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:11:57 UTC 2024 - 8.7K bytes - Viewed (0)