code wiki / _hdl_build / nx_serp_probe.nx

nx_serp_probe.nx

buildroot/runtime/_hdl_build/nx_serp_probe.nx

2163 B50 linesdepth 5pulls 8 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 sys_clock_gettime_mono sys_munmap dsv_qparam dsv_urldecode dsv_hexval dsv_scope dsv_qparam ↻ dsv_atoin dss_search_off dss_search_off_div dss_prefix dss_open_maybe_cached dsc_web_prefix_is ss_open ss_open2 dsc_manifest_sig ss_cat sys_fstatat sys_munmap ↻ sys_munmap ↻ ss_close sys_munmap ↻ ss_open2 ↻ ss_tok_table ss_tok_next2 ss_u8cp ss_fold_cp ss_fold_word_cp ss_is_cjk dss_streq dss_stem_expand nx_stem stm_ends stm_measure stm_hasvowel stm_dbl_consonant_end

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