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

Class TFromHexLenLimited

library/cpp/string_utils/quote/quote.cpp:47–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 };
46
47 class TFromHexLenLimited {
48 public:
49 explicit TFromHexLenLimited(const char* end)
50 : End(end)
51 {
52 }
53
54 inline char x2c(const char*& x) {
55 if (x + 2 > End)
56 return '%';
57 return TFromHexZeroTerm::x2c(x);
58 }
59
60 private:
61 const char* End;
62 };
63}
64
65static inline char d2x(unsigned x) {

Callers 1

CGIUnescapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected