Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for HOSTNAME (0.06 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          }
        }
    
        return lookupHttps(hostname)
      }
    
      @Throws(UnknownHostException::class)
      private fun lookupHttps(hostname: String): List<InetAddress> {
        val networkRequests =
          buildList {
            add(client.newCall(buildRequest(hostname, DnsRecordCodec.TYPE_A)))
    
            if (includeIPv6) {
              add(client.newCall(buildRequest(hostname, DnsRecordCodec.TYPE_AAAA)))
            }
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

            .serialNumber(2L)
            .commonName(server.hostName)
            .addSubjectAlternativeName(server.hostName)
            .addSubjectAlternativeName("san.com")
            .addSubjectAlternativeName("*.wildcard.com")
            .addSubjectAlternativeName("differentdns.com")
            .build()
        serverIps = Dns.SYSTEM.lookup(server.hostName)
        dns[server.hostName] = serverIps
        dns["san.com"] = serverIps
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/UniAddress.java

     */
    
    public class UniAddress implements Address {
    
        /**
         * Check whether a hostname is actually an ip address
         *
         * @param hostname the hostname to check
         * @return whether this is an IP address
         */
        public static boolean isDotQuadIP(final String hostname) {
            if (Character.isDigit(hostname.charAt(0))) {
                int i, len, dots;
                char[] data;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

      val hostname = "local.host"
      private val handshakeCertificates =
        run {
          // Generate a self-signed cert for the server to serve and the client to trust.
          val heldCertificate =
            HeldCertificate
              .Builder()
              .commonName(hostname)
              .addSubjectAlternativeName(hostname)
              .build()
          HandshakeCertificates
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top