Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 115 for aframe (0.1 sec)

  1. src/cmd/compile/internal/ssagen/pgen.go

    	}
    
    	// Sort variables in descending alignment order, so we can optimally
    	// pack variables into the frame.
    	if a.Type().Alignment() != b.Type().Alignment() {
    		return a.Type().Alignment() > b.Type().Alignment()
    	}
    
    	// Sort normal variables before open-coded-defer slots, so that the
    	// latter are grouped together and near the top of the frame (to
    	// minimize varint encoding of their varp offset).
    	if a.OpenDeferSlot() != b.OpenDeferSlot() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. src/internal/trace/base.go

    type stack struct {
    	pcs []uint64
    }
    
    func (s stack) String() string {
    	var sb strings.Builder
    	for _, frame := range s.pcs {
    		fmt.Fprintf(&sb, "\t%#v\n", frame)
    	}
    	return sb.String()
    }
    
    // frame represents a single stack frame.
    type frame struct {
    	pc     uint64
    	funcID stringID
    	fileID stringID
    	line   uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. src/cmd/pprof/pprof.go

    	}
    
    	frames := f.dwarfSourceLine(addr)
    	if frames != nil {
    		return frames, nil
    	}
    
    	return nil, fmt.Errorf("no line information for PC=%#x", addr)
    }
    
    // dwarfSourceLine tries to get file/line information using DWARF.
    // This is for C functions that appear in the profile.
    // Returns nil if there is no information available.
    func (f *file) dwarfSourceLine(addr uint64) []driver.Frame {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/runtime/export_debug_test.go

    		return false
    	}
    
    	switch status := sigctxtStatus(ctxt); status {
    	case 0:
    		// Frame is ready. Copy the arguments to the frame and to registers.
    		// Call the debug function.
    		h.debugCallRun(ctxt)
    	case 1:
    		// Function returned. Copy frame and result registers back out.
    		h.debugCallReturn(ctxt)
    	case 2:
    		// Function panicked. Copy panic out.
    		h.debugCallPanicOut(ctxt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/internal/trace/parser.go

    // Copyright 2014 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.
    
    package trace
    
    // Frame is a frame in stack traces.
    type Frame struct {
    	PC   uint64
    	Fn   string
    	File string
    	Line int
    }
    
    const (
    	// Special P identifiers:
    	FakeP    = 1000000 + iota
    	TimerP   // depicts timer unblocks
    	NetpollP // depicts network unblocks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/framer/framer_test.go

    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    	// read the remaining frame
    	buf = make([]byte, 2)
    	if n, err := r.Read(buf); err != nil && n != 2 && bytes.Equal(buf, []byte{0x03, 0x04}) {
    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    	// read with buffer equal to frame
    	buf = make([]byte, 3)
    	if n, err := r.Read(buf); err != nil && n != 3 && bytes.Equal(buf, []byte{0x05, 0x06, 0x07}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. src/internal/trace/raw/reader.go

    	if err != nil {
    		return Event{}, err
    	}
    	if spec.IsStack {
    		len := int(args[1])
    		for i := 0; i < len; i++ {
    			// Each stack frame has four args: pc, func ID, file ID, line number.
    			frame, err := r.readArgs(4)
    			if err != nil {
    				return Event{}, err
    			}
    			args = append(args, frame...)
    		}
    	}
    	var data []byte
    	if spec.HasData {
    		data, err = r.readData()
    		if err != nil {
    			return Event{}, err
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/runtime/asm_ppc64x.s

    	RET
    
    // func cgocallback(fn, frame unsafe.Pointer, ctxt uintptr)
    // See cgocall.go for more details.
    TEXT ·cgocallback(SB),NOSPLIT,$24-24
    	NO_LOCAL_POINTERS
    
    	// Skip cgocallbackg, just dropm when fn is nil, and frame is the saved g.
    	// It is used to dropm while thread is exiting.
    	MOVD	fn+0(FP), R5
    	CMP	R5, $0
    	BNE	loadg
    	// Restore the g from frame.
    	MOVD	frame+8(FP), g
    	BR	dropm
    
    loadg:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  9. src/runtime/asm_amd64.s

    TEXT runtime·retpolineR8(SB),NOSPLIT|NOFRAME,$0; RETPOLINE(8)
    TEXT runtime·retpolineR9(SB),NOSPLIT|NOFRAME,$0; RETPOLINE(9)
    TEXT runtime·retpolineR10(SB),NOSPLIT|NOFRAME,$0; RETPOLINE(10)
    TEXT runtime·retpolineR11(SB),NOSPLIT|NOFRAME,$0; RETPOLINE(11)
    TEXT runtime·retpolineR12(SB),NOSPLIT|NOFRAME,$0; RETPOLINE(12)
    TEXT runtime·retpolineR13(SB),NOSPLIT|NOFRAME,$0; RETPOLINE(13)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/security_test.go

    	{"-O2"},
    	{"-Osmall"},
    	{"-W"},
    	{"-Wall"},
    	{"-Wp,-Dfoo=bar"},
    	{"-Wp,-Ufoo"},
    	{"-Wp,-Dfoo1"},
    	{"-Wp,-Ufoo1"},
    	{"-flto"},
    	{"-fobjc-arc"},
    	{"-fno-objc-arc"},
    	{"-fomit-frame-pointer"},
    	{"-fno-omit-frame-pointer"},
    	{"-fpic"},
    	{"-fno-pic"},
    	{"-fPIC"},
    	{"-fno-PIC"},
    	{"-fpie"},
    	{"-fno-pie"},
    	{"-fPIE"},
    	{"-fno-PIE"},
    	{"-fsplit-stack"},
    	{"-fno-split-stack"},
    	{"-fstack-xxx"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top