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

Method length

deps/tesseract/ccutil/elst.cpp:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 **********************************************************************/
89
90inT32 ELIST::length() const { // count elements
91 ELIST_ITERATOR it(const_cast<ELIST*>(this));
92 inT32 count = 0;
93
94 for (it.mark_cycle_pt (); !it.cycled_list (); it.forward ())
95 count++;
96 return count;
97}
98
99/***********************************************************************
100 * ELIST::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