Home
last modified time | relevance | path

Searched refs:stopChannel (Results 1 – 5 of 5) sorted by relevance

/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/scheduler/actors/
DCycledActorsBenchmark.kt51 val stopChannel = Channel<Unit>(CORES_COUNT) in <lambda>() constant
52 runCycle(stopChannel) in <lambda>()
54 stopChannel.receive() in <lambda>()
58 private suspend fun runCycle(stopChannel: Channel<Unit>) { in runCycle()
59 val trailingActor = lastActor(stopChannel) in runCycle()
63 previous = createActor(previous, stopChannel) in runCycle()
69 private fun lastActor(stopChannel: Channel<Unit>) = actor<Letter>(capacity = 1024) { in <lambda>()
83 stopChannel.send(Unit) in <lambda>()
91 …private fun createActor(nextActor: SendChannel<Letter>, stopChannel: Channel<Unit>) = actor<Letter… in <lambda>()
100 stopChannel.send(Unit) in <lambda>()
[all …]
DConcurrentStatefulActorBenchmark.kt87 stopChannel: Channel<Unit> in requestorActorUnfair()
100 stopChannel.send(Unit) in requestorActorUnfair()
113 stopChannel: Channel<Unit> in requestorActorFair()
128 stopChannel.send(Unit) in requestorActorFair()
DStatefulActorBenchmark.kt81 …private fun CoroutineScope.requestorActor(computations: List<SendChannel<Letter>>, stopChannel: Ch… in requestorActor()
88 stopChannel.send(Unit) in requestorActor()
/external/aac/libSBRenc/src/
Dinvf_est.cpp245 INT stopChannel, /*!< Stop channel. */ in calculateDetectorValues() argument
263 invChannel = GetInvInt(stopChannel - startChannel); in calculateDetectorValues()
274 for (i = startChannel; i < stopChannel; i++) { in calculateDetectorValues()
291 for (i = startChannel; i < stopChannel; i++) { in calculateDetectorValues()
300 stopChannel - startChannel); in calculateDetectorValues()
302 stopChannel - startChannel); in calculateDetectorValues()
307 temp = min(stopChannel - startChannel, numberOfStrongest); in calculateDetectorValues()
312 fMultDiv2(quotaVecOrig[i + stopChannel - temp], invTemp); in calculateDetectorValues()
314 fMultDiv2(quotaVecSbr[i + stopChannel - temp], invTemp); in calculateDetectorValues()
320 detectorValues->origQuotaMax = quotaVecOrig[stopChannel - 1]; in calculateDetectorValues()
[all …]
Dnf_est.cpp202 INT stopChannel, /*!< Stop channel of the current in qmfBasedNoiseFloorDetection() argument
223 FIXP_DBL invChannel = GetInvInt(stopChannel - startChannel); in qmfBasedNoiseFloorDetection()
232 for (l = startChannel; l < stopChannel; l++) { in qmfBasedNoiseFloorDetection()
248 for (l = startChannel; l < stopChannel; l++) { in qmfBasedNoiseFloorDetection()