code wiki / _hdl_build / nx_work_retro_gate.nx

nx_work_retro_gate.nx

buildroot/runtime/_hdl_build/nx_work_retro_gate.nx

6493 B108 linesdepth 4pulls 7 transitivereach 0 importersview sourcekind gate/prooftopic work
docsdependenciesstructsconstsfunctions

dependencies 4 imports · 0 importers

nx_gate_gn.nx nx_syscalls.nx nx_work_retro_lib.nx nx_gate_verdict.nx nx_work_retro_gate.nx

imports: nx_gate_gn.nxnx_syscalls.nxnx_work_retro_lib.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

structs

none

consts

15const G_ROOT: *u8 = "/tmp/nx_wretro_gate"
16const G_MEM: *u8 = "/tmp/nx_wretro_gate/mem"
17const G_SWEEP: *u8 = "/tmp/nx_wretro_gate/sweep"
18const G_WLOG: *u8 = "/tmp/nx_wretro_gate/worklog.tsv"

functions

20func gp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
21func gstrlen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
22func gwrite(path: *u8, content: *u8) -> i64
29func gfind(buf: *u8, n: i64, pat: *u8) -> i64
42func main(argc: i64, argv: *i64) -> i64