Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for tracebackPCs (0.14 sec)

  1. src/runtime/traceback.go

    	var n int
    	systemstack(func() {
    		var u unwinder
    		u.initAt(pc, sp, 0, gp, unwindSilentErrors)
    		n = tracebackPCs(&u, skip, pcbuf)
    	})
    	return n
    }
    
    func gcallers(gp *g, skip int, pcbuf []uintptr) int {
    	var u unwinder
    	u.init(gp, unwindSilentErrors)
    	return tracebackPCs(&u, skip, pcbuf)
    }
    
    // showframe reports whether the frame with the given characteristics should
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. src/runtime/mprof.go

    	}
    
    	var nstk int
    	gp := getg()
    	sp := getcallersp()
    	pc := getcallerpc()
    	systemstack(func() {
    		var u unwinder
    		u.initAt(pc, sp, 0, gp, unwindSilentErrors|unwindJumpStack)
    		nstk = 1 + tracebackPCs(&u, skip, prof.stack[1:])
    	})
    	if nstk < len(prof.stack) {
    		prof.stack[nstk] = 0
    	}
    }
    
    func (prof *mLockProfile) store() {
    	// Report any contention we experience within this function as "lost"; it's
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. src/runtime/symtab.go

    				snext := u.srcFunc(unext)
    				if snext.funcID == abi.FuncIDWrapper && elideWrapperCalling(sf.funcID) {
    					// Skip, because tracebackPCs (inside runtime.Callers) would too.
    					continue
    				}
    				ci.nextPC = unext.pc + 1
    				break
    			}
    		}
    		ci.frames = append(ci.frames, Frame{
    			PC:        pc,
    			Func:      f,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  4. src/runtime/export_test.go

    func TracebackSystemstack(stk []uintptr, i int) int {
    	if i == 0 {
    		pc, sp := getcallerpc(), getcallersp()
    		var u unwinder
    		u.initAt(pc, sp, 0, getg(), unwindJumpStack) // Don't ignore errors, for testing
    		return tracebackPCs(&u, 0, stk)
    	}
    	n := 0
    	systemstack(func() {
    		n = TracebackSystemstack(stk, i-1)
    	})
    	return n
    }
    
    func KeepNArenaHints(n int) {
    	hint := mheap_.arenaHints
    	for i := 1; i < n; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  5. test/fixedbugs/issue29919.go

    // rundir
    
    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure tracebacks from initialization code are reported correctly.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jan 27 04:02:46 UTC 2019
    - 261 bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/tflite-op-request.md

    Also, please include a link to a GraphDef or the model if possible.
    
    **Any other info / logs**
    
    Include any logs or source code that would be helpful to diagnose the problem.
    If including tracebacks, please include the full traceback. Large logs and files
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 879 bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/tflite-in-play-services.md

    the problem. If possible, please share a link to or attach code demonstrating
    the problem.
    
    **Any other info / logs**
    Include any logs or source code that would be helpful to diagnose the problem.
    If including tracebacks, please include the full traceback. Large logs and files
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 880 bytes
    - Viewed (0)
  8. test/fixedbugs/issue29919.dir/a.go

    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure tracebacks from initialization code are reported correctly.
    
    package a
    
    import (
    	"fmt"
    	"runtime"
    	"strings"
    )
    
    var x = f() // line 15
    
    func f() int {
    	var b [4096]byte
    	n := runtime.Stack(b[:], false) // line 19
    	s := string(b[:n])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 17:50:47 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/textflag.go

    	// Put this data in a read-only section.
    	RODATA = 8
    
    	// This data contains no pointers.
    	NOPTR = 16
    
    	// This is a wrapper function and should not count as
    	// disabling 'recover' or appear in tracebacks by default.
    	WRAPPER = 32
    
    	// This function uses its incoming context register.
    	NEEDCTXT = 64
    
    	// When passed to objw.Global, causes Local to be set to true on the LSym it creates.
    	LOCAL = 128
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:25:30 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    If converting TF RNN to TFLite fused RNN ops, please prefix [RNN] in the title.
    
    ### 5. (optional) Any other info / logs
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 2.1K bytes
    - Viewed (0)
Back to top