Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 114 for WAITING (0.1 sec)

  1. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        Supplier<Boolean> supplier =
            new Supplier<Boolean>() {
              boolean isWaiting(Thread thread) {
                switch (thread.getState()) {
                  case BLOCKED:
                  case WAITING:
                  case TIMED_WAITING:
                    return true;
                  default:
                    return false;
                }
              }
    
              int waitingThreads() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtStatus.java

        /** No process is on the other end of the pipe */
        int NT_STATUS_PIPE_DISCONNECTED = 0xC00000b0;
        /** The pipe is being closed */
        int NT_STATUS_PIPE_CLOSING = 0xC00000b1;
        /** Waiting for a process to open the other end of the pipe */
        int NT_STATUS_PIPE_LISTENING = 0xC00000b3;
        /** The file that was specified is a directory */
        int NT_STATUS_FILE_IS_A_DIRECTORY = 0xC00000ba;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt

          }
          val nowMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime())
          if (nowMillis >= timeoutMillis) break
          (this as Object).wait(timeoutMillis - nowMillis)
        }
    
        throw AssertionError("Timed out waiting for response to $url")
      }
    
      companion object {
        val TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(10)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. docs/smb3-features/05-rdma-smb-direct-design.md

                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                    throw new IOException("Interrupted waiting for send credit", e);
                }
            }
            
            if (!rdmaConnection.canSend()) {
                throw new IOException("Timeout waiting for RDMA send credit");
            }
        }
        
        @Override
        public void disconnect() throws IOException {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponse.java

     */
    
    package jcifs.internal.smb1.trans;
    
    import jcifs.Configuration;
    
    /**
     * Response for SMB1 TRANS_WAIT_NAMED_PIPE transaction.
     *
     * This response is received after waiting for a named pipe to become available
     * for connection when the pipe server was busy.
     */
    public class TransWaitNamedPipeResponse extends SmbComTransactionResponse {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. docs/contribute/concurrency.md

    Blocking APIs may be inefficient because you hold a thread idle while waiting on the network. Threads are expensive because they have both a memory overhead and a context-switching overhead.
    
    #### Framed protocols
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
        // Make sure we have no waiting threads.
        latch.countDown();
      }
    
      /** Constructs a listenable future with a value available after the latch has counted down. */
      protected abstract <V> ListenableFuture<V> createListenableFuture(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractService.java

          // even check the guard. I don't think we care too much about this use case but it could lead
          // to a confusing error message.
          throw new TimeoutException("Timed out waiting for " + this + " to reach the RUNNING state.");
        }
      }
    
      @Override
      public final void awaitTerminated() {
        monitor.enterWhenUninterruptibly(isStopped);
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

        if (cancel) {
          cancel = false
          eventSource.cancel()
        }
      }
    
      private fun nextEvent(): Any =
        events.poll(10, TimeUnit.SECONDS)
          ?: throw AssertionError("Timed out waiting for event.")
    
      fun assertExhausted() {
        assertThat(events).isEmpty()
      }
    
      fun assertEvent(
        id: String?,
        type: String?,
        data: String,
      ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:32:52 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtStatus.java

        /** No process is on the other end of the pipe */
        int NT_STATUS_PIPE_DISCONNECTED = 0xC00000b0;
        /** The pipe is being closed */
        int NT_STATUS_PIPE_CLOSING = 0xC00000b1;
        /** Waiting for a process to open the other end of the pipe */
        int NT_STATUS_PIPE_LISTENING = 0xC00000b3;
        /** The file that was specified is a directory */
        int NT_STATUS_FILE_IS_A_DIRECTORY = 0xC00000ba;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top