Home
last modified time | relevance | path

Searched refs:addAndGet (Results 1 – 25 of 30) sorted by relevance

12

/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DTestStreamTracer.java137 outboundWireSize.addAndGet(bytes); in outboundWireSize()
142 inboundWireSize.addAndGet(bytes); in inboundWireSize()
147 outboundUncompressedSize.addAndGet(bytes); in outboundUncompressedSize()
152 inboundUncompressedSize.addAndGet(bytes); in inboundUncompressedSize()
/external/guava/guava/src/com/google/common/util/concurrent/
DAtomicLongMap.java90 return addAndGet(key, 1); in incrementAndGet()
97 return addAndGet(key, -1); in decrementAndGet()
104 public long addAndGet(K key, long delta) { in addAndGet() method in AtomicLongMap
DAtomicDouble.java182 public final double addAndGet(double delta) { in addAndGet() method in AtomicDouble
DAtomicDoubleArray.java198 public double addAndGet(int i, double delta) { in addAndGet() method in AtomicDoubleArray
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DStreamService.java159 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/guava-tests/test/com/google/common/util/concurrent/
DAtomicLongMapTest.java207 long result = map.addAndGet(key, addend); in testAddAndGet()
225 assertEquals(value, map.addAndGet(key, value)); in testAddAndGet_zero()
228 assertEquals(0L, map.addAndGet(key, -1 * value)); in testAddAndGet_zero()
232 assertEquals(value, map.addAndGet(key, value)); in testAddAndGet_zero()
586 map.addAndGet(key, delta); in testModify_basher()
625 sum.addAndGet(threadSum); in testModify_basher()
DAtomicDoubleArrayTest.java143 aa.addAndGet(index, 1.0); in testIndexing()
278 double z = aa.addAndGet(i, y); in testAddAndGet()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DAbstractMapBasedMultiset.java189 if (currentEntry.getValue().addAndGet(-1) == 0) {
254 frequency.addAndGet(-numberRemoved);
/external/guava/guava-tests/test/com/google/common/collect/
DCountTest.java40 assertEquals(21, holder.addAndGet(1)); in testAddAndGet()
/external/guava/guava/src/com/google/common/collect/
DAbstractMapBasedMultiset.java192 if (currentEntry.getValue().addAndGet(-1) == 0) {
257 frequency.addAndGet(-numberRemoved);
DCount.java46 public int addAndGet(int delta) { in addAndGet() method in Count
/external/guava/guava-testlib/src/com/google/common/testing/
DFakeTicker.java53 nanos.addAndGet(nanoseconds); in advance()
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/atomic/
DAtomicInteger.java85 public final int addAndGet(int delta) { in addAndGet() method in AtomicInteger
DAtomicLong.java85 public final long addAndGet(long delta) { in addAndGet() method in AtomicLong
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DAbstractBenchmark.java400 counter.addAndGet(counterDelta); in startUnaryCalls()
450 counter.addAndGet(counterDelta); in startStreamingCalls()
504 counter.addAndGet(counterDelta); in startFlowControlledStreamingCalls()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DRetriableStream.java127 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()
/external/guava/guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/
DAtomicLongMapTest.java192 long result = map.addAndGet(key, addend); in testAddAndGet()
210 assertEquals(value, map.addAndGet(key, value)); in testAddAndGet_zero()
213 assertEquals(0L, map.addAndGet(key, -1 * value)); in testAddAndGet_zero()
217 assertEquals(value, map.addAndGet(key, value)); in testAddAndGet_zero()
/external/guava/guava-tests/benchmark/com/google/common/cache/
DLoadingCacheSingleThreadBenchmark.java81 requests.addAndGet(reps); in time()
/external/guava/guava-tests/benchmark/com/google/common/collect/
DMapMakerSingleThreadBenchmark.java84 requests.addAndGet(reps); in time()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DMoreExecutorsDirectExecutorBenchmark.java77 countingRunnable.integer.addAndGet(localRunnable.integer.get()); in before()
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DClientSocketBenchmark.java70 bytesCounter.addAndGet(numBytes); in ClientSocketBenchmark()
DServerSocketBenchmark.java114 bytesCounter.addAndGet(numBytes); in ServerSocketBenchmark()
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/
DClientSocketBenchmark.java72 bytesCounter.addAndGet(numBytes); in ClientSocketBenchmark()
DServerSocketBenchmark.java116 bytesCounter.addAndGet(numBytes); in ServerSocketBenchmark()
/external/junit/src/main/java/org/junit/runner/
DResult.java120 runTime.addAndGet(endTime - startTime.get()); in testRunFinished()

12