Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 491 for hashCodes (0.21 sec)

  1. guava/src/com/google/common/math/PairedStats.java

       * <p><b>Note:</b> This hash code is consistent with exact equality of the calculated statistics,
       * including the floating point values. See the note on {@link #equals} for details.
       */
      @Override
      public int hashCode() {
        return Objects.hash(xStats, yStats, sumOfProductsOfDeltas);
      }
    
      @Override
      public String toString() {
        if (count() > 0) {
          return MoreObjects.toStringHelper(this)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CloserTest.java

                && thrown.equals(other.thrown)
                && suppressed.equals(other.suppressed);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hash(closeable, thrown, suppressed);
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper(this)
              .add("closeable", closeable)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        }
    
        private static class MyKey {
            Object _key;
    
            MyKey(Object key) {
                _key = key;
            }
    
            @Override
            public int hashCode() {
                return 0;
            }
    
            @Override
            public boolean equals(Object o) {
                if (o == this) {
                    return true;
                }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                    }
                }
            }
            return false;
        }
    
        /**
         * Return the upcased username hash code.
         */
        @Override
        public int hashCode() {
            return getName().toUpperCase().hashCode();
        }
    
        /**
         * Return the domain and username in the format:
         * {@code domain\\username}. This is equivalent to {@code getName()}.
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  5. android/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: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Files.java

       * @return the {@link HashCode} of all of the bytes in the file
       * @throws IOException if an I/O error occurs
       * @since 12.0
       * @deprecated Prefer {@code asByteSource(file).hash(hashFunction)}.
       */
      @Deprecated
      @InlineMe(
          replacement = "Files.asByteSource(file).hash(hashFunction)",
          imports = "com.google.common.io.Files")
      public
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        for (int i : keys) {
          cache.getUnchecked(i);
        }
      }
    
      private Object objectWithHash(int hash) {
        return new Object() {
          @Override
          public int hashCode() {
            return hash;
          }
        };
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      public ImmutableList<E> asList() {
        return this;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return Lists.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        return Lists.hashCodeImpl(this);
      }
    
      public ImmutableList<E> reverse() {
        List<E> list = Lists.newArrayList(this);
        Collections.reverse(list);
        return unsafeDelegateList(list);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

                            && Objects.equals(lifecycleBindingsInjector, that.lifecycleBindingsInjector);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hash(
                            requestType,
                            locationTracking,
                            recursive,
                            source,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 20:54:22 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

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