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

Method getMapEstimatedLength

valdi/src/valdi/android/JavaValueDelegate.cpp:190–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190size_t JavaValueDelegate::getMapEstimatedLength(const JavaValue& map, Valdi::ExceptionTracker& exceptionTracker) {
191 auto size = JavaEnv::getCache().getMapSizeMethod().call(javaValueToObject(map));
192 return static_cast<size_t>(size);
193}
194
195void JavaValueDelegate::visitMapKeyValues(const JavaValue& map,
196 Valdi::PlatformMapValueVisitor<JavaValue>& visitor,

Callers 1

marshallMethod · 0.45

Calls 2

javaValueToObjectFunction · 0.85
callMethod · 0.65

Tested by

no test coverage detected