Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 181 for endPos (0.36 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. scripts/docs.py

    {% for sponsor in sponsors.gold -%}
    <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}"></a>
    {% endfor -%}
    {%- for sponsor in sponsors.silver -%}
    <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}"></a>
    {% endfor %}
    {% endif %}
    """
    
    
    def generate_readme_content() -> str:
        en_index = en_docs_path / "docs" / "index.md"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 22 19:26:14 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/magic.go

    // trailing zeroes as x.  So the two tests are,
    //
    // x*m mod 2^n <= ⎣(2^n - 1)/d0⎦
    // and x*m ends in k zero bits
    //
    // These can be combined into a single comparison by the following
    // (theorem ZRU in Hacker's Delight) for unsigned integers.
    //
    // x <= a and x ends in k zero bits if and only if RotRight(x ,k) <= ⎣a/(2^k)⎦
    // Where RotRight(x ,k) is right rotation of x by k bits.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top