Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for WriteNil (0.06 sec)

  1. 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)
  2. cmd/storage-datatypes_gen.go

    		return
    	}
    	err = z.ReplicationState.EncodeMsg(en)
    	if err != nil {
    		err = msgp.WrapError(err, "ReplicationState")
    		return
    	}
    	if z.Data == nil { // allownil: if nil
    		err = en.WriteNil()
    		if err != nil {
    			return
    		}
    	} else {
    		err = en.WriteBytes(z.Data)
    		if err != nil {
    			err = msgp.WrapError(err, "Data")
    			return
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  3. cmd/data-usage-cache_gen.go

    		}
    	}
    	if (zb0001Mask & 0x80) == 0 { // if not omitted
    		// write "ats"
    		err = en.Append(0xa3, 0x61, 0x74, 0x73)
    		if err != nil {
    			return
    		}
    		if z.AllTierStats == nil {
    			err = en.WriteNil()
    			if err != nil {
    				return
    			}
    		} else {
    			err = z.AllTierStats.EncodeMsg(en)
    			if err != nil {
    				err = msgp.WrapError(err, "AllTierStats")
    				return
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
Back to top