Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for WriteArrayHeader (0.16 sec)

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

    		err = msgp.WrapError(err, "ErasureIndex")
    		return
    	}
    	// write "EcDist"
    	err = en.Append(0xa6, 0x45, 0x63, 0x44, 0x69, 0x73, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteArrayHeader(uint32(len(z.ErasureDist)))
    	if err != nil {
    		err = msgp.WrapError(err, "ErasureDist")
    		return
    	}
    	for za0003 := range z.ErasureDist {
    		err = en.WriteUint8(z.ErasureDist[za0003])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  2. cmd/storage-datatypes_gen.go

    		return
    	}
    	err = en.WriteArrayHeader(uint32(len(z.Versions)))
    	if err != nil {
    		err = msgp.WrapError(err, "Versions")
    		return
    	}
    	for za0001 := range z.Versions {
    		err = z.Versions[za0001].EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "Versions", za0001)
    			return
    		}
    	}
    	err = en.WriteArrayHeader(uint32(len(z.FreeVersions)))
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  3. cmd/data-usage-cache_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "DeleteMarkers")
    		return
    	}
    	// write "szs"
    	err = en.Append(0xa3, 0x73, 0x7a, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteArrayHeader(uint32(dataUsageBucketLen))
    	if err != nil {
    		err = msgp.WrapError(err, "ObjSizes")
    		return
    	}
    	for za0001 := range z.ObjSizes {
    		err = en.WriteUint64(z.ObjSizes[za0001])
    		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)
  4. cmd/xl-storage-format-v1_gen.go

    		return
    	}
    	// write "Distribution"
    	err = en.Append(0xac, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e)
    	if err != nil {
    		return
    	}
    	err = en.WriteArrayHeader(uint32(len(z.Distribution)))
    	if err != nil {
    		err = msgp.WrapError(err, "Distribution")
    		return
    	}
    	for za0001 := range z.Distribution {
    		err = en.WriteInt(z.Distribution[za0001])
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  5. cmd/data-usage-cache.go

    				return
    			}
    			(*z)[zb0003] = struct{}{}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z dataUsageHashMap) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteArrayHeader(uint32(len(z)))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0004 := range z {
    		err = en.WriteString(zb0004)
    		if err != nil {
    			err = msgp.WrapError(err, zb0004)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top