Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 251 for aframe (0.11 sec)

  1. src/internal/pkgbits/sync.go

    // walkFrames calls visit for each call frame represented by pcs.
    //
    // pcs should be a slice of PCs, as returned by runtime.Callers.
    func walkFrames(pcs []uintptr, visit frameVisitor) {
    	if len(pcs) == 0 {
    		return
    	}
    
    	frames := runtime.CallersFrames(pcs)
    	for {
    		frame, more := frames.Next()
    		visit(frame.File, frame.Line, frame.Function, frame.PC-frame.Entry)
    		if !more {
    			return
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 17:12:28 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. test/inline_caller.go

    }
    
    //go:noinline
    func testCaller(skp int) frame {
    	skip = skp
    	f() // line 42
    	frame := globalFrame
    	if !frame.ok {
    		panic(fmt.Sprintf("skip=%d runtime.Caller failed", skp))
    	}
    	return frame
    }
    
    type wantFrame struct {
    	funcName string
    	line     int
    }
    
    // -1 means don't care
    var expected = []wantFrame{
    	0: {"main.h", 36},
    	1: {"main.g", 31},
    	2: {"main.f", 27},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 08 21:54:04 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  3. src/runtime/signal_arm64.go

    	// the stack frame but we're not going back there
    	// anyway.
    	sp := c.sp() - sys.StackAlign // needs only sizeof uint64, but must align the stack
    	c.set_sp(sp)
    	*(*uint64)(unsafe.Pointer(uintptr(sp))) = c.lr()
    	// Make sure a valid frame pointer is saved on the stack so that the
    	// frame pointer checks in adjustframe are happy, if they're enabled.
    	// Frame pointer unwinding won't visit the sigpanic frame, since
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 18:16:00 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. test/fixedbugs/issue19467.dir/z.go

    	wg.Done()
    	ci := runtime.CallersFrames(wg.Callers)
    	frames := make([]runtime.Frame, 0, 4)
    	for {
    		frame, more := ci.Next()
    		frames = append(frames, frame)
    		if !more {
    			break
    		}
    	}
    	expecting := []string{
    		"test/mysync.(*WaitGroup).Add",
    		"test/mysync.(*WaitGroup).Done",
    	}
    	for i := 0; i < 2; i++ {
    		if frames[i].Function != expecting[i] {
    			log.Fatalf("frame %d: got %s, want %s", i, frames[i].Function, expecting[i])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 17:50:47 UTC 2022
    - 696 bytes
    - Viewed (0)
  5. src/runtime/example_test.go

    			// Return now to avoid processing the zero Frame that would
    			// otherwise be returned by frames.Next below.
    			return
    		}
    
    		pc = pc[:n] // pass only valid pcs to runtime.CallersFrames
    		frames := runtime.CallersFrames(pc)
    
    		// Loop to get frames.
    		// A fixed number of PCs can expand to an indefinite number of Frames.
    		for {
    			frame, more := frames.Next()
    
    			// Process this frame.
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 18 22:05:09 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  6. docs/de/docs/newsletter.md

    # FastAPI und Freunde Newsletter
    
    <iframe data-w-type="embedded" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://xr4n4.mjt.lu/wgt/xr4n4/hj5/form?c=40a44fa4" width="100%" style="height: 0;"></iframe>
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Feb 18 12:18:33 UTC 2024
    - 322 bytes
    - Viewed (0)
  7. docs/en/docs/newsletter.md

    # FastAPI and friends newsletter
    
    <iframe data-w-type="embedded" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://xr4n4.mjt.lu/wgt/xr4n4/hj5/form?c=40a44fa4" width="100%" style="height: 0;"></iframe>
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jun 26 16:02:34 UTC 2023
    - 322 bytes
    - Viewed (0)
  8. test/fixedbugs/issue22200b.go

    package p
    
    func f3(x *[1 << 31]byte) byte { // GC_ERROR "stack frame too large"
    	for _, b := range *x {
    		return b
    	}
    	return 0
    }
    func f4(x *[1 << 32]byte) byte { // GC_ERROR "stack frame too large"
    	for _, b := range *x {
    		return b
    	}
    	return 0
    }
    func f5(x *[1 << 33]byte) byte { // GC_ERROR "stack frame too large"
    	for _, b := range *x {
    		return b
    	}
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 601 bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner_llvm.go

    		return nil, err
    	}
    
    	var stack []plugin.Frame
    	for {
    		frame, end := d.readFrame()
    		if end {
    			break
    		}
    
    		if frame != (plugin.Frame{}) {
    			stack = append(stack, frame)
    		}
    	}
    
    	return stack, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/runtime/runtime-lldb_test.go

              print "Hit breakpoint"
              frame = t.GetFrameAtIndex(0)
              if frame:
                if frame.line_entry:
                  print "Stopped at %s:%d" % (frame.line_entry.file.basename, frame.line_entry.line)
                if frame.function:
                  print "Stopped in %s" % (frame.function.name,)
                var = frame.FindVariable('intvar')
                if var:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top