Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for stack_frame (0.39 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/StacktraceIntegrationTest.groovy

            if (cause != null) {
                failure.assertHasCause(cause)
            }
            failure.assertHasDescription(description)
            failure.assertHasErrorOutput('Exception is:')
            failure.assertHasErrorOutput(stackFrame)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. src/internal/trace/internal/testgen/go122/trace.go

    		}
    	}
    	return raw.Event{
    		Version: version.Go122,
    		Ev:      ev,
    		Args:    args,
    		Data:    data,
    	}
    }
    
    type stack struct {
    	stk [32]trace.StackFrame
    	len int
    }
    
    var (
    	NoString = ""
    	NoStack  = []trace.StackFrame{}
    )
    
    // Generation represents a single generation in the trace.
    type Generation struct {
    	trace   *Trace
    	gen     uint64
    	batches []*Batch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock/fake.go

    			if isMine {
    				boundary = 2
    			}
    			callers = append(callers, stackFrame{file: fileParts[len(fileParts)-1], line: frame.Line})
    			if i >= boundary && !isMine {
    				break
    			}
    		}
    		klogV.InfoS("Add", "counter", fmt.Sprintf("%p", wgc), "delta", delta, "callers", callers)
    	}
    	wgc.wg.Add(delta)
    }
    
    type stackExcerpt []stackFrame
    
    type stackFrame struct {
    	file string
    	line int
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  4. src/cmd/trace/viewer.go

    // 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),
    		})
    		return true
    	})
    	return frames
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/internal/trace/traceviewer/format/format.go

    // throw. go_bootstrap cannot depend on the cgo version of package net in ./make.bash.
    package format
    
    type Data struct {
    	Events   []*Event         `json:"traceEvents"`
    	Frames   map[string]Frame `json:"stackFrames"`
    	TimeUnit string           `json:"displayTimeUnit"`
    }
    
    type Event struct {
    	Name      string  `json:"name,omitempty"`
    	Phase     string  `json:"ph"`
    	Scope     string  `json:"s,omitempty"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. src/runtime/trace_cgo_test.go

    	}
    	return candidates[0]
    }
    
    // dumpStack returns e.Stack() as a string.
    func dumpStackV2(e *trace.Event) string {
    	var buf bytes.Buffer
    	e.Stack().Frames(func(f trace.StackFrame) bool {
    		file := strings.TrimPrefix(f.File, runtime.GOROOT())
    		fmt.Fprintf(&buf, "%s\n\t%s:%d\n", f.Func, file, f.Line)
    		return true
    	})
    	return buf.String()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_operation.h

      virtual Status OutputLength(const char* output_name, int* length) = 0;
    
      // Set stack trace to be used for potential async error reporting.
      virtual void SetStackTrace(ManagedStackTrace stack_trace) = 0;
    
      virtual const tensorflow::AbstractOpAttrs* GetOpAttrs() const = 0;
      virtual void AddAttrs(const AbstractOpAttrs* op_attrs) = 0;
    
      virtual void SetCancellationManager(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 26 22:40:32 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. src/cmd/trace/jsontrace_test.go

    // at the root of the stack trace is named name.
    func filterStackRootFunc(name string) eventFilterFn {
    	return func(e *format.Event, data *format.Data) bool {
    		frames := stackFrames(data, e.Stack)
    		rootFrame := frames[len(frames)-1]
    		return strings.HasPrefix(rootFrame, name+":")
    	}
    }
    
    // filterViewerTrace returns a copy of data with only the events that pass all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top