Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for hostname (0.05 sec)

  1. cmd/net_test.go

    			sortedIPList: []string{"hostname", "192.168.1.106", "127.0.0.1"},
    		},
    		// Non parsable ip is assumed to be hostname, with a mixed input of ip and hostname.
    		// gets preserved and moved into left most elements, regardless of
    		// IP based sorting.
    		{
    			ipList:       []string{"hostname1", "10.0.0.13", "hostname2", "127.0.0.1", "192.168.1.106"},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/UniAddress.java

            if (Character.isDigit(hostname.charAt(0))) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
                while (i < len && Character.isDigit(data[i++])) {
                    if (i == len && dots == 3) {
                        // probably an IP address
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/NameServiceClient.java

        /**
         * Lookup addresses for the given <code>hostname</code>.
         *
         * @param hostname the hostname to resolve
         * @param possibleNTDomainOrWorkgroup if true, perform additional master browser lookup
         * @return found addresses
         * @throws UnknownHostException if the hostname cannot be resolved
         */
        Address[] getAllByName(String hostname, boolean possibleNTDomainOrWorkgroup) throws UnknownHostException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/CreateForm.java

     * crawling from duplicate hostnames to the regular canonical hostname.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
        }
    
        /** The CRUD operation mode for form processing */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /** The regular canonical hostname that should be used */
        @Required
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

            }
        }
    
        // Test with different hostnames
        public void test_differentHostnames() {
            String[] hostnames = { "smtp.gmail.com", "mail.example.com", "localhost", "192.168.1.1" };
    
            for (String hostname : hostnames) {
                ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top