code wiki / _hdl_build / nx_evolution_oracle_gate.nx
nx_evolution_oracle_gate.nx
buildroot/runtime/_hdl_build/nx_evolution_oracle_gate.nx
dependencies 3 imports · 0 importers
imports: nx_gate_gn.nxnx_gate_base.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 18 | const O_NPROBE: i64 = 4 |
| 19 | const O_MAXOPS: i64 = 8 |
| 20 | const O_MAXLIN: i64 = 16 |
functions
| 23 | func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw(" calls 1: gw |
| 25 | func o_sig(ops: *i64, args: *i64, len: i64, sig: *i64) -> i64 |
| 34 | func o_sigeq(a: *i64, b: *i64) -> i64 { var p: i64=0; while p<O_NPROBE { if a[p]!=b[p] { return 0 } p=p+1 } return 1 } |
| 38 | func lin_find(lin_sig: *i64, nlin: i64, sig: *i64) -> i64 |
| 44 | func lin_put(lin_sig: *i64, lin_len: *i64, lin_ops: *i64, idx: i64, sig: *i64, ops: *i64, args: *i64, len: i64) -> i64 |
| 53 | func o_grade(lin_sig: *i64, lin_len: *i64, lin_ops: *i64, nlin_p: *i64, ops: *i64, args: *i64, len: i64, bt_len: *i64) -> i64 |
| 70 | func main(argc: i64, argv: *i64) -> i64 |