Skip to main content

try_reserve_prefetch_bytes

Function try_reserve_prefetch_bytes 

Source
fn try_reserve_prefetch_bytes(
    budget: &Arc<Semaphore>,
    entry: &FooterEntry,
) -> Option<OwnedSemaphorePermit>
Expand description

Takes from budget the bytes the segment entry describes holds once decoded, if they are free: its length plus a Record per entry.