- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for Coalesced (0.25 sec)
-
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) -
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/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) -
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) -
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) -
pkg/util/async/bounded_frequency_runner.go
// This can be used, for example, to mitigate the impact of expensive operations // being called in response to user-initiated operations. Run requests that // would violate the minInterval are coalesced and run at the next opportunity. // // The function will be run at least once per maxInterval. For example, this can // force periodic refreshes of state in the absence of anyone calling Run. // // Examples: //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 15 09:36:26 UTC 2022 - 9.4K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/vfs/FileSystemWatchingSoakTest.groovy
private static int minimumExpectedFileSystemEvents(int numberOfChangedFiles, int numberOfChangesPerFile) { def currentOs = OperatingSystem.current() if (currentOs.macOsX) { // macOS coalesces the changes if the are in short succession return numberOfChangedFiles * numberOfChangesPerFile * LOST_EVENTS_RATIO_MAC_OS } else if (currentOs.linux) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.6K bytes - Viewed (0)