Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for pbLine (0.3 sec)

  1. src/runtime/pprof/proto.go

    	b.pb.int64Opt(tagLabel_Key, b.stringIndex(key))
    	b.pb.int64Opt(tagLabel_Str, b.stringIndex(str))
    	b.pb.int64Opt(tagLabel_Num, num)
    	b.pb.endMessage(tag, start)
    }
    
    // pbLine encodes a Line message to b.pb.
    func (b *profileBuilder) pbLine(tag int, funcID uint64, line int64) {
    	start := b.pb.startMessage()
    	b.pb.uint64Opt(tagLine_FunctionID, funcID)
    	b.pb.int64Opt(tagLine_Line, line)
    	b.pb.endMessage(tag, start)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  2. src/net/parse_test.go

    		t.Fatal(err)
    	}
    	defer file.close()
    
    	lineno := 1
    	byteno := 0
    	for {
    		bline, berr := br.ReadString('\n')
    		if n := len(bline); n > 0 {
    			bline = bline[0 : n-1]
    		}
    		line, ok := file.readLine()
    		if (berr != nil) != !ok || bline != line {
    			t.Fatalf("%s:%d (#%d)\nbufio => %q, %v\nnet => %q, %v", filename, lineno, byteno, bline, berr, line, ok)
    		}
    		if !ok {
    			break
    		}
    		lineno++
    		byteno += len(line) + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 00:04:48 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/pos.go

    	pname := p.RelFilename()
    	qname := q.RelFilename()
    	switch {
    	case pname < qname:
    		return -1
    	case pname > qname:
    		return +1
    	}
    
    	pline := p.Line()
    	qline := q.Line()
    	switch {
    	case pline < qline:
    		return -1
    	case pline > qline:
    		return +1
    	}
    
    	pcol := p.Col()
    	qcol := q.Col()
    	switch {
    	case pcol < qcol:
    		return -1
    	case pcol > qcol:
    		return +1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/cmd/internal/objfile/goobj.go

    				pcfileSym = a.Sym()
    			case goobj.AuxPcline:
    				pclineSym = a.Sym()
    			}
    		}
    		if pcfileSym.IsZero() || pclineSym.IsZero() {
    			continue
    		}
    		pcline := getSymData(pclineSym)
    		line := int(pcValue(pcline, pc-addr, f.arch))
    		pcfile := getSymData(pcfileSym)
    		fileID := pcValue(pcfile, pc-addr, f.arch)
    		fileName := r.File(int(fileID))
    		// Note: we provide only the name in the Func structure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/objfile.go

    			w.aux1(goobj.AuxPcsp, fn.Pcln.Pcsp)
    		}
    		if fn.Pcln.Pcfile != nil && fn.Pcln.Pcfile.Size != 0 {
    			w.aux1(goobj.AuxPcfile, fn.Pcln.Pcfile)
    		}
    		if fn.Pcln.Pcline != nil && fn.Pcln.Pcline.Size != 0 {
    			w.aux1(goobj.AuxPcline, fn.Pcln.Pcline)
    		}
    		if fn.Pcln.Pcinline != nil && fn.Pcln.Pcinline.Size != 0 {
    			w.aux1(goobj.AuxPcinline, fn.Pcln.Pcinline)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/pcln.go

    			size += datSize
    			seen[pcSym] = struct{}{}
    		}
    	}
    	var pcsp, pcline, pcfile, pcinline loader.Sym
    	var pcdata []loader.Sym
    	for _, s := range funcs {
    		fi := ldr.FuncInfo(s)
    		if !fi.Valid() {
    			continue
    		}
    		fi.Preload()
    		pcsp, pcfile, pcline, pcinline, pcdata = ldr.PcdataAuxs(s, pcdata)
    
    		pcSyms := []loader.Sym{pcsp, pcfile, pcline}
    		for _, pcSym := range pcSyms {
    			saveOffset(pcSym)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/pcln.go

    	pcln.Funcdata = make([]*LSym, nfuncdata)
    
    	pcln.Pcsp = funcpctab(ctxt, cursym, "pctospadj", pctospadj, nil)
    	pcln.Pcfile = funcpctab(ctxt, cursym, "pctofile", pctofileline, pcln)
    	pcln.Pcline = funcpctab(ctxt, cursym, "pctoline", pctofileline, nil)
    
    	// Check that all the Progs used as inline markers are still reachable.
    	// See issue #40473.
    	fn := cursym.Func()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/sym.go

    					fnNoNil(v.dwarfInfoSym)
    				}
    			}
    			if flag&traversePcdata != 0 && s.Type == objabi.STEXT {
    				fi := s.Func().Pcln
    				fnNoNil(fi.Pcsp)
    				fnNoNil(fi.Pcfile)
    				fnNoNil(fi.Pcline)
    				fnNoNil(fi.Pcinline)
    				for _, d := range fi.Pcdata {
    					fnNoNil(d)
    				}
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/text/unicode/bidi/core.go

    	// Arrays of properties needed for paired bracket evaluation in N0
    	pairTypes  []bracketType // paired Bracket types for paragraph
    	pairValues []rune        // rune for opening bracket or pbOpen and pbClose; 0 for pbNone
    
    	embeddingLevel level // default: = implicitLevel;
    
    	// at the paragraph levels
    	resultTypes  []Class
    	resultLevels []level
    
    	// Index of matching PDI for isolate initiator characters. For other
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 29.4K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/link.go

    func (*LSym) CanBeAnSSASym() {}
    func (*LSym) CanBeAnSSAAux() {}
    
    type Pcln struct {
    	// Aux symbols for pcln
    	Pcsp      *LSym
    	Pcfile    *LSym
    	Pcline    *LSym
    	Pcinline  *LSym
    	Pcdata    []*LSym
    	Funcdata  []*LSym
    	UsedFiles map[goobj.CUFileIndex]struct{} // file indices used while generating pcfile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top