Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for frame_0 (0.14 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/framer/framer.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package framer implements simple frame decoding techniques for an io.ReadCloser
    package framer
    
    import (
    	"encoding/binary"
    	"encoding/json"
    	"io"
    )
    
    type lengthDelimitedFrameWriter struct {
    	w io.Writer
    	h [4]byte
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. src/net/http/h2_bundle.go

    	}, nil
    }
    
    // A Frame is the base interface implemented by all frame types.
    // Callers will generally type-assert the specific frame type:
    // *HeadersFrame, *SettingsFrame, *WindowUpdateFrame, etc.
    //
    // Frames are only valid until the next call to Framer.ReadFrame.
    type http2Frame interface {
    	Header() http2FrameHeader
    
    	// invalidate is called by Framer.ReadFrame to make this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/proxy/doc.go

    // SPDY connection.
    //
    // The stream tunnel proxy tunnels SPDY frames through a WebSocket
    // connection, and it is used for the PortForward subprotocol (e.g.
    // kubectl port-forward). This proxy implements tunneling by transparently
    // encoding and decoding SPDY framed data into and out of the payload of a
    // WebSocket data frame. The primary structure for this tunneling is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 17:56:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/runtime/traceback.go

    			}
    		}
    	}
    
    	var frame stkframe
    	frame.pc = pc0
    	frame.sp = sp0
    	if usesLR {
    		frame.lr = lr0
    	}
    
    	// If the PC is zero, it's likely a nil function call.
    	// Start in the caller's frame.
    	if frame.pc == 0 {
    		if usesLR {
    			frame.pc = *(*uintptr)(unsafe.Pointer(frame.sp))
    			frame.lr = 0
    		} else {
    			frame.pc = *(*uintptr)(unsafe.Pointer(frame.sp))
    			frame.sp += goarch.PtrSize
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. src/runtime/tracestack.go

    		w.byte(byte(traceEvStacks))
    	}
    
    	// Emit stack event.
    	w.byte(byte(traceEvStack))
    	w.varint(uint64(node.id))
    	w.varint(uint64(len(frames)))
    	for _, frame := range frames {
    		w.varint(uint64(frame.PC))
    		w.varint(frame.funcID)
    		w.varint(frame.fileID)
    		w.varint(frame.line)
    	}
    
    	// Recursively walk all child nodes.
    	for i := range node.children {
    		child := node.children[i].Load()
    		if child == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top