- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for Coalesced (0.34 sec)
-
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) -
src/net/http/httptrace/trace.go
} } if trace.DNSDone != nil { nt.DNSDone = func(netIPs []any, coalesced bool, err error) { addrs := make([]net.IPAddr, len(netIPs)) for i, ip := range netIPs { addrs[i] = ip.(net.IPAddr) } trace.DNSDone(DNSDoneInfo{ Addrs: addrs, Coalesced: coalesced, Err: err, }) } } ctx = context.WithValue(ctx, nettrace.TraceKey{}, nt) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 8.1K bytes - Viewed (0) -
src/internal/nettrace/nettrace.go
// before it begins. DNSStart func(name string) // DNSDone is called after a DNS lookup completes (or fails). // The coalesced parameter is whether singleflight de-duped // the call. The addrs are of type net.IPAddr but can't // actually be for circular dependency reasons. DNSDone func(netIPs []any, coalesced bool, err error) // ConnectStart is called before a Dial, excluding Dials made
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:57:14 UTC 2023 - 1.8K bytes - Viewed (0) -
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) -
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) -
src/runtime/mranges_test.go
if ranges[i-1].Base() >= ranges[i].Base() { t.Errorf("ranges %d and %d are out of sorted order", i-1, i) } // Check for a failure to coalesce. if ranges[i-1].Limit() == ranges[i].Base() { t.Errorf("ranges %d and %d should have coalesced", i-1, i) } // Check if any ranges overlap. Because the ranges are sorted // by base, it's sufficient to just check neighbors.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 23 23:01:52 UTC 2020 - 5.7K bytes - Viewed (0) -
pkg/version/cobra_test.go
args: strings.Split("version --output xyz", " "), expectedRegexp: regexp.MustCompile("Error: --output must be 'yaml' or 'json'\n"), expectFail: true, }, { // case 10 remote, coalesced version output args: strings.Split("version --short=true --remote=true --output=", " "), remoteMesh: &meshInfoSingleVersion, expectedOutput: `client version: unknown control plane version: 1.2.0 `,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 29 14:15:26 UTC 2023 - 8.5K bytes - Viewed (0) -
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) -
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) -
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)