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

Method PushBack

library/cpp/netliba/v12/paged_pod_buffer.h:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 }
21
22 T* PushBack(const T& t) {
23 if (LastPage().size() == LastPage().capacity()) {
24 AddNewPage();
25 }
26 LastPage().push_back(t);
27 return &LastPage().back();
28 }
29
30 T* PushBackToContRegion(const T& t, T** regionBegin) {
31 Y_ASSERT(!V.empty() && !LastPage().empty());

Callers 15

TTryToRecvMMsgSocketMethod · 0.45
InsertToActiveMethod · 0.45
AddPacketToQueueMethod · 0.45
PushBackToCurrentMethod · 0.45
InsertMethod · 0.45
ClearMethod · 0.45
AddMethod · 0.45
CleanupMethod · 0.45
TryRemovingUnsafeMethod · 0.45
StartMethod · 0.45
AllocateMethod · 0.45
LogStringMethod · 0.45

Calls 4

sizeMethod · 0.45
capacityMethod · 0.45
push_backMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected