- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 533 for addTest (0.04 sec)
-
src/main/java/jcifs/NameServiceClient.java
/** * Retrieve all addresses of a host by it's address. NetBIOS hosts can * have many names for a given IP address. The name and IP address make the * NetBIOS address. This provides a way to retrieve the other names for a * host with the same IP address. * * @param addr * the address to query * @return resolved addresses * @throws UnknownHostExceptionRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
Address address = mockAddress; // When & Then - verify interface methods exist and can be called assertDoesNotThrow(() -> { address.getHostName(); address.getHostAddress(); address.firstCalledName(); address.nextCalledName(mockContext); address.toInetAddress(); address.unwrap(Address.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
* * @return string representation of the IP address */ @Override public String getHostAddress() { return (this.address >>> 24 & 0xFF) + "." + (this.address >>> 16 & 0xFF) + "." + (this.address >>> 8 & 0xFF) + "." + (this.address >>> 0 & 0xFF); } @Override public int getNameType() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
public void testRemove() throws Exception { list.addLast(null); list.addLast("1"); list.addLast("2"); assertThat(list.remove("3"), is(not(true))); assertThat(list.remove("1"), is(true)); assertThat(list.remove(null), is(true)); list.clear(); list.addLast("1"); list.addLast("2"); list.addLast("3"); list.remove(1);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
* * @param tc * context to use * @param address the server address * @param port the port number * @param exclusive * whether to acquire an unshared connection * @return a transport connection to the target */ SmbTransport getSmbTransport(CIFSContext tc, Address address, int port, boolean exclusive); /** * Get transport connection *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
// if (b != address.size) { if (compress == -1) return null // Address didn't have compression or enough groups. address.copyInto(address, address.size - (b - compress), compress, b) address.fill(0.toByte(), compress, compress + (address.size - b)) } return address } /** Decodes an IPv4 address suffix of an IPv6 address, like 1111::5555:6666:192.168.0.1. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
return null; } /** * {@inheritDoc} * * @see jcifs.Address#unwrap(java.lang.Class) */ @SuppressWarnings("unchecked") @Override public <T extends Address> T unwrap(final Class<T> type) { if (this.addr instanceof Address) { return ((Address) this.addr).unwrap(type); } if (this.getClass().isAssignableFrom(type)) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
tests/joins_table_test.go
} if err := DB.AutoMigrate(&Person{}, &Address{}); err != nil { t.Fatalf("Failed to migrate, got %v", err) } address1 := Address{Name: "address 1"} address2 := Address{Name: "address 2"} person := Person{Name: "person", Addresses: []Address{address1, address2}} DB.Create(&person) var addresses1 []Address
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 10 13:46:18 UTC 2020 - 3.5K bytes - Viewed (1) -
src/main/java/jcifs/internal/witness/WitnessNotification.java
* Creates a new witness IP address. * * @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() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Given: Multiple addresses with different fail counts Address addr1 = mock(Address.class); when(addr1.getHostAddress()).thenReturn("10.0.0.1"); Address addr2 = mock(Address.class); when(addr2.getHostAddress()).thenReturn("10.0.0.2"); when(nameSvc.getAllByName(eq("test.server"), eq(true))).thenReturn(new Address[] { addr1, addr2 });Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0)