Searched refs:HEAD_MASK (Results 1 – 1 of 1) sorted by relevance
277 const val HEAD_MASK = MAX_CAPACITY_MASK.toLong() shl HEAD_SHIFT in isClosed() constant295 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()