Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for AppendNil (0.76 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 {
    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)
  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"
    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)
  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
    }
    
    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)
  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)
    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)
  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 {
    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)
  6. internal/config/cache/remote_gen.go

    	if z.IfModifiedSince == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendTime(o, *z.IfModifiedSince)
    	}
    	// string "IfUnModifiedSince"
    	o = append(o, 0xb1, 0x49, 0x66, 0x55, 0x6e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x53, 0x69, 0x6e, 0x63, 0x65)
    	if z.IfUnModifiedSince == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendTime(o, *z.IfUnModifiedSince)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 21:46:17 GMT 2023
    - 18.9K 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/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
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  9. 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)
  10. cmd/batch-expire_gen.go

    	o = msgp.AppendDuration(o, z.OlderThan)
    	// 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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 19.8K bytes
    - Viewed (0)
Back to top