Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for WriteNil (0.38 sec)

  1. cmd/storage-rest-common_gen.go

    		return
    	}
    	if z.Update == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = z.Update.EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "Update")
    			return
    		}
    	}
    	// write "f"
    	err = en.Append(0xa1, 0x66)
    	if err != nil {
    		return
    	}
    	if z.Final == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    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

    	}
    	if z.Disable == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = en.WriteBool(*z.Disable)
    		if err != nil {
    			err = msgp.WrapError(err, "Disable")
    			return
    		}
    	}
    	// write "Batch"
    	err = en.Append(0xa5, 0x42, 0x61, 0x74, 0x63, 0x68)
    	if err != nil {
    		return
    	}
    	if z.Batch == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    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. cmd/batch-handlers_gen.go

    	}
    	if z.KeyRotate == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = z.KeyRotate.EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "KeyRotate")
    			return
    		}
    	}
    	// write "Expire"
    	err = en.Append(0xa6, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65)
    	if err != nil {
    		return
    	}
    	if z.Expire == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2_gen.go

    	}
    	if (zb0001Mask & 0x1) == 0 { // if not omitted
    		// write "V2Obj"
    		err = en.Append(0xa5, 0x56, 0x32, 0x4f, 0x62, 0x6a)
    		if err != nil {
    			return
    		}
    		if z.ObjectV2 == nil {
    			err = en.WriteNil()
    			if err != nil {
    				return
    			}
    		} else {
    			// map header, size 1
    			// write "DDir"
    			err = en.Append(0x81, 0xa4, 0x44, 0x44, 0x69, 0x72)
    			if err != nil {
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  5. internal/dsync/lock-args_gen.go

    		err = msgp.WrapError(err, "Source")
    		return
    	}
    	// write "Quorum"
    	err = en.Append(0xa6, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d)
    	if err != nil {
    		return
    	}
    	if z.Quorum == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = en.WriteInt(*z.Quorum)
    		if err != nil {
    			err = msgp.WrapError(err, "Quorum")
    			return
    		}
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. cmd/bucket-stats_gen.go

    	}
    	if z.XferRateLrg == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = z.XferRateLrg.EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "XferRateLrg")
    			return
    		}
    	}
    	// write "st"
    	err = en.Append(0xa2, 0x73, 0x74)
    	if err != nil {
    		return
    	}
    	if z.XferRateSml == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  7. cmd/site-replication-metrics_gen.go

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

    	err = en.WriteArrayHeader(uint32(len(z.PoolStats)))
    	if err != nil {
    		err = msgp.WrapError(err, "PoolStats")
    		return
    	}
    	for za0001 := range z.PoolStats {
    		if z.PoolStats[za0001] == nil {
    			err = en.WriteNil()
    			if err != nil {
    				return
    			}
    		} else {
    			err = z.PoolStats[za0001].EncodeMsg(en)
    			if err != nil {
    				err = msgp.WrapError(err, "PoolStats", za0001)
    				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)
  9. cmd/batch-expire_gen.go

    	}
    	// write "CreatedBefore"
    	err = en.Append(0xad, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x65, 0x66, 0x6f, 0x72, 0x65)
    	if err != nil {
    		return
    	}
    	if z.CreatedBefore == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = en.WriteTime(*z.CreatedBefore)
    		if err != nil {
    			err = msgp.WrapError(err, "CreatedBefore")
    			return
    		}
    	}
    	// write "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)
  10. cmd/erasure-server-pool-decom_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "LastUpdate")
    		return
    	}
    	// write "dec"
    	err = en.Append(0xa3, 0x64, 0x65, 0x63)
    	if err != nil {
    		return
    	}
    	if z.Decommission == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = z.Decommission.EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "Decommission")
    			return
    		}
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (0)
Back to top