- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 397 for durations (0.62 sec)
-
cmd/data-scanner-metric.go
startTime := time.Now() return func(custom map[string]string) { duration := time.Since(startTime) atomic.AddUint64(&p.operations[s], 1) if s < scannerMetricLastRealtime { p.latency[s].add(duration) } if s > scannerMetricStartTrace && globalTrace.NumSubscribers(madmin.TraceScanner) > 0 { globalTrace.Publish(scannerTrace(s, startTime, duration, strings.Join(paths, " "), custom)) } } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Oct 01 06:06:01 UTC 2025 - 9.4K bytes - Viewed (0) -
internal/config/heal/heal.go
Bitrot string `json:"bitrotscan"` // maximum sleep duration between objects to slow down heal operation. Sleep time.Duration `json:"sleep"` IOCount int `json:"iocount"` DriveWorkers int `json:"drive_workers"` // Cached value from Bitrot field cache struct { // -1: bitrot enabled, 0: bitrot disabled, > 0: bitrot cycle bitrotCycle time.Duration } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Nov 04 19:06:02 UTC 2024 - 4.9K bytes - Viewed (0) -
internal/config/drive/drive.go
MaxTimeout time.Duration `json:"maxTimeout"` } // Update - updates the config with latest values func (c *Config) Update(updated Config) error { configLk.Lock() defer configLk.Unlock() c.MaxTimeout = getMaxTimeout(updated.MaxTimeout) return nil } // GetMaxTimeout - returns the per call drive operation timeout func (c *Config) GetMaxTimeout() time.Duration { return c.GetOPTimeout() }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Nov 11 14:51:43 UTC 2024 - 3K bytes - Viewed (0) -
cmd/last-minute.go
Size int64 N int64 } // Add a duration to a single element. func (a *AccElem) add(dur time.Duration) { if dur < 0 { dur = 0 } a.Total += int64(dur) a.N++ } // Merge b into a. func (a *AccElem) merge(b AccElem) { a.N += b.N a.Total += b.Total a.Size += b.Size } // Avg returns average time spent. func (a AccElem) avg() time.Duration { if a.N >= 1 && a.Total > 0 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jul 05 17:40:45 UTC 2023 - 4.8K bytes - Viewed (0) -
docs_src/extra_data_types/tutorial001_an_py39.py
): start_process = start_datetime + process_after duration = end_datetime - start_process return { "item_id": item_id, "start_datetime": start_datetime, "end_datetime": end_datetime, "process_after": process_after, "repeat_at": repeat_at, "start_process": start_process, "duration": duration,Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 801 bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.j2objc.annotations.J2ObjCIncompatible; import java.time.Duration; import java.util.concurrent.TimeUnit; /** * An object that accurately measures <i>elapsed time</i>: the measured duration between two * successive readings of "now" in the same process. * * <p>In contrast, <i>wall time</i> is a reading of "now" as given by a method like
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 9.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java
} public static String formatDuration(Duration duration) { long days = duration.toDays(); long hours = duration.toHoursPart(); long minutes = duration.toMinutesPart(); long seconds = duration.toSecondsPart(); long millis = duration.toMillisPart(); if (days > 0) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Feb 10 15:02:53 UTC 2025 - 6.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/BuildSuccess.java
this(project, Duration.ofMillis(time)); } /** * Creates a new build summary for the specified project. * * @param project The project being summarized, must not be {@code null}. * @param time The build time of the project in milliseconds. */ public BuildSuccess(MavenProject project, Duration time) { this(project, time, time); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Dec 12 11:02:17 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertThrows(IllegalStateException.class, () -> builder2.weakValues()); } @GwtIncompatible // Duration @IgnoreJRERequirement // No more dangerous than wherever the caller got the Duration from public void testLargeDurationsAreOk() { Duration threeHundredYears = Duration.ofDays(365 * 300); CacheBuilder<Object, Object> unused = CacheBuilder.newBuilder()
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 25.4K bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial003_py310.py
before = time.time() response: Response = await original_route_handler(request) duration = time.time() - before response.headers["X-Response-Time"] = str(duration) print(f"route duration: {duration}") print(f"route response: {response}") print(f"route response headers: {response.headers}") return response
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 1K bytes - Viewed (0)