MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / ceiling_at

Function ceiling_at

nodedb/tests/bitemporal_array_retention.rs:86–95  ·  view source on GitHub ↗
(
    e: &ArrayEngine,
    x: i64,
    system_as_of: i64,
)

Source from the content-addressed store, hash-verified

84}
85
86fn ceiling_at(
87 e: &ArrayEngine,
88 x: i64,
89 system_as_of: i64,
90) -> nodedb_array::query::ceiling::CeilingResult {
91 e.store(&aid())
92 .unwrap()
93 .ceiling_for_coord(&[CoordValue::Int64(x)], system_as_of, None)
94 .unwrap()
95}
96
97// ── Regression: cell-loss bug ─────────────────────────────────────────────────
98

Calls 3

ceiling_for_coordMethod · 0.80
aidFunction · 0.70
storeMethod · 0.45

Tested by

no test coverage detected