Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for funcID (0.3 sec)

  1. src/runtime/symtabinl_test.go

    			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)
    			}
    
    			if len(stack) > 0 {
    				stack += " "
    			}
    			stack += FmtSprintf("%s:%d", name, line-tiuStart)
    		}
    
    		if stack != prevStack {
    			prevStack = stack
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/internal/coverage/encodecounter/encode.go

    		}
    		return nil
    	}
    
    	// Write out entries for each live function.
    	emitter := func(pkid uint32, funcid uint32, counters []uint32) error {
    		cfw.csh.FcnEntries++
    		if err := wrval(uint32(len(counters))); err != nil {
    			return err
    		}
    
    		if err := wrval(pkid); err != nil {
    			return err
    		}
    
    		if err := wrval(funcid); err != nil {
    			return err
    		}
    		for _, val := range counters {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. src/runtime/symtabinl.go

    type inlinedCall struct {
    	funcID    abi.FuncID // type of the called function
    	_         [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)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. src/runtime/traceback.go

    // goroutine.
    func isSystemGoroutine(gp *g, fixed bool) bool {
    	// Keep this in sync with internal/trace.IsSystemGoroutine.
    	f := findfunc(gp.startpc)
    	if !f.valid() {
    		return false
    	}
    	if f.funcID == abi.FuncID_runtime_main || f.funcID == abi.FuncID_corostart || f.funcID == abi.FuncID_handleAsyncEvent {
    		return false
    	}
    	if f.funcID == abi.FuncID_runfinq {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. src/internal/coverage/cfile/apis.go

    	"unsafe"
    )
    
    // WriteMetaDir implements [runtime/coverage.WriteMetaDir].
    func WriteMetaDir(dir string) error {
    	if !finalHashComputed {
    		return fmt.Errorf("error: no meta-data available (binary not built with -cover?)")
    	}
    	return emitMetaDataToDirectory(dir, rtcov.Meta.List)
    }
    
    // WriteMeta implements [runtime/coverage.WriteMeta].
    func WriteMeta(w io.Writer) error {
    	if w == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top