MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getInt

Method getInt

valdi/test/integration/MmapModuleArchive_tests.cpp:71–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 return _config.getMapValue(key).toFloat();
70 }
71 int32_t getInt(const StringBox& key, int32_t) override {
72 return _config.getMapValue(key).toInt();
73 }
74 Value getBinary(const StringBox& key, const Value&) override {
75 return _config.getMapValue(key);
76 }

Callers

nothing calls this directly

Calls 2

getMapValueMethod · 0.80
toIntMethod · 0.45

Tested by

no test coverage detected