Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for getAllByName (0.26 sec)

  1. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

       * it to prefer IPv6.
       */
      private var dnsResults = listOf<InetAddress>()
    
      @BeforeEach
      internal fun setUp() {
        val inetAddresses = InetAddress.getAllByName("localhost")
        localhostIpv4 = inetAddresses.firstOrNull { it is Inet4Address }
          ?: throw TestAbortedException()
        localhostIpv6 = inetAddresses.firstOrNull { it is Inet6Address }
          ?: throw TestAbortedException()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/NameServiceClient.java

         * 
         * @param hostname
         * @param possibleNTDomainOrWorkgroup
         * @return found addresses
         * @throws UnknownHostException
         */
        Address[] getAllByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException;
    
    
        /**
         * Lookup <tt>hostname</tt> and return it's <tt>UniAddress</tt>. If the
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

    
        @Override
        public SmbTransportImpl getSmbTransport ( CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning ) throws IOException {
    
            Address[] addrs = tf.getNameServiceClient().getAllByName(name, true);
    
            if ( addrs == null || addrs.length == 0 ) {
                throw new UnknownHostException(name);
            }
    
            Arrays.sort(addrs, new Comparator<Address>() {
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

    synchronized (DOMAIN) {
                long now = System.currentTimeMillis();
                int retry = 1;
    
                do {
                    if (dc_list_expiration < now) {
                        NbtAddress[] list = NbtAddress.getAllByName( DOMAIN, 0x1C, null, null );
                        dc_list_expiration = now + CACHE_POLICY * 1000L;
                        if (list != null && list.length > 0) {
                            dc_list = list;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            }
        }
    
        public static NbtAddress[] getAllByName( String host,
                                            int type,
                                            String scope,
                                            InetAddress svr )
                                            throws UnknownHostException {
            return CLIENT.getAllByName( new Name( host, type, scope ), svr );
        }
    
    /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                            NbtAddress.switchWINS();
                        request.addr = NbtAddress.getWINSAddress();
                    }
                }
            }
        }
    
        NbtAddress[] getAllByName( Name name, InetAddress addr )
                                                throws UnknownHostException {
            int n;
            NameQueryRequest request = new NameQueryRequest( name );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

                        throw uhe;
                    }
                    addresses = UniAddress.getAllByName( NtlmPasswordAuthentication.DEFAULT_DOMAIN, true );
                }
            } else if( path.length() == 0 || path.equals( "/" )) {
                addresses = UniAddress.getAllByName( host, true );
            } else {
                addresses = UniAddress.getAllByName(host, false);
            }
    
            return getNextAddress();
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       * | `http://a%20b:c%20d@host/`       | `"c d"`      |
       */
      @get:JvmName("password") val password: String,
      /**
       * The host address suitable for use with [InetAddress.getAllByName]. May be:
       *
       *  * A regular host name, like `android.com`.
       *
       *  * An IPv4 address, like `127.0.0.1`.
       *
       *  * An IPv6 address, like `::1`. Note that there are no square braces.
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
Back to top