Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for addresses1 (0.21 sec)

  1. src/test/java/jcifs/AddressTest.java

    import org.mockito.Mock;
    
    /**
     * Comprehensive test suite for Address interface.
     * Tests the contract and behavior of Address implementations.
     */
    @DisplayName("Address Interface Tests")
    class AddressTest extends BaseTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Address mockAddress;
    
        @Test
        @DisplayName("Address interface should define correct method signatures")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                    break;
                case 9: // Host Addresses
                    ASN1Sequence adressesSequence = ASN1Util.as(ASN1Sequence.class, tagged);
                    Enumeration<?> adresses = adressesSequence.getObjects();
                    while (adresses.hasMoreElements()) {
                        ASN1Sequence addressSequence = ASN1Util.as(ASN1Sequence.class, adresses);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

    /**
     * Implementation of HappyEyeballs Sorting Addresses.
     *
     * The current implementation does not address any of:
     *  - Async DNS split by IP class
     *  - Stateful handling of connectivity results
     *  - The prioritisation of addresses
     *
     * https://datatracker.ietf.org/doc/html/rfc8305#section-4
     */
    internal fun reorderForHappyEyeballs(addresses: List<InetAddress>): List<InetAddress> {
      if (addresses.size < 2) {
        return addresses
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Apr 24 15:15:15 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/NameServiceClient.java

        /**
         * Retrieve all addresses of a host by it's address. NetBIOS hosts can
         * 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.
         *
         * @param host
         *            hostname to lookup all addresses for
         * @return resolved addresses
         * @throws java.net.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)
  5. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            loc.share = this.share;
            loc.dfsReferral = this.dfsReferral;
            loc.unc = this.unc;
            if (this.addresses != null) {
                loc.addresses = new UniAddress[this.addresses.length];
                System.arraycopy(this.addresses, 0, loc.addresses, 0, this.addresses.length);
            }
            loc.addressIndex = this.addressIndex;
            loc.type = this.type;
            return loc;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            NbtAddress[] addresses = (NbtAddress[]) addressArrayField.get(response);
            assertEquals(numNames, addresses.length);
    
            // Verify each address has correct data
            for (int i = 0; i < numNames; i++) {
                assertNotNull(addresses[i]);
                assertTrue(addresses[i].isActive);
                assertFalse(addresses[i].groupName);
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        }
    
        @Test
        @DisplayName("Should get all addresses by name")
        void testGetAllByName() throws UnknownHostException {
            // When
            Address[] addresses = nameServiceClient.getAllByName("localhost", false);
    
            // Then
            assertNotNull(addresses, "Should return addresses array");
            assertTrue(addresses.length > 0, "Should return at least one address");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

         */
        public IdnDnsResolver() {
            super();
        }
    
        /**
         * Resolves the given host name to an array of IP addresses.
         * The host name is first converted to ASCII using IDN before resolution.
         *
         * @param host the host name to resolve
         * @return an array of IP addresses for the host
         * @throws UnknownHostException if the host name cannot be resolved
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessNotification.java

        }
    
        /**
         * Gets the list of new IP addresses.
         *
         * @return the new IP addresses
         */
        public List<WitnessIPAddress> getNewIPAddresses() {
            return newIPAddresses;
        }
    
        /**
         * Gets the list of old IP addresses.
         *
         * @return the old IP addresses
         */
        public List<WitnessIPAddress> getOldIPAddresses() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

         * fallbacks to prevent the host machine's various IP addresses from interfering.
         */
        private val SINGLE_INET_ADDRESS_DNS =
          Dns { hostname ->
            val addresses = Dns.SYSTEM.lookup(hostname)
            listOf(addresses[0])
          }
    
        private operator fun Throwable?.plus(throwable: Throwable): Throwable {
          if (this != null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top