- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 194 for CIFSContext (0.17 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.smb.SmbFile; /** * Unit tests for DirectoryLeaseManager */ public class DirectoryLeaseManagerTest { @Mock private CIFSContext context; @Mock private Configuration config; @Mock private LeaseManager baseLeaseManager;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
byte[] nodeAddress = addrEntry[0].getAddress(); assertNotNull(nodeAddress, "Node address should not be null"); // Note: Cannot test isGroupAddress() and getNodeType() without CIFSContext in unit test // These methods require network operations and are integration test material } @Test void readRDataWireFormat_shouldSetNbtAddress_whenAddressIsNonZero_groupNameTrue_nodeTypeNonZero()
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
// Uses concrete SMB1 negotiate response to exercise SMB1-specific branch // Build a concrete SMB1 negotiate response to expose ServerData fields jcifs.CIFSContext ctx = mock(jcifs.CIFSContext.class); when(ctx.getConfig()).thenReturn(config); when(config.getCapabilities()).thenReturn(0); when(config.getFlags2()).thenReturn(0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
import jakarta.servlet.http.HttpServlet; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; import jakarta.servlet.http.HttpSession; import jcifs.Address; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Config; import jcifs.DfsReferralData; import jcifs.NameServiceClient; import jcifs.SmbConstants; import jcifs.config.PropertyConfiguration; import jcifs.context.BaseContext;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
private String share; // Can be null private Address[] addresses; private int addressIndex; private int type; private final CIFSContext ctx; /** * * @param ctx * @param u */ public SmbResourceLocatorImpl(final CIFSContext ctx, final URL u) { this.ctx = ctx; this.url = u; } /** * {@inheritDoc} *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
* Tests the contract and behavior of Address implementations. */ @DisplayName("Address Interface Tests") class AddressTest extends BaseTest { @Mock private CIFSContext mockContext; @Mock private Address mockAddress; @Test @DisplayName("Address interface should define correct method signatures") void testInterfaceContract() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
} return cs; } /** * * {@inheritDoc} * * @see jcifs.smb.SmbTreeInternal#connectLogon(jcifs.CIFSContext) */ @Override @Deprecated public void connectLogon(final CIFSContext tf) throws SmbException { if (tf.getConfig().getLogonShare() == null) { try { treeConnect(null, null);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSContext; import jcifs.smb.SmbFile; /** * SMB2/SMB3 Lease Manager * * Manages lease state for SMB2/SMB3 connections */ public class LeaseManager {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLong; import javax.security.auth.Subject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.DialectVersion; import jcifs.RuntimeCIFSException; import jcifs.SmbConstants; import jcifs.SmbSession;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
method.setAccessible(true); Object context = method.invoke(multiChannelManager); assertNotNull(context); assertTrue(context instanceof jcifs.CIFSContext); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0)