code wiki / _hdl_build / nx_host_range_gate.nx

nx_host_range_gate.nx

buildroot/runtime/_hdl_build/nx_host_range_gate.nx

5521 B65 linesdepth 7pulls 11 transitivereach 0 importersview sourcekind gate/prooftopic host
docsdependenciesstructsconstsfunctions

dependencies 2 imports · 0 importers

nx_host_router.nx nx_gate_verdict.nx nx_host_range_gate.nx

imports: nx_host_router.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

main hrg_write hr_slen gv_ctr 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 ↻ gv_plan_new sys_mmap ↻ gv_plan_name_eq hr_slen ↻ hr_emit_range_head hr_slen ↻ hr_copy hr_putdec sys_mmap ↻ hrg_serve hr_serve3_slot sys_mmap ↻ hr_req_host hr_ieq hr_lower hr_lower ↻ hr_req_path hr_lookup_root hr_eq hr_copy ↻ hr_path_safe

structs

none

consts

4const HRG_CASES: *u8="range-response-status-and-length\nrange-body-exact-and-reader-closed\nrange-reader-transferred-once\nrange-security-headers-retained\nunsatisfiable-416-and-total\nunsatisfiable-response-not-cacheable\nordinary-get-retains-body\nmultiple-ranges-retain-full-response\nif-range-retains-full-response\nhtml-transformation-path-retained\nexact-header-capacity\nundersized-header-retains-output\n"

functions

5func hrg_has(b: *u8,n: i64,s: *u8) -> i64
called by 1: main calls 2: hr_slenhr_eq
8func hrg_check(name: *u8,ok: i64,c: *i64) -> i64 { return gv_plan_check(hrg_plan,name,ok,c) }
called by 1: main calls 1: gv_plan_check
9func hrg_write(p: *u8,b: *u8) -> i64
called by 1: main calls 1: hr_slen
14func hrg_serve(req: *u8,b: *u8,cap: i64,n: *i64) -> i64
called by 1: main calls 2: hr_serve3_slothr_slen
19func main(argc: i64,argv: *i64) -> i64