nx_block_density_gate.nx
buildroot/runtime/nx_block_density_gate.nx
about
nx_block_density_gate.nx -- GATE for nx_block_density (the /compare/webscraping R6 contract bd_fit_text).
Network-free; fixtures are assembled at runtime. The accept rule pre-declared on the board: on the
boilerplate fixture every article sentence survives and the nav, link-farm, aside and footer blocks are
dropped; a page with no boilerplate comes back BYTE-IDENTICAL to the plain renderer; a page whose only
content block is boilerplate falls back to the full text instead of returning nothing.
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_block_density.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
structs
| none |
consts
| 11 | const BG_CAP: i64 = 65536 |
functions
| 13 | func bg_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: bg_has |
| 15 | func bg_has(hay: *u8, n: i64, needle: *u8) -> i64 |
| 28 | func bg_eq(a: *u8, an: i64, b: *u8, bn: i64) -> i64 called by 1: main |
| 34 | func bg_cat(d: *u8, o: i64, s: *u8) -> i64 { var i: i64 = 0; var p: i64 = o; while s[i] != (0 as u8) { d[p] = s[i]; p = p + 1; i = i + 1 } d[p] = 0 as u8; return p } called by 1: main |
| 36 | func main() -> i64 |