MCPcopy Create free account
hub / github.com/apache/brpc / SetKeyValue

Method SetKeyValue

test/crash_logging_unittest.cc:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34 private:
35 static void SetKeyValue(const butil::StringPiece& key,
36 const butil::StringPiece& value) {
37 (*key_values_)[key.as_string()] = value.as_string();
38 }
39
40 static void ClearKeyValue(const butil::StringPiece& key) {
41 key_values_->erase(key.as_string());

Callers

nothing calls this directly

Calls 1

as_stringMethod · 0.45

Tested by

no test coverage detected