MCPcopy Create free account
hub / github.com/cwida/ALP / Stack

Method Stack

publication/source_code/bench_end_to_end/include/common/runtime/Stack.hpp:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63};
64
65template <typename T> Stack<T>::Stack() {
66 auto alloc =
67 this_worker->allocator.allocate(sizeof(Chunk) + chunkSize * sizeof(T));
68 first = new (alloc) Chunk;
69 last = first;
70}
71
72template <typename T> typename Stack<T>::StackIter Stack<T>::begin() const {
73 return StackIter(*this, this->first);

Callers

nothing calls this directly

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected