Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ New
Function
New
coderd/util/syncmap/map.go:12–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
10
}
11
12
func
New[K, V any]() *Map[K, V] {
13
return
&Map[K, V]{
14
m: sync.Map{},
15
}
16
}
17
18
func
(m *Map[K, V]) Store(k K, v V) {
19
m.m.Store(k, v)
Callers
4
TestRetries
Function · 0.92
NewFakeIDP
Function · 0.92
CustomRoleCacheContext
Function · 0.92
roleCache
Function · 0.92
Calls
no outgoing calls
Tested by
1
TestRetries
Function · 0.74