code wiki / _hdl_build / nx_serp_probe.nx

nx_serp_probe.nx

buildroot/runtime/_hdl_build/nx_serp_probe.nx

2163 B50 linesdepth 6pulls 14 transitivereach 0 importersview sourcekind probe
docsdependenciesstructsconstsfunctions

about

nx_serp_probe.nx -- one-shot diagnostic: render dss_serve in-process for a query against a real local shard and report whether the featured-answer panel fired (+ its text). argv: <domain> <q-urlencoded>

dependencies 1 imports · 0 importers

nx_docportal_search_serve.nx nx_serp_probe.nx

imports: nx_docportal_search_serve.nx

imported by: nobody (leaf or entry point)

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

main p_puts dss_serve dsv_now_us dsv_serp_parse dsv_qparam dsv_urldecode dsv_hexval dsv_scope dsv_qparam ↻ dsv_slen dss_set_scope_prefix dsv_default_scope dsv_scope_conf_load ar_resolve ar_read dsv_slen ↻ dsv_tok_eq dsv_slen ↻ dsv_word_eq dsv_slen ↻ dsv_box dsv_scopes_conf_load ar_resolve ↻ dsv_box ↻ ss_readall sys_openat_rd sys_lseek sys_mmap sys_read sys_close dsv_scope_lookup dsv_scopes_conf_load ↻ dsv_scx_tok_eq dsv_slen ↻ dsv_atoin dsv_serp_prelude dsv_cat dsv_esc dsv_cat ↻

structs

none

consts

4const K_MAGIC_2048: i64 = 2048
5const K_MAGIC_8192: i64 = 8192

functions

7func p_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main
8func p_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: p_find
9func p_find(hay: *u8, hn: i64, ndl: *u8) -> i64
called by 1: main calls 1: p_len
21func main(argc: i64, argv: *i64) -> i64