code wiki / _hdl_build / dep_pipeline.nx

dep_pipeline.nx

buildroot/runtime/_hdl_build/dep_pipeline.nx

1582 B25 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic dep
docsdependenciesstructsconstsfunctions

about

AUTHORED BY nx_compose_builder (X-AUTH-EXT-001 composition shape) from a DATA spec. Fail-fast pipeline sequencer: run stages in order; 0 if all exit 0, else 1-based index of the first failure (the abort/rollback point). KAT computed from the step count.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_itoa_lib.nx dep_pipeline.nx

imports: nx_syscalls.nxnx_itoa_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap dep_pipeline_run dep_pipeline_p sys_write dep_pipeline_pn nxi_out nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap

structs

none

consts

none

functions

6func dep_pipeline_run(codes: *i64, n: i64) -> i64 { var i: i64 = 0; while i < n { if codes[i] != 0 { return i + 1 } i = i + 1 } return 0 }
called by 1: main
7func dep_pipeline_p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
12func dep_pipeline_pn(v: i64) -> i64 { nxi_out(v); return 0 }
called by 1: main calls 1: nxi_out
13func main() -> i64