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

Function growMem

deps/v8/test/mjsunit/wasm/grow-memory.js:56–56  ·  view source on GitHub ↗
(pages)

Source from the content-addressed store, hash-verified

54 function peek() { return load(offset); }
55 function poke(value) { return store(offset, value); }
56 function growMem(pages) { return module.exports.grow_memory(pages); }
57
58 // Instead of checking every n-th offset, check the first 5.
59 for(offset = 0; offset <= (4*size); offset+=size) {

Calls

no outgoing calls

Tested by

no test coverage detected