Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 202 for iframe (0.16 sec)

  1. src/runtime/stack_test.go

    	// and that we see TestTracebackSystemstack.
    	countIn, countOut := 0, 0
    	frames := CallersFrames(pcs)
    	var tb strings.Builder
    	for {
    		frame, more := frames.Next()
    		fmt.Fprintf(&tb, "\n%s+0x%x %s:%d", frame.Function, frame.PC-frame.Entry, frame.File, frame.Line)
    		switch frame.Function {
    		case "runtime.TracebackSystemstack":
    			countIn++
    		case "runtime_test.TestTracebackSystemstack":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/stack.go

    func adjustframe(frame *stkframe, adjinfo *adjustinfo) {
    	if frame.continpc == 0 {
    		// Frame is dead.
    		return
    	}
    	f := frame.fn
    	if stackDebug >= 2 {
    		print("    adjusting ", funcname(f), " frame=[", hex(frame.sp), ",", hex(frame.fp), "] pc=", hex(frame.pc), " continpc=", hex(frame.continpc), "\n")
    	}
    
    	// Adjust saved frame pointer if there is one.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/iface.go

    // want = the static type we're trying to convert to.
    // iface = the static type we're converting from.
    func panicdottypeE(have, want, iface *_type) {
    	panic(&TypeAssertionError{iface, have, want, ""})
    }
    
    // panicdottypeI is called when doing an i.(T) conversion and the conversion fails.
    // Same args as panicdottypeE, but "have" is the dynamic itab we have.
    func panicdottypeI(have *itab, want, iface *_type) {
    	var t *_type
    	if have != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    				lastAddr = addr
    			} else if (addr-lastAddr <= neighborhood) && lastFrames != nil {
    				frames = lastFrames
    			}
    
    			sp.addStack(addr, frames)
    		}
    	}
    }
    
    func (sp *sourcePrinter) addStack(addr uint64, frames []plugin.Frame) {
    	// See if the stack contains a function we are interested in.
    	for i, f := range frames {
    		if !sp.interest[f.Func] {
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        // Note: we don't process server frames so our client 'close' doesn't receive a server 'close'.
        assertThat(client.canceled).isFalse()
    
        taskFaker.advanceUntil(ns(4_999))
        assertThat(client.canceled).isFalse()
    
        taskFaker.advanceUntil(ns(5_000))
        assertThat(client.canceled).isTrue()
    
        client.processNextFrame() // This won't get a frame, but it will get a closed pipe.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/runtime/extern.go

    	if n < 1 {
    		return
    	}
    	frame, _ := CallersFrames(rpc).Next()
    	return frame.PC, frame.File, frame.Line, frame.PC != 0
    }
    
    // Callers fills the slice pc with the return program counters of function invocations
    // on the calling goroutine's stack. The argument skip is the number of stack frames
    // to skip before recording in pc, with 0 identifying the frame for Callers itself and
    // 1 identifying the caller of Callers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top