Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/go-redis
/ len
Method
len
internal/pool/want_conn_test.go:11–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
)
10
11
func
(q *wantConnQueue) len() int {
12
q.mu.RLock()
13
defer
q.mu.RUnlock()
14
return
len(q.items)
15
}
16
17
func
TestWantConn_getCtxForDial(t *testing.T) {
18
ctx := context.Background()
Callers
11
DialsQueueLen
Method · 0.45
TestWantConnQueue_dropFrontDone_EmptyQueue
Function · 0.45
TestWantConnQueue_dropFrontDone_AllDone
Function · 0.45
TestWantConnQueue_dropFrontDone_NoneDone
Function · 0.45
TestWantConnQueue_dropFrontDone_PartialDone
Function · 0.45
TestWantConnQueue_dropFrontDone_SingleElement
Function · 0.45
TestWantConnQueue_dropFrontDone_MultipleCalls
Function · 0.45
TestWantConnQueue_dropFrontDone_ConcurrentWithEnqueue
Function · 0.45
TestWantConnQueue_dropFrontDone_ConcurrentWithDequeue
Function · 0.45
TestWantConnQueue_len
Function · 0.45
TestWantConnQueue_len_Concurrent
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected