Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 437 for tramps (0.14 sec)

  1. src/cmd/trace/viewer.go

    	"internal/trace"
    	"internal/trace/traceviewer"
    	"time"
    )
    
    // viewerFrames returns the frames of the stack of ev. The given frame slice is
    // used to store the frames to reduce allocations.
    func viewerFrames(stk trace.Stack) []*trace.Frame {
    	var frames []*trace.Frame
    	stk.Frames(func(f trace.StackFrame) bool {
    		frames = append(frames, &trace.Frame{
    			PC:   f.PC,
    			Fn:   f.Func,
    			File: f.File,
    			Line: int(f.Line),
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/internal/trace/internal/oldtrace/parser.go

    // Package oldtrace implements a parser for Go execution traces from versions
    // 1.11–1.21.
    //
    // The package started as a copy of Go 1.19's internal/trace, but has been
    // optimized to be faster while using less memory and fewer allocations. It has
    // been further modified for the specific purpose of converting traces to the
    // new 1.22+ format.
    package oldtrace
    
    import (
    	"bytes"
    	"cmp"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  3. pkg/controller/job/tracking_utils_test.go

    			secondRound: []string{"a"},
    		},
    	}
    	expectations := newUIDTrackingExpectations()
    
    	// Insert first round of keys in parallel.
    
    	var wg sync.WaitGroup
    	wg.Add(len(tracks))
    	errs := make([]error, len(tracks))
    	for i := range tracks {
    		track := tracks[i]
    		go func(errID int) {
    			errs[errID] = expectations.expectFinalizersRemoved(logger, track.job, track.firstRound)
    			wg.Done()
    		}(i)
    	}
    	wg.Wait()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 14 05:40:02 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. src/runtime/pprof/proto.go

    func (d *pcDeck) tryAdd(pc uintptr, frames []runtime.Frame, symbolizeResult symbolizeFlag) (success bool) {
    	if existing := len(d.frames); existing > 0 {
    		// 'd.frames' are all expanded from one 'pc' and represent all
    		// inlined functions so we check only the last one.
    		newFrame := frames[0]
    		last := d.frames[existing-1]
    		if last.Func != nil { // the last frame can't be inlined. Flush.
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  5. test/fixedbugs/issue19467.dir/z.go

    	var wg mysync.WaitGroup
    	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] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 17:50:47 UTC 2022
    - 696 bytes
    - Viewed (0)
  6. src/internal/trace/testdata/README.md

    The trace test programs in the `testprog` directory generate traces to
    stdout.
    Otherwise they're just normal programs.
    
    ## Trace debug commands
    
    The `cmd` directory contains helpful tools for debugging traces.
    
    * `gotraceraw` parses traces without validation.
      It can produce a text version of the trace wire format, or convert
      the text format back into bytes.
    * `gotracevalidate` parses traces and validates them.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/runtime/tracestack.go

    // pcBuf and dst should not overlap.
    //
    // fpunwindExpand checks if pcBuf contains logical frames (which include inlined
    // frames) or physical frames (produced by frame pointer unwinding) using a
    // sentinel value in pcBuf[0]. Logical frames are simply returned without the
    // sentinel. Physical frames are turned into logical frames via inline unwinding
    // and by applying the skip value that's stored in pcBuf[0].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/runtime/signal_plan9.go

    var sigtable = [...]sigTabT{
    	// Traps that we cannot be recovered.
    	{_SigThrow, "sys: trap: debug exception"},
    	{_SigThrow, "sys: trap: invalid opcode"},
    
    	// We can recover from some memory errors in runtime·sigpanic.
    	{_SigPanic, "sys: trap: fault read"},  // SIGRFAULT
    	{_SigPanic, "sys: trap: fault write"}, // SIGWFAULT
    
    	// We can also recover from math errors.
    	{_SigPanic, "sys: trap: divide error"}, // SIGINTDIV
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 07 16:25:17 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  9. src/runtime/example_test.go

    			// 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)
  10. test/heapsampling.go

    	}
    	for i, w := range size {
    		ln := firstLine + i
    		if err := checkValue(frames[0], ln, "objects", count, objectsPerLine[ln]); err != nil {
    			return err
    		}
    		if err := checkValue(frames[0], ln, "bytes", count*w, bytesPerLine[ln]); err != nil {
    			return err
    		}
    	}
    	return checkValue(frames[0], 0, "total", count*int64(len(size)), totalCount)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 27 21:36:06 UTC 2022
    - 9.7K bytes
    - Viewed (0)
Back to top