Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for pidFile (0.12 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. cluster/gce/gci/configure-helper.sh

      if [ -f /etc/docker/daemon.json ]; then
        echo "Contents of the old docker config"
        cat /etc/docker/daemon.json
      fi
    
      cat <<EOF >/etc/docker/daemon.json
    {
    EOF
    
    addockeropt "\"pidfile\": \"/var/run/docker.pid\",
      \"iptables\": false,
      \"ip-masq\": false,"
    
      echo "setting log-level"
      if [[ "${TEST_CLUSTER:-}" == "true" ]]; then
        addockeropt "\"log-level\": \"debug\","
      else
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  7. .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)
  8. .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)
  9. pkg/volume/util/util_test.go

    			`
    apiVersion: v1
    kind: Pod
    metadata:
      name: testpod
    spec:
      - image: registry.k8s.io/busybox
    `,
    			true,
    		},
    	}
    
    	for _, test := range tests {
    		tempFile, err := os.CreateTemp("", "podfile")
    		defer os.Remove(tempFile.Name())
    		if err != nil {
    			t.Fatalf("cannot create temporary file: %v", err)
    		}
    		if _, err = tempFile.Write([]byte(test.content)); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. src/runtime/runtime2.go

    	// Up to 10 locks held by this m, maintained by the lock ranking code.
    	locksHeldLen int
    	locksHeld    [10]heldLockInfo
    }
    
    type p struct {
    	id          int32
    	status      uint32 // one of pidle/prunning/...
    	link        puintptr
    	schedtick   uint32     // incremented on every scheduler call
    	syscalltick uint32     // incremented on every system call
    	sysmontick  sysmontick // last tick observed by sysmon
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
Back to top