Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docker/docker-agent
/ Load
Method
Load
pkg/concurrent/map.go:19–25 ·
view source on GitHub ↗
(key K)
Source
from the content-addressed store, hash-verified
17
}
18
19
func
(m *Map[K, V]) Load(key K) (V, bool) {
20
m.mu.RLock()
21
defer
m.mu.RUnlock()
22
23
val, ok := m.values[key]
24
return
val, ok
25
}
26
27
func
(m *Map[K, V]) Store(key K, value V) {
28
m.mu.Lock()
Callers
15
highestSiblingVersion
Function · 0.80
Calls
Method · 0.80
TestSupervisor_StartTimesOutOnSlowConnect
Function · 0.80
TestSupervisor_StartAdoptsLateConnect
Function · 0.80
TestSupervisor_StartAdoptsLateConnectAfterFirstCtxCancelled
Function · 0.80
TestSupervisor_StopWaitsForWatcher
Function · 0.80
TestSupervisor_StopConcurrent
Function · 0.80
TestOAuthTransportCoalescesConcurrentAuthorization
Function · 0.80
TestUnmanagedOAuthFlow_DriveFlow_ExchangesCodeForToken
Function · 0.80
TestUnmanagedOAuthFlow_ElicitationDeclineReturnsSentinel
Function · 0.80
TestUnmanagedOAuthFlow_ElicitationDeclineLatchesAgainstConcurrentRoundTrips
Function · 0.80
TestUnmanagedOAuthFlow_DriveFlow_RejectsStateMismatch
Function · 0.80
Calls
no outgoing calls
Tested by
15
Calls
Method · 0.64
TestSupervisor_StartTimesOutOnSlowConnect
Function · 0.64
TestSupervisor_StartAdoptsLateConnect
Function · 0.64
TestSupervisor_StartAdoptsLateConnectAfterFirstCtxCancelled
Function · 0.64
TestSupervisor_StopWaitsForWatcher
Function · 0.64
TestSupervisor_StopConcurrent
Function · 0.64
TestOAuthTransportCoalescesConcurrentAuthorization
Function · 0.64
TestUnmanagedOAuthFlow_DriveFlow_ExchangesCodeForToken
Function · 0.64
TestUnmanagedOAuthFlow_ElicitationDeclineReturnsSentinel
Function · 0.64
TestUnmanagedOAuthFlow_ElicitationDeclineLatchesAgainstConcurrentRoundTrips
Function · 0.64
TestUnmanagedOAuthFlow_DriveFlow_RejectsStateMismatch
Function · 0.64
TestUnmanagedOAuthFlow_DriveFlow_AcceptsLegacyAccessTokenReply
Function · 0.64