Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 93 for PWD (0.72 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_unix.go

    // executable name should also be the first argument in argv (["ls", "-l"]).
    // envv are the environment variables that should be passed to the new
    // process (["USER=go", "PWD=/tmp"]).
    func Exec(argv0 string, argv []string, envv []string) error {
    	return syscall.Exec(argv0, argv, envv)
    }
    
    // Lutimes sets the access and modification times tv on path. If path refers to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    		case "getenv":
    			fmt.Fprintf(h, "env %s %x\n", name, hashGetenv(name))
    		case "chdir":
    			pwd = name // always absolute
    			fmt.Fprintf(h, "chdir %s %x\n", name, hashStat(name))
    		case "stat":
    			if !filepath.IsAbs(name) {
    				name = filepath.Join(pwd, name)
    			}
    			if a.Package.Root == "" || search.InDir(name, a.Package.Root) == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

        once you get into the running container so `bazel` can find the `tensorflow`
        workspace).
    
        you can do this by using the following command. As an example-
    
        ```bash
        docker run -it --rm -v $PWD:/tmp -w /tmp tensorflow/build:2.15-python3.10
        ```
    
        Once you have the packages installed, you can run a specific unit test in
        bazel by doing as follows:
    
        ```bash
        export flags="--config=opt -k"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:45:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. src/cmd/internal/moddeps/moddeps_test.go

    func (r runner) run(t *testing.T, args ...string) {
    	t.Helper()
    	cmd := testenv.Command(t, args[0], args[1:]...)
    	cmd.Dir = r.Dir
    	cmd.Env = slices.Clip(r.Env)
    	if r.Dir != "" {
    		cmd.Env = append(cmd.Env, "PWD="+r.Dir)
    	}
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Logf("> %s\n", strings.Join(args, " "))
    		t.Fatalf("command failed: %s\n%s", err, out)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testcshared/cshared_test.go

    	if err := cgotest.OverlayDir(modRoot, "testdata"); err != nil {
    		log.Panic(err)
    	}
    	if err := os.Chdir(modRoot); err != nil {
    		log.Panic(err)
    	}
    	os.Setenv("PWD", modRoot)
    	if err := os.WriteFile("go.mod", []byte("module testcshared\n"), 0666); err != nil {
    		log.Panic(err)
    	}
    
    	defer func() {
    		if installdir != "" {
    			err := os.RemoveAll(installdir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  6. Makefile.core.mk

    export GO111MODULE ?= on
    export GOPROXY ?= https://proxy.golang.org
    export GOSUMDB ?= sum.golang.org
    
    # If GOPATH is not set by the env, set it to a sane value
    GOPATH ?= $(shell cd ${ISTIO_GO}/../../..; pwd)
    export GOPATH
    
    # If GOPATH is made up of several paths, use the first one for our targets in this Makefile
    GO_TOP := $(shell echo ${GOPATH} | cut -d ':' -f1)
    export GO_TOP
    
    GO ?= go
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 02 19:53:04 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/shell.go

    	}
    	cmd.Stdout = &buf
    	cmd.Stderr = &buf
    	cleanup := passLongArgsInResponseFiles(cmd)
    	defer cleanup()
    	if dir != "." {
    		cmd.Dir = dir
    	}
    	cmd.Env = cmd.Environ() // Pre-allocate with correct PWD.
    
    	// Add the TOOLEXEC_IMPORTPATH environment variable for -toolexec tools.
    	// It doesn't really matter if -toolexec isn't being used.
    	// Note that a.Package.Desc is not really an import path,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. build/common.sh

    DOCKER_OPTS=${DOCKER_OPTS:-""}
    IFS=" " read -r -a DOCKER <<< "docker ${DOCKER_OPTS}"
    DOCKER_HOST=${DOCKER_HOST:-""}
    GOPROXY=${GOPROXY:-""}
    
    # This will canonicalize the path
    KUBE_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd -P)
    
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    # Constants
    readonly KUBE_BUILD_IMAGE_REPO=kube-build
    KUBE_BUILD_IMAGE_CROSS_TAG="$(cat "${KUBE_ROOT}/build/build-image/cross/VERSION")"
    readonly KUBE_BUILD_IMAGE_CROSS_TAG
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  9. src/syscall/fs_wasip1.go

    			panic("fd_prestat_dir_name: " + errno.Error())
    		}
    
    		preopens = append(preopens, opendir{
    			fd:   preopenFd,
    			name: string(dirNameBuf[:prestat.dir.prNameLen]),
    		})
    	}
    
    	if cwd, _ = Getenv("PWD"); cwd != "" {
    		cwd = joinPath("/", cwd)
    	} else if len(preopens) > 0 {
    		cwd = preopens[0].name
    	}
    }
    
    // Provided by package runtime.
    func now() (sec int64, nsec int32)
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux_test.go

    	"runtime"
    	"slices"
    	"strconv"
    	"strings"
    	"sync"
    	"syscall"
    	"testing"
    	"unsafe"
    )
    
    // chtmpdir changes the working directory to a new temporary directory and
    // provides a cleanup function. Used when PWD is read-only.
    func chtmpdir(t *testing.T) func() {
    	oldwd, err := os.Getwd()
    	if err != nil {
    		t.Fatalf("chtmpdir: %v", err)
    	}
    	d, err := os.MkdirTemp("", "test")
    	if err != nil {
    		t.Fatalf("chtmpdir: %v", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top