nx_world_capture_meta.nx
buildroot/runtime/nx_world_capture_meta.nx
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
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
| 4 | const WCM_FIELDS: i64 = 7 |
| 5 | const WCM_TOKEN_MAX: i64 = 64 |
| 6 | const WCM_OUT_CAP: i64 = WCM_FIELDS*(WCM_TOKEN_MAX+1) |
functions
| 7 | func wcm_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != 0 as u8 { n=n+1 }; return n } |
| 8 | func 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 } |
| 9 | func wcm_key(b: *u8,s: i64,e: i64) -> i64 |
| 19 | func wcm_token(b: *u8,s: i64,e: i64,field: i64) -> i64 |
| 40 | func wcm_parse(b: *u8,n: i64,spans: *i64,out: *u8,cap: i64) -> i64 |