MCPcopy Create free account
hub / github.com/creatale/node-dv / length

Method length

deps/tesseract/ccutil/elst2.cpp:91–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 **********************************************************************/
90
91inT32 ELIST2::length() const { // count elements
92 ELIST2_ITERATOR it(const_cast<ELIST2*>(this));
93 inT32 count = 0;
94
95 for (it.mark_cycle_pt (); !it.cycled_list (); it.forward ())
96 count++;
97 return count;
98}
99
100/***********************************************************************
101 * ELIST2::sort

Callers

nothing calls this directly

Calls 3

mark_cycle_ptMethod · 0.45
cycled_listMethod · 0.45
forwardMethod · 0.45

Tested by

no test coverage detected