Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 216 for Frame (0.2 sec)

  1. src/debug/dwarf/open.go

    // in the object file; for example, for an ELF object, abbrev is the contents of
    // the ".debug_abbrev" section.
    func New(abbrev, aranges, frame, info, line, pubnames, ranges, str []byte) (*Data, error) {
    	d := &Data{
    		abbrev:      abbrev,
    		aranges:     aranges,
    		frame:       frame,
    		info:        info,
    		line:        line,
    		pubnames:    pubnames,
    		ranges:      ranges,
    		str:         str,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.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. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock/fake.go

    		for i := 0; more && len(callers) < cap(callers); i++ {
    			var frame runtime.Frame
    			frame, more = frames.Next()
    			fileParts := strings.Split(frame.File, "/")
    			isMine := strings.HasSuffix(frame.File, "/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
    			}
    		}
    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. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/InternalStackTraceClassifier.java

     */
    public class InternalStackTraceClassifier implements StackTraceClassifier {
    
        @Nullable
        @Override
        public StackTraceRelevance classify(StackTraceElement frame) {
            return isInternal(frame.getClassName()) ? StackTraceRelevance.INTERNAL : null;
        }
    
        private static boolean isInternal(String className) {
            // JDK calls
            return className.startsWith("java.") ||
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. test/fixedbugs/issue16515.go

    	// Duff-adjusted address will be spilled and loaded
    
    	*x = T{} // DUFFZERO
    	runtime.GC()
    	(*x)[0] = 1
    	g()      // call a function with large frame, trigger a stack move
    	*x = T{} // DUFFZERO again
    }
    
    //go:noinline
    // a function with large frame
    func g() {
    	var x [1000]int
    	_ = x
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 29 01:09:55 UTC 2016
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/pprof/pprof.go

    	return ""
    }
    
    func (f *file) SourceLine(addr uint64) ([]driver.Frame, error) {
    	if f.pcln == nil {
    		pcln, err := f.file.PCLineTable()
    		if err != nil {
    			return nil, err
    		}
    		f.pcln = pcln
    	}
    	addr -= f.offset
    	file, line, fn := f.pcln.PCToLine(addr)
    	if fn != nil {
    		frame := []driver.Frame{
    			{
    				Func: fn.Name,
    				File: file,
    				Line: line,
    			},
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. test/inline_callers.go

    		}
    	}
    	return
    }
    
    func testCallersFrames(skp int) (frames []string) {
    	skip = skp
    	f()
    	callers := pcs[:npcs]
    	ci := runtime.CallersFrames(callers)
    	for {
    		frame, more := ci.Next()
    		frames = append(frames, frame.Function)
    		if !more || frame.Function == "main.main" {
    			break
    		}
    	}
    	return
    }
    
    var expectedFrames [][]string = [][]string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 08 21:54:04 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/cc/framework/while_gradients.cc

    // The backprop loop counter and main backprop loop run in their own execution
    // frame (conceptually, the main forward loop and forward loop counter run
    // together in a frame, then the backprop loop counter and backprop loop run
    // together in a different frame). This returns the frame name to use for the
    // backprop while loops.
    // TODO(skyewm): make sure this is unique among existing frame names
    string BackPropFrameName(const string& forward_frame_name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. src/reflect/asm_arm64.s

    // runtime, so that a stack map for it can be constructed, since it contains
    // pointers visible to the GC.
    #define LOCAL_RETVALID 40
    #define LOCAL_REGARGS 48
    
    // The frame size of the functions below is
    // 32 (args of callReflect) + 8 (bool + padding) + 392 (abi.RegArgs) = 432.
    
    // makeFuncStub is the code half of the function returned by MakeFunc.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 18:26:13 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top