Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 342 for comparison (0.1 sec)

  1. android/guava/src/com/google/common/collect/MapMaker.java

     *
     * <p><b>Note:</b> by default, the returned map uses equality comparisons (the {@link Object#equals
     * equals} method) to determine equality for keys or values. However, if {@link #weakKeys} was
     * specified, the map uses identity ({@code ==}) comparisons instead for keys. Likewise, if {@link
     * #weakValues} was specified, the map uses identity comparisons for values.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/https/HandlerTest.java

                assertEquals(443, handler2.getDefaultPort());
                assertEquals(443, handler3.getDefaultPort());
            }
        }
    
        @Nested
        @DisplayName("HTTP vs HTTPS Comparison Tests")
        class ProtocolComparisonTests {
    
            @Test
            @DisplayName("Should use different ports for HTTP and HTTPS")
            void testDifferentPorts() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/https/HandlerTest.java

                assertEquals(443, handler2.getDefaultPort());
                assertEquals(443, handler3.getDefaultPort());
            }
        }
    
        @Nested
        @DisplayName("HTTP vs HTTPS Comparison Tests")
        class ProtocolComparisonTests {
    
            @Test
            @DisplayName("Should use different ports for HTTP and HTTPS")
            void testDifferentPorts() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractMultimap.java

      public Map<K, Collection<V>> asMap() {
        Map<K, Collection<V>> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
      }
    
      abstract Map<K, Collection<V>> createAsMap();
    
      // Comparison and hashing
    
      @Override
      public boolean equals(@Nullable Object object) {
        return Multimaps.equalsImpl(this, object);
      }
    
      /**
       * Returns the hash code for this multimap.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

        public boolean isDeleted() {
            return isUpdated() && newInputs.length == 0;
        }
    
        /**
         * Sorts both the current inputs and new inputs arrays in place.
         * This ensures consistent ordering for comparison and equality operations.
         */
        public void sort() {
            if (inputs != null) {
                Arrays.sort(inputs);
            }
            if (newInputs != null) {
                Arrays.sort(newInputs);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     *   <li>the hash codes of any two equal objects are equal
     * </ul>
     *
     * <p>When a test fails, the error message labels the objects involved in the failed comparison as
     * follows:
     *
     * <ul>
     *   <li>"{@code [group }<i>i</i>{@code , item }<i>j</i>{@code ]}" refers to the
     *       <i>j</i><sup>th</sup> item in the <i>i</i><sup>th</sup> equality group, where both equality
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/EqualsTester.java

     *   <li>the hash codes of any two equal objects are equal
     * </ul>
     *
     * <p>When a test fails, the error message labels the objects involved in the failed comparison as
     * follows:
     *
     * <ul>
     *   <li>"{@code [group }<i>i</i>{@code , item }<i>j</i>{@code ]}" refers to the
     *       <i>j</i><sup>th</sup> item in the <i>i</i><sup>th</sup> equality group, where both equality
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multimap.java

     * may not be equal and may or may not have the same {@code hashCode}. The recommended subinterfaces
     * provide much stronger guarantees.
     *
     * <h3>Comparison to a map of collections</h3>
     *
     * <p>Multimaps are commonly used in places where a {@code Map<K, Collection<V>>} would otherwise
     * have appeared. The differences include:
     *
     * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <p><b>Note:</b> by default, the returned cache uses equality comparisons (the {@link
     * Object#equals equals} method) to determine equality for keys or values. However, if {@link
     * #weakKeys} was specified, the cache uses identity ({@code ==}) comparisons instead for keys.
     * Likewise, if {@link #weakValues} or {@link #softValues} was specified, the cache uses identity
     * comparisons for values.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                mac.update(data, offset, length);
                final byte[] cmp = new byte[SIGNATURE_LENGTH];
                System.arraycopy(mac.doFinal(), 0, cmp, 0, SIGNATURE_LENGTH);
    
                // Use constant-time comparison to prevent timing attacks
                if (!MessageDigest.isEqual(sig, cmp)) {
                    return false; // Signature verification failed
                }
                return true; // Signature verification succeeded
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top