Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 984 for smb2 (3.62 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

    import org.mockito.quality.Strictness;
    
    import jcifs.BaseTest;
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    
    /**
     * Tests for Smb2SessionSetupResponse decoding and behavior.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("Smb2SessionSetupResponse Tests")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/AllTestsSuite.java

    import org.junit.platform.suite.api.SuiteDisplayName;
    
    /**
     * Test suite that runs all JCIFS tests
     */
    @Suite
    @SuiteDisplayName("JCIFS Complete Test Suite")
    @SelectPackages({ "jcifs.util", "jcifs.smb", "jcifs.config", "jcifs.internal.smb2", "jcifs.ntlmssp" })
    public class AllTestsSuite {
        // Test suite configuration
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 433 bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/Smb2HandleCapabilities.java

     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     */
    package jcifs.internal.smb2.persistent;
    
    /**
     * Constants for SMB2/3 durable and persistent handle capabilities.
     */
    public final class Smb2HandleCapabilities {
    
        /**
         * Flag indicating persistent handle capability
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                }
    
                assertEquals(160, totalSize); // 16+24+32+40+48
            }
    
            @Test
            @DisplayName("Should handle special SMB2 context names")
            void testSMB2ContextNames() {
                // Common SMB2 create context names
                String[] contextNames = { "DHnQ", // Durable handle request
                        "DHnC", // Durable handle reconnect
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

     */
    package jcifs.internal.smb2.rdma.tcp;
    
    import java.io.IOException;
    import java.net.InetSocketAddress;
    import java.net.Socket;
    import java.net.SocketTimeoutException;
    import java.nio.ByteBuffer;
    import java.nio.channels.SocketChannel;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.internal.smb2.rdma.RdmaConnection;
    import jcifs.internal.smb2.rdma.RdmaMemoryRegion;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

     */
    package jcifs.internal.smb2.multichannel;
    
    import java.net.InetAddress;
    import java.net.NetworkInterface;
    import java.net.SocketException;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Information about a network interface for SMB3 Multi-Channel
     */
    public class NetworkInterfaceInfo {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

        /**
         * @return whether this tree handle uses SMB2
         */
        @Override
        public boolean isSMB2() {
            try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) {
                return transport.isSMB2();
            } catch (final SmbException e) {
                log.debug("Failed to connect for determining SMB2 support", e);
                return false;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.ServerMessageBlock2;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2TreeDisconnectRequest functionality
     */
    @DisplayName("Smb2TreeDisconnectRequest Tests")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.ServerMessageBlock2;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2TreeDisconnectResponse functionality
     */
    @DisplayName("Smb2TreeDisconnectResponse Tests")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

    package jcifs.internal.smb2.nego;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.Smb2Constants;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top