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

Function TestStore

deps/v8/test/mjsunit/wasm/atomics.js:566–572  ·  view source on GitHub ↗
(func, buffer, value, size)

Source from the content-addressed store, hash-verified

564})();
565
566function TestStore(func, buffer, value, size) {
567 for (let i = 0; i < buffer.length; i = inc(i)) {
568 func(i * size, value)
569 assertEquals(value, buffer[i]);
570 }
571 VerifyBoundsCheck(func, size);
572}
573
574(function TestAtomicStore() {
575 print(arguments.callee.name);

Callers 1

atomics.jsFile · 0.85

Calls 4

VerifyBoundsCheckFunction · 0.85
incFunction · 0.70
funcFunction · 0.70
assertEqualsFunction · 0.50

Tested by

no test coverage detected