Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for toIntFunction (0.04 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/collect/CollectCollectors.java

    import java.util.EnumSet;
    import java.util.LinkedHashMap;
    import java.util.TreeMap;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.function.Supplier;
    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import org.jspecify.annotations.Nullable;
    
    /** Collectors utilities for {@code common.collect} internals. */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. 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)
  5. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                listOf(SingleTestProjectBucket(testProject, scenarioDurations.map { it.scenario }))
            } else {
                val list = LinkedList(scenarioDurations.sortedBy { -it.durationInMs })
                val toIntFunction = PerformanceTestDuration::durationInMs
                val largeElementSplitFunction: (
                    PerformanceTestDuration,
                    Int,
                ) -> List<List<PerformanceTestDuration>> = {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Jul 10 02:18:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.function.Function;
    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link SortedMultiset} whose contents will never change, with many other important properties
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMultiset.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.function.Function;
    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Multiset} whose contents will never change, with many other important properties
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.function.Function;
    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link SortedMultiset} whose contents will never change, with many other important properties
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multisets.java

    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import java.util.Objects;
    import java.util.Set;
    import java.util.function.Function;
    import java.util.function.Supplier;
    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Provides static utility methods for creating and working with {@link Multiset} instances.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multisets.java

    import java.util.NoSuchElementException;
    import java.util.Objects;
    import java.util.Set;
    import java.util.Spliterator;
    import java.util.function.Function;
    import java.util.function.Supplier;
    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Provides static utility methods for creating and working with {@link Multiset} instances.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.2K bytes
    - Viewed (0)
Back to top