Home
last modified time | relevance | path

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

/external/kotlinx.atomicfu/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/
DAtomicFU.common.kt111 public inline fun <T> AtomicRef<T>.getAndUpdate(function: (T) -> T): T { in getAndUpdate() method
184 public inline fun AtomicBoolean.getAndUpdate(function: (Boolean) -> Boolean): Boolean { in getAndUpdate() method
295 public inline fun AtomicInt.getAndUpdate(function: (Int) -> Int): Int { in getAndUpdate() method
406 public inline fun AtomicLong.getAndUpdate(function: (Long) -> Long): Long { in getAndUpdate() method
/external/guava/guava/src/com/google/common/util/concurrent/
DAtomicLongMap.java157 public long getAndUpdate(K key, LongUnaryOperator updaterFunction) { in getAndUpdate() method in AtomicLongMap
195 return getAndUpdate(key, oldValue -> accumulatorFunction.applyAsLong(oldValue, x)); in getAndAccumulate()
204 return getAndUpdate(key, x -> newValue); in put()
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/kotlinx/atomicfu/test/
DArrayElementInlineFuncTest.kt34 assertEquals(refArr[0].getAndUpdate { cur -> action(cur) }!!.n, 5) in <lambda>()
DLockFreeStackTest.kt70 top.getAndUpdate { cur -> cur?.next } ?.value in popUpdate()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/sync/
DSemaphore.kt183 val p = _availablePermits.getAndUpdate { cur -> in release()
/external/kotlinx.atomicfu/
DREADME.md11 * Use Kotlin-specific extensions (e.g. inline `updateAndGet` and `getAndUpdate` functions).
58 Use high-level `update`, `updateAndGet`, and `getAndUpdate`,
63 fun pop(): Value? = top.getAndUpdate { cur -> cur?.next } ?.value
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/src/
DReactiveFlow.kt239 val old = requested.getAndUpdate { value -> in request()
/external/kotlinc/lib/
Dkotlinx-coroutines-core.jarMETA-INF/ META-INF/MANIFEST.MF kotlinx/ kotlinx/coroutines/ kotlinx/ ...
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/lib/
Dguava-21.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/dagger2/java/dagger/internal/codegen/bootstrap/
Dbootstrap_compiler_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties META-INF ...
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/dagger2/java/dagger/internal/codegen/kythe/
Dkythe_plugin_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...