code wiki / _hdl_build / nx_viz_treemap_gate.nx
nx_viz_treemap_gate.nx
buildroot/runtime/_hdl_build/nx_viz_treemap_gate.nx
about
nx_viz_treemap_gate.nx -- REFEREE for the treemap layer (slice-and-dice partition).
T1 vertical : values[1,1,2] in (0,0,400x100) -> [0,0,100,100] [100,0,100,100] [200,0,200,100]
T2 horizontal: values[1,1] in (10,20,100x400) -> [10,20,100,200] [10,220,100,200]
T3 conservation: sum of rect areas == total area (even-dividing case, no truncation)
GREEN iff T1+T2+T3. Sovereign: nx_viz_treemap + nx_syscalls. license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_viz_treemap.nxnx_syscalls.nxnx_gate_verdict.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
| 10 | func g_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 11 | func g_row(name: *u8, ok: i64) -> i64 |
| 18 | func main() -> i64 |