Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 300 for identical (0.18 sec)

  1. src/go/types/predicates.go

    		}
    
    	case *Map:
    		// Two map types are identical if they have identical key and value types.
    		if y, ok := y.(*Map); ok {
    			return c.identical(x.key, y.key, p) && c.identical(x.elem, y.elem, p)
    		}
    
    	case *Chan:
    		// Two channel types are identical if they have identical value types
    		// and the same direction.
    		if y, ok := y.(*Chan); ok {
    			return x.dir == y.dir && c.identical(x.elem, y.elem, p)
    		}
    
    	case *Named:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/predicates.go

    		}
    
    	case *Map:
    		// Two map types are identical if they have identical key and value types.
    		if y, ok := y.(*Map); ok {
    			return c.identical(x.key, y.key, p) && c.identical(x.elem, y.elem, p)
    		}
    
    	case *Chan:
    		// Two channel types are identical if they have identical value types
    		// and the same direction.
    		if y, ok := y.(*Chan); ok {
    			return x.dir == y.dir && c.identical(x.elem, y.elem, p)
    		}
    
    	case *Named:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ExclusiveVariantsIntegrationTest.groovy

            expect:
            fails("resolveSample")
            failure.assertHasDocumentedCause("Consumable configurations with identical capabilities within a project (other than the default configuration) must have unique attributes, but configuration ':sample1' and [configuration ':sample2'] contain identical attribute sets. " +
                "Consider adding an additional attribute to one of the configurations to disambiguate them.  " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:34:52 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    	case *types.Union:
    		return h.hashUnion(t)
    
    	case *types.Interface:
    		// Interfaces are identical if they have the same set of methods, with
    		// identical names and types, and they have the same set of type
    		// restrictions. See go/types.identical for more details.
    		var hash uint32 = 9103
    
    		// Hash methods.
    		for i, n := 0, t.NumMethods(); i < n; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/buildevents/BuildExceptionReporterTest.groovy

    {info}> {normal}first failure
       {info}> {normal}ultimate cause
    {info}> {normal}There is 1 more failure with an identical cause.
    
    * Try:
    $STACKTRACE
    $INFO_OR_DEBUG
    $SCAN
    $GET_HELP
    """
        }
    
        def "multi-cause exceptions have branches with identical root causes and additional intermediate failures summarized properly"() {
            def ultimateCause = new RuntimeException("ultimate cause")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. src/go/types/instantiate.go

    // previous instances with the same identity. As a special case, generic
    // *Signature origin types are only considered identical if they are pointer
    // equivalent, so that instantiating distinct (but possibly identical)
    // signatures will yield different instances. The use of a shared context does
    // not guarantee that identical instances are deduplicated in all cases.
    //
    // If validate is set, Instantiate verifies that the number of type arguments
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

            hasScript(":module1", scripts)
            eachScriptIsUnique(scripts)
            getCompileBuildFileOperationsCount() == 4 // classpath + body for settings and for the 2 identical scripts
        }
    
        @ToBeFixedForConfigurationCache(because = "test expect script evaluation")
        def "identical build files are compiled once for distinct invocations"() {
            given:
            root {
                core {
                    'core.gradle'(this.simpleBuild())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/instantiate.go

    // previous instances with the same identity. As a special case, generic
    // *Signature origin types are only considered identical if they are pointer
    // equivalent, so that instantiating distinct (but possibly identical)
    // signatures will yield different instances. The use of a shared context does
    // not guarantee that identical instances are deduplicated in all cases.
    //
    // If validate is set, Instantiate verifies that the number of type arguments
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/go/types/operand.go

    	if x.mode == invalid || !isValid(T) {
    		return true, 0 // avoid spurious errors
    	}
    
    	origT := T
    	V := Unalias(x.typ)
    	T = Unalias(T)
    
    	// x's type is identical to T
    	if Identical(V, T) {
    		return true, 0
    	}
    
    	Vu := under(V)
    	Tu := under(T)
    	Vp, _ := V.(*TypeParam)
    	Tp, _ := T.(*TypeParam)
    
    	// x is an untyped value representable by a value of type T.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. src/go/types/unify.go

    // type parameter and its core type.
    // If two types are not structurally equivalent, they cannot be Go
    // identical types. On the other hand, if they are structurally
    // equivalent, they may be Go identical or at least assignable, or
    // they may be in the type set of a constraint.
    // Whether they indeed are identical or assignable is determined
    // upon instantiation and function argument passing.
    
    package types
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top