- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getLoopbackAddress (0.37 sec)
-
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReuseIntegrationTest.groovy
def nonDaemonProcess = new ServerSocket() ConcurrentTestUtil.poll { def listeningAddress = new InetSocketAddress(InetAddress.getLoopbackAddress(), daemons.daemon.port) println("Listening with non-daemon process on ${listeningAddress}") nonDaemonProcess.bind(listeningAddress) } def latch = new CyclicBarrier(2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/TimeoutTest.java
Set<Thread> threadsBefore = new HashSet<>(Thread.getAllStackTraces().keySet()); try ( ServerSocket ss = ServerSocketFactory.getDefault().createServerSocket(0, -1, InetAddress.getLoopbackAddress()) ) { int port = ss.getLocalPort(); InetAddress addr = ss.getInetAddress(); long start = System.currentTimeMillis();
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12.4K bytes - Viewed (0) -
platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/services/NativeServices.java
} } String hostname; try { hostname = InetAddress.getLocalHost().getHostName(); } catch (UnknownHostException e) { hostname = InetAddress.getLoopbackAddress().getHostAddress(); } return new FixedHostname(hostname); } @Provides protected FileMetadataAccessor createFileMetadataAccessor(OperatingSystem operatingSystem) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:39 UTC 2024 - 23.9K bytes - Viewed (0)