MCPcopy Index your code
hub / github.com/python/cpython / resolveString

Function resolveString

Lib/profiling/sampling/_flamegraph_assets/flamegraph.js:43–51  ·  view source on GitHub ↗
(index, table = stringTable)

Source from the content-addressed store, hash-verified

41// ============================================================================
42
43function resolveString(index, table = stringTable) {
44 if (index === null || index === undefined) {
45 return null;
46 }
47 if (typeof index === 'number' && index >= 0 && index < table.length) {
48 return table[index];
49 }
50 return String(index);
51}
52
53function resolveStringIndices(node, table) {
54 if (!node) return node;

Callers 6

resolveStringIndicesFunction · 0.85
updateStatusBarFunction · 0.85
createPythonTooltipFunction · 0.85
updateSearchHighlightFunction · 0.85
collectUniqueFunctionsFunction · 0.85
collectFunctionsFunction · 0.85

Calls 1

StringClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…