- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for hasCapability (0.08 sec)
-
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
@DisplayName("hasCapability(cap): returns configured value and captures argument across edge caps") void hasCapability_variousCaps_returnsTrue_andCapturesArgument(int cap) throws Exception { // Arrange: stub to return true regardless of input when(handle.hasCapability(anyInt())).thenReturn(true); // Act boolean result = handle.hasCapability(cap);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleInternal.java
* @param cap the capability flag to check * @return whether the capability is present * @throws CIFSException if an error occurs checking capabilities */ boolean hasCapability(int cap) throws CIFSException; /** * Gets the send buffer size of the underlying SMB connection * @return the send buffer size of the underlying connection
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java
return statistics; } // Delegate all SmbTransportInternal methods to the wrapped transport @Override public boolean hasCapability(int cap) throws SmbException { return delegate.hasCapability(cap); } @Override public boolean isDisconnected() { return delegate.isDisconnected(); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
// Act Configuration result = trace.getConfig(); // Assert assertSame(cfg, result); verify(ctx, times(1)).getConfig(); } @Test @DisplayName("hasCapability(): without session/tree throws SmbException") void hasCapability_withoutTree_throwsSmbException() { // Arrange CIFSContext ctx = mock(CIFSContext.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
r.setCompletionFilter(this.filter); r.setNotifyFlags(this.recursive ? Smb2ChangeNotifyRequest.SMB2_WATCH_TREE : 0); req = r; } else { if (!th.hasCapability(SmbConstants.CAP_NT_SMBS)) { throw new SmbUnsupportedOperationException("Not supported without CAP_NT_SMBS"); } /*
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportInternal.java
* * @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; /** * Checks if the transport has been disconnected. * * @return whether the transport has been disconnected */ boolean isDisconnected(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0)