MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / gen_row_pointer

Function gen_row_pointer

crates/table/src/pointer_map.rs:359–361  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

357 type R = Result<(), TestCaseError>;
358
359 fn gen_row_pointer() -> impl Strategy<Value = RowPointer> {
360 (any::<PageOffset>(), any::<PageIndex>()).prop_map(|(po, pi)| RowPointer::new(false, pi, po, SquashedOffset(0)))
361 }
362
363 fn collect_entries(map: &PointerMap) -> Vec<(RowHash, PtrOrCollider)> {
364 map.map.iter().map(|(h, o)| (*h, *o)).collect::<Vec<_>>()

Callers

nothing calls this directly

Calls 2

SquashedOffsetClass · 0.85
newFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…