- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 393 for duration (0.09 sec)
-
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
@SuppressWarnings("Java7ApiChecker") // If users use this when they shouldn't, we hope that NewApi will catch subsequent Duration calls @IgnoreJRERequirement public ImmutableMap<Service, Duration> startupDurations() { return ImmutableMap.copyOf( Maps.<Service, Long, Duration>transformValues(startupTimes(), Duration::ofMillis)); } @Override public String toString() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 33.5K bytes - Viewed (0) -
internal/config/callhome/help.go
Type: "on|off", Description: "set to enable callhome" + defaultHelpPostfix(Enable), Optional: true, }, config.HelpKV{ Key: Frequency, Type: "duration", Description: "time duration between callhome cycles e.g. 24h" + defaultHelpPostfix(Frequency), Optional: true, }, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 06 23:14:52 UTC 2022 - 1.4K bytes - Viewed (0) -
cmd/rebalance-admin.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 22 00:56:43 UTC 2023 - 3.8K bytes - Viewed (0) -
cmd/site-replication-utils.go
for { if err := sm.load(ctx, newObjectLayerFn()); err == nil { <-ctx.Done() return } duration := time.Duration(r.Float64() * float64(time.Second*10)) if duration < time.Second { // Make sure to sleep at least a second to avoid high CPU ticks. duration = time.Second } time.Sleep(duration) } } // load resync metrics saved on disk into memory
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 8.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
String throughput = ""; long duration = System.currentTimeMillis() - resource.getTransferStartTime(); if (duration > 0) { DecimalFormat format = new DecimalFormat("0.0", new DecimalFormatSymbols(Locale.ENGLISH)); double kbPerSec = (contentLength / 1024.0) / (duration / 1000.0); throughput = " at " + format.format(kbPerSec) + " KB/sec";
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
@GwtIncompatible // BlockingQueue @SuppressWarnings("Java7ApiChecker") @IgnoreJRERequirement // Users will use this only if they're already using Duration public static <E> int drain( BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout) throws InterruptedException { // TODO(b/126049426): Consider using saturateToNanos(timeout) instead.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 26 14:11:14 UTC 2024 - 18.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/RateLimiter.java
import com.google.common.util.concurrent.SmoothRateLimiter.SmoothBursty; import com.google.common.util.concurrent.SmoothRateLimiter.SmoothWarmingUp; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.time.Duration; import java.util.Locale; import java.util.concurrent.TimeUnit; import javax.annotation.CheckForNull; /** * A rate limiter. Conceptually, a rate limiter distributes permits at a configurable rate. Each
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 21.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
MockResponse.Builder() .headersDelay(500, TimeUnit.MILLISECONDS) .build(), ) client = client.newBuilder() .readTimeout(Duration.ZERO) .writeTimeout(Duration.ZERO) .callTimeout(Duration.ofMillis(100)) .build() newWebSocket() clientListener.assertFailure(InterruptedIOException::class.java, "timeout") } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 35.2K bytes - Viewed (0) -
internal/cachevalue/cache.go
func NewFromFunc[T any](ttl time.Duration, opts Opts, update func(ctx context.Context) (T, error)) *Cache[T] { return &Cache[T]{ ttl: ttl, updateFn: update, opts: opts, } } // InitOnce initializes the cache with a TTL and an update function. It is // guaranteed to be called only once. func (t *Cache[T]) InitOnce(ttl time.Duration, opts Opts, update func(ctx context.Context) (T, error)) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 12:50:46 UTC 2024 - 4.4K bytes - Viewed (0) -
tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py
"repeat_at": "15:30:00", "process_after": 300, } expected_response = data.copy() expected_response.update( { "start_process": "2018-12-22T14:05:00+00:00", "duration": 176_100, "item_id": item_id, } ) response = client.put(f"/items/{item_id}", json=data) assert response.status_code == 200, response.text assert response.json() == expected_response
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 6.8K bytes - Viewed (0)