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

Function fillTable

deps/v8/test/mjsunit/wasm/table-grow.js:69–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 let table = new WebAssembly.Table({element: "anyfunc",
68 initial: 1, maximum:kMaxTableSize});
69 function fillTable() {
70 for (let i = 0; i < table.length; i++) table.set(i, id);
71 return table;
72 }
73 fillTable();
74 let instance1 = new WebAssembly.Instance(module, {imp: {table:table}});
75 testBounds(instance1.exports.main, table);

Callers 1

table-grow.jsFile · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected