- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for modcache (0.12 sec)
-
src/cmd/go/internal/clean/clean.go
base.Error(err) } } } } if cleanModcache { if cfg.GOMODCACHE == "" { base.Fatalf("go: cannot clean -modcache without a module cache") } if cfg.BuildN || cfg.BuildX { sh.ShowCmd("", "rm -rf %s", cfg.GOMODCACHE) } if !cfg.BuildN { if err := modfetch.RemoveAll(cfg.GOMODCACHE); err != nil { base.Error(err) } } } if cleanFuzzcache {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/reuse_git.txt
cp stdout all.json # clean the module cache, make sure that makes go mod download re-run git fetch, clean again go clean -modcache go mod download -x -json vcs-test.golang.org/git/hello.git@latest stderr 'git( .*)* fetch' go clean -modcache # reuse go mod download vcstest/hello result go mod download -reuse=hello.json -x -json vcs-test.golang.org/git/hello.git@latest ! stderr 'git( .*)* fetch'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 22:10:38 UTC 2024 - 15.5K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git_test.go
// Redirect the module cache to a fresh directory to avoid crosstalk, and make // it read/write so that the test can still clean it up easily when done. cfg.GOMODCACHE = filepath.Join(dir, "modcache") cfg.ModCacheRW = true m.Run() return nil } func testContext(t testing.TB) context.Context { w := newTestWriter(t) return cfg.WithBuildXWriter(context.Background(), w) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 19:46:23 UTC 2023 - 18.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_outside.txt
stderr '^go: go.mod file not found in current directory or any parent directory.$' stderr '^\t''go get'' is no longer supported outside a module.$' # 'go get' should not download anything. go clean -modcache ! go get example.com/printversion@v1.0.0 stderr '^go: go.mod file not found in current directory or any parent directory.$' stderr '^\t''go get'' is no longer supported outside a module.$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 18 15:34:40 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/coderepo_test.go
if err != nil { return err } defer func() { if rmErr := os.RemoveAll(dir); err == nil { err = rmErr } }() cfg.GOMODCACHE = filepath.Join(dir, "modcache") if err := os.Mkdir(cfg.GOMODCACHE, 0755); err != nil { return err } srv, err := vcstest.NewServer() if err != nil { return err } defer func() { if closeErr := srv.Close(); err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 18 20:10:14 UTC 2023 - 29.4K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/fetch.go
// opened files in the temporary directory. // // Go 1.14.2 and higher respect .partial files. Older versions may use // partially extracted directories. 'go mod verify' can detect this, // and 'go clean -modcache' can fix it. if err := os.MkdirAll(parentDir, 0777); err != nil { return "", err } if err := os.WriteFile(partialPath, nil, 0666); err != nil { return "", err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 30.3K bytes - Viewed (0) -
src/cmd/internal/moddeps/moddeps_test.go
} modcacheOk := false if gomodcache := string(bytes.TrimSpace(out)); gomodcache != "" { if _, err := os.Stat(gomodcache); err == nil { modcacheOk = true } } if !modcacheOk { modcacheEnv = []string{ "GOMODCACHE=" + t.TempDir(), "GOFLAGS=" + os.Getenv("GOFLAGS") + " -modcacherw", // Allow t.TempDir() to clean up subdirectories. } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 18.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/pod.go
// in podCache when endpoint event comes. needResync map[string]sets.Set[types.NamespacedName] queueEndpointEvent func(types.NamespacedName) c *Controller } func newPodCache(c *Controller, pods kclient.Client[*v1.Pod], queueEndpointEvent func(types.NamespacedName)) *PodCache { out := &PodCache{ pods: pods, c: c,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 10.8K bytes - Viewed (0) -
src/runtime/mcache.go
var emptymspan mspan func allocmcache() *mcache { var c *mcache systemstack(func() { lock(&mheap_.lock) c = (*mcache)(mheap_.cachealloc.alloc()) c.flushGen.Store(mheap_.sweepgen) unlock(&mheap_.lock) }) for i := range c.alloc { c.alloc[i] = &emptymspan } c.nextSample = nextSample() return c } // freemcache releases resources associated with this // mcache and puts the object onto a free list. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 10K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/pod_test.go
t.Parallel() c, _ := NewFakeControllerWithOptions(t, FakeControllerOptions{}) ns := "default" podCache := c.pods handled := 0 podCache.c.handlers.AppendWorkloadHandler(func(*model.WorkloadInstance, model.Event) { handled++ }) f := podCache.onEvent ip := "172.0.3.35" pod1 := metav1.ObjectMeta{Name: "pod1", Namespace: ns}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 18:27:40 UTC 2024 - 12.3K bytes - Viewed (0)