- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 71 for Addresses (0.05 seconds)
-
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) -
android/guava/src/com/google/common/net/InetAddresses.java
* 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 * can therefore be converted safely to integers (for whatever purpose) this function can be used * to handle IPv6 addresses as well until the application is suitably fixed. *
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) -
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"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
import okio.Buffer /** * Quick and dirty pattern to differentiate IP addresses from hostnames. This is an approximation * of Android's private InetAddress#isNumeric API. * * This matches IPv6 addresses as a hex string containing at least one colon, and possibly * including dots after the first colon. It matches IPv4 addresses as strings containing only
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) -
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 host hostname to lookup all addresses for * @return array of NetBIOS addressesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.7K bytes - Click Count (0) -
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) -
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) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
// 2 6to4 addresses differing in the embedded IPv4 address should // hash to the different values. assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("2002:0102:0304::1"))) .isNotEqualTo( InetAddresses.getCoercedIPv4Address(InetAddresses.forString("2002:0506:0708::1"))); // 2 6to4 addresses NOT differing in the embedded IPv4 address shouldCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Then: Should connect to IPC$ share verify(tree).connectLogon(ctx); } @Test @DisplayName("Should sort addresses by fail count and failover") void testFailoverWithFailCounts() throws Exception { // Given: Multiple addresses with different fail counts Address addr1 = mock(Address.class); when(addr1.getHostAddress()).thenReturn("10.0.0.1");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)