- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for wantIdx (0.12 sec)
-
cmd/object-api-utils_test.go
} func TestS2CompressReader(t *testing.T) { tests := []struct { name string data []byte wantIdx bool }{ {name: "empty", data: nil}, {name: "small", data: []byte("hello, world!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")}, {name: "large", data: bytes.Repeat([]byte("hello, world"), 1000000), wantIdx: true}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
} if missingAll > 0 { out += ".incomplete" fmt.Println(missingAll, "bytes missing.") } else { if wantMD5 != "" { sum := md5.Sum(combined) gotMD5 := hex.EncodeToString(sum[:]) if gotMD5 != wantMD5 { fmt.Println("MD5 mismatch. Expected", wantMD5, "got", gotMD5) out += ".mismatch" } else { fmt.Println("MD5 verified.")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 40.3K 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 Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Dec 15 22:50:12 UTC 2024 - 86.4K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
{"000000000000bogus", 0, "invalid byte in chunk length"}, {"00000000000000000", 0, "http chunk length too large"}, // could accept if we wanted {"10000000000000000", 0, "http chunk length too large"}, {"00000000000000001", 0, "http chunk length too large"}, // could accept if we wanted } for i := uint64(0); i <= 1234; i++ { tests = append(tests, testCase{in: fmt.Sprintf("%x", i), want: i}) } for _, tt := range tests {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.7K bytes - Viewed (0) -
docs/resiliency/resiliency-verify-healing-script.sh
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 21 04:24:45 UTC 2024 - 996 bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
* * @param reference any array of the desired type * @param length the length of the new array */ /* * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard * about arrays for now, as they're a mess. (We previously discussed this in the review of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Platform.java
* * @param reference any array of the desired type * @param length the length of the new array */ /* * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard * about arrays for now, as they're a mess. (We previously discussed this in the review of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
docs/en/docs/history-design-future.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.2K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
// checkID will check if the disk ID matches the provided ID. func (p *xlStorageDiskIDCheck) checkID(wantID string) (err error) { if wantID == "" { return nil } id, err := p.storage.GetDiskID() if err != nil { return err } if id != wantID { return fmt.Errorf("disk ID %s does not match. disk reports %s", wantID, id) } return nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 34.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
* when we run AbstractFutureTest itself. */ /* * We don't test UnsafeAtomicHelper here, since guava-android doesn't provide a way to use it * under the JVM. (We could arrange for one if we really wanted, but that will break once the * JDK further restricts access to Unsafe.) But we have coverage under an Android emulator, * which uses UnsafeAtomicHelper when it runs AbstractFutureTest itself. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.1K bytes - Viewed (0)