Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 243 for aframe (0.27 sec)

  1. src/cmd/trace/pprof.go

    	for stack, record := range m.stacks {
    		rec := *record
    		i := 0
    		stack.Frames(func(frame trace.StackFrame) bool {
    			rec.Stack = append(rec.Stack, &trace.Frame{
    				PC:   frame.PC,
    				Fn:   frame.Func,
    				File: frame.File,
    				Line: int(frame.Line),
    			})
    			i++
    			// Cut this off at pprofMaxStack because that's as far
    			// as our deduplication goes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    }
    
    type internalObjFile struct {
    	ObjFile
    }
    
    func (f *internalObjFile) SourceLine(frame uint64) ([]plugin.Frame, error) {
    	frames, err := f.ObjFile.SourceLine(frame)
    	if err != nil {
    		return nil, err
    	}
    	var pluginFrames []plugin.Frame
    	for _, f := range frames {
    		pluginFrames = append(pluginFrames, plugin.Frame(f))
    	}
    	return pluginFrames, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. src/runtime/panic.go

    			}
    
    			// TODO(mdempsky): If we populate u.frame.fn.deferreturn for
    			// every frame containing a defer (not just open-coded defers),
    			// then we can simply loop until we find the next frame where
    			// it's non-zero.
    
    			if u.frame.sp == limit {
    				break // found a frame with linked defers
    			}
    
    			if p.initOpenCodedDefers(u.frame.fn, unsafe.Pointer(u.frame.varp)) {
    				break // found a frame with open-coded defers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/pgen.go

    	}
    
    	// Sort variables in descending alignment order, so we can optimally
    	// pack variables into the frame.
    	if a.Type().Alignment() != b.Type().Alignment() {
    		return a.Type().Alignment() > b.Type().Alignment()
    	}
    
    	// Sort normal variables before open-coded-defer slots, so that the
    	// latter are grouped together and near the top of the frame (to
    	// minimize varint encoding of their varp offset).
    	if a.OpenDeferSlot() != b.OpenDeferSlot() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/problems/DefaultProblemLocationAnalyzer.java

            }
            return null;
        }
    
        @Nullable
        private Location tryGetLocation(StackTraceElement frame) {
            int lineNumber = frame.getLineNumber();
            if (lineNumber < 0) {
                return null;
            }
    
            ClassLoaderScopeOrigin.Script source = scripts.get(frame.getFileName());
            if (source == null) {
                return null;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      ): Boolean {
        // Don't send new frames after we've failed or enqueued a close frame.
        if (failed || enqueuedClose) return false
    
        // If this frame overflows the buffer, reject it and close the web socket.
        if (queueSize + data.size > MAX_QUEUE_SIZE) {
          close(CLOSE_CLIENT_GOING_AWAY, null)
          return false
        }
    
        // Enqueue the message frame.
        queueSize += data.size.toLong()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/cmd/pprof/pprof.go

    	}
    
    	frames := f.dwarfSourceLine(addr)
    	if frames != nil {
    		return frames, nil
    	}
    
    	return nil, fmt.Errorf("no line information for PC=%#x", addr)
    }
    
    // dwarfSourceLine tries to get file/line information using DWARF.
    // This is for C functions that appear in the profile.
    // Returns nil if there is no information available.
    func (f *file) dwarfSourceLine(addr uint64) []driver.Frame {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. 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)
Back to top