Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 174 for GetConfig (0.08 sec)

  1. 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(),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. 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;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  3. 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);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. 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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. 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() method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

        }
    
        /**
         * @return the configuration used by this session
         */
        @Override
        public Configuration getConfig() {
            return this.transportContext.getConfig();
        }
    
        /**
         * @return the targetDomain
         */
        public String getTargetDomain() {
            return this.targetDomain;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  7. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. 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;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top