- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for bigfile (0.65 sec)
-
src/cmd/go/internal/modfetch/fetch.go
} defer unlock() if err := downloadZip(ctx, mod, zipfile); err != nil { return "", err } return zipfile, nil }) } func downloadZip(ctx context.Context, mod module.Version, zipfile string) (err error) { ctx, span := trace.StartSpan(ctx, "modfetch.downloadZip "+zipfile) defer span.Done() // Double-check that the zipfile was not created while we were waiting for // the lock in DownloadZip.
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/obj/line_test.go
afile := src.NewFileBase("a.go", "a.go") bfile := src.NewFileBase("b.go", "/foo/bar/b.go") lfile := src.NewLinePragmaBase(src.MakePos(afile, 8, 1), "linedir", "linedir", 100, 1) var tests = []struct { pos src.Pos want string }{ {src.NoPos, "??:0"}, {src.MakePos(afile, 1, 0), "a.go:1"}, {src.MakePos(afile, 2, 0), "a.go:2"}, {src.MakePos(bfile, 10, 4), "/foo/bar/b.go:10"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 1.2K bytes - Viewed (0) -
src/cmd/go/internal/clean/clean.go
if len(subdirs) > 0 { if err := sh.RemoveAll(subdirs...); err != nil && !printedErrors { printedErrors = true base.Error(err) } } logFile := filepath.Join(dir, "log.txt") if err := sh.RemoveAll(logFile); err != nil && !printedErrors { printedErrors = true base.Error(err) } } } if cleanTestcache && !cleanCache {
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/test_fuzz_mutator.txt
"fmt" "os" "testing" ) var ( logPath = flag.String("log", "", "path to log file") logFile *os.File ) func TestMain(m *testing.M) { flag.Parse() var err error logFile, err = os.OpenFile(*logPath, os.O_RDWR|os.O_CREATE|os.O_EXCL, 0666) if os.IsExist(err) { *logPath += ".worker" logFile, err = os.OpenFile(*logPath, os.O_RDWR|os.O_CREATE|os.O_EXCL, 0666) } if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 3.7K bytes - Viewed (0) -
src/cmd/go/testdata/mod/rsc.io_badfile1_v1.0.0.txt
rsc.io/badfile1 v1.0.0 written by hand this is part of the badfile test but is a valid zip file. -- .mod -- module rsc.io/badfile1 -- .info -- {"Version":"v1.0.0"} -- go.mod -- module rsc.io/badfile1 -- α.go -- package α -- .gitignore --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 18 02:08:59 UTC 2018 - 264 bytes - Viewed (0) -
src/cmd/go/internal/modload/init.go
for _, m := range mg.BuildList() { r := resolveReplacement(m) if keepModSumsForZipSums { keep[modkey(r)] = true // we need the go version from the go.mod file to do anything useful with the zipfile } keep[r] = true } } } return keep } type whichSums int8 const ( loadedZipSumsOnly = whichSums(iota) addBuildListZipSums )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0) -
src/cmd/dist/build.go
// go and gofmt and $GOOS_$GOARCH (target bin when cross-compiling). binFiles, err := filepath.Glob(pathf("%s/bin/*", goroot)) if err != nil { fatalf("glob: %v", err) } ok := map[string]bool{} for _, f := range oldBinFiles { ok[f] = true } for _, f := range binFiles { if gohostos == "darwin" && filepath.Base(f) == ".DS_Store" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/cmd/go/internal/vcweb/script.go
return nil, err }) } func scriptModzip() script.Cmd { return script.Command( script.CmdUsage{ Summary: "create a Go module zip file from a directory", Args: "zipfile path@version dir", }, func(st *script.State, args ...string) (wait script.WaitFunc, err error) { if len(args) != 3 { return nil, script.ErrUsage } zipPath := st.Path(args[0])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 08 19:37:03 UTC 2022 - 9K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git_test.go
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/internal/work/build_test.go
t.Skip("skipping: Chmod ignored ModeSetgid on " + runtime.GOOS) } pkgfile, err := os.CreateTemp("", "pkgfile") if err != nil { t.Fatalf("os.CreateTemp(\"\", \"pkgfile\"): %v", err) } defer os.Remove(pkgfile.Name()) defer pkgfile.Close() dirGIDFile := filepath.Join(setgiddir, "setgid") if err := sh.moveOrCopyFile(dirGIDFile, pkgfile.Name(), 0666, true); err != nil { t.Fatalf("moveOrCopyFile: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 19:09:38 UTC 2023 - 8.3K bytes - Viewed (0)