- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for findLast (0.06 sec)
-
guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java
throw new SkipThisScenarioException(); } } }, STREAMS_FIND_LAST { @Override Object operate(Stream<?> stream) { return Streams.findLast(stream); } }, REDUCE_LAST { @Override Object operate(Stream<?> stream) { return stream.reduce((a, b) -> b); } }, REDUCE_LAST_PARALLEL { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 2.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/bucket-extensions.kt
var restCapacity = expectedBucketSize - toIntFunction(largestElement) while (restCapacity > 0 && list.isNotEmpty() && buckets.size < maxNumberInBucket) { val smallestElement = list.findLast { searched -> buckets.all { canRunTogether(it, searched) } } ?: break list.remove(smallestElement) buckets.add(smallestElement) restCapacity -= toIntFunction(smallestElement) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Nov 17 05:17:44 UTC 2022 - 4K bytes - Viewed (0)