Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testWriteBytesToUndersizedArray (0.24 sec)

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

        HASH_ABCD.writeBytesTo(dest, 0, 3);
        assertTrue(
            Arrays.equals(
                new byte[] {(byte) 0xaa, (byte) 0xbb, (byte) 0xcc, (byte) 0x00, (byte) 0x00}, dest));
      }
    
      public void testWriteBytesToUndersizedArray() {
        byte[] dest = new byte[3];
        assertThrows(IndexOutOfBoundsException.class, () -> HASH_ABCD.writeBytesTo(dest, 0, 4));
      }
    
      public void testWriteBytesToUndersizedArrayLongMaxLength() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        HASH_ABCD.writeBytesTo(dest, 0, 3);
        assertTrue(
            Arrays.equals(
                new byte[] {(byte) 0xaa, (byte) 0xbb, (byte) 0xcc, (byte) 0x00, (byte) 0x00}, dest));
      }
    
      public void testWriteBytesToUndersizedArray() {
        byte[] dest = new byte[3];
        assertThrows(IndexOutOfBoundsException.class, () -> HASH_ABCD.writeBytesTo(dest, 0, 4));
      }
    
      public void testWriteBytesToUndersizedArrayLongMaxLength() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top