- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for svr (0.22 sec)
-
src/test/java/jcifs/NameServiceClientTest.java
InetAddress svr = mock(InetAddress.class); when(nameServiceClient.getNbtByName(host, type, scope, svr)).thenThrow(new UnknownHostException("Host not found")); // Act & Assert assertThrows(UnknownHostException.class, () -> nameServiceClient.getNbtByName(host, type, scope, svr)); verify(nameServiceClient, times(1)).getNbtByName(host, type, scope, svr); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
} NbtAddress doNameQuery(final Name name, InetAddress svr) throws UnknownHostException { NbtAddress addr; if (name.hexCode == 0x1d && svr == null) { svr = this.baddr; // bit of a hack but saves a lookup } name.srcHashCode = svr != null ? svr.hashCode() : 0; addr = getCachedAddress(name); /*
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/main/java/jcifs/smb1/UniAddress.java
InetAddress svr; UnknownHostException uhe; QueryThread(final Sem sem, final String host, final int type, final String scope, final InetAddress svr) { super("JCIFS-QueryThread: " + host); this.sem = sem; this.host = host; this.type = type; this.scope = scope; this.svr = svr; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
} } static NbtAddress doNameQuery(final Name name, InetAddress svr) throws UnknownHostException { NbtAddress addr; if (name.hexCode == 0x1d && svr == null) { svr = CLIENT.baddr; // bit of a hack but saves a lookup } name.srcHashCode = svr != null ? svr.hashCode() : 0; addr = getCachedAddress(name); if (addr == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
* @param scope * the scope of the name * @param svr * server to query * * @return the resolved addresses * @throws UnknownHostException if the host cannot be resolved */ NetbiosAddress[] getNbtAllByName(String host, int type, String scope, InetAddress svr) throws UnknownHostException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.4K bytes - Viewed (0)