code wiki / (root) / nx_lib_gbif_probe.nx

nx_lib_gbif_probe.nx

buildroot/runtime/nx_lib_gbif_probe.nx

3319 B74 linesdepth 6pulls 11 transitivereach 0 importersview sourcekind probetopic lib
docsdependenciesstructsconstsfunctions

about

nx_lib_gbif_probe.nx -- ingest the REAL library GBIF data from disk into nx_lib_store, index it, and prove taxa are served + full-text searchable.

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_lib_gbif.nx nx_lib_serve.nx nx_lib_index.nx nx_lib_gbif_probe.nx

imports: nx_syscalls.nxnx_lib_gbif.nxnx_lib_serve.nxnx_lib_index.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close gp_puts sys_write gp_putn sys_mmap ↻ sys_write ↻ nx_lib_gbif_ingest_buf nx_lib_store_bulk_begin sys_mmap ↻ ss_get sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn ss_scan_seglist ss_len sys_mmap ↻ ss_cat ss_readall ss_r32 ss_begin ss_begin_cap sys_mmap ↻ oa_str oa_find oa_isws oa_hex oa_utf8 oa_num oa_find ↻ oa_isws ↻ gb_year

structs

none

consts

7const K_MAGIC_262144: i64 = 262144
8const K_MAGIC_2097152: i64 = 2097152

functions

10func gp_puts(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 2: mainop_count calls 1: sys_write
11func gp_wr(p: *u8, n: i64) -> i64 { sys_write(1, p, n); return 0 }
called by 1: main calls 1: sys_write
12func gp_putn(v: i64) -> i64
called by 2: mainop_count calls 2: sys_mmapsys_write
20func main() -> i64
68func op_count(out: *u8, n: i64) -> i64
called by 1: main calls 2: gp_putsgp_putn