Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for StartLine (0.23 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. pilot/pkg/config/file/util/kubeyaml/kubeyaml.go

    				if buffer.Len() != 0 {
    					return buffer.Bytes(), startLine, nil
    				}
    				if err == io.EOF {
    					return nil, startLine, err
    				}
    			}
    		}
    		if err == io.EOF {
    			if buffer.Len() != 0 {
    				// If we're at EOF, we have a final, non-terminated line. Return it.
    				return buffer.Bytes(), startLine, nil
    			}
    			return nil, startLine, err
    		}
    		buffer.Write(line)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 02:41:40 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/cover/profile.go

    func (b blocksByStart) Len() int      { return len(b) }
    func (b blocksByStart) Swap(i, j int) { b[i], b[j] = b[j], b[i] }
    func (b blocksByStart) Less(i, j int) bool {
    	bi, bj := b[i], b[j]
    	return bi.StartLine < bj.StartLine || bi.StartLine == bj.StartLine && bi.StartCol < bj.StartCol
    }
    
    // Boundary represents the position in a source file of the beginning or end of a
    // block as reported by the coverage profile. In HTML mode, it will correspond to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 17:02:03 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  4. src/cmd/cover/func.go

    	for _, b := range profile.Blocks {
    		if b.StartLine > f.endLine || (b.StartLine == f.endLine && b.StartCol >= f.endCol) {
    			// Past the end of the function.
    			break
    		}
    		if b.EndLine < f.startLine || (b.EndLine == f.startLine && b.EndCol <= f.startCol) {
    			// Before the beginning of the function
    			continue
    		}
    		total += int64(b.NumStmt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top