code wiki / _hdl_build / nx_gen_util.nx
nx_gen_util.nx
buildroot/runtime/_hdl_build/nx_gen_util.nx
about
nx_gen_util.nx -- shared string/scan primitives = the BASE MODULE of the companion/gen OO decomposition.
Pure functions extracted VERBATIM from nx_gen_orchestrator (behaviour-preserving). Imported by the orchestrator
+ every companion object. Object model: companion_arch.md. license_tier: ORIGINAL
dependencies 0 imports · 0 importers
imports: none
imported by: nobody (leaf or entry point)
structs
| none |
consts
| none |
functions
| 5 | func go_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } |
| 6 | func go_cat(dst: *u8, off: i64, s: *u8) -> i64 { var o: i64=off; var i: i64=0; while s[i]!=(0 as u8){dst[o]=s[i]; o=o+1; i=i+1} return o } |
| 7 | func go_catb(dst: *u8, off: i64, src: *u8, n: i64) -> i64 { var o: i64=off; var i: i64=0; while i<n {dst[o]=src[i]; o=o+1; i=i+1} return o } |
| 9 | func go_contains_ci(hay: *u8, hlen: i64, needle: *u8) -> i64 |