- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 180 for setConfig (0.38 seconds)
-
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled); } @Override public SmbTransportImpl getSmbTransport(final CIFSContext tc, final Address address, final int port, final boolean nonPooled, final boolean forceSigning) { return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled,
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
final boolean forceSigning) { this.transportContext = tc; this.signingEnforced = forceSigning || this.getContext().getConfig().isSigningEnforced(); this.sessionExpiration = System.currentTimeMillis() + tc.getConfig().getSessionTimeout(); this.address = address; this.port = port; this.localAddr = localAddr; this.localPort = localPort;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} else { // this is the original, COM_WRITE allows truncation but no 64 bit offsets final SmbComWriteResponse rsp = new SmbComWriteResponse(th.getConfig()); th.send(new SmbComWrite(th.getConfig(), fh.getFid(), (int) (newLength & 0xFFFFFFFFL), 0, this.tmp, 0, 0), rsp, RequestParam.NO_RETRY); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
} else { th.send(new SmbComDeleteDirectory(th.getConfig(), fileName), new SmbComBlankResponse(th.getConfig())); } } else if (th.isSMB2()) { final Smb2CreateRequest req = new Smb2CreateRequest(th.getConfig(), fileName.substring(1)); req.setDesiredAccess(0x10000); // deleteCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
} else { dh.send(new SmbComSetInformation(dh.getConfig(), dest.getUncPath(), attrs, mtime), new SmbComSetInformationResponse(dh.getConfig())); } } } catch (final IOException se) { if (!src.getContext().getConfig().isIgnoreCopyToException()) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
final Smb2CreateRequest create = new Smb2CreateRequest(th.getConfig(), uncPath); create.setCreateOptions(Smb2CreateRequest.FILE_DIRECTORY_FILE); create.setDesiredAccess(SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_ATTRIBUTES); final Smb2QueryDirectoryRequest query = new Smb2QueryDirectoryRequest(th.getConfig()); query.setFileName(getWildcard()); create.chain(query);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
} @Test void testGetConfig() { // Test getConfig() method Configuration mockConfig = mock(Configuration.class); when(mockDelegate.getConfig()).thenReturn(mockConfig); assertEquals(mockConfig, cifsContextWrapper.getConfig()); verify(mockDelegate).getConfig(); } @Test void testGetDfs() { // Test getDfs() methodCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
@DisplayName("Constructor acquires tree connection; getConfig/isConnected delegate") void constructorAndSimpleDelegations() { // Ensures constructor acquires tree connection and simple delegate methods forward correctly // Verify constructor invoked acquire once verify(treeConnection, times(1)).acquire(); // getConfig delegates when(treeConnection.getConfig()).thenReturn(config);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
return false; } if (!selected.atLeast(getConfig().getMinimumVersion()) || !selected.atMost(getConfig().getMaximumVersion())) { log.debug("Server selected an disallowed dialect version {} (min: {} max: {})", selected, getConfig().getMinimumVersion(), getConfig().getMaximumVersion()); return false; } this.selectedDialect = selected;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/test/java/jcifs/context/SingletonContextTest.java
CIFSContext context = SingletonContext.getInstance(); assertNotNull(context); assertEquals("CustomOS", context.getConfig().getNativeOs()); assertEquals("CustomLanman", context.getConfig().getNativeLanman()); } @Test void testInitAlreadyInitializedThrowsException() throws CIFSException { // Test attempting to initialize when already initialized
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0)