Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 178 for Executable (0.2 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy

            def jvm = Jvm.current()
    
            then:
            jvm.isIbmJvm()
    
            where:
            vendorProperty << ['java.vendor', 'java.vm.vendor']
        }
    
        def "finds executable for java home supplied"() {
            System.properties['java.vm.vendor'] = 'Sun'
    
            when:
            def home = tmpDir.createDir("home")
            home.create {
                jre {
                    bin {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. src/syscall/exec_linux_test.go

    		} else if err != nil {
    			fmt.Fprintf(os.Stderr, "unshare: mount %s: %v\n", dir, err)
    			os.Exit(2)
    		}
    		os.Exit(0)
    	}
    
    	testenv.MustHaveExec(t)
    	exe, err := os.Executable()
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	d := t.TempDir()
    	t.Cleanup(func() {
    		// If the subprocess fails to unshare the parent directory, force-unmount it
    		// so that the test can clean it up.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/start.go

    	// Fork+exec the telemetry child.
    	exe, err := os.Executable()
    	if err != nil {
    		// There was an error getting os.Executable. It's possible
    		// for this to happen on AIX if os.Args[0] is not an absolute
    		// path and we can't find os.Args[0] in PATH.
    		log.Printf("failed to start telemetry sidecar: os.Executable: %v", err)
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/macho_combine_dwarf.go

    		return err
    	}
    	return binary.Write(r.f, r.order, data)
    }
    
    // machoCombineDwarf merges dwarf info generated by dsymutil into a macho executable.
    //
    // With internal linking, DWARF is embedded into the executable, this lets us do the
    // same for external linking.
    // exef is the file of the executable with no DWARF. It must have enough room in the macho
    // header to add the DWARF sections. (Use ld's -headerpad option)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/runtime/debug/stack_test.go

    		// real baked-in GOROOT.
    		t.Logf("found GOROOT %q from environment; checking embedded GOROOT value", envGoroot)
    		testenv.MustHaveExec(t)
    		exe, err := os.Executable()
    		if err != nil {
    			t.Fatal(err)
    		}
    		cmd := exec.Command(exe)
    		cmd.Env = append(os.Environ(), "GOROOT=", "GO_RUNTIME_DEBUG_TEST_ENTRYPOINT=dumpgoroot")
    		out, err := cmd.Output()
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/jvm/toolchains.adoc

    For example, you can configure the `java` executable for a task as follows:
    
    ====
    include::sample[dir="snippets/java/toolchain-config-task/kotlin/",files="build.gradle.kts[tags=java-executable]"]
    include::sample[dir="snippets/java/toolchain-config-task/groovy/",files="build.gradle[tags=java-executable]"]
    ====
    
    As another example, you can configure the _Java Home_ for a task as follows:
    
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 05:37:54 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/aot/tfcompile.bzl

        full_cmd = (
            ctx.executable.tfcompile_tool.path + " " + " ".join(flags) + " " + ctx.attr.flags + post_command
        )
        ctx.actions.run_shell(
            inputs = ctx.files.srcs,
            outputs = out_files,
            tools = [ctx.executable.tfcompile_tool] + dfsan_deps,
            env = tfcompile_env,
            command = full_cmd,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 19:18:08 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/java/ParallelTestTaskIntegrationTest.groovy

        test {
            doFirst {
                println path + " waiting for other tests..."
                latch.countDown()
                latch.await()
                println path + " go"
            }
    
            executable = "$java"
        }
    }
    """
            subprojects.each { subproject ->
                settingsFile << "include '$subproject'\n"
                file("${subproject}/src/test/java/ThingTest.java") << """
    import org.junit.Test;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/AbstractJavaCompileSpecFactory.java

                languageVersion = JavaVersion.current().getMajorVersionNumber();
            }
    
            return getForkingSpec(fallbackJavaHome, languageVersion);
        }
    
        abstract protected T getCommandLineSpec(File executable);
    
        abstract protected T getForkingSpec(File javaHome, int javaLanguageVersion);
    
        abstract protected T getDefaultSpec();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/preflight/checks.go

    		return ipc.label
    	}
    	return fmt.Sprintf("FileExisting-%s", strings.Replace(ipc.executable, "/", "-", -1))
    }
    
    // Check validates if the given executable is present in the path.
    func (ipc InPathCheck) Check() (warnings, errs []error) {
    	klog.V(1).Infof("validating the presence of executable %s", ipc.executable)
    	_, err := ipc.exec.LookPath(ipc.executable)
    	if err != nil {
    		if ipc.mandatory {
    			// Return as an error:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
Back to top