Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,535 for Comparer (0.37 sec)

  1. src/go/version/version.go

    	} else {
    		return "go" + v
    	}
    }
    
    // Compare returns -1, 0, or +1 depending on whether
    // x < y, x == y, or x > y, interpreted as Go versions.
    // The versions x and y must begin with a "go" prefix: "go1.21" not "1.21".
    // Invalid versions, including the empty string, compare less than
    // valid versions and equal to each other.
    // The language version "go1.21" compares less than the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 19:56:48 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. docs/en/docs/benchmarks.md

    But when checking benchmarks and comparisons you should keep the following in mind.
    
    ## Benchmarks and speed
    
    When you check the benchmarks, it is common to see several tools of different types compared as equivalent.
    
    Specifically, to see Uvicorn, Starlette and FastAPI compared together (among many other tools).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/slices/slices.go

    	}
    	for i, v1 := range s1 {
    		v2 := s2[i]
    		if !eq(v1, v2) {
    			return false
    		}
    	}
    	return true
    }
    
    // Compare compares the elements of s1 and s2, using [cmp.Compare] on each pair
    // of elements. The elements are compared sequentially, starting at index 0,
    // until one element is not equal to the other.
    // The result of comparing the first non-matching elements is returned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/versions/versions.go

    	return x[:2+len(v)] // "go"+v without allocation
    }
    
    // Compare returns -1, 0, or +1 depending on whether
    // x < y, x == y, or x > y, interpreted as Go versions.
    // The versions x and y must begin with a "go" prefix: "go1.21" not "1.21".
    // Invalid versions, including the empty string, compare less than
    // valid versions and equal to each other.
    // The language version "go1.21" compares less than the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Ordering.java

       * instead (but note that it does not guarantee which tied minimum element is returned).
       *
       * @param a value to compare, returned if less than or equal to the rest.
       * @param b value to compare
       * @param c value to compare
       * @param rest values to compare
       * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this
       *     ordering.
       */
      @ParametricNullness
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/SortedMapDiffUtil.java

                while (true) {
                    K previousProperty = previousEntry.getKey();
                    K currentProperty = currentEntry.getKey();
                    int compared = comparator.compare(previousProperty, currentProperty);
                    if (compared < 0) {
                        if (!diffListener.removed(previousProperty)) {
                            return false;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/internal/bytealg/compare_arm.s

    	BEQ	samebytes
    	CMP	$4, R6
    	ADD	R2, R6		// R2 is current byte in a, R6 is the end of the range to compare
    	BLT	byte_loop	// length < 4
    	AND	$3, R2, R8
    	CMP	$0, R8
    	BNE	byte_loop	// unaligned a, use byte-wise compare (TODO: try to align a)
    aligned_a:
    	AND	$3, R3, R8
    	CMP	$0, R8
    	BNE	byte_loop	// unaligned b, use byte-wise compare
    	AND	$0xfffffffc, R6, R8
    	// length >= 4
    chunk4_loop:
    	MOVW.P	4(R2), R4
    	MOVW.P	4(R3), R5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 16:09:38 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  8. src/maps/maps.go

    // Values are compared using ==.
    func Equal[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool {
    	if len(m1) != len(m2) {
    		return false
    	}
    	for k, v1 := range m1 {
    		if v2, ok := m2[k]; !ok || v1 != v2 {
    			return false
    		}
    	}
    	return true
    }
    
    // EqualFunc is like Equal, but compares values using eq.
    // Keys are still compared with ==.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 20:35:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/cmp.bash

    # license that can be found in the LICENSE file.
    
    # A simple script to compare differences between
    # assembly listings for packages built with different
    # compiler flags. It is useful to inspect the impact
    # of a compiler change across all std lib packages.
    #
    # The script builds the std library (make.bash) once
    # with FLAGS1 and once with FLAGS2 and compares the
    # "go build <pkg>" assembly output for each package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:03:31 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. 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)
Back to top