Home
last modified time | relevance | path

Searched defs:compareAndSet (Results 1 – 13 of 13) sorted by relevance

/external/kotlinx.atomicfu/atomicfu/src/jsAndWasmSharedMain/kotlin/kotlinx/atomicfu/
DAtomicFU.kt58 public actual fun compareAndSet(expect: T, update: T): Boolean { in atomic() method
91 public actual fun compareAndSet(expect: Boolean, update: Boolean): Boolean { in compareAndSet() method
122 public actual fun compareAndSet(expect: Int, update: Int): Boolean { in toString() method
182 public actual fun compareAndSet(expect: Long, update: Long): Boolean { in compareAndSet() method
/external/kotlinx.atomicfu/atomicfu/src/nativeMain/kotlin/kotlinx/atomicfu/
DAtomicFU.kt55 public actual inline fun compareAndSet(expect: T, update: T): Boolean { in atomic() method in kotlinx.atomicfu.AtomicRef
86 public actual fun compareAndSet(expect: Boolean, update: Boolean): Boolean { in compareAndSet() method in kotlinx.atomicfu.AtomicBoolean
120 public actual inline fun compareAndSet(expect: Int, update: Int): Boolean = in toString() method in kotlinx.atomicfu.AtomicInt
158 public actual inline fun compareAndSet(expect: Long, update: Long): Boolean = in compareAndSet() method in kotlinx.atomicfu.AtomicLong
/external/kotlinx.atomicfu/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/
DAtomicFU.common.kt142 public fun compareAndSet(expect: T, update: T): Boolean in atomic() method in kotlinx.atomicfu.AtomicRef
220 public fun compareAndSet(expect: Boolean, update: Boolean): Boolean in getValue() method in kotlinx.atomicfu.AtomicBoolean
298 public fun compareAndSet(expect: Int, update: Int): Boolean in getValue() method in kotlinx.atomicfu.AtomicInt
415 public fun compareAndSet(expect: Long, update: Long): Boolean in getValue() method in kotlinx.atomicfu.AtomicLong
/external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/
DAtomicFU.kt105 public actual fun compareAndSet(expect: T, update: T): Boolean { in atomic() method
169 public actual fun compareAndSet(expect: Boolean, update: Boolean): Boolean { in compareAndSet() method
229 public actual fun compareAndSet(expect: Int, update: Int): Boolean { in compareAndSet() method
354 public actual fun compareAndSet(expect: Long, update: Long): Boolean { in compareAndSet() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/internal/
DConcurrent.kt27 …public actual fun compareAndSet(expected: V, value: V): Boolean = nativeAtomic.compareAndSet(expec… in withLock() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DConcurrent.common.kt28 public fun compareAndSet(expected: V, value: V): Boolean in tryLock() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/jsAndWasmShared/src/internal/
DConcurrent.kt28 public actual fun compareAndSet(expected: V, value: V): Boolean { in identitySet() method in kotlinx.coroutines.internal.WorkaroundAtomicReference
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/
DStateFlow.kt180 public fun compareAndSet(expect: T, update: T): Boolean in compareAndSet() method
323 override fun compareAndSet(expect: T, update: T): Boolean = in compareAndSet() method
/external/guava/android/guava/src/com/google/common/util/concurrent/
DAtomicDouble.java126 public final boolean compareAndSet(double expect, double update) { in compareAndSet() method in AtomicDouble
DAtomicDoubleArray.java149 public final boolean compareAndSet(int i, double expect, double update) { in compareAndSet() method in AtomicDoubleArray
/external/guava/guava/src/com/google/common/util/concurrent/
DAtomicDouble.java137 public final boolean compareAndSet(double expect, double update) { in compareAndSet() method in AtomicDouble
DAtomicDoubleArray.java152 public final boolean compareAndSet(int i, double expect, double update) { in compareAndSet() method in AtomicDoubleArray
/external/pytorch/torch/csrc/distributed/c10d/
DTCPStoreLibUvBackend.cpp1206 const std::vector<uint8_t>& LibUVStoreDaemon::compareAndSet( in compareAndSet() function in c10d::detail::LibUVStoreDaemon