Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
145
inline 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
PrintTestList
Method · 0.85
StartFailure
Method · 0.85
GetTestPrefix
Method · 0.85
StartTest
Method · 0.85
WriteLogOutputTop
Method · 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…