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

Function CutSchemePrefix

library/cpp/string_utils/url/url.cpp:160–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160TStringBuf CutSchemePrefix(const TStringBuf url Y_LIFETIME_BOUND) noexcept {
161 return url.Tail(GetSchemePrefixSize(url));
162}
163
164template <bool KeepPort>
165static inline TStringBuf GetHostAndPortImpl(const TStringBuf url) {

Callers 4

GetOnlyHostFunction · 0.85
CutUrlPrefixesFunction · 0.85
Y_UNIT_TESTFunction · 0.85

Calls 2

GetSchemePrefixSizeFunction · 0.85
TailMethod · 0.80

Tested by

no test coverage detected