MCPcopy Create free account
hub / github.com/Rezonality/zep / ToString

Method ToString

include/zep/mcommon/string/stringutils.h:119–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 return id;
118 }
119 std::string ToString() const
120 {
121 auto itr = GetStringLookup().find(id);
122 if (itr == GetStringLookup().end())
123 {
124 return "murmur:" + std::to_string(id);
125 }
126 return itr->second;
127 }
128
129 static std::unordered_map<uint32_t, std::string>& GetStringLookup();
130};

Callers 3

keymap_dumpFunction · 0.45
keymap_findFunction · 0.45
stringutils.hFile · 0.45

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected