MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / GetNameIdx

Method GetNameIdx

src/hx/Telemetry.cpp:391–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391int hx::Telemetry::GetNameIdx(const char *fullName) {
392 int idx = nameMap[fullName];
393 if (idx==0) {
394 idx = names.size();
395 nameMap[fullName] = idx;
396 names.push_back(fullName);
397 }
398 return idx;
399}
400
401int hx::Telemetry::ComputeCallStackId() {
402 std::vector<int> callstack;

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected