- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for topK (0.52 sec)
-
guava/src/com/google/common/collect/TopKSelector.java
threshold = buffer[k - 1]; } // Up to bufferSize, all elements of buffer are real Ts (not null unless T includes null) T[] topK = Arrays.copyOf(castBuffer, bufferSize); // we have to support null elements, so no ImmutableList for us return unmodifiableList(asList(topK)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 11.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Comparators.java
checkNotNull(comparator); return Collector.of( () -> TopKSelector.<T>least(k, comparator), TopKSelector::offer, TopKSelector::combine, TopKSelector::topK, Collector.Characteristics.UNORDERED); } /** * Returns a {@code Collector} that returns the {@code k} greatest (relative to the specified
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeTraverser.java
protected @Nullable T computeNext() { while (!stack.isEmpty()) { PostOrderNode<T> top = stack.getLast(); if (top.childIterator.hasNext()) { T child = top.childIterator.next(); stack.addLast(expand(child)); } else { stack.removeLast(); return top.root; } } return endOfData(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
Exception level1 = new IOException("Level 1 error", level2); SsoLoginException exception = new SsoLoginException("Top level SSO error", level1); assertEquals("Top level SSO error", exception.getMessage()); // Verify the exception chain Throwable cause1 = exception.getCause(); assertNotNull(cause1);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
/** * Automatically runs sanity checks against top level classes in the same package of the test that * extends {@code AbstractPackageSanityTests}. Currently sanity checks include {@link * NullPointerTester}, {@link EqualsTester} and {@link SerializableTester}. For example: * * <pre> * public class PackageSanityTests extends AbstractPackageSanityTests {} * </pre> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java
Throwable middleCause = new IllegalStateException("Middle cause", rootCause); ScheduledJobException exception = new ScheduledJobException("Top level error", middleCause); assertEquals("Top level error", exception.getMessage()); assertEquals(middleCause, exception.getCause()); assertEquals("Middle cause", exception.getCause().getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeTraverser.java
protected @Nullable T computeNext() { while (!stack.isEmpty()) { PostOrderNode<T> top = stack.getLast(); if (top.childIterator.hasNext()) { T child = top.childIterator.next(); stack.addLast(expand(child)); } else { stack.removeLast(); return top.root; } } return endOfData(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graphs.java
while (!stack.isEmpty()) { // To peek at the top two items, we need to temporarily remove one. NodeAndRemainingSuccessors<N> top = stack.removeLast(); NodeAndRemainingSuccessors<N> prev = stack.peekLast(); stack.addLast(top); N node = top.node; N previousNode = prev == null ? null : prev.node; if (top.remainingSuccessors == null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graphs.java
while (!stack.isEmpty()) { // To peek at the top two items, we need to temporarily remove one. NodeAndRemainingSuccessors<N> top = stack.removeLast(); NodeAndRemainingSuccessors<N> prev = stack.peekLast(); stack.addLast(top); N node = top.node; N previousNode = prev == null ? null : prev.node; if (top.remainingSuccessors == null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 23.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedLong.java
*/ @Override public float floatValue() { if (value >= 0) { return (float) value; } // The top bit is set, which means that the float value is going to come from the top 24 bits. // So we can ignore the bottom 8, except for rounding. See doubleValue() for more. return (float) ((value >>> 1) | (value & 1)) * 2f; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 8.8K bytes - Viewed (0)