Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for funcID (0.23 sec)

  1. src/runtime/tracestack.go

    		}
    
    		u, uf := newInlineUnwinder(fi, callPC)
    		for ; uf.valid(); uf = u.next(uf) {
    			sf := u.srcFunc(uf)
    			if sf.funcID == abi.FuncIDWrapper && elideWrapperCalling(lastFuncID) {
    				// ignore wrappers
    			} else if more := skipOrAdd(uf.pc + 1); !more {
    				break outer
    			}
    			lastFuncID = sf.funcID
    		}
    	}
    	return n
    }
    
    // startPCForTrace returns the start PC of a goroutine for tracing purposes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/internal/trace/generation.go

    				return false
    			}
    			_, ok = strings.get(frame.funcID)
    			if !ok {
    				err = fmt.Errorf("found invalid func string ID %d for stack %d", frame.funcID, id)
    				return false
    			}
    			_, ok = strings.get(frame.fileID)
    			if !ok {
    				err = fmt.Errorf("found invalid file string ID %d for stack %d", frame.fileID, id)
    				return false
    			}
    		}
    		return true
    	})
    	return err
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/pcln.go

    		}
    		off = sb.SetUint32(ctxt.Arch, off, cuIdx)
    
    		// startLine int32
    		off = sb.SetUint32(ctxt.Arch, off, uint32(startLine))
    
    		// funcID uint8
    		var funcID abi.FuncID
    		if fi.Valid() {
    			funcID = fi.FuncID()
    		}
    		off = sb.SetUint8(ctxt.Arch, off, uint8(funcID))
    
    		// flag uint8
    		var flag abi.FuncFlag
    		if fi.Valid() {
    			flag = fi.FuncFlag()
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  4. src/runtime/pprof/proto.go

    		funcID := uint64(b.funcs[funcName])
    		if funcID == 0 {
    			funcID = uint64(len(b.funcs)) + 1
    			b.funcs[funcName] = int(funcID)
    			newFuncs = append(newFuncs, newFunc{
    				id:        funcID,
    				name:      funcName,
    				file:      frame.File,
    				startLine: int64(runtime_FrameStartLine(&frame)),
    			})
    		}
    		b.pbLine(tagLocation_Line, funcID, int64(frame.Line))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  5. src/runtime/symtab.go

    	// symbolic information.
    	PC uintptr
    
    	// Func is the Func value of this call frame. This may be nil
    	// for non-Go code or fully inlined functions.
    	Func *Func
    
    	// Function is the package path-qualified function name of
    	// this call frame. If non-empty, this string uniquely
    	// identifies a single function in the program.
    	// This may be the empty string if not known.
    	// If Func is not nil then Function == Func.Name().
    	Function string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. src/internal/coverage/cfile/emit.go

    			if ipk == 0 {
    				fmt.Fprintf(os.Stderr, "\n")
    				reportErrorInHardcodedList(int32(i), ipk, funcId, nCtrs)
    			} else if ipk < 0 {
    				if newId, ok := s.pkgmap[int(ipk)]; ok {
    					pkgId = uint32(newId)
    				} else {
    					fmt.Fprintf(os.Stderr, "\n")
    					reportErrorInHardcodedList(int32(i), ipk, funcId, nCtrs)
    				}
    			} else {
    				// The package ID value stored in the counter array
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. src/cmd/covdata/dump.go

    		fmt.Printf(" *\t%s\n", strings.Join(args, " "))
    		fmt.Printf(" */\n")
    	}
    }
    
    func (d *dstate) BeginPod(p pods.Pod) {
    	d.mm = make(map[pkfunc]decodecounter.FuncPayload)
    }
    
    func (d *dstate) EndPod(p pods.Pod) {
    	if d.cmd == debugDumpMode {
    		d.cm.ResetModeAndGranularity()
    	}
    }
    
    func (d *dstate) BeginCounterDataFile(cdf string, cdr *decodecounter.CounterDataReader, dirIdx int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. src/internal/coverage/defs.go

    //  | nfiles: 1
    //  | nfunctions: 2
    //  --func offsets table------
    //  <offset to func 0>
    //  <offset to func 1>
    //  --string table (contains all files and functions)------
    //  | <uleb128 len> 4
    //  | <data> "p.go"
    //  | <uleb128 len> 5
    //  | <data> "small"
    //  | <uleb128 len> 6
    //  | <data> "Medium"
    //  --func 0------
    //  | <uleb128> num units: 3
    //  | <uleb128> func name: S1 (index into string table)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 12:51:16 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/objfile.go

    		fmt.Fprintf(ctxt.Bso, "nosplit ")
    	}
    	if s.Func() != nil && s.Func().FuncFlag&abi.FuncFlagTopFrame != 0 {
    		fmt.Fprintf(ctxt.Bso, "topframe ")
    	}
    	if s.Func() != nil && s.Func().FuncFlag&abi.FuncFlagAsm != 0 {
    		fmt.Fprintf(ctxt.Bso, "asm ")
    	}
    	fmt.Fprintf(ctxt.Bso, "size=%d", s.Size)
    	if s.Type == objabi.STEXT {
    		fn := s.Func()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/plist.go

    			s.Func().sehUnwindInfoSym = ctxt.Arch.SEH(ctxt, s)
    		}
    	}
    }
    
    func (ctxt *Link) InitTextSym(s *LSym, flag int, start src.XPos) {
    	if s == nil {
    		// func _() { }
    		return
    	}
    	if s.Func() != nil {
    		ctxt.Diag("%s: symbol %s redeclared\n\t%s: other declaration of symbol %s", ctxt.PosTable.Pos(start), s.Name, ctxt.PosTable.Pos(s.Func().Text.Pos), s.Name)
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top