- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for addr2 (0.01 sec)
-
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
InetAddress addr1 = InetAddress.getByName("192.168.1.100"); InetAddress addr2 = InetAddress.getByName("192.168.1.101"); NetworkInterfaceInfo local = new NetworkInterfaceInfo(addr1, 1000); NetworkInterfaceInfo remote1 = new NetworkInterfaceInfo(addr1, 1000); NetworkInterfaceInfo remote2 = new NetworkInterfaceInfo(addr2, 10000); // Faster interfaceRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
WitnessNotification.WitnessIPAddress addr4 = new WitnessNotification.WitnessIPAddress(ipv4); WitnessNotification.WitnessIPAddress addr6 = new WitnessNotification.WitnessIPAddress(ipv6); // IPv4 tests assertTrue(addr4.isIPv4()); assertFalse(addr4.isIPv6()); assertEquals(WitnessNotification.WitnessIPAddress.IPV4, addr4.getFlags()); // IPv6 testsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
* } */ Object addr; String calledName; /** * Create a <code>UniAddress</code> by wrapping an {@code InetAddress} or * <code>NbtAddress</code>. * * @param addr * wrapped address */ public UniAddress(final Object addr) { if (addr == null) { throw new IllegalArgumentException(); }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/Config.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
// Add a healthy channel manually for testing InetAddress addr = InetAddress.getByName("192.168.1.100"); NetworkInterfaceInfo localInterface = new NetworkInterfaceInfo(addr, 1000); NetworkInterfaceInfo remoteInterface = new NetworkInterfaceInfo(addr, 1000); ChannelInfo healthyChannel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java
throw new IOException("unexpected EOF reading netbios retarget session response"); } final int addr = readInt4(buffer, bufferIndex); bufferIndex += 4; new NbtAddress(null, addr, false, NbtAddress.B_NODE); readInt2(buffer, bufferIndex); return this.length; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Lmhosts.java
j++; } name = new Name(line.substring(i, j), 0x20, null); addr = new NbtAddress(name, ip, false, NbtAddress.B_NODE, false, false, true, true, NbtAddress.UNKNOWN_MAC_ADDRESS); TAB.put(name, addr); } } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
void firstCalledNameForInetAddressConformsToUpperCase(String hostname, String hostWithoutDot, String expectedPrefix) { // Arrange InetAddress addr = mock(InetAddress.class); when(addr.getHostName()).thenReturn(hostname); UniAddress ua = new UniAddress(addr); // Act String called = ua.firstCalledName(); // Assert
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/netbios/Lmhosts.java
addr = new NbtAddress(name, ip, false, NbtAddress.B_NODE, false, false, true, true, NbtAddress.UNKNOWN_MAC_ADDRESS); if (log.isDebugEnabled()) { log.debug("Adding " + name + " with addr " + addr); } this.table.put(name, addr); } } }
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/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java
throw new IOException("unexpected EOF reading netbios retarget session response"); } final int addr = readInt4(buffer, bufferIndex); bufferIndex += 4; retargetAddress = new NbtAddress(null, addr, false, NbtAddress.B_NODE); int retargetPort = readInt2(buffer, bufferIndex); return length; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0)