Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 554 for HashCode (0.1 sec)

  1. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        public boolean equals(@Nullable Object obj) {
          assertTrue(Thread.holdsLock(mutex));
          return super.equals(obj);
        }
    
        @Override
        public int hashCode() {
          assertTrue(Thread.holdsLock(mutex));
          return super.hashCode();
        }
    
        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
          return super.toString();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractEntity.java

        // #pending hashCode(), equals()
        @Override
        public int instanceHash() {
            return super.hashCode();
        }
    
        @Override
        public String toString() {
            return getClass().getSimpleName() + ":" + doBuildColumnString(", ") + "@" + Integer.toHexString(hashCode());
        }
    
        protected abstract String doBuildColumnString(String dm);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

            DefaultMavenMetadataCache.CacheKey k2 =
                    new DefaultMavenMetadataCache.CacheKey(a2, false, lr2, Collections.singletonList(rr2));
    
            assertEquals(k1.hashCode(), k2.hashCode());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/LegacyComparable.java

          LegacyComparable that = (LegacyComparable) object;
          return this.value.equals(that.value);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return value.hashCode();
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt

      var length: Long,
    ) {
      val isEndOfData: Boolean
        get() = tagClass == TAG_CLASS_UNIVERSAL && tag == TAG_END_OF_CONTENTS
    
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + tagClass
        result = 31 * result + tag.toInt()
        result = 31 * result + (if (constructed) 0 else 1)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            return hostName.hexCode;
        }
    
    /** 
     * Returns a hashcode for this IP address. The hashcode comes from the IP address
     * and is not generated from the string representation. So because NetBIOS nodes
     * can have many names, all names associated with an IP will have the same
     * hashcode.
     */ 
    
        public int hashCode() {
            return address;
        }
    
    /** 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashingTest.java

        checkSameResult(HashCode.fromLong(1), 1);
        checkSameResult(HashCode.fromLong(0x9999999999999999L), 0x9999999999999999L);
        checkSameResult(HashCode.fromInt(0x99999999), 0x0000000099999999L);
      }
    
      public void checkSameResult(HashCode hashCode, long equivLong) {
        assertEquals(Hashing.consistentHash(equivLong, 5555), Hashing.consistentHash(hashCode, 5555));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

          }
        }
    
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + version.toInt()
        result = 31 * result + serialNumber.hashCode()
        result = 31 * result + signature.hashCode()
        result = 31 * result + issuer.hashCode()
        result = 31 * result + validity.hashCode()
        result = 31 * result + subject.hashCode()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java

        assertEquals(control("foo", 1).hashCode(), entry("foo", 1).hashCode());
        assertEquals(control("bar", 2).hashCode(), entry("bar", 2).hashCode());
      }
    
      public void testHashCodeNull() {
        assertEquals(control(NK, 1).hashCode(), entry(NK, 1).hashCode());
        assertEquals(control("bar", NV).hashCode(), entry("bar", NV).hashCode());
        assertEquals(control(NK, NV).hashCode(), entry(NK, NV).hashCode());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

              checkNotNull(args[i]);
            }
          }
          return dummyReturnValue(interfaceType.resolveType(method.getGenericReturnType()));
        }
    
        @Override
        public int hashCode() {
          return identity().hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof DummyHandler) {
            DummyHandler that = (DummyHandler) obj;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top