MCPcopy Create free account
hub / github.com/apache/kvrocks / SizeToString

Function SizeToString

src/commands/cmd_json.cc:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48std::string SizeToString(const std::vector<std::size_t> &elems) {
49 std::string result = MultiLen(elems.size());
50 for (const auto &elem : elems) {
51 result += redis::Integer(elem);
52 }
53 return result;
54}
55
56class CommandJsonSet : public Commander {
57 public:

Callers 1

ExecuteMethod · 0.85

Calls 2

MultiLenFunction · 0.85
IntegerFunction · 0.50

Tested by

no test coverage detected