Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 527 for frame_0 (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        while (buffer.size != 1024L) source.read(buffer, 1024)
        stream1.close(ErrorCode.CANCEL, null)
        val frame1 = peer.takeFrame()
        assertThat(frame1.type).isEqualTo(Http2.TYPE_HEADERS)
        val frame2 = peer.takeFrame()
        assertThat(frame2.type).isEqualTo(Http2.TYPE_RST_STREAM)
        val frame3 = peer.takeFrame()
        assertThat(frame3.type).isEqualTo(Http2.TYPE_RST_STREAM)
        assertThat(connection.readBytes.acknowledged).isEqualTo(0L)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/pgen.go

    	}
    	pp := objw.NewProgs(fn, worker)
    	defer pp.Free()
    	genssa(f, pp)
    	// Check frame size again.
    	// The check above included only the space needed for local variables.
    	// After genssa, the space needed includes local variables and the callee arg region.
    	// We must do this check prior to calling pp.Flush.
    	// If there are any oversized stack frames,
    	// the assembler may emit inscrutable complaints about invalid instructions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. 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)
  4. docs/contribute/debug_logging.md

    ```
    $ adb shell setprop log.tag.okhttp.Http2 DEBUG
    $ adb shell setprop log.tag.okhttp.TaskRunner DEBUG
    $ adb logcat '*:E' 'okhttp.Http2:D' 'okhttp.TaskRunner:D'
    ```
    
    ### HTTP/2 Frame Logging
    
    This logs inbound (`<<`) and outbound (`>>`) frames for HTTP/2 connections.
    
    ```
    [2020-01-01 00:00:00] >> CONNECTION 505249202a20485454502f322e300d0a0d0a534d0d0a0d0a
    [2020-01-01 00:00:00] >> 0x00000000     6 SETTINGS
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  5. pkg/api/testing/serialization_test.go

    			continue
    		}
    		s := info.StreamSerializer
    		framer := s.Framer
    		embedded := info.Serializer
    		if embedded == nil {
    			t.Errorf("no embedded serializer for %s", info.MediaType)
    			continue
    		}
    		innerDecode := legacyscheme.Codecs.DecoderToVersion(embedded, api.SchemeGroupVersion)
    
    		// write a single object through the framer and back out
    		obj := &bytes.Buffer{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  6. src/reflect/asm_riscv64.s

    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    #include "funcdata.h"
    
    // The frames of each of the two functions below contain two locals, at offsets
    // that are known to the runtime.
    //
    // The first local is a bool called retValid with a whole pointer-word reserved
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 01:41:42 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  7. src/runtime/traceback_system_test.go

    func formatStack(pcs []uintptr) string {
    	// When debugging, show file/line/content of files other than this one.
    	const debug = false
    
    	var buf strings.Builder
    	i := 0
    	frames := runtime.CallersFrames(pcs)
    	for {
    		fr, more := frames.Next()
    		if debug {
    			fmt.Fprintf(&buf, "pc=%x ", pcs[i])
    			i++
    		}
    		if base := filepath.Base(fr.File); base == "traceback_system_test.go" || debug {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/stream_test.go

    	if err != nil {
    		return err
    	}
    	defer ws.Close()
    
    	if fn != nil {
    		fn(ws)
    	}
    
    	for i := range frames {
    		var data []byte
    		if err := websocket.Message.Receive(ws, &data); err != nil {
    			return err
    		}
    		if !reflect.DeepEqual(frames[i], data) {
    			return fmt.Errorf("frame %d did not match expected: %v", data, err)
    		}
    	}
    	var data []byte
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        close(ErrorCode.PROTOCOL_ERROR, ErrorCode.PROTOCOL_ERROR, e)
      }
    
      /**
       * Sends any initial frames and starts reading frames from the remote peer. This should be called
       * after [Builder.build] for all new connections.
       *
       * @param sendConnectionPreface true to send connection preface frames. This should always be true
       *     except for in tests that don't check for a connection preface.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/framer/framer_test.go

    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    	// read the remaining frame
    	buf = make([]byte, 2)
    	if n, err := r.Read(buf); err != nil && n != 2 && bytes.Equal(buf, []byte{0x03, 0x04}) {
    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    	// read with buffer equal to frame
    	buf = make([]byte, 3)
    	if n, err := r.Read(buf); err != nil && n != 3 && bytes.Equal(buf, []byte{0x05, 0x06, 0x07}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top