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

Method TransferReservationFrom

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

Source from the content-addressed store, hash-verified

338}
339
340bool BufferPool::ClientHandle::TransferReservationFrom(
341 ReservationTracker* src, int64_t bytes) {
342 DCHECK(!impl_->has_unpinned_pages());
343 return src->TransferReservationTo(impl_->reservation(), bytes);
344}
345
346Status BufferPool::ClientHandle::TransferReservationTo(
347 ReservationTracker* dst, int64_t bytes, bool* transferred) {

Callers 1

ClaimMethod · 0.80

Calls 3

has_unpinned_pagesMethod · 0.45
TransferReservationToMethod · 0.45
reservationMethod · 0.45

Tested by

no test coverage detected