Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 559 for hashcode (0.05 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

        protected String getImageFilename(final String docid) {
            final StringBuilder buf = new StringBuilder(50);
            for (int i = 0; i < docid.length(); i += splitSize) {
                int hash = docid.substring(i).hashCode() % splitHashSize;
                if (hash < 0) {
                    hash *= -1;
                }
                buf.append('_').append(Integer.toString(hash)).append('/');
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

    
        protected abstract int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException;
    
    
        @Override
        public int hashCode () {
            return (int) this.mid;
        }
    
    
        @Override
        public boolean equals ( Object obj ) {
            return obj instanceof ServerMessageBlock2 && ( (ServerMessageBlock2) obj ).mid == this.mid;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        @Override
        public int compare(Number a, Number b) {
          return ((Double) a.doubleValue()).compareTo(b.doubleValue());
        }
    
        @Override
        public int hashCode() {
          return NumberOrdering.class.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object other) {
          return other instanceof NumberOrdering;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

        @Override
        public int compare(Number a, Number b) {
          return ((Double) a.doubleValue()).compareTo(b.doubleValue());
        }
    
        @Override
        public int hashCode() {
          return NumberOrdering.class.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object other) {
          return other instanceof NumberOrdering;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/MapMakerInternalMap.java

            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          // Cannot use key and value equivalence
          return key.hashCode() ^ value.hashCode();
        }
    
        @Override
        public V setValue(V newValue) {
          V oldValue = put(key, newValue);
          value = newValue; // only if put succeeds
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

    
        protected abstract int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException;
    
    
        @Override
        public int hashCode () {
            return this.mid;
        }
    
    
        @Override
        public boolean equals ( Object obj ) {
            return obj instanceof ServerMessageBlock && ( (ServerMessageBlock) obj ).mid == this.mid;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

        } catch (_: IllegalArgumentException) {
          null
        }
      }
    
      override fun equals(other: Any?): Boolean {
        return other is HttpUrl && other.url == url
      }
    
      override fun hashCode(): Int = url.hashCode()
    
      override fun toString(): String = url
    
      /**
       * Returns the domain name of this URL's [host] that is one level beneath the public suffix by
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

                        && Objects.equals(getGoal(), other.getGoal());
            }
    
            return false;
        }
    
        /** {@inheritDoc} */
        public int hashCode() {
            return Objects.hash(getGoal(), getPluginDescriptor());
        }
    
        /**
         * @return the invocation lifecycle of the Mojo
         */
        public String getExecuteLifecycle() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        class TypeWithDuplicates {
          final int a;
          final int b;
    
          TypeWithDuplicates(int a, int b) {
            this.a = a;
            this.b = b;
          }
    
          @Override
          public int hashCode() {
            return a;
          }
    
          @Override
          public boolean equals(@Nullable Object obj) {
            return obj instanceof TypeWithDuplicates && ((TypeWithDuplicates) obj).a == a;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableCollection.java

     *       worse, and possibly better, than creating a mutable collection and copying it.
     *   <li>Implementations generally do not cache hash codes. If your element or key type has a slow
     *       {@code hashCode} implementation, it should cache it itself.
     * </ul>
     *
     * <h4>Example usage</h4>
     *
     * <pre>{@code
     * class Foo {
     *   private static final ImmutableSet<String> RESERVED_CODES =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top