- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 57 for InetAddress (0.42 seconds)
-
src/test/java/jcifs/netbios/UniAddressTest.java
InetAddress inetAddress = InetAddress.getByName("127.0.0.1"); UniAddress uniAddress = new UniAddress(inetAddress); assertEquals(uniAddress, uniAddress.unwrap(UniAddress.class)); } @Test void shouldReturnNullWhenTypeIsNotAssignable() throws UnknownHostException { InetAddress inetAddress = InetAddress.getByName("127.0.0.1");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
public void testIncrementIPv6() throws UnknownHostException { InetAddress addressV6_66_0 = InetAddress.getByName("2001:db8::6600"); InetAddress addressV6_66_ff = InetAddress.getByName("2001:db8::66ff"); InetAddress addressV6_67_0 = InetAddress.getByName("2001:db8::6700"); InetAddress address = addressV6_66_0; for (int i = 0; i < 255; i++) { address = InetAddresses.increment(address);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InetAddresses.java
* * @param address the InetAddress to decrement * @return a new InetAddress that is one less than the passed in address * @throws IllegalArgumentException if InetAddress is at the beginning of its range * @since 18.0 */ public static InetAddress decrement(InetAddress address) { byte[] addr = address.getAddress(); int i = addr.length - 1; while (i >= 0 && addr[i] == (byte) 0x00) {
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/Config.java
} /** * Retrieve an <code>InetAddress</code>. If the address is not * an IP address and cannot be resolved <code>null</code> will * be returned. * * @param key the property key to look up * @param def the default InetAddress to return if the property is not found or cannot be resolved * @return the property value as an InetAddress, or the default value */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.5K 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/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/smb1/netbios/NbtAddress.java
} /** * To convert this address to an <code>InetAddress</code>. * * @return the {@link java.net.InetAddress} representation of this address. * @throws UnknownHostException if the address cannot be resolved */ public InetAddress getInetAddress() throws UnknownHostException { return InetAddress.getByName(getHostAddress()); } /**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/netbios/NameServiceClientImpl.java
/* * Determine the InetAddress of the local interface * if one was not specified. */ InetAddress localInetAddress = tc.getConfig().getNetbiosLocalAddress(); if (localInetAddress == null) { try { localInetAddress = InetAddress.getLocalHost(); } catch (final UnknownHostException uhe) { /*Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
private byte[] sockaddrStorage; private InetAddress address; private boolean ipv6; private boolean rssCapable; // Receive Side Scaling private boolean rdmaCapable; /** * Create network interface info * * @param address interface address * @param linkSpeed link speed in Mbps */ public NetworkInterfaceInfo(InetAddress address, int linkSpeed) { this.address = address;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 9.8K bytes - Click Count (0)