Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 178 for HOST (1.12 sec)

  1. src/test/java/jcifs/ConfigTest.java

            InetAddress defaultAddress = InetAddress.getByName("127.0.0.1");
            assertEquals(localhost, Config.getInetAddress(testProperties, "test.host", null));
            assertEquals(defaultAddress, Config.getInetAddress(testProperties, "nonexistent.host", defaultAddress));
        }
    
        @Test
        @DisplayName("Should get boolean property with default value")
        void testGetBooleanWithDefault() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/UniAddressTest.java

                when(mockInetAddress.getHostName()).thenReturn("inet-host");
                UniAddress uniAddress = new UniAddress(mockInetAddress);
                assertEquals("inet-host", uniAddress.getHostName());
            }
    
            @Test
            void shouldReturnNbtAddressHostnameWhenWrappedIsNbtAddress() {
                when(mockNbtAddress.getHostName()).thenReturn("nbt-host");
                UniAddress uniAddress = new UniAddress(mockNbtAddress);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/Handler.java

        protected void parseURL(final URL u, String spec, final int start, int limit) {
            final String host = u.getHost();
            String path, ref;
            int port;
    
            if (spec.equals("smb://")) {
                spec = "smb:////";
                limit += 2;
            } else if (!spec.startsWith("smb://") && host != null && host.length() == 0) {
                spec = "//" + spec;
                limit += 2;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/LmhostsTest.java

            }
    
            when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath());
    
            // Test first host
            NbtAddress result = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result);
            assertEquals("TESTHOST", result.getHostName());
    
            // Test second host
            result = lmhosts.getByName("SERVER01", mockContext);
            assertNotNull(result);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/AddressTest.java

            // When
            String hostName = mockAddress.getHostName();
    
            // Then
            assertEquals(expectedHostName, hostName, "Should return configured hostname");
            assertNotNull(hostName, "Host name should not be null");
        }
    
        @Test
        @DisplayName("getHostAddress should return valid IP address string")
        void testGetHostAddressContract() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            jcifs.SmbTransport mock = mock(jcifs.SmbTransport.class);
            // Stub the getRemoteHostName method
            when(mock.getRemoteHostName()).thenReturn("test-host");
            // Verify the stubbing
            assertEquals("test-host", mock.getRemoteHostName());
            // Ensure that the mock was interacted with
            verify(mock).getRemoteHostName();
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/main/resources/mail/es_status.dfmail

    /*
     [Crawler Notification]
    */
    subject: [FESS] Status Change: /*pmb.hostname:orElse('Unknown')*/
    >>>
    --- Server Info ---
    Cluster Name: /*pmb.clustername:orElse('Unknown')*/
    Host Name: /*pmb.hostname:orElse('Unknown')*/
    
    --- Status ---
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Oct 27 02:03:02 UTC 2016
    - 291 bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

     */
    public interface DfsReferralDataInternal extends DfsReferralData {
    
        /**
         * Replaces the host with the given FQDN if it is currently unqualified
         *
         * @param fqdn the fully qualified domain name to use
         */
        void fixupHost(String fqdn);
    
        /**
         * Possibly appends the given domain name to the host name if it is currently unqualified
         *
         * @param domain the domain name to append
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

            }
    
            /**
             * Returns the virtual host.
             *
             * @return The virtual host.
             */
            public String getVirtualHost() {
                return virtualHost;
            }
    
            /**
             * Sets the virtual host.
             *
             * @param virtualHost The virtual host.
             */
            public void setVirtualHost(final String virtualHost) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/Lmhosts.java

         * throw on a regular basis here.
         *
         * @param host the hostname to resolve
         * @return the resolved NbtAddress or null if not found
         */
    
        public synchronized static NbtAddress getByName(final String host) {
            return getByName(new Name(host, 0x20, null));
        }
    
        synchronized static NbtAddress getByName(final Name name) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top