- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 354 for ostname (0.07 sec)
-
src/test/java/jcifs/netbios/UniAddressTest.java
when(mockInetAddress.getHostName()).thenReturn("h.ostname"); UniAddress uniAddress = new UniAddress(mockInetAddress); // Dot at position 1, which is NOT > 1, so it doesn't substring, just uppercase assertEquals("H.OSTNAME", uniAddress.firstCalledName()); } } @Nested @DisplayName("nextCalledName method tests")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
* a literal IP address, or a hostname pattern. If no subject alternative names are added that * extension will be omitted. */ fun addSubjectAlternativeName(altName: String) = apply { altNames += altName } /** * Set this certificate's common name (CN). Historically this held the hostname of TLS
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 21.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
// Verify all values are set correctly assertEquals(TEST_NET_NAME, info.getName()); assertEquals(SmbConstants.TYPE_SHARE, info.getType()); assertNotNull(info.toString()); assertTrue(info.toString().contains(TEST_NET_NAME)); assertTrue(info.toString().contains(TEST_REMARK)); } @Test @DisplayName("Test getName method") void testGetName() { // Default constructor
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
assertEquals("0.0.0.0", unknownName.getName(), "Unknown name should be 0.0.0.0"); } @Test @DisplayName("Should handle null hostname in getByName") void testGetByNameWithNull() { // When/Then assertThrows(UnknownHostException.class, () -> { nameServiceClient.getByName(null); }, "Should throw UnknownHostException for null hostname"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
verify(response, times(1)).getName(); } @Test @DisplayName("getName() should handle null return value") void testGetNameWithNull() { CreateContextResponse response = mock(CreateContextResponse.class); when(response.getName()).thenReturn(null); byte[] actualName = response.getName(); assertEquals(null, actualName); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
} resp.received(); return resp; }); DirFileEntryEnumIterator1 it = new DirFileEntryEnumIterator1(tree, parent, "*", null, 0); // Act & Assert: entries a, b, c (dot entries filtered) then end assertTrue(it.hasNext()); assertEquals("a", it.next().getName()); assertTrue(it.hasNext());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
cmd/endpoint.go
} } } return "" } // Hostnames - returns list of unique hostnames func (l EndpointServerPools) Hostnames() []string { foundSet := set.NewStringSet() for _, ep := range l { for _, endpoint := range ep.Endpoints { if foundSet.Contains(endpoint.Hostname()) { continue } foundSet.Add(endpoint.Hostname()) } } return foundSet.ToSlice() }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 34.4K 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: 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/fess/mylasta/action/FessLabelsTest.java
&& field.getType() == String.class && !field.getName().equals("serialVersionUID")) { // Check field name follows convention assertTrue("Field name should match pattern: " + field.getName(), labelPattern.matcher(field.getName()).matches()); // Check field value follows convention field.setAccessible(true);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.8K bytes - Viewed (0)