Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for getByName (0.07 sec)

  1. 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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. 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(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. 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 =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/Lmhosts.java

         * throw on a regular basis here.
         */
    
        public synchronized static NbtAddress getByName( String host ) {
            return getByName( new Name( host, 0x20, null ));
        }
    
        synchronized static NbtAddress getByName( Name name ) {
            NbtAddress result = null;
    
            try {
                if( FILENAME != null ) {
                    File f = new File( FILENAME );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.8K bytes
    - Viewed (0)
  5. 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
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/NameServiceClient.java

         * have many names for a given IP address. The name and IP address make
         * the NetBIOS address. This provides a way to retrieve the other names
         * for a host with the same IP address. See {@link #getByName}
         * for a description of <code>type</code>
         * and <code>scope</code>.
         *
         * @param host
         *            hostname to lookup all addresses for
         * @param type
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.9K bytes
    - Viewed (0)
  7. 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 ))) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt

              (
                "00008180000100010000000006676f6f676c6503636f6d0000010001c00c0001000100000043" +
                  "0004d83ad54e"
              ).decodeHex(),
          )
        assertThat(encoded).containsExactly(InetAddress.getByName("216.58.213.78"))
      }
    
      @Test
      fun testGoogleDotComDecodingFromGoogle() {
        val decoded =
          decodeAnswers(
            hostname = "test.com",
            byteString =
              (
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. 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()
    ```
    
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 740 bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                }
            }
            return true;
        }
    
    
        @Override
        public UniAddress getByName ( String hostname ) throws UnknownHostException {
            return getByName(hostname, false);
        }
    
    
        @Override
        public UniAddress getByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
Back to top