code wiki / (root) / nx_ladder.nx

nx_ladder.nx

buildroot/runtime/nx_ladder.nx

9461 B192 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind tooltopic ladder
docsdependenciesstructsconstsfunctions

about

nx_ladder.nx -- CLI over nx_ladder_lib: does this board say what best-in-class and the frontier are (dated), and what every rung is FOR on the way there? One domain, or `all` over regen.list for the estate-wide census. nx_ladder <domain> per target and per rung lines, the partition, verdict LAST nx_ladder all one line per domain in regen.list, then the estate partition; exit 1 if any PARTIAL exit: 0 LADDERED | 1 PARTIAL (declared and broken: the hard fail) | 2 usage | 3 NO-LADDER or NO-PLAN license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_barfresh_lib.nx nx_ladder_lib.nx nx_ladder.nx

imports: nx_syscalls.nxnx_barfresh_lib.nxnx_ladder_lib.nx

imported by: nobody (leaf or entry point)

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

main ldc_w sys_write bf_slen sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ ld_span_is bf_slen ↻ bf_slen ↻ ct_build_path ct_cat ct_first_published sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close ct_second_published bf_line_end bf_read_plan sys_mmap ↻ ct_build_path ↻ sys_read_file ↻ ldc_report bf_count_rows

structs

none

consts

11const LDC_ARG_DOMAIN: i64 = 1
12const LDC_EXIT_USAGE: i64 = 2
13const LDC_NUM_CAP: i64 = 24
14const LDC_STDOUT: i64 = 1
15const LDC_ALL: *u8 = "all"
16const LDC_REGEN_DOM: *u8 = "regen"
17const LDC_REGEN_SUFFIX: *u8 = ".list"
18const LDC_NAME_CAP: i64 = 128
19const LDC_EXIT_NOPLAN: i64 = 3

functions

21func ldc_w(s: *u8) -> i64
24func ldc_wn(v: i64) -> i64
called by 2: ldc_reportmain calls 2: sys_mmapldc_w
37func ldc_wspan(buf: *u8, off: i64, len: i64) -> i64
called by 1: ldc_report calls 1: sys_write
43func ldc_report(dom: *u8, buf: *u8, n: i64, verbose: i64) -> i64
123func main(argc: i64, argv: *i64) -> i64