Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 117 for exp5 (0.05 sec)

  1. cmd/batch-expire.go

    						DeletePrefix:       true,
    						DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    					})
    					if err != nil {
    						stopFn(exp, err)
    						batchLogIf(ctx, fmt.Errorf("Failed to expire %s/%s due to %v (attempts=%d)", exp.Bucket, exp.Name, err, attempts))
    					} else {
    						stopFn(exp, err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 13:50:53 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. tests/integration/telemetry/api/dashboard_test.go

    		if !f {
    			return nil, fmt.Errorf("failed to find targetsList in type %T: %v", targets, targets)
    		}
    		for _, t := range targetsList {
    			tm := t.(map[string]any)
    			expr, f := tm["expr"]
    			if !f {
    				continue
    			}
    			queries = append(queries, expr.(string))
    		}
    	}
    	return queries, nil
    }
    
    func includeQuery(query string, excluded []string) bool {
    	for _, f := range excluded {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. src/go/types/decl.go

    }
    
    type (
    	decl interface {
    		node() ast.Node
    	}
    
    	importDecl struct{ spec *ast.ImportSpec }
    	constDecl  struct {
    		spec      *ast.ValueSpec
    		iota      int
    		typ       ast.Expr
    		init      []ast.Expr
    		inherited bool
    	}
    	varDecl  struct{ spec *ast.ValueSpec }
    	typeDecl struct{ spec *ast.TypeSpec }
    	funcDecl struct{ decl *ast.FuncDecl }
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/api.go

    // Constant folding computes the exact constant value (constant.Value)
    // for every expression (syntax.Expr) that is a compile-time constant.
    // Use Info.Types[expr].Value for the results of constant folding.
    //
    // Type inference computes the type (Type) of every expression (syntax.Expr)
    // and checks for compliance with the language specification.
    // Use Info.Types[expr].Type for the results of type inference.
    package types2
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. src/go/types/resolver.go

    		// var decl w/o init expr
    		if s.Type == nil {
    			check.error(s, code, "missing type or init expr")
    		}
    	case l < r:
    		if l < len(s.Values) {
    			// init exprs from s
    			n := s.Values[l]
    			check.errorf(n, code, "extra init expr %s", n)
    			// TODO(gri) avoid declared and not used error here
    		} else {
    			// init exprs "inherited"
    			check.errorf(s, code, "extra init expr at %s", check.fset.Position(init.Pos()))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    	}
    	return nil
    }
    
    type itemsNode struct {
    	path []string
    	t    *types.Type
    	expr ast.Expr
    }
    
    func (i *itemsNode) Path() []string {
    	return i.path
    }
    
    func (i *itemsNode) Type() *types.Type {
    	return i.t
    }
    
    func (i *itemsNode) Expr() ast.Expr {
    	return i.expr
    }
    
    func (i *itemsNode) ComputedSize() *checker.SizeEstimate {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/check_test.go

    	if err := parseFlags(srcs[0], flags); err != nil {
    		t.Fatal(err)
    	}
    
    	exp, err := buildcfg.ParseGOEXPERIMENT(runtime.GOOS, runtime.GOARCH, goexperiment)
    	if err != nil {
    		t.Fatal(err)
    	}
    	old := buildcfg.Experiment
    	defer func() {
    		buildcfg.Experiment = old
    	}()
    	buildcfg.Experiment = *exp
    
    	// By default, gotypesalias is not set.
    	if gotypesalias != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/resolver.go

    func (check *Checker) arity(pos syntax.Pos, names []*syntax.Name, inits []syntax.Expr, constDecl, inherited bool) {
    	l := len(names)
    	r := len(inits)
    
    	const code = WrongAssignCount
    	switch {
    	case l < r:
    		n := inits[l]
    		if inherited {
    			check.errorf(pos, code, "extra init expr at %s", n.Pos())
    		} else {
    			check.errorf(n, code, "extra init expr %s", n)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. chainable_api.go

    		tx.Statement.TableExpr = &clause.Expr{SQL: name, Vars: args}
    		if results := tableRegexp.FindStringSubmatch(name); len(results) == 3 {
    			if results[1] != "" {
    				tx.Statement.Table = results[1]
    			} else {
    				tx.Statement.Table = results[2]
    			}
    		}
    	} else if tables := strings.Split(name, "."); len(tables) == 2 {
    		tx.Statement.TableExpr = &clause.Expr{SQL: tx.Statement.Quote(name)}
    		tx.Statement.Table = tables[1]
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

        }
    
        def "reports problem on #expr buildDependencies.getDependencies(...)"() {
            given:
            buildFile << """
                $setup
                def buildable = $expr
                configurations.create("test")
                println(buildable.buildDependencies.getDependencies(null))
            """
    
            when:
            if (expr == "dependencies.project([path: ':', configuration: 'test'])") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top