Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 69 for lmhosts (0.26 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/smb1/netbios/Lmhosts.java

    import jcifs.smb1.util.LogStream;
    
    /**
     * Lmhosts file handling for NetBIOS name resolution.
     */
    public class Lmhosts {
    
        /**
         * Default constructor for Lmhosts.
         */
        public Lmhosts() {
            // Default constructor
        }
    
        private static final String FILENAME = Config.getProperty("jcifs.smb1.netbios.lmhosts");
        private static final Hashtable TAB = new Hashtable();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/LmhostsTest.java

    import jcifs.Configuration;
    import jcifs.smb.SmbFileInputStream;
    
    /**
     * Test class for Lmhosts
     */
    class LmhostsTest {
    
        private Lmhosts lmhosts;
        private CIFSContext mockContext;
        private Configuration mockConfig;
    
        @TempDir
        Path tempDir;
    
        @BeforeEach
        void setUp() {
            lmhosts = new Lmhosts();
            mockContext = mock(CIFSContext.class);
            mockConfig = mock(Configuration.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            in = new DatagramPacket(rcv_buf, RCV_BUF_SIZE);
    
            if (RO == null || RO.length() == 0) {
    
                /* No resolveOrder has been specified, use the
                 * default which is LMHOSTS,DNS,WINS,BCAST
                 * LMHOSTS,BCAST,DNS if jcifs.smb1.netbios.wins has not
                 * been specified.
                 */
    
                if (NbtAddress.getWINSAddress() == null) {
                    resolveOrder = new int[2];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/UniAddress.java

            } catch (final UnknownHostException uhe) {}
    
            if (ro == null || ro.length() == 0) {
    
                /* No resolveOrder has been specified, use the
                 * default which is LMHOSTS,WINS,BCAST,DNS or just
                 * LMHOSTS,BCAST,DNS if jcifs.smb1.netbios.wins has not
                 * been specified.
                 */
    
                if (nbns == null) {
                    resolveOrder = new int[3];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17K bytes
    - Click Count (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                return this.localhostAddress.hostName;
            }
            return null;
        }
    
        /**
         * Gets the lmhosts resolver instance used by this client.
         *
         * @return lmhosts file used
         */
        public Lmhosts getLmhosts() {
            return this.lmhosts;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.NameServiceClient#getUnknownName()
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/config/BaseConfiguration.java

         * @param ro comma-separated list of resolver types (LMHOSTS, WINS, BCAST, DNS)
         */
        protected void initResolverOrder(final String ro) {
            this.resolverOrder = new ArrayList<>();
            if (ro == null || ro.length() == 0) {
                /*
                 * No resolveOrder has been specified, use the
                 * default which is LMHOSTS,DNS,WINS,BCAST or just
                 * LMHOSTS,DNS,BCAST if jcifs.netbios.wins has not
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/netbios/UniAddress.java

     * and {@link java.net.InetAddress}. The name resolution mechanisms
     * used will systematically query all available configured resolution
     * services including WINS, broadcasts, DNS, and LMHOSTS. See
     * <a href="../../resolver.html">Setting Name Resolution Properties</a>
     * and the <code>jcifs.resolveOrder</code> property. Changing
     * jCIFS name resolution properties can greatly affect the behavior of
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/Configuration.java

         * @since 2.2
         */
        int getLeaseBreakTimeout();
    
        /**
         *
         *
         * Property {@code jcifs.netbios.lmhosts} (string)
         *
         * @return lmhosts file to use
         */
        String getLmHostsFileName();
    
        /**
         *
         * Property {@code jcifs.netbios.scope} (string)
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/client/CrawlerEngineClient.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String[] hosts =
                    split(address, ",").get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            final Builder builder = Settings.builder()
                    .putList("http.hosts", hosts)
                    .put("processors", fessConfig.getCrawlerHttpProcessors())
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        const val MAX_RESPONSE_SIZE = 64 * 1024
    
        private fun buildBootstrapClient(builder: Builder): Dns {
          val hosts = builder.bootstrapDnsHosts
    
          return if (hosts != null) {
            BootstrapDns(builder.url!!.host, hosts)
          } else {
            builder.systemDns
          }
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 8.6K bytes
    - Click Count (0)
Back to Top