code wiki / _hdl_build / nx_shard_registry_gate.nx

nx_shard_registry_gate.nx

buildroot/runtime/_hdl_build/nx_shard_registry_gate.nx

5453 B73 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic shard
docsdependenciesstructsconstsfunctions

dependencies 3 imports · 0 importers

nx_gate_gn.nx nx_syscalls.nx nx_shard_registry.nx nx_shard_registry_gate.nx

imports: nx_gate_gn.nxnx_syscalls.nxnx_shard_registry.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gp sys_write sys_mmap g_shard g_app sr_count slk_line_end gn sr_find_by_id slk_line_end ↻ slk_field slk_eq slk_at g_slen sr_port_of sr_find_by_id ↻ sr_field_int slk_field ↻ slk_atoi sr_roles_of sr_find_by_id ↻ sr_field_at slk_field ↻ g_streq sys_exit

structs

none

consts

none

functions

12func gp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
13func g_app(buf: *u8, off: i64, s: *u8) -> i64 { var i: i64 = 0; while s[i] != (0 as u8) { buf[off + i] = s[i]; i = i + 1 } return off + i }
called by 1: g_shard
15func g_shard(buf: *u8, off: i64, id: *u8, dom: *u8, svc: *u8, port: *u8, realm: *u8, keys: *u8, store: *u8, roles: *u8, health: *u8) -> i64
called by 1: main calls 1: g_app
27func g_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: main
28func g_streq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while a[i] != (0 as u8) { if a[i] != b[i] { return 0 } i = i + 1 } if b[i] == (0 as u8) { return 1 } return 0 }
called by 1: main
30func main(argc: i64, argv: *i64) -> i64