- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 69 for wantLen (0.09 sec)
-
src/archive/zip/zip_test.go
} t.Parallel() // gen returns a func that writes a zip with a wantLen bytes // of central directory. gen := func(wantLen int64) func(*Writer) { return func(w *Writer) { w.testHookCloseSizeOffset = func(size, off uint64) { if size != uint64(wantLen) { t.Errorf("Close central directory size = %d; want %d", size, wantLen) } } uint16string := strings.Repeat(".", uint16max)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
internal/hash/checksum.go
cs = "" } if typ.Is(ChecksumIncludesMultipart) { wantLen := int(t) * length if len(b) < wantLen { break } // Read part checksum if part > 0 && uint64(part) <= t { offset := (part - 1) * length partCs := b[offset:] cs = base64.StdEncoding.EncodeToString(partCs[:length]) } b = b[wantLen:] } } else if part > 1 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 12.7K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
} } if v.ok && (key != v.wantKey || val != v.wantVal) { t.Errorf("parsePAXRecord(%q): got (%q: %q), want (%q: %q)", v.in, key, val, v.wantKey, v.wantVal) } if res != v.wantRes { t.Errorf("parsePAXRecord(%q): got residual %q, want residual %q", v.in, res, v.wantRes) } } } func TestFormatPAXRecord(t *testing.T) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Feb 09 05:28:50 UTC 2021 - 14K bytes - Viewed (0) -
internal/arn/arn_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 5.1K bytes - Viewed (0) -
docs/de/docs/async.md
Dann nimmt es 🤖 die erste erledigte Aufgabe (sagen wir, unsere „Langsam-Datei“ 📝) und bearbeitet sie weiter. Das „Warten auf etwas anderes“ bezieht sich normalerweise auf <abbr title="Input and Output – Eingabe und Ausgabe">I/O</abbr>-Operationen, die relativ „langsam“ sind (im Vergleich zur Geschwindigkeit des Prozessors und des Arbeitsspeichers), wie etwa das Warten darauf, dass: * die Daten des Clients über das Netzwerk empfangen wurden
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 26.6K bytes - Viewed (0) -
cmd/data-usage-cache_gen.go
zb0002, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err, "ObjSizes") return } if zb0002 != uint32(dataUsageBucketLen) { err = msgp.ArrayError{Wanted: uint32(dataUsageBucketLen), Got: zb0002} return } for za0001 := range z.ObjSizes { z.ObjSizes[za0001], err = dc.ReadUint64() if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 75K bytes - Viewed (0) -
cmd/last-minute_gen.go
var zb0001 uint32 zb0001, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err) return } if zb0001 != uint32(sizeLastElemMarker) { err = msgp.ArrayError{Wanted: uint32(sizeLastElemMarker), Got: zb0001} return } for za0001 := range z { var field []byte _ = field var zb0002 uint32 zb0002, err = dc.ReadMapHeader() if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 05 21:45:49 UTC 2022 - 17.2K bytes - Viewed (0) -
cmd/tier-last-day-stats_gen.go
var zb0006 uint32 zb0006, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err, zb0001, "Bins") return } if zb0006 != uint32(24) { err = msgp.ArrayError{Wanted: uint32(24), Got: zb0006} return } for zb0003 := range zb0002.Bins { err = zb0002.Bins[zb0003].DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, zb0001, "Bins", zb0003) return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 9.3K bytes - Viewed (0) -
src/cmd/api/api_test.go
} f.Close() } bs, err := os.ReadFile(goldenFile) if err != nil { t.Fatalf("opening golden.txt for package %q: %v", fi.Name(), err) } wanted := strings.Split(string(bs), "\n") sort.Strings(wanted) for _, feature := range wanted { if feature == "" { continue } _, ok := w.features[feature] if !ok { t.Errorf("package %s: missing feature %q", fi.Name(), feature) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 04 17:31:12 UTC 2024 - 7.1K bytes - Viewed (0) -
internal/crypto/header_test.go
// Test if result matches. t.Errorf("Requested mismatch, want %v, got %v", Requested(test.Header), got) } got = got && S3KMS.IsRequested(test.Header) if got != test.Expected { t.Errorf("SSE-KMS: Test %d: Wanted %v but got %v", i, test.Expected, got) } } for i, test := range s3IsRequestedTests { _, got := IsRequested(test.Header) if Requested(test.Header) != got { // Test if result matches.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 13 14:52:15 UTC 2022 - 21.4K bytes - Viewed (0)