Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for windowUpdate (0.24 sec)

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

        frame.writeInt(expectedWindowSizeIncrement.toInt())
    
        // Check writer sends the same bytes.
        assertThat(windowUpdate(expectedWindowSizeIncrement)).isEqualTo(frame)
        reader.nextFrame(
          requireSettings = false,
          object : BaseTestHandler() {
            override fun windowUpdate(
              streamId: Int,
              windowSizeIncrement: Long,
            ) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/BaseTestHandler.kt

        payload2: Int,
      ) {
        fail("")
      }
    
      override fun goAway(
        lastGoodStreamId: Int,
        errorCode: ErrorCode,
        debugData: ByteString,
      ) {
        fail("")
      }
    
      override fun windowUpdate(
        streamId: Int,
        windowSizeIncrement: Long,
      ) {
        fail("")
      }
    
      override fun priority(
        streamId: Int,
        streamDependency: Int,
        weight: Int,
        exclusive: Boolean,
      ) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        for (i in 0..2) {
          val windowUpdateStreamIds: MutableList<Int?> = ArrayList(2)
          for (j in 0..1) {
            val windowUpdate = peer.takeFrame()
            assertThat(windowUpdate.type).isEqualTo(Http2.TYPE_WINDOW_UPDATE)
            windowUpdateStreamIds.add(windowUpdate.streamId)
            assertThat(windowUpdate.windowSizeIncrement).isEqualTo(windowUpdateThreshold.toLong())
          }
          // connection
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      }
    
      internal fun writeWindowUpdateLater(
        streamId: Int,
        unacknowledgedBytesRead: Long,
      ) {
        writerQueue.execute("$connectionName[$streamId] windowUpdate") {
          try {
            writer.windowUpdate(streamId, unacknowledgedBytesRead)
          } catch (e: IOException) {
            failConnection(e)
          }
        }
      }
    
      fun writePing(
        reply: Boolean,
        payload1: Int,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          check(type == -1)
          this.type = Http2.TYPE_GOAWAY
          this.streamId = lastGoodStreamId
          this.errorCode = errorCode
          this.data = debugData.toByteArray()
        }
    
        override fun windowUpdate(
          streamId: Int,
          windowSizeIncrement: Long,
        ) {
          check(type == -1)
          this.type = Http2.TYPE_WINDOW_UPDATE
          this.streamId = streamId
    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)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

            frameLogWindowUpdate(
              inbound = true,
              streamId = streamId,
              length = length,
              windowSizeIncrement = increment,
            ),
          )
        }
        handler.windowUpdate(streamId, increment)
      }
    
      @Throws(IOException::class)
      override fun close() {
        source.close()
      }
    
      /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

        }
      }
    
      /**
       * Inform peer that an additional `windowSizeIncrement` bytes can be sent on `streamId`, or the
       * connection if `streamId` is zero.
       */
      @Throws(IOException::class)
      fun windowUpdate(
        streamId: Int,
        windowSizeIncrement: Long,
      ) {
        this.withLock {
          if (closed) throw IOException("closed")
          require(windowSizeIncrement != 0L && windowSizeIncrement <= 0x7fffffffL) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/http2/Http2Connection$ReaderRunnable;->settings(ZLokhttp3/internal/http2/Settings;)V
    HSPLokhttp3/internal/http2/Http2Connection$ReaderRunnable;->windowUpdate(IJ)V
    HSPLokhttp3/internal/http2/Http2Connection;-><clinit>()V
    HSPLokhttp3/internal/http2/Http2Connection;-><init>(Lokhttp3/internal/http2/Http2Connection$Builder;)V
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  9. ci/devinfra/docker_windows/Dockerfile

        choco install ccleaner; \
        choco install chocolatey; \
        choco install chocolatey-core.extension; \
        choco install chocolatey-visualstudio.extension; \
        choco install chocolatey-windowsupdate.extension; \
        choco install cmake.install; \
        choco install dotnetcore-sdk; \
        choco install git; \
        choco install git.install; \
        choco install GoogleChrome; \
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
Back to top