Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for getConfig (0.16 sec)

  1. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            this.rcv_buf = new byte[tc.getConfig().getNetbiosRcvBufSize()];
            this.out = new DatagramPacket(this.snd_buf, tc.getConfig().getNetbiosSndBufSize(), this.baddr, NAME_SERVICE_UDP_PORT);
            this.in = new DatagramPacket(this.rcv_buf, tc.getConfig().getNetbiosRcvBufSize());
            this.resolveOrder = tc.getConfig().getResolveOrder();
    
            initCache(tc);
        }
    
        static final class CacheEntry {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

            CIFSContext ctx = getContext();
            int origBufferSize = ctx.getConfig().getMaximumBufferSize();
            // odd buffer size that does match the alignment
            int tryBufferSize = 1023;
            final int bufSize[] = new int[] {
                origBufferSize
            };
            ctx = withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) {
    
                @Override
                public int getMaximumBufferSize () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            Smb2CreateRequest create = new Smb2CreateRequest(th.getConfig(), uncPath);
            create.setCreateOptions(Smb2CreateRequest.FILE_DIRECTORY_FILE);
            create.setDesiredAccess(SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_ATTRIBUTES);
            Smb2QueryDirectoryRequest query = new Smb2QueryDirectoryRequest(th.getConfig());
            query.setFileName(getWildcard());
            create.chain(query);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 16:15:08 GMT 2020
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbCopyUtil.java

                        dh.send(
                            new Trans2SetFileInformation(dh.getConfig(), dfd.getFid(), attrs, ctime, mtime, atime),
                            new Trans2SetFileInformationResponse(dh.getConfig()));
                    }
                    else {
                        dh.send(
                            new SmbComSetInformation(dh.getConfig(), dest.getUncPath(), attrs, mtime),
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

            if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) {
                this.largeReadX = true;
                this.readSizeFile = Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70);
                log.debug("Enabling LARGE_READX with " + this.readSizeFile);
            }
            else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/CIFSContextWrapper.java

            }
        }
    
    
        protected CIFSContext wrap ( CIFSContext newContext ) {
            return newContext;
        }
    
    
        @Override
        public Configuration getConfig () {
            return this.delegate.getConfig();
        }
    
    
        @Override
        public DfsResolver getDfs () {
            return this.delegate.getDfs();
        }
    
    
        @Override
        public Credentials getCredentials () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/session/Smb2LogoffRequest.java

            super(config, SMB2_LOGOFF);
        }
    
    
        @Override
        protected Smb2LogoffResponse createResponse ( CIFSContext tc, ServerMessageBlock2Request<Smb2LogoffResponse> req ) {
            return new Smb2LogoffResponse(tc.getConfig());
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/BaseContext.java

        public SmbTransportPool getTransportPool () {
            return this.transportPool;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getConfig()
         */
        @Override
        public Configuration getConfig () {
            return this.config;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getDfs()
         */
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 27 18:25:00 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

        private byte[] targetInformation;
    
        private static final Map<String, byte[]> TARGET_INFO_CACHE = new HashMap<>();
    
    
        private static byte[] getDefaultTargetInfo ( CIFSContext tc ) {
            String domain = tc.getConfig().getDefaultDomain();
            byte[] ti = TARGET_INFO_CACHE.get(domain);
            if ( ti != null ) {
                return ti;
            }
    
            ti = makeTargetInfo(tc, domain);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NetServerEnumIterator.java

                this.request = new NetServerEnum2(th.getConfig(), th.getOEMDomainName(), NetServerEnum2.SV_TYPE_DOMAIN_ENUM);
                this.response = new NetServerEnum2Response(th.getConfig());
            }
            else if ( this.workgroup ) {
                this.request = new NetServerEnum2(th.getConfig(), locator.getURL().getHost(), NetServerEnum2.SV_TYPE_ALL);
                this.response = new NetServerEnum2Response(th.getConfig());
            }
            else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
Back to top