Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 371 for frame_0 (0.2 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/traceviewer/emitter.go

    				frames     = make(map[string]format.Frame)
    				framesSize = 0
    			)
    			for i, ev := range sizes {
    				eventsSize += ev.Sz
    
    				// Add required stack frames. Note that they
    				// may already be in the map.
    				for _, id := range ev.Frames {
    					s := strconv.Itoa(id)
    					_, ok := frames[s]
    					if ok {
    						continue
    					}
    					f := allFrames[s]
    					frames[s] = f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  3. src/runtime/symtab.go

    	switch len(ci.frames) {
    	case 0: // In the rare case when there are no frames at all, we return Frame{}.
    		return
    	case 1:
    		frame = ci.frames[0]
    		ci.frames = ci.frameStore[:0]
    	case 2:
    		frame = ci.frames[0]
    		ci.frameStore[0] = ci.frames[1]
    		ci.frames = ci.frameStore[:1]
    	default:
    		frame = ci.frames[0]
    		ci.frames = ci.frames[1:]
    	}
    	more = len(ci.frames) > 0
    	if frame.funcInfo.valid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  4. src/runtime/callers_test.go

    	return ret[:runtime.Callers(0, ret)] // line 27
    }
    
    func testCallers(t *testing.T, pcs []uintptr, pan bool) {
    	m := make(map[string]int, len(pcs))
    	frames := runtime.CallersFrames(pcs)
    	for {
    		frame, more := frames.Next()
    		if frame.Function != "" {
    			m[frame.Function] = frame.Line
    		}
    		if !more {
    			break
    		}
    	}
    
    	var seen []string
    	for k := range m {
    		seen = append(seen, k)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 21:36:31 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          reason: String,
        )
      }
    
      /**
       * Process the next protocol frame.
       *
       *  * If it is a control frame this will result in a single call to [FrameCallback].
       *  * If it is a message frame this will result in a single call to [FrameCallback.onReadMessage].
       *    If the message spans multiple frames, each interleaved control frame will result in a
       *    corresponding call to [FrameCallback].
       */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. src/internal/trace/generation.go

    	strings *dataTable[stringID, string],
    	frames map[uint64]frame,
    ) error {
    	var err error
    	stacks.forEach(func(id stackID, stk stack) bool {
    		for _, pc := range stk.pcs {
    			frame, ok := frames[pc]
    			if !ok {
    				err = fmt.Errorf("found unknown pc %x for stack %d", pc, id)
    				return false
    			}
    			_, ok = strings.get(frame.funcID)
    			if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

            if (closed) return
            outFinished = errorCode == null
          }
          if (!sink.finished) {
            // We have 0 or more frames of data, and 0 or more frames of trailers. We need to send at
            // least one frame with the END_STREAM flag set. That must be the last frame, and the
            // trailers must be sent after all of the data.
            val hasData = sendBuffer.size > 0L
            val hasTrailers = trailers != null
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/deadness_analysis.cc

                                      std::vector<string> frame)
          : Predicate(id), operands_({start, step}), frame_(std::move(frame)) {}
    
      Predicate* start() const { return operands_[0]; }
      Predicate* step() const { return operands_[1]; }
      absl::Span<const string> frame() const { return frame_; }
    
      string ToString() const override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  9. src/internal/trace/trace_test.go

    				totalTraceSamples++
    				if hogRegion != nil && ev.Goroutine() == hogRegion.Goroutine() {
    					traceSamples++
    					var fns []string
    					ev.Stack().Frames(func(frame trace.StackFrame) bool {
    						if frame.Func != "runtime.goexit" {
    							fns = append(fns, fmt.Sprintf("%s:%d", frame.Func, frame.Line))
    						}
    						return true
    					})
    					stack := strings.Join(fns, "|")
    					traceStacks[stack]++
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. 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)
Back to top