Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,245 for timeIt (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

    import assertk.assertions.isTrue
    import java.lang.Thread.sleep
    import java.util.concurrent.TimeUnit
    import kotlin.concurrent.thread
    import kotlin.test.assertFailsWith
    import kotlin.time.Duration
    import kotlin.time.Duration.Companion.milliseconds
    import kotlin.time.measureTime
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketEffect.CloseSocket
    import mockwebserver3.SocketEffect.ShutdownConnection
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            };
    
            for (long[] times : timeValues) {
                // Given
                FileBasicInfo info = new FileBasicInfo(times[0], // create time
                        times[1], // last access time
                        times[2], // last write time
                        times[3], // change time
                        TEST_ATTRIBUTES);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. guava-gwt/pom.xml

              <execution>
                <id>default-compile</id>
                <configuration>
                  <excludes>
                    <!-- Yes, we want to exclude ForceGuavaCompilation 4 times: -->
                    <!-- (And we might as well exclude DummyJavadocClass 3 times (though it would be harmless to include).) -->
                    <!-- 1. Don't compile it (since that requires a *non-test* dep on gwt-user. -->
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

        /**
         * Receive data using RDMA
         *
         * @param timeout timeout in milliseconds
         * @return received data buffer, or null if timeout
         * @throws IOException if receive fails
         */
        public abstract ByteBuffer receive(int timeout) throws IOException;
    
        /**
         * Perform RDMA read operation
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ResourceManagerTest.java

    import java.util.concurrent.atomic.AtomicBoolean;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.Timeout;
    
    /**
     * Unit tests for ResourceManager
     */
    public class ResourceManagerTest {
    
        private ResourceManager resourceManager;
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          /**
           * Blocks until the task is complete or the timeout expires. Throws a {@link TimeoutException}
           * if the timer expires, otherwise behaves like {@link #get()}.
           */
          V get(long nanos)
              throws TimeoutException, CancellationException, ExecutionException, InterruptedException {
    
            // Attempt to acquire the shared lock with a timeout.
            if (!tryAcquireSharedNanos(-1, nanos)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

        }
    
        public void test_newlineCharactersInMessage() {
            // Test with newline characters in message
            String message = "LDAP error:\n- Connection failed\n- Invalid credentials\n- Timeout";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
            assertEquals(message, exception.getMessage());
            assertTrue(exception.getMessage().contains("\n"));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. 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)
Back to top