Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 955 for timeIt (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public V get(long timeout, TimeUnit unit)
          throws TimeoutException, InterruptedException, ExecutionException {
    
        long timeoutNanos = unit.toNanos(timeout);
        if (timeoutNanos <= OverflowAvoidingLockSupport.MAX_NANOSECONDS_THRESHOLD) {
          return super.get(timeout, unit);
        }
        // Waiting 68 years should be enough for any program.
        return super.get(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
    
            // When
            Integer timeout = request.getOverrideTimeout();
    
            // Then
            assertNull(timeout, "Cancel requests should not override timeout");
        }
    
        @Test
        @DisplayName("Test allowChain returns false")
        void testAllowChain() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java

    package jcifs.dcerpc;
    
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.dcerpc.ndr.NdrBuffer;
    
    class DcerpcSecurityProviderTest {
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

        }
    
        // Test execute method with process timeout
        public void test_execute_processTimeout() {
            createRequiredDirectories();
            suggestJob.timeout(1);
            suggestJob.processTimeout = true;
    
            mockProcessHelper.setExitValue(1);
            mockProcessHelper.setOutput("Timeout occurred");
    
            String result = suggestJob.execute();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  5. cmd/bucket-targets.go

    }
    
    type latencyStat struct {
    	lastmin lastMinuteLatency
    	curr    time.Duration
    	avg     time.Duration
    	peak    time.Duration
    	N       int64
    }
    
    func (l *latencyStat) update(d time.Duration) {
    	l.lastmin.add(d)
    	l.N++
    	if d > l.peak {
    		l.peak = d
    	}
    	l.curr = l.lastmin.getTotal().avg()
    	l.avg = time.Duration((int64(l.avg)*(l.N-1) + int64(l.curr)) / l.N)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        protected int maxDataCount;
        /** Maximum number of setup words the server should return */
        protected byte maxSetupCount;
        /** Timeout in milliseconds to wait for the transaction to complete */
        protected int timeout = 0;
        /** Number of setup words in this request */
        protected int setupCount = 1;
        private byte subCommand;
        /** The transaction name for named pipe transactions */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            assertTrue(transport.isSMB2());
            assertFalse(transport.isSMB2());
            verify(transport, times(2)).isSMB2();
    
            doThrow(new SmbException("query failed")).when(transport).isSMB2();
            assertThrows(SmbException.class, () -> transport.isSMB2());
            verify(transport, times(3)).isSMB2();
        }
    
        // Inflight requests count including edge values
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

      when {
        // If there was a protocol problem, don't recover.
        e is ProtocolException -> false
    
        // If there was an interruption or timeout (SocketTimeoutException), don't recover.
        // For the socket connect timeout case we do not try the same host with a different
        // ConnectionSpec: we assume it is unreachable.
        e is InterruptedIOException -> false
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

         *
         * @param error the error to check
         * @return true if error might be recoverable, false otherwise
         */
        private boolean isRecoverableError(Exception error) {
            // Timeout errors are often recoverable
            if (error instanceof SocketTimeoutException) {
                return true;
            }
    
            // Some socket errors might be recoverable
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbSessionInternalTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.anyString;
    import static org.mockito.ArgumentMatchers.eq;
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top