Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 564 for begins (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/debug/macho/file.go

    	if c < 0 {
    		return nil, &FormatError{offset, "too many load commands", nil}
    	}
    	f.Loads = make([]Load, 0, c)
    	bo := f.ByteOrder
    	for i := uint32(0); i < f.Ncmd; i++ {
    		// Each load command begins with uint32 command and length.
    		if len(dat) < 8 {
    			return nil, &FormatError{offset, "command block too small", nil}
    		}
    		cmd, siz := LoadCmd(bo.Uint32(dat[0:4])), bo.Uint32(dat[4:8])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  8. cmd/object-api-utils_test.go

    		{"", false},
    		{"a", false},
    		{"ab", false},
    		{".starts-with-a-dot", false},
    		{"ends-with-a-dot.", false},
    		{"ends-with-a-dash-", false},
    		{"-starts-with-a-dash", false},
    		{"THIS-BEGINS-WITH-UPPERCASe", false},
    		{"tHIS-ENDS-WITH-UPPERCASE", false},
    		{"ThisBeginsAndEndsWithUpperCasE", false},
    		{"una ñina", false},
    		{"dash-.may-not-appear-next-to-dot", false},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. src/text/template/doc.go

    When parsing a template, another template may be defined and associated with the
    template being parsed. Template definitions must appear at the top level of the
    template, much like global variables in a Go program.
    
    The syntax of such definitions is to surround each template declaration with a
    "define" and "end" action.
    
    The define action names the template being created by providing a string
    constant. Here is a simple example:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. src/runtime/stubs.go

    // stackArgsSize) according to the ABI.
    //
    // stackRetOffset must be some value <= stackArgsSize that indicates the
    // offset within stackArgs where the return value space begins.
    //
    // frameSize is the total size of the argument frame at stackArgs and must
    // therefore be >= stackArgsSize. It must include additional space for spilling
    // register arguments for stack growth and preemption.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top