Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for connect0 (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                SmbFile share = new SmbFile("smb1://server/share/");
                // To test this properly, we would need to mock connect0() and the tree object.
                // This is a limitation of unit testing such a coupled class.
                // We expect an SmbException because it will try to connect.
                assertThrows(SmbException.class, () -> share.getType());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            if (file.type != SmbFile.TYPE_NAMED_PIPE) {
                file.open(openFlags, access, SmbFile.ATTR_NORMAL, 0);
                this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC);
            } else {
                file.connect0();
            }
            readSize = Math.min(file.tree.session.transport.rcv_buf_size - 70, file.tree.session.transport.server.maxBufferSize - 70);
        }
    
        /**
         * Converts an SmbException to an IOException.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

    import okhttp3.internal.connection.RoutePlanner.Plan
    import okhttp3.internal.okHttpName
    
    /**
     * Speculatively connects to each IP address of a target address, returning as soon as one of them
     * connects successfully. This kicks off new attempts every 250 ms until a connect succeeds.
     */
    internal class FastFallbackExchangeFinder(
      override val routePlanner: RoutePlanner,
      private val taskRunner: TaskRunner,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. docs/sts/dex.yaml

      # By default, Dex will ask for approval to share data with application
      # (approval for sharing data from connected IdP to Dex is separate process on IdP)
      skipApprovalScreen: false
      # If only one authentication method is enabled, the default behavior is to
      # go directly to it. For connected IdPs, this redirects the browser away
      # from application to upstream provider such as the Google login page
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 15 11:55:55 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/TreeConnectResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal;
    
    /**
     * Interface for SMB Tree Connect response messages.
     * Handles the server's response to a tree connect request, providing tree ID,
     * service type, and DFS information for the connected share.
     *
     * @author mbechler
     */
    public interface TreeConnectResponse extends CommonServerMessageBlockResponse {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

    import jcifs.internal.smb2.ServerMessageBlock2;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Tree Connect response message.
     *
     * This response contains information about the connected
     * tree, including share type and capabilities.
     *
     * @author mbechler
     */
    public class Smb2TreeConnectResponse extends ServerMessageBlock2Response implements TreeConnectResponse {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

          }
    
          return when {
            tcpConnectThrowable != null -> {
              events += "plan $id TCP connect failed"
              ConnectResult(this, nextPlan = connectTcpNextPlan, throwable = tcpConnectThrowable)
            }
            canceled -> {
              events += "plan $id TCP connect canceled"
              ConnectResult(this, nextPlan = connectTcpNextPlan, throwable = IOException("canceled"))
            }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

    import jcifs.internal.smb1.AndXServerMessageBlock;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * SMB1 Tree Connect AndX response implementation.
     * Handles server responses to tree connect requests in SMB1 protocol, providing
     * information about the connected share including service type and DFS capabilities.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/transport/TransportTest.java

        class ConnectionLifecycleTests {
    
            @Test
            @DisplayName("connect should return true if already connected")
            void shouldReturnTrueIfAlreadyConnected() throws TransportException {
                transport.setState(3); // Connected
                assertTrue(transport.connect(1000));
            }
    
            @Test
            @DisplayName("connect should throw TransportException on connection failure")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. docs/sts/dex.md

    time="2020-07-12T20:45:50Z" level=info msg="config connector: mock"
    time="2020-07-12T20:45:50Z" level=info msg="config connector: local passwords enabled"
    time="2020-07-12T20:45:50Z" level=info msg="config response types accepted: [code token id_token]"
    time="2020-07-12T20:45:50Z" level=info msg="config using password grant connector: local"
    time="2020-07-12T20:45:50Z" level=info msg="config signing keys expire after: 3h0m0s"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top