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

Function put_cell

nodedb/tests/bitemporal_array_compaction.rs:40–54  ·  view source on GitHub ↗
(e: &mut ArrayEngine, x: i64, v: i64, sys_ms: i64, lsn: u64)

Source from the content-addressed store, hash-verified

38}
39
40fn put_cell(e: &mut ArrayEngine, x: i64, v: i64, sys_ms: i64, lsn: u64) {
41 e.put_cells(
42 &aid(),
43 vec![ArrayPutCell {
44 coord: vec![CoordValue::Int64(x)],
45 attrs: vec![CellValue::Int64(v)],
46 surrogate: Surrogate::ZERO,
47 system_from_ms: sys_ms,
48 valid_from_ms: 0,
49 valid_until_ms: i64::MAX,
50 }],
51 lsn,
52 )
53 .unwrap();
54}
55
56#[test]
57fn ceiling_at_horizon_resolves_correctly_after_compaction() {

Calls 2

put_cellsMethod · 0.80
aidFunction · 0.70

Tested by

no test coverage detected