Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for WriteNil (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. internal/grid/msg_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "NotFound")
    		return
    	}
    	// write "e"
    	err = en.Append(0xa1, 0x65)
    	if err != nil {
    		return
    	}
    	if z.Err == nil {
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = en.WriteString(*z.Err)
    		if err != nil {
    			err = msgp.WrapError(err, "Err")
    			return
    		}
    	}
    	// write "t"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
Back to top