- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 117 for gopack (0.14 sec)
-
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) -
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/main.go
} // Diagnose common mistake: GOPATH==GOROOT. // This setting is equivalent to not setting GOPATH at all, // which is not what most people want when they do it. if gopath := cfg.BuildContext.GOPATH; filepath.Clean(gopath) == filepath.Clean(cfg.GOROOT) { fmt.Fprintf(os.Stderr, "warning: GOPATH set to GOROOT (%s) has no effect\n", gopath) } else { for _, p := range filepath.SplitList(gopath) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/carchive_test.go
} } // We need a writable GOPATH in which to run the tests. // Construct one in a temporary directory. var err error GOPATH, err = os.MkdirTemp("", "carchive_test") if err != nil { log.Panic(err) } if testWork { log.Println(GOPATH) } else { defer os.RemoveAll(GOPATH) } os.Setenv("GOPATH", GOPATH) // Copy testdata into GOPATH/src/testarchive, along with a go.mod file
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:43:51 UTC 2023 - 34.8K bytes - Viewed (0) -
pkg/kubelet/pleg/generic_test.go
package pleg import ( "context" "errors" "fmt" "reflect" "sort" "strings" "testing" "time" "github.com/google/go-cmp/cmp" "github.com/stretchr/testify/assert" "go.uber.org/mock/gomock" "k8s.io/apimachinery/pkg/types" "k8s.io/component-base/metrics/testutil" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" containertest "k8s.io/kubernetes/pkg/kubelet/container/testing"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 24.8K bytes - Viewed (0) -
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) -
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) -
src/cmd/cgo/internal/testshared/shared_test.go
// of use-cases where -buildmode=shared still works today. // For now, run the tests in GOPATH mode only. os.Setenv("GO111MODULE", "off") // Some tests need to edit the source in GOPATH, so copy this directory to a // temporary directory and chdir to that. gopath := filepath.Join(workDir, "gopath") modRoot, err := cloneTestdataModule(gopath) if err != nil { return 0, err } if testing.Verbose() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 26 01:54:41 UTC 2023 - 36.3K bytes - Viewed (0) -
tensorflow/c/eager/BUILD
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 23:52:39 UTC 2024 - 33.3K bytes - Viewed (0) -
src/cmd/dist/buildtool.go
// GOROOT points at Go bootstrap GOROOT, // GOPATH points at our bootstrap workspace, // GOBIN is empty, so that binaries are installed to GOPATH/bin, // and GOOS, GOHOSTOS, GOARCH, and GOHOSTOS are empty, // so that Go bootstrap toolchain builds whatever kind of binary it knows how to build. // Restore GOROOT, GOPATH, and GOBIN when done. // Don't bother with GOOS, GOHOSTOS, GOARCH, and GOHOSTARCH,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 23:29:41 UTC 2024 - 11.5K bytes - Viewed (0)