Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isReady (0.09 sec)

  1. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            synchronized (w) {
                long deadline = System.currentTimeMillis() + 2000;
                while (!w.isReady() && System.currentTimeMillis() < deadline) {
                    w.wait(10);
                }
                assertTrue(w.isReady(), "WriterThread should be ready to accept work");
    
                // Act: submit a write
                w.write(payload, 3, out);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

      private lateinit var socket: BufferedSocket
      private var connection: RealConnection? = null
    
      /** True if this connection is ready for use, including TCP, tunnels, and TLS. */
      override val isReady: Boolean
        get() = protocol != null
    
      private fun copy(
        attempt: Int = this.attempt,
        tunnelRequest: Request? = this.tunnelRequest,
        connectionSpecIndex: Int = this.connectionSpecIndex,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbCopyUtil.java

                    while (true) {
                        final int read = fis.read(b[i]);
                        synchronized (w) {
                            w.checkException();
                            while (!w.isReady()) {
                                try {
                                    w.wait();
                                } catch (final InterruptedException ie) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NetworkExplorerTest.java

                @Override
                public void write(int b) throws IOException {
                    outputStream.write(b);
                }
    
                @Override
                public boolean isReady() {
                    return true;
                }
    
                @Override
                public void setWriteListener(WriteListener listener) {
                }
            };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top