MCPcopy Create free account
hub / github.com/catboost/catboost / TStaticBuf StripRoot

Function TStaticBuf StripRoot

util/system/src_root.h:65–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 }
64
65 constexpr Y_FORCE_INLINE TStaticBuf StripRoot(const TStaticBuf& f, unsigned prefixLength) noexcept {
66 return TStaticBuf(f.Data + prefixLength, f.Len - prefixLength);
67 }
68
69 //$(SRC_ROOT)/prj/blah.cpp -> prj/blah.cpp
70 constexpr Y_FORCE_INLINE TStaticBuf StripRoot(const TStaticBuf& f) noexcept {

Callers

nothing calls this directly

Calls 3

TStaticBufClass · 0.85
StripRootFunction · 0.85
RootPrefixLengthFunction · 0.85

Tested by

no test coverage detected