code wiki / (root) / nx_url_resolve_test.nx

nx_url_resolve_test.nx

buildroot/runtime/nx_url_resolve_test.nx

4738 B108 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic url
docsdependenciesstructsconstsfunctions

about

nx_url_resolve_test.nx -- KAT for RFC 3986 §5.2 examples. Uses the canonical reference set from RFC 3986 §5.4 with the base http://a/b/c/d;p?q plus a few extras for HTML img-src-in-the-wild patterns. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_url_resolve.nx nx_url_resolve_test.nx

imports: nx_syscalls.nxnx_url_resolve.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 _strlen nx_url_resolve _ur_copy _ur_find_scheme_colon _ur_lc sys_mmap ↻ _ur_resolve_dot_segments _ur_putc _ur_copy ↻ _ur_putc ↻ _fail sys_mmap ↻ sys_write _bytes_eq sys_write ↻ sys_mmap ↻ sys_write ↻

structs

none

consts

none

functions

13func _fail(n: i64) -> i64
called by 1: _check calls 2: sys_mmapsys_write
33func _strlen(s: *u8) -> i64
called by 1: _check
39func _bytes_eq(a: *u8, an: i64, b: *u8, bn: i64) -> i64
called by 1: _check
49func _check(case_id: i64, base: *u8, rel: *u8, expected: *u8) -> i64
73func main() -> i64