Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,124 for Comparer (0.12 sec)

  1. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        }
        return builder.toString();
      }
    
      /**
       * Returns a comparator that compares two arrays of unsigned {@code long} values <a
       * href="http://en.wikipedia.org/wiki/Lexicographical_order">lexicographically</a>. That is, it
       * compares, using {@link #compare(long, long)}), the first pair of values that follow any common
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. pkg/maps/maps.go

    	for key, value := range subset {
    		if supersetValue, ok := superset[key]; !ok || supersetValue != value {
    			return false
    		}
    	}
    	return true
    }
    
    // EqualFunc is like Equal, but compares values using eq.
    // Keys are still compared with ==.
    func EqualFunc[M1 ~map[K]V1, M2 ~map[K]V2, K comparable, V1, V2 any](m1 M1, m2 M2, eq func(V1, V2) bool) bool {
    	return maps.EqualFunc(m1, m2, eq)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 01 22:48:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/internal/bytealg/count_ppc64x.s

    	VCMPEQUB V0, V1, V0
    	VCNTMBB	V0, $1, R14	// Sum the value of bit 0 of each byte of the compare into R14.
    	SRD	$56, R14, R14	// The result of VCNTMBB is shifted. Unshift it.
    	ADD	R14, R18, R18
    	ADD	$16, R3, R3
    	ANDCC	$15, R4, R4
    
    small_tail_p10:
    	SLD	$56, R4, R6
    	LXVLL	R3, R6, V0
    	VCMPEQUB V0, V1, V0
    	VCLRRB	V0, R4, V0	// If <16B being compared, clear matches of the 16-R4 bytes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 20:30:44 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedBytes.java

        }
        return builder.toString();
      }
    
      /**
       * Returns a comparator that compares two {@code byte} arrays <a
       * href="http://en.wikipedia.org/wiki/Lexicographical_order">lexicographically</a>. That is, it
       * compares, using {@link #compare(byte, byte)}), the first pair of values that follow any common
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/UnsignedLongs.java

        }
        return builder.toString();
      }
    
      /**
       * Returns a comparator that compares two arrays of unsigned {@code long} values <a
       * href="http://en.wikipedia.org/wiki/Lexicographical_order">lexicographically</a>. That is, it
       * compares, using {@link #compare(long, long)}), the first pair of values that follow any common
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/Operation.java

        abstract String getDescription();
    
        /**
         * @return comparator that compares operations, slowest first, then alphabetically
         */
        public static Comparator<? super Operation> slowestFirst() {
            return new Comparator<Operation>() {
                @Override
                public int compare(Operation o1, Operation o2) {
                    long byElapsedTime = o2.getElapsedTime() - o1.getElapsedTime();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/VersionNumber.java

    package org.gradle.util.internal;
    
    import com.google.common.base.Objects;
    import com.google.common.collect.Ordering;
    
    import javax.annotation.Nullable;
    import java.util.Locale;
    
    /**
     * Represents, parses, and compares version numbers. Supports a couple of different schemes: <ul> <li>MAJOR.MINOR.MICRO-QUALIFIER (the default).</li> <li>MAJOR.MINOR.MICRO.PATCH-QUALIFIER.</li> </ul>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/model/TaskNameComparator.java

    package org.gradle.plugins.ide.internal.tooling.model;
    
    import java.io.Serializable;
    import java.util.Comparator;
    
    /**
     * Compares task names to create ordering for selector launching.
     */
    public class TaskNameComparator implements Comparator<String>, Serializable {
        @Override
        public int compare(String taskName1, String taskName2) {
            int depthDiff = getDepth(taskName1) - getDepth(taskName2);
            if (depthDiff != 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/versions/gover.go

    	pre   string // decimal or ""
    }
    
    // compare returns -1, 0, or +1 depending on whether
    // x < y, x == y, or x > y, interpreted as toolchain versions.
    // The versions x and y must not begin with a "go" prefix: just "1.21" not "go1.21".
    // Malformed versions compare less than well-formed versions and equal to each other.
    // The language version "1.21" compares less than the release candidate and eventual releases "1.21rc1" and "1.21.0".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/StaticVersionComparator.java

                                                                                .put("sp", 6).build();
        /**
         * Compares 2 versions. Algorithm is inspired by PHP version_compare one.
         */
        @Override
        public int compare(Version version1, Version version2) {
            if (version1.equals(version2)) {
                return 0;
            }
    
            String[] parts1 = version1.getParts();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top