Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 337 for timedOut (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

              }
    
              sink.copyTo(cacheBody.buffer, sink.size - bytesRead, bytesRead)
              cacheBody.emitCompleteSegments()
              return bytesRead
            }
    
            override fun timeout(): Timeout = source.timeout()
    
            @Throws(IOException::class)
            override fun close() {
              if (!cacheRequestClosed &&
                !discard(ExchangeCodec.DISCARD_STREAM_TIMEOUT_MILLIS, MILLISECONDS)
              ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

      ): Boolean {
        // If there was a protocol problem, don't recover.
        if (e is ProtocolException) {
          return false
        }
    
        // If there was an interruption don't recover, but if there was a timeout connecting to a route
        // we should try the next route (if there is one).
        if (e is InterruptedIOException) {
          return e is SocketTimeoutException && !requestSendStarted
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbConstants.java

        /**
         * Default maximum number of outstanding SMB requests.
         */
        int DEFAULT_MAX_MPX_COUNT = 10;
        /**
         * Default timeout in milliseconds for SMB responses.
         */
        int DEFAULT_RESPONSE_TIMEOUT = 30000;
        /**
         * Default socket timeout in milliseconds.
         */
        int DEFAULT_SO_TIMEOUT = 35000;
        /**
         * Default receive buffer size for SMB transport.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

            override fun cancel() = TODO()
    
            override fun isExecuted(): Boolean = TODO()
    
            override fun isCanceled(): Boolean = TODO()
    
            override fun timeout(): Timeout = TODO()
    
            override fun clone(): Call = TODO()
          }
      }
    
      @Test
      fun callback() {
        val callback =
          object : Callback {
            override fun onFailure(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.MethodSource
    
    @Suppress("UsePropertyAccessSyntax")
    @Timeout(6)
    @Tag("slow")
    class SocketChannelTest {
      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/timer/TimeoutTarget.java

    /**
     * This is an interface for handling timeouts.
     *
     * @author higa
     *
     */
    @FunctionalInterface
    public interface TimeoutTarget {
    
        /**
         * Describes the processing for a timeout.
         */
        void expired();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 872 bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * @throws NullPointerException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
      public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException {
    
        if (e == null) throw new NullPointerException();
        Monitor monitor = this.monitor;
        if (monitor.enterWhen(notFull, timeout, unit)) {
          try {
            insert(e);
            return true;
          } finally {
            monitor.leave();
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            // SubCommand should be TRANS_WAIT_NAMED_PIPE (0x53)
            assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, pipe.subCommand);
    
            // Timeout is set to 0xFFFFFFFF (-1 when cast to int)
            assertEquals(0xFFFFFFFF, pipe.timeout);
    
            // Max parameter and data counts should be 0
            assertEquals(0, pipe.maxParameterCount);
            assertEquals(0, pipe.maxDataCount);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            // Open the circuit
            circuitBreaker.trip();
            assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should be OPEN");
    
            // Wait for reset timeout
            Thread.sleep(1100);
    
            // Execute successful operation - should transition to HALF_OPEN then potentially CLOSED
            String result = circuitBreaker.executeWithCircuitBreaker(() -> "success");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

            return applyTransformation(input.get());
          }
    
          @Override
          public O get(long timeout, TimeUnit unit)
              throws InterruptedException, ExecutionException, TimeoutException {
            return applyTransformation(input.get(timeout, unit));
          }
    
          private O applyTransformation(I input) throws ExecutionException {
            try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
Back to top