Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for Capability (0.31 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            assertTrue((response.getShareFlags() & Smb2TreeConnectResponse.SMB2_SHAREFLAG_ENCRYPT_DATA) != 0);
        }
    
        @Test
        @DisplayName("Should handle all capability flags")
        void testAllCapabilityFlags() throws SMBProtocolDecodingException {
            // Test each capability flag individually
            int[] capabilityFlags = { Smb2TreeConnectResponse.SMB2_SHARE_CAP_DFS,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertFalse(request.isSigningEnforced());
            assertTrue(request instanceof ServerMessageBlock2Request);
        }
    
        @Test
        @DisplayName("Should set DFS capability when enabled")
        void testDfsCapability() {
            // Given
            when(mockConfig.isDfsDisabled()).thenReturn(false);
    
            // When
            request = new Smb2NegotiateRequest(mockConfig, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            assertEquals(0x8000, SmbConstants.FLAGS2_UNICODE);
        }
    
        /**
         * Test capability flags.
         */
        @Test
        @DisplayName("Capability flags are correct")
        void capabilityFlagsTest() {
            // Test individual capability values
            assertEquals(0x0004, SmbConstants.CAP_UNICODE);
            assertEquals(0x0010, SmbConstants.CAP_NT_SMBS);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. docs/smb3-features/03-multi-channel-design.md

            this.linkSpeed = linkSpeed;
            this.ipv6 = address.getAddress().length == 16;
            this.capability = 0;
            
            // Check for RSS capability (simplified - would need OS-specific checks)
            this.rssCapable = checkRSSCapability();
            if (rssCapable) {
                this.capability |= NETWORK_INTERFACE_CAP_RSS;
            }
        }
        
        public boolean isUsableForChannel() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportInternal.java

     *
     * @author mbechler
     */
    public interface SmbTransportInternal extends SmbTransport {
    
        /**
         * Checks if the transport supports the specified capability.
         *
         * @param cap the capability flag to check
         * @return whether the transport has the given capability
         * @throws SmbException if an error occurs checking capabilities
         */
        boolean hasCapability(int cap) throws SmbException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            verify(transport, times(1)).hasCapability(cap);
        }
    
        // Invalid input: simulate underlying SmbException when capability check fails
        @Test
        @DisplayName("hasCapability throws SmbException when underlying error occurs")
        void hasCapability_throws() throws SmbException {
            doThrow(new SmbException("capability check failed")).when(transport).hasCapability(eq(42));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // Test cluster capability
                setPrivateField(response, "capabilities", Smb2TreeConnectResponse.SMB2_SHARE_CAP_CLUSTER);
                assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_CAP_CLUSTER, response.getCapabilities(), "Should handle cluster capability");
    
                // Test asymmetric capability
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaCapability.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.rdma;
    
    /**
     * RDMA capability flags indicating what operations are supported
     * by an RDMA provider implementation.
     */
    public enum RdmaCapability {
        /**
         * Remote direct read operations
         */
        RDMA_READ,
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/persistent/Smb2HandleCapabilities.java

    package jcifs.internal.smb2.persistent;
    
    /**
     * Constants for SMB2/3 durable and persistent handle capabilities.
     */
    public final class Smb2HandleCapabilities {
    
        /**
         * Flag indicating persistent handle capability
         */
        public static final int SMB2_DHANDLE_FLAG_PERSISTENT = 0x00000002;
    
        /**
         * Default timeout for durable handles (2 minutes)
         */
        public static final long DEFAULT_DURABLE_TIMEOUT = 120000;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java

     */
    package jcifs.internal.smb2.nego;
    
    import jcifs.Encodable;
    
    /**
     * SMB2 Negotiate Context request data structure.
     *
     * This class represents negotiate contexts used in SMB 3.1.1
     * for capability negotiation and security enhancements.
     *
     * @author mbechler
     */
    public interface NegotiateContextRequest extends Encodable {
    
        /**
         * Gets the negotiate context type.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top