Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 236 for addresses (0.05 seconds)

  1. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

      }
    
      /**
       * Returns an integer representing an IPv4 address regardless of whether the supplied argument is
       * an IPv4 address or not.
       *
       * <p>IPv6 addresses are <b>coerced</b> to IPv4 addresses before being converted to integers.
       *
       * <p>As long as there are applications that assume that all IP addresses are IPv4 addresses and
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            assertNotNull(address, "Should return address for IP address");
            assertEquals("127.0.0.1", address.getHostAddress(), "Should return correct IP address");
        }
    
        @Test
        @DisplayName("Should get all addresses by name")
        void testGetAllByName() throws UnknownHostException {
            // When
            Address[] addresses = nameServiceClient.getAllByName("localhost", false);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      companion object {
        /**
         * A network that resolves only one IP address per host. Use this when testing route selection
         * 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])
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      //
      if (b != address.size) {
        if (compress == -1) return null // Address didn't have compression or enough groups.
        address.copyInto(address, address.size - (b - compress), compress, b)
        address.fill(0.toByte(), compress, compress + (address.size - b))
      }
    
      return address
    }
    
    /** Decodes an IPv4 address suffix of an IPv6 address, like 1111::5555:6666:192.168.0.1. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            NbtAddress[] addresses = new NbtAddress[2];
            // Create dummy NbtAddress objects for testing toString
            addresses[0] = new NbtAddress(mockRecordName, 0xC0A80101, false, 0); // 192.168.1.1
            addresses[1] = new NbtAddress(mockRecordName, 0x0A000005, true, 1); // 10.0.0.5
            addrEntryField.set(nameQueryResponse, addresses);
    
            String expectedContains = ",addrEntry=[";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            /**
             * Get the list of IP addresses for IP change notifications
             *
             * @return list of IP addresses
             */
            public List<String> getIpAddresses() {
                return ipAddresses;
            }
    
            /**
             * Sets the list of IP addresses for IP change notifications.
             *
             * @param ipAddresses the list of new IP addresses available for the witness service
             */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.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 addr the address to query
         * @return array of NetBIOS addresses
         * @throws UnknownHostException if address cannot be resolved
         */
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/net/InetAddressesTest.java

        InetAddress address = InetAddress.getByName("255.255.255.254");
        assertFalse(InetAddresses.isMaximum(address));
    
        address = InetAddress.getByName("255.255.255.255");
        assertTrue(InetAddresses.isMaximum(address));
    
        address = InetAddress.getByName("ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffe");
        assertFalse(InetAddresses.isMaximum(address));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Given: Multiple addresses with different fail counts
            Address addr1 = mock(Address.class);
            when(addr1.getHostAddress()).thenReturn("10.0.0.1");
    
            Address addr2 = mock(Address.class);
            when(addr2.getHostAddress()).thenReturn("10.0.0.2");
    
            when(nameSvc.getAllByName(eq("test.server"), eq(true))).thenReturn(new Address[] { addr1, addr2 });
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 19.2K bytes
    - Click Count (0)
Back to Top