MCPcopy Create free account
hub / github.com/apache/singa / MakeCheckOpValueString

Function MakeCheckOpValueString

src/utils/logging.cc:113–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112template <>
113void MakeCheckOpValueString(std::ostream* os, const char& v) {
114 if (v >= 32 && v <= 126) {
115 (*os) << "'" << v << "'";
116 } else {
117 (*os) << "char value " << (short)v;
118 }
119}
120
121template <>
122void MakeCheckOpValueString(std::ostream* os, const signed char& v) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected