nx_compare_receipt_lib_t138.nx
buildroot/runtime/nx_compare_receipt_lib_t138.nx
about
Private receipt transaction for nx_compare_regen; not adopted.
Existing completion rows remain byte-compatible. Sidecar intents are append-only evidence.
A PREPARED/PUBLISHED intent without COMPLETED requires reconciliation; this is not automatic replay.
dependencies 1 imports · 2 importers
imports: nx_jrnl_archive_lib_t138.nx
imported by: nx_compare_receipt_inspect_lib_t138.nxnx_compare_regen_t138.nx
structs
| 18 | struct RgrTx |
consts
| 5 | const RGR_I64_MAX: i64 = 9223372036854775807 |
| 6 | const RGR_DECIMAL_BYTES: i64 = 20 |
| 7 | const RGR_ROW_PUNCTUATION_BYTES: i64 = 12 |
| 8 | const RGR_NO_EXTRA_RESERVE: i64 = 0 |
| 9 | const RGR_E_INPUT: i64 = 0-101 |
| 10 | const RGR_E_LOCK: i64 = 0-102 |
| 11 | const RGR_E_CAPACITY: i64 = 0-103 |
| 12 | const RGR_E_TAIL: i64 = 0-104 |
| 13 | const RGR_E_INTENT: i64 = 0-105 |
| 14 | const RGR_E_DURABLE: i64 = 0-106 |
| 15 | const RGR_E_WRITE: i64 = 0-107 |
| 16 | const RGR_E_RENAME: i64 = 0-108 |
| 17 | const RGR_E_COMPLETE: i64 = 0-109 |
functions
| 34 | func rgr_alloc(n: i64) -> *u8 |
| 39 | func rgr_free(b: *u8, n: i64) -> i64 |
| 44 | func rgr_len(s: *u8) -> i64 { return ja_slen(s) } |
| 45 | func rgr_copy(d: *u8, off: i64, s: *u8) -> i64 { return ja_cat(d, off, s) } |
| 46 | func rgr_decimal(d: *u8, off: i64, v: i64) -> i64 |
| 59 | func rgr_field(s: *u8) -> i64 |
| 66 | func rgr_id(s: *u8) -> i64 |
| 83 | func rgr_write_all(fd: i64, b: *u8, n: i64) -> i64 |
| 96 | func rgr_sync_dir(path: *u8) -> i64 |
| 110 | func rgr_capacity_numbers(block: i64, blocks: i64, reserve: i64, pending: i64) -> i64 called by 1: rgr_capacity |
| 121 | func rgr_capacity(tx: *RgrTx, path: *u8, pending: i64) -> i64 |
| 139 | func rgr_tail(journal: *u8) -> i64 |
| 158 | func rgr_release(tx: *RgrTx) -> i64 |
| 166 | func rgr_prepare(tx: *RgrTx, journal: *u8, target: *u8, body: *u8, bytes: i64, prev: i64, epoch: i64, id: *u8, reserve: i64) -> i64 |
| 246 | func rgr_state(tx: *RgrTx, state: *u8) -> i64 |
| 251 | func rgr_complete(tx: *RgrTx) -> i64 |
| 268 | func rgr_write_atomic(path: *u8, buf: *u8, n: i64, published: *i64, detail: *i64) -> i64 called by 2: rgr_transactrg_write_atomic calls 8: rgr_fieldrgr_lenrgr_allocrgr_copyrgr_decimalrgr_free+2 |
| 295 | func rgr_transact(tx: *RgrTx, journal: *u8, target: *u8, body: *u8, bytes: i64, prev: i64, epoch: i64, id: *u8, reserve: i64) -> i64 called by 1: rg_emit_receipted calls 6: rgr_preparergr_allocrgr_write_atomicrgr_freergr_statergr_complete |