Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 384 for gopack (0.27 sec)

  1. src/cmd/go/testdata/script/mod_sumdb_file_path.txt

    # using the download cache as a proxy.
    cp supported $GOPATH/pkg/mod/cache/download/sumdb/sum.golang.org/supported
    [GOOS:windows] env GOPROXY=file:///$WORK/gopath1/pkg/mod/cache/download,file:///$WORK/sumproxy
    [!GOOS:windows] env GOPROXY=file://$WORK/gopath1/pkg/mod/cache/download,file://$WORK/sumproxy
    env GOPATH=$WORK/gopath2
    rm go.sum
    go get -x -v golang.org/x/text@v0.3.2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 17 18:25:37 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. hack/jenkins/test-dockerized.sh

    # kubekins-test container with a kubernetes repo mapped in. See
    # k8s.io/test-infra/scenarios/kubernetes_verify.py
    
    export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH}
    
    # Until all GOPATH references are removed from all build scripts as well,
    # explicitly disable module mode to avoid picking up user-set GO111MODULE preferences.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/work_vendor_modules_txt_consistent.txt

    ## workspace
    # example.com/p v1.0.0 => ./p
    ## go 1.21
    # example.com/q v1.0.0 => ./q
    ## explicit; go 1.21
    -- required_but_not_explicit_error.txt --
    go: inconsistent vendoring in $GOPATH${/}src:
    	example.com/p@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
    
    	To ignore the vendor directory, use -mod=readonly or -mod=mod.
    	To sync the vendor directory, run:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/addmod.go

    		out, err := cmd.Output()
    		if err != nil {
    			fatalf("%s %s: %v\n%s", command, strings.Join(args, " "), err, stderr.Bytes())
    		}
    		return string(out)
    	}
    
    	gopath := strings.TrimSpace(run("go", "env", "GOPATH"))
    	if gopath == "" {
    		fatalf("cannot find GOPATH")
    	}
    
    	exitCode := 0
    	for _, arg := range flag.Args() {
    		if err := os.WriteFile(filepath.Join(tmpdir, "go.mod"), []byte("module m\n"), 0666); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 30 19:41:54 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testplugin/plugin_test.go

    	// Copy testdata into GOPATH/src/testplugin, along with a go.mod file
    	// declaring the same path.
    
    	GOPATH, err := os.MkdirTemp("", "plugin_test")
    	if err != nil {
    		log.Panic(err)
    	}
    	defer os.RemoveAll(GOPATH)
    	tmpDir = GOPATH
    	fmt.Printf("TMPDIR=%s\n", tmpDir)
    
    	modRoot := filepath.Join(GOPATH, "src", "testplugin")
    	altRoot := filepath.Join(GOPATH, "alt", "src", "testplugin")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/work.txt

    cmpenv go.work go.work.want
    go env GOWORK
    stdout '^'$WORK'(\\|/)gopath(\\|/)src(\\|/)go.work$'
    
    ! go run  example.com/b
    stderr 'a(\\|/)a.go:4:8: no required module provides package rsc.io/quote; to add it:\n\tcd '$WORK(\\|/)gopath(\\|/)src(\\|/)a'\n\tgo get rsc.io/quote'
    cd a
    go get rsc.io/quote
    cat go.mod
    go env GOMOD # go env GOMOD reports the module in a single module context
    stdout $GOPATH(\\|/)src(\\|/)a(\\|/)go.mod
    cd ..
    go run example.com/b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_relative_cmdline.txt

    # Relative imports in command line package
    
    env GO111MODULE=off
    
    # Run tests outside GOPATH.
    env GOPATH=$WORK/tmp
    
    go test ./testimport/p.go ./testimport/p_test.go ./testimport/x_test.go
    stdout '^ok'
    
    -- testimport/p.go --
    package p
    
    func F() int { return 1 }
    -- testimport/p1/p1.go --
    package p1
    
    func F() int { return 1 }
    -- testimport/p2/p2.go --
    package p2
    
    func F() int { return 1 }
    -- testimport/p_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 16 19:10:58 UTC 2022
    - 688 bytes
    - Viewed (0)
  8. tensorflow/c/eager/dlpack_test.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/c/eager/dlpack.h"
    
    #include <vector>
    
    #include "absl/strings/str_join.h"
    #include "include/dlpack/dlpack.h"  // from @dlpack
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 30 03:04:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. cmd/build-constants.go

    package cmd
    
    import "runtime"
    
    // DO NOT EDIT THIS FILE DIRECTLY. These are build-time constants
    // set through ‘buildscripts/gen-ldflags.go’.
    var (
    	// GOPATH - GOPATH value at the time of build.
    	GOPATH = ""
    
    	// GOROOT - GOROOT value at the time of build.
    	GOROOT = ""
    
    	// Version - version time.RFC3339.
    	Version = "DEVELOPMENT.GOGET"
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/gradients_test.cc

        // Construct forward graph.
        auto c = Const(scope, 1, {3, 4, 2});
        auto unpack = Unstack(scope, c, 3);
        auto x = Identity(scope, unpack.output[0]);
        auto y = Identity(scope, unpack.output[1]);
        auto z = Identity(scope, unpack.output[2]);
        TF_ASSERT_OK(scope.status());
    
        // Construct grad inputs.
        auto dy = Const(scope, 4, {4, 2});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 15 15:13:38 UTC 2023
    - 25K bytes
    - Viewed (0)
Back to top