Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Cramer (0.18 sec)

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

      }
    
      /** Maximum length of an outbound data frame.  */
      fun maxOutboundDataLength(): Int = writer.maxDataLength()
    
      /** Count of frames sent or received.  */
      fun frameCount(): Int = frameCount
    
      fun sendFrame(): Http2Writer {
        outFrames.add(OutFrame(frameCount++, bytesOut.size, false))
        return writer
      }
    
      /**
       * Shortens the last frame from its original length to `length`. This will cause the peer to
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          reason: String,
        )
      }
    
      /**
       * Process the next protocol frame.
       *
       *  * If it is a control frame this will result in a single call to [FrameCallback].
       *  * If it is a message frame this will result in a single call to [FrameCallback.onReadMessage].
       *    If the message spans multiple frames, each interleaved control frame will result in a
       *    corresponding call to [FrameCallback].
       */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  3. 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
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  4. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      val showHeaders: Boolean by option("-i", "--include", help = "Include protocol headers in the output").flag()
    
      val showHttp2Frames: Boolean by option("--frames", help = "Log HTTP/2 frames to STDERR").flag()
    
      val referer: String? by option("-e", "--referer", help = "Referer URL")
    
      val verbose: Boolean by option("-v", "--verbose", help = "Makes $NAME verbose during the operation").flag()
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

    import okio.ByteString.Companion.encodeUtf8
    
    object Http2 {
      @JvmField
      val CONNECTION_PREFACE = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n".encodeUtf8()
    
      /** The initial max frame size, applied independently writing to, or reading from the peer. */
      const val INITIAL_MAX_FRAME_SIZE = 0x4000 // 16384
    
      const val TYPE_DATA = 0x0
      const val TYPE_HEADERS = 0x1
      const val TYPE_PRIORITY = 0x2
      const val TYPE_RST_STREAM = 0x3
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

          payload.writeByte('0'.code)
        }
        serverWriter.writeMessageFrame(OPCODE_BINARY, payload.snapshot())
    
        // Write directly to the unbuffered sink. This ensures it will become single frame.
        assertData("827e") // 'e' == 4-byte follow-up length.
        assertData(format("%04X", payload.completeSegmentByteCount()))
        assertData(payload.readByteString())
      }
    
      @Test fun serverMessageLengthLong() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/cookie-params.md

        {!> ../../../docs_src/cookie_params/tutorial001.py!}
        ```
    
    ## Declarar parámetros de `Cookie`
    
    Luego declara los parámetros de cookie usando la misma estructura que con `Path` y `Query`.
    
    El primer valor es el valor por defecto, puedes pasar todos los parámetros adicionales de validación o anotación:
    
    === "Python 3.10+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/cookie_params/tutorial001_an_py310.py!}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 19:30:26 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/flowcontrol/WindowCounter.kt

    class WindowCounter(
      val streamId: Int,
    ) {
      /** The total number of bytes consumed. */
      var total: Long = 0L
        private set
    
      /** The total number of bytes acknowledged by outgoing `WINDOW_UPDATE` frames. */
      var acknowledged: Long = 0L
        private set
    
      val unacknowledged: Long
        @Synchronized get() = total - acknowledged
    
      @Synchronized
      fun update(
        total: Long = 0,
        acknowledged: Long = 0,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

    import org.objectweb.asm.AnnotationVisitor
    import org.objectweb.asm.Attribute
    import org.objectweb.asm.ClassReader
    import org.objectweb.asm.ClassReader.SKIP_CODE
    import org.objectweb.asm.ClassReader.SKIP_FRAMES
    import org.objectweb.asm.FieldVisitor
    import org.objectweb.asm.Opcodes.ACC_ABSTRACT
    import org.objectweb.asm.Opcodes.ACC_PUBLIC
    import org.objectweb.asm.Opcodes.ACC_STATIC
    import org.objectweb.asm.Opcodes.ACC_SYNTHETIC
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/ConnectionShutdownException.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import java.io.IOException
    
    /**
     * Thrown when an HTTP/2 connection is shutdown (either explicitly or if the peer has sent a GOAWAY
     * frame) and an attempt is made to use the connection.
     */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 875 bytes
    - Viewed (0)
Back to top