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

Function count

deps/tesseract/cutil/oldlist.cpp:103–108  ·  view source on GitHub ↗

---------------------------------------------------------------------- F u n c t i o n s ----------------------------------------------------------------------*/ * c o u n t * * Recursively count the elements in a list. Return the count. **********************************************************************/

Source from the content-addressed store, hash-verified

101 * Recursively count the elements in a list. Return the count.
102 **********************************************************************/
103int count(LIST var_list) {
104 int temp = 0;
105
106 iterate (var_list) temp += 1;
107 return (temp);
108}
109
110
111/**********************************************************************

Callers 3

ExtractMicrosFunction · 0.85
PrintAdaptedTemplatesMethod · 0.85
WriteAdaptedClassFunction · 0.85

Calls 1

iterateFunction · 0.70

Tested by

no test coverage detected