Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ErasureDist (0.15 sec)

  1. cmd/xl-storage-format-v2_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "ErasureDist")
    				return
    			}
    			if cap(z.ErasureDist) >= int(zb0003) {
    				z.ErasureDist = (z.ErasureDist)[:zb0003]
    			} else {
    				z.ErasureDist = make([]uint8, zb0003)
    			}
    			for za0003 := range z.ErasureDist {
    				z.ErasureDist[za0003], err = dc.ReadUint8()
    				if err != nil {
    					err = msgp.WrapError(err, "ErasureDist", za0003)
    					return
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    	fi.Erasure.BlockSize = j.ErasureBlockSize
    	fi.Erasure.DataBlocks = j.ErasureM
    	fi.Erasure.ParityBlocks = j.ErasureN
    	fi.Erasure.Distribution = make([]int, len(j.ErasureDist))
    	for i := range j.ErasureDist {
    		fi.Erasure.Distribution[i] = int(j.ErasureDist[i])
    	}
    	fi.DataDir = uuid.UUID(j.DataDir).String()
    
    	if st, ok := j.MetaSys[metaTierStatus]; ok {
    		fi.TransitionStatus = string(st)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top