Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 359 for Identical (0.15 sec)

  1. src/go/types/typeterm.go

    	// easy cases
    	switch {
    	case x == nil || y == nil:
    		return x == y
    	case x.typ == nil || y.typ == nil:
    		return x.typ == y.typ
    	}
    	// ∅ ⊂ x, y ⊂ 𝓤
    
    	return x.tilde == y.tilde && Identical(x.typ, y.typ)
    }
    
    // union returns the union x ∪ y: zero, one, or two non-nil terms.
    func (x *term) union(y *term) (_, _ *term) {
    	// easy cases
    	switch {
    	case x == nil && y == nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/go/types/conversions.go

    	Tu := under(T)
    	Vp, _ := V.(*TypeParam)
    	Tp, _ := T.(*TypeParam)
    
    	// "V and T have identical underlying types if tags are ignored
    	// and V and T are not type parameters"
    	if IdenticalIgnoreTags(Vu, Tu) && Vp == nil && Tp == nil {
    		return true
    	}
    
    	// "V and T are unnamed pointer types and their pointer base types
    	// have identical underlying types if tags are ignored
    	// and their pointer base types are not type parameters"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/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 types2
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/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
    - 11K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/split_merged_operands.cc

    //
    // MLIRConverter also benefits from lots of typical compiler optimization like
    // merging same input values if they're identical. These optimizations are
    // desirable but not for those TFLite ops which have variable tensors as inputs.
    // Yes, they have identical input values, but those identical values are
    // "stateful", their values can change during invocations.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/conversions.go

    	Tu := under(T)
    	Vp, _ := V.(*TypeParam)
    	Tp, _ := T.(*TypeParam)
    
    	// "V and T have identical underlying types if tags are ignored
    	// and V and T are not type parameters"
    	if IdenticalIgnoreTags(Vu, Tu) && Vp == nil && Tp == nil {
    		return true
    	}
    
    	// "V and T are unnamed pointer types and their pointer base types
    	// have identical underlying types if tags are ignored
    	// and their pointer base types are not type parameters"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/upload/Doc.txt

    the count files are no longer needed and can be deleted.
    
    Third phase. Look at the .json files in the list from the first phase.
    If the name starts with local, skip it. If there is a file with the
    identical name in the upload directory, remove the one in the local directory.
    Otherwise try to upload the one in the local directory,
    If the upload succeeds, move the file to the uploaded directory.
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/Problems.java

     */
    @Incubating
    @ServiceScope(Scope.BuildTree.class)
    public interface Problems {
    
        /**
         * Return a problem reporter associated with a plugin.
         * <p>
         * The namespace provides separation for identical problems emitted from different components (Gradle core and third-party plugins).
         *
         * @return The problem reporter.
         * @since 8.6
         */
        ProblemReporter forNamespace(String namespace);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/runtime/metrics.go

    		}
    	}
    	a.ensured = a.ensured.union(missing)
    }
    
    // metricKind is a runtime copy of runtime/metrics.ValueKind and
    // must be kept structurally identical to that type.
    type metricKind int
    
    const (
    	// These values must be kept identical to their corresponding Kind* values
    	// in the runtime/metrics package.
    	metricKindBad metricKind = iota
    	metricKindUint64
    	metricKindFloat64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/temp.go

    // temporary variable to val, and then returns the expression &tmp.
    func initStackTemp(init *ir.Nodes, tmp *ir.Name, val ir.Node) *ir.AddrExpr {
    	if val != nil && !types.Identical(tmp.Type(), val.Type()) {
    		base.Fatalf("bad initial value for %L: %L", tmp, val)
    	}
    	appendWalkStmt(init, ir.NewAssignStmt(base.Pos, tmp, val))
    	return typecheck.Expr(typecheck.NodAddr(tmp)).(*ir.AddrExpr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top