- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for AppendNil (0.15 sec)
-
internal/grid/types.go
return bts, nil } // MarshalMsg appends the bytes representation of b to the provided byte slice. func (m *MSS) MarshalMsg(bytes []byte) (o []byte, err error) { if m == nil || *m == nil { return msgp.AppendNil(bytes), nil } o = msgp.AppendMapHeader(bytes, uint32(len(*m))) for za0001, za0002 := range *m { o = msgp.AppendString(o, za0001) o = msgp.AppendString(o, za0002) } return o, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 15.5K bytes - Viewed (0) -
cmd/batch-handlers_gen.go
if z.Replicate == nil { o = msgp.AppendNil(o) } else { o, err = z.Replicate.MarshalMsg(o) if err != nil { err = msgp.WrapError(err, "Replicate") return } } // string "KeyRotate" o = append(o, 0xa9, 0x4b, 0x65, 0x79, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65) if z.KeyRotate == nil { o = msgp.AppendNil(o) } else { o, err = z.KeyRotate.MarshalMsg(o)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 20.4K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
if z.ObjectV1 == nil { o = msgp.AppendNil(o) } else { o, err = z.ObjectV1.MarshalMsg(o) if err != nil { err = msgp.WrapError(err, "ObjectV1") return } } } if (zb0001Mask & 0x4) == 0 { // if not omitted // string "V2Obj" o = append(o, 0xa5, 0x56, 0x32, 0x4f, 0x62, 0x6a) if z.ObjectV2 == nil { o = msgp.AppendNil(o) } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 55.5K bytes - Viewed (0) -
internal/dsync/lock-args_gen.go
o = append(o, 0xa6, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65) o = msgp.AppendString(o, z.Source) // string "Quorum" o = append(o, 0xa6, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d) if z.Quorum == nil { o = msgp.AppendNil(o) } else { o = msgp.AppendInt(o, *z.Quorum) } return } // UnmarshalMsg implements msgp.Unmarshaler func (z *LockArgs) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 10.2K bytes - Viewed (0) -
cmd/batch-expire_gen.go
return } // string "CreatedBefore" o = append(o, 0xad, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65) if z.CreatedBefore == nil { o = msgp.AppendNil(o) } else { o = msgp.AppendTime(o, *z.CreatedBefore) } // string "Tags" o = append(o, 0xa4, 0x54, 0x61, 0x67, 0x73) o = msgp.AppendArrayHeader(o, uint32(len(z.Tags))) for za0001 := range z.Tags {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 19.9K bytes - Viewed (0) -
internal/grid/msg_gen.go
// map header, size 3 // string "nf" o = append(o, 0x83, 0xa2, 0x6e, 0x66) o = msgp.AppendBool(o, z.NotFound) // string "e" o = append(o, 0xa1, 0x65) if z.Err == nil { o = msgp.AppendNil(o) } else { o = msgp.AppendString(o, *z.Err) } // string "t" o = append(o, 0xa1, 0x74) o = msgp.AppendTime(o, z.T) 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) -
cmd/storage-datatypes_gen.go
return } if z.Data == nil { // allownil: if nil o = msgp.AppendNil(o) } else { o = msgp.AppendBytes(o, z.Data) } o = msgp.AppendInt(o, z.NumVersions) o = msgp.AppendTime(o, z.SuccessorModTime) o = msgp.AppendBool(o, z.Fresh) o = msgp.AppendInt(o, z.Idx) if z.Checksum == nil { // allownil: if nil o = msgp.AppendNil(o) } else { o = msgp.AppendBytes(o, z.Checksum) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 150.2K bytes - Viewed (0) -
cmd/data-usage-cache_gen.go
o = msgp.AppendUint64(o, z.ObjVersions[za0002]) } if (zb0001Mask & 0x80) == 0 { // if not omitted // string "ats" o = append(o, 0xa3, 0x61, 0x74, 0x73) if z.AllTierStats == nil { o = msgp.AppendNil(o) } else { o, err = z.AllTierStats.MarshalMsg(o) if err != nil { err = msgp.WrapError(err, "AllTierStats") return } } } // string "c" o = append(o, 0xa1, 0x63)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 75K bytes - Viewed (0) -
cmd/object-api-datatypes_gen.go
o = msgp.AppendInt64(o, z.Size) // string "ActualSize" o = append(o, 0xaa, 0x41, 0x63, 0x74, 0x75, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65) if z.ActualSize == nil { o = msgp.AppendNil(o) } else { o = msgp.AppendInt64(o, *z.ActualSize) } // string "IsDir" o = append(o, 0xa5, 0x49, 0x73, 0x44, 0x69, 0x72) o = msgp.AppendBool(o, z.IsDir) // string "ETag"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 70.1K bytes - Viewed (0)