Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 187 for Commands (0.3 sec)

  1. src/runtime/debug/stack_test.go

    		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 {
    			t.Fatal(err)
    		}
    		fileGoroot = string(bytes.TrimSpace(out))
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecIntegrationTest.groovy

            then:
            executedAndNotSkipped ":run"
    
            when:
            run "run"
    
            then:
            executedAndNotSkipped ":run"
        }
    
        def 'arguments passed via command line take precedence and is not incremental by default'() {
            when:
            run("run", "--args", "2 '3' \"4\"")
    
            then:
            executedAndNotSkipped ":run"
            assertOutputFileIs('''\
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetector.java

                int exitValue = result.getExitValue();
                if (exitValue == 0) {
                    return parseExecOutput(jdkPath, out.toString());
                }
                String errorMessage = "Command returned unexpected result code: " + exitValue + "\nError output:\n" + errorOutput;
                logger.debug("Failed to get metadata from JVM installation at '{}'. {}", jdkPath, errorMessage);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 02:32:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/PluginDependenciesSpecExtensions.kt

     *
     * Visit the [Develocity Plugin User Manual](https://docs.gradle.com/enterprise/gradle-plugin/) for additional information.
     *
     * By default, the applied plugin version will be the same as the one used by the `--scan` command line option.
     *
     * You can also use e.g. `` `gradle-enterprise` version "3.0" `` to request a different version.
     *
     * @since 6.0
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 07:10:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/net/netip/inlining_test.go

    package netip
    
    import (
    	"internal/testenv"
    	"os/exec"
    	"regexp"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    func TestInlining(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    	out, err := exec.Command(
    		testenv.GoToolPath(t),
    		"build",
    		"--gcflags=-m",
    		"net/netip").CombinedOutput()
    	if err != nil {
    		t.Fatalf("go build: %v, %s", err, out)
    	}
    	got := map[string]bool{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. tests/binary/binaries_test.go

    			return
    		}
    		cmd := path.Join(*releasedir, name)
    		args := []string{"version", "-ojson"}
    		if name == "istioctl" {
    			args = append(args, "--remote=false")
    		}
    
    		out, err := exec.Command(cmd, args...).Output()
    		if err != nil {
    			t.Fatalf("--version failed with error: %v. Output: %v", err, string(out))
    		}
    
    		var resp version.Version
    		if err := json.Unmarshal(out, &resp); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/labels_test.go

    	deletionGracePeriod := int64(10)
    	terminationGracePeriod := int64(10)
    	lifecycle := &v1.Lifecycle{
    		// Left PostStart as nil
    		PreStop: &v1.LifecycleHandler{
    			Exec: &v1.ExecAction{
    				Command: []string{"action1", "action2"},
    			},
    			HTTPGet: &v1.HTTPGetAction{
    				Path:   "path",
    				Host:   "host",
    				Port:   intstr.FromInt32(8080),
    				Scheme: "scheme",
    			},
    			TCPSocket: &v1.TCPSocketAction{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/runtime/ehooks_test.go

    		exe, err := buildTestProg(t, "testexithooks", bmode)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		bt := ""
    		if bmode != "" {
    			bt = " bmode: " + bmode
    		}
    		for _, s := range scenarios {
    			cmd := exec.Command(exe, []string{"-mode", s.mode}...)
    			out, _ := cmd.CombinedOutput()
    			outs := strings.ReplaceAll(string(out), "\n", " ")
    			outs = strings.TrimSpace(outs)
    			if s.expected != "" && s.expected != outs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/AgentUtils.java

     */
    public final class AgentUtils {
        private AgentUtils() {}
    
        public static final String AGENT_MODULE_NAME = "gradle-instrumentation-agent";
    
        /**
         * Checks if the command-line argument looks like JVM switch that applies gradle instrumentation agent.
         * If the returned value is {@code true} then the argument is definitely a java agent application.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJvmVersionDetector.java

            if(parentFolder == null || !parentFolder.exists()) {
                Exception cause = new NoSuchFileException(javaCommand);
                throw new ExecException("A problem occurred starting process 'command '" + javaCommand + "''", cause);
            }
            return getVersionFromJavaHome(parentFolder.getParentFile());
        }
    
        private int getVersionFromJavaHome(File javaHome) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top