Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 862 for otool (0.05 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/internal/testenv/testenv.go

    	}
    }
    
    // GoToolPath reports the path to the Go tool.
    // It is a convenience wrapper around GoTool.
    // If the tool is unavailable GoToolPath calls t.Skip.
    // If the tool should be available and isn't, GoToolPath calls t.Fatal.
    func GoToolPath(t testing.TB) string {
    	MustHaveGoBuild(t)
    	path, err := GoTool()
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. 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)
  8. misc/go_android_exec/main.go

    // and temporary data. Then, it copies relevant parts of GOROOT to the device,
    // including the go tool built for android.
    // A lock file ensures this only happens once, even with concurrent exec
    // wrappers.
    func adbCopyGoroot() error {
    	goTool, err := goTool()
    	if err != nil {
    		return err
    	}
    	cmd := exec.Command(goTool, "version")
    	cmd.Stderr = os.Stderr
    	out, err := cmd.Output()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top