Searched refs:casLoop (Results 1 – 1 of 1) sorted by relevance
13 private inline fun AtomicInt.casLoop(to: Int): Int = loop { cur -> in <lambda>() method in kotlinx.atomicfu.test.InlineCASTest18 … private inline fun AtomicRef<List<String>>.casLoop(to: List<String>): List<String> = loop { cur -> in <lambda>() method in kotlinx.atomicfu.test.InlineCASTest24 assertEquals(a.casLoop(5), 5) in <lambda>()25 assertEquals(ref.casLoop(listOf("BBB")), listOf("BBB")) in <lambda>()