- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for setAddress (0.07 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/main/java/org/codelibs/core/net/UuidUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.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/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/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/smb/SmbResourceLocatorImpl.java
*/ if (pathNamesPossiblyEqual(this.url.getPath(), o.url.getPath()) && getURLPath().equalsIgnoreCase(o.getURLPath())) { try { return getAddress().equals(o.getAddress()); } catch (final CIFSException uhe) { log.debug("Unknown host", uhe); return getServer().equalsIgnoreCase(o.getServer()); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K 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)