Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 554 for HashCode (0.07 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code MailingList}.
     *
     */
    class MailingListTest {
    
        @Test
        void testHashCodeNullSafe() {
            new MailingList().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new MailingList().equals(null));
    
            new MailingList().equals(new MailingList());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

    internal fun MediaType.commonEquals(other: Any?): Boolean = other is MediaType && other.mediaType == mediaType
    
    internal fun MediaType.commonToString(): String = mediaType
    
    internal fun MediaType.commonHashCode(): Int = mediaType.hashCode()
    
    private const val TOKEN = "([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)"
    private const val QUOTED = "\"([^\"]*)\""
    private val TYPE_SUBTYPE = Regex("$TOKEN/$TOKEN")
    private val PARAMETER = Regex(";\\s*(?:$TOKEN=(?:$TOKEN|$QUOTED))?")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                    map.put("id", encodeId(objectName));
                    map.put("path", prefix);
                    map.put("name", getName(objectName));
                    map.put("hashCode", item.hashCode());
                    map.put("size", item.size());
                    map.put("directory", item.isDir());
                    if (!item.isDir()) {
                        map.put("lastModified", item.lastModified());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Table.java

        /**
         * Returns the hash code of this cell.
         *
         * <p>The hash code of a table cell is equal to {@link Objects#hashCode}{@code (e.getRowKey(),
         * e.getColumnKey(), e.getValue())}.
         */
        @Override
        int hashCode();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RangeSet.java

       * according to {@link Range#equals(Object)}.
       */
      @Override
      boolean equals(@CheckForNull Object obj);
    
      /** Returns {@code asRanges().hashCode()}. */
      @Override
      int hashCode();
    
      /**
       * Returns a readable string representation of this range set. For example, if this {@code
       * RangeSet} consisted of {@code Range.closed(1, 3)} and {@code Range.greaterThan(4)}, this might
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Ints.java

      /**
       * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Integer)
       * value).hashCode()}.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#hashCode(int)} instead.
       *
       * @param value a primitive {@code int} value
       * @return a hash code for the value
       */
      public static int hashCode(int value) {
        return value;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

          return standardToString();
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public boolean setCount(T element, int oldCount, int newCount) {
          return standardSetCount(element, oldCount, newCount);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putLong(long l) {
        buffer.putLong(l);
        munchIfFull();
        return this;
      }
    
      @Override
      public final HashCode hash() {
        munch();
        Java8Compatibility.flip(buffer);
        if (buffer.remaining() > 0) {
          processRemaining(buffer);
          Java8Compatibility.position(buffer, buffer.limit());
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

        assertEquals("text/plain;boundary=foo;charset=utf-8", mediaType.toString())
        assertEquals(mediaType, parse("text/plain;boundary=foo;charset=utf-8"))
        assertEquals(
          mediaType.hashCode(),
          parse("text/plain;boundary=foo;charset=utf-8").hashCode(),
        )
      }
    
      @Test fun testValidParse() {
        assertMediaType("text/plain")
        assertMediaType("application/atom+xml; charset=utf-8")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        return t;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegate.equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      private static final long serialVersionUID = 0L;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top