Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 288 for compared (0.14 sec)

  1. 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)
  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. 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. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractSerializer.java

     * implementation is required to enable cache instance reuse within the same Gradle runtime. Serializers are used
     * as cache parameter which need to be compared to determine compatible cache.
     */
    public abstract class AbstractSerializer<T> implements Serializer<T> {
        @Override
        public boolean equals(Object obj) {
            if (obj == null) {
                return false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/plan/OrdinalGroupFactory.java

    import javax.annotation.Nullable;
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Preserves identity of {@see OrdinalGroup} instances so there's a 1-to-1 mapping of ordinals to groups allowing groups
     * to be freely compared by identity.
     */
    @ServiceScope(Scope.Build.class)
    public class OrdinalGroupFactory {
    
        private final List<OrdinalGroup> groups = new ArrayList<>();
    
        public final OrdinalGroup group(int ordinal) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/fingerprint/classpath/ClasspathFingerprinter.java

    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * Responsible for calculating a {@link FileCollectionFingerprint} for a {@link org.gradle.api.file.FileCollection} representing a Java classpath. Compared to {@link RelativePathFileCollectionFingerprinter} this fingerprinter orders files within any sub-tree.
     *
     * @see org.gradle.api.tasks.Classpath
     */
    @ServiceScope(Scope.UserHome.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. test/fixedbugs/issue67160.go

    // Test to make sure that we don't try using larger loads for
    // generated equality functions on architectures that can't do
    // unaligned loads.
    
    package main
    
    // T has a big field that wants to be compared with larger loads/stores.
    // T is "special" because of the unnamed field, so it needs a generated equality function.
    // T is an odd number of bytes in size and has alignment 1.
    type T struct {
    	src [8]byte
    	_   byte
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:34:04 UTC 2024
    - 767 bytes
    - Viewed (0)
Back to top