code wiki / (root) / nx_world_capture_meta.nx

nx_world_capture_meta.nx

buildroot/runtime/nx_world_capture_meta.nx

2862 B64 linesdepth 2pulls 2 transitivereach 6 importersview sourcekind librarytopic world
docsdependenciesstructsconstsfunctions

about

Versioned capture envelope: bounded ASCII tokens, no allocation, no percent decoding. Output columns: world, capture, release SHA256, WASM SHA256, renderer, timing mode, resolution.

dependencies 1 imports · 5 importers

nx_syscalls.nx nx_world_capture_meta.nx nx_gpu_capture_store_lib.nx nx_world_capture_meta_gate.nx nx_world_telemetry.nx nx_world_telemetry_gpu_candidate.n nx_world_telemetry_v2_candidate.nx

imports: nx_syscalls.nx

imported by: nx_gpu_capture_store_lib.nxnx_world_capture_meta_gate.nxnx_world_telemetry.nxnx_world_telemetry_gpu_candidate.nxnx_world_telemetry_v2_candidate.nx

structs

none

consts

4const WCM_FIELDS: i64 = 7
5const WCM_TOKEN_MAX: i64 = 64
6const WCM_OUT_CAP: i64 = WCM_FIELDS*(WCM_TOKEN_MAX+1)

functions

7func wcm_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != 0 as u8 { n=n+1 }; return n }
8func wcm_equal(b: *u8,s: i64,e: i64,k: *u8) -> i64 { if e-s != wcm_len(k) { return 0 }; var i: i64=0; while i<e-s { if b[s+i]!=k[i] { return 0 }; i=i+1 }; return 1 }
9func wcm_key(b: *u8,s: i64,e: i64) -> i64
19func wcm_token(b: *u8,s: i64,e: i64,field: i64) -> i64
40func wcm_parse(b: *u8,n: i64,spans: *i64,out: *u8,cap: i64) -> i64