MCPcopy Create free account
hub / github.com/comaps/comaps / Size

Function Size

libs/indexer/complex/tree_node.hpp:158–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157template <typename Data>
158size_t Size(types::Ptr<Data> const & node)
159{
160 size_t size = 0;
161 PreOrderVisit(node, [&](auto const &) { ++size; });
162 return size;
163}
164
165template <typename Data>
166decltype(auto) GetRoot(types::Ptr<Data> node)

Callers 15

GetHeightRCMethod · 0.85
UNIT_CLASS_TESTFunction · 0.85
UNIT_CLASS_TESTFunction · 0.85
UNIT_CLASS_TESTFunction · 0.85
ReadMethod · 0.85
WritePaddingByEndMethod · 0.85
ReadMethod · 0.85
CreateSubReaderMethod · 0.85
SetOffsetAndSizeMethod · 0.85
ReadAsStringMethod · 0.85
GoodPosAndSizeMethod · 0.85
AssertPosAndSizeMethod · 0.85

Calls 1

PreOrderVisitFunction · 0.85

Tested by 4

UNIT_CLASS_TESTFunction · 0.68
UNIT_CLASS_TESTFunction · 0.68
UNIT_CLASS_TESTFunction · 0.68
UNIT_TESTFunction · 0.68