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

Function assertMemoryBytesZero

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

Source from the content-addressed store, hash-verified

432 }
433 }
434 function assertMemoryBytesZero(low, high) {
435 for (let i = low; i < high; i++) {
436 assertEquals(0, memory[i]);
437 }
438 }
439 function checkMemory(offset, bytes) {
440 let slop = 64;
441 assertMemoryBytesZero(Math.max(0, offset - slop), offset);

Callers 1

checkMemoryFunction · 0.85

Calls 1

assertEqualsFunction · 0.50

Tested by

no test coverage detected