Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for supplied (0.2 sec)

  1. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

    import okhttp3.Handshake
    import okhttp3.HttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    
    /**
     * An OkHttp EventListener, which logs call events. Can be applied as an
     * [event listener factory][OkHttpClient.eventListenerFactory].
     *
     * The format of the logs created by this class should not be considered stable and may change
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

            return MappedRange.InlineDelta(mapping.rangeStart, codePointDelta)
          }
        }
      }
      return null
    }
    
    /**
     * Inputs must have applied [withoutSectionSpans].
     */
    internal fun sections(mappings: List<Mapping>): Map<Int, List<MappedRange>> {
      val result = mutableMapOf<Int, MutableList<MappedRange>>()
    
      for (mapping in mappings) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

         *
         * For tests this must be big enough to realize real compression on test messages like
         * 'aaaaaaaaaa...'. Our tests check if compression was applied just by looking at the size if
         * the inbound buffer.
         */
        const val DEFAULT_MINIMUM_DEFLATE_SIZE = 1024L
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

         * execute all peer settings logic on the writer thread. This relies on the fact that the
         * writer task queue won't reorder tasks; otherwise settings could be applied in the opposite
         * order than received.
         */
        fun applyAndAckSettings(
          clearPrevious: Boolean,
          settings: Settings,
        ) {
          var delta: Long
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

    import okhttp3.internal.format
    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
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     */
    internal class IdnaMappingTable internal constructor(
      val sections: String,
      val ranges: String,
      val mappings: String,
    ) {
      /**
       * Returns true if the [codePoint] was applied successfully. Returns false if it was disallowed.
       */
      fun map(
        codePoint: Int,
        sink: BufferedSink,
      ): Boolean {
        val sectionsIndex = findSectionsIndex(codePoint)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CacheTest.kt

            .build(),
        )
    
        // At least three request/response pairs are required because after the first request is cached
        // a different execution path might be taken. Thus modifications to the cache applied during
        // the second request might not be visible until another request is performed.
        assertThat(get(server.url("/")).body.string()).isEqualTo("ABCABCABC")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/FrameLogTest.kt

    import okhttp3.internal.http2.Http2.frameLog
    import okhttp3.internal.http2.Http2.frameLogWindowUpdate
    import org.junit.jupiter.api.Test
    
    class FrameLogTest {
      /** Real stream traffic applied to the log format.  */
      @Test
      fun exampleStream() {
        assertThat(frameLog(false, 0, 5, TYPE_SETTINGS, FLAG_NONE))
          .isEqualTo(">> 0x00000000     5 SETTINGS      ")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val settings = Settings()
        settings[Settings.HEADER_TABLE_SIZE] = 0
        val connection = connectWithSettings(client, settings)
    
        // Verify the peer's settings were read and applied.
        assertThat(connection.peerSettings.headerTableSize).isEqualTo(0)
        val writer = connection.writer
        assertThat(writer.hpackWriter.dynamicTableByteCount).isEqualTo(0)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  10. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    studio
    
    // study : 2014-12-11 Registry Services, LLC
    study
    
    // style : 2014-12-04 Binky Moon, LLC
    style
    
    // sucks : 2014-12-22 Vox Populi Registry Ltd.
    sucks
    
    // supplies : 2013-12-19 Binky Moon, LLC
    supplies
    
    // supply : 2013-12-19 Binky Moon, LLC
    supply
    
    // support : 2013-10-24 Binky Moon, LLC
    support
    
    // surf : 2014-01-09 Registry Services, LLC
    surf
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top