MCPcopy Index your code
hub / github.com/nodejs/node / check

Function check

deps/v8/test/mjsunit/wasm/table.js:246–251  ·  view source on GitHub ↗
(table)

Source from the content-addressed store, hash-verified

244 for (let i = 15; i < 20; ++i) table.set(i, host);
245 }
246 function check(table) {
247 for (let i = 0; i < 5; ++i) assertSame(wasm, table.get(i));
248 for (let i = 6; i < 15; ++i) assertSame(null, table.get(i));
249 for (let i = 15; i < 20; ++i) assertSame(host, table.get(i));
250 for (let i = 21; i < table.length; ++i) assertSame(null, table.get(i));
251 }
252
253 let table = new WebAssembly.Table({element: "anyfunc", initial: 20});
254 init(table);

Callers 15

modules-init3.mjsFile · 0.90
table.jsFile · 0.70
testCallFFIFunction · 0.70
testCallImportFunction · 0.70
_CommonChecksFunction · 0.50
load.jsFile · 0.50
load_expected.jsFile · 0.50
_CommonChecksFunction · 0.50
ignore_by_outputMethod · 0.50
testOutputCappingMethod · 0.50
testIgnoredLinesMethod · 0.50
testFilterFlagsMethod · 0.50

Calls 2

getMethod · 0.65
assertSameFunction · 0.50

Tested by 6

testOutputCappingMethod · 0.40
testIgnoredLinesMethod · 0.40
testFilterFlagsMethod · 0.40
test_extra_flagsMethod · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…