MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / push

Method push

src/common/classes/stack.h:61–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 Entry* push(Object e, MemoryPool& p)
62 {
63 if (inherited::getCount() < this->getCapacity())
64 {
65 this->add(e);
66 return this;
67 }
68 Entry* newEntry = FB_NEW_POOL(p) Entry(e, this);
69 return newEntry;
70 }
71
72 Object pop()
73 {

Callers

nothing calls this directly

Calls 3

EntryClass · 0.70
getCapacityMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected