Searched refs:timeframe (Results 1 – 3 of 3) sorted by relevance
65 internal fun <T> Flow<T>.throttleLatest(timeframe: Long): Flow<T> = in throttleLatest()69 delay(timeframe) in throttleLatest()
832 timeframe: Long in batchRequestsWithinTimeframe()835 var lastTimestamp = -timeframe in batchRequestsWithinTimeframe()836 return if (timeframe == 0L) { in batchRequestsWithinTimeframe()842 if (lastTimestamp + timeframe <= it.timestamp) { in batchRequestsWithinTimeframe()847 delay(timeframe) in batchRequestsWithinTimeframe()
1375 final long timeframe = System.currentTimeMillis() - TimeUnit.DAYS.toMillis(90); in applyRestoredPayload() local1380 calculatePackagesUsedWithinTimeframe(stats, packagesRestored, timeframe); in applyRestoredPayload()1390 calculatePackagesUsedWithinTimeframe(stats, packagesRestored, timeframe); in applyRestoredPayload()1399 calculatePackagesUsedWithinTimeframe(stats, packagesRestored, timeframe); in applyRestoredPayload()1408 calculatePackagesUsedWithinTimeframe(stats, packagesRestored, timeframe); in applyRestoredPayload()