- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 276 for Capabilities (0.06 seconds)
-
src/main/java/jcifs/smb1/smb1/SmbConstants.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
void testDecodeValidBuffer() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[64]; int bufferIndex = 10; // Set capabilities (4 bytes) int testCapabilities = 0x12345678; SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex); // Set server GUID (16 bytes) byte[] testGuid = new byte[16];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
// Test multiple capabilities int combinedCaps = Smb2TreeConnectResponse.SMB2_SHARE_CAP_DFS | Smb2TreeConnectResponse.SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY; setPrivateField(response, "capabilities", combinedCaps); assertEquals(combinedCaps, response.getCapabilities(), "Should handle multiple capabilities"); } @Test @DisplayName("Should handle maximal access")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
@Test @DisplayName("Should return capabilities") void testGetCapabilities() throws Exception { // Given setPrivateField(response, "capabilities", 0x7F); // When int caps = response.getCapabilities(); // Then assertEquals(0x7F, caps); } @Test @DisplayName("Should return common capabilities")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
private final SmbComNegotiateResponse negotiated; private int capabilities; /** * Constructs a session setup AndX request. * * @param tc the CIFS context containing configuration and credentials * @param negotiated the negotiation response containing server capabilities * @param andx the next command in the AndX chain, or nullCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
Set<RdmaCapability> capabilities = provider.getSupportedCapabilities(); assertNotNull(capabilities, "Capabilities should not be null"); assertEquals(1, capabilities.size(), "TCP provider should only support send/receive"); assertTrue(capabilities.contains(RdmaCapability.RDMA_SEND_RECEIVE), "Should support send/receive");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
capabilities = session.transport.capabilities; if (session.transport.server.security == SECURITY_USER) { if (cred instanceof final NtlmPasswordAuthentication auth) { if (auth == NtlmPasswordAuthentication.ANONYMOUS) { lmHash = new byte[0]; ntHash = new byte[0]; capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
@DisplayName("Should correctly identify DFS share based on capabilities") void testIsShareDfsWithCapabilities() throws SMBProtocolDecodingException { // Test with DFS capability byte[] buffer = createValidResponseBuffer(0, 0, 0x8, 0); response.readBytesWireFormat(buffer, 0); assertTrue(response.isShareDfs()); // Test without DFS flags or capabilitiesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaCapabilities.java
*/ package jcifs.internal.smb2.rdma; /** * Constants for RDMA capabilities and default configuration values. * Based on MS-SMBD specification for SMB Direct protocol. */ public class RdmaCapabilities { /** * RDMA transform capabilities flag indicating response is requested */ public static final int SMB_DIRECT_RESPONSE_REQUESTED = 0x00000001; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
*/ public int getShareFlags() { return this.shareFlags; } /** * Returns the capabilities of the connected share. * * @return the capabilities */ public int getCapabilities() { return this.capabilities; } /** * Returns the maximal access rights that the user has on this share. * * @return the maximalAccessCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.8K bytes - Click Count (0)