Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 175 for mexpr (0.1 sec)

  1. src/cmd/compile/internal/types2/check.go

    // Instances map is non-nil. The given expr must be an ident, selector, or
    // index (list) expr with ident or selector operand.
    //
    // TODO(rfindley): the expr parameter is fragile. See if we can access the
    // instantiated identifier in some other way.
    func (check *Checker) recordInstance(expr syntax.Expr, targs []Type, typ Type) {
    	ident := instantiatedIdent(expr)
    	assert(ident != nil)
    	assert(typ != nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    	if recv != nil && len(recv.List) > 0 {
    		expr := recv.List[0].Type
    		if path := lockPath(pass.Pkg, pass.TypesInfo.Types[expr].Type, nil); path != nil {
    			pass.ReportRangef(expr, "%s passes lock by value: %v", name, path)
    		}
    	}
    
    	if typ.Params != nil {
    		for _, field := range typ.Params.List {
    			expr := field.Type
    			if path := lockPath(pass.Pkg, pass.TypesInfo.Types[expr].Type, nil); path != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. finisher_api.go

    					}
    				}
    
    				if tx.Statement.Distinct {
    					expr = clause.Expr{SQL: "COUNT(DISTINCT(?))", Vars: []interface{}{clause.Column{Name: dbName}}}
    				} else if dbName != "*" {
    					expr = clause.Expr{SQL: "COUNT(?)", Vars: []interface{}{clause.Column{Name: dbName}}}
    				}
    			}
    		}
    
    		tx.Statement.AddClause(clause.Select{Expression: expr})
    	}
    
    	if orderByClause, ok := db.Statement.Clauses["ORDER BY"]; ok {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/typexpr.go

    func (check *Checker) typ(e syntax.Expr) Type {
    	return check.definedType(e, nil)
    }
    
    // varType type-checks the type expression e and returns its type, or Typ[Invalid].
    // The type must not be an (uninstantiated) generic type and it must not be a
    // constraint interface.
    func (check *Checker) varType(e syntax.Expr) Type {
    	typ := check.definedType(e, nil)
    	check.validVarType(e, typ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. gorm.go

    			tx.Statement = db.Statement.clone()
    			tx.Statement.DB = tx
    		}
    
    		return tx
    	}
    
    	return db
    }
    
    // Expr returns clause.Expr, which can be used to pass SQL expression as params
    func Expr(expr string, args ...interface{}) clause.Expr {
    	return clause.Expr{SQL: expr, Vars: args}
    }
    
    // SetupJoinTable setup join table schema
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Aug 20 11:46:56 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/typecheck.go

    	// shift operators
    	case ir.OLSH, ir.ORSH:
    		n := n.(*ir.BinaryExpr)
    		n.X, n.Y = Expr(n.X), Expr(n.Y)
    		l, r, t := tcShift(n, n.X, n.Y)
    		n.X, n.Y = l, r
    		n.SetType(t)
    		return n
    
    	// comparison operators
    	case ir.OEQ, ir.OGE, ir.OGT, ir.OLE, ir.OLT, ir.ONE:
    		n := n.(*ir.BinaryExpr)
    		n.X, n.Y = Expr(n.X), Expr(n.Y)
    		l, r, t := tcArith(n, n.Op(), n.X, n.Y)
    		if t != nil {
    			n.X, n.Y = l, r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  7. src/go/types/typexpr.go

    // The type must not be an (uninstantiated) generic type.
    func (check *Checker) typ(e ast.Expr) Type {
    	return check.definedType(e, nil)
    }
    
    // varType type-checks the type expression e and returns its type, or Typ[Invalid].
    // The type must not be an (uninstantiated) generic type and it must not be a
    // constraint interface.
    func (check *Checker) varType(e ast.Expr) Type {
    	typ := check.definedType(e, nil)
    	check.validVarType(e, typ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/prettyPrintResults.kt

                    appendNextIndented("expr = ")
                    recurseDeeper(current.expr)
                    appendLine()
                    appendIndented(")")
                }
    
                is FunctionArgument.Positional -> {
                    append("FunctionArgument.Positional [${source()}] (\n")
                    appendNextIndented("expr = ")
                    recurseDeeper(current.expr)
                    appendLine()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

            var representativePsi: KtElement? = null
            val flattenedVarargs = buildList {
                for (expr in this@convertVarargsExpression) {
                    val converted = expr.convertConstantExpression(builder) ?: continue
    
                    if ((expr is FirSpreadArgumentExpression || expr is FirNamedArgumentExpression) && converted is KaArrayAnnotationValue) {
                        addAll(converted.values)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

    import com.github.javaparser.ast.body.TypeDeclaration;
    import com.github.javaparser.ast.comments.Comment;
    import com.github.javaparser.ast.expr.AnnotationExpr;
    import com.github.javaparser.ast.expr.Expression;
    import com.github.javaparser.ast.expr.LiteralStringValueExpr;
    import com.github.javaparser.ast.expr.SingleMemberAnnotationExpr;
    import com.github.javaparser.ast.nodeTypes.NodeWithAnnotations;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 21 13:27:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
Back to top