Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toIntFunction (0.12 sec)

  1. .teamcity/src/main/kotlin/model/BucketExtensions.kt

        val largestElementSize = toIntFunction(largestElement)
    
        if (largestElementSize >= roughSizeOfEachBucket) {
            var bucketNumberOfFirstElement =
                determineBucketNumberForLargeElment(
                    largestElementSize,
                    roughSizeOfEachBucket,
                    expectedBucketNumber,
                    list,
                    toIntFunction,
                )
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. .teamcity/src/test/kotlin/SplitBucketTest.kt

                        Subproject("j", 4),
                    ),
                )
    
            val buckets =
                splitIntoBuckets(
                    list = subprojects,
                    toIntFunction = { it: Subproject -> it.size },
                    largeElementSplitFunction = { subproject, split ->
                        List(split) { LargeSubprojectSplit(subproject, split) }
                    },
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Function.java

     * needed, use {@code function::apply}.
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Function} (or the
     * appropriate primitive specialization such as {@code ToIntFunction}) instead whenever possible.
     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top