Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 91 for MarshalMsg (0.06 sec)

  1. internal/grid/msg_gen.go

    func (z Flags) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z Flags) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendUint8(o, uint8(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance_gen.go

    			}
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z rstats) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendArrayHeader(o, uint32(len(z)))
    	for zb0003 := range z {
    		if z[zb0003] == nil {
    			o = msgp.AppendNil(o)
    		} else {
    			o, err = z[zb0003].MarshalMsg(o)
    			if err != nil {
    				err = msgp.WrapError(err, zb0003)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. cmd/batch-replicate_gen.go

    		err = msgp.WrapError(err, "Retry")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *BatchJobReplicateFlags) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 3
    	// string "Filter"
    	o = append(o, 0x83, 0xa6, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72)
    	o, err = z.Filter.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "Filter")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  4. cmd/site-replication-metrics_gen.go

    			return
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *RTimedMetrics) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 4
    	// string "LastHour"
    	o = append(o, 0x84, 0xa8, 0x4c, 0x61, 0x73, 0x74, 0x48, 0x6f, 0x75, 0x72)
    	o, err = z.LastHour.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "LastHour")
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  5. cmd/last-minute_gen.go

    	err = en.Append(0xa1, 0x4e)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt64(z.N)
    	if err != nil {
    		err = msgp.WrapError(err, "N")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z AccElem) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 3
    	// string "Total"
    	o = append(o, 0x83, 0xa5, 0x54, 0x6f, 0x74, 0x61, 0x6c)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
  6. cmd/data-usage-cache_gen.go

    			return
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *dataUsageCache) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 2
    	// string "Info"
    	o = append(o, 0x82, 0xa4, 0x49, 0x6e, 0x66, 0x6f)
    	o, err = z.Info.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "Info")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  7. cmd/storage-datatypes_gen.go

    	for za0003 := range z.Parts {
    		o, err = z.Parts[za0003].MarshalMsg(o)
    		if err != nil {
    			err = msgp.WrapError(err, "Parts", za0003)
    			return
    		}
    	}
    	o, err = z.Erasure.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "Erasure")
    		return
    	}
    	o = msgp.AppendBool(o, z.MarkDeleted)
    	o, err = z.ReplicationState.MarshalMsg(o)
    	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)
  8. cmd/site-replication-utils_gen.go

    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *SiteResyncStatus) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 6
    	// string "v"
    	o = append(o, 0x86, 0xa1, 0x76)
    	o = msgp.AppendInt(o, z.Version)
    	// string "ss"
    	o = append(o, 0xa2, 0x73, 0x73)
    	o, err = z.Status.MarshalMsg(o)
    	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)
  9. internal/bucket/bandwidth/monitor_gen.go

    func (z BucketBandwidthReport) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 0
    	_ = z
    	err = en.Append(0x80)
    	if err != nil {
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BucketBandwidthReport) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 0
    	_ = z
    	o = append(o, 0x80)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. internal/dsync/lock-args_gen.go

    			return
    		}
    	} else {
    		err = en.WriteInt(*z.Quorum)
    		if err != nil {
    			err = msgp.WrapError(err, "Quorum")
    			return
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *LockArgs) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 5
    	// string "UID"
    	o = append(o, 0x85, 0xa3, 0x55, 0x49, 0x44)
    	o = msgp.AppendString(o, z.UID)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top