Lines Matching refs:BLOCK_CAP
1063 const BLOCK_CAP: usize = LAP - 1; constant
1096 slots: [Slot<T>; BLOCK_CAP],
1238 if offset == BLOCK_CAP { in push()
1247 if offset + 1 == BLOCK_CAP && next_block.is_none() { in push()
1262 if offset + 1 == BLOCK_CAP { in push()
1316 if offset == BLOCK_CAP { in steal()
1352 if offset + 1 == BLOCK_CAP { in steal()
1370 … if (offset + 1 == BLOCK_CAP) || (slot.state.fetch_or(READ, Ordering::AcqRel) & DESTROY != 0) { in steal()
1413 if offset == BLOCK_CAP { in steal_batch()
1437 advance = (BLOCK_CAP - offset).min(MAX_BATCH); in steal_batch()
1445 advance = (BLOCK_CAP - offset).min(MAX_BATCH); in steal_batch()
1471 if new_offset == BLOCK_CAP { in steal_batch()
1521 if new_offset == BLOCK_CAP { in steal_batch()
1572 if offset == BLOCK_CAP { in steal_batch_and_pop()
1595 advance = (BLOCK_CAP - offset).min(MAX_BATCH + 1); in steal_batch_and_pop()
1603 advance = (BLOCK_CAP - offset).min(MAX_BATCH + 1); in steal_batch_and_pop()
1629 if new_offset == BLOCK_CAP { in steal_batch_and_pop()
1685 if new_offset == BLOCK_CAP { in steal_batch_and_pop()
1787 if offset < BLOCK_CAP { in drop()