- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 256 for transpose (0.14 sec)
-
src/main/java/jcifs/smb/MultiChannelManager.java
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
} synchronized SmbTransport transport() { if (transport == null) { transport = SmbTransport.getSmbTransport(address, port, localAddr, localPort, null); } return transport; } void send(final ServerMessageBlock request, final ServerMessageBlock response) throws SmbException { synchronized (transport()) { if (response != null) {
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/main/java/jcifs/SmbTransport.java
*/ package jcifs; /** * Opaque reference to a SMB transport * * @author mbechler * * <p>This interface is intended for internal use.</p> */ public interface SmbTransport extends AutoCloseable { /** * Gets the CIFS context associated with this transport. * * @return the context this transport is attached to */ CIFSContext getContext(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
} @Test @DisplayName("release should decrement usage count") void shouldDecrementUsageCount() { transport.acquire(); long beforeRelease = transport.getUsageCount(); transport.release(); assertEquals(beforeRelease - 1, transport.getUsageCount()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
@Test @DisplayName("Should remove transport from pool") void testRemoveTransport() { // Given: A pooled connection SmbTransportImpl transport = pool.getSmbTransport(ctx, address, 445, false); assertTrue(pool.contains(transport), "Transport should be in pool initially"); // When: Remove the transport pool.removeTransport(transport);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
// Transport and context delegation assertSame(cifsContext, session.getContext()); clearInvocations(transport); assertSame(transport, session.getTransport()); verify(transport, times(1)).acquire(); } @Test @DisplayName("close/release manage usage and transport lifecycle") void testReleaseLifecycle() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
when(negotiateResponse.getSelectedPreauthHash()).thenReturn(1); // SHA-512 setPrivateField(transport, "smb2", true); setPrivateField(transport, "negotiated", negotiateResponse); // Calculate hash Method calcMethod = findMethod(transport.getClass(), "calculatePreauthHash", byte[].class, int.class, int.class, byte[].class); calcMethod.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportInternal.java
* @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(); /** * Disconnects the transport from the remote server. *
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/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
super(andx); command = SMB_COM_SESSION_SETUP_ANDX; this.session = session; this.cred = cred; sessionKey = session.transport.sessionKey; capabilities = session.transport.capabilities; if (session.transport.server.security == SECURITY_USER) { if (cred instanceof final NtlmPasswordAuthentication auth) { if (auth == NtlmPasswordAuthentication.ANONYMOUS) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
assertNull(session.transport, "transport not created yet"); SmbTransport tr = session.transport(); assertNotNull(tr, "transport should now exist"); // subsequent calls return the same instance assertSame(tr, session.transport()); } @Test void sendResetsResponseAndForwards() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)