Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for pidFile (0.13 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PidInstrumentation.groovy

    @PackageScope
    class PidInstrumentation {
    
        private final File pidFile = createPidFile()
        private final File pidFileInitScript = createPidFileInitScript(pidFile)
    
        List<String> getGradleArgs() {
            ["--init-script", pidFileInitScript.absolutePath]
        }
    
        String getPid() {
            pidFile.text
        }
    
        private static File createPidFile() {
            def pidFile = File.createTempFile("build-under-test", ".pid")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy

            """
    
            when:
            succeeds("compileJava")
    
            then:
            pidFile().exists()
            def pid1 = pidFile().text.strip() as long
            kill(pid1)
    
            when:
            args "--rerun-tasks"
            succeeds("compileJava")
    
            then:
            pidFile().exists()
            def pid2 = pidFile().text.strip() as long
            pid2 != pid1
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 18:43:14 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

            then:
            handler.waitForAllPendingCalls()
    
            then:
            cancelBuild()
    
            then:
            daemons.daemon.becomesIdle()
    
            and:
            pidFile().exists()
            def pid1 = pidFile().text.strip() as long
            new ProcessFixture(pid1).waitForFinish()
    
            when:
            handler = blockingHttpServer.expectAndBlock("/block")
            startBuild("compileJava")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ContinuousBuildToolingApiSpecification.groovy

            stdout.reset()
            stderr.reset()
            return executionOutput
        }
    
        def requestJstackForBuildProcess() {
            def pidFile = file("build/build.pid")
            if (pidFile.exists()) {
                def pid = pidFile.text
                def jdkBinDir = new File(System.getProperty("java.home"), "../bin").canonicalFile
                if (jdkBinDir.isDirectory() && new File(jdkBinDir, "jstack").exists()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/BuildSessionServiceReuseContinuousIntegrationTest.groovy

                    inputs.file file("$triggerFileName")
                    outputs.file "$idFileName"
                    doLast {
                        def idFile = file("${idFileName}")
                        def service = services.get(${service})
                        idFile << System.identityHashCode(service) + "\\n"
                    }
                }
            """
    
            when:
            triggerFile << "content"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. .gitignore

    .idea
    .ipynb_checkpoints
    .mypy_cache
    .vscode
    __pycache__
    .pytest_cache
    htmlcov
    dist
    site
    .coverage
    coverage.xml
    .netlify
    test.db
    log.txt
    Pipfile.lock
    env3.*
    env
    docs_build
    site_build
    venv
    docs.zip
    archive.zip
    
    # vim temporary files
    *~
    .*.sw?
    .cache
    
    # macOS
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 13:11:35 UTC 2023
    - 268 bytes
    - Viewed (0)
  7. .gitignore

    /tensorflow/lite/**/coreml/**/BUILD
    /tensorflow/lite/**/ios/BUILD
    /tensorflow/lite/**/objc/BUILD
    /tensorflow/lite/**/swift/BUILD
    /tensorflow/lite/examples/ios/simple/data/*.tflite
    /tensorflow/lite/examples/ios/simple/data/*.txt
    Podfile.lock
    Pods
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 22:28:59 UTC 2024
    - 934 bytes
    - Viewed (0)
Back to top