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

Function checkView

deps/v8/test/mjsunit/wasm/asm-wasm-heap.js:51–55  ·  view source on GitHub ↗
(view, load, shift)

Source from the content-addressed store, hash-verified

49
50
51function checkView(view, load, shift) {
52 for (var i = 0; i < 300; i++) {
53 assertEquals(view[i >> shift], load(i));
54 }
55}
56
57function RunAsmJsTest(asmfunc, expect) {
58 var asm_source = asmfunc.toString();

Callers 1

asm-wasm-heap.jsFile · 0.85

Calls 2

loadFunction · 0.70
assertEqualsFunction · 0.50

Tested by

no test coverage detected