- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for comparingLong (0.06 seconds)
-
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 }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Aug 06 12:03:40 GMT 2025 - 4.6K bytes - Click Count (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 weightCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0)