Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 581 for begins (0.15 sec)

  1. src/text/template/parse/lex.go

    	"end":      itemEnd,
    	"if":       itemIf,
    	"range":    itemRange,
    	"nil":      itemNil,
    	"template": itemTemplate,
    	"with":     itemWith,
    }
    
    const eof = -1
    
    // Trimming spaces.
    // If the action begins "{{- " rather than "{{", then all space/tab/newlines
    // preceding the action are trimmed; conversely if it ends " -}}" the
    // leading spaces are trimmed. This is done entirely in the lexer; the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 04 22:36:12 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  2. src/internal/fuzz/fuzz.go

    	// error early. If limit is zero, there is no limit on calls to the
    	// fuzz function.
    	limit int64
    
    	// warmup indicates whether this is a warmup input before fuzzing begins. If
    	// true, the input should not be fuzzed.
    	warmup bool
    
    	// coverageData reflects the coordinator's current coverageMask.
    	coverageData []byte
    }
    
    type fuzzResult struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. src/go/types/assignments.go

    		check.softErrorf(pos, NoNewVar, "no new variables on left side of :=")
    		return
    	}
    
    	// declare new variables
    	// spec: "The scope of a constant or variable identifier declared inside
    	// a function begins at the end of the ConstSpec or VarSpec (ShortVarDecl
    	// for short variable declarations) and ends at the end of the innermost
    	// containing block."
    	scopePos := endPos(rhs[len(rhs)-1])
    	for _, obj := range newVars {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/assignments.go

    		check.softErrorf(pos, NoNewVar, "no new variables on left side of :=")
    		return
    	}
    
    	// declare new variables
    	// spec: "The scope of a constant or variable identifier declared inside
    	// a function begins at the end of the ConstSpec or VarSpec (ShortVarDecl
    	// for short variable declarations) and ends at the end of the innermost
    	// containing block."
    	scopePos := endPos(rhs[len(rhs)-1])
    	for _, obj := range newVars {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. src/go/parser/resolver.go

    				r.declare(spec, i, r.topScope, kind, spec.Names...)
    			}
    		case token.TYPE:
    			for _, spec := range n.Specs {
    				spec := spec.(*ast.TypeSpec)
    				// Go spec: The scope of a type identifier declared inside a function begins
    				// at the identifier in the TypeSpec and ends at the end of the innermost
    				// containing block.
    				r.declare(spec, nil, r.topScope, ast.Typ, spec.Name)
    				if spec.TypeParams != nil {
    					r.openScope(spec.Pos())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/compile.go

    // returning empty string if this was successful or a string explaining
    // the error if it was not.
    // A version of the phase name with "_" replaced by " " is also checked for a match.
    // If the phase name begins a '~' then the rest of the underscores-replaced-with-blanks
    // version is used as a regular expression to match the phase name(s).
    //
    // Special cases that have turned out to be useful:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/html/template/transition.go

    func tError(c context, s []byte) (context, int) {
    	return c, len(s)
    }
    
    // eatAttrName returns the largest j such that s[i:j] is an attribute name.
    // It returns an error if s[i:] does not look like it begins with an
    // attribute name, such as encountering a quote mark without a preceding
    // equals sign.
    func eatAttrName(s []byte, i int) (int, *Error) {
    	for j := i; j < len(s); j++ {
    		switch s[j] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. finisher_api.go

    		if err = fc(tx); err == nil {
    			panicked = false
    			return tx.Commit().Error
    		}
    	}
    
    	panicked = false
    	return
    }
    
    // Begin begins a transaction with any transaction options opts
    func (db *DB) Begin(opts ...*sql.TxOptions) *DB {
    	var (
    		// clone statement
    		tx  = db.getInstance().Session(&Session{Context: db.Statement.Context, NewDB: db.clone == 1})
    		opt *sql.TxOptions
    		err error
    	)
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/help/helpdoc.go

    Every package in a program must have a unique import path.
    By convention, this is arranged by starting each path with a
    unique prefix that belongs to you. For example, paths used
    internally at Google all begin with 'google', and paths
    denoting remote repositories begin with the path to the code,
    such as 'github.com/user/repo'.
    
    Packages in a program need not have unique package names,
    but there are two reserved package names with special meaning.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. pkg/controller/resourcequota/resource_quota_controller.go

    	return func(ctx context.Context) {
    		for {
    			if quit := workFunc(ctx); quit {
    				klog.FromContext(ctx).Info("resource quota controller worker shutting down")
    				return
    			}
    		}
    	}
    }
    
    // Run begins quota controller using the specified number of workers
    func (rq *Controller) Run(ctx context.Context, workers int) {
    	defer utilruntime.HandleCrash()
    	defer rq.queue.ShutDown()
    	defer rq.missingUsageQueue.ShutDown()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top