| 45 | constexpr int BufferPool::MAX_PAGE_ITER_DEBUG; |
| 46 | |
| 47 | void BufferPool::BufferHandle::Open(uint8_t* data, int64_t len, int home_core) { |
| 48 | DCHECK_LE(0, home_core); |
| 49 | DCHECK_LT(home_core, CpuInfo::GetMaxNumCores()); |
| 50 | client_ = nullptr; |
| 51 | data_ = data; |
| 52 | len_ = len; |
| 53 | home_core_ = home_core; |
| 54 | } |
| 55 | |
| 56 | BufferPool::PageHandle::PageHandle() { |
| 57 | Reset(); |
no outgoing calls
no test coverage detected