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

Function inc

deps/v8/test/mjsunit/wasm/atomics.js:150–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148// Test many elements in the small range, make bigger steps later. This is still
149// O(2^n), but takes 213 steps to reach 2^32.
150const inc = i => i + Math.floor(i/10) + 1;
151
152function Test32Op(operation, func) {
153 let i32 = new Uint32Array(memory.buffer);

Callers 15

Test32OpFunction · 0.70
Test16OpFunction · 0.70
Test8OpFunction · 0.70
Test64OpFunction · 0.70
Test32Op64Function · 0.70
Test16Op64Function · 0.70
Test8Op64Function · 0.70
TestCmpExchangeFunction · 0.70
TestLoadFunction · 0.70
TestStoreFunction · 0.70
function-bind.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected