- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 256 for gopack (0.11 sec)
-
src/cmd/go/scriptreadme_test.go
a small script engine configured in ../../script_test.go (not the system shell). The scripts' supporting files are unpacked relative to $GOPATH/src (aka $WORK/gopath/src) and then the script begins execution in that directory as well. Thus the example above runs in $WORK/gopath/src with GOPATH=$WORK/gopath and $WORK/gopath/src/hello.go containing the listed contents. {{.Language}}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.9K bytes - Viewed (0) -
pkg/kubelet/container/testing/mockdirentry.go
*/ // Code generated by MockGen. // Source: os (interfaces: DirEntry) package testing import ( fs "io/fs" reflect "reflect" gomock "go.uber.org/mock/gomock" ) // MockDirEntry is a mock of DirEntry interface. type MockDirEntry struct { ctrl *gomock.Controller recorder *MockDirEntryMockRecorder } // MockDirEntryMockRecorder is the mock recorder for MockDirEntry.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 3K bytes - Viewed (0) -
pkg/kubelet/server/stats/testing/mock_summary_provider.go
// // Package testing is a generated GoMock package. package testing import ( context "context" reflect "reflect" gomock "go.uber.org/mock/gomock" v1alpha1 "k8s.io/kubelet/pkg/apis/stats/v1alpha1" ) // MockSummaryProvider is a mock of SummaryProvider interface. type MockSummaryProvider struct { ctrl *gomock.Controller recorder *MockSummaryProviderMockRecorder }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/go/script_test.go
must(os.MkdirAll(filepath.Join(work, "tmp"), 0777)) must(s.Setenv(tempEnvName(), filepath.Join(work, "tmp"))) gopath := filepath.Join(work, "gopath") must(s.Setenv("GOPATH", gopath)) gopathSrc := filepath.Join(gopath, "src") must(os.MkdirAll(gopathSrc, 0777)) must(s.Chdir(gopathSrc)) return telemetryDir }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/README
a small script engine configured in ../../script_test.go (not the system shell). The scripts' supporting files are unpacked relative to $GOPATH/src (aka $WORK/gopath/src) and then the script begins execution in that directory as well. Thus the example above runs in $WORK/gopath/src with GOPATH=$WORK/gopath and $WORK/gopath/src/hello.go containing the listed contents. Each line of a script is parsed into a sequence of space-separated command
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 12.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/vendor_test_issue11864.txt
package t -- $GOPATH/src/github.com/rsc/go-get-issue-11864/tx/tx_test.go -- package tx_test import _ "vendor.org/p" import _ "vendor.org/p1" import "testing" func TestNop(t *testing.T) {} -- $GOPATH/src/github.com/rsc/go-get-issue-11864/tx/tx.go -- package tx -- $GOPATH/src/github.com/rsc/go-get-issue-11864/vendor/vendor.org/p1/p1.go -- package p1 // import "vendor.org/p1"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 14:41:02 UTC 2023 - 1.9K bytes - Viewed (0) -
pkg/kubelet/eviction/mock_threshold_notifier_test.go
// // Package eviction is a generated GoMock package. package eviction import ( context "context" reflect "reflect" time "time" gomock "go.uber.org/mock/gomock" v1alpha1 "k8s.io/kubelet/pkg/apis/stats/v1alpha1" ) // MockManager is a mock of Manager interface. type MockManager struct { ctrl *gomock.Controller recorder *MockManagerMockRecorder }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 13.2K bytes - Viewed (0) -
pkg/kubelet/apis/podresources/testing/provider_mock.go
// // Package testing is a generated GoMock package. package testing import ( reflect "reflect" gomock "go.uber.org/mock/gomock" v1 "k8s.io/api/core/v1" v10 "k8s.io/kubelet/pkg/apis/podresources/v1" ) // MockDevicesProvider is a mock of DevicesProvider interface. type MockDevicesProvider struct { ctrl *gomock.Controller recorder *MockDevicesProviderMockRecorder }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 10.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_trimpath.txt
# Same sequence of tests but in GOPATH mode. # A binary built without -trimpath should contain GOPATH and GOROOT. env GO111MODULE=off cd $WORK env GOPATH=$WORK/a go build -o paths-dbg.exe paths exec ./paths-dbg.exe paths-dbg.exe stdout 'binary contains GOPATH: true' stdout 'binary contains an empty GOROOT' # A binary built with -trimpath should not contain GOPATH. go build -trimpath -o paths-a.exe paths
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 4.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/env_write.txt
env root= [GOOS:windows] env root=c: env GOPATH= go env -w GOPATH=$root/non-exist/gopath ! stderr .+ grep GOPATH=$root/non-exist/gopath $WORK/envdir/go/env go env GOPATH stdout /non-exist/gopath # go env -w does not override OS environment, and warns about that env GOPATH=$root/other go env -w GOPATH=$root/non-exist/gopath2 stderr 'warning: go env -w GOPATH=... does not override conflicting OS environment variable'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 18:42:31 UTC 2024 - 5.9K bytes - Viewed (0)