Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 490 for HashCode (0.05 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

            }
            return false;
        }
    
        // ---------------------------------------------------------------------
    
        @Override
        public int hashCode() {
            if (md == null) {
                return super.hashCode();
            }
            StringBuilder hashString = new StringBuilder(128);
            hashString.append(md.groupId).append('|');
            hashString.append(md.artifactId).append('|');
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                                 * augment the addresses name's hashCode to distinguish those resolved by
                                 * Lmhosts, WINS, or BCAST. Otherwise a failed query from say WINS would
                                 * get pulled out of the cache for a BCAST on the same name.
                                 */
                                response.addrEntry[0].hostName.srcHashCode = request.addr.hashCode();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

        }
        return try {
          toVerify.verify(signingCert.publicKey)
          true
        } catch (verifyFailed: GeneralSecurityException) {
          false
        }
      }
    
      override fun hashCode(): Int = trustRootIndex.hashCode()
    
      override fun equals(other: Any?): Boolean =
        if (other === this) {
          true
        } else {
          other is BasicCertificateChainCleaner && other.trustRootIndex == trustRootIndex
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

            return delegate.equals(that.delegate);
          } else {
            return false;
          }
        }
    
        @Override
        public int hashCode() {
          return delegate.hashCode();
        }
    
        @Override
        public String toString() {
          return "another arbitrary string";
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java

            factory.addClient(regex, client, pos);
        }
    
        /**
         * Returns the hash code of the wrapped factory.
         * @return The hash code.
         */
        @Override
        public int hashCode() {
            return factory.hashCode();
        }
    
        /**
         * Adds a list of clients to the wrapped factory.
         * @param regexList The list of regular expressions for the clients.
         * @param client The CrawlerClient instance.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
        this.s = s;
      }
    
      @Override
      public int hashCode() { // delegate to 's'
        return s.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (other == null) {
          return false;
        } else if (other instanceof BaseComparable) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilterTest.java

            OrArtifactFilter filter2 = new OrArtifactFilter(Arrays.asList(newSubFilter()));
    
            assertFalse(filter1.equals(null));
            assertTrue(filter1.equals(filter1));
            assertEquals(filter1.hashCode(), filter1.hashCode());
    
            assertFalse(filter1.equals(filter2));
            assertFalse(filter2.equals(filter1));
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

         *
         * @return the ttl
         */
        public long getTtl() {
            return this.ttl;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#hashCode()
         */
        @Override
        public int hashCode() {
            return Objects.hash(this.server, this.share, this.path, this.pathConsumed);
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingSet.java

      protected abstract Set<E> delegate();
    
      @Override
      public boolean equals(@Nullable Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      /**
       * A sensible definition of {@link #removeAll} in terms of {@link #iterator} and {@link #remove}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/HashTestUtils.java

            }
          }
        }
      }
    
      /**
       * Checks that a Hasher returns the same HashCode when given the same input, and also that the
       * collision rate looks sane.
       */
      static void assertInvariants(HashFunction hashFunction) {
        int objects = 100;
        Set<HashCode> hashcodes = Sets.newHashSetWithExpectedSize(objects);
        Random random = new Random(314159);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top