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

Function CGIUnescapeRet

library/cpp/string_utils/quote/quote.cpp:236–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236TString CGIUnescapeRet(const TStringBuf from) {
237 TString to;
238 to.ReserveAndResize(CgiUnescapeBufLen(from.size()));
239 to.resize(CGIUnescape(to.begin(), from.data(), from.size()) - to.data());
240 return to;
241}
242
243char* UrlUnescape(char* to, TStringBuf from) {
244 while (!from.empty()) {

Callers 1

CGIUnescapeFunction · 0.85

Calls 6

CgiUnescapeBufLenFunction · 0.85
CGIUnescapeFunction · 0.85
sizeMethod · 0.45
resizeMethod · 0.45
beginMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected