- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 94 for setPort (0.09 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java
protected abstract DirectoryProperty getDocsDirectory(); @Input protected abstract Property<Integer> getPort(); @Nested protected abstract Property<JavaLauncher> getJavaLauncher(); @TaskAction public void startApplication() { System.out.println("serving docs at http://localhost:" + getPort().get()); DeploymentRegistry registry = getDeploymentRegistry();
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Apr 18 12:38:47 GMT 2024 - 2.9K bytes - Click Count (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
server1.start(); final CrawlerWebServer server2 = new CrawlerWebServer(0); server2.start(); final String url1 = "http://localhost:" + server1.getPort() + "/"; final String url2 = "http://localhost:" + server2.getPort() + "/"; try { final int maxCount = 10; final int numOfThread = 10; final File file = File.createTempFile("crawler-", "");
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 15 01:11:43 GMT 2026 - 13.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
} // Check the pre-withDefaultPort() instance. if (expectHasExplicitPort) { assertTrue(hp.hasPort()); assertEquals(expectPort, hp.getPort()); } else { assertFalse(hp.hasPort()); try { hp.getPort(); fail("Expected IllegalStateException"); } catch (IllegalStateException expected) { } } assertThat(hp.getHost()).isEqualTo(expectHost);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 9.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
} // Check the pre-withDefaultPort() instance. if (expectHasExplicitPort) { assertTrue(hp.hasPort()); assertEquals(expectPort, hp.getPort()); } else { assertFalse(hp.hasPort()); try { hp.getPort(); fail("Expected IllegalStateException"); } catch (IllegalStateException expected) { } } assertThat(hp.getHost()).isEqualTo(expectHost);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
server1.start(); final CrawlerWebServer server2 = new CrawlerWebServer(0); server2.start(); final String url1 = "http://localhost:" + server1.getPort() + "/"; final String url2 = "http://localhost:" + server2.getPort() + "/"; try { final int maxCount = 10; final int numOfThread = 10; final File file = File.createTempFile("crawler-", "");
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 15 01:11:43 GMT 2026 - 7.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
TypeReference typeReference = new TypeReference(typeRef) if ((typeReference.getSort() == TypeReference.CLASS_TYPE_PARAMETER || typeReference.getSort() == TypeReference.CLASS_TYPE_PARAMETER_BOUND) && NULLABLE_ANNOTATIONS.contains(Type.getType(descriptor).getClassName())) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Oct 27 09:26:32 GMT 2025 - 15.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
} @Override public OutputStream getOutputStream() throws IOException { return new SocketOutputStream(super.getOutputStream()); } @Override public int getPort() { return super.getPort(); } @Override public InetAddress getLocalAddress() { return super.getLocalAddress(); } @Override public int getLocalPort() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/HandlerTest.java
Handler handler = newHandler(); URL url = new URL(null, "smb://", handler); // Assert assertEquals("smb", url.getProtocol()); assertEquals(SmbConstants.DEFAULT_PORT, url.getPort(), "Default port applied for root smb URL"); assertNull(url.getRef(), "Ref should remain null for root URL"); } @Test @DisplayName("parseURL: fragment is moved into path and ref cleared")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
} /** * Get the port the service is listening on * * @return the service port * @throws IOException if port cannot be determined */ public int getPort() throws IOException { if (serverSocket == null) { throw new IOException("Service not started"); } return serverSocket.getLocalPort(); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
mockService.close(); } } @Test void testMockServiceLifecycle() throws Exception { assertNotNull(mockService.getAddress()); assertTrue(mockService.getPort() > 0); assertEquals(0, mockService.getRegistrationCount()); // Test registration String regId = mockService.registerWitness("\\\\server\\share", "192.168.1.100", 1); assertNotNull(regId);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0)