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

Method Add

library/cpp/yt/memory/ref.cpp:511–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509{ }
510
511void TSharedRefArrayBuilder::Add(TSharedRef part)
512{
513 YT_ASSERT(CurrentPartIndex_ < Impl_->Size());
514 Impl_->MutableBegin()[CurrentPartIndex_++] = std::move(part);
515}
516
517TMutableRef TSharedRefArrayBuilder::AllocateAndAdd(size_t size)
518{

Callers 4

TNehRequesterMethod · 0.45
operator&Method · 0.45
operator&Method · 0.45
operator&Method · 0.45

Calls 3

MutableBeginMethod · 0.80
moveFunction · 0.50
SizeMethod · 0.45

Tested by

no test coverage detected