MCPcopy
hub / github.com/dropbox/godropbox / Set

Method Set

container/concurrent/map.go:10–10  ·  view source on GitHub ↗

Sets the value for a particular item in the map

(key interface{}, value interface{})

Source from the content-addressed store, hash-verified

8 Get(key interface{}) (interface{}, bool)
9 // Sets the value for a particular item in the map
10 Set(key interface{}, value interface{})
11 // Deletes an item from the map with the provided key
12 Delete(key interface{})
13 // Retrieves the size of the map

Callers 7

TestBasicMethod · 0.95
TestBasicMethod · 0.65
TestSetMethod · 0.65
TestSetOneBitMethod · 0.65
TestSetClearFunction · 0.65
TestIsAnySetFunction · 0.65
TestIsAnyClearFunction · 0.65

Implementers 2

LRUCachecontainer/lrucache/lrucache.go
mapImpcontainer/concurrent/map.go

Calls

no outgoing calls

Tested by 7

TestBasicMethod · 0.76
TestBasicMethod · 0.52
TestSetMethod · 0.52
TestSetOneBitMethod · 0.52
TestSetClearFunction · 0.52
TestIsAnySetFunction · 0.52
TestIsAnyClearFunction · 0.52