Home
last modified time | relevance | path

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

12345

/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/jvm/test/flow/
DFlowCancellationTest.kt15 val latch = Channel<Unit>(1) in <lambda>() constant
32 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
65 val latch = Channel<Unit>() in <lambda>() constant
DMapTest.kt32 val latch = Channel<Unit>() in <lambda>() constant
DMapNotNullTest.kt33 val latch = Channel<Unit>() in <lambda>() constant
DOnEachTest.kt33 val latch = Channel<Unit>() in <lambda>() constant
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/errorhandling/
DErrorHandlingClient.java115 final CountDownLatch latch = new CountDownLatch(1); in futureCallCallback() local
144 final CountDownLatch latch = new CountDownLatch(1); in asyncCall() local
182 final CountDownLatch latch = new CountDownLatch(1); in advancedAsyncCall() local
DDetailErrorSample.java142 final CountDownLatch latch = new CountDownLatch(1); in futureCallCallback() local
168 final CountDownLatch latch = new CountDownLatch(1); in asyncCall() local
203 final CountDownLatch latch = new CountDownLatch(1); in advancedAsyncCall() local
/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/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
DFoldTest.kt31 val latch = Channel<Unit>() in <lambda>() constant
/external/dagger2/java/dagger/hilt/android/example/gradle/simple/app/src/sharedTest/java/dagger/hilt/android/example/gradle/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/dagger2/javatests/dagger/internal/
DDoubleCheckTest.java80 final CountDownLatch latch = new CountDownLatch(numThreads); in get() local
105 final CountDownLatch latch; field in DoubleCheckTest.LatchedProvider
107 LatchedProvider(CountDownLatch latch) { in LatchedProvider()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/test/
DIterableFlowTckTest.kt54 val latch = CountDownLatch(1) in testStackOverflowTrampoline() constant
89 val latch = CountDownLatch(1) in testConcurrentRequest() constant
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/test/
DListenableFutureTest.kt205 val latch = CountDownLatch(1) in <lambda>() constant
227 val latch = CountDownLatch(1) in <lambda>() constant
248 val latch = CountDownLatch(1) in <lambda>() constant
271 val latch = CountDownLatch(1) in <lambda>() constant
295 val latch = CountDownLatch(1) in <lambda>() constant
442 val latch = CountDownLatch(1) in <lambda>() constant
550 val latch = CountDownLatch(1) in <lambda>() constant
/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/guava/android/guava-testlib/src/com/google/common/testing/
DGcFinalization.java197 public static void await(CountDownLatch latch) { in await()
225 private static void createUnreachableLatchFinalizer(final CountDownLatch latch) { in createUnreachableLatchFinalizer()
/external/guava/guava-testlib/src/com/google/common/testing/
DGcFinalization.java197 public static void await(CountDownLatch latch) { in await()
225 private static void createUnreachableLatchFinalizer(final CountDownLatch latch) { in createUnreachableLatchFinalizer()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DRunInterruptibleTest.kt40 val latch = Channel<Unit>(1) in <lambda>() constant
/external/llvm-project/libcxx/test/libcxx/thread/
Dlatch.availability.verify.cpp25 std::latch latch(10); in main() local
/external/guava/guava-testlib/test/com/google/common/testing/
DGcFinalizationTest.java43 final CountDownLatch latch = new CountDownLatch(1); in testAwait_CountDownLatch() local
148 final CountDownLatch latch = new CountDownLatch(1); in testAwait_CountDownLatch_Interrupted() local
/external/guava/android/guava-testlib/test/com/google/common/testing/
DGcFinalizationTest.java43 final CountDownLatch latch = new CountDownLatch(1); in testAwait_CountDownLatch() local
146 final CountDownLatch latch = new CountDownLatch(1); in testAwait_CountDownLatch_Interrupted() local

12345