- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for formatCountMap (0.06 sec)
-
cmd/format-erasure.go
func getFormatErasureInQuorum(formats []*formatErasureV3) (*formatErasureV3, error) { formatCountMap := make(map[int]int, len(formats)) for _, format := range formats { if format == nil { continue } formatCountMap[format.Drives()]++ } maxDrives := 0 maxCount := 0 for drives, count := range formatCountMap { if count > maxCount { maxCount = count maxDrives = drives } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 23.2K bytes - Viewed (0)