/external/kotlinx.atomicfu/atomicfu/src/jsMain/kotlin/kotlinx/atomicfu/ |
D | AtomicFU.kt | 102 public actual fun getAndAdd(delta: Int): Int { in toString() method 120 public actual inline operator fun plusAssign(delta: Int) { getAndAdd(delta) } in toString() 122 public actual inline operator fun minusAssign(delta: Int) { getAndAdd(-delta) } in toString() 156 public actual fun getAndAdd(delta: Long): Long { in getAndIncrement() method 174 public actual inline operator fun plusAssign(delta: Long) { getAndAdd(delta) } in incrementAndGet() 176 public actual inline operator fun minusAssign(delta: Long) { getAndAdd(-delta) } in minusAssign()
|
/external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/ |
D | AtomicFU.kt | 250 public actual fun getAndAdd(delta: Int): Int { in getAndAdd() method 252 val oldValue = FU.getAndAdd(this, delta) in getAndAdd() 291 getAndAdd(delta) in plusAssign() 298 getAndAdd(-delta) in minusAssign() 379 public actual fun getAndAdd(delta: Long): Long { in getAndAdd() method 381 val oldValue = FU.getAndAdd(this, delta) in getAndAdd() 420 getAndAdd(delta) in plusAssign() 427 getAndAdd(-delta) in minusAssign()
|
/external/kotlinx.atomicfu/atomicfu/src/nativeMain/kotlin/kotlinx/atomicfu/ |
D | AtomicFU.kt | 104 public actual inline fun getAndAdd(delta: Int): Int = a.addAndGet(delta) - delta in toString() method in kotlinx.atomicfu.AtomicInt 109 public actual inline operator fun plusAssign(delta: Int) { getAndAdd(delta) } in toString() 110 public actual inline operator fun minusAssign(delta: Int) { getAndAdd(-delta) } in toString() 138 public actual inline fun getAndAdd(delta: Long): Long = a.addAndGet(delta) - delta in getAndIncrement() method in kotlinx.atomicfu.AtomicLong 143 public actual inline operator fun plusAssign(delta: Long) { getAndAdd(delta) } in getAndIncrement() 144 public actual inline operator fun minusAssign(delta: Long) { getAndAdd(-delta) } in minusAssign()
|
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/internal_test2/ |
D | С.kt | 16 check(a.intArr[3].getAndAdd(5) == 0) in testInternal() 19 check(d.da.xxx.getAndAdd(90) == 5) in testInternal()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | CensusStatsModule.java | 222 outboundWireSizeUpdater.getAndAdd(this, bytes); in outboundWireSize() 232 inboundWireSizeUpdater.getAndAdd(this, bytes); in inboundWireSize() 242 outboundUncompressedSizeUpdater.getAndAdd(this, bytes); in outboundUncompressedSize() 252 inboundUncompressedSizeUpdater.getAndAdd(this, bytes); in inboundUncompressedSize() 510 outboundWireSizeUpdater.getAndAdd(this, bytes); in outboundWireSize() 520 inboundWireSizeUpdater.getAndAdd(this, bytes); in inboundWireSize() 530 outboundUncompressedSizeUpdater.getAndAdd(this, bytes); in outboundUncompressedSize() 540 inboundUncompressedSizeUpdater.getAndAdd(this, bytes); in inboundUncompressedSize()
|
D | AtomicLongCounter.java | 35 counter.getAndAdd(delta); in add()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | AtomicLongMap.java | 115 return getAndAdd(key, 1); in getAndIncrement() 123 return getAndAdd(key, -1); in getAndDecrement() 131 public long getAndAdd(K key, long delta) { in getAndAdd() method in AtomicLongMap
|
D | AtomicDouble.java | 156 public final double getAndAdd(double delta) { in getAndAdd() method in AtomicDouble
|
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/kotlinx/atomicfu/test/ |
D | TopLevelTest.kt | 38 check(a.getAndAdd(2) == 2) in <lambda>() 60 check(b.getAndAdd(100000000000000000) == 8924920024888888848) in <lambda>() 133 check(longArr[4].getAndAdd(100000000000000000) == 8924920024888888848) in testLongArray()
|
D | ArithmeticTest.kt | 26 check(a._x.getAndAdd(2) == 2) in testInt() 49 check(a.z.getAndAdd(100000000000000000) == 8924920024888888848) in testLong()
|
D | LockFreeLongCounterTest.kt | 50 fun add2() = counter.getAndAdd(2) in get()
|
/external/guava/android/guava/src/com/google/common/util/concurrent/ |
D | AtomicLongMap.java | 143 return getAndAdd(key, 1); in getAndIncrement() 151 return getAndAdd(key, -1); in getAndDecrement() 159 public long getAndAdd(K key, long delta) { in getAndAdd() method in AtomicLongMap
|
D | AtomicDouble.java | 149 public final double getAndAdd(double delta) { in getAndAdd() method in AtomicDouble
|
/external/guava/guava/src/com/google/common/hash/ |
D | LongAddables.java | 63 getAndAdd(x); in add()
|
/external/guava/android/guava/src/com/google/common/hash/ |
D | LongAddables.java | 63 getAndAdd(x); in add()
|
/external/guava/android/guava/src/com/google/common/cache/ |
D | LongAddables.java | 65 getAndAdd(x); in add()
|
/external/guava/guava/src/com/google/common/cache/ |
D | LongAddables.java | 65 getAndAdd(x); in add()
|
/external/guava/android/guava-testlib/src/com/google/common/testing/ |
D | FakeTicker.java | 73 return nanos.getAndAdd(autoIncrementStepNanos); in read()
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
D | AggregateAllocationsRecorder.java | 40 allocationSize.getAndAdd(size);
|
/external/kotlinx.atomicfu/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/ |
D | AtomicFU.common.kt | 244 public fun getAndAdd(delta: Int): Int in lazySet() method in kotlinx.atomicfu.AtomicInt 355 public fun getAndAdd(delta: Long): Long in lazySet() method in kotlinx.atomicfu.AtomicLong
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | FakeTicker.java | 97 return nanos.getAndAdd(autoIncrementStepNanos); in read()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AtomicLongMapBasherTest.java | 82 map.getAndAdd(key, delta); in testModify_basher()
|
D | AtomicDoubleArrayTest.java | 130 aa.getAndAdd(index, 1.0); in testIndexing() 241 double z = aa.getAndAdd(i, y); in testGetAndAdd()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | AtomicLongMapBasherTest.java | 82 map.getAndAdd(key, delta); in testModify_basher()
|
D | AtomicDoubleArrayTest.java | 130 aa.getAndAdd(index, 1.0); in testIndexing() 240 double z = aa.getAndAdd(i, y); in testGetAndAdd()
|