- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for hdr (0.02 sec)
-
src/archive/tar/testdata/pax-bad-hdr-large.tar.bz2
pax-bad-hdr-large.tar XXXXXXXXXXXXXXXXXXXX...
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 05 20:40:43 UTC 2022 - 156 bytes - Viewed (0) -
src/archive/tar/testdata/pax-path-hdr.tar
Joe Tsai <******@****.***> 1443691829 -0700
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 06 04:31:26 UTC 2015 - 1K bytes - Viewed (0) -
src/archive/tar/testdata/pax-bad-hdr-file.tar
Joe Tsai <******@****.***> 1472512232 -0700
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 31 23:22:53 UTC 2016 - 2.5K bytes - Viewed (0) -
internal/bucket/bandwidth/reader.go
hdr := r.opts.HeaderSize // remaining header bytes var tokens int // number of tokens to request if hdr > 0 { // available tokens go towards header first if hdr < b { // all of header can be accommodated r.opts.HeaderSize = 0 need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload tokens = need + hdr
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 14:57:31 UTC 2024 - 3.2K bytes - Viewed (0) -
src/archive/tar/example_test.go
{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"}, {"todo.txt", "Get animal handling license."}, } for _, file := range files { hdr := &tar.Header{ Name: file.Name, Mode: 0600, Size: int64(len(file.Body)), } if err := tw.WriteHeader(hdr); err != nil { log.Fatal(err) } if _, err := tw.Write([]byte(file.Body)); err != nil { log.Fatal(err) } }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Nov 16 16:54:08 UTC 2017 - 1.4K bytes - Viewed (0) -
src/archive/tar/fuzz_test.go
header *Header content []byte } files := []file{} for { hdr, err := r.Next() if err == io.EOF { break } if err != nil { return } buf := bytes.NewBuffer(nil) if _, err := io.Copy(buf, r); err != nil { continue } files = append(files, file{header: hdr, content: buf.Bytes()}) } // If we were unable to read anything out of the archive don't
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 2.2K bytes - Viewed (0) -
docs/debugging/inspect/export.go
Idx int Header json.RawMessage Metadata json.RawMessage } versions := make([]version, nVers) e = decodeVersions(v, nVers, func(idx int, hdr, meta []byte) error { var header xlMetaV2VersionHeaderV2 if _, e := header.UnmarshalMsg(hdr); e != nil { return e } b, e := header.MarshalJSON() if e != nil { return e } var buf bytes.Buffer
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 08 15:58:02 UTC 2022 - 9.1K bytes - Viewed (0)