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

Method ToRef

library/cpp/yt/memory/blob.h:108–111  ·  view source on GitHub ↗

Returns the TRef instance for the occupied part of the blob.

Source from the content-addressed store, hash-verified

106
107 //! Returns the TRef instance for the occupied part of the blob.
108 Y_FORCE_INLINE TRef ToRef() const
109 {
110 return TRef(Begin_, Size_);
111 }
112
113 //! Provides by-value access to the underlying storage.
114 Y_FORCE_INLINE char operator [] (size_t index) const

Callers

nothing calls this directly

Calls 1

TRefClass · 0.70

Tested by

no test coverage detected