Home
last modified time | relevance | path

Searched refs:isClosedForSend (Results 1 – 23 of 23) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/channels/
DActorLazyTest.kt21 assertFalse(actor.isClosedForSend) in <lambda>()
26 assertFalse(actor.isClosedForSend) in <lambda>()
34 assertTrue(actor.isClosedForSend) in <lambda>()
49 assertFalse(actor.isClosedForSend) in <lambda>()
54 assertFalse(actor.isClosedForSend) in <lambda>()
60 assertTrue(actor.isClosedForSend) in <lambda>()
DActorTest.kt32 assertFalse(actor.isClosedForSend) in <lambda>()
37 assertTrue(actor.isClosedForSend) in <lambda>()
52 assertFalse(actor.isClosedForSend) in <lambda>()
57 assertFalse(actor.isClosedForSend) in <lambda>()
65 assertTrue(actor.isClosedForSend) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/
DArrayChannelTest.kt43 check(q.isEmpty && !q.isClosedForSend && !q.isClosedForReceive) in <lambda>()
47 check(!q.isEmpty && q.isClosedForSend && !q.isClosedForReceive) in <lambda>()
50 check(!q.isEmpty && q.isClosedForSend && q.isClosedForReceive) in <lambda>()
59 check(!q.isEmpty && q.isClosedForSend && !q.isClosedForReceive) in <lambda>()
61 check(!q.isEmpty && q.isClosedForSend && q.isClosedForReceive) in <lambda>()
135 check(q.isClosedForSend) in testConsumeAll()
DConflatedChannelTest.kt38 assertTrue(q.isClosedForSend) in testConflatedClose()
42 assertTrue(q.isClosedForSend) in testConflatedClose()
83 check(q.isClosedForSend) in testConsumeAll()
DRendezvousChannelTest.kt41 check(q.isEmpty && !q.isClosedForSend && !q.isClosedForReceive) in <lambda>()
54 check(!q.isEmpty && q.isClosedForSend && q.isClosedForReceive) in <lambda>()
56 check(!q.isEmpty && q.isClosedForSend && q.isClosedForReceive) in <lambda>()
267 check(q.isClosedForSend) in testConsumeAll()
DArrayBroadcastChannelTest.kt39 assertFalse(broadcast.isClosedForSend) in <lambda>()
76 assertTrue(broadcast.isClosedForSend) in <lambda>()
209 assertTrue(channel.isClosedForSend) in <lambda>()
DLinkedListChannelTest.kt32 check(q.isClosedForSend) in testConsumeAll()
DBroadcastTest.kt133 assertTrue(b.isClosedForSend) // sub was also closed in <lambda>()
DBasicOperationsTest.kt167 assertTrue(channel.isClosedForSend) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/linearizability/
DChannelsLCStressTest.kt110 fun isClosedForSend() = c.isClosedForSend in <lambda>() method in kotlinx.coroutines.linearizability.ChannelLCStressTestBase
209 fun isClosedForSend(): Boolean = closedMessage !== null in isClosedForSend() method
210 fun isClosedForReceive(): Boolean = isClosedForSend() && buffer.isEmpty() && senders.isEmpty() in isClosedForSend()
/external/kotlinx.coroutines/kotlinx-coroutines-debug/test/
DBlockHoundTest.kt63 check(!q.isClosedForSend) in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/src/
DChannel.kt94 if (isClosedForSend) { in consumeEach()
DPublish.kt93 override val isClosedForSend: Boolean get() = isCompleted constant
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/src/
DRxObservable.kt68 override val isClosedForSend: Boolean get() = isCompleted constant
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/src/
DRxObservable.kt82 override val isClosedForSend: Boolean get() = isCompleted constant
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/
DBuilders.kt364 if (!scope.isClosedForSend) { in collectTo()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DChannel.kt31 public val isClosedForSend: Boolean constant
DConflatedBroadcastChannel.kt96 public override val isClosedForSend: Boolean get() = _state.value is Closed in <lambda>() constant in kotlinx.coroutines.channels.ConflatedBroadcastChannel
DAbstractChannel.kt129 public final override val isClosedForSend: Boolean get() = closedForSend != null in <lambda>() constant
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/channels/
DChannelBuildersFlowTest.kt238 assertTrue(channel.isClosedForSend) // Failure in the flow fails the channel in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/api/
Dkotlinx-coroutines-reactive.api59 public fun isClosedForSend ()Z
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/
Dkotlinx-coroutines-core.api767 public fun isClosedForSend ()Z
813 public abstract fun isClosedForSend ()Z
/external/kotlinx.coroutines/
DCHANGES.md615 …* Make `close`, `cancel`, `isClosedForSend`, `isClosedForReceive` and `offer` linearizable with ot…