Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for findLast (0.04 seconds)

  1. .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)
            }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top