- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for zip (0.09 sec)
-
lib/time/mkzip.go
//go:build ignore // Mkzip writes a zoneinfo.zip with the content of the current directory // and its subdirectories, with no compression, suitable for package time. // // Usage: // // go run ../../mkzip.go ../../zoneinfo.zip // // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get // a reproducible generator that does not depend on which version of the // external zip tool is used or the ordering of file names in a directory
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:32:07 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/verify.go
return nil } if modload.MainModules.Contains(mod.Path) { return nil } var errs []error zip, zipErr := modfetch.CachePath(ctx, mod, "zip") if zipErr == nil { _, zipErr = os.Stat(zip) } dir, dirErr := modfetch.DownloadDir(ctx, mod) data, err := os.ReadFile(zip + "hash") if err != nil { if zipErr != nil && errors.Is(zipErr, fs.ErrNotExist) &&
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 16:56:35 UTC 2024 - 3.6K bytes - Viewed (0) -
lib/time/update.bash
tar xzf tzdata$DATA.tar.gz if ! make CFLAGS=-DSTD_INSPIRED AWK=awk TZDIR=zoneinfo posix_only >make.out 2>&1; then cat make.out exit 2 fi cd zoneinfo ../mkzip ../../zoneinfo.zip cd ../.. files="update.bash zoneinfo.zip" modified=true if git diff --quiet $files; then modified=false fi if [ "$1" = "-work" ]; then echo Left workspace behind in work/. shift else rm -rf work fi
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 02 18:20:41 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/dist/buildgo.go
// // package tzdata // const zipdata = "PK..." func mktzdata(dir, file string) { zip := readfile(filepath.Join(dir, "../../../lib/time/zoneinfo.zip")) var buf strings.Builder writeHeader(&buf) fmt.Fprintf(&buf, "package tzdata\n") fmt.Fprintln(&buf) fmt.Fprintf(&buf, "const zipdata = %s\n", quote(zip)) writefile(buf.String(), file, writeSkipSame) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 13 20:44:00 UTC 2023 - 4.3K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/toolchain.go
func (r *toolchainRepo) GoMod(ctx context.Context, version string) (data []byte, err error) { return []byte("module " + r.path + "\n"), nil } func (r *toolchainRepo) Zip(ctx context.Context, dst io.Writer, version string) error { return fmt.Errorf("invalid use of toolchainRepo: Zip") } func (r *toolchainRepo) CheckReuse(ctx context.Context, old *codehost.Origin) error { return fmt.Errorf("invalid use of toolchainRepo: CheckReuse") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 13 16:44:24 UTC 2023 - 5.6K bytes - Viewed (0) -
src/crypto/rsa/pss_test.go
"encoding/hex" "math/big" "os" "strconv" "strings" "testing" ) func TestEMSAPSS(t *testing.T) { // Test vector in file pss-int.txt from: ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1-vec.zip msg := []byte{ 0x85, 0x9e, 0xef, 0x2f, 0xd7, 0x8a, 0xca, 0x00, 0x30, 0x8b, 0xdc, 0x47, 0x11, 0x93, 0xbf, 0x55, 0xbf, 0x9d, 0x78, 0xdb, 0x8f, 0x8a, 0x67, 0x2b, 0x48, 0x46, 0x34, 0xf3, 0xc9, 0xc2,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 8.8K bytes - Viewed (0) -
src/archive/zip/register.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package zip import ( "compress/flate" "errors" "io" "sync" ) // A Compressor returns a new compressing writer, writing to w. // The WriteCloser's Close method must be used to flush pending data to w. // The Compressor itself must be safe to invoke from multiple goroutines
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 3.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_download_exec_toolchain.txt
# There is no go.mod file into which we can record the selected toolchain, # so unfortunately these version switches won't be as reproducible as other # go commands, but that's still preferable to failing entirely or downloading # a module zip that we don't understand. # GOTOOLCHAIN=auto should run the newer toolchain env GOTOOLCHAIN=auto go mod download rsc.io/needgo121@latest rsc.io/needgo122@latest rsc.io/needgo123@latest rsc.io/needall@latest
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 19:32:39 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/distpack/archive.go
Time time.Time // modification time Mode fs.FileMode Size int64 Src string // source file in OS file system } // Info returns a FileInfo about the file, for use with tar.FileInfoHeader // and zip.FileInfoHeader. func (f *File) Info() fs.FileInfo { return fileInfo{f} } // A fileInfo is an implementation of fs.FileInfo describing a File. type fileInfo struct { f *File }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 17:37:52 UTC 2023 - 5.9K bytes - Viewed (0) -
src/cmd/vendor/modules.txt
golang.org/x/mod/modfile golang.org/x/mod/module golang.org/x/mod/semver golang.org/x/mod/sumdb golang.org/x/mod/sumdb/dirhash golang.org/x/mod/sumdb/note golang.org/x/mod/sumdb/tlog golang.org/x/mod/zip # golang.org/x/sync v0.7.0 ## explicit; go 1.18 golang.org/x/sync/errgroup golang.org/x/sync/semaphore # golang.org/x/sys v0.21.0 ## explicit; go 1.18 golang.org/x/sys/plan9 golang.org/x/sys/unix
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 4.8K bytes - Viewed (0)