Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for exploration (0.8 sec)

  1. src/main/java/jcifs/smb/DfsImpl.java

        private static final DfsReferralDataImpl NEGATIVE_ENTRY = new DfsReferralDataImpl();
    
        private static class CacheEntry <T> {
    
            long expiration;
            Map<String, T> map;
    
    
            CacheEntry ( long ttl ) {
                this.expiration = System.currentTimeMillis() + ttl * 1000L;
                this.map = new ConcurrentHashMap<>();
            }
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/transport/Response.java

    package jcifs.smb1.util.transport;
    
    public abstract class Response {
        public long expiration;
        public boolean isReceived;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 130 bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

                try {
                    response_map.put( request, response );
                    doSend( request );
                    response.expiration = System.currentTimeMillis() + timeout;
                    while (!response.isReceived) {
                        wait( timeout );
                        timeout = response.expiration - System.currentTimeMillis();
                        if (timeout <= 0) {
                            throw new TransportException( name +
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        static final class CacheEntry {
    
            Name hostName;
            NbtAddress address;
            long expiration;
    
    
            CacheEntry ( Name hostName, NbtAddress address, long expiration ) {
                this.hostName = hostName;
                this.address = address;
                this.expiration = expiration;
            }
        }
    
    
        /**
         * 
         */
        private void initCache ( CIFSContext tc ) {
    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)
  5. src/main/java/jcifs/smb1/smb1/Dfs.java

    import jcifs.smb1.UniAddress;
    import jcifs.smb1.util.*;
    
    import java.io.*;
    
    public class Dfs {
    
        static class CacheEntry {
            long expiration;
            HashMap map;
    
            CacheEntry(long ttl) {
                if (ttl == 0)
                    ttl = Dfs.TTL;
                expiration = System.currentTimeMillis() + ttl * 1000L;
                map = new HashMap();
            }
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

        static final int ATTR_TEMPORARY        = 0x100;
    
        static final int ATTR_GET_MASK = 0x7FFF; /* orig 0x7fff */
        static final int ATTR_SET_MASK = 0x30A7; /* orig 0x0027 */
    
        static final int DEFAULT_ATTR_EXPIRATION_PERIOD = 5000;
    
        static final int HASH_DOT     = ".".hashCode();
        static final int HASH_DOT_DOT = "..".hashCode();
    
        static LogStream log = LogStream.getInstance();
        static long attrExpirationPeriod;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

    synchronized (DOMAIN) {
                long now = System.currentTimeMillis();
                int retry = 1;
    
                do {
                    if (dc_list_expiration < now) {
                        NbtAddress[] list = NbtAddress.getAllByName( DOMAIN, 0x1C, null, null );
                        dc_list_expiration = now + CACHE_POLICY * 1000L;
                        if (list != null && list.length > 0) {
                            dc_list = list;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

         */
        @Override
        public Long getExpiration () {
            return this.expiration;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#setExpiration(java.lang.Long)
         */
        @Override
        public void setExpiration ( Long exp ) {
            this.expiration = exp;
        }
    
    
        /**
         * @return whether the interim response has been handled
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtAddress.java

        };
    
        static final class CacheEntry {
            Name hostName;
            NbtAddress address;
            long expiration;
    
            CacheEntry( Name hostName, NbtAddress address, long expiration ) {
                this.hostName = hostName;
                this.address = address;
                this.expiration = expiration;
            }
        }
    
        static NbtAddress localhost;
    
        static {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                    + ",path=" + this.path + ",ttl=" + this.ttl + ",expiration=" + this.expiration + ",remain="
                    + ( this.expiration - System.currentTimeMillis() ) + "]";
        }
    
    
        /**
         * @return the ttl
         */
        public long getTtl () {
            return this.ttl;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
Back to top