nx_temporal_index.nx
buildroot/runtime/nx_temporal_index.nx
about
nx_temporal_index.nx -- LIB: the (host,path)->[(date,capture)] temporal index = the "browse day-by-day" backbone.
Given parallel capture arrays (keys = host+path string pointers, dates = YYYYMMDD ints), ti_query returns the
capture AS IT EXISTED on a target date: the most-recent capture at-or-before the target (the Wayback "as-of"
semantics), else the earliest available capture for that key. Exact key match (no prefix bleed). Pure/in-memory
for this gate; seg_store persistence + WARC-Date(ISO8601)->YYYYMMDD parsing + R2 record-feed compose in a
follow-on. license_tier: ORIGINAL
dependencies 1 imports · 5 importers
imports: nx_syscalls.nx
imported by: nx_archive_capture_demo.nxnx_archive_media_fetch.nxnx_archive_viewer.nxnx_cdx_parse_gate.nxnx_temporal_index_gate.nx
structs
| none |
consts
| none |
functions
| 10 | func ti_keq(a: *u8, b: *u8) -> i64 called by 1: ti_query |
| 24 | func ti_query(keyptrs: *i64, dates: *i64, count: i64, qkey: *u8, qdate: i64) -> i64 |
| 48 | func main() -> i64 { return 0 } |