code wiki / (root) / nx_compare_ladder_isolated_lib.nx

nx_compare_ladder_isolated_lib.nx

buildroot/runtime/nx_compare_ladder_isolated_lib.nx

21547 B376 linesdepth 10pulls 52 transitivereach 1 importersview sourcekind librarytopic compare
docsdependenciesstructsconstsfunctions

about

nx_compare_ladder_isolated_lib.nx -- Computes and compares rankings of nodes in a plan structure using SHA-256 hashing and string operations.

dependencies 2 imports · 1 importers

nx_swcompare_lib.nx nx_sha256.nx nx_compare_ladder_isolated_lib nx_swcompare_matrix_ladder_test_20

imports: nx_swcompare_lib.nxnx_sha256.nx

imported by: nx_swcompare_matrix_ladder_test_20260907.nx

structs

9struct SgPlan

consts

6const SGP_FIELDS: i64 = 8
7const SGP_PATH_CAP: i64 = 600
8const SGP_I64_MAX: i64 = 9223372036854775807

functions

36func sg_len(s: *u8) -> i64 { var i: i64 = 0; while s[i] != (0 as u8) { i = i + 1 } return i }
37func sg_id(s: *u8, n: i64) -> i64
called by 2: sg_parsesg_load
52func sg_split(s: *u8, f: *i64, capacity: i64, delimiter: i64) -> i64
called by 2: sg_ranksg_parse
60func sg_decimal(s: *u8) -> i64
called by 1: sg_prefix_decimal
70func sg_sha(b: *u8, n: i64) -> *u8
called by 2: sg_ranksg_parse calls 1: sha256_digest
79func sg_find(m: *SgPlan, name: *u8, length: i64) -> i64
called by 2: sg_ranksg_parse calls 1: sg_len
92func sg_prefix_decimal(s: *u8, key: *u8) -> i64
called by 1: sg_rank calls 3: startssg_decimalsg_len
96func sg_rank(m: *SgPlan, raw: *u8, n: i64) -> i64
154func sg_parse(raw: *u8, n: i64, rank: *u8, rn: i64, matrix: *u8, mn: i64) -> *SgPlan
258func sg_valid(m: *SgPlan) -> i64
called by 2: sg_jsonsg_html
263func sg_rank_state(m: *SgPlan) -> *u8
called by 2: sg_jsonsg_html
272func sg_load(domain: *u8) -> *SgPlan
called by 1: main calls 4: sg_lensg_idscopysg_parse
294func sg_json(m: *SgPlan, fd: i64) -> i64
called by 1: main calls 8: wkv_swckv_nsg_rank_statesg_valid+2
331func sg_text(fd: i64, s: *u8) -> i64
called by 1: sg_html calls 3: sg_lenwia_esc_text
342func sg_html(m: *SgPlan, fd: i64) -> i64
373func sg_css(fd: i64) -> i64
called by 1: main calls 1: w