code wiki / (root) / nx_align_test.nx

nx_align_test.nx

buildroot/runtime/nx_align_test.nx

6186 B156 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic align
docsdependenciesstructsconstsfunctions

about

nx_align_test.nx -- KAT for Smith-Waterman local alignment. All vectors hand-verifiable from the SW recurrence stated in nx_align.nx. Convention: scoring (match, mismatch, gap) declared per-test; tie-break = first max found wins (row-major scan). expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_align.nx nx_align_test.nx

imports: nx_syscalls.nxnx_align.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ write_str8 smith_waterman_linear sys_mmap ↻ nx_score_match nx_max3

structs

none

consts

none

functions

14func write_str8(buf: *u8, s0: i64, s1: i64, s2: i64, s3: i64,
called by 1: main
27func main() -> i64