Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 585 for hashCode (2.3 sec)

  1. docs/smb3-features/01-smb3-lease-design.md

            if (obj instanceof Smb2LeaseKey) {
                return Arrays.equals(key, ((Smb2LeaseKey)obj).key);
            }
            return false;
        }
        
        @Override
        public int hashCode() {
            return Arrays.hashCode(key);
        }
    }
    ```
    
    ### 4.2 Lease Context Structure
    ```java
    package jcifs.internal.smb2.lease;
    
    import jcifs.internal.smb2.create.Smb2CreateContext;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/user/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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          LocalCache<Object, Object> map = makeLocalCache(builder);
    
          Object keyOne = new Object();
          Object valueOne = new Object();
          int hashOne = map.hash(keyOne);
          ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null);
          ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne, 1);
          assertThat(valueRefOne.get()).isSameInstanceAs(valueOne);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          LocalCache<Object, Object> map = makeLocalCache(builder);
    
          Object keyOne = new Object();
          Object valueOne = new Object();
          int hashOne = map.hash(keyOne);
          ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null);
          ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne, 1);
          assertThat(valueRefOne.get()).isSameInstanceAs(valueOne);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

                            && Objects.equals(type, that.type)
                            && Objects.equals(coordinatesString, that.coordinatesString);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hash(groupId, artifactId, version, classifier, extension, type, coordinatesString);
                }
    
                @Override
                public String toString() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

                            && Objects.equals(repositories, that.repositories)
                            && nature == that.nature;
                }
    
                @Override
                public int hashCode() {
                    return Objects.hash(artifactCoordinates, repositories, nature);
                }
    
                @Override
                public String toString() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  9. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top