Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 45 for InlineMeInliner (0.05 sec)

  1. 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)
  2. guava-tests/test/com/google/common/primitives/LongsTest.java

      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (long value : VALUES) {
          assertWithMessage("hashCode for " + value)
              .that(Longs.hashCode(value))
              .isEqualTo(Long.hashCode(value));
        }
      }
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testCompare() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ShortsTest.java

      private static final short[] VALUES = {LEAST, (short) -1, (short) 0, (short) 1, GREATEST};
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (short value : VALUES) {
          assertThat(Shorts.hashCode(value)).isEqualTo(Short.hashCode(value));
        }
      }
    
      public void testCheckedCast() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableListTest.java

              NullPointerException.class, () -> builder.addAll((Iterable<String>) iterableWithNulls));
        }
      }
    
      // We need to test that asList() really does return the original list.
      @SuppressWarnings("InlineMeInliner")
      public void testAsList() {
        ImmutableList<String> list = ImmutableList.of("a", "b");
        assertSame(list, list.asList());
      }
    
      @SuppressWarnings("ModifiedButNotUsed")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      private static final int[] VALUES = {LEAST, (int) -1, (int) 0, (int) 1, GREATEST};
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (int value : VALUES) {
          assertThat(Ints.hashCode(value)).isEqualTo(Integer.hashCode(value));
        }
      }
    
      public void testCheckedCast() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  6. android/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()));
        for (int i = 0; i < 100; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesTest.java

     *   <li>{@link Files#createTempDir()} is tested in {@link FilesCreateTempDirTest}.
     * </ul>
     *
     * @author Chris Nokleberg
     */
    
    @SuppressWarnings("InlineMeInliner") // many tests of deprecated methods
    @NullUnmarked
    public class FilesTest extends IoTestCase {
    
      @AndroidIncompatible // suites, ByteSourceTester (b/230620681)
      public static TestSuite suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      public void testValuesToString_ordered() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals("[b, a, c]", table.values().toString());
      }
    
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      public void testRowComparator() {
        sortedTable = TreeBasedTable.create();
        assertSame(Ordering.natural(), sortedTable.rowComparator());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

              NullPointerException.class, () -> builder.addAll((Iterable<String>) iterableWithNulls));
        }
      }
    
      // We need to test that asList() really does return the original list.
      @SuppressWarnings("InlineMeInliner")
      public void testAsList() {
        ImmutableList<String> list = ImmutableList.of("a", "b");
        assertSame(list, list.asList());
      }
    
      @GwtIncompatible("builder internals")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedInts.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(int a, int b) {
        return Ints.compare(flip(a), flip(b));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
Back to top