Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dropbox/godropbox
/ Set
Method
Set
container/concurrent/map.go:35–39 ·
view source on GitHub ↗
(key interface{}, value interface{})
Source
from the content-addressed store, hash-verified
33
}
34
35
func
(p *mapImp) Set(key
interface
{}, value
interface
{}) {
36
p.lock.Lock()
37
defer
p.lock.Unlock()
38
p.m[key] = value
39
}
40
41
func
(p *mapImp) Delete(key
interface
{}) {
42
p.lock.Lock()
Callers
nothing calls this directly
Calls
2
Lock
Method · 0.65
Unlock
Method · 0.65
Tested by
no test coverage detected