Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 90 for Continuation (0.19 sec)

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

        assertThat(frameLog(true, 3, 10000, TYPE_HEADERS, 0x4))
          .isEqualTo("<< 0x00000003 10000 HEADERS       END_HEADERS")
        assertThat(frameLog(true, 3, 10000, TYPE_CONTINUATION, 0x4))
          .isEqualTo("<< 0x00000003 10000 CONTINUATION  END_HEADERS")
        assertThat(frameLog(true, 4, 10000, TYPE_PUSH_PROMISE, 0x4))
          .isEqualTo("<< 0x00000004 10000 PUSH_PROMISE  END_PUSH_PROMISE")
      }
    
      @Test
      fun flagOverlapOn0x20() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

        }.also { expected ->
          assertThat(expected.message).isEqualTo("Unexpected rsv1 flag")
        }
      }
    
      @Test fun reservedFlag1IsUnsupportedForContinuationFrames() {
        data.write("c000".decodeHex()) // Empty continuation, flag 1 set.
        assertFailsWith<ProtocolException> {
          clientReaderWithCompression.processNextFrame()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Unexpected rsv1 flag")
        }
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		// ResourceVersion should be unset when setting continuation token.
    		ResourceVersion: "",
    		Predicate:       pred(0, continueFromSecondItem),
    		Recursive:       true,
    	}
    	if err := store.GetList(ctx, "/pods", options, out); err != nil {
    		t.Fatalf("Unable to get second page: %v", err)
    	}
    	if len(out.Continue) != 0 {
    		t.Fatalf("Unexpected continuation token set")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  4. src/net/textproto/reader.go

    	return line, nil
    }
    
    // ReadContinuedLine reads a possibly continued line from r,
    // eliding the final trailing ASCII white space.
    // Lines after the first are considered continuations if they
    // begin with a space or tab character. In the returned data,
    // continuation lines are separated from the previous line
    // only by a single space: the newline and leading white space
    // are removed.
    //
    // For example, consider this input:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/roundtrip_test.go

    		{
    			name: "nonempty string",
    			obj:  "hello world",
    		},
    		{
    			name: "empty string",
    			obj:  "",
    		},
    		{
    			name: "string containing invalid UTF-8 sequence",
    			obj:  "\x80", // first byte is a continuation byte
    		},
    		{
    			name: "true",
    			obj:  true,
    		},
    		{
    			name: "false",
    			obj:  false,
    		},
    		{
    			name: "int64",
    			obj:  int64(5),
    		},
    		{
    			name: "int64 max",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 21:48:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        frame.writeByte(Http2.TYPE_HEADERS)
        frame.writeByte(FLAG_NONE)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.write(headerBlock, Http2.INITIAL_MAX_FRAME_SIZE.toLong())
    
        // Write the continuation frame, specifying no more frames are expected.
        writeMedium(frame, headerBlock.size.toInt())
        frame.writeByte(Http2.TYPE_CONTINUATION)
        frame.writeByte(FLAG_END_HEADERS)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. src/runtime/debugcall.go

    	// Undo the lockOSThread we did earlier.
    	unlockOSThread()
    
    	gp.asyncSafePoint = false
    }
    
    type debugCallWrapArgs struct {
    	dispatch uintptr
    	callingG *g
    }
    
    // debugCallWrap1 is the continuation of debugCallWrap on the callee
    // goroutine.
    func debugCallWrap1() {
    	gp := getg()
    	args := (*debugCallWrapArgs)(gp.param)
    	dispatch, callingG := args.dispatch, args.callingG
    	gp.param = nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/cases/tables10.0.0.go

    		c1 := s[1]
    		if c1 < 0x80 || 0xC0 <= c1 {
    			return 0, 1 // Illegal UTF-8: not a continuation byte.
    		}
    		return t.lookupValue(uint32(i), c1), 2
    	case c0 < 0xF0: // 3-byte UTF-8
    		if len(s) < 3 {
    			return 0, 0
    		}
    		i := caseIndex[c0]
    		c1 := s[1]
    		if c1 < 0x80 || 0xC0 <= c1 {
    			return 0, 1 // Illegal UTF-8: not a continuation byte.
    		}
    		o := uint32(i)<<6 + uint32(c1)
    		i = caseIndex[o]
    		c2 := s[2]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

              maskCursor.close()
            }
          }
    
          if (isFinalFrame) break // We are exhausted and have no continuations.
    
          readUntilNonControlFrame()
          if (opcode != OPCODE_CONTINUATION) {
            throw ProtocolException("Expected continuation opcode. Got: ${opcode.toHexString()}")
          }
        }
      }
    
      @Throws(IOException::class)
      override fun close() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/cases/tables9.0.0.go

    		c1 := s[1]
    		if c1 < 0x80 || 0xC0 <= c1 {
    			return 0, 1 // Illegal UTF-8: not a continuation byte.
    		}
    		return t.lookupValue(uint32(i), c1), 2
    	case c0 < 0xF0: // 3-byte UTF-8
    		if len(s) < 3 {
    			return 0, 0
    		}
    		i := caseIndex[c0]
    		c1 := s[1]
    		if c1 < 0x80 || 0xC0 <= c1 {
    			return 0, 1 // Illegal UTF-8: not a continuation byte.
    		}
    		o := uint32(i)<<6 + uint32(c1)
    		i = caseIndex[o]
    		c2 := s[2]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 92.4K bytes
    - Viewed (0)
Back to top