- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 47 for Capability (0.38 sec)
-
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) -
src/main/java/jcifs/internal/smb2/multichannel/Smb2ChannelCapabilities.java
*/ public static final int ABSOLUTE_MAX_CHANNELS = 32; /** * Network interface capability flag for RSS support */ public static final int NETWORK_INTERFACE_CAP_RSS = 0x00000001; /** * Network interface capability flag for RDMA support */ public static final int NETWORK_INTERFACE_CAP_RDMA = 0x00000002; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 2.4K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
- [ ] Implement handle state serialization - [ ] Create reconnection logic with handle replay - [ ] Add timeout management for durable handles - [ ] Implement handle lease association - [ ] Add persistent handle capability negotiation - [ ] Create handle cache for reconnection #### 2.3 Integration Points - Extend `SmbFile` with persistent handle support - Modify `SmbSession` for handle replay during reconnection
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 10.7K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.3K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0)