Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,773 for compared (0.27 sec)

  1. 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)
  2. test/blank1.go

    	x := _+1	// ERROR "cannot use .* as value"
    	_ = x
    	_ = t._ // ERROR "cannot refer to blank field|invalid use of|t._ undefined"
    
          var v1, v2 T
          _ = v1 == v2 // ERROR "cannot be compared|non-comparable|cannot compare v1 == v2"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 20:13:36 UTC 2020
    - 724 bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/artifacts/VersionConstraint.java

     *     <li>Only the parts of a version are compared. The actual separator characters are not significant: `1.a.1 == 1-a+1 == 1.a-1 == 1a1`</li>
     * </ul>
     * </li>
     * <li>The equivalent parts of 2 versions are compared using the following rules:
     * <ul>
     *     <li>If both parts are numeric, the highest numeric value is <b>higher</b>: `1.1 {@literal <} 1.2`</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 11:49:12 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/types/alg.go

    type AlgKind int8
    
    //go:generate stringer -type AlgKind -trimprefix A alg.go
    
    const (
    	AUNK   AlgKind = iota
    	ANOEQ          // Types cannot be compared
    	ANOALG         // implies ANOEQ, and in addition has a part that is marked Noalg
    	AMEM           // Type can be compared/hashed as regular memory.
    	AMEM0          // Specific subvariants of AMEM (TODO: move to ../reflectdata?)
    	AMEM8
    	AMEM16
    	AMEM32
    	AMEM64
    	AMEM128
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/single_versions.adoc

    ** Only the parts of a version are compared. The actual separator characters are not significant: `1.a.1 == 1-a+1 == 1.a-1 == 1a1` (watch out though, in the context of conflict resolution there are <<dependency_resolution#sec:base-version-comparison,exceptions to this rule>>).
    * The equivalent parts of 2 versions are compared using the following rules:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:46:26 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     *   <li>Dependency on {@code com.google.common} / Guava.
     * </ul>
     *
     * <p>Advantages compared to {@link com.google.common.collect.ImmutableList ImmutableList}{@code
     * <Double>}:
     *
     * <ul>
     *   <li>Improved memory compactness and locality.
     *   <li>Can be queried without allocating garbage.
     * </ul>
     *
     * <p>Disadvantages compared to {@code ImmutableList<Double>}:
     *
     * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue50965.go

    	switch x {
    	case c /* ERROR "invalid case c in switch on x (mismatched types string and int)" */ :
    	}
    }
    
    func _(x, c []int) {
    	switch x {
    	case c /* ERROR "invalid case c in switch on x (slice can only be compared to nil)" */ :
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 431 bytes
    - Viewed (0)
  9. releasenotes/notes/45641.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: istioctl
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 12 21:04:47 UTC 2023
    - 252 bytes
    - Viewed (0)
  10. test/fixedbugs/issue11737.go

    // license that can be found in the LICENSE file.
    
    // Issue 11737 - invalid == not being caught until generated switch code was compiled
    
    package p
    
    func f()
    
    func s(x interface{}) {
    	switch x {
    	case f: // ERROR "invalid case f \(type func\(\)\) in switch \(incomparable type\)|can only be compared to nil"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 04 23:42:25 UTC 2022
    - 437 bytes
    - Viewed (0)
Back to top