- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for top (0.13 sec)
-
android/guava-tests/test/com/google/common/collect/TopKSelectorTest.java
TopKSelector<Integer> top = TopKSelector.least(0); for (int i = 0; i < 10; i++) { top.offer(i); } assertThat(top.topK()).isEmpty(); } public void testNoElementsOffered() { TopKSelector<Integer> top = TopKSelector.least(10); assertThat(top.topK()).isEmpty(); } public void testOfferedFewerThanK() { TopKSelector<Integer> top = TopKSelector.least(10); top.offer(3);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TopKSelectorTest.java
TopKSelector<Integer> top = TopKSelector.least(0); for (int i = 0; i < 10; i++) { top.offer(i); } assertThat(top.topK()).isEmpty(); } public void testNoElementsOffered() { TopKSelector<Integer> top = TopKSelector.least(10); assertThat(top.topK()).isEmpty(); } public void testOfferedFewerThanK() { TopKSelector<Integer> top = TopKSelector.least(10); top.offer(3);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/math/ElementTypesAreNonnullByDefault.java
import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /** * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to * "undo" it as best we can. */ @GwtCompatible
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Aug 17 15:44:29 GMT 2021 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/net/ElementTypesAreNonnullByDefault.java
import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /** * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to * "undo" it as best we can. */ @GwtCompatible
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Aug 17 15:44:29 GMT 2021 - 1.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ElementTypesAreNonnullByDefault.java
import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /** * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to * "undo" it as best we can. */ @GwtCompatible
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/math/DoubleUtils.java
return x.signum() * POSITIVE_INFINITY; } /* * We need the top SIGNIFICAND_BITS + 1 bits, including the "implicit" one bit. To make rounding * easier, we pick out the top SIGNIFICAND_BITS + 2 bits, so we have one to help us round up or * down. twiceSignifFloor will contain the top SIGNIFICAND_BITS + 2 bits, and signifFloor the * top SIGNIFICAND_BITS + 1. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 28 15:37:52 GMT 2021 - 5.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
.isNotEqualTo(fingerprint(stringB.getBytes(UTF_8))); // ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters // greater than 127 (ie with their top bit set). // Don't attempt to do this in real code. assertEquals( fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1))); } public void testPutNonChars() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jun 26 15:56:47 GMT 2017 - 6.2K bytes - Viewed (0) -
android/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; } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 22 13:09:25 GMT 2021 - 8.9K bytes - Viewed (0) -
guava/src/com/google/common/cache/ElementTypesAreNonnullByDefault.java
import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /** * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to * "undo" it as best we can. */ @GwtCompatible
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/html/ElementTypesAreNonnullByDefault.java
import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /** * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to * "undo" it as best we can. */ @GwtCompatible
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 14 22:08:54 GMT 2021 - 1.5K bytes - Viewed (0)