Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for Coalesced (0.23 sec)

  1. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

       * - 2 requests happen concurrently to a host that can be coalesced onto a single connection.
       * - Both request discover no existing connection. They both make a connection.
       * - The first request "wins the race".
       * - The second request discovers it "lost the race" and closes the connection it just opened.
       * - The second request uses the coalesced connection from request1.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

            routes = routes,
            requireMultiplexed = planToReplace != null && planToReplace.isReady,
          ) ?: return null
    
        // If we coalesced our connection, remember the replaced connection's route. That way if the
        // coalesced connection later fails we don't waste a valid route.
        if (planToReplace != null) {
          nextRouteToTry = planToReplace.route
          planToReplace.closeQuietly()
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

        assertEquals(!rangeSet.asDescendingSetOfRanges().iterator().hasNext(), rangeSet.isEmpty());
    
        List<Range<C>> asRanges = ImmutableList.copyOf(rangeSet.asRanges());
    
        // test that connected ranges are coalesced
        for (int i = 0; i + 1 < asRanges.size(); i++) {
          Range<C> range1 = asRanges.get(i);
          Range<C> range2 = asRanges.get(i + 1);
          assertFalse(range1.isConnected(range2));
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeMap.java

        coalescedRange = coalesce(coalescedRange, value, lowerEntry);
    
        Entry<Cut<K>, RangeMapEntry<K, V>> higherEntry =
            entriesByLowerBound.floorEntry(range.upperBound);
        coalescedRange = coalesce(coalescedRange, value, higherEntry);
    
        return coalescedRange;
      }
    
      /** Returns the range that spans the given range and entry, if the entry can be coalesced. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RangeMap.java

       * connect to the given range and value.
       *
       * <p>Even if the input range is empty, if it is connected on both sides by ranges mapped to the
       * same value those two ranges will be coalesced.
       *
       * <p><b>Note:</b> coalescing requires calling {@code .equals()} on any connected values, which
       * may be expensive depending on the value type. Using this method on range maps with large values
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TreeRangeMap.java

        coalescedRange = coalesce(coalescedRange, value, lowerEntry);
    
        Entry<Cut<K>, RangeMapEntry<K, V>> higherEntry =
            entriesByLowerBound.floorEntry(range.upperBound);
        coalescedRange = coalesce(coalescedRange, value, higherEntry);
    
        return coalescedRange;
      }
    
      /** Returns the range that spans the given range and entry, if the entry can be coalesced. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 04 14:31:50 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RangeSet.java

       * range set for which both {@code a.enclosesAll(b)} and {@code a.encloses(range)}.
       *
       * <p>Note that {@code range} will be {@linkplain Range#span(Range) coalesced} with any ranges in
       * the range set that are {@linkplain Range#isConnected(Range) connected} with it. Moreover, if
       * {@code range} is empty, this is a no-op.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RangeSet.java

       * range set for which both {@code a.enclosesAll(b)} and {@code a.encloses(range)}.
       *
       * <p>Note that {@code range} will be {@linkplain Range#span(Range) coalesced} with any ranges in
       * the range set that are {@linkplain Range#isConnected(Range) connected} with it. Moreover, if
       * {@code range} is empty, this is a no-op.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

       *  * A authorization challenge (HTTP 401 and 407) that is satisfied by the [Authenticator].
       *  * A retryable server failure (HTTP 503 with a `Retry-After: 0` response header).
       *  * A misdirected request (HTTP 421) on a coalesced connection.
       */
      open fun isOneShot(): Boolean = commonIsOneShot()
    
      companion object {
        /**
         * Returns a new request body that transmits this string. If [contentType] is non-null and lacks
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/RangeMap.java

       * connect to the given range and value.
       *
       * <p>Even if the input range is empty, if it is connected on both sides by ranges mapped to the
       * same value those two ranges will be coalesced.
       *
       * <p><b>Note:</b> coalescing requires calling {@code .equals()} on any connected values, which
       * may be expensive depending on the value type. Using this method on range maps with large values
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top