code wiki / (root) / nx_bam_test.nx

nx_bam_test.nx

buildroot/runtime/nx_bam_test.nx

12407 B306 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_bam_test.nx -- KAT for BAM 4-bit seq + cigar packing. Section A -- nx_bam_iupac_to_nibble: every spec letter + lowercase + unknown -> N fallback. Section B -- nx_bam_pack_seq: even-length, odd-length, mixed-case, capacity overflow. Section C -- nx_bam_pack_cigar: single-op, multi-op, validate little-endian byte order, reject invalid op codes. expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_const.nx nx_bam.nx nx_bam_test.nx

imports: nx_syscalls.nxnx_const.nxnx_bam.nx

imported by: nobody (leaf or entry point)

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

main nx_bam_iupac_to_nibble sys_mmap nx_bam_pack_seq nx_bam_iupac_to_nibble ↻ nx_bam_pack_cigar nx_le_write_u32 nx_bam_write_record nx_le_write_u32 ↻ nx_le_write_u16 nx_bam_pack_cigar ↻ nx_bam_pack_seq ↻

structs

none

consts

none

functions

18func main() -> i64