Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 402 for timed_out (0.1 sec)

  1. 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)
  2. 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)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

          monitor.leave();
        }
      }
    
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public @Nullable E poll(long timeout, TimeUnit unit) throws InterruptedException {
        Monitor monitor = this.monitor;
        if (monitor.enterWhen(notEmpty, timeout, unit)) {
          try {
            return q.poll();
          } finally {
            monitor.leave();
          }
        } else {
          return null;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

          }
    
          val read = source.read(sink, minOf(byteCount, left.toLong()))
          if (read == -1L) return -1L
          left -= read.toInt()
          return read
        }
    
        override fun timeout(): Timeout = source.timeout()
    
        @Throws(IOException::class)
        override fun close() {
        }
    
        @Throws(IOException::class)
        private fun readContinuationHeader() {
          val previousStreamId = streamId
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. 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)
  6. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

    import okhttp3.Headers
    import okhttp3.Headers.Companion.headersOf
    import okio.Buffer
    import okio.ByteString
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    
    @Timeout(30)
    class RecordedRequestTest {
      private val headers: Headers = Headers.EMPTY
    
      @Test fun testIPv4() {
        val socket =
          MockWebServerSocket(
            FakeSocket(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

        if (canceled) {
          stream!!.closeLater(ErrorCode.CANCEL)
          throw IOException("Canceled")
        }
        stream!!.readTimeout().timeout(chain.readTimeoutMillis.toLong(), TimeUnit.MILLISECONDS)
        stream!!.writeTimeout().timeout(chain.writeTimeoutMillis.toLong(), TimeUnit.MILLISECONDS)
      }
    
      override fun flushRequest() {
        http2Connection.flush()
      }
    
      override fun finishRequest() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt

      override fun isShutdown(): Boolean = shutdown
    
      override fun isTerminated(): Boolean = throw UnsupportedOperationException()
    
      override fun awaitTermination(
        timeout: Long,
        unit: TimeUnit,
      ): Boolean = throw UnsupportedOperationException()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top