MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / DisplayString

Function DisplayString

src/twtest/codeconvert_t.cpp:108–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106
107
108void DisplayString(const std::string& s)
109{
110 std::string::size_type i;
111 for (i = 0; i < s.length(); ++i)
112 {
113 std::cout << std::hex << std::setw(2) << std::setfill('0') << (size_t)(unsigned char)s[i] << " ";
114 }
115}
116
117size_t DistanceToOne(size_t n)
118{

Callers 1

ConvertAndCompareStringFunction · 0.85

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected