Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for WriteMapHeader (0.09 sec)

  1. cmd/tier_gen.go

    func (z *TierConfigMgr) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 1
    	// write "Tiers"
    	err = en.Append(0x81, 0xa5, 0x54, 0x69, 0x65, 0x72, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteMapHeader(uint32(len(z.Tiers)))
    	if err != nil {
    		err = msgp.WrapError(err, "Tiers")
    		return
    	}
    	for za0001, za0002 := range z.Tiers {
    		err = en.WriteString(za0001)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. cmd/bootstrap-peer-server_gen.go

    			err = msgp.WrapError(err, "CmdLines", za0001)
    			return
    		}
    	}
    	// write "MinioEnv"
    	err = en.Append(0xa8, 0x4d, 0x69, 0x6e, 0x69, 0x6f, 0x45, 0x6e, 0x76)
    	if err != nil {
    		return
    	}
    	err = en.WriteMapHeader(uint32(len(z.MinioEnv)))
    	if err != nil {
    		err = msgp.WrapError(err, "MinioEnv")
    		return
    	}
    	for za0002, za0003 := range z.MinioEnv {
    		err = en.WriteString(za0002)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 14:49:49 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. cmd/tier-last-day-stats_gen.go

    					return
    				}
    			}
    		}
    		(*z)[zb0001] = zb0002
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z DailyAllTierStats) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteMapHeader(uint32(len(z)))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0007, zb0008 := range z {
    		err = en.WriteString(zb0007)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. cmd/site-replication-utils_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "DeplID")
    		return
    	}
    	// write "bkts"
    	err = en.Append(0xa4, 0x62, 0x6b, 0x74, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteMapHeader(uint32(len(z.BucketStatuses)))
    	if err != nil {
    		err = msgp.WrapError(err, "BucketStatuses")
    		return
    	}
    	for za0001, za0002 := range z.BucketStatuses {
    		err = en.WriteString(za0001)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 14 15:16:40 UTC 2022
    - 7.2K bytes
    - Viewed (0)
Back to top