MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / getMaxOffsetMap

Method getMaxOffsetMap

src/graph/on_disk_graph.cpp:169–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169table_id_map_t<offset_t> OnDiskGraph::getMaxOffsetMap(transaction::Transaction* transaction) const {
170 table_id_map_t<offset_t> result;
171 for (auto tableID : getNodeTableIDs()) {
172 result[tableID] = getMaxOffset(transaction, tableID);
173 }
174 return result;
175}
176
177offset_t OnDiskGraph::getMaxOffset(transaction::Transaction* transaction, table_id_t id) const {
178 DASSERT(nodeIDToNodeTable.contains(id));

Callers 11

getComputeStateMethod · 0.80
getComputeStateMethod · 0.80
getUnvisitedFrontierMethod · 0.80
getVisitedFrontierMethod · 0.80
getComputeStateMethod · 0.80
getOutputWriterMethod · 0.80
getComputeStateMethod · 0.80
getComputeStateMethod · 0.80
getComputeStateMethod · 0.80
getComputeStateMethod · 0.80

Calls 1

getNodeTableIDsFunction · 0.50

Tested by

no test coverage detected