Home
last modified time | relevance | path

Searched refs:getAndIncrement (Results 1 – 25 of 86) sorted by relevance

1234

/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbClientLoadRecorder.java79 callsStartedUpdater.getAndIncrement(this); in newClientStreamTracer()
87 callsStartedUpdater.getAndIncrement(this); in recordDroppedRequest()
88 callsFinishedUpdater.getAndIncrement(this); in recordDroppedRequest()
149 callsFinishedUpdater.getAndIncrement(GrpclbClientLoadRecorder.this); in streamClosed()
151 callsFailedToSendUpdater.getAndIncrement(GrpclbClientLoadRecorder.this); in streamClosed()
154 callsFinishedKnownReceivedUpdater.getAndIncrement(GrpclbClientLoadRecorder.this); in streamClosed()
/external/dagger2/javatests/dagger/internal/
DSetFactoryTest.java79 return value::getAndIncrement; in incrementingIntegerProvider()
84 return () -> ImmutableSet.of(value.getAndIncrement(), value.getAndIncrement()); in incrementingIntegerSetProvider()
DSingleCheckTest.java40 Provider<Integer> provider = SingleCheck.provider(integer::getAndIncrement); in get()
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DBinlogHelper.java420 seq.getAndIncrement(), in getClientInterceptor()
433 seq.getAndIncrement(), in getClientInterceptor()
446 seq.getAndIncrement(), in getClientInterceptor()
459 seq.getAndIncrement(), in getClientInterceptor()
474 seq.getAndIncrement(), in getClientInterceptor()
486 seq.getAndIncrement(), in getClientInterceptor()
495 seq.getAndIncrement(), in getClientInterceptor()
521 seq.getAndIncrement(),
533 seq.getAndIncrement(),
545 seq.getAndIncrement(),
[all …]
DBinaryLogProviderImpl.java74 return helperForMethod.getServerInterceptor(counter.getAndIncrement()); in getServerInterceptor()
85 return helperForMethod.getClientInterceptor(counter.getAndIncrement()); in getClientInterceptor()
/external/jsilver/src/com/google/streamhtmlparser/impl/
DInternalState.java103 int htmlStateId = htmlStates.getAndIncrement(); in getInstanceHtml()
114 int javascriptStateId = javascriptStates.getAndIncrement(); in getInstanceJavascript()
/external/guava/guava-tests/test/com/google/common/primitives/
DImmutableLongArrayTest.java186 builder.add(counter.getAndIncrement()); in doIt()
194 array[i] = counter.getAndIncrement(); in doIt()
205 list.add(counter.getAndIncrement()); in doIt()
216 list.add(counter.getAndIncrement()); in doIt()
226 array[i] = counter.getAndIncrement(); in doIt()
236 array[i] = counter.getAndIncrement(); in doIt()
246 array[i] = counter.getAndIncrement(); in doIt()
344 .forEach(i -> assertThat(i).isEqualTo(count.getAndIncrement())); in testForEach()
DImmutableIntArrayTest.java184 builder.add(counter.getAndIncrement()); in doIt()
192 array[i] = counter.getAndIncrement(); in doIt()
203 list.add(counter.getAndIncrement()); in doIt()
214 list.add(counter.getAndIncrement()); in doIt()
224 array[i] = counter.getAndIncrement(); in doIt()
234 array[i] = counter.getAndIncrement(); in doIt()
244 array[i] = counter.getAndIncrement(); in doIt()
341 ImmutableIntArray.of(0, 1, 2, 3).forEach(i -> assertThat(i).isEqualTo(count.getAndIncrement())); in testForEach()
DImmutableDoubleArrayTest.java187 builder.add(counter.getAndIncrement()); in doIt()
195 array[i] = counter.getAndIncrement(); in doIt()
206 list.add((double) counter.getAndIncrement()); in doIt()
217 list.add((double) counter.getAndIncrement()); in doIt()
227 array[i] = counter.getAndIncrement(); in doIt()
237 array[i] = counter.getAndIncrement(); in doIt()
247 array[i] = counter.getAndIncrement(); in doIt()
355 .forEach(i -> assertThat(i).isEqualTo((double) count.getAndIncrement())); in testForEach()
/external/junit/src/main/java/org/junit/runner/
DResult.java142 count.getAndIncrement(); in testFinished()
152 ignoreCount.getAndIncrement(); in testIgnored()
157 assumptionFailureCount.getAndIncrement(); in testAssumptionFailure()
/external/brotli/java/org/brotli/integration/
DBundleChecker.java65 int jobIndex = nextJob.getAndIncrement(); in run()
87 jobIndex = nextJob.getAndIncrement(); in run()
/external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/
DAtomicFU.kt230 public actual fun getAndIncrement(): Int { in getAndIncrement() method
232 val oldValue = FU.getAndIncrement(this) in getAndIncrement()
359 public actual fun getAndIncrement(): Long { in getAndIncrement() method
361 val oldValue = FU.getAndIncrement(this) in getAndIncrement()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/test/
DPublisherRequestStressTest.kt95 check(callingOnNext.getAndIncrement() == 0) // make sure it is not concurrent in <lambda>()
138 cont.resume(nextValue.getAndIncrement()) in <lambda>()
/external/guava/android/guava-tests/test/com/google/common/primitives/
DImmutableDoubleArrayTest.java178 builder.add(counter.getAndIncrement()); in doIt()
186 array[i] = counter.getAndIncrement(); in doIt()
197 list.add((double) counter.getAndIncrement()); in doIt()
208 list.add((double) counter.getAndIncrement()); in doIt()
218 array[i] = counter.getAndIncrement(); in doIt()
228 array[i] = counter.getAndIncrement(); in doIt()
DImmutableIntArrayTest.java175 builder.add(counter.getAndIncrement()); in doIt()
183 array[i] = counter.getAndIncrement(); in doIt()
194 list.add(counter.getAndIncrement()); in doIt()
205 list.add(counter.getAndIncrement()); in doIt()
215 array[i] = counter.getAndIncrement(); in doIt()
225 array[i] = counter.getAndIncrement(); in doIt()
DImmutableLongArrayTest.java177 builder.add(counter.getAndIncrement()); in doIt()
185 array[i] = counter.getAndIncrement(); in doIt()
196 list.add(counter.getAndIncrement()); in doIt()
207 list.add(counter.getAndIncrement()); in doIt()
217 array[i] = counter.getAndIncrement(); in doIt()
227 array[i] = counter.getAndIncrement(); in doIt()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/internal/
DSegmentBasedQueue.kt37 val enqIdx = this.enqIdx.getAndIncrement() in enqueue()
50 val deqIdx = this.deqIdx.getAndIncrement() in dequeue()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DExecutionListTest.java59 runCalled.getAndIncrement(); in testExecute_idempotent()
82 runCalled.getAndIncrement(); in testExecute_idempotentConcurrently()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DExecutionListTest.java59 runCalled.getAndIncrement(); in testExecute_idempotent()
82 runCalled.getAndIncrement(); in testExecute_idempotentConcurrently()
/external/kotlinx.coroutines/kotlinx-coroutines-test/src/
DTestCoroutineDispatcher.kt83 queue.addLast(TimedRunnable(block, _counter.getAndIncrement())) in <lambda>()
86 TimedRunnable(block, _counter.getAndIncrement(), safePlus(currentTime, delayTime)) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/flow/
DSharingStressTest.kt74 assertEquals(0, isRunning.getAndIncrement()) in <lambda>()
77 val value = emitIndex.getAndIncrement() in <lambda>()
/external/kotlinx.atomicfu/atomicfu/src/jsMain/kotlin/kotlinx/atomicfu/
DAtomicFU.kt96 public actual fun getAndIncrement(): Int = value++ in toString() method
150 public actual fun getAndIncrement(): Long = value++ in getAndIncrement() method
/external/guava/guava/src/com/google/common/hash/
DLongAddables.java58 getAndIncrement(); in increment()
/external/guava/android/guava/src/com/google/common/hash/
DLongAddables.java58 getAndIncrement(); in increment()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/sync/
DSemaphore.kt197 val enqIdx = enqIdx.getAndIncrement() in addAcquireToQueue()
221 val deqIdx = deqIdx.getAndIncrement() in tryResumeNextFromQueue()

1234