- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getLocalHost (0.58 sec)
-
src/main/java/org/codelibs/core/net/UuidUtil.java
StringUtil.appendHex(buf, RANDOM.nextInt()); return buf.toString(); } private static byte[] getAddress() { try { return InetAddress.getLocalHost().getAddress(); } catch (final UnknownHostException ignore) { return DEFAULT_ADDRESS; } }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
} @Test @DisplayName("createChannelTransport should handle localhost addresses") void testCreateChannelTransportWithLocalhostAddresses() throws Exception { InetAddress localhost = InetAddress.getLocalHost(); InetAddress loopback = InetAddress.getLoopbackAddress(); // Use reflection to access private method for testing java.lang.reflect.Method method =Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt
var requestCount: Int = mockWebServer.requestCount mockWebServer.enqueue(MockResponse()) mockWebServer.start() mockWebServer.start(0) mockWebServer.start(InetAddress.getLocalHost(), 0) mockWebServer.shutdown() var dispatcher: Dispatcher = mockWebServer.dispatcher dispatcher = mockWebServer.dispatcher mockWebServer.dispatcher = QueueDispatcher()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type1Message.java
DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null); String defaultWorkstation = null; try { defaultWorkstation = NbtAddress.getLocalHost().getHostName(); } catch (final UnknownHostException ex) {} DEFAULT_WORKSTATION = defaultWorkstation; } /** * Creates a Type-1 message using default values from the current
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
*/ public InetAddress getAddress() throws IOException { if (serverSocket == null) { throw new IOException("Service not started"); } return InetAddress.getLocalHost(); } /** * Get the port the service is listening on * * @return the service port * @throws IOException if port cannot be determined */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/ntlmssp/Type1Message.java
* * @param tc * context to use */ public Type1Message(final CIFSContext tc) { this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName()); } /** * Creates a Type-1 message with the specified parameters. * * @param tc * context to use * @param flagsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
* * @author mbechler */ public interface NameServiceClient { /** * Gets the local host NetBIOS address. * * @return local host address */ NetbiosAddress getLocalHost(); /** * Gets the local host NetBIOS name. * * @return the local host name */ NetbiosName getLocalName(); /** * Gets the unknown NetBIOS name instance. *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/NetbiosAddress.java
* conditions, users of jCIFS need not be concerned with this class as * name resolution and session services are handled internally by the smb package. * * * * Applications can use the methods <code>getLocalHost</code>, * <code>getByName</code>, and * <code>getAllByAddress</code> to create a new NbtAddress instance. This * class is symmetric with {@link java.net.InetAddress}. * *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/Config.java
* Get the local host address based on the provided properties. * * @param props the properties to use for configuration * @return the local host InetAddress */ public static InetAddress getLocalHost(final Properties props) { final String addr = props.getProperty("jcifs.smb.client.laddr"); if (addr != null) { try { return InetAddress.getByName(addr);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (0)