Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 494 for hashcode (0.25 sec)

  1. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        int r = 0;
        Charset localCharset = charset;
        ByteSource localData = data;
        ReadStrategy localStrategy = strategy;
        for (int i = 0; i < reps; i++) {
          r += localStrategy.read(localData, localCharset).hashCode();
        }
        return r;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/PrunedTag.java

                        final String value = idAttr.getNodeValue();
                        return id.equals(value);
                    }
                }
            }
            return false;
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(css, id, tag);
        }
    
        @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
    - 6.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

          this.unit = unit;
        }
    
        public static DurationSpec of(long duration, TimeUnit unit) {
          return new DurationSpec(duration, unit);
        }
    
        @Override
        public int hashCode() {
          return Objects.hash(duration, unit);
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          if (o instanceof DurationSpec) {
            DurationSpec that = (DurationSpec) o;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                            && Objects.equals(scope, that.scope)
                            && Objects.equals(exclusions, that.exclusions);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hash(
                            groupId,
                            artifactId,
                            version,
                            classifier,
                            extension,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

        /**
         * Computes a hashCode for this file based on the URL string and IP
         * address if the server. The hashing function uses the hashcode of the
         * server address, the canonical representation of the URL, and does not
         * compare authentication information. In essence, two
         * <code>SmbFile</code> objects that refer to
         * the same file should generate the same hashcode provided it is possible
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/MediaType.java

        } else {
          return false;
        }
      }
    
      @Override
      public int hashCode() {
        // racy single-check idiom
        int h = hashCode;
        if (h == 0) {
          h = hash(type, subtype, parametersAsMap());
          hashCode = h;
        }
        return h;
      }
    
      private static final MapJoiner PARAMETER_JOINER = Joiner.on("; ").withKeyValueSeparator("=");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

         *
         * @return True if the item has been deleted.
         */
        public boolean isDeleted() {
            return isUpdated() && newToken.length() == 0;
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(pos, reading, segmentation, token);
        }
    
        @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
    - 6.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashMap.java

      private static final int MAX_HASH_BUCKET_LENGTH = 9;
    
      // The way the `table`, `entries`, `keys`, and `values` arrays work together is as follows.
      //
      // The `table` array always has a size that is a power of 2. The hashcode of a key in the map
      // is masked in order to correspond to the current table size. For example, if the table size
      // is 128 then the mask is 127 == 0x7f, keeping the bottom 7 bits of the hash value.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/log/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. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (char value : VALUES) {
          assertThat(Chars.hashCode(value)).isEqualTo(Character.hashCode(value));
        }
      }
    
      public void testCheckedCast() {
        for (char value : VALUES) {
          assertThat(Chars.checkedCast((long) value)).isEqualTo(value);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top