Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for hostname2 (0.05 sec)

  1. cmd/endpoint.go

    			}
    		}
    	}
    	return ""
    }
    
    // Hostnames - returns list of unique hostnames
    func (l EndpointServerPools) Hostnames() []string {
    	foundSet := set.NewStringSet()
    	for _, ep := range l {
    		for _, endpoint := range ep.Endpoints {
    			if foundSet.Contains(endpoint.Hostname()) {
    				continue
    			}
    			foundSet.Add(endpoint.Hostname())
    		}
    	}
    	return foundSet.ToSlice()
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K 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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

      fun check(
        hostname: String,
        vararg peerCertificates: Certificate,
      ) {
        check(hostname, peerCertificates.toList())
      }
    
      /**
       * Returns list of matching certificates' pins for the hostname. Returns an empty list if the
       * hostname does not have pinned certificates.
       */
      fun findMatchingPins(hostname: String): List<Pin> = pins.filterList { matchesHostname(hostname) }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     *    "www.squareup.com".
     *
     *  * **A set of hostnames.** These are in the certificate's subject alternative name (SAN)
     *    extension. A subject alternative name is either a literal hostname (`squareup.com`), a literal
     *    IP address (`74.122.190.80`), or a hostname pattern (`*.api.squareup.com`).
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_4x.md

     *  Fix: Don't crash with an `InaccessibleObjectException` when running on JDK17+ with strong
        encapsulation enabled.
     *  Fix: Strictly verify hostnames used with OkHttp's `HostnameVerifier`. Programs that make direct
        manual calls to `HostnameVerifier` could be defeated if the hostnames they pass in are not
        strictly ASCII. This issue is tracked as [CVE-2021-0341].
    
    
    ## Version 4.9.1
    
    _2021-01-30_
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 40.4K bytes
    - Viewed (0)
  10. 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)
Back to top