code wiki / _hdl_build / nx_dss_query.nx

nx_dss_query.nx

buildroot/runtime/_hdl_build/nx_dss_query.nx

1831 B31 linesdepth 4pulls 8 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_dss_query.nx -- CLI over the SOVEREIGN seg_store search: nx_dss_query <domain> <term> Prints ranked cids+scores from the domain's PUBLIC seg_store shard (ss_open->ss_term->ss_hget, no tsv). Verifies the sovereign path on REAL production shards; the query basis for the /search serve handler. ORIGINAL

dependencies 2 imports · 0 importers

nx_docportal_search_seg.nx nx_itoa_lib.nx nx_dss_query.nx

imports: nx_docportal_search_seg.nxnx_itoa_lib.nx

imported by: nobody (leaf or entry point)

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

main q_puts q_strlen dss_search 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 stm_cvc dss_tlen ss_term_count ss_r32 ss_term_at ss_r32 ↻ dss_streq ↻ sys_munmap ↻

structs

none

consts

none

functions

7func q_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
12func q_num(v: i64) -> i64 { nxi_out(v); return 0 }
called by 1: main calls 1: nxi_out
13func q_strlen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: main
15func main(argc: i64, argv: *i64) -> i64