Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 494 for hashcode (0.09 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertTrue(multimap.entries().isEmpty());
        assertTrue(multimap.equals(ArrayListMultimap.create()));
        assertEquals(emptyList(), multimap.get("foo"));
        assertEquals(0, multimap.hashCode());
        assertTrue(multimap.isEmpty());
        assertEquals(HashMultiset.create(), multimap.keys());
        assertEquals(emptySet(), multimap.keySet());
        assertEquals(0, multimap.size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

          into.putLong(value);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return object instanceof CustomFunnel;
        }
    
        @Override
        public int hashCode() {
          return 42;
        }
      }
    
      public void testPutReturnValue() {
        for (int i = 0; i < 10; i++) {
          BloomFilter<String> bf = BloomFilter.create(Funnels.unencodedCharsFunnel(), 100);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/BloomFilterTest.java

          into.putLong(value);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return object instanceof CustomFunnel;
        }
    
        @Override
        public int hashCode() {
          return 42;
        }
      }
    
      public void testPutReturnValue() {
        for (int i = 0; i < 10; i++) {
          BloomFilter<String> bf = BloomFilter.create(Funnels.unencodedCharsFunnel(), 100);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. 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>
     *
     * {@snippet :
     * class Foo {
     *   private static final ImmutableSet<String> RESERVED_CODES =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  6. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. api/maven-api-model/src/main/mdo/maven.mdo

                return getKey().equals(otherPlugin.getKey());
            }
            return false;
        }
    
        /**
         * @see java.lang.Object#hashCode()
         */
        public int hashCode() {
            return getKey().hashCode();
        }
    
        /**
         * @see java.lang.Object#toString()
         */
        public String toString() {
            return "Plugin [" + getKey() + "]";
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:32:16 UTC 2025
    - 132.7K bytes
    - Viewed (0)
  8. android/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>
     *
     * {@snippet :
     * class Foo {
     *   private static final ImmutableSet<String> RESERVED_CODES =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. 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(final Object obj) {
            return obj instanceof ServerMessageBlock && ((ServerMessageBlock) obj).mid == this.mid;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

         * @throws SMBProtocolDecodingException if decoding fails
         */
        protected abstract int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException;
    
        @Override
        public int hashCode() {
            return (int) this.mid;
        }
    
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof ServerMessageBlock2 && ((ServerMessageBlock2) obj).mid == this.mid;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
Back to top