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

Function TestLoad

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

Source from the content-addressed store, hash-verified

532})();
533
534function TestLoad(func, buffer, value, size) {
535 for (let i = 0; i < buffer.length; i = inc(i)) {
536 buffer[i] = value;
537 assertEquals(value, func(i * size) >>> 0);
538 }
539 VerifyBoundsCheck(func, size);
540}
541
542(function TestAtomicLoad() {
543 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