Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Continuation (0.34 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

      private fun readHeaderBlock(
        length: Int,
        padding: Int,
        flags: Int,
        streamId: Int,
      ): List<Header> {
        continuation.left = length
        continuation.length = continuation.left
        continuation.padding = padding
        continuation.flags = flags
        continuation.streamId = streamId
    
        // TODO: Concat multi-value headers with 0x0, except COOKIE, which uses 0x3B, 0x20.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/cryptobyte/builder.go

    //	  })
    //	})
    //
    // It is an error to write more bytes to the child than allowed by the reserved
    // length prefix. After the continuation returns, the child must be considered
    // invalid, i.e. users must not store any copies or references of the child
    // that outlive the continuation.
    //
    // If the continuation panics with a value of type BuildError then the inner
    // error will be returned as the error from Bytes. If the child panics
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. 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)
  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. 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)
  6. internal/s3select/message.go

    //
    // Header specification:
    // Continuation messages contain two headers, as follows:
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-cont.png
    //
    // Payload specification:
    // Continuation messages have no payload.
    var continuationMessage = []byte{
    	0, 0, 0, 57, // total byte-length.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/internal/test2json/test2json.go

    				l.line(l.b[i:e])
    			}
    			i = e
    		}
    
    		// Whatever's left in l.b is a line fragment.
    		if i == 0 && len(l.b) == cap(l.b) {
    			// The whole buffer is a fragment.
    			// Emit it as the beginning (or continuation) of a partial line.
    			t := trimUTF8(l.b)
    			l.part(l.b[:t])
    			l.b = l.b[:copy(l.b, l.b[t:])]
    			l.mid = true
    		}
    
    		// There's room for more input.
    		// Slide it down in hope of completing the line.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 14.5K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/text/unicode/norm/normalize.go

    			return false
    		}
    		bp, _ = rb.f.quickSpan(rb.src, bp, len(s), true)
    	}
    	return true
    }
    
    // patchTail fixes a case where a rune may be incorrectly normalized
    // if it is followed by illegal continuation bytes. It returns the
    // patched buffer and whether the decomposition is still in progress.
    func patchTail(rb *reorderBuffer) bool {
    	info, p := lastRuneStart(&rb.f, rb.out)
    	if p == -1 || info.size == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 14.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    			return false
    		}
    		bp, _ = rb.f.quickSpan(rb.src, bp, len(s), true)
    	}
    	return true
    }
    
    // patchTail fixes a case where a rune may be incorrectly normalized
    // if it is followed by illegal continuation bytes. It returns the
    // patched buffer and whether the decomposition is still in progress.
    func patchTail(rb *reorderBuffer) bool {
    	info, p := lastRuneStart(&rb.f, rb.out)
    	if p == -1 || info.size == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top