MCPcopy Create free account
hub / github.com/catboost/catboost / d2x

Function d2x

library/cpp/string_utils/quote/quote.cpp:65–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65static inline char d2x(unsigned x) {
66 return (char)((x < 10) ? ('0' + x) : ('A' + x - 10));
67}
68
69static inline const char* FixZero(const char* s) noexcept {
70 return s ? s : "";

Callers 2

EscapeFunction · 0.85
UrlEscapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected