- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for signatureMap (0.24 sec)
-
cmd/metacache-set.go
writes[index] = di.Metrics.TotalWrites } filter := func(list []uint64) (commonCount uint64) { max := 0 signatureMap := map[uint64]int{} for _, v := range list { signatureMap[v]++ } for ops, count := range signatureMap { if max < count && commonCount < ops { max = count commonCount = ops } } if max < readQuorum { return 0 }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 30.7K bytes - Viewed (0) -
cmd/signature-v4-parser_test.go
// ErrMissingFields expected. { inputSignElement: "Signature=", expectedSignStr: "", expectedErrCode: ErrMissingFields, }, // Test case - 3. // SignElement with missing "SignatureTag",ErrMissingSignTag expected. { inputSignElement: "Sign=", expectedSignStr: "", expectedErrCode: ErrMissingSignTag, }, // Test case - 4. // Test case with valid inputs. {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 27.4K bytes - Viewed (0)