Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for allocations (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

       * `allocations.size() < allocationLimit` then new streams can be created on this connection.
       */
      internal var allocationLimit = 1
        private set
    
      /** Current calls carried by this connection. */
      val calls = mutableListOf<Reference<RealCall>>()
    
      /** Timestamp when `allocations.size()` reached zero. Also assigned upon initial connection. */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

            key == this.key -> next // Subtract this!
    
            else -> {
              val nextMinusKey = next.plus(key, null)
              when {
                nextMinusKey === next -> this // Same as the following line, but with fewer allocations.
                else -> LinkedTags(this.key, this.value, nextMinusKey)
              }
            }
          }
    
        // Return a new `Tags` that maps `key` to `value`.
        return when {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Shorts.java

       * toIndex} exclusive. This is equivalent to {@code
       * Collections.rotate(Shorts.asList(array).subList(fromIndex, toIndex), distance)}, but is
       * considerably faster and avoids allocations and garbage collection.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Shorts.java

       * toIndex} exclusive. This is equivalent to {@code
       * Collections.rotate(Shorts.asList(array).subList(fromIndex, toIndex), distance)}, but is
       * considerably faster and avoids allocations and garbage collection.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

          eventListener.callFailed(this, result!!)
        } else {
          eventListener.callEnd(this)
        }
        return result
      }
    
      /**
       * Remove this call from the connection's list of allocations. Returns a socket that the caller
       * should close.
       */
      internal fun releaseConnectionNoEvents(): Socket? {
        val connection = this.connection!!
        connection.assertLockHeld()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Ints.java

       * toIndex} exclusive. This is equivalent to {@code
       * Collections.rotate(Ints.asList(array).subList(fromIndex, toIndex), distance)}, but is
       * considerably faster and avoids allocations and garbage collection.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Floats.java

       * toIndex} exclusive. This is equivalent to {@code
       * Collections.rotate(Floats.asList(array).subList(fromIndex, toIndex), distance)}, but is
       * considerably faster and avoids allocations and garbage collection.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

         * sizing; if the Set uses different equality semantics, it might contain duplicates according
         * to equals(), and we will deduplicate those properly, albeit at some cost in allocations.
         */
        int expectedSize =
            elements instanceof Set ? array.length : estimatedSizeForUnknownDuplication(array.length);
        return fromArrayWithExpectedSize(array, expectedSize);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 07 16:09:47 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Doubles.java

       * toIndex} exclusive. This is equivalent to {@code
       * Collections.rotate(Bytes.asList(array).subList(fromIndex, toIndex), distance)}, but is
       * considerably faster and avoids allocations and garbage collection.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

       * toIndex} exclusive. This is equivalent to {@code
       * Collections.rotate(Longs.asList(array).subList(fromIndex, toIndex), distance)}, but is
       * considerably faster and avoids allocations and garbage collection.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 29K bytes
    - Viewed (0)
Back to top