MCPcopy Create free account
hub / github.com/Kitware/CMake / getNumWidth

Function getNumWidth

Source/CTest/cmCTestRunTest.h:145–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143};
144
145inline int getNumWidth(size_t n)
146{
147 int w = 1;
148 while (n >= 10) {
149 n /= 10;
150 ++w;
151 }
152 return w;
153}

Callers 5

PrintTestListMethod · 0.85
StartFailureMethod · 0.85
GetTestPrefixMethod · 0.85
StartTestMethod · 0.85
WriteLogOutputTopMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…