Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 292 for expr (0.16 sec)

  1. src/cmd/asm/internal/asm/expr_test.go

    }
    
    func TestExpr(t *testing.T) {
    	p := NewParser(nil, nil, nil) // Expression evaluation uses none of these fields of the parser.
    	for i, test := range exprTests {
    		p.start(lex.Tokenize(test.input))
    		result := int64(p.expr())
    		if result != test.output {
    			t.Errorf("%d: %q evaluated to %d; expected %d", i, test.input, result, test.output)
    		}
    		tok := p.next()
    		if test.atEOF && tok.ScanToken != scanner.EOF {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. clause/where.go

    	for idx, expr := range where.Exprs {
    		if v, ok := expr.(OrConditions); !ok || len(v.Exprs) > 1 {
    			if idx != 0 {
    				where.Exprs[0], where.Exprs[idx] = where.Exprs[idx], where.Exprs[0]
    			}
    			break
    		}
    	}
    
    	buildExprs(where.Exprs, builder, AndWithSpace)
    }
    
    func buildExprs(exprs []Expression, builder Builder, joinCond string) {
    	wrapInParentheses := false
    
    	for idx, expr := range exprs {
    		if idx > 0 {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Mar 05 02:23:51 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

                    && value.getClass().getName().startsWith("java.lang."));
        }
    
        private String stripTokens(String expr) {
            if (expr.startsWith("${") && (expr.indexOf('}') == expr.length() - 1)) {
                expr = expr.substring(2, expr.length() - 1);
            }
            return expr;
        }
    
        @Override
        public File alignToBaseDirectory(File file) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                    && value.getClass().getName().startsWith("java.lang."));
        }
    
        private String stripTokens(String expr) {
            if (expr.startsWith("${") && (expr.indexOf('}') == expr.length() - 1)) {
                expr = expr.substring(2, expr.length() - 1);
            }
            return expr;
        }
    
        @Override
        public File alignToBaseDirectory(File file) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  5. finisher_api.go

    		return tx.Create(dest)
    	} else if len(db.Statement.assigns) > 0 {
    		exprs := tx.Statement.BuildCondition(db.Statement.assigns[0], db.Statement.assigns[1:]...)
    		assigns := map[string]interface{}{}
    		for i := 0; i < len(exprs); i++ {
    			expr := exprs[i]
    
    			if eq, ok := expr.(clause.AndConditions); ok {
    				exprs = append(exprs, eq.Exprs...)
    			} else if eq, ok := expr.(clause.Eq); ok {
    				switch column := eq.Column.(type) {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  6. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java

    import org.codehaus.groovy.ast.ClassNode;
    import org.codehaus.groovy.ast.MethodNode;
    import org.codehaus.groovy.ast.expr.Expression;
    import org.codehaus.groovy.ast.expr.MethodCallExpression;
    import org.codehaus.groovy.ast.expr.PropertyExpression;
    import org.codehaus.groovy.ast.expr.VariableExpression;
    import org.codenarc.rule.AbstractAstVisitor;
    import org.codenarc.util.AstUtil;
    
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  7. manifests/addons/dashboards/pilot-dashboard.json

                  "expr": "go_memstats_stack_inuse_bytes{app=\"istiod\"}",
                  "format": "time_series",
                  "intervalFactor": 2,
                  "legendFormat": "Stack in-use",
                  "refId": "G",
                  "step": 2
                },
                {
                  "datasource": {
                    "type": "prometheus",
                    "uid": "${datasource}"
                  },
    Json
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 61K bytes
    - Viewed (0)
  8. clause/select.go

    	if s.Expression != nil {
    		if s.Distinct {
    			if expr, ok := s.Expression.(Expr); ok {
    				expr.SQL = "DISTINCT " + expr.SQL
    				clause.Expression = expr
    				return
    			}
    		}
    
    		clause.Expression = s.Expression
    	} else {
    		clause.Expression = s
    	}
    }
    
    // CommaExpression represents a group of expressions separated by commas.
    type CommaExpression struct {
    	Exprs []Expression
    }
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Wed Jul 14 07:51:24 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

    package gradlebuild.codenarc.rules
    
    import org.codehaus.groovy.ast.ClassNode
    import org.codehaus.groovy.ast.MethodNode
    import org.codehaus.groovy.ast.expr.Expression
    import org.codehaus.groovy.ast.expr.MethodCallExpression
    import org.codehaus.groovy.ast.expr.PropertyExpression
    import org.codehaus.groovy.ast.expr.VariableExpression
    import org.codenarc.rule.AbstractAstVisitor
    import org.codenarc.rule.AbstractAstVisitorRule
    import org.codenarc.util.AstUtil
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Viewed (0)
  10. manifests/addons/dashboards/istio-performance-dashboard.json

              },
              "expr": "go_memstats_heap_alloc_bytes{app=\"istiod\"}",
              "format": "time_series",
              "hide": true,
              "intervalFactor": 2,
              "legendFormat": "heap alloc",
              "refId": "D"
            },
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${datasource}"
              },
    Json
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 39.6K bytes
    - Viewed (0)
Back to top