Home
last modified time | relevance | path

Searched defs:latch (Results 1 – 25 of 180) sorted by relevance

12345678

/external/sdk-platform-java/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/
DHttpJsonDirectServerStreamingCallableTest.java180 CountDownLatch latch = new CountDownLatch(1); in testBadContext() local
196 CountDownLatch latch = new CountDownLatch(1); in testServerStreamingStart() local
212 CountDownLatch latch = new CountDownLatch(3); in testServerStreaming() local
226 CountDownLatch latch = new CountDownLatch(2); in testManualFlowControl() local
246 CountDownLatch latch = new CountDownLatch(1); in testCancelClientCall() local
263 CountDownLatch latch = new CountDownLatch(1); in testOnResponseError() local
341 CountDownLatch latch = new CountDownLatch(1); in testDeadlineExceededServerStreaming() local
357 private final CountDownLatch latch; field in HttpJsonDirectServerStreamingCallableTest.MoneyObserver
364 MoneyObserver(boolean autoFlowControl, CountDownLatch latch) { in MoneyObserver()
/external/sdk-platform-java/gax-java/gax-grpc/src/test/java/com/google/api/gax/grpc/
DGrpcDirectServerStreamingCallableTest.java119 CountDownLatch latch = new CountDownLatch(1); in testBadContext() local
133 CountDownLatch latch = new CountDownLatch(1); in testServerStreamingStart() local
143 CountDownLatch latch = new CountDownLatch(2); in testServerStreaming() local
155 CountDownLatch latch = new CountDownLatch(2); in testManualFlowControl() local
174 CountDownLatch latch = new CountDownLatch(1); in testCancelClientCall() local
189 CountDownLatch latch = new CountDownLatch(1); in testOnResponseError() local
254 private final CountDownLatch latch; field in GrpcDirectServerStreamingCallableTest.MoneyObserver
261 MoneyObserver(boolean autoFlowControl, CountDownLatch latch) { in MoneyObserver()
DGrpcDirectStreamingCallableTest.java95 CountDownLatch latch = new CountDownLatch(1); in testBidiStreaming() local
117 CountDownLatch latch = new CountDownLatch(1); in testBidiStreamingServerError() local
140 CountDownLatch latch = new CountDownLatch(1); in testBidiStreamingClientError() local
167 CountDownLatch latch = new CountDownLatch(1); in testClientStreaming() local
186 CountDownLatch latch; field in GrpcDirectStreamingCallableTest.MoneyObserver
188 MoneyObserver(CountDownLatch latch) { in MoneyObserver()
/external/desugar/test/java/com/google/devtools/build/android/desugar/runtime/
DConcurrentWeakIdentityHashMapTest.java51 testConcurrentWeakIdentityHashMapSingleThreadedHelper(CountDownLatch latch) in testConcurrentWeakIdentityHashMapSingleThreadedHelper()
86 CountDownLatch latch = new CountDownLatch(5); in testSingleThreadedUse() local
99 int numMainExceptions, int numSuppressedPerMain, CountDownLatch latch) { in createExceptionWithSuppressed()
115 int numMainExceptions, int numSuppressedPerMain, CountDownLatch latch) in testFunctionalCorrectnessForMultiThreadedUse()
162 CountDownLatch latch = new CountDownLatch(numMainExceptions * numSuppressedPerMain); in testMultiThreadedUse() local
201 private final CountDownLatch latch; field in ConcurrentWeakIdentityHashMapTest.ExceptionWithLatch
203 private ExceptionWithLatch(String message, CountDownLatch latch) { in ExceptionWithLatch()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DCoroutineSchedulerTest.kt21 val latch = CountDownLatch(1) in <lambda>() constant
34 val latch = CountDownLatch(taskModes.size) in <lambda>() constant
125 val latch = CountDownLatch(1) in <lambda>() constant
136 var latch = CountDownLatch(1) in <lambda>() variable
/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/test/flow/
DFlowCancellationTest.kt16 val latch = Channel<Unit>(1) in <lambda>() constant
33 val latch = Channel<Unit>(1) in <lambda>() constant
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DFlatMapMergeBaseTest.kt37 val latch = Channel<Unit>() in testConcurrentFailure() constant
67 val latch = Channel<Unit>() in <lambda>() constant
DFilterTest.kt29 val latch = Channel<Unit>() in <lambda>() constant
64 val latch = Channel<Unit>() in <lambda>() constant
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/errorhandling/
DErrorHandlingClient.java117 final CountDownLatch latch = new CountDownLatch(1); in futureCallCallback() local
146 final CountDownLatch latch = new CountDownLatch(1); in asyncCall() local
184 final CountDownLatch latch = new CountDownLatch(1); in advancedAsyncCall() local
DDetailErrorSample.java144 final CountDownLatch latch = new CountDownLatch(1); in futureCallCallback() local
170 final CountDownLatch latch = new CountDownLatch(1); in asyncCall() local
205 final CountDownLatch latch = new CountDownLatch(1); in advancedAsyncCall() local
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/terminal/
DFirstTest.kt37 val latch = Channel<Unit>() in <lambda>() constant
66 val latch = Channel<Unit>() in <lambda>() constant
104 val latch = Channel<Unit>() in <lambda>() constant
139 val latch = Channel<Unit>() in <lambda>() constant
/external/okhttp/okhttp-ws-tests/src/main/java/com/squareup/okhttp/ws/
DAutobahnTester.java71 final CountDownLatch latch = new CountDownLatch(1); in runTest() local
132 final CountDownLatch latch = new CountDownLatch(1); in getTestCount() local
171 final CountDownLatch latch = new CountDownLatch(1); in updateReports() local
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/concurrent/
DTimedSemaphoreTest.java215 final CountDownLatch latch = new CountDownLatch(count - 1); in testAcquireLimit() local
289 final CountDownLatch latch = new CountDownLatch(count); in testAcquireNoLimit() local
320 final CountDownLatch latch = new CountDownLatch(count); in testAcquireMultiplePeriods() local
384 final CountDownLatch latch = new CountDownLatch(1); in testTryAcquire() local
420 volatile CountDownLatch latch; field in TimedSemaphoreTest.TimedSemaphoreTestImpl
487 private final CountDownLatch latch; field in TimedSemaphoreTest.SemaphoreThread
532 private final CountDownLatch latch; field in TimedSemaphoreTest.TryAcquireThread
/external/grpc-grpc/test/core/promise/
Dlatch_test.cc35 Latch<int> latch; in TEST() local
55 Latch<std::string> latch; in TEST() local
82 Latch<void> latch; in TEST() local
99 ExternallyObservableLatch<void> latch; in TEST() local
/external/dagger2/javatests/artifacts/hilt-android/simple/app/src/androidTest-agp-4.2.0/java/dagger/hilt/android/simple/
DBroadcastReceiverTest.java116 final CountDownLatch latch = new CountDownLatch(1); field in BroadcastReceiverTest.TestReceiverOne
131 final CountDownLatch latch = new CountDownLatch(1); field in BroadcastReceiverTest.TestReceiverTwo
146 final CountDownLatch latch = new CountDownLatch(1); field in BroadcastReceiverTest.TestReceiverThree
162 final CountDownLatch latch = new CountDownLatch(1); field in BroadcastReceiverTest.TestReceiverFour
/external/aws-sdk-java-v2/core/aws-core/src/test/java/software/amazon/awssdk/awscore/eventstream/
DEventStreamAsyncResponseTransformerTest.java53 CountDownLatch latch = new CountDownLatch(1); in multipleEventsInChunk_OnlyDeliversOneEvent() local
105 CountDownLatch latch = new CountDownLatch(1); in devilSubscriber_requestDataAfterComplete() local
189 CountDownLatch latch = new CountDownLatch(2); in prepareResetsSubscriberRef() local
261 CountDownLatch latch = new CountDownLatch(1); in erroneousExceptionOccurredAfterCompleteDoesNotSurfaceException() local
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/test/
DIterableFlowTckTest.kt48 val latch = CountDownLatch(1) in testStackOverflowTrampoline() constant
83 val latch = CountDownLatch(1) in testConcurrentRequest() constant
/external/dagger2/javatests/dagger/internal/
DDoubleCheckTest.java79 final CountDownLatch latch = new CountDownLatch(numThreads); in get() local
104 final CountDownLatch latch; field in DoubleCheckTest.LatchedProvider
106 LatchedProvider(CountDownLatch latch) { in LatchedProvider()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowPausedSystemClockTest.java53 CountDownLatch latch = new CountDownLatch(2); in sleep_concurrentAccess() local
99 CountDownLatch latch = new CountDownLatch(numToExecute); in deepSleep_concurrentAccess_doesNotCorruptData() local
143 CountDownLatch latch = new CountDownLatch(2); in setCurrentTimeMillis_concurrentAccess() local
/external/aws-sdk-java-v2/core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/http/timers/
DSyncTimeoutTaskTest.java41 CountDownLatch latch = new CountDownLatch(1); in taskInProgress_hasExecutedReturnsTrue() local
64 CountDownLatch latch = new CountDownLatch(1); in taskInProgress_cancelCalled_abortableIsNotInterrupted() local
/external/tensorflow/tensorflow/core/tfrt/runtime/
Dtf_threadpool_concurrent_work_queue_test.cc68 tfrt::latch latch(10); in TEST_F() local
86 tfrt::latch latch(10); in TEST_F() local
103 tfrt::latch latch(20); in TEST_F() local
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/
DObservableSourceAsFlowStressTest.kt26 val latch = Channel<Unit>(1) in <lambda>() constant
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/test/
DObservableSourceAsFlowStressTest.kt27 val latch = Channel<Unit>(1) in <lambda>() constant
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DReusableCancellableContinuationInvariantStressTest.kt29 val latch = CountDownLatch(1) in doTest() constant
/external/guava/android/guava-testlib/src/com/google/common/testing/
DGcFinalization.java198 public static void await(CountDownLatch latch) { in await()
226 private static void createUnreachableLatchFinalizer(CountDownLatch latch) { in createUnreachableLatchFinalizer()

12345678