Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grpc/grpc-go
/ mapWithLock
Struct
mapWithLock
benchmark/primitives/syncmap_test.go:31–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
}
30
31
type
mapWithLock
struct
{
32
mu sync.Mutex
33
m
map
[string]uint64
34
}
35
36
func
newMapWithLock() incrementUint64Map {
37
return
&mapWithLock{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected