Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Wong (0.14 sec)

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

    public class DfsImpl implements DfsResolver {
    
        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/test/java/jcifs/tests/FileAttributesTest.java

            try ( SmbResource f = createTestFile() ) {
                try {
                    long orig = f.createTime();
                    long time = System.currentTimeMillis() - 60 * 60 * 12;
                    f.setCreateTime(time);
                    long newTime = f.createTime();
                    if ( newTime == orig ) {
                        Assume.assumeTrue("Create time was not changed", false);
    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)
  3. src/test/java/jcifs/tests/FileOperationsTest.java

                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
        public void testCopyFile () throws IOException {
            int bufSize = 65536;
            long length = 4096 * 16;
            try ( SmbFile f = createTestFile() ) {
                try ( SmbFile d1 = createTestDirectory();
                      SmbFile t = new SmbFile(d1, makeRandomName()) ) {
                    try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

        protected String nativeOs;
        protected String nativeLanMan = "jCIFS";
        protected int vcNumber = 1;
        protected boolean dfsDisabled = false;
        protected long dfsTTL = 300;
        protected boolean dfsStrictView = false;
        protected boolean dfsConvertToFqdn;
        protected String logonShare;
        protected String defaultDomain;
        protected String defaultUserName;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb/SmbFile.java

        private static Logger log = LoggerFactory.getLogger(SmbFile.class);
    
        private long createTime;
        private long lastModified;
        private long lastAccess;
        private int attributes;
        private long attrExpiration;
        private long size;
        private long sizeExpiration;
        private boolean isExists;
    
        private CIFSContext transportContext;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

        }
    
    
        @Override
        protected long makeKey ( Request request ) throws IOException {
            long m = this.mid.incrementAndGet() - 1;
            if ( !this.smb2 ) {
                m = ( m % 32000 );
            }
            ( (CommonServerMessageBlock) request ).setMid(m);
            return m;
        }
    
    
        @Override
        protected Long peekKey () throws IOException {
            do {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeImpl.java

        private final SmbSessionImpl session;
    
        private volatile int tid = -1;
        private volatile String service = "?????";
        private volatile boolean inDfs, inDomainDfs;
        private volatile long treeNum; // used by SmbFile.isOpen
    
        private final AtomicLong usageCount = new AtomicLong(0);
        private final AtomicBoolean sessionAcquired = new AtomicBoolean(true);
    
        private final boolean traceResource;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Configuration.java

    
        /**
         * 
         * 
         * Property <tt>jcifs.smb.client.dfs.ttl</tt> (int, default 300)
         * 
         * @return title to live, in seconds, for DFS cache entries
         */
        long getDfsTtl ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.dfs.strictView</tt> (boolean, default false)
         * 
         * @return whether a authentication failure during DFS resolving will throw an exception
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

        private String share;            // Can be null
        private long createTime;
        private long lastModified;
        private int attributes;
        private long attrExpiration;
        private long size;
        private long sizeExpiration;
        private boolean isExists;
        private int shareAccess = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE;
    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)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            initCache(tc);
        }
    
        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;
            }
        }
    
    
        /**
    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)
Back to top