- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for setAddress (0.05 sec)
-
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
try { synchronized (LOCK) { request.nameTrnId = getNextNameTrnId(); nid = request.nameTrnId; out.setAddress(request.addr); out.setLength(request.writeWireFormat(snd_buf, 0)); response.received = false; responseTable.put(nid, response);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
try { synchronized (this.LOCK) { request.nameTrnId = getNextNameTrnId(); nid = request.nameTrnId; this.out.setAddress(request.addr); this.out.setLength(request.writeWireFormat(this.snd_buf, 0)); response.received = false; this.responseTable.put(nid, response);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
try { baos.write(session.getSessionKey()); baos.write(channel.getLocalInterface().getAddress().getAddress()); baos.write(channel.getRemoteInterface().getAddress().getAddress()); baos.write(ByteBuffer.allocate(8).putLong(System.currentTimeMillis()).array()); } catch (IOException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java
NetworkInterfaceInfo decoded = NetworkInterfaceInfo.decode(encoded, 0); assertNotNull(decoded); assertEquals(original.getAddress(), decoded.getAddress()); assertEquals(original.getLinkSpeed(), decoded.getLinkSpeed()); assertEquals(original.getInterfaceIndex(), decoded.getInterfaceIndex());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
} @Test void getAddressReturnsOriginalObject() { InetAddress dummy = mock(InetAddress.class); UniAddress ua = new UniAddress(dummy); assertSame(dummy, ua.getAddress(), "getAddress should return the wrapped address"); } @Test void getHostNameDelegatesToWrappedInetAddress() { InetAddress dummy = mock(InetAddress.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
URL returned = loc.getURL(); if (returned != null) { assertEquals(url, returned.toString()); } // Test that getAddress returns null for our dummy implementation assertNull(loc.getAddress()); } @Test @DisplayName("Test DFS referral data") void testDfsReferralData() throws Exception { String url = "smb://server/share/path/";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
if (sessionKey != null) { baos.write(sessionKey); } baos.write(channel.getLocalInterface().getAddress().getAddress()); baos.write(channel.getRemoteInterface().getAddress().getAddress()); baos.write(ByteBuffer.allocate(8).putLong(System.currentTimeMillis()).array()); } catch (IOException e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
* @param linkSpeed link speed in Mbps */ public NetworkInterfaceInfo(InetAddress address, int linkSpeed) { this.address = address; this.linkSpeed = linkSpeed; this.ipv6 = address.getAddress().length == 16; this.capability = 0; // Check for RSS capability this.rssCapable = checkRSSCapability(); if (rssCapable) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
SmbResourceLocatorImpl l1 = locator("smb://host/share?server=srv-from-query"); assertSame(a1, l1.getAddress()); // Query parameter 'address' builds UniAddress from IP SmbResourceLocatorImpl l2 = locator("smb://host/share?address=127.0.0.1"); Address first = l2.getAddress(); assertTrue(first instanceof UniAddress); // Host with root path -> possibleNTDomainOrWorkgroup=true
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
return buffer; } public int getLocalKey() { return localKey; } public int getRemoteKey() { return remoteKey; } public long getAddress() { return address; } public int getSize() { return buffer.remaining(); } public boolean hasAccess(RdmaAccess access) { return accessFlags.contains(access); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0)