Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for StartLine (0.14 sec)

  1. src/internal/profile/profile.go

    	Line     int64
    
    	functionIDX uint64
    }
    
    // Function corresponds to Profile.Function
    type Function struct {
    	ID         uint64
    	Name       string
    	SystemName string
    	Filename   string
    	StartLine  int64
    
    	nameX       int64
    	systemNameX int64
    	filenameX   int64
    }
    
    // Parse parses a profile and checks for its validity. The input must be an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/runtime/pprof/proto.go

    	// Location message, so record new functions we encounter and
    	// write them out after the Location.
    	type newFunc struct {
    		id         uint64
    		name, file string
    		startLine  int64
    	}
    	newFuncs := make([]newFunc, 0, 8)
    
    	id := uint64(len(b.locs)) + 1
    	b.locs[addr] = locInfo{
    		id:                     id,
    		pcs:                    append([]uintptr{}, b.deck.pcs...),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    }
    
    func (p *Function) encode(b *buffer) {
    	encodeUint64Opt(b, 1, p.ID)
    	encodeInt64Opt(b, 2, p.nameX)
    	encodeInt64Opt(b, 3, p.systemNameX)
    	encodeInt64Opt(b, 4, p.filenameX)
    	encodeInt64Opt(b, 5, p.StartLine)
    }
    
    var functionDecoder = []decoder{
    	nil, // 0
    	// optional uint64 id = 1
    	func(b *buffer, m message) error { return decodeUint64(b, &m.(*Function).ID) },
    	// optional int64 function_name = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/scanner.go

    func (s *scanner) next() {
    	nlsemi := s.nlsemi
    	s.nlsemi = false
    
    redo:
    	// skip white space
    	s.stop()
    	startLine, startCol := s.pos()
    	for s.ch == ' ' || s.ch == '\t' || s.ch == '\n' && !nlsemi || s.ch == '\r' {
    		s.nextch()
    	}
    
    	// token start
    	s.line, s.col = s.pos()
    	s.blank = s.line > startLine || startCol == colbase
    	s.start()
    	if isLetter(s.ch) || s.ch >= utf8.RuneSelf && s.atIdentChar(true) {
    		s.nextch()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    	if start == 0 {
    		if fns[0].Info.StartLine != 0 {
    			start = fns[0].Info.StartLine
    		} else {
    			start = fns[0].Info.Lineno - margin
    		}
    	} else {
    		start -= margin
    	}
    	if end == 0 {
    		end = fns[0].Info.Lineno
    	}
    	end += margin
    	for _, n := range fns {
    		lineno := n.Info.Lineno
    		nodeStart := n.Info.StartLine
    		if nodeStart == 0 {
    			nodeStart = lineno - margin
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    	Column   int64
    
    	functionIDX uint64
    }
    
    // Function corresponds to Profile.Function
    type Function struct {
    	ID         uint64
    	Name       string
    	SystemName string
    	Filename   string
    	StartLine  int64
    
    	nameX       int64
    	systemNameX int64
    	filenameX   int64
    }
    
    // Parse parses a profile and checks for its validity. The input
    // may be a gzip-compressed encoded protobuf or one of many legacy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	fName := fmt.Sprintf("%q%q%q%d", ni.Name, ni.OrigName, ni.File, ni.StartLine)
    
    	if f := fm[fName]; f != nil {
    		return f, false
    	}
    
    	f := &profile.Function{
    		ID:         uint64(len(fm) + 1),
    		Name:       ni.Name,
    		SystemName: ni.OrigName,
    		Filename:   ni.File,
    		StartLine:  int64(ni.StartLine),
    	}
    	fm[fName] = f
    	return f, true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/objfile.go

    		fn := s.Func()
    		if fn == nil {
    			continue
    		}
    		o := goobj.FuncInfo{
    			Args:      uint32(fn.Args),
    			Locals:    uint32(fn.Locals),
    			FuncID:    fn.FuncID,
    			FuncFlag:  fn.FuncFlag,
    			StartLine: fn.StartLine,
    		}
    		pc := &fn.Pcln
    		i := 0
    		o.File = make([]goobj.CUFileIndex, len(pc.UsedFiles))
    		for f := range pc.UsedFiles {
    			o.File[i] = f
    			i++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. src/encoding/csv/reader_test.go

    	}
    	errPos, ok := errPositions[recNum]
    	if !ok {
    		panic(fmt.Errorf("no error position found for error at record %d", recNum))
    	}
    	parseErr1 := *parseErr
    	parseErr1.StartLine = positions[recNum][0][0]
    	parseErr1.Line = errPos[0]
    	parseErr1.Column = errPos[1]
    	return &parseErr1
    }
    
    // makePositions returns the expected field positions of all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 14 04:25:13 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/dwarf.go

    		scopes, inlcalls = ctxt.DebugInfo(s, info, curfn)
    	}
    	var err error
    	dwctxt := dwCtxt{ctxt}
    	startPos := ctxt.InnermostPos(textPos(s))
    	if !startPos.IsKnown() || startPos.RelLine() != uint(s.Func().StartLine) {
    		panic("bad startPos")
    	}
    	fnstate := &dwarf.FnState{
    		Name:          s.Name,
    		Info:          info,
    		Loc:           loc,
    		Ranges:        ranges,
    		Absfn:         absfunc,
    		StartPC:       s,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:40:28 UTC 2023
    - 22K bytes
    - Viewed (0)
Back to top