code wiki / (root) / nx_nn_probe.nx

nx_nn_probe.nx

buildroot/runtime/nx_nn_probe.nx

280 B4 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind probetopic nn
docsdependenciesstructsconstsfunctions

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_nn_probe.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main absdiff 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 ↻ sys_write ↻

structs

none

consts

none

functions

2func absdiff(a: i64, b: i64) -> i64 { if a < b { return b - a } return a - b }
called by 1: main
4func main() -> i64 { if absdiff(3, 7) == 4 { if absdiff(7, 3) == 4 { let b: *u8 = sys_mmap(8); b[0] = 79 as u8; b[1] = 75 as u8; sys_write(1, b, 2); return 0 } } return 1 }