Home
last modified time | relevance | path

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

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DLockFreeTaskQueue.kt277 const val HEAD_MASK = MAX_CAPACITY_MASK.toLong() shl HEAD_SHIFT in isClosed() constant
295 fun Long.updateHead(newHead: Int) = (this wo HEAD_MASK) or (newHead.toLong() shl HEAD_SHIFT) in isClosed()
299 val head = ((this and HEAD_MASK) shr HEAD_SHIFT).toInt() in isClosed()