MCPcopy Index your code
hub / github.com/nodejs/node / clearMemory

Function clearMemory

deps/v8/test/mjsunit/wasm/stringrefs-exec.js:429–433  ·  view source on GitHub ↗
(low, high)

Source from the content-addressed store, hash-verified

427 let instance = builder.instantiate();
428 let memory = new Uint8Array(instance.exports.memory.buffer);
429 function clearMemory(low, high) {
430 for (let i = low; i < high; i++) {
431 memory[i] = 0;
432 }
433 }
434 function assertMemoryBytesZero(low, high) {
435 for (let i = low; i < high; i++) {
436 assertEquals(0, memory[i]);

Callers 2

stringrefs-exec.jsFile · 0.85
checkEncodingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected