Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,232 for exp5 (0.04 sec)

  1. src/cmd/compile/internal/syntax/parser.go

    // extractName splits the expression x into (name, expr) if syntactically
    // x can be written as name expr. The split only happens if expr is a type
    // element (per the isTypeElem predicate) or if force is set.
    // If x is just a name, the result is (name, nil). If the split succeeds,
    // the result is (name, expr). Otherwise the result is (nil, x).
    // Examples:
    //
    //	x           force    name    expr
    //	------------------------------------
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  2. src/go/types/stmt.go

    			return
    		}
    
    		// rhs must be of the form: expr.(type) and expr must be an ordinary interface
    		expr, _ := rhs.(*ast.TypeAssertExpr)
    		if expr == nil || expr.Type != nil {
    			check.error(s, InvalidSyntaxTree, "incorrect form of type switch guard")
    			return
    		}
    		var x operand
    		check.expr(nil, &x, expr.X)
    		if x.mode == invalid {
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/plugin/use/internal/PluginUseScriptBlockMetadataCompiler.java

    import org.codehaus.groovy.ast.expr.ArgumentListExpression;
    import org.codehaus.groovy.ast.expr.ClosureExpression;
    import org.codehaus.groovy.ast.expr.ConstantExpression;
    import org.codehaus.groovy.ast.expr.Expression;
    import org.codehaus.groovy.ast.expr.GStringExpression;
    import org.codehaus.groovy.ast.expr.MethodCallExpression;
    import org.codehaus.groovy.ast.expr.PropertyExpression;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 28 01:30:32 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/helpers.go

    		selector[k] = v
    	}
    	for _, expr := range ps.MatchExpressions {
    		switch expr.Operator {
    		case LabelSelectorOpIn:
    			if len(expr.Values) != 1 {
    				return selector, fmt.Errorf("operator %q without a single value cannot be converted into the old label selector format", expr.Operator)
    			}
    			// Should we do anything in case this will override a previous key-value pair?
    			selector[expr.Key] = expr.Values[0]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 15 10:58:36 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  5. 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
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultRepositoryContentDescriptorTest.groovy

        }
    
        def "can exclude or include whole groups using #method(#expr)"() {
            def fooMod = DefaultModuleIdentifier.newId(group, module)
            def details = Mock(ArtifactResolutionDetails)
            def descriptor = new DefaultRepositoryContentDescriptor({ "my-repo" }, new VersionParser())
    
            given:
            descriptor."exclude$method"(expr)
    
            when:
            def action = descriptor.toContentFilter()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  7. internal/s3select/sql/statement.go

    	// Set table alias
    	stmt.tableAlias = selectAST.From.As
    	// Remove quotes from column aliases
    	if selectAST.Expression != nil {
    		for _, exp := range selectAST.Expression.Expressions {
    			if strings.HasSuffix(exp.As, "'") && strings.HasPrefix(exp.As, "'") && len(exp.As) >= 2 {
    				exp.As = exp.As[1 : len(exp.As)-1]
    			}
    		}
    	}
    	return
    }
    
    func validateTableName(from *TableExpression) error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 09 17:19:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/grafana/node/minio-node.json

          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "max(minio_node_drive_total{job=~\"$scrape_jobs\",server=\"$server\"})",
              "format": "table",
              "hide": false,
              "instant": true,
              "interval": "",
              "intervalFactor": 1,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 13:24:37 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    		}
    		t.Run(tc.name, func(t *testing.T) {
    			for _, expr := range tc.expressions {
    				t.Run(expr, func(t *testing.T) {
    					t.Run("expression", func(t *testing.T) {
    						options := OptionalVariableDeclarations{HasParams: tc.hasParams, HasAuthorizer: tc.hasAuthorizer}
    
    						result := compiler.CompileCELExpression(&fakeValidationCondition{
    							Expression: expr,
    						}, options, envType)
    						if result.Error != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/vardecl.go

    var _, _ int = 1, 2
    var _ int = 1, 2 /* ERROR "extra init expr 2" */
    var _, _ int = 1 /* ERRORx `assignment mismatch: [1-9]+ variables but.*[1-9]+ value(s)?` */
    var _, _, _ /* ERROR "missing init expr for _" */ int = 1, 2
    
    var (
    	_, _ = 1, 2
    	_ = 1, 2 /* ERROR "extra init expr 2" */
    	_, _ = 1 /* ERRORx `assignment mismatch: [1-9]+ variables but.*[1-9]+ value(s)?` */
    	_, _, _ /* ERROR "missing init expr for _" */ = 1, 2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top