- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 341 for durations (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/rest/client.go
} // computes the exponential backoff duration according to // https://www.awsarchitectureblog.com/2015/03/backoff.html func exponentialBackoffWait(r *rand.Rand, unit, maxSleep time.Duration) func(uint) time.Duration { if unit > time.Hour { // Protect against integer overflow panic("unit cannot exceed one hour") } return func(attempt uint) time.Duration { if attempt > 16 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
assertEquals(6000000000L, ticker.read()); } @GwtIncompatible // java.time.Duration @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents. public void testAutoIncrementStep_duration() { FakeTicker ticker = new FakeTicker().setAutoIncrementStep(Duration.ofMillis(1)); assertEquals(0, ticker.read()); assertEquals(1000000, ticker.read());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.3K bytes - Click Count (0) -
internal/logger/help.go
Description: `sleep between each retries, allowed maximum value is '1m' e.g. '10s'`, Optional: true, Type: "duration", }, config.HelpKV{ Key: httpTimeout, Description: `defines the maximum duration for each http request`, Optional: true, Type: "duration", }, config.HelpKV{ Key: config.Comment, Description: config.DefaultComment, Optional: true,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 11 22:20:42 GMT 2024 - 7.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
* @since 33.4.0 (but since 28.0 in the JRE flavor) */ @J2ktIncompatible @GwtIncompatible // java.time.Duration @IgnoreJRERequirement // Users will use this only if they're already using Duration. public static ScheduledExecutorService getExitingScheduledExecutorService( ScheduledThreadPoolExecutor executor, Duration terminationTimeout) { return getExitingScheduledExecutorService(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 45.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.execution; import java.time.Duration; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.maven.artifact.ArtifactUtils; import org.apache.maven.plugin.descriptor.PluginDescriptor;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 6K bytes - Click Count (0) -
api/go1.9.txt
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Oct 04 20:20:20 GMT 2021 - 10.7K bytes - Click Count (0) -
internal/lsync/lrwmutex.go
} // GetLock tries to get a write lock on lm before the timeout occurs. func (lm *LRWMutex) GetLock(ctx context.Context, id string, source string, timeout time.Duration) (locked bool) { const isWriteLock = true return lm.lockLoop(ctx, id, source, timeout, isWriteLock) } // RLock holds a read lock on lm. //
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.8K bytes - Click Count (0) -
cmd/bucket-stats.go
bs.ReplicatedSize > 0 || bs.ReplicaSize > 0 } func (bs *BucketReplicationStat) updateXferRate(sz int64, duration time.Duration) { if sz > minLargeObjSize { bs.XferRateLrg.addSize(sz, duration) } else { bs.XferRateSml.addSize(sz, duration) } } // RMetricName - name of replication metric type RMetricName string const ( // Large - objects larger than 128MiB
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.5K bytes - Click Count (0) -
cmd/object-lambda-handlers.go
secure := globalIsTLS if globalMinioEndpointURL != nil { host = globalMinioEndpointURL.Host secure = globalMinioEndpointURL.Scheme == "https" } duration := time.Until(cred.Expiration) if duration > time.Hour || duration < time.Hour { // Always limit to 1 hour. duration = time.Hour } clnt, err := miniogo.New(host, &miniogo.Options{ Creds: credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, cred.SessionToken),Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 18 21:56:31 GMT 2025 - 6.5K bytes - Click Count (0) -
internal/lsync/lrwmutex_test.go
package lsync_test import ( "context" "fmt" "runtime" "sync" "sync/atomic" "testing" "time" . "github.com/minio/minio/internal/lsync" ) func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) { ctx := t.Context() lrwm := NewLRWMutex() if !lrwm.GetRLock(ctx, "", "object1", time.Second) { panic("Failed to acquire read lock") }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0)