Home
last modified time | relevance | path

Searched refs:overflow_blocks_ (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/lib/core/
Darena.cc50 overflow_blocks_(nullptr) { in Arena()
63 assert(overflow_blocks_ == nullptr); // FreeBlocks() should do that in ~Arena()
143 if (overflow_blocks_ == nullptr) in AllocNewBlock()
144 overflow_blocks_ = new std::vector<AllocatedBlock>; in AllocNewBlock()
146 overflow_blocks_->resize(overflow_blocks_->size() + 1); in AllocNewBlock()
148 block = &overflow_blocks_->back(); in AllocNewBlock()
241 if (overflow_blocks_ != nullptr) { in FreeBlocks()
243 for (it = overflow_blocks_->begin(); it != overflow_blocks_->end(); ++it) { in FreeBlocks()
246 delete overflow_blocks_; // These should be used very rarely in FreeBlocks()
247 overflow_blocks_ = nullptr; in FreeBlocks()
Darena.h100 std::vector<AllocatedBlock>* overflow_blocks_; variable