/external/kotlinx.atomicfu/atomicfu/src/nativeMain/kotlin/kotlinx/atomicfu/ |
D | AtomicFU.kt | 102 public actual inline fun getAndIncrement(): Int = a.addAndGet(1) - 1 in toString() 103 public actual inline fun getAndDecrement(): Int = a.addAndGet(-1) + 1 in toString() 104 public actual inline fun getAndAdd(delta: Int): Int = a.addAndGet(delta) - delta in toString() 105 public actual inline fun addAndGet(delta: Int): Int = a.addAndGet(delta) in toString() method in kotlinx.atomicfu.AtomicInt 106 public actual inline fun incrementAndGet(): Int = a.addAndGet(1) in toString() 107 public actual inline fun decrementAndGet(): Int = a.addAndGet(-1) in toString() 136 public actual inline fun getAndIncrement(): Long = a.addAndGet(1) - 1 in getAndIncrement() 137 public actual inline fun getAndDecrement(): Long = a.addAndGet(-1) + 1 in getAndIncrement() 138 public actual inline fun getAndAdd(delta: Long): Long = a.addAndGet(delta) - delta in getAndIncrement() 139 public actual inline fun addAndGet(delta: Long): Long = a.addAndGet(delta) in getAndIncrement() method in kotlinx.atomicfu.AtomicLong [all …]
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/ |
D | TestStreamTracer.java | 137 outboundWireSize.addAndGet(bytes); in outboundWireSize() 142 inboundWireSize.addAndGet(bytes); in inboundWireSize() 147 outboundUncompressedSize.addAndGet(bytes); in outboundUncompressedSize() 152 inboundUncompressedSize.addAndGet(bytes); in inboundUncompressedSize()
|
/external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/ |
D | AtomicFU.kt | 260 public actual fun addAndGet(delta: Int): Int { in addAndGet() method 262 val newValue = FU.addAndGet(this, delta) in addAndGet() 389 public actual fun addAndGet(delta: Long): Long { in addAndGet() method 391 val newValue = FU.addAndGet(this, delta) in addAndGet()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AtomicLongMapBasherTest.java | 70 map.addAndGet(key, delta); in testModify_basher() 109 sum.addAndGet(threadSum); in testModify_basher()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | AtomicLongMapBasherTest.java | 70 map.addAndGet(key, delta); in testModify_basher() 109 sum.addAndGet(threadSum); in testModify_basher()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | AtomicLongMap.java | 90 return addAndGet(key, 1); in incrementAndGet() 98 return addAndGet(key, -1); in decrementAndGet() 106 public long addAndGet(K key, long delta) { in addAndGet() method in AtomicLongMap
|
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/kotlinx/atomicfu/test/ |
D | TopLevelTest.kt | 40 check(a.addAndGet(3) == 7) in <lambda>() 62 check(b.addAndGet(-9223372036854775807) == -198452011965886959) in <lambda>() 137 check(longArr[1].addAndGet(-9223372036854775807) == -198452011965886959) in testLongArray()
|
D | ArithmeticTest.kt | 28 check(a._x.addAndGet(3) == 7) in testInt() 51 check(a.z.addAndGet(-9223372036854775807) == -198452011965886959) in testLong()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | StreamService.java | 159 runningReadStreams.addAndGet(2); in doStart() 160 openStreams.addAndGet(1); in doStart() 177 runningReadStreams.addAndGet(1); in doStart() 178 openStreams.addAndGet(1); in doStart()
|
/external/guava/android/guava/src/com/google/common/util/concurrent/ |
D | AtomicLongMap.java | 90 return addAndGet(key, 1); in incrementAndGet() 98 return addAndGet(key, -1); in decrementAndGet() 106 public long addAndGet(K key, long delta) { in addAndGet() method in AtomicLongMap
|
/external/kotlinx.atomicfu/atomicfu/src/jsMain/kotlin/kotlinx/atomicfu/ |
D | AtomicFU.kt | 109 public actual fun addAndGet(delta: Int): Int { in toString() method 163 public actual fun addAndGet(delta: Long): Long { in addAndGet() method
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | CountTest.java | 40 assertEquals(21, holder.addAndGet(1)); in testAddAndGet()
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | CountTest.java | 40 assertEquals(21, holder.addAndGet(1)); in testAddAndGet()
|
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/internal_test1/ |
D | B.kt | 18 check(a.xxx.addAndGet(4) == 9) in testInternal()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | Count.java | 42 public int addAndGet(int delta) { in addAndGet() method in Count
|
/external/guava/guava/src/com/google/common/collect/ |
D | Count.java | 42 public int addAndGet(int delta) { in addAndGet() method in Count
|
/external/guava/android/guava-testlib/src/com/google/common/testing/ |
D | FakeTicker.java | 54 nanos.addAndGet(nanoseconds); in advance()
|
/external/kotlinx.atomicfu/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/ |
D | AtomicFU.common.kt | 249 public fun addAndGet(delta: Int): Int in lazySet() method in kotlinx.atomicfu.AtomicInt 360 public fun addAndGet(delta: Long): Long in lazySet() method in kotlinx.atomicfu.AtomicLong
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | FakeTicker.java | 55 nanos.addAndGet(nanoseconds); in advance()
|
/external/jackson-core/src/test/java/perf/ |
D | ConcurrencyReadTest.java | 30 count.addAndGet(1); in test()
|
/external/guava/guava-tests/benchmark/com/google/common/cache/ |
D | LoadingCacheSingleThreadBenchmark.java | 90 requests.addAndGet(reps); in time()
|
/external/guava/android/guava-tests/benchmark/com/google/common/cache/ |
D | LoadingCacheSingleThreadBenchmark.java | 90 requests.addAndGet(reps); in time()
|
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/ |
D | AbstractBenchmark.java | 400 counter.addAndGet(counterDelta); in startUnaryCalls() 450 counter.addAndGet(counterDelta); in startStreamingCalls() 504 counter.addAndGet(counterDelta); in startFlowControlledStreamingCalls()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/misc/ |
D | ThreadSafety1759Test.java | 65 counter.addAndGet(1); in createCallable()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | RetriableStream.java | 127 channelBufferUsed.addAndGet(-perRpcBufferUsed); in commit() 880 channelBufferUsed.addAndGet(bufferNeeded - perRpcBufferUsed); in outboundWireSize() 907 long addAndGet(long newBytesUsed) { in addAndGet() method in RetriableStream.ChannelBufferMeter 908 return bufferUsed.addAndGet(newBytesUsed); in addAndGet()
|