code wiki / (root) / nx_contentdiff_typed_gate_t309.nx

nx_contentdiff_typed_gate_t309.nx

buildroot/runtime/nx_contentdiff_typed_gate_t309.nx

6711 B82 linesdepth 8pulls 16 transitivereach 0 importersview sourcekind tooltopic contentdiff
docsdependenciesstructsconstsfunctions

about

nx_contentdiff_typed_gate_t309.nx -- Compares and diffs structured content between two binary files to detect changes and classify differences.

dependencies 2 imports · 0 importers

nx_contentdiff_typed_candidate_t30 nx_fs_create_lib.nx nx_contentdiff_typed_gate_t309

imports: nx_contentdiff_typed_candidate_t309.nxnx_fs_create_lib.nx

imported by: nobody (leaf or entry point)

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

main ccg_measure cd_structured_names cds_next_span cds_run cdl_is_print cds_source_missing cds_file_present cdl_runlen cdl_is_print ↻ cdl_bytes_eq cds_span_missing cdl_contains cds_span_class cdl_is_srcpath cdl_is_ident cdl_is_sectname gv_puts sys_write sys_write ↻ ccg_copy ccg_mutate cd_structured_paths cd_structured_paths_result sys_map_file sys_openat_rd sys_lseek sys_close cd_structured_error gv_puts ↻ gv_num sys_mmap nxa_die nxa_lock_take nxa_lock_give nxa_report_overrun sys_write ↻ sys_munmap sys_munmap_direct gv_puts ↻

structs

none

consts

none

functions

5func ccg_copy(b:*u8,n:i64)->*u8{let p:*u8=sys_mmap_try(n);if (p as i64)<=0{return 0 as *u8};var i:i64=0;while i<n{p[i]=b[i];i=i+1};return p}
called by 1: main
6func ccg_mutate(b:*u8,n:i64,s:*u8)->i64
called by 1: main
10func ccg_measure(a:*u8,an:i64,b:*u8,bn:i64,r:*NxCdResult,limit:i64,display:*NxCdDisplay)->i64
called by 1: main calls 1: cd_structured_names
19func ccg_fixture(path:*u8,b:*u8,n:i64)->i64
called by 1: main calls 1: fxc_create
24func main()->i64