Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Window (0.22 sec)

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

          this.data = debugData.toByteArray()
        }
    
        override fun windowUpdate(
          streamId: Int,
          windowSizeIncrement: Long,
        ) {
          check(type == -1)
          this.type = Http2.TYPE_WINDOW_UPDATE
          this.streamId = streamId
          this.windowSizeIncrement = windowSizeIncrement
        }
    
        override fun priority(
          streamId: Int,
          streamDependency: Int,
          weight: Int,
    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/http2/Http2.kt

        )
      }
    
      /**
       * Returns a human-readable representation of a `WINDOW_UPDATE` frame. This frame includes the
       * window size increment instead of flags.
       */
      fun frameLogWindowUpdate(
        inbound: Boolean,
        streamId: Int,
        length: Int,
        windowSizeIncrement: Long,
      ): String {
        val formattedType = formattedType(TYPE_WINDOW_UPDATE)
        val direction = if (inbound) "<<" else ">>"
        return format(
    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)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

              // We defer throwing the exception until now so that we can refill the connection
              // flow-control window. This is necessary because we don't transmit window updates until
              // the application reads the data. If we throw this prior to updating the connection
              // flow-control window, we risk having it go to 0 preventing the server from sending data.
              throw errorExceptionToDeliver!!
            }
    
    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. docs/changelogs/changelog_4x.md

     *  Fix: Reliably update and invalidate the disk cache on windows. As originally designed our
        internal `DiskLruCache` assumes an inode-like file system, where it's fine to delete files that
        are currently being read or written. On Windows the file system forbids this so we must be more
        careful when deleting and renaming files.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

     * `server_max_window_bits`, and `server_no_context_takeover`.
     *
     * Typically this will look like one of the following:
     *
     * ```
     * Sec-WebSocket-Extensions: permessage-deflate
     * Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits="15"
     * Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits=15
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/SettingsTest.kt

          Settings.DEFAULT_INITIAL_WINDOW_SIZE,
        )
        settings[Settings.INITIAL_WINDOW_SIZE] = 108
        assertThat(settings.initialWindowSize).isEqualTo(108)
      }
    
      @Test
      fun merge() {
        val a = Settings()
        a[Settings.HEADER_TABLE_SIZE] = 10000
        a[Settings.MAX_HEADER_LIST_SIZE] = 20000
        a[Settings.INITIAL_WINDOW_SIZE] = 30000
        val b = Settings()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        out1.write(ByteArray(Settings.DEFAULT_INITIAL_WINDOW_SIZE))
        out1.flush()
    
        // Check that we've filled the window for both the stream and also the connection.
        assertThat(connection.writeBytesTotal)
          .isEqualTo(Settings.DEFAULT_INITIAL_WINDOW_SIZE.toLong())
        assertThat(connection.writeBytesMaximum)
          .isEqualTo(Settings.DEFAULT_INITIAL_WINDOW_SIZE.toLong())
        assertThat(stream1.writeBytesTotal)
    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)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

          return if (bit and set != 0) values[HEADER_TABLE_SIZE] else -1
        }
    
      val initialWindowSize: Int
        get() {
          val bit = 1 shl INITIAL_WINDOW_SIZE
          return if (bit and set != 0) values[INITIAL_WINDOW_SIZE] else DEFAULT_INITIAL_WINDOW_SIZE
        }
    
      fun clear() {
        set = 0
        values.fill(0)
      }
    
      operator fun set(
        id: Int,
        value: Int,
      ): Settings {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. 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,
    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)
  10. android-test/README.md

    ```
    
    2. Run an Emulator using Android Studio or from command line.
    
    ```
    $ emulator -no-window -no-snapshot-load @pixel5
    ```
    
    2. Turn on logs with logcat
    
    ```
    $ adb logcat '*:E' OkHttp:D Http2:D TestRunner:D TaskRunner:D OkHttpTest:D GnssHAL_GnssInterface:F DeviceStateChecker:F memtrack:F
    ...
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2.5K bytes
    - Viewed (0)
Back to top