Searched refs:cache_ (Results 1 – 2 of 2) sorted by relevance
27 auto found = std::find_if(cache_.begin(), cache_.end(), id_match); in get()28 return (found != cache_.end()) ? *found : nullptr; in get()37 cache_.erase(std::remove_if(cache_.begin(), cache_.end(), id_match)); in remove()46 auto found = std::find_if(cache_.begin(), cache_.end(), id_match); in update()47 if (found == cache_.end()) { in update()48 cache_.emplace_back(std::make_shared<CachedStreamBuffer>(buffer)); in update()56 cache_.clear(); in clear()61 for (auto it = cache_.begin(); it != cache_.end();) { in removeStreamsExcept()63 it = cache_.erase(it); in removeStreamsExcept()
35 std::vector<std::shared_ptr<CachedStreamBuffer>> cache_; variable