- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 40 for getAddress (0.13 seconds)
-
src/test/java/jcifs/netbios/NbtAddressTest.java
} @Test void testGetAddress() { // Test getAddress for correct byte array conversion mockName = new Name(mockConfig, "TEST", 0x20, null); NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE); assertArrayEquals(new byte[] { (byte) 192, (byte) 168, (byte) 1, (byte) 1 }, nbtAddress.getAddress()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.4K bytes - Click Count (0) -
src/main/java/jcifs/SmbResourceLocator.java
* Returns the resolved network address of the server hosting this SMB resource. * * @return resolved server address * @throws CIFSException if the address cannot be resolved */ Address getAddress() throws CIFSException; /** * Determines whether this resource represents an IPC (Inter-Process Communication) connection. * * @return whether this is a IPC connection */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (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); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InetAddresses.java
v6Address.getHostAddress(), v6Address.getAddress(), interfaceIndex); } try { NetworkInterface asInterface = NetworkInterface.getByName(scope); if (asInterface == null) { throw formatIllegalArgumentException("No such interface: '%s'", scope); } return Inet6Address.getByAddress( v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 47.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
} /** * Returns the raw IP address of this NbtAddress. The result is in network * byte order: the highest order byte of the address is in getAddress()[0]. * * @return a four byte array */ public byte[] getAddress() { final byte[] addr = new byte[4]; addr[0] = (byte) (address >>> 24 & 0xFF); addr[1] = (byte) (address >>> 16 & 0xFF);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/UniAddress.java
return null; } /** * Return the underlying <code>NbtAddress</code> or {@code InetAddress}. * * @return the underlying address object */ public Object getAddress() { return addr; } /** * Return the hostname of this address such as "MYCOMPUTER". * * @return the hostname of this address */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17K bytes - Click Count (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) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (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());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
when(locator.getURL()).thenReturn(anyUrlWithEmptyHost); // Simulate failure to find master browser (UnknownHost wrapped in CIFSException) when(locator.getAddress()).thenThrow(new CIFSException("no master", new UnknownHostException("MB"))); // Act + Assert: the code maps this case to SmbUnsupportedOperationException
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
} @Override public String toString() { return "ChannelInfo{" + "channelId='" + channelId + '\'' + ", state=" + state + ", local=" + localInterface.getAddress() + ", remote=" + remoteInterface.getAddress() + ", throughput=" + getThroughput() + " bps" + ", pending=" + getRequestsPending() + ", primary=" + isPrimary + '}'; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 10.6K bytes - Click Count (0)