Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 438 for timedout (0.04 sec)

  1. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

        }
    
        @Test
        @DisplayName("Test constructor with name and timeout sets correct fields")
        void testConstructorWithNameAndTimeout() {
            // Test with pipe name and timeout
            String pipeName = "TestPipe";
            long timeout = 5000L;
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName, timeout);
    
            // Verify size calculation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt

          },
        ).hasMessage("timeout too small")
        assertThat(
          assertThrows<IllegalArgumentException> {
            checkDuration(
              "timeout",
              1L + Int.MAX_VALUE.toLong(),
              TimeUnit.MILLISECONDS,
            )
          },
        ).hasMessage("timeout too large")
      }
    
      @Test
      fun testDurationDuration() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

            .build()
        val call = client.newCall(request)
        call.timeout().timeout(250, TimeUnit.MILLISECONDS)
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("timeout")
          assertThat(call.isCanceled()).isTrue()
        }
      }
    
      @Test
      fun timeoutWritingRequestWithEnqueue() {
        server.enqueue(MockResponse())
        val request =
          Request
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

         * @param guid the create GUID
         * @param fileId the 16-byte file ID
         * @param type the handle type
         * @param timeout the timeout in milliseconds
         * @param leaseKey the associated lease key (can be null)
         */
        public HandleInfo(String path, HandleGuid guid, byte[] fileId, HandleType type, long timeout, Smb2LeaseKey leaseKey) {
            this.path = path;
            this.createGuid = guid;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          assertEquals(method, lastMethodCalled);
        }
    
        void assertMethodWithTimeout(String method, long timeout, TimeUnit unit) {
          assertLastMethodCalled(method + "Timeout");
          assertEquals(unit.toMillis(timeout), lastTimeoutInMillis);
        }
    
        @Override
        public boolean awaitTermination(long timeout, TimeUnit unit) {
          lastMethodCalled = "awaitTermination";
          return false;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

        delegate().putLast(e);
      }
    
      @Override
      public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerFirst(e, timeout, unit);
      }
    
      @Override
      public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerLast(e, timeout, unit);
      }
    
      @Override
      public E takeFirst() throws InterruptedException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Queues.java

      public static <E> int drain(
          BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout)
          throws InterruptedException {
        // TODO(b/126049426): Consider using saturateToNanos(timeout) instead.
        return drain(q, buffer, numElements, timeout.toNanos(), NANOSECONDS);
      }
    
      /**
       * Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/ExecJob.java

            return this;
        }
    
        /**
         * Sets the timeout for this job execution.
         *
         * @param timeout the timeout in seconds (-1 for no timeout)
         * @return this ExecJob instance for method chaining
         */
        public ExecJob timeout(final int timeout) {
            this.timeout = timeout;
            return this;
        }
    
        /**
         * Sets whether to use local Fesen instance.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

      /**
       * @since 28.0
       */
      @Override
      public final void awaitRunning(Duration timeout) throws TimeoutException {
        Service.super.awaitRunning(timeout);
      }
    
      /**
       * @since 15.0
       */
      @Override
      public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException {
        delegate.awaitRunning(timeout, unit);
      }
    
      /**
       * @since 15.0
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java

         *
         * @param name the pipe name to wait for
         * @param timeout the timeout value in milliseconds
         */
        public FsctlPipeWaitRequest(final String name, final long timeout) {
            this.nameBytes = name.getBytes(StandardCharsets.UTF_16LE);
            this.timeoutSpecified = true;
            this.timeout = timeout;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top