Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Machen (0.18 sec)

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

                log.trace("Have DC referral " + dr);
            }
    
            if ( dr != null && domain.equals(dr.getServer()) && root.equals(dr.getShare()) ) {
                // If we do cache these we never get to the properly cached
                // standalone referral we might have.
                log.warn("Dropping self-referential referral " + dr);
                dr = null;
            }
            return dr;
        }
    
    
    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/netbios/NameServiceClient.java

             * be cached and cause other types to fail even though they may
             * not be the authority for the name. For example, if a WINS lookup
             * for FOO fails and caches unknownAddress for FOO, a subsequent
             * lookup for FOO using BCAST should not fail because of that
             * name cached from WINS.
             *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                     * be cached and cause other types to fail even though they may
                     * not be the authority for the name. For example, if a WINS lookup
                     * for FOO fails and caches unknownAddress for FOO, a subsequent
                     * lookup for FOO using BCAST should not fail because of that
                     * name cached from WINS.
                     *
    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)
  4. src/main/java/jcifs/ntlmssp/Type2Message.java

        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);
            TARGET_INFO_CACHE.put(domain, ti);
            return ti;
        }
    
    
    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)
  5. src/test/java/jcifs/tests/DfsTest.java

                public String getServer () {
                    return getTestServer();
                }
    
    
                @Override
                public void stripPathConsumed ( int i ) {}
            };
            dfs.cache(context, "\\" + hostname + "\\" + root + path, dr);
            DfsReferralData ref = dfs.resolve(context, hostname, root, path);
            assertNotNull(ref);
        }
    
    
        @Test
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

                    Config.getProperty("jcifs.smb1.smb.client.domain", null);
        private static final String USERNAME =
                    Config.getProperty("jcifs.smb1.smb.client.username", null);
        private static final int CACHE_POLICY =
                    Config.getInt( "jcifs.smb1.netbios.cachePolicy", 60 * 10 ) * 60; /* 10 hours */
    
        static NbtAddress[] dc_list = null;
        static long dc_list_expiration;
        static int dc_list_counter;
    
    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)
  7. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            }
        }
    
    /**
     * Reads a byte of data from this input stream.
     *
     * @throws IOException if a network error occurs
     */
    
        public int read() throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if( read( tmp, 0, 1 ) == -1 ) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
    /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read () throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if ( read(this.tmp, 0, 1) == -1 ) {
                return -1;
            }
            return this.tmp[ 0 ] & 0xFF;
        }
    
    
        /**
    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)
  9. src/test/java/jcifs/tests/AllTests.java

                if ( ctx.getValue().close() ) {
                    log.error("Context was still in use " + ctx.getKey());
                }
            }
        }
    
    
        static CIFSContext getCachedContext ( String context, Properties props ) throws CIFSException {
            CIFSContext cached = CONTEXT_CACHE.get(context);
            if ( cached == null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SID.java

                    sid_cache.put(sids[si], sids[si]);
                }
            }
    }
        }
        /**
         * Resolve an array of SIDs using a cache and at most one MSRPC request.
         * <p>
         * This method will attempt
         * to resolve SIDs using a cache and cache the results of any SIDs that
         * required resolving with the authority. SID cache entries are currently not
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
Back to top