code wiki / (root) / nx_compare_growth_lib.nx

nx_compare_growth_lib.nx

buildroot/runtime/nx_compare_growth_lib.nx

12948 B304 linesdepth 6pulls 10 transitivereach 95 importersview sourcekind librarytopic compare
docsdependenciesstructsconstsfunctions

about

Additive .plan capability-growth projection. Authored stages never become evidence verdicts. Input is borrowed for model lifetime. No store writes, execution, publication or stage advancement. growthpath|1|id|rung|entry|target|research_refs|learned_model|questions growthexercise|1|id|path|deps|contract|tool_ref|workload_ref|resource_ref|acceptance_ref|failure_next growthassessment|1|id|path|scope|stage|evidence_refs|unix|assessor_ref|supersedes "-" denotes no list or optional link. References remain unresolved until their authoritative owners verify them.

dependencies 1 imports · 2 importers

nx_measurement_binding_lib.nx nx_compare_growth_lib.nx nx_compare_growth_bench_new_202609 nx_compare_growth_json.nx

imports: nx_measurement_binding_lib.nx

imported by: nx_compare_growth_bench_new_20260910.nxnx_compare_growth_json.nx

structs

21struct CgModel

consts

8const CG_ROW_WORDS: i64=3
9const CG_MODEL_WORDS: i64=10
10const CG_PATH: i64=1
11const CG_EXERCISE: i64=2
12const CG_ASSESSMENT: i64=3
13const CG_E_INPUT: i64=0-1
14const CG_E_CAPACITY: i64=0-2
15const CG_E_SHAPE: i64=0-3
16const CG_E_ID: i64=0-4
17const CG_E_DUPLICATE: i64=0-5
18const CG_E_LINK: i64=0-6
19const CG_E_CYCLE: i64=0-7
20const CG_E_TIME: i64=0-8

functions

33func cg_kind(b: *u8,p: i64,e: i64) -> i64
called by 1: cg_parse calls 1: bf_line_starts
39func cg_error(m: *CgModel,code: i64,row: i64) -> i64
43func cg_field(m: *CgModel,row: i64,col: i64,off: *i64) -> i64
46func cg_is(m: *CgModel,row: i64,col: i64,s: *u8) -> i64
50func cg_same(m: *CgModel,a: i64,ac: i64,b: i64,bc: i64) -> i64
55func cg_ident(b: *u8,o: i64,n: i64) -> i64
71func cg_idfield(m: *CgModel,row: i64,col: i64) -> i64
called by 1: cg_validate calls 2: cg_fieldcg_ident
75func cg_decimal(m: *CgModel,row: i64,col: i64) -> i64
called by 1: cg_validate calls 1: cg_field
88func cg_find(m: *CgModel,kind: i64,o: i64,n: i64) -> i64
103func cg_existing(m: *CgModel,row: i64,col: i64,tag: *u8) -> i64
117func cg_deps(m: *CgModel,row: i64,target: i64) -> i64
143func cg_graph_build(m: *CgModel,head: *i64,degree: *i64,marks: *i64,edges: *i64) -> i64
170func cg_graph(m: *CgModel) -> i64
217func cg_validate(m: *CgModel) -> i64
261func cg_parse(b: *u8,n: i64) -> *CgModel
300func cg_free(m: *CgModel) -> i64
called by 1: cgb_run