Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Stack (0.15 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

    import okio.Buffer
    import okio.BufferedSink
    import okio.ByteString
    
    internal class DerWriter(sink: BufferedSink) {
      /** A stack of buffers that will be concatenated once we know the length of each. */
      private val stack = mutableListOf(sink)
    
      /** Type hints scoped to the call stack, manipulated with [pushTypeHint] and [popTypeHint]. */
      private val typeHintStack = mutableListOf<Any?>()
    
      /**
    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)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

              }
              Unit
            }
        } catch (e: IOException) {
          System.err.println(e)
        }
      }
    }
    
    fun main() {
      // Call this before anything else initialises the JSSE stack.
      WireSharkListenerFactory.register()
    
      val example = WiresharkExample(tlsVersions = listOf(TLS_1_2), launch = CommandLine)
      example.run()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        get() = countingSource.bytesRead - source.buffer.size
    
      /** How many bytes to read before [peekHeader] should return false, or -1L for no limit. */
      private var limit = -1L
    
      /** Type hints scoped to the call stack, manipulated with [withTypeHint]. */
      private val typeHintStack = mutableListOf<Any?>()
    
      /**
       * The type hint for the current object. Used to pick adapters based on other fields, such as
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    AB69          ; mapped                 ; 028D          # 13.0 MODIFIER LETTER SMALL TURNED W
    AB6A..AB6B    ; valid                  ;      ; NV8    # 13.0 MODIFIER LETTER LEFT TACK..MODIFIER LETTER RIGHT TACK
    AB6C..AB6F    ; disallowed                             # NA   <reserved-AB6C>..<reserved-AB6F>
    AB70          ; mapped                 ; 13A0          # 8.0  CHEROKEE SMALL LETTER A
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        eventListener.callStart(this)
      }
    
      @Throws(IOException::class)
      internal fun getResponseWithInterceptorChain(): Response {
        // Build a full stack of interceptors.
        val interceptors = mutableListOf<Interceptor>()
        interceptors += client.interceptors
        interceptors += RetryAndFollowUpInterceptor(client)
        interceptors += BridgeInterceptor(client.cookieJar)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  6. mockwebserver/README.md

    makes HTTP and HTTPS calls. It lets you specify which responses to return and
    then verify that requests were made as expected.
    
    Because it exercises your full HTTP stack, you can be confident that you're
    testing everything. You can even copy & paste HTTP responses from your real web
    server to create representative test cases. Or test that your code survives in
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        logger.log(logLevel, message, t)
      }
    
      open fun isCleartextTrafficPermitted(hostname: String): Boolean = true
    
      /**
       * Returns an object that holds a stack trace created at the moment this method is executed. This
       * should be used specifically for [java.io.Closeable] objects and in conjunction with
       * [logCloseableLeak].
       */
    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 (1)
  8. docs/works_with_okhttp.md

     * [Cronet Transport for OkHttp](https://github.com/google/cronet-transport-for-okhttp): A HTTP3 ready transport layer for OkHttp on Android, based on Chromium network stack.
     * [CWAC-NetSecurity](https://github.com/commonsguy/cwac-netsecurity): Simplifying Secure Internet Access.
     * [Failsafe](https://failsafe.dev/okhttp/): Fault tolerance and resilience patterns.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Jun 08 18:15:23 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  9. mkdocs.yml

            'concurrency.md': 'contribute/concurrency.md'
            'debug_logging.md': 'contribute/debug_logging.md'
    
    nav:
      - 'Overview':
        - 'Overview': index.md
        - 'Stack Overflow': https://stackoverflow.com/questions/tagged/okhttp?sort=active
      - 'Features':
        - 'Calls': features/calls.md
        - 'Caching': features/caching.md
        - 'Connections': features/connections.md
    Others
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Nov 20 15:26:12 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        assertThat(connection.peerSettings[Settings.MAX_CONCURRENT_STREAMS]).isEqualTo(amount)
        taskFaker.runTasks()
      }
    
      /** Use a helper method so there's no hidden reference remaining on the stack.  */
      private fun allocateAndLeakAllocation(
        pool: ConnectionPool,
        connection: RealConnection,
      ) {
        val client =
          OkHttpClient.Builder()
            .connectionPool(pool)
            .build()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top