code wiki / (root) / sj_probe_a1.nx

sj_probe_a1.nx

buildroot/runtime/sj_probe_a1.nx

1977 B61 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind probetopic sj
docsdependenciesstructsconstsfunctions

about

GENERATED by nx_symjudge -- sweep harness, do not edit

dependencies 1 imports · 0 importers

nx_syscalls.nx sj_probe_a1.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

3func absdiff(a: i64, b: i64) -> i64 { if a < b { return b - a } return a - b }
4func sjh_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
5func sjh_nl() -> i64 { let b: *u8 = sys_mmap(8); b[0] = 10 as u8; sys_write(1, b, 1); return 0 }
6func sjh_n(v: i64) -> i64
19func main() -> i64