Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  2. 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
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. 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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  4. 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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  5. 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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 40.6K bytes
    - Viewed (0)
  6. internal/grid/msg_gen.go

    	// map header, size 2
    	// string "nf"
    	o = append(o, 0x82, 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)
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *pongMsg) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 18.8K 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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  8. cmd/data-usage-cache_gen.go

    		if z.ReplicationStats == nil {
    			o = msgp.AppendNil(o)
    		} else {
    			o, err = z.ReplicationStats.MarshalMsg(o)
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicationStats")
    				return
    			}
    		}
    	}
    	if (zb0001Mask & 0x100) == 0 { // if not omitted
    		// string "ats"
    		o = append(o, 0xa3, 0x61, 0x74, 0x73)
    		if z.AllTierStats == nil {
    			o = msgp.AppendNil(o)
    		} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 100.8K bytes
    - Viewed (0)
  9. 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)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 18:58:22 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  10. 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)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
Back to top