MCPcopy Create free account
hub / github.com/rsc/tmp / Set

Method Set

mpt/tree.go:27–27  ·  view source on GitHub ↗

Set adds the given key-value pair to the tree. If there is already an entry for the given key, then val replaces the old value. Set is a mutating operation and must not be called concurrently with any other Tree method calls (including other calls to Set).

(key Key, val Val)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

ratProbFunction · 0.65
mainFunction · 0.65
gerrit1Function · 0.65
unmarshalValueOfFunction · 0.65
unmarshalFunction · 0.65
mpmovefixfixFunction · 0.65
mpmovefltfltFunction · 0.65
mpgetfltNFunction · 0.65
checkQuoFunction · 0.65
testBitFunSelfFunction · 0.65
testBitsetFunction · 0.65
ModMethod · 0.65

Implementers 2

diskTreempt/disk.go
memTreempt/mem.go

Calls

no outgoing calls

Tested by 12

checkQuoFunction · 0.52
testBitFunSelfFunction · 0.52
testBitsetFunction · 0.52
TestRatAbsFunction · 0.52
TestIssue3521Function · 0.52
testFloatRoundFunction · 0.52
setMethod · 0.52
benchmarkSetFunction · 0.52
benchmarkProofFunction · 0.52
reopenMethod · 0.52
testDiskRecoveryFunction · 0.52
TestDiskReopenFunction · 0.52