MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / passArray32ToWasm0

Function passArray32ToWasm0

out/cli.cjs:25594–25599  ·  view source on GitHub ↗
(arg, malloc)

Source from the content-addressed store, hash-verified

25592 return ptr;
25593 }
25594 function passArray32ToWasm0(arg, malloc) {
25595 const ptr = malloc(arg.length * 4, 4) >>> 0;
25596 getUint32Memory0().set(arg, ptr / 4);
25597 WASM_VECTOR_LEN = arg.length;
25598 return ptr;
25599 }
25600 function getArrayU8FromWasm0(ptr, len) {
25601 ptr = ptr >>> 0;
25602 return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);

Callers 1

decodeMethod · 0.85

Calls 2

getUint32Memory0Function · 0.85
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…