- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 77 for Minutes (0.31 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java
public void testSchedule() { MockExecutor mock = new MockExecutor(); TestExecutor testExecutor = new TestExecutor(mock); Future<?> unused1 = testExecutor.schedule(() -> {}, 10, MINUTES); mock.assertLastMethodCalled("scheduleRunnable", 10, MINUTES); Future<?> unused2 = testExecutor.schedule(() -> null, 5, SECONDS); mock.assertLastMethodCalled("scheduleCallable", 5, SECONDS); } public void testSchedule_repeating() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java
public void testSchedule() { MockExecutor mock = new MockExecutor(); TestExecutor testExecutor = new TestExecutor(mock); Future<?> unused1 = testExecutor.schedule(() -> {}, 10, MINUTES); mock.assertLastMethodCalled("scheduleRunnable", 10, MINUTES); Future<?> unused2 = testExecutor.schedule(() -> null, 5, SECONDS); mock.assertLastMethodCalled("scheduleCallable", 5, SECONDS); } public void testSchedule_repeating() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.5K bytes - Click Count (0) -
internal/s3select/sql/timestampfuncs.go
return FromInt(int64(duration / (24 * time.Hour))), nil case timePartHour: hours := duration / time.Hour return FromInt(int64(hours)), nil case timePartMinute: minutes := duration / time.Minute return FromInt(int64(minutes)), nil case timePartSecond: seconds := duration / time.Second return FromInt(int64(seconds)), nil default: } return nil, errNotImplemented
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java
long minutes = duration.toMinutesPart(); long seconds = duration.toSecondsPart(); long millis = duration.toMillisPart(); if (days > 0) { return String.format("%d d %02d:%02d h", days, hours, minutes); } else if (hours > 0) { return String.format("%02d:%02d h", hours, minutes); } else if (minutes > 0) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Mar 10 15:37:54 GMT 2026 - 6.9K bytes - Click Count (0) -
docs/metrics/prometheus/alerts.md
description: "MinIO instance {{ $labels.server }} of job {{ $labels.job }} has lost quorum on pool {{ $labels.pool }} on set {{ $labels.set }} for more than 5 minutes." ``` ## Verify the configuration and alerts To verify the above sample alert follow below steps 1. Start a distributed MinIO instance (4 nodes setup) 2. Start Prometheus server and AlertManagerCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 23 15:13:23 GMT 2025 - 4.4K bytes - Click Count (0) -
cmd/metacache.go
// Keep for 15 minutes after we last saw the client. // Since the cache is finished keeping it a bit longer doesn't hurt us. return false case cache.status == scanStateError || cache.status == scanStateNone: // Remove failed listings after 5 minutes. return time.Since(cache.lastUpdate) > 5*time.Minute } return true }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 12 16:23:16 GMT 2024 - 6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/Smb2HandleCapabilities.java
*/ public static final int SMB2_DHANDLE_FLAG_PERSISTENT = 0x00000002; /** * Default timeout for durable handles (2 minutes) */ public static final long DEFAULT_DURABLE_TIMEOUT = 120000; /** * Maximum timeout for durable handles (5 minutes) */ public static final long MAX_DURABLE_TIMEOUT = 300000; /** * Persistent handles have infinite timeout */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 1.3K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.9K bytes - Click Count (0) -
docs_src/security/tutorial004_py310.py
to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire}) encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM) return encoded_jwt async def get_current_user(token: str = Depends(oauth2_scheme)):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 4.1K bytes - Click Count (0) -
docs_src/security/tutorial005_an_py310.py
to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire}) encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM) return encoded_jwt async def get_current_user(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 5.4K bytes - Click Count (0)