Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testFromBytesNoCopy_noCopyOccurs (0.36 sec)

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

        bytes[0] = (byte) 0x00;
    
        assertEquals(expectedInt, hashCode.asInt());
        assertEquals(expectedToString, hashCode.toString());
      }
    
      public void testFromBytesNoCopy_noCopyOccurs() {
        byte[] bytes = new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00};
        HashCode hashCode = HashCode.fromBytesNoCopy(bytes);
    
        assertEquals(0x0000abcd, hashCode.asInt());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        bytes[0] = (byte) 0x00;
    
        assertEquals(expectedInt, hashCode.asInt());
        assertEquals(expectedToString, hashCode.toString());
      }
    
      public void testFromBytesNoCopy_noCopyOccurs() {
        byte[] bytes = new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00};
        HashCode hashCode = HashCode.fromBytesNoCopy(bytes);
    
        assertEquals(0x0000abcd, hashCode.asInt());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top