Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for expensive (0.33 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

       * [logCloseableLeak].
       */
      open fun getStackTraceForCloseable(closer: String): Any? {
        return when {
          logger.isLoggable(Level.FINE) -> Throwable(closer) // These are expensive to allocate.
          else -> null
        }
      }
    
      open fun logCloseableLeak(
        message: String,
        stackTrace: Any?,
      ) {
        var logMessage = message
        if (stackTrace == null) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       * canceled. For example, happy-path events like [requestHeadersStart] and [requestHeadersEnd] may
       * occur after a call is canceled. Typically cancellation takes effect when an expensive I/O
       * operation is required.
       *
       * This is invoked at most once, even if [Call.cancel] is invoked multiple times. It may be
       * invoked at any point in a call's life, including before [callStart] and after [callEnd].
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  3. docs/contribute/concurrency.md

    Blocking APIs may be inefficient because you hold a thread idle while waiting on the network. Threads are expensive because they have both a memory overhead and a context-switching overhead.
    
    #### Framed protocols
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    1F611         ; valid                  ;      ; NV8    # 6.1  EXPRESSIONLESS FACE
    1F612..1F614  ; valid                  ;      ; NV8    # 6.0  UNAMUSED FACE..PENSIVE FACE
    1F615         ; valid                  ;      ; NV8    # 6.1  CONFUSED FACE
    1F616         ; valid                  ;      ; NV8    # 6.0  CONFOUNDED FACE
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt

    import okhttp3.Protocol
    
    /**
     * Deferred implementation of SocketAdapter that works by observing the socket
     * and initializing on first use.
     *
     * We use this because eager classpath checks cause confusion and excessive logging in Android,
     * and we can't rely on classnames after proguard, so are probably best served by falling through
     * to a situation of trying our least likely noisiest options.
     */
    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)
Back to top