Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getNetworkInterfaces (0.14 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecDebugIntegrationTest.groovy

        private static final String nonLoopbackAddress() {
            println("Looking at network interfaces")
            def address = Collections.list(NetworkInterface.getNetworkInterfaces())
                .collectMany { it.isLoopback() ? [] : Collections.list(it.inetAddresses) }
                .find { it instanceof Inet4Address && !it.isLoopbackAddress() }
                ?.hostAddress
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/CommandLineIntegrationSpec.groovy

            cleanup:
            jdwpClient.close()
        }
    
        private static String nonLoopbackAddress() {
            println("Looking at network interfaces")
            def address = Collections.list(NetworkInterface.getNetworkInterfaces())
                .collectMany { it.isLoopback() ? [] : Collections.list(it.inetAddresses) }
                .find { it instanceof Inet4Address && !it.isLoopbackAddress() }
                .hostAddress
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 05:05:14 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top