Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for longKey (0.13 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
         * notified. The caller must cancel the returned event source when it is no longer in use.
         */
        fun newEventSource(
          request: Request,
          listener: EventSourceListener,
        ): EventSource
    
        companion object {
          /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TopKSelector.java

            @SuppressWarnings("nullness") // safe because we pass sort() a range that contains real Ts
            T[] castBuffer = (T[]) buffer;
            // We've already taken O(k log k), let's make sure we don't take longer than O(k log k).
            sort(castBuffer, left, right + 1, comparator);
            break;
          }
        }
        bufferSize = k;
    
        threshold = uncheckedCastNullableTToT(buffer[minThresholdPosition]);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

            success = true
          } catch (e: RejectedExecutionException) {
            failRejected(e)
          } finally {
            if (!success) {
              client.dispatcher.finished(this) // This call is no longer running!
            }
          }
        }
    
        internal fun failRejected(e: RejectedExecutionException? = null) {
          val ioException = InterruptedIOException("executor rejected")
          ioException.initCause(e)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/Types.java

          return true;
        }
      }
    
      /**
       * Per <a href="https://github.com/google/guava/issues/1635">issue 1635</a>, In JDK 1.7.0_51-b13,
       * {@link TypeVariableImpl#equals(Object)} is changed to no longer be equal to custom TypeVariable
       * implementations. As a result, we need to make sure our TypeVariable implementation respects
       * symmetry. Moreover, we don't want to reconstruct a native type variable {@code <A>} using our
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Types.java

          return true;
        }
      }
    
      /**
       * Per <a href="https://github.com/google/guava/issues/1635">issue 1635</a>, In JDK 1.7.0_51-b13,
       * {@link TypeVariableImpl#equals(Object)} is changed to no longer be equal to custom TypeVariable
       * implementations. As a result, we need to make sure our TypeVariable implementation respects
       * symmetry. Moreover, we don't want to reconstruct a native type variable {@code <A>} using our
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. docs/recipes.md

    Use `Call.cancel()` to stop an ongoing call immediately. If a thread is currently writing a request or reading a response, it will receive an `IOException`. Use this to conserve the network when a call is no longer necessary; for example when your user navigates away from an application. Both synchronous and asynchronous calls can be canceled.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
Back to top