Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 490 for HashCode (0.04 sec)

  1. src/main/java/jcifs/smb1/netbios/NameServiceClient.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: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            assertTrue(exception1.equals(exception1));
        }
    
        public void test_hashCode() {
            // Test hashCode consistency
            DictionaryExpiredException exception = new DictionaryExpiredException();
            int hashCode1 = exception.hashCode();
            int hashCode2 = exception.hashCode();
    
            assertEquals(hashCode1, hashCode2);
        }
    
        public void test_toString() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/InversionArtifactFilter.java

        }
    
        @Override
        public boolean include(Artifact artifact) {
            return !toInvert.include(artifact);
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + toInvert.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

        private final URL url;
    
        private final int hashCode;
    
        /**
         * Creates a new source backed by the specified URL.
         *
         * @param url The file, must not be {@code null}.
         */
        public UrlSource(URL url) {
            this.url = Objects.requireNonNull(url, "url cannot be null");
            this.hashCode = Objects.hashCode(url);
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.java

        }
    
        @Override
        public boolean include(Artifact artifact) {
            return type.equals(artifact.getType());
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + type.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

            AndArtifactFilter filter2 = new AndArtifactFilter(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)
  7. okhttp/src/jvmTest/kotlin/okhttp3/AddressTest.kt

        factory.close()
      }
    
      @Test fun equalsAndHashcode() {
        val a = factory.newAddress()
        val b = factory.newAddress()
        assertThat(b).isEqualTo(a)
        assertThat(b.hashCode()).isEqualTo(a.hashCode())
      }
    
      @Test fun differentProxySelectorsAreDifferent() {
        val a = factory.newAddress(proxySelector = RecordingProxySelector())
        val b = factory.newAddress(proxySelector = RecordingProxySelector())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/log/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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SIDTest.java

            @Test
            @DisplayName("equals and hashCode for equal and non-equal SIDs")
            void testEqualsAndHashCode() throws Exception {
                SID a1 = new SID("S-1-5-21-1-2-3-4");
                SID a2 = new SID("S-1-5-21-1-2-3-4");
                SID b = new SID("S-1-5-21-1-2-3-5");
    
                assertEquals(a1, a2);
                assertEquals(a1.hashCode(), a2.hashCode());
                assertNotEquals(a1, b);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top