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

Method Slice

catboost/python-package/catboost/arrow.cpp:293–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291 }
292
293 TMaybeOwnedBitMap Slice(size_t offset, size_t size) const {
294 return TMaybeOwnedBitMap(
295 Data_.data(),
296 BeginOffsetInData_ + offset,
297 size,
298 Data_.GetResourceHolder()
299 );
300 }
301
302 private:
303 TMaybeOwningConstArrayHolder<const ui8> Data_;

Callers 2

GetBlockIteratorMethod · 0.45
SliceMethod · 0.45

Calls 3

TMaybeOwnedBitMapClass · 0.85
GetResourceHolderMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected