- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for splitIntoBuckets (0.23 sec)
-
.teamcity/src/main/kotlin/model/BucketExtensions.kt
* @param smallElementAggregateFunction the function used to aggregate tiny elements into a large bucket * @param expectedBucketNumber the return value's size should be expectedBucketNumber */ fun <T, R> splitIntoBuckets( list: LinkedList<T>, toIntFunction: (T) -> Int, largeElementSplitFunction: (T, Int) -> List<R>, smallElementAggregateFunction: (List<T>) -> R, expectedBucketNumber: Int,
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Feb 12 09:12:03 UTC 2025 - 5.7K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
): List<SmallSubprojectBucket> { // splitIntoBuckets() method expects us to split large element into N elements, // but we want to have a single bucket with N batches. // As a workaround, we repeat the bucket N times, and deduplicate the result at the end val resultIncludingDuplicates = splitIntoBuckets( LinkedList(subProjectTestClassTimes),
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Apr 10 15:09:32 UTC 2025 - 7.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
?: PerformanceTestDuration(scenario.scenario, 1) }) .entries .map { TestProjectDuration(it.key, it.value) } .sortedBy { -it.totalTime } return splitIntoBuckets( LinkedList(testProjectDurations), TestProjectDuration::totalTime, { largeElement: TestProjectDuration, size: Int -> largeElement.split(size) },
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 10 02:18:03 UTC 2025 - 16.6K bytes - Viewed (0)