Home
last modified time | relevance | path

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

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DLockFreeTaskQueue.kt279 const val TAIL_MASK = MAX_CAPACITY_MASK.toLong() shl TAIL_SHIFT in isClosed() constant
296 fun Long.updateTail(newTail: Int) = (this wo TAIL_MASK) or (newTail.toLong() shl TAIL_SHIFT) in isClosed()
300 val tail = ((this and TAIL_MASK) shr TAIL_SHIFT).toInt() in isClosed()