| 485 | } |
| 486 | |
| 487 | std::optional<CacheRegion> SharedCache::GetRegionAt(const uint64_t address) const |
| 488 | { |
| 489 | const auto it = m_regions.find(address); |
| 490 | if (it == m_regions.end()) |
| 491 | return std::nullopt; |
| 492 | return it->second; |
| 493 | } |
| 494 | |
| 495 | std::optional<CacheRegion> SharedCache::GetRegionContaining(const uint64_t address) const |
| 496 | { |
no test coverage detected