Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for getByName (0.34 sec)

  1. okhttp/src/test/java/okhttp3/internal/connection/InetAddressOrderTest.kt

    @Suppress("ktlint:standard:property-naming")
    class InetAddressOrderTest {
      val ipv4_10_0_0_6 = Inet4Address.getByName("10.0.0.6")
      val ipv4_10_0_0_1 = Inet4Address.getByName("10.0.0.1")
      val ipv4_10_0_0_4 = Inet4Address.getByName("10.0.0.4")
      val ipv6_ab = Inet6Address.getByName("::ac")
      val ipv6_fc = Inet6Address.getByName("::fc")
    
      @Test fun prioritiseIpv6Example() {
        val result =
          reorderForHappyEyeballs(
            listOf(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertTrue(InetAddresses.isMaximum(address));
      }
    
      public void testIncrementIPv4() throws UnknownHostException {
        InetAddress address_66_0 = InetAddress.getByName("172.24.66.0");
        InetAddress address_66_255 = InetAddress.getByName("172.24.66.255");
        InetAddress address_67_0 = InetAddress.getByName("172.24.67.0");
    
        InetAddress address = address_66_0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertTrue(InetAddresses.isMaximum(address));
      }
    
      public void testIncrementIPv4() throws UnknownHostException {
        InetAddress address_66_0 = InetAddress.getByName("172.24.66.0");
        InetAddress address_66_255 = InetAddress.getByName("172.24.66.255");
        InetAddress address_67_0 = InetAddress.getByName("172.24.67.0");
    
        InetAddress address = address_66_0;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  4. buildSrc/src/main/kotlin/Osgi.kt

      val osgi = project.sourceSets.create("osgi")
      val osgiApi = project.configurations.getByName(osgiApiConfigurationName)
      val kotlinOsgi =
        extensions.getByType(VersionCatalogsExtension::class.java).named("libs")
          .findLibrary("kotlin.stdlib.osgi").get().get()
    
      project.dependencies {
        osgiApi(kotlinOsgi)
      }
    
      val jarTask = tasks.getByName<Jar>(jarTaskName)
      val bundleExtension =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/UniAddress.java

         * @throws java.net.UnknownHostException if there is an error resolving the name
         */
    
        public static UniAddress getByName( String hostname )
                                            throws UnknownHostException {
            return getByName( hostname, false );
        }
    
        static boolean isDotQuadIP( String hostname ) {
            if( Character.isDigit( hostname.charAt( 0 ))) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 16.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/DelegatingNameServiceClient.java

        }
    
    
        @Override
        public Address getByName ( String hostname ) throws UnknownHostException {
            return this.nscl.getByName(hostname);
        }
    
    
        @Override
        public Address getByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException {
            return this.nscl.getByName(hostname, possibleNTDomainOrWorkgroup);
        }
    
    
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.6K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/README.md

      val dns = DnsOverHttps.Builder().client(bootstrapClient)
        .url("https://dns.google/dns-query".toHttpUrl())
        .bootstrapDnsHosts(InetAddress.getByName("8.8.4.4"), InetAddress.getByName("8.8.8.8"))
        .build()
    
      val client = bootstrapClient.newBuilder().dns(dns).build()
    ```
    
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 740 bytes
    - Viewed (4)
  8. src/test/java/jcifs/tests/TimeoutTest.java

                @Override
                public Address getByName ( String hostname ) throws UnknownHostException {
                    return wrap(hostname, super.getByName(hostname));
                }
    
    
                @Override
                public Address getByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException {
                    return wrap(hostname, super.getByName(hostname, possibleNTDomainOrWorkgroup));
                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * <code>getByName</code> methods can be used for that.
     *
     * @param host hostname to resolve
     * @throws java.net.UnknownHostException if there is an error resolving the name
     */
    
        public static NbtAddress getByName( String host )
                                            throws UnknownHostException {
            return getByName( host, 0x00, null );
        }
    
    /** 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            getByName("${prefix}TestRuntimeClasspath") {
                extendsFrom(distributionRuntimeOnly)
                if (platformImplementation != null) {
                    extendsFrom(platformImplementation)
                }
            }
            if (platformImplementation != null) {
                getByName("${prefix}TestCompileClasspath") {
                    extendsFrom(getByName("platformImplementation"))
                }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top