- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 415 for CAddress (0.67 sec)
-
src/main/java/jcifs/SmbTransportPool.java
* * @param tc * context to use * @param address the server address * @param port the port number * @param exclusive * whether to acquire an unshared connection * @return a transport connection to the target */ SmbTransport getSmbTransport(CIFSContext tc, Address address, int port, boolean exclusive); /** * Get transport connection *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (0) -
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 */ public InetAddress getAddress() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
return null; } /** * {@inheritDoc} * * @see jcifs.Address#unwrap(java.lang.Class) */ @SuppressWarnings("unchecked") @Override public <T extends Address> T unwrap(final Class<T> type) { if (this.addr instanceof Address) { return ((Address) this.addr).unwrap(type); } if (this.getClass().isAssignableFrom(type)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (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 addr the address to query * @return array of NetBIOS addresses * @throws UnknownHostException if address cannot be resolved */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
val InetSocketAddress.socketHost: String get() { // The InetSocketAddress was specified with a string (either a numeric IP or a host name). If // it is a name, all IPs for that name should be tried. If it is an IP address, only that IP // address should be tried. val address = address ?: return hostName
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (1) -
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 });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
static HashMap dfsRoots = null; static synchronized SmbTransport getSmbTransport(final UniAddress address, final int port) { return getSmbTransport(address, port, LADDR, LPORT, null); } static synchronized SmbTransport getSmbTransport(final UniAddress address, final int port, final InetAddress localAddr, final int localPort, final String hostName) { SmbTransport conn;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
private NbtAddress address; private Name calledName; private int soTimeout; /** * Constructs an unconnected NbtSocket. */ public NbtSocket() { } /** * Constructs an NbtSocket and connects it to the specified NetBIOS address and port. * * @param address the NetBIOS address to connect to
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
// When Address address = nameServiceClient.getByName("localhost"); // Then assertNotNull(address, "Should return address for localhost"); } @Test @DisplayName("Should handle IP address in getByName") void testGetByNameWithIPAddress() throws UnknownHostException { // When Address address = nameServiceClient.getByName("127.0.0.1");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
NetworkInterfaceInfo that = (NetworkInterfaceInfo) obj; return interfaceIndex == that.interfaceIndex && address != null ? address.equals(that.address) : that.address == null; } @Override public int hashCode() { int result = interfaceIndex; result = 31 * result + (address != null ? address.hashCode() : 0); return result; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0)