- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isAtMost (1.73 sec)
-
guava-tests/test/com/google/common/collect/TopKSelectorTest.java
top.offer(1); for (int i = 1; i < n; i++) { top.offer(0); } assertThat(top.topK()).containsExactlyElementsIn(Collections.nCopies(k, 0)); assertThat(compareCalls[0]).isAtMost(10L * n * IntMath.log2(k, RoundingMode.CEILING)); } public void testExceedMaxIteration() { /* * Bug #5692 occurred when TopKSelector called Arrays.sort incorrectly. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Mar 07 18:34:03 UTC 2024 - 3.9K bytes - Viewed (0)