- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for Capability (0.08 sec)
-
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
* Get interface capabilities * * @return capability flags */ public int getCapability() { return capability; } /** * Set interface capabilities * * @param capability capability flags */ public void setCapability(int capability) { this.capability = capability; // Update capability flags based on bitmask
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
*/ public static final int SEQUENCE_CHECKING = 0x10; /** * Context flag for anonymity capability */ public static final int ANONYMITY = 0x08; /** * Context flag for confidentiality (encryption) capability */ public static final int CONFIDENTIALITY = 0x04; /** * Context flag for integrity (signing) capability */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int CAP_NONE = 0x0000; /** Raw mode capability */ int CAP_RAW_MODE = 0x0001; /** MPX mode capability */ int CAP_MPX_MODE = 0x0002; /** Unicode capability */ int CAP_UNICODE = 0x0004; /** Large files capability */ int CAP_LARGE_FILES = 0x0008; /** NT SMBs capability */ int CAP_NT_SMBS = 0x0010; /** RPC remote APIs capability */ int CAP_RPC_REMOTE_APIS = 0x0020;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
} @Nested @DisplayName("Global Capability Constants") class GlobalCapabilityConstants { @Test @DisplayName("DFS capability should be 0x1") void testGlobalCapDfs() { assertEquals(0x1, Smb2Constants.SMB2_GLOBAL_CAP_DFS, "DFS capability must be 0x1"); } @Test @DisplayName("Leasing capability should be 0x2") void testGlobalCapLeasing() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
/** * Raw mode transfers are supported capability. */ int CAP_RAW_MODE = 0x0001; /** * Multiplex mode is supported capability. */ int CAP_MPX_MODE = 0x0002; /** * Unicode strings are supported capability. */ int CAP_UNICODE = 0x0004; /** * Large files are supported capability. */ int CAP_LARGE_FILES = 0x0008; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
void testHaveCapabilityTrue() { // Arrange int capability = 0x00000001; when(negotiationResponse.haveCapabilitiy(capability)).thenReturn(true); // Act boolean result = negotiationResponse.haveCapabilitiy(capability); // Assert assertTrue(result); verify(negotiationResponse).haveCapabilitiy(capability); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0)