code wiki / _hdl_build / test_b64enc.nx

test_b64enc.nx

buildroot/runtime/_hdl_build/test_b64enc.nx

2133 B56 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic test
docsdependenciesstructsconstsfunctions

about

standalone unit test for the base64 encoder (verbatim copy of gp_b64_encode) against RFC 4648 vectors.

dependencies 1 imports · 0 importers

nx_syscalls.nx test_b64enc.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main check sys_mmap gp_b64_encode sys_write sys_write ↻

structs

none

consts

none

functions

4func gp_b64_encode(inp: *u8, n: i64, out: *u8) -> i64
called by 1: check
34func check(inp: *u8, n: i64, want: *u8) -> i64
called by 1: main calls 3: sys_mmapgp_b64_encodesys_write
47func main() -> i64
calls 2: checksys_write