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

Function StripLeft

library/cpp/http/misc/parsed_request.cpp:7–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <util/string/cast.h>
6
7static inline TStringBuf StripLeft(const TStringBuf& s) noexcept {
8 const char* b = s.begin();
9 const char* e = s.end();
10
11 StripRangeBegin(b, e);
12
13 return TStringBuf(b, e);
14}
15
16TParsedHttpRequest::TParsedHttpRequest(const TStringBuf& str) {
17 TStringBuf tmp;

Callers 1

TParsedHttpRequestMethod · 0.70

Calls 3

StripRangeBeginFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected