Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for relation (0.34 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt

     */
    package okhttp3
    
    import java.io.IOException
    import java.net.InetAddress
    import java.net.Socket
    import javax.net.SocketFactory
    
    /**
     * A [SocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureSocket].
     */
    open class DelegatingSocketFactory(private val delegate: SocketFactory) : SocketFactory() {
      @Throws(IOException::class)
      override fun createSocket(): Socket {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt

    import java.net.InetAddress
    import java.net.Socket
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    
    /**
     * A [SSLSocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureSocket].
     */
    open class DelegatingSSLSocketFactory(private val delegate: SSLSocketFactory) : SSLSocketFactory() {
      @Throws(IOException::class)
      override fun createSocket(): SSLSocket {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt

    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.decodeHex
    import okio.DeflaterSink
    
    private val EMPTY_DEFLATE_BLOCK = "000000ffff".decodeHex()
    private const val LAST_OCTETS_COUNT_TO_REMOVE_AFTER_DEFLATION = 4
    
    class MessageDeflater(
      private val noContextTakeover: Boolean,
    ) : Closeable {
      private val deflatedBytes = Buffer()
    
      private val deflater =
        Deflater(
          Deflater.DEFAULT_COMPRESSION,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        filesystem.deleteRecursively(cacheDir)
        assertThat(cache["a"]).isNull()
      }
    
      /**
       * We had a long-lived bug where [DiskLruCache.trimToSize] could infinite loop if entries
       * being edited required deletion for the operation to complete.
       */
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun trimToSizeWithActiveEdit(parameters: Pair<FileSystem, Boolean>) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt

    import java.io.IOException
    import java.net.InetAddress
    import java.net.ServerSocket
    import javax.net.ServerSocketFactory
    
    /**
     * A [ServerSocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureServerSocket].
     */
    open class DelegatingServerSocketFactory(private val delegate: ServerSocketFactory) : ServerSocketFactory() {
      @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (2)
  6. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

        // System.setProperty("jdk.tls.client.enableSessionTicketExtension", "true")
        // System.setProperty("jdk.tls.server.enableSessionTicketExtension", "true")
    
        // IllegalStateException: Cannot resume session and session creation is disabled
        platform.assumeNotBouncyCastle()
      }
    
      @ParameterizedTest(name = "{displayName}({arguments})")
      @ValueSource(strings = ["TLSv1.2", "TLSv1.3"])
      @Flaky
      fun testSessionReuse(tlsVersion: String) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        entry.currentEditor = editor
        return editor
      }
    
      /**
       * Returns the number of bytes currently being used to store the values in this cache. This may be
       * greater than the max size if a background deletion is pending.
       */
      @Synchronized
      @Throws(IOException::class)
      fun size(): Long {
        initialize()
        return size
      }
    
      @Synchronized
      @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  8. okhttp/src/main/resources/META-INF/proguard/okhttp3.pro

    # JSR 305 annotations are for embedding nullability information.
    -dontwarn javax.annotation.**
    
    # A resource is loaded with a relative path so the package of this class must be preserved.
    -keeppackagenames okhttp3.internal.publicsuffix.*
    -adaptresourcefilenames okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz
    
    # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
    -dontwarn org.codehaus.mojo.animal_sniffer.*
    
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 682 bytes
    - Viewed (0)
  9. .github/workflows/build.yml

            uses: reactivecircus/android-emulator-runner@v2
            with:
              api-level: ${{ matrix.api-level }}
              arch: ${{ matrix.api-level == '34' && 'x86_64' || 'x86' }}
              force-avd-creation: false
              emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
              disable-animations: false
              script: echo "Generated AVD snapshot for caching."
    
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 01:51:50 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

                throw IOException("Header index too large ${index + 1}")
              }
              headerList += dynamicTable[dynamicTableIndex]!!
            }
          }
    
          // referencedHeaders is relative to nextHeaderIndex + 1.
          private fun dynamicTableIndex(index: Int): Int {
            return nextHeaderIndex + 1 + index
          }
    
          @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (1)
Back to top