Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for rhs (0.03 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/AssignmentTrace.kt

                assignments.forEach { (lhs, rhs, callId, method) ->
                    add(
                        when (val additionResult = assignmentResolver.addAssignment(lhs, rhs, method, callId.generationId)) {
                            is AssignmentResolver.AssignmentAdditionResult.AssignmentAdded -> AssignmentTraceElement.RecordedAssignment(additionResult.resolvedLhs, rhs, additionResult.assignmentMethod)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/ConstructorComparatorTest.groovy

            def lhs = Stub(ClassGenerator.GeneratedConstructor)
            lhs.parameterTypes >> [String]
            def rhs = Stub(ClassGenerator.GeneratedConstructor)
            rhs.parameterTypes >> [String, Number]
    
            expect:
            comparator.compare(lhs, rhs) == -1
            comparator.compare(rhs, lhs) == 1
        }
    
        def "constructors with equal parameters are sorted by type names"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/internal/types/testdata/spec/typeAliases1.23b.go

    // A type alias may have fewer type parameters than its RHS.
    type RHS[P any, Q ~int] struct {
    	p P
    	q Q
    }
    
    type _[P any] = RHS[P, int]
    
    // Or it may have more type parameters than its RHS.
    type _[P any, Q ~int, R comparable] = RHS[P, Q]
    
    // The type parameters of a type alias must implement the
    // corresponding type constraints of the type parameters
    // on the RHS (if any)
    type _[P any, Q ~int] = RHS[P, Q]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases_go122.go

    	"go/types"
    )
    
    // Alias is an alias of types.Alias.
    type Alias = types.Alias
    
    // Rhs returns the type on the right-hand side of the alias declaration.
    func Rhs(alias *Alias) types.Type {
    	if alias, ok := any(alias).(interface{ Rhs() types.Type }); ok {
    		return alias.Rhs() // go1.23+
    	}
    
    	// go1.22's Alias didn't have the Rhs method,
    	// so Unalias is the best we can do.
    	return Unalias(alias)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/crypto/internal/edwards25519/tables_test.go

    	// Expect T1 + T2 = T3 + T4
    
    	var accP1xP1 projP1xP1
    	lhs := NewIdentityPoint()
    	rhs := NewIdentityPoint()
    
    	accP1xP1.Add(lhs, &tmp1)
    	lhs.fromP1xP1(&accP1xP1)
    	accP1xP1.Add(lhs, &tmp2)
    	lhs.fromP1xP1(&accP1xP1)
    
    	accP1xP1.Add(rhs, &tmp3)
    	rhs.fromP1xP1(&accP1xP1)
    	accP1xP1.Add(rhs, &tmp4)
    	rhs.fromP1xP1(&accP1xP1)
    
    	if lhs.Equal(rhs) != 1 {
    		t.Errorf("Consistency check on nafLookupTable5 failed")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 21:53:10 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/alias.go

    	targs   *TypeList      // type arguments, or nil
    	fromRHS Type           // RHS of type alias declaration; may be an alias
    	actual  Type           // actual (aliased) type; never an alias
    }
    
    // NewAlias creates a new Alias type with the given type name and rhs.
    // rhs must not be nil.
    func NewAlias(obj *TypeName, rhs Type) *Alias {
    	alias := (*Checker)(nil).newAlias(obj, rhs)
    	// Ensure that alias.actual is set (#65455).
    	alias.cleanup()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. src/go/types/alias.go

    	targs   *TypeList      // type arguments, or nil
    	fromRHS Type           // RHS of type alias declaration; may be an alias
    	actual  Type           // actual (aliased) type; never an alias
    }
    
    // NewAlias creates a new Alias type with the given type name and rhs.
    // rhs must not be nil.
    func NewAlias(obj *TypeName, rhs Type) *Alias {
    	alias := (*Checker)(nil).newAlias(obj, rhs)
    	// Ensure that alias.actual is set (#65455).
    	alias.cleanup()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.td

    // Fuses TFL_FullyConnectedOp and TFL_TransposeOp Rhs to TFL_BatchMatMulOp
    def FuseTransposeFCRhsToBatchMatmul : Pat<
      (TFL_FullyConnectedOp
        2DTensorOf<[F32]>:$lhs,
        (TFL_TransposeOp TensorOf<[F32]>:$rhs, (Arith_ConstantOp:$perm_value $p0)),
        $bias, $TFL_AF_None, $TFL_FCWO_Default,
        $keep_num_dims, $asymmetric_quantize_inputs
        ),
      (TFL_BatchMatMulOp $lhs, $rhs, ConstBoolAttrFalse, ConstBoolAttrFalse,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 09 23:44:09 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/assign/assign.go

    		if stmt.Tok != token.ASSIGN {
    			return // ignore :=
    		}
    		if len(stmt.Lhs) != len(stmt.Rhs) {
    			// If LHS and RHS have different cardinality, they can't be the same.
    			return
    		}
    		for i, lhs := range stmt.Lhs {
    			rhs := stmt.Rhs[i]
    			if analysisutil.HasSideEffects(pass.TypesInfo, lhs) ||
    				analysisutil.HasSideEffects(pass.TypesInfo, rhs) ||
    				isMapIndex(pass.TypesInfo, lhs) {
    				continue // expressions may not be equal
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/util.go

    	if id.Obj == nil {
    		return nil
    	}
    	var rhs ast.Expr
    	switch d := id.Obj.Decl.(type) {
    	case *ast.AssignStmt:
    		for i, x := range d.Lhs {
    			if ident, isIdent := x.(*ast.Ident); isIdent && ident.Name == id.Name && i < len(d.Rhs) {
    				rhs = d.Rhs[i]
    			}
    		}
    	case *ast.ValueSpec:
    		for i, n := range d.Names {
    			if n.Name == id.Name && i < len(d.Values) {
    				rhs = d.Values[i]
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top