- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 146 for InetAddress (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/ChannelSocketFactory.kt
host: String, port: Int, localHost: InetAddress, localPort: Int, ): Socket = TODO("Not yet implemented") override fun createSocket( host: InetAddress, port: Int, ): Socket = TODO("Not yet implemented") override fun createSocket( address: InetAddress, port: Int, localAddress: InetAddress, localPort: Int, ): Socket = TODO("Not yet implemented")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java
@Test public void testGetUrlHost() throws UnknownHostException { // IPv4 localhost InetAddress ipv4Localhost = InetAddress.getByName("127.0.0.1"); assertEquals("127.0.0.1", IpAddressUtil.getUrlHost(ipv4Localhost)); // IPv6 localhost InetAddress ipv6Localhost = InetAddress.getByName("::1"); assertEquals("[::1]", IpAddressUtil.getUrlHost(ipv6Localhost)); // NullCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 8.9K bytes - Click Count (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java
result.close(); throw e; } return result; } @Override public Socket createSocket( String host, int port, InetAddress localHost, int localPort) throws IOException { return createSocket(host, port); } @Override public Socket createSocket(InetAddress host, int port) throws IOException { Socket result = createSocket(); try { result.connect(new InetSocketAddress(host, port));
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Dec 03 21:33:52 GMT 2023 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/ConfigTest.java
} @Test @DisplayName("Should get InetAddress property with default value") void testGetInetAddressWithDefault() throws UnknownHostException { InetAddress localhost = InetAddress.getByName("localhost"); InetAddress defaultAddress = InetAddress.getByName("127.0.0.1"); assertEquals(localhost, Config.getInetAddress(testProperties, "test.host", null));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/AddressTest.java
} @Test @DisplayName("toInetAddress should return valid InetAddress") void testToInetAddressContract() throws UnknownHostException { // Given InetAddress expectedInetAddress = InetAddress.getByName("127.0.0.1"); when(mockAddress.toInetAddress()).thenReturn(expectedInetAddress); // When InetAddress inetAddress = mockAddress.toInetAddress(); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/UniAddress.java
private static int[] resolveOrder; private static InetAddress baddr; private static LogStream log = LogStream.getInstance(); static { final String ro = Config.getProperty("jcifs.smb1.resolveOrder"); final InetAddress nbns = NbtAddress.getWINSAddress(); try { baddr = Config.getInetAddress("jcifs.smb1.netbios.baddr", InetAddress.getByName("255.255.255.255"));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
public InetAddress getAddress() { return address; } public int getFlags() { return flags; } public boolean isIPv4() { return (flags & IPV4) != 0; } public boolean isIPv6() { return (flags & IPV6) != 0; } } public void addNewIPAddress(InetAddress address) { newIPAddresses.add(new WitnessIPAddress(address)); } public void addOldIPAddress(InetAddress address) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessNotification.java
* @param address the IP address */ public WitnessIPAddress(InetAddress address) { this.address = address; this.flags = address.getAddress().length == 4 ? IPV4 : IPV6; } /** * Gets the IP address. * * @return the IP address */ public InetAddress getAddress() { return address; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
return Collections.emptyList(); } } private InetAddress getLocalAddressForInterface(NetworkInterface netInterface) { return netInterface.getInetAddresses().nextElement(); } private SmbTransportImpl createChannelTransport(InetAddress localAddress, InetAddress serverAddress) throws CIFSException { try { // Create Address wrapper for server address
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 20.5K bytes - Click Count (0) -
src/main/java/jcifs/netbios/UniAddress.java
return ((NbtAddress) this.addr).getHostAddress(); } return ((InetAddress) this.addr).getHostAddress(); } /** * {@inheritDoc} * * @throws UnknownHostException if the host cannot be resolved * * @see jcifs.Address#toInetAddress() */ @Override public InetAddress toInetAddress() throws UnknownHostException { if (this.addr instanceof Address) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.3K bytes - Click Count (0)