- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getAddress (0.04 sec)
-
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
assertEquals(ipv4, newIPv4.getAddress()); assertTrue(newIPv4.isIPv4()); assertFalse(newIPv4.isIPv6()); assertEquals(WitnessNotification.WitnessIPAddress.IPV4, newIPv4.getFlags()); // Check IPv6 address WitnessNotification.WitnessIPAddress newIPv6 = newAddresses.get(1); assertEquals(ipv6, newIPv6.getAddress()); assertFalse(newIPv6.isIPv4());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java
*/ public int getRemoteKey() { return transform.getToken(); } /** * Get remote memory address * * @return remote memory address (offset) */ public long getAddress() { return transform.getOffset(); } /** * Get length of memory region * * @return length in bytes */ public int getLength() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
} /** * Get the address the service is listening on * * @return the service address * @throws IOException if address cannot be determined */ public InetAddress getAddress() throws IOException { if (serverSocket == null) { throw new IOException("Service not started"); } return InetAddress.getLocalHost(); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessNotification.java
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() { return address; } /** * Gets the address flags. *
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/smb1/smb1/SmbFile.java
try { addr = getAddress(); } catch (final UnknownHostException uhe) { throw new SmbException(url.toString(), uhe); } if (addr.getAddress() instanceof NbtAddress) { final int code = ((NbtAddress) addr.getAddress()).getNameType(); if (code == 0x1d || code == 0x1b) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
// sendWR.setSend_flags(IbvSendWR.IBV_SEND_SIGNALED); // // LinkedList<IbvSge> sgeList = new LinkedList<>(); // IbvSge sge = new IbvSge(); // sge.setAddr(disniRegion.getAddress()); // sge.setLength(data.remaining()); // sge.setLkey(disniRegion.getLocalKey()); // sgeList.add(sge); // // sendWR.setSg_list(sgeList);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java
*/ public int getRemoteKey() { return remoteKey; } /** * Get memory address * * @return memory address */ public long getAddress() { return address; } /** * Get size of memory region * * @return size in bytes */ public int getSize() { return buffer.limit(); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
*/ String localHostname = tc.getConfig().getNetbiosHostname(); if (localHostname == null || localHostname.length() == 0) { final byte[] addr = localInetAddress.getAddress(); localHostname = "JCIFS" + (addr[2] & 0xFF) + "_" + (addr[3] & 0xFF) + "_" + Hexdump.toHexString((int) (Math.random() * 0xFF), 2); } /*Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
void tearDown() { if (mockService != null) { mockService.close(); } } @Test void testMockServiceLifecycle() throws Exception { assertNotNull(mockService.getAddress()); assertTrue(mockService.getPort() > 0); assertEquals(0, mockService.getRegistrationCount()); // Test registration
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
if (!newAddresses.isEmpty()) { // Attempt to connect to new address InetAddress newAddress = newAddresses.get(0).getAddress(); scheduleAddressChange(newAddress); } } /** * Handle share move events */ private void handleShareMove(WitnessNotification notification) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0)