Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 146 for InetAddress (0.24 seconds)

  1. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

    import java.net.InetAddress;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.witness.WitnessRegistration.WitnessRegistrationState;
    
    /**
     * Unit tests for WitnessRegistration class.
     */
    public class WitnessRegistrationTest {
    
        private WitnessRegistration registration;
        private InetAddress serverAddress;
    
        @BeforeEach
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt

      headers: Headers,
    ): HttpUrl {
      val hostAndPort =
        headers[":authority"]
          ?: headers["Host"]
          ?: when (val inetAddress = socket.localAddress) {
            is Inet6Address -> "[${inetAddress.hostAddress}]:${socket.localPort}"
            else -> "${inetAddress.hostAddress}:${socket.localPort}"
          }
    
      // For OPTIONS, the request target may be a '*', like 'OPTIONS * HTTP/1.1'.
      val path =
        when {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 12:43:16 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/NameServiceClient.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    
    /**
     *
     * This is an internal API for resolving names
     *
     * @author mbechler
     */
    public interface NameServiceClient {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  4. okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api

    public final class okhttp3/dnsoverhttps/DnsOverHttps$Builder {
    	public fun <init> ()V
    	public final fun bootstrapDnsHosts (Ljava/util/List;)Lokhttp3/dnsoverhttps/DnsOverHttps$Builder;
    	public final fun bootstrapDnsHosts ([Ljava/net/InetAddress;)Lokhttp3/dnsoverhttps/DnsOverHttps$Builder;
    	public final fun build ()Lokhttp3/dnsoverhttps/DnsOverHttps;
    	public final fun client (Lokhttp3/OkHttpClient;)Lokhttp3/dnsoverhttps/DnsOverHttps$Builder;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 27 15:23:43 GMT 2022
    - 1.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/SmbTransportPool.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    
    /**
     * This is an internal API for managing pools of SMB connections
     *
     * @author mbechler
     *
     * <p>This interface is intended for internal use.</p>
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/resources/forbidden/jdk-signatures.txt

    @defaultMessage use NetworkAddress format() to print IP or IP+ports
    java.net.InetAddress#toString()
    java.net.InetAddress#getHostAddress()
    java.net.Inet4Address#getHostAddress()
    java.net.Inet6Address#getHostAddress()
    java.net.InetSocketAddress#toString()
    
    @defaultMessage avoid DNS lookups by accident: if you have a valid reason, then @SuppressWarnings with that reason so its completely clear
    java.net.InetAddress#getHostName()
    java.net.InetAddress#getCanonicalHostName()
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.8K bytes
    - Click Count (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

            add(buildCryptoSx(client)) // 521 - server down
          }
          add(buildChantra(client))
        }
    
      private fun getByIp(host: String): InetAddress =
        try {
          InetAddress.getByName(host)
        } catch (e: UnknownHostException) {
          // unlikely
          throw RuntimeException(e)
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. docs/smb3-features/03-multi-channel-design.md

    package jcifs.internal.smb2.multichannel;
    
    import java.net.InetAddress;
    import java.net.NetworkInterface;
    import java.util.ArrayList;
    import java.util.List;
    
    public class NetworkInterfaceInfo {
        private int interfaceIndex;
        private int capability;
        private int linkSpeed;  // In units of 1 Mbps
        private byte[] sockaddrStorage;  // Socket address
        private InetAddress address;
        private boolean ipv6;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

     * limitations under the License.
     */
    package okhttp3.internal.authenticator
    
    import java.io.IOException
    import java.net.Authenticator
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import okhttp3.Credentials
    import okhttp3.Dns
    import okhttp3.HttpUrl
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.Route
    
    /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       */
      @Throws(IOException::class)
      public fun start(
        inetAddress: InetAddress,
        port: Int,
      ) {
        start(InetSocketAddress(inetAddress, port))
      }
    
      /**
       * Starts the server and binds to the given socket address.
       *
       * @param socketAddress the socket address to bind the server on
       */
      @Synchronized
      @Throws(IOException::class)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 40.3K bytes
    - Click Count (0)
Back to Top