Searched refs:BUFFER_CAPACITY (Results 1 – 2 of 2) sorted by relevance
12 internal const val BUFFER_CAPACITY = 1 shl BUFFER_CAPACITY_BASE constant13 internal const val MASK = BUFFER_CAPACITY - 1 // 128 by default54 private val buffer: AtomicReferenceArray<Task?> = AtomicReferenceArray(BUFFER_CAPACITY)84 if (bufferSize == BUFFER_CAPACITY - 1) return task in addLast()
43 while (producerQueue.bufferSize > BUFFER_CAPACITY / 2) { in testStealing()80 while (producerQueue.bufferSize == BUFFER_CAPACITY - 1) { in testSingleProducerSingleStealer()