- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getElapsedTime (0.05 sec)
-
cmd/prepare-storage.go
return nil, nil, errInvalidArgument } // prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks. // All times are rounded to avoid showing milli, micro and nano seconds formatStartTime := time.Now().Round(time.Second) getElapsedTime := func() string { return time.Now().Round(time.Second).Sub(formatStartTime).String() } var (
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 11.1K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbOperationException.java
return serverMessage; } /** * Get elapsed time since operation started * * @return elapsed time in milliseconds */ public long getElapsedTime() { return System.currentTimeMillis() - operationStartTime; } /** * Check if this is a network-related error * * @return true if network error */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
// When Thread.sleep(100); // Then assertTrue(exception.getElapsedTime() >= 100); assertTrue(exception.getElapsedTime() < 200); } @Test @DisplayName("Should create retry exception correctly") void testRetryException() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0)