Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for EncodeMsg (0.11 sec)

  1. cmd/batch-rotate_gen.go

    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *BatchJobKeyRotateFlags) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 3
    	// write "Filter"
    	err = en.Append(0x83, 0xa6, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72)
    	if err != nil {
    		return
    	}
    	err = z.Filter.EncodeMsg(en)
    	if err != nil {
    		err = msgp.WrapError(err, "Filter")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  2. cmd/storage-rest-common_gen.go

    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *nsScannerResp) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "u"
    	err = en.Append(0x82, 0xa1, 0x75)
    	if err != nil {
    		return
    	}
    	if z.Update == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = z.Update.EncodeMsg(en)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. cmd/bucket-stats_gen.go

    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *ReplicationLastMinute) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 1
    	// write "LastMinute"
    	err = en.Append(0x81, 0xaa, 0x4c, 0x61, 0x73, 0x74, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65)
    	if err != nil {
    		return
    	}
    	err = z.LastMinute.EncodeMsg(en)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  4. cmd/batch-expire_gen.go

    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *BatchJobExpireFilter) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 8
    	// write "OlderThan"
    	err = en.Append(0x88, 0xa9, 0x4f, 0x6c, 0x64, 0x65, 0x72, 0x54, 0x68, 0x61, 0x6e)
    	if err != nil {
    		return
    	}
    	err = z.OlderThan.EncodeMsg(en)
    	if err != nil {
    		err = msgp.WrapError(err, "OlderThan")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. cmd/batch-job-common-types_gen.go

    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z BatchJobKV) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "Key"
    	err = en.Append(0x82, 0xa3, 0x4b, 0x65, 0x79)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Key)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  6. cmd/tier-last-day-stats_gen.go

    			default:
    				err = dc.Skip()
    				if err != nil {
    					err = msgp.WrapError(err, zb0001)
    					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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. cmd/bucket-replication-metrics_gen.go

    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z ActiveWorkerStat) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 3
    	// write "Curr"
    	err = en.Append(0x83, 0xa4, 0x43, 0x75, 0x72, 0x72)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.Curr)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  8. cmd/storage-datatypes_gen_test.go

    	v := BaseOptions{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	en := msgp.NewWriter(msgp.Nowhere)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.EncodeMsg(en)
    	}
    	en.Flush()
    }
    
    func BenchmarkDecodeBaseOptions(b *testing.B) {
    	v := BaseOptions{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  9. cmd/batch-handlers_gen.go

    	}
    	for zb0001 := range *z {
    		(*z)[zb0001], err = dc.ReadString()
    		if err != nil {
    			err = msgp.WrapError(err, zb0001)
    			return
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z BatchJobPrefix) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteArrayHeader(uint32(len(z)))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0003 := range z {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. cmd/tier_gen.go

    				}
    				z.Tiers[za0001] = za0002
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    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
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top