Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Elapsed (0.15 sec)

  1. cmd/endpoint.go

    				)
    
    				if orchestrated && hostResolveToLocalhost(endpoints[i]) {
    					// time elapsed
    					timeElapsed := time.Since(startTime)
    					// log error only if more than a second has elapsed
    					if timeElapsed > time.Second {
    						reqInfo.AppendTags("elapsedTime",
    							humanize.RelTime(startTime,
    								startTime.Add(timeElapsed),
    								"elapsed",
    								"",
    							))
    						ctx := logger.SetReqInfo(GlobalContext,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  2. cmd/prepare-storage.go

    			logger.Info("Waiting for a minimum of %d drives to come online (elapsed %s)\n",
    				len(endpoints)/2, getElapsedTime())
    		case errors.Is(err, errErasureWriteQuorum):
    			// no quorum available continue to wait for minimum number of servers.
    			logger.Info("Waiting for a minimum of %d drives to come online (elapsed %s)\n",
    				(len(endpoints)/2)+1, getElapsedTime())
    		case errors.Is(err, errErasureV3ThisEmpty):
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  3. cmd/admin-handlers_test.go

    		// printEntries(exp)
    		// printEntries(got)
    		for i, e := range exp {
    			if !e.Timestamp.Equal(got[i].Timestamp) {
    				return i, false
    			}
    			// Skip checking elapsed since it's time sensitive.
    			// if e.Elapsed != got[i].Elapsed {
    			// 	return false
    			// }
    			if e.Resource != got[i].Resource {
    				return i, false
    			}
    			if e.Type != got[i].Type {
    				return i, false
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbOperationException.java

        public long getNtStatus() {
            return ntStatus;
        }
    
        public String getServerMessage() {
            return serverMessage;
        }
    
        /**
         * Get elapsed time since operation started
         *
         * @return elapsed time in milliseconds
         */
        public long getElapsedTime() {
            return System.currentTimeMillis() - operationStartTime;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/QueuesTest.java

          Stopwatch timer = Stopwatch.createStarted();
    
          int drained = drain(q, new ArrayList<>(), 2, 10, MILLISECONDS, interruptibly);
          assertThat(drained).isAtMost(1);
    
          assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L);
    
          // If even the first one wasn't there, clean up so that the next test doesn't see an element.
          producerThread.cancel(true);
          producer.doneProducing.await();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertFalse(exception.isAuthenticationError());
            assertFalse(exception.isFileSystemError());
            assertTrue(exception.isTransientError());
        }
    
        @Test
        @DisplayName("Should track elapsed time")
        void testElapsedTime() throws InterruptedException {
            // Given
            exception = new SmbOperationException(SmbOperationException.ErrorCode.BUSY, "Server busy");
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        long elapsedMillis = stopwatch.elapsed(MILLISECONDS);
        /*
         * The "+ 5" below is to permit, say, sleep(10) to sleep only 9 milliseconds. We see such
         * behavior sometimes when running these tests publicly as part of Guava. "+ 5" is probably more
         * generous than it needs to be.
         */
        assertTrue(
            "Expected elapsed millis to be >= " + expectedMillis + " but was " + elapsedMillis,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  8. docs/smb3-features/02-persistent-handles-design.md

            public boolean isExpired() {
                if (type == HandleType.PERSISTENT) {
                    return false;  // Persistent handles don't expire
                }
                long elapsed = System.currentTimeMillis() - lastAccessTime;
                return elapsed > timeout;
            }
            
            public void updateAccessTime() {
                this.lastAccessTime = System.currentTimeMillis();
            }
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  9. cmd/utils.go

    		}
    		stop := fgprof.Start(f, fgprof.FormatPprof)
    		startedAt := time.Now()
    		prof.stopFn = func() ([]byte, error) {
    			if elapsed := time.Since(startedAt); elapsed < 100*time.Millisecond {
    				// Light hack around https://github.com/felixge/fgprof/pull/34
    				time.Sleep(100*time.Millisecond - elapsed)
    			}
    			err := stop()
    			if err != nil {
    				return nil, err
    			}
    			err = f.Close()
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

            return totalReceiveTime.get() / (double) receives / 1000.0; // Convert to microseconds
        }
    
        /**
         * Calculate total throughput in MB/s based on total time
         *
         * @param totalTimeSeconds total elapsed time in seconds
         * @return throughput in MB/s
         */
        public double getThroughputMBps(double totalTimeSeconds) {
            if (totalTimeSeconds <= 0.0) {
                return 0.0;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top