- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 180 for setConfig (0.28 seconds)
-
src/main/java/jcifs/internal/smb1/com/SmbComClose.java
setResponse(resp); return resp; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; if (this.digest != null) { SMB1SigningDigest.writeUTime(getConfig(), this.lastWriteTime, dst, dstIndex); } else {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
@Test @DisplayName("getPreNTLMResponse: uses OEM bytes, truncates to 14, verifies interactions") void testGetPreNTLMResponse_basicAndInteractions() throws Exception { // Arrange when(cifsContext.getConfig()).thenReturn(configuration); when(configuration.getOemEncoding()).thenReturn("Cp850"); String password14 = "ABCDEFGHIJKLMN"; // 14 chars String password15 = "ABCDEFGHIJKLMNO"; // 15 chars, same first 14Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
src/main/java/jcifs/smb/NtlmContext.java
} else { this.ntlmsspFlags |= NtlmFlags.NTLMSSP_NEGOTIATE_ANONYMOUS; } this.requireKeyExchange = doSigning; this.workstation = tc.getConfig().getNetbiosHostname(); } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#getSupportedMechs() */ @Override public ASN1ObjectIdentifier[] getSupportedMechs() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
void testCreateResponse() { // Given Configuration mockConfig = mock(Configuration.class); CIFSContext mockContext = mock(CIFSContext.class); when(mockContext.getConfig()).thenReturn(mockConfig); Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig); // When Smb2TreeDisconnectResponse response = request.createResponse(mockContext, request);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(handle.isValid()).thenReturn(true); when(handle.getTree()).thenReturn(tree); when(tree.isSMB2()).thenReturn(true); when(tree.getConfig()).thenReturn(mock(Configuration.class)); when(handle.getFileId()).thenReturn(fileId); when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java
*/ public RdmaTransport(SmbTransportInternal delegate, CIFSContext context) { this.delegate = delegate; this.rdmaProvider = RdmaProviderFactory.getProvider(context.getConfig()); this.bufferManager = new RdmaBufferManager(rdmaProvider); this.statistics = new RdmaStatistics(); log.debug("Created RDMA transport with provider: {}", rdmaProvider.getClass().getSimpleName());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/HandlerTest.java
@Test @DisplayName("openConnection returns SmbFile using provided CIFSContext") void testOpenConnection_UsesProvidedContext() throws MalformedURLException, IOException { // Arrange when(mockCtx.getConfig()).thenReturn(mockCfg); when(mockCfg.isTraceResourceUsage()).thenReturn(false); Handler handler = newHandlerWith(mockCtx); URL url = new URL(null, "smb://example-host/share/", new Handler());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
* @return the wrapped context */ protected CIFSContext wrap(final CIFSContext newContext) { return newContext; } @Override public Configuration getConfig() { return this.delegate.getConfig(); } @Override public DfsResolver getDfs() { return this.delegate.getDfs(); } @Override public Credentials getCredentials() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
return this.treeConnection.isConnected(); } /** * {@inheritDoc} * * @see jcifs.SmbTreeHandle#getConfig() */ @Override public Configuration getConfig() { return this.treeConnection.getConfig(); } /** * @return the currently connected tree id */ public long getTreeId() { return this.treeConnection.getTreeId();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0)