MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / Vec_To

Function Vec_To

Source/Wasm/WasmRuntime.cpp:440–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

438}
439
440static int64_t Vec_To(const std::vector<Slice>& vec) {
441 std::vector<int64_t> buf(vec.size());
442 for (size_t i = 0; i < vec.size(); i++) {
443 buf[i] = Str_Retain(vec[i]);
444 }
445 return Vec_Retain(dora_vec_t(std::move(buf)));
446}
447
448static int64_t Vec_To(const std::vector<std::string>& vec) {
449 std::vector<int64_t> buf(vec.size());

Callers 13

model_get_looksFunction · 0.85
model_get_animationsFunction · 0.85
mlqlearner_unpackFunction · 0.85
spine_get_looksFunction · 0.85
spine_get_animationsFunction · 0.85
dragonbone_get_looksFunction · 0.85
content_get_search_pathsFunction · 0.85
content_get_dirsFunction · 0.85
content_get_filesFunction · 0.85
content_get_all_filesFunction · 0.85
content_globFunction · 0.85

Calls 6

Str_RetainFunction · 0.85
Vec_RetainFunction · 0.85
moveFunction · 0.85
sizeMethod · 0.45
reserveMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected