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

Method Append

library/cpp/yt/memory/blob.cpp:118–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void TBlob::Append(const void* data, size_t size)
119{
120 if (Size_ + size > Capacity_) {
121 Resize(Size_ + size, false);
122 ::memcpy(Begin_ + Size_ - size, data, size);
123 } else {
124 ::memcpy(Begin_ + Size_, data, size);
125 Size_ += size;
126 }
127}
128
129void TBlob::Append(TRef ref)
130{

Callers 11

DoWriteMethod · 0.45
WaitForIOMethod · 0.45
RunSchedulerMethod · 0.45
WriteDataMethod · 0.45
EscapeJFunction · 0.45
DoWriteMethod · 0.45
LoadBaseHeaderMethod · 0.45
LoadHeaderMethod · 0.45
TPacketMethod · 0.45
SetTraceReporterMethod · 0.45
AddNameWithCheckMethod · 0.45

Calls 3

AppendFunction · 0.50
BeginMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected