MCPcopy Create free account
hub / github.com/nodejs/node / padp

Function padp

deps/v8/tools/wasm/wasm-import-profiler.js:66–72  ·  view source on GitHub ↗
(s, len)

Source from the content-addressed store, hash-verified

64 return s;
65 }
66 function padp(s, len) {
67 s = s.toString();
68 var i = s.indexOf(".");
69 if (i == -1) i = s.length;
70 while (i++ < len) s = " " + s;
71 return s;
72 }
73
74 // patch: WebAssembly.instantiate (async)
75 let orig_instantiate = WebAssembly.instantiate;

Callers 1

dumpProfileFunction · 0.85

Calls 2

toStringMethod · 0.45
indexOfMethod · 0.45

Tested by

no test coverage detected