Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testObjectHashCodeWithSameLowOrderBytes (0.22 sec)

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

        HashCode hashCode42 = HashCode.fromInt(42);
        assertEquals(42, hashCode42.hashCode());
      }
    
      // See https://github.com/google/guava/issues/1494
      public void testObjectHashCodeWithSameLowOrderBytes() {
        // These will have the same first 4 bytes (all 0).
        byte[] bytesA = new byte[5];
        byte[] bytesB = new byte[5];
    
        // Change only the last (5th) byte
        bytesA[4] = (byte) 0xbe;
    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

        HashCode hashCode42 = HashCode.fromInt(42);
        assertEquals(42, hashCode42.hashCode());
      }
    
      // See https://github.com/google/guava/issues/1494
      public void testObjectHashCodeWithSameLowOrderBytes() {
        // These will have the same first 4 bytes (all 0).
        byte[] bytesA = new byte[5];
        byte[] bytesB = new byte[5];
    
        // Change only the last (5th) byte
        bytesA[4] = (byte) 0xbe;
    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