Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 491 for hashCodes (0.06 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. 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)
  3. android/guava/src/com/google/common/collect/Count.java

      public void set(int newValue) {
        value = newValue;
      }
    
      public int getAndSet(int newValue) {
        int result = value;
        value = newValue;
        return result;
      }
    
      @Override
      public int hashCode() {
        return value;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return obj instanceof Count && ((Count) obj).value == value;
      }
    
      @Override
      public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb/Kerb5Authenticator.java

            }
    
            return false;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#hashCode()
         */
        @Override
        public int hashCode() {
            return super.hashCode();
        }
    
        @Override
        public String getUserDomain() {
            if (this.realm == null && this.getSubject() != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Floats.java

      /**
       * Returns a hash code for {@code value}; obsolete alternative to {@link Float#hashCode(float)}.
       *
       * @param value a primitive {@code float} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Float.hashCode(value)")
      public static int hashCode(float value) {
        return Float.hashCode(value);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertEquals("Same annotation should be equal", annotation1, annotation1Copy);
            assertEquals("Same annotation should have same hashCode", annotation1.hashCode(), annotation1Copy.hashCode());
        }
    
        // Helper methods to get default values
        private String getDefaultMessage() {
            try {
                final Method method = UriType.class.getMethod("message");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Ints.java

       *
       * @param value a primitive {@code int} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Integer.hashCode(value)")
      @InlineMeValidationDisabled(
          "The hash code of a int is the int itself, so it's simplest to return that.")
      public static int hashCode(int value) {
        return value;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

            public void clear() {
                parent.clear();
            }
    
            public boolean equals(final Object o) {
                return parent.equals(o);
            }
    
            public int hashCode() {
                return parent.hashCode();
            }
    
            public E get(final int index) {
                return parent.get(index);
            }
    
            public E set(final int index, final E element) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ByFunctionOrdering.java

          ByFunctionOrdering<?, ?> that = (ByFunctionOrdering<?, ?>) object;
          return this.function.equals(that.function) && this.ordering.equals(that.ordering);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return Objects.hash(function, ordering);
      }
    
      @Override
      public String toString() {
        return ordering + ".onResultOf(" + function + ")";
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top