Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 545 for otool (0.06 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/OtoolBinaryInfo.groovy

        OtoolBinaryInfo(File binaryFile, List<String> environments) {
            this.binaryFile = binaryFile
            this.environments = environments
        }
    
        ArchitectureInternal getArch() {
            def process = ['otool', '-hv', binaryFile.absolutePath].execute(environments, null)
            def lines = process.inputStream.readLines()
            def archString = lines.last().split()[1]
    
            switch (archString) {
                case "I386":
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/go/internal/base/tool.go

    	"cmd/go/internal/par"
    )
    
    // Tool returns the path to the named tool (for example, "vet").
    // If the tool cannot be found, Tool exits the process.
    func Tool(toolName string) string {
    	toolPath, err := ToolPath(toolName)
    	if err != nil && len(cfg.BuildToolexec) == 0 {
    		// Give a nice message if there is no tool with that name.
    		fmt.Fprintf(os.Stderr, "go: no such tool %q\n", toolName)
    		SetExitStatus(2)
    		Exit()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:04:09 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/tool/tool.go

    var CmdTool = &base.Command{
    	Run:       runTool,
    	UsageLine: "go tool [-n] command [args...]",
    	Short:     "run specified go tool",
    	Long: `
    Tool runs the go tool command identified by the arguments.
    With no arguments it prints the list of known tools.
    
    The -n flag causes tool to print the command that would be
    executed but not execute it.
    
    For more about each tool command, see 'go doc cmd/<command>'.
    `,
    }
    
    var toolN bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/Tool.java

    import java.util.List;
    
    /**
     * Configuration of the arguments of a ToolChain executable.
     */
    @Incubating
    public interface Tool {
        /**
         * The arguments passed when executing this tool.
         */
        List<String> getArgs();
    
        /**
         * Adds a number of arguments to be passed to the tool.
         */
        void args(String... args);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. src/cmd/internal/archive/archive_test.go

    			if err != nil {
    				return fmt.Errorf("go tool compile -o %s %s: %v\n%s", go1obj, go1src, err, out)
    			}
    			out, err = testenv.Command(t, gotool, "tool", "compile", "-importcfg="+importcfgfile, "-p=p", "-o", go2obj, go2src).CombinedOutput()
    			if err != nil {
    				return fmt.Errorf("go tool compile -o %s %s: %v\n%s", go2obj, go2src, err, out)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 19:27:33 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/inst_test.go

    	// Build ptrsort.go, which uses package mysort.
    	var output []byte
    	var err error
    	filename := "ptrsort.go"
    	exename := "ptrsort"
    	outname := "ptrsort.out"
    	gotool := testenv.GoToolPath(t)
    	dest := filepath.Join(t.TempDir(), exename)
    	cmd := testenv.Command(t, gotool, "build", "-o", dest, filepath.Join("testdata", filename))
    	if output, err = cmd.CombinedOutput(); err != nil {
    		t.Fatalf("Failed: %v:\nOutput: %s\n", err, output)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. src/syscall/mksyscall_windows.go

    package main
    
    import (
    	"bytes"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    )
    
    func main() {
    	goTool := filepath.Join(runtime.GOROOT(), "bin", "go")
    
    	listCmd := exec.Command(goTool, "list", "-m")
    	listCmd.Env = append(os.Environ(), "GO111MODULE=on")
    
    	var (
    		cmdEnv  []string
    		modArgs []string
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2K bytes
    - Viewed (0)
  8. src/net/http/http_test.go

    // even if there's not a regular builder on it.
    func TestOmitHTTP2(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping in short mode")
    	}
    	t.Parallel()
    	goTool := testenv.GoToolPath(t)
    	out, err := testenv.Command(t, goTool, "test", "-short", "-tags=nethttpomithttp2", "net/http").CombinedOutput()
    	if err != nil {
    		t.Fatalf("go test -short failed: %v, %s", err, out)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 18:18:19 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. src/internal/testenv/testenv_test.go

    	}
    	t.Logf("testenv.GoTool() = %q", goTool)
    
    	gotInfo, err := os.Stat(goTool)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !os.SameFile(wantInfo, gotInfo) {
    		t.Fatalf("%q is not the same file as %q", absWant, goTool)
    	}
    }
    
    func TestHasGoBuild(t *testing.T) {
    	if !testenv.HasGoBuild() {
    		switch runtime.GOOS {
    		case "js", "wasip1":
    			// No exec syscall, so these shouldn't be able to 'go build'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 23:12:44 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/dsl/org.gradle.nativeplatform.Tool.xml

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top