Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for AppendNil (0.06 sec)

  1. cmd/storage-rest-common_gen.go

    	// string "u"
    	o = append(o, 0x82, 0xa1, 0x75)
    	if z.Update == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o, err = z.Update.MarshalMsg(o)
    		if err != nil {
    			err = msgp.WrapError(err, "Update")
    			return
    		}
    	}
    	// string "f"
    	o = append(o, 0xa1, 0x66)
    	if z.Final == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o, err = z.Final.MarshalMsg(o)
    		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)
  2. cmd/batch-job-common-types_gen.go

    	// string "Disable"
    	o = append(o, 0x86, 0xa7, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65)
    	if z.Disable == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendBool(o, *z.Disable)
    	}
    	// string "Batch"
    	o = append(o, 0xa5, 0x42, 0x61, 0x74, 0x63, 0x68)
    	if z.Batch == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendInt(o, *z.Batch)
    	}
    	// string "InMemory"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/bucket-stats_gen.go

    	// string "lt"
    	o = append(o, 0xa2, 0x6c, 0x74)
    	if z.XferRateLrg == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o, err = z.XferRateLrg.MarshalMsg(o)
    		if err != nil {
    			err = msgp.WrapError(err, "XferRateLrg")
    			return
    		}
    	}
    	// string "st"
    	o = append(o, 0xa2, 0x73, 0x74)
    	if z.XferRateSml == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o, err = z.XferRateSml.MarshalMsg(o)
    		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)
  8. cmd/site-replication-metrics_gen.go

    	o = append(o, 0xa2, 0x6c, 0x74)
    	if z.XferRateLrg == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o, err = z.XferRateLrg.MarshalMsg(o)
    		if err != nil {
    			err = msgp.WrapError(err, "XferRateLrg")
    			return
    		}
    	}
    	// string "st"
    	o = append(o, 0xa2, 0x73, 0x74)
    	if z.XferRateSml == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o, err = z.XferRateSml.MarshalMsg(o)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-rebalance_gen.go

    	// string "rss"
    	o = append(o, 0xa3, 0x72, 0x73, 0x73)
    	o = msgp.AppendArrayHeader(o, uint32(len(z.PoolStats)))
    	for za0001 := range z.PoolStats {
    		if z.PoolStats[za0001] == nil {
    			o = msgp.AppendNil(o)
    		} else {
    			o, err = z.PoolStats[za0001].MarshalMsg(o)
    			if err != nil {
    				err = msgp.WrapError(err, "PoolStats", za0001)
    				return
    			}
    		}
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. 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)
Back to top