code wiki / _hdl_build / nx_editdist_gate.nx
nx_editdist_gate.nx
buildroot/runtime/_hdl_build/nx_editdist_gate.nx
about
nx_editdist_gate.nx -- KATs for the bounded Levenshtein (the typo rung's math floor). license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_editdist.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
| none |
functions
| 4 | func g_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 5 | func g_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: g_ed |
| 6 | func g_num(v: i64) -> i64 called by 1: main |
| 15 | func g_ed(a: *u8, b: *u8, bound: i64) -> i64 { return ed_bounded(a, g_len(a), b, g_len(b), bound) } |
| 16 | func g_check(name: *u8, cond: i64, pass: *i64, total: *i64) -> i64 |
| 23 | func main() -> i64 |