- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for comparingLong (0.05 sec)
-
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java
return previousWeight != null ? previousWeight : weight; } private Comparator<MavenProject> createComparator() { return Comparator.comparingLong((ToLongFunction<MavenProject>) this::getProjectWeight) .reversed() // Higher weights first .thenComparing(this::getProjectId); // Secondary sort for deterministic ordering }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Aug 06 12:03:40 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
} } private ChannelInfo selectLeastLoaded(Collection<ChannelInfo> channels) { return channels.stream() .min(Comparator.comparingLong(ChannelInfo::getRequestsPending)) .orElseThrow(); } private ChannelInfo selectWeightedRandom(Collection<ChannelInfo> channels) { // Calculate total weightRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0)