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

Function peek

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

Source from the content-addressed store, hash-verified

55 var load = module.exports[load_fn];
56 var store = module.exports[store_fn];
57 function peek() { return load(offset); }
58 function poke(value) { return store(offset, value); }
59
60 // Instead of checking every n-th offset, check the first 5.

Calls 2

loadFunction · 0.70
loadMethod · 0.45

Tested by

no test coverage detected