Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 56 for aframe (0.14 sec)

  1. src/runtime/preempt.go

    }
    
    //go:generate go run mkpreempt.go
    
    // asyncPreempt saves all user registers and calls asyncPreempt2.
    //
    // When stack scanning encounters an asyncPreempt frame, it scans that
    // frame and its parent frame conservatively.
    //
    // asyncPreempt is implemented in assembly.
    func asyncPreempt()
    
    //go:nosplit
    func asyncPreempt2() {
    	gp := getg()
    	gp.asyncSafePoint = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. src/image/gif/writer_test.go

    		if m0.Bounds() != m1.Bounds() {
    			t.Errorf("frame %d: bounds differ: %v and %v", i, m0.Bounds(), m1.Bounds())
    		}
    		d0, d1 := g0.Delay[i], g1.Delay[i]
    		if d0 != d1 {
    			t.Errorf("frame %d: delay values differ: %d and %d", i, d0, d1)
    		}
    		p0, p1 := uint8(0), g1.Disposal[i]
    		if go1Dot5Fields {
    			p0 = DisposalNone
    		}
    		if p0 != p1 {
    			t.Errorf("frame %d: disposal values differ: %d and %d", i, p0, p1)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/runtime/pprof/pprof.go

    			// This is useful mainly for allocation traces.
    			show = true
    			fmt.Fprintf(w, "#\t%#x\t%s+%#x\t%s:%d\n", frame.PC, name, frame.PC-frame.Entry, frame.File, frame.Line)
    		}
    		if !more {
    			break
    		}
    	}
    	if !show {
    		// We didn't print anything; do it again,
    		// and this time include runtime functions.
    		printStackRecord(w, stk, true)
    		return
    	}
    	fmt.Fprintf(w, "\n")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    				lastAddr = addr
    			} else if (addr-lastAddr <= neighborhood) && lastFrames != nil {
    				frames = lastFrames
    			}
    
    			sp.addStack(addr, frames)
    		}
    	}
    }
    
    func (sp *sourcePrinter) addStack(addr uint64, frames []plugin.Frame) {
    	// See if the stack contains a function we are interested in.
    	for i, f := range frames {
    		if !sp.interest[f.Func] {
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  5. src/log/slog/value.go

    	return AnyValue(err)
    }
    
    func stack(skip, nFrames int) string {
    	pcs := make([]uintptr, nFrames+1)
    	n := runtime.Callers(skip+1, pcs)
    	if n == 0 {
    		return "(no stack)"
    	}
    	frames := runtime.CallersFrames(pcs[:n])
    	var b strings.Builder
    	i := 0
    	for {
    		frame, more := frames.Next()
    		fmt.Fprintf(&b, "called from %s (%s:%d)\n", frame.Function, frame.File, frame.Line)
    		if !more {
    			break
    		}
    		i++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/internal/trace/summary.go

    			// and identify the goroutine by the root frame of that stack.
    			// This root frame will be identical for all transitions on this
    			// goroutine, because it represents its immutable start point.
    			if g.Name == "" {
    				stk := st.Stack
    				if stk != NoStack {
    					var frame StackFrame
    					var ok bool
    					stk.Frames(func(f StackFrame) bool {
    						frame = f
    						ok = true
    						return true
    					})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  7. src/internal/coverage/cfile/emit.go

    // the openOutputFiles() stores the counter data file in 'cfname' and
    // then places the *io.File into 'cf'.
    type emitState struct {
    	mfname string   // path of final meta-data output file
    	mftmp  string   // path to meta-data temp file (if needed)
    	mf     *os.File // open os.File for meta-data temp file
    	cfname string   // path of final counter data file
    	cftmp  string   // path to counter data temp file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. src/syscall/exec_linux.go

    		PR_CAP_AMBIENT_RAISE = 0x2
    	)
    
    	// vfork requires that the child not touch any of the parent's
    	// active stack frames. Hence, the child does all post-fork
    	// processing in this stack frame and never returns, while the
    	// parent returns immediately from this frame and does all
    	// post-fork processing in the outer frame.
    	//
    	// Declare all variables at top in case any
    	// declarations require heap allocation (e.g., err2).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. internal/grid/connection.go

    	const fin = true
    	var frame ws.Frame
    	if s.ClientSide() {
    		// We do not need to copy the payload, since we own it.
    		payload := p
    
    		frame = ws.NewFrame(op, fin, payload)
    		frame = ws.MaskFrameInPlace(frame)
    	} else {
    		frame = ws.NewFrame(op, fin, p)
    	}
    
    	return ww.writeFrame(w, frame)
    }
    
    // writeFrame writes frame binary representation into w.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  10. src/internal/trace/oldtrace.go

    	// Convert stacks.
    	for id, stk := range pr.Stacks {
    		evt.stacks.insert(stackID(id), stack{pcs: stk})
    	}
    
    	// OPT(dh): if we could share the frame type between this package and
    	// oldtrace we wouldn't have to copy the map.
    	for pc, f := range pr.PCs {
    		evt.pcs[pc] = frame{
    			pc:     pc,
    			funcID: stringID(f.Fn),
    			fileID: stringID(f.File),
    			line:   uint64(f.Line),
    		}
    	}
    	pr.Stacks = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top