Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 143 for get_config (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/SmbSessionTest.java

                when(mockSession.getConfig()).thenReturn(mockConfig);
    
                Configuration result1 = mockSession.getConfig();
                Configuration result2 = mockSession.getConfig();
    
                assertSame(result1, result2, "getConfig() should return consistent values");
                verify(mockSession, times(2)).getConfig();
            }
        }
    
        @Nested
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                }
                if (this.call) {
                    th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig()));
                    final TransCallNamedPipeResponse resp = new TransCallNamedPipeResponse(th.getConfig(), inB);
                    th.send(new TransCallNamedPipe(th.getConfig(), this.uncPath, buf, off, length), resp);
                    return resp.getResponseLength();
                }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

                }
                final CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
                this._domains = entry;
                if (tf.getConfig().isDfsStrictView() && ioe instanceof SmbAuthException) {
                    throw (SmbAuthException) ioe;
                }
                return this._domains.map;
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 29.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/netbios/Lmhosts.java

            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
        synchronized NbtAddress getByName(final Name name, final CIFSContext tc) {
            NbtAddress result = null;
    
            try {
                if (tc.getConfig().getLmHostsFileName() != null) {
                    final File f = new File(tc.getConfig().getLmHostsFileName());
                    long lm = f.lastModified();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         */
        public NtlmPasswordAuthentication(final CIFSContext tc, final String userInfo) {
            super(userInfo, tc.getConfig().getDefaultDomain(),
                    tc.getConfig().getDefaultUsername() != null ? tc.getConfig().getDefaultUsername() : "GUEST",
                    tc.getConfig().getDefaultPassword() != null ? tc.getConfig().getDefaultPassword() : "");
            this.context = tc;
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            this.response = new Trans2FindFirst2Response(th.getConfig());
    
            try {
                th.send(new Trans2FindFirst2(th.getConfig(), unc, this.getWildcard(), this.getSearchAttributes(), th.getConfig().getListCount(),
                        th.getConfig().getListSize() - FIND_OVERHEAD), this.response);
    
                this.nextRequest = new Trans2FindNext2(th.getConfig(), this.response.getSid(), this.response.getResumeKey(),
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. 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); // delete
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  8. 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

                // Arrange
                when(cifsContext.getConfig()).thenReturn(configuration);
                Smb2LogoffRequest req = newRequest();
    
                // Act
                Smb2LogoffResponse resp = req.createResponse(cifsContext, null);
    
                // Assert
                assertNotNull(resp, "Response should be created even if req is null");
                verify(cifsContext, times(1)).getConfig();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                dstIndex += writeString(this.accountName, dst, dstIndex);
                dstIndex += writeString(this.primaryDomain, dst, dstIndex);
            }
            dstIndex += writeString(getConfig().getNativeOs(), dst, dstIndex);
            dstIndex += writeString(getConfig().getNativeLanman(), dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top