github.com/vc42/parquet-go@v0.0.0-20240320194221-1a9adb5f23f5/encoding/delta/delta_amd64.go (about) 1 //go:build !purego 2 3 package delta 4 5 const ( 6 padding = 64 7 ) 8 9 func findNegativeLength(lengths []int32) int { 10 for _, n := range lengths { 11 if n < 0 { 12 return int(n) 13 } 14 } 15 return -1 16 }