MCPcopy Create free account
hub / github.com/apache/impala / Open

Method Open

be/src/runtime/bufferpool/buffer-pool.cc:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45constexpr int BufferPool::MAX_PAGE_ITER_DEBUG;
46
47void 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
56BufferPool::PageHandle::PageHandle() {
57 Reset();

Callers 2

CreatePageMethod · 0.45
AllocateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected