- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 248 for mexpr (0.19 sec)
-
src/cmd/fix/fix.go
var fixes []fix func register(f fix) { fixes = append(fixes, f) } // walk traverses the AST x, calling visit(y) for each node y in the tree but // also with a pointer to each ast.Expr, ast.Stmt, and *ast.BlockStmt, // in a bottom-up traversal. func walk(x any, visit func(any)) { walkBeforeAfter(x, nop, visit) } func nop(any) {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 14.6K bytes - Viewed (0) -
src/cmd/compile/internal/walk/convert.go
// walkSliceToArray walks an OSLICE2ARR expression. func walkSliceToArray(n *ir.ConvExpr, init *ir.Nodes) ir.Node { // Replace T(x) with *(*T)(x). conv := typecheck.Expr(ir.NewConvExpr(base.Pos, ir.OCONV, types.NewPtr(n.Type()), n.X)).(*ir.ConvExpr) deref := typecheck.Expr(ir.NewStarExpr(base.Pos, conv)).(*ir.StarExpr) // The OSLICE2ARRPTR conversion handles checking the slice length, // so the dereference can't fail. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 17:28:22 UTC 2023 - 18.2K bytes - Viewed (0) -
internal/s3select/sql/funceval.go
// function. func (e *FuncExpr) evalSQLFnNode(r Record, tableAlias string) (res *Value, err error) { // Handle functions that have phrase arguments switch e.getFunctionName() { case sqlFnCast: expr := e.Cast.Expr res, err = expr.castTo(r, strings.ToUpper(e.Cast.CastType), tableAlias) return case sqlFnSubstring: return handleSQLSubstring(r, e.Substring, tableAlias) case sqlFnExtract:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 13.2K bytes - Viewed (0) -
src/go/types/api.go
// // Constant folding computes the exact constant value // ([constant.Value]) of every expression ([ast.Expr]) that is a // compile-time constant. Use the Types field of [Info] to find the // results of constant folding for an expression. // // Type deduction computes the type ([Type]) of every expression // ([ast.Expr]) and checks for compliance with the language // specification. Use the Types field of [Info] for the results of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
mvnw
fi if [ -z "$JAVA_HOME" ]; then javaExecutable="$(which javac)" if [ -n "$javaExecutable" ] && ! [ "$(expr "\"$javaExecutable\"" : '\([^ ]*\)')" = "no" ]; then # readlink(1) is not available as standard on Solaris 10. readLink=$(which readlink) if [ ! "$(expr "$readLink" : '\([^ ]*\)')" = "no" ]; then if $darwin ; then javaHome="$(dirname "\"$javaExecutable\"")"
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 16 20:48:20 UTC 2023 - 11K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
if n.HasDots { p.print(_DotDotDot) } p.print(_Rparen) case *Operation: if n.Y == nil { // unary expr p.print(n.Op) // if n.Op == lexical.Range { // p.print(blank) // } p.print(n.X) } else { // binary expr // TODO(gri) eventually take precedence into account // to control possibly missing parentheses p.print(n.X, blank, n.Op, blank, n.Y) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0) -
src/regexp/all_test.go
} func compileTest(t *testing.T, expr string, error string) *Regexp { re, err := Compile(expr) if error == "" && err != nil { t.Error("compiling `", expr, "`; unexpected error: ", err.Error()) } if error != "" && err == nil { t.Error("compiling `", expr, "`; missing error") } else if error != "" && !strings.Contains(err.Error(), error) { t.Error("compiling `", expr, "`; wrong error: ", err.Error(), "; want ", error) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:36:03 UTC 2024 - 25.8K bytes - Viewed (0) -
pkg/apis/core/v1/helper/helpers.go
if len(tsm) == 0 { return labels.Nothing(), nil } selector := labels.NewSelector() for _, expr := range tsm { r, err := labels.NewRequirement(expr.Key, selection.In, expr.Values) if err != nil { return nil, err } selector = selector.Add(*r) } return selector, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 11.4K bytes - Viewed (0) -
tests/update_test.go
} if err := DB.Model(&results[0]).Updates(map[string]interface{}{"age": gorm.Expr("age + ?", 100)}).Error; err != nil { t.Errorf("Not error should happen when updating with gorm expr, but got %v", err) } if err := DB.Model(&results[1]).Clauses(clause.Returning{Columns: []clause.Column{{Name: "age"}}}).Updates(map[string]interface{}{"age": gorm.Expr("age + ?", 100)}).Error; err != nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Dec 04 03:50:58 UTC 2023 - 30.3K bytes - Viewed (0) -
src/go/ast/filter.go
n := len(lit.Elts) lit.Elts = filterExprList(lit.Elts, filter, export) if len(lit.Elts) < n { lit.Incomplete = true } } func filterExprList(list []Expr, filter Filter, export bool) []Expr { j := 0 for _, exp := range list { switch x := exp.(type) { case *CompositeLit: filterCompositeLit(x, filter, export) case *KeyValueExpr:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 13.3K bytes - Viewed (0)