- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for ReadNilBytes (0.13 sec)
-
cmd/storage-rest-common_gen.go
} case "m": z.ScanMode, bts, err = msgp.ReadIntBytes(bts) if err != nil { err = msgp.WrapError(err, "ScanMode") return } case "c": if msgp.IsNil(bts) { bts, err = msgp.ReadNilBytes(bts) if err != nil { return } z.Cache = nil } else { if z.Cache == nil { z.Cache = new(dataUsageCache) } bts, err = z.Cache.UnmarshalMsg(bts)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 7.9K bytes - Viewed (0) -
cmd/batch-job-common-types_gen.go
bts, err = msgp.ReadNilBytes(bts) if err != nil { return } z.Compress = nil } else { if z.Compress == nil { z.Compress = new(bool) } *z.Compress, bts, err = msgp.ReadBoolBytes(bts) if err != nil { err = msgp.WrapError(err, "Compress") return } } case "SmallerThan": if msgp.IsNil(bts) { bts, err = msgp.ReadNilBytes(bts)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 21.9K bytes - Viewed (0) -
internal/grid/types.go
// remainder of bytes. func (b *Bytes) UnmarshalMsg(bytes []byte) ([]byte, error) { if b == nil { return bytes, errors.New("Bytes: UnmarshalMsg on nil pointer") } if bytes, err := msgp.ReadNilBytes(bytes); err == nil { if *b != nil { PutByteBuffer(*b) } *b = nil return bytes, nil } val, bytes, err := msgp.ReadBytesZC(bytes) if err != nil { return bytes, err }
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
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 20.4K bytes - Viewed (0) -
internal/dsync/lock-args_gen.go
case "Source": z.Source, bts, err = msgp.ReadStringBytes(bts) if err != nil { err = msgp.WrapError(err, "Source") return } case "Quorum": if msgp.IsNil(bts) { bts, err = msgp.ReadNilBytes(bts) if err != nil { return } z.Quorum = nil } else { if z.Quorum == nil { z.Quorum = new(int) } *z.Quorum, bts, err = msgp.ReadIntBytes(bts)
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/bucket-stats_gen.go
if err != nil { err = msgp.WrapError(err, "CurrentBandwidthInBytesPerSecond") return } case "lt": if msgp.IsNil(bts) { bts, err = msgp.ReadNilBytes(bts) if err != nil { return } z.XferRateLrg = nil } else { if z.XferRateLrg == nil { z.XferRateLrg = new(XferStats) } bts, err = z.XferRateLrg.UnmarshalMsg(bts)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 57.5K bytes - Viewed (0) -
cmd/site-replication-metrics_gen.go
zb0002-- za0001, bts, err = msgp.ReadStringBytes(bts) if err != nil { err = msgp.WrapError(err, "M") return } if msgp.IsNil(bts) { bts, err = msgp.ReadNilBytes(bts) if err != nil { return } za0002 = nil } else { if za0002 == nil { za0002 = new(SRStatus) } bts, err = za0002.UnmarshalMsg(bts)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 40.6K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen.go
z.PoolStats = (z.PoolStats)[:zb0002] } else { z.PoolStats = make([]*rebalanceStats, zb0002) } for za0001 := range z.PoolStats { if msgp.IsNil(bts) { bts, err = msgp.ReadNilBytes(bts) if err != nil { return } z.PoolStats[za0001] = nil } else { if z.PoolStats[za0001] == nil { z.PoolStats[za0001] = new(rebalanceStats) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 26.8K bytes - Viewed (0) -
cmd/xl-storage-format-v2_gen.go
field, bts, err = msgp.ReadMapKeyZC(bts) if err != nil { err = msgp.WrapError(err) return } switch msgp.UnsafeString(field) { case "V2Obj": if msgp.IsNil(bts) { bts, err = msgp.ReadNilBytes(bts) if err != nil { return } z.ObjectV2 = nil } else { if z.ObjectV2 == nil { z.ObjectV2 = new(struct { DataDir [16]byte `msg:"DDir"` }) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 55.5K bytes - Viewed (0) -
cmd/batch-expire_gen.go
bts, err = z.OlderThan.UnmarshalMsg(bts) if err != nil { err = msgp.WrapError(err, "OlderThan") return } case "CreatedBefore": if msgp.IsNil(bts) { bts, err = msgp.ReadNilBytes(bts) if err != nil { return } z.CreatedBefore = nil } else { if z.CreatedBefore == nil { z.CreatedBefore = new(time.Time) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 19.9K bytes - Viewed (0)