code wiki / (root) / nx_rfc_dir_ingest.nx

nx_rfc_dir_ingest.nx

buildroot/runtime/nx_rfc_dir_ingest.nx

2495 B69 linesdepth 8pulls 18 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_rfc_dir_ingest.nx -- ingest every RFC section header in the corpus at nxc2/_offc/rfc_corpus.txt.

dependencies 7 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_tier.nx nx_rfc_ingest.nx nx_ingest_runner.nx nx_rfc_stream_ingest.nx nx_bloom_capacity.nx nx_rfc_dir_ingest.nx

imports: nx_syscalls.nxnx_runtime.nxnx_tier.nxnx_rfc_ingest.nxnx_ingest_runner.nxnx_rfc_stream_ingest.nxnx_bloom_capacity.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 sys_write print_i64 sys_mmap ↻ itoa sys_mmap ↻ sys_write ↻ nx_rfc_ingest_corpus nx_rfc_db_alloc sys_mmap ↻ nx_rfc_section_title_start nx_rfc_skip_ws nx_rfc_is_digit sys_mmap ↻ nx_rfc_emit_title nx_rfc_sanitize_char nx_rfc_decl_at nx_ingest_run_new sys_mmap ↻ nx_disk_budget_new sys_mmap ↻ nx_shard_writer_open sys_mmap ↻ nx_str_len nx_str_cpy nx_shardw_open_shard sys_mmap ↻ nx_shardw_path nx_str_cpy ↻ nx_str_len ↻ nx_shardw_format_4d nx_bloom_new_for_capacity nx_bloom_target_bits

structs

none

consts

18const NX_RFC_DIR_DISK_BUDGET: nx_size = 1073741824
19const NX_RFC_DIR_SHARD_BYTES: nx_size = 104857600
20const NX_RFC_DIR_BLOOM_CAPACITY: nx_int = 1000000
21const NX_RFC_DIR_WATCHDOG_MS: nx_int = 60000

functions

23func main() -> nx_exit