Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 491 for hashCodes (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertTrue(testBlock.isResponse());
            }
    
            @Test
            @DisplayName("Test hashCode method")
            void testHashCode() {
                testBlock.setMid(0x1234);
                assertEquals(0x1234, testBlock.hashCode());
            }
    
            @Test
            @DisplayName("Test equals method")
            void testEquals() {
                testBlock.setMid(0x1234);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

          return standardRemove(object);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public Set<K> keySet() {
          return new StandardKeySet();
        }
    
        @Override
        public Collection<V> values() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

                            && Objects.equals(interpolationSource, that.interpolationSource);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hash(
                            installationSettingsSource, projectSettingsSource, userSettingsSource, interpolationSource);
                }
    
                @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

          return standardRemove(object);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public Set<K> keySet() {
          /*
           * We can't use StandardKeySet, as NavigableMapTestSuiteBuilder assumes that our keySet is a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

          finished = true;
        }
    
        @Override
        protected HashCode makeHash() {
          if (!finished) {
            // processRemaining does teardown we always want to do -- the folding together of the four
            // rolling CRCs.  So we call it on an empty ByteBuffer if we didn't already.
            processRemaining(EMPTY);
          }
          return HashCode.fromInt(~crc0);
        }
    
        static final int[] byteTable = {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Suppliers.java

            return function.equals(that.function) && supplier.equals(that.supplier);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hash(function, supplier);
        }
    
        @Override
        public String toString() {
          return "Suppliers.compose(" + function + ", " + supplier + ")";
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

                    return false;
                }
                Key<?> key = (Key<?>) o;
                return Objects.equals(id, key.id) && Objects.equals(type, key.type);
            }
    
            @Override
            public int hashCode() {
                return Objects.hash(id, type);
            }
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMap.java

        @Override
        boolean isPartialView() {
          return ImmutableMap.this.isPartialView();
        }
    
        @Override
        public int hashCode() {
          // ImmutableSet.of(value).hashCode() == value.hashCode(), so the hashes are the same
          return ImmutableMap.this.hashCode();
        }
    
        @Override
        boolean isHashCodeFast() {
          return ImmutableMap.this.isHashCodeFast();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Suppliers.java

            return function.equals(that.function) && supplier.equals(that.supplier);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hash(function, supplier);
        }
    
        @Override
        public String toString() {
          return "Suppliers.compose(" + function + ", " + supplier + ")";
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

                ContiguousSet.closedOpen(Integer.MIN_VALUE, Integer.MIN_VALUE),
                ImmutableSortedSet.of(),
                ImmutableSet.of())
            .testEquals();
        // not testing hashCode for these because it takes forever to compute
        assertEquals(
            ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE),
            ContiguousSet.create(Range.<Integer>all(), integers()));
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top