Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 143 for pexpr (0.15 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/typeparams/common.go

    //
    // For nodes that don't represent index expressions, the first return value of
    // UnpackIndexExpr will be nil.
    func UnpackIndexExpr(n ast.Node) (x ast.Expr, lbrack token.Pos, indices []ast.Expr, rbrack token.Pos) {
    	switch e := n.(type) {
    	case *ast.IndexExpr:
    		return e.X, e.Lbrack, []ast.Expr{e.Index}, e.Rbrack
    	case *ast.IndexListExpr:
    		return e.X, e.Lbrack, e.Indices, e.Rbrack
    	}
    	return nil, token.NoPos, nil, token.NoPos
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/classLiteralExpressionUnusedLHS.kt

    fun test() {
        val string = <expr>String</expr>::class
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 59 bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/defaultValues/infixOperatorProperty.kt

    val foo: String.(String) -> Unit = { _ -> }
    
    fun test() {
        "A" <expr>foo</expr> "B"
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 16 06:40:43 UTC 2024
    - 88 bytes
    - Viewed (0)
  4. clause/where_test.go

    					clause.And(clause.Expr{SQL: "`score` <= ?", Vars: []interface{}{100}, WithoutParentheses: false}))},
    			}},
    			"SELECT * FROM `users` WHERE (`users`.`id` <> ? AND NOT `score` <= ?)",
    			[]interface{}{"1", 100},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Where{
    				Exprs: []clause.Expression{clause.Not(clause.Expr{SQL: "`score` <= ?", Vars: []interface{}{100}},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/defaultValues/incrementPostfix.kt

    fun test() {
        var x = 0
        while (true) {
            <expr>x++
            if (x > 5) {
                break
            }
            x++</expr>
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 16 06:40:43 UTC 2024
    - 139 bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/unconditionalJumps/nonLocalReturn.kt

    // WITH_STDLIB
    
    fun test() {
        var numbers = 1..10
    
        <expr>numbers.forEach {
            if (it == 3) {
                return
            }
        }</expr>
    
        consume(10)
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 16 06:40:43 UTC 2024
    - 189 bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            val valueArgument = unwrapQualified<KtValueArgument> { valueArg, expr ->
                // If `valueArg` is [KtLambdaArgument], its [getArgumentExpression] could be labeled expression (e.g., l@{ ... }).
                // That is not exactly `expr`, which would be [KtLambdaExpression]. So, we need [unwrap] here.
                valueArg.getArgumentExpression()?.unwrap() == expr
            } ?: return null
            val callExpression =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/classLiteralExpressionLHSParenthesizedUsed.kt

    fun test() {
        val string = <expr>(String)</expr>::class
    }
    
    // IGNORE_FE10
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 159 bytes
    - Viewed (0)
  9. src/go/types/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 ast.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.1K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/grafana/replication/minio-replication-node.json

          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "sum by (server) (minio_node_replication_average_active_workers{job=\"$scrape_jobs\"})",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "{{server}}",
              "refId": "A"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 57.4K bytes
    - Viewed (0)
Back to top