MCPcopy Create free account
hub / github.com/google/gapid / Add

Method Add

core/data/dictionary/dictionary.go:30–30  ·  view source on GitHub ↗

Add inserts the key-value pair, replacing any existing entry with the same key.

(key, val interface{})

Source from the content-addressed store, hash-verified

28 // Add inserts the key-value pair, replacing any existing entry with the
29 // same key.
30 Add(key, val interface{})
31 // Lookup searches for the value of the entry with the given key.
32 Lookup(key interface{}) (val interface{}, found bool)
33 // Contains returns true if the dictionary contains an entry with the given

Callers 15

TestLogcatFunction · 0.65
TestHostConcurrentFunction · 0.65
StartMethod · 0.65
doTunnelMethod · 0.65
TestDictionaryFunction · 0.65
AddCleanupSignalFunction · 0.65
AddVerbFunction · 0.65
CrashFunction · 0.65
TestDurationCounterFunction · 0.65
AddMethod · 0.65
HasNameMethod · 0.65

Implementers 2

dictcore/data/dictionary/dictionary.go
sourcecore/data/dictionary/source.go

Calls

no outgoing calls

Tested by 7

TestLogcatFunction · 0.52
TestHostConcurrentFunction · 0.52
TestDictionaryFunction · 0.52
TestDurationCounterFunction · 0.52
TestCodegenFunction · 0.52
TestNumericFunction · 0.52