Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 284 for compares (0.05 sec)

  1. guava/src/com/google/common/collect/ComparisonChain.java

     * compare} methods unconditionally, the {@code ComparisonChain} implementation stops calling its
     * inputs' {@link Comparable#compareTo compareTo} and {@link Comparator#compare compare} methods as
     * soon as one of them returns a nonzero result. This optimization is typically important only in
     * the presence of expensive {@code compareTo} and {@code compare} implementations.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. cmd/leak-detect_test.go

    	snapshot := LeakDetect{
    		relevantRoutines: make(map[string]bool),
    	}
    	for _, g := range pickRelevantGoroutines() {
    		snapshot.relevantRoutines[g] = true
    	}
    	return snapshot
    }
    
    // CompareCurrentSnapshot - Compares the initial relevant stack trace with the current one (during the time of invocation).
    func (initialSnapShot LeakDetect) CompareCurrentSnapshot() []string {
    	var stackDiff []string
    	for _, g := range pickRelevantGoroutines() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                }
            }
            // IOException handling is done by calling code
        }
    
        /**
         * Compares two SMB files by name.
         * @param f1 first file to compare
         * @param f1name name of first file
         * @param f2 second file to compare
         * @return comparison result for sorting
         * @throws IOException if an I/O error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ExplicitOrdering.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that compares objects according to a given order. */
    @GwtCompatible
    final class ExplicitOrdering<T> extends Ordering<T> implements Serializable {
      final ImmutableMap<T, Integer> rankMap;
    
      ExplicitOrdering(List<T> valuesInOrder) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      @SuppressWarnings("InlineMeInliner") // Integer.compare unavailable under GWT+J2CL
      public static int compare(long a, long b) {
        return Longs.compare(flip(a), flip(b));
      }
    
      /**
       * Returns the least value present in {@code array}, treating values as unsigned.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Booleans.java

       * @param b the second {@code boolean} to compare
       * @return a positive number if only {@code a} is {@code true}, a negative number if only {@code
       *     b} is true, or zero if {@code a == b}
       */
      @InlineMe(replacement = "Boolean.compare(a, b)")
      public static int compare(boolean a, boolean b) {
        return Boolean.compare(a, b);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Booleans.java

       * @param b the second {@code boolean} to compare
       * @return a positive number if only {@code a} is {@code true}, a negative number if only {@code
       *     b} is true, or zero if {@code a == b}
       */
      @InlineMe(replacement = "Boolean.compare(a, b)")
      public static int compare(boolean a, boolean b) {
        return Boolean.compare(a, b);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NetworkExplorer.java

                while ((n = in.read(buf)) != -1) {
                    out.write(buf, 0, n);
                }
            }
        }
    
        /**
         * Compares two SMB files by name
         * @param f1 first file to compare
         * @param f1name name of first file
         * @param f2 second file to compare
         * @return comparison result for sorting
         * @throws IOException if an I/O error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Table.java

      /** Returns {@code true} if the table contains no mappings. */
      boolean isEmpty();
    
      /** Returns the number of row key / column key / value mappings in the table. */
      int size();
    
      /**
       * Compares the specified object with this table for equality. Two tables are equal when their
       * cell views, as returned by {@link #cellSet}, are equal.
       */
      @Override
      boolean equals(@Nullable Object obj);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/SMBSigningDigest.java

        void sign(byte[] data, int offset, int length, CommonServerMessageBlock request, CommonServerMessageBlock response);
    
        /**
         * Performs MAC signature verification. This calculates the signature
         * of the SMB and compares it to the signature field on the SMB itself.
         *
         * @param data
         *            The data.
         * @param offset
         *            The starting offset at which the SMB header begins.
         * @param length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top