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

Function nativePushMap

valdi/src/valdi/android/MarshallerJNI.cpp:152–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150
151 return static_cast<jint>(marshaller->size());
152}
153
154jint nativePushMap(jlong ptr, jint capacity) {
155 auto* marshaller = unwrap(nullptr, ptr);
156 if (marshaller == nullptr) {
157 return 0;
158 }
159
160 return static_cast<jint>(marshaller->pushMap(static_cast<int>(capacity)));
161}
162

Callers 1

pushMapMethod · 0.85

Calls 2

unwrapFunction · 0.85
pushMapMethod · 0.45

Tested by

no test coverage detected