Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 306 for connect0 (0.42 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

        boolean hasNextAddress() {
            return addressIndex < addresses.length;
        }
    
        void connect0() throws SmbException {
            try {
                connect();
            } catch (final SmbException se) {
                throw se;
            } catch (final IOException ioe) {
                throw new SmbException("Failed to connect to server", ioe);
            }
        }
    
        void doConnect() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

        assertEvents(
          "plan 1 TCP connected",
          "plan 0 cancel",
          "plan 1 TLS connecting...",
          "plan 1 TLS connect failed",
          "plan 2 TCP connecting...",
          "plan 2 TCP connected",
          "plan 2 TLS connecting...",
          "plan 2 TLS connected",
        )
    
        taskFaker.advanceUntil(270.ms)
        assertEvents(
          "plan 0 TCP connect canceled",
        )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        val connect1 = server.takeRequest()
        assertThat(connect1.requestLine).isEqualTo("CONNECT android.com:443 HTTP/1.1")
        assertThat(connect1.headers["Proxy-Authorization"]).isNull()
        val connect2 = server.takeRequest()
        assertThat(connect2.requestLine).isEqualTo("CONNECT android.com:443 HTTP/1.1")
        assertThat(connect2.headers["Proxy-Authorization"]).isEqualTo("password")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

    import okhttp3.internal.tls.OkHostnameVerifier
    import okhttp3.internal.toHostHeader
    
    /**
     * A single attempt to connect to a remote server, including these steps:
     *
     *  * [TCP handshake][connectSocket]
     *  * Optional [CONNECT tunnels][connectTunnel]. When using an HTTP proxy to reach an HTTPS server
     *    we must send a `CONNECT` request, and handle authorization challenges from the proxy.
     *  * Optional [TLS handshake][connectTls].
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

        void testTreeConnectAndDisconnect() throws Exception {
            SmbTree tree = new SmbTree(session, "testShare", "testService");
    
            // Mock transport.connect() to succeed
            doNothing().when(transport).connect();
    
            // Setup response for tree connect
            doAnswer(invocation -> {
                ServerMessageBlock request = invocation.getArgument(0);
                ServerMessageBlock response = invocation.getArgument(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

            return sb.toString();
        }
    
        /**
         * Checks if the client is connected to the witness service.
         *
         * @return true if connected
         */
        public boolean isConnected() {
            return connected && rpcHandle != null;
        }
    
        @Override
        public void close() {
            if (connected && rpcHandle != null) {
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top