MCPcopy Create free account
hub / github.com/bytedance/bolt / setValue

Method setValue

bolt/core/Config.h:151–153  ·  view source on GitHub ↗

Adds or replaces value at the given key. Can be used by debugging or testing code.

Source from the content-addressed store, hash-verified

149 /// Adds or replaces value at the given key. Can be used by debugging or
150 /// testing code.
151 void setValue(const std::string& key, const std::string& value) {
152 (*values_.wlock())[key] = value;
153 }
154
155 private:
156 folly::Synchronized<std::unordered_map<std::string, std::string>> values_;

Callers 10

finishArbitrationMethod · 0.45
addPoolMethod · 0.45
freeCapacityMethod · 0.45
finishArbitrationMethod · 0.45
prepareMethod · 0.45
randomReadsMethod · 0.45
setExclusiveToSharedMethod · 0.45
releaseMethod · 0.45
setEndStateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected