mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e] Add comment for ValidateBinaryArrayLength (#14336)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
This commit is contained in:
parent
ebf1f4fb7e
commit
63ee525bf3
@ -165,6 +165,7 @@ func VectorCount(dim int64, length int) int64 {
|
||||
return int64(length*8) / singleBitLen
|
||||
}
|
||||
|
||||
// ValidateBinaryArrayLength validates a binary array of @dim & @length
|
||||
func ValidateBinaryArrayLength(dim int64, length int) error {
|
||||
singleBitLen := SingleBitLen(dim)
|
||||
totalBitLen := int64(length * 8)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user