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

Function UrlUnescapeRet

library/cpp/string_utils/quote/quote.cpp:270–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270TString UrlUnescapeRet(const TStringBuf from) {
271 TString to;
272 to.ReserveAndResize(CgiUnescapeBufLen(from.size()));
273 to.resize(UrlUnescape(to.begin(), from) - to.data());
274 return to;
275}
276
277char* UrlEscape(char* to, TStringBuf src, bool forceEscape) {
278 for (auto from = src.begin(); from != src.end(); ++from) {

Callers 2

Y_UNIT_TESTFunction · 0.85
UrlUnescapeFunction · 0.85

Calls 6

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

Tested by

no test coverage detected