Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 212 for endPos (0.15 sec)

  1. src/archive/tar/reader.go

    }
    
    func (sr *sparseFileReader) Read(b []byte) (n int, err error) {
    	finished := int64(len(b)) >= sr.logicalRemaining()
    	if finished {
    		b = b[:sr.logicalRemaining()]
    	}
    
    	b0 := b
    	endPos := sr.pos + int64(len(b))
    	for endPos > sr.pos && err == nil {
    		var nf int // Bytes read in fragment
    		holeStart, holeEnd := sr.sp[0].Offset, sr.sp[0].endOffset()
    		if sr.pos < holeStart { // In a data fragment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    		children = append(children,
    			tok(n.NamePos, len(n.Name)))
    
    	case *ast.IfStmt:
    		children = append(children,
    			tok(n.If, len("if")))
    
    	case *ast.ImportSpec:
    		// TODO(adonovan): ImportSpec.{Doc,EndPos}?
    
    	case *ast.IncDecStmt:
    		children = append(children,
    			tok(n.TokPos, len(n.Tok.String())))
    
    	case *ast.IndexExpr:
    		children = append(children,
    			tok(n.Lbrack, len("[")),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/stmt.go

    			} else {
    				first = c
    			}
    		}
    	}
    }
    
    func (check *Checker) openScope(node syntax.Node, comment string) {
    	check.openScopeUntil(node, syntax.EndPos(node), comment)
    }
    
    func (check *Checker) openScopeUntil(node syntax.Node, end syntax.Pos, comment string) {
    	scope := NewScope(check.scope, node.Pos(), end, comment)
    	check.recordScope(node, scope)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. src/go/types/assignments.go

    	// 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 {
    		check.declare(scope, nil, obj, scopePos) // id = nil: recordDef already called
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/assignments.go

    	// 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 {
    		check.declare(scope, nil, obj, scopePos) // id = nil: recordDef already called
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/resolver.go

    		// The package identifier denotes the current package,
    		// but there is no corresponding package object.
    		check.recordDef(file.PkgName, nil)
    
    		fileScope := NewScope(pkg.scope, syntax.StartPos(file), syntax.EndPos(file), check.filename(fileNo))
    		fileScopes = append(fileScopes, fileScope)
    		check.recordScope(file, fileScope)
    
    		// determine file directory, necessary to resolve imports
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. src/encoding/json/scanner.go

    	s.parseState = s.parseState[0:0]
    	s.err = nil
    	s.endTop = false
    }
    
    // eof tells the scanner that the end of input has been reached.
    // It returns a scan status just as s.step does.
    func (s *scanner) eof() int {
    	if s.err != nil {
    		return scanError
    	}
    	if s.endTop {
    		return scanEnd
    	}
    	s.step(s, ' ')
    	if s.endTop {
    		return scanEnd
    	}
    	if s.err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  8. src/cmd/cover/cover.go

    		stmt = counterStmt(f, fmt.Sprintf("%s[%d]", f.fn.counterVar, slot))
    		stpos := f.fset.Position(start)
    		enpos := f.fset.Position(end)
    		stpos, enpos = dedup(stpos, enpos)
    		unit := coverage.CoverableUnit{
    			StLine:  uint32(stpos.Line),
    			StCol:   uint32(stpos.Column),
    			EnLine:  uint32(enpos.Line),
    			EnCol:   uint32(enpos.Column),
    			NxStmts: uint32(numStmt),
    		}
    		f.fn.units = append(f.fn.units, unit)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. samples/bookinfo/src/productpage/templates/productpage.html

                  </svg>
                  {% endfor %}
                  {% for n in range(5 - review.rating.stars) %}
                  <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-5 w-5 flex-none">
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. docs/uk/docs/index.md

    <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}" style="border-radius:15px"></a>
    {% endfor -%}
    {%- for sponsor in sponsors.silver -%}
    <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}" style="border-radius:15px"></a>
    {% endfor %}
    {% endif %}
    
    <!-- /sponsors -->
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top