Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for haveCapabilitiy (0.19 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            return this.negotiatedFlags2;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#haveCapabilitiy(int)
         */
        @Override
        public boolean haveCapabilitiy(final int cap) {
            return (this.capabilities & cap) == cap;
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/SmbNegotiationResponse.java

        /**
         * Checks whether a specific capability has been negotiated.
         *
         * @param cap the capability flag to check
         * @return whether capability is negotiated
         */
        boolean haveCapabilitiy(int cap);
    
        /**
         * Gets the negotiated send buffer size.
         *
         * @return the send buffer size
         */
        int getSendBufferSize();
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbTransportImplTest.java

            setField(transport, "negotiated", nego);
            when(nego.haveCapabilitiy(SmbConstants.CAP_DFS)).thenReturn(true);
    
            // Act & Assert
            assertTrue(transport.hasCapability(SmbConstants.CAP_DFS));
            verify(nego, times(1)).haveCapabilitiy(SmbConstants.CAP_DFS);
        }
    
        @Test
        @DisplayName("SMB version detection via flag or response type")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top