- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for ip (1.6 sec)
-
src/main/java/jcifs/internal/witness/WitnessNotification.java
/** * Creates a new witness IP address. * * @param address the IP address */ public WitnessIPAddress(InetAddress address) { this.address = address; this.flags = address.getAddress().length == 4 ? IPV4 : IPV6; } /** * Gets the IP address. * * @return the IP address */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
NetbiosName getUnknownName(); /** * 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 resolved addresses * @throws UnknownHostException
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
/** * Check whether a hostname is actually an ip address * * @param hostname the hostname to check * @return whether this is an IP address */ public static boolean isDotQuadIP(final String hostname) { if (Character.isDigit(hostname.charAt(0))) { int i, len, dots; char[] data; i = dots = 0; /* quick IP address validation */ len = hostname.length();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Lmhosts.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
public String getShareName() { return shareName; } /** * Sets the IP address of the client. * * @param ipAddress the IP address */ public void setIpAddress(String ipAddress) { this.ipAddress = ipAddress; } /** * Sets the IP address from an InetAddress. * * @param address the InetAddress */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
} catch (final Exception e) { return false; } } /** * Formats an IP address string for use in a URL. * IPv6 addresses are wrapped in brackets, IPv4 addresses are returned as-is. * * @param address the IP address string to format * @return the formatted address (IPv6 with brackets, IPv4 unchanged) */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 06 08:31:03 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
@ValueSource(strings = { "192.168.0.1", "123.45.67.89", "1.2.3.4" }) void isDotQuadIPRecognizesDotQuadIP(String ip) { // Arrange & Act boolean result = UniAddress.isDotQuadIP(ip); // Assert assertTrue(result, "isDotQuadIP should return true for dot-quad IP"); } @ParameterizedTest @ValueSource(strings = { "192.168.0", "abcd", "192.168" })Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/Address.java
* * @return the resolved host name, or the host address if it could not be resolved */ String getHostName(); /** * Return the IP address as text such as "192.168.1.15". * * @return the ip address */ String getHostAddress(); /** * Converts this address to an InetAddress. * * @return this address as an InetAddressRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
assertEquals(expectedHostName, hostName, "Should return configured hostname"); assertNotNull(hostName, "Host name should not be null"); } @Test @DisplayName("getHostAddress should return valid IP address string") void testGetHostAddressContract() { // Given String expectedAddress = "192.168.1.100"; when(mockAddress.getHostAddress()).thenReturn(expectedAddress); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0)