Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 202 for iframe (0.14 sec)

  1. src/runtime/pprof/proto.go

    	}
    
    	symbolizeResult := lookupTried
    	if frame.PC == 0 || frame.Function == "" || frame.File == "" || frame.Line == 0 {
    		symbolizeResult |= lookupFailed
    	}
    
    	if frame.PC == 0 {
    		// If we failed to resolve the frame, at least make up
    		// a reasonable call PC. This mostly happens in tests.
    		frame.PC = addr - 1
    	}
    	ret := []runtime.Frame{frame}
    	for frame.Function != "runtime.goexit" && more {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  2. doc/asm.html

    The frame size <code>$24-8</code> states that the function has a 24-byte frame
    and is called with 8 bytes of argument, which live on the caller's frame.
    If <code>NOSPLIT</code> is not specified for the <code>TEXT</code>,
    the argument size must be provided.
    For assembly functions with Go prototypes, <code>go</code> <code>vet</code> will check that the
    argument size is correct.
    </p>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (1)
  3. src/runtime/asm_loong64.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.
    	MOVV    fn+0(FP), R5
    	BNE	R5, loadg
    	// Restore the g from frame.
    	MOVV    frame+8(FP), g
    	JMP	dropm
    
    loadg:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. src/internal/trace/generation.go

    			return err
    		}
    
    		// Read how many frames are in each stack.
    		nFrames, err := binary.ReadUvarint(r)
    		if err != nil {
    			return err
    		}
    		if nFrames > go122.MaxFramesPerStack {
    			return fmt.Errorf("invalid stack size %d, maximum is %d", nFrames, go122.MaxFramesPerStack)
    		}
    
    		// Each frame consists of 4 fields: pc, funcID (string), fileID (string), line.
    		frames := make([]uint64, 0, nFrames)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. src/runtime/stubs.go

    // these pointers in regArgs.Ptrs such that they are visible to the GC.
    //
    // Package reflect passes a frame type. In package runtime, there is only
    // one call that copies results back, in callbackWrap in syscall_windows.go, and it
    // does NOT pass a frame type, meaning there are no write barriers invoked. See that
    // call site for justification.
    //
    // Package reflect accesses this symbol through a linkname.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. src/runtime/heapdump.go

    		bv.n = -1
    	}
    
    	// Dump main body of stack frame.
    	dumpint(tagStackFrame)
    	dumpint(uint64(s.sp))                              // lowest address in frame
    	dumpint(uint64(child.depth))                       // # of frames deep on the stack
    	dumpint(uint64(uintptr(unsafe.Pointer(child.sp)))) // sp of child, or 0 if bottom of stack
    	dumpmemrange(unsafe.Pointer(s.sp), s.fp-s.sp)      // frame contents
    	dumpint(uint64(f.entry()))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. src/internal/zstd/zstd.go

    	// The underlying Reader.
    	r io.Reader
    
    	// Whether we have read the frame header.
    	// This is of interest when buffer is empty.
    	// If true we expect to see a new block.
    	sawFrameHeader bool
    
    	// Whether the current frame expects a checksum.
    	hasChecksum bool
    
    	// Whether we have read at least one frame.
    	readOneFrame bool
    
    	// True if the frame size is not known.
    	frameSizeUnknown bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 04:10:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. src/encoding/json/stream_test.go

    	return c
    }
    
    // CasePos represents a file and line number.
    type CasePos struct{ pc [1]uintptr }
    
    func (pos CasePos) String() string {
    	frames := runtime.CallersFrames(pos.pc[:])
    	frame, _ := frames.Next()
    	return fmt.Sprintf("%s:%d", path.Base(frame.File), frame.Line)
    }
    
    // Test values for the stream test.
    // One of each JSON kind.
    var streamTest = []any{
    	0.1,
    	"hello",
    	nil,
    	true,
    	false,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 16:00:37 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  9. src/internal/trace/traceviewer/emitter.go

    	}
    	last := len(stk) - 1
    	frame := stk[last]
    	stk = stk[:last]
    
    	node, ok := parent.children[frame.PC]
    	if !ok {
    		e.frameSeq++
    		node.id = e.frameSeq
    		node.children = make(map[uint64]frameNode)
    		parent.children[frame.PC] = node
    		e.c.ConsumeViewerFrame(strconv.Itoa(node.id), format.Frame{Name: fmt.Sprintf("%v:%v", frame.Fn, frame.Line), Parent: parent.id})
    	}
    	return e.buildBranch(node, stk)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  10. src/runtime/callers_test.go

    	return ret[:runtime.Callers(0, ret)] // line 27
    }
    
    func testCallers(t *testing.T, pcs []uintptr, pan bool) {
    	m := make(map[string]int, len(pcs))
    	frames := runtime.CallersFrames(pcs)
    	for {
    		frame, more := frames.Next()
    		if frame.Function != "" {
    			m[frame.Function] = frame.Line
    		}
    		if !more {
    			break
    		}
    	}
    
    	var seen []string
    	for k := range m {
    		seen = append(seen, k)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 21:36:31 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top