- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for findLast (0.04 sec)
-
.teamcity/src/main/kotlin/model/BucketExtensions.kt
var restCapacity = roughSizeOfEachBucket - toIntFunction(largestElement) while (restCapacity > 0 && list.isNotEmpty() && buckets.size < maxNumberInBucket) { val smallestElement = list.findLast { searched -> buckets.all { canRunTogether(it, searched) } } ?: break list.remove(smallestElement) buckets.add(smallestElement) restCapacity -= toIntFunction(smallestElement) }
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Feb 12 09:12:03 UTC 2025 - 5.7K bytes - Viewed (0)