mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 03:18:29 +08:00
[skip e2e] Add comment for data_codec (#14571)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
This commit is contained in:
parent
ebb9b24b47
commit
f9dc87ba6c
@ -198,14 +198,17 @@ func (data *Int8FieldData) GetMemorySize() int {
|
||||
return binary.Size(data.NumRows) + binary.Size(data.Data)
|
||||
}
|
||||
|
||||
// GetMemorySize implements FieldData.GetMemorySize
|
||||
func (data *Int16FieldData) GetMemorySize() int {
|
||||
return binary.Size(data.NumRows) + binary.Size(data.Data)
|
||||
}
|
||||
|
||||
// GetMemorySize implements FieldData.GetMemorySize
|
||||
func (data *Int32FieldData) GetMemorySize() int {
|
||||
return binary.Size(data.NumRows) + binary.Size(data.Data)
|
||||
}
|
||||
|
||||
// GetMemorySize implements FieldData.GetMemorySize
|
||||
func (data *Int64FieldData) GetMemorySize() int {
|
||||
return binary.Size(data.NumRows) + binary.Size(data.Data)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user