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

Function NonNegativeDistance

util/generic/iterator.h:144–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142
143template <class T>
144constexpr inline size_t NonNegativeDistance(T* b, T* e) noexcept {
145 Y_ASSERT(e >= b);
146 return e - b;
147}

Callers 8

TBasicCowStringFunction · 0.85
cow_string.hFile · 0.85
TBasicStringFunction · 0.85
string.hFile · 0.85
AssignMethod · 0.85
AppendMethod · 0.85
TArrayRefMethod · 0.85
TStringViewMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected