- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 200 for hostname (0.06 sec)
-
src/main/java/jcifs/smb1/UniAddress.java
*/ public static UniAddress getByName(final String hostname) throws UnknownHostException { return getByName(hostname, false); } static boolean isDotQuadIP(final String hostname) { if (hostname != null && hostname.length() > 0 && Character.isDigit(hostname.charAt(0))) { int i, len, dots; char[] data; i = dots = 0; /* quick IP address validation */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0) -
cmd/net_test.go
sortedIPList: []string{"hostname", "192.168.1.106", "127.0.0.1"}, }, // Non parsable ip is assumed to be hostname, with a mixed input of ip and hostname. // gets preserved and moved into left most elements, regardless of // IP based sorting. { ipList: []string{"hostname1", "10.0.0.13", "hostname2", "127.0.0.1", "192.168.1.106"},Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/NameServiceClientTest.java
} @Test void testGetByName_String() throws UnknownHostException { // Arrange String hostname = "testHostname"; Address expectedAddress = mock(Address.class); when(nameServiceClient.getByName(hostname)).thenReturn(expectedAddress); // Act Address actualAddress = nameServiceClient.getByName(hostname);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
private static boolean isAllDigits(final String hostname) { for (int i = 0; i < hostname.length(); i++) { if (!Character.isDigit(hostname.charAt(i))) { return false; } } return true; } @Override public UniAddress getByName(final String hostname) throws UnknownHostException { return getByName(hostname, false); } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/main/java/jcifs/NameServiceClient.java
/** * Lookup addresses for the given <code>hostname</code>. * * @param hostname the hostname to resolve * @param possibleNTDomainOrWorkgroup if true, perform additional master browser lookup * @return found addresses * @throws UnknownHostException if the hostname cannot be resolved */ Address[] getAllByName(String hostname, boolean possibleNTDomainOrWorkgroup) throws UnknownHostException;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
static final class CacheEntry { Name hostName; NbtAddress address; long expiration; CacheEntry(final Name hostName, final NbtAddress address, final long expiration) { this.hostName = hostName; this.address = address; this.expiration = expiration; } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
Name hostName; int address, nodeType; boolean groupName, isBeingDeleted, isInConflict, isActive, isPermanent, isDataFromNodeStatus; byte[] macAddress; String calledName; NbtAddress(final Name hostName, final int address, final boolean groupName, final int nodeType) { this.hostName = hostName; this.address = address;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
val hostname = "local.host" private val handshakeCertificates = run { // Generate a self-signed cert for the server to serve and the client to trust. val heldCertificate = HeldCertificate .Builder() .commonName(hostname) .addSubjectAlternativeName(hostname) .build() HandshakeCertificates .Builder()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
@DisplayName("getHostName should return valid hostname or address") void testGetHostNameContract() { // Given String expectedHostName = "server.example.com"; when(mockAddress.getHostName()).thenReturn(expectedHostName); // When String hostName = mockAddress.getHostName(); // Then assertEquals(expectedHostName, hostName, "Should return configured hostname");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0)