Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for hostnames (4.82 sec)

  1. src/main/java/jcifs/smb1/UniAddress.java

         */
        public static UniAddress getByName(final String hostname) throws UnknownHostException {
            return getByName(hostname, false);
        }
    
        static boolean isDotQuadIP(final String hostname) {
            if (hostname != null && hostname.length() > 0 && Character.isDigit(hostname.charAt(0))) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/Config.java

            }
            return def;
        }
    
        /**
         * Retrieve an array of <code>InetAddress</code> created from a property
         * value containting a <code>delim</code> separated list of hostnames and/or
         * ipaddresses.
         *
         * @param key the property key to look up
         * @param delim the delimiter used to separate addresses in the property value
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/UniAddressTest.java

                assertTrue(UniAddress.isDotQuadIP(ip));
            }
    
            @ParameterizedTest(name = "should return false for invalid IP address or hostname: {0}")
            @ValueSource(strings = { "192.168.1", "hostname", "1.2.3.4.5", "192.168.1.1a", "a.b.c.d" })
            void shouldReturnFalseForInvalidIpAddressesOrHostnames(String input) {
                assertFalse(UniAddress.isDotQuadIP(input));
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

        static final class CacheEntry {
            Name hostName;
            NbtAddress address;
            long expiration;
    
            CacheEntry(final Name hostName, final NbtAddress address, final long expiration) {
                this.hostName = hostName;
                this.address = address;
                this.expiration = expiration;
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/NameServiceClientTest.java

        }
    
        @Test
        void testGetByName_String() throws UnknownHostException {
            // Arrange
            String hostname = "testHostname";
            Address expectedAddress = mock(Address.class);
            when(nameServiceClient.getByName(hostname)).thenReturn(expectedAddress);
    
            // Act
            Address actualAddress = nameServiceClient.getByName(hostname);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        private static boolean isAllDigits(final String hostname) {
            for (int i = 0; i < hostname.length(); i++) {
                if (!Character.isDigit(hostname.charAt(i))) {
                    return false;
                }
            }
            return true;
        }
    
        @Override
        public UniAddress getByName(final String hostname) throws UnknownHostException {
            return getByName(hostname, false);
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/mail/CrawlerPostcard.java

        /**
         * Set the value of hostname, used in parameter comment. <br>
         * Even if empty string, treated as empty plainly. So "IF pmb != null" is false if empty.
         * @param hostname The parameter value of hostname. (NotNull)
         */
        public void setHostname(String hostname) {
            registerVariable("hostname", hostname);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NbtAddress.java

        Name hostName;
        int address, nodeType;
        boolean groupName, isBeingDeleted, isInConflict, isActive, isPermanent, isDataFromNodeStatus;
        byte[] macAddress;
        String calledName;
    
        NbtAddress(final Name hostName, final int address, final boolean groupName, final int nodeType) {
            this.hostName = hostName;
            this.address = address;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                    for (int i = 0; i < response.addressArray.length; i++) {
                        response.addressArray[i].hostName.srcHashCode = srcHashCode;
                    }
                    return response.addressArray;
                }
            }
            throw new UnknownHostException(addr.hostName.name);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/FileAuthenticationDbm.java

                false, false, false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnHostname = cci("hostname", "hostname", null, null, String.class, "hostname", null, false, false,
                false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top