- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 384 for gopack (0.14 sec)
-
src/cmd/go/testdata/script/build_cd_gopath_different.txt
import ( "fmt" "os" "os/exec" "strings" ) func main() { dir := os.Args[1] gopath := os.Args[2] switch os.Args[3] { case "IDENTITY": case "REPLACE_SLASH": gopath = strings.ReplaceAll(gopath, `\`, `/`) case "UPPER": gopath = strings.ToUpper(gopath) case "LOWER": gopath = strings.ToLower(gopath) default: fmt.Fprintln(os.Stderr, "bad op"); os.Exit(1) } cmd := exec.Command("go", os.Args[4:]...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 1.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_find.txt
# gplink1/src/empty where gopathlink -> GOPATH symlink $WORK/gopathlink -> gopath cd $WORK/gopathlink/src/empty go mod init rm go.mod # GOPATH/src/link where link -> out of GOPATH symlink $GOPATH/src/link -> $WORK/empty cd $WORK/empty ! go mod init cd $GOPATH/src/link go mod init stderr link rm go.mod # GOPATH/src/empty where GOPATH itself is a symlink env GOPATH=$WORK/gopathlink cd $GOPATH/src/empty
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:14 UTC 2022 - 2.5K bytes - Viewed (0) -
pkg/kubelet/container/testing/runtime_mock.go
// // mockgen -source=runtime.go -destination=testing/runtime_mock.go -package=testing Runtime // // Package testing is a generated GoMock package. package testing import ( context "context" io "io" url "net/url" reflect "reflect" time "time" gomock "go.uber.org/mock/gomock" v1 "k8s.io/api/core/v1" types "k8s.io/apimachinery/pkg/types" remotecommand "k8s.io/client-go/tools/remotecommand"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 27K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_symlink_dotdotdot.txt
[!symlink] skip symlink $WORK/gopath/src/sym -> $WORK/gopath/src/tree symlink $WORK/gopath/src/tree/squirrel -> $WORK/gopath/src/dir2 # this symlink should not be followed cd sym go list ./... cmp stdout $WORK/gopath/src/want_list.txt -- tree/go.mod -- module example.com/tree go 1.20 -- tree/tree.go -- package tree -- tree/branch/branch.go -- package branch -- dir2/squirrel.go -- package squirrel -- want_list.txt --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:05 UTC 2023 - 463 bytes - Viewed (0) -
buildscripts/minio-upgrade.sh
sleep 20 } __init__() { sudo apt install curl -y export GOPATH=/tmp/gopath export PATH=${PATH}:${GOPATH}/bin go install github.com/minio/mc@latest ## this is needed because github actions don't have ## docker-compose on all runners go install github.com/docker/compose/v2/cmd@latest mv -v /tmp/gopath/bin/cmd /tmp/gopath/bin/docker-compose cleanup TAG=minio/minio:dev make docker
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 05:08:11 UTC 2024 - 2.6K bytes - Viewed (0) -
pkg/kubelet/cadvisor/testing/cadvisor_mock.go
// // Package testing is a generated GoMock package. package testing import ( reflect "reflect" v1 "github.com/google/cadvisor/info/v1" v2 "github.com/google/cadvisor/info/v2" gomock "go.uber.org/mock/gomock" ) // MockInterface is a mock of Interface interface. type MockInterface struct { ctrl *gomock.Controller recorder *MockInterfaceMockRecorder }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 8.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_download_concurrent_read.txt
if rmErr := os.RemoveAll(tmpDir); err == nil && rmErr != nil { err = rmErr } }() for i := 0; i < 10; i++ { gopath := filepath.Join(tmpDir, fmt.Sprintf("gopath%d", i)) var err error done := make(chan struct{}) go func() { err = download(gopath) close(done) }() readCache(gopath, done) if err != nil { return err } } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2.5K bytes - Viewed (0) -
pkg/kubelet/server/stats/testing/mock_stats_provider.go
// // Package testing is a generated GoMock package. package testing import ( context "context" reflect "reflect" v1 "github.com/google/cadvisor/info/v1" v2 "github.com/google/cadvisor/info/v2" gomock "go.uber.org/mock/gomock" v10 "k8s.io/api/core/v1" types "k8s.io/apimachinery/pkg/types" v1alpha1 "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 11.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/env_issue46807.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:56:44 UTC 2023 - 288 bytes - Viewed (0) -
src/cmd/cgo/internal/testlife/life_test.go
os.Exit(testMain(m)) } func testMain(m *testing.M) int { GOPATH, err := os.MkdirTemp("", "cgolife") if err != nil { log.Panic(err) } defer os.RemoveAll(GOPATH) os.Setenv("GOPATH", GOPATH) // Copy testdata into GOPATH/src/cgolife, along with a go.mod file // declaring the same path. modRoot := filepath.Join(GOPATH, "src", "cgolife") if err := cgotest.OverlayDir(modRoot, "testdata"); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 20:56:09 UTC 2023 - 1.5K bytes - Viewed (0)