code wiki / _hdl_build / nx_ims_page_selftest.nx

nx_ims_page_selftest.nx

buildroot/runtime/_hdl_build/nx_ims_page_selftest.nx

3084 B54 linesdepth 10pulls 14 transitivereach 0 importersview sourcekind tooltopic ims
docsdependenciesstructsconstsfunctions

about

nx_ims_page_selftest.nx -- smoke test for the reusable generator nx_ims_page. Renders a throwaway page for an EXISTING reachable slug ("nist_stem") so the walk furniture has a real wiki_links.tsv row to read, writes it to /tmp, and asserts the emitted bytes carry the furniture markers + the type label. NOT published. Proves the generator is data-driven (reads wiki_links.tsv + ims_typemap.tsv) and reusable. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_ims_page.nx nx_syscalls.nx nx_ims_page_selftest.nx

imports: nx_ims_page.nxnx_syscalls.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 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 ↻ ip_render sys_mmap ↻ ip_typemap_load sys_mmap ↻ ncfg_open ss_open_cached ssc_init sys_mmap ↻ ssc_sig_of ss_cat sys_fstatat ssc_streq ss_open ss_open2 ssc_retire_handle ncfg_count sys_mmap ↻ ncfg_count_key ss_hget sys_mmap ↻ ss_len ss_hlocate ssl_hash_raw ss_r32

structs

none

consts

9const K_MAGIC_1781800000: i64 = 1781800000

functions

11func st_w(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 st_num(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
21func st_has(hay: *u8, n: i64, needle: *u8) -> i64
called by 1: main
34func main() -> i64