code wiki / _hdl_build / nx_docportal_search_serve_gate.nx
nx_docportal_search_serve_gate.nx
buildroot/runtime/_hdl_build/nx_docportal_search_serve_gate.nx
about
nx_docportal_search_serve_gate.nx -- GATE for R2 (dss_serve). Writes a test PUBLIC shard, then feeds crafted
GET /search requests to dss_serve and asserts the rendered branded page: 200 + Content-Length, result count,
the hit's text present, empty-query prompt, no-match=0, and XSS-escaping of the echoed query (defensive at the
boundary). All over the REAL sovereign seg_store path, no tsv. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_docportal_search_serve.nxnx_g_puts_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 8 | func g_strlen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 9 | func g_num(v: i64) -> i64 called by 1: main |
| 19 | func g_contains(hay: *u8, hn: i64, needle: *u8) -> i64 |
| 32 | func g_streq(a: *u8, b: *u8) -> i64 called by 1: main |
| 38 | func g_check(name: *u8, cond: i64, pass: *i64, total: *i64) -> i64 |
| 45 | func main(argc: i64, argv: *i64) -> i64 |