Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kitware/CMake
/ WriteEscape
Method
WriteEscape
Source/cmConfigureLog.cxx:316–323 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
314
}
315
316
void cmConfigureLog::WriteEscape(unsigned char c)
317
{
318
char buffer[6];
319
int n = snprintf(buffer, sizeof(buffer),
"\\x%02x"
, c);
320
if (n > 0) {
321
this->Stream.write(buffer, n);
322
}
323
}
Callers
1
WriteLiteralTextBlock
Method · 0.95
Calls
2
snprintf
Function · 0.50
write
Method · 0.45
Tested by
no test coverage detected