Home
last modified time | relevance | path

Searched refs:MAX_BATCH (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/crossbeam-deque/src/
Ddeque.rs21 const MAX_BATCH: usize = 32; constant
709 let batch_size = cmp::min((len as usize + 1) / 2, MAX_BATCH); in steal_batch()
893 let batch_size = cmp::min((len as usize - 1) / 2, MAX_BATCH - 1); in steal_batch_and_pop()
1437 advance = (BLOCK_CAP - offset).min(MAX_BATCH); in steal_batch()
1441 advance = ((len + 1) / 2).min(MAX_BATCH); in steal_batch()
1445 advance = (BLOCK_CAP - offset).min(MAX_BATCH); in steal_batch()
1595 advance = (BLOCK_CAP - offset).min(MAX_BATCH + 1); in steal_batch_and_pop()
1599 advance = ((len + 1) / 2).min(MAX_BATCH + 1); in steal_batch_and_pop()
1603 advance = (BLOCK_CAP - offset).min(MAX_BATCH + 1); in steal_batch_and_pop()