- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 45 for InlineMeInliner (0.06 sec)
-
guava-tests/test/com/google/common/base/CharMatcherTest.java
assertEquals(s.toString(), matcher.replaceFrom(s, "ZZ")); assertEquals(s.toString(), matcher.trimFrom(s)); assertEquals(0, matcher.countIn(s)); } @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 private void reallyTestAllMatches(CharMatcher matcher, CharSequence s) { assertTrue(matcher.matches(s.charAt(0))); assertEquals(0, matcher.indexIn(s));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
// We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (float value : VALUES) { assertThat(Floats.hashCode(value)).isEqualTo(Float.hashCode(value)); } } @SuppressWarnings("InlineMeInliner") // We need to test our method. public void testIsFinite() { for (float value : NUMBERS) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
* @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is * greater than {@code b}; or zero if they are equal */ @SuppressWarnings("InlineMeInliner") // Integer.compare unavailable under GWT+J2CL public static int compare(long a, long b) { return Longs.compare(flip(a), flip(b)); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
// separate above assertEquals(Range.closed(4, 12), range.span(Range.closed(10, 12))); assertEquals(Range.atLeast(4), range.span(Range.atLeast(10))); } @SuppressWarnings({"InlineMeInliner", "deprecation"}) // intentional test of depecated method public void testPredicateMethods() { Range<Integer> predicate = Range.closed(2, 3); assertFalse(predicate.apply(1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsTest.java
assertTrue(Multisets.removeOccurrences(multiset, toRemove)); assertThat(multiset).containsExactly("a", "c").inOrder(); } @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method public void testUnmodifiableMultisetShortCircuit() { Multiset<String> mod = HashMultiset.create(); Multiset<String> unmod = unmodifiableMultiset(mod);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
private static final boolean[] ARRAY_FALSE_FALSE = {false, false}; private static final boolean[] ARRAY_FALSE_TRUE = {false, true}; private static final boolean[] VALUES = {false, true}; @SuppressWarnings("InlineMeInliner") // We need to test our method. public void testHashCode() { assertThat(Booleans.hashCode(true)).isEqualTo(Boolean.TRUE.hashCode()); assertThat(Booleans.hashCode(false)).isEqualTo(Boolean.FALSE.hashCode()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
@SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method Set<Integer> set = Sets.newSetFromMap(new LinkedHashMap<Integer, Boolean>()); set.addAll(SOME_COLLECTION); Set<Integer> copy = SerializableTester.reserializeAndAssert(set); assertThat(copy).containsExactly(0, 1).inOrder(); } @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
unused = BloomFilter.create(Funnels.unencodedCharsFunnel(), 45L * Integer.MAX_VALUE, 0.99); } @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method private static void checkSanity(BloomFilter<Object> bf) { assertFalse(bf.mightContain(new Object())); assertFalse(bf.apply(new Object()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertEquals(-1, Iterators.indexOf(iterator, equalTo("bob"))); assertFalse(iterator.hasNext()); } @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method public void testUnmodifiableIteratorShortCircuit() { Iterator<String> mod = Lists.newArrayList("a", "b", "c").iterator();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
* is permanently reduced, but with certain Reader implementations it could also cause the buffer * size to reach 0, causing an infinite loop. */ @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8 public void testCopyWithReaderThatDoesNotFillBuffer() throws IOException { // need a long enough string for the buffer to hit 0 remaining before the copy completes
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0)