- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 427 for hoist (0.15 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt
else -> "" } val effectiveHost = when { url.host.contains(":") -> "[" + url.host + "]" else -> url.host } assertThat(url.scheme, "scheme").isEqualTo(testData.scheme) assertThat(effectiveHost, "host").isEqualTo(testData.host) assertThat(effectivePort, "port").isEqualTo(testData.port) assertThat(url.encodedPath, "path").isEqualTo(testData.path)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/EditBody.java
import org.codelibs.fess.app.web.admin.duplicatehost.EditForm; /** * Request body class for duplicate host edit operations in the admin REST API. * This class extends EditForm to inherit the necessary form validation and binding capabilities * for duplicate host management operations. */ public class EditBody extends EditForm { /** * Default constructor. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
// When String hostName = mockAddress.getHostName(); // Then assertEquals(expectedHostName, hostName, "Should return configured hostname"); assertNotNull(hostName, "Host name should not be null"); } @Test @DisplayName("getHostAddress should return valid IP address string") void testGetHostAddressContract() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
writeShort(0) // additional val nameBuf = Buffer() val labels = host.split('.').dropLastWhile { it.isEmpty() } for (label in labels) { val utf8ByteCount = label.utf8Size() require(utf8ByteCount == label.length.toLong()) { "non-ascii hostname: $host" } nameBuf.writeByte(utf8ByteCount.toInt()) nameBuf.writeUtf8(label) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java
mockBhv.setTestData(testData); int count = relatedQueryHelper.load(); assertEquals(1, count); // One virtual host key (empty) String[] results = relatedQueryHelper.getRelatedQueries("java"); assertEquals(3, results.length); assertEquals("programming", results[0]); assertEquals("tutorial", results[1]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 16.3K bytes - Viewed (0) -
src/main/java/jcifs/Config.java
} catch (final UnknownHostException uhe) { log.error("Unknown host " + addr, uhe); } } return def; } /** * Get the local host address based on the provided properties. * * @param props the properties to use for configuration * @return the local host InetAddress */ public static InetAddress getLocalHost(final Properties props) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
// Test nextCalledName when calledName is SMBSERVER_NAME and isDataFromNodeStatus is true when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient); mockName = new Name(mockConfig, "HOST", 0x20, null); NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE, false, false, false, false, testMacAddress); // isDataFromNodeStatus is true by constructor
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
} when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath()); // Test first host NbtAddress result = lmhosts.getByName("TESTHOST", mockContext); assertNotNull(result); assertEquals("TESTHOST", result.getHostName()); // Test second host result = lmhosts.getByName("SERVER01", mockContext); assertNotNull(result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/CredentialsInternal.java
* @param host the target host * @param initialToken initial authentication token, if any * @param doSigning whether message signing should be enabled * @return a new SSP authentication context * @throws SmbException if context creation fails */ SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) throws SmbException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Lmhosts.java
* throw on a regular basis here. * * @param host the hostname to resolve * @return the resolved NbtAddress or null if not found */ public synchronized static NbtAddress getByName(final String host) { return getByName(new Name(host, 0x20, null)); } synchronized static NbtAddress getByName(final Name name) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0)