MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / GetLevelSize

Method GetLevelSize

include/util/static_rtree.hpp:752–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750 }
751
752 std::uint64_t GetLevelSize(const std::size_t level) const
753 {
754 BOOST_ASSERT(m_tree_level_starts.size() > level + 1);
755 BOOST_ASSERT(m_tree_level_starts[level + 1] >= m_tree_level_starts[level]);
756 return m_tree_level_starts[level + 1] - m_tree_level_starts[level];
757 }
758
759 /**
760 * Calculates the absolute position of child data in our packed data

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected