Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ExpectedHashCode (0.18 sec)

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

      }
    
      private static void assertExpectedHashCode(ExpectedHashCode expectedHashCode, HashCode hash) {
        assertTrue(Arrays.equals(expectedHashCode.bytes, hash.asBytes()));
        byte[] bb = new byte[hash.bits() / 8];
        hash.writeBytesTo(bb, 0, bb.length);
        assertTrue(Arrays.equals(expectedHashCode.bytes, bb));
        assertEquals(expectedHashCode.asInt, hash.asInt());
        if (expectedHashCode.asLong == null) {
          try {
    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

      }
    
      private static void assertExpectedHashCode(ExpectedHashCode expectedHashCode, HashCode hash) {
        assertTrue(Arrays.equals(expectedHashCode.bytes, hash.asBytes()));
        byte[] bb = new byte[hash.bits() / 8];
        hash.writeBytesTo(bb, 0, bb.length);
        assertTrue(Arrays.equals(expectedHashCode.bytes, bb));
        assertEquals(expectedHashCode.asInt, hash.asInt());
        if (expectedHashCode.asLong == null) {
          try {
    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