Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 494 for hashcode (0.4 sec)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            NtlmPasswordAuthenticator auth3 = new NtlmPasswordAuthenticator("DOMAIN", "user", password3);
    
            // Test equality with same password
            assertEquals(auth1, auth2);
            assertEquals(auth1.hashCode(), auth2.hashCode());
    
            // Test inequality with different password
            assertNotEquals(auth1, auth3);
    
            // Test after password wipe
            auth1.secureWipePassword();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NbtAddressTest.java

            NbtAddress nbtAddress2 = new NbtAddress(mockName2, testAddressInt, true, NbtAddress.B_NODE); // Different name, group, nodeType
            assertEquals(nbtAddress1.hashCode(), nbtAddress2.hashCode());
            assertEquals(testAddressInt, nbtAddress1.hashCode());
        }
    
        @Test
        void testEquals() {
            // Test equals method
            mockName = new Name(mockConfig, "TEST1", 0x20, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

          }
        };
      }
    
      /** An implementation for {@link Set#hashCode()}. */
      static int hashCodeImpl(Set<?> s) {
        int hashCode = 0;
        for (Object o : s) {
          hashCode += o != null ? o.hashCode() : 0;
    
          hashCode = ~~hashCode;
          // Needed to deal with unusual integer overflow in GWT.
        }
        return hashCode;
      }
    
      /** An implementation for {@link Set#equals(Object)}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/admin/storage/admin_storage.jsp

                                                                        name="delete" data-toggle="modal"
                                                                        data-target="#confirmToDelete-${f:h(data.hashCode)}"
                                                                        value="<la:message key="labels.crud_button_delete" />"
                                                                >
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu May 26 01:48:41 UTC 2022
    - 20.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/ParamMap.java

            return parent.entrySet();
        }
    
        @Override
        public boolean equals(final Object o) {
            return parent.equals(o);
        }
    
        @Override
        public int hashCode() {
            return parent.hashCode();
        }
    
        @Override
        public V getOrDefault(final Object key, final V defaultValue) {
            final V value = parent.get(key);
            if (value != null) {
                return value;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

      }
    
      private static class Foo implements Comparable<Foo> {
        final Integer value;
    
        Foo(int value) {
          this.value = value;
        }
    
        @Override
        public int hashCode() {
          return value.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return (o instanceof Foo) && ((Foo) o).value.equals(value);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractTable.java

        }
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return Tables.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        return cellSet().hashCode();
      }
    
      /** Returns the string representation {@code rowMap().toString()}. */
      @Override
      public String toString() {
        return rowMap().toString();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

                    : new SmbFileHandleImpl(cfg, 33, tB, "//eq/b", 0, 0, 0, 0, 0L);
    
            if (expectEqual) {
                assertEquals(hA, hB);
                assertEquals(hA.hashCode(), hB.hashCode());
            } else {
                assertNotEquals(hA, hB);
            }
    
            // Test negative case with different tree id handles
            SmbTreeHandleImpl tC = mock(SmbTreeHandleImpl.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java

                return false;
            }
    
            final ArtifactStatus that = (ArtifactStatus) o;
    
            return rank == that.rank;
        }
    
        @Override
        public int hashCode() {
            return rank;
        }
    
        @Override
        public String toString() {
            return key;
        }
    
        @Override
        public int compareTo(ArtifactStatus s) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

            val cookieB = parseCookie(0, url, stringB!!)
            if (stringA == stringB) {
              assertThat(cookieB.hashCode()).isEqualTo(cookieA.hashCode())
              assertThat(cookieB).isEqualTo(cookieA)
            } else {
              assertThat(cookieB.hashCode()).isNotEqualTo(cookieA.hashCode().toLong())
              assertThat(cookieB).isNotEqualTo(cookieA)
            }
          }
          assertThat(cookieA).isNotEqualTo(null)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 24.4K bytes
    - Viewed (0)
Back to top