code wiki / (root) / nx_nxa_morf_admit.nx

nx_nxa_morf_admit.nx

buildroot/runtime/nx_nxa_morf_admit.nx

11018 B202 linesdepth 1pulls 2 transitivereach 135 importersview sourcekind librarytopic nxa
docsdependenciesstructsconstsfunctions

about

ORIGINAL. Allocation-free extraction of mf_eval's FACE/MORF admission. nx_nxa owns the container/checksums. Caller owns immutable file bytes, output view, and one membership byte per vertex. No channel naming policy.

dependencies 2 imports · 4 importers

nx_nxa.nx nx_morf_eval_core.nx nx_nxa_morf_admit.nx nx_nxa_morf.nx nx_nxa_morf_draw_admit.nx nx_nxa_morf_draw_ingress_gate.nx nx_nxa_morf_ingress_gate.nx

imports: nx_nxa.nxnx_morf_eval_core.nx

imported by: nx_nxa_morf.nxnx_nxa_morf_draw_admit.nxnx_nxa_morf_draw_ingress_gate.nxnx_nxa_morf_ingress_gate.nx

structs

46struct NmiAsset

consts

6const NMI_E_MISSING: i64 = 0-81
7const NMI_E_SHAPE: i64 = 0-82
8const NMI_E_IDENTITY: i64 = 0-83
9const NMI_E_SCRATCH: i64 = 0-84
10const NMI_FACE_HEADER: i64 = 4
11const NMI_MORF_HEADER: i64 = 4
12const NMI_CHANNEL_WORDS: i64 = 2
13const NMI_R_NO_VERT: i64 = 0-901
14const NMI_R_NO_FACE: i64 = 0-902
15const NMI_R_NO_MORF: i64 = 0-903
16const NMI_R_BAD_VERT: i64 = 0-904
17const NMI_R_BAD_FACE: i64 = 0-905
18const NMI_R_BAD_MORF: i64 = 0-906
19const NMI_R_VERT_SHAPE: i64 = 0-907
20const NMI_R_DUP_VERT: i64 = 0-908
21const NMI_R_DUP_FACE: i64 = 0-909
22const NMI_R_DUP_MORF: i64 = 0-910
23const NMI_R_FACE_HEADER: i64 = 0-911
24const NMI_R_MORF_HEADER: i64 = 0-912
25const NMI_R_EMPTY_VERT: i64 = 0-913
26const NMI_R_EMPTY_FACE: i64 = 0-914
27const NMI_R_FACE_SHAPE: i64 = 0-915
28const NMI_R_FACE_COUNT: i64 = 0-916
29const NMI_R_EMPTY_MORF: i64 = 0-917
30const NMI_R_ROW_COUNT: i64 = 0-918
31const NMI_R_STRIDE: i64 = 0-919
32const NMI_R_UNIT: i64 = 0-920
33const NMI_R_CHANNEL_RECORDS: i64 = 0-921
34const NMI_R_CHANNEL_SHAPE: i64 = 0-922
35const NMI_R_ROW_SHAPE: i64 = 0-923
36const NMI_R_DELTA_COUNT: i64 = 0-924
37const NMI_R_SUPPORT_NEGATIVE: i64 = 0-925
38const NMI_R_SUPPORT_COUNT: i64 = 0-926
39const NMI_R_FACE_NEGATIVE: i64 = 0-927
40const NMI_R_FACE_RANGE: i64 = 0-928
41const NMI_R_FACE_DUPLICATE: i64 = 0-929
42const NMI_R_VERT_FACE: i64 = 0-930
43const NMI_R_VERT_MORF: i64 = 0-931
44const NMI_R_FACE_MORF: i64 = 0-932
45const NMI_R_CHANNEL_RANGE: i64 = 0-933

functions

51func nmi_scratch_bytes(b: *u8,flen: i64) -> i64
62func nmi_admit_channel(b: *u8,flen: i64,seen: *u8,seen_bytes: i64,out: *NmiAsset,channel: i64) -> i64
147func nmi_byte_span(p: *u8,n: i64) -> i64
called by 1: nmi_admit_channel
153func nmi_byte_overlap(a: *u8,an: i64,b: *u8,bn: i64) -> i64
158func nmi_admit(b: *u8,flen: i64,seen: *u8,seen_bytes: i64,out: *NmiAsset) -> i64
161func nmi_missing(rc: i64) -> i64
165func nmi_diagnostic(rc: i64) -> *u8