- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 174 for GetConfig (0.08 sec)
-
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
/* * NtTrans Notify Change Request / Response */ req = new NtTransNotifyChange(th.getConfig(), this.handle.getFid(), this.filter, this.recursive); resp = new NtTransNotifyChangeResponse(th.getConfig()); } if (log.isTraceEnabled()) { log.trace("Sending NtTransNotifyChange for " + this.handle); }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/SmbTreeConnection.java
} static SmbTreeConnection create(final CIFSContext c) { if (c.getConfig().isTraceResourceUsage()) { return new SmbTreeConnectionTrace(c); } return new SmbTreeConnection(c); } static SmbTreeConnection create(final SmbTreeConnection c) { if (c.ctx.getConfig().isTraceResourceUsage()) { return new SmbTreeConnectionTrace(c); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
lenient().when(tree.isConnected()).thenReturn(true); // CIFS context returns same config to build responses during initResponse lenient().when(cifsContext.getConfig()).thenReturn(config); } @AfterEach void teardown() { // No global state to reset beyond mocks } static Stream<String> wildcardProvider() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
when(mockLocator.getUNCPath()).thenReturn("\\localhost\share\newdir"); when(mockLocator.getShare()).thenReturn("share"); // Mock tree handle's getConfig() to return our mock config when(mockTreeHandle.getConfig()).thenReturn(mockConfig); } @Test void testMkdir() throws SmbException, CIFSException { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
} if (this.useNTSmbs) { this.reqx = new SmbComWriteAndX(th.getConfig()); this.rspx = new SmbComWriteAndXResponse(th.getConfig()); } else { this.req = new SmbComWrite(th.getConfig()); this.rsp = new SmbComWriteResponse(th.getConfig()); } } /** * Ensures that the file descriptor is openend *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/CIFSContextTest.java
// Given Configuration mockConfig = mock(Configuration.class); when(mockContext.getConfig()).thenReturn(mockConfig); // When Configuration config = mockContext.getConfig(); // Then assertEquals(mockConfig, config); verify(mockContext).getConfig(); } @Test @DisplayName("Should get NameServiceClient")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java
* @param leaseKey lease key * @param leaseState acknowledged lease state */ public Smb2LeaseBreakAcknowledgment(CIFSContext context, Smb2LeaseKey leaseKey, int leaseState) { this(context.getConfig(), leaseKey, leaseState); } /** * Gets the lease key for this acknowledgment * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
// Arrange mocks for available() when(handle.ensureOpen()).thenReturn(fd); when(fd.getTree()).thenReturn(tree); when(tree.isSMB2()).thenReturn(true); when(tree.getConfig()).thenReturn(config); when(config.getTransactionBufferSize()).thenReturn(65535); Smb2IoctlResponse ioResp = mock(Smb2IoctlResponse.class); SrvPipePeekResponse peek = mock(SrvPipePeekResponse.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
} final TransPeekNamedPipe req = new TransPeekNamedPipe(th.getConfig(), this.handle.getUncPath(), fd.getFid()); final TransPeekNamedPipeResponse resp = new TransPeekNamedPipeResponse(th.getConfig()); th.send(req, resp, RequestParam.NO_RETRY); if (resp.getStatus() == TransPeekNamedPipeResponse.STATUS_DISCONNECTEDRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
if (!isDirectory() || !context.getConfig().isUseDirectoryLeasing()) { return; } if (!tree.getSession().supports(SMB3_0)) { return; // Directory leasing requires SMB3 } directoryLeaseManager = tree.getSession().getDirectoryLeaseManager(); if (directoryLeaseManager != null) { DirectoryCacheScope scope = context.getConfig().getDirectoryCacheScope();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0)