- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for addresses1 (3.67 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java
// Test IPv6 loopback address with brackets String host = "[::1]"; InetAddress[] addresses = resolver.resolve(host); assertNotNull(addresses); assertTrue(addresses.length > 0); // IPv6 loopback can be represented as ::1 or 0:0:0:0:0:0:0:1 String hostAddress = addresses[0].getHostAddress(); assertTrue(hostAddress.contains(":"));Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 06 07:24:43 UTC 2025 - 3.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
/** * Resolves the given host name to an array of IP addresses. * The host name is first converted to ASCII using IDN before resolution. * IPv6 addresses in bracket notation (e.g., [::1] or [2001:db8::1]) are * handled specially by removing the brackets before resolution. * * @param host the host name to resolve * @return an array of IP addresses for the hostRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 06 07:24:43 UTC 2025 - 3.9K bytes - Viewed (0) -
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.UnknownHostExceptionRegistered: 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/org/codelibs/fess/util/IpAddressUtil.java
*/ package org.codelibs.fess.util; import java.net.Inet6Address; import java.net.InetAddress; /** * Utility class for handling IP addresses, particularly IPv6 addresses in URLs. * This class provides methods to properly format IPv6 addresses for use in URLs * by adding brackets where necessary. */ public final class IpAddressUtil { /**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/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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
assertEquals(0, stats.getActiveSessions()); assertEquals(0, stats.getTotalChannels()); } @Test @DisplayName("createChannelTransport should fail with null addresses") void testCreateChannelTransportWithNullAddresses() { // Use reflection to access private method for testing Exception exception = assertThrows(Exception.class, () -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java
*/ package jcifs.internal.smb2.rdma; /** * RDMA channel information for SMB Direct operations. * * This class encapsulates RDMA channel metadata including remote memory keys, * addresses, and lengths for direct memory access operations. */ public class RdmaChannelInfo { private final Smb2RdmaTransform transform; /** * Create new RDMA channel info *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/Address.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; import java.net.InetAddress; import java.net.UnknownHostException; /** * Interface for both netbios and internet addresses * * @author mbechler * */ public interface Address { /** * Unwrap the address to a specific type * * @param <T> the type to unwrap toRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
*/ public NbtSocket(final NbtAddress address, final int port) throws IOException { this(address, port, null, 0); } /** * Constructs an NbtSocket with specified local and remote addresses. * * @param address the NetBIOS address to connect to * @param port the remote port number, or 0 for the default NetBIOS session service port * @param localAddr the local address to bind toRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0)