Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for StartLine (0.16 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/LightTreeUtil.kt

                    var startLine = -1
                    var startColumn = -1
                    var endLine = -1
                    var endColumn = -1
    
                    var i = offset
                    var line = 1
                    var column = 1
                    while (i < text.length) {
                        if (i == realStartIndex) {
                            startLine = line
                            startColumn = column
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/table.go

    }
    
    func (b *tableBuilder) build(p buildState) Block {
    	pos := p.pos()
    	pos.StartLine-- // builder does not count header
    	pos.EndLine = pos.StartLine + 1 + len(b.rows)
    	t := &Table{
    		Position: pos,
    	}
    	width := tableCount(b.hdr)
    	t.Header = b.parseRow(p, b.hdr, pos.StartLine, width)
    	t.Align = b.parseAlign(b.delim, width)
    	t.Rows = make([][]*Text, len(b.rows))
    	for i, row := range b.rows {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/MappedPosition.java

        }
    
        @Override
        public Optional<Integer> endOffset() {
            return delegate.endOffset();
        }
    
        @Override
        public Optional<Integer> startLine() {
            return delegate.startLine();
        }
    
        @Override
        public Optional<Integer> startColumn() {
            return delegate.startColumn();
        }
    
        @Override
        public Optional<Integer> endLine() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. src/runtime/symtabinl_test.go

    				name = name[len(namePrefix):]
    			}
    			if !stringslite.HasPrefix(name, "tiu") {
    				t.Errorf("tiuTest+%#x: unexpected function %s", pc-pc1, name)
    			}
    
    			start := int(sf.startLine) - tiuStart
    			if start != wantStart[name] {
    				t.Errorf("tiuTest+%#x: want startLine %d, got %d", pc-pc1, wantStart[name], start)
    			}
    			if sf.funcID != abi.FuncIDNormal {
    				t.Errorf("tiuTest+%#x: bad funcID %v", pc-pc1, sf.funcID)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/cmd/internal/pgo/pprof.go

    	weight := make(map[NamedCallEdge]int64)
    	for _, n := range g.Nodes {
    		seenStartLine = seenStartLine || n.Info.StartLine != 0
    
    		canonicalName := n.Info.Name
    		// Create the key to the nodeMapKey.
    		namedEdge := NamedCallEdge{
    			CallerName:     canonicalName,
    			CallSiteOffset: n.Info.Lineno - n.Info.StartLine,
    		}
    
    		for _, e := range n.Out {
    			totalWeight += e.WeightValue()
    			namedEdge.CalleeName = e.Dest.Info.Name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/cmd/internal/goobj/funcinfo.go

    // the binary encoding of the struct below.
    type FuncInfo struct {
    	Args      uint32
    	Locals    uint32
    	FuncID    abi.FuncID
    	FuncFlag  abi.FuncFlag
    	StartLine int32
    	File      []CUFileIndex
    	InlTree   []InlTreeNode
    }
    
    func (a *FuncInfo) Write(w *bytes.Buffer) {
    	writeUint8 := func(x uint8) {
    		w.WriteByte(x)
    	}
    	var b [4]byte
    	writeUint32 := func(x uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:46 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. tools/docker-builder/dockerfile/parse.go

    	if err != nil {
    		return nil, err
    	}
    
    	var ret []Command
    	for _, child := range res.AST.Children {
    		cmd := Command{
    			Cmd:       child.Value,
    			Original:  child.Original,
    			StartLine: child.StartLine,
    			EndLine:   child.EndLine,
    			Flags:     child.Flags,
    		}
    
    		// Only happens for ONBUILD
    		if child.Next != nil && len(child.Next.Children) > 0 {
    			cmd.SubCmd = child.Next.Children[0].Value
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. src/runtime/symtabinl.go

    	_         [3]byte
    	nameOff   int32 // offset into pclntab for name of called function
    	parentPc  int32 // position of an instruction whose source position is the call site (offset from entry)
    	startLine int32 // line number of start of function (func keyword/TEXT directive)
    }
    
    // An inlineUnwinder iterates over the stack of inlined calls at a PC by
    // decoding the inline table. The last step of iteration is always the frame of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/rsc.io/markdown/list.go

    Loose:
    	for i, c := range blocks {
    		c := c.(*Item)
    		if i+1 < len(blocks) {
    			if blocks[i+1].Pos().StartLine-c.EndLine > 1 {
    				b.loose = true
    				break Loose
    			}
    		}
    		for j, d := range c.Blocks {
    			endLine := d.Pos().EndLine
    			if j+1 < len(c.Blocks) {
    				if c.Blocks[j+1].Pos().StartLine-endLine > 1 {
    					b.loose = true
    					break Loose
    				}
    			}
    		}
    	}
    
    	if !b.loose {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/rsc.io/markdown/para.go

    	}
    
    	if s == "" {
    		return &Empty{p.pos()}
    	}
    
    	// Recompute EndLine because a line of b.text
    	// might have been taken away to start a table.
    	pos := p.pos()
    	pos.EndLine = pos.StartLine + len(b.text) - 1
    	return &Paragraph{
    		pos,
    		p.newText(pos, s),
    	}
    }
    
    func newPara(p *parseState, s line) (line, bool) {
    	// Process paragraph continuation text or start new paragraph.
    	b := p.para()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top