Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 41 for DEPRECATION (0.07 seconds)

  1. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

            return false;
          }
        }
        return true;
      }
    
      @SuppressWarnings("deprecation")
      public void testSimpleStringUtf8() {
        assertEquals(
            murmur3_32().hashBytes("ABCDefGHI\u0799".getBytes(UTF_8)),
            murmur3_32().hashString("ABCDefGHI\u0799", UTF_8));
      }
    
      @SuppressWarnings("deprecation")
      public void testEncodedStringInputs() {
        Random rng = new Random(0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

            return false;
          }
        }
        return true;
      }
    
      @SuppressWarnings("deprecation")
      public void testSimpleStringUtf8() {
        assertEquals(
            murmur3_32().hashBytes("ABCDefGHI\u0799".getBytes(UTF_8)),
            murmur3_32().hashString("ABCDefGHI\u0799", UTF_8));
      }
    
      @SuppressWarnings("deprecation")
      public void testEncodedStringInputs() {
        Random rng = new Random(0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

      //  - Some providers may choose to also include alias names.
      //  - For example, the "SHA-1" algorithm might be referred to as "SHA1".
      //  - The algorithm name is not case-sensitive.
      @SuppressWarnings("deprecation") // We still need to test our deprecated APIs.
      private static final ImmutableMap<String, HashFunction> ALGORITHMS =
          new ImmutableMap.Builder<String, HashFunction>()
              .put("MD5", md5())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        assertEquals(0xBEBAFECA, Float.floatToIntBits(in.readFloat()));
        assertEquals(0xBEBAFECAEFBEADDEL, Double.doubleToLongBits(in.readDouble()));
      }
    
      @SuppressWarnings("deprecation") // testing a deprecated method
      public void testWriteBytes() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.writeBytes("r\u00C9sum\u00C9");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        assertEquals(0xBEBAFECA, Float.floatToIntBits(in.readFloat()));
        assertEquals(0xBEBAFECAEFBEADDEL, Double.doubleToLongBits(in.readDouble()));
      }
    
      @SuppressWarnings("deprecation") // testing a deprecated method
      public void testWriteBytes() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.writeBytes("r\u00C9sum\u00C9");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

      //  - Some providers may choose to also include alias names.
      //  - For example, the "SHA-1" algorithm might be referred to as "SHA1".
      //  - The algorithm name is not case-sensitive.
      @SuppressWarnings("deprecation") // We still need to test our deprecated APIs.
      private static final ImmutableMap<String, HashFunction> ALGORITHMS =
          new ImmutableMap.Builder<String, HashFunction>()
              .put("MD5", md5())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/hash/HashFunctionEnum.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * An enum that contains all of the known hash functions.
     *
     * @author Kurt Alfred Kluever
     */
    @SuppressWarnings("deprecation") // We still need to test our deprecated APIs.
    @NullUnmarked
    enum HashFunctionEnum {
      ADLER32(adler32()),
      CRC32(crc32()),
      GOOD_FAST_HASH_32(goodFastHash(32)),
      GOOD_FAST_HASH_64(goodFastHash(64)),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/hash/HashFunctionEnum.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * An enum that contains all of the known hash functions.
     *
     * @author Kurt Alfred Kluever
     */
    @SuppressWarnings("deprecation") // We still need to test our deprecated APIs.
    @NullUnmarked
    enum HashFunctionEnum {
      ADLER32(adler32()),
      CRC32(crc32()),
      GOOD_FAST_HASH_32(goodFastHash(32)),
      GOOD_FAST_HASH_64(goodFastHash(64)),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

     * tested in {@link FuturesTest}.
     */
    @NullMarked
    @GwtCompatible
    public class FluentFutureTest extends TestCase {
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      public void testFromFluentFuture() {
        FluentFuture<String> f = FluentFuture.from(SettableFuture.create());
        assertThat(FluentFuture.from(f)).isSameInstanceAs(f);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

     * tested in {@link FuturesTest}.
     */
    @NullMarked
    @GwtCompatible
    public class FluentFutureTest extends TestCase {
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      public void testFromFluentFuture() {
        FluentFuture<String> f = FluentFuture.from(SettableFuture.create());
        assertThat(FluentFuture.from(f)).isSameInstanceAs(f);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
Back to Top