- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 30 for hasCapability (0.05 sec)
-
src/main/java/jcifs/smb/SmbFileInputStream.java
this.readSizeFile = th.getReceiveBufferSize(); return; } this.readSize = Math.min(th.getReceiveBufferSize() - 70, th.getMaximumBufferSize() - 70); if (th.hasCapability(SmbConstants.CAP_LARGE_READX)) { this.largeReadX = true; this.readSizeFile =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
long timeout = config.getPersistentHandleTimeout(); boolean persistent = config.isUsePersistentHandles() && h.hasCapability(SmbConstants.CAP_PERSISTENT_HANDLES); req.addDurableHandleV2Context(timeout, persistent); } persistentHandlesAdded = true;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
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")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
// Ensure the transport is connected and ready transport.ensureConnected(); // Verify multi-channel capability (SMB3+ required) if (!transport.isSMB2() || !transport.hasCapability(0x00000008)) { // SMB2_GLOBAL_CAP_MULTI_CHANNEL throw new CIFSException("Server does not support SMB multi-channel capability"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
when(tree.getConfig()).thenReturn(cfg); when(tree.getReceiveBufferSize()).thenReturn(1024); when(tree.getSendBufferSize()).thenReturn(1024); when(tree.hasCapability(anyInt())).thenAnswer(inv -> ntSmbsCap && inv.getArgument(0).equals(SmbConstants.CAP_NT_SMBS)); when(tree.areSignaturesActive()).thenReturn(false); when(tree.isSMB2()).thenReturn(smb2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
port == 445 && this.port == 139) && (localAddr == this.localAddr || localAddr != null && localAddr.equals(this.localAddr)) && localPort == this.localPort; } boolean hasCapability(final int cap) throws SmbException { try { connect(RESPONSE_TIMEOUT); } catch (final IOException ioe) { throw new SmbException(ioe.getMessage(), ioe); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
log.println("open0: " + unc); } /* * NT Create AndX / Open AndX Request / Response */ if (tree.session.transport.hasCapability(SmbConstants.CAP_NT_SMBS)) { final SmbComNTCreateAndXResponse response = new SmbComNTCreateAndXResponse();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} @Override public boolean isFailed() { final Socket s = this.socket; return super.isFailed() || s == null || s.isClosed(); } @Override public boolean hasCapability(final int cap) throws SmbException { return getNegotiateResponse().haveCapabilitiy(cap); } /** * @return the negotiated * @throws SmbException */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
boolean anonymous = this.credentials.isAnonymous(); do { switch (state) { case 10: /* NTLM */ if (trans.hasCapability(SmbConstants.CAP_EXTENDED_SECURITY)) { log.debug("Extended security negotiated"); state = 20; /* NTLMSSP */ break; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0)