MCPcopy Create free account
hub / github.com/NativeScript/android / GetTypeLongCache

Method GetTypeLongCache

test-app/runtime/src/main/cpp/ArgConverter.cpp:198–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198ArgConverter::TypeLongOperationsCache* ArgConverter::GetTypeLongCache(v8::Isolate* isolate) {
199 TypeLongOperationsCache* cache;
200 auto itFound = s_type_long_operations_cache.find(isolate);
201 if (itFound == s_type_long_operations_cache.end()) {
202 cache = new TypeLongOperationsCache;
203 s_type_long_operations_cache.emplace(isolate, cache);
204 } else {
205 cache = itFound->second;
206 }
207
208 return cache;
209}
210
211
212u16string ArgConverter::ConvertToUtf16String(const v8::Local<String>& s) {

Callers

nothing calls this directly

Calls 3

emplaceMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected