Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 491 for hashCodes (0.04 sec)

  1. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

                return value == other.value && (name != null ? name.equals(other.name) : other.name == null);
            }
    
            @Override
            public int hashCode() {
                return (name != null ? name.hashCode() : 0) * 31 + value;
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

        assertThat(set.add(ConnectionSpec.CLEARTEXT)).isTrue()
        assertThat(set.add(allTlsVersions)).isTrue()
        assertThat(set.add(allCipherSuites)).isTrue()
        allCipherSuites.hashCode()
        assertThat(allCipherSuites.equals(null)).isFalse()
        assertThat(set.remove(ConnectionSpec.MODERN_TLS)).isTrue()
        assertThat(set.remove(ConnectionSpec.COMPATIBLE_TLS))
          .isTrue()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedLong.java

        return bigInt;
      }
    
      @Override
      public int compareTo(UnsignedLong o) {
        checkNotNull(o);
        return UnsignedLongs.compare(value, o.value);
      }
    
      @Override
      public int hashCode() {
        return Long.hashCode(value);
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof UnsignedLong) {
          UnsignedLong other = (UnsignedLong) obj;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RangeMap.java

       * #asMapOfRanges()}.
       */
      @Override
      boolean equals(@Nullable Object o);
    
      /** Returns {@code asMapOfRanges().hashCode()}. */
      @Override
      int hashCode();
    
      /** Returns a readable string representation of this range map. */
      @Override
      String toString();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

            }
    
            // Use context handle bytes to create a unique ID
            StringBuilder sb = new StringBuilder("WITNESS-");
            for (int i = 0; i < Math.min(contextHandle.length, 8); i++) {
                sb.append(String.format("%02X", contextHandle[i] & 0xFF));
            }
            sb.append("-").append(shareName.hashCode());
    
            return sb.toString();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

        verify(hasher).putBytes(buf, 0, 3);
        verifyNoMoreInteractions(hashFunction, hasher);
      }
    
      public void testHash_hashesCorrectly() throws Exception {
        byte[] buf = new byte[] {'y', 'a', 'm', 's'};
        HashCode expectedHash = Hashing.md5().hashBytes(buf);
        HashingOutputStream out = new HashingOutputStream(Hashing.md5(), buffer);
    
        out.write(buf);
    
        assertEquals(expectedHash, out.hash());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Absent.java

        checkNotNull(function);
        return Optional.absent();
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return this == obj;
      }
    
      @Override
      public int hashCode() {
        return 0x79a31aac;
      }
    
      @Override
      public String toString() {
        return "Optional.absent()";
      }
    
      private Object readResolve() {
        return INSTANCE;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

     * {@link #TEST_COMPILE} and {@link #TEST_RUNTIME}, but can be extended by registering a
     * {@code org.apache.maven.api.spi.PathScopeProvider}.
     * <p>
     * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface
     * can be used as keys.
     *
     * @since 4.0.0
     * @see org.apache.maven.api.services.DependencyResolver
     * @see DependencyScope
     */
    @Experimental
    @Immutable
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multiset.java

         * <p>The hash code of a multiset entry for element {@code element} and count {@code count} is
         * defined as:
         *
         * {@snippet :
         * ((element == null) ? 0 : element.hashCode()) ^ count
         * }
         */
        @Override
        int hashCode();
    
        /**
         * Returns the canonical string representation of this entry, defined as follows. If the count
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

         * @return true if the item is marked for deletion, false otherwise.
         */
        public boolean isDeleted() {
            return isUpdated() && StringUtil.isBlank(newInput);
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(input, output);
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top