Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for Reconfig (0.17 sec)

  1. 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
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 17 10:20:23 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/Lmhosts.java

            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
    
        synchronized NbtAddress getByName ( Name name, CIFSContext tc ) {
            NbtAddress result = null;
    
            try {
                if ( tc.getConfig().getLmHostsFileName() != null ) {
                    File f = new File(tc.getConfig().getLmHostsFileName());
                    long lm;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/context/BaseContext.java

        private final CredentialsInternal defaultCredentials;
    
    
        /**
         * Construct a context
         * 
         * @param config
         *            configuration for the context
         * 
         */
        public BaseContext ( Configuration config ) {
            this.config = config;
            this.dfs = new DfsImpl(this);
            this.sidResolver = new SIDCacheImpl(this);
            this.urlHandler = new Handler(this);
    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)
  7. 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)
  8. src/test/java/jcifs/tests/FileAttributesTest.java

                try {
                    long time = System.currentTimeMillis() - 1000 * 60 * 60 * 12;
                    f.setLastModified(time);
    
                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
                        // there seems to be some random factor (adding one second)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            }
        }
    
    
        static FileEntry[] doNetShareEnum ( SmbTreeHandleImpl th ) throws CIFSException {
            SmbComTransaction req = new NetShareEnum(th.getConfig());
            SmbComTransactionResponse resp = new NetShareEnumResponse(th.getConfig());
            th.send(req, resp);
            if ( resp.getStatus() != WinError.ERROR_SUCCESS )
                throw new SmbException(resp.getStatus(), true);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbTreeHandle.java

    /**
     * Handle to a connected SMB tree
     * 
     * @author mbechler
     *
     */
    public interface SmbTreeHandle extends AutoCloseable {
    
        /**
         * @return the active configuration
         */
        Configuration getConfig ();
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close () throws CIFSException;
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
Back to top