Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/lite/src/runtime/
Dinner_allocator.cc63 auto iter = freeList_.lower_bound(size); in Malloc()
64 if (iter != freeList_.end() && ReuseMemory(iter->second->size, size)) { in Malloc()
67 (void)freeList_.erase(iter); in Malloc()
100 (void)freeList_.insert(std::make_pair(membuf->size, membuf)); in Free()
176 for (auto &it : freeList_) { in Clear()
179 freeList_.clear(); in Clear()
Dinner_allocator.h64 std::multimap<size_t, MemBuf *> freeList_; variable