code wiki / (root) / nx_scratch_probe.nx

nx_scratch_probe.nx

buildroot/runtime/nx_scratch_probe.nx

1421 B35 linesdepth 1pulls 1 transitivereach 0 importersview sourcekind probe
docsdependenciesstructsconstsfunctions

about

nx_scratch_probe.nx -- R0.0b proof kernel: uses the WASM-lane nx_scratch to allocate DISTINCT framed buffers, the multi-word-local idiom that the wat lane previously had no allocator for. If nx_scratch handed back the same address (the old no-op-alloca failure mode), a and b would alias and the sum would be wrong; distinct buffers give the correct native-equivalent answer. Pure (imports only nx_wasm_scratch).

dependencies 1 imports · 0 importers

nx_wasm_scratch.nx nx_scratch_probe.nx

imports: nx_wasm_scratch.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

8func sp_two(n: i64) -> i64
called by 1: sp_probe calls 1: nx_scratch
20func sp_gap() -> i64
29func sp_probe() -> i64